Skip to content

Type definitions#

Index > CodeArtifact > Type definitions

Auto-generated documentation for CodeArtifact type annotations stubs module mypy-boto3-codeartifact.

BlobTypeDef#

# BlobTypeDef definition

BlobTypeDef = Union[
    str,
    bytes,
    IO[Any],
    StreamingBody,
]

AssetSummaryTypeDef#

# AssetSummaryTypeDef definition

class AssetSummaryTypeDef(TypedDict):
    name: str,
    size: NotRequired[int],
    hashes: NotRequired[Dict[HashAlgorithmType, str]],  # (1)
  1. See HashAlgorithmType

AssociateExternalConnectionRequestRequestTypeDef#

# AssociateExternalConnectionRequestRequestTypeDef definition

class AssociateExternalConnectionRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    externalConnection: str,
    domainOwner: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

AssociatedPackageTypeDef#

# AssociatedPackageTypeDef definition

class AssociatedPackageTypeDef(TypedDict):
    format: NotRequired[PackageFormatType],  # (1)
    namespace: NotRequired[str],
    package: NotRequired[str],
    associationType: NotRequired[PackageGroupAssociationTypeType],  # (2)
  1. See PackageFormatType
  2. See PackageGroupAssociationTypeType

CopyPackageVersionsRequestRequestTypeDef#

# CopyPackageVersionsRequestRequestTypeDef definition

class CopyPackageVersionsRequestRequestTypeDef(TypedDict):
    domain: str,
    sourceRepository: str,
    destinationRepository: str,
    format: PackageFormatType,  # (1)
    package: str,
    domainOwner: NotRequired[str],
    namespace: NotRequired[str],
    versions: NotRequired[Sequence[str]],
    versionRevisions: NotRequired[Mapping[str, str]],
    allowOverwrite: NotRequired[bool],
    includeFromUpstream: NotRequired[bool],
  1. See PackageFormatType

PackageVersionErrorTypeDef#

# PackageVersionErrorTypeDef definition

class PackageVersionErrorTypeDef(TypedDict):
    errorCode: NotRequired[PackageVersionErrorCodeType],  # (1)
    errorMessage: NotRequired[str],
  1. See PackageVersionErrorCodeType

SuccessfulPackageVersionInfoTypeDef#

# SuccessfulPackageVersionInfoTypeDef definition

class SuccessfulPackageVersionInfoTypeDef(TypedDict):
    revision: NotRequired[str],
    status: NotRequired[PackageVersionStatusType],  # (1)
  1. See PackageVersionStatusType

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    key: str,
    value: str,

DomainDescriptionTypeDef#

# DomainDescriptionTypeDef definition

class DomainDescriptionTypeDef(TypedDict):
    name: NotRequired[str],
    owner: NotRequired[str],
    arn: NotRequired[str],
    status: NotRequired[DomainStatusType],  # (1)
    createdTime: NotRequired[datetime],
    encryptionKey: NotRequired[str],
    repositoryCount: NotRequired[int],
    assetSizeBytes: NotRequired[int],
    s3BucketArn: NotRequired[str],
  1. See DomainStatusType

UpstreamRepositoryTypeDef#

# UpstreamRepositoryTypeDef definition

class UpstreamRepositoryTypeDef(TypedDict):
    repositoryName: str,

DeleteDomainPermissionsPolicyRequestRequestTypeDef#

# DeleteDomainPermissionsPolicyRequestRequestTypeDef definition

class DeleteDomainPermissionsPolicyRequestRequestTypeDef(TypedDict):
    domain: str,
    domainOwner: NotRequired[str],
    policyRevision: NotRequired[str],

ResourcePolicyTypeDef#

# ResourcePolicyTypeDef definition

class ResourcePolicyTypeDef(TypedDict):
    resourceArn: NotRequired[str],
    revision: NotRequired[str],
    document: NotRequired[str],

DeleteDomainRequestRequestTypeDef#

# DeleteDomainRequestRequestTypeDef definition

class DeleteDomainRequestRequestTypeDef(TypedDict):
    domain: str,
    domainOwner: NotRequired[str],

DeletePackageGroupRequestRequestTypeDef#

# DeletePackageGroupRequestRequestTypeDef definition

class DeletePackageGroupRequestRequestTypeDef(TypedDict):
    domain: str,
    packageGroup: str,
    domainOwner: NotRequired[str],

DeletePackageRequestRequestTypeDef#

# DeletePackageRequestRequestTypeDef definition

class DeletePackageRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    format: PackageFormatType,  # (1)
    package: str,
    domainOwner: NotRequired[str],
    namespace: NotRequired[str],
  1. See PackageFormatType

DeletePackageVersionsRequestRequestTypeDef#

# DeletePackageVersionsRequestRequestTypeDef definition

class DeletePackageVersionsRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    format: PackageFormatType,  # (1)
    package: str,
    versions: Sequence[str],
    domainOwner: NotRequired[str],
    namespace: NotRequired[str],
    expectedStatus: NotRequired[PackageVersionStatusType],  # (2)
  1. See PackageFormatType
  2. See PackageVersionStatusType

DeleteRepositoryPermissionsPolicyRequestRequestTypeDef#

# DeleteRepositoryPermissionsPolicyRequestRequestTypeDef definition

class DeleteRepositoryPermissionsPolicyRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    domainOwner: NotRequired[str],
    policyRevision: NotRequired[str],

DeleteRepositoryRequestRequestTypeDef#

# DeleteRepositoryRequestRequestTypeDef definition

class DeleteRepositoryRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    domainOwner: NotRequired[str],

DescribeDomainRequestRequestTypeDef#

# DescribeDomainRequestRequestTypeDef definition

class DescribeDomainRequestRequestTypeDef(TypedDict):
    domain: str,
    domainOwner: NotRequired[str],

DescribePackageGroupRequestRequestTypeDef#

# DescribePackageGroupRequestRequestTypeDef definition

class DescribePackageGroupRequestRequestTypeDef(TypedDict):
    domain: str,
    packageGroup: str,
    domainOwner: NotRequired[str],

DescribePackageRequestRequestTypeDef#

# DescribePackageRequestRequestTypeDef definition

class DescribePackageRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    format: PackageFormatType,  # (1)
    package: str,
    domainOwner: NotRequired[str],
    namespace: NotRequired[str],
  1. See PackageFormatType

DescribePackageVersionRequestRequestTypeDef#

# DescribePackageVersionRequestRequestTypeDef definition

class DescribePackageVersionRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    format: PackageFormatType,  # (1)
    package: str,
    packageVersion: str,
    domainOwner: NotRequired[str],
    namespace: NotRequired[str],
  1. See PackageFormatType

DescribeRepositoryRequestRequestTypeDef#

# DescribeRepositoryRequestRequestTypeDef definition

class DescribeRepositoryRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    domainOwner: NotRequired[str],

DisassociateExternalConnectionRequestRequestTypeDef#

# DisassociateExternalConnectionRequestRequestTypeDef definition

class DisassociateExternalConnectionRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    externalConnection: str,
    domainOwner: NotRequired[str],

DisposePackageVersionsRequestRequestTypeDef#

# DisposePackageVersionsRequestRequestTypeDef definition

class DisposePackageVersionsRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    format: PackageFormatType,  # (1)
    package: str,
    versions: Sequence[str],
    domainOwner: NotRequired[str],
    namespace: NotRequired[str],
    versionRevisions: NotRequired[Mapping[str, str]],
    expectedStatus: NotRequired[PackageVersionStatusType],  # (2)
  1. See PackageFormatType
  2. See PackageVersionStatusType

DomainEntryPointTypeDef#

# DomainEntryPointTypeDef definition

class DomainEntryPointTypeDef(TypedDict):
    repositoryName: NotRequired[str],
    externalConnectionName: NotRequired[str],

DomainSummaryTypeDef#

# DomainSummaryTypeDef definition

class DomainSummaryTypeDef(TypedDict):
    name: NotRequired[str],
    owner: NotRequired[str],
    arn: NotRequired[str],
    status: NotRequired[DomainStatusType],  # (1)
    createdTime: NotRequired[datetime],
    encryptionKey: NotRequired[str],
  1. See DomainStatusType

GetAssociatedPackageGroupRequestRequestTypeDef#

# GetAssociatedPackageGroupRequestRequestTypeDef definition

class GetAssociatedPackageGroupRequestRequestTypeDef(TypedDict):
    domain: str,
    format: PackageFormatType,  # (1)
    package: str,
    domainOwner: NotRequired[str],
    namespace: NotRequired[str],
  1. See PackageFormatType

GetAuthorizationTokenRequestRequestTypeDef#

# GetAuthorizationTokenRequestRequestTypeDef definition

class GetAuthorizationTokenRequestRequestTypeDef(TypedDict):
    domain: str,
    domainOwner: NotRequired[str],
    durationSeconds: NotRequired[int],

GetDomainPermissionsPolicyRequestRequestTypeDef#

# GetDomainPermissionsPolicyRequestRequestTypeDef definition

class GetDomainPermissionsPolicyRequestRequestTypeDef(TypedDict):
    domain: str,
    domainOwner: NotRequired[str],

GetPackageVersionAssetRequestRequestTypeDef#

# GetPackageVersionAssetRequestRequestTypeDef definition

class GetPackageVersionAssetRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    format: PackageFormatType,  # (1)
    package: str,
    packageVersion: str,
    asset: str,
    domainOwner: NotRequired[str],
    namespace: NotRequired[str],
    packageVersionRevision: NotRequired[str],
  1. See PackageFormatType

GetPackageVersionReadmeRequestRequestTypeDef#

# GetPackageVersionReadmeRequestRequestTypeDef definition

class GetPackageVersionReadmeRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    format: PackageFormatType,  # (1)
    package: str,
    packageVersion: str,
    domainOwner: NotRequired[str],
    namespace: NotRequired[str],
  1. See PackageFormatType

GetRepositoryEndpointRequestRequestTypeDef#

# GetRepositoryEndpointRequestRequestTypeDef definition

class GetRepositoryEndpointRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    format: PackageFormatType,  # (1)
    domainOwner: NotRequired[str],
    endpointType: NotRequired[EndpointTypeType],  # (2)
  1. See PackageFormatType
  2. See EndpointTypeType

GetRepositoryPermissionsPolicyRequestRequestTypeDef#

# GetRepositoryPermissionsPolicyRequestRequestTypeDef definition

class GetRepositoryPermissionsPolicyRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    domainOwner: NotRequired[str],

LicenseInfoTypeDef#

# LicenseInfoTypeDef definition

class LicenseInfoTypeDef(TypedDict):
    name: NotRequired[str],
    url: NotRequired[str],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListAllowedRepositoriesForGroupRequestRequestTypeDef#

# ListAllowedRepositoriesForGroupRequestRequestTypeDef definition

class ListAllowedRepositoriesForGroupRequestRequestTypeDef(TypedDict):
    domain: str,
    packageGroup: str,
    originRestrictionType: PackageGroupOriginRestrictionTypeType,  # (1)
    domainOwner: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See PackageGroupOriginRestrictionTypeType

ListAssociatedPackagesRequestRequestTypeDef#

# ListAssociatedPackagesRequestRequestTypeDef definition

class ListAssociatedPackagesRequestRequestTypeDef(TypedDict):
    domain: str,
    packageGroup: str,
    domainOwner: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    preview: NotRequired[bool],

ListDomainsRequestRequestTypeDef#

# ListDomainsRequestRequestTypeDef definition

class ListDomainsRequestRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListPackageGroupsRequestRequestTypeDef#

# ListPackageGroupsRequestRequestTypeDef definition

class ListPackageGroupsRequestRequestTypeDef(TypedDict):
    domain: str,
    domainOwner: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    prefix: NotRequired[str],

ListPackageVersionAssetsRequestRequestTypeDef#

# ListPackageVersionAssetsRequestRequestTypeDef definition

class ListPackageVersionAssetsRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    format: PackageFormatType,  # (1)
    package: str,
    packageVersion: str,
    domainOwner: NotRequired[str],
    namespace: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See PackageFormatType

ListPackageVersionDependenciesRequestRequestTypeDef#

# ListPackageVersionDependenciesRequestRequestTypeDef definition

class ListPackageVersionDependenciesRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    format: PackageFormatType,  # (1)
    package: str,
    packageVersion: str,
    domainOwner: NotRequired[str],
    namespace: NotRequired[str],
    nextToken: NotRequired[str],
  1. See PackageFormatType

PackageDependencyTypeDef#

# PackageDependencyTypeDef definition

class PackageDependencyTypeDef(TypedDict):
    namespace: NotRequired[str],
    package: NotRequired[str],
    dependencyType: NotRequired[str],
    versionRequirement: NotRequired[str],

ListPackageVersionsRequestRequestTypeDef#

# ListPackageVersionsRequestRequestTypeDef definition

class ListPackageVersionsRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    format: PackageFormatType,  # (1)
    package: str,
    domainOwner: NotRequired[str],
    namespace: NotRequired[str],
    status: NotRequired[PackageVersionStatusType],  # (2)
    sortBy: NotRequired[PackageVersionSortTypeType],  # (3)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    originType: NotRequired[PackageVersionOriginTypeType],  # (4)
  1. See PackageFormatType
  2. See PackageVersionStatusType
  3. See PackageVersionSortTypeType
  4. See PackageVersionOriginTypeType

ListPackagesRequestRequestTypeDef#

# ListPackagesRequestRequestTypeDef definition

class ListPackagesRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    domainOwner: NotRequired[str],
    format: NotRequired[PackageFormatType],  # (1)
    namespace: NotRequired[str],
    packagePrefix: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    publish: NotRequired[AllowPublishType],  # (2)
    upstream: NotRequired[AllowUpstreamType],  # (3)
  1. See PackageFormatType
  2. See AllowPublishType
  3. See AllowUpstreamType

ListRepositoriesInDomainRequestRequestTypeDef#

# ListRepositoriesInDomainRequestRequestTypeDef definition

class ListRepositoriesInDomainRequestRequestTypeDef(TypedDict):
    domain: str,
    domainOwner: NotRequired[str],
    administratorAccount: NotRequired[str],
    repositoryPrefix: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

RepositorySummaryTypeDef#

# RepositorySummaryTypeDef definition

class RepositorySummaryTypeDef(TypedDict):
    name: NotRequired[str],
    administratorAccount: NotRequired[str],
    domainName: NotRequired[str],
    domainOwner: NotRequired[str],
    arn: NotRequired[str],
    description: NotRequired[str],
    createdTime: NotRequired[datetime],

ListRepositoriesRequestRequestTypeDef#

# ListRepositoriesRequestRequestTypeDef definition

class ListRepositoriesRequestRequestTypeDef(TypedDict):
    repositoryPrefix: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListSubPackageGroupsRequestRequestTypeDef#

# ListSubPackageGroupsRequestRequestTypeDef definition

class ListSubPackageGroupsRequestRequestTypeDef(TypedDict):
    domain: str,
    packageGroup: str,
    domainOwner: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

PackageGroupAllowedRepositoryTypeDef#

# PackageGroupAllowedRepositoryTypeDef definition

class PackageGroupAllowedRepositoryTypeDef(TypedDict):
    repositoryName: NotRequired[str],
    originRestrictionType: NotRequired[PackageGroupOriginRestrictionTypeType],  # (1)
  1. See PackageGroupOriginRestrictionTypeType

PackageGroupReferenceTypeDef#

# PackageGroupReferenceTypeDef definition

class PackageGroupReferenceTypeDef(TypedDict):
    arn: NotRequired[str],
    pattern: NotRequired[str],

PackageOriginRestrictionsTypeDef#

# PackageOriginRestrictionsTypeDef definition

class PackageOriginRestrictionsTypeDef(TypedDict):
    publish: AllowPublishType,  # (1)
    upstream: AllowUpstreamType,  # (2)
  1. See AllowPublishType
  2. See AllowUpstreamType

PutDomainPermissionsPolicyRequestRequestTypeDef#

# PutDomainPermissionsPolicyRequestRequestTypeDef definition

class PutDomainPermissionsPolicyRequestRequestTypeDef(TypedDict):
    domain: str,
    policyDocument: str,
    domainOwner: NotRequired[str],
    policyRevision: NotRequired[str],

PutRepositoryPermissionsPolicyRequestRequestTypeDef#

# PutRepositoryPermissionsPolicyRequestRequestTypeDef definition

class PutRepositoryPermissionsPolicyRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    policyDocument: str,
    domainOwner: NotRequired[str],
    policyRevision: NotRequired[str],

RepositoryExternalConnectionInfoTypeDef#

# RepositoryExternalConnectionInfoTypeDef definition

class RepositoryExternalConnectionInfoTypeDef(TypedDict):
    externalConnectionName: NotRequired[str],
    packageFormat: NotRequired[PackageFormatType],  # (1)
    status: NotRequired[ExternalConnectionStatusType],  # (2)
  1. See PackageFormatType
  2. See ExternalConnectionStatusType

UpstreamRepositoryInfoTypeDef#

# UpstreamRepositoryInfoTypeDef definition

class UpstreamRepositoryInfoTypeDef(TypedDict):
    repositoryName: NotRequired[str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: Sequence[str],

UpdatePackageGroupRequestRequestTypeDef#

# UpdatePackageGroupRequestRequestTypeDef definition

class UpdatePackageGroupRequestRequestTypeDef(TypedDict):
    domain: str,
    packageGroup: str,
    domainOwner: NotRequired[str],
    contactInfo: NotRequired[str],
    description: NotRequired[str],

UpdatePackageVersionsStatusRequestRequestTypeDef#

# UpdatePackageVersionsStatusRequestRequestTypeDef definition

class UpdatePackageVersionsStatusRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    format: PackageFormatType,  # (1)
    package: str,
    versions: Sequence[str],
    targetStatus: PackageVersionStatusType,  # (2)
    domainOwner: NotRequired[str],
    namespace: NotRequired[str],
    versionRevisions: NotRequired[Mapping[str, str]],
    expectedStatus: NotRequired[PackageVersionStatusType],  # (2)
  1. See PackageFormatType
  2. See PackageVersionStatusType
  3. See PackageVersionStatusType

GetAuthorizationTokenResultTypeDef#

# GetAuthorizationTokenResultTypeDef definition

class GetAuthorizationTokenResultTypeDef(TypedDict):
    authorizationToken: str,
    expiration: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetPackageVersionAssetResultTypeDef#

# GetPackageVersionAssetResultTypeDef definition

class GetPackageVersionAssetResultTypeDef(TypedDict):
    asset: StreamingBody,
    assetName: str,
    packageVersion: str,
    packageVersionRevision: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetPackageVersionReadmeResultTypeDef#

# GetPackageVersionReadmeResultTypeDef definition

class GetPackageVersionReadmeResultTypeDef(TypedDict):
    format: PackageFormatType,  # (1)
    namespace: str,
    package: str,
    version: str,
    versionRevision: str,
    readme: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PackageFormatType
  2. See ResponseMetadataTypeDef

GetRepositoryEndpointResultTypeDef#

# GetRepositoryEndpointResultTypeDef definition

class GetRepositoryEndpointResultTypeDef(TypedDict):
    repositoryEndpoint: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListAllowedRepositoriesForGroupResultTypeDef#

# ListAllowedRepositoriesForGroupResultTypeDef definition

class ListAllowedRepositoriesForGroupResultTypeDef(TypedDict):
    allowedRepositories: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    nextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

ListPackageVersionAssetsResultTypeDef#

# ListPackageVersionAssetsResultTypeDef definition

class ListPackageVersionAssetsResultTypeDef(TypedDict):
    format: PackageFormatType,  # (1)
    namespace: str,
    package: str,
    version: str,
    versionRevision: str,
    assets: List[AssetSummaryTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
    nextToken: NotRequired[str],
  1. See PackageFormatType
  2. See AssetSummaryTypeDef
  3. See ResponseMetadataTypeDef

PublishPackageVersionResultTypeDef#

# PublishPackageVersionResultTypeDef definition

class PublishPackageVersionResultTypeDef(TypedDict):
    format: PackageFormatType,  # (1)
    namespace: str,
    package: str,
    version: str,
    versionRevision: str,
    status: PackageVersionStatusType,  # (2)
    asset: AssetSummaryTypeDef,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See PackageFormatType
  2. See PackageVersionStatusType
  3. See AssetSummaryTypeDef
  4. See ResponseMetadataTypeDef

ListAssociatedPackagesResultTypeDef#

# ListAssociatedPackagesResultTypeDef definition

class ListAssociatedPackagesResultTypeDef(TypedDict):
    packages: List[AssociatedPackageTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See AssociatedPackageTypeDef
  2. See ResponseMetadataTypeDef

PublishPackageVersionRequestRequestTypeDef#

# PublishPackageVersionRequestRequestTypeDef definition

class PublishPackageVersionRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    format: PackageFormatType,  # (1)
    package: str,
    packageVersion: str,
    assetContent: BlobTypeDef,
    assetName: str,
    assetSHA256: str,
    domainOwner: NotRequired[str],
    namespace: NotRequired[str],
    unfinished: NotRequired[bool],
  1. See PackageFormatType

CopyPackageVersionsResultTypeDef#

# CopyPackageVersionsResultTypeDef definition

class CopyPackageVersionsResultTypeDef(TypedDict):
    successfulVersions: Dict[str, SuccessfulPackageVersionInfoTypeDef],  # (1)
    failedVersions: Dict[str, PackageVersionErrorTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See SuccessfulPackageVersionInfoTypeDef
  2. See PackageVersionErrorTypeDef
  3. See ResponseMetadataTypeDef

DeletePackageVersionsResultTypeDef#

# DeletePackageVersionsResultTypeDef definition

class DeletePackageVersionsResultTypeDef(TypedDict):
    successfulVersions: Dict[str, SuccessfulPackageVersionInfoTypeDef],  # (1)
    failedVersions: Dict[str, PackageVersionErrorTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See SuccessfulPackageVersionInfoTypeDef
  2. See PackageVersionErrorTypeDef
  3. See ResponseMetadataTypeDef

DisposePackageVersionsResultTypeDef#

# DisposePackageVersionsResultTypeDef definition

class DisposePackageVersionsResultTypeDef(TypedDict):
    successfulVersions: Dict[str, SuccessfulPackageVersionInfoTypeDef],  # (1)
    failedVersions: Dict[str, PackageVersionErrorTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See SuccessfulPackageVersionInfoTypeDef
  2. See PackageVersionErrorTypeDef
  3. See ResponseMetadataTypeDef

UpdatePackageVersionsStatusResultTypeDef#

# UpdatePackageVersionsStatusResultTypeDef definition

class UpdatePackageVersionsStatusResultTypeDef(TypedDict):
    successfulVersions: Dict[str, SuccessfulPackageVersionInfoTypeDef],  # (1)
    failedVersions: Dict[str, PackageVersionErrorTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See SuccessfulPackageVersionInfoTypeDef
  2. See PackageVersionErrorTypeDef
  3. See ResponseMetadataTypeDef

CreateDomainRequestRequestTypeDef#

# CreateDomainRequestRequestTypeDef definition

class CreateDomainRequestRequestTypeDef(TypedDict):
    domain: str,
    encryptionKey: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

CreatePackageGroupRequestRequestTypeDef#

# CreatePackageGroupRequestRequestTypeDef definition

class CreatePackageGroupRequestRequestTypeDef(TypedDict):
    domain: str,
    packageGroup: str,
    domainOwner: NotRequired[str],
    contactInfo: NotRequired[str],
    description: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

ListTagsForResourceResultTypeDef#

# ListTagsForResourceResultTypeDef definition

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

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

CreateDomainResultTypeDef#

# CreateDomainResultTypeDef definition

class CreateDomainResultTypeDef(TypedDict):
    domain: DomainDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DomainDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DeleteDomainResultTypeDef#

# DeleteDomainResultTypeDef definition

class DeleteDomainResultTypeDef(TypedDict):
    domain: DomainDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DomainDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DescribeDomainResultTypeDef#

# DescribeDomainResultTypeDef definition

class DescribeDomainResultTypeDef(TypedDict):
    domain: DomainDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DomainDescriptionTypeDef
  2. See ResponseMetadataTypeDef

CreateRepositoryRequestRequestTypeDef#

# CreateRepositoryRequestRequestTypeDef definition

class CreateRepositoryRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    domainOwner: NotRequired[str],
    description: NotRequired[str],
    upstreams: NotRequired[Sequence[UpstreamRepositoryTypeDef]],  # (1)
    tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See UpstreamRepositoryTypeDef
  2. See TagTypeDef

UpdateRepositoryRequestRequestTypeDef#

# UpdateRepositoryRequestRequestTypeDef definition

class UpdateRepositoryRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    domainOwner: NotRequired[str],
    description: NotRequired[str],
    upstreams: NotRequired[Sequence[UpstreamRepositoryTypeDef]],  # (1)
  1. See UpstreamRepositoryTypeDef

DeleteDomainPermissionsPolicyResultTypeDef#

# DeleteDomainPermissionsPolicyResultTypeDef definition

class DeleteDomainPermissionsPolicyResultTypeDef(TypedDict):
    policy: ResourcePolicyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResourcePolicyTypeDef
  2. See ResponseMetadataTypeDef

DeleteRepositoryPermissionsPolicyResultTypeDef#

# DeleteRepositoryPermissionsPolicyResultTypeDef definition

class DeleteRepositoryPermissionsPolicyResultTypeDef(TypedDict):
    policy: ResourcePolicyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResourcePolicyTypeDef
  2. See ResponseMetadataTypeDef

GetDomainPermissionsPolicyResultTypeDef#

# GetDomainPermissionsPolicyResultTypeDef definition

class GetDomainPermissionsPolicyResultTypeDef(TypedDict):
    policy: ResourcePolicyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResourcePolicyTypeDef
  2. See ResponseMetadataTypeDef

GetRepositoryPermissionsPolicyResultTypeDef#

# GetRepositoryPermissionsPolicyResultTypeDef definition

class GetRepositoryPermissionsPolicyResultTypeDef(TypedDict):
    policy: ResourcePolicyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResourcePolicyTypeDef
  2. See ResponseMetadataTypeDef

PutDomainPermissionsPolicyResultTypeDef#

# PutDomainPermissionsPolicyResultTypeDef definition

class PutDomainPermissionsPolicyResultTypeDef(TypedDict):
    policy: ResourcePolicyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResourcePolicyTypeDef
  2. See ResponseMetadataTypeDef

PutRepositoryPermissionsPolicyResultTypeDef#

# PutRepositoryPermissionsPolicyResultTypeDef definition

class PutRepositoryPermissionsPolicyResultTypeDef(TypedDict):
    policy: ResourcePolicyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResourcePolicyTypeDef
  2. See ResponseMetadataTypeDef

PackageVersionOriginTypeDef#

# PackageVersionOriginTypeDef definition

class PackageVersionOriginTypeDef(TypedDict):
    domainEntryPoint: NotRequired[DomainEntryPointTypeDef],  # (1)
    originType: NotRequired[PackageVersionOriginTypeType],  # (2)
  1. See DomainEntryPointTypeDef
  2. See PackageVersionOriginTypeType

ListDomainsResultTypeDef#

# ListDomainsResultTypeDef definition

class ListDomainsResultTypeDef(TypedDict):
    domains: List[DomainSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See DomainSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListAllowedRepositoriesForGroupRequestListAllowedRepositoriesForGroupPaginateTypeDef#

# ListAllowedRepositoriesForGroupRequestListAllowedRepositoriesForGroupPaginateTypeDef definition

class ListAllowedRepositoriesForGroupRequestListAllowedRepositoriesForGroupPaginateTypeDef(TypedDict):
    domain: str,
    packageGroup: str,
    originRestrictionType: PackageGroupOriginRestrictionTypeType,  # (1)
    domainOwner: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See PackageGroupOriginRestrictionTypeType
  2. See PaginatorConfigTypeDef

ListAssociatedPackagesRequestListAssociatedPackagesPaginateTypeDef#

# ListAssociatedPackagesRequestListAssociatedPackagesPaginateTypeDef definition

class ListAssociatedPackagesRequestListAssociatedPackagesPaginateTypeDef(TypedDict):
    domain: str,
    packageGroup: str,
    domainOwner: NotRequired[str],
    preview: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListDomainsRequestListDomainsPaginateTypeDef#

# ListDomainsRequestListDomainsPaginateTypeDef definition

class ListDomainsRequestListDomainsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListPackageGroupsRequestListPackageGroupsPaginateTypeDef#

# ListPackageGroupsRequestListPackageGroupsPaginateTypeDef definition

class ListPackageGroupsRequestListPackageGroupsPaginateTypeDef(TypedDict):
    domain: str,
    domainOwner: NotRequired[str],
    prefix: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListPackageVersionAssetsRequestListPackageVersionAssetsPaginateTypeDef#

# ListPackageVersionAssetsRequestListPackageVersionAssetsPaginateTypeDef definition

class ListPackageVersionAssetsRequestListPackageVersionAssetsPaginateTypeDef(TypedDict):
    domain: str,
    repository: str,
    format: PackageFormatType,  # (1)
    package: str,
    packageVersion: str,
    domainOwner: NotRequired[str],
    namespace: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See PackageFormatType
  2. See PaginatorConfigTypeDef

ListPackageVersionsRequestListPackageVersionsPaginateTypeDef#

# ListPackageVersionsRequestListPackageVersionsPaginateTypeDef definition

class ListPackageVersionsRequestListPackageVersionsPaginateTypeDef(TypedDict):
    domain: str,
    repository: str,
    format: PackageFormatType,  # (1)
    package: str,
    domainOwner: NotRequired[str],
    namespace: NotRequired[str],
    status: NotRequired[PackageVersionStatusType],  # (2)
    sortBy: NotRequired[PackageVersionSortTypeType],  # (3)
    originType: NotRequired[PackageVersionOriginTypeType],  # (4)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (5)
  1. See PackageFormatType
  2. See PackageVersionStatusType
  3. See PackageVersionSortTypeType
  4. See PackageVersionOriginTypeType
  5. See PaginatorConfigTypeDef

ListPackagesRequestListPackagesPaginateTypeDef#

# ListPackagesRequestListPackagesPaginateTypeDef definition

class ListPackagesRequestListPackagesPaginateTypeDef(TypedDict):
    domain: str,
    repository: str,
    domainOwner: NotRequired[str],
    format: NotRequired[PackageFormatType],  # (1)
    namespace: NotRequired[str],
    packagePrefix: NotRequired[str],
    publish: NotRequired[AllowPublishType],  # (2)
    upstream: NotRequired[AllowUpstreamType],  # (3)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (4)
  1. See PackageFormatType
  2. See AllowPublishType
  3. See AllowUpstreamType
  4. See PaginatorConfigTypeDef

ListRepositoriesInDomainRequestListRepositoriesInDomainPaginateTypeDef#

# ListRepositoriesInDomainRequestListRepositoriesInDomainPaginateTypeDef definition

class ListRepositoriesInDomainRequestListRepositoriesInDomainPaginateTypeDef(TypedDict):
    domain: str,
    domainOwner: NotRequired[str],
    administratorAccount: NotRequired[str],
    repositoryPrefix: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListRepositoriesRequestListRepositoriesPaginateTypeDef#

# ListRepositoriesRequestListRepositoriesPaginateTypeDef definition

class ListRepositoriesRequestListRepositoriesPaginateTypeDef(TypedDict):
    repositoryPrefix: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListSubPackageGroupsRequestListSubPackageGroupsPaginateTypeDef#

# ListSubPackageGroupsRequestListSubPackageGroupsPaginateTypeDef definition

class ListSubPackageGroupsRequestListSubPackageGroupsPaginateTypeDef(TypedDict):
    domain: str,
    packageGroup: str,
    domainOwner: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListPackageVersionDependenciesResultTypeDef#

# ListPackageVersionDependenciesResultTypeDef definition

class ListPackageVersionDependenciesResultTypeDef(TypedDict):
    format: PackageFormatType,  # (1)
    namespace: str,
    package: str,
    version: str,
    versionRevision: str,
    dependencies: List[PackageDependencyTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
    nextToken: NotRequired[str],
  1. See PackageFormatType
  2. See PackageDependencyTypeDef
  3. See ResponseMetadataTypeDef

ListRepositoriesInDomainResultTypeDef#

# ListRepositoriesInDomainResultTypeDef definition

class ListRepositoriesInDomainResultTypeDef(TypedDict):
    repositories: List[RepositorySummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See RepositorySummaryTypeDef
  2. See ResponseMetadataTypeDef

ListRepositoriesResultTypeDef#

# ListRepositoriesResultTypeDef definition

class ListRepositoriesResultTypeDef(TypedDict):
    repositories: List[RepositorySummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See RepositorySummaryTypeDef
  2. See ResponseMetadataTypeDef

UpdatePackageGroupOriginConfigurationRequestRequestTypeDef#

# UpdatePackageGroupOriginConfigurationRequestRequestTypeDef definition

class UpdatePackageGroupOriginConfigurationRequestRequestTypeDef(TypedDict):
    domain: str,
    packageGroup: str,
    domainOwner: NotRequired[str],
    restrictions: NotRequired[Mapping[PackageGroupOriginRestrictionTypeType, PackageGroupOriginRestrictionModeType]],  # (1)
    addAllowedRepositories: NotRequired[Sequence[PackageGroupAllowedRepositoryTypeDef]],  # (2)
    removeAllowedRepositories: NotRequired[Sequence[PackageGroupAllowedRepositoryTypeDef]],  # (2)
  1. See PackageGroupOriginRestrictionTypeType PackageGroupOriginRestrictionModeType
  2. See PackageGroupAllowedRepositoryTypeDef
  3. See PackageGroupAllowedRepositoryTypeDef

PackageGroupOriginRestrictionTypeDef#

# PackageGroupOriginRestrictionTypeDef definition

class PackageGroupOriginRestrictionTypeDef(TypedDict):
    mode: NotRequired[PackageGroupOriginRestrictionModeType],  # (1)
    effectiveMode: NotRequired[PackageGroupOriginRestrictionModeType],  # (1)
    inheritedFrom: NotRequired[PackageGroupReferenceTypeDef],  # (3)
    repositoriesCount: NotRequired[int],
  1. See PackageGroupOriginRestrictionModeType
  2. See PackageGroupOriginRestrictionModeType
  3. See PackageGroupReferenceTypeDef

PackageOriginConfigurationTypeDef#

# PackageOriginConfigurationTypeDef definition

class PackageOriginConfigurationTypeDef(TypedDict):
    restrictions: NotRequired[PackageOriginRestrictionsTypeDef],  # (1)
  1. See PackageOriginRestrictionsTypeDef

PutPackageOriginConfigurationRequestRequestTypeDef#

# PutPackageOriginConfigurationRequestRequestTypeDef definition

class PutPackageOriginConfigurationRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    format: PackageFormatType,  # (1)
    package: str,
    restrictions: PackageOriginRestrictionsTypeDef,  # (2)
    domainOwner: NotRequired[str],
    namespace: NotRequired[str],
  1. See PackageFormatType
  2. See PackageOriginRestrictionsTypeDef

RepositoryDescriptionTypeDef#

# RepositoryDescriptionTypeDef definition

class RepositoryDescriptionTypeDef(TypedDict):
    name: NotRequired[str],
    administratorAccount: NotRequired[str],
    domainName: NotRequired[str],
    domainOwner: NotRequired[str],
    arn: NotRequired[str],
    description: NotRequired[str],
    upstreams: NotRequired[List[UpstreamRepositoryInfoTypeDef]],  # (1)
    externalConnections: NotRequired[List[RepositoryExternalConnectionInfoTypeDef]],  # (2)
    createdTime: NotRequired[datetime],
  1. See UpstreamRepositoryInfoTypeDef
  2. See RepositoryExternalConnectionInfoTypeDef

PackageVersionDescriptionTypeDef#

# PackageVersionDescriptionTypeDef definition

class PackageVersionDescriptionTypeDef(TypedDict):
    format: NotRequired[PackageFormatType],  # (1)
    namespace: NotRequired[str],
    packageName: NotRequired[str],
    displayName: NotRequired[str],
    version: NotRequired[str],
    summary: NotRequired[str],
    homePage: NotRequired[str],
    sourceCodeRepository: NotRequired[str],
    publishedTime: NotRequired[datetime],
    licenses: NotRequired[List[LicenseInfoTypeDef]],  # (2)
    revision: NotRequired[str],
    status: NotRequired[PackageVersionStatusType],  # (3)
    origin: NotRequired[PackageVersionOriginTypeDef],  # (4)
  1. See PackageFormatType
  2. See LicenseInfoTypeDef
  3. See PackageVersionStatusType
  4. See PackageVersionOriginTypeDef

PackageVersionSummaryTypeDef#

# PackageVersionSummaryTypeDef definition

class PackageVersionSummaryTypeDef(TypedDict):
    version: str,
    status: PackageVersionStatusType,  # (1)
    revision: NotRequired[str],
    origin: NotRequired[PackageVersionOriginTypeDef],  # (2)
  1. See PackageVersionStatusType
  2. See PackageVersionOriginTypeDef

PackageGroupOriginConfigurationTypeDef#

# PackageGroupOriginConfigurationTypeDef definition

class PackageGroupOriginConfigurationTypeDef(TypedDict):
    restrictions: NotRequired[Dict[PackageGroupOriginRestrictionTypeType, PackageGroupOriginRestrictionTypeDef]],  # (1)
  1. See PackageGroupOriginRestrictionTypeType PackageGroupOriginRestrictionTypeDef

PackageDescriptionTypeDef#

# PackageDescriptionTypeDef definition

class PackageDescriptionTypeDef(TypedDict):
    format: NotRequired[PackageFormatType],  # (1)
    namespace: NotRequired[str],
    name: NotRequired[str],
    originConfiguration: NotRequired[PackageOriginConfigurationTypeDef],  # (2)
  1. See PackageFormatType
  2. See PackageOriginConfigurationTypeDef

PackageSummaryTypeDef#

# PackageSummaryTypeDef definition

class PackageSummaryTypeDef(TypedDict):
    format: NotRequired[PackageFormatType],  # (1)
    namespace: NotRequired[str],
    package: NotRequired[str],
    originConfiguration: NotRequired[PackageOriginConfigurationTypeDef],  # (2)
  1. See PackageFormatType
  2. See PackageOriginConfigurationTypeDef

PutPackageOriginConfigurationResultTypeDef#

# PutPackageOriginConfigurationResultTypeDef definition

class PutPackageOriginConfigurationResultTypeDef(TypedDict):
    originConfiguration: PackageOriginConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PackageOriginConfigurationTypeDef
  2. See ResponseMetadataTypeDef

AssociateExternalConnectionResultTypeDef#

# AssociateExternalConnectionResultTypeDef definition

class AssociateExternalConnectionResultTypeDef(TypedDict):
    repository: RepositoryDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositoryDescriptionTypeDef
  2. See ResponseMetadataTypeDef

CreateRepositoryResultTypeDef#

# CreateRepositoryResultTypeDef definition

class CreateRepositoryResultTypeDef(TypedDict):
    repository: RepositoryDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositoryDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DeleteRepositoryResultTypeDef#

# DeleteRepositoryResultTypeDef definition

class DeleteRepositoryResultTypeDef(TypedDict):
    repository: RepositoryDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositoryDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DescribeRepositoryResultTypeDef#

# DescribeRepositoryResultTypeDef definition

class DescribeRepositoryResultTypeDef(TypedDict):
    repository: RepositoryDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositoryDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DisassociateExternalConnectionResultTypeDef#

# DisassociateExternalConnectionResultTypeDef definition

class DisassociateExternalConnectionResultTypeDef(TypedDict):
    repository: RepositoryDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositoryDescriptionTypeDef
  2. See ResponseMetadataTypeDef

UpdateRepositoryResultTypeDef#

# UpdateRepositoryResultTypeDef definition

class UpdateRepositoryResultTypeDef(TypedDict):
    repository: RepositoryDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositoryDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DescribePackageVersionResultTypeDef#

# DescribePackageVersionResultTypeDef definition

class DescribePackageVersionResultTypeDef(TypedDict):
    packageVersion: PackageVersionDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PackageVersionDescriptionTypeDef
  2. See ResponseMetadataTypeDef

ListPackageVersionsResultTypeDef#

# ListPackageVersionsResultTypeDef definition

class ListPackageVersionsResultTypeDef(TypedDict):
    defaultDisplayVersion: str,
    format: PackageFormatType,  # (1)
    namespace: str,
    package: str,
    versions: List[PackageVersionSummaryTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
    nextToken: NotRequired[str],
  1. See PackageFormatType
  2. See PackageVersionSummaryTypeDef
  3. See ResponseMetadataTypeDef

PackageGroupDescriptionTypeDef#

# PackageGroupDescriptionTypeDef definition

class PackageGroupDescriptionTypeDef(TypedDict):
    arn: NotRequired[str],
    pattern: NotRequired[str],
    domainName: NotRequired[str],
    domainOwner: NotRequired[str],
    createdTime: NotRequired[datetime],
    contactInfo: NotRequired[str],
    description: NotRequired[str],
    originConfiguration: NotRequired[PackageGroupOriginConfigurationTypeDef],  # (1)
    parent: NotRequired[PackageGroupReferenceTypeDef],  # (2)
  1. See PackageGroupOriginConfigurationTypeDef
  2. See PackageGroupReferenceTypeDef

PackageGroupSummaryTypeDef#

# PackageGroupSummaryTypeDef definition

class PackageGroupSummaryTypeDef(TypedDict):
    arn: NotRequired[str],
    pattern: NotRequired[str],
    domainName: NotRequired[str],
    domainOwner: NotRequired[str],
    createdTime: NotRequired[datetime],
    contactInfo: NotRequired[str],
    description: NotRequired[str],
    originConfiguration: NotRequired[PackageGroupOriginConfigurationTypeDef],  # (1)
    parent: NotRequired[PackageGroupReferenceTypeDef],  # (2)
  1. See PackageGroupOriginConfigurationTypeDef
  2. See PackageGroupReferenceTypeDef

DescribePackageResultTypeDef#

# DescribePackageResultTypeDef definition

class DescribePackageResultTypeDef(TypedDict):
    package: PackageDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PackageDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DeletePackageResultTypeDef#

# DeletePackageResultTypeDef definition

class DeletePackageResultTypeDef(TypedDict):
    deletedPackage: PackageSummaryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PackageSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListPackagesResultTypeDef#

# ListPackagesResultTypeDef definition

class ListPackagesResultTypeDef(TypedDict):
    packages: List[PackageSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See PackageSummaryTypeDef
  2. See ResponseMetadataTypeDef

CreatePackageGroupResultTypeDef#

# CreatePackageGroupResultTypeDef definition

class CreatePackageGroupResultTypeDef(TypedDict):
    packageGroup: PackageGroupDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PackageGroupDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DeletePackageGroupResultTypeDef#

# DeletePackageGroupResultTypeDef definition

class DeletePackageGroupResultTypeDef(TypedDict):
    packageGroup: PackageGroupDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PackageGroupDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DescribePackageGroupResultTypeDef#

# DescribePackageGroupResultTypeDef definition

class DescribePackageGroupResultTypeDef(TypedDict):
    packageGroup: PackageGroupDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PackageGroupDescriptionTypeDef
  2. See ResponseMetadataTypeDef

GetAssociatedPackageGroupResultTypeDef#

# GetAssociatedPackageGroupResultTypeDef definition

class GetAssociatedPackageGroupResultTypeDef(TypedDict):
    packageGroup: PackageGroupDescriptionTypeDef,  # (1)
    associationType: PackageGroupAssociationTypeType,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See PackageGroupDescriptionTypeDef
  2. See PackageGroupAssociationTypeType
  3. See ResponseMetadataTypeDef

UpdatePackageGroupOriginConfigurationResultTypeDef#

# UpdatePackageGroupOriginConfigurationResultTypeDef definition

class UpdatePackageGroupOriginConfigurationResultTypeDef(TypedDict):
    packageGroup: PackageGroupDescriptionTypeDef,  # (1)
    allowedRepositoryUpdates: Dict[PackageGroupOriginRestrictionTypeType, Dict[PackageGroupAllowedRepositoryUpdateTypeType, List[str]]],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See PackageGroupDescriptionTypeDef
  2. See PackageGroupOriginRestrictionTypeType PackageGroupAllowedRepositoryUpdateTypeType
  3. See ResponseMetadataTypeDef

UpdatePackageGroupResultTypeDef#

# UpdatePackageGroupResultTypeDef definition

class UpdatePackageGroupResultTypeDef(TypedDict):
    packageGroup: PackageGroupDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PackageGroupDescriptionTypeDef
  2. See ResponseMetadataTypeDef

ListPackageGroupsResultTypeDef#

# ListPackageGroupsResultTypeDef definition

class ListPackageGroupsResultTypeDef(TypedDict):
    packageGroups: List[PackageGroupSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See PackageGroupSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListSubPackageGroupsResultTypeDef#

# ListSubPackageGroupsResultTypeDef definition

class ListSubPackageGroupsResultTypeDef(TypedDict):
    packageGroups: List[PackageGroupSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See PackageGroupSummaryTypeDef
  2. See ResponseMetadataTypeDef