Exemple #1
0
 private Amazon.Macie2.Model.DisassociateFromMasterAccountResponse CallAWSServiceOperation(IAmazonMacie2 client, Amazon.Macie2.Model.DisassociateFromMasterAccountRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Macie 2", "DisassociateFromMasterAccount");
     try
     {
         #if DESKTOP
         return(client.DisassociateFromMasterAccount(request));
         #elif CORECLR
         return(client.DisassociateFromMasterAccountAsync(request).GetAwaiter().GetResult());
         #else
                 #error "Unknown build edition"
         #endif
     }
     catch (AmazonServiceException exc)
     {
         var webException = exc.InnerException as System.Net.WebException;
         if (webException != null)
         {
             throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException);
         }
         throw;
     }
 }
 internal ListFindingsPaginator(IAmazonMacie2 client, ListFindingsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal ListCustomDataIdentifiersPaginator(IAmazonMacie2 client, ListCustomDataIdentifiersRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Exemple #4
0
 internal ListClassificationJobsPaginator(IAmazonMacie2 client, ListClassificationJobsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Exemple #5
0
 internal GetUsageStatisticsPaginator(IAmazonMacie2 client, GetUsageStatisticsRequest request)
 {
     this._client  = client;
     this._request = request;
 }