@aws-sdk/client-imagebuilder 3.934.0 → 3.935.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 +197 -196
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +196 -0
- package/dist-es/models/errors.js +205 -0
- package/dist-es/models/models_0.js +1 -401
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/UpdateInfrastructureConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +484 -0
- package/dist-types/models/errors.d.ts +216 -0
- package/dist-types/models/models_0.d.ts +190 -700
- package/dist-types/ts3.4/commands/UpdateInfrastructureConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +257 -0
- package/dist-types/ts3.4/models/errors.d.ts +124 -0
- package/dist-types/ts3.4/models/models_0.d.ts +72 -381
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -2
- package/dist-es/models/models_1.js +0 -1
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/models/models_1.d.ts +0 -190
- package/dist-types/ts3.4/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/models_1.d.ts +0 -43
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.935.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.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
import { InstanceMetadataOptions, LifecyclePolicyDetail, LifecyclePolicyResourceSelection, LifecyclePolicyResourceType, LifecyclePolicyStatus, Logging, Placement } from "./models_0";
|
|
2
|
-
/**
|
|
3
|
-
* @public
|
|
4
|
-
*/
|
|
5
|
-
export interface UpdateInfrastructureConfigurationRequest {
|
|
6
|
-
/**
|
|
7
|
-
* <p>The Amazon Resource Name (ARN) of the infrastructure configuration that you want to
|
|
8
|
-
* update.</p>
|
|
9
|
-
* @public
|
|
10
|
-
*/
|
|
11
|
-
infrastructureConfigurationArn: string | undefined;
|
|
12
|
-
/**
|
|
13
|
-
* <p>The description of the infrastructure configuration.</p>
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
|
-
description?: string | undefined;
|
|
17
|
-
/**
|
|
18
|
-
* <p>The instance types of the infrastructure configuration. You can specify one or more
|
|
19
|
-
* instance types to use for this build. The service will pick one of these instance types
|
|
20
|
-
* based on availability.</p>
|
|
21
|
-
* @public
|
|
22
|
-
*/
|
|
23
|
-
instanceTypes?: string[] | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* <p>The instance profile to associate with the instance used to customize your Amazon EC2
|
|
26
|
-
* AMI.</p>
|
|
27
|
-
* @public
|
|
28
|
-
*/
|
|
29
|
-
instanceProfileName: string | undefined;
|
|
30
|
-
/**
|
|
31
|
-
* <p>The security group IDs to associate with the instance used to customize your Amazon EC2
|
|
32
|
-
* AMI.</p>
|
|
33
|
-
* @public
|
|
34
|
-
*/
|
|
35
|
-
securityGroupIds?: string[] | undefined;
|
|
36
|
-
/**
|
|
37
|
-
* <p>The subnet ID to place the instance used to customize your Amazon EC2 AMI in.</p>
|
|
38
|
-
* @public
|
|
39
|
-
*/
|
|
40
|
-
subnetId?: string | undefined;
|
|
41
|
-
/**
|
|
42
|
-
* <p>The logging configuration of the infrastructure configuration.</p>
|
|
43
|
-
* @public
|
|
44
|
-
*/
|
|
45
|
-
logging?: Logging | undefined;
|
|
46
|
-
/**
|
|
47
|
-
* <p>The key pair of the infrastructure configuration. You can use this to log on to and
|
|
48
|
-
* debug the instance used to create your image.</p>
|
|
49
|
-
* @public
|
|
50
|
-
*/
|
|
51
|
-
keyPair?: string | undefined;
|
|
52
|
-
/**
|
|
53
|
-
* <p>The terminate instance on failure setting of the infrastructure configuration. Set to
|
|
54
|
-
* false if you want Image Builder to retain the instance used to configure your AMI if the build or
|
|
55
|
-
* test phase of your workflow fails.</p>
|
|
56
|
-
* @public
|
|
57
|
-
*/
|
|
58
|
-
terminateInstanceOnFailure?: boolean | undefined;
|
|
59
|
-
/**
|
|
60
|
-
* <p>The Amazon Resource Name (ARN) for the SNS topic to which we send image build event
|
|
61
|
-
* notifications.</p>
|
|
62
|
-
* <note>
|
|
63
|
-
* <p>EC2 Image Builder is unable to send notifications to SNS topics that are encrypted using keys
|
|
64
|
-
* from other accounts. The key that is used to encrypt the SNS topic must reside in the
|
|
65
|
-
* account that the Image Builder service runs under.</p>
|
|
66
|
-
* </note>
|
|
67
|
-
* @public
|
|
68
|
-
*/
|
|
69
|
-
snsTopicArn?: string | undefined;
|
|
70
|
-
/**
|
|
71
|
-
* <p>The tags attached to the resource created by Image Builder.</p>
|
|
72
|
-
* @public
|
|
73
|
-
*/
|
|
74
|
-
resourceTags?: Record<string, string> | undefined;
|
|
75
|
-
/**
|
|
76
|
-
* <p>The instance metadata options that you can set for the HTTP requests that pipeline
|
|
77
|
-
* builds use to launch EC2 build and test instances. For more information about instance
|
|
78
|
-
* metadata options, see one of the following links:</p>
|
|
79
|
-
* <ul>
|
|
80
|
-
* <li>
|
|
81
|
-
* <p>
|
|
82
|
-
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html">Configure the instance metadata options</a> in the
|
|
83
|
-
* <i>
|
|
84
|
-
* <i>Amazon EC2 User Guide</i>
|
|
85
|
-
* </i> for Linux instances.</p>
|
|
86
|
-
* </li>
|
|
87
|
-
* <li>
|
|
88
|
-
* <p>
|
|
89
|
-
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/configuring-instance-metadata-options.html">Configure the instance metadata options</a> in the
|
|
90
|
-
* <i>
|
|
91
|
-
* <i>Amazon EC2 Windows Guide</i>
|
|
92
|
-
* </i> for Windows instances.</p>
|
|
93
|
-
* </li>
|
|
94
|
-
* </ul>
|
|
95
|
-
* @public
|
|
96
|
-
*/
|
|
97
|
-
instanceMetadataOptions?: InstanceMetadataOptions | undefined;
|
|
98
|
-
/**
|
|
99
|
-
* <p>The instance placement settings that define where the instances that are launched
|
|
100
|
-
* from your image will run.</p>
|
|
101
|
-
* @public
|
|
102
|
-
*/
|
|
103
|
-
placement?: Placement | undefined;
|
|
104
|
-
/**
|
|
105
|
-
* <p>Unique, case-sensitive identifier you provide to ensure
|
|
106
|
-
* idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>
|
|
107
|
-
* in the <i>Amazon EC2 API Reference</i>.</p>
|
|
108
|
-
* @public
|
|
109
|
-
*/
|
|
110
|
-
clientToken?: string | undefined;
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* @public
|
|
114
|
-
*/
|
|
115
|
-
export interface UpdateInfrastructureConfigurationResponse {
|
|
116
|
-
/**
|
|
117
|
-
* <p>The request ID that uniquely identifies this request.</p>
|
|
118
|
-
* @public
|
|
119
|
-
*/
|
|
120
|
-
requestId?: string | undefined;
|
|
121
|
-
/**
|
|
122
|
-
* <p>The client token that uniquely identifies the request.</p>
|
|
123
|
-
* @public
|
|
124
|
-
*/
|
|
125
|
-
clientToken?: string | undefined;
|
|
126
|
-
/**
|
|
127
|
-
* <p>The Amazon Resource Name (ARN) of the infrastructure configuration that was updated by
|
|
128
|
-
* this request.</p>
|
|
129
|
-
* @public
|
|
130
|
-
*/
|
|
131
|
-
infrastructureConfigurationArn?: string | undefined;
|
|
132
|
-
}
|
|
133
|
-
/**
|
|
134
|
-
* @public
|
|
135
|
-
*/
|
|
136
|
-
export interface UpdateLifecyclePolicyRequest {
|
|
137
|
-
/**
|
|
138
|
-
* <p>The Amazon Resource Name (ARN) of the lifecycle policy resource.</p>
|
|
139
|
-
* @public
|
|
140
|
-
*/
|
|
141
|
-
lifecyclePolicyArn: string | undefined;
|
|
142
|
-
/**
|
|
143
|
-
* <p>Optional description for the lifecycle policy.</p>
|
|
144
|
-
* @public
|
|
145
|
-
*/
|
|
146
|
-
description?: string | undefined;
|
|
147
|
-
/**
|
|
148
|
-
* <p>Indicates whether the lifecycle policy resource is enabled.</p>
|
|
149
|
-
* @public
|
|
150
|
-
*/
|
|
151
|
-
status?: LifecyclePolicyStatus | undefined;
|
|
152
|
-
/**
|
|
153
|
-
* <p>The name or Amazon Resource Name (ARN) of the IAM role that Image Builder uses to update the
|
|
154
|
-
* lifecycle policy.</p>
|
|
155
|
-
* @public
|
|
156
|
-
*/
|
|
157
|
-
executionRole: string | undefined;
|
|
158
|
-
/**
|
|
159
|
-
* <p>The type of image resource that the lifecycle policy applies to.</p>
|
|
160
|
-
* @public
|
|
161
|
-
*/
|
|
162
|
-
resourceType: LifecyclePolicyResourceType | undefined;
|
|
163
|
-
/**
|
|
164
|
-
* <p>The configuration details for a lifecycle policy resource.</p>
|
|
165
|
-
* @public
|
|
166
|
-
*/
|
|
167
|
-
policyDetails: LifecyclePolicyDetail[] | undefined;
|
|
168
|
-
/**
|
|
169
|
-
* <p>Selection criteria for resources that the lifecycle policy applies to.</p>
|
|
170
|
-
* @public
|
|
171
|
-
*/
|
|
172
|
-
resourceSelection: LifecyclePolicyResourceSelection | undefined;
|
|
173
|
-
/**
|
|
174
|
-
* <p>Unique, case-sensitive identifier you provide to ensure
|
|
175
|
-
* idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>
|
|
176
|
-
* in the <i>Amazon EC2 API Reference</i>.</p>
|
|
177
|
-
* @public
|
|
178
|
-
*/
|
|
179
|
-
clientToken?: string | undefined;
|
|
180
|
-
}
|
|
181
|
-
/**
|
|
182
|
-
* @public
|
|
183
|
-
*/
|
|
184
|
-
export interface UpdateLifecyclePolicyResponse {
|
|
185
|
-
/**
|
|
186
|
-
* <p>The ARN of the image lifecycle policy resource that was updated.</p>
|
|
187
|
-
* @public
|
|
188
|
-
*/
|
|
189
|
-
lifecyclePolicyArn?: string | undefined;
|
|
190
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
InstanceMetadataOptions,
|
|
3
|
-
LifecyclePolicyDetail,
|
|
4
|
-
LifecyclePolicyResourceSelection,
|
|
5
|
-
LifecyclePolicyResourceType,
|
|
6
|
-
LifecyclePolicyStatus,
|
|
7
|
-
Logging,
|
|
8
|
-
Placement,
|
|
9
|
-
} from "./models_0";
|
|
10
|
-
export interface UpdateInfrastructureConfigurationRequest {
|
|
11
|
-
infrastructureConfigurationArn: string | undefined;
|
|
12
|
-
description?: string | undefined;
|
|
13
|
-
instanceTypes?: string[] | undefined;
|
|
14
|
-
instanceProfileName: string | undefined;
|
|
15
|
-
securityGroupIds?: string[] | undefined;
|
|
16
|
-
subnetId?: string | undefined;
|
|
17
|
-
logging?: Logging | undefined;
|
|
18
|
-
keyPair?: string | undefined;
|
|
19
|
-
terminateInstanceOnFailure?: boolean | undefined;
|
|
20
|
-
snsTopicArn?: string | undefined;
|
|
21
|
-
resourceTags?: Record<string, string> | undefined;
|
|
22
|
-
instanceMetadataOptions?: InstanceMetadataOptions | undefined;
|
|
23
|
-
placement?: Placement | undefined;
|
|
24
|
-
clientToken?: string | undefined;
|
|
25
|
-
}
|
|
26
|
-
export interface UpdateInfrastructureConfigurationResponse {
|
|
27
|
-
requestId?: string | undefined;
|
|
28
|
-
clientToken?: string | undefined;
|
|
29
|
-
infrastructureConfigurationArn?: string | undefined;
|
|
30
|
-
}
|
|
31
|
-
export interface UpdateLifecyclePolicyRequest {
|
|
32
|
-
lifecyclePolicyArn: string | undefined;
|
|
33
|
-
description?: string | undefined;
|
|
34
|
-
status?: LifecyclePolicyStatus | undefined;
|
|
35
|
-
executionRole: string | undefined;
|
|
36
|
-
resourceType: LifecyclePolicyResourceType | undefined;
|
|
37
|
-
policyDetails: LifecyclePolicyDetail[] | undefined;
|
|
38
|
-
resourceSelection: LifecyclePolicyResourceSelection | undefined;
|
|
39
|
-
clientToken?: string | undefined;
|
|
40
|
-
}
|
|
41
|
-
export interface UpdateLifecyclePolicyResponse {
|
|
42
|
-
lifecyclePolicyArn?: string | undefined;
|
|
43
|
-
}
|