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)
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)
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],
PackageVersionErrorTypeDef#
# PackageVersionErrorTypeDef definition
class PackageVersionErrorTypeDef(TypedDict):
errorCode: NotRequired[PackageVersionErrorCodeType], # (1)
errorMessage: NotRequired[str],
SuccessfulPackageVersionInfoTypeDef#
# SuccessfulPackageVersionInfoTypeDef definition
class SuccessfulPackageVersionInfoTypeDef(TypedDict):
revision: NotRequired[str],
status: NotRequired[PackageVersionStatusType], # (1)
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],
- 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],
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)
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],
DescribePackageVersionRequestRequestTypeDef#
# DescribePackageVersionRequestRequestTypeDef definition
class DescribePackageVersionRequestRequestTypeDef(TypedDict):
domain: str,
repository: str,
format: PackageFormatType, # (1)
package: str,
packageVersion: str,
domainOwner: NotRequired[str],
namespace: NotRequired[str],
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)
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],
- See DomainStatusType
GetAssociatedPackageGroupRequestRequestTypeDef#
# GetAssociatedPackageGroupRequestRequestTypeDef definition
class GetAssociatedPackageGroupRequestRequestTypeDef(TypedDict):
domain: str,
format: PackageFormatType, # (1)
package: str,
domainOwner: NotRequired[str],
namespace: NotRequired[str],
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],
GetPackageVersionReadmeRequestRequestTypeDef#
# GetPackageVersionReadmeRequestRequestTypeDef definition
class GetPackageVersionReadmeRequestRequestTypeDef(TypedDict):
domain: str,
repository: str,
format: PackageFormatType, # (1)
package: str,
packageVersion: str,
domainOwner: NotRequired[str],
namespace: NotRequired[str],
GetRepositoryEndpointRequestRequestTypeDef#
# GetRepositoryEndpointRequestRequestTypeDef definition
class GetRepositoryEndpointRequestRequestTypeDef(TypedDict):
domain: str,
repository: str,
format: PackageFormatType, # (1)
domainOwner: NotRequired[str],
endpointType: NotRequired[EndpointTypeType], # (2)
- See PackageFormatType
- 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],
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],
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],
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)
- See PackageFormatType
- See PackageVersionStatusType
- See PackageVersionSortTypeType
- 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)
- See PackageFormatType
- See AllowPublishType
- 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)
PackageGroupReferenceTypeDef#
# PackageGroupReferenceTypeDef definition
class PackageGroupReferenceTypeDef(TypedDict):
arn: NotRequired[str],
pattern: NotRequired[str],
PackageOriginRestrictionsTypeDef#
# PackageOriginRestrictionsTypeDef definition
class PackageOriginRestrictionsTypeDef(TypedDict):
publish: AllowPublishType, # (1)
upstream: AllowUpstreamType, # (2)
- See AllowPublishType
- 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)
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)
GetAuthorizationTokenResultTypeDef#
# GetAuthorizationTokenResultTypeDef definition
class GetAuthorizationTokenResultTypeDef(TypedDict):
authorizationToken: str,
expiration: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetPackageVersionAssetResultTypeDef#
# GetPackageVersionAssetResultTypeDef definition
class GetPackageVersionAssetResultTypeDef(TypedDict):
asset: StreamingBody,
assetName: str,
packageVersion: str,
packageVersionRevision: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetPackageVersionReadmeResultTypeDef#
# GetPackageVersionReadmeResultTypeDef definition
class GetPackageVersionReadmeResultTypeDef(TypedDict):
format: PackageFormatType, # (1)
namespace: str,
package: str,
version: str,
versionRevision: str,
readme: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetRepositoryEndpointResultTypeDef#
# GetRepositoryEndpointResultTypeDef definition
class GetRepositoryEndpointResultTypeDef(TypedDict):
repositoryEndpoint: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListAllowedRepositoriesForGroupResultTypeDef#
# ListAllowedRepositoriesForGroupResultTypeDef definition
class ListAllowedRepositoriesForGroupResultTypeDef(TypedDict):
allowedRepositories: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
nextToken: NotRequired[str],
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],
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)
- See PackageFormatType
- See PackageVersionStatusType
- See AssetSummaryTypeDef
- See ResponseMetadataTypeDef
ListAssociatedPackagesResultTypeDef#
# ListAssociatedPackagesResultTypeDef definition
class ListAssociatedPackagesResultTypeDef(TypedDict):
packages: List[AssociatedPackageTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
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],
CopyPackageVersionsResultTypeDef#
# CopyPackageVersionsResultTypeDef definition
class CopyPackageVersionsResultTypeDef(TypedDict):
successfulVersions: Dict[str, SuccessfulPackageVersionInfoTypeDef], # (1)
failedVersions: Dict[str, PackageVersionErrorTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
DeletePackageVersionsResultTypeDef#
# DeletePackageVersionsResultTypeDef definition
class DeletePackageVersionsResultTypeDef(TypedDict):
successfulVersions: Dict[str, SuccessfulPackageVersionInfoTypeDef], # (1)
failedVersions: Dict[str, PackageVersionErrorTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
DisposePackageVersionsResultTypeDef#
# DisposePackageVersionsResultTypeDef definition
class DisposePackageVersionsResultTypeDef(TypedDict):
successfulVersions: Dict[str, SuccessfulPackageVersionInfoTypeDef], # (1)
failedVersions: Dict[str, PackageVersionErrorTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
UpdatePackageVersionsStatusResultTypeDef#
# UpdatePackageVersionsStatusResultTypeDef definition
class UpdatePackageVersionsStatusResultTypeDef(TypedDict):
successfulVersions: Dict[str, SuccessfulPackageVersionInfoTypeDef], # (1)
failedVersions: Dict[str, PackageVersionErrorTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
CreateDomainRequestRequestTypeDef#
# CreateDomainRequestRequestTypeDef definition
class CreateDomainRequestRequestTypeDef(TypedDict):
domain: str,
encryptionKey: NotRequired[str],
tags: NotRequired[Sequence[TagTypeDef]], # (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)
- See TagTypeDef
ListTagsForResourceResultTypeDef#
# ListTagsForResourceResultTypeDef definition
class ListTagsForResourceResultTypeDef(TypedDict):
tags: List[TagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TagTypeDef
- See ResponseMetadataTypeDef
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
CreateDomainResultTypeDef#
# CreateDomainResultTypeDef definition
class CreateDomainResultTypeDef(TypedDict):
domain: DomainDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteDomainResultTypeDef#
# DeleteDomainResultTypeDef definition
class DeleteDomainResultTypeDef(TypedDict):
domain: DomainDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeDomainResultTypeDef#
# DescribeDomainResultTypeDef definition
class DescribeDomainResultTypeDef(TypedDict):
domain: DomainDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
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)
- See UpstreamRepositoryTypeDef
- See TagTypeDef
UpdateRepositoryRequestRequestTypeDef#
# UpdateRepositoryRequestRequestTypeDef definition
class UpdateRepositoryRequestRequestTypeDef(TypedDict):
domain: str,
repository: str,
domainOwner: NotRequired[str],
description: NotRequired[str],
upstreams: NotRequired[Sequence[UpstreamRepositoryTypeDef]], # (1)
DeleteDomainPermissionsPolicyResultTypeDef#
# DeleteDomainPermissionsPolicyResultTypeDef definition
class DeleteDomainPermissionsPolicyResultTypeDef(TypedDict):
policy: ResourcePolicyTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteRepositoryPermissionsPolicyResultTypeDef#
# DeleteRepositoryPermissionsPolicyResultTypeDef definition
class DeleteRepositoryPermissionsPolicyResultTypeDef(TypedDict):
policy: ResourcePolicyTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetDomainPermissionsPolicyResultTypeDef#
# GetDomainPermissionsPolicyResultTypeDef definition
class GetDomainPermissionsPolicyResultTypeDef(TypedDict):
policy: ResourcePolicyTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetRepositoryPermissionsPolicyResultTypeDef#
# GetRepositoryPermissionsPolicyResultTypeDef definition
class GetRepositoryPermissionsPolicyResultTypeDef(TypedDict):
policy: ResourcePolicyTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PutDomainPermissionsPolicyResultTypeDef#
# PutDomainPermissionsPolicyResultTypeDef definition
class PutDomainPermissionsPolicyResultTypeDef(TypedDict):
policy: ResourcePolicyTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PutRepositoryPermissionsPolicyResultTypeDef#
# PutRepositoryPermissionsPolicyResultTypeDef definition
class PutRepositoryPermissionsPolicyResultTypeDef(TypedDict):
policy: ResourcePolicyTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PackageVersionOriginTypeDef#
# PackageVersionOriginTypeDef definition
class PackageVersionOriginTypeDef(TypedDict):
domainEntryPoint: NotRequired[DomainEntryPointTypeDef], # (1)
originType: NotRequired[PackageVersionOriginTypeType], # (2)
ListDomainsResultTypeDef#
# ListDomainsResultTypeDef definition
class ListDomainsResultTypeDef(TypedDict):
domains: List[DomainSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListAllowedRepositoriesForGroupRequestListAllowedRepositoriesForGroupPaginateTypeDef#
# ListAllowedRepositoriesForGroupRequestListAllowedRepositoriesForGroupPaginateTypeDef definition
class ListAllowedRepositoriesForGroupRequestListAllowedRepositoriesForGroupPaginateTypeDef(TypedDict):
domain: str,
packageGroup: str,
originRestrictionType: PackageGroupOriginRestrictionTypeType, # (1)
domainOwner: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListAssociatedPackagesRequestListAssociatedPackagesPaginateTypeDef#
# ListAssociatedPackagesRequestListAssociatedPackagesPaginateTypeDef definition
class ListAssociatedPackagesRequestListAssociatedPackagesPaginateTypeDef(TypedDict):
domain: str,
packageGroup: str,
domainOwner: NotRequired[str],
preview: NotRequired[bool],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListDomainsRequestListDomainsPaginateTypeDef#
# ListDomainsRequestListDomainsPaginateTypeDef definition
class ListDomainsRequestListDomainsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListPackageGroupsRequestListPackageGroupsPaginateTypeDef#
# ListPackageGroupsRequestListPackageGroupsPaginateTypeDef definition
class ListPackageGroupsRequestListPackageGroupsPaginateTypeDef(TypedDict):
domain: str,
domainOwner: NotRequired[str],
prefix: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
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)
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)
- See PackageFormatType
- See PackageVersionStatusType
- See PackageVersionSortTypeType
- See PackageVersionOriginTypeType
- 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)
- See PackageFormatType
- See AllowPublishType
- See AllowUpstreamType
- See PaginatorConfigTypeDef
ListRepositoriesInDomainRequestListRepositoriesInDomainPaginateTypeDef#
# ListRepositoriesInDomainRequestListRepositoriesInDomainPaginateTypeDef definition
class ListRepositoriesInDomainRequestListRepositoriesInDomainPaginateTypeDef(TypedDict):
domain: str,
domainOwner: NotRequired[str],
administratorAccount: NotRequired[str],
repositoryPrefix: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListRepositoriesRequestListRepositoriesPaginateTypeDef#
# ListRepositoriesRequestListRepositoriesPaginateTypeDef definition
class ListRepositoriesRequestListRepositoriesPaginateTypeDef(TypedDict):
repositoryPrefix: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListSubPackageGroupsRequestListSubPackageGroupsPaginateTypeDef#
# ListSubPackageGroupsRequestListSubPackageGroupsPaginateTypeDef definition
class ListSubPackageGroupsRequestListSubPackageGroupsPaginateTypeDef(TypedDict):
domain: str,
packageGroup: str,
domainOwner: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
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],
ListRepositoriesInDomainResultTypeDef#
# ListRepositoriesInDomainResultTypeDef definition
class ListRepositoriesInDomainResultTypeDef(TypedDict):
repositories: List[RepositorySummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListRepositoriesResultTypeDef#
# ListRepositoriesResultTypeDef definition
class ListRepositoriesResultTypeDef(TypedDict):
repositories: List[RepositorySummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
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)
- See PackageGroupOriginRestrictionTypeType PackageGroupOriginRestrictionModeType
- See PackageGroupAllowedRepositoryTypeDef
- See PackageGroupAllowedRepositoryTypeDef
PackageGroupOriginRestrictionTypeDef#
# PackageGroupOriginRestrictionTypeDef definition
class PackageGroupOriginRestrictionTypeDef(TypedDict):
mode: NotRequired[PackageGroupOriginRestrictionModeType], # (1)
effectiveMode: NotRequired[PackageGroupOriginRestrictionModeType], # (1)
inheritedFrom: NotRequired[PackageGroupReferenceTypeDef], # (3)
repositoriesCount: NotRequired[int],
- See PackageGroupOriginRestrictionModeType
- See PackageGroupOriginRestrictionModeType
- See PackageGroupReferenceTypeDef
PackageOriginConfigurationTypeDef#
# PackageOriginConfigurationTypeDef definition
class PackageOriginConfigurationTypeDef(TypedDict):
restrictions: NotRequired[PackageOriginRestrictionsTypeDef], # (1)
PutPackageOriginConfigurationRequestRequestTypeDef#
# PutPackageOriginConfigurationRequestRequestTypeDef definition
class PutPackageOriginConfigurationRequestRequestTypeDef(TypedDict):
domain: str,
repository: str,
format: PackageFormatType, # (1)
package: str,
restrictions: PackageOriginRestrictionsTypeDef, # (2)
domainOwner: NotRequired[str],
namespace: NotRequired[str],
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],
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)
- See PackageFormatType
- See LicenseInfoTypeDef
- See PackageVersionStatusType
- See PackageVersionOriginTypeDef
PackageVersionSummaryTypeDef#
# PackageVersionSummaryTypeDef definition
class PackageVersionSummaryTypeDef(TypedDict):
version: str,
status: PackageVersionStatusType, # (1)
revision: NotRequired[str],
origin: NotRequired[PackageVersionOriginTypeDef], # (2)
PackageGroupOriginConfigurationTypeDef#
# PackageGroupOriginConfigurationTypeDef definition
class PackageGroupOriginConfigurationTypeDef(TypedDict):
restrictions: NotRequired[Dict[PackageGroupOriginRestrictionTypeType, PackageGroupOriginRestrictionTypeDef]], # (1)
PackageDescriptionTypeDef#
# PackageDescriptionTypeDef definition
class PackageDescriptionTypeDef(TypedDict):
format: NotRequired[PackageFormatType], # (1)
namespace: NotRequired[str],
name: NotRequired[str],
originConfiguration: NotRequired[PackageOriginConfigurationTypeDef], # (2)
PackageSummaryTypeDef#
# PackageSummaryTypeDef definition
class PackageSummaryTypeDef(TypedDict):
format: NotRequired[PackageFormatType], # (1)
namespace: NotRequired[str],
package: NotRequired[str],
originConfiguration: NotRequired[PackageOriginConfigurationTypeDef], # (2)
PutPackageOriginConfigurationResultTypeDef#
# PutPackageOriginConfigurationResultTypeDef definition
class PutPackageOriginConfigurationResultTypeDef(TypedDict):
originConfiguration: PackageOriginConfigurationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
AssociateExternalConnectionResultTypeDef#
# AssociateExternalConnectionResultTypeDef definition
class AssociateExternalConnectionResultTypeDef(TypedDict):
repository: RepositoryDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateRepositoryResultTypeDef#
# CreateRepositoryResultTypeDef definition
class CreateRepositoryResultTypeDef(TypedDict):
repository: RepositoryDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteRepositoryResultTypeDef#
# DeleteRepositoryResultTypeDef definition
class DeleteRepositoryResultTypeDef(TypedDict):
repository: RepositoryDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeRepositoryResultTypeDef#
# DescribeRepositoryResultTypeDef definition
class DescribeRepositoryResultTypeDef(TypedDict):
repository: RepositoryDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DisassociateExternalConnectionResultTypeDef#
# DisassociateExternalConnectionResultTypeDef definition
class DisassociateExternalConnectionResultTypeDef(TypedDict):
repository: RepositoryDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateRepositoryResultTypeDef#
# UpdateRepositoryResultTypeDef definition
class UpdateRepositoryResultTypeDef(TypedDict):
repository: RepositoryDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribePackageVersionResultTypeDef#
# DescribePackageVersionResultTypeDef definition
class DescribePackageVersionResultTypeDef(TypedDict):
packageVersion: PackageVersionDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
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],
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)
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)
DescribePackageResultTypeDef#
# DescribePackageResultTypeDef definition
class DescribePackageResultTypeDef(TypedDict):
package: PackageDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeletePackageResultTypeDef#
# DeletePackageResultTypeDef definition
class DeletePackageResultTypeDef(TypedDict):
deletedPackage: PackageSummaryTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListPackagesResultTypeDef#
# ListPackagesResultTypeDef definition
class ListPackagesResultTypeDef(TypedDict):
packages: List[PackageSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
CreatePackageGroupResultTypeDef#
# CreatePackageGroupResultTypeDef definition
class CreatePackageGroupResultTypeDef(TypedDict):
packageGroup: PackageGroupDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeletePackageGroupResultTypeDef#
# DeletePackageGroupResultTypeDef definition
class DeletePackageGroupResultTypeDef(TypedDict):
packageGroup: PackageGroupDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribePackageGroupResultTypeDef#
# DescribePackageGroupResultTypeDef definition
class DescribePackageGroupResultTypeDef(TypedDict):
packageGroup: PackageGroupDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetAssociatedPackageGroupResultTypeDef#
# GetAssociatedPackageGroupResultTypeDef definition
class GetAssociatedPackageGroupResultTypeDef(TypedDict):
packageGroup: PackageGroupDescriptionTypeDef, # (1)
associationType: PackageGroupAssociationTypeType, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
UpdatePackageGroupOriginConfigurationResultTypeDef#
# UpdatePackageGroupOriginConfigurationResultTypeDef definition
class UpdatePackageGroupOriginConfigurationResultTypeDef(TypedDict):
packageGroup: PackageGroupDescriptionTypeDef, # (1)
allowedRepositoryUpdates: Dict[PackageGroupOriginRestrictionTypeType, Dict[PackageGroupAllowedRepositoryUpdateTypeType, List[str]]], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See PackageGroupDescriptionTypeDef
- See PackageGroupOriginRestrictionTypeType PackageGroupAllowedRepositoryUpdateTypeType
- See ResponseMetadataTypeDef
UpdatePackageGroupResultTypeDef#
# UpdatePackageGroupResultTypeDef definition
class UpdatePackageGroupResultTypeDef(TypedDict):
packageGroup: PackageGroupDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListPackageGroupsResultTypeDef#
# ListPackageGroupsResultTypeDef definition
class ListPackageGroupsResultTypeDef(TypedDict):
packageGroups: List[PackageGroupSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListSubPackageGroupsResultTypeDef#
# ListSubPackageGroupsResultTypeDef definition
class ListSubPackageGroupsResultTypeDef(TypedDict):
packageGroups: List[PackageGroupSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],