Skip to content

Type definitions#

Index > CodeStarconnections > Type definitions

Auto-generated documentation for CodeStarconnections type annotations stubs module mypy-boto3-codestar-connections.

VpcConfigurationUnionTypeDef#

# VpcConfigurationUnionTypeDef definition

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

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

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

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

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