New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/client-ecr

Package Overview
Dependencies
Maintainers
5
Versions
435
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-ecr - npm Package Compare versions

Comparing version 3.687.0 to 3.691.0

772

dist-types/ts3.4/models/models_0.d.ts
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
import { ECRServiceException as __BaseException } from "./ECRServiceException";
export interface BatchCheckLayerAvailabilityRequest {
registryId?: string;
registryId?: string | undefined;
repositoryName: string | undefined;

@@ -15,5 +15,5 @@ layerDigests: string[] | undefined;

export interface LayerFailure {
layerDigest?: string;
failureCode?: LayerFailureCode;
failureReason?: string;
layerDigest?: string | undefined;
failureCode?: LayerFailureCode | undefined;
failureReason?: string | undefined;
}

@@ -27,10 +27,10 @@ export declare const LayerAvailability: {

export interface Layer {
layerDigest?: string;
layerAvailability?: LayerAvailability;
layerSize?: number;
mediaType?: string;
layerDigest?: string | undefined;
layerAvailability?: LayerAvailability | undefined;
layerSize?: number | undefined;
mediaType?: string | undefined;
}
export interface BatchCheckLayerAvailabilityResponse {
layers?: Layer[];
failures?: LayerFailure[];
layers?: Layer[] | undefined;
failures?: LayerFailure[] | undefined;
}

@@ -57,7 +57,7 @@ export declare class InvalidParameterException extends __BaseException {

export interface ImageIdentifier {
imageDigest?: string;
imageTag?: string;
imageDigest?: string | undefined;
imageTag?: string | undefined;
}
export interface BatchDeleteImageRequest {
registryId?: string;
registryId?: string | undefined;
repositoryName: string | undefined;

@@ -81,26 +81,26 @@ imageIds: ImageIdentifier[] | undefined;

export interface ImageFailure {
imageId?: ImageIdentifier;
failureCode?: ImageFailureCode;
failureReason?: string;
imageId?: ImageIdentifier | undefined;
failureCode?: ImageFailureCode | undefined;
failureReason?: string | undefined;
}
export interface BatchDeleteImageResponse {
imageIds?: ImageIdentifier[];
failures?: ImageFailure[];
imageIds?: ImageIdentifier[] | undefined;
failures?: ImageFailure[] | undefined;
}
export interface BatchGetImageRequest {
registryId?: string;
registryId?: string | undefined;
repositoryName: string | undefined;
imageIds: ImageIdentifier[] | undefined;
acceptedMediaTypes?: string[];
acceptedMediaTypes?: string[] | undefined;
}
export interface Image {
registryId?: string;
repositoryName?: string;
imageId?: ImageIdentifier;
imageManifest?: string;
imageManifestMediaType?: string;
registryId?: string | undefined;
repositoryName?: string | undefined;
imageId?: ImageIdentifier | undefined;
imageManifest?: string | undefined;
imageManifestMediaType?: string | undefined;
}
export interface BatchGetImageResponse {
images?: Image[];
failures?: ImageFailure[];
images?: Image[] | undefined;
failures?: ImageFailure[] | undefined;
}

@@ -133,5 +133,5 @@ export declare class LimitExceededException extends __BaseException {

export interface RepositoryScanningConfigurationFailure {
repositoryName?: string;
failureCode?: ScanningConfigurationFailureCode;
failureReason?: string;
repositoryName?: string | undefined;
failureCode?: ScanningConfigurationFailureCode | undefined;
failureReason?: string | undefined;
}

@@ -154,11 +154,11 @@ export declare const ScanningRepositoryFilterType: {

export interface RepositoryScanningConfiguration {
repositoryArn?: string;
repositoryName?: string;
scanOnPush?: boolean;
scanFrequency?: ScanFrequency;
appliedScanFilters?: ScanningRepositoryFilter[];
repositoryArn?: string | undefined;
repositoryName?: string | undefined;
scanOnPush?: boolean | undefined;
scanFrequency?: ScanFrequency | undefined;
appliedScanFilters?: ScanningRepositoryFilter[] | undefined;
}
export interface BatchGetRepositoryScanningConfigurationResponse {
scanningConfigurations?: RepositoryScanningConfiguration[];
failures?: RepositoryScanningConfigurationFailure[];
scanningConfigurations?: RepositoryScanningConfiguration[] | undefined;
failures?: RepositoryScanningConfigurationFailure[] | undefined;
}

@@ -173,3 +173,3 @@ export declare class ValidationException extends __BaseException {

export interface CompleteLayerUploadRequest {
registryId?: string;
registryId?: string | undefined;
repositoryName: string | undefined;

@@ -180,6 +180,6 @@ uploadId: string | undefined;

export interface CompleteLayerUploadResponse {
registryId?: string;
repositoryName?: string;
uploadId?: string;
layerDigest?: string;
registryId?: string | undefined;
repositoryName?: string | undefined;
uploadId?: string | undefined;
layerDigest?: string | undefined;
}

@@ -203,3 +203,3 @@ export declare class EmptyUploadException extends __BaseException {

readonly $fault: "client";
kmsError?: string;
kmsError?: string | undefined;
constructor(opts: __ExceptionOptionType<KmsException, __BaseException>);

@@ -242,13 +242,13 @@ }

upstreamRegistryUrl: string | undefined;
registryId?: string;
upstreamRegistry?: UpstreamRegistry;
credentialArn?: string;
registryId?: string | undefined;
upstreamRegistry?: UpstreamRegistry | undefined;
credentialArn?: string | undefined;
}
export interface CreatePullThroughCacheRuleResponse {
ecrRepositoryPrefix?: string;
upstreamRegistryUrl?: string;
createdAt?: Date;
registryId?: string;
upstreamRegistry?: UpstreamRegistry;
credentialArn?: string;
ecrRepositoryPrefix?: string | undefined;
upstreamRegistryUrl?: string | undefined;
createdAt?: Date | undefined;
registryId?: string | undefined;
upstreamRegistry?: UpstreamRegistry | undefined;
credentialArn?: string | undefined;
}

@@ -308,6 +308,6 @@ export declare class PullThroughCacheRuleAlreadyExistsException extends __BaseException {

encryptionType: EncryptionType | undefined;
kmsKey?: string;
kmsKey?: string | undefined;
}
export interface ImageScanningConfiguration {
scanOnPush?: boolean;
scanOnPush?: boolean | undefined;
}

@@ -325,21 +325,21 @@ export declare const ImageTagMutability: {

export interface CreateRepositoryRequest {
registryId?: string;
registryId?: string | undefined;
repositoryName: string | undefined;
tags?: Tag[];
imageTagMutability?: ImageTagMutability;
imageScanningConfiguration?: ImageScanningConfiguration;
encryptionConfiguration?: EncryptionConfiguration;
tags?: Tag[] | undefined;
imageTagMutability?: ImageTagMutability | undefined;
imageScanningConfiguration?: ImageScanningConfiguration | undefined;
encryptionConfiguration?: EncryptionConfiguration | undefined;
}
export interface Repository {
repositoryArn?: string;
registryId?: string;
repositoryName?: string;
repositoryUri?: string;
createdAt?: Date;
imageTagMutability?: ImageTagMutability;
imageScanningConfiguration?: ImageScanningConfiguration;
encryptionConfiguration?: EncryptionConfiguration;
repositoryArn?: string | undefined;
registryId?: string | undefined;
repositoryName?: string | undefined;
repositoryUri?: string | undefined;
createdAt?: Date | undefined;
imageTagMutability?: ImageTagMutability | undefined;
imageScanningConfiguration?: ImageScanningConfiguration | undefined;
encryptionConfiguration?: EncryptionConfiguration | undefined;
}
export interface CreateRepositoryResponse {
repository?: Repository;
repository?: Repository | undefined;
}

@@ -377,31 +377,35 @@ export declare class InvalidTagParameterException extends __BaseException {

encryptionType: EncryptionType | undefined;
kmsKey?: string;
kmsKey?: string | undefined;
}
export interface CreateRepositoryCreationTemplateRequest {
prefix: string | undefined;
description?: string;
encryptionConfiguration?: EncryptionConfigurationForRepositoryCreationTemplate;
resourceTags?: Tag[];
imageTagMutability?: ImageTagMutability;
repositoryPolicy?: string;
lifecyclePolicy?: string;
description?: string | undefined;
encryptionConfiguration?:
| EncryptionConfigurationForRepositoryCreationTemplate
| undefined;
resourceTags?: Tag[] | undefined;
imageTagMutability?: ImageTagMutability | undefined;
repositoryPolicy?: string | undefined;
lifecyclePolicy?: string | undefined;
appliedFor: RCTAppliedFor[] | undefined;
customRoleArn?: string;
customRoleArn?: string | undefined;
}
export interface RepositoryCreationTemplate {
prefix?: string;
description?: string;
encryptionConfiguration?: EncryptionConfigurationForRepositoryCreationTemplate;
resourceTags?: Tag[];
imageTagMutability?: ImageTagMutability;
repositoryPolicy?: string;
lifecyclePolicy?: string;
appliedFor?: RCTAppliedFor[];
customRoleArn?: string;
createdAt?: Date;
updatedAt?: Date;
prefix?: string | undefined;
description?: string | undefined;
encryptionConfiguration?:
| EncryptionConfigurationForRepositoryCreationTemplate
| undefined;
resourceTags?: Tag[] | undefined;
imageTagMutability?: ImageTagMutability | undefined;
repositoryPolicy?: string | undefined;
lifecyclePolicy?: string | undefined;
appliedFor?: RCTAppliedFor[] | undefined;
customRoleArn?: string | undefined;
createdAt?: Date | undefined;
updatedAt?: Date | undefined;
}
export interface CreateRepositoryCreationTemplateResponse {
registryId?: string;
repositoryCreationTemplate?: RepositoryCreationTemplate;
registryId?: string | undefined;
repositoryCreationTemplate?: RepositoryCreationTemplate | undefined;
}

@@ -416,10 +420,10 @@ export declare class TemplateAlreadyExistsException extends __BaseException {

export interface DeleteLifecyclePolicyRequest {
registryId?: string;
registryId?: string | undefined;
repositoryName: string | undefined;
}
export interface DeleteLifecyclePolicyResponse {
registryId?: string;
repositoryName?: string;
lifecyclePolicyText?: string;
lastEvaluatedAt?: Date;
registryId?: string | undefined;
repositoryName?: string | undefined;
lifecyclePolicyText?: string | undefined;
lastEvaluatedAt?: Date | undefined;
}

@@ -438,10 +442,10 @@ export declare class LifecyclePolicyNotFoundException extends __BaseException {

ecrRepositoryPrefix: string | undefined;
registryId?: string;
registryId?: string | undefined;
}
export interface DeletePullThroughCacheRuleResponse {
ecrRepositoryPrefix?: string;
upstreamRegistryUrl?: string;
createdAt?: Date;
registryId?: string;
credentialArn?: string;
ecrRepositoryPrefix?: string | undefined;
upstreamRegistryUrl?: string | undefined;
createdAt?: Date | undefined;
registryId?: string | undefined;
credentialArn?: string | undefined;
}

@@ -460,4 +464,4 @@ export declare class PullThroughCacheRuleNotFoundException extends __BaseException {

export interface DeleteRegistryPolicyResponse {
registryId?: string;
policyText?: string;
registryId?: string | undefined;
policyText?: string | undefined;
}

@@ -475,8 +479,8 @@ export declare class RegistryPolicyNotFoundException extends __BaseException {

export interface DeleteRepositoryRequest {
registryId?: string;
registryId?: string | undefined;
repositoryName: string | undefined;
force?: boolean;
force?: boolean | undefined;
}
export interface DeleteRepositoryResponse {
repository?: Repository;
repository?: Repository | undefined;
}

@@ -494,4 +498,4 @@ export declare class RepositoryNotEmptyException extends __BaseException {

export interface DeleteRepositoryCreationTemplateResponse {
registryId?: string;
repositoryCreationTemplate?: RepositoryCreationTemplate;
registryId?: string | undefined;
repositoryCreationTemplate?: RepositoryCreationTemplate | undefined;
}

@@ -506,9 +510,9 @@ export declare class TemplateNotFoundException extends __BaseException {

export interface DeleteRepositoryPolicyRequest {
registryId?: string;
registryId?: string | undefined;
repositoryName: string | undefined;
}
export interface DeleteRepositoryPolicyResponse {
registryId?: string;
repositoryName?: string;
policyText?: string;
registryId?: string | undefined;
repositoryName?: string | undefined;
policyText?: string | undefined;
}

@@ -528,3 +532,3 @@ export declare class RepositoryPolicyNotFoundException extends __BaseException {

imageId: ImageIdentifier | undefined;
registryId?: string;
registryId?: string | undefined;
}

@@ -539,11 +543,11 @@ export declare const ReplicationStatus: {

export interface ImageReplicationStatus {
region?: string;
registryId?: string;
status?: ReplicationStatus;
failureCode?: string;
region?: string | undefined;
registryId?: string | undefined;
status?: ReplicationStatus | undefined;
failureCode?: string | undefined;
}
export interface DescribeImageReplicationStatusResponse {
repositoryName?: string;
imageId?: ImageIdentifier;
replicationStatuses?: ImageReplicationStatus[];
repositoryName?: string | undefined;
imageId?: ImageIdentifier | undefined;
replicationStatuses?: ImageReplicationStatus[] | undefined;
}

@@ -564,11 +568,11 @@ export declare class ImageNotFoundException extends __BaseException {

export interface DescribeImagesFilter {
tagStatus?: TagStatus;
tagStatus?: TagStatus | undefined;
}
export interface DescribeImagesRequest {
registryId?: string;
registryId?: string | undefined;
repositoryName: string | undefined;
imageIds?: ImageIdentifier[];
nextToken?: string;
maxResults?: number;
filter?: DescribeImagesFilter;
imageIds?: ImageIdentifier[] | undefined;
nextToken?: string | undefined;
maxResults?: number | undefined;
filter?: DescribeImagesFilter | undefined;
}

@@ -586,5 +590,5 @@ export declare const FindingSeverity: {

export interface ImageScanFindingsSummary {
imageScanCompletedAt?: Date;
vulnerabilitySourceUpdatedAt?: Date;
findingSeverityCounts?: Partial<Record<FindingSeverity, number>>;
imageScanCompletedAt?: Date | undefined;
vulnerabilitySourceUpdatedAt?: Date | undefined;
findingSeverityCounts?: Partial<Record<FindingSeverity, number>> | undefined;
}

@@ -603,142 +607,142 @@ export declare const ScanStatus: {

export interface ImageScanStatus {
status?: ScanStatus;
description?: string;
status?: ScanStatus | undefined;
description?: string | undefined;
}
export interface ImageDetail {
registryId?: string;
repositoryName?: string;
imageDigest?: string;
imageTags?: string[];
imageSizeInBytes?: number;
imagePushedAt?: Date;
imageScanStatus?: ImageScanStatus;
imageScanFindingsSummary?: ImageScanFindingsSummary;
imageManifestMediaType?: string;
artifactMediaType?: string;
lastRecordedPullTime?: Date;
registryId?: string | undefined;
repositoryName?: string | undefined;
imageDigest?: string | undefined;
imageTags?: string[] | undefined;
imageSizeInBytes?: number | undefined;
imagePushedAt?: Date | undefined;
imageScanStatus?: ImageScanStatus | undefined;
imageScanFindingsSummary?: ImageScanFindingsSummary | undefined;
imageManifestMediaType?: string | undefined;
artifactMediaType?: string | undefined;
lastRecordedPullTime?: Date | undefined;
}
export interface DescribeImagesResponse {
imageDetails?: ImageDetail[];
nextToken?: string;
imageDetails?: ImageDetail[] | undefined;
nextToken?: string | undefined;
}
export interface DescribeImageScanFindingsRequest {
registryId?: string;
registryId?: string | undefined;
repositoryName: string | undefined;
imageId: ImageIdentifier | undefined;
nextToken?: string;
maxResults?: number;
nextToken?: string | undefined;
maxResults?: number | undefined;
}
export interface CvssScore {
baseScore?: number;
scoringVector?: string;
source?: string;
version?: string;
baseScore?: number | undefined;
scoringVector?: string | undefined;
source?: string | undefined;
version?: string | undefined;
}
export interface VulnerablePackage {
arch?: string;
epoch?: number;
filePath?: string;
name?: string;
packageManager?: string;
release?: string;
sourceLayerHash?: string;
version?: string;
fixedInVersion?: string;
arch?: string | undefined;
epoch?: number | undefined;
filePath?: string | undefined;
name?: string | undefined;
packageManager?: string | undefined;
release?: string | undefined;
sourceLayerHash?: string | undefined;
version?: string | undefined;
fixedInVersion?: string | undefined;
}
export interface PackageVulnerabilityDetails {
cvss?: CvssScore[];
referenceUrls?: string[];
relatedVulnerabilities?: string[];
source?: string;
sourceUrl?: string;
vendorCreatedAt?: Date;
vendorSeverity?: string;
vendorUpdatedAt?: Date;
vulnerabilityId?: string;
vulnerablePackages?: VulnerablePackage[];
cvss?: CvssScore[] | undefined;
referenceUrls?: string[] | undefined;
relatedVulnerabilities?: string[] | undefined;
source?: string | undefined;
sourceUrl?: string | undefined;
vendorCreatedAt?: Date | undefined;
vendorSeverity?: string | undefined;
vendorUpdatedAt?: Date | undefined;
vulnerabilityId?: string | undefined;
vulnerablePackages?: VulnerablePackage[] | undefined;
}
export interface Recommendation {
url?: string;
text?: string;
url?: string | undefined;
text?: string | undefined;
}
export interface Remediation {
recommendation?: Recommendation;
recommendation?: Recommendation | undefined;
}
export interface AwsEcrContainerImageDetails {
architecture?: string;
author?: string;
imageHash?: string;
imageTags?: string[];
platform?: string;
pushedAt?: Date;
registry?: string;
repositoryName?: string;
architecture?: string | undefined;
author?: string | undefined;
imageHash?: string | undefined;
imageTags?: string[] | undefined;
platform?: string | undefined;
pushedAt?: Date | undefined;
registry?: string | undefined;
repositoryName?: string | undefined;
}
export interface ResourceDetails {
awsEcrContainerImage?: AwsEcrContainerImageDetails;
awsEcrContainerImage?: AwsEcrContainerImageDetails | undefined;
}
export interface Resource {
details?: ResourceDetails;
id?: string;
tags?: Record<string, string>;
type?: string;
details?: ResourceDetails | undefined;
id?: string | undefined;
tags?: Record<string, string> | undefined;
type?: string | undefined;
}
export interface CvssScoreAdjustment {
metric?: string;
reason?: string;
metric?: string | undefined;
reason?: string | undefined;
}
export interface CvssScoreDetails {
adjustments?: CvssScoreAdjustment[];
score?: number;
scoreSource?: string;
scoringVector?: string;
version?: string;
adjustments?: CvssScoreAdjustment[] | undefined;
score?: number | undefined;
scoreSource?: string | undefined;
scoringVector?: string | undefined;
version?: string | undefined;
}
export interface ScoreDetails {
cvss?: CvssScoreDetails;
cvss?: CvssScoreDetails | undefined;
}
export interface EnhancedImageScanFinding {
awsAccountId?: string;
description?: string;
findingArn?: string;
firstObservedAt?: Date;
lastObservedAt?: Date;
packageVulnerabilityDetails?: PackageVulnerabilityDetails;
remediation?: Remediation;
resources?: Resource[];
score?: number;
scoreDetails?: ScoreDetails;
severity?: string;
status?: string;
title?: string;
type?: string;
updatedAt?: Date;
fixAvailable?: string;
exploitAvailable?: string;
awsAccountId?: string | undefined;
description?: string | undefined;
findingArn?: string | undefined;
firstObservedAt?: Date | undefined;
lastObservedAt?: Date | undefined;
packageVulnerabilityDetails?: PackageVulnerabilityDetails | undefined;
remediation?: Remediation | undefined;
resources?: Resource[] | undefined;
score?: number | undefined;
scoreDetails?: ScoreDetails | undefined;
severity?: string | undefined;
status?: string | undefined;
title?: string | undefined;
type?: string | undefined;
updatedAt?: Date | undefined;
fixAvailable?: string | undefined;
exploitAvailable?: string | undefined;
}
export interface Attribute {
key: string | undefined;
value?: string;
value?: string | undefined;
}
export interface ImageScanFinding {
name?: string;
description?: string;
uri?: string;
severity?: FindingSeverity;
attributes?: Attribute[];
name?: string | undefined;
description?: string | undefined;
uri?: string | undefined;
severity?: FindingSeverity | undefined;
attributes?: Attribute[] | undefined;
}
export interface ImageScanFindings {
imageScanCompletedAt?: Date;
vulnerabilitySourceUpdatedAt?: Date;
findingSeverityCounts?: Partial<Record<FindingSeverity, number>>;
findings?: ImageScanFinding[];
enhancedFindings?: EnhancedImageScanFinding[];
imageScanCompletedAt?: Date | undefined;
vulnerabilitySourceUpdatedAt?: Date | undefined;
findingSeverityCounts?: Partial<Record<FindingSeverity, number>> | undefined;
findings?: ImageScanFinding[] | undefined;
enhancedFindings?: EnhancedImageScanFinding[] | undefined;
}
export interface DescribeImageScanFindingsResponse {
registryId?: string;
repositoryName?: string;
imageId?: ImageIdentifier;
imageScanStatus?: ImageScanStatus;
imageScanFindings?: ImageScanFindings;
nextToken?: string;
registryId?: string | undefined;
repositoryName?: string | undefined;
imageId?: ImageIdentifier | undefined;
imageScanStatus?: ImageScanStatus | undefined;
imageScanFindings?: ImageScanFindings | undefined;
nextToken?: string | undefined;
}

@@ -753,19 +757,19 @@ export declare class ScanNotFoundException extends __BaseException {

export interface DescribePullThroughCacheRulesRequest {
registryId?: string;
ecrRepositoryPrefixes?: string[];
nextToken?: string;
maxResults?: number;
registryId?: string | undefined;
ecrRepositoryPrefixes?: string[] | undefined;
nextToken?: string | undefined;
maxResults?: number | undefined;
}
export interface PullThroughCacheRule {
ecrRepositoryPrefix?: string;
upstreamRegistryUrl?: string;
createdAt?: Date;
registryId?: string;
credentialArn?: string;
upstreamRegistry?: UpstreamRegistry;
updatedAt?: Date;
ecrRepositoryPrefix?: string | undefined;
upstreamRegistryUrl?: string | undefined;
createdAt?: Date | undefined;
registryId?: string | undefined;
credentialArn?: string | undefined;
upstreamRegistry?: UpstreamRegistry | undefined;
updatedAt?: Date | undefined;
}
export interface DescribePullThroughCacheRulesResponse {
pullThroughCacheRules?: PullThroughCacheRule[];
nextToken?: string;
pullThroughCacheRules?: PullThroughCacheRule[] | undefined;
nextToken?: string | undefined;
}

@@ -788,3 +792,3 @@ export interface DescribeRegistryRequest {}

destinations: ReplicationDestination[] | undefined;
repositoryFilters?: RepositoryFilter[];
repositoryFilters?: RepositoryFilter[] | undefined;
}

@@ -795,24 +799,24 @@ export interface ReplicationConfiguration {

export interface DescribeRegistryResponse {
registryId?: string;
replicationConfiguration?: ReplicationConfiguration;
registryId?: string | undefined;
replicationConfiguration?: ReplicationConfiguration | undefined;
}
export interface DescribeRepositoriesRequest {
registryId?: string;
repositoryNames?: string[];
nextToken?: string;
maxResults?: number;
registryId?: string | undefined;
repositoryNames?: string[] | undefined;
nextToken?: string | undefined;
maxResults?: number | undefined;
}
export interface DescribeRepositoriesResponse {
repositories?: Repository[];
nextToken?: string;
repositories?: Repository[] | undefined;
nextToken?: string | undefined;
}
export interface DescribeRepositoryCreationTemplatesRequest {
prefixes?: string[];
nextToken?: string;
maxResults?: number;
prefixes?: string[] | undefined;
nextToken?: string | undefined;
maxResults?: number | undefined;
}
export interface DescribeRepositoryCreationTemplatesResponse {
registryId?: string;
repositoryCreationTemplates?: RepositoryCreationTemplate[];
nextToken?: string;
registryId?: string | undefined;
repositoryCreationTemplates?: RepositoryCreationTemplate[] | undefined;
nextToken?: string | undefined;
}

@@ -823,18 +827,18 @@ export interface GetAccountSettingRequest {

export interface GetAccountSettingResponse {
name?: string;
value?: string;
name?: string | undefined;
value?: string | undefined;
}
export interface GetAuthorizationTokenRequest {
registryIds?: string[];
registryIds?: string[] | undefined;
}
export interface AuthorizationData {
authorizationToken?: string;
expiresAt?: Date;
proxyEndpoint?: string;
authorizationToken?: string | undefined;
expiresAt?: Date | undefined;
proxyEndpoint?: string | undefined;
}
export interface GetAuthorizationTokenResponse {
authorizationData?: AuthorizationData[];
authorizationData?: AuthorizationData[] | undefined;
}
export interface GetDownloadUrlForLayerRequest {
registryId?: string;
registryId?: string | undefined;
repositoryName: string | undefined;

@@ -844,4 +848,4 @@ layerDigest: string | undefined;

export interface GetDownloadUrlForLayerResponse {
downloadUrl?: string;
layerDigest?: string;
downloadUrl?: string | undefined;
layerDigest?: string | undefined;
}

@@ -873,21 +877,21 @@ export declare class LayerInaccessibleException extends __BaseException {

export interface GetLifecyclePolicyRequest {
registryId?: string;
registryId?: string | undefined;
repositoryName: string | undefined;
}
export interface GetLifecyclePolicyResponse {
registryId?: string;
repositoryName?: string;
lifecyclePolicyText?: string;
lastEvaluatedAt?: Date;
registryId?: string | undefined;
repositoryName?: string | undefined;
lifecyclePolicyText?: string | undefined;
lastEvaluatedAt?: Date | undefined;
}
export interface LifecyclePolicyPreviewFilter {
tagStatus?: TagStatus;
tagStatus?: TagStatus | undefined;
}
export interface GetLifecyclePolicyPreviewRequest {
registryId?: string;
registryId?: string | undefined;
repositoryName: string | undefined;
imageIds?: ImageIdentifier[];
nextToken?: string;
maxResults?: number;
filter?: LifecyclePolicyPreviewFilter;
imageIds?: ImageIdentifier[] | undefined;
nextToken?: string | undefined;
maxResults?: number | undefined;
filter?: LifecyclePolicyPreviewFilter | undefined;
}

@@ -900,10 +904,10 @@ export declare const ImageActionType: {

export interface LifecyclePolicyRuleAction {
type?: ImageActionType;
type?: ImageActionType | undefined;
}
export interface LifecyclePolicyPreviewResult {
imageTags?: string[];
imageDigest?: string;
imagePushedAt?: Date;
action?: LifecyclePolicyRuleAction;
appliedRulePriority?: number;
imageTags?: string[] | undefined;
imageDigest?: string | undefined;
imagePushedAt?: Date | undefined;
action?: LifecyclePolicyRuleAction | undefined;
appliedRulePriority?: number | undefined;
}

@@ -919,12 +923,12 @@ export declare const LifecyclePolicyPreviewStatus: {

export interface LifecyclePolicyPreviewSummary {
expiringImageTotalCount?: number;
expiringImageTotalCount?: number | undefined;
}
export interface GetLifecyclePolicyPreviewResponse {
registryId?: string;
repositoryName?: string;
lifecyclePolicyText?: string;
status?: LifecyclePolicyPreviewStatus;
nextToken?: string;
previewResults?: LifecyclePolicyPreviewResult[];
summary?: LifecyclePolicyPreviewSummary;
registryId?: string | undefined;
repositoryName?: string | undefined;
lifecyclePolicyText?: string | undefined;
status?: LifecyclePolicyPreviewStatus | undefined;
nextToken?: string | undefined;
previewResults?: LifecyclePolicyPreviewResult[] | undefined;
summary?: LifecyclePolicyPreviewSummary | undefined;
}

@@ -943,4 +947,4 @@ export declare class LifecyclePolicyPreviewNotFoundException extends __BaseException {

export interface GetRegistryPolicyResponse {
registryId?: string;
policyText?: string;
registryId?: string | undefined;
policyText?: string | undefined;
}

@@ -958,39 +962,39 @@ export interface GetRegistryScanningConfigurationRequest {}

export interface RegistryScanningConfiguration {
scanType?: ScanType;
rules?: RegistryScanningRule[];
scanType?: ScanType | undefined;
rules?: RegistryScanningRule[] | undefined;
}
export interface GetRegistryScanningConfigurationResponse {
registryId?: string;
scanningConfiguration?: RegistryScanningConfiguration;
registryId?: string | undefined;
scanningConfiguration?: RegistryScanningConfiguration | undefined;
}
export interface GetRepositoryPolicyRequest {
registryId?: string;
registryId?: string | undefined;
repositoryName: string | undefined;
}
export interface GetRepositoryPolicyResponse {
registryId?: string;
repositoryName?: string;
policyText?: string;
registryId?: string | undefined;
repositoryName?: string | undefined;
policyText?: string | undefined;
}
export interface InitiateLayerUploadRequest {
registryId?: string;
registryId?: string | undefined;
repositoryName: string | undefined;
}
export interface InitiateLayerUploadResponse {
uploadId?: string;
partSize?: number;
uploadId?: string | undefined;
partSize?: number | undefined;
}
export interface ListImagesFilter {
tagStatus?: TagStatus;
tagStatus?: TagStatus | undefined;
}
export interface ListImagesRequest {
registryId?: string;
registryId?: string | undefined;
repositoryName: string | undefined;
nextToken?: string;
maxResults?: number;
filter?: ListImagesFilter;
nextToken?: string | undefined;
maxResults?: number | undefined;
filter?: ListImagesFilter | undefined;
}
export interface ListImagesResponse {
imageIds?: ImageIdentifier[];
nextToken?: string;
imageIds?: ImageIdentifier[] | undefined;
nextToken?: string | undefined;
}

@@ -1001,3 +1005,3 @@ export interface ListTagsForResourceRequest {

export interface ListTagsForResourceResponse {
tags?: Tag[];
tags?: Tag[] | undefined;
}

@@ -1009,4 +1013,4 @@ export interface PutAccountSettingRequest {

export interface PutAccountSettingResponse {
name?: string;
value?: string;
name?: string | undefined;
value?: string | undefined;
}

@@ -1038,11 +1042,11 @@ export declare class ImageAlreadyExistsException extends __BaseException {

export interface PutImageRequest {
registryId?: string;
registryId?: string | undefined;
repositoryName: string | undefined;
imageManifest: string | undefined;
imageManifestMediaType?: string;
imageTag?: string;
imageDigest?: string;
imageManifestMediaType?: string | undefined;
imageTag?: string | undefined;
imageDigest?: string | undefined;
}
export interface PutImageResponse {
image?: Image;
image?: Image | undefined;
}

@@ -1060,3 +1064,3 @@ export declare class ReferencedImagesNotFoundException extends __BaseException {

export interface PutImageScanningConfigurationRequest {
registryId?: string;
registryId?: string | undefined;
repositoryName: string | undefined;

@@ -1066,8 +1070,8 @@ imageScanningConfiguration: ImageScanningConfiguration | undefined;

export interface PutImageScanningConfigurationResponse {
registryId?: string;
repositoryName?: string;
imageScanningConfiguration?: ImageScanningConfiguration;
registryId?: string | undefined;
repositoryName?: string | undefined;
imageScanningConfiguration?: ImageScanningConfiguration | undefined;
}
export interface PutImageTagMutabilityRequest {
registryId?: string;
registryId?: string | undefined;
repositoryName: string | undefined;

@@ -1077,8 +1081,8 @@ imageTagMutability: ImageTagMutability | undefined;

export interface PutImageTagMutabilityResponse {
registryId?: string;
repositoryName?: string;
imageTagMutability?: ImageTagMutability;
registryId?: string | undefined;
repositoryName?: string | undefined;
imageTagMutability?: ImageTagMutability | undefined;
}
export interface PutLifecyclePolicyRequest {
registryId?: string;
registryId?: string | undefined;
repositoryName: string | undefined;

@@ -1088,5 +1092,5 @@ lifecyclePolicyText: string | undefined;

export interface PutLifecyclePolicyResponse {
registryId?: string;
repositoryName?: string;
lifecyclePolicyText?: string;
registryId?: string | undefined;
repositoryName?: string | undefined;
lifecyclePolicyText?: string | undefined;
}

@@ -1097,11 +1101,11 @@ export interface PutRegistryPolicyRequest {

export interface PutRegistryPolicyResponse {
registryId?: string;
policyText?: string;
registryId?: string | undefined;
policyText?: string | undefined;
}
export interface PutRegistryScanningConfigurationRequest {
scanType?: ScanType;
rules?: RegistryScanningRule[];
scanType?: ScanType | undefined;
rules?: RegistryScanningRule[] | undefined;
}
export interface PutRegistryScanningConfigurationResponse {
registryScanningConfiguration?: RegistryScanningConfiguration;
registryScanningConfiguration?: RegistryScanningConfiguration | undefined;
}

@@ -1112,17 +1116,17 @@ export interface PutReplicationConfigurationRequest {

export interface PutReplicationConfigurationResponse {
replicationConfiguration?: ReplicationConfiguration;
replicationConfiguration?: ReplicationConfiguration | undefined;
}
export interface SetRepositoryPolicyRequest {
registryId?: string;
registryId?: string | undefined;
repositoryName: string | undefined;
policyText: string | undefined;
force?: boolean;
force?: boolean | undefined;
}
export interface SetRepositoryPolicyResponse {
registryId?: string;
repositoryName?: string;
policyText?: string;
registryId?: string | undefined;
repositoryName?: string | undefined;
policyText?: string | undefined;
}
export interface StartImageScanRequest {
registryId?: string;
registryId?: string | undefined;
repositoryName: string | undefined;

@@ -1132,6 +1136,6 @@ imageId: ImageIdentifier | undefined;

export interface StartImageScanResponse {
registryId?: string;
repositoryName?: string;
imageId?: ImageIdentifier;
imageScanStatus?: ImageScanStatus;
registryId?: string | undefined;
repositoryName?: string | undefined;
imageId?: ImageIdentifier | undefined;
imageScanStatus?: ImageScanStatus | undefined;
}

@@ -1156,11 +1160,11 @@ export declare class UnsupportedImageTypeException extends __BaseException {

export interface StartLifecyclePolicyPreviewRequest {
registryId?: string;
registryId?: string | undefined;
repositoryName: string | undefined;
lifecyclePolicyText?: string;
lifecyclePolicyText?: string | undefined;
}
export interface StartLifecyclePolicyPreviewResponse {
registryId?: string;
repositoryName?: string;
lifecyclePolicyText?: string;
status?: LifecyclePolicyPreviewStatus;
registryId?: string | undefined;
repositoryName?: string | undefined;
lifecyclePolicyText?: string | undefined;
status?: LifecyclePolicyPreviewStatus | undefined;
}

@@ -1178,3 +1182,3 @@ export interface TagResourceRequest {

export interface UpdatePullThroughCacheRuleRequest {
registryId?: string;
registryId?: string | undefined;
ecrRepositoryPrefix: string | undefined;

@@ -1184,21 +1188,23 @@ credentialArn: string | undefined;

export interface UpdatePullThroughCacheRuleResponse {
ecrRepositoryPrefix?: string;
registryId?: string;
updatedAt?: Date;
credentialArn?: string;
ecrRepositoryPrefix?: string | undefined;
registryId?: string | undefined;
updatedAt?: Date | undefined;
credentialArn?: string | undefined;
}
export interface UpdateRepositoryCreationTemplateRequest {
prefix: string | undefined;
description?: string;
encryptionConfiguration?: EncryptionConfigurationForRepositoryCreationTemplate;
resourceTags?: Tag[];
imageTagMutability?: ImageTagMutability;
repositoryPolicy?: string;
lifecyclePolicy?: string;
appliedFor?: RCTAppliedFor[];
customRoleArn?: string;
description?: string | undefined;
encryptionConfiguration?:
| EncryptionConfigurationForRepositoryCreationTemplate
| undefined;
resourceTags?: Tag[] | undefined;
imageTagMutability?: ImageTagMutability | undefined;
repositoryPolicy?: string | undefined;
lifecyclePolicy?: string | undefined;
appliedFor?: RCTAppliedFor[] | undefined;
customRoleArn?: string | undefined;
}
export interface UpdateRepositoryCreationTemplateResponse {
registryId?: string;
repositoryCreationTemplate?: RepositoryCreationTemplate;
registryId?: string | undefined;
repositoryCreationTemplate?: RepositoryCreationTemplate | undefined;
}

@@ -1208,6 +1214,6 @@ export declare class InvalidLayerPartException extends __BaseException {

readonly $fault: "client";
registryId?: string;
repositoryName?: string;
uploadId?: string;
lastValidByteReceived?: number;
registryId?: string | undefined;
repositoryName?: string | undefined;
uploadId?: string | undefined;
lastValidByteReceived?: number | undefined;
constructor(

@@ -1218,3 +1224,3 @@ opts: __ExceptionOptionType<InvalidLayerPartException, __BaseException>

export interface UploadLayerPartRequest {
registryId?: string;
registryId?: string | undefined;
repositoryName: string | undefined;

@@ -1227,18 +1233,18 @@ uploadId: string | undefined;

export interface UploadLayerPartResponse {
registryId?: string;
repositoryName?: string;
uploadId?: string;
lastByteReceived?: number;
registryId?: string | undefined;
repositoryName?: string | undefined;
uploadId?: string | undefined;
lastByteReceived?: number | undefined;
}
export interface ValidatePullThroughCacheRuleRequest {
ecrRepositoryPrefix: string | undefined;
registryId?: string;
registryId?: string | undefined;
}
export interface ValidatePullThroughCacheRuleResponse {
ecrRepositoryPrefix?: string;
registryId?: string;
upstreamRegistryUrl?: string;
credentialArn?: string;
isValid?: boolean;
failure?: string;
ecrRepositoryPrefix?: string | undefined;
registryId?: string | undefined;
upstreamRegistryUrl?: string | undefined;
credentialArn?: string | undefined;
isValid?: boolean | undefined;
failure?: string | undefined;
}
{
"name": "@aws-sdk/client-ecr",
"description": "AWS SDK for JavaScript Ecr Client for Node.js, Browser and React Native",
"version": "3.687.0",
"version": "3.691.0",
"scripts": {

@@ -23,10 +23,10 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

"@aws-crypto/sha256-js": "5.2.0",
"@aws-sdk/client-sso-oidc": "3.687.0",
"@aws-sdk/client-sts": "3.687.0",
"@aws-sdk/core": "3.686.0",
"@aws-sdk/credential-provider-node": "3.687.0",
"@aws-sdk/client-sso-oidc": "3.691.0",
"@aws-sdk/client-sts": "3.691.0",
"@aws-sdk/core": "3.691.0",
"@aws-sdk/credential-provider-node": "3.691.0",
"@aws-sdk/middleware-host-header": "3.686.0",
"@aws-sdk/middleware-logger": "3.686.0",
"@aws-sdk/middleware-recursion-detection": "3.686.0",
"@aws-sdk/middleware-user-agent": "3.687.0",
"@aws-sdk/middleware-user-agent": "3.691.0",
"@aws-sdk/region-config-resolver": "3.686.0",

@@ -36,3 +36,3 @@ "@aws-sdk/types": "3.686.0",

"@aws-sdk/util-user-agent-browser": "3.686.0",
"@aws-sdk/util-user-agent-node": "3.687.0",
"@aws-sdk/util-user-agent-node": "3.691.0",
"@smithy/config-resolver": "^3.0.10",

@@ -39,0 +39,0 @@ "@smithy/core": "^2.5.1",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc