@aws-sdk/client-imagebuilder 3.797.0 → 3.798.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-cjs/index.js +6 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-types/commands/CreateDistributionConfigurationCommand.d.ts +7 -0
- package/dist-types/commands/GetDistributionConfigurationCommand.d.ts +7 -0
- package/dist-types/commands/GetImageCommand.d.ts +7 -0
- package/dist-types/commands/UpdateDistributionConfigurationCommand.d.ts +7 -0
- package/dist-types/commands/UpdateLifecyclePolicyCommand.d.ts +2 -1
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +73 -18
- package/dist-types/models/models_1.d.ts +10 -0
- package/dist-types/ts3.4/commands/UpdateLifecyclePolicyCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -3
- package/dist-types/ts3.4/models/models_1.d.ts +3 -0
- package/package.json +11 -11
package/dist-cjs/index.js
CHANGED
|
@@ -136,6 +136,7 @@ __export(index_exports, {
|
|
|
136
136
|
ServiceException: () => ServiceException,
|
|
137
137
|
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
138
138
|
ServiceUnavailableException: () => ServiceUnavailableException,
|
|
139
|
+
SsmParameterDataType: () => SsmParameterDataType,
|
|
139
140
|
StartImagePipelineExecutionCommand: () => StartImagePipelineExecutionCommand,
|
|
140
141
|
StartResourceStateUpdateCommand: () => StartResourceStateUpdateCommand,
|
|
141
142
|
TagResourceCommand: () => TagResourceCommand,
|
|
@@ -623,6 +624,10 @@ var DiskImageFormat = {
|
|
|
623
624
|
VHD: "VHD",
|
|
624
625
|
VMDK: "VMDK"
|
|
625
626
|
};
|
|
627
|
+
var SsmParameterDataType = {
|
|
628
|
+
AWS_EC2_IMAGE: "aws:ec2:image",
|
|
629
|
+
TEXT: "text"
|
|
630
|
+
};
|
|
626
631
|
var OnWorkflowFailure = {
|
|
627
632
|
ABORT: "ABORT",
|
|
628
633
|
CONTINUE: "CONTINUE"
|
|
@@ -5186,6 +5191,7 @@ var paginateListWorkflows = (0, import_core.createPaginator)(ImagebuilderClient,
|
|
|
5186
5191
|
ServiceQuotaExceededException,
|
|
5187
5192
|
ResourceAlreadyExistsException,
|
|
5188
5193
|
DiskImageFormat,
|
|
5194
|
+
SsmParameterDataType,
|
|
5189
5195
|
OnWorkflowFailure,
|
|
5190
5196
|
PipelineExecutionStartCondition,
|
|
5191
5197
|
PipelineStatus,
|
package/dist-es/models/index.js
CHANGED
|
@@ -203,6 +203,10 @@ export const DiskImageFormat = {
|
|
|
203
203
|
VHD: "VHD",
|
|
204
204
|
VMDK: "VMDK",
|
|
205
205
|
};
|
|
206
|
+
export const SsmParameterDataType = {
|
|
207
|
+
AWS_EC2_IMAGE: "aws:ec2:image",
|
|
208
|
+
TEXT: "text",
|
|
209
|
+
};
|
|
206
210
|
export const OnWorkflowFailure = {
|
|
207
211
|
ABORT: "ABORT",
|
|
208
212
|
CONTINUE: "CONTINUE",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -107,6 +107,13 @@ declare const CreateDistributionConfigurationCommand_base: {
|
|
|
107
107
|
* accountId: "STRING_VALUE",
|
|
108
108
|
* },
|
|
109
109
|
* ],
|
|
110
|
+
* ssmParameterConfigurations: [ // SsmParameterConfigurationList
|
|
111
|
+
* { // SsmParameterConfiguration
|
|
112
|
+
* amiAccountId: "STRING_VALUE",
|
|
113
|
+
* parameterName: "STRING_VALUE", // required
|
|
114
|
+
* dataType: "text" || "aws:ec2:image",
|
|
115
|
+
* },
|
|
116
|
+
* ],
|
|
110
117
|
* },
|
|
111
118
|
* ],
|
|
112
119
|
* tags: {
|
|
@@ -114,6 +114,13 @@ declare const GetDistributionConfigurationCommand_base: {
|
|
|
114
114
|
* // accountId: "STRING_VALUE",
|
|
115
115
|
* // },
|
|
116
116
|
* // ],
|
|
117
|
+
* // ssmParameterConfigurations: [ // SsmParameterConfigurationList
|
|
118
|
+
* // { // SsmParameterConfiguration
|
|
119
|
+
* // amiAccountId: "STRING_VALUE",
|
|
120
|
+
* // parameterName: "STRING_VALUE", // required
|
|
121
|
+
* // dataType: "text" || "aws:ec2:image",
|
|
122
|
+
* // },
|
|
123
|
+
* // ],
|
|
117
124
|
* // },
|
|
118
125
|
* // ],
|
|
119
126
|
* // timeoutMinutes: Number("int"), // required
|
|
@@ -274,6 +274,13 @@ declare const GetImageCommand_base: {
|
|
|
274
274
|
* // accountId: "STRING_VALUE",
|
|
275
275
|
* // },
|
|
276
276
|
* // ],
|
|
277
|
+
* // ssmParameterConfigurations: [ // SsmParameterConfigurationList
|
|
278
|
+
* // { // SsmParameterConfiguration
|
|
279
|
+
* // amiAccountId: "STRING_VALUE",
|
|
280
|
+
* // parameterName: "STRING_VALUE", // required
|
|
281
|
+
* // dataType: "text" || "aws:ec2:image",
|
|
282
|
+
* // },
|
|
283
|
+
* // ],
|
|
277
284
|
* // },
|
|
278
285
|
* // ],
|
|
279
286
|
* // timeoutMinutes: Number("int"), // required
|
|
@@ -107,6 +107,13 @@ declare const UpdateDistributionConfigurationCommand_base: {
|
|
|
107
107
|
* accountId: "STRING_VALUE",
|
|
108
108
|
* },
|
|
109
109
|
* ],
|
|
110
|
+
* ssmParameterConfigurations: [ // SsmParameterConfigurationList
|
|
111
|
+
* { // SsmParameterConfiguration
|
|
112
|
+
* amiAccountId: "STRING_VALUE",
|
|
113
|
+
* parameterName: "STRING_VALUE", // required
|
|
114
|
+
* dataType: "text" || "aws:ec2:image",
|
|
115
|
+
* },
|
|
116
|
+
* ],
|
|
110
117
|
* },
|
|
111
118
|
* ],
|
|
112
119
|
* clientToken: "STRING_VALUE", // required
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
4
|
-
import { UpdateLifecyclePolicyRequest
|
|
4
|
+
import { UpdateLifecyclePolicyRequest } from "../models/models_0";
|
|
5
|
+
import { UpdateLifecyclePolicyResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1046,8 +1046,10 @@ export interface InstanceBlockDeviceMapping {
|
|
|
1046
1046
|
*/
|
|
1047
1047
|
export interface InstanceConfiguration {
|
|
1048
1048
|
/**
|
|
1049
|
-
* <p>The
|
|
1050
|
-
*
|
|
1049
|
+
* <p>The base image for a container build and test instance. This can contain an AMI ID
|
|
1050
|
+
* or it can specify an Amazon Web Services Systems Manager (SSM) Parameter Store Parameter, prefixed by <code>ssm:</code>,
|
|
1051
|
+
* followed by the parameter name or ARN.</p>
|
|
1052
|
+
* <p>If not specified, Image Builder uses the appropriate ECS-optimized AMI as a base image.</p>
|
|
1051
1053
|
* @public
|
|
1052
1054
|
*/
|
|
1053
1055
|
image?: string | undefined;
|
|
@@ -1164,7 +1166,9 @@ export interface ContainerRecipe {
|
|
|
1164
1166
|
*/
|
|
1165
1167
|
encrypted?: boolean | undefined;
|
|
1166
1168
|
/**
|
|
1167
|
-
* <p>The base image for the container recipe
|
|
1169
|
+
* <p>The base image for customizations specified in the container recipe. This can
|
|
1170
|
+
* contain an Image Builder image resource ARN or a container image URI, for example
|
|
1171
|
+
* <code>amazonlinux:latest</code>.</p>
|
|
1168
1172
|
* @public
|
|
1169
1173
|
*/
|
|
1170
1174
|
parentImage?: string | undefined;
|
|
@@ -1674,6 +1678,45 @@ export interface S3ExportConfiguration {
|
|
|
1674
1678
|
*/
|
|
1675
1679
|
s3Prefix?: string | undefined;
|
|
1676
1680
|
}
|
|
1681
|
+
/**
|
|
1682
|
+
* @public
|
|
1683
|
+
* @enum
|
|
1684
|
+
*/
|
|
1685
|
+
export declare const SsmParameterDataType: {
|
|
1686
|
+
readonly AWS_EC2_IMAGE: "aws:ec2:image";
|
|
1687
|
+
readonly TEXT: "text";
|
|
1688
|
+
};
|
|
1689
|
+
/**
|
|
1690
|
+
* @public
|
|
1691
|
+
*/
|
|
1692
|
+
export type SsmParameterDataType = (typeof SsmParameterDataType)[keyof typeof SsmParameterDataType];
|
|
1693
|
+
/**
|
|
1694
|
+
* <p>Configuration for a single Parameter in the Amazon Web Services Systems Manager (SSM) Parameter Store in
|
|
1695
|
+
* a given Region.</p>
|
|
1696
|
+
* @public
|
|
1697
|
+
*/
|
|
1698
|
+
export interface SsmParameterConfiguration {
|
|
1699
|
+
/**
|
|
1700
|
+
* <p>Specify the account that will own the Parameter in a given Region. During distribution,
|
|
1701
|
+
* this account must be specified in distribution settings as a target account for the
|
|
1702
|
+
* Region.</p>
|
|
1703
|
+
* @public
|
|
1704
|
+
*/
|
|
1705
|
+
amiAccountId?: string | undefined;
|
|
1706
|
+
/**
|
|
1707
|
+
* <p>This is the name of the Parameter in the target Region or account. The image
|
|
1708
|
+
* distribution creates the Parameter if it doesn't already exist. Otherwise, it updates
|
|
1709
|
+
* the parameter.</p>
|
|
1710
|
+
* @public
|
|
1711
|
+
*/
|
|
1712
|
+
parameterName: string | undefined;
|
|
1713
|
+
/**
|
|
1714
|
+
* <p>The data type specifies what type of value the Parameter contains. We recommend that
|
|
1715
|
+
* you use data type <code>aws:ec2:image</code>.</p>
|
|
1716
|
+
* @public
|
|
1717
|
+
*/
|
|
1718
|
+
dataType?: SsmParameterDataType | undefined;
|
|
1719
|
+
}
|
|
1677
1720
|
/**
|
|
1678
1721
|
* <p>Defines the settings for a specific Region.</p>
|
|
1679
1722
|
* @public
|
|
@@ -1708,8 +1751,8 @@ export interface Distribution {
|
|
|
1708
1751
|
*/
|
|
1709
1752
|
launchTemplateConfigurations?: LaunchTemplateConfiguration[] | undefined;
|
|
1710
1753
|
/**
|
|
1711
|
-
* <p>Configure export settings to deliver disk images created from your image build,
|
|
1712
|
-
* a file format that is compatible with your VMs in that Region.</p>
|
|
1754
|
+
* <p>Configure export settings to deliver disk images created from your image build,
|
|
1755
|
+
* using a file format that is compatible with your VMs in that Region.</p>
|
|
1713
1756
|
* @public
|
|
1714
1757
|
*/
|
|
1715
1758
|
s3ExportConfiguration?: S3ExportConfiguration | undefined;
|
|
@@ -1718,6 +1761,12 @@ export interface Distribution {
|
|
|
1718
1761
|
* @public
|
|
1719
1762
|
*/
|
|
1720
1763
|
fastLaunchConfigurations?: FastLaunchConfiguration[] | undefined;
|
|
1764
|
+
/**
|
|
1765
|
+
* <p>Contains settings to update Amazon Web Services Systems Manager (SSM) Parameter Store Parameters with
|
|
1766
|
+
* output AMI IDs from the build by target Region.</p>
|
|
1767
|
+
* @public
|
|
1768
|
+
*/
|
|
1769
|
+
ssmParameterConfigurations?: SsmParameterConfiguration[] | undefined;
|
|
1721
1770
|
}
|
|
1722
1771
|
/**
|
|
1723
1772
|
* @public
|
|
@@ -3270,8 +3319,8 @@ export interface DistributionConfiguration {
|
|
|
3270
3319
|
*/
|
|
3271
3320
|
description?: string | undefined;
|
|
3272
3321
|
/**
|
|
3273
|
-
* <p>The distribution objects that apply Region-specific settings for the deployment of
|
|
3274
|
-
* image to targeted Regions.</p>
|
|
3322
|
+
* <p>The distribution objects that apply Region-specific settings for the deployment of
|
|
3323
|
+
* the image to targeted Regions.</p>
|
|
3275
3324
|
* @public
|
|
3276
3325
|
*/
|
|
3277
3326
|
distributions?: Distribution[] | undefined;
|
|
@@ -3566,7 +3615,23 @@ export interface ImageRecipe {
|
|
|
3566
3615
|
*/
|
|
3567
3616
|
components?: ComponentConfiguration[] | undefined;
|
|
3568
3617
|
/**
|
|
3569
|
-
* <p>The base image
|
|
3618
|
+
* <p>The base image for customizations specified in the image recipe. You can specify the
|
|
3619
|
+
* parent image using one of the following options:</p>
|
|
3620
|
+
* <ul>
|
|
3621
|
+
* <li>
|
|
3622
|
+
* <p>AMI ID</p>
|
|
3623
|
+
* </li>
|
|
3624
|
+
* <li>
|
|
3625
|
+
* <p>Image Builder image Amazon Resource Name (ARN)</p>
|
|
3626
|
+
* </li>
|
|
3627
|
+
* <li>
|
|
3628
|
+
* <p>Amazon Web Services Systems Manager (SSM) Parameter Store Parameter, prefixed by <code>ssm:</code>,
|
|
3629
|
+
* followed by the parameter name or ARN.</p>
|
|
3630
|
+
* </li>
|
|
3631
|
+
* <li>
|
|
3632
|
+
* <p>Amazon Web Services Marketplace product ID</p>
|
|
3633
|
+
* </li>
|
|
3634
|
+
* </ul>
|
|
3570
3635
|
* @public
|
|
3571
3636
|
*/
|
|
3572
3637
|
parentImage?: string | undefined;
|
|
@@ -8295,13 +8360,3 @@ export interface UpdateLifecyclePolicyRequest {
|
|
|
8295
8360
|
*/
|
|
8296
8361
|
clientToken?: string | undefined;
|
|
8297
8362
|
}
|
|
8298
|
-
/**
|
|
8299
|
-
* @public
|
|
8300
|
-
*/
|
|
8301
|
-
export interface UpdateLifecyclePolicyResponse {
|
|
8302
|
-
/**
|
|
8303
|
-
* <p>The ARN of the image lifecycle policy resource that was updated.</p>
|
|
8304
|
-
* @public
|
|
8305
|
-
*/
|
|
8306
|
-
lifecyclePolicyArn?: string | undefined;
|
|
8307
|
-
}
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../ImagebuilderClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
UpdateLifecyclePolicyResponse,
|
|
11
|
-
} from "../models/models_0";
|
|
8
|
+
import { UpdateLifecyclePolicyRequest } from "../models/models_0";
|
|
9
|
+
import { UpdateLifecyclePolicyResponse } from "../models/models_1";
|
|
12
10
|
export { __MetadataBearer };
|
|
13
11
|
export { $Command };
|
|
14
12
|
export interface UpdateLifecyclePolicyCommandInput
|
|
@@ -420,6 +420,17 @@ export interface S3ExportConfiguration {
|
|
|
420
420
|
s3Bucket: string | undefined;
|
|
421
421
|
s3Prefix?: string | undefined;
|
|
422
422
|
}
|
|
423
|
+
export declare const SsmParameterDataType: {
|
|
424
|
+
readonly AWS_EC2_IMAGE: "aws:ec2:image";
|
|
425
|
+
readonly TEXT: "text";
|
|
426
|
+
};
|
|
427
|
+
export type SsmParameterDataType =
|
|
428
|
+
(typeof SsmParameterDataType)[keyof typeof SsmParameterDataType];
|
|
429
|
+
export interface SsmParameterConfiguration {
|
|
430
|
+
amiAccountId?: string | undefined;
|
|
431
|
+
parameterName: string | undefined;
|
|
432
|
+
dataType?: SsmParameterDataType | undefined;
|
|
433
|
+
}
|
|
423
434
|
export interface Distribution {
|
|
424
435
|
region: string | undefined;
|
|
425
436
|
amiDistributionConfiguration?: AmiDistributionConfiguration | undefined;
|
|
@@ -430,6 +441,7 @@ export interface Distribution {
|
|
|
430
441
|
launchTemplateConfigurations?: LaunchTemplateConfiguration[] | undefined;
|
|
431
442
|
s3ExportConfiguration?: S3ExportConfiguration | undefined;
|
|
432
443
|
fastLaunchConfigurations?: FastLaunchConfiguration[] | undefined;
|
|
444
|
+
ssmParameterConfigurations?: SsmParameterConfiguration[] | undefined;
|
|
433
445
|
}
|
|
434
446
|
export interface CreateDistributionConfigurationRequest {
|
|
435
447
|
name: string | undefined;
|
|
@@ -1903,6 +1915,3 @@ export interface UpdateLifecyclePolicyRequest {
|
|
|
1903
1915
|
resourceSelection: LifecyclePolicyResourceSelection | undefined;
|
|
1904
1916
|
clientToken?: string | undefined;
|
|
1905
1917
|
}
|
|
1906
|
-
export interface UpdateLifecyclePolicyResponse {
|
|
1907
|
-
lifecyclePolicyArn?: string | undefined;
|
|
1908
|
-
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-imagebuilder",
|
|
3
3
|
"description": "AWS SDK for JavaScript Imagebuilder Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.798.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-imagebuilder",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.798.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.798.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.798.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
30
30
|
"@aws-sdk/types": "3.775.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.787.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.798.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.0",
|
|
35
|
-
"@smithy/core": "^3.
|
|
35
|
+
"@smithy/core": "^3.3.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.2",
|
|
37
37
|
"@smithy/hash-node": "^4.0.2",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.2",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.2",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
41
|
-
"@smithy/middleware-retry": "^4.1.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.1.1",
|
|
41
|
+
"@smithy/middleware-retry": "^4.1.1",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.3",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.2",
|
|
44
44
|
"@smithy/node-config-provider": "^4.0.2",
|
|
45
45
|
"@smithy/node-http-handler": "^4.0.4",
|
|
46
46
|
"@smithy/protocol-http": "^5.1.0",
|
|
47
|
-
"@smithy/smithy-client": "^4.2.
|
|
47
|
+
"@smithy/smithy-client": "^4.2.1",
|
|
48
48
|
"@smithy/types": "^4.2.0",
|
|
49
49
|
"@smithy/url-parser": "^4.0.2",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.9",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.9",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.2",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.2",
|
|
57
57
|
"@smithy/util-retry": "^4.0.2",
|