Skip to content

Type definitions#

Index > CodeConnections > Type definitions

Auto-generated documentation for CodeConnections type annotations stubs module types-boto3-codeconnections.

VpcConfigurationUnionTypeDef#

# VpcConfigurationUnionTypeDef Union usage example

from types_boto3_codeconnections.type_defs import VpcConfigurationUnionTypeDef


def get_value() -> VpcConfigurationUnionTypeDef:
    return ...


# VpcConfigurationUnionTypeDef definition

VpcConfigurationUnionTypeDef = Union[
    VpcConfigurationTypeDef,  # (1)
    VpcConfigurationOutputTypeDef,  # (2)
]
  1. See VpcConfigurationTypeDef
  2. See VpcConfigurationOutputTypeDef

ConnectionTypeDef#

# ConnectionTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import ConnectionTypeDef


def get_value() -> ConnectionTypeDef:
    return {
        "ConnectionName": ...,
    }


# 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 TypedDict usage example

from types_boto3_codeconnections.type_defs import TagTypeDef


def get_value() -> TagTypeDef:
    return {
        "Key": ...,
    }


# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: str,
    Value: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import ResponseMetadataTypeDef


def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
    }


# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

RepositoryLinkInfoTypeDef#

# RepositoryLinkInfoTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import RepositoryLinkInfoTypeDef


def get_value() -> RepositoryLinkInfoTypeDef:
    return {
        "ConnectionArn": ...,
    }


# RepositoryLinkInfoTypeDef definition

class RepositoryLinkInfoTypeDef(TypedDict):
    ConnectionArn: str,
    OwnerId: str,
    ProviderType: ProviderTypeType,  # (1)
    RepositoryLinkArn: str,
    RepositoryLinkId: str,
    RepositoryName: str,
    EncryptionKeyArn: NotRequired[str],
  1. See ProviderTypeType

CreateSyncConfigurationInputTypeDef#

# CreateSyncConfigurationInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import CreateSyncConfigurationInputTypeDef


def get_value() -> CreateSyncConfigurationInputTypeDef:
    return {
        "Branch": ...,
    }


# CreateSyncConfigurationInputTypeDef definition

class CreateSyncConfigurationInputTypeDef(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 TypedDict usage example

from types_boto3_codeconnections.type_defs import SyncConfigurationTypeDef


def get_value() -> SyncConfigurationTypeDef:
    return {
        "Branch": ...,
    }


# 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

DeleteConnectionInputTypeDef#

# DeleteConnectionInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import DeleteConnectionInputTypeDef


def get_value() -> DeleteConnectionInputTypeDef:
    return {
        "ConnectionArn": ...,
    }


# DeleteConnectionInputTypeDef definition

class DeleteConnectionInputTypeDef(TypedDict):
    ConnectionArn: str,

DeleteHostInputTypeDef#

# DeleteHostInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import DeleteHostInputTypeDef


def get_value() -> DeleteHostInputTypeDef:
    return {
        "HostArn": ...,
    }


# DeleteHostInputTypeDef definition

class DeleteHostInputTypeDef(TypedDict):
    HostArn: str,

DeleteRepositoryLinkInputTypeDef#

# DeleteRepositoryLinkInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import DeleteRepositoryLinkInputTypeDef


def get_value() -> DeleteRepositoryLinkInputTypeDef:
    return {
        "RepositoryLinkId": ...,
    }


# DeleteRepositoryLinkInputTypeDef definition

class DeleteRepositoryLinkInputTypeDef(TypedDict):
    RepositoryLinkId: str,

DeleteSyncConfigurationInputTypeDef#

# DeleteSyncConfigurationInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import DeleteSyncConfigurationInputTypeDef


def get_value() -> DeleteSyncConfigurationInputTypeDef:
    return {
        "SyncType": ...,
    }


# DeleteSyncConfigurationInputTypeDef definition

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

GetConnectionInputTypeDef#

# GetConnectionInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import GetConnectionInputTypeDef


def get_value() -> GetConnectionInputTypeDef:
    return {
        "ConnectionArn": ...,
    }


# GetConnectionInputTypeDef definition

class GetConnectionInputTypeDef(TypedDict):
    ConnectionArn: str,

GetHostInputTypeDef#

# GetHostInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import GetHostInputTypeDef


def get_value() -> GetHostInputTypeDef:
    return {
        "HostArn": ...,
    }


# GetHostInputTypeDef definition

class GetHostInputTypeDef(TypedDict):
    HostArn: str,

VpcConfigurationOutputTypeDef#

# VpcConfigurationOutputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import VpcConfigurationOutputTypeDef


def get_value() -> VpcConfigurationOutputTypeDef:
    return {
        "VpcId": ...,
    }


# VpcConfigurationOutputTypeDef definition

class VpcConfigurationOutputTypeDef(TypedDict):
    VpcId: str,
    SubnetIds: List[str],
    SecurityGroupIds: List[str],
    TlsCertificate: NotRequired[str],

GetRepositoryLinkInputTypeDef#

# GetRepositoryLinkInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import GetRepositoryLinkInputTypeDef


def get_value() -> GetRepositoryLinkInputTypeDef:
    return {
        "RepositoryLinkId": ...,
    }


# GetRepositoryLinkInputTypeDef definition

class GetRepositoryLinkInputTypeDef(TypedDict):
    RepositoryLinkId: str,

GetRepositorySyncStatusInputTypeDef#

# GetRepositorySyncStatusInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import GetRepositorySyncStatusInputTypeDef


def get_value() -> GetRepositorySyncStatusInputTypeDef:
    return {
        "Branch": ...,
    }


# GetRepositorySyncStatusInputTypeDef definition

class GetRepositorySyncStatusInputTypeDef(TypedDict):
    Branch: str,
    RepositoryLinkId: str,
    SyncType: SyncConfigurationTypeType,  # (1)
  1. See SyncConfigurationTypeType

GetResourceSyncStatusInputTypeDef#

# GetResourceSyncStatusInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import GetResourceSyncStatusInputTypeDef


def get_value() -> GetResourceSyncStatusInputTypeDef:
    return {
        "ResourceName": ...,
    }


# GetResourceSyncStatusInputTypeDef definition

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

RevisionTypeDef#

# RevisionTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import RevisionTypeDef


def get_value() -> RevisionTypeDef:
    return {
        "Branch": ...,
    }


# RevisionTypeDef definition

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

GetSyncBlockerSummaryInputTypeDef#

# GetSyncBlockerSummaryInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import GetSyncBlockerSummaryInputTypeDef


def get_value() -> GetSyncBlockerSummaryInputTypeDef:
    return {
        "SyncType": ...,
    }


# GetSyncBlockerSummaryInputTypeDef definition

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

GetSyncConfigurationInputTypeDef#

# GetSyncConfigurationInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import GetSyncConfigurationInputTypeDef


def get_value() -> GetSyncConfigurationInputTypeDef:
    return {
        "SyncType": ...,
    }


# GetSyncConfigurationInputTypeDef definition

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

ListConnectionsInputTypeDef#

# ListConnectionsInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import ListConnectionsInputTypeDef


def get_value() -> ListConnectionsInputTypeDef:
    return {
        "ProviderTypeFilter": ...,
    }


# ListConnectionsInputTypeDef definition

class ListConnectionsInputTypeDef(TypedDict):
    ProviderTypeFilter: NotRequired[ProviderTypeType],  # (1)
    HostArnFilter: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See ProviderTypeType

ListHostsInputTypeDef#

# ListHostsInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import ListHostsInputTypeDef


def get_value() -> ListHostsInputTypeDef:
    return {
        "MaxResults": ...,
    }


# ListHostsInputTypeDef definition

class ListHostsInputTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListRepositoryLinksInputTypeDef#

# ListRepositoryLinksInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import ListRepositoryLinksInputTypeDef


def get_value() -> ListRepositoryLinksInputTypeDef:
    return {
        "MaxResults": ...,
    }


# ListRepositoryLinksInputTypeDef definition

class ListRepositoryLinksInputTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListRepositorySyncDefinitionsInputTypeDef#

# ListRepositorySyncDefinitionsInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import ListRepositorySyncDefinitionsInputTypeDef


def get_value() -> ListRepositorySyncDefinitionsInputTypeDef:
    return {
        "RepositoryLinkId": ...,
    }


# ListRepositorySyncDefinitionsInputTypeDef definition

class ListRepositorySyncDefinitionsInputTypeDef(TypedDict):
    RepositoryLinkId: str,
    SyncType: SyncConfigurationTypeType,  # (1)
  1. See SyncConfigurationTypeType

RepositorySyncDefinitionTypeDef#

# RepositorySyncDefinitionTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import RepositorySyncDefinitionTypeDef


def get_value() -> RepositorySyncDefinitionTypeDef:
    return {
        "Branch": ...,
    }


# RepositorySyncDefinitionTypeDef definition

class RepositorySyncDefinitionTypeDef(TypedDict):
    Branch: str,
    Directory: str,
    Parent: str,
    Target: str,

ListSyncConfigurationsInputTypeDef#

# ListSyncConfigurationsInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import ListSyncConfigurationsInputTypeDef


def get_value() -> ListSyncConfigurationsInputTypeDef:
    return {
        "RepositoryLinkId": ...,
    }


# ListSyncConfigurationsInputTypeDef definition

class ListSyncConfigurationsInputTypeDef(TypedDict):
    RepositoryLinkId: str,
    SyncType: SyncConfigurationTypeType,  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See SyncConfigurationTypeType

ListTagsForResourceInputTypeDef#

# ListTagsForResourceInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import ListTagsForResourceInputTypeDef


def get_value() -> ListTagsForResourceInputTypeDef:
    return {
        "ResourceArn": ...,
    }


# ListTagsForResourceInputTypeDef definition

class ListTagsForResourceInputTypeDef(TypedDict):
    ResourceArn: str,

RepositorySyncEventTypeDef#

# RepositorySyncEventTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import RepositorySyncEventTypeDef


def get_value() -> RepositorySyncEventTypeDef:
    return {
        "Event": ...,
    }


# RepositorySyncEventTypeDef definition

class RepositorySyncEventTypeDef(TypedDict):
    Event: str,
    Time: datetime,
    Type: str,
    ExternalId: NotRequired[str],

ResourceSyncEventTypeDef#

# ResourceSyncEventTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import ResourceSyncEventTypeDef


def get_value() -> ResourceSyncEventTypeDef:
    return {
        "Event": ...,
    }


# ResourceSyncEventTypeDef definition

class ResourceSyncEventTypeDef(TypedDict):
    Event: str,
    Time: datetime,
    Type: str,
    ExternalId: NotRequired[str],

SyncBlockerContextTypeDef#

# SyncBlockerContextTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import SyncBlockerContextTypeDef


def get_value() -> SyncBlockerContextTypeDef:
    return {
        "Key": ...,
    }


# SyncBlockerContextTypeDef definition

class SyncBlockerContextTypeDef(TypedDict):
    Key: str,
    Value: str,

UntagResourceInputTypeDef#

# UntagResourceInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import UntagResourceInputTypeDef


def get_value() -> UntagResourceInputTypeDef:
    return {
        "ResourceArn": ...,
    }


# UntagResourceInputTypeDef definition

class UntagResourceInputTypeDef(TypedDict):
    ResourceArn: str,
    TagKeys: Sequence[str],

UpdateRepositoryLinkInputTypeDef#

# UpdateRepositoryLinkInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import UpdateRepositoryLinkInputTypeDef


def get_value() -> UpdateRepositoryLinkInputTypeDef:
    return {
        "RepositoryLinkId": ...,
    }


# UpdateRepositoryLinkInputTypeDef definition

class UpdateRepositoryLinkInputTypeDef(TypedDict):
    RepositoryLinkId: str,
    ConnectionArn: NotRequired[str],
    EncryptionKeyArn: NotRequired[str],

UpdateSyncBlockerInputTypeDef#

# UpdateSyncBlockerInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import UpdateSyncBlockerInputTypeDef


def get_value() -> UpdateSyncBlockerInputTypeDef:
    return {
        "Id": ...,
    }


# UpdateSyncBlockerInputTypeDef definition

class UpdateSyncBlockerInputTypeDef(TypedDict):
    Id: str,
    SyncType: SyncConfigurationTypeType,  # (1)
    ResourceName: str,
    ResolvedReason: str,
  1. See SyncConfigurationTypeType

UpdateSyncConfigurationInputTypeDef#

# UpdateSyncConfigurationInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import UpdateSyncConfigurationInputTypeDef


def get_value() -> UpdateSyncConfigurationInputTypeDef:
    return {
        "ResourceName": ...,
    }


# UpdateSyncConfigurationInputTypeDef definition

class UpdateSyncConfigurationInputTypeDef(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

VpcConfigurationTypeDef#

# VpcConfigurationTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import VpcConfigurationTypeDef


def get_value() -> VpcConfigurationTypeDef:
    return {
        "VpcId": ...,
    }


# VpcConfigurationTypeDef definition

class VpcConfigurationTypeDef(TypedDict):
    VpcId: str,
    SubnetIds: Sequence[str],
    SecurityGroupIds: Sequence[str],
    TlsCertificate: NotRequired[str],

CreateConnectionInputTypeDef#

# CreateConnectionInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import CreateConnectionInputTypeDef


def get_value() -> CreateConnectionInputTypeDef:
    return {
        "ConnectionName": ...,
    }


# CreateConnectionInputTypeDef definition

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

CreateRepositoryLinkInputTypeDef#

# CreateRepositoryLinkInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import CreateRepositoryLinkInputTypeDef


def get_value() -> CreateRepositoryLinkInputTypeDef:
    return {
        "ConnectionArn": ...,
    }


# CreateRepositoryLinkInputTypeDef definition

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

TagResourceInputTypeDef#

# TagResourceInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import TagResourceInputTypeDef


def get_value() -> TagResourceInputTypeDef:
    return {
        "ResourceArn": ...,
    }


# TagResourceInputTypeDef definition

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

CreateConnectionOutputTypeDef#

# CreateConnectionOutputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import CreateConnectionOutputTypeDef


def get_value() -> CreateConnectionOutputTypeDef:
    return {
        "ConnectionArn": ...,
    }


# CreateConnectionOutputTypeDef definition

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

CreateHostOutputTypeDef#

# CreateHostOutputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import CreateHostOutputTypeDef


def get_value() -> CreateHostOutputTypeDef:
    return {
        "HostArn": ...,
    }


# CreateHostOutputTypeDef definition

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

GetConnectionOutputTypeDef#

# GetConnectionOutputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import GetConnectionOutputTypeDef


def get_value() -> GetConnectionOutputTypeDef:
    return {
        "Connection": ...,
    }


# GetConnectionOutputTypeDef definition

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

ListConnectionsOutputTypeDef#

# ListConnectionsOutputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import ListConnectionsOutputTypeDef


def get_value() -> ListConnectionsOutputTypeDef:
    return {
        "Connections": ...,
    }


# ListConnectionsOutputTypeDef definition

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

ListTagsForResourceOutputTypeDef#

# ListTagsForResourceOutputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import ListTagsForResourceOutputTypeDef


def get_value() -> ListTagsForResourceOutputTypeDef:
    return {
        "Tags": ...,
    }


# ListTagsForResourceOutputTypeDef definition

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

CreateRepositoryLinkOutputTypeDef#

# CreateRepositoryLinkOutputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import CreateRepositoryLinkOutputTypeDef


def get_value() -> CreateRepositoryLinkOutputTypeDef:
    return {
        "RepositoryLinkInfo": ...,
    }


# CreateRepositoryLinkOutputTypeDef definition

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

GetRepositoryLinkOutputTypeDef#

# GetRepositoryLinkOutputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import GetRepositoryLinkOutputTypeDef


def get_value() -> GetRepositoryLinkOutputTypeDef:
    return {
        "RepositoryLinkInfo": ...,
    }


# GetRepositoryLinkOutputTypeDef definition

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

ListRepositoryLinksOutputTypeDef#

# ListRepositoryLinksOutputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import ListRepositoryLinksOutputTypeDef


def get_value() -> ListRepositoryLinksOutputTypeDef:
    return {
        "RepositoryLinks": ...,
    }


# ListRepositoryLinksOutputTypeDef definition

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

UpdateRepositoryLinkOutputTypeDef#

# UpdateRepositoryLinkOutputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import UpdateRepositoryLinkOutputTypeDef


def get_value() -> UpdateRepositoryLinkOutputTypeDef:
    return {
        "RepositoryLinkInfo": ...,
    }


# UpdateRepositoryLinkOutputTypeDef definition

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

CreateSyncConfigurationOutputTypeDef#

# CreateSyncConfigurationOutputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import CreateSyncConfigurationOutputTypeDef


def get_value() -> CreateSyncConfigurationOutputTypeDef:
    return {
        "SyncConfiguration": ...,
    }


# CreateSyncConfigurationOutputTypeDef definition

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

GetSyncConfigurationOutputTypeDef#

# GetSyncConfigurationOutputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import GetSyncConfigurationOutputTypeDef


def get_value() -> GetSyncConfigurationOutputTypeDef:
    return {
        "SyncConfiguration": ...,
    }


# GetSyncConfigurationOutputTypeDef definition

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

ListSyncConfigurationsOutputTypeDef#

# ListSyncConfigurationsOutputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import ListSyncConfigurationsOutputTypeDef


def get_value() -> ListSyncConfigurationsOutputTypeDef:
    return {
        "SyncConfigurations": ...,
    }


# ListSyncConfigurationsOutputTypeDef definition

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

UpdateSyncConfigurationOutputTypeDef#

# UpdateSyncConfigurationOutputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import UpdateSyncConfigurationOutputTypeDef


def get_value() -> UpdateSyncConfigurationOutputTypeDef:
    return {
        "SyncConfiguration": ...,
    }


# UpdateSyncConfigurationOutputTypeDef definition

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

GetHostOutputTypeDef#

# GetHostOutputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import GetHostOutputTypeDef


def get_value() -> GetHostOutputTypeDef:
    return {
        "Name": ...,
    }


# 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 TypedDict usage example

from types_boto3_codeconnections.type_defs import HostTypeDef


def get_value() -> HostTypeDef:
    return {
        "Name": ...,
    }


# 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 TypedDict usage example

from types_boto3_codeconnections.type_defs import ListRepositorySyncDefinitionsOutputTypeDef


def get_value() -> ListRepositorySyncDefinitionsOutputTypeDef:
    return {
        "RepositorySyncDefinitions": ...,
    }


# ListRepositorySyncDefinitionsOutputTypeDef definition

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

RepositorySyncAttemptTypeDef#

# RepositorySyncAttemptTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import RepositorySyncAttemptTypeDef


def get_value() -> RepositorySyncAttemptTypeDef:
    return {
        "StartedAt": ...,
    }


# RepositorySyncAttemptTypeDef definition

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

ResourceSyncAttemptTypeDef#

# ResourceSyncAttemptTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import ResourceSyncAttemptTypeDef


def get_value() -> ResourceSyncAttemptTypeDef:
    return {
        "Events": ...,
    }


# 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 TypedDict usage example

from types_boto3_codeconnections.type_defs import SyncBlockerTypeDef


def get_value() -> SyncBlockerTypeDef:
    return {
        "Id": ...,
    }


# 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 TypedDict usage example

from types_boto3_codeconnections.type_defs import ListHostsOutputTypeDef


def get_value() -> ListHostsOutputTypeDef:
    return {
        "Hosts": ...,
    }


# ListHostsOutputTypeDef definition

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

GetRepositorySyncStatusOutputTypeDef#

# GetRepositorySyncStatusOutputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import GetRepositorySyncStatusOutputTypeDef


def get_value() -> GetRepositorySyncStatusOutputTypeDef:
    return {
        "LatestSync": ...,
    }


# GetRepositorySyncStatusOutputTypeDef definition

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

GetResourceSyncStatusOutputTypeDef#

# GetResourceSyncStatusOutputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import GetResourceSyncStatusOutputTypeDef


def get_value() -> GetResourceSyncStatusOutputTypeDef:
    return {
        "DesiredState": ...,
    }


# 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 TypedDict usage example

from types_boto3_codeconnections.type_defs import SyncBlockerSummaryTypeDef


def get_value() -> SyncBlockerSummaryTypeDef:
    return {
        "ResourceName": ...,
    }


# SyncBlockerSummaryTypeDef definition

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

UpdateSyncBlockerOutputTypeDef#

# UpdateSyncBlockerOutputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import UpdateSyncBlockerOutputTypeDef


def get_value() -> UpdateSyncBlockerOutputTypeDef:
    return {
        "ResourceName": ...,
    }


# UpdateSyncBlockerOutputTypeDef definition

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

CreateHostInputTypeDef#

# CreateHostInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import CreateHostInputTypeDef


def get_value() -> CreateHostInputTypeDef:
    return {
        "Name": ...,
    }


# CreateHostInputTypeDef definition

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

UpdateHostInputTypeDef#

# UpdateHostInputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import UpdateHostInputTypeDef


def get_value() -> UpdateHostInputTypeDef:
    return {
        "HostArn": ...,
    }


# UpdateHostInputTypeDef definition

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

GetSyncBlockerSummaryOutputTypeDef#

# GetSyncBlockerSummaryOutputTypeDef TypedDict usage example

from types_boto3_codeconnections.type_defs import GetSyncBlockerSummaryOutputTypeDef


def get_value() -> GetSyncBlockerSummaryOutputTypeDef:
    return {
        "SyncBlockerSummary": ...,
    }


# GetSyncBlockerSummaryOutputTypeDef definition

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