Skip to content

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],
  1. See ProviderTypeType
  2. 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],
  1. 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)
  1. See SyncConfigurationTypeType
  2. See PublishDeploymentStatusType
  3. See TriggerResourceUpdateOnType
  4. 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)
  1. See ProviderTypeType
  2. See SyncConfigurationTypeType
  3. See PublishDeploymentStatusType
  4. See TriggerResourceUpdateOnType
  5. 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,
  1. See SyncConfigurationTypeType

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)
  1. See SyncConfigurationTypeType

GetResourceSyncStatusInputRequestTypeDef#

# GetResourceSyncStatusInputRequestTypeDef definition

class GetResourceSyncStatusInputRequestTypeDef(TypedDict):
    ResourceName: str,
    SyncType: SyncConfigurationTypeType,  # (1)
  1. See SyncConfigurationTypeType

RevisionTypeDef#

# RevisionTypeDef definition

class RevisionTypeDef(TypedDict):
    Branch: str,
    Directory: str,
    OwnerId: str,
    RepositoryName: str,
    ProviderType: ProviderTypeType,  # (1)
    Sha: str,
  1. See ProviderTypeType

GetSyncBlockerSummaryInputRequestTypeDef#

# GetSyncBlockerSummaryInputRequestTypeDef definition

class GetSyncBlockerSummaryInputRequestTypeDef(TypedDict):
    SyncType: SyncConfigurationTypeType,  # (1)
    ResourceName: str,
  1. See SyncConfigurationTypeType

GetSyncConfigurationInputRequestTypeDef#

# GetSyncConfigurationInputRequestTypeDef definition

class GetSyncConfigurationInputRequestTypeDef(TypedDict):
    SyncType: SyncConfigurationTypeType,  # (1)
    ResourceName: str,
  1. See SyncConfigurationTypeType

ListConnectionsInputRequestTypeDef#

# ListConnectionsInputRequestTypeDef definition

class ListConnectionsInputRequestTypeDef(TypedDict):
    ProviderTypeFilter: NotRequired[ProviderTypeType],  # (1)
    HostArnFilter: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. 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)
  1. See SyncConfigurationTypeType

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],
  1. See SyncConfigurationTypeType

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,
  1. See SyncConfigurationTypeType

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)
  1. See SyncConfigurationTypeType
  2. See PublishDeploymentStatusType
  3. See TriggerResourceUpdateOnType
  4. See PullRequestCommentType

CreateConnectionInputRequestTypeDef#

# CreateConnectionInputRequestTypeDef definition

class CreateConnectionInputRequestTypeDef(TypedDict):
    ConnectionName: str,
    ProviderType: NotRequired[ProviderTypeType],  # (1)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
    HostArn: NotRequired[str],
  1. See ProviderTypeType
  2. See TagTypeDef

CreateRepositoryLinkInputRequestTypeDef#

# CreateRepositoryLinkInputRequestTypeDef definition

class CreateRepositoryLinkInputRequestTypeDef(TypedDict):
    ConnectionArn: str,
    OwnerId: str,
    RepositoryName: str,
    EncryptionKeyArn: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

TagResourceInputRequestTypeDef#

# TagResourceInputRequestTypeDef definition

class TagResourceInputRequestTypeDef(TypedDict):
    ResourceArn: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

CreateConnectionOutputTypeDef#

# CreateConnectionOutputTypeDef definition

class CreateConnectionOutputTypeDef(TypedDict):
    ConnectionArn: str,
    Tags: list[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

CreateHostOutputTypeDef#

# CreateHostOutputTypeDef definition

class CreateHostOutputTypeDef(TypedDict):
    HostArn: str,
    Tags: list[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

GetConnectionOutputTypeDef#

# GetConnectionOutputTypeDef definition

class GetConnectionOutputTypeDef(TypedDict):
    Connection: ConnectionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ConnectionTypeDef
  2. See ResponseMetadataTypeDef

ListConnectionsOutputTypeDef#

# ListConnectionsOutputTypeDef definition

class ListConnectionsOutputTypeDef(TypedDict):
    Connections: list[ConnectionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ConnectionTypeDef
  2. See ResponseMetadataTypeDef

ListTagsForResourceOutputTypeDef#

# ListTagsForResourceOutputTypeDef definition

class ListTagsForResourceOutputTypeDef(TypedDict):
    Tags: list[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

CreateHostInputRequestTypeDef#

# CreateHostInputRequestTypeDef definition

class CreateHostInputRequestTypeDef(TypedDict):
    Name: str,
    ProviderType: ProviderTypeType,  # (1)
    ProviderEndpoint: str,
    VpcConfiguration: NotRequired[VpcConfigurationTypeDef],  # (2)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (3)
  1. See ProviderTypeType
  2. See VpcConfigurationTypeDef
  3. See TagTypeDef

UpdateHostInputRequestTypeDef#

# UpdateHostInputRequestTypeDef definition

class UpdateHostInputRequestTypeDef(TypedDict):
    HostArn: str,
    ProviderEndpoint: NotRequired[str],
    VpcConfiguration: NotRequired[VpcConfigurationTypeDef],  # (1)
  1. See VpcConfigurationTypeDef

CreateRepositoryLinkOutputTypeDef#

# CreateRepositoryLinkOutputTypeDef definition

class CreateRepositoryLinkOutputTypeDef(TypedDict):
    RepositoryLinkInfo: RepositoryLinkInfoTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositoryLinkInfoTypeDef
  2. See ResponseMetadataTypeDef

GetRepositoryLinkOutputTypeDef#

# GetRepositoryLinkOutputTypeDef definition

class GetRepositoryLinkOutputTypeDef(TypedDict):
    RepositoryLinkInfo: RepositoryLinkInfoTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositoryLinkInfoTypeDef
  2. See ResponseMetadataTypeDef

ListRepositoryLinksOutputTypeDef#

# ListRepositoryLinksOutputTypeDef definition

class ListRepositoryLinksOutputTypeDef(TypedDict):
    RepositoryLinks: list[RepositoryLinkInfoTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See RepositoryLinkInfoTypeDef
  2. See ResponseMetadataTypeDef

UpdateRepositoryLinkOutputTypeDef#

# UpdateRepositoryLinkOutputTypeDef definition

class UpdateRepositoryLinkOutputTypeDef(TypedDict):
    RepositoryLinkInfo: RepositoryLinkInfoTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositoryLinkInfoTypeDef
  2. See ResponseMetadataTypeDef

CreateSyncConfigurationOutputTypeDef#

# CreateSyncConfigurationOutputTypeDef definition

class CreateSyncConfigurationOutputTypeDef(TypedDict):
    SyncConfiguration: SyncConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SyncConfigurationTypeDef
  2. See ResponseMetadataTypeDef

GetSyncConfigurationOutputTypeDef#

# GetSyncConfigurationOutputTypeDef definition

class GetSyncConfigurationOutputTypeDef(TypedDict):
    SyncConfiguration: SyncConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SyncConfigurationTypeDef
  2. See ResponseMetadataTypeDef

ListSyncConfigurationsOutputTypeDef#

# ListSyncConfigurationsOutputTypeDef definition

class ListSyncConfigurationsOutputTypeDef(TypedDict):
    SyncConfigurations: list[SyncConfigurationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See SyncConfigurationTypeDef
  2. See ResponseMetadataTypeDef

UpdateSyncConfigurationOutputTypeDef#

# UpdateSyncConfigurationOutputTypeDef definition

class UpdateSyncConfigurationOutputTypeDef(TypedDict):
    SyncConfiguration: SyncConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SyncConfigurationTypeDef
  2. See ResponseMetadataTypeDef

GetHostOutputTypeDef#

# GetHostOutputTypeDef definition

class GetHostOutputTypeDef(TypedDict):
    Name: str,
    Status: str,
    ProviderType: ProviderTypeType,  # (1)
    ProviderEndpoint: str,
    VpcConfiguration: VpcConfigurationOutputTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ProviderTypeType
  2. See VpcConfigurationOutputTypeDef
  3. See ResponseMetadataTypeDef

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],
  1. See ProviderTypeType
  2. See VpcConfigurationOutputTypeDef

ListRepositorySyncDefinitionsOutputTypeDef#

# ListRepositorySyncDefinitionsOutputTypeDef definition

class ListRepositorySyncDefinitionsOutputTypeDef(TypedDict):
    RepositorySyncDefinitions: list[RepositorySyncDefinitionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See RepositorySyncDefinitionTypeDef
  2. See ResponseMetadataTypeDef

RepositorySyncAttemptTypeDef#

# RepositorySyncAttemptTypeDef definition

class RepositorySyncAttemptTypeDef(TypedDict):
    StartedAt: datetime,
    Status: RepositorySyncStatusType,  # (1)
    Events: list[RepositorySyncEventTypeDef],  # (2)
  1. See RepositorySyncStatusType
  2. See RepositorySyncEventTypeDef

ResourceSyncAttemptTypeDef#

# ResourceSyncAttemptTypeDef definition

class ResourceSyncAttemptTypeDef(TypedDict):
    Events: list[ResourceSyncEventTypeDef],  # (1)
    InitialRevision: RevisionTypeDef,  # (2)
    StartedAt: datetime,
    Status: ResourceSyncStatusType,  # (3)
    TargetRevision: RevisionTypeDef,  # (2)
    Target: str,
  1. See ResourceSyncEventTypeDef
  2. See RevisionTypeDef
  3. See ResourceSyncStatusType
  4. 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],
  1. See BlockerTypeType
  2. See BlockerStatusType
  3. See SyncBlockerContextTypeDef

ListHostsOutputTypeDef#

# ListHostsOutputTypeDef definition

class ListHostsOutputTypeDef(TypedDict):
    Hosts: list[HostTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See HostTypeDef
  2. See ResponseMetadataTypeDef

GetRepositorySyncStatusOutputTypeDef#

# GetRepositorySyncStatusOutputTypeDef definition

class GetRepositorySyncStatusOutputTypeDef(TypedDict):
    LatestSync: RepositorySyncAttemptTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositorySyncAttemptTypeDef
  2. See ResponseMetadataTypeDef

GetResourceSyncStatusOutputTypeDef#

# GetResourceSyncStatusOutputTypeDef definition

class GetResourceSyncStatusOutputTypeDef(TypedDict):
    DesiredState: RevisionTypeDef,  # (1)
    LatestSuccessfulSync: ResourceSyncAttemptTypeDef,  # (2)
    LatestSync: ResourceSyncAttemptTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See RevisionTypeDef
  2. See ResourceSyncAttemptTypeDef
  3. See ResourceSyncAttemptTypeDef
  4. See ResponseMetadataTypeDef

SyncBlockerSummaryTypeDef#

# SyncBlockerSummaryTypeDef definition

class SyncBlockerSummaryTypeDef(TypedDict):
    ResourceName: str,
    ParentResourceName: NotRequired[str],
    LatestBlockers: NotRequired[list[SyncBlockerTypeDef]],  # (1)
  1. See SyncBlockerTypeDef

UpdateSyncBlockerOutputTypeDef#

# UpdateSyncBlockerOutputTypeDef definition

class UpdateSyncBlockerOutputTypeDef(TypedDict):
    ResourceName: str,
    ParentResourceName: str,
    SyncBlocker: SyncBlockerTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SyncBlockerTypeDef
  2. See ResponseMetadataTypeDef

GetSyncBlockerSummaryOutputTypeDef#

# GetSyncBlockerSummaryOutputTypeDef definition

class GetSyncBlockerSummaryOutputTypeDef(TypedDict):
    SyncBlockerSummary: SyncBlockerSummaryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SyncBlockerSummaryTypeDef
  2. See ResponseMetadataTypeDef