@aws-sdk/client-resiliencehub 3.315.0 → 3.316.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/Resiliencehub.js +56 -728
- package/dist-cjs/protocols/Aws_restJson1.js +13 -13
- package/dist-es/Resiliencehub.js +56 -728
- package/dist-es/protocols/Aws_restJson1.js +13 -13
- package/dist-types/Resiliencehub.d.ts +63 -239
- package/dist-types/ts3.4/Resiliencehub.d.ts +4 -1
- package/package.json +6 -6
|
@@ -39,7 +39,7 @@ const se_CreateAppCommand = async (input, context) => {
|
|
|
39
39
|
let body;
|
|
40
40
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
41
41
|
assessmentSchedule: [],
|
|
42
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
42
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
43
43
|
description: [],
|
|
44
44
|
name: [],
|
|
45
45
|
policyArn: [],
|
|
@@ -66,7 +66,7 @@ const se_CreateAppVersionAppComponentCommand = async (input, context) => {
|
|
|
66
66
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
67
67
|
additionalInfo: (_) => (0, smithy_client_1._json)(_),
|
|
68
68
|
appArn: [],
|
|
69
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
69
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
70
70
|
id: [],
|
|
71
71
|
name: [],
|
|
72
72
|
type: [],
|
|
@@ -95,7 +95,7 @@ const se_CreateAppVersionResourceCommand = async (input, context) => {
|
|
|
95
95
|
appComponents: (_) => (0, smithy_client_1._json)(_),
|
|
96
96
|
awsAccountId: [],
|
|
97
97
|
awsRegion: [],
|
|
98
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
98
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
99
99
|
logicalResourceId: (_) => (0, smithy_client_1._json)(_),
|
|
100
100
|
physicalResourceId: [],
|
|
101
101
|
resourceName: [],
|
|
@@ -122,7 +122,7 @@ const se_CreateRecommendationTemplateCommand = async (input, context) => {
|
|
|
122
122
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
123
123
|
assessmentArn: [],
|
|
124
124
|
bucketName: [],
|
|
125
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
125
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
126
126
|
format: [],
|
|
127
127
|
name: [],
|
|
128
128
|
recommendationIds: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -148,7 +148,7 @@ const se_CreateResiliencyPolicyCommand = async (input, context) => {
|
|
|
148
148
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/create-resiliency-policy";
|
|
149
149
|
let body;
|
|
150
150
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
151
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
151
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
152
152
|
dataLocationConstraint: [],
|
|
153
153
|
policy: (_) => (0, smithy_client_1._json)(_),
|
|
154
154
|
policyDescription: [],
|
|
@@ -176,7 +176,7 @@ const se_DeleteAppCommand = async (input, context) => {
|
|
|
176
176
|
let body;
|
|
177
177
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
178
178
|
appArn: [],
|
|
179
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
179
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
180
180
|
forceDelete: [],
|
|
181
181
|
}));
|
|
182
182
|
return new protocol_http_1.HttpRequest({
|
|
@@ -199,7 +199,7 @@ const se_DeleteAppAssessmentCommand = async (input, context) => {
|
|
|
199
199
|
let body;
|
|
200
200
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
201
201
|
assessmentArn: [],
|
|
202
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
202
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
203
203
|
}));
|
|
204
204
|
return new protocol_http_1.HttpRequest({
|
|
205
205
|
protocol,
|
|
@@ -221,7 +221,7 @@ const se_DeleteAppInputSourceCommand = async (input, context) => {
|
|
|
221
221
|
let body;
|
|
222
222
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
223
223
|
appArn: [],
|
|
224
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
224
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
225
225
|
eksSourceClusterNamespace: (_) => (0, smithy_client_1._json)(_),
|
|
226
226
|
sourceArn: [],
|
|
227
227
|
terraformSource: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -246,7 +246,7 @@ const se_DeleteAppVersionAppComponentCommand = async (input, context) => {
|
|
|
246
246
|
let body;
|
|
247
247
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
248
248
|
appArn: [],
|
|
249
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
249
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
250
250
|
id: [],
|
|
251
251
|
}));
|
|
252
252
|
return new protocol_http_1.HttpRequest({
|
|
@@ -271,7 +271,7 @@ const se_DeleteAppVersionResourceCommand = async (input, context) => {
|
|
|
271
271
|
appArn: [],
|
|
272
272
|
awsAccountId: [],
|
|
273
273
|
awsRegion: [],
|
|
274
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
274
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
275
275
|
logicalResourceId: (_) => (0, smithy_client_1._json)(_),
|
|
276
276
|
physicalResourceId: [],
|
|
277
277
|
resourceName: [],
|
|
@@ -295,7 +295,7 @@ const se_DeleteRecommendationTemplateCommand = async (input, context) => {
|
|
|
295
295
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/delete-recommendation-template";
|
|
296
296
|
let body;
|
|
297
297
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
298
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
298
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
299
299
|
recommendationTemplateArn: [],
|
|
300
300
|
}));
|
|
301
301
|
return new protocol_http_1.HttpRequest({
|
|
@@ -317,7 +317,7 @@ const se_DeleteResiliencyPolicyCommand = async (input, context) => {
|
|
|
317
317
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/delete-resiliency-policy";
|
|
318
318
|
let body;
|
|
319
319
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
320
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
320
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
321
321
|
policyArn: [],
|
|
322
322
|
}));
|
|
323
323
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1062,7 +1062,7 @@ const se_StartAppAssessmentCommand = async (input, context) => {
|
|
|
1062
1062
|
appArn: [],
|
|
1063
1063
|
appVersion: [],
|
|
1064
1064
|
assessmentName: [],
|
|
1065
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1065
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1066
1066
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
1067
1067
|
}));
|
|
1068
1068
|
return new protocol_http_1.HttpRequest({
|