Struct rusoto_codedeploy::CodeDeployClient
source · [−]pub struct CodeDeployClient { /* private fields */ }
Expand description
A client for the CodeDeploy API.
Implementations
sourceimpl CodeDeployClient
impl CodeDeployClient
sourcepub fn new(region: Region) -> CodeDeployClient
pub fn new(region: Region) -> CodeDeployClient
Creates a client backed by the default tokio event loop.
The client will use the default credentials provider and tls client.
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> CodeDeployClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> CodeDeployClient
Trait Implementations
sourceimpl Clone for CodeDeployClient
impl Clone for CodeDeployClient
sourcefn clone(&self) -> CodeDeployClient
fn clone(&self) -> CodeDeployClient
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl CodeDeploy for CodeDeployClient
impl CodeDeploy for CodeDeployClient
Adds tags to on-premises instances.
sourcefn batch_get_application_revisions<'life0, 'async_trait>(
&'life0 self,
input: BatchGetApplicationRevisionsInput
) -> Pin<Box<dyn Future<Output = Result<BatchGetApplicationRevisionsOutput, RusotoError<BatchGetApplicationRevisionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn batch_get_application_revisions<'life0, 'async_trait>(
&'life0 self,
input: BatchGetApplicationRevisionsInput
) -> Pin<Box<dyn Future<Output = Result<BatchGetApplicationRevisionsOutput, RusotoError<BatchGetApplicationRevisionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets information about one or more application revisions. The maximum number of application revisions that can be returned is 25.
sourcefn batch_get_applications<'life0, 'async_trait>(
&'life0 self,
input: BatchGetApplicationsInput
) -> Pin<Box<dyn Future<Output = Result<BatchGetApplicationsOutput, RusotoError<BatchGetApplicationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn batch_get_applications<'life0, 'async_trait>(
&'life0 self,
input: BatchGetApplicationsInput
) -> Pin<Box<dyn Future<Output = Result<BatchGetApplicationsOutput, RusotoError<BatchGetApplicationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets information about one or more applications. The maximum number of applications that can be returned is 100.
sourcefn batch_get_deployment_groups<'life0, 'async_trait>(
&'life0 self,
input: BatchGetDeploymentGroupsInput
) -> Pin<Box<dyn Future<Output = Result<BatchGetDeploymentGroupsOutput, RusotoError<BatchGetDeploymentGroupsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn batch_get_deployment_groups<'life0, 'async_trait>(
&'life0 self,
input: BatchGetDeploymentGroupsInput
) -> Pin<Box<dyn Future<Output = Result<BatchGetDeploymentGroupsOutput, RusotoError<BatchGetDeploymentGroupsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets information about one or more deployment groups.
sourcefn batch_get_deployment_instances<'life0, 'async_trait>(
&'life0 self,
input: BatchGetDeploymentInstancesInput
) -> Pin<Box<dyn Future<Output = Result<BatchGetDeploymentInstancesOutput, RusotoError<BatchGetDeploymentInstancesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn batch_get_deployment_instances<'life0, 'async_trait>(
&'life0 self,
input: BatchGetDeploymentInstancesInput
) -> Pin<Box<dyn Future<Output = Result<BatchGetDeploymentInstancesOutput, RusotoError<BatchGetDeploymentInstancesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This method works, but is deprecated. Use BatchGetDeploymentTargets
instead.
Returns an array of one or more instances associated with a deployment. This method works with EC2/On-premises and AWS Lambda compute platforms. The newer BatchGetDeploymentTargets
works with all compute platforms. The maximum number of instances that can be returned is 25.
sourcefn batch_get_deployment_targets<'life0, 'async_trait>(
&'life0 self,
input: BatchGetDeploymentTargetsInput
) -> Pin<Box<dyn Future<Output = Result<BatchGetDeploymentTargetsOutput, RusotoError<BatchGetDeploymentTargetsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn batch_get_deployment_targets<'life0, 'async_trait>(
&'life0 self,
input: BatchGetDeploymentTargetsInput
) -> Pin<Box<dyn Future<Output = Result<BatchGetDeploymentTargetsOutput, RusotoError<BatchGetDeploymentTargetsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns an array of one or more targets associated with a deployment. This method works with all compute types and should be used instead of the deprecated BatchGetDeploymentInstances
. The maximum number of targets that can be returned is 25.
The type of targets returned depends on the deployment's compute platform or deployment method:
-
EC2/On-premises: Information about EC2 instance targets.
-
AWS Lambda: Information about Lambda functions targets.
-
Amazon ECS: Information about Amazon ECS service targets.
-
CloudFormation: Information about targets of blue/green deployments initiated by a CloudFormation stack update.
sourcefn batch_get_deployments<'life0, 'async_trait>(
&'life0 self,
input: BatchGetDeploymentsInput
) -> Pin<Box<dyn Future<Output = Result<BatchGetDeploymentsOutput, RusotoError<BatchGetDeploymentsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn batch_get_deployments<'life0, 'async_trait>(
&'life0 self,
input: BatchGetDeploymentsInput
) -> Pin<Box<dyn Future<Output = Result<BatchGetDeploymentsOutput, RusotoError<BatchGetDeploymentsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets information about one or more deployments. The maximum number of deployments that can be returned is 25.
sourcefn batch_get_on_premises_instances<'life0, 'async_trait>(
&'life0 self,
input: BatchGetOnPremisesInstancesInput
) -> Pin<Box<dyn Future<Output = Result<BatchGetOnPremisesInstancesOutput, RusotoError<BatchGetOnPremisesInstancesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn batch_get_on_premises_instances<'life0, 'async_trait>(
&'life0 self,
input: BatchGetOnPremisesInstancesInput
) -> Pin<Box<dyn Future<Output = Result<BatchGetOnPremisesInstancesOutput, RusotoError<BatchGetOnPremisesInstancesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets information about one or more on-premises instances. The maximum number of on-premises instances that can be returned is 25.
sourcefn continue_deployment<'life0, 'async_trait>(
&'life0 self,
input: ContinueDeploymentInput
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<ContinueDeploymentError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn continue_deployment<'life0, 'async_trait>(
&'life0 self,
input: ContinueDeploymentInput
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<ContinueDeploymentError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
For a blue/green deployment, starts the process of rerouting traffic from instances in the original environment to instances in the replacement environment without waiting for a specified wait time to elapse. (Traffic rerouting, which is achieved by registering instances in the replacement environment with the load balancer, can start as soon as all instances have a status of Ready.)
sourcefn create_application<'life0, 'async_trait>(
&'life0 self,
input: CreateApplicationInput
) -> Pin<Box<dyn Future<Output = Result<CreateApplicationOutput, RusotoError<CreateApplicationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_application<'life0, 'async_trait>(
&'life0 self,
input: CreateApplicationInput
) -> Pin<Box<dyn Future<Output = Result<CreateApplicationOutput, RusotoError<CreateApplicationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates an application.
sourcefn create_deployment<'life0, 'async_trait>(
&'life0 self,
input: CreateDeploymentInput
) -> Pin<Box<dyn Future<Output = Result<CreateDeploymentOutput, RusotoError<CreateDeploymentError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_deployment<'life0, 'async_trait>(
&'life0 self,
input: CreateDeploymentInput
) -> Pin<Box<dyn Future<Output = Result<CreateDeploymentOutput, RusotoError<CreateDeploymentError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deploys an application revision through the specified deployment group.
sourcefn create_deployment_config<'life0, 'async_trait>(
&'life0 self,
input: CreateDeploymentConfigInput
) -> Pin<Box<dyn Future<Output = Result<CreateDeploymentConfigOutput, RusotoError<CreateDeploymentConfigError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_deployment_config<'life0, 'async_trait>(
&'life0 self,
input: CreateDeploymentConfigInput
) -> Pin<Box<dyn Future<Output = Result<CreateDeploymentConfigOutput, RusotoError<CreateDeploymentConfigError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a deployment configuration.
sourcefn create_deployment_group<'life0, 'async_trait>(
&'life0 self,
input: CreateDeploymentGroupInput
) -> Pin<Box<dyn Future<Output = Result<CreateDeploymentGroupOutput, RusotoError<CreateDeploymentGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_deployment_group<'life0, 'async_trait>(
&'life0 self,
input: CreateDeploymentGroupInput
) -> Pin<Box<dyn Future<Output = Result<CreateDeploymentGroupOutput, RusotoError<CreateDeploymentGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a deployment group to which application revisions are deployed.
sourcefn delete_application<'life0, 'async_trait>(
&'life0 self,
input: DeleteApplicationInput
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteApplicationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_application<'life0, 'async_trait>(
&'life0 self,
input: DeleteApplicationInput
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteApplicationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes an application.
sourcefn delete_deployment_config<'life0, 'async_trait>(
&'life0 self,
input: DeleteDeploymentConfigInput
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteDeploymentConfigError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_deployment_config<'life0, 'async_trait>(
&'life0 self,
input: DeleteDeploymentConfigInput
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteDeploymentConfigError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a deployment configuration.
A deployment configuration cannot be deleted if it is currently in use. Predefined configurations cannot be deleted.
sourcefn delete_deployment_group<'life0, 'async_trait>(
&'life0 self,
input: DeleteDeploymentGroupInput
) -> Pin<Box<dyn Future<Output = Result<DeleteDeploymentGroupOutput, RusotoError<DeleteDeploymentGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_deployment_group<'life0, 'async_trait>(
&'life0 self,
input: DeleteDeploymentGroupInput
) -> Pin<Box<dyn Future<Output = Result<DeleteDeploymentGroupOutput, RusotoError<DeleteDeploymentGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a deployment group.
sourcefn delete_git_hub_account_token<'life0, 'async_trait>(
&'life0 self,
input: DeleteGitHubAccountTokenInput
) -> Pin<Box<dyn Future<Output = Result<DeleteGitHubAccountTokenOutput, RusotoError<DeleteGitHubAccountTokenError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_git_hub_account_token<'life0, 'async_trait>(
&'life0 self,
input: DeleteGitHubAccountTokenInput
) -> Pin<Box<dyn Future<Output = Result<DeleteGitHubAccountTokenOutput, RusotoError<DeleteGitHubAccountTokenError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a GitHub account connection.
sourcefn delete_resources_by_external_id<'life0, 'async_trait>(
&'life0 self,
input: DeleteResourcesByExternalIdInput
) -> Pin<Box<dyn Future<Output = Result<DeleteResourcesByExternalIdOutput, RusotoError<DeleteResourcesByExternalIdError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_resources_by_external_id<'life0, 'async_trait>(
&'life0 self,
input: DeleteResourcesByExternalIdInput
) -> Pin<Box<dyn Future<Output = Result<DeleteResourcesByExternalIdOutput, RusotoError<DeleteResourcesByExternalIdError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes resources linked to an external ID.
sourcefn deregister_on_premises_instance<'life0, 'async_trait>(
&'life0 self,
input: DeregisterOnPremisesInstanceInput
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeregisterOnPremisesInstanceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn deregister_on_premises_instance<'life0, 'async_trait>(
&'life0 self,
input: DeregisterOnPremisesInstanceInput
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeregisterOnPremisesInstanceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deregisters an on-premises instance.
sourcefn get_application<'life0, 'async_trait>(
&'life0 self,
input: GetApplicationInput
) -> Pin<Box<dyn Future<Output = Result<GetApplicationOutput, RusotoError<GetApplicationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_application<'life0, 'async_trait>(
&'life0 self,
input: GetApplicationInput
) -> Pin<Box<dyn Future<Output = Result<GetApplicationOutput, RusotoError<GetApplicationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets information about an application.
sourcefn get_application_revision<'life0, 'async_trait>(
&'life0 self,
input: GetApplicationRevisionInput
) -> Pin<Box<dyn Future<Output = Result<GetApplicationRevisionOutput, RusotoError<GetApplicationRevisionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_application_revision<'life0, 'async_trait>(
&'life0 self,
input: GetApplicationRevisionInput
) -> Pin<Box<dyn Future<Output = Result<GetApplicationRevisionOutput, RusotoError<GetApplicationRevisionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets information about an application revision.
sourcefn get_deployment<'life0, 'async_trait>(
&'life0 self,
input: GetDeploymentInput
) -> Pin<Box<dyn Future<Output = Result<GetDeploymentOutput, RusotoError<GetDeploymentError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_deployment<'life0, 'async_trait>(
&'life0 self,
input: GetDeploymentInput
) -> Pin<Box<dyn Future<Output = Result<GetDeploymentOutput, RusotoError<GetDeploymentError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets information about a deployment.
The content
property of the appSpecContent
object in the returned revision is always null. Use GetApplicationRevision
and the sha256
property of the returned appSpecContent
object to get the content of the deployment’s AppSpec file.
sourcefn get_deployment_config<'life0, 'async_trait>(
&'life0 self,
input: GetDeploymentConfigInput
) -> Pin<Box<dyn Future<Output = Result<GetDeploymentConfigOutput, RusotoError<GetDeploymentConfigError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_deployment_config<'life0, 'async_trait>(
&'life0 self,
input: GetDeploymentConfigInput
) -> Pin<Box<dyn Future<Output = Result<GetDeploymentConfigOutput, RusotoError<GetDeploymentConfigError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets information about a deployment configuration.
sourcefn get_deployment_group<'life0, 'async_trait>(
&'life0 self,
input: GetDeploymentGroupInput
) -> Pin<Box<dyn Future<Output = Result<GetDeploymentGroupOutput, RusotoError<GetDeploymentGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_deployment_group<'life0, 'async_trait>(
&'life0 self,
input: GetDeploymentGroupInput
) -> Pin<Box<dyn Future<Output = Result<GetDeploymentGroupOutput, RusotoError<GetDeploymentGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets information about a deployment group.
sourcefn get_deployment_instance<'life0, 'async_trait>(
&'life0 self,
input: GetDeploymentInstanceInput
) -> Pin<Box<dyn Future<Output = Result<GetDeploymentInstanceOutput, RusotoError<GetDeploymentInstanceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_deployment_instance<'life0, 'async_trait>(
&'life0 self,
input: GetDeploymentInstanceInput
) -> Pin<Box<dyn Future<Output = Result<GetDeploymentInstanceOutput, RusotoError<GetDeploymentInstanceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets information about an instance as part of a deployment.
sourcefn get_deployment_target<'life0, 'async_trait>(
&'life0 self,
input: GetDeploymentTargetInput
) -> Pin<Box<dyn Future<Output = Result<GetDeploymentTargetOutput, RusotoError<GetDeploymentTargetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_deployment_target<'life0, 'async_trait>(
&'life0 self,
input: GetDeploymentTargetInput
) -> Pin<Box<dyn Future<Output = Result<GetDeploymentTargetOutput, RusotoError<GetDeploymentTargetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns information about a deployment target.
sourcefn get_on_premises_instance<'life0, 'async_trait>(
&'life0 self,
input: GetOnPremisesInstanceInput
) -> Pin<Box<dyn Future<Output = Result<GetOnPremisesInstanceOutput, RusotoError<GetOnPremisesInstanceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_on_premises_instance<'life0, 'async_trait>(
&'life0 self,
input: GetOnPremisesInstanceInput
) -> Pin<Box<dyn Future<Output = Result<GetOnPremisesInstanceOutput, RusotoError<GetOnPremisesInstanceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets information about an on-premises instance.
sourcefn list_application_revisions<'life0, 'async_trait>(
&'life0 self,
input: ListApplicationRevisionsInput
) -> Pin<Box<dyn Future<Output = Result<ListApplicationRevisionsOutput, RusotoError<ListApplicationRevisionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_application_revisions<'life0, 'async_trait>(
&'life0 self,
input: ListApplicationRevisionsInput
) -> Pin<Box<dyn Future<Output = Result<ListApplicationRevisionsOutput, RusotoError<ListApplicationRevisionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists information about revisions for an application.
sourcefn list_applications<'life0, 'async_trait>(
&'life0 self,
input: ListApplicationsInput
) -> Pin<Box<dyn Future<Output = Result<ListApplicationsOutput, RusotoError<ListApplicationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_applications<'life0, 'async_trait>(
&'life0 self,
input: ListApplicationsInput
) -> Pin<Box<dyn Future<Output = Result<ListApplicationsOutput, RusotoError<ListApplicationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists the applications registered with the IAM user or AWS account.
sourcefn list_deployment_configs<'life0, 'async_trait>(
&'life0 self,
input: ListDeploymentConfigsInput
) -> Pin<Box<dyn Future<Output = Result<ListDeploymentConfigsOutput, RusotoError<ListDeploymentConfigsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_deployment_configs<'life0, 'async_trait>(
&'life0 self,
input: ListDeploymentConfigsInput
) -> Pin<Box<dyn Future<Output = Result<ListDeploymentConfigsOutput, RusotoError<ListDeploymentConfigsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists the deployment configurations with the IAM user or AWS account.
sourcefn list_deployment_groups<'life0, 'async_trait>(
&'life0 self,
input: ListDeploymentGroupsInput
) -> Pin<Box<dyn Future<Output = Result<ListDeploymentGroupsOutput, RusotoError<ListDeploymentGroupsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_deployment_groups<'life0, 'async_trait>(
&'life0 self,
input: ListDeploymentGroupsInput
) -> Pin<Box<dyn Future<Output = Result<ListDeploymentGroupsOutput, RusotoError<ListDeploymentGroupsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists the deployment groups for an application registered with the IAM user or AWS account.
sourcefn list_deployment_instances<'life0, 'async_trait>(
&'life0 self,
input: ListDeploymentInstancesInput
) -> Pin<Box<dyn Future<Output = Result<ListDeploymentInstancesOutput, RusotoError<ListDeploymentInstancesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_deployment_instances<'life0, 'async_trait>(
&'life0 self,
input: ListDeploymentInstancesInput
) -> Pin<Box<dyn Future<Output = Result<ListDeploymentInstancesOutput, RusotoError<ListDeploymentInstancesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
The newer BatchGetDeploymentTargets
should be used instead because it works with all compute types. ListDeploymentInstances
throws an exception if it is used with a compute platform other than EC2/On-premises or AWS Lambda.
Lists the instance for a deployment associated with the IAM user or AWS account.
sourcefn list_deployment_targets<'life0, 'async_trait>(
&'life0 self,
input: ListDeploymentTargetsInput
) -> Pin<Box<dyn Future<Output = Result<ListDeploymentTargetsOutput, RusotoError<ListDeploymentTargetsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_deployment_targets<'life0, 'async_trait>(
&'life0 self,
input: ListDeploymentTargetsInput
) -> Pin<Box<dyn Future<Output = Result<ListDeploymentTargetsOutput, RusotoError<ListDeploymentTargetsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns an array of target IDs that are associated a deployment.
sourcefn list_deployments<'life0, 'async_trait>(
&'life0 self,
input: ListDeploymentsInput
) -> Pin<Box<dyn Future<Output = Result<ListDeploymentsOutput, RusotoError<ListDeploymentsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_deployments<'life0, 'async_trait>(
&'life0 self,
input: ListDeploymentsInput
) -> Pin<Box<dyn Future<Output = Result<ListDeploymentsOutput, RusotoError<ListDeploymentsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists the deployments in a deployment group for an application registered with the IAM user or AWS account.
sourcefn list_git_hub_account_token_names<'life0, 'async_trait>(
&'life0 self,
input: ListGitHubAccountTokenNamesInput
) -> Pin<Box<dyn Future<Output = Result<ListGitHubAccountTokenNamesOutput, RusotoError<ListGitHubAccountTokenNamesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_git_hub_account_token_names<'life0, 'async_trait>(
&'life0 self,
input: ListGitHubAccountTokenNamesInput
) -> Pin<Box<dyn Future<Output = Result<ListGitHubAccountTokenNamesOutput, RusotoError<ListGitHubAccountTokenNamesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists the names of stored connections to GitHub accounts.
sourcefn list_on_premises_instances<'life0, 'async_trait>(
&'life0 self,
input: ListOnPremisesInstancesInput
) -> Pin<Box<dyn Future<Output = Result<ListOnPremisesInstancesOutput, RusotoError<ListOnPremisesInstancesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_on_premises_instances<'life0, 'async_trait>(
&'life0 self,
input: ListOnPremisesInstancesInput
) -> Pin<Box<dyn Future<Output = Result<ListOnPremisesInstancesOutput, RusotoError<ListOnPremisesInstancesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets a list of names for one or more on-premises instances.
Unless otherwise specified, both registered and deregistered on-premises instance names are listed. To list only registered or deregistered on-premises instance names, use the registration status parameter.
Returns a list of tags for the resource identified by a specified Amazon Resource Name (ARN). Tags are used to organize and categorize your CodeDeploy resources.
sourcefn put_lifecycle_event_hook_execution_status<'life0, 'async_trait>(
&'life0 self,
input: PutLifecycleEventHookExecutionStatusInput
) -> Pin<Box<dyn Future<Output = Result<PutLifecycleEventHookExecutionStatusOutput, RusotoError<PutLifecycleEventHookExecutionStatusError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn put_lifecycle_event_hook_execution_status<'life0, 'async_trait>(
&'life0 self,
input: PutLifecycleEventHookExecutionStatusInput
) -> Pin<Box<dyn Future<Output = Result<PutLifecycleEventHookExecutionStatusOutput, RusotoError<PutLifecycleEventHookExecutionStatusError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Sets the result of a Lambda validation function. The function validates lifecycle hooks during a deployment that uses the AWS Lambda or Amazon ECS compute platform. For AWS Lambda deployments, the available lifecycle hooks are BeforeAllowTraffic
and AfterAllowTraffic
. For Amazon ECS deployments, the available lifecycle hooks are BeforeInstall
, AfterInstall
, AfterAllowTestTraffic
, BeforeAllowTraffic
, and AfterAllowTraffic
. Lambda validation functions return Succeeded
or Failed
. For more information, see AppSpec 'hooks' Section for an AWS Lambda Deployment and AppSpec 'hooks' Section for an Amazon ECS Deployment.
sourcefn register_application_revision<'life0, 'async_trait>(
&'life0 self,
input: RegisterApplicationRevisionInput
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<RegisterApplicationRevisionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn register_application_revision<'life0, 'async_trait>(
&'life0 self,
input: RegisterApplicationRevisionInput
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<RegisterApplicationRevisionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Registers with AWS CodeDeploy a revision for the specified application.
sourcefn register_on_premises_instance<'life0, 'async_trait>(
&'life0 self,
input: RegisterOnPremisesInstanceInput
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<RegisterOnPremisesInstanceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn register_on_premises_instance<'life0, 'async_trait>(
&'life0 self,
input: RegisterOnPremisesInstanceInput
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<RegisterOnPremisesInstanceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Registers an on-premises instance.
Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request. You cannot use both.
Removes one or more tags from one or more on-premises instances.
sourcefn skip_wait_time_for_instance_termination<'life0, 'async_trait>(
&'life0 self,
input: SkipWaitTimeForInstanceTerminationInput
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<SkipWaitTimeForInstanceTerminationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn skip_wait_time_for_instance_termination<'life0, 'async_trait>(
&'life0 self,
input: SkipWaitTimeForInstanceTerminationInput
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<SkipWaitTimeForInstanceTerminationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
In a blue/green deployment, overrides any specified wait time and starts terminating instances immediately after the traffic routing is complete.
sourcefn stop_deployment<'life0, 'async_trait>(
&'life0 self,
input: StopDeploymentInput
) -> Pin<Box<dyn Future<Output = Result<StopDeploymentOutput, RusotoError<StopDeploymentError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn stop_deployment<'life0, 'async_trait>(
&'life0 self,
input: StopDeploymentInput
) -> Pin<Box<dyn Future<Output = Result<StopDeploymentOutput, RusotoError<StopDeploymentError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Attempts to stop an ongoing deployment.
sourcefn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceInput
) -> Pin<Box<dyn Future<Output = Result<TagResourceOutput, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceInput
) -> Pin<Box<dyn Future<Output = Result<TagResourceOutput, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Associates the list of tags in the input Tags
parameter with the resource identified by the ResourceArn
input parameter.
sourcefn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceInput
) -> Pin<Box<dyn Future<Output = Result<UntagResourceOutput, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceInput
) -> Pin<Box<dyn Future<Output = Result<UntagResourceOutput, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Disassociates a resource from a list of tags. The resource is identified by the ResourceArn
input parameter. The tags are identified by the list of keys in the TagKeys
input parameter.
sourcefn update_application<'life0, 'async_trait>(
&'life0 self,
input: UpdateApplicationInput
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UpdateApplicationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_application<'life0, 'async_trait>(
&'life0 self,
input: UpdateApplicationInput
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UpdateApplicationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Changes the name of an application.
sourcefn update_deployment_group<'life0, 'async_trait>(
&'life0 self,
input: UpdateDeploymentGroupInput
) -> Pin<Box<dyn Future<Output = Result<UpdateDeploymentGroupOutput, RusotoError<UpdateDeploymentGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_deployment_group<'life0, 'async_trait>(
&'life0 self,
input: UpdateDeploymentGroupInput
) -> Pin<Box<dyn Future<Output = Result<UpdateDeploymentGroupOutput, RusotoError<UpdateDeploymentGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Changes information about a deployment group.
Auto Trait Implementations
impl !RefUnwindSafe for CodeDeployClient
impl Send for CodeDeployClient
impl Sync for CodeDeployClient
impl Unpin for CodeDeployClient
impl !UnwindSafe for CodeDeployClient
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more