Skip to content

Type definitions#

Index > ECR > Type definitions

Auto-generated documentation for ECR type annotations stubs module mypy-boto3-ecr.

BlobTypeDef#

# BlobTypeDef definition

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

RegistryScanningRuleUnionTypeDef#

# RegistryScanningRuleUnionTypeDef definition

RegistryScanningRuleUnionTypeDef = Union[
    RegistryScanningRuleTypeDef,  # (1)
    RegistryScanningRuleOutputTypeDef,  # (2)
]
  1. See RegistryScanningRuleTypeDef
  2. See RegistryScanningRuleOutputTypeDef

ReplicationRuleUnionTypeDef#

# ReplicationRuleUnionTypeDef definition

ReplicationRuleUnionTypeDef = Union[
    ReplicationRuleTypeDef,  # (1)
    ReplicationRuleOutputTypeDef,  # (2)
]
  1. See ReplicationRuleTypeDef
  2. See ReplicationRuleOutputTypeDef

AttributeTypeDef#

# AttributeTypeDef definition

class AttributeTypeDef(TypedDict):
    key: str,
    value: NotRequired[str],

AuthorizationDataTypeDef#

# AuthorizationDataTypeDef definition

class AuthorizationDataTypeDef(TypedDict):
    authorizationToken: NotRequired[str],
    expiresAt: NotRequired[datetime],
    proxyEndpoint: NotRequired[str],

AwsEcrContainerImageDetailsTypeDef#

# AwsEcrContainerImageDetailsTypeDef definition

class AwsEcrContainerImageDetailsTypeDef(TypedDict):
    architecture: NotRequired[str],
    author: NotRequired[str],
    imageHash: NotRequired[str],
    imageTags: NotRequired[List[str]],
    platform: NotRequired[str],
    pushedAt: NotRequired[datetime],
    registry: NotRequired[str],
    repositoryName: NotRequired[str],

BatchCheckLayerAvailabilityRequestRequestTypeDef#

# BatchCheckLayerAvailabilityRequestRequestTypeDef definition

class BatchCheckLayerAvailabilityRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    layerDigests: Sequence[str],
    registryId: NotRequired[str],

LayerFailureTypeDef#

# LayerFailureTypeDef definition

class LayerFailureTypeDef(TypedDict):
    layerDigest: NotRequired[str],
    failureCode: NotRequired[LayerFailureCodeType],  # (1)
    failureReason: NotRequired[str],
  1. See LayerFailureCodeType

LayerTypeDef#

# LayerTypeDef definition

class LayerTypeDef(TypedDict):
    layerDigest: NotRequired[str],
    layerAvailability: NotRequired[LayerAvailabilityType],  # (1)
    layerSize: NotRequired[int],
    mediaType: NotRequired[str],
  1. See LayerAvailabilityType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

ImageIdentifierTypeDef#

# ImageIdentifierTypeDef definition

class ImageIdentifierTypeDef(TypedDict):
    imageDigest: NotRequired[str],
    imageTag: NotRequired[str],

BatchGetRepositoryScanningConfigurationRequestRequestTypeDef#

# BatchGetRepositoryScanningConfigurationRequestRequestTypeDef definition

class BatchGetRepositoryScanningConfigurationRequestRequestTypeDef(TypedDict):
    repositoryNames: Sequence[str],

RepositoryScanningConfigurationFailureTypeDef#

# RepositoryScanningConfigurationFailureTypeDef definition

class RepositoryScanningConfigurationFailureTypeDef(TypedDict):
    repositoryName: NotRequired[str],
    failureCode: NotRequired[ScanningConfigurationFailureCodeType],  # (1)
    failureReason: NotRequired[str],
  1. See ScanningConfigurationFailureCodeType

CompleteLayerUploadRequestRequestTypeDef#

# CompleteLayerUploadRequestRequestTypeDef definition

class CompleteLayerUploadRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    uploadId: str,
    layerDigests: Sequence[str],
    registryId: NotRequired[str],

CreatePullThroughCacheRuleRequestRequestTypeDef#

# CreatePullThroughCacheRuleRequestRequestTypeDef definition

class CreatePullThroughCacheRuleRequestRequestTypeDef(TypedDict):
    ecrRepositoryPrefix: str,
    upstreamRegistryUrl: str,
    registryId: NotRequired[str],
    upstreamRegistry: NotRequired[UpstreamRegistryType],  # (1)
    credentialArn: NotRequired[str],
  1. See UpstreamRegistryType

EncryptionConfigurationForRepositoryCreationTemplateTypeDef#

# EncryptionConfigurationForRepositoryCreationTemplateTypeDef definition

class EncryptionConfigurationForRepositoryCreationTemplateTypeDef(TypedDict):
    encryptionType: EncryptionTypeType,  # (1)
    kmsKey: NotRequired[str],
  1. See EncryptionTypeType

TagTypeDef#

# TagTypeDef definition

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

EncryptionConfigurationTypeDef#

# EncryptionConfigurationTypeDef definition

class EncryptionConfigurationTypeDef(TypedDict):
    encryptionType: EncryptionTypeType,  # (1)
    kmsKey: NotRequired[str],
  1. See EncryptionTypeType

ImageScanningConfigurationTypeDef#

# ImageScanningConfigurationTypeDef definition

class ImageScanningConfigurationTypeDef(TypedDict):
    scanOnPush: NotRequired[bool],

CvssScoreAdjustmentTypeDef#

# CvssScoreAdjustmentTypeDef definition

class CvssScoreAdjustmentTypeDef(TypedDict):
    metric: NotRequired[str],
    reason: NotRequired[str],

CvssScoreTypeDef#

# CvssScoreTypeDef definition

class CvssScoreTypeDef(TypedDict):
    baseScore: NotRequired[float],
    scoringVector: NotRequired[str],
    source: NotRequired[str],
    version: NotRequired[str],

DeleteLifecyclePolicyRequestRequestTypeDef#

# DeleteLifecyclePolicyRequestRequestTypeDef definition

class DeleteLifecyclePolicyRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    registryId: NotRequired[str],

DeletePullThroughCacheRuleRequestRequestTypeDef#

# DeletePullThroughCacheRuleRequestRequestTypeDef definition

class DeletePullThroughCacheRuleRequestRequestTypeDef(TypedDict):
    ecrRepositoryPrefix: str,
    registryId: NotRequired[str],

DeleteRepositoryCreationTemplateRequestRequestTypeDef#

# DeleteRepositoryCreationTemplateRequestRequestTypeDef definition

class DeleteRepositoryCreationTemplateRequestRequestTypeDef(TypedDict):
    prefix: str,

DeleteRepositoryPolicyRequestRequestTypeDef#

# DeleteRepositoryPolicyRequestRequestTypeDef definition

class DeleteRepositoryPolicyRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    registryId: NotRequired[str],

DeleteRepositoryRequestRequestTypeDef#

# DeleteRepositoryRequestRequestTypeDef definition

class DeleteRepositoryRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    registryId: NotRequired[str],
    force: NotRequired[bool],

ImageReplicationStatusTypeDef#

# ImageReplicationStatusTypeDef definition

class ImageReplicationStatusTypeDef(TypedDict):
    region: NotRequired[str],
    registryId: NotRequired[str],
    status: NotRequired[ReplicationStatusType],  # (1)
    failureCode: NotRequired[str],
  1. See ReplicationStatusType

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

WaiterConfigTypeDef#

# WaiterConfigTypeDef definition

class WaiterConfigTypeDef(TypedDict):
    Delay: NotRequired[int],
    MaxAttempts: NotRequired[int],

ImageScanStatusTypeDef#

# ImageScanStatusTypeDef definition

class ImageScanStatusTypeDef(TypedDict):
    status: NotRequired[ScanStatusType],  # (1)
    description: NotRequired[str],
  1. See ScanStatusType

DescribeImagesFilterTypeDef#

# DescribeImagesFilterTypeDef definition

class DescribeImagesFilterTypeDef(TypedDict):
    tagStatus: NotRequired[TagStatusType],  # (1)
  1. See TagStatusType

DescribePullThroughCacheRulesRequestRequestTypeDef#

# DescribePullThroughCacheRulesRequestRequestTypeDef definition

class DescribePullThroughCacheRulesRequestRequestTypeDef(TypedDict):
    registryId: NotRequired[str],
    ecrRepositoryPrefixes: NotRequired[Sequence[str]],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

PullThroughCacheRuleTypeDef#

# PullThroughCacheRuleTypeDef definition

class PullThroughCacheRuleTypeDef(TypedDict):
    ecrRepositoryPrefix: NotRequired[str],
    upstreamRegistryUrl: NotRequired[str],
    createdAt: NotRequired[datetime],
    registryId: NotRequired[str],
    credentialArn: NotRequired[str],
    upstreamRegistry: NotRequired[UpstreamRegistryType],  # (1)
    updatedAt: NotRequired[datetime],
  1. See UpstreamRegistryType

DescribeRepositoriesRequestRequestTypeDef#

# DescribeRepositoriesRequestRequestTypeDef definition

class DescribeRepositoriesRequestRequestTypeDef(TypedDict):
    registryId: NotRequired[str],
    repositoryNames: NotRequired[Sequence[str]],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

DescribeRepositoryCreationTemplatesRequestRequestTypeDef#

# DescribeRepositoryCreationTemplatesRequestRequestTypeDef definition

class DescribeRepositoryCreationTemplatesRequestRequestTypeDef(TypedDict):
    prefixes: NotRequired[Sequence[str]],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

GetAccountSettingRequestRequestTypeDef#

# GetAccountSettingRequestRequestTypeDef definition

class GetAccountSettingRequestRequestTypeDef(TypedDict):
    name: str,

GetAuthorizationTokenRequestRequestTypeDef#

# GetAuthorizationTokenRequestRequestTypeDef definition

class GetAuthorizationTokenRequestRequestTypeDef(TypedDict):
    registryIds: NotRequired[Sequence[str]],

GetDownloadUrlForLayerRequestRequestTypeDef#

# GetDownloadUrlForLayerRequestRequestTypeDef definition

class GetDownloadUrlForLayerRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    layerDigest: str,
    registryId: NotRequired[str],

LifecyclePolicyPreviewFilterTypeDef#

# LifecyclePolicyPreviewFilterTypeDef definition

class LifecyclePolicyPreviewFilterTypeDef(TypedDict):
    tagStatus: NotRequired[TagStatusType],  # (1)
  1. See TagStatusType

LifecyclePolicyPreviewSummaryTypeDef#

# LifecyclePolicyPreviewSummaryTypeDef definition

class LifecyclePolicyPreviewSummaryTypeDef(TypedDict):
    expiringImageTotalCount: NotRequired[int],

GetLifecyclePolicyRequestRequestTypeDef#

# GetLifecyclePolicyRequestRequestTypeDef definition

class GetLifecyclePolicyRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    registryId: NotRequired[str],

GetRepositoryPolicyRequestRequestTypeDef#

# GetRepositoryPolicyRequestRequestTypeDef definition

class GetRepositoryPolicyRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    registryId: NotRequired[str],

ImageScanFindingsSummaryTypeDef#

# ImageScanFindingsSummaryTypeDef definition

class ImageScanFindingsSummaryTypeDef(TypedDict):
    imageScanCompletedAt: NotRequired[datetime],
    vulnerabilitySourceUpdatedAt: NotRequired[datetime],
    findingSeverityCounts: NotRequired[Dict[FindingSeverityType, int]],  # (1)
  1. See FindingSeverityType

InitiateLayerUploadRequestRequestTypeDef#

# InitiateLayerUploadRequestRequestTypeDef definition

class InitiateLayerUploadRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    registryId: NotRequired[str],

LifecyclePolicyRuleActionTypeDef#

# LifecyclePolicyRuleActionTypeDef definition

class LifecyclePolicyRuleActionTypeDef(TypedDict):
    type: NotRequired[ImageActionTypeType],  # (1)
  1. See ImageActionTypeType

ListImagesFilterTypeDef#

# ListImagesFilterTypeDef definition

class ListImagesFilterTypeDef(TypedDict):
    tagStatus: NotRequired[TagStatusType],  # (1)
  1. See TagStatusType

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

VulnerablePackageTypeDef#

# VulnerablePackageTypeDef definition

class VulnerablePackageTypeDef(TypedDict):
    arch: NotRequired[str],
    epoch: NotRequired[int],
    filePath: NotRequired[str],
    name: NotRequired[str],
    packageManager: NotRequired[str],
    release: NotRequired[str],
    sourceLayerHash: NotRequired[str],
    version: NotRequired[str],
    fixedInVersion: NotRequired[str],

PutAccountSettingRequestRequestTypeDef#

# PutAccountSettingRequestRequestTypeDef definition

class PutAccountSettingRequestRequestTypeDef(TypedDict):
    name: str,
    value: str,

PutImageRequestRequestTypeDef#

# PutImageRequestRequestTypeDef definition

class PutImageRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    imageManifest: str,
    registryId: NotRequired[str],
    imageManifestMediaType: NotRequired[str],
    imageTag: NotRequired[str],
    imageDigest: NotRequired[str],

PutImageTagMutabilityRequestRequestTypeDef#

# PutImageTagMutabilityRequestRequestTypeDef definition

class PutImageTagMutabilityRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    imageTagMutability: ImageTagMutabilityType,  # (1)
    registryId: NotRequired[str],
  1. See ImageTagMutabilityType

PutLifecyclePolicyRequestRequestTypeDef#

# PutLifecyclePolicyRequestRequestTypeDef definition

class PutLifecyclePolicyRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    lifecyclePolicyText: str,
    registryId: NotRequired[str],

PutRegistryPolicyRequestRequestTypeDef#

# PutRegistryPolicyRequestRequestTypeDef definition

class PutRegistryPolicyRequestRequestTypeDef(TypedDict):
    policyText: str,

RecommendationTypeDef#

# RecommendationTypeDef definition

class RecommendationTypeDef(TypedDict):
    url: NotRequired[str],
    text: NotRequired[str],

ScanningRepositoryFilterTypeDef#

# ScanningRepositoryFilterTypeDef definition

class ScanningRepositoryFilterTypeDef(TypedDict):
    filter: str,
    filterType: ScanningRepositoryFilterTypeType,  # (1)
  1. See ScanningRepositoryFilterTypeType

ReplicationDestinationTypeDef#

# ReplicationDestinationTypeDef definition

class ReplicationDestinationTypeDef(TypedDict):
    region: str,
    registryId: str,

RepositoryFilterTypeDef#

# RepositoryFilterTypeDef definition

class RepositoryFilterTypeDef(TypedDict):
    filter: str,
    filterType: RepositoryFilterTypeType,  # (1)
  1. See RepositoryFilterTypeType

SetRepositoryPolicyRequestRequestTypeDef#

# SetRepositoryPolicyRequestRequestTypeDef definition

class SetRepositoryPolicyRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    policyText: str,
    registryId: NotRequired[str],
    force: NotRequired[bool],

StartLifecyclePolicyPreviewRequestRequestTypeDef#

# StartLifecyclePolicyPreviewRequestRequestTypeDef definition

class StartLifecyclePolicyPreviewRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    registryId: NotRequired[str],
    lifecyclePolicyText: NotRequired[str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

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

UpdatePullThroughCacheRuleRequestRequestTypeDef#

# UpdatePullThroughCacheRuleRequestRequestTypeDef definition

class UpdatePullThroughCacheRuleRequestRequestTypeDef(TypedDict):
    ecrRepositoryPrefix: str,
    credentialArn: str,
    registryId: NotRequired[str],

ValidatePullThroughCacheRuleRequestRequestTypeDef#

# ValidatePullThroughCacheRuleRequestRequestTypeDef definition

class ValidatePullThroughCacheRuleRequestRequestTypeDef(TypedDict):
    ecrRepositoryPrefix: str,
    registryId: NotRequired[str],

ImageScanFindingTypeDef#

# ImageScanFindingTypeDef definition

class ImageScanFindingTypeDef(TypedDict):
    name: NotRequired[str],
    description: NotRequired[str],
    uri: NotRequired[str],
    severity: NotRequired[FindingSeverityType],  # (1)
    attributes: NotRequired[List[AttributeTypeDef]],  # (2)
  1. See FindingSeverityType
  2. See AttributeTypeDef

ResourceDetailsTypeDef#

# ResourceDetailsTypeDef definition

class ResourceDetailsTypeDef(TypedDict):
    awsEcrContainerImage: NotRequired[AwsEcrContainerImageDetailsTypeDef],  # (1)
  1. See AwsEcrContainerImageDetailsTypeDef

BatchCheckLayerAvailabilityResponseTypeDef#

# BatchCheckLayerAvailabilityResponseTypeDef definition

class BatchCheckLayerAvailabilityResponseTypeDef(TypedDict):
    layers: List[LayerTypeDef],  # (1)
    failures: List[LayerFailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See LayerTypeDef
  2. See LayerFailureTypeDef
  3. See ResponseMetadataTypeDef

CompleteLayerUploadResponseTypeDef#

# CompleteLayerUploadResponseTypeDef definition

class CompleteLayerUploadResponseTypeDef(TypedDict):
    registryId: str,
    repositoryName: str,
    uploadId: str,
    layerDigest: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreatePullThroughCacheRuleResponseTypeDef#

# CreatePullThroughCacheRuleResponseTypeDef definition

class CreatePullThroughCacheRuleResponseTypeDef(TypedDict):
    ecrRepositoryPrefix: str,
    upstreamRegistryUrl: str,
    createdAt: datetime,
    registryId: str,
    upstreamRegistry: UpstreamRegistryType,  # (1)
    credentialArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UpstreamRegistryType
  2. See ResponseMetadataTypeDef

DeleteLifecyclePolicyResponseTypeDef#

# DeleteLifecyclePolicyResponseTypeDef definition

class DeleteLifecyclePolicyResponseTypeDef(TypedDict):
    registryId: str,
    repositoryName: str,
    lifecyclePolicyText: str,
    lastEvaluatedAt: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeletePullThroughCacheRuleResponseTypeDef#

# DeletePullThroughCacheRuleResponseTypeDef definition

class DeletePullThroughCacheRuleResponseTypeDef(TypedDict):
    ecrRepositoryPrefix: str,
    upstreamRegistryUrl: str,
    createdAt: datetime,
    registryId: str,
    credentialArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteRegistryPolicyResponseTypeDef#

# DeleteRegistryPolicyResponseTypeDef definition

class DeleteRegistryPolicyResponseTypeDef(TypedDict):
    registryId: str,
    policyText: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteRepositoryPolicyResponseTypeDef#

# DeleteRepositoryPolicyResponseTypeDef definition

class DeleteRepositoryPolicyResponseTypeDef(TypedDict):
    registryId: str,
    repositoryName: str,
    policyText: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetAccountSettingResponseTypeDef#

# GetAccountSettingResponseTypeDef definition

class GetAccountSettingResponseTypeDef(TypedDict):
    name: str,
    value: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetAuthorizationTokenResponseTypeDef#

# GetAuthorizationTokenResponseTypeDef definition

class GetAuthorizationTokenResponseTypeDef(TypedDict):
    authorizationData: List[AuthorizationDataTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AuthorizationDataTypeDef
  2. See ResponseMetadataTypeDef

GetDownloadUrlForLayerResponseTypeDef#

# GetDownloadUrlForLayerResponseTypeDef definition

class GetDownloadUrlForLayerResponseTypeDef(TypedDict):
    downloadUrl: str,
    layerDigest: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetLifecyclePolicyResponseTypeDef#

# GetLifecyclePolicyResponseTypeDef definition

class GetLifecyclePolicyResponseTypeDef(TypedDict):
    registryId: str,
    repositoryName: str,
    lifecyclePolicyText: str,
    lastEvaluatedAt: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetRegistryPolicyResponseTypeDef#

# GetRegistryPolicyResponseTypeDef definition

class GetRegistryPolicyResponseTypeDef(TypedDict):
    registryId: str,
    policyText: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetRepositoryPolicyResponseTypeDef#

# GetRepositoryPolicyResponseTypeDef definition

class GetRepositoryPolicyResponseTypeDef(TypedDict):
    registryId: str,
    repositoryName: str,
    policyText: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

InitiateLayerUploadResponseTypeDef#

# InitiateLayerUploadResponseTypeDef definition

class InitiateLayerUploadResponseTypeDef(TypedDict):
    uploadId: str,
    partSize: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

PutAccountSettingResponseTypeDef#

# PutAccountSettingResponseTypeDef definition

class PutAccountSettingResponseTypeDef(TypedDict):
    name: str,
    value: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

PutImageTagMutabilityResponseTypeDef#

# PutImageTagMutabilityResponseTypeDef definition

class PutImageTagMutabilityResponseTypeDef(TypedDict):
    registryId: str,
    repositoryName: str,
    imageTagMutability: ImageTagMutabilityType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ImageTagMutabilityType
  2. See ResponseMetadataTypeDef

PutLifecyclePolicyResponseTypeDef#

# PutLifecyclePolicyResponseTypeDef definition

class PutLifecyclePolicyResponseTypeDef(TypedDict):
    registryId: str,
    repositoryName: str,
    lifecyclePolicyText: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

PutRegistryPolicyResponseTypeDef#

# PutRegistryPolicyResponseTypeDef definition

class PutRegistryPolicyResponseTypeDef(TypedDict):
    registryId: str,
    policyText: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

SetRepositoryPolicyResponseTypeDef#

# SetRepositoryPolicyResponseTypeDef definition

class SetRepositoryPolicyResponseTypeDef(TypedDict):
    registryId: str,
    repositoryName: str,
    policyText: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartLifecyclePolicyPreviewResponseTypeDef#

# StartLifecyclePolicyPreviewResponseTypeDef definition

class StartLifecyclePolicyPreviewResponseTypeDef(TypedDict):
    registryId: str,
    repositoryName: str,
    lifecyclePolicyText: str,
    status: LifecyclePolicyPreviewStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LifecyclePolicyPreviewStatusType
  2. See ResponseMetadataTypeDef

UpdatePullThroughCacheRuleResponseTypeDef#

# UpdatePullThroughCacheRuleResponseTypeDef definition

class UpdatePullThroughCacheRuleResponseTypeDef(TypedDict):
    ecrRepositoryPrefix: str,
    registryId: str,
    updatedAt: datetime,
    credentialArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UploadLayerPartResponseTypeDef#

# UploadLayerPartResponseTypeDef definition

class UploadLayerPartResponseTypeDef(TypedDict):
    registryId: str,
    repositoryName: str,
    uploadId: str,
    lastByteReceived: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ValidatePullThroughCacheRuleResponseTypeDef#

# ValidatePullThroughCacheRuleResponseTypeDef definition

class ValidatePullThroughCacheRuleResponseTypeDef(TypedDict):
    ecrRepositoryPrefix: str,
    registryId: str,
    upstreamRegistryUrl: str,
    credentialArn: str,
    isValid: bool,
    failure: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

BatchDeleteImageRequestRequestTypeDef#

# BatchDeleteImageRequestRequestTypeDef definition

class BatchDeleteImageRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    imageIds: Sequence[ImageIdentifierTypeDef],  # (1)
    registryId: NotRequired[str],
  1. See ImageIdentifierTypeDef

BatchGetImageRequestRequestTypeDef#

# BatchGetImageRequestRequestTypeDef definition

class BatchGetImageRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    imageIds: Sequence[ImageIdentifierTypeDef],  # (1)
    registryId: NotRequired[str],
    acceptedMediaTypes: NotRequired[Sequence[str]],
  1. See ImageIdentifierTypeDef

DescribeImageReplicationStatusRequestRequestTypeDef#

# DescribeImageReplicationStatusRequestRequestTypeDef definition

class DescribeImageReplicationStatusRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    imageId: ImageIdentifierTypeDef,  # (1)
    registryId: NotRequired[str],
  1. See ImageIdentifierTypeDef

DescribeImageScanFindingsRequestRequestTypeDef#

# DescribeImageScanFindingsRequestRequestTypeDef definition

class DescribeImageScanFindingsRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    imageId: ImageIdentifierTypeDef,  # (1)
    registryId: NotRequired[str],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See ImageIdentifierTypeDef

ImageFailureTypeDef#

# ImageFailureTypeDef definition

class ImageFailureTypeDef(TypedDict):
    imageId: NotRequired[ImageIdentifierTypeDef],  # (1)
    failureCode: NotRequired[ImageFailureCodeType],  # (2)
    failureReason: NotRequired[str],
  1. See ImageIdentifierTypeDef
  2. See ImageFailureCodeType

ImageTypeDef#

# ImageTypeDef definition

class ImageTypeDef(TypedDict):
    registryId: NotRequired[str],
    repositoryName: NotRequired[str],
    imageId: NotRequired[ImageIdentifierTypeDef],  # (1)
    imageManifest: NotRequired[str],
    imageManifestMediaType: NotRequired[str],
  1. See ImageIdentifierTypeDef

ListImagesResponseTypeDef#

# ListImagesResponseTypeDef definition

class ListImagesResponseTypeDef(TypedDict):
    imageIds: List[ImageIdentifierTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See ImageIdentifierTypeDef
  2. See ResponseMetadataTypeDef

StartImageScanRequestRequestTypeDef#

# StartImageScanRequestRequestTypeDef definition

class StartImageScanRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    imageId: ImageIdentifierTypeDef,  # (1)
    registryId: NotRequired[str],
  1. See ImageIdentifierTypeDef

UploadLayerPartRequestRequestTypeDef#

# UploadLayerPartRequestRequestTypeDef definition

class UploadLayerPartRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    uploadId: str,
    partFirstByte: int,
    partLastByte: int,
    layerPartBlob: BlobTypeDef,
    registryId: NotRequired[str],

CreateRepositoryCreationTemplateRequestRequestTypeDef#

# CreateRepositoryCreationTemplateRequestRequestTypeDef definition

class CreateRepositoryCreationTemplateRequestRequestTypeDef(TypedDict):
    prefix: str,
    appliedFor: Sequence[RCTAppliedForType],  # (1)
    description: NotRequired[str],
    encryptionConfiguration: NotRequired[EncryptionConfigurationForRepositoryCreationTemplateTypeDef],  # (2)
    resourceTags: NotRequired[Sequence[TagTypeDef]],  # (3)
    imageTagMutability: NotRequired[ImageTagMutabilityType],  # (4)
    repositoryPolicy: NotRequired[str],
    lifecyclePolicy: NotRequired[str],
    customRoleArn: NotRequired[str],
  1. See RCTAppliedForType
  2. See EncryptionConfigurationForRepositoryCreationTemplateTypeDef
  3. See TagTypeDef
  4. See ImageTagMutabilityType

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

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

RepositoryCreationTemplateTypeDef#

# RepositoryCreationTemplateTypeDef definition

class RepositoryCreationTemplateTypeDef(TypedDict):
    prefix: NotRequired[str],
    description: NotRequired[str],
    encryptionConfiguration: NotRequired[EncryptionConfigurationForRepositoryCreationTemplateTypeDef],  # (1)
    resourceTags: NotRequired[List[TagTypeDef]],  # (2)
    imageTagMutability: NotRequired[ImageTagMutabilityType],  # (3)
    repositoryPolicy: NotRequired[str],
    lifecyclePolicy: NotRequired[str],
    appliedFor: NotRequired[List[RCTAppliedForType]],  # (4)
    customRoleArn: NotRequired[str],
    createdAt: NotRequired[datetime],
    updatedAt: NotRequired[datetime],
  1. See EncryptionConfigurationForRepositoryCreationTemplateTypeDef
  2. See TagTypeDef
  3. See ImageTagMutabilityType
  4. See RCTAppliedForType

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

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

UpdateRepositoryCreationTemplateRequestRequestTypeDef#

# UpdateRepositoryCreationTemplateRequestRequestTypeDef definition

class UpdateRepositoryCreationTemplateRequestRequestTypeDef(TypedDict):
    prefix: str,
    description: NotRequired[str],
    encryptionConfiguration: NotRequired[EncryptionConfigurationForRepositoryCreationTemplateTypeDef],  # (1)
    resourceTags: NotRequired[Sequence[TagTypeDef]],  # (2)
    imageTagMutability: NotRequired[ImageTagMutabilityType],  # (3)
    repositoryPolicy: NotRequired[str],
    lifecyclePolicy: NotRequired[str],
    appliedFor: NotRequired[Sequence[RCTAppliedForType]],  # (4)
    customRoleArn: NotRequired[str],
  1. See EncryptionConfigurationForRepositoryCreationTemplateTypeDef
  2. See TagTypeDef
  3. See ImageTagMutabilityType
  4. See RCTAppliedForType

CreateRepositoryRequestRequestTypeDef#

# CreateRepositoryRequestRequestTypeDef definition

class CreateRepositoryRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    registryId: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (1)
    imageTagMutability: NotRequired[ImageTagMutabilityType],  # (2)
    imageScanningConfiguration: NotRequired[ImageScanningConfigurationTypeDef],  # (3)
    encryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (4)
  1. See TagTypeDef
  2. See ImageTagMutabilityType
  3. See ImageScanningConfigurationTypeDef
  4. See EncryptionConfigurationTypeDef

PutImageScanningConfigurationRequestRequestTypeDef#

# PutImageScanningConfigurationRequestRequestTypeDef definition

class PutImageScanningConfigurationRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    imageScanningConfiguration: ImageScanningConfigurationTypeDef,  # (1)
    registryId: NotRequired[str],
  1. See ImageScanningConfigurationTypeDef

PutImageScanningConfigurationResponseTypeDef#

# PutImageScanningConfigurationResponseTypeDef definition

class PutImageScanningConfigurationResponseTypeDef(TypedDict):
    registryId: str,
    repositoryName: str,
    imageScanningConfiguration: ImageScanningConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ImageScanningConfigurationTypeDef
  2. See ResponseMetadataTypeDef

RepositoryTypeDef#

# RepositoryTypeDef definition

class RepositoryTypeDef(TypedDict):
    repositoryArn: NotRequired[str],
    registryId: NotRequired[str],
    repositoryName: NotRequired[str],
    repositoryUri: NotRequired[str],
    createdAt: NotRequired[datetime],
    imageTagMutability: NotRequired[ImageTagMutabilityType],  # (1)
    imageScanningConfiguration: NotRequired[ImageScanningConfigurationTypeDef],  # (2)
    encryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (3)
  1. See ImageTagMutabilityType
  2. See ImageScanningConfigurationTypeDef
  3. See EncryptionConfigurationTypeDef

CvssScoreDetailsTypeDef#

# CvssScoreDetailsTypeDef definition

class CvssScoreDetailsTypeDef(TypedDict):
    adjustments: NotRequired[List[CvssScoreAdjustmentTypeDef]],  # (1)
    score: NotRequired[float],
    scoreSource: NotRequired[str],
    scoringVector: NotRequired[str],
    version: NotRequired[str],
  1. See CvssScoreAdjustmentTypeDef

DescribeImageReplicationStatusResponseTypeDef#

# DescribeImageReplicationStatusResponseTypeDef definition

class DescribeImageReplicationStatusResponseTypeDef(TypedDict):
    repositoryName: str,
    imageId: ImageIdentifierTypeDef,  # (1)
    replicationStatuses: List[ImageReplicationStatusTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ImageIdentifierTypeDef
  2. See ImageReplicationStatusTypeDef
  3. See ResponseMetadataTypeDef

DescribeImageScanFindingsRequestDescribeImageScanFindingsPaginateTypeDef#

# DescribeImageScanFindingsRequestDescribeImageScanFindingsPaginateTypeDef definition

class DescribeImageScanFindingsRequestDescribeImageScanFindingsPaginateTypeDef(TypedDict):
    repositoryName: str,
    imageId: ImageIdentifierTypeDef,  # (1)
    registryId: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ImageIdentifierTypeDef
  2. See PaginatorConfigTypeDef

DescribePullThroughCacheRulesRequestDescribePullThroughCacheRulesPaginateTypeDef#

# DescribePullThroughCacheRulesRequestDescribePullThroughCacheRulesPaginateTypeDef definition

class DescribePullThroughCacheRulesRequestDescribePullThroughCacheRulesPaginateTypeDef(TypedDict):
    registryId: NotRequired[str],
    ecrRepositoryPrefixes: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeRepositoriesRequestDescribeRepositoriesPaginateTypeDef#

# DescribeRepositoriesRequestDescribeRepositoriesPaginateTypeDef definition

class DescribeRepositoriesRequestDescribeRepositoriesPaginateTypeDef(TypedDict):
    registryId: NotRequired[str],
    repositoryNames: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeRepositoryCreationTemplatesRequestDescribeRepositoryCreationTemplatesPaginateTypeDef#

# DescribeRepositoryCreationTemplatesRequestDescribeRepositoryCreationTemplatesPaginateTypeDef definition

class DescribeRepositoryCreationTemplatesRequestDescribeRepositoryCreationTemplatesPaginateTypeDef(TypedDict):
    prefixes: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeImageScanFindingsRequestImageScanCompleteWaitTypeDef#

# DescribeImageScanFindingsRequestImageScanCompleteWaitTypeDef definition

class DescribeImageScanFindingsRequestImageScanCompleteWaitTypeDef(TypedDict):
    repositoryName: str,
    imageId: ImageIdentifierTypeDef,  # (1)
    registryId: NotRequired[str],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See ImageIdentifierTypeDef
  2. See WaiterConfigTypeDef

StartImageScanResponseTypeDef#

# StartImageScanResponseTypeDef definition

class StartImageScanResponseTypeDef(TypedDict):
    registryId: str,
    repositoryName: str,
    imageId: ImageIdentifierTypeDef,  # (1)
    imageScanStatus: ImageScanStatusTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ImageIdentifierTypeDef
  2. See ImageScanStatusTypeDef
  3. See ResponseMetadataTypeDef

DescribeImagesRequestDescribeImagesPaginateTypeDef#

# DescribeImagesRequestDescribeImagesPaginateTypeDef definition

class DescribeImagesRequestDescribeImagesPaginateTypeDef(TypedDict):
    repositoryName: str,
    registryId: NotRequired[str],
    imageIds: NotRequired[Sequence[ImageIdentifierTypeDef]],  # (1)
    filter: NotRequired[DescribeImagesFilterTypeDef],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See ImageIdentifierTypeDef
  2. See DescribeImagesFilterTypeDef
  3. See PaginatorConfigTypeDef

DescribeImagesRequestRequestTypeDef#

# DescribeImagesRequestRequestTypeDef definition

class DescribeImagesRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    registryId: NotRequired[str],
    imageIds: NotRequired[Sequence[ImageIdentifierTypeDef]],  # (1)
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    filter: NotRequired[DescribeImagesFilterTypeDef],  # (2)
  1. See ImageIdentifierTypeDef
  2. See DescribeImagesFilterTypeDef

DescribePullThroughCacheRulesResponseTypeDef#

# DescribePullThroughCacheRulesResponseTypeDef definition

class DescribePullThroughCacheRulesResponseTypeDef(TypedDict):
    pullThroughCacheRules: List[PullThroughCacheRuleTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See PullThroughCacheRuleTypeDef
  2. See ResponseMetadataTypeDef

GetLifecyclePolicyPreviewRequestGetLifecyclePolicyPreviewPaginateTypeDef#

# GetLifecyclePolicyPreviewRequestGetLifecyclePolicyPreviewPaginateTypeDef definition

class GetLifecyclePolicyPreviewRequestGetLifecyclePolicyPreviewPaginateTypeDef(TypedDict):
    repositoryName: str,
    registryId: NotRequired[str],
    imageIds: NotRequired[Sequence[ImageIdentifierTypeDef]],  # (1)
    filter: NotRequired[LifecyclePolicyPreviewFilterTypeDef],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See ImageIdentifierTypeDef
  2. See LifecyclePolicyPreviewFilterTypeDef
  3. See PaginatorConfigTypeDef

GetLifecyclePolicyPreviewRequestLifecyclePolicyPreviewCompleteWaitTypeDef#

# GetLifecyclePolicyPreviewRequestLifecyclePolicyPreviewCompleteWaitTypeDef definition

class GetLifecyclePolicyPreviewRequestLifecyclePolicyPreviewCompleteWaitTypeDef(TypedDict):
    repositoryName: str,
    registryId: NotRequired[str],
    imageIds: NotRequired[Sequence[ImageIdentifierTypeDef]],  # (1)
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    filter: NotRequired[LifecyclePolicyPreviewFilterTypeDef],  # (2)
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (3)
  1. See ImageIdentifierTypeDef
  2. See LifecyclePolicyPreviewFilterTypeDef
  3. See WaiterConfigTypeDef

GetLifecyclePolicyPreviewRequestRequestTypeDef#

# GetLifecyclePolicyPreviewRequestRequestTypeDef definition

class GetLifecyclePolicyPreviewRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    registryId: NotRequired[str],
    imageIds: NotRequired[Sequence[ImageIdentifierTypeDef]],  # (1)
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    filter: NotRequired[LifecyclePolicyPreviewFilterTypeDef],  # (2)
  1. See ImageIdentifierTypeDef
  2. See LifecyclePolicyPreviewFilterTypeDef

ImageDetailTypeDef#

# ImageDetailTypeDef definition

class ImageDetailTypeDef(TypedDict):
    registryId: NotRequired[str],
    repositoryName: NotRequired[str],
    imageDigest: NotRequired[str],
    imageTags: NotRequired[List[str]],
    imageSizeInBytes: NotRequired[int],
    imagePushedAt: NotRequired[datetime],
    imageScanStatus: NotRequired[ImageScanStatusTypeDef],  # (1)
    imageScanFindingsSummary: NotRequired[ImageScanFindingsSummaryTypeDef],  # (2)
    imageManifestMediaType: NotRequired[str],
    artifactMediaType: NotRequired[str],
    lastRecordedPullTime: NotRequired[datetime],
  1. See ImageScanStatusTypeDef
  2. See ImageScanFindingsSummaryTypeDef

LifecyclePolicyPreviewResultTypeDef#

# LifecyclePolicyPreviewResultTypeDef definition

class LifecyclePolicyPreviewResultTypeDef(TypedDict):
    imageTags: NotRequired[List[str]],
    imageDigest: NotRequired[str],
    imagePushedAt: NotRequired[datetime],
    action: NotRequired[LifecyclePolicyRuleActionTypeDef],  # (1)
    appliedRulePriority: NotRequired[int],
  1. See LifecyclePolicyRuleActionTypeDef

ListImagesRequestListImagesPaginateTypeDef#

# ListImagesRequestListImagesPaginateTypeDef definition

class ListImagesRequestListImagesPaginateTypeDef(TypedDict):
    repositoryName: str,
    registryId: NotRequired[str],
    filter: NotRequired[ListImagesFilterTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ListImagesFilterTypeDef
  2. See PaginatorConfigTypeDef

ListImagesRequestRequestTypeDef#

# ListImagesRequestRequestTypeDef definition

class ListImagesRequestRequestTypeDef(TypedDict):
    repositoryName: str,
    registryId: NotRequired[str],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    filter: NotRequired[ListImagesFilterTypeDef],  # (1)
  1. See ListImagesFilterTypeDef

PackageVulnerabilityDetailsTypeDef#

# PackageVulnerabilityDetailsTypeDef definition

class PackageVulnerabilityDetailsTypeDef(TypedDict):
    cvss: NotRequired[List[CvssScoreTypeDef]],  # (1)
    referenceUrls: NotRequired[List[str]],
    relatedVulnerabilities: NotRequired[List[str]],
    source: NotRequired[str],
    sourceUrl: NotRequired[str],
    vendorCreatedAt: NotRequired[datetime],
    vendorSeverity: NotRequired[str],
    vendorUpdatedAt: NotRequired[datetime],
    vulnerabilityId: NotRequired[str],
    vulnerablePackages: NotRequired[List[VulnerablePackageTypeDef]],  # (2)
  1. See CvssScoreTypeDef
  2. See VulnerablePackageTypeDef

RemediationTypeDef#

# RemediationTypeDef definition

class RemediationTypeDef(TypedDict):
    recommendation: NotRequired[RecommendationTypeDef],  # (1)
  1. See RecommendationTypeDef

RegistryScanningRuleOutputTypeDef#

# RegistryScanningRuleOutputTypeDef definition

class RegistryScanningRuleOutputTypeDef(TypedDict):
    scanFrequency: ScanFrequencyType,  # (1)
    repositoryFilters: List[ScanningRepositoryFilterTypeDef],  # (2)
  1. See ScanFrequencyType
  2. See ScanningRepositoryFilterTypeDef

RegistryScanningRuleTypeDef#

# RegistryScanningRuleTypeDef definition

class RegistryScanningRuleTypeDef(TypedDict):
    scanFrequency: ScanFrequencyType,  # (1)
    repositoryFilters: Sequence[ScanningRepositoryFilterTypeDef],  # (2)
  1. See ScanFrequencyType
  2. See ScanningRepositoryFilterTypeDef

RepositoryScanningConfigurationTypeDef#

# RepositoryScanningConfigurationTypeDef definition

class RepositoryScanningConfigurationTypeDef(TypedDict):
    repositoryArn: NotRequired[str],
    repositoryName: NotRequired[str],
    scanOnPush: NotRequired[bool],
    scanFrequency: NotRequired[ScanFrequencyType],  # (1)
    appliedScanFilters: NotRequired[List[ScanningRepositoryFilterTypeDef]],  # (2)
  1. See ScanFrequencyType
  2. See ScanningRepositoryFilterTypeDef

ReplicationRuleOutputTypeDef#

# ReplicationRuleOutputTypeDef definition

class ReplicationRuleOutputTypeDef(TypedDict):
    destinations: List[ReplicationDestinationTypeDef],  # (1)
    repositoryFilters: NotRequired[List[RepositoryFilterTypeDef]],  # (2)
  1. See ReplicationDestinationTypeDef
  2. See RepositoryFilterTypeDef

ReplicationRuleTypeDef#

# ReplicationRuleTypeDef definition

class ReplicationRuleTypeDef(TypedDict):
    destinations: Sequence[ReplicationDestinationTypeDef],  # (1)
    repositoryFilters: NotRequired[Sequence[RepositoryFilterTypeDef]],  # (2)
  1. See ReplicationDestinationTypeDef
  2. See RepositoryFilterTypeDef

ResourceTypeDef#

# ResourceTypeDef definition

class ResourceTypeDef(TypedDict):
    details: NotRequired[ResourceDetailsTypeDef],  # (1)
    id: NotRequired[str],
    tags: NotRequired[Dict[str, str]],
    type: NotRequired[str],
  1. See ResourceDetailsTypeDef

BatchDeleteImageResponseTypeDef#

# BatchDeleteImageResponseTypeDef definition

class BatchDeleteImageResponseTypeDef(TypedDict):
    imageIds: List[ImageIdentifierTypeDef],  # (1)
    failures: List[ImageFailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ImageIdentifierTypeDef
  2. See ImageFailureTypeDef
  3. See ResponseMetadataTypeDef

BatchGetImageResponseTypeDef#

# BatchGetImageResponseTypeDef definition

class BatchGetImageResponseTypeDef(TypedDict):
    images: List[ImageTypeDef],  # (1)
    failures: List[ImageFailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ImageTypeDef
  2. See ImageFailureTypeDef
  3. See ResponseMetadataTypeDef

PutImageResponseTypeDef#

# PutImageResponseTypeDef definition

class PutImageResponseTypeDef(TypedDict):
    image: ImageTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ImageTypeDef
  2. See ResponseMetadataTypeDef

CreateRepositoryCreationTemplateResponseTypeDef#

# CreateRepositoryCreationTemplateResponseTypeDef definition

class CreateRepositoryCreationTemplateResponseTypeDef(TypedDict):
    registryId: str,
    repositoryCreationTemplate: RepositoryCreationTemplateTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositoryCreationTemplateTypeDef
  2. See ResponseMetadataTypeDef

DeleteRepositoryCreationTemplateResponseTypeDef#

# DeleteRepositoryCreationTemplateResponseTypeDef definition

class DeleteRepositoryCreationTemplateResponseTypeDef(TypedDict):
    registryId: str,
    repositoryCreationTemplate: RepositoryCreationTemplateTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositoryCreationTemplateTypeDef
  2. See ResponseMetadataTypeDef

DescribeRepositoryCreationTemplatesResponseTypeDef#

# DescribeRepositoryCreationTemplatesResponseTypeDef definition

class DescribeRepositoryCreationTemplatesResponseTypeDef(TypedDict):
    registryId: str,
    repositoryCreationTemplates: List[RepositoryCreationTemplateTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See RepositoryCreationTemplateTypeDef
  2. See ResponseMetadataTypeDef

UpdateRepositoryCreationTemplateResponseTypeDef#

# UpdateRepositoryCreationTemplateResponseTypeDef definition

class UpdateRepositoryCreationTemplateResponseTypeDef(TypedDict):
    registryId: str,
    repositoryCreationTemplate: RepositoryCreationTemplateTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositoryCreationTemplateTypeDef
  2. See ResponseMetadataTypeDef

CreateRepositoryResponseTypeDef#

# CreateRepositoryResponseTypeDef definition

class CreateRepositoryResponseTypeDef(TypedDict):
    repository: RepositoryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositoryTypeDef
  2. See ResponseMetadataTypeDef

DeleteRepositoryResponseTypeDef#

# DeleteRepositoryResponseTypeDef definition

class DeleteRepositoryResponseTypeDef(TypedDict):
    repository: RepositoryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositoryTypeDef
  2. See ResponseMetadataTypeDef

DescribeRepositoriesResponseTypeDef#

# DescribeRepositoriesResponseTypeDef definition

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

ScoreDetailsTypeDef#

# ScoreDetailsTypeDef definition

class ScoreDetailsTypeDef(TypedDict):
    cvss: NotRequired[CvssScoreDetailsTypeDef],  # (1)
  1. See CvssScoreDetailsTypeDef

DescribeImagesResponseTypeDef#

# DescribeImagesResponseTypeDef definition

class DescribeImagesResponseTypeDef(TypedDict):
    imageDetails: List[ImageDetailTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See ImageDetailTypeDef
  2. See ResponseMetadataTypeDef

GetLifecyclePolicyPreviewResponseTypeDef#

# GetLifecyclePolicyPreviewResponseTypeDef definition

class GetLifecyclePolicyPreviewResponseTypeDef(TypedDict):
    registryId: str,
    repositoryName: str,
    lifecyclePolicyText: str,
    status: LifecyclePolicyPreviewStatusType,  # (1)
    previewResults: List[LifecyclePolicyPreviewResultTypeDef],  # (2)
    summary: LifecyclePolicyPreviewSummaryTypeDef,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
    nextToken: NotRequired[str],
  1. See LifecyclePolicyPreviewStatusType
  2. See LifecyclePolicyPreviewResultTypeDef
  3. See LifecyclePolicyPreviewSummaryTypeDef
  4. See ResponseMetadataTypeDef

RegistryScanningConfigurationTypeDef#

# RegistryScanningConfigurationTypeDef definition

class RegistryScanningConfigurationTypeDef(TypedDict):
    scanType: NotRequired[ScanTypeType],  # (1)
    rules: NotRequired[List[RegistryScanningRuleOutputTypeDef]],  # (2)
  1. See ScanTypeType
  2. See RegistryScanningRuleOutputTypeDef

BatchGetRepositoryScanningConfigurationResponseTypeDef#

# BatchGetRepositoryScanningConfigurationResponseTypeDef definition

class BatchGetRepositoryScanningConfigurationResponseTypeDef(TypedDict):
    scanningConfigurations: List[RepositoryScanningConfigurationTypeDef],  # (1)
    failures: List[RepositoryScanningConfigurationFailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See RepositoryScanningConfigurationTypeDef
  2. See RepositoryScanningConfigurationFailureTypeDef
  3. See ResponseMetadataTypeDef

ReplicationConfigurationOutputTypeDef#

# ReplicationConfigurationOutputTypeDef definition

class ReplicationConfigurationOutputTypeDef(TypedDict):
    rules: List[ReplicationRuleOutputTypeDef],  # (1)
  1. See ReplicationRuleOutputTypeDef

EnhancedImageScanFindingTypeDef#

# EnhancedImageScanFindingTypeDef definition

class EnhancedImageScanFindingTypeDef(TypedDict):
    awsAccountId: NotRequired[str],
    description: NotRequired[str],
    findingArn: NotRequired[str],
    firstObservedAt: NotRequired[datetime],
    lastObservedAt: NotRequired[datetime],
    packageVulnerabilityDetails: NotRequired[PackageVulnerabilityDetailsTypeDef],  # (1)
    remediation: NotRequired[RemediationTypeDef],  # (2)
    resources: NotRequired[List[ResourceTypeDef]],  # (3)
    score: NotRequired[float],
    scoreDetails: NotRequired[ScoreDetailsTypeDef],  # (4)
    severity: NotRequired[str],
    status: NotRequired[str],
    title: NotRequired[str],
    type: NotRequired[str],
    updatedAt: NotRequired[datetime],
    fixAvailable: NotRequired[str],
    exploitAvailable: NotRequired[str],
  1. See PackageVulnerabilityDetailsTypeDef
  2. See RemediationTypeDef
  3. See ResourceTypeDef
  4. See ScoreDetailsTypeDef

GetRegistryScanningConfigurationResponseTypeDef#

# GetRegistryScanningConfigurationResponseTypeDef definition

class GetRegistryScanningConfigurationResponseTypeDef(TypedDict):
    registryId: str,
    scanningConfiguration: RegistryScanningConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RegistryScanningConfigurationTypeDef
  2. See ResponseMetadataTypeDef

PutRegistryScanningConfigurationResponseTypeDef#

# PutRegistryScanningConfigurationResponseTypeDef definition

class PutRegistryScanningConfigurationResponseTypeDef(TypedDict):
    registryScanningConfiguration: RegistryScanningConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RegistryScanningConfigurationTypeDef
  2. See ResponseMetadataTypeDef

PutRegistryScanningConfigurationRequestRequestTypeDef#

# PutRegistryScanningConfigurationRequestRequestTypeDef definition

class PutRegistryScanningConfigurationRequestRequestTypeDef(TypedDict):
    scanType: NotRequired[ScanTypeType],  # (1)
    rules: NotRequired[Sequence[RegistryScanningRuleUnionTypeDef]],  # (2)
  1. See ScanTypeType
  2. See RegistryScanningRuleTypeDef RegistryScanningRuleOutputTypeDef

DescribeRegistryResponseTypeDef#

# DescribeRegistryResponseTypeDef definition

class DescribeRegistryResponseTypeDef(TypedDict):
    registryId: str,
    replicationConfiguration: ReplicationConfigurationOutputTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ReplicationConfigurationOutputTypeDef
  2. See ResponseMetadataTypeDef

PutReplicationConfigurationResponseTypeDef#

# PutReplicationConfigurationResponseTypeDef definition

class PutReplicationConfigurationResponseTypeDef(TypedDict):
    replicationConfiguration: ReplicationConfigurationOutputTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ReplicationConfigurationOutputTypeDef
  2. See ResponseMetadataTypeDef

ReplicationConfigurationTypeDef#

# ReplicationConfigurationTypeDef definition

class ReplicationConfigurationTypeDef(TypedDict):
    rules: Sequence[ReplicationRuleUnionTypeDef],  # (1)
  1. See ReplicationRuleTypeDef ReplicationRuleOutputTypeDef

ImageScanFindingsTypeDef#

# ImageScanFindingsTypeDef definition

class ImageScanFindingsTypeDef(TypedDict):
    imageScanCompletedAt: NotRequired[datetime],
    vulnerabilitySourceUpdatedAt: NotRequired[datetime],
    findingSeverityCounts: NotRequired[Dict[FindingSeverityType, int]],  # (1)
    findings: NotRequired[List[ImageScanFindingTypeDef]],  # (2)
    enhancedFindings: NotRequired[List[EnhancedImageScanFindingTypeDef]],  # (3)
  1. See FindingSeverityType
  2. See ImageScanFindingTypeDef
  3. See EnhancedImageScanFindingTypeDef

PutReplicationConfigurationRequestRequestTypeDef#

# PutReplicationConfigurationRequestRequestTypeDef definition

class PutReplicationConfigurationRequestRequestTypeDef(TypedDict):
    replicationConfiguration: ReplicationConfigurationTypeDef,  # (1)
  1. See ReplicationConfigurationTypeDef

DescribeImageScanFindingsResponseTypeDef#

# DescribeImageScanFindingsResponseTypeDef definition

class DescribeImageScanFindingsResponseTypeDef(TypedDict):
    registryId: str,
    repositoryName: str,
    imageId: ImageIdentifierTypeDef,  # (1)
    imageScanStatus: ImageScanStatusTypeDef,  # (2)
    imageScanFindings: ImageScanFindingsTypeDef,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
    nextToken: NotRequired[str],
  1. See ImageIdentifierTypeDef
  2. See ImageScanStatusTypeDef
  3. See ImageScanFindingsTypeDef
  4. See ResponseMetadataTypeDef