public CodeDeployProcessor(IApplicationEnvironment appEnv, IConfiguration configuration,  UtilityService utilties,
     IAmazonS3 s3Client, IAmazonCodeDeploy codeDeployClient)
 {
     this.AppEnv = appEnv;
     this.Configuration = configuration;
     this.Utilities = utilties;
     this.S3Client = s3Client;
     this.CodeDeployClient = codeDeployClient;
 }
Beispiel #2
0
 private Amazon.CodeDeploy.Model.ListGitHubAccountTokenNamesResponse CallAWSServiceOperation(IAmazonCodeDeploy client, Amazon.CodeDeploy.Model.ListGitHubAccountTokenNamesRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS CodeDeploy", "ListGitHubAccountTokenNames");
     try
     {
         #if DESKTOP
         return(client.ListGitHubAccountTokenNames(request));
         #elif CORECLR
         return(client.ListGitHubAccountTokenNamesAsync(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;
     }
 }
Beispiel #3
0
 internal CodeDeployPaginatorFactory(IAmazonCodeDeploy client)
 {
     this.client = client;
 }
 internal ListApplicationsPaginator(IAmazonCodeDeploy client, ListApplicationsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 internal ListDeploymentGroupsPaginator(IAmazonCodeDeploy client, ListDeploymentGroupsRequest request)
 {
     this._client  = client;
     this._request = request;
 }
 public DeploymentConfigurationController(IAmazonCodeDeploy amazonCodeDeployClient)
 {
     AmazonCodeDeployClient = amazonCodeDeployClient;
 }