Skip to content

Type definitions#

Index > ElasticBeanstalk > Type definitions

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

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

AbortEnvironmentUpdateMessageRequestTypeDef#

# AbortEnvironmentUpdateMessageRequestTypeDef definition

class AbortEnvironmentUpdateMessageRequestTypeDef(TypedDict):
    EnvironmentId: NotRequired[str],
    EnvironmentName: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

LatencyTypeDef#

# LatencyTypeDef definition

class LatencyTypeDef(TypedDict):
    P999: NotRequired[float],
    P99: NotRequired[float],
    P95: NotRequired[float],
    P90: NotRequired[float],
    P85: NotRequired[float],
    P75: NotRequired[float],
    P50: NotRequired[float],
    P10: NotRequired[float],

StatusCodesTypeDef#

# StatusCodesTypeDef definition

class StatusCodesTypeDef(TypedDict):
    Status2xx: NotRequired[int],
    Status3xx: NotRequired[int],
    Status4xx: NotRequired[int],
    Status5xx: NotRequired[int],

S3LocationTypeDef#

# S3LocationTypeDef definition

class S3LocationTypeDef(TypedDict):
    S3Bucket: NotRequired[str],
    S3Key: NotRequired[str],

SourceBuildInformationTypeDef#

# SourceBuildInformationTypeDef definition

class SourceBuildInformationTypeDef(TypedDict):
    SourceType: SourceTypeType,  # (1)
    SourceRepository: SourceRepositoryType,  # (2)
    SourceLocation: str,
  1. See SourceTypeType
  2. See SourceRepositoryType

MaxAgeRuleTypeDef#

# MaxAgeRuleTypeDef definition

class MaxAgeRuleTypeDef(TypedDict):
    Enabled: bool,
    MaxAgeInDays: NotRequired[int],
    DeleteSourceFromS3: NotRequired[bool],

MaxCountRuleTypeDef#

# MaxCountRuleTypeDef definition

class MaxCountRuleTypeDef(TypedDict):
    Enabled: bool,
    MaxCount: NotRequired[int],
    DeleteSourceFromS3: NotRequired[bool],

ApplyEnvironmentManagedActionRequestRequestTypeDef#

# ApplyEnvironmentManagedActionRequestRequestTypeDef definition

class ApplyEnvironmentManagedActionRequestRequestTypeDef(TypedDict):
    ActionId: str,
    EnvironmentName: NotRequired[str],
    EnvironmentId: NotRequired[str],

AssociateEnvironmentOperationsRoleMessageRequestTypeDef#

# AssociateEnvironmentOperationsRoleMessageRequestTypeDef definition

class AssociateEnvironmentOperationsRoleMessageRequestTypeDef(TypedDict):
    EnvironmentName: str,
    OperationsRole: str,

AutoScalingGroupTypeDef#

# AutoScalingGroupTypeDef definition

class AutoScalingGroupTypeDef(TypedDict):
    Name: NotRequired[str],

BuildConfigurationTypeDef#

# BuildConfigurationTypeDef definition

class BuildConfigurationTypeDef(TypedDict):
    CodeBuildServiceRole: str,
    Image: str,
    ArtifactName: NotRequired[str],
    ComputeType: NotRequired[ComputeTypeType],  # (1)
    TimeoutInMinutes: NotRequired[int],
  1. See ComputeTypeType

BuilderTypeDef#

# BuilderTypeDef definition

class BuilderTypeDef(TypedDict):
    ARN: NotRequired[str],

CPUUtilizationTypeDef#

# CPUUtilizationTypeDef definition

class CPUUtilizationTypeDef(TypedDict):
    User: NotRequired[float],
    Nice: NotRequired[float],
    System: NotRequired[float],
    Idle: NotRequired[float],
    IOWait: NotRequired[float],
    IRQ: NotRequired[float],
    SoftIRQ: NotRequired[float],
    Privileged: NotRequired[float],

CheckDNSAvailabilityMessageRequestTypeDef#

# CheckDNSAvailabilityMessageRequestTypeDef definition

class CheckDNSAvailabilityMessageRequestTypeDef(TypedDict):
    CNAMEPrefix: str,

ComposeEnvironmentsMessageRequestTypeDef#

# ComposeEnvironmentsMessageRequestTypeDef definition

class ComposeEnvironmentsMessageRequestTypeDef(TypedDict):
    ApplicationName: NotRequired[str],
    GroupName: NotRequired[str],
    VersionLabels: NotRequired[Sequence[str]],

OptionRestrictionRegexTypeDef#

# OptionRestrictionRegexTypeDef definition

class OptionRestrictionRegexTypeDef(TypedDict):
    Pattern: NotRequired[str],
    Label: NotRequired[str],

ConfigurationOptionSettingTypeDef#

# ConfigurationOptionSettingTypeDef definition

class ConfigurationOptionSettingTypeDef(TypedDict):
    ResourceName: NotRequired[str],
    Namespace: NotRequired[str],
    OptionName: NotRequired[str],
    Value: NotRequired[str],

ValidationMessageTypeDef#

# ValidationMessageTypeDef definition

class ValidationMessageTypeDef(TypedDict):
    Message: NotRequired[str],
    Severity: NotRequired[ValidationSeverityType],  # (1)
    Namespace: NotRequired[str],
    OptionName: NotRequired[str],
  1. See ValidationSeverityType

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

SourceConfigurationTypeDef#

# SourceConfigurationTypeDef definition

class SourceConfigurationTypeDef(TypedDict):
    ApplicationName: NotRequired[str],
    TemplateName: NotRequired[str],

EnvironmentTierTypeDef#

# EnvironmentTierTypeDef definition

class EnvironmentTierTypeDef(TypedDict):
    Name: NotRequired[str],
    Type: NotRequired[str],
    Version: NotRequired[str],

OptionSpecificationTypeDef#

# OptionSpecificationTypeDef definition

class OptionSpecificationTypeDef(TypedDict):
    ResourceName: NotRequired[str],
    Namespace: NotRequired[str],
    OptionName: NotRequired[str],

PlatformSummaryTypeDef#

# PlatformSummaryTypeDef definition

class PlatformSummaryTypeDef(TypedDict):
    PlatformArn: NotRequired[str],
    PlatformOwner: NotRequired[str],
    PlatformStatus: NotRequired[PlatformStatusType],  # (1)
    PlatformCategory: NotRequired[str],
    OperatingSystemName: NotRequired[str],
    OperatingSystemVersion: NotRequired[str],
    SupportedTierList: NotRequired[List[str]],
    SupportedAddonList: NotRequired[List[str]],
    PlatformLifecycleState: NotRequired[str],
    PlatformVersion: NotRequired[str],
    PlatformBranchName: NotRequired[str],
    PlatformBranchLifecycleState: NotRequired[str],
  1. See PlatformStatusType

CustomAmiTypeDef#

# CustomAmiTypeDef definition

class CustomAmiTypeDef(TypedDict):
    VirtualizationType: NotRequired[str],
    ImageId: NotRequired[str],

DeleteApplicationMessageRequestTypeDef#

# DeleteApplicationMessageRequestTypeDef definition

class DeleteApplicationMessageRequestTypeDef(TypedDict):
    ApplicationName: str,
    TerminateEnvByForce: NotRequired[bool],

DeleteApplicationVersionMessageRequestTypeDef#

# DeleteApplicationVersionMessageRequestTypeDef definition

class DeleteApplicationVersionMessageRequestTypeDef(TypedDict):
    ApplicationName: str,
    VersionLabel: str,
    DeleteSourceBundle: NotRequired[bool],

DeleteConfigurationTemplateMessageRequestTypeDef#

# DeleteConfigurationTemplateMessageRequestTypeDef definition

class DeleteConfigurationTemplateMessageRequestTypeDef(TypedDict):
    ApplicationName: str,
    TemplateName: str,

DeleteEnvironmentConfigurationMessageRequestTypeDef#

# DeleteEnvironmentConfigurationMessageRequestTypeDef definition

class DeleteEnvironmentConfigurationMessageRequestTypeDef(TypedDict):
    ApplicationName: str,
    EnvironmentName: str,

DeletePlatformVersionRequestRequestTypeDef#

# DeletePlatformVersionRequestRequestTypeDef definition

class DeletePlatformVersionRequestRequestTypeDef(TypedDict):
    PlatformArn: NotRequired[str],

DeploymentTypeDef#

# DeploymentTypeDef definition

class DeploymentTypeDef(TypedDict):
    VersionLabel: NotRequired[str],
    DeploymentId: NotRequired[int],
    Status: NotRequired[str],
    DeploymentTime: NotRequired[datetime],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

DescribeApplicationVersionsMessageRequestTypeDef#

# DescribeApplicationVersionsMessageRequestTypeDef definition

class DescribeApplicationVersionsMessageRequestTypeDef(TypedDict):
    ApplicationName: NotRequired[str],
    VersionLabels: NotRequired[Sequence[str]],
    MaxRecords: NotRequired[int],
    NextToken: NotRequired[str],

DescribeApplicationsMessageRequestTypeDef#

# DescribeApplicationsMessageRequestTypeDef definition

class DescribeApplicationsMessageRequestTypeDef(TypedDict):
    ApplicationNames: NotRequired[Sequence[str]],

DescribeConfigurationSettingsMessageRequestTypeDef#

# DescribeConfigurationSettingsMessageRequestTypeDef definition

class DescribeConfigurationSettingsMessageRequestTypeDef(TypedDict):
    ApplicationName: str,
    TemplateName: NotRequired[str],
    EnvironmentName: NotRequired[str],

DescribeEnvironmentHealthRequestRequestTypeDef#

# DescribeEnvironmentHealthRequestRequestTypeDef definitio