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)
]
ReplicationRuleUnionTypeDef#
# ReplicationRuleUnionTypeDef definition
ReplicationRuleUnionTypeDef = Union[
ReplicationRuleTypeDef, # (1)
ReplicationRuleOutputTypeDef, # (2)
]
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],
LayerTypeDef#
# LayerTypeDef definition
class LayerTypeDef(TypedDict):
layerDigest: NotRequired[str],
layerAvailability: NotRequired[LayerAvailabilityType], # (1)
layerSize: NotRequired[int],
mediaType: NotRequired[str],
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],
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],
EncryptionConfigurationForRepositoryCreationTemplateTypeDef#
# EncryptionConfigurationForRepositoryCreationTemplateTypeDef definition
class EncryptionConfigurationForRepositoryCreationTemplateTypeDef(TypedDict):
encryptionType: EncryptionTypeType, # (1)
kmsKey: NotRequired[str],
TagTypeDef#
# TagTypeDef definition
class TagTypeDef(TypedDict):
Key: str,
Value: str,
EncryptionConfigurationTypeDef#
# EncryptionConfigurationTypeDef definition
class EncryptionConfigurationTypeDef(TypedDict):
encryptionType: EncryptionTypeType, # (1)
kmsKey: NotRequired[str],
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],
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],
- See ScanStatusType
DescribeImagesFilterTypeDef#
# DescribeImagesFilterTypeDef definition
class DescribeImagesFilterTypeDef(TypedDict):
tagStatus: NotRequired[TagStatusType], # (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],
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)
- 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)
InitiateLayerUploadRequestRequestTypeDef#
# InitiateLayerUploadRequestRequestTypeDef definition
class InitiateLayerUploadRequestRequestTypeDef(TypedDict):
repositoryName: str,
registryId: NotRequired[str],
LifecyclePolicyRuleActionTypeDef#
# LifecyclePolicyRuleActionTypeDef definition
class LifecyclePolicyRuleActionTypeDef(TypedDict):
type: NotRequired[ImageActionTypeType], # (1)
ListImagesFilterTypeDef#
# ListImagesFilterTypeDef definition
class ListImagesFilterTypeDef(TypedDict):
tagStatus: NotRequired[TagStatusType], # (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],
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)
ReplicationDestinationTypeDef#
# ReplicationDestinationTypeDef definition
class ReplicationDestinationTypeDef(TypedDict):
region: str,
registryId: str,
RepositoryFilterTypeDef#
# RepositoryFilterTypeDef definition
class RepositoryFilterTypeDef(TypedDict):
filter: str,
filterType: RepositoryFilterTypeType, # (1)
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)
- See FindingSeverityType
- See AttributeTypeDef
ResourceDetailsTypeDef#
# ResourceDetailsTypeDef definition
class ResourceDetailsTypeDef(TypedDict):
awsEcrContainerImage: NotRequired[AwsEcrContainerImageDetailsTypeDef], # (1)
BatchCheckLayerAvailabilityResponseTypeDef#
# BatchCheckLayerAvailabilityResponseTypeDef definition
class BatchCheckLayerAvailabilityResponseTypeDef(TypedDict):
layers: List[LayerTypeDef], # (1)
failures: List[LayerFailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See LayerTypeDef
- See LayerFailureTypeDef
- See ResponseMetadataTypeDef
CompleteLayerUploadResponseTypeDef#
# CompleteLayerUploadResponseTypeDef definition
class CompleteLayerUploadResponseTypeDef(TypedDict):
registryId: str,
repositoryName: str,
uploadId: str,
layerDigest: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreatePullThroughCacheRuleResponseTypeDef#
# CreatePullThroughCacheRuleResponseTypeDef definition
class CreatePullThroughCacheRuleResponseTypeDef(TypedDict):
ecrRepositoryPrefix: str,
upstreamRegistryUrl: str,
createdAt: datetime,
registryId: str,
upstreamRegistry: UpstreamRegistryType, # (1)
credentialArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteLifecyclePolicyResponseTypeDef#
# DeleteLifecyclePolicyResponseTypeDef definition
class DeleteLifecyclePolicyResponseTypeDef(TypedDict):
registryId: str,
repositoryName: str,
lifecyclePolicyText: str,
lastEvaluatedAt: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeletePullThroughCacheRuleResponseTypeDef#
# DeletePullThroughCacheRuleResponseTypeDef definition
class DeletePullThroughCacheRuleResponseTypeDef(TypedDict):
ecrRepositoryPrefix: str,
upstreamRegistryUrl: str,
createdAt: datetime,
registryId: str,
credentialArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteRegistryPolicyResponseTypeDef#
# DeleteRegistryPolicyResponseTypeDef definition
class DeleteRegistryPolicyResponseTypeDef(TypedDict):
registryId: str,
policyText: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteRepositoryPolicyResponseTypeDef#
# DeleteRepositoryPolicyResponseTypeDef definition
class DeleteRepositoryPolicyResponseTypeDef(TypedDict):
registryId: str,
repositoryName: str,
policyText: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetAccountSettingResponseTypeDef#
# GetAccountSettingResponseTypeDef definition
class GetAccountSettingResponseTypeDef(TypedDict):
name: str,
value: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetAuthorizationTokenResponseTypeDef#
# GetAuthorizationTokenResponseTypeDef definition
class GetAuthorizationTokenResponseTypeDef(TypedDict):
authorizationData: List[AuthorizationDataTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetDownloadUrlForLayerResponseTypeDef#
# GetDownloadUrlForLayerResponseTypeDef definition
class GetDownloadUrlForLayerResponseTypeDef(TypedDict):
downloadUrl: str,
layerDigest: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetLifecyclePolicyResponseTypeDef#
# GetLifecyclePolicyResponseTypeDef definition
class GetLifecyclePolicyResponseTypeDef(TypedDict):
registryId: str,
repositoryName: str,
lifecyclePolicyText: str,
lastEvaluatedAt: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetRegistryPolicyResponseTypeDef#
# GetRegistryPolicyResponseTypeDef definition
class GetRegistryPolicyResponseTypeDef(TypedDict):
registryId: str,
policyText: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetRepositoryPolicyResponseTypeDef#
# GetRepositoryPolicyResponseTypeDef definition
class GetRepositoryPolicyResponseTypeDef(TypedDict):
registryId: str,
repositoryName: str,
policyText: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
InitiateLayerUploadResponseTypeDef#
# InitiateLayerUploadResponseTypeDef definition
class InitiateLayerUploadResponseTypeDef(TypedDict):
uploadId: str,
partSize: int,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
PutAccountSettingResponseTypeDef#
# PutAccountSettingResponseTypeDef definition
class PutAccountSettingResponseTypeDef(TypedDict):
name: str,
value: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
PutImageTagMutabilityResponseTypeDef#
# PutImageTagMutabilityResponseTypeDef definition
class PutImageTagMutabilityResponseTypeDef(TypedDict):
registryId: str,
repositoryName: str,
imageTagMutability: ImageTagMutabilityType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PutLifecyclePolicyResponseTypeDef#
# PutLifecyclePolicyResponseTypeDef definition
class PutLifecyclePolicyResponseTypeDef(TypedDict):
registryId: str,
repositoryName: str,
lifecyclePolicyText: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
PutRegistryPolicyResponseTypeDef#
# PutRegistryPolicyResponseTypeDef definition
class PutRegistryPolicyResponseTypeDef(TypedDict):
registryId: str,
policyText: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
SetRepositoryPolicyResponseTypeDef#
# SetRepositoryPolicyResponseTypeDef definition
class SetRepositoryPolicyResponseTypeDef(TypedDict):
registryId: str,
repositoryName: str,
policyText: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartLifecyclePolicyPreviewResponseTypeDef#
# StartLifecyclePolicyPreviewResponseTypeDef definition
class StartLifecyclePolicyPreviewResponseTypeDef(TypedDict):
registryId: str,
repositoryName: str,
lifecyclePolicyText: str,
status: LifecyclePolicyPreviewStatusType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdatePullThroughCacheRuleResponseTypeDef#
# UpdatePullThroughCacheRuleResponseTypeDef definition
class UpdatePullThroughCacheRuleResponseTypeDef(TypedDict):
ecrRepositoryPrefix: str,
registryId: str,
updatedAt: datetime,
credentialArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UploadLayerPartResponseTypeDef#
# UploadLayerPartResponseTypeDef definition
class UploadLayerPartResponseTypeDef(TypedDict):
registryId: str,
repositoryName: str,
uploadId: str,
lastByteReceived: int,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ValidatePullThroughCacheRuleResponseTypeDef#
# ValidatePullThroughCacheRuleResponseTypeDef definition
class ValidatePullThroughCacheRuleResponseTypeDef(TypedDict):
ecrRepositoryPrefix: str,
registryId: str,
upstreamRegistryUrl: str,
credentialArn: str,
isValid: bool,
failure: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
BatchDeleteImageRequestRequestTypeDef#
# BatchDeleteImageRequestRequestTypeDef definition
class BatchDeleteImageRequestRequestTypeDef(TypedDict):
repositoryName: str,
imageIds: Sequence[ImageIdentifierTypeDef], # (1)
registryId: NotRequired[str],
BatchGetImageRequestRequestTypeDef#
# BatchGetImageRequestRequestTypeDef definition
class BatchGetImageRequestRequestTypeDef(TypedDict):
repositoryName: str,
imageIds: Sequence[ImageIdentifierTypeDef], # (1)
registryId: NotRequired[str],
acceptedMediaTypes: NotRequired[Sequence[str]],
DescribeImageReplicationStatusRequestRequestTypeDef#
# DescribeImageReplicationStatusRequestRequestTypeDef definition
class DescribeImageReplicationStatusRequestRequestTypeDef(TypedDict):
repositoryName: str,
imageId: ImageIdentifierTypeDef, # (1)
registryId: NotRequired[str],
DescribeImageScanFindingsRequestRequestTypeDef#
# DescribeImageScanFindingsRequestRequestTypeDef definition
class DescribeImageScanFindingsRequestRequestTypeDef(TypedDict):
repositoryName: str,
imageId: ImageIdentifierTypeDef, # (1)
registryId: NotRequired[str],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
ImageFailureTypeDef#
# ImageFailureTypeDef definition
class ImageFailureTypeDef(TypedDict):
imageId: NotRequired[ImageIdentifierTypeDef], # (1)
failureCode: NotRequired[ImageFailureCodeType], # (2)
failureReason: NotRequired[str],
ImageTypeDef#
# ImageTypeDef definition
class ImageTypeDef(TypedDict):
registryId: NotRequired[str],
repositoryName: NotRequired[str],
imageId: NotRequired[ImageIdentifierTypeDef], # (1)
imageManifest: NotRequired[str],
imageManifestMediaType: NotRequired[str],
ListImagesResponseTypeDef#
# ListImagesResponseTypeDef definition
class ListImagesResponseTypeDef(TypedDict):
imageIds: List[ImageIdentifierTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
StartImageScanRequestRequestTypeDef#
# StartImageScanRequestRequestTypeDef definition
class StartImageScanRequestRequestTypeDef(TypedDict):
repositoryName: str,
imageId: ImageIdentifierTypeDef, # (1)
registryId: NotRequired[str],
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],
- See RCTAppliedForType
- See EncryptionConfigurationForRepositoryCreationTemplateTypeDef
- See TagTypeDef
- See ImageTagMutabilityType
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
tags: List[TagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TagTypeDef
- 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],
- See EncryptionConfigurationForRepositoryCreationTemplateTypeDef
- See TagTypeDef
- See ImageTagMutabilityType
- See RCTAppliedForType
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
tags: Sequence[TagTypeDef], # (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],
- See EncryptionConfigurationForRepositoryCreationTemplateTypeDef
- See TagTypeDef
- See ImageTagMutabilityType
- 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)
- See TagTypeDef
- See ImageTagMutabilityType
- See ImageScanningConfigurationTypeDef
- See EncryptionConfigurationTypeDef
PutImageScanningConfigurationRequestRequestTypeDef#
# PutImageScanningConfigurationRequestRequestTypeDef definition
class PutImageScanningConfigurationRequestRequestTypeDef(TypedDict):
repositoryName: str,
imageScanningConfiguration: ImageScanningConfigurationTypeDef, # (1)
registryId: NotRequired[str],
PutImageScanningConfigurationResponseTypeDef#
# PutImageScanningConfigurationResponseTypeDef definition
class PutImageScanningConfigurationResponseTypeDef(TypedDict):
registryId: str,
repositoryName: str,
imageScanningConfiguration: ImageScanningConfigurationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
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)
CvssScoreDetailsTypeDef#
# CvssScoreDetailsTypeDef definition
class CvssScoreDetailsTypeDef(TypedDict):
adjustments: NotRequired[List[CvssScoreAdjustmentTypeDef]], # (1)
score: NotRequired[float],
scoreSource: NotRequired[str],
scoringVector: NotRequired[str],
version: NotRequired[str],
DescribeImageReplicationStatusResponseTypeDef#
# DescribeImageReplicationStatusResponseTypeDef definition
class DescribeImageReplicationStatusResponseTypeDef(TypedDict):
repositoryName: str,
imageId: ImageIdentifierTypeDef, # (1)
replicationStatuses: List[ImageReplicationStatusTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
DescribeImageScanFindingsRequestDescribeImageScanFindingsPaginateTypeDef#
# DescribeImageScanFindingsRequestDescribeImageScanFindingsPaginateTypeDef definition
class DescribeImageScanFindingsRequestDescribeImageScanFindingsPaginateTypeDef(TypedDict):
repositoryName: str,
imageId: ImageIdentifierTypeDef, # (1)
registryId: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
DescribePullThroughCacheRulesRequestDescribePullThroughCacheRulesPaginateTypeDef#
# DescribePullThroughCacheRulesRequestDescribePullThroughCacheRulesPaginateTypeDef definition
class DescribePullThroughCacheRulesRequestDescribePullThroughCacheRulesPaginateTypeDef(TypedDict):
registryId: NotRequired[str],
ecrRepositoryPrefixes: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeRepositoriesRequestDescribeRepositoriesPaginateTypeDef#
# DescribeRepositoriesRequestDescribeRepositoriesPaginateTypeDef definition
class DescribeRepositoriesRequestDescribeRepositoriesPaginateTypeDef(TypedDict):
registryId: NotRequired[str],
repositoryNames: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeRepositoryCreationTemplatesRequestDescribeRepositoryCreationTemplatesPaginateTypeDef#
# DescribeRepositoryCreationTemplatesRequestDescribeRepositoryCreationTemplatesPaginateTypeDef definition
class DescribeRepositoryCreationTemplatesRequestDescribeRepositoryCreationTemplatesPaginateTypeDef(TypedDict):
prefixes: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeImageScanFindingsRequestImageScanCompleteWaitTypeDef#
# DescribeImageScanFindingsRequestImageScanCompleteWaitTypeDef definition
class DescribeImageScanFindingsRequestImageScanCompleteWaitTypeDef(TypedDict):
repositoryName: str,
imageId: ImageIdentifierTypeDef, # (1)
registryId: NotRequired[str],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (2)
StartImageScanResponseTypeDef#
# StartImageScanResponseTypeDef definition
class StartImageScanResponseTypeDef(TypedDict):
registryId: str,
repositoryName: str,
imageId: ImageIdentifierTypeDef, # (1)
imageScanStatus: ImageScanStatusTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
DescribeImagesRequestDescribeImagesPaginateTypeDef#
# DescribeImagesRequestDescribeImagesPaginateTypeDef definition
class DescribeImagesRequestDescribeImagesPaginateTypeDef(TypedDict):
repositoryName: str,
registryId: NotRequired[str],
imageIds: NotRequired[Sequence[ImageIdentifierTypeDef]], # (1)
filter: NotRequired[DescribeImagesFilterTypeDef], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
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)
DescribePullThroughCacheRulesResponseTypeDef#
# DescribePullThroughCacheRulesResponseTypeDef definition
class DescribePullThroughCacheRulesResponseTypeDef(TypedDict):
pullThroughCacheRules: List[PullThroughCacheRuleTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
GetLifecyclePolicyPreviewRequestGetLifecyclePolicyPreviewPaginateTypeDef#
# GetLifecyclePolicyPreviewRequestGetLifecyclePolicyPreviewPaginateTypeDef definition
class GetLifecyclePolicyPreviewRequestGetLifecyclePolicyPreviewPaginateTypeDef(TypedDict):
repositoryName: str,
registryId: NotRequired[str],
imageIds: NotRequired[Sequence[ImageIdentifierTypeDef]], # (1)
filter: NotRequired[LifecyclePolicyPreviewFilterTypeDef], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
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)
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)
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],
LifecyclePolicyPreviewResultTypeDef#
# LifecyclePolicyPreviewResultTypeDef definition
class LifecyclePolicyPreviewResultTypeDef(TypedDict):
imageTags: NotRequired[List[str]],
imageDigest: NotRequired[str],
imagePushedAt: NotRequired[datetime],
action: NotRequired[LifecyclePolicyRuleActionTypeDef], # (1)
appliedRulePriority: NotRequired[int],
ListImagesRequestListImagesPaginateTypeDef#
# ListImagesRequestListImagesPaginateTypeDef definition
class ListImagesRequestListImagesPaginateTypeDef(TypedDict):
repositoryName: str,
registryId: NotRequired[str],
filter: NotRequired[ListImagesFilterTypeDef], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListImagesRequestRequestTypeDef#
# ListImagesRequestRequestTypeDef definition
class ListImagesRequestRequestTypeDef(TypedDict):
repositoryName: str,
registryId: NotRequired[str],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
filter: NotRequired[ListImagesFilterTypeDef], # (1)
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)
RemediationTypeDef#
# RemediationTypeDef definition
class RemediationTypeDef(TypedDict):
recommendation: NotRequired[RecommendationTypeDef], # (1)
RegistryScanningRuleOutputTypeDef#
# RegistryScanningRuleOutputTypeDef definition
class RegistryScanningRuleOutputTypeDef(TypedDict):
scanFrequency: ScanFrequencyType, # (1)
repositoryFilters: List[ScanningRepositoryFilterTypeDef], # (2)
RegistryScanningRuleTypeDef#
# RegistryScanningRuleTypeDef definition
class RegistryScanningRuleTypeDef(TypedDict):
scanFrequency: ScanFrequencyType, # (1)
repositoryFilters: Sequence[ScanningRepositoryFilterTypeDef], # (2)
RepositoryScanningConfigurationTypeDef#
# RepositoryScanningConfigurationTypeDef definition
class RepositoryScanningConfigurationTypeDef(TypedDict):
repositoryArn: NotRequired[str],
repositoryName: NotRequired[str],
scanOnPush: NotRequired[bool],
scanFrequency: NotRequired[ScanFrequencyType], # (1)
appliedScanFilters: NotRequired[List[ScanningRepositoryFilterTypeDef]], # (2)
ReplicationRuleOutputTypeDef#
# ReplicationRuleOutputTypeDef definition
class ReplicationRuleOutputTypeDef(TypedDict):
destinations: List[ReplicationDestinationTypeDef], # (1)
repositoryFilters: NotRequired[List[RepositoryFilterTypeDef]], # (2)
ReplicationRuleTypeDef#
# ReplicationRuleTypeDef definition
class ReplicationRuleTypeDef(TypedDict):
destinations: Sequence[ReplicationDestinationTypeDef], # (1)
repositoryFilters: NotRequired[Sequence[RepositoryFilterTypeDef]], # (2)
ResourceTypeDef#
# ResourceTypeDef definition
class ResourceTypeDef(TypedDict):
details: NotRequired[ResourceDetailsTypeDef], # (1)
id: NotRequired[str],
tags: NotRequired[Dict[str, str]],
type: NotRequired[str],
BatchDeleteImageResponseTypeDef#
# BatchDeleteImageResponseTypeDef definition
class BatchDeleteImageResponseTypeDef(TypedDict):
imageIds: List[ImageIdentifierTypeDef], # (1)
failures: List[ImageFailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
BatchGetImageResponseTypeDef#
# BatchGetImageResponseTypeDef definition
class BatchGetImageResponseTypeDef(TypedDict):
images: List[ImageTypeDef], # (1)
failures: List[ImageFailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See ImageTypeDef
- See ImageFailureTypeDef
- See ResponseMetadataTypeDef
PutImageResponseTypeDef#
# PutImageResponseTypeDef definition
class PutImageResponseTypeDef(TypedDict):
image: ImageTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See ImageTypeDef
- See ResponseMetadataTypeDef
CreateRepositoryCreationTemplateResponseTypeDef#
# CreateRepositoryCreationTemplateResponseTypeDef definition
class CreateRepositoryCreationTemplateResponseTypeDef(TypedDict):
registryId: str,
repositoryCreationTemplate: RepositoryCreationTemplateTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteRepositoryCreationTemplateResponseTypeDef#
# DeleteRepositoryCreationTemplateResponseTypeDef definition
class DeleteRepositoryCreationTemplateResponseTypeDef(TypedDict):
registryId: str,
repositoryCreationTemplate: RepositoryCreationTemplateTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeRepositoryCreationTemplatesResponseTypeDef#
# DescribeRepositoryCreationTemplatesResponseTypeDef definition
class DescribeRepositoryCreationTemplatesResponseTypeDef(TypedDict):
registryId: str,
repositoryCreationTemplates: List[RepositoryCreationTemplateTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
UpdateRepositoryCreationTemplateResponseTypeDef#
# UpdateRepositoryCreationTemplateResponseTypeDef definition
class UpdateRepositoryCreationTemplateResponseTypeDef(TypedDict):
registryId: str,
repositoryCreationTemplate: RepositoryCreationTemplateTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateRepositoryResponseTypeDef#
# CreateRepositoryResponseTypeDef definition
class CreateRepositoryResponseTypeDef(TypedDict):
repository: RepositoryTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteRepositoryResponseTypeDef#
# DeleteRepositoryResponseTypeDef definition
class DeleteRepositoryResponseTypeDef(TypedDict):
repository: RepositoryTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeRepositoriesResponseTypeDef#
# DescribeRepositoriesResponseTypeDef definition
class DescribeRepositoriesResponseTypeDef(TypedDict):
repositories: List[RepositoryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ScoreDetailsTypeDef#
# ScoreDetailsTypeDef definition
class ScoreDetailsTypeDef(TypedDict):
cvss: NotRequired[CvssScoreDetailsTypeDef], # (1)
DescribeImagesResponseTypeDef#
# DescribeImagesResponseTypeDef definition
class DescribeImagesResponseTypeDef(TypedDict):
imageDetails: List[ImageDetailTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
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],
- See LifecyclePolicyPreviewStatusType
- See LifecyclePolicyPreviewResultTypeDef
- See LifecyclePolicyPreviewSummaryTypeDef
- See ResponseMetadataTypeDef
RegistryScanningConfigurationTypeDef#
# RegistryScanningConfigurationTypeDef definition
class RegistryScanningConfigurationTypeDef(TypedDict):
scanType: NotRequired[ScanTypeType], # (1)
rules: NotRequired[List[RegistryScanningRuleOutputTypeDef]], # (2)
BatchGetRepositoryScanningConfigurationResponseTypeDef#
# BatchGetRepositoryScanningConfigurationResponseTypeDef definition
class BatchGetRepositoryScanningConfigurationResponseTypeDef(TypedDict):
scanningConfigurations: List[RepositoryScanningConfigurationTypeDef], # (1)
failures: List[RepositoryScanningConfigurationFailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See RepositoryScanningConfigurationTypeDef
- See RepositoryScanningConfigurationFailureTypeDef
- See ResponseMetadataTypeDef
ReplicationConfigurationOutputTypeDef#
# ReplicationConfigurationOutputTypeDef definition
class ReplicationConfigurationOutputTypeDef(TypedDict):
rules: List[ReplicationRuleOutputTypeDef], # (1)
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],
- See PackageVulnerabilityDetailsTypeDef
- See RemediationTypeDef
- See ResourceTypeDef
- See ScoreDetailsTypeDef
GetRegistryScanningConfigurationResponseTypeDef#
# GetRegistryScanningConfigurationResponseTypeDef definition
class GetRegistryScanningConfigurationResponseTypeDef(TypedDict):
registryId: str,
scanningConfiguration: RegistryScanningConfigurationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PutRegistryScanningConfigurationResponseTypeDef#
# PutRegistryScanningConfigurationResponseTypeDef definition
class PutRegistryScanningConfigurationResponseTypeDef(TypedDict):
registryScanningConfiguration: RegistryScanningConfigurationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PutRegistryScanningConfigurationRequestRequestTypeDef#
# PutRegistryScanningConfigurationRequestRequestTypeDef definition
class PutRegistryScanningConfigurationRequestRequestTypeDef(TypedDict):
scanType: NotRequired[ScanTypeType], # (1)
rules: NotRequired[Sequence[RegistryScanningRuleUnionTypeDef]], # (2)
DescribeRegistryResponseTypeDef#
# DescribeRegistryResponseTypeDef definition
class DescribeRegistryResponseTypeDef(TypedDict):
registryId: str,
replicationConfiguration: ReplicationConfigurationOutputTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PutReplicationConfigurationResponseTypeDef#
# PutReplicationConfigurationResponseTypeDef definition
class PutReplicationConfigurationResponseTypeDef(TypedDict):
replicationConfiguration: ReplicationConfigurationOutputTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ReplicationConfigurationTypeDef#
# ReplicationConfigurationTypeDef definition
class ReplicationConfigurationTypeDef(TypedDict):
rules: Sequence[ReplicationRuleUnionTypeDef], # (1)
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)
PutReplicationConfigurationRequestRequestTypeDef#
# PutReplicationConfigurationRequestRequestTypeDef definition
class PutReplicationConfigurationRequestRequestTypeDef(TypedDict):
replicationConfiguration: ReplicationConfigurationTypeDef, # (1)
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],