Esempio n. 1
0
 private Amazon.Proton.Model.GetRepositoryResponse CallAWSServiceOperation(IAmazonProton client, Amazon.Proton.Model.GetRepositoryRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Proton", "GetRepository");
     try
     {
         #if DESKTOP
         return(client.GetRepository(request));
         #elif CORECLR
         return(client.GetRepositoryAsync(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;
     }
 }
Esempio n. 2
0
 internal ProtonPaginatorFactory(IAmazonProton client)
 {
     this.client = client;
 }
Esempio n. 3
0
 internal ListServicePipelineProvisionedResourcesPaginator(IAmazonProton client, ListServicePipelineProvisionedResourcesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal ListServiceInstanceOutputsPaginator(IAmazonProton client, ListServiceInstanceOutputsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Esempio n. 5
0
 internal ListEnvironmentTemplatesPaginator(IAmazonProton client, ListEnvironmentTemplatesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Esempio n. 6
0
 internal ListRepositoriesPaginator(IAmazonProton client, ListRepositoriesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Esempio n. 7
0
 internal ListEnvironmentAccountConnectionsPaginator(IAmazonProton client, ListEnvironmentAccountConnectionsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Esempio n. 8
0
 internal ListServiceTemplateVersionsPaginator(IAmazonProton client, ListServiceTemplateVersionsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
        protected override void ProcessRecord()
        {
            base.ProcessRecord();

            Client = CreateClient(_CurrentCredentials, _RegionEndpoint);
        }
Esempio n. 10
0
 internal ListTagsForResourcePaginator(IAmazonProton client, ListTagsForResourceRequest request)
 {
     this._client  = client;
     this._request = request;
 }
Esempio n. 11
0
 internal ListEnvironmentProvisionedResourcesPaginator(IAmazonProton client, ListEnvironmentProvisionedResourcesRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal ListRepositorySyncDefinitionsPaginator(IAmazonProton client, ListRepositorySyncDefinitionsRequest request)
 {
     this._client  = client;
     this._request = request;
 }