Type definitions#
Index > CodeConnections > Type definitions
Auto-generated documentation for CodeConnections type annotations stubs module mypy-boto3-codeconnections.
ConnectionTypeDef#
# ConnectionTypeDef definition
class ConnectionTypeDef(TypedDict):
ConnectionName: NotRequired[str],
ConnectionArn: NotRequired[str],
ProviderType: NotRequired[ProviderTypeType], # (1)
OwnerAccountId: NotRequired[str],
ConnectionStatus: NotRequired[ConnectionStatusType], # (2)
HostArn: NotRequired[str],
- See ProviderTypeType
- See ConnectionStatusType
TagTypeDef#
# TagTypeDef definition
class TagTypeDef(TypedDict):
Key: str,
Value: str,
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
VpcConfigurationTypeDef#
# VpcConfigurationTypeDef definition
class VpcConfigurationTypeDef(TypedDict):
VpcId: str,
SubnetIds: Sequence[str],
SecurityGroupIds: Sequence[str],
TlsCertificate: NotRequired[str],
RepositoryLinkInfoTypeDef#
# RepositoryLinkInfoTypeDef definition
class RepositoryLinkInfoTypeDef(TypedDict):
ConnectionArn: str,
OwnerId: str,
ProviderType: ProviderTypeType, # (1)
RepositoryLinkArn: str,
RepositoryLinkId: str,
RepositoryName: str,
EncryptionKeyArn: NotRequired[str],
- See ProviderTypeType
CreateSyncConfigurationInputRequestTypeDef#
# CreateSyncConfigurationInputRequestTypeDef definition
class CreateSyncConfigurationInputRequestTypeDef(TypedDict):
Branch: str,
ConfigFile: str,
RepositoryLinkId: str,
ResourceName: str,
RoleArn: str,
SyncType: SyncConfigurationTypeType, # (1)
PublishDeploymentStatus: NotRequired[PublishDeploymentStatusType], # (2)
TriggerResourceUpdateOn: NotRequired[TriggerResourceUpdateOnType], # (3)
PullRequestComment: NotRequired[PullRequestCommentType], # (4)
- See SyncConfigurationTypeType
- See PublishDeploymentStatusType
- See TriggerResourceUpdateOnType
- See PullRequestCommentType
SyncConfigurationTypeDef#
# SyncConfigurationTypeDef definition
class SyncConfigurationTypeDef(TypedDict):
Branch: str,
OwnerId: str,
ProviderType: ProviderTypeType, # (1)
RepositoryLinkId: str,
RepositoryName: str,
ResourceName: str,
RoleArn: str,
SyncType: SyncConfigurationTypeType, # (2)
ConfigFile: NotRequired[str],
PublishDeploymentStatus: NotRequired[PublishDeploymentStatusType], # (3)
TriggerResourceUpdateOn: NotRequired[TriggerResourceUpdateOnType], # (4)
PullRequestComment: NotRequired[PullRequestCommentType], # (5)
- See ProviderTypeType
- See SyncConfigurationTypeType
- See PublishDeploymentStatusType
- See TriggerResourceUpdateOnType
- See PullRequestCommentType
DeleteConnectionInputRequestTypeDef#
# DeleteConnectionInputRequestTypeDef definition
class DeleteConnectionInputRequestTypeDef(TypedDict):
ConnectionArn: str,
DeleteHostInputRequestTypeDef#
# DeleteHostInputRequestTypeDef definition
class DeleteHostInputRequestTypeDef(TypedDict):
HostArn: str,
DeleteRepositoryLinkInputRequestTypeDef#
# DeleteRepositoryLinkInputRequestTypeDef definition
class DeleteRepositoryLinkInputRequestTypeDef(TypedDict):
RepositoryLinkId: str,
DeleteSyncConfigurationInputRequestTypeDef#
# DeleteSyncConfigurationInputRequestTypeDef definition
class DeleteSyncConfigurationInputRequestTypeDef(TypedDict):
SyncType: SyncConfigurationTypeType, # (1)
ResourceName: str,
GetConnectionInputRequestTypeDef#
# GetConnectionInputRequestTypeDef definition
class GetConnectionInputRequestTypeDef(TypedDict):
ConnectionArn: str,
GetHostInputRequestTypeDef#
# GetHostInputRequestTypeDef definition
class GetHostInputRequestTypeDef(TypedDict):
HostArn: str,
VpcConfigurationOutputTypeDef#
# VpcConfigurationOutputTypeDef definition
class VpcConfigurationOutputTypeDef(TypedDict):
VpcId: str,
SubnetIds: List[str],
SecurityGroupIds: List[str],
TlsCertificate: NotRequired[str],
GetRepositoryLinkInputRequestTypeDef#
# GetRepositoryLinkInputRequestTypeDef definition
class GetRepositoryLinkInputRequestTypeDef(TypedDict):
RepositoryLinkId: str,
GetRepositorySyncStatusInputRequestTypeDef#
# GetRepositorySyncStatusInputRequestTypeDef definition
class GetRepositorySyncStatusInputRequestTypeDef(TypedDict):
Branch: str,
RepositoryLinkId: str,
SyncType: SyncConfigurationTypeType, # (1)
GetResourceSyncStatusInputRequestTypeDef#
# GetResourceSyncStatusInputRequestTypeDef definition
class GetResourceSyncStatusInputRequestTypeDef(TypedDict):
ResourceName: str,
SyncType: SyncConfigurationTypeType, # (1)
RevisionTypeDef#
# RevisionTypeDef definition
class RevisionTypeDef(TypedDict):
Branch: str,
Directory: str,
OwnerId: str,
RepositoryName: str,
ProviderType: ProviderTypeType, # (1)
Sha: str,
- See ProviderTypeType
GetSyncBlockerSummaryInputRequestTypeDef#
# GetSyncBlockerSummaryInputRequestTypeDef definition
class GetSyncBlockerSummaryInputRequestTypeDef(TypedDict):
SyncType: SyncConfigurationTypeType, # (1)
ResourceName: str,
GetSyncConfigurationInputRequestTypeDef#
# GetSyncConfigurationInputRequestTypeDef definition
class GetSyncConfigurationInputRequestTypeDef(TypedDict):
SyncType: SyncConfigurationTypeType, # (1)
ResourceName: str,
ListConnectionsInputRequestTypeDef#
# ListConnectionsInputRequestTypeDef definition
class ListConnectionsInputRequestTypeDef(TypedDict):
ProviderTypeFilter: NotRequired[ProviderTypeType], # (1)
HostArnFilter: NotRequired[str],
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
- See ProviderTypeType
ListHostsInputRequestTypeDef#
# ListHostsInputRequestTypeDef definition
class ListHostsInputRequestTypeDef(TypedDict):
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListRepositoryLinksInputRequestTypeDef#
# ListRepositoryLinksInputRequestTypeDef definition
class ListRepositoryLinksInputRequestTypeDef(TypedDict):
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListRepositorySyncDefinitionsInputRequestTypeDef#
# ListRepositorySyncDefinitionsInputRequestTypeDef definition
class ListRepositorySyncDefinitionsInputRequestTypeDef(TypedDict):
RepositoryLinkId: str,
SyncType: SyncConfigurationTypeType, # (1)
RepositorySyncDefinitionTypeDef#
# RepositorySyncDefinitionTypeDef definition
class RepositorySyncDefinitionTypeDef(TypedDict):
Branch: str,
Directory: str,
Parent: str,
Target: str,
ListSyncConfigurationsInputRequestTypeDef#
# ListSyncConfigurationsInputRequestTypeDef definition
class ListSyncConfigurationsInputRequestTypeDef(TypedDict):
RepositoryLinkId: str,
SyncType: SyncConfigurationTypeType, # (1)
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListTagsForResourceInputRequestTypeDef#
# ListTagsForResourceInputRequestTypeDef definition
class ListTagsForResourceInputRequestTypeDef(TypedDict):
ResourceArn: str,
RepositorySyncEventTypeDef#
# RepositorySyncEventTypeDef definition
class RepositorySyncEventTypeDef(TypedDict):
Event: str,
Time: datetime,
Type: str,
ExternalId: NotRequired[str],
ResourceSyncEventTypeDef#
# ResourceSyncEventTypeDef definition
class ResourceSyncEventTypeDef(TypedDict):
Event: str,
Time: datetime,
Type: str,
ExternalId: NotRequired[str],
SyncBlockerContextTypeDef#
# SyncBlockerContextTypeDef definition
class SyncBlockerContextTypeDef(TypedDict):
Key: str,
Value: str,
UntagResourceInputRequestTypeDef#
# UntagResourceInputRequestTypeDef definition
class UntagResourceInputRequestTypeDef(TypedDict):
ResourceArn: str,
TagKeys: Sequence[str],
UpdateRepositoryLinkInputRequestTypeDef#
# UpdateRepositoryLinkInputRequestTypeDef definition
class UpdateRepositoryLinkInputRequestTypeDef(TypedDict):
RepositoryLinkId: str,
ConnectionArn: NotRequired[str],
EncryptionKeyArn: NotRequired[str],
UpdateSyncBlockerInputRequestTypeDef#
# UpdateSyncBlockerInputRequestTypeDef definition
class UpdateSyncBlockerInputRequestTypeDef(TypedDict):
Id: str,
SyncType: SyncConfigurationTypeType, # (1)
ResourceName: str,
ResolvedReason: str,
UpdateSyncConfigurationInputRequestTypeDef#
# UpdateSyncConfigurationInputRequestTypeDef definition
class UpdateSyncConfigurationInputRequestTypeDef(TypedDict):
ResourceName: str,
SyncType: SyncConfigurationTypeType, # (1)
Branch: NotRequired[str],
ConfigFile: NotRequired[str],
RepositoryLinkId: NotRequired[str],
RoleArn: NotRequired[str],
PublishDeploymentStatus: NotRequired[PublishDeploymentStatusType], # (2)
TriggerResourceUpdateOn: NotRequired[TriggerResourceUpdateOnType], # (3)
PullRequestComment: NotRequired[PullRequestCommentType], # (4)
- See SyncConfigurationTypeType
- See PublishDeploymentStatusType
- See TriggerResourceUpdateOnType
- See PullRequestCommentType
CreateConnectionInputRequestTypeDef#
# CreateConnectionInputRequestTypeDef definition
class CreateConnectionInputRequestTypeDef(TypedDict):
ConnectionName: str,
ProviderType: NotRequired[ProviderTypeType], # (1)
Tags: NotRequired[Sequence[TagTypeDef]], # (2)
HostArn: NotRequired[str],
- See ProviderTypeType
- See TagTypeDef
CreateRepositoryLinkInputRequestTypeDef#
# CreateRepositoryLinkInputRequestTypeDef definition
class CreateRepositoryLinkInputRequestTypeDef(TypedDict):
ConnectionArn: str,
OwnerId: str,
RepositoryName: str,
EncryptionKeyArn: NotRequired[str],
Tags: NotRequired[Sequence[TagTypeDef]], # (1)
- See TagTypeDef
TagResourceInputRequestTypeDef#
# TagResourceInputRequestTypeDef definition
class TagResourceInputRequestTypeDef(TypedDict):
ResourceArn: str,
Tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
CreateConnectionOutputTypeDef#
# CreateConnectionOutputTypeDef definition
class CreateConnectionOutputTypeDef(TypedDict):
ConnectionArn: str,
Tags: List[TagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TagTypeDef
- See ResponseMetadataTypeDef
CreateHostOutputTypeDef#
# CreateHostOutputTypeDef definition
class CreateHostOutputTypeDef(TypedDict):
HostArn: str,
Tags: List[TagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TagTypeDef
- See ResponseMetadataTypeDef
GetConnectionOutputTypeDef#
# GetConnectionOutputTypeDef definition
class GetConnectionOutputTypeDef(TypedDict):
Connection: ConnectionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListConnectionsOutputTypeDef#
# ListConnectionsOutputTypeDef definition
class ListConnectionsOutputTypeDef(TypedDict):
Connections: List[ConnectionTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ListTagsForResourceOutputTypeDef#
# ListTagsForResourceOutputTypeDef definition
class ListTagsForResourceOutputTypeDef(TypedDict):
Tags: List[TagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TagTypeDef
- See ResponseMetadataTypeDef
CreateHostInputRequestTypeDef#
# CreateHostInputRequestTypeDef definition
class CreateHostInputRequestTypeDef(TypedDict):
Name: str,
ProviderType: ProviderTypeType, # (1)
ProviderEndpoint: str,
VpcConfiguration: NotRequired[VpcConfigurationTypeDef], # (2)
Tags: NotRequired[Sequence[TagTypeDef]], # (3)
- See ProviderTypeType
- See VpcConfigurationTypeDef
- See TagTypeDef
UpdateHostInputRequestTypeDef#
# UpdateHostInputRequestTypeDef definition
class UpdateHostInputRequestTypeDef(TypedDict):
HostArn: str,
ProviderEndpoint: NotRequired[str],
VpcConfiguration: NotRequired[VpcConfigurationTypeDef], # (1)
CreateRepositoryLinkOutputTypeDef#
# CreateRepositoryLinkOutputTypeDef definition
class CreateRepositoryLinkOutputTypeDef(TypedDict):
RepositoryLinkInfo: RepositoryLinkInfoTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetRepositoryLinkOutputTypeDef#
# GetRepositoryLinkOutputTypeDef definition
class GetRepositoryLinkOutputTypeDef(TypedDict):
RepositoryLinkInfo: RepositoryLinkInfoTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListRepositoryLinksOutputTypeDef#
# ListRepositoryLinksOutputTypeDef definition
class ListRepositoryLinksOutputTypeDef(TypedDict):
RepositoryLinks: List[RepositoryLinkInfoTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
UpdateRepositoryLinkOutputTypeDef#
# UpdateRepositoryLinkOutputTypeDef definition
class UpdateRepositoryLinkOutputTypeDef(TypedDict):
RepositoryLinkInfo: RepositoryLinkInfoTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateSyncConfigurationOutputTypeDef#
# CreateSyncConfigurationOutputTypeDef definition
class CreateSyncConfigurationOutputTypeDef(TypedDict):
SyncConfiguration: SyncConfigurationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetSyncConfigurationOutputTypeDef#
# GetSyncConfigurationOutputTypeDef definition
class GetSyncConfigurationOutputTypeDef(TypedDict):
SyncConfiguration: SyncConfigurationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListSyncConfigurationsOutputTypeDef#
# ListSyncConfigurationsOutputTypeDef definition
class ListSyncConfigurationsOutputTypeDef(TypedDict):
SyncConfigurations: List[SyncConfigurationTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
UpdateSyncConfigurationOutputTypeDef#
# UpdateSyncConfigurationOutputTypeDef definition
class UpdateSyncConfigurationOutputTypeDef(TypedDict):
SyncConfiguration: SyncConfigurationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetHostOutputTypeDef#
# GetHostOutputTypeDef definition
class GetHostOutputTypeDef(TypedDict):
Name: str,
Status: str,
ProviderType: ProviderTypeType, # (1)
ProviderEndpoint: str,
VpcConfiguration: VpcConfigurationOutputTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
HostTypeDef#
# HostTypeDef definition
class HostTypeDef(TypedDict):
Name: NotRequired[str],
HostArn: NotRequired[str],
ProviderType: NotRequired[ProviderTypeType], # (1)
ProviderEndpoint: NotRequired[str],
VpcConfiguration: NotRequired[VpcConfigurationOutputTypeDef], # (2)
Status: NotRequired[str],
StatusMessage: NotRequired[str],
ListRepositorySyncDefinitionsOutputTypeDef#
# ListRepositorySyncDefinitionsOutputTypeDef definition
class ListRepositorySyncDefinitionsOutputTypeDef(TypedDict):
RepositorySyncDefinitions: List[RepositorySyncDefinitionTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
RepositorySyncAttemptTypeDef#
# RepositorySyncAttemptTypeDef definition
class RepositorySyncAttemptTypeDef(TypedDict):
StartedAt: datetime,
Status: RepositorySyncStatusType, # (1)
Events: List[RepositorySyncEventTypeDef], # (2)
ResourceSyncAttemptTypeDef#
# ResourceSyncAttemptTypeDef definition
class ResourceSyncAttemptTypeDef(TypedDict):
Events: List[ResourceSyncEventTypeDef], # (1)
InitialRevision: RevisionTypeDef, # (2)
StartedAt: datetime,
Status: ResourceSyncStatusType, # (3)
TargetRevision: RevisionTypeDef, # (2)
Target: str,
- See ResourceSyncEventTypeDef
- See RevisionTypeDef
- See ResourceSyncStatusType
- See RevisionTypeDef
SyncBlockerTypeDef#
# SyncBlockerTypeDef definition
class SyncBlockerTypeDef(TypedDict):
Id: str,
Type: BlockerTypeType, # (1)
Status: BlockerStatusType, # (2)
CreatedReason: str,
CreatedAt: datetime,
Contexts: NotRequired[List[SyncBlockerContextTypeDef]], # (3)
ResolvedReason: NotRequired[str],
ResolvedAt: NotRequired[datetime],
ListHostsOutputTypeDef#
# ListHostsOutputTypeDef definition
class ListHostsOutputTypeDef(TypedDict):
Hosts: List[HostTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
- See HostTypeDef
- See ResponseMetadataTypeDef
GetRepositorySyncStatusOutputTypeDef#
# GetRepositorySyncStatusOutputTypeDef definition
class GetRepositorySyncStatusOutputTypeDef(TypedDict):
LatestSync: RepositorySyncAttemptTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetResourceSyncStatusOutputTypeDef#
# GetResourceSyncStatusOutputTypeDef definition
class GetResourceSyncStatusOutputTypeDef(TypedDict):
DesiredState: RevisionTypeDef, # (1)
LatestSuccessfulSync: ResourceSyncAttemptTypeDef, # (2)
LatestSync: ResourceSyncAttemptTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See RevisionTypeDef
- See ResourceSyncAttemptTypeDef
- See ResourceSyncAttemptTypeDef
- See ResponseMetadataTypeDef
SyncBlockerSummaryTypeDef#
# SyncBlockerSummaryTypeDef definition
class SyncBlockerSummaryTypeDef(TypedDict):
ResourceName: str,
ParentResourceName: NotRequired[str],
LatestBlockers: NotRequired[List[SyncBlockerTypeDef]], # (1)
UpdateSyncBlockerOutputTypeDef#
# UpdateSyncBlockerOutputTypeDef definition
class UpdateSyncBlockerOutputTypeDef(TypedDict):
ResourceName: str,
ParentResourceName: str,
SyncBlocker: SyncBlockerTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetSyncBlockerSummaryOutputTypeDef#
# GetSyncBlockerSummaryOutputTypeDef definition
class GetSyncBlockerSummaryOutputTypeDef(TypedDict):
SyncBlockerSummary: SyncBlockerSummaryTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)