Skip to content

ElasticBeanstalkClient

Index > ElasticBeanstalk > ElasticBeanstalkClient

Auto-generated documentation for ElasticBeanstalk type annotations stubs module mypy-boto3-elasticbeanstalk.

ElasticBeanstalkClient

Type annotations and code completion for boto3.client("elasticbeanstalk"). boto3 documentation

Usage example
from boto3.session import Session
from mypy_boto3_elasticbeanstalk.client import ElasticBeanstalkClient

def get_elasticbeanstalk_client() -> ElasticBeanstalkClient:
    return Session().client("elasticbeanstalk")

Exceptions

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("elasticbeanstalk").exceptions structure.

Usage example
client = boto3.client("elasticbeanstalk")

try:
    do_something(client)
except (
    client.ClientError,
    client.CodeBuildNotInServiceRegionException,
    client.ElasticBeanstalkServiceException,
    client.InsufficientPrivilegesException,
    client.InvalidRequestException,
    client.ManagedActionInvalidStateException,
    client.OperationInProgressException,
    client.PlatformVersionStillReferencedException,
    client.ResourceNotFoundException,
    client.ResourceTypeNotSupportedException,
    client.S3LocationNotInServiceRegionException,
    client.S3SubscriptionRequiredException,
    client.SourceBundleDeletionException,
    client.TooManyApplicationVersionsException,
    client.TooManyApplicationsException,
    client.TooManyBucketsException,
    client.TooManyConfigurationTemplatesException,
    client.TooManyEnvironmentsException,
    client.TooManyPlatformsException,
    client.TooManyTagsException,
) as e:
    print(e)
Type checking example
from mypy_boto3_elasticbeanstalk.client import Exceptions

def handle_error(exc: Exceptions.ClientError) -> None:
    ...

Methods

abort_environment_update

Cancels in-progress environment configuration update or application version deployment.

Type annotations and code completion for boto3.client("elasticbeanstalk").abort_environment_update method. boto3 documentation

Method definition
def abort_environment_update(
    self,
    *,
    EnvironmentId: str = ...,
    EnvironmentName: str = ...,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: AbortEnvironmentUpdateMessageRequestTypeDef = {  # (1)
    "EnvironmentId": ...,
}

parent.abort_environment_update(**kwargs)
  1. See AbortEnvironmentUpdateMessageRequestTypeDef

apply_environment_managed_action

Applies a scheduled managed action immediately.

Type annotations and code completion for boto3.client("elasticbeanstalk").apply_environment_managed_action method. boto3 documentation

Method definition
def apply_environment_managed_action(
    self,
    *,
    ActionId: str,
    EnvironmentName: str = ...,
    EnvironmentId: str = ...,
) -> ApplyEnvironmentManagedActionResultTypeDef:  # (1)
    ...
  1. See ApplyEnvironmentManagedActionResultTypeDef
Usage example with kwargs
kwargs: ApplyEnvironmentManagedActionRequestRequestTypeDef = {  # (1)
    "ActionId": ...,
}

parent.apply_environment_managed_action(**kwargs)
  1. See ApplyEnvironmentManagedActionRequestRequestTypeDef

associate_environment_operations_role

Add or change the operations role used by an environment.

Type annotations and code completion for boto3.client("elasticbeanstalk").associate_environment_operations_role method. boto3 documentation

Method definition
def associate_environment_operations_role(
    self,
    *,
    EnvironmentName: str,
    OperationsRole: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: AssociateEnvironmentOperationsRoleMessageRequestTypeDef = {  # (1)
    "EnvironmentName": ...,
    "OperationsRole": ...,
}

parent.associate_environment_operations_role(**kwargs)
  1. See AssociateEnvironmentOperationsRoleMessageRequestTypeDef

can_paginate

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("elasticbeanstalk").can_paginate method. boto3 documentation

Method definition
def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

check_dns_availability

Checks if the specified CNAME is available.

Type annotations and code completion for boto3.client("elasticbeanstalk").check_dns_availability method. boto3 documentation

Method definition
def check_dns_availability(
    self,
    *,
    CNAMEPrefix: str,
) -> CheckDNSAvailabilityResultMessageTypeDef:  # (1)
    ...
  1. See CheckDNSAvailabilityResultMessageTypeDef
Usage example with kwargs
kwargs: CheckDNSAvailabilityMessageRequestTypeDef = {  # (1)
    "CNAMEPrefix": ...,
}

parent.check_dns_availability(**kwargs)
  1. See CheckDNSAvailabilityMessageRequestTypeDef

close

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("elasticbeanstalk").close method. boto3 documentation

Method definition
def close(
    self,
) -> None:
    ...

compose_environments

Create or update a group of environments that each run a separate component of a single application.

Type annotations and code completion for boto3.client("elasticbeanstalk").compose_environments method. boto3 documentation

Method definition
def compose_environments(
    self,
    *,
    ApplicationName: str = ...,
    GroupName: str = ...,
    VersionLabels: Sequence[str] = ...,
) -> EnvironmentDescriptionsMessageTypeDef:  # (1)
    ...
  1. See EnvironmentDescriptionsMessageTypeDef
Usage example with kwargs
kwargs: ComposeEnvironmentsMessageRequestTypeDef = {  # (1)
    "ApplicationName": ...,
}

parent.compose_environments(**kwargs)
  1. See ComposeEnvironmentsMessageRequestTypeDef

create_application

Creates an application that has one configuration template named default and no application versions.

Type annotations and code completion for boto3.client("elasticbeanstalk").create_application method. boto3 documentation

Method definition
def create_application(
    self,
    *,
    ApplicationName: str,
    Description: str = ...,
    ResourceLifecycleConfig: ApplicationResourceLifecycleConfigTypeDef = ...,  # (1)
    Tags: Sequence[TagTypeDef] = ...,  # (2)
) -> ApplicationDescriptionMessageTypeDef:  # (3)
    ...
  1. See ApplicationResourceLifecycleConfigTypeDef
  2. See TagTypeDef
  3. See ApplicationDescriptionMessageTypeDef
Usage example with kwargs
kwargs: CreateApplicationMessageRequestTypeDef = {  # (1)
    "ApplicationName": ...,
}

parent.create_application(**kwargs)
  1. See CreateApplicationMessageRequestTypeDef

create_application_version

Creates an application version for the specified application.

Type annotations and code completion for boto3.client("elasticbeanstalk").create_application_version method. boto3 documentation

Method definition
def create_application_version(
    self,
    *,
    ApplicationName: str,
    VersionLabel: str,
    Description: str = ...,
    SourceBuildInformation: SourceBuildInformationTypeDef = ...,  # (1)
    SourceBundle: S3LocationTypeDef = ...,  # (2)
    BuildConfiguration: BuildConfigurationTypeDef = ...,  # (3)
    AutoCreateApplication: bool = ...,
    Process: bool = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (4)
) -> ApplicationVersionDescriptionMessageTypeDef:  # (5)
    ...
  1. See SourceBuildInformationTypeDef
  2. See S3LocationTypeDef
  3. See BuildConfigurationTypeDef
  4. See TagTypeDef
  5. See ApplicationVersionDescriptionMessageTypeDef
Usage example with kwargs
kwargs: CreateApplicationVersionMessageRequestTypeDef = {  # (1)
    "ApplicationName": ...,
    "VersionLabel": ...,
}

parent.create_application_version(**kwargs)
  1. See CreateApplicationVersionMessageRequestTypeDef

create_configuration_template

.

Type annotations and code completion for boto3.client("elasticbeanstalk").create_configuration_template method. boto3 documentation

Method definition
def create_configuration_template(
    self,
    *,
    ApplicationName: str,
    TemplateName: str,
    SolutionStackName: str = ...,
    PlatformArn: str = ...,
    SourceConfiguration: SourceConfigurationTypeDef = ...,  # (1)
    EnvironmentId: str = ...,
    Description: str = ...,
    OptionSettings: Sequence[ConfigurationOptionSettingTypeDef] = ...,  # (2)
    Tags: Sequence[TagTypeDef] = ...,  # (3)
) -> ConfigurationSettingsDescriptionResponseMetadataTypeDef:  # (4)
    ...
  1. See SourceConfigurationTypeDef
  2. See ConfigurationOptionSettingTypeDef
  3. See TagTypeDef
  4. See ConfigurationSettingsDescriptionResponseMetadataTypeDef
Usage example with kwargs
kwargs: CreateConfigurationTemplateMessageRequestTypeDef = {  # (1)
    "ApplicationName": ...,
    "TemplateName": ...,
}

parent.create_configuration_template(**kwargs)
  1. See CreateConfigurationTemplateMessageRequestTypeDef

create_environment

Launches an AWS Elastic Beanstalk environment for the specified application using the specified configuration.

Type annotations and code completion for boto3.client("elasticbeanstalk").create_environment method. boto3 documentation

Method definition
def create_environment(
    self,
    *,
    ApplicationName: str,
    EnvironmentName: str = ...,
    GroupName: str = ...,
    Description: str = ...,
    CNAMEPrefix: str = ...,
    Tier: EnvironmentTierTypeDef = ...,  # (1)
    Tags: Sequence[TagTypeDef] = ...,  # (2)
    VersionLabel: str = ...,
    TemplateName: str = ...,
    SolutionStackName: str = ...,
    PlatformArn: str = ...,
    OptionSettings: Sequence[ConfigurationOptionSettingTypeDef] = ...,  # (3)
    OptionsToRemove: Sequence[OptionSpecificationTypeDef] = ...,  # (4)
    OperationsRole: str = ...,
) -> EnvironmentDescriptionResponseMetadataTypeDef:  # (5)
    ...
  1. See EnvironmentTierTypeDef
  2. See TagTypeDef
  3. See ConfigurationOptionSettingTypeDef
  4. See OptionSpecificationTypeDef
  5. See EnvironmentDescriptionResponseMetadataTypeDef
Usage example with kwargs
kwargs: CreateEnvironmentMessageRequestTypeDef = {  # (1)
    "ApplicationName": ...,
}

parent.create_environment(**kwargs)
  1. See CreateEnvironmentMessageRequestTypeDef

create_platform_version

Create a new version of your custom platform.

Type annotations and code completion for boto3.client("elasticbeanstalk").create_platform_version method. boto3 documentation

Method definition
def create_platform_version(
    self,
    *,
    PlatformName: str,
    PlatformVersion: str,
    PlatformDefinitionBundle: S3LocationTypeDef,  # (1)
    EnvironmentName: str = ...,
    OptionSettings: Sequence[ConfigurationOptionSettingTypeDef] = ...,  # (2)
    Tags: Sequence[TagTypeDef] = ...,  # (3)
) -> CreatePlatformVersionResultTypeDef:  # (4)
    ...
  1. See S3LocationTypeDef
  2. See ConfigurationOptionSettingTypeDef
  3. See TagTypeDef
  4. See CreatePlatformVersionResultTypeDef
Usage example with kwargs
kwargs: CreatePlatformVersionRequestRequestTypeDef = {  # (1)
    "PlatformName": ...,
    "PlatformVersion": ...,
    "PlatformDefinitionBundle": ...,
}

parent.create_platform_version(**kwargs)
  1. See CreatePlatformVersionRequestRequestTypeDef

create_storage_location

Creates a bucket in Amazon S3 to store application versions, logs, and other files used by Elastic Beanstalk environments.

Type annotations and code completion for boto3.client("elasticbeanstalk").create_storage_location method. boto3 documentation

Method definition
def create_storage_location(
    self,
) -> CreateStorageLocationResultMessageTypeDef:  # (1)
    ...
  1. See CreateStorageLocationResultMessageTypeDef

delete_application

Deletes the specified application along with all associated versions and configurations.

Type annotations and code completion for boto3.client("elasticbeanstalk").delete_application method. boto3 documentation

Method definition
def delete_application(
    self,
    *,
    ApplicationName: str,
    TerminateEnvByForce: bool = ...,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: DeleteApplicationMessageRequestTypeDef = {  # (1)
    "ApplicationName": ...,
}

parent.delete_application(**kwargs)
  1. See DeleteApplicationMessageRequestTypeDef

delete_application_version

Deletes the specified version from the specified application.

Type annotations and code completion for boto3.client("elasticbeanstalk").delete_application_version method. boto3 documentation

Method definition
def delete_application_version(
    self,
    *,
    ApplicationName: str,
    VersionLabel: str,
    DeleteSourceBundle: bool = ...,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: DeleteApplicationVersionMessageRequestTypeDef = {  # (1)
    "ApplicationName": ...,
    "VersionLabel": ...,
}

parent.delete_application_version(**kwargs)
  1. See DeleteApplicationVersionMessageRequestTypeDef

delete_configuration_template

Deletes the specified configuration template.

Type annotations and code completion for boto3.client("elasticbeanstalk").delete_configuration_template method. boto3 documentation

Method definition
def delete_configuration_template(
    self,
    *,
    ApplicationName: str,
    TemplateName: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: DeleteConfigurationTemplateMessageRequestTypeDef = {  # (1)
    "ApplicationName": ...,
    "TemplateName": ...,
}

parent.delete_configuration_template(**kwargs)
  1. See DeleteConfigurationTemplateMessageRequestTypeDef

delete_environment_configuration

Deletes the draft configuration associated with the running environment.

Type annotations and code completion for boto3.client("elasticbeanstalk").delete_environment_configuration method. boto3 documentation

Method definition
def delete_environment_configuration(
    self,
    *,
    ApplicationName: str,
    EnvironmentName: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: DeleteEnvironmentConfigurationMessageRequestTypeDef = {  # (1)
    "ApplicationName": ...,
    "EnvironmentName": ...,
}

parent.delete_environment_configuration(**kwargs)
  1. See DeleteEnvironmentConfigurationMessageRequestTypeDef

delete_platform_version

Deletes the specified version of a custom platform.

Type annotations and code completion for boto3.client("elasticbeanstalk").delete_platform_version method. boto3 documentation

Method definition
def delete_platform_version(
    self,
    *,
    PlatformArn: str = ...,
) -> DeletePlatformVersionResultTypeDef:  # (1)
    ...
  1. See DeletePlatformVersionResultTypeDef
Usage example with kwargs
kwargs: DeletePlatformVersionRequestRequestTypeDef = {  # (1)
    "PlatformArn": ...,
}

parent.delete_platform_version(**kwargs)
  1. See DeletePlatformVersionRequestRequestTypeDef

describe_account_attributes

Returns attributes related to AWS Elastic Beanstalk that are associated with the calling AWS account.

Type annotations and code completion for boto3.client("elasticbeanstalk").describe_account_attributes method. boto3 documentation

Method definition
def describe_account_attributes(
    self,
) -> DescribeAccountAttributesResultTypeDef:  # (1)
    ...
  1. See DescribeAccountAttributesResultTypeDef

describe_application_versions

Retrieve a list of application versions.

Type annotations and code completion for boto3.client("elasticbeanstalk").describe_application_versions method. boto3 documentation

Method definition
def describe_application_versions(
    self,
    *,
    ApplicationName: str = ...,
    VersionLabels: Sequence[str] = ...,
    MaxRecords: int = ...,
    NextToken: str = ...,
) -> ApplicationVersionDescriptionsMessageTypeDef:  # (1)
    ...
  1. See ApplicationVersionDescriptionsMessageTypeDef
Usage example with kwargs
kwargs: DescribeApplicationVersionsMessageRequestTypeDef = {  # (1)
    "ApplicationName": ...,
}

parent.describe_application_versions(**kwargs)
  1. See DescribeApplicationVersionsMessageRequestTypeDef

describe_applications

Returns the descriptions of existing applications.

Type annotations and code completion for boto3.client("elasticbeanstalk").describe_applications method. boto3 documentation

Method definition
def describe_applications(
    self,
    *,
    ApplicationNames: Sequence[str] = ...,
) -> ApplicationDescriptionsMessageTypeDef:  # (1)
    ...
  1. See ApplicationDescriptionsMessageTypeDef
Usage example with kwargs
kwargs: DescribeApplicationsMessageRequestTypeDef = {  # (1)
    "ApplicationNames": ...,
}

parent.describe_applications(**kwargs)
  1. See DescribeApplicationsMessageRequestTypeDef

describe_configuration_options

Describes the configuration options that are used in a particular configuration template or environment, or that a specified solution stack defines.

Type annotations and code completion for boto3.client("elasticbeanstalk").describe_configuration_options method. boto3 documentation

Method definition
def describe_configuration_options(
    self,
    *,
    ApplicationName: str = ...,
    TemplateName: str = ...,
    EnvironmentName: str = ...,
    SolutionStackName: str = ...,
    PlatformArn: str = ...,
    Options: Sequence[OptionSpecificationTypeDef] = ...,  # (1)
) -> ConfigurationOptionsDescriptionTypeDef:  # (2)
    ...
  1. See OptionSpecificationTypeDef
  2. See ConfigurationOptionsDescriptionTypeDef
Usage example with kwargs
kwargs: DescribeConfigurationOptionsMessageRequestTypeDef = {  # (1)
    "ApplicationName": ...,
}

parent.describe_configuration_options(**kwargs)
  1. See DescribeConfigurationOptionsMessageRequestTypeDef

describe_configuration_settings

Returns a description of the settings for the specified configuration set, that is, either a configuration template or the configuration set associated with a running environment.

Type annotations and code completion for boto3.client("elasticbeanstalk").describe_configuration_settings method. boto3 documentation

Method definition
def describe_configuration_settings(
    self,
    *,
    ApplicationName: str,
    TemplateName: str = ...,
    EnvironmentName: str = ...,
) -> ConfigurationSettingsDescriptionsTypeDef:  # (1)
    ...
  1. See ConfigurationSettingsDescriptionsTypeDef
Usage example with kwargs
kwargs: DescribeConfigurationSettingsMessageRequestTypeDef = {  # (1)
    "ApplicationName": ...,
}

parent.describe_configuration_settings(**kwargs)
  1. See DescribeConfigurationSettingsMessageRequestTypeDef

describe_environment_health

Returns information about the overall health of the specified environment.

Type annotations and code completion for boto3.client("elasticbeanstalk").describe_environment_health method. boto3 documentation

Method definition
def describe_environment_health(
    self,
    *,
    EnvironmentName: str = ...,
    EnvironmentId: str = ...,
    AttributeNames: Sequence[EnvironmentHealthAttributeType] = ...,  # (1)
) -> DescribeEnvironmentHealthResultTypeDef:  # (2)
    ...
  1. See EnvironmentHealthAttributeType
  2. See DescribeEnvironmentHealthResultTypeDef
Usage example with kwargs
kwargs: DescribeEnvironmentHealthRequestRequestTypeDef = {  # (1)
    "EnvironmentName": ...,
}

parent.describe_environment_health(**kwargs)
  1. See DescribeEnvironmentHealthRequestRequestTypeDef

describe_environment_managed_action_history

Lists an environment's completed and failed managed actions.

Type annotations and code completion for boto3.client("elasticbeanstalk").describe_environment_managed_action_history method. boto3 documentation

Method definition
def describe_environment_managed_action_history(
    self,
    *,
    EnvironmentId: str = ...,
    EnvironmentName: str = ...,
    NextToken: str = ...,
    MaxItems: int = ...,
) -> DescribeEnvironmentManagedActionHistoryResultTypeDef:  # (1)
    ...
  1. See DescribeEnvironmentManagedActionHistoryResultTypeDef
Usage example with kwargs
kwargs: DescribeEnvironmentManagedActionHistoryRequestRequestTypeDef = {  # (1)
    "EnvironmentId": ...,
}

parent.describe_environment_managed_action_history(**kwargs)
  1. See DescribeEnvironmentManagedActionHistoryRequestRequestTypeDef

describe_environment_managed_actions

Lists an environment's upcoming and in-progress managed actions.

Type annotations and code completion for boto3.client("elasticbeanstalk").describe_environment_managed_actions method. boto3 documentation

Method definition
def describe_environment_managed_actions(
    self,
    *,
    EnvironmentName: str = ...,
    EnvironmentId: str = ...,
    Status: ActionStatusType = ...,  # (1)
) -> DescribeEnvironmentManagedActionsResultTypeDef:  # (2)
    ...
  1. See ActionStatusType
  2. See DescribeEnvironmentManagedActionsResultTypeDef
Usage example with kwargs
kwargs: DescribeEnvironmentManagedActionsRequestRequestTypeDef = {  # (1)
    "EnvironmentName": ...,
}

parent.describe_environment_managed_actions(**kwargs)
  1. See DescribeEnvironmentManagedActionsRequestRequestTypeDef

describe_environment_resources

Returns AWS resources for this environment.

Type annotations and code completion for boto3.client("elasticbeanstalk").describe_environment_resources method. boto3 documentation

Method definition
def describe_environment_resources(
    self,
    *,
    EnvironmentId: str = ...,
    EnvironmentName: str = ...,
) -> EnvironmentResourceDescriptionsMessageTypeDef:  # (1)
    ...
  1. See EnvironmentResourceDescriptionsMessageTypeDef
Usage example with kwargs
kwargs: DescribeEnvironmentResourcesMessageRequestTypeDef = {  # (1)
    "EnvironmentId": ...,
}

parent.describe_environment_resources(**kwargs)
  1. See DescribeEnvironmentResourcesMessageRequestTypeDef

describe_environments

Returns descriptions for existing environments.

Type annotations and code completion for boto3.client("elasticbeanstalk").describe_environments method. boto3 documentation

Method definition
def describe_environments(
    self,
    *,
    ApplicationName: str = ...,
    VersionLabel: str = ...,
    EnvironmentIds: Sequence[str] = ...,
    EnvironmentNames: Sequence[str] = ...,
    IncludeDeleted: bool = ...,
    IncludedDeletedBackTo: Union[datetime, str] = ...,
    MaxRecords: int = ...,
    NextToken: str = ...,
) -> EnvironmentDescriptionsMessageTypeDef:  # (1)
    ...
  1. See EnvironmentDescriptionsMessageTypeDef
Usage example with kwargs
kwargs: DescribeEnvironmentsMessageRequestTypeDef = {  # (1)
    "ApplicationName": ...,
}

parent.describe_environments(**kwargs)
  1. See DescribeEnvironmentsMessageRequestTypeDef

describe_events

Returns list of event descriptions matching criteria up to the last 6 weeks.

Type annotations and code completion for boto3.client("elasticbeanstalk").describe_events method. boto3 documentation

Method definition
def describe_events(
    self,
    *,
    ApplicationName: str = ...,
    VersionLabel: str = ...,
    TemplateName: str = ...,
    EnvironmentId: str = ...,
    EnvironmentName: str = ...,
    PlatformArn: str = ...,
    RequestId: str = ...,
    Severity: EventSeverityType = ...,  # (1)
    StartTime: Union[datetime, str] = ...,
    EndTime: Union[datetime, str] = ...,
    MaxRecords: int = ...,
    NextToken: str = ...,
) -> EventDescriptionsMessageTypeDef:  # (2)
    ...
  1. See EventSeverityType
  2. See EventDescriptionsMessageTypeDef
Usage example with kwargs
kwargs: DescribeEventsMessageRequestTypeDef = {  # (1)
    "ApplicationName": ...,
}

parent.describe_events(**kwargs)
  1. See DescribeEventsMessageRequestTypeDef

describe_instances_health

Retrieves detailed information about the health of instances in your AWS Elastic Beanstalk.

Type annotations and code completion for boto3.client("elasticbeanstalk").describe_instances_health method. boto3 documentation

Method definition
def describe_instances_health(
    self,
    *,
    EnvironmentName: str = ...,
    EnvironmentId: str = ...,
    AttributeNames: Sequence[InstancesHealthAttributeType] = ...,  # (1)
    NextToken: str = ...,
) -> DescribeInstancesHealthResultTypeDef:  # (2)
    ...
  1. See InstancesHealthAttributeType
  2. See DescribeInstancesHealthResultTypeDef
Usage example with kwargs
kwargs: DescribeInstancesHealthRequestRequestTypeDef = {  # (1)
    "EnvironmentName": ...,
}

parent.describe_instances_health(**kwargs)
  1. See DescribeInstancesHealthRequestRequestTypeDef

describe_platform_version

Describes a platform version.

Type annotations and code completion for boto3.client("elasticbeanstalk").describe_platform_version method. boto3 documentation

Method definition
def describe_platform_version(
    self,
    *,
    PlatformArn: str = ...,
) -> DescribePlatformVersionResultTypeDef:  # (1)
    ...
  1. See DescribePlatformVersionResultTypeDef
Usage example with kwargs
kwargs: DescribePlatformVersionRequestRequestTypeDef = {  # (1)
    "PlatformArn": ...,
}

parent.describe_platform_version(**kwargs)
  1. See DescribePlatformVersionRequestRequestTypeDef

disassociate_environment_operations_role

Disassociate the operations role from an environment.

Type annotations and code completion for boto3.client("elasticbeanstalk").disassociate_environment_operations_role method. boto3 documentation

Method definition
def disassociate_environment_operations_role(
    self,
    *,
    EnvironmentName: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: DisassociateEnvironmentOperationsRoleMessageRequestTypeDef = {  # (1)
    "EnvironmentName": ...,
}

parent.disassociate_environment_operations_role(**kwargs)
  1. See DisassociateEnvironmentOperationsRoleMessageRequestTypeDef

generate_presigned_url

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for boto3.client("elasticbeanstalk").generate_presigned_url method. boto3 documentation

Method definition
def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

list_available_solution_stacks

Returns a list of the available solution stack names, with the public version first and then in reverse chronological order.

Type annotations and code completion for boto3.client("elasticbeanstalk").list_available_solution_stacks method. boto3 documentation

Method definition
def list_available_solution_stacks(
    self,
) -> ListAvailableSolutionStacksResultMessageTypeDef:  # (1)
    ...
  1. See ListAvailableSolutionStacksResultMessageTypeDef

list_platform_branches

Lists the platform branches available for your account in an AWS Region.

Type annotations and code completion for boto3.client("elasticbeanstalk").list_platform_branches method. boto3 documentation

Method definition
def list_platform_branches(
    self,
    *,
    Filters: Sequence[SearchFilterTypeDef] = ...,  # (1)
    MaxRecords: int = ...,
    NextToken: str = ...,
) -> ListPlatformBranchesResultTypeDef:  # (2)
    ...
  1. See SearchFilterTypeDef
  2. See ListPlatformBranchesResultTypeDef
Usage example with kwargs
kwargs: ListPlatformBranchesRequestRequestTypeDef = {  # (1)
    "Filters": ...,
}

parent.list_platform_branches(**kwargs)
  1. See ListPlatformBranchesRequestRequestTypeDef

list_platform_versions

Lists the platform versions available for your account in an AWS Region.

Type annotations and code completion for boto3.client("elasticbeanstalk").list_platform_versions method. boto3 documentation

Method definition
def list_platform_versions(
    self,
    *,
    Filters: Sequence[PlatformFilterTypeDef] = ...,  # (1)
    MaxRecords: int = ...,
    NextToken: str = ...,
) -> ListPlatformVersionsResultTypeDef:  # (2)
    ...
  1. See PlatformFilterTypeDef
  2. See ListPlatformVersionsResultTypeDef
Usage example with kwargs
kwargs: ListPlatformVersionsRequestRequestTypeDef = {  # (1)
    "Filters": ...,
}

parent.list_platform_versions(**kwargs)
  1. See ListPlatformVersionsRequestRequestTypeDef

list_tags_for_resource

Return the tags applied to an AWS Elastic Beanstalk resource.

Type annotations and code completion for boto3.client("elasticbeanstalk").list_tags_for_resource method. boto3 documentation

Method definition
def list_tags_for_resource(
    self,
    *,
    ResourceArn: str,
) -> ResourceTagsDescriptionMessageTypeDef:  # (1)
    ...
  1. See ResourceTagsDescriptionMessageTypeDef
Usage example with kwargs
kwargs: ListTagsForResourceMessageRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceMessageRequestTypeDef

rebuild_environment

Deletes and recreates all of the AWS resources (for example: the Auto Scaling group, load balancer, etc.) for a specified environment and forces a restart.

Type annotations and code completion for boto3.client("elasticbeanstalk").rebuild_environment method. boto3 documentation

Method definition
def rebuild_environment(
    self,
    *,
    EnvironmentId: str = ...,
    EnvironmentName: str = ...,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: RebuildEnvironmentMessageRequestTypeDef = {  # (1)
    "EnvironmentId": ...,
}

parent.rebuild_environment(**kwargs)
  1. See RebuildEnvironmentMessageRequestTypeDef

request_environment_info

Initiates a request to compile the specified type of information of the deployed environment.

Type annotations and code completion for boto3.client("elasticbeanstalk").request_environment_info method. boto3 documentation

Method definition
def request_environment_info(
    self,
    *,
    InfoType: EnvironmentInfoTypeType,  # (1)
    EnvironmentId: str = ...,
    EnvironmentName: str = ...,
) -> EmptyResponseMetadataTypeDef:  # (2)
    ...
  1. See EnvironmentInfoTypeType
  2. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: RequestEnvironmentInfoMessageRequestTypeDef = {  # (1)
    "InfoType": ...,
}

parent.request_environment_info(**kwargs)
  1. See RequestEnvironmentInfoMessageRequestTypeDef

restart_app_server

Causes the environment to restart the application container server running on each Amazon EC2 instance.

Type annotations and code completion for boto3.client("elasticbeanstalk").restart_app_server method. boto3 documentation

Method definition
def restart_app_server(
    self,
    *,
    EnvironmentId: str = ...,
    EnvironmentName: str = ...,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: RestartAppServerMessageRequestTypeDef = {  # (1)
    "EnvironmentId": ...,
}

parent.restart_app_server(**kwargs)
  1. See RestartAppServerMessageRequestTypeDef

retrieve_environment_info

Retrieves the compiled information from a RequestEnvironmentInfo request.

Type annotations and code completion for boto3.client("elasticbeanstalk").retrieve_environment_info method. boto3 documentation

Method definition
def retrieve_environment_info(
    self,
    *,
    InfoType: EnvironmentInfoTypeType,  # (1)
    EnvironmentId: str = ...,
    EnvironmentName: str = ...,
) -> RetrieveEnvironmentInfoResultMessageTypeDef:  # (2)
    ...
  1. See EnvironmentInfoTypeType
  2. See RetrieveEnvironmentInfoResultMessageTypeDef
Usage example with kwargs
kwargs: RetrieveEnvironmentInfoMessageRequestTypeDef = {  # (1)
    "InfoType": ...,
}

parent.retrieve_environment_info(**kwargs)
  1. See RetrieveEnvironmentInfoMessageRequestTypeDef

swap_environment_cnames

Swaps the CNAMEs of two environments.

Type annotations and code completion for boto3.client("elasticbeanstalk").swap_environment_cnames method. boto3 documentation

Method definition
def swap_environment_cnames(
    self,
    *,
    SourceEnvironmentId: str = ...,
    SourceEnvironmentName: str = ...,
    DestinationEnvironmentId: str = ...,
    DestinationEnvironmentName: str = ...,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: SwapEnvironmentCNAMEsMessageRequestTypeDef = {  # (1)
    "SourceEnvironmentId": ...,
}

parent.swap_environment_cnames(**kwargs)
  1. See SwapEnvironmentCNAMEsMessageRequestTypeDef

terminate_environment

Terminates the specified environment.

Type annotations and code completion for boto3.client("elasticbeanstalk").terminate_environment method. boto3 documentation

Method definition
def terminate_environment(
    self,
    *,
    EnvironmentId: str = ...,
    EnvironmentName: str = ...,
    TerminateResources: bool = ...,
    ForceTerminate: bool = ...,
) -> EnvironmentDescriptionResponseMetadataTypeDef:  # (1)
    ...
  1. See EnvironmentDescriptionResponseMetadataTypeDef
Usage example with kwargs
kwargs: TerminateEnvironmentMessageRequestTypeDef = {  # (1)
    "EnvironmentId": ...,
}

parent.terminate_environment(**kwargs)
  1. See TerminateEnvironmentMessageRequestTypeDef

update_application

Updates the specified application to have the specified properties.

Type annotations and code completion for boto3.client("elasticbeanstalk").update_application method. boto3 documentation

Method definition
def update_application(
    self,
    *,
    ApplicationName: str,
    Description: str = ...,
) -> ApplicationDescriptionMessageTypeDef:  # (1)
    ...
  1. See ApplicationDescriptionMessageTypeDef
Usage example with kwargs
kwargs: UpdateApplicationMessageRequestTypeDef = {  # (1)
    "ApplicationName": ...,
}

parent.update_application(**kwargs)
  1. See UpdateApplicationMessageRequestTypeDef

update_application_resource_lifecycle

Modifies lifecycle settings for an application.

Type annotations and code completion for boto3.client("elasticbeanstalk").update_application_resource_lifecycle method. boto3 documentation

Method definition
def update_application_resource_lifecycle(
    self,
    *,
    ApplicationName: str,
    ResourceLifecycleConfig: ApplicationResourceLifecycleConfigTypeDef,  # (1)
) -> ApplicationResourceLifecycleDescriptionMessageTypeDef:  # (2)
    ...
  1. See ApplicationResourceLifecycleConfigTypeDef
  2. See ApplicationResourceLifecycleDescriptionMessageTypeDef
Usage example with kwargs
kwargs: UpdateApplicationResourceLifecycleMessageRequestTypeDef = {  # (1)
    "ApplicationName": ...,
    "ResourceLifecycleConfig": ...,
}

parent.update_application_resource_lifecycle(**kwargs)
  1. See UpdateApplicationResourceLifecycleMessageRequestTypeDef

update_application_version

Updates the specified application version to have the specified properties.

Type annotations and code completion for boto3.client("elasticbeanstalk").update_application_version method. boto3 documentation

Method definition
def update_application_version(
    self,
    *,
    ApplicationName: str,
    VersionLabel: str,
    Description: str = ...,
) -> ApplicationVersionDescriptionMessageTypeDef:  # (1)
    ...
  1. See ApplicationVersionDescriptionMessageTypeDef
Usage example with kwargs
kwargs: UpdateApplicationVersionMessageRequestTypeDef = {  # (1)
    "ApplicationName": ...,
    "VersionLabel": ...,
}

parent.update_application_version(**kwargs)
  1. See UpdateApplicationVersionMessageRequestTypeDef

update_configuration_template

Updates the specified configuration template to have the specified properties or configuration option values.

Type annotations and code completion for boto3.client("elasticbeanstalk").update_configuration_template method. boto3 documentation

Method definition
def update_configuration_template(
    self,
    *,
    ApplicationName: str,
    TemplateName: str,
    Description: str = ...,
    OptionSettings: Sequence[ConfigurationOptionSettingTypeDef] = ...,  # (1)
    OptionsToRemove: Sequence[OptionSpecificationTypeDef] = ...,  # (2)
) -> ConfigurationSettingsDescriptionResponseMetadataTypeDef:  # (3)
    ...
  1. See ConfigurationOptionSettingTypeDef
  2. See OptionSpecificationTypeDef
  3. See ConfigurationSettingsDescriptionResponseMetadataTypeDef
Usage example with kwargs
kwargs: UpdateConfigurationTemplateMessageRequestTypeDef = {  # (1)
    "ApplicationName": ...,
    "TemplateName": ...,
}

parent.update_configuration_template(**kwargs)
  1. See UpdateConfigurationTemplateMessageRequestTypeDef

update_environment

Updates the environment description, deploys a new application version, updates the configuration settings to an entirely new configuration template, or updates select configuration option values in the running environment.

Type annotations and code completion for boto3.client("elasticbeanstalk").update_environment method. boto3 documentation

Method definition
def update_environment(
    self,
    *,
    ApplicationName: str = ...,
    EnvironmentId: str = ...,
    EnvironmentName: str = ...,
    GroupName: str = ...,
    Description: str = ...,
    Tier: EnvironmentTierTypeDef = ...,  # (1)
    VersionLabel: str = ...,
    TemplateName: str = ...,
    SolutionStackName: str = ...,
    PlatformArn: str = ...,
    OptionSettings: Sequence[ConfigurationOptionSettingTypeDef] = ...,  # (2)
    OptionsToRemove: Sequence[OptionSpecificationTypeDef] = ...,  # (3)
) -> EnvironmentDescriptionResponseMetadataTypeDef:  # (4)
    ...
  1. See EnvironmentTierTypeDef
  2. See ConfigurationOptionSettingTypeDef
  3. See OptionSpecificationTypeDef
  4. See EnvironmentDescriptionResponseMetadataTypeDef
Usage example with kwargs
kwargs: UpdateEnvironmentMessageRequestTypeDef = {  # (1)
    "ApplicationName": ...,
}

parent.update_environment(**kwargs)
  1. See UpdateEnvironmentMessageRequestTypeDef

update_tags_for_resource

Update the list of tags applied to an AWS Elastic Beanstalk resource.

Type annotations and code completion for boto3.client("elasticbeanstalk").update_tags_for_resource method. boto3 documentation

Method definition
def update_tags_for_resource(
    self,
    *,
    ResourceArn: str,
    TagsToAdd: Sequence[TagTypeDef] = ...,  # (1)
    TagsToRemove: Sequence[str] = ...,
) -> EmptyResponseMetadataTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: UpdateTagsForResourceMessageRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.update_tags_for_resource(**kwargs)
  1. See UpdateTagsForResourceMessageRequestTypeDef

validate_configuration_settings

Takes a set of configuration settings and either a configuration template or environment, and determines whether those values are valid.

Type annotations and code completion for boto3.client("elasticbeanstalk").validate_configuration_settings method. boto3 documentation

Method definition
def validate_configuration_settings(
    self,
    *,
    ApplicationName: str,
    OptionSettings: Sequence[ConfigurationOptionSettingTypeDef],  # (1)
    TemplateName: str = ...,
    EnvironmentName: str = ...,
) -> ConfigurationSettingsValidationMessagesTypeDef:  # (2)
    ...
  1. See ConfigurationOptionSettingTypeDef
  2. See ConfigurationSettingsValidationMessagesTypeDef
Usage example with kwargs
kwargs: ValidateConfigurationSettingsMessageRequestTypeDef = {  # (1)
    "ApplicationName": ...,
    "OptionSettings": ...,
}

parent.validate_configuration_settings(**kwargs)
  1. See ValidateConfigurationSettingsMessageRequestTypeDef

get_paginator

Type annotations and code completion for boto3.client("elasticbeanstalk").get_paginator method with overloads.

get_waiter

Type annotations and code completion for boto3.client("elasticbeanstalk").get_waiter method with overloads.