Skip to content

Typed dictionaries

Index > CodeArtifact > Typed dictionaries

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

AssetSummaryTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import AssetSummaryTypeDef

def get_value() -> AssetSummaryTypeDef:
    return {
        "name": ...,
    }
Definition
class AssetSummaryTypeDef(TypedDict):
    name: str,
    size: NotRequired[int],
    hashes: NotRequired[Dict[HashAlgorithmType, str]],  # (1)
  1. See HashAlgorithmType

AssociateExternalConnectionRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import AssociateExternalConnectionRequestRequestTypeDef

def get_value() -> AssociateExternalConnectionRequestRequestTypeDef:
    return {
        "domain": ...,
        "repository": ...,
        "externalConnection": ...,
    }
Definition
class AssociateExternalConnectionRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    externalConnection: str,
    domainOwner: NotRequired[str],

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

CopyPackageVersionsRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import CopyPackageVersionsRequestRequestTypeDef

def get_value() -> CopyPackageVersionsRequestRequestTypeDef:
    return {
        "domain": ...,
        "sourceRepository": ...,
        "destinationRepository": ...,
        "format": ...,
        "package": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import PackageVersionErrorTypeDef

def get_value() -> PackageVersionErrorTypeDef:
    return {
        "errorCode": ...,
    }
Definition
class PackageVersionErrorTypeDef(TypedDict):
    errorCode: NotRequired[PackageVersionErrorCodeType],  # (1)
    errorMessage: NotRequired[str],
  1. See PackageVersionErrorCodeType

SuccessfulPackageVersionInfoTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import SuccessfulPackageVersionInfoTypeDef

def get_value() -> SuccessfulPackageVersionInfoTypeDef:
    return {
        "revision": ...,
    }
Definition
class SuccessfulPackageVersionInfoTypeDef(TypedDict):
    revision: NotRequired[str],
    status: NotRequired[PackageVersionStatusType],  # (1)
  1. See PackageVersionStatusType

TagTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "key": ...,
        "value": ...,
    }
Definition
class TagTypeDef(TypedDict):
    key: str,
    value: str,

DomainDescriptionTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import DomainDescriptionTypeDef

def get_value() -> DomainDescriptionTypeDef:
    return {
        "name": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import UpstreamRepositoryTypeDef

def get_value() -> UpstreamRepositoryTypeDef:
    return {
        "repositoryName": ...,
    }
Definition
class UpstreamRepositoryTypeDef(TypedDict):
    repositoryName: str,

DeleteDomainPermissionsPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import DeleteDomainPermissionsPolicyRequestRequestTypeDef

def get_value() -> DeleteDomainPermissionsPolicyRequestRequestTypeDef:
    return {
        "domain": ...,
    }
Definition
class DeleteDomainPermissionsPolicyRequestRequestTypeDef(TypedDict):
    domain: str,
    domainOwner: NotRequired[str],
    policyRevision: NotRequired[str],

ResourcePolicyTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import ResourcePolicyTypeDef

def get_value() -> ResourcePolicyTypeDef:
    return {
        "resourceArn": ...,
    }
Definition
class ResourcePolicyTypeDef(TypedDict):
    resourceArn: NotRequired[str],
    revision: NotRequired[str],
    document: NotRequired[str],

DeleteDomainRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import DeleteDomainRequestRequestTypeDef

def get_value() -> DeleteDomainRequestRequestTypeDef:
    return {
        "domain": ...,
    }
Definition
class DeleteDomainRequestRequestTypeDef(TypedDict):
    domain: str,
    domainOwner: NotRequired[str],

DeletePackageVersionsRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import DeletePackageVersionsRequestRequestTypeDef

def get_value() -> DeletePackageVersionsRequestRequestTypeDef:
    return {
        "domain": ...,
        "repository": ...,
        "format": ...,
        "package": ...,
        "versions": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import DeleteRepositoryPermissionsPolicyRequestRequestTypeDef

def get_value() -> DeleteRepositoryPermissionsPolicyRequestRequestTypeDef:
    return {
        "domain": ...,
        "repository": ...,
    }
Definition
class DeleteRepositoryPermissionsPolicyRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    domainOwner: NotRequired[str],
    policyRevision: NotRequired[str],

DeleteRepositoryRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import DeleteRepositoryRequestRequestTypeDef

def get_value() -> DeleteRepositoryRequestRequestTypeDef:
    return {
        "domain": ...,
        "repository": ...,
    }
Definition
class DeleteRepositoryRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    domainOwner: NotRequired[str],

DescribeDomainRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import DescribeDomainRequestRequestTypeDef

def get_value() -> DescribeDomainRequestRequestTypeDef:
    return {
        "domain": ...,
    }
Definition
class DescribeDomainRequestRequestTypeDef(TypedDict):
    domain: str,
    domainOwner: NotRequired[str],

DescribePackageRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import DescribePackageRequestRequestTypeDef

def get_value() -> DescribePackageRequestRequestTypeDef:
    return {
        "domain": ...,
        "repository": ...,
        "format": ...,
        "package": ...,
    }
Definition
class DescribePackageRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    format: PackageFormatType,  # (1)
    package: str,
    domainOwner: NotRequired[str],
    namespace: NotRequired[str],
  1. See PackageFormatType

DescribePackageVersionRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import DescribePackageVersionRequestRequestTypeDef

def get_value() -> DescribePackageVersionRequestRequestTypeDef:
    return {
        "domain": ...,
        "repository": ...,
        "format": ...,
        "package": ...,
        "packageVersion": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import DescribeRepositoryRequestRequestTypeDef

def get_value() -> DescribeRepositoryRequestRequestTypeDef:
    return {
        "domain": ...,
        "repository": ...,
    }
Definition
class DescribeRepositoryRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    domainOwner: NotRequired[str],

DisassociateExternalConnectionRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import DisassociateExternalConnectionRequestRequestTypeDef

def get_value() -> DisassociateExternalConnectionRequestRequestTypeDef:
    return {
        "domain": ...,
        "repository": ...,
        "externalConnection": ...,
    }
Definition
class DisassociateExternalConnectionRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    externalConnection: str,
    domainOwner: NotRequired[str],

DisposePackageVersionsRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import DisposePackageVersionsRequestRequestTypeDef

def get_value() -> DisposePackageVersionsRequestRequestTypeDef:
    return {
        "domain": ...,
        "repository": ...,
        "format": ...,
        "package": ...,
        "versions": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import DomainEntryPointTypeDef

def get_value() -> DomainEntryPointTypeDef:
    return {
        "repositoryName": ...,
    }
Definition
class DomainEntryPointTypeDef(TypedDict):
    repositoryName: NotRequired[str],
    externalConnectionName: NotRequired[str],

DomainSummaryTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import DomainSummaryTypeDef

def get_value() -> DomainSummaryTypeDef:
    return {
        "name": ...,
    }
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

GetAuthorizationTokenRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import GetAuthorizationTokenRequestRequestTypeDef

def get_value() -> GetAuthorizationTokenRequestRequestTypeDef:
    return {
        "domain": ...,
    }
Definition
class GetAuthorizationTokenRequestRequestTypeDef(TypedDict):
    domain: str,
    domainOwner: NotRequired[str],
    durationSeconds: NotRequired[int],

GetDomainPermissionsPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import GetDomainPermissionsPolicyRequestRequestTypeDef

def get_value() -> GetDomainPermissionsPolicyRequestRequestTypeDef:
    return {
        "domain": ...,
    }
Definition
class GetDomainPermissionsPolicyRequestRequestTypeDef(TypedDict):
    domain: str,
    domainOwner: NotRequired[str],

GetPackageVersionAssetRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import GetPackageVersionAssetRequestRequestTypeDef

def get_value() -> GetPackageVersionAssetRequestRequestTypeDef:
    return {
        "domain": ...,
        "repository": ...,
        "format": ...,
        "package": ...,
        "packageVersion": ...,
        "asset": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import GetPackageVersionReadmeRequestRequestTypeDef

def get_value() -> GetPackageVersionReadmeRequestRequestTypeDef:
    return {
        "domain": ...,
        "repository": ...,
        "format": ...,
        "package": ...,
        "packageVersion": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import GetRepositoryEndpointRequestRequestTypeDef

def get_value() -> GetRepositoryEndpointRequestRequestTypeDef:
    return {
        "domain": ...,
        "repository": ...,
        "format": ...,
    }
Definition
class GetRepositoryEndpointRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    format: PackageFormatType,  # (1)
    domainOwner: NotRequired[str],
  1. See PackageFormatType

GetRepositoryPermissionsPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import GetRepositoryPermissionsPolicyRequestRequestTypeDef

def get_value() -> GetRepositoryPermissionsPolicyRequestRequestTypeDef:
    return {
        "domain": ...,
        "repository": ...,
    }
Definition
class GetRepositoryPermissionsPolicyRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    domainOwner: NotRequired[str],

LicenseInfoTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import LicenseInfoTypeDef

def get_value() -> LicenseInfoTypeDef:
    return {
        "name": ...,
    }
Definition
class LicenseInfoTypeDef(TypedDict):
    name: NotRequired[str],
    url: NotRequired[str],

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListDomainsRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import ListDomainsRequestRequestTypeDef

def get_value() -> ListDomainsRequestRequestTypeDef:
    return {
        "maxResults": ...,
    }
Definition
class ListDomainsRequestRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListPackageVersionAssetsRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import ListPackageVersionAssetsRequestRequestTypeDef

def get_value() -> ListPackageVersionAssetsRequestRequestTypeDef:
    return {
        "domain": ...,
        "repository": ...,
        "format": ...,
        "package": ...,
        "packageVersion": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import ListPackageVersionDependenciesRequestRequestTypeDef

def get_value() -> ListPackageVersionDependenciesRequestRequestTypeDef:
    return {
        "domain": ...,
        "repository": ...,
        "format": ...,
        "package": ...,
        "packageVersion": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import PackageDependencyTypeDef

def get_value() -> PackageDependencyTypeDef:
    return {
        "namespace": ...,
    }
Definition
class PackageDependencyTypeDef(TypedDict):
    namespace: NotRequired[str],
    package: NotRequired[str],
    dependencyType: NotRequired[str],
    versionRequirement: NotRequired[str],

ListPackageVersionsRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import ListPackageVersionsRequestRequestTypeDef

def get_value() -> ListPackageVersionsRequestRequestTypeDef:
    return {
        "domain": ...,
        "repository": ...,
        "format": ...,
        "package": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import ListPackagesRequestRequestTypeDef

def get_value() -> ListPackagesRequestRequestTypeDef:
    return {
        "domain": ...,
        "repository": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import ListRepositoriesInDomainRequestRequestTypeDef

def get_value() -> ListRepositoriesInDomainRequestRequestTypeDef:
    return {
        "domain": ...,
    }
Definition
class ListRepositoriesInDomainRequestRequestTypeDef(TypedDict):
    domain: str,
    domainOwner: NotRequired[str],
    administratorAccount: NotRequired[str],
    repositoryPrefix: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

RepositorySummaryTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import RepositorySummaryTypeDef

def get_value() -> RepositorySummaryTypeDef:
    return {
        "name": ...,
    }
Definition
class RepositorySummaryTypeDef(TypedDict):
    name: NotRequired[str],
    administratorAccount: NotRequired[str],
    domainName: NotRequired[str],
    domainOwner: NotRequired[str],
    arn: NotRequired[str],
    description: NotRequired[str],

ListRepositoriesRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import ListRepositoriesRequestRequestTypeDef

def get_value() -> ListRepositoriesRequestRequestTypeDef:
    return {
        "repositoryPrefix": ...,
    }
Definition
class ListRepositoriesRequestRequestTypeDef(TypedDict):
    repositoryPrefix: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListTagsForResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
    }
Definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

PackageOriginRestrictionsTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import PackageOriginRestrictionsTypeDef

def get_value() -> PackageOriginRestrictionsTypeDef:
    return {
        "publish": ...,
        "upstream": ...,
    }
Definition
class PackageOriginRestrictionsTypeDef(TypedDict):
    publish: AllowPublishType,  # (1)
    upstream: AllowUpstreamType,  # (2)
  1. See AllowPublishType
  2. See AllowUpstreamType

PutDomainPermissionsPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import PutDomainPermissionsPolicyRequestRequestTypeDef

def get_value() -> PutDomainPermissionsPolicyRequestRequestTypeDef:
    return {
        "domain": ...,
        "policyDocument": ...,
    }
Definition
class PutDomainPermissionsPolicyRequestRequestTypeDef(TypedDict):
    domain: str,
    policyDocument: str,
    domainOwner: NotRequired[str],
    policyRevision: NotRequired[str],

PutRepositoryPermissionsPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import PutRepositoryPermissionsPolicyRequestRequestTypeDef

def get_value() -> PutRepositoryPermissionsPolicyRequestRequestTypeDef:
    return {
        "domain": ...,
        "repository": ...,
        "policyDocument": ...,
    }
Definition
class PutRepositoryPermissionsPolicyRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    policyDocument: str,
    domainOwner: NotRequired[str],
    policyRevision: NotRequired[str],

RepositoryExternalConnectionInfoTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import RepositoryExternalConnectionInfoTypeDef

def get_value() -> RepositoryExternalConnectionInfoTypeDef:
    return {
        "externalConnectionName": ...,
    }
Definition
class RepositoryExternalConnectionInfoTypeDef(TypedDict):
    externalConnectionName: NotRequired[str],
    packageFormat: NotRequired[PackageFormatType],  # (1)
    status: NotRequired[ExternalConnectionStatusType],  # (2)
  1. See PackageFormatType
  2. See ExternalConnectionStatusType

UpstreamRepositoryInfoTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import UpstreamRepositoryInfoTypeDef

def get_value() -> UpstreamRepositoryInfoTypeDef:
    return {
        "repositoryName": ...,
    }
Definition
class UpstreamRepositoryInfoTypeDef(TypedDict):
    repositoryName: NotRequired[str],

UntagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "tagKeys": ...,
    }
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: Sequence[str],

UpdatePackageVersionsStatusRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import UpdatePackageVersionsStatusRequestRequestTypeDef

def get_value() -> UpdatePackageVersionsStatusRequestRequestTypeDef:
    return {
        "domain": ...,
        "repository": ...,
        "format": ...,
        "package": ...,
        "versions": ...,
        "targetStatus": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import GetAuthorizationTokenResultTypeDef

def get_value() -> GetAuthorizationTokenResultTypeDef:
    return {
        "authorizationToken": ...,
        "expiration": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetAuthorizationTokenResultTypeDef(TypedDict):
    authorizationToken: str,
    expiration: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetPackageVersionAssetResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import GetPackageVersionAssetResultTypeDef

def get_value() -> GetPackageVersionAssetResultTypeDef:
    return {
        "asset": ...,
        "assetName": ...,
        "packageVersion": ...,
        "packageVersionRevision": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetPackageVersionAssetResultTypeDef(TypedDict):
    asset: StreamingBody,
    assetName: str,
    packageVersion: str,
    packageVersionRevision: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetPackageVersionReadmeResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import GetPackageVersionReadmeResultTypeDef

def get_value() -> GetPackageVersionReadmeResultTypeDef:
    return {
        "format": ...,
        "namespace": ...,
        "package": ...,
        "version": ...,
        "versionRevision": ...,
        "readme": ...,
        "ResponseMetadata": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import GetRepositoryEndpointResultTypeDef

def get_value() -> GetRepositoryEndpointResultTypeDef:
    return {
        "repositoryEndpoint": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetRepositoryEndpointResultTypeDef(TypedDict):
    repositoryEndpoint: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListPackageVersionAssetsResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import ListPackageVersionAssetsResultTypeDef

def get_value() -> ListPackageVersionAssetsResultTypeDef:
    return {
        "format": ...,
        "namespace": ...,
        "package": ...,
        "version": ...,
        "versionRevision": ...,
        "nextToken": ...,
        "assets": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListPackageVersionAssetsResultTypeDef(TypedDict):
    format: PackageFormatType,  # (1)
    namespace: str,
    package: str,
    version: str,
    versionRevision: str,
    nextToken: str,
    assets: List[AssetSummaryTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See PackageFormatType
  2. See AssetSummaryTypeDef
  3. See ResponseMetadataTypeDef

CopyPackageVersionsResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import CopyPackageVersionsResultTypeDef

def get_value() -> CopyPackageVersionsResultTypeDef:
    return {
        "successfulVersions": ...,
        "failedVersions": ...,
        "ResponseMetadata": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import DeletePackageVersionsResultTypeDef

def get_value() -> DeletePackageVersionsResultTypeDef:
    return {
        "successfulVersions": ...,
        "failedVersions": ...,
        "ResponseMetadata": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import DisposePackageVersionsResultTypeDef

def get_value() -> DisposePackageVersionsResultTypeDef:
    return {
        "successfulVersions": ...,
        "failedVersions": ...,
        "ResponseMetadata": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import UpdatePackageVersionsStatusResultTypeDef

def get_value() -> UpdatePackageVersionsStatusResultTypeDef:
    return {
        "successfulVersions": ...,
        "failedVersions": ...,
        "ResponseMetadata": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import CreateDomainRequestRequestTypeDef

def get_value() -> CreateDomainRequestRequestTypeDef:
    return {
        "domain": ...,
    }
Definition
class CreateDomainRequestRequestTypeDef(TypedDict):
    domain: str,
    encryptionKey: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

ListTagsForResourceResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import ListTagsForResourceResultTypeDef

def get_value() -> ListTagsForResourceResultTypeDef:
    return {
        "tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTagsForResourceResultTypeDef(TypedDict):
    tags: List[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "tags": ...,
    }
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

CreateDomainResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import CreateDomainResultTypeDef

def get_value() -> CreateDomainResultTypeDef:
    return {
        "domain": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateDomainResultTypeDef(TypedDict):
    domain: DomainDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DomainDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DeleteDomainResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import DeleteDomainResultTypeDef

def get_value() -> DeleteDomainResultTypeDef:
    return {
        "domain": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteDomainResultTypeDef(TypedDict):
    domain: DomainDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DomainDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DescribeDomainResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import DescribeDomainResultTypeDef

def get_value() -> DescribeDomainResultTypeDef:
    return {
        "domain": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeDomainResultTypeDef(TypedDict):
    domain: DomainDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DomainDescriptionTypeDef
  2. See ResponseMetadataTypeDef

CreateRepositoryRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import CreateRepositoryRequestRequestTypeDef

def get_value() -> CreateRepositoryRequestRequestTypeDef:
    return {
        "domain": ...,
        "repository": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import UpdateRepositoryRequestRequestTypeDef

def get_value() -> UpdateRepositoryRequestRequestTypeDef:
    return {
        "domain": ...,
        "repository": ...,
    }
Definition
class UpdateRepositoryRequestRequestTypeDef(TypedDict):
    domain: str,
    repository: str,
    domainOwner: NotRequired[str],
    description: NotRequired[str],
    upstreams: NotRequired[Sequence[UpstreamRepositoryTypeDef]],  # (1)
  1. See UpstreamRepositoryTypeDef

DeleteDomainPermissionsPolicyResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import DeleteDomainPermissionsPolicyResultTypeDef

def get_value() -> DeleteDomainPermissionsPolicyResultTypeDef:
    return {
        "policy": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteDomainPermissionsPolicyResultTypeDef(TypedDict):
    policy: ResourcePolicyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResourcePolicyTypeDef
  2. See ResponseMetadataTypeDef

DeleteRepositoryPermissionsPolicyResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import DeleteRepositoryPermissionsPolicyResultTypeDef

def get_value() -> DeleteRepositoryPermissionsPolicyResultTypeDef:
    return {
        "policy": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteRepositoryPermissionsPolicyResultTypeDef(TypedDict):
    policy: ResourcePolicyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResourcePolicyTypeDef
  2. See ResponseMetadataTypeDef

GetDomainPermissionsPolicyResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import GetDomainPermissionsPolicyResultTypeDef

def get_value() -> GetDomainPermissionsPolicyResultTypeDef:
    return {
        "policy": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetDomainPermissionsPolicyResultTypeDef(TypedDict):
    policy: ResourcePolicyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResourcePolicyTypeDef
  2. See ResponseMetadataTypeDef

GetRepositoryPermissionsPolicyResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import GetRepositoryPermissionsPolicyResultTypeDef

def get_value() -> GetRepositoryPermissionsPolicyResultTypeDef:
    return {
        "policy": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetRepositoryPermissionsPolicyResultTypeDef(TypedDict):
    policy: ResourcePolicyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResourcePolicyTypeDef
  2. See ResponseMetadataTypeDef

PutDomainPermissionsPolicyResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import PutDomainPermissionsPolicyResultTypeDef

def get_value() -> PutDomainPermissionsPolicyResultTypeDef:
    return {
        "policy": ...,
        "ResponseMetadata": ...,
    }
Definition
class PutDomainPermissionsPolicyResultTypeDef(TypedDict):
    policy: ResourcePolicyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResourcePolicyTypeDef
  2. See ResponseMetadataTypeDef

PutRepositoryPermissionsPolicyResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import PutRepositoryPermissionsPolicyResultTypeDef

def get_value() -> PutRepositoryPermissionsPolicyResultTypeDef:
    return {
        "policy": ...,
        "ResponseMetadata": ...,
    }
Definition
class PutRepositoryPermissionsPolicyResultTypeDef(TypedDict):
    policy: ResourcePolicyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResourcePolicyTypeDef
  2. See ResponseMetadataTypeDef

PackageVersionOriginTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import PackageVersionOriginTypeDef

def get_value() -> PackageVersionOriginTypeDef:
    return {
        "domainEntryPoint": ...,
    }
Definition
class PackageVersionOriginTypeDef(TypedDict):
    domainEntryPoint: NotRequired[DomainEntryPointTypeDef],  # (1)
    originType: NotRequired[PackageVersionOriginTypeType],  # (2)
  1. See DomainEntryPointTypeDef
  2. See PackageVersionOriginTypeType

ListDomainsResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import ListDomainsResultTypeDef

def get_value() -> ListDomainsResultTypeDef:
    return {
        "domains": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListDomainsResultTypeDef(TypedDict):
    domains: List[DomainSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DomainSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListDomainsRequestListDomainsPaginateTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import ListDomainsRequestListDomainsPaginateTypeDef

def get_value() -> ListDomainsRequestListDomainsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
Definition
class ListDomainsRequestListDomainsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListPackageVersionAssetsRequestListPackageVersionAssetsPaginateTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import ListPackageVersionAssetsRequestListPackageVersionAssetsPaginateTypeDef

def get_value() -> ListPackageVersionAssetsRequestListPackageVersionAssetsPaginateTypeDef:
    return {
        "domain": ...,
        "repository": ...,
        "format": ...,
        "package": ...,
        "packageVersion": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import ListPackageVersionsRequestListPackageVersionsPaginateTypeDef

def get_value() -> ListPackageVersionsRequestListPackageVersionsPaginateTypeDef:
    return {
        "domain": ...,
        "repository": ...,
        "format": ...,
        "package": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import ListPackagesRequestListPackagesPaginateTypeDef

def get_value() -> ListPackagesRequestListPackagesPaginateTypeDef:
    return {
        "domain": ...,
        "repository": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import ListRepositoriesInDomainRequestListRepositoriesInDomainPaginateTypeDef

def get_value() -> ListRepositoriesInDomainRequestListRepositoriesInDomainPaginateTypeDef:
    return {
        "domain": ...,
    }
Definition
class ListRepositoriesInDomainRequestListRepositoriesInDomainPaginateTypeDef(TypedDict):
    domain: str,
    domainOwner: NotRequired[str],
    administratorAccount: NotRequired[str],
    repositoryPrefix: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListRepositoriesRequestListRepositoriesPaginateTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import ListRepositoriesRequestListRepositoriesPaginateTypeDef

def get_value() -> ListRepositoriesRequestListRepositoriesPaginateTypeDef:
    return {
        "repositoryPrefix": ...,
    }
Definition
class ListRepositoriesRequestListRepositoriesPaginateTypeDef(TypedDict):
    repositoryPrefix: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListPackageVersionDependenciesResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import ListPackageVersionDependenciesResultTypeDef

def get_value() -> ListPackageVersionDependenciesResultTypeDef:
    return {
        "format": ...,
        "namespace": ...,
        "package": ...,
        "version": ...,
        "versionRevision": ...,
        "nextToken": ...,
        "dependencies": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListPackageVersionDependenciesResultTypeDef(TypedDict):
    format: PackageFormatType,  # (1)
    namespace: str,
    package: str,
    version: str,
    versionRevision: str,
    nextToken: str,
    dependencies: List[PackageDependencyTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See PackageFormatType
  2. See PackageDependencyTypeDef
  3. See ResponseMetadataTypeDef

ListRepositoriesInDomainResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import ListRepositoriesInDomainResultTypeDef

def get_value() -> ListRepositoriesInDomainResultTypeDef:
    return {
        "repositories": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListRepositoriesInDomainResultTypeDef(TypedDict):
    repositories: List[RepositorySummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositorySummaryTypeDef
  2. See ResponseMetadataTypeDef

ListRepositoriesResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import ListRepositoriesResultTypeDef

def get_value() -> ListRepositoriesResultTypeDef:
    return {
        "repositories": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListRepositoriesResultTypeDef(TypedDict):
    repositories: List[RepositorySummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositorySummaryTypeDef
  2. See ResponseMetadataTypeDef

PackageOriginConfigurationTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import PackageOriginConfigurationTypeDef

def get_value() -> PackageOriginConfigurationTypeDef:
    return {
        "restrictions": ...,
    }
Definition
class PackageOriginConfigurationTypeDef(TypedDict):
    restrictions: NotRequired[PackageOriginRestrictionsTypeDef],  # (1)
  1. See PackageOriginRestrictionsTypeDef

PutPackageOriginConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import PutPackageOriginConfigurationRequestRequestTypeDef

def get_value() -> PutPackageOriginConfigurationRequestRequestTypeDef:
    return {
        "domain": ...,
        "repository": ...,
        "format": ...,
        "package": ...,
        "restrictions": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import RepositoryDescriptionTypeDef

def get_value() -> RepositoryDescriptionTypeDef:
    return {
        "name": ...,
    }
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)
  1. See UpstreamRepositoryInfoTypeDef
  2. See RepositoryExternalConnectionInfoTypeDef

PackageVersionDescriptionTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import PackageVersionDescriptionTypeDef

def get_value() -> PackageVersionDescriptionTypeDef:
    return {
        "format": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import PackageVersionSummaryTypeDef

def get_value() -> PackageVersionSummaryTypeDef:
    return {
        "version": ...,
        "status": ...,
    }
Definition
class PackageVersionSummaryTypeDef(TypedDict):
    version: str,
    status: PackageVersionStatusType,  # (1)
    revision: NotRequired[str],
    origin: NotRequired[PackageVersionOriginTypeDef],  # (2)
  1. See PackageVersionStatusType
  2. See PackageVersionOriginTypeDef

PackageDescriptionTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import PackageDescriptionTypeDef

def get_value() -> PackageDescriptionTypeDef:
    return {
        "format": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import PackageSummaryTypeDef

def get_value() -> PackageSummaryTypeDef:
    return {
        "format": ...,
    }
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

Usage Example
from mypy_boto3_codeartifact.type_defs import PutPackageOriginConfigurationResultTypeDef

def get_value() -> PutPackageOriginConfigurationResultTypeDef:
    return {
        "originConfiguration": ...,
        "ResponseMetadata": ...,
    }
Definition
class PutPackageOriginConfigurationResultTypeDef(TypedDict):
    originConfiguration: PackageOriginConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PackageOriginConfigurationTypeDef
  2. See ResponseMetadataTypeDef

AssociateExternalConnectionResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import AssociateExternalConnectionResultTypeDef

def get_value() -> AssociateExternalConnectionResultTypeDef:
    return {
        "repository": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssociateExternalConnectionResultTypeDef(TypedDict):
    repository: RepositoryDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositoryDescriptionTypeDef
  2. See ResponseMetadataTypeDef

CreateRepositoryResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import CreateRepositoryResultTypeDef

def get_value() -> CreateRepositoryResultTypeDef:
    return {
        "repository": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateRepositoryResultTypeDef(TypedDict):
    repository: RepositoryDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositoryDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DeleteRepositoryResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import DeleteRepositoryResultTypeDef

def get_value() -> DeleteRepositoryResultTypeDef:
    return {
        "repository": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteRepositoryResultTypeDef(TypedDict):
    repository: RepositoryDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositoryDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DescribeRepositoryResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import DescribeRepositoryResultTypeDef

def get_value() -> DescribeRepositoryResultTypeDef:
    return {
        "repository": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeRepositoryResultTypeDef(TypedDict):
    repository: RepositoryDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositoryDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DisassociateExternalConnectionResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import DisassociateExternalConnectionResultTypeDef

def get_value() -> DisassociateExternalConnectionResultTypeDef:
    return {
        "repository": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisassociateExternalConnectionResultTypeDef(TypedDict):
    repository: RepositoryDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositoryDescriptionTypeDef
  2. See ResponseMetadataTypeDef

UpdateRepositoryResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import UpdateRepositoryResultTypeDef

def get_value() -> UpdateRepositoryResultTypeDef:
    return {
        "repository": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateRepositoryResultTypeDef(TypedDict):
    repository: RepositoryDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositoryDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DescribePackageVersionResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import DescribePackageVersionResultTypeDef

def get_value() -> DescribePackageVersionResultTypeDef:
    return {
        "packageVersion": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribePackageVersionResultTypeDef(TypedDict):
    packageVersion: PackageVersionDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PackageVersionDescriptionTypeDef
  2. See ResponseMetadataTypeDef

ListPackageVersionsResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import ListPackageVersionsResultTypeDef

def get_value() -> ListPackageVersionsResultTypeDef:
    return {
        "defaultDisplayVersion": ...,
        "format": ...,
        "namespace": ...,
        "package": ...,
        "versions": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListPackageVersionsResultTypeDef(TypedDict):
    defaultDisplayVersion: str,
    format: PackageFormatType,  # (1)
    namespace: str,
    package: str,
    versions: List[PackageVersionSummaryTypeDef],  # (2)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See PackageFormatType
  2. See PackageVersionSummaryTypeDef
  3. See ResponseMetadataTypeDef

DescribePackageResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import DescribePackageResultTypeDef

def get_value() -> DescribePackageResultTypeDef:
    return {
        "package": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribePackageResultTypeDef(TypedDict):
    package: PackageDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PackageDescriptionTypeDef
  2. See ResponseMetadataTypeDef

ListPackagesResultTypeDef

Usage Example
from mypy_boto3_codeartifact.type_defs import ListPackagesResultTypeDef

def get_value() -> ListPackagesResultTypeDef:
    return {
        "packages": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListPackagesResultTypeDef(TypedDict):
    packages: List[PackageSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PackageSummaryTypeDef
  2. See ResponseMetadataTypeDef