[−][src]Struct rusoto_codedeploy::CodeDeployClient
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]
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,
Trait Implementations
impl CodeDeploy for CodeDeployClient
[src]
fn add_tags_to_on_premises_instances(
&self,
input: AddTagsToOnPremisesInstancesInput
) -> RusotoFuture<(), AddTagsToOnPremisesInstancesError>
[src]
&self,
input: AddTagsToOnPremisesInstancesInput
) -> RusotoFuture<(), AddTagsToOnPremisesInstancesError>
Adds tags to on-premises instances.
fn batch_get_application_revisions(
&self,
input: BatchGetApplicationRevisionsInput
) -> RusotoFuture<BatchGetApplicationRevisionsOutput, BatchGetApplicationRevisionsError>
[src]
&self,
input: BatchGetApplicationRevisionsInput
) -> RusotoFuture<BatchGetApplicationRevisionsOutput, BatchGetApplicationRevisionsError>
Gets information about one or more application revisions.
fn batch_get_applications(
&self,
input: BatchGetApplicationsInput
) -> RusotoFuture<BatchGetApplicationsOutput, BatchGetApplicationsError>
[src]
&self,
input: BatchGetApplicationsInput
) -> RusotoFuture<BatchGetApplicationsOutput, BatchGetApplicationsError>
Gets information about one or more applications.
fn batch_get_deployment_groups(
&self,
input: BatchGetDeploymentGroupsInput
) -> RusotoFuture<BatchGetDeploymentGroupsOutput, BatchGetDeploymentGroupsError>
[src]
&self,
input: BatchGetDeploymentGroupsInput
) -> RusotoFuture<BatchGetDeploymentGroupsOutput, BatchGetDeploymentGroupsError>
Gets information about one or more deployment groups.
fn batch_get_deployment_instances(
&self,
input: BatchGetDeploymentInstancesInput
) -> RusotoFuture<BatchGetDeploymentInstancesOutput, BatchGetDeploymentInstancesError>
[src]
&self,
input: BatchGetDeploymentInstancesInput
) -> RusotoFuture<BatchGetDeploymentInstancesOutput, BatchGetDeploymentInstancesError>
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]
&self,
input: BatchGetDeploymentTargetsInput
) -> RusotoFuture<BatchGetDeploymentTargetsOutput, BatchGetDeploymentTargetsError>
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]
&self,
input: BatchGetDeploymentsInput
) -> RusotoFuture<BatchGetDeploymentsOutput, BatchGetDeploymentsError>
Gets information about one or more deployments.
fn batch_get_on_premises_instances(
&self,
input: BatchGetOnPremisesInstancesInput
) -> RusotoFuture<BatchGetOnPremisesInstancesOutput, BatchGetOnPremisesInstancesError>
[src]
&self,
input: BatchGetOnPremisesInstancesInput
) -> RusotoFuture<BatchGetOnPremisesInstancesOutput, BatchGetOnPremisesInstancesError>
Gets information about one or more on-premises instances.
fn continue_deployment(
&self,
input: ContinueDeploymentInput
) -> RusotoFuture<(), ContinueDeploymentError>
[src]
&self,
input: ContinueDeploymentInput
) -> RusotoFuture<(), ContinueDeploymentError>
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]
&self,
input: CreateApplicationInput
) -> RusotoFuture<CreateApplicationOutput, CreateApplicationError>
Creates an application.
fn create_deployment(
&self,
input: CreateDeploymentInput
) -> RusotoFuture<CreateDeploymentOutput, CreateDeploymentError>
[src]
&self,
input: CreateDeploymentInput
) -> RusotoFuture<CreateDeploymentOutput, CreateDeploymentError>
Deploys an application revision through the specified deployment group.
fn create_deployment_config(
&self,
input: CreateDeploymentConfigInput
) -> RusotoFuture<CreateDeploymentConfigOutput, CreateDeploymentConfigError>
[src]
&self,
input: CreateDeploymentConfigInput
) -> RusotoFuture<CreateDeploymentConfigOutput, CreateDeploymentConfigError>
Creates a deployment configuration.
fn create_deployment_group(
&self,
input: CreateDeploymentGroupInput
) -> RusotoFuture<CreateDeploymentGroupOutput, CreateDeploymentGroupError>
[src]
&self,
input: CreateDeploymentGroupInput
) -> RusotoFuture<CreateDeploymentGroupOutput, CreateDeploymentGroupError>
Creates a deployment group to which application revisions are deployed.
fn delete_application(
&self,
input: DeleteApplicationInput
) -> RusotoFuture<(), DeleteApplicationError>
[src]
&self,
input: DeleteApplicationInput
) -> RusotoFuture<(), DeleteApplicationError>
Deletes an application.
fn delete_deployment_config(
&self,
input: DeleteDeploymentConfigInput
) -> RusotoFuture<(), DeleteDeploymentConfigError>
[src]
&self,
input: DeleteDeploymentConfigInput
) -> RusotoFuture<(), DeleteDeploymentConfigError>
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]
&self,
input: DeleteDeploymentGroupInput
) -> RusotoFuture<DeleteDeploymentGroupOutput, DeleteDeploymentGroupError>
Deletes a deployment group.
fn delete_git_hub_account_token(
&self,
input: DeleteGitHubAccountTokenInput
) -> RusotoFuture<DeleteGitHubAccountTokenOutput, DeleteGitHubAccountTokenError>
[src]
&self,
input: DeleteGitHubAccountTokenInput
) -> RusotoFuture<DeleteGitHubAccountTokenOutput, DeleteGitHubAccountTokenError>
Deletes a GitHub account connection.
fn deregister_on_premises_instance(
&self,
input: DeregisterOnPremisesInstanceInput
) -> RusotoFuture<(), DeregisterOnPremisesInstanceError>
[src]
&self,
input: DeregisterOnPremisesInstanceInput
) -> RusotoFuture<(), DeregisterOnPremisesInstanceError>
Deregisters an on-premises instance.
fn get_application(
&self,
input: GetApplicationInput
) -> RusotoFuture<GetApplicationOutput, GetApplicationError>
[src]
&self,
input: GetApplicationInput
) -> RusotoFuture<GetApplicationOutput, GetApplicationError>
Gets information about an application.
fn get_application_revision(
&self,
input: GetApplicationRevisionInput
) -> RusotoFuture<GetApplicationRevisionOutput, GetApplicationRevisionError>
[src]
&self,
input: GetApplicationRevisionInput
) -> RusotoFuture<GetApplicationRevisionOutput, GetApplicationRevisionError>
Gets information about an application revision.
fn get_deployment(
&self,
input: GetDeploymentInput
) -> RusotoFuture<GetDeploymentOutput, GetDeploymentError>
[src]
&self,
input: GetDeploymentInput
) -> RusotoFuture<GetDeploymentOutput, GetDeploymentError>
Gets information about a deployment.
fn get_deployment_config(
&self,
input: GetDeploymentConfigInput
) -> RusotoFuture<GetDeploymentConfigOutput, GetDeploymentConfigError>
[src]
&self,
input: GetDeploymentConfigInput
) -> RusotoFuture<GetDeploymentConfigOutput, GetDeploymentConfigError>
Gets information about a deployment configuration.
fn get_deployment_group(
&self,
input: GetDeploymentGroupInput
) -> RusotoFuture<GetDeploymentGroupOutput, GetDeploymentGroupError>
[src]
&self,
input: GetDeploymentGroupInput
) -> RusotoFuture<GetDeploymentGroupOutput, GetDeploymentGroupError>
Gets information about a deployment group.
fn get_deployment_instance(
&self,
input: GetDeploymentInstanceInput
) -> RusotoFuture<GetDeploymentInstanceOutput, GetDeploymentInstanceError>
[src]
&self,
input: GetDeploymentInstanceInput
) -> RusotoFuture<GetDeploymentInstanceOutput, GetDeploymentInstanceError>
Gets information about an instance as part of a deployment.
fn get_deployment_target(
&self,
input: GetDeploymentTargetInput
) -> RusotoFuture<GetDeploymentTargetOutput, GetDeploymentTargetError>
[src]
&self,
input: GetDeploymentTargetInput
) -> RusotoFuture<GetDeploymentTargetOutput, GetDeploymentTargetError>
Returns information about a deployment target.
fn get_on_premises_instance(
&self,
input: GetOnPremisesInstanceInput
) -> RusotoFuture<GetOnPremisesInstanceOutput, GetOnPremisesInstanceError>
[src]
&self,
input: GetOnPremisesInstanceInput
) -> RusotoFuture<GetOnPremisesInstanceOutput, GetOnPremisesInstanceError>
Gets information about an on-premises instance.
fn list_application_revisions(
&self,
input: ListApplicationRevisionsInput
) -> RusotoFuture<ListApplicationRevisionsOutput, ListApplicationRevisionsError>
[src]
&self,
input: ListApplicationRevisionsInput
) -> RusotoFuture<ListApplicationRevisionsOutput, ListApplicationRevisionsError>
Lists information about revisions for an application.
fn list_applications(
&self,
input: ListApplicationsInput
) -> RusotoFuture<ListApplicationsOutput, ListApplicationsError>
[src]
&self,
input: ListApplicationsInput
) -> RusotoFuture<ListApplicationsOutput, ListApplicationsError>
Lists the applications registered with the IAM user or AWS account.
fn list_deployment_configs(
&self,
input: ListDeploymentConfigsInput
) -> RusotoFuture<ListDeploymentConfigsOutput, ListDeploymentConfigsError>
[src]
&self,
input: ListDeploymentConfigsInput
) -> RusotoFuture<ListDeploymentConfigsOutput, ListDeploymentConfigsError>
Lists the deployment configurations with the IAM user or AWS account.
fn list_deployment_groups(
&self,
input: ListDeploymentGroupsInput
) -> RusotoFuture<ListDeploymentGroupsOutput, ListDeploymentGroupsError>
[src]
&self,
input: ListDeploymentGroupsInput
) -> RusotoFuture<ListDeploymentGroupsOutput, ListDeploymentGroupsError>
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]
&self,
input: ListDeploymentInstancesInput
) -> RusotoFuture<ListDeploymentInstancesOutput, ListDeploymentInstancesError>
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]
&self,
input: ListDeploymentTargetsInput
) -> RusotoFuture<ListDeploymentTargetsOutput, ListDeploymentTargetsError>
Returns an array of target IDs that are associated a deployment.
fn list_deployments(
&self,
input: ListDeploymentsInput
) -> RusotoFuture<ListDeploymentsOutput, ListDeploymentsError>
[src]
&self,
input: ListDeploymentsInput
) -> RusotoFuture<ListDeploymentsOutput, ListDeploymentsError>
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]
&self,
input: ListGitHubAccountTokenNamesInput
) -> RusotoFuture<ListGitHubAccountTokenNamesOutput, ListGitHubAccountTokenNamesError>
Lists the names of stored connections to GitHub accounts.
fn list_on_premises_instances(
&self,
input: ListOnPremisesInstancesInput
) -> RusotoFuture<ListOnPremisesInstancesOutput, ListOnPremisesInstancesError>
[src]
&self,
input: ListOnPremisesInstancesInput
) -> RusotoFuture<ListOnPremisesInstancesOutput, ListOnPremisesInstancesError>
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]
&self,
input: PutLifecycleEventHookExecutionStatusInput
) -> RusotoFuture<PutLifecycleEventHookExecutionStatusOutput, PutLifecycleEventHookExecutionStatusError>
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]
&self,
input: RegisterApplicationRevisionInput
) -> RusotoFuture<(), RegisterApplicationRevisionError>
Registers with AWS CodeDeploy a revision for the specified application.
fn register_on_premises_instance(
&self,
input: RegisterOnPremisesInstanceInput
) -> RusotoFuture<(), RegisterOnPremisesInstanceError>
[src]
&self,
input: RegisterOnPremisesInstanceInput
) -> RusotoFuture<(), RegisterOnPremisesInstanceError>
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]
&self,
input: RemoveTagsFromOnPremisesInstancesInput
) -> RusotoFuture<(), RemoveTagsFromOnPremisesInstancesError>
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]
&self,
input: SkipWaitTimeForInstanceTerminationInput
) -> RusotoFuture<(), SkipWaitTimeForInstanceTerminationError>
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]
&self,
input: StopDeploymentInput
) -> RusotoFuture<StopDeploymentOutput, StopDeploymentError>
Attempts to stop an ongoing deployment.
fn update_application(
&self,
input: UpdateApplicationInput
) -> RusotoFuture<(), UpdateApplicationError>
[src]
&self,
input: UpdateApplicationInput
) -> RusotoFuture<(), UpdateApplicationError>
Changes the name of an application.
fn update_deployment_group(
&self,
input: UpdateDeploymentGroupInput
) -> RusotoFuture<UpdateDeploymentGroupOutput, UpdateDeploymentGroupError>
[src]
&self,
input: UpdateDeploymentGroupInput
) -> RusotoFuture<UpdateDeploymentGroupOutput, UpdateDeploymentGroupError>
Changes information about a deployment group.
impl Clone for CodeDeployClient
[src]
fn clone(&self) -> CodeDeployClient
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for CodeDeployClient
impl Sync for CodeDeployClient
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self