コード例 #1
0
 private Amazon.AppRegistry.Model.TagResourceResponse CallAWSServiceOperation(IAmazonAppRegistry client, Amazon.AppRegistry.Model.TagResourceRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Service Catalog App Registry", "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;
     }
 }
コード例 #2
0
 internal ListAttributeGroupsPaginator(IAmazonAppRegistry client, ListAttributeGroupsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
コード例 #3
0
 internal ListAssociatedResourcesPaginator(IAmazonAppRegistry client, ListAssociatedResourcesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
コード例 #4
0
 internal ListApplicationsPaginator(IAmazonAppRegistry client, ListApplicationsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
コード例 #5
0
 internal AppRegistryPaginatorFactory(IAmazonAppRegistry client)
 {
     this.client = client;
 }
コード例 #6
0
        protected override void ProcessRecord()
        {
            base.ProcessRecord();

            Client = CreateClient(_CurrentCredentials, _RegionEndpoint);
        }