[][src]Struct rusoto_appconfig::AppConfigClient

pub struct AppConfigClient { /* fields omitted */ }

A client for the AppConfig API.

Implementations

impl AppConfigClient[src]

pub fn new(region: Region) -> AppConfigClient[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
) -> AppConfigClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    D: DispatchSignedRequest + Send + Sync + 'static, 
[src]

pub fn new_with_client(client: Client, region: Region) -> AppConfigClient[src]

Trait Implementations

impl AppConfig for AppConfigClient[src]

fn create_application<'life0, 'async_trait>(
    &'life0 self,
    input: CreateApplicationRequest
) -> Pin<Box<dyn Future<Output = Result<Application, RusotoError<CreateApplicationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

An application in AppConfig is a logical unit of code that provides capabilities for your customers. For example, an application can be a microservice that runs on Amazon EC2 instances, a mobile application installed by your users, a serverless application using Amazon API Gateway and AWS Lambda, or any system you run on behalf of others.

fn create_configuration_profile<'life0, 'async_trait>(
    &'life0 self,
    input: CreateConfigurationProfileRequest
) -> Pin<Box<dyn Future<Output = Result<ConfigurationProfile, RusotoError<CreateConfigurationProfileError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Information that enables AppConfig to access the configuration source. Valid configuration sources include Systems Manager (SSM) documents, SSM Parameter Store parameters, and Amazon S3 objects. A configuration profile includes the following information.

  • The Uri location of the configuration data.

  • The AWS Identity and Access Management (IAM) role that provides access to the configuration data.

  • A validator for the configuration data. Available validators include either a JSON Schema or an AWS Lambda function.

For more information, see Create a Configuration and a Configuration Profile in the AWS AppConfig User Guide.

fn create_deployment_strategy<'life0, 'async_trait>(
    &'life0 self,
    input: CreateDeploymentStrategyRequest
) -> Pin<Box<dyn Future<Output = Result<DeploymentStrategy, RusotoError<CreateDeploymentStrategyError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

A deployment strategy defines important criteria for rolling out your configuration to the designated targets. A deployment strategy includes: the overall duration required, a percentage of targets to receive the deployment during each interval, an algorithm that defines how percentage grows, and bake time.

fn create_environment<'life0, 'async_trait>(
    &'life0 self,
    input: CreateEnvironmentRequest
) -> Pin<Box<dyn Future<Output = Result<Environment, RusotoError<CreateEnvironmentError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

For each application, you define one or more environments. An environment is a logical deployment group of AppConfig targets, such as applications in a Beta or Production environment. You can also define environments for application subcomponents such as the Web, Mobile and Back-end components for your application. You can configure Amazon CloudWatch alarms for each environment. The system monitors alarms during a configuration deployment. If an alarm is triggered, the system rolls back the configuration.

fn delete_application<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteApplicationRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteApplicationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Delete an application. Deleting an application does not delete a configuration from a host.

fn delete_configuration_profile<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteConfigurationProfileRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteConfigurationProfileError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Delete a configuration profile. Deleting a configuration profile does not delete a configuration from a host.

fn delete_deployment_strategy<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteDeploymentStrategyRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteDeploymentStrategyError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Delete a deployment strategy. Deleting a deployment strategy does not delete a configuration from a host.

fn delete_environment<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteEnvironmentRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteEnvironmentError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Delete an environment. Deleting an environment does not delete a configuration from a host.

fn get_application<'life0, 'async_trait>(
    &'life0 self,
    input: GetApplicationRequest
) -> Pin<Box<dyn Future<Output = Result<Application, RusotoError<GetApplicationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieve information about an application.

fn get_configuration<'life0, 'async_trait>(
    &'life0 self,
    input: GetConfigurationRequest
) -> Pin<Box<dyn Future<Output = Result<Configuration, RusotoError<GetConfigurationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Receive information about a configuration.

AWS AppConfig uses the value of the ClientConfigurationVersion parameter to identify the configuration version on your clients. If you don’t send ClientConfigurationVersion with each call to GetConfiguration, your clients receive the current configuration. You are charged each time your clients receive a configuration.

To avoid excess charges, we recommend that you include the ClientConfigurationVersion value with every call to GetConfiguration. This value must be saved on your client. Subsequent calls to GetConfiguration must pass this value by using the ClientConfigurationVersion parameter.

fn get_configuration_profile<'life0, 'async_trait>(
    &'life0 self,
    input: GetConfigurationProfileRequest
) -> Pin<Box<dyn Future<Output = Result<ConfigurationProfile, RusotoError<GetConfigurationProfileError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieve information about a configuration profile.

fn get_deployment<'life0, 'async_trait>(
    &'life0 self,
    input: GetDeploymentRequest
) -> Pin<Box<dyn Future<Output = Result<Deployment, RusotoError<GetDeploymentError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieve information about a configuration deployment.

fn get_deployment_strategy<'life0, 'async_trait>(
    &'life0 self,
    input: GetDeploymentStrategyRequest
) -> Pin<Box<dyn Future<Output = Result<DeploymentStrategy, RusotoError<GetDeploymentStrategyError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieve information about a deployment strategy. A deployment strategy defines important criteria for rolling out your configuration to the designated targets. A deployment strategy includes: the overall duration required, a percentage of targets to receive the deployment during each interval, an algorithm that defines how percentage grows, and bake time.

fn get_environment<'life0, 'async_trait>(
    &'life0 self,
    input: GetEnvironmentRequest
) -> Pin<Box<dyn Future<Output = Result<Environment, RusotoError<GetEnvironmentError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieve information about an environment. An environment is a logical deployment group of AppConfig applications, such as applications in a Production environment or in an EU_Region environment. Each configuration deployment targets an environment. You can enable one or more Amazon CloudWatch alarms for an environment. If an alarm is triggered during a deployment, AppConfig roles back the configuration.

fn list_applications<'life0, 'async_trait>(
    &'life0 self,
    input: ListApplicationsRequest
) -> Pin<Box<dyn Future<Output = Result<Applications, RusotoError<ListApplicationsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

List all applications in your AWS account.

fn list_configuration_profiles<'life0, 'async_trait>(
    &'life0 self,
    input: ListConfigurationProfilesRequest
) -> Pin<Box<dyn Future<Output = Result<ConfigurationProfiles, RusotoError<ListConfigurationProfilesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the configuration profiles for an application.

fn list_deployment_strategies<'life0, 'async_trait>(
    &'life0 self,
    input: ListDeploymentStrategiesRequest
) -> Pin<Box<dyn Future<Output = Result<DeploymentStrategies, RusotoError<ListDeploymentStrategiesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

List deployment strategies.

fn list_deployments<'life0, 'async_trait>(
    &'life0 self,
    input: ListDeploymentsRequest
) -> Pin<Box<dyn Future<Output = Result<Deployments, RusotoError<ListDeploymentsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the deployments for an environment.

fn list_environments<'life0, 'async_trait>(
    &'life0 self,
    input: ListEnvironmentsRequest
) -> Pin<Box<dyn Future<Output = Result<Environments, RusotoError<ListEnvironmentsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

List the environments for an application.

fn list_tags_for_resource<'life0, 'async_trait>(
    &'life0 self,
    input: ListTagsForResourceRequest
) -> Pin<Box<dyn Future<Output = Result<ResourceTags, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves the list of key-value tags assigned to the resource.

fn start_deployment<'life0, 'async_trait>(
    &'life0 self,
    input: StartDeploymentRequest
) -> Pin<Box<dyn Future<Output = Result<Deployment, RusotoError<StartDeploymentError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Starts a deployment.

fn stop_deployment<'life0, 'async_trait>(
    &'life0 self,
    input: StopDeploymentRequest
) -> Pin<Box<dyn Future<Output = Result<Deployment, RusotoError<StopDeploymentError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Stops a deployment. This API action works only on deployments that have a status of DEPLOYING. This action moves the deployment to a status of ROLLED_BACK.

fn tag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<TagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Metadata to assign to an AppConfig resource. Tags help organize and categorize your AppConfig resources. Each tag consists of a key and an optional value, both of which you define. You can specify a maximum of 50 tags for a resource.

fn untag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a tag key and value from an AppConfig resource.

fn update_application<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateApplicationRequest
) -> Pin<Box<dyn Future<Output = Result<Application, RusotoError<UpdateApplicationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates an application.

fn update_configuration_profile<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateConfigurationProfileRequest
) -> Pin<Box<dyn Future<Output = Result<ConfigurationProfile, RusotoError<UpdateConfigurationProfileError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates a configuration profile.

fn update_deployment_strategy<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateDeploymentStrategyRequest
) -> Pin<Box<dyn Future<Output = Result<DeploymentStrategy, RusotoError<UpdateDeploymentStrategyError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates a deployment strategy.

fn update_environment<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateEnvironmentRequest
) -> Pin<Box<dyn Future<Output = Result<Environment, RusotoError<UpdateEnvironmentError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates an environment.

fn validate_configuration<'life0, 'async_trait>(
    &'life0 self,
    input: ValidateConfigurationRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<ValidateConfigurationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Uses the validators in a configuration profile to validate a configuration.

impl Clone for AppConfigClient[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.