예제 #1
0
 private Amazon.ResilienceHub.Model.DeleteAppResponse CallAWSServiceOperation(IAmazonResilienceHub client, Amazon.ResilienceHub.Model.DeleteAppRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Resilience Hub", "DeleteApp");
     try
     {
         #if DESKTOP
         return(client.DeleteApp(request));
         #elif CORECLR
         return(client.DeleteAppAsync(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;
     }
 }
예제 #2
0
 internal ListAppsPaginator(IAmazonResilienceHub client, ListAppsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
예제 #3
0
 internal ListTestRecommendationsPaginator(IAmazonResilienceHub client, ListTestRecommendationsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal ListAppComponentCompliancesPaginator(IAmazonResilienceHub client, ListAppComponentCompliancesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal ListAppVersionResourceMappingsPaginator(IAmazonResilienceHub client, ListAppVersionResourceMappingsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
예제 #6
0
 internal ResilienceHubPaginatorFactory(IAmazonResilienceHub client)
 {
     this.client = client;
 }
예제 #7
0
 internal ListUnsupportedAppVersionResourcesPaginator(IAmazonResilienceHub client, ListUnsupportedAppVersionResourcesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
        protected override void ProcessRecord()
        {
            base.ProcessRecord();

            Client = CreateClient(_CurrentCredentials, _RegionEndpoint);
        }
 internal ListSuggestedResiliencyPoliciesPaginator(IAmazonResilienceHub client, ListSuggestedResiliencyPoliciesRequest request)
 {
     this._client  = client;
     this._request = request;
 }