Type annotations for aiobotocore.CodePipeline 2.1.0 service generated by mypy-boto3-builder 6.4.2
Project description
mypy-boto3-codepipeline
Type annotations for boto3.CodePipeline 1.20.47 service compatible with VSCode, PyCharm, Emacs, Sublime Text, mypy, pyright and other tools.
Generated by mypy-boto3-builder 6.4.2.
More information can be found on boto3-stubs page and in types-aiobotocore-codepipeline docs
See how it helps to find and fix potential bugs:
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 CodePipeline
.
From PyPI with pip
Install types-aiobotocore
for CodePipeline
service.
# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[codepipeline]'
# Lite version does not provide session.create_client overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aiobotocore-lite[codepipeline]'
# standalone installation
python -m pip install types-aiobotocore-codepipeline
Usage
VSCode
- Install Python extension
- Install Pylance extension
- Set
Pylance
as your Python Language Server - Install
types-aiobotocore[codepipeline]
in your environment:python -m pip install 'types-aiobotocore[codepipeline]'
Both type checking and auto-complete should work for CodePipeline
service. No
explicit type annotations required, write your boto3
code as usual.
PyCharm
- Install
types-aiobotocore[codepipeline]
in your environment:python -m pip install 'types-aiobotocore[codepipeline]'
Both type checking and auto-complete should work for CodePipeline
service. No
explicit type annotations required, write your aiobotocore
code as usual.
Auto-complete can be slow on big projects or if you have a lot of installed
types-aiobotocore
submodules.
Other IDEs
Not tested, but as long as your IDE supports mypy
or pyright
, everything
should work.
mypy
- Install
mypy
:python -m pip install mypy
- Install
types-aiobotocore[codepipeline]
in your environment:python -m pip install 'types-aiobotocore[codepipeline]'
- Run
mypy
as usual
Type checking should work for CodePipeline
service. No explicit type
annotations required, write your aiobotocore
code as usual.
pyright
- Install
pyright
:yarn global add pyright
- Install
types-aiobotocore[codepipeline]
in your environment:python -m pip install 'types-aiobotocore[codepipeline]'
- Optionally, you can install
boto3-stubs
totypings
folder.
Type checking should work for CodePipeline
service. No explicit type
annotations required, write your aiobotocore
code as usual.
Explicit type annotations
Client annotations
CodePipelineClient
provides annotations for
session.create_client("codepipeline")
.
from aiobotocore.session import get_session
from types_aiobotocore_codepipeline import CodePipelineClient
session = get_session()
async with session.create_client("codepipeline") as client:
client: CodePipelineClient
# now client usage is checked by mypy and IDE should provide code auto-complete
Paginators annotations
types_aiobotocore_codepipeline.paginator
module contains type annotations for
all paginators.
from aiobotocore.session import get_session
from types_aiobotocore_codepipeline import CodePipelineClient
from types_aiobotocore_codepipeline.paginator import (
ListActionExecutionsPaginator,
ListActionTypesPaginator,
ListPipelineExecutionsPaginator,
ListPipelinesPaginator,
ListTagsForResourcePaginator,
ListWebhooksPaginator,
)
session = get_session()
async with session.create_client("codepipeline") as client:
client: CodePipelineClient
# Explicit type annotations are optional here
# Type should be correctly discovered by mypy and IDEs
# VSCode requires explicit type annotations
list_action_executions_paginator: ListActionExecutionsPaginator = client.get_paginator("list_action_executions")
list_action_types_paginator: ListActionTypesPaginator = client.get_paginator("list_action_types")
list_pipeline_executions_paginator: ListPipelineExecutionsPaginator = client.get_paginator("list_pipeline_executions")
list_pipelines_paginator: ListPipelinesPaginator = client.get_paginator("list_pipelines")
list_tags_for_resource_paginator: ListTagsForResourcePaginator = client.get_paginator("list_tags_for_resource")
list_webhooks_paginator: ListWebhooksPaginator = client.get_paginator("list_webhooks")
```
### Literals
`types_aiobotocore_codepipeline.literals` module contains literals extracted from shapes
that can be used in user code for type checking.
```python
from types_aiobotocore_codepipeline.literals import (
ActionCategoryType,
ActionConfigurationPropertyTypeType,
ActionExecutionStatusType,
ActionOwnerType,
ApprovalStatusType,
ArtifactLocationTypeType,
ArtifactStoreTypeType,
BlockerTypeType,
EncryptionKeyTypeType,
ExecutorTypeType,
FailureTypeType,
JobStatusType,
ListActionExecutionsPaginatorName,
ListActionTypesPaginatorName,
ListPipelineExecutionsPaginatorName,
ListPipelinesPaginatorName,
ListTagsForResourcePaginatorName,
ListWebhooksPaginatorName,
PipelineExecutionStatusType,
StageExecutionStatusType,
StageRetryModeType,
StageTransitionTypeType,
TriggerTypeType,
WebhookAuthenticationTypeType,
ServiceName,
PaginatorName,
)
def check_value(value: ActionCategoryType) -> bool:
...
Typed dictionaries
types_aiobotocore_codepipeline.type_defs
module contains structures and
shapes assembled to typed dictionaries for additional type checking.
from types_aiobotocore_codepipeline.type_defs import (
AWSSessionCredentialsTypeDef,
AcknowledgeJobInputRequestTypeDef,
AcknowledgeJobOutputTypeDef,
AcknowledgeThirdPartyJobInputRequestTypeDef,
AcknowledgeThirdPartyJobOutputTypeDef,
ActionConfigurationPropertyTypeDef,
ActionConfigurationTypeDef,
ActionContextTypeDef,
ActionDeclarationTypeDef,
ActionExecutionDetailTypeDef,
ActionExecutionFilterTypeDef,
ActionExecutionInputTypeDef,
ActionExecutionOutputTypeDef,
ActionExecutionResultTypeDef,
ActionExecutionTypeDef,
ActionRevisionTypeDef,
ActionStateTypeDef,
ActionTypeArtifactDetailsTypeDef,
ActionTypeDeclarationTypeDef,
ActionTypeExecutorTypeDef,
ActionTypeIdTypeDef,
ActionTypeIdentifierTypeDef,
ActionTypePermissionsTypeDef,
ActionTypePropertyTypeDef,
ActionTypeSettingsTypeDef,
ActionTypeTypeDef,
ActionTypeUrlsTypeDef,
ApprovalResultTypeDef,
ArtifactDetailTypeDef,
ArtifactDetailsTypeDef,
ArtifactLocationTypeDef,
ArtifactRevisionTypeDef,
ArtifactStoreTypeDef,
ArtifactTypeDef,
BlockerDeclarationTypeDef,
CreateCustomActionTypeInputRequestTypeDef,
CreateCustomActionTypeOutputTypeDef,
CreatePipelineInputRequestTypeDef,
CreatePipelineOutputTypeDef,
CurrentRevisionTypeDef,
DeleteCustomActionTypeInputRequestTypeDef,
DeletePipelineInputRequestTypeDef,
DeleteWebhookInputRequestTypeDef,
DeregisterWebhookWithThirdPartyInputRequestTypeDef,
DisableStageTransitionInputRequestTypeDef,
EnableStageTransitionInputRequestTypeDef,
EncryptionKeyTypeDef,
ErrorDetailsTypeDef,
ExecutionDetailsTypeDef,
ExecutionTriggerTypeDef,
ExecutorConfigurationTypeDef,
FailureDetailsTypeDef,
GetActionTypeInputRequestTypeDef,
GetActionTypeOutputTypeDef,
GetJobDetailsInputRequestTypeDef,
GetJobDetailsOutputTypeDef,
GetPipelineExecutionInputRequestTypeDef,
GetPipelineExecutionOutputTypeDef,
GetPipelineInputRequestTypeDef,
GetPipelineOutputTypeDef,
GetPipelineStateInputRequestTypeDef,
GetPipelineStateOutputTypeDef,
GetThirdPartyJobDetailsInputRequestTypeDef,
GetThirdPartyJobDetailsOutputTypeDef,
InputArtifactTypeDef,
JobDataTypeDef,
JobDetailsTypeDef,
JobTypeDef,
JobWorkerExecutorConfigurationTypeDef,
LambdaExecutorConfigurationTypeDef,
ListActionExecutionsInputRequestTypeDef,
ListActionExecutionsOutputTypeDef,
ListActionTypesInputRequestTypeDef,
ListActionTypesOutputTypeDef,
ListPipelineExecutionsInputRequestTypeDef,
ListPipelineExecutionsOutputTypeDef,
ListPipelinesInputRequestTypeDef,
ListPipelinesOutputTypeDef,
ListTagsForResourceInputRequestTypeDef,
ListTagsForResourceOutputTypeDef,
ListWebhookItemTypeDef,
ListWebhooksInputRequestTypeDef,
ListWebhooksOutputTypeDef,
OutputArtifactTypeDef,
PaginatorConfigTypeDef,
PipelineContextTypeDef,
PipelineDeclarationTypeDef,
PipelineExecutionSummaryTypeDef,
PipelineExecutionTypeDef,
PipelineMetadataTypeDef,
PipelineSummaryTypeDef,
PollForJobsInputRequestTypeDef,
PollForJobsOutputTypeDef,
PollForThirdPartyJobsInputRequestTypeDef,
PollForThirdPartyJobsOutputTypeDef,
PutActionRevisionInputRequestTypeDef,
PutActionRevisionOutputTypeDef,
PutApprovalResultInputRequestTypeDef,
PutApprovalResultOutputTypeDef,
PutJobFailureResultInputRequestTypeDef,
PutJobSuccessResultInputRequestTypeDef,
PutThirdPartyJobFailureResultInputRequestTypeDef,
PutThirdPartyJobSuccessResultInputRequestTypeDef,
PutWebhookInputRequestTypeDef,
PutWebhookOutputTypeDef,
RegisterWebhookWithThirdPartyInputRequestTypeDef,
ResponseMetadataTypeDef,
RetryStageExecutionInputRequestTypeDef,
RetryStageExecutionOutputTypeDef,
S3ArtifactLocationTypeDef,
S3LocationTypeDef,
SourceRevisionTypeDef,
StageContextTypeDef,
StageDeclarationTypeDef,
StageExecutionTypeDef,
StageStateTypeDef,
StartPipelineExecutionInputRequestTypeDef,
StartPipelineExecutionOutputTypeDef,
StopExecutionTriggerTypeDef,
StopPipelineExecutionInputRequestTypeDef,
StopPipelineExecutionOutputTypeDef,
TagResourceInputRequestTypeDef,
TagTypeDef,
ThirdPartyJobDataTypeDef,
ThirdPartyJobDetailsTypeDef,
ThirdPartyJobTypeDef,
TransitionStateTypeDef,
UntagResourceInputRequestTypeDef,
UpdateActionTypeInputRequestTypeDef,
UpdatePipelineInputRequestTypeDef,
UpdatePipelineOutputTypeDef,
WebhookAuthConfigurationTypeDef,
WebhookDefinitionTypeDef,
WebhookFilterRuleTypeDef,
)
def get_structure() -> AWSSessionCredentialsTypeDef:
return {
...
}
Versioning
types-aiobotocore-codepipeline
version is the same as related boto3
version
and follows PEP 440 format.
Documentation
All type annotations can be found in types-aiobotocore-codepipeline docs
Support and contributing
This package is auto-generated. Please reports any bugs or request new features in mypy-boto3-builder repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for types-aiobotocore-codepipeline-2.1.0.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33148491d956efbe0c640fa409268b45de2d75ebf22f935958ac04e487047027 |
|
MD5 | 4117b7239e7388c9de31bca2e78e489f |
|
BLAKE2b-256 | dce773dd2e995d4c7167e10634766ffa0e823995eafc9aa761e202d5461fe688 |
Hashes for types_aiobotocore_codepipeline-2.1.0.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a3bd651429149fcdecc078dd6cf3b53b4973f4035805eb1508ee96132e17233 |
|
MD5 | 339ffef9d27e2fed69df6fa05be70206 |
|
BLAKE2b-256 | 70499cca3480b9ec28e9813581698b9405dd648ed541d5ccaacfa4b3edf43e11 |