예제 #1
0
 private Amazon.GuardDuty.Model.TagResourceResponse CallAWSServiceOperation(IAmazonGuardDuty client, Amazon.GuardDuty.Model.TagResourceRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon GuardDuty", "TagResource");
     try
     {
         #if DESKTOP
         return(client.TagResource(request));
         #elif CORECLR
         return(client.TagResourceAsync(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 ListDetectorsPaginator(IAmazonGuardDuty client, ListDetectorsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal ListFindingsPaginator(IAmazonGuardDuty client, ListFindingsRequest request)
 {
     this._client = client;
     this._request = request;
 }
예제 #4
0
 internal ListInvitationsPaginator(IAmazonGuardDuty client, ListInvitationsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
예제 #5
0
 internal ListOrganizationAdminAccountsPaginator(IAmazonGuardDuty client, ListOrganizationAdminAccountsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal ListPublishingDestinationsPaginator(IAmazonGuardDuty client, ListPublishingDestinationsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
예제 #7
0
 internal ListThreatIntelSetsPaginator(IAmazonGuardDuty client, ListThreatIntelSetsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
예제 #8
0
 internal GuardDutyPaginatorFactory(IAmazonGuardDuty client)
 {
     this.client = client;
 }
예제 #9
0
        protected override void ProcessRecord()
        {
            base.ProcessRecord();

            Client = CreateClient(_CurrentCredentials, _RegionEndpoint);
        }
예제 #10
0
 internal GetUsageStatisticsPaginator(IAmazonGuardDuty client, GetUsageStatisticsRequest request)
 {
     this._client  = client;
     this._request = request;
 }