private Amazon.Macie.Model.ListS3ResourcesResponse CallAWSServiceOperation(IAmazonMacie client, Amazon.Macie.Model.ListS3ResourcesRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Macie", "ListS3Resources"); try { #if DESKTOP return(client.ListS3Resources(request)); #elif CORECLR return(client.ListS3ResourcesAsync(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 ListMemberAccountsPaginator(IAmazonMacie client, ListMemberAccountsRequest request) { this._client = client; this._request = request; }
internal MaciePaginatorFactory(IAmazonMacie client) { this.client = client; }
internal ListS3ResourcesPaginator(IAmazonMacie client, ListS3ResourcesRequest request) { this._client = client; this._request = request; }
protected override void ProcessRecord() { base.ProcessRecord(); Client = CreateClient(_CurrentCredentials, _RegionEndpoint); }