@aws-sdk/client-ecr 3.296.0 → 3.297.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/ECR.d.ts +42 -0
- package/dist-types/ECRClient.d.ts +24 -4
- package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +16 -0
- package/dist-types/commands/BatchDeleteImageCommand.d.ts +16 -0
- package/dist-types/commands/BatchGetImageCommand.d.ts +16 -0
- package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/CompleteLayerUploadCommand.d.ts +16 -0
- package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +16 -0
- package/dist-types/commands/CreateRepositoryCommand.d.ts +16 -0
- package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +16 -0
- package/dist-types/commands/DeleteRegistryPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +16 -0
- package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DescribeImageReplicationStatusCommand.d.ts +16 -0
- package/dist-types/commands/DescribeImageScanFindingsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeImagesCommand.d.ts +16 -0
- package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeRegistryCommand.d.ts +16 -0
- package/dist-types/commands/DescribeRepositoriesCommand.d.ts +16 -0
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +16 -0
- package/dist-types/commands/GetDownloadUrlForLayerCommand.d.ts +16 -0
- package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +16 -0
- package/dist-types/commands/GetLifecyclePolicyPreviewCommand.d.ts +16 -0
- package/dist-types/commands/GetRegistryPolicyCommand.d.ts +16 -0
- package/dist-types/commands/GetRegistryScanningConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/GetRepositoryPolicyCommand.d.ts +16 -0
- package/dist-types/commands/InitiateLayerUploadCommand.d.ts +16 -0
- package/dist-types/commands/ListImagesCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/PutImageCommand.d.ts +16 -0
- package/dist-types/commands/PutImageScanningConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/PutImageTagMutabilityCommand.d.ts +16 -0
- package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +16 -0
- package/dist-types/commands/PutRegistryPolicyCommand.d.ts +16 -0
- package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/PutReplicationConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/SetRepositoryPolicyCommand.d.ts +16 -0
- package/dist-types/commands/StartImageScanCommand.d.ts +16 -0
- package/dist-types/commands/StartLifecyclePolicyPreviewCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UploadLayerPartCommand.d.ts +16 -0
- package/dist-types/models/ECRServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +370 -0
- package/dist-types/pagination/DescribeImageScanFindingsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeImagesPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribePullThroughCacheRulesPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeRepositoriesPaginator.d.ts +3 -0
- package/dist-types/pagination/GetLifecyclePolicyPreviewPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListImagesPaginator.d.ts +3 -0
- package/package.json +3 -3
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
5
5
|
import { PutLifecyclePolicyRequest, PutLifecyclePolicyResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link PutLifecyclePolicyCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface PutLifecyclePolicyCommandInput extends PutLifecyclePolicyRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link PutLifecyclePolicyCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface PutLifecyclePolicyCommandOutput extends PutLifecyclePolicyResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates or updates the lifecycle policy for the specified repository. For more
|
|
18
23
|
* information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html">Lifecycle policy
|
|
19
24
|
* template</a>.</p>
|
|
@@ -27,6 +32,8 @@ export interface PutLifecyclePolicyCommandOutput extends PutLifecyclePolicyRespo
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param PutLifecyclePolicyCommandInput - {@link PutLifecyclePolicyCommandInput}
|
|
36
|
+
* @returns {@link PutLifecyclePolicyCommandOutput}
|
|
30
37
|
* @see {@link PutLifecyclePolicyCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link PutLifecyclePolicyCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
@@ -47,11 +54,20 @@ export interface PutLifecyclePolicyCommandOutput extends PutLifecyclePolicyRespo
|
|
|
47
54
|
export declare class PutLifecyclePolicyCommand extends $Command<PutLifecyclePolicyCommandInput, PutLifecyclePolicyCommandOutput, ECRClientResolvedConfig> {
|
|
48
55
|
readonly input: PutLifecyclePolicyCommandInput;
|
|
49
56
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
50
60
|
constructor(input: PutLifecyclePolicyCommandInput);
|
|
51
61
|
/**
|
|
52
62
|
* @internal
|
|
53
63
|
*/
|
|
54
64
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutLifecyclePolicyCommandInput, PutLifecyclePolicyCommandOutput>;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
55
68
|
private serialize;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
56
72
|
private deserialize;
|
|
57
73
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
5
5
|
import { PutRegistryPolicyRequest, PutRegistryPolicyResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link PutRegistryPolicyCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface PutRegistryPolicyCommandInput extends PutRegistryPolicyRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link PutRegistryPolicyCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface PutRegistryPolicyCommandOutput extends PutRegistryPolicyResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates or updates the permissions policy for your registry.</p>
|
|
18
23
|
* <p>A registry policy is used to specify permissions for another Amazon Web Services account and is used
|
|
19
24
|
* when configuring cross-account replication. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html">Registry permissions</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
@@ -27,6 +32,8 @@ export interface PutRegistryPolicyCommandOutput extends PutRegistryPolicyRespons
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param PutRegistryPolicyCommandInput - {@link PutRegistryPolicyCommandInput}
|
|
36
|
+
* @returns {@link PutRegistryPolicyCommandOutput}
|
|
30
37
|
* @see {@link PutRegistryPolicyCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link PutRegistryPolicyCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
@@ -46,11 +53,20 @@ export interface PutRegistryPolicyCommandOutput extends PutRegistryPolicyRespons
|
|
|
46
53
|
export declare class PutRegistryPolicyCommand extends $Command<PutRegistryPolicyCommandInput, PutRegistryPolicyCommandOutput, ECRClientResolvedConfig> {
|
|
47
54
|
readonly input: PutRegistryPolicyCommandInput;
|
|
48
55
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
49
59
|
constructor(input: PutRegistryPolicyCommandInput);
|
|
50
60
|
/**
|
|
51
61
|
* @internal
|
|
52
62
|
*/
|
|
53
63
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutRegistryPolicyCommandInput, PutRegistryPolicyCommandOutput>;
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
54
67
|
private serialize;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
55
71
|
private deserialize;
|
|
56
72
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
5
5
|
import { PutRegistryScanningConfigurationRequest, PutRegistryScanningConfigurationResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link PutRegistryScanningConfigurationCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface PutRegistryScanningConfigurationCommandInput extends PutRegistryScanningConfigurationRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link PutRegistryScanningConfigurationCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface PutRegistryScanningConfigurationCommandOutput extends PutRegistryScanningConfigurationResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates or updates the scanning configuration for your private registry.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface PutRegistryScanningConfigurationCommandOutput extends PutRegist
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param PutRegistryScanningConfigurationCommandInput - {@link PutRegistryScanningConfigurationCommandInput}
|
|
34
|
+
* @returns {@link PutRegistryScanningConfigurationCommandOutput}
|
|
28
35
|
* @see {@link PutRegistryScanningConfigurationCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link PutRegistryScanningConfigurationCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
@@ -44,11 +51,20 @@ export interface PutRegistryScanningConfigurationCommandOutput extends PutRegist
|
|
|
44
51
|
export declare class PutRegistryScanningConfigurationCommand extends $Command<PutRegistryScanningConfigurationCommandInput, PutRegistryScanningConfigurationCommandOutput, ECRClientResolvedConfig> {
|
|
45
52
|
readonly input: PutRegistryScanningConfigurationCommandInput;
|
|
46
53
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
47
57
|
constructor(input: PutRegistryScanningConfigurationCommandInput);
|
|
48
58
|
/**
|
|
49
59
|
* @internal
|
|
50
60
|
*/
|
|
51
61
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutRegistryScanningConfigurationCommandInput, PutRegistryScanningConfigurationCommandOutput>;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
52
65
|
private serialize;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
53
69
|
private deserialize;
|
|
54
70
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
5
5
|
import { PutReplicationConfigurationRequest, PutReplicationConfigurationResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link PutReplicationConfigurationCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface PutReplicationConfigurationCommandInput extends PutReplicationConfigurationRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link PutReplicationConfigurationCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface PutReplicationConfigurationCommandOutput extends PutReplicationConfigurationResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates or updates the replication configuration for a registry. The existing
|
|
18
23
|
* replication configuration for a repository can be retrieved with the <a>DescribeRegistry</a> API action. The first time the
|
|
19
24
|
* PutReplicationConfiguration API is called, a service-linked IAM role is created in
|
|
@@ -35,6 +40,8 @@ export interface PutReplicationConfigurationCommandOutput extends PutReplication
|
|
|
35
40
|
* const response = await client.send(command);
|
|
36
41
|
* ```
|
|
37
42
|
*
|
|
43
|
+
* @param PutReplicationConfigurationCommandInput - {@link PutReplicationConfigurationCommandInput}
|
|
44
|
+
* @returns {@link PutReplicationConfigurationCommandOutput}
|
|
38
45
|
* @see {@link PutReplicationConfigurationCommandInput} for command's `input` shape.
|
|
39
46
|
* @see {@link PutReplicationConfigurationCommandOutput} for command's `response` shape.
|
|
40
47
|
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
@@ -54,11 +61,20 @@ export interface PutReplicationConfigurationCommandOutput extends PutReplication
|
|
|
54
61
|
export declare class PutReplicationConfigurationCommand extends $Command<PutReplicationConfigurationCommandInput, PutReplicationConfigurationCommandOutput, ECRClientResolvedConfig> {
|
|
55
62
|
readonly input: PutReplicationConfigurationCommandInput;
|
|
56
63
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
57
67
|
constructor(input: PutReplicationConfigurationCommandInput);
|
|
58
68
|
/**
|
|
59
69
|
* @internal
|
|
60
70
|
*/
|
|
61
71
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutReplicationConfigurationCommandInput, PutReplicationConfigurationCommandOutput>;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
62
75
|
private serialize;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
63
79
|
private deserialize;
|
|
64
80
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
5
5
|
import { SetRepositoryPolicyRequest, SetRepositoryPolicyResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link SetRepositoryPolicyCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface SetRepositoryPolicyCommandInput extends SetRepositoryPolicyRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link SetRepositoryPolicyCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface SetRepositoryPolicyCommandOutput extends SetRepositoryPolicyResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Applies a repository policy to the specified repository to control access permissions.
|
|
18
23
|
* For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html">Amazon ECR Repository
|
|
19
24
|
* policies</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
@@ -27,6 +32,8 @@ export interface SetRepositoryPolicyCommandOutput extends SetRepositoryPolicyRes
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param SetRepositoryPolicyCommandInput - {@link SetRepositoryPolicyCommandInput}
|
|
36
|
+
* @returns {@link SetRepositoryPolicyCommandOutput}
|
|
30
37
|
* @see {@link SetRepositoryPolicyCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link SetRepositoryPolicyCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
@@ -47,11 +54,20 @@ export interface SetRepositoryPolicyCommandOutput extends SetRepositoryPolicyRes
|
|
|
47
54
|
export declare class SetRepositoryPolicyCommand extends $Command<SetRepositoryPolicyCommandInput, SetRepositoryPolicyCommandOutput, ECRClientResolvedConfig> {
|
|
48
55
|
readonly input: SetRepositoryPolicyCommandInput;
|
|
49
56
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
50
60
|
constructor(input: SetRepositoryPolicyCommandInput);
|
|
51
61
|
/**
|
|
52
62
|
* @internal
|
|
53
63
|
*/
|
|
54
64
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SetRepositoryPolicyCommandInput, SetRepositoryPolicyCommandOutput>;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
55
68
|
private serialize;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
56
72
|
private deserialize;
|
|
57
73
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
5
5
|
import { StartImageScanRequest, StartImageScanResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link StartImageScanCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface StartImageScanCommandInput extends StartImageScanRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link StartImageScanCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface StartImageScanCommandOutput extends StartImageScanResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Starts an image vulnerability scan. An image scan can only be started once per 24
|
|
18
23
|
* hours on an individual image. This limit includes if an image was scanned on initial
|
|
19
24
|
* push. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html">Image scanning</a> in the
|
|
@@ -28,6 +33,8 @@ export interface StartImageScanCommandOutput extends StartImageScanResponse, __M
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param StartImageScanCommandInput - {@link StartImageScanCommandInput}
|
|
37
|
+
* @returns {@link StartImageScanCommandOutput}
|
|
31
38
|
* @see {@link StartImageScanCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link StartImageScanCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
@@ -62,11 +69,20 @@ export interface StartImageScanCommandOutput extends StartImageScanResponse, __M
|
|
|
62
69
|
export declare class StartImageScanCommand extends $Command<StartImageScanCommandInput, StartImageScanCommandOutput, ECRClientResolvedConfig> {
|
|
63
70
|
readonly input: StartImageScanCommandInput;
|
|
64
71
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
65
75
|
constructor(input: StartImageScanCommandInput);
|
|
66
76
|
/**
|
|
67
77
|
* @internal
|
|
68
78
|
*/
|
|
69
79
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartImageScanCommandInput, StartImageScanCommandOutput>;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
70
83
|
private serialize;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
71
87
|
private deserialize;
|
|
72
88
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
5
5
|
import { StartLifecyclePolicyPreviewRequest, StartLifecyclePolicyPreviewResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link StartLifecyclePolicyPreviewCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface StartLifecyclePolicyPreviewCommandInput extends StartLifecyclePolicyPreviewRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link StartLifecyclePolicyPreviewCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface StartLifecyclePolicyPreviewCommandOutput extends StartLifecyclePolicyPreviewResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Starts a preview of a lifecycle policy for the specified repository. This allows you
|
|
18
23
|
* to see the results before associating the lifecycle policy with the repository.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface StartLifecyclePolicyPreviewCommandOutput extends StartLifecycle
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param StartLifecyclePolicyPreviewCommandInput - {@link StartLifecyclePolicyPreviewCommandInput}
|
|
35
|
+
* @returns {@link StartLifecyclePolicyPreviewCommandOutput}
|
|
29
36
|
* @see {@link StartLifecyclePolicyPreviewCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link StartLifecyclePolicyPreviewCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
@@ -54,11 +61,20 @@ export interface StartLifecyclePolicyPreviewCommandOutput extends StartLifecycle
|
|
|
54
61
|
export declare class StartLifecyclePolicyPreviewCommand extends $Command<StartLifecyclePolicyPreviewCommandInput, StartLifecyclePolicyPreviewCommandOutput, ECRClientResolvedConfig> {
|
|
55
62
|
readonly input: StartLifecyclePolicyPreviewCommandInput;
|
|
56
63
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
57
67
|
constructor(input: StartLifecyclePolicyPreviewCommandInput);
|
|
58
68
|
/**
|
|
59
69
|
* @internal
|
|
60
70
|
*/
|
|
61
71
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartLifecyclePolicyPreviewCommandInput, StartLifecyclePolicyPreviewCommandOutput>;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
62
75
|
private serialize;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
63
79
|
private deserialize;
|
|
64
80
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
5
5
|
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link TagResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link TagResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Adds specified tags to a resource with the specified ARN. Existing tags on a resource
|
|
18
23
|
* are not changed if they are not specified in the request parameters.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
35
|
+
* @returns {@link TagResourceCommandOutput}
|
|
29
36
|
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
@@ -54,11 +61,20 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
54
61
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, ECRClientResolvedConfig> {
|
|
55
62
|
readonly input: TagResourceCommandInput;
|
|
56
63
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
57
67
|
constructor(input: TagResourceCommandInput);
|
|
58
68
|
/**
|
|
59
69
|
* @internal
|
|
60
70
|
*/
|
|
61
71
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
62
75
|
private serialize;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
63
79
|
private deserialize;
|
|
64
80
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
5
5
|
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UntagResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UntagResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes specified tags from a resource.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
34
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
28
35
|
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
@@ -53,11 +60,20 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
53
60
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, ECRClientResolvedConfig> {
|
|
54
61
|
readonly input: UntagResourceCommandInput;
|
|
55
62
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
56
66
|
constructor(input: UntagResourceCommandInput);
|
|
57
67
|
/**
|
|
58
68
|
* @internal
|
|
59
69
|
*/
|
|
60
70
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
61
74
|
private serialize;
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
62
78
|
private deserialize;
|
|
63
79
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
5
5
|
import { UploadLayerPartRequest, UploadLayerPartResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UploadLayerPartCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UploadLayerPartCommandInput extends UploadLayerPartRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UploadLayerPartCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UploadLayerPartCommandOutput extends UploadLayerPartResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Uploads an image layer part to Amazon ECR.</p>
|
|
18
23
|
* <p>When an image is pushed, each new image layer is uploaded in parts. The maximum size
|
|
19
24
|
* of each image layer part can be 20971520 bytes (or about 20MB). The UploadLayerPart API
|
|
@@ -32,6 +37,8 @@ export interface UploadLayerPartCommandOutput extends UploadLayerPartResponse, _
|
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
34
39
|
*
|
|
40
|
+
* @param UploadLayerPartCommandInput - {@link UploadLayerPartCommandInput}
|
|
41
|
+
* @returns {@link UploadLayerPartCommandOutput}
|
|
35
42
|
* @see {@link UploadLayerPartCommandInput} for command's `input` shape.
|
|
36
43
|
* @see {@link UploadLayerPartCommandOutput} for command's `response` shape.
|
|
37
44
|
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
@@ -68,11 +75,20 @@ export interface UploadLayerPartCommandOutput extends UploadLayerPartResponse, _
|
|
|
68
75
|
export declare class UploadLayerPartCommand extends $Command<UploadLayerPartCommandInput, UploadLayerPartCommandOutput, ECRClientResolvedConfig> {
|
|
69
76
|
readonly input: UploadLayerPartCommandInput;
|
|
70
77
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
71
81
|
constructor(input: UploadLayerPartCommandInput);
|
|
72
82
|
/**
|
|
73
83
|
* @internal
|
|
74
84
|
*/
|
|
75
85
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UploadLayerPartCommandInput, UploadLayerPartCommandOutput>;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
76
89
|
private serialize;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
77
93
|
private deserialize;
|
|
78
94
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from ECR service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class ECRServiceException extends __ServiceException {
|