OpsWorks module#
Index > OpsWorks
Auto-generated documentation for OpsWorks type annotations stubs module mypy-boto3-opsworks.
How to install#
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and OpsWorks
.
From PyPI with pip#
Install boto3-stubs
for OpsWorks
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[opsworks]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[opsworks]'
# standalone installation
python -m pip install mypy-boto3-opsworks
How to uninstall#
python -m pip uninstall -y mypy-boto3-opsworks
Usage#
Code samples can be found in Examples.
OpsWorksClient#
Type annotations and code completion for boto3.client("opsworks")
as OpsWorksClient
boto3 documentation
# OpsWorksClient usage example
from boto3.session import Session
from mypy_boto3_opsworks.client import OpsWorksClient
def get_client() -> OpsWorksClient:
return Session().client("opsworks")
Paginators#
Type annotations and code completion for paginators
from boto3.client("opsworks").get_paginator("...")
.
# DescribeEcsClustersPaginator usage example
from boto3.session import Session
from mypy_boto3_opsworks.paginator import DescribeEcsClustersPaginator
def get_describe_ecs_clusters_paginator() -> DescribeEcsClustersPaginator:
return Session().client("opsworks").get_paginator("describe_ecs_clusters"))
Waiters#
Type annotations and code completion for waiters
from boto3.client("opsworks").get_waiter("...")
.
# AppExistsWaiter usage example
from boto3.session import Session
from mypy_boto3_opsworks.waiter import AppExistsWaiter
def get_app_exists_waiter() -> AppExistsWaiter:
return Session().client("opsworks").get_waiter("app_exists")
- AppExistsWaiter
- DeploymentSuccessfulWaiter
- InstanceOnlineWaiter
- InstanceRegisteredWaiter
- InstanceStoppedWaiter
- InstanceTerminatedWaiter
OpsWorksServiceResource#
Type annotations and code completion for boto3.resource("opsworks")
as
OpsWorksServiceResource
boto3 documentation
# OpsWorksServiceResource usage example
from boto3.session import Session
from mypy_boto3_opsworks.service_resource import OpsWorksServiceResource
def get_opsworks_resource() -> OpsWorksServiceResource:
return Session().resource("opsworks")
Collections#
Type annotations and code completion for collections
from boto3.resource("opsworks").*
.
# ServiceResourceStacksCollection usage example
from boto3.session import Session
from mypy_boto3_opsworks.service_resource import ServiceResourceStacksCollection
def get_collection() -> ServiceResourceStacksCollection:
return Session().resource("opsworks").stacks
Resources#
Type annotations and code completion for additional resources
from session.resource("opsworks").*
.
# Layer usage example
from mypy_boto3_opsworks.service_resource import Layer
def get_resource() -> Layer:
return resource.Layer(...)
Literals#
Type annotations for literals used in methods and schema.
# AppAttributesKeysType usage example
from mypy_boto3_opsworks.literals import AppAttributesKeysType
def get_value() -> AppAttributesKeysType:
return "AutoBundleOnDeploy"
- AppAttributesKeysType
- AppExistsWaiterName
- AppTypeType
- ArchitectureType
- AutoScalingTypeType
- CloudWatchLogsEncodingType
- CloudWatchLogsInitialPositionType
- CloudWatchLogsTimeZoneType
- DeploymentCommandNameType
- DeploymentSuccessfulWaiterName
- DescribeEcsClustersPaginatorName
- InstanceOnlineWaiterName
- InstanceRegisteredWaiterName
- InstanceStoppedWaiterName
- InstanceTerminatedWaiterName
- LayerAttributesKeysType
- LayerTypeType
- RootDeviceTypeType
- SourceTypeType
- StackAttributesKeysType
- VirtualizationTypeType
- VolumeTypeType
- OpsWorksServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- WaiterName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- StackConfigurationManagerTypeDef
- DataSourceTypeDef
- EnvironmentVariableTypeDef
- SourceTypeDef
- SslConfigurationTypeDef
- AssignInstanceRequestRequestTypeDef
- AssignVolumeRequestRequestTypeDef
- AssociateElasticIpRequestRequestTypeDef
- AttachElasticLoadBalancerRequestRequestTypeDef
- AutoScalingThresholdsOutputTypeDef
- AutoScalingThresholdsTypeDef
- EbsBlockDeviceTypeDef
- ChefConfigurationTypeDef
- ResponseMetadataTypeDef
- CloudWatchLogsLogStreamTypeDef
- CommandTypeDef
- DeploymentCommandTypeDef
- RecipesTypeDef
- VolumeConfigurationTypeDef
- CreateUserProfileRequestRequestTypeDef
- DeleteAppRequestRequestTypeDef
- DeleteInstanceRequestRequestTypeDef
- DeleteLayerRequestRequestTypeDef
- DeleteStackRequestRequestTypeDef
- DeleteUserProfileRequestRequestTypeDef
- DeploymentCommandOutputTypeDef
- DeregisterEcsClusterRequestRequestTypeDef
- DeregisterElasticIpRequestRequestTypeDef
- DeregisterInstanceRequestRequestTypeDef
- DeregisterRdsDbInstanceRequestRequestTypeDef
- DeregisterVolumeRequestRequestTypeDef
- WaiterConfigTypeDef
- DescribeAppsRequestRequestTypeDef
- DescribeCommandsRequestRequestTypeDef
- DescribeDeploymentsRequestRequestTypeDef
- PaginatorConfigTypeDef
- DescribeEcsClustersRequestRequestTypeDef
- EcsClusterTypeDef
- DescribeElasticIpsRequestRequestTypeDef
- ElasticIpTypeDef
- DescribeElasticLoadBalancersRequestRequestTypeDef
- ElasticLoadBalancerTypeDef
- DescribeInstancesRequestRequestTypeDef
- DescribeLayersRequestRequestTypeDef
- DescribeLoadBasedAutoScalingRequestRequestTypeDef
- SelfUserProfileTypeDef
- DescribePermissionsRequestRequestTypeDef
- PermissionTypeDef
- DescribeRaidArraysRequestRequestTypeDef
- RaidArrayTypeDef
- DescribeRdsDbInstancesRequestRequestTypeDef
- RdsDbInstanceTypeDef
- DescribeServiceErrorsRequestRequestTypeDef
- ServiceErrorTypeDef
- DescribeStackProvisioningParametersRequestRequestTypeDef
- DescribeStackSummaryRequestRequestTypeDef
- DescribeStacksRequestRequestTypeDef
- DescribeTimeBasedAutoScalingRequestRequestTypeDef
- DescribeUserProfilesRequestRequestTypeDef
- UserProfileTypeDef
- DescribeVolumesRequestRequestTypeDef
- VolumeTypeDef
- DetachElasticLoadBalancerRequestRequestTypeDef
- DisassociateElasticIpRequestRequestTypeDef
- GetHostnameSuggestionRequestRequestTypeDef
- GrantAccessRequestRequestTypeDef
- TemporaryCredentialTypeDef
- InstanceIdentityTypeDef
- ReportedOsTypeDef
- InstancesCountTypeDef
- RecipesOutputTypeDef
- ShutdownEventConfigurationTypeDef
- ListTagsRequestRequestTypeDef
- OperatingSystemConfigurationManagerTypeDef
- RebootInstanceRequestRequestTypeDef
- RegisterEcsClusterRequestRequestTypeDef
- RegisterElasticIpRequestRequestTypeDef
- RegisterRdsDbInstanceRequestRequestTypeDef
- RegisterVolumeRequestRequestTypeDef
- SetPermissionRequestRequestTypeDef
- WeeklyAutoScalingScheduleTypeDef
- StartInstanceRequestRequestTypeDef
- StartStackRequestRequestTypeDef
- StopInstanceRequestRequestTypeDef
- StopStackRequestRequestTypeDef
- TagResourceRequestRequestTypeDef
- WeeklyAutoScalingScheduleOutputTypeDef
- UnassignInstanceRequestRequestTypeDef
- UnassignVolumeRequestRequestTypeDef
- UntagResourceRequestRequestTypeDef
- UpdateElasticIpRequestRequestTypeDef
- UpdateInstanceRequestRequestTypeDef
- UpdateMyUserProfileRequestRequestTypeDef
- UpdateRdsDbInstanceRequestRequestTypeDef
- UpdateUserProfileRequestRequestTypeDef
- UpdateVolumeRequestRequestTypeDef
- AgentVersionTypeDef
- DescribeAgentVersionsRequestRequestTypeDef
- AppTypeDef
- CreateAppRequestRequestTypeDef
- UpdateAppRequestRequestTypeDef
- LoadBasedAutoScalingConfigurationTypeDef
- SetLoadBasedAutoScalingRequestRequestTypeDef
- BlockDeviceMappingTypeDef
- CloneStackRequestRequestTypeDef
- CreateStackRequestRequestTypeDef
- CreateStackRequestServiceResourceCreateStackTypeDef
- StackTypeDef
- UpdateStackRequestRequestTypeDef
- CloneStackResultTypeDef
- CreateAppResultTypeDef
- CreateDeploymentResultTypeDef
- CreateInstanceResultTypeDef
- CreateLayerResultTypeDef
- CreateStackResultTypeDef
- CreateUserProfileResultTypeDef
- DescribeStackProvisioningParametersResultTypeDef
- EmptyResponseMetadataTypeDef
- GetHostnameSuggestionResultTypeDef
- ListTagsResultTypeDef
- RegisterEcsClusterResultTypeDef
- RegisterElasticIpResultTypeDef
- RegisterInstanceResultTypeDef
- RegisterVolumeResultTypeDef
- CloudWatchLogsConfigurationOutputTypeDef
- CloudWatchLogsConfigurationTypeDef
- DescribeCommandsResultTypeDef
- CreateDeploymentRequestRequestTypeDef
- DeploymentTypeDef
- DescribeAppsRequestAppExistsWaitTypeDef
- DescribeDeploymentsRequestDeploymentSuccessfulWaitTypeDef
- DescribeInstancesRequestInstanceOnlineWaitTypeDef
- DescribeInstancesRequestInstanceRegisteredWaitTypeDef
- DescribeInstancesRequestInstanceStoppedWaitTypeDef
- DescribeInstancesRequestInstanceTerminatedWaitTypeDef
- DescribeEcsClustersRequestDescribeEcsClustersPaginateTypeDef
- DescribeEcsClustersResultTypeDef
- DescribeElasticIpsResultTypeDef
- DescribeElasticLoadBalancersResultTypeDef
- DescribeMyUserProfileResultTypeDef
- DescribePermissionsResultTypeDef
- DescribeRaidArraysResultTypeDef
- DescribeRdsDbInstancesResultTypeDef
- DescribeServiceErrorsResultTypeDef
- DescribeUserProfilesResultTypeDef
- DescribeVolumesResultTypeDef
- GrantAccessResultTypeDef
- RegisterInstanceRequestRequestTypeDef
- StackSummaryTypeDef
- LifecycleEventConfigurationTypeDef
- OperatingSystemTypeDef
- SetTimeBasedAutoScalingRequestRequestTypeDef
- TimeBasedAutoScalingConfigurationTypeDef
- DescribeAgentVersionsResultTypeDef
- DescribeAppsResultTypeDef
- DescribeLoadBasedAutoScalingResultTypeDef
- CreateInstanceRequestRequestTypeDef
- InstanceTypeDef
- DescribeStacksResultTypeDef
- DescribeDeploymentsResultTypeDef
- DescribeStackSummaryResultTypeDef
- CreateLayerRequestRequestTypeDef
- CreateLayerRequestStackCreateLayerTypeDef
- LayerTypeDef
- UpdateLayerRequestRequestTypeDef
- DescribeOperatingSystemsResponseTypeDef
- DescribeTimeBasedAutoScalingResultTypeDef
- DescribeInstancesResultTypeDef
- DescribeLayersResultTypeDef