pub struct Client { /* private fields */ }
Expand description

Client for AWS Elastic Beanstalk

Client for invoking operations on AWS Elastic Beanstalk. Each operation on AWS Elastic Beanstalk is a method on this this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.

Examples

Constructing a client and invoking an operation

    // create a shared configuration. This can be used & shared between multiple service clients.
    let shared_config = aws_config::load_from_env().await;
    let client = aws_sdk_elasticbeanstalk::Client::new(&shared_config);
    // invoke an operation
    /* let rsp = client
        .<operation_name>().
        .<param>("some value")
        .send().await; */

Constructing a client with custom configuration

use aws_config::retry::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_elasticbeanstalk::config::Builder::from(&shared_config)
  .retry_config(RetryConfig::disabled())
  .build();
let client = aws_sdk_elasticbeanstalk::Client::from_conf(config);

Implementations§

Creates a client with the given service configuration.

Returns the client’s configuration.

Constructs a fluent builder for the AbortEnvironmentUpdate operation.

Constructs a fluent builder for the ApplyEnvironmentManagedAction operation.

Constructs a fluent builder for the AssociateEnvironmentOperationsRole operation.

Constructs a fluent builder for the CheckDNSAvailability operation.

Constructs a fluent builder for the ComposeEnvironments operation.

Constructs a fluent builder for the CreateApplication operation.

Constructs a fluent builder for the CreateApplicationVersion operation.

Constructs a fluent builder for the CreateConfigurationTemplate operation.

Constructs a fluent builder for the CreateEnvironment operation.

Constructs a fluent builder for the CreatePlatformVersion operation.

Constructs a fluent builder for the CreateStorageLocation operation.

Constructs a fluent builder for the DeleteApplication operation.

Constructs a fluent builder for the DeleteApplicationVersion operation.

Constructs a fluent builder for the DeleteConfigurationTemplate operation.

Constructs a fluent builder for the DeleteEnvironmentConfiguration operation.

Constructs a fluent builder for the DeletePlatformVersion operation.

Constructs a fluent builder for the DescribeAccountAttributes operation.

Constructs a fluent builder for the DescribeApplications operation.

Constructs a fluent builder for the DescribeApplicationVersions operation.

Constructs a fluent builder for the DescribeConfigurationOptions operation.

Constructs a fluent builder for the DescribeConfigurationSettings operation.

Constructs a fluent builder for the DescribeEnvironmentHealth operation.

Constructs a fluent builder for the DescribeEnvironmentManagedActionHistory operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the DescribeEnvironmentManagedActions operation.

Constructs a fluent builder for the DescribeEnvironmentResources operation.

Constructs a fluent builder for the DescribeEnvironments operation.

Constructs a fluent builder for the DescribeEvents operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the DescribeInstancesHealth operation.

Constructs a fluent builder for the DescribePlatformVersion operation.

Constructs a fluent builder for the DisassociateEnvironmentOperationsRole operation.

Constructs a fluent builder for the ListAvailableSolutionStacks operation.

Constructs a fluent builder for the ListPlatformBranches operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • filters(Vec<SearchFilter>) / set_filters(Option<Vec<SearchFilter>>):

      Criteria for restricting the resulting list of platform branches. The filter is evaluated as a logical conjunction (AND) of the separate SearchFilter terms.

      The following list shows valid attribute values for each of the SearchFilter terms. Most operators take a single value. The in and not_in operators can take multiple values.

      • Attribute = BranchName:

        • Operator: = | != | begins_with | ends_with | contains | in | not_in

      • Attribute = LifecycleState:

        • Operator: = | != | in | not_in

        • Values: beta | supported | deprecated | retired

      • Attribute = PlatformName:

        • Operator: = | != | begins_with | ends_with | contains | in | not_in

      • Attribute = TierType:

        • Operator: = | !=

        • Values: WebServer/Standard | Worker/SQS/HTTP

      Array size: limited to 10 SearchFilter objects.

      Within each SearchFilter item, the Values array is limited to 10 items.

    • max_records(i32) / set_max_records(Option<i32>):

      The maximum number of platform branch values returned in one call.

    • next_token(impl Into<String>) / set_next_token(Option<String>):

      For a paginated request. Specify a token from a previous response page to retrieve the next response page. All other parameter values must be identical to the ones specified in the initial request.

      If no NextToken is specified, the first page is retrieved.

  • On success, responds with ListPlatformBranchesOutput with field(s):
  • On failure, responds with SdkError<ListPlatformBranchesError>

Constructs a fluent builder for the ListPlatformVersions operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the ListTagsForResource operation.

Constructs a fluent builder for the RebuildEnvironment operation.

Constructs a fluent builder for the RequestEnvironmentInfo operation.

Constructs a fluent builder for the RestartAppServer operation.

Constructs a fluent builder for the RetrieveEnvironmentInfo operation.

Constructs a fluent builder for the SwapEnvironmentCNAMEs operation.

Constructs a fluent builder for the TerminateEnvironment operation.

Constructs a fluent builder for the UpdateApplication operation.

Constructs a fluent builder for the UpdateApplicationVersion operation.

Constructs a fluent builder for the UpdateConfigurationTemplate operation.

Constructs a fluent builder for the UpdateEnvironment operation.

Constructs a fluent builder for the UpdateTagsForResource operation.

Constructs a fluent builder for the ValidateConfigurationSettings operation.

Creates a new client from an SDK Config.

Panics
  • This method will panic if the sdk_config is missing an async sleep implementation. If you experience this panic, set the sleep_impl on the Config passed into this function to fix it.
  • This method will panic if the sdk_config is missing an HTTP connector. If you experience this panic, set the http_connector on the Config passed into this function to fix it.

Creates a new client from the service Config.

Panics
  • This method will panic if the conf is missing an async sleep implementation. If you experience this panic, set the sleep_impl on the Config passed into this function to fix it.
  • This method will panic if the conf is missing an HTTP connector. If you experience this panic, set the http_connector on the Config passed into this function to fix it.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more