Typed dictionaries
Auto-generated documentation for OpsWorks type annotations stubs module mypy-boto3-opsworks.
StackConfigurationManagerTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import StackConfigurationManagerTypeDef
def get_value() -> StackConfigurationManagerTypeDef:
return {
"Name": ...,
}
Definition
class StackConfigurationManagerTypeDef(TypedDict):
Name: NotRequired[str],
Version: NotRequired[str],
DataSourceTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DataSourceTypeDef
def get_value() -> DataSourceTypeDef:
return {
"Type": ...,
}
Definition
class DataSourceTypeDef(TypedDict):
Type: NotRequired[str],
Arn: NotRequired[str],
DatabaseName: NotRequired[str],
EnvironmentVariableTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import EnvironmentVariableTypeDef
def get_value() -> EnvironmentVariableTypeDef:
return {
"Key": ...,
"Value": ...,
}
Definition
class EnvironmentVariableTypeDef(TypedDict):
Key: str,
Value: str,
Secure: NotRequired[bool],
SourceTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import SourceTypeDef
def get_value() -> SourceTypeDef:
return {
"Type": ...,
}
Definition
class SourceTypeDef(TypedDict):
Type: NotRequired[SourceTypeType], # (1)
Url: NotRequired[str],
Username: NotRequired[str],
Password: NotRequired[str],
SshKey: NotRequired[str],
Revision: NotRequired[str],
- See SourceTypeType
SslConfigurationTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import SslConfigurationTypeDef
def get_value() -> SslConfigurationTypeDef:
return {
"Certificate": ...,
"PrivateKey": ...,
}
Definition
class SslConfigurationTypeDef(TypedDict):
Certificate: str,
PrivateKey: str,
Chain: NotRequired[str],
AssignInstanceRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import AssignInstanceRequestRequestTypeDef
def get_value() -> AssignInstanceRequestRequestTypeDef:
return {
"InstanceId": ...,
"LayerIds": ...,
}
Definition
class AssignInstanceRequestRequestTypeDef(TypedDict):
InstanceId: str,
LayerIds: Sequence[str],
AssignVolumeRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import AssignVolumeRequestRequestTypeDef
def get_value() -> AssignVolumeRequestRequestTypeDef:
return {
"VolumeId": ...,
}
Definition
class AssignVolumeRequestRequestTypeDef(TypedDict):
VolumeId: str,
InstanceId: NotRequired[str],
AssociateElasticIpRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import AssociateElasticIpRequestRequestTypeDef
def get_value() -> AssociateElasticIpRequestRequestTypeDef:
return {
"ElasticIp": ...,
}
Definition
class AssociateElasticIpRequestRequestTypeDef(TypedDict):
ElasticIp: str,
InstanceId: NotRequired[str],
AttachElasticLoadBalancerRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import AttachElasticLoadBalancerRequestRequestTypeDef
def get_value() -> AttachElasticLoadBalancerRequestRequestTypeDef:
return {
"ElasticLoadBalancerName": ...,
"LayerId": ...,
}
Definition
class AttachElasticLoadBalancerRequestRequestTypeDef(TypedDict):
ElasticLoadBalancerName: str,
LayerId: str,
AutoScalingThresholdsTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import AutoScalingThresholdsTypeDef
def get_value() -> AutoScalingThresholdsTypeDef:
return {
"InstanceCount": ...,
}
Definition
class AutoScalingThresholdsTypeDef(TypedDict):
InstanceCount: NotRequired[int],
ThresholdsWaitTime: NotRequired[int],
IgnoreMetricsTime: NotRequired[int],
CpuThreshold: NotRequired[float],
MemoryThreshold: NotRequired[float],
LoadThreshold: NotRequired[float],
Alarms: NotRequired[List[str]],
EbsBlockDeviceTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import EbsBlockDeviceTypeDef
def get_value() -> EbsBlockDeviceTypeDef:
return {
"SnapshotId": ...,
}
Definition
class EbsBlockDeviceTypeDef(TypedDict):
SnapshotId: NotRequired[str],
Iops: NotRequired[int],
VolumeSize: NotRequired[int],
VolumeType: NotRequired[VolumeTypeType], # (1)
DeleteOnTermination: NotRequired[bool],
- See VolumeTypeType
ResponseMetadataTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
Definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
ChefConfigurationTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import ChefConfigurationTypeDef
def get_value() -> ChefConfigurationTypeDef:
return {
"ManageBerkshelf": ...,
}
Definition
class ChefConfigurationTypeDef(TypedDict):
ManageBerkshelf: NotRequired[bool],
BerkshelfVersion: NotRequired[str],
CloudWatchLogsLogStreamTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import CloudWatchLogsLogStreamTypeDef
def get_value() -> CloudWatchLogsLogStreamTypeDef:
return {
"LogGroupName": ...,
}
Definition
class CloudWatchLogsLogStreamTypeDef(TypedDict):
LogGroupName: NotRequired[str],
DatetimeFormat: NotRequired[str],
TimeZone: NotRequired[CloudWatchLogsTimeZoneType], # (1)
File: NotRequired[str],
FileFingerprintLines: NotRequired[str],
MultiLineStartPattern: NotRequired[str],
InitialPosition: NotRequired[CloudWatchLogsInitialPositionType], # (2)
Encoding: NotRequired[CloudWatchLogsEncodingType], # (3)
BufferDuration: NotRequired[int],
BatchCount: NotRequired[int],
BatchSize: NotRequired[int],
CommandTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import CommandTypeDef
def get_value() -> CommandTypeDef:
return {
"CommandId": ...,
}
Definition
class CommandTypeDef(TypedDict):
CommandId: NotRequired[str],
InstanceId: NotRequired[str],
DeploymentId: NotRequired[str],
CreatedAt: NotRequired[str],
AcknowledgedAt: NotRequired[str],
CompletedAt: NotRequired[str],
Status: NotRequired[str],
ExitCode: NotRequired[int],
LogUrl: NotRequired[str],
Type: NotRequired[str],
DeploymentCommandTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DeploymentCommandTypeDef
def get_value() -> DeploymentCommandTypeDef:
return {
"Name": ...,
}
Definition
class DeploymentCommandTypeDef(TypedDict):
Name: DeploymentCommandNameType, # (1)
Args: NotRequired[Mapping[str, Sequence[str]]],
RecipesTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import RecipesTypeDef
def get_value() -> RecipesTypeDef:
return {
"Setup": ...,
}
Definition
class RecipesTypeDef(TypedDict):
Setup: NotRequired[Sequence[str]],
Configure: NotRequired[Sequence[str]],
Deploy: NotRequired[Sequence[str]],
Undeploy: NotRequired[Sequence[str]],
Shutdown: NotRequired[Sequence[str]],
VolumeConfigurationTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import VolumeConfigurationTypeDef
def get_value() -> VolumeConfigurationTypeDef:
return {
"MountPoint": ...,
"NumberOfDisks": ...,
"Size": ...,
}
Definition
class VolumeConfigurationTypeDef(TypedDict):
MountPoint: str,
NumberOfDisks: int,
Size: int,
RaidLevel: NotRequired[int],
VolumeType: NotRequired[str],
Iops: NotRequired[int],
Encrypted: NotRequired[bool],
CreateUserProfileRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import CreateUserProfileRequestRequestTypeDef
def get_value() -> CreateUserProfileRequestRequestTypeDef:
return {
"IamUserArn": ...,
}
Definition
class CreateUserProfileRequestRequestTypeDef(TypedDict):
IamUserArn: str,
SshUsername: NotRequired[str],
SshPublicKey: NotRequired[str],
AllowSelfManagement: NotRequired[bool],
DeleteAppRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DeleteAppRequestRequestTypeDef
def get_value() -> DeleteAppRequestRequestTypeDef:
return {
"AppId": ...,
}
DeleteInstanceRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DeleteInstanceRequestRequestTypeDef
def get_value() -> DeleteInstanceRequestRequestTypeDef:
return {
"InstanceId": ...,
}
Definition
class DeleteInstanceRequestRequestTypeDef(TypedDict):
InstanceId: str,
DeleteElasticIp: NotRequired[bool],
DeleteVolumes: NotRequired[bool],
DeleteLayerRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DeleteLayerRequestRequestTypeDef
def get_value() -> DeleteLayerRequestRequestTypeDef:
return {
"LayerId": ...,
}
DeleteStackRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DeleteStackRequestRequestTypeDef
def get_value() -> DeleteStackRequestRequestTypeDef:
return {
"StackId": ...,
}
DeleteUserProfileRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DeleteUserProfileRequestRequestTypeDef
def get_value() -> DeleteUserProfileRequestRequestTypeDef:
return {
"IamUserArn": ...,
}
DeregisterEcsClusterRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DeregisterEcsClusterRequestRequestTypeDef
def get_value() -> DeregisterEcsClusterRequestRequestTypeDef:
return {
"EcsClusterArn": ...,
}
DeregisterElasticIpRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DeregisterElasticIpRequestRequestTypeDef
def get_value() -> DeregisterElasticIpRequestRequestTypeDef:
return {
"ElasticIp": ...,
}
DeregisterInstanceRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DeregisterInstanceRequestRequestTypeDef
def get_value() -> DeregisterInstanceRequestRequestTypeDef:
return {
"InstanceId": ...,
}
DeregisterRdsDbInstanceRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DeregisterRdsDbInstanceRequestRequestTypeDef
def get_value() -> DeregisterRdsDbInstanceRequestRequestTypeDef:
return {
"RdsDbInstanceArn": ...,
}
DeregisterVolumeRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DeregisterVolumeRequestRequestTypeDef
def get_value() -> DeregisterVolumeRequestRequestTypeDef:
return {
"VolumeId": ...,
}
WaiterConfigTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import WaiterConfigTypeDef
def get_value() -> WaiterConfigTypeDef:
return {
"Delay": ...,
}
Definition
class WaiterConfigTypeDef(TypedDict):
Delay: NotRequired[int],
MaxAttempts: NotRequired[int],
DescribeAppsRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DescribeAppsRequestRequestTypeDef
def get_value() -> DescribeAppsRequestRequestTypeDef:
return {
"StackId": ...,
}
Definition
class DescribeAppsRequestRequestTypeDef(TypedDict):
StackId: NotRequired[str],
AppIds: NotRequired[Sequence[str]],
DescribeCommandsRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DescribeCommandsRequestRequestTypeDef
def get_value() -> DescribeCommandsRequestRequestTypeDef:
return {
"DeploymentId": ...,
}
Definition
class DescribeCommandsRequestRequestTypeDef(TypedDict):
DeploymentId: NotRequired[str],
InstanceId: NotRequired[str],
CommandIds: NotRequired[Sequence[str]],
DescribeDeploymentsRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DescribeDeploymentsRequestRequestTypeDef
def get_value() -> DescribeDeploymentsRequestRequestTypeDef:
return {
"StackId": ...,
}
Definition
class DescribeDeploymentsRequestRequestTypeDef(TypedDict):
StackId: NotRequired[str],
AppId: NotRequired[str],
DeploymentIds: NotRequired[Sequence[str]],
PaginatorConfigTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
Definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
DescribeEcsClustersRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DescribeEcsClustersRequestRequestTypeDef
def get_value() -> DescribeEcsClustersRequestRequestTypeDef:
return {
"EcsClusterArns": ...,
}
Definition
class DescribeEcsClustersRequestRequestTypeDef(TypedDict):
EcsClusterArns: NotRequired[Sequence[str]],
StackId: NotRequired[str],
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
EcsClusterTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import EcsClusterTypeDef
def get_value() -> EcsClusterTypeDef:
return {
"EcsClusterArn": ...,
}
Definition
class EcsClusterTypeDef(TypedDict):
EcsClusterArn: NotRequired[str],
EcsClusterName: NotRequired[str],
StackId: NotRequired[str],
RegisteredAt: NotRequired[str],
DescribeElasticIpsRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DescribeElasticIpsRequestRequestTypeDef
def get_value() -> DescribeElasticIpsRequestRequestTypeDef:
return {
"InstanceId": ...,
}
Definition
class DescribeElasticIpsRequestRequestTypeDef(TypedDict):
InstanceId: NotRequired[str],
StackId: NotRequired[str],
Ips: NotRequired[Sequence[str]],
ElasticIpTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import ElasticIpTypeDef
def get_value() -> ElasticIpTypeDef:
return {
"Ip": ...,
}
Definition
class ElasticIpTypeDef(TypedDict):
Ip: NotRequired[str],
Name: NotRequired[str],
Domain: NotRequired[str],
Region: NotRequired[str],
InstanceId: NotRequired[str],
DescribeElasticLoadBalancersRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DescribeElasticLoadBalancersRequestRequestTypeDef
def get_value() -> DescribeElasticLoadBalancersRequestRequestTypeDef:
return {
"StackId": ...,
}
Definition
class DescribeElasticLoadBalancersRequestRequestTypeDef(TypedDict):
StackId: NotRequired[str],
LayerIds: NotRequired[Sequence[str]],
ElasticLoadBalancerTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import ElasticLoadBalancerTypeDef
def get_value() -> ElasticLoadBalancerTypeDef:
return {
"ElasticLoadBalancerName": ...,
}
Definition
class ElasticLoadBalancerTypeDef(TypedDict):
ElasticLoadBalancerName: NotRequired[str],
Region: NotRequired[str],
DnsName: NotRequired[str],
StackId: NotRequired[str],
LayerId: NotRequired[str],
VpcId: NotRequired[str],
AvailabilityZones: NotRequired[List[str]],
SubnetIds: NotRequired[List[str]],
Ec2InstanceIds: NotRequired[List[str]],
DescribeInstancesRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DescribeInstancesRequestRequestTypeDef
def get_value() -> DescribeInstancesRequestRequestTypeDef:
return {
"StackId": ...,
}
Definition
class DescribeInstancesRequestRequestTypeDef(TypedDict):
StackId: NotRequired[str],
LayerId: NotRequired[str],
InstanceIds: NotRequired[Sequence[str]],
DescribeLayersRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DescribeLayersRequestRequestTypeDef
def get_value() -> DescribeLayersRequestRequestTypeDef:
return {
"StackId": ...,
}
Definition
class DescribeLayersRequestRequestTypeDef(TypedDict):
StackId: NotRequired[str],
LayerIds: NotRequired[Sequence[str]],
DescribeLoadBasedAutoScalingRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DescribeLoadBasedAutoScalingRequestRequestTypeDef
def get_value() -> DescribeLoadBasedAutoScalingRequestRequestTypeDef:
return {
"LayerIds": ...,
}
Definition
class DescribeLoadBasedAutoScalingRequestRequestTypeDef(TypedDict):
LayerIds: Sequence[str],
SelfUserProfileTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import SelfUserProfileTypeDef
def get_value() -> SelfUserProfileTypeDef:
return {
"IamUserArn": ...,
}
Definition
class SelfUserProfileTypeDef(TypedDict):
IamUserArn: NotRequired[str],
Name: NotRequired[str],
SshUsername: NotRequired[str],
SshPublicKey: NotRequired[str],
DescribePermissionsRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DescribePermissionsRequestRequestTypeDef
def get_value() -> DescribePermissionsRequestRequestTypeDef:
return {
"IamUserArn": ...,
}
Definition
class DescribePermissionsRequestRequestTypeDef(TypedDict):
IamUserArn: NotRequired[str],
StackId: NotRequired[str],
PermissionTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import PermissionTypeDef
def get_value() -> PermissionTypeDef:
return {
"StackId": ...,
}
Definition
class PermissionTypeDef(TypedDict):
StackId: NotRequired[str],
IamUserArn: NotRequired[str],
AllowSsh: NotRequired[bool],
AllowSudo: NotRequired[bool],
Level: NotRequired[str],
DescribeRaidArraysRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DescribeRaidArraysRequestRequestTypeDef
def get_value() -> DescribeRaidArraysRequestRequestTypeDef:
return {
"InstanceId": ...,
}
Definition
class DescribeRaidArraysRequestRequestTypeDef(TypedDict):
InstanceId: NotRequired[str],
StackId: NotRequired[str],
RaidArrayIds: NotRequired[Sequence[str]],
RaidArrayTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import RaidArrayTypeDef
def get_value() -> RaidArrayTypeDef:
return {
"RaidArrayId": ...,
}
Definition
class RaidArrayTypeDef(TypedDict):
RaidArrayId: NotRequired[str],
InstanceId: NotRequired[str],
Name: NotRequired[str],
RaidLevel: NotRequired[int],
NumberOfDisks: NotRequired[int],
Size: NotRequired[int],
Device: NotRequired[str],
MountPoint: NotRequired[str],
AvailabilityZone: NotRequired[str],
CreatedAt: NotRequired[str],
StackId: NotRequired[str],
VolumeType: NotRequired[str],
Iops: NotRequired[int],
DescribeRdsDbInstancesRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DescribeRdsDbInstancesRequestRequestTypeDef
def get_value() -> DescribeRdsDbInstancesRequestRequestTypeDef:
return {
"StackId": ...,
}
Definition
class DescribeRdsDbInstancesRequestRequestTypeDef(TypedDict):
StackId: str,
RdsDbInstanceArns: NotRequired[Sequence[str]],
RdsDbInstanceTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import RdsDbInstanceTypeDef
def get_value() -> RdsDbInstanceTypeDef:
return {
"RdsDbInstanceArn": ...,
}
Definition
class RdsDbInstanceTypeDef(TypedDict):
RdsDbInstanceArn: NotRequired[str],
DbInstanceIdentifier: NotRequired[str],
DbUser: NotRequired[str],
DbPassword: NotRequired[str],
Region: NotRequired[str],
Address: NotRequired[str],
Engine: NotRequired[str],
StackId: NotRequired[str],
MissingOnRds: NotRequired[bool],
DescribeServiceErrorsRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DescribeServiceErrorsRequestRequestTypeDef
def get_value() -> DescribeServiceErrorsRequestRequestTypeDef:
return {
"StackId": ...,
}
Definition
class DescribeServiceErrorsRequestRequestTypeDef(TypedDict):
StackId: NotRequired[str],
InstanceId: NotRequired[str],
ServiceErrorIds: NotRequired[Sequence[str]],
ServiceErrorTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import ServiceErrorTypeDef
def get_value() -> ServiceErrorTypeDef:
return {
"ServiceErrorId": ...,
}
Definition
class ServiceErrorTypeDef(TypedDict):
ServiceErrorId: NotRequired[str],
StackId: NotRequired[str],
InstanceId: NotRequired[str],
Type: NotRequired[str],
Message: NotRequired[str],
CreatedAt: NotRequired[str],
DescribeStackProvisioningParametersRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DescribeStackProvisioningParametersRequestRequestTypeDef
def get_value() -> DescribeStackProvisioningParametersRequestRequestTypeDef:
return {
"StackId": ...,
}
DescribeStackSummaryRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DescribeStackSummaryRequestRequestTypeDef
def get_value() -> DescribeStackSummaryRequestRequestTypeDef:
return {
"StackId": ...,
}
DescribeStacksRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DescribeStacksRequestRequestTypeDef
def get_value() -> DescribeStacksRequestRequestTypeDef:
return {
"StackIds": ...,
}
Definition
class DescribeStacksRequestRequestTypeDef(TypedDict):
StackIds: NotRequired[Sequence[str]],
DescribeTimeBasedAutoScalingRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DescribeTimeBasedAutoScalingRequestRequestTypeDef
def get_value() -> DescribeTimeBasedAutoScalingRequestRequestTypeDef:
return {
"InstanceIds": ...,
}
Definition
class DescribeTimeBasedAutoScalingRequestRequestTypeDef(TypedDict):
InstanceIds: Sequence[str],
DescribeUserProfilesRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DescribeUserProfilesRequestRequestTypeDef
def get_value() -> DescribeUserProfilesRequestRequestTypeDef:
return {
"IamUserArns": ...,
}
Definition
class DescribeUserProfilesRequestRequestTypeDef(TypedDict):
IamUserArns: NotRequired[Sequence[str]],
UserProfileTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import UserProfileTypeDef
def get_value() -> UserProfileTypeDef:
return {
"IamUserArn": ...,
}
Definition
class UserProfileTypeDef(TypedDict):
IamUserArn: NotRequired[str],
Name: NotRequired[str],
SshUsername: NotRequired[str],
SshPublicKey: NotRequired[str],
AllowSelfManagement: NotRequired[bool],
DescribeVolumesRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DescribeVolumesRequestRequestTypeDef
def get_value() -> DescribeVolumesRequestRequestTypeDef:
return {
"InstanceId": ...,
}
Definition
class DescribeVolumesRequestRequestTypeDef(TypedDict):
InstanceId: NotRequired[str],
StackId: NotRequired[str],
RaidArrayId: NotRequired[str],
VolumeIds: NotRequired[Sequence[str]],
VolumeTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import VolumeTypeDef
def get_value() -> VolumeTypeDef:
return {
"VolumeId": ...,
}
Definition
class VolumeTypeDef(TypedDict):
VolumeId: NotRequired[str],
Ec2VolumeId: NotRequired[str],
Name: NotRequired[str],
RaidArrayId: NotRequired[str],
InstanceId: NotRequired[str],
Status: NotRequired[str],
Size: NotRequired[int],
Device: NotRequired[str],
MountPoint: NotRequired[str],
Region: NotRequired[str],
AvailabilityZone: NotRequired[str],
VolumeType: NotRequired[str],
Iops: NotRequired[int],
Encrypted: NotRequired[bool],
DetachElasticLoadBalancerRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DetachElasticLoadBalancerRequestRequestTypeDef
def get_value() -> DetachElasticLoadBalancerRequestRequestTypeDef:
return {
"ElasticLoadBalancerName": ...,
"LayerId": ...,
}
Definition
class DetachElasticLoadBalancerRequestRequestTypeDef(TypedDict):
ElasticLoadBalancerName: str,
LayerId: str,
DisassociateElasticIpRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DisassociateElasticIpRequestRequestTypeDef
def get_value() -> DisassociateElasticIpRequestRequestTypeDef:
return {
"ElasticIp": ...,
}
GetHostnameSuggestionRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import GetHostnameSuggestionRequestRequestTypeDef
def get_value() -> GetHostnameSuggestionRequestRequestTypeDef:
return {
"LayerId": ...,
}
GrantAccessRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import GrantAccessRequestRequestTypeDef
def get_value() -> GrantAccessRequestRequestTypeDef:
return {
"InstanceId": ...,
}
Definition
class GrantAccessRequestRequestTypeDef(TypedDict):
InstanceId: str,
ValidForInMinutes: NotRequired[int],
TemporaryCredentialTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import TemporaryCredentialTypeDef
def get_value() -> TemporaryCredentialTypeDef:
return {
"Username": ...,
}
Definition
class TemporaryCredentialTypeDef(TypedDict):
Username: NotRequired[str],
Password: NotRequired[str],
ValidForInMinutes: NotRequired[int],
InstanceId: NotRequired[str],
InstanceIdentityTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import InstanceIdentityTypeDef
def get_value() -> InstanceIdentityTypeDef:
return {
"Document": ...,
}
Definition
class InstanceIdentityTypeDef(TypedDict):
Document: NotRequired[str],
Signature: NotRequired[str],
ReportedOsTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import ReportedOsTypeDef
def get_value() -> ReportedOsTypeDef:
return {
"Family": ...,
}
Definition
class ReportedOsTypeDef(TypedDict):
Family: NotRequired[str],
Name: NotRequired[str],
Version: NotRequired[str],
InstancesCountTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import InstancesCountTypeDef
def get_value() -> InstancesCountTypeDef:
return {
"Assigning": ...,
}
Definition
class InstancesCountTypeDef(TypedDict):
Assigning: NotRequired[int],
Booting: NotRequired[int],
ConnectionLost: NotRequired[int],
Deregistering: NotRequired[int],
Online: NotRequired[int],
Pending: NotRequired[int],
Rebooting: NotRequired[int],
Registered: NotRequired[int],
Registering: NotRequired[int],
Requested: NotRequired[int],
RunningSetup: NotRequired[int],
SetupFailed: NotRequired[int],
ShuttingDown: NotRequired[int],
StartFailed: NotRequired[int],
StopFailed: NotRequired[int],
Stopped: NotRequired[int],
Stopping: NotRequired[int],
Terminated: NotRequired[int],
Terminating: NotRequired[int],
Unassigning: NotRequired[int],
ShutdownEventConfigurationTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import ShutdownEventConfigurationTypeDef
def get_value() -> ShutdownEventConfigurationTypeDef:
return {
"ExecutionTimeout": ...,
}
Definition
class ShutdownEventConfigurationTypeDef(TypedDict):
ExecutionTimeout: NotRequired[int],
DelayUntilElbConnectionsDrained: NotRequired[bool],
ListTagsRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import ListTagsRequestRequestTypeDef
def get_value() -> ListTagsRequestRequestTypeDef:
return {
"ResourceArn": ...,
}
Definition
class ListTagsRequestRequestTypeDef(TypedDict):
ResourceArn: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
OperatingSystemConfigurationManagerTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import OperatingSystemConfigurationManagerTypeDef
def get_value() -> OperatingSystemConfigurationManagerTypeDef:
return {
"Name": ...,
}
Definition
class OperatingSystemConfigurationManagerTypeDef(TypedDict):
Name: NotRequired[str],
Version: NotRequired[str],
RebootInstanceRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import RebootInstanceRequestRequestTypeDef
def get_value() -> RebootInstanceRequestRequestTypeDef:
return {
"InstanceId": ...,
}
RegisterEcsClusterRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import RegisterEcsClusterRequestRequestTypeDef
def get_value() -> RegisterEcsClusterRequestRequestTypeDef:
return {
"EcsClusterArn": ...,
"StackId": ...,
}
Definition
class RegisterEcsClusterRequestRequestTypeDef(TypedDict):
EcsClusterArn: str,
StackId: str,
RegisterElasticIpRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import RegisterElasticIpRequestRequestTypeDef
def get_value() -> RegisterElasticIpRequestRequestTypeDef:
return {
"ElasticIp": ...,
"StackId": ...,
}
RegisterRdsDbInstanceRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import RegisterRdsDbInstanceRequestRequestTypeDef
def get_value() -> RegisterRdsDbInstanceRequestRequestTypeDef:
return {
"StackId": ...,
"RdsDbInstanceArn": ...,
"DbUser": ...,
"DbPassword": ...,
}
Definition
class RegisterRdsDbInstanceRequestRequestTypeDef(TypedDict):
StackId: str,
RdsDbInstanceArn: str,
DbUser: str,
DbPassword: str,
RegisterVolumeRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import RegisterVolumeRequestRequestTypeDef
def get_value() -> RegisterVolumeRequestRequestTypeDef:
return {
"StackId": ...,
}
Definition
class RegisterVolumeRequestRequestTypeDef(TypedDict):
StackId: str,
Ec2VolumeId: NotRequired[str],
ServiceResourceLayerRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import ServiceResourceLayerRequestTypeDef
def get_value() -> ServiceResourceLayerRequestTypeDef:
return {
"id": ...,
}
ServiceResourceStackRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import ServiceResourceStackRequestTypeDef
def get_value() -> ServiceResourceStackRequestTypeDef:
return {
"id": ...,
}
ServiceResourceStackSummaryRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import ServiceResourceStackSummaryRequestTypeDef
def get_value() -> ServiceResourceStackSummaryRequestTypeDef:
return {
"stack_id": ...,
}
SetPermissionRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import SetPermissionRequestRequestTypeDef
def get_value() -> SetPermissionRequestRequestTypeDef:
return {
"StackId": ...,
"IamUserArn": ...,
}
Definition
class SetPermissionRequestRequestTypeDef(TypedDict):
StackId: str,
IamUserArn: str,
AllowSsh: NotRequired[bool],
AllowSudo: NotRequired[bool],
Level: NotRequired[str],
WeeklyAutoScalingScheduleTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import WeeklyAutoScalingScheduleTypeDef
def get_value() -> WeeklyAutoScalingScheduleTypeDef:
return {
"Monday": ...,
}
Definition
class WeeklyAutoScalingScheduleTypeDef(TypedDict):
Monday: NotRequired[Dict[str, str]],
Tuesday: NotRequired[Dict[str, str]],
Wednesday: NotRequired[Dict[str, str]],
Thursday: NotRequired[Dict[str, str]],
Friday: NotRequired[Dict[str, str]],
Saturday: NotRequired[Dict[str, str]],
Sunday: NotRequired[Dict[str, str]],
StartInstanceRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import StartInstanceRequestRequestTypeDef
def get_value() -> StartInstanceRequestRequestTypeDef:
return {
"InstanceId": ...,
}
StartStackRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import StartStackRequestRequestTypeDef
def get_value() -> StartStackRequestRequestTypeDef:
return {
"StackId": ...,
}
StopInstanceRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import StopInstanceRequestRequestTypeDef
def get_value() -> StopInstanceRequestRequestTypeDef:
return {
"InstanceId": ...,
}
Definition
class StopInstanceRequestRequestTypeDef(TypedDict):
InstanceId: str,
Force: NotRequired[bool],
StopStackRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import StopStackRequestRequestTypeDef
def get_value() -> StopStackRequestRequestTypeDef:
return {
"StackId": ...,
}
TagResourceRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import TagResourceRequestRequestTypeDef
def get_value() -> TagResourceRequestRequestTypeDef:
return {
"ResourceArn": ...,
"Tags": ...,
}
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
Tags: Mapping[str, str],
UnassignInstanceRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import UnassignInstanceRequestRequestTypeDef
def get_value() -> UnassignInstanceRequestRequestTypeDef:
return {
"InstanceId": ...,
}
UnassignVolumeRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import UnassignVolumeRequestRequestTypeDef
def get_value() -> UnassignVolumeRequestRequestTypeDef:
return {
"VolumeId": ...,
}
UntagResourceRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import UntagResourceRequestRequestTypeDef
def get_value() -> UntagResourceRequestRequestTypeDef:
return {
"ResourceArn": ...,
"TagKeys": ...,
}
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
TagKeys: Sequence[str],
UpdateElasticIpRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import UpdateElasticIpRequestRequestTypeDef
def get_value() -> UpdateElasticIpRequestRequestTypeDef:
return {
"ElasticIp": ...,
}
Definition
class UpdateElasticIpRequestRequestTypeDef(TypedDict):
ElasticIp: str,
Name: NotRequired[str],
UpdateInstanceRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import UpdateInstanceRequestRequestTypeDef
def get_value() -> UpdateInstanceRequestRequestTypeDef:
return {
"InstanceId": ...,
}
Definition
class UpdateInstanceRequestRequestTypeDef(TypedDict):
InstanceId: str,
LayerIds: NotRequired[Sequence[str]],
InstanceType: NotRequired[str],
AutoScalingType: NotRequired[AutoScalingTypeType], # (1)
Hostname: NotRequired[str],
Os: NotRequired[str],
AmiId: NotRequired[str],
SshKeyName: NotRequired[str],
Architecture: NotRequired[ArchitectureType], # (2)
InstallUpdatesOnBoot: NotRequired[bool],
EbsOptimized: NotRequired[bool],
AgentVersion: NotRequired[str],
- See AutoScalingTypeType
- See ArchitectureType
UpdateMyUserProfileRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import UpdateMyUserProfileRequestRequestTypeDef
def get_value() -> UpdateMyUserProfileRequestRequestTypeDef:
return {
"SshPublicKey": ...,
}
Definition
class UpdateMyUserProfileRequestRequestTypeDef(TypedDict):
SshPublicKey: NotRequired[str],
UpdateRdsDbInstanceRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import UpdateRdsDbInstanceRequestRequestTypeDef
def get_value() -> UpdateRdsDbInstanceRequestRequestTypeDef:
return {
"RdsDbInstanceArn": ...,
}
Definition
class UpdateRdsDbInstanceRequestRequestTypeDef(TypedDict):
RdsDbInstanceArn: str,
DbUser: NotRequired[str],
DbPassword: NotRequired[str],
UpdateUserProfileRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import UpdateUserProfileRequestRequestTypeDef
def get_value() -> UpdateUserProfileRequestRequestTypeDef:
return {
"IamUserArn": ...,
}
Definition
class UpdateUserProfileRequestRequestTypeDef(TypedDict):
IamUserArn: str,
SshUsername: NotRequired[str],
SshPublicKey: NotRequired[str],
AllowSelfManagement: NotRequired[bool],
UpdateVolumeRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import UpdateVolumeRequestRequestTypeDef
def get_value() -> UpdateVolumeRequestRequestTypeDef:
return {
"VolumeId": ...,
}
Definition
class UpdateVolumeRequestRequestTypeDef(TypedDict):
VolumeId: str,
Name: NotRequired[str],
MountPoint: NotRequired[str],
AgentVersionTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import AgentVersionTypeDef
def get_value() -> AgentVersionTypeDef:
return {
"Version": ...,
}
Definition
class AgentVersionTypeDef(TypedDict):
Version: NotRequired[str],
ConfigurationManager: NotRequired[StackConfigurationManagerTypeDef], # (1)
DescribeAgentVersionsRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import DescribeAgentVersionsRequestRequestTypeDef
def get_value() -> DescribeAgentVersionsRequestRequestTypeDef:
return {
"StackId": ...,
}
Definition
class DescribeAgentVersionsRequestRequestTypeDef(TypedDict):
StackId: NotRequired[str],
ConfigurationManager: NotRequired[StackConfigurationManagerTypeDef], # (1)
AppTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import AppTypeDef
def get_value() -> AppTypeDef:
return {
"AppId": ...,
}
Definition
class AppTypeDef(TypedDict):
AppId: NotRequired[str],
StackId: NotRequired[str],
Shortname: NotRequired[str],
Name: NotRequired[str],
Description: NotRequired[str],
DataSources: NotRequired[List[DataSourceTypeDef]], # (1)
Type: NotRequired[AppTypeType], # (2)
AppSource: NotRequired[SourceTypeDef], # (3)
Domains: NotRequired[List[str]],
EnableSsl: NotRequired[bool],
SslConfiguration: NotRequired[SslConfigurationTypeDef], # (4)
Attributes: NotRequired[Dict[AppAttributesKeysType, str]], # (5)
CreatedAt: NotRequired[str],
Environment: NotRequired[List[EnvironmentVariableTypeDef]], # (6)
- See DataSourceTypeDef
- See AppTypeType
- See SourceTypeDef
- See SslConfigurationTypeDef
- See AppAttributesKeysType
- See EnvironmentVariableTypeDef
CreateAppRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import CreateAppRequestRequestTypeDef
def get_value() -> CreateAppRequestRequestTypeDef:
return {
"StackId": ...,
"Name": ...,
"Type": ...,
}
Definition
class CreateAppRequestRequestTypeDef(TypedDict):
StackId: str,
Name: str,
Type: AppTypeType, # (1)
Shortname: NotRequired[str],
Description: NotRequired[str],
DataSources: NotRequired[Sequence[DataSourceTypeDef]], # (2)
AppSource: NotRequired[SourceTypeDef], # (3)
Domains: NotRequired[Sequence[str]],
EnableSsl: NotRequired[bool],
SslConfiguration: NotRequired[SslConfigurationTypeDef], # (4)
Attributes: NotRequired[Mapping[AppAttributesKeysType, str]], # (5)
Environment: NotRequired[Sequence[EnvironmentVariableTypeDef]], # (6)
- See AppTypeType
- See DataSourceTypeDef
- See SourceTypeDef
- See SslConfigurationTypeDef
- See AppAttributesKeysType
- See EnvironmentVariableTypeDef
UpdateAppRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import UpdateAppRequestRequestTypeDef
def get_value() -> UpdateAppRequestRequestTypeDef:
return {
"AppId": ...,
}
Definition
class UpdateAppRequestRequestTypeDef(TypedDict):
AppId: str,
Name: NotRequired[str],
Description: NotRequired[str],
DataSources: NotRequired[Sequence[DataSourceTypeDef]], # (1)
Type: NotRequired[AppTypeType], # (2)
AppSource: NotRequired[SourceTypeDef], # (3)
Domains: NotRequired[Sequence[str]],
EnableSsl: NotRequired[bool],
SslConfiguration: NotRequired[SslConfigurationTypeDef], # (4)
Attributes: NotRequired[Mapping[AppAttributesKeysType, str]], # (5)
Environment: NotRequired[Sequence[EnvironmentVariableTypeDef]], # (6)
- See DataSourceTypeDef
- See AppTypeType
- See SourceTypeDef
- See SslConfigurationTypeDef
- See AppAttributesKeysType
- See EnvironmentVariableTypeDef
LoadBasedAutoScalingConfigurationTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import LoadBasedAutoScalingConfigurationTypeDef
def get_value() -> LoadBasedAutoScalingConfigurationTypeDef:
return {
"LayerId": ...,
}
Definition
class LoadBasedAutoScalingConfigurationTypeDef(TypedDict):
LayerId: NotRequired[str],
Enable: NotRequired[bool],
UpScaling: NotRequired[AutoScalingThresholdsTypeDef], # (1)
DownScaling: NotRequired[AutoScalingThresholdsTypeDef], # (1)
SetLoadBasedAutoScalingRequestRequestTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import SetLoadBasedAutoScalingRequestRequestTypeDef
def get_value() -> SetLoadBasedAutoScalingRequestRequestTypeDef:
return {
"LayerId": ...,
}
Definition
class SetLoadBasedAutoScalingRequestRequestTypeDef(TypedDict):
LayerId: str,
Enable: NotRequired[bool],
UpScaling: NotRequired[AutoScalingThresholdsTypeDef], # (1)
DownScaling: NotRequired[AutoScalingThresholdsTypeDef], # (1)
BlockDeviceMappingTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import BlockDeviceMappingTypeDef
def get_value() -> BlockDeviceMappingTypeDef:
return {
"DeviceName": ...,
}
Definition
class BlockDeviceMappingTypeDef(TypedDict):
DeviceName: NotRequired[str],
NoDevice: NotRequired[str],
VirtualName: NotRequired[str],
Ebs: NotRequired[EbsBlockDeviceTypeDef], # (1)
ChefConfigurationResponseMetadataTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import ChefConfigurationResponseMetadataTypeDef
def get_value() -> ChefConfigurationResponseMetadataTypeDef:
return {
"ManageBerkshelf": ...,
"BerkshelfVersion": ...,
"ResponseMetadata": ...,
}
Definition
class ChefConfigurationResponseMetadataTypeDef(TypedDict):
ManageBerkshelf: bool,
BerkshelfVersion: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CloneStackResultTypeDef
Usage Example
from mypy_boto3_opsworks.type_defs import CloneStackResultTypeDef
def get_value() -> CloneStackResultTypeDef:
return {
"StackId": ...,
"ResponseMetadata": ...,
}
Definition
class CloneStackResultTypeDef(TypedDict):
StackId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)