[][src]Struct rusoto_codedeploy::CodeDeployClient

pub struct CodeDeployClient { /* fields omitted */ }

A client for the CodeDeploy API.

Methods

impl CodeDeployClient[src]

pub fn new(region: Region) -> CodeDeployClient[src]

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,
    P::Future: Send,
    D: DispatchSignedRequest + Send + Sync + 'static,
    D::Future: Send
[src]

Trait Implementations

impl CodeDeploy for CodeDeployClient[src]

fn add_tags_to_on_premises_instances(
    &self,
    input: AddTagsToOnPremisesInstancesInput
) -> RusotoFuture<(), AddTagsToOnPremisesInstancesError>
[src]

Adds tags to on-premises instances.

fn batch_get_application_revisions(
    &self,
    input: BatchGetApplicationRevisionsInput
) -> RusotoFuture<BatchGetApplicationRevisionsOutput, BatchGetApplicationRevisionsError>
[src]

Gets information about one or more application revisions.

fn batch_get_applications(
    &self,
    input: BatchGetApplicationsInput
) -> RusotoFuture<BatchGetApplicationsOutput, BatchGetApplicationsError>
[src]

Gets information about one or more applications.

fn batch_get_deployment_groups(
    &self,
    input: BatchGetDeploymentGroupsInput
) -> RusotoFuture<BatchGetDeploymentGroupsOutput, BatchGetDeploymentGroupsError>
[src]

Gets information about one or more deployment groups.

fn batch_get_deployment_instances(
    &self,
    input: BatchGetDeploymentInstancesInput
) -> RusotoFuture<BatchGetDeploymentInstancesOutput, BatchGetDeploymentInstancesError>
[src]

This method works, but is deprecated. Use BatchGetDeploymentTargets instead.

Returns an array of 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.

fn batch_get_deployment_targets(
    &self,
    input: BatchGetDeploymentTargetsInput
) -> RusotoFuture<BatchGetDeploymentTargetsOutput, BatchGetDeploymentTargetsError>
[src]

Returns an array of targets associated with a deployment. This method works with all compute types and should be used instead of the deprecated BatchGetDeploymentInstances.

The type of targets returned depends on the deployment's compute platform:

  • EC2/On-premises: Information about EC2 instance targets.

  • AWS Lambda: Information about Lambda functions targets.

  • Amazon ECS: Information about Amazon ECS service targets.

fn batch_get_deployments(
    &self,
    input: BatchGetDeploymentsInput
) -> RusotoFuture<BatchGetDeploymentsOutput, BatchGetDeploymentsError>
[src]

Gets information about one or more deployments.

fn batch_get_on_premises_instances(
    &self,
    input: BatchGetOnPremisesInstancesInput
) -> RusotoFuture<BatchGetOnPremisesInstancesOutput, BatchGetOnPremisesInstancesError>
[src]

Gets information about one or more on-premises instances.

fn continue_deployment(
    &self,
    input: ContinueDeploymentInput
) -> RusotoFuture<(), ContinueDeploymentError>
[src]

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.)

fn create_application(
    &self,
    input: CreateApplicationInput
) -> RusotoFuture<CreateApplicationOutput, CreateApplicationError>
[src]

Creates an application.

fn create_deployment(
    &self,
    input: CreateDeploymentInput
) -> RusotoFuture<CreateDeploymentOutput, CreateDeploymentError>
[src]

Deploys an application revision through the specified deployment group.

fn create_deployment_config(
    &self,
    input: CreateDeploymentConfigInput
) -> RusotoFuture<CreateDeploymentConfigOutput, CreateDeploymentConfigError>
[src]

Creates a deployment configuration.

fn create_deployment_group(
    &self,
    input: CreateDeploymentGroupInput
) -> RusotoFuture<CreateDeploymentGroupOutput, CreateDeploymentGroupError>
[src]

Creates a deployment group to which application revisions are deployed.

fn delete_application(
    &self,
    input: DeleteApplicationInput
) -> RusotoFuture<(), DeleteApplicationError>
[src]

Deletes an application.

fn delete_deployment_config(
    &self,
    input: DeleteDeploymentConfigInput
) -> RusotoFuture<(), DeleteDeploymentConfigError>
[src]

Deletes a deployment configuration.

A deployment configuration cannot be deleted if it is currently in use. Predefined configurations cannot be deleted.

fn delete_deployment_group(
    &self,
    input: DeleteDeploymentGroupInput
) -> RusotoFuture<DeleteDeploymentGroupOutput, DeleteDeploymentGroupError>
[src]

Deletes a deployment group.

fn delete_git_hub_account_token(
    &self,
    input: DeleteGitHubAccountTokenInput
) -> RusotoFuture<DeleteGitHubAccountTokenOutput, DeleteGitHubAccountTokenError>
[src]

Deletes a GitHub account connection.

fn deregister_on_premises_instance(
    &self,
    input: DeregisterOnPremisesInstanceInput
) -> RusotoFuture<(), DeregisterOnPremisesInstanceError>
[src]

Deregisters an on-premises instance.

fn get_application(
    &self,
    input: GetApplicationInput
) -> RusotoFuture<GetApplicationOutput, GetApplicationError>
[src]

Gets information about an application.

fn get_application_revision(
    &self,
    input: GetApplicationRevisionInput
) -> RusotoFuture<GetApplicationRevisionOutput, GetApplicationRevisionError>
[src]

Gets information about an application revision.

fn get_deployment(
    &self,
    input: GetDeploymentInput
) -> RusotoFuture<GetDeploymentOutput, GetDeploymentError>
[src]

Gets information about a deployment.

fn get_deployment_config(
    &self,
    input: GetDeploymentConfigInput
) -> RusotoFuture<GetDeploymentConfigOutput, GetDeploymentConfigError>
[src]

Gets information about a deployment configuration.

fn get_deployment_group(
    &self,
    input: GetDeploymentGroupInput
) -> RusotoFuture<GetDeploymentGroupOutput, GetDeploymentGroupError>
[src]

Gets information about a deployment group.

fn get_deployment_instance(
    &self,
    input: GetDeploymentInstanceInput
) -> RusotoFuture<GetDeploymentInstanceOutput, GetDeploymentInstanceError>
[src]

Gets information about an instance as part of a deployment.

fn get_deployment_target(
    &self,
    input: GetDeploymentTargetInput
) -> RusotoFuture<GetDeploymentTargetOutput, GetDeploymentTargetError>
[src]

Returns information about a deployment target.

fn get_on_premises_instance(
    &self,
    input: GetOnPremisesInstanceInput
) -> RusotoFuture<GetOnPremisesInstanceOutput, GetOnPremisesInstanceError>
[src]

Gets information about an on-premises instance.

fn list_application_revisions(
    &self,
    input: ListApplicationRevisionsInput
) -> RusotoFuture<ListApplicationRevisionsOutput, ListApplicationRevisionsError>
[src]

Lists information about revisions for an application.

fn list_applications(
    &self,
    input: ListApplicationsInput
) -> RusotoFuture<ListApplicationsOutput, ListApplicationsError>
[src]

Lists the applications registered with the IAM user or AWS account.

fn list_deployment_configs(
    &self,
    input: ListDeploymentConfigsInput
) -> RusotoFuture<ListDeploymentConfigsOutput, ListDeploymentConfigsError>
[src]

Lists the deployment configurations with the IAM user or AWS account.

fn list_deployment_groups(
    &self,
    input: ListDeploymentGroupsInput
) -> RusotoFuture<ListDeploymentGroupsOutput, ListDeploymentGroupsError>
[src]

Lists the deployment groups for an application registered with the IAM user or AWS account.

fn list_deployment_instances(
    &self,
    input: ListDeploymentInstancesInput
) -> RusotoFuture<ListDeploymentInstancesOutput, ListDeploymentInstancesError>
[src]

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.

fn list_deployment_targets(
    &self,
    input: ListDeploymentTargetsInput
) -> RusotoFuture<ListDeploymentTargetsOutput, ListDeploymentTargetsError>
[src]

Returns an array of target IDs that are associated a deployment.

fn list_deployments(
    &self,
    input: ListDeploymentsInput
) -> RusotoFuture<ListDeploymentsOutput, ListDeploymentsError>
[src]

Lists the deployments in a deployment group for an application registered with the IAM user or AWS account.

fn list_git_hub_account_token_names(
    &self,
    input: ListGitHubAccountTokenNamesInput
) -> RusotoFuture<ListGitHubAccountTokenNamesOutput, ListGitHubAccountTokenNamesError>
[src]

Lists the names of stored connections to GitHub accounts.

fn list_on_premises_instances(
    &self,
    input: ListOnPremisesInstancesInput
) -> RusotoFuture<ListOnPremisesInstancesOutput, ListOnPremisesInstancesError>
[src]

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.

fn put_lifecycle_event_hook_execution_status(
    &self,
    input: PutLifecycleEventHookExecutionStatusInput
) -> RusotoFuture<PutLifecycleEventHookExecutionStatusOutput, PutLifecycleEventHookExecutionStatusError>
[src]

Sets the result of a Lambda validation function. The function validates one or both lifecycle events (BeforeAllowTraffic and AfterAllowTraffic) and returns Succeeded or Failed.

fn register_application_revision(
    &self,
    input: RegisterApplicationRevisionInput
) -> RusotoFuture<(), RegisterApplicationRevisionError>
[src]

Registers with AWS CodeDeploy a revision for the specified application.

fn register_on_premises_instance(
    &self,
    input: RegisterOnPremisesInstanceInput
) -> RusotoFuture<(), RegisterOnPremisesInstanceError>
[src]

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.

fn remove_tags_from_on_premises_instances(
    &self,
    input: RemoveTagsFromOnPremisesInstancesInput
) -> RusotoFuture<(), RemoveTagsFromOnPremisesInstancesError>
[src]

Removes one or more tags from one or more on-premises instances.

fn skip_wait_time_for_instance_termination(
    &self,
    input: SkipWaitTimeForInstanceTerminationInput
) -> RusotoFuture<(), SkipWaitTimeForInstanceTerminationError>
[src]

In a blue/green deployment, overrides any specified wait time and starts terminating instances immediately after the traffic routing is complete.

fn stop_deployment(
    &self,
    input: StopDeploymentInput
) -> RusotoFuture<StopDeploymentOutput, StopDeploymentError>
[src]

Attempts to stop an ongoing deployment.

fn update_application(
    &self,
    input: UpdateApplicationInput
) -> RusotoFuture<(), UpdateApplicationError>
[src]

Changes the name of an application.

fn update_deployment_group(
    &self,
    input: UpdateDeploymentGroupInput
) -> RusotoFuture<UpdateDeploymentGroupOutput, UpdateDeploymentGroupError>
[src]

Changes information about a deployment group.

impl Clone for CodeDeployClient[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self