Example #1
0
 internal ListIncidentRecordsPaginator(IAmazonSSMIncidents client, ListIncidentRecordsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Example #2
0
 private Amazon.SSMIncidents.Model.PutResourcePolicyResponse CallAWSServiceOperation(IAmazonSSMIncidents client, Amazon.SSMIncidents.Model.PutResourcePolicyRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Systems Manager Incident Manager", "PutResourcePolicy");
     try
     {
         #if DESKTOP
         return(client.PutResourcePolicy(request));
         #elif CORECLR
         return(client.PutResourcePolicyAsync(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;
     }
 }
Example #3
0
 internal ListResponsePlansPaginator(IAmazonSSMIncidents client, ListResponsePlansRequest request)
 {
     this._client  = client;
     this._request = request;
 }
        protected override void ProcessRecord()
        {
            base.ProcessRecord();

            Client = CreateClient(_CurrentCredentials, _RegionEndpoint);
        }
Example #5
0
 internal ListReplicationSetsPaginator(IAmazonSSMIncidents client, ListReplicationSetsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Example #6
0
 internal ListTimelineEventsPaginator(IAmazonSSMIncidents client, ListTimelineEventsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Example #7
0
 internal ListRelatedItemsPaginator(IAmazonSSMIncidents client, ListRelatedItemsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Example #8
0
 internal GetResourcePoliciesPaginator(IAmazonSSMIncidents client, GetResourcePoliciesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Example #9
0
 internal SSMIncidentsPaginatorFactory(IAmazonSSMIncidents client)
 {
     this.client = client;
 }