@aws-sdk/client-ecr 3.936.0 → 3.939.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/README.md +32 -0
- package/dist-cjs/index.js +202 -0
- package/dist-es/ECR.js +8 -0
- package/dist-es/commands/DeleteSigningConfigurationCommand.js +16 -0
- package/dist-es/commands/DescribeImageSigningStatusCommand.js +16 -0
- package/dist-es/commands/GetSigningConfigurationCommand.js +16 -0
- package/dist-es/commands/PutSigningConfigurationCommand.js +16 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/enums.js +8 -0
- package/dist-es/models/errors.js +12 -0
- package/dist-es/schemas/schemas_0.js +124 -1
- package/dist-types/ECR.d.ts +30 -0
- package/dist-types/ECRClient.d.ts +6 -2
- package/dist-types/commands/DeleteSigningConfigurationCommand.d.ts +101 -0
- package/dist-types/commands/DescribeImageSigningStatusCommand.d.ts +113 -0
- package/dist-types/commands/GetSigningConfigurationCommand.d.ts +102 -0
- package/dist-types/commands/PutSigningConfigurationCommand.d.ts +116 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/enums.d.ts +24 -0
- package/dist-types/models/errors.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +226 -1
- package/dist-types/schemas/schemas_0.d.ts +20 -0
- package/dist-types/ts3.4/ECR.d.ts +70 -0
- package/dist-types/ts3.4/ECRClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/DeleteSigningConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeImageSigningStatusCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSigningConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutSigningConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +11 -0
- package/dist-types/ts3.4/models/errors.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +46 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +20 -0
- package/package.json +2 -2
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
4
|
+
import { DescribeImageSigningStatusRequest, DescribeImageSigningStatusResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeImageSigningStatusCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeImageSigningStatusCommandInput extends DescribeImageSigningStatusRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeImageSigningStatusCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeImageSigningStatusCommandOutput extends DescribeImageSigningStatusResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeImageSigningStatusCommand_base: {
|
|
25
|
+
new (input: DescribeImageSigningStatusCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeImageSigningStatusCommandInput, DescribeImageSigningStatusCommandOutput, ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DescribeImageSigningStatusCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeImageSigningStatusCommandInput, DescribeImageSigningStatusCommandOutput, ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns the signing status for a specified image. If the image matched
|
|
31
|
+
* signing rules that reference different signing profiles, a status is returned
|
|
32
|
+
* for each profile.</p>
|
|
33
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/managed-signing.html">Managed signing</a> in the
|
|
34
|
+
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
35
|
+
* @example
|
|
36
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
+
* ```javascript
|
|
38
|
+
* import { ECRClient, DescribeImageSigningStatusCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
39
|
+
* // const { ECRClient, DescribeImageSigningStatusCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
40
|
+
* // import type { ECRClientConfig } from "@aws-sdk/client-ecr";
|
|
41
|
+
* const config = {}; // type is ECRClientConfig
|
|
42
|
+
* const client = new ECRClient(config);
|
|
43
|
+
* const input = { // DescribeImageSigningStatusRequest
|
|
44
|
+
* repositoryName: "STRING_VALUE", // required
|
|
45
|
+
* imageId: { // ImageIdentifier
|
|
46
|
+
* imageDigest: "STRING_VALUE",
|
|
47
|
+
* imageTag: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* registryId: "STRING_VALUE",
|
|
50
|
+
* };
|
|
51
|
+
* const command = new DescribeImageSigningStatusCommand(input);
|
|
52
|
+
* const response = await client.send(command);
|
|
53
|
+
* // { // DescribeImageSigningStatusResponse
|
|
54
|
+
* // repositoryName: "STRING_VALUE",
|
|
55
|
+
* // imageId: { // ImageIdentifier
|
|
56
|
+
* // imageDigest: "STRING_VALUE",
|
|
57
|
+
* // imageTag: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // registryId: "STRING_VALUE",
|
|
60
|
+
* // signingStatuses: [ // ImageSigningStatusList
|
|
61
|
+
* // { // ImageSigningStatus
|
|
62
|
+
* // signingProfileArn: "STRING_VALUE",
|
|
63
|
+
* // failureCode: "STRING_VALUE",
|
|
64
|
+
* // failureReason: "STRING_VALUE",
|
|
65
|
+
* // status: "IN_PROGRESS" || "COMPLETE" || "FAILED",
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @param DescribeImageSigningStatusCommandInput - {@link DescribeImageSigningStatusCommandInput}
|
|
73
|
+
* @returns {@link DescribeImageSigningStatusCommandOutput}
|
|
74
|
+
* @see {@link DescribeImageSigningStatusCommandInput} for command's `input` shape.
|
|
75
|
+
* @see {@link DescribeImageSigningStatusCommandOutput} for command's `response` shape.
|
|
76
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ImageNotFoundException} (client fault)
|
|
79
|
+
* <p>The image requested does not exist in the specified repository.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
82
|
+
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
83
|
+
* request.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link RepositoryNotFoundException} (client fault)
|
|
86
|
+
* <p>The specified repository could not be found. Check the spelling of the specified
|
|
87
|
+
* repository and ensure that you are performing operations on the correct registry.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ServerException} (server fault)
|
|
90
|
+
* <p>These errors are usually caused by a server-side issue.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ValidationException} (client fault)
|
|
93
|
+
* <p>There was an exception validating this request.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ECRServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
97
|
+
*
|
|
98
|
+
*
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class DescribeImageSigningStatusCommand extends DescribeImageSigningStatusCommand_base {
|
|
102
|
+
/** @internal type navigation helper, not in runtime. */
|
|
103
|
+
protected static __types: {
|
|
104
|
+
api: {
|
|
105
|
+
input: DescribeImageSigningStatusRequest;
|
|
106
|
+
output: DescribeImageSigningStatusResponse;
|
|
107
|
+
};
|
|
108
|
+
sdk: {
|
|
109
|
+
input: DescribeImageSigningStatusCommandInput;
|
|
110
|
+
output: DescribeImageSigningStatusCommandOutput;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
4
|
+
import { GetSigningConfigurationRequest, GetSigningConfigurationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetSigningConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetSigningConfigurationCommandInput extends GetSigningConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetSigningConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetSigningConfigurationCommandOutput extends GetSigningConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetSigningConfigurationCommand_base: {
|
|
25
|
+
new (input: GetSigningConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetSigningConfigurationCommandInput, GetSigningConfigurationCommandOutput, ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [GetSigningConfigurationCommandInput]): import("@smithy/smithy-client").CommandImpl<GetSigningConfigurationCommandInput, GetSigningConfigurationCommandOutput, ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the registry's signing configuration, which defines
|
|
31
|
+
* rules for automatically signing images using Amazon Web Services Signer.</p>
|
|
32
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/managed-signing.html">Managed signing</a> in the
|
|
33
|
+
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { ECRClient, GetSigningConfigurationCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
38
|
+
* // const { ECRClient, GetSigningConfigurationCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
39
|
+
* // import type { ECRClientConfig } from "@aws-sdk/client-ecr";
|
|
40
|
+
* const config = {}; // type is ECRClientConfig
|
|
41
|
+
* const client = new ECRClient(config);
|
|
42
|
+
* const input = {};
|
|
43
|
+
* const command = new GetSigningConfigurationCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetSigningConfigurationResponse
|
|
46
|
+
* // registryId: "STRING_VALUE",
|
|
47
|
+
* // signingConfiguration: { // SigningConfiguration
|
|
48
|
+
* // rules: [ // SigningRuleList // required
|
|
49
|
+
* // { // SigningRule
|
|
50
|
+
* // signingProfileArn: "STRING_VALUE", // required
|
|
51
|
+
* // repositoryFilters: [ // SigningRepositoryFilterList
|
|
52
|
+
* // { // SigningRepositoryFilter
|
|
53
|
+
* // filter: "STRING_VALUE", // required
|
|
54
|
+
* // filterType: "WILDCARD_MATCH", // required
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // },
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param GetSigningConfigurationCommandInput - {@link GetSigningConfigurationCommandInput}
|
|
65
|
+
* @returns {@link GetSigningConfigurationCommandOutput}
|
|
66
|
+
* @see {@link GetSigningConfigurationCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link GetSigningConfigurationCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
71
|
+
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
72
|
+
* request.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ServerException} (server fault)
|
|
75
|
+
* <p>These errors are usually caused by a server-side issue.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link SigningConfigurationNotFoundException} (client fault)
|
|
78
|
+
* <p>The specified signing configuration was not found. This occurs when
|
|
79
|
+
* attempting to retrieve or delete a signing configuration that does not exist.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
* <p>There was an exception validating this request.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ECRServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class GetSigningConfigurationCommand extends GetSigningConfigurationCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: {};
|
|
95
|
+
output: GetSigningConfigurationResponse;
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: GetSigningConfigurationCommandInput;
|
|
99
|
+
output: GetSigningConfigurationCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
4
|
+
import { PutSigningConfigurationRequest, PutSigningConfigurationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutSigningConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutSigningConfigurationCommandInput extends PutSigningConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutSigningConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutSigningConfigurationCommandOutput extends PutSigningConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutSigningConfigurationCommand_base: {
|
|
25
|
+
new (input: PutSigningConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutSigningConfigurationCommandInput, PutSigningConfigurationCommandOutput, ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PutSigningConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutSigningConfigurationCommandInput, PutSigningConfigurationCommandOutput, ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates or updates the registry's signing configuration, which defines
|
|
31
|
+
* rules for automatically signing images with Amazon Web Services Signer.</p>
|
|
32
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/managed-signing.html">Managed signing</a> in the
|
|
33
|
+
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
34
|
+
* <note>
|
|
35
|
+
* <p>To successfully generate a signature, the IAM principal pushing images must have
|
|
36
|
+
* permission to sign payloads with the Amazon Web Services Signer signing profile referenced in the signing
|
|
37
|
+
* configuration.</p>
|
|
38
|
+
* </note>
|
|
39
|
+
* @example
|
|
40
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
+
* ```javascript
|
|
42
|
+
* import { ECRClient, PutSigningConfigurationCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
43
|
+
* // const { ECRClient, PutSigningConfigurationCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
44
|
+
* // import type { ECRClientConfig } from "@aws-sdk/client-ecr";
|
|
45
|
+
* const config = {}; // type is ECRClientConfig
|
|
46
|
+
* const client = new ECRClient(config);
|
|
47
|
+
* const input = { // PutSigningConfigurationRequest
|
|
48
|
+
* signingConfiguration: { // SigningConfiguration
|
|
49
|
+
* rules: [ // SigningRuleList // required
|
|
50
|
+
* { // SigningRule
|
|
51
|
+
* signingProfileArn: "STRING_VALUE", // required
|
|
52
|
+
* repositoryFilters: [ // SigningRepositoryFilterList
|
|
53
|
+
* { // SigningRepositoryFilter
|
|
54
|
+
* filter: "STRING_VALUE", // required
|
|
55
|
+
* filterType: "WILDCARD_MATCH", // required
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* },
|
|
59
|
+
* ],
|
|
60
|
+
* },
|
|
61
|
+
* };
|
|
62
|
+
* const command = new PutSigningConfigurationCommand(input);
|
|
63
|
+
* const response = await client.send(command);
|
|
64
|
+
* // { // PutSigningConfigurationResponse
|
|
65
|
+
* // signingConfiguration: { // SigningConfiguration
|
|
66
|
+
* // rules: [ // SigningRuleList // required
|
|
67
|
+
* // { // SigningRule
|
|
68
|
+
* // signingProfileArn: "STRING_VALUE", // required
|
|
69
|
+
* // repositoryFilters: [ // SigningRepositoryFilterList
|
|
70
|
+
* // { // SigningRepositoryFilter
|
|
71
|
+
* // filter: "STRING_VALUE", // required
|
|
72
|
+
* // filterType: "WILDCARD_MATCH", // required
|
|
73
|
+
* // },
|
|
74
|
+
* // ],
|
|
75
|
+
* // },
|
|
76
|
+
* // ],
|
|
77
|
+
* // },
|
|
78
|
+
* // };
|
|
79
|
+
*
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
82
|
+
* @param PutSigningConfigurationCommandInput - {@link PutSigningConfigurationCommandInput}
|
|
83
|
+
* @returns {@link PutSigningConfigurationCommandOutput}
|
|
84
|
+
* @see {@link PutSigningConfigurationCommandInput} for command's `input` shape.
|
|
85
|
+
* @see {@link PutSigningConfigurationCommandOutput} for command's `response` shape.
|
|
86
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
89
|
+
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
90
|
+
* request.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ServerException} (server fault)
|
|
93
|
+
* <p>These errors are usually caused by a server-side issue.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ValidationException} (client fault)
|
|
96
|
+
* <p>There was an exception validating this request.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ECRServiceException}
|
|
99
|
+
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
100
|
+
*
|
|
101
|
+
*
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
export declare class PutSigningConfigurationCommand extends PutSigningConfigurationCommand_base {
|
|
105
|
+
/** @internal type navigation helper, not in runtime. */
|
|
106
|
+
protected static __types: {
|
|
107
|
+
api: {
|
|
108
|
+
input: PutSigningConfigurationRequest;
|
|
109
|
+
output: PutSigningConfigurationResponse;
|
|
110
|
+
};
|
|
111
|
+
sdk: {
|
|
112
|
+
input: PutSigningConfigurationCommandInput;
|
|
113
|
+
output: PutSigningConfigurationCommandOutput;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
}
|
|
@@ -12,9 +12,11 @@ export * from "./DeleteRegistryPolicyCommand";
|
|
|
12
12
|
export * from "./DeleteRepositoryCommand";
|
|
13
13
|
export * from "./DeleteRepositoryCreationTemplateCommand";
|
|
14
14
|
export * from "./DeleteRepositoryPolicyCommand";
|
|
15
|
+
export * from "./DeleteSigningConfigurationCommand";
|
|
15
16
|
export * from "./DeregisterPullTimeUpdateExclusionCommand";
|
|
16
17
|
export * from "./DescribeImageReplicationStatusCommand";
|
|
17
18
|
export * from "./DescribeImageScanFindingsCommand";
|
|
19
|
+
export * from "./DescribeImageSigningStatusCommand";
|
|
18
20
|
export * from "./DescribeImagesCommand";
|
|
19
21
|
export * from "./DescribePullThroughCacheRulesCommand";
|
|
20
22
|
export * from "./DescribeRegistryCommand";
|
|
@@ -28,6 +30,7 @@ export * from "./GetLifecyclePolicyPreviewCommand";
|
|
|
28
30
|
export * from "./GetRegistryPolicyCommand";
|
|
29
31
|
export * from "./GetRegistryScanningConfigurationCommand";
|
|
30
32
|
export * from "./GetRepositoryPolicyCommand";
|
|
33
|
+
export * from "./GetSigningConfigurationCommand";
|
|
31
34
|
export * from "./InitiateLayerUploadCommand";
|
|
32
35
|
export * from "./ListImageReferrersCommand";
|
|
33
36
|
export * from "./ListImagesCommand";
|
|
@@ -41,6 +44,7 @@ export * from "./PutLifecyclePolicyCommand";
|
|
|
41
44
|
export * from "./PutRegistryPolicyCommand";
|
|
42
45
|
export * from "./PutRegistryScanningConfigurationCommand";
|
|
43
46
|
export * from "./PutReplicationConfigurationCommand";
|
|
47
|
+
export * from "./PutSigningConfigurationCommand";
|
|
44
48
|
export * from "./RegisterPullTimeUpdateExclusionCommand";
|
|
45
49
|
export * from "./SetRepositoryPolicyCommand";
|
|
46
50
|
export * from "./StartImageScanCommand";
|
|
@@ -147,6 +147,17 @@ export declare const RCTAppliedFor: {
|
|
|
147
147
|
* @public
|
|
148
148
|
*/
|
|
149
149
|
export type RCTAppliedFor = (typeof RCTAppliedFor)[keyof typeof RCTAppliedFor];
|
|
150
|
+
/**
|
|
151
|
+
* @public
|
|
152
|
+
* @enum
|
|
153
|
+
*/
|
|
154
|
+
export declare const SigningRepositoryFilterType: {
|
|
155
|
+
readonly WILDCARD_MATCH: "WILDCARD_MATCH";
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
export type SigningRepositoryFilterType = (typeof SigningRepositoryFilterType)[keyof typeof SigningRepositoryFilterType];
|
|
150
161
|
/**
|
|
151
162
|
* @public
|
|
152
163
|
* @enum
|
|
@@ -236,6 +247,19 @@ export declare const ImageStatus: {
|
|
|
236
247
|
* @public
|
|
237
248
|
*/
|
|
238
249
|
export type ImageStatus = (typeof ImageStatus)[keyof typeof ImageStatus];
|
|
250
|
+
/**
|
|
251
|
+
* @public
|
|
252
|
+
* @enum
|
|
253
|
+
*/
|
|
254
|
+
export declare const SigningStatus: {
|
|
255
|
+
readonly COMPLETE: "COMPLETE";
|
|
256
|
+
readonly FAILED: "FAILED";
|
|
257
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
258
|
+
};
|
|
259
|
+
/**
|
|
260
|
+
* @public
|
|
261
|
+
*/
|
|
262
|
+
export type SigningStatus = (typeof SigningStatus)[keyof typeof SigningStatus];
|
|
239
263
|
/**
|
|
240
264
|
* @public
|
|
241
265
|
* @enum
|
|
@@ -349,6 +349,19 @@ export declare class RepositoryPolicyNotFoundException extends __BaseException {
|
|
|
349
349
|
*/
|
|
350
350
|
constructor(opts: __ExceptionOptionType<RepositoryPolicyNotFoundException, __BaseException>);
|
|
351
351
|
}
|
|
352
|
+
/**
|
|
353
|
+
* <p>The specified signing configuration was not found. This occurs when
|
|
354
|
+
* attempting to retrieve or delete a signing configuration that does not exist.</p>
|
|
355
|
+
* @public
|
|
356
|
+
*/
|
|
357
|
+
export declare class SigningConfigurationNotFoundException extends __BaseException {
|
|
358
|
+
readonly name: "SigningConfigurationNotFoundException";
|
|
359
|
+
readonly $fault: "client";
|
|
360
|
+
/**
|
|
361
|
+
* @internal
|
|
362
|
+
*/
|
|
363
|
+
constructor(opts: __ExceptionOptionType<SigningConfigurationNotFoundException, __BaseException>);
|
|
364
|
+
}
|
|
352
365
|
/**
|
|
353
366
|
* <p>The specified pull time update exclusion was not found.</p>
|
|
354
367
|
* @public
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ArtifactStatus, ArtifactStatusFilter, EncryptionType, FindingSeverity, ImageActionType, ImageFailureCode, ImageStatus, ImageStatusFilter, ImageTagMutability, ImageTagMutabilityExclusionFilterType, LayerAvailability, LayerFailureCode, LifecyclePolicyPreviewStatus, LifecyclePolicyStorageClass, LifecyclePolicyTargetStorageClass, RCTAppliedFor, ReplicationStatus, RepositoryFilterType, ScanFrequency, ScanningConfigurationFailureCode, ScanningRepositoryFilterType, ScanStatus, ScanType, TagStatus, TargetStorageClass, UpstreamRegistry } from "./enums";
|
|
1
|
+
import { ArtifactStatus, ArtifactStatusFilter, EncryptionType, FindingSeverity, ImageActionType, ImageFailureCode, ImageStatus, ImageStatusFilter, ImageTagMutability, ImageTagMutabilityExclusionFilterType, LayerAvailability, LayerFailureCode, LifecyclePolicyPreviewStatus, LifecyclePolicyStorageClass, LifecyclePolicyTargetStorageClass, RCTAppliedFor, ReplicationStatus, RepositoryFilterType, ScanFrequency, ScanningConfigurationFailureCode, ScanningRepositoryFilterType, ScanStatus, ScanType, SigningRepositoryFilterType, SigningStatus, TagStatus, TargetStorageClass, UpstreamRegistry } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -1170,6 +1170,102 @@ export interface DeleteRepositoryPolicyResponse {
|
|
|
1170
1170
|
*/
|
|
1171
1171
|
policyText?: string | undefined;
|
|
1172
1172
|
}
|
|
1173
|
+
/**
|
|
1174
|
+
* @public
|
|
1175
|
+
*/
|
|
1176
|
+
export interface DeleteSigningConfigurationRequest {
|
|
1177
|
+
}
|
|
1178
|
+
/**
|
|
1179
|
+
* <p>A repository filter used to determine which repositories have their
|
|
1180
|
+
* images automatically signed on push. Each filter consists of a filter type and filter value.</p>
|
|
1181
|
+
* @public
|
|
1182
|
+
*/
|
|
1183
|
+
export interface SigningRepositoryFilter {
|
|
1184
|
+
/**
|
|
1185
|
+
* <p>The filter value used to match repository names. When using
|
|
1186
|
+
* <code>WILDCARD_MATCH</code>, the <code>*</code> character matches any sequence of characters.</p>
|
|
1187
|
+
* <p>Examples:</p>
|
|
1188
|
+
* <ul>
|
|
1189
|
+
* <li>
|
|
1190
|
+
* <p>
|
|
1191
|
+
* <code>myapp/*</code> - Matches all repositories starting with
|
|
1192
|
+
* <code>myapp/</code>
|
|
1193
|
+
* </p>
|
|
1194
|
+
* </li>
|
|
1195
|
+
* <li>
|
|
1196
|
+
* <p>
|
|
1197
|
+
* <code>*\/production</code> - Matches all repositories ending with
|
|
1198
|
+
* <code>/production</code>
|
|
1199
|
+
* </p>
|
|
1200
|
+
* </li>
|
|
1201
|
+
* <li>
|
|
1202
|
+
* <p>
|
|
1203
|
+
* <code>*prod*</code> - Matches all repositories containing
|
|
1204
|
+
* <code>prod</code>
|
|
1205
|
+
* </p>
|
|
1206
|
+
* </li>
|
|
1207
|
+
* </ul>
|
|
1208
|
+
* @public
|
|
1209
|
+
*/
|
|
1210
|
+
filter: string | undefined;
|
|
1211
|
+
/**
|
|
1212
|
+
* <p>The type of filter to apply. Currently, only <code>WILDCARD_MATCH</code> is supported,
|
|
1213
|
+
* which uses wildcard patterns to match repository names.</p>
|
|
1214
|
+
* @public
|
|
1215
|
+
*/
|
|
1216
|
+
filterType: SigningRepositoryFilterType | undefined;
|
|
1217
|
+
}
|
|
1218
|
+
/**
|
|
1219
|
+
* <p>A signing rule that specifies a signing profile and optional
|
|
1220
|
+
* repository filters. When an image is pushed to a matching repository, a
|
|
1221
|
+
* signing job is created using the specified profile.</p>
|
|
1222
|
+
* @public
|
|
1223
|
+
*/
|
|
1224
|
+
export interface SigningRule {
|
|
1225
|
+
/**
|
|
1226
|
+
* <p>The ARN of the Amazon Web Services Signer signing profile to use for signing images that match this
|
|
1227
|
+
* rule. For more information about signing profiles, see <a href="https://docs.aws.amazon.com/signer/latest/developerguide/signing-profiles.html">Signing profiles</a> in
|
|
1228
|
+
* the <i>Amazon Web Services Signer Developer Guide</i>.</p>
|
|
1229
|
+
* @public
|
|
1230
|
+
*/
|
|
1231
|
+
signingProfileArn: string | undefined;
|
|
1232
|
+
/**
|
|
1233
|
+
* <p>A list of repository filters that determine which repositories
|
|
1234
|
+
* have their images signed on push. If no filters are specified, all
|
|
1235
|
+
* images pushed to the registry are signed using the rule's signing
|
|
1236
|
+
* profile. Maximum of 100 filters per rule.</p>
|
|
1237
|
+
* @public
|
|
1238
|
+
*/
|
|
1239
|
+
repositoryFilters?: SigningRepositoryFilter[] | undefined;
|
|
1240
|
+
}
|
|
1241
|
+
/**
|
|
1242
|
+
* <p>The signing configuration for a registry, which specifies rules
|
|
1243
|
+
* for automatically signing images when pushed.</p>
|
|
1244
|
+
* @public
|
|
1245
|
+
*/
|
|
1246
|
+
export interface SigningConfiguration {
|
|
1247
|
+
/**
|
|
1248
|
+
* <p>A list of signing rules. Each rule defines a signing profile and optional repository
|
|
1249
|
+
* filters that determine which images are automatically signed. Maximum of 10 rules.</p>
|
|
1250
|
+
* @public
|
|
1251
|
+
*/
|
|
1252
|
+
rules: SigningRule[] | undefined;
|
|
1253
|
+
}
|
|
1254
|
+
/**
|
|
1255
|
+
* @public
|
|
1256
|
+
*/
|
|
1257
|
+
export interface DeleteSigningConfigurationResponse {
|
|
1258
|
+
/**
|
|
1259
|
+
* <p>The Amazon Web Services account ID associated with the registry.</p>
|
|
1260
|
+
* @public
|
|
1261
|
+
*/
|
|
1262
|
+
registryId?: string | undefined;
|
|
1263
|
+
/**
|
|
1264
|
+
* <p>The registry's deleted signing configuration.</p>
|
|
1265
|
+
* @public
|
|
1266
|
+
*/
|
|
1267
|
+
signingConfiguration?: SigningConfiguration | undefined;
|
|
1268
|
+
}
|
|
1173
1269
|
/**
|
|
1174
1270
|
* @public
|
|
1175
1271
|
*/
|
|
@@ -2052,6 +2148,95 @@ export interface DescribeImageScanFindingsResponse {
|
|
|
2052
2148
|
*/
|
|
2053
2149
|
nextToken?: string | undefined;
|
|
2054
2150
|
}
|
|
2151
|
+
/**
|
|
2152
|
+
* @public
|
|
2153
|
+
*/
|
|
2154
|
+
export interface DescribeImageSigningStatusRequest {
|
|
2155
|
+
/**
|
|
2156
|
+
* <p>The name of the repository that contains the image.</p>
|
|
2157
|
+
* @public
|
|
2158
|
+
*/
|
|
2159
|
+
repositoryName: string | undefined;
|
|
2160
|
+
/**
|
|
2161
|
+
* <p>An object containing identifying information for an image.</p>
|
|
2162
|
+
* @public
|
|
2163
|
+
*/
|
|
2164
|
+
imageId: ImageIdentifier | undefined;
|
|
2165
|
+
/**
|
|
2166
|
+
* <p>The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.</p>
|
|
2167
|
+
* @public
|
|
2168
|
+
*/
|
|
2169
|
+
registryId?: string | undefined;
|
|
2170
|
+
}
|
|
2171
|
+
/**
|
|
2172
|
+
* <p>The signing status for an image. Each status corresponds to a signing profile.</p>
|
|
2173
|
+
* @public
|
|
2174
|
+
*/
|
|
2175
|
+
export interface ImageSigningStatus {
|
|
2176
|
+
/**
|
|
2177
|
+
* <p>The ARN of the Amazon Web Services Signer signing profile used to sign the image.</p>
|
|
2178
|
+
* @public
|
|
2179
|
+
*/
|
|
2180
|
+
signingProfileArn?: string | undefined;
|
|
2181
|
+
/**
|
|
2182
|
+
* <p>The failure code, which is only present if <code>status</code>
|
|
2183
|
+
* is <code>FAILED</code>.</p>
|
|
2184
|
+
* @public
|
|
2185
|
+
*/
|
|
2186
|
+
failureCode?: string | undefined;
|
|
2187
|
+
/**
|
|
2188
|
+
* <p>A description of why signing the image failed. This field is only
|
|
2189
|
+
* present if <code>status</code> is <code>FAILED</code>.</p>
|
|
2190
|
+
* @public
|
|
2191
|
+
*/
|
|
2192
|
+
failureReason?: string | undefined;
|
|
2193
|
+
/**
|
|
2194
|
+
* <p>The image's signing status. Possible values are:</p>
|
|
2195
|
+
* <ul>
|
|
2196
|
+
* <li>
|
|
2197
|
+
* <p>
|
|
2198
|
+
* <code>IN_PROGRESS</code> - Signing is currently in progress.</p>
|
|
2199
|
+
* </li>
|
|
2200
|
+
* <li>
|
|
2201
|
+
* <p>
|
|
2202
|
+
* <code>COMPLETE</code> - The signature was successfully generated.</p>
|
|
2203
|
+
* </li>
|
|
2204
|
+
* <li>
|
|
2205
|
+
* <p>
|
|
2206
|
+
* <code>FAILED</code> - Signing failed. See
|
|
2207
|
+
* <code>failureCode</code> and <code>failureReason</code> for details.</p>
|
|
2208
|
+
* </li>
|
|
2209
|
+
* </ul>
|
|
2210
|
+
* @public
|
|
2211
|
+
*/
|
|
2212
|
+
status?: SigningStatus | undefined;
|
|
2213
|
+
}
|
|
2214
|
+
/**
|
|
2215
|
+
* @public
|
|
2216
|
+
*/
|
|
2217
|
+
export interface DescribeImageSigningStatusResponse {
|
|
2218
|
+
/**
|
|
2219
|
+
* <p>The name of the repository.</p>
|
|
2220
|
+
* @public
|
|
2221
|
+
*/
|
|
2222
|
+
repositoryName?: string | undefined;
|
|
2223
|
+
/**
|
|
2224
|
+
* <p>An object with identifying information for the image.</p>
|
|
2225
|
+
* @public
|
|
2226
|
+
*/
|
|
2227
|
+
imageId?: ImageIdentifier | undefined;
|
|
2228
|
+
/**
|
|
2229
|
+
* <p>The Amazon Web Services account ID associated with the registry.</p>
|
|
2230
|
+
* @public
|
|
2231
|
+
*/
|
|
2232
|
+
registryId?: string | undefined;
|
|
2233
|
+
/**
|
|
2234
|
+
* <p>A list of signing statuses for the specified image. Each status corresponds to a
|
|
2235
|
+
* signing profile.</p>
|
|
2236
|
+
* @public
|
|
2237
|
+
*/
|
|
2238
|
+
signingStatuses?: ImageSigningStatus[] | undefined;
|
|
2239
|
+
}
|
|
2055
2240
|
/**
|
|
2056
2241
|
* @public
|
|
2057
2242
|
*/
|
|
@@ -2867,6 +3052,26 @@ export interface GetRepositoryPolicyResponse {
|
|
|
2867
3052
|
*/
|
|
2868
3053
|
policyText?: string | undefined;
|
|
2869
3054
|
}
|
|
3055
|
+
/**
|
|
3056
|
+
* @public
|
|
3057
|
+
*/
|
|
3058
|
+
export interface GetSigningConfigurationRequest {
|
|
3059
|
+
}
|
|
3060
|
+
/**
|
|
3061
|
+
* @public
|
|
3062
|
+
*/
|
|
3063
|
+
export interface GetSigningConfigurationResponse {
|
|
3064
|
+
/**
|
|
3065
|
+
* <p>The Amazon Web Services account ID associated with the registry.</p>
|
|
3066
|
+
* @public
|
|
3067
|
+
*/
|
|
3068
|
+
registryId?: string | undefined;
|
|
3069
|
+
/**
|
|
3070
|
+
* <p>The registry's signing configuration.</p>
|
|
3071
|
+
* @public
|
|
3072
|
+
*/
|
|
3073
|
+
signingConfiguration?: SigningConfiguration | undefined;
|
|
3074
|
+
}
|
|
2870
3075
|
/**
|
|
2871
3076
|
* @public
|
|
2872
3077
|
*/
|
|
@@ -3493,6 +3698,26 @@ export interface PutReplicationConfigurationResponse {
|
|
|
3493
3698
|
*/
|
|
3494
3699
|
replicationConfiguration?: ReplicationConfiguration | undefined;
|
|
3495
3700
|
}
|
|
3701
|
+
/**
|
|
3702
|
+
* @public
|
|
3703
|
+
*/
|
|
3704
|
+
export interface PutSigningConfigurationRequest {
|
|
3705
|
+
/**
|
|
3706
|
+
* <p>The signing configuration to assign to the registry.</p>
|
|
3707
|
+
* @public
|
|
3708
|
+
*/
|
|
3709
|
+
signingConfiguration: SigningConfiguration | undefined;
|
|
3710
|
+
}
|
|
3711
|
+
/**
|
|
3712
|
+
* @public
|
|
3713
|
+
*/
|
|
3714
|
+
export interface PutSigningConfigurationResponse {
|
|
3715
|
+
/**
|
|
3716
|
+
* <p>The registry's updated signing configuration.</p>
|
|
3717
|
+
* @public
|
|
3718
|
+
*/
|
|
3719
|
+
signingConfiguration?: SigningConfiguration | undefined;
|
|
3720
|
+
}
|
|
3496
3721
|
/**
|
|
3497
3722
|
* @public
|
|
3498
3723
|
*/
|