@aws-sdk/client-cloudcontrol 3.687.0 → 3.692.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 CHANGED
@@ -273,7 +273,8 @@ var HandlerErrorCode = {
273
273
  SERVICE_INTERNAL_ERROR: "ServiceInternalError",
274
274
  SERVICE_LIMIT_EXCEEDED: "ServiceLimitExceeded",
275
275
  SERVICE_TIMEOUT: "ServiceTimeout",
276
- THROTTLING: "Throttling"
276
+ THROTTLING: "Throttling",
277
+ UNAUTHORIZED_TAGGING_OPERATION: "UnauthorizedTaggingOperation"
277
278
  };
278
279
  var Operation = {
279
280
  CREATE: "CREATE",
@@ -1179,9 +1180,28 @@ var de_DeleteResourceOutput = /* @__PURE__ */ __name((output, context) => {
1179
1180
  }, "de_DeleteResourceOutput");
1180
1181
  var de_GetResourceRequestStatusOutput = /* @__PURE__ */ __name((output, context) => {
1181
1182
  return (0, import_smithy_client.take)(output, {
1183
+ HooksProgressEvent: (_) => de_HooksProgressEvent(_, context),
1182
1184
  ProgressEvent: (_) => de_ProgressEvent(_, context)
1183
1185
  });
1184
1186
  }, "de_GetResourceRequestStatusOutput");
1187
+ var de_HookProgressEvent = /* @__PURE__ */ __name((output, context) => {
1188
+ return (0, import_smithy_client.take)(output, {
1189
+ FailureMode: import_smithy_client.expectString,
1190
+ HookEventTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1191
+ HookStatus: import_smithy_client.expectString,
1192
+ HookStatusMessage: import_smithy_client.expectString,
1193
+ HookTypeArn: import_smithy_client.expectString,
1194
+ HookTypeName: import_smithy_client.expectString,
1195
+ HookTypeVersionId: import_smithy_client.expectString,
1196
+ InvocationPoint: import_smithy_client.expectString
1197
+ });
1198
+ }, "de_HookProgressEvent");
1199
+ var de_HooksProgressEvent = /* @__PURE__ */ __name((output, context) => {
1200
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1201
+ return de_HookProgressEvent(entry, context);
1202
+ });
1203
+ return retVal;
1204
+ }, "de_HooksProgressEvent");
1185
1205
  var de_ListResourceRequestsOutput = /* @__PURE__ */ __name((output, context) => {
1186
1206
  return (0, import_smithy_client.take)(output, {
1187
1207
  NextToken: import_smithy_client.expectString,
@@ -1192,6 +1212,7 @@ var de_ProgressEvent = /* @__PURE__ */ __name((output, context) => {
1192
1212
  return (0, import_smithy_client.take)(output, {
1193
1213
  ErrorCode: import_smithy_client.expectString,
1194
1214
  EventTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1215
+ HooksRequestToken: import_smithy_client.expectString,
1195
1216
  Identifier: import_smithy_client.expectString,
1196
1217
  Operation: import_smithy_client.expectString,
1197
1218
  OperationStatus: import_smithy_client.expectString,
@@ -29,6 +29,7 @@ export const HandlerErrorCode = {
29
29
  SERVICE_LIMIT_EXCEEDED: "ServiceLimitExceeded",
30
30
  SERVICE_TIMEOUT: "ServiceTimeout",
31
31
  THROTTLING: "Throttling",
32
+ UNAUTHORIZED_TAGGING_OPERATION: "UnauthorizedTaggingOperation",
32
33
  };
33
34
  export const Operation = {
34
35
  CREATE: "CREATE",
@@ -469,9 +469,30 @@ const de_DeleteResourceOutput = (output, context) => {
469
469
  };
470
470
  const de_GetResourceRequestStatusOutput = (output, context) => {
471
471
  return take(output, {
472
+ HooksProgressEvent: (_) => de_HooksProgressEvent(_, context),
472
473
  ProgressEvent: (_) => de_ProgressEvent(_, context),
473
474
  });
474
475
  };
476
+ const de_HookProgressEvent = (output, context) => {
477
+ return take(output, {
478
+ FailureMode: __expectString,
479
+ HookEventTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
480
+ HookStatus: __expectString,
481
+ HookStatusMessage: __expectString,
482
+ HookTypeArn: __expectString,
483
+ HookTypeName: __expectString,
484
+ HookTypeVersionId: __expectString,
485
+ InvocationPoint: __expectString,
486
+ });
487
+ };
488
+ const de_HooksProgressEvent = (output, context) => {
489
+ const retVal = (output || [])
490
+ .filter((e) => e != null)
491
+ .map((entry) => {
492
+ return de_HookProgressEvent(entry, context);
493
+ });
494
+ return retVal;
495
+ };
475
496
  const de_ListResourceRequestsOutput = (output, context) => {
476
497
  return take(output, {
477
498
  NextToken: __expectString,
@@ -482,6 +503,7 @@ const de_ProgressEvent = (output, context) => {
482
503
  return take(output, {
483
504
  ErrorCode: __expectString,
484
505
  EventTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
506
+ HooksRequestToken: __expectString,
485
507
  Identifier: __expectString,
486
508
  Operation: __expectString,
487
509
  OperationStatus: __expectString,
@@ -47,6 +47,7 @@ declare const CancelResourceRequestCommand_base: {
47
47
  * // TypeName: "STRING_VALUE",
48
48
  * // Identifier: "STRING_VALUE",
49
49
  * // RequestToken: "STRING_VALUE",
50
+ * // HooksRequestToken: "STRING_VALUE",
50
51
  * // Operation: "STRING_VALUE",
51
52
  * // OperationStatus: "STRING_VALUE",
52
53
  * // EventTime: new Date("TIMESTAMP"),
@@ -52,6 +52,7 @@ declare const CreateResourceCommand_base: {
52
52
  * // TypeName: "STRING_VALUE",
53
53
  * // Identifier: "STRING_VALUE",
54
54
  * // RequestToken: "STRING_VALUE",
55
+ * // HooksRequestToken: "STRING_VALUE",
55
56
  * // Operation: "STRING_VALUE",
56
57
  * // OperationStatus: "STRING_VALUE",
57
58
  * // EventTime: new Date("TIMESTAMP"),
@@ -52,6 +52,7 @@ declare const DeleteResourceCommand_base: {
52
52
  * // TypeName: "STRING_VALUE",
53
53
  * // Identifier: "STRING_VALUE",
54
54
  * // RequestToken: "STRING_VALUE",
55
+ * // HooksRequestToken: "STRING_VALUE",
55
56
  * // Operation: "STRING_VALUE",
56
57
  * // OperationStatus: "STRING_VALUE",
57
58
  * // EventTime: new Date("TIMESTAMP"),
@@ -46,6 +46,7 @@ declare const GetResourceRequestStatusCommand_base: {
46
46
  * // TypeName: "STRING_VALUE",
47
47
  * // Identifier: "STRING_VALUE",
48
48
  * // RequestToken: "STRING_VALUE",
49
+ * // HooksRequestToken: "STRING_VALUE",
49
50
  * // Operation: "STRING_VALUE",
50
51
  * // OperationStatus: "STRING_VALUE",
51
52
  * // EventTime: new Date("TIMESTAMP"),
@@ -54,6 +55,18 @@ declare const GetResourceRequestStatusCommand_base: {
54
55
  * // ErrorCode: "STRING_VALUE",
55
56
  * // RetryAfter: new Date("TIMESTAMP"),
56
57
  * // },
58
+ * // HooksProgressEvent: [ // HooksProgressEvent
59
+ * // { // HookProgressEvent
60
+ * // HookTypeName: "STRING_VALUE",
61
+ * // HookTypeVersionId: "STRING_VALUE",
62
+ * // HookTypeArn: "STRING_VALUE",
63
+ * // InvocationPoint: "STRING_VALUE",
64
+ * // HookStatus: "STRING_VALUE",
65
+ * // HookEventTime: new Date("TIMESTAMP"),
66
+ * // HookStatusMessage: "STRING_VALUE",
67
+ * // FailureMode: "STRING_VALUE",
68
+ * // },
69
+ * // ],
57
70
  * // };
58
71
  *
59
72
  * ```
@@ -59,6 +59,7 @@ declare const ListResourceRequestsCommand_base: {
59
59
  * // TypeName: "STRING_VALUE",
60
60
  * // Identifier: "STRING_VALUE",
61
61
  * // RequestToken: "STRING_VALUE",
62
+ * // HooksRequestToken: "STRING_VALUE",
62
63
  * // Operation: "STRING_VALUE",
63
64
  * // OperationStatus: "STRING_VALUE",
64
65
  * // EventTime: new Date("TIMESTAMP"),
@@ -60,6 +60,7 @@ declare const UpdateResourceCommand_base: {
60
60
  * // TypeName: "STRING_VALUE",
61
61
  * // Identifier: "STRING_VALUE",
62
62
  * // RequestToken: "STRING_VALUE",
63
+ * // HooksRequestToken: "STRING_VALUE",
63
64
  * // Operation: "STRING_VALUE",
64
65
  * // OperationStatus: "STRING_VALUE",
65
66
  * // EventTime: new Date("TIMESTAMP"),
@@ -7,7 +7,7 @@ import { CloudControlServiceException as __BaseException } from "./CloudControlS
7
7
  export declare class AlreadyExistsException extends __BaseException {
8
8
  readonly name: "AlreadyExistsException";
9
9
  readonly $fault: "client";
10
- Message?: string;
10
+ Message?: string | undefined;
11
11
  /**
12
12
  * @internal
13
13
  */
@@ -44,6 +44,7 @@ export declare const HandlerErrorCode: {
44
44
  readonly SERVICE_LIMIT_EXCEEDED: "ServiceLimitExceeded";
45
45
  readonly SERVICE_TIMEOUT: "ServiceTimeout";
46
46
  readonly THROTTLING: "Throttling";
47
+ readonly UNAUTHORIZED_TAGGING_OPERATION: "UnauthorizedTaggingOperation";
47
48
  };
48
49
  /**
49
50
  * @public
@@ -89,7 +90,7 @@ export interface ProgressEvent {
89
90
  * <p>The name of the resource type used in the operation.</p>
90
91
  * @public
91
92
  */
92
- TypeName?: string;
93
+ TypeName?: string | undefined;
93
94
  /**
94
95
  * <p>The primary identifier for the resource.</p>
95
96
  * <note>
@@ -98,19 +99,24 @@ export interface ProgressEvent {
98
99
  * </note>
99
100
  * @public
100
101
  */
101
- Identifier?: string;
102
+ Identifier?: string | undefined;
102
103
  /**
103
104
  * <p>The unique token representing this resource operation request.</p>
104
105
  * <p>Use the <code>RequestToken</code> with <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_GetResourceRequestStatus.html">GetResourceRequestStatus</a> to return the current status of a resource operation
105
106
  * request.</p>
106
107
  * @public
107
108
  */
108
- RequestToken?: string;
109
+ RequestToken?: string | undefined;
110
+ /**
111
+ * <p>The unique token representing the Hooks operation for the request.</p>
112
+ * @public
113
+ */
114
+ HooksRequestToken?: string | undefined;
109
115
  /**
110
116
  * <p>The resource operation type.</p>
111
117
  * @public
112
118
  */
113
- Operation?: Operation;
119
+ Operation?: Operation | undefined;
114
120
  /**
115
121
  * <p>The current status of the resource operation request.</p>
116
122
  * <ul>
@@ -143,35 +149,35 @@ export interface ProgressEvent {
143
149
  * </ul>
144
150
  * @public
145
151
  */
146
- OperationStatus?: OperationStatus;
152
+ OperationStatus?: OperationStatus | undefined;
147
153
  /**
148
154
  * <p>When the resource operation request was initiated.</p>
149
155
  * @public
150
156
  */
151
- EventTime?: Date;
157
+ EventTime?: Date | undefined;
152
158
  /**
153
159
  * <p>A JSON string containing the resource model, consisting of each resource property and its
154
160
  * current value.</p>
155
161
  * @public
156
162
  */
157
- ResourceModel?: string;
163
+ ResourceModel?: string | undefined;
158
164
  /**
159
165
  * <p>Any message explaining the current status.</p>
160
166
  * @public
161
167
  */
162
- StatusMessage?: string;
168
+ StatusMessage?: string | undefined;
163
169
  /**
164
170
  * <p>For requests with a status of <code>FAILED</code>, the associated error code.</p>
165
171
  * <p>For error code definitions, see <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-test-contract-errors.html">Handler error codes</a> in the <i>CloudFormation Command
166
172
  * Line Interface User Guide for Extension Development</i>.</p>
167
173
  * @public
168
174
  */
169
- ErrorCode?: HandlerErrorCode;
175
+ ErrorCode?: HandlerErrorCode | undefined;
170
176
  /**
171
177
  * <p>When to next request the status of this resource operation request.</p>
172
178
  * @public
173
179
  */
174
- RetryAfter?: Date;
180
+ RetryAfter?: Date | undefined;
175
181
  }
176
182
  /**
177
183
  * @public
@@ -183,7 +189,7 @@ export interface CancelResourceRequestOutput {
183
189
  * <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
184
190
  * @public
185
191
  */
186
- ProgressEvent?: ProgressEvent;
192
+ ProgressEvent?: ProgressEvent | undefined;
187
193
  }
188
194
  /**
189
195
  * <p>The resource is currently being modified by another operation.</p>
@@ -192,7 +198,7 @@ export interface CancelResourceRequestOutput {
192
198
  export declare class ConcurrentModificationException extends __BaseException {
193
199
  readonly name: "ConcurrentModificationException";
194
200
  readonly $fault: "server";
195
- Message?: string;
201
+ Message?: string | undefined;
196
202
  /**
197
203
  * @internal
198
204
  */
@@ -205,7 +211,7 @@ export declare class ConcurrentModificationException extends __BaseException {
205
211
  export declare class RequestTokenNotFoundException extends __BaseException {
206
212
  readonly name: "RequestTokenNotFoundException";
207
213
  readonly $fault: "client";
208
- Message?: string;
214
+ Message?: string | undefined;
209
215
  /**
210
216
  * @internal
211
217
  */
@@ -220,7 +226,7 @@ export declare class RequestTokenNotFoundException extends __BaseException {
220
226
  export declare class ClientTokenConflictException extends __BaseException {
221
227
  readonly name: "ClientTokenConflictException";
222
228
  readonly $fault: "client";
223
- Message?: string;
229
+ Message?: string | undefined;
224
230
  /**
225
231
  * @internal
226
232
  */
@@ -233,7 +239,7 @@ export declare class ClientTokenConflictException extends __BaseException {
233
239
  export declare class ConcurrentOperationException extends __BaseException {
234
240
  readonly name: "ConcurrentOperationException";
235
241
  readonly $fault: "client";
236
- Message?: string;
242
+ Message?: string | undefined;
237
243
  /**
238
244
  * @internal
239
245
  */
@@ -254,7 +260,7 @@ export interface CreateResourceInput {
254
260
  * uses the default version.</p>
255
261
  * @public
256
262
  */
257
- TypeVersionId?: string;
263
+ TypeVersionId?: string | undefined;
258
264
  /**
259
265
  * <p>The Amazon Resource Name (ARN) of the Identity and Access Management
260
266
  * (IAM) role for Cloud Control API to use when performing this resource
@@ -271,7 +277,7 @@ export interface CreateResourceInput {
271
277
  * credentials</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
272
278
  * @public
273
279
  */
274
- RoleArn?: string;
280
+ RoleArn?: string | undefined;
275
281
  /**
276
282
  * <p>A unique identifier to ensure the idempotency of the resource request. As a
277
283
  * best practice, specify this token to ensure idempotency, so that Amazon Web Services Cloud Control API can
@@ -286,7 +292,7 @@ export interface CreateResourceInput {
286
292
  * Guide</i>.</p>
287
293
  * @public
288
294
  */
289
- ClientToken?: string;
295
+ ClientToken?: string | undefined;
290
296
  /**
291
297
  * <p>Structured data format representing the desired state of the resource, consisting of that
292
298
  * resource's properties and their desired values.</p>
@@ -321,7 +327,7 @@ export interface CreateResourceOutput {
321
327
  * <code>ProgressEvent</code> returned by <code>CreateResource</code>.</p>
322
328
  * @public
323
329
  */
324
- ProgressEvent?: ProgressEvent;
330
+ ProgressEvent?: ProgressEvent | undefined;
325
331
  }
326
332
  /**
327
333
  * <p>The resource handler has returned that the downstream service generated an error that
@@ -331,7 +337,7 @@ export interface CreateResourceOutput {
331
337
  export declare class GeneralServiceException extends __BaseException {
332
338
  readonly name: "GeneralServiceException";
333
339
  readonly $fault: "client";
334
- Message?: string;
340
+ Message?: string | undefined;
335
341
  /**
336
342
  * @internal
337
343
  */
@@ -345,7 +351,7 @@ export declare class GeneralServiceException extends __BaseException {
345
351
  export declare class HandlerFailureException extends __BaseException {
346
352
  readonly name: "HandlerFailureException";
347
353
  readonly $fault: "server";
348
- Message?: string;
354
+ Message?: string | undefined;
349
355
  /**
350
356
  * @internal
351
357
  */
@@ -359,7 +365,7 @@ export declare class HandlerFailureException extends __BaseException {
359
365
  export declare class HandlerInternalFailureException extends __BaseException {
360
366
  readonly name: "HandlerInternalFailureException";
361
367
  readonly $fault: "server";
362
- Message?: string;
368
+ Message?: string | undefined;
363
369
  /**
364
370
  * @internal
365
371
  */
@@ -373,7 +379,7 @@ export declare class HandlerInternalFailureException extends __BaseException {
373
379
  export declare class InvalidCredentialsException extends __BaseException {
374
380
  readonly name: "InvalidCredentialsException";
375
381
  readonly $fault: "client";
376
- Message?: string;
382
+ Message?: string | undefined;
377
383
  /**
378
384
  * @internal
379
385
  */
@@ -387,7 +393,7 @@ export declare class InvalidCredentialsException extends __BaseException {
387
393
  export declare class InvalidRequestException extends __BaseException {
388
394
  readonly name: "InvalidRequestException";
389
395
  readonly $fault: "client";
390
- Message?: string;
396
+ Message?: string | undefined;
391
397
  /**
392
398
  * @internal
393
399
  */
@@ -401,7 +407,7 @@ export declare class InvalidRequestException extends __BaseException {
401
407
  export declare class NetworkFailureException extends __BaseException {
402
408
  readonly name: "NetworkFailureException";
403
409
  readonly $fault: "server";
404
- Message?: string;
410
+ Message?: string | undefined;
405
411
  /**
406
412
  * @internal
407
413
  */
@@ -415,7 +421,7 @@ export declare class NetworkFailureException extends __BaseException {
415
421
  export declare class NotStabilizedException extends __BaseException {
416
422
  readonly name: "NotStabilizedException";
417
423
  readonly $fault: "client";
418
- Message?: string;
424
+ Message?: string | undefined;
419
425
  /**
420
426
  * @internal
421
427
  */
@@ -429,7 +435,7 @@ export declare class NotStabilizedException extends __BaseException {
429
435
  export declare class NotUpdatableException extends __BaseException {
430
436
  readonly name: "NotUpdatableException";
431
437
  readonly $fault: "client";
432
- Message?: string;
438
+ Message?: string | undefined;
433
439
  /**
434
440
  * @internal
435
441
  */
@@ -444,7 +450,7 @@ export declare class NotUpdatableException extends __BaseException {
444
450
  export declare class PrivateTypeException extends __BaseException {
445
451
  readonly name: "PrivateTypeException";
446
452
  readonly $fault: "client";
447
- Message?: string;
453
+ Message?: string | undefined;
448
454
  /**
449
455
  * @internal
450
456
  */
@@ -459,7 +465,7 @@ export declare class PrivateTypeException extends __BaseException {
459
465
  export declare class ResourceConflictException extends __BaseException {
460
466
  readonly name: "ResourceConflictException";
461
467
  readonly $fault: "client";
462
- Message?: string;
468
+ Message?: string | undefined;
463
469
  /**
464
470
  * @internal
465
471
  */
@@ -472,7 +478,7 @@ export declare class ResourceConflictException extends __BaseException {
472
478
  export declare class ResourceNotFoundException extends __BaseException {
473
479
  readonly name: "ResourceNotFoundException";
474
480
  readonly $fault: "client";
475
- Message?: string;
481
+ Message?: string | undefined;
476
482
  /**
477
483
  * @internal
478
484
  */
@@ -486,7 +492,7 @@ export declare class ResourceNotFoundException extends __BaseException {
486
492
  export declare class ServiceInternalErrorException extends __BaseException {
487
493
  readonly name: "ServiceInternalErrorException";
488
494
  readonly $fault: "server";
489
- Message?: string;
495
+ Message?: string | undefined;
490
496
  /**
491
497
  * @internal
492
498
  */
@@ -500,7 +506,7 @@ export declare class ServiceInternalErrorException extends __BaseException {
500
506
  export declare class ServiceLimitExceededException extends __BaseException {
501
507
  readonly name: "ServiceLimitExceededException";
502
508
  readonly $fault: "client";
503
- Message?: string;
509
+ Message?: string | undefined;
504
510
  /**
505
511
  * @internal
506
512
  */
@@ -513,7 +519,7 @@ export declare class ServiceLimitExceededException extends __BaseException {
513
519
  export declare class ThrottlingException extends __BaseException {
514
520
  readonly name: "ThrottlingException";
515
521
  readonly $fault: "client";
516
- Message?: string;
522
+ Message?: string | undefined;
517
523
  /**
518
524
  * @internal
519
525
  */
@@ -526,7 +532,7 @@ export declare class ThrottlingException extends __BaseException {
526
532
  export declare class TypeNotFoundException extends __BaseException {
527
533
  readonly name: "TypeNotFoundException";
528
534
  readonly $fault: "client";
529
- Message?: string;
535
+ Message?: string | undefined;
530
536
  /**
531
537
  * @internal
532
538
  */
@@ -539,7 +545,7 @@ export declare class TypeNotFoundException extends __BaseException {
539
545
  export declare class UnsupportedActionException extends __BaseException {
540
546
  readonly name: "UnsupportedActionException";
541
547
  readonly $fault: "client";
542
- Message?: string;
548
+ Message?: string | undefined;
543
549
  /**
544
550
  * @internal
545
551
  */
@@ -560,7 +566,7 @@ export interface DeleteResourceInput {
560
566
  * uses the default version.</p>
561
567
  * @public
562
568
  */
563
- TypeVersionId?: string;
569
+ TypeVersionId?: string | undefined;
564
570
  /**
565
571
  * <p>The Amazon Resource Name (ARN) of the Identity and Access Management
566
572
  * (IAM) role for Cloud Control API to use when performing this resource
@@ -577,7 +583,7 @@ export interface DeleteResourceInput {
577
583
  * credentials</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
578
584
  * @public
579
585
  */
580
- RoleArn?: string;
586
+ RoleArn?: string | undefined;
581
587
  /**
582
588
  * <p>A unique identifier to ensure the idempotency of the resource request. As a
583
589
  * best practice, specify this token to ensure idempotency, so that Amazon Web Services Cloud Control API can
@@ -592,7 +598,7 @@ export interface DeleteResourceInput {
592
598
  * Guide</i>.</p>
593
599
  * @public
594
600
  */
595
- ClientToken?: string;
601
+ ClientToken?: string | undefined;
596
602
  /**
597
603
  * <p>The identifier for the resource.</p>
598
604
  * <p>You can specify the primary identifier, or any secondary identifier
@@ -621,7 +627,7 @@ export interface DeleteResourceOutput {
621
627
  * <code>ProgressEvent</code> returned by <code>DeleteResource</code>.</p>
622
628
  * @public
623
629
  */
624
- ProgressEvent?: ProgressEvent;
630
+ ProgressEvent?: ProgressEvent | undefined;
625
631
  }
626
632
  /**
627
633
  * @public
@@ -638,7 +644,7 @@ export interface GetResourceInput {
638
644
  * uses the default version.</p>
639
645
  * @public
640
646
  */
641
- TypeVersionId?: string;
647
+ TypeVersionId?: string | undefined;
642
648
  /**
643
649
  * <p>The Amazon Resource Name (ARN) of the Identity and Access Management
644
650
  * (IAM) role for Cloud Control API to use when performing this resource
@@ -655,7 +661,7 @@ export interface GetResourceInput {
655
661
  * credentials</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
656
662
  * @public
657
663
  */
658
- RoleArn?: string;
664
+ RoleArn?: string | undefined;
659
665
  /**
660
666
  * <p>The identifier for the resource.</p>
661
667
  * <p>You can specify the primary identifier, or any secondary identifier
@@ -684,12 +690,12 @@ export interface ResourceDescription {
684
690
  * resources</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
685
691
  * @public
686
692
  */
687
- Identifier?: string;
693
+ Identifier?: string | undefined;
688
694
  /**
689
695
  * <p>A list of the resource properties and their current values.</p>
690
696
  * @public
691
697
  */
692
- Properties?: string;
698
+ Properties?: string | undefined;
693
699
  }
694
700
  /**
695
701
  * @public
@@ -699,12 +705,12 @@ export interface GetResourceOutput {
699
705
  * <p>The name of the resource type.</p>
700
706
  * @public
701
707
  */
702
- TypeName?: string;
708
+ TypeName?: string | undefined;
703
709
  /**
704
710
  * <p>Represents information about a provisioned resource.</p>
705
711
  * @public
706
712
  */
707
- ResourceDescription?: ResourceDescription;
713
+ ResourceDescription?: ResourceDescription | undefined;
708
714
  }
709
715
  /**
710
716
  * @public
@@ -718,6 +724,87 @@ export interface GetResourceRequestStatusInput {
718
724
  */
719
725
  RequestToken: string | undefined;
720
726
  }
727
+ /**
728
+ * <p>Represents the current status of applicable Hooks for a resource operation request. It contains list of
729
+ * Hook invocation information for the resource specified in the request since the same target can invoke multiple Hooks.
730
+ * For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html">Managing resource operation requests with Amazon Web Services Cloud Control API
731
+ * </a>.</p>
732
+ * @public
733
+ */
734
+ export interface HookProgressEvent {
735
+ /**
736
+ * <p>The type name of the Hook being invoked.</p>
737
+ * @public
738
+ */
739
+ HookTypeName?: string | undefined;
740
+ /**
741
+ * <p>The type version of the Hook being invoked.</p>
742
+ * @public
743
+ */
744
+ HookTypeVersionId?: string | undefined;
745
+ /**
746
+ * <p>The ARN of the Hook being invoked.</p>
747
+ * @public
748
+ */
749
+ HookTypeArn?: string | undefined;
750
+ /**
751
+ * <p>States whether the Hook is invoked before or after resource provisioning.</p>
752
+ * @public
753
+ */
754
+ InvocationPoint?: string | undefined;
755
+ /**
756
+ * <p>The status of the Hook invocation. The following are potential statuses:</p>
757
+ * <ul>
758
+ * <li>
759
+ * <p>
760
+ * <code>HOOK_PENDING</code>: The Hook was added to the invocation plan, but not yet invoked.</p>
761
+ * </li>
762
+ * <li>
763
+ * <p>
764
+ * <code>HOOK_IN_PROGRESS</code>: The Hook was invoked, but hasn't completed.</p>
765
+ * </li>
766
+ * <li>
767
+ * <p>
768
+ * <code>HOOK_COMPLETE_SUCCEEDED</code>: The Hook invocation is complete with a successful result.</p>
769
+ * </li>
770
+ * <li>
771
+ * <p>
772
+ * <code>HOOK_COMPLETE_FAILED</code>: The Hook invocation is complete with a failed result.</p>
773
+ * </li>
774
+ * <li>
775
+ * <p>
776
+ * <code>HOOK_FAILED</code>: The Hook invocation didn't complete successfully.</p>
777
+ * </li>
778
+ * </ul>
779
+ * @public
780
+ */
781
+ HookStatus?: string | undefined;
782
+ /**
783
+ * <p>The time that the Hook invocation request initiated.</p>
784
+ * @public
785
+ */
786
+ HookEventTime?: Date | undefined;
787
+ /**
788
+ * <p>The message explaining the current Hook status.</p>
789
+ * @public
790
+ */
791
+ HookStatusMessage?: string | undefined;
792
+ /**
793
+ * <p>The failure mode of the invocation. The following are the potential statuses:</p>
794
+ * <ul>
795
+ * <li>
796
+ * <p>
797
+ * <code>FAIL</code>: This will fail the Hook invocation and the request associated with it.</p>
798
+ * </li>
799
+ * <li>
800
+ * <p>
801
+ * <code>WARN</code>: This will fail the Hook invocation, but not the request associated with it.</p>
802
+ * </li>
803
+ * </ul>
804
+ * @public
805
+ */
806
+ FailureMode?: string | undefined;
807
+ }
721
808
  /**
722
809
  * @public
723
810
  */
@@ -726,7 +813,12 @@ export interface GetResourceRequestStatusOutput {
726
813
  * <p>Represents the current status of the resource operation request.</p>
727
814
  * @public
728
815
  */
729
- ProgressEvent?: ProgressEvent;
816
+ ProgressEvent?: ProgressEvent | undefined;
817
+ /**
818
+ * <p>Lists Hook invocations for the specified target in the request. This is a list since the same target can invoke multiple Hooks.</p>
819
+ * @public
820
+ */
821
+ HooksProgressEvent?: HookProgressEvent[] | undefined;
730
822
  }
731
823
  /**
732
824
  * <p>The filter criteria to use in determining the requests returned.</p>
@@ -737,7 +829,7 @@ export interface ResourceRequestStatusFilter {
737
829
  * <p>The operation types to include in the filter.</p>
738
830
  * @public
739
831
  */
740
- Operations?: Operation[];
832
+ Operations?: Operation[] | undefined;
741
833
  /**
742
834
  * <p>The operation statuses to include in the filter.</p>
743
835
  * <ul>
@@ -769,7 +861,7 @@ export interface ResourceRequestStatusFilter {
769
861
  * </ul>
770
862
  * @public
771
863
  */
772
- OperationStatuses?: OperationStatus[];
864
+ OperationStatuses?: OperationStatus[] | undefined;
773
865
  }
774
866
  /**
775
867
  * @public
@@ -783,7 +875,7 @@ export interface ListResourceRequestsInput {
783
875
  * <p>The default is <code>20</code>.</p>
784
876
  * @public
785
877
  */
786
- MaxResults?: number;
878
+ MaxResults?: number | undefined;
787
879
  /**
788
880
  * <p>If the previous paginated request didn't return all of the remaining results,
789
881
  * the response object's <code>NextToken</code> parameter value is set to a token.
@@ -793,12 +885,12 @@ export interface ListResourceRequestsInput {
793
885
  * <code>null</code>.</p>
794
886
  * @public
795
887
  */
796
- NextToken?: string;
888
+ NextToken?: string | undefined;
797
889
  /**
798
890
  * <p>The filter criteria to apply to the requests returned.</p>
799
891
  * @public
800
892
  */
801
- ResourceRequestStatusFilter?: ResourceRequestStatusFilter;
893
+ ResourceRequestStatusFilter?: ResourceRequestStatusFilter | undefined;
802
894
  }
803
895
  /**
804
896
  * @public
@@ -808,7 +900,7 @@ export interface ListResourceRequestsOutput {
808
900
  * <p>The requests that match the specified filter criteria.</p>
809
901
  * @public
810
902
  */
811
- ResourceRequestStatusSummaries?: ProgressEvent[];
903
+ ResourceRequestStatusSummaries?: ProgressEvent[] | undefined;
812
904
  /**
813
905
  * <p>If the request doesn't return all of the remaining results,
814
906
  * <code>NextToken</code> is set to a token. To retrieve the next set of results, call
@@ -817,7 +909,7 @@ export interface ListResourceRequestsOutput {
817
909
  * <code>NextToken</code> is set to null.</p>
818
910
  * @public
819
911
  */
820
- NextToken?: string;
912
+ NextToken?: string | undefined;
821
913
  }
822
914
  /**
823
915
  * @public
@@ -834,7 +926,7 @@ export interface ListResourcesInput {
834
926
  * uses the default version.</p>
835
927
  * @public
836
928
  */
837
- TypeVersionId?: string;
929
+ TypeVersionId?: string | undefined;
838
930
  /**
839
931
  * <p>The Amazon Resource Name (ARN) of the Identity and Access Management
840
932
  * (IAM) role for Cloud Control API to use when performing this resource
@@ -851,7 +943,7 @@ export interface ListResourcesInput {
851
943
  * credentials</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
852
944
  * @public
853
945
  */
854
- RoleArn?: string;
946
+ RoleArn?: string | undefined;
855
947
  /**
856
948
  * <p>If the previous paginated request didn't return all of the remaining results,
857
949
  * the response object's <code>NextToken</code> parameter value is set to a token.
@@ -861,17 +953,17 @@ export interface ListResourcesInput {
861
953
  * <code>null</code>.</p>
862
954
  * @public
863
955
  */
864
- NextToken?: string;
956
+ NextToken?: string | undefined;
865
957
  /**
866
958
  * <p>Reserved.</p>
867
959
  * @public
868
960
  */
869
- MaxResults?: number;
961
+ MaxResults?: number | undefined;
870
962
  /**
871
963
  * <p>The resource model to use to select the resources to return.</p>
872
964
  * @public
873
965
  */
874
- ResourceModel?: string;
966
+ ResourceModel?: string | undefined;
875
967
  }
876
968
  /**
877
969
  * @public
@@ -881,13 +973,13 @@ export interface ListResourcesOutput {
881
973
  * <p>The name of the resource type.</p>
882
974
  * @public
883
975
  */
884
- TypeName?: string;
976
+ TypeName?: string | undefined;
885
977
  /**
886
978
  * <p>Information about the specified resources, including primary identifier and resource
887
979
  * model.</p>
888
980
  * @public
889
981
  */
890
- ResourceDescriptions?: ResourceDescription[];
982
+ ResourceDescriptions?: ResourceDescription[] | undefined;
891
983
  /**
892
984
  * <p>If the request doesn't return all of the remaining results,
893
985
  * <code>NextToken</code> is set to a token. To retrieve the next set of results, call
@@ -896,7 +988,7 @@ export interface ListResourcesOutput {
896
988
  * <code>NextToken</code> is set to null.</p>
897
989
  * @public
898
990
  */
899
- NextToken?: string;
991
+ NextToken?: string | undefined;
900
992
  }
901
993
  /**
902
994
  * @public
@@ -913,7 +1005,7 @@ export interface UpdateResourceInput {
913
1005
  * uses the default version.</p>
914
1006
  * @public
915
1007
  */
916
- TypeVersionId?: string;
1008
+ TypeVersionId?: string | undefined;
917
1009
  /**
918
1010
  * <p>The Amazon Resource Name (ARN) of the Identity and Access Management
919
1011
  * (IAM) role for Cloud Control API to use when performing this resource
@@ -930,7 +1022,7 @@ export interface UpdateResourceInput {
930
1022
  * credentials</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
931
1023
  * @public
932
1024
  */
933
- RoleArn?: string;
1025
+ RoleArn?: string | undefined;
934
1026
  /**
935
1027
  * <p>A unique identifier to ensure the idempotency of the resource request. As a
936
1028
  * best practice, specify this token to ensure idempotency, so that Amazon Web Services Cloud Control API can
@@ -945,7 +1037,7 @@ export interface UpdateResourceInput {
945
1037
  * Guide</i>.</p>
946
1038
  * @public
947
1039
  */
948
- ClientToken?: string;
1040
+ ClientToken?: string | undefined;
949
1041
  /**
950
1042
  * <p>The identifier for the resource.</p>
951
1043
  * <p>You can specify the primary identifier, or any secondary identifier
@@ -980,7 +1072,7 @@ export interface UpdateResourceOutput {
980
1072
  * request.</p>
981
1073
  * @public
982
1074
  */
983
- ProgressEvent?: ProgressEvent;
1075
+ ProgressEvent?: ProgressEvent | undefined;
984
1076
  }
985
1077
  /**
986
1078
  * @internal
@@ -3,7 +3,7 @@ import { CloudControlServiceException as __BaseException } from "./CloudControlS
3
3
  export declare class AlreadyExistsException extends __BaseException {
4
4
  readonly name: "AlreadyExistsException";
5
5
  readonly $fault: "client";
6
- Message?: string;
6
+ Message?: string | undefined;
7
7
  constructor(
8
8
  opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>
9
9
  );
@@ -27,6 +27,7 @@ export declare const HandlerErrorCode: {
27
27
  readonly SERVICE_LIMIT_EXCEEDED: "ServiceLimitExceeded";
28
28
  readonly SERVICE_TIMEOUT: "ServiceTimeout";
29
29
  readonly THROTTLING: "Throttling";
30
+ readonly UNAUTHORIZED_TAGGING_OPERATION: "UnauthorizedTaggingOperation";
30
31
  };
31
32
  export type HandlerErrorCode =
32
33
  (typeof HandlerErrorCode)[keyof typeof HandlerErrorCode];
@@ -47,24 +48,25 @@ export declare const OperationStatus: {
47
48
  export type OperationStatus =
48
49
  (typeof OperationStatus)[keyof typeof OperationStatus];
49
50
  export interface ProgressEvent {
50
- TypeName?: string;
51
- Identifier?: string;
52
- RequestToken?: string;
53
- Operation?: Operation;
54
- OperationStatus?: OperationStatus;
55
- EventTime?: Date;
56
- ResourceModel?: string;
57
- StatusMessage?: string;
58
- ErrorCode?: HandlerErrorCode;
59
- RetryAfter?: Date;
51
+ TypeName?: string | undefined;
52
+ Identifier?: string | undefined;
53
+ RequestToken?: string | undefined;
54
+ HooksRequestToken?: string | undefined;
55
+ Operation?: Operation | undefined;
56
+ OperationStatus?: OperationStatus | undefined;
57
+ EventTime?: Date | undefined;
58
+ ResourceModel?: string | undefined;
59
+ StatusMessage?: string | undefined;
60
+ ErrorCode?: HandlerErrorCode | undefined;
61
+ RetryAfter?: Date | undefined;
60
62
  }
61
63
  export interface CancelResourceRequestOutput {
62
- ProgressEvent?: ProgressEvent;
64
+ ProgressEvent?: ProgressEvent | undefined;
63
65
  }
64
66
  export declare class ConcurrentModificationException extends __BaseException {
65
67
  readonly name: "ConcurrentModificationException";
66
68
  readonly $fault: "server";
67
- Message?: string;
69
+ Message?: string | undefined;
68
70
  constructor(
69
71
  opts: __ExceptionOptionType<
70
72
  ConcurrentModificationException,
@@ -75,7 +77,7 @@ export declare class ConcurrentModificationException extends __BaseException {
75
77
  export declare class RequestTokenNotFoundException extends __BaseException {
76
78
  readonly name: "RequestTokenNotFoundException";
77
79
  readonly $fault: "client";
78
- Message?: string;
80
+ Message?: string | undefined;
79
81
  constructor(
80
82
  opts: __ExceptionOptionType<RequestTokenNotFoundException, __BaseException>
81
83
  );
@@ -83,7 +85,7 @@ export declare class RequestTokenNotFoundException extends __BaseException {
83
85
  export declare class ClientTokenConflictException extends __BaseException {
84
86
  readonly name: "ClientTokenConflictException";
85
87
  readonly $fault: "client";
86
- Message?: string;
88
+ Message?: string | undefined;
87
89
  constructor(
88
90
  opts: __ExceptionOptionType<ClientTokenConflictException, __BaseException>
89
91
  );
@@ -91,25 +93,25 @@ export declare class ClientTokenConflictException extends __BaseException {
91
93
  export declare class ConcurrentOperationException extends __BaseException {
92
94
  readonly name: "ConcurrentOperationException";
93
95
  readonly $fault: "client";
94
- Message?: string;
96
+ Message?: string | undefined;
95
97
  constructor(
96
98
  opts: __ExceptionOptionType<ConcurrentOperationException, __BaseException>
97
99
  );
98
100
  }
99
101
  export interface CreateResourceInput {
100
102
  TypeName: string | undefined;
101
- TypeVersionId?: string;
102
- RoleArn?: string;
103
- ClientToken?: string;
103
+ TypeVersionId?: string | undefined;
104
+ RoleArn?: string | undefined;
105
+ ClientToken?: string | undefined;
104
106
  DesiredState: string | undefined;
105
107
  }
106
108
  export interface CreateResourceOutput {
107
- ProgressEvent?: ProgressEvent;
109
+ ProgressEvent?: ProgressEvent | undefined;
108
110
  }
109
111
  export declare class GeneralServiceException extends __BaseException {
110
112
  readonly name: "GeneralServiceException";
111
113
  readonly $fault: "client";
112
- Message?: string;
114
+ Message?: string | undefined;
113
115
  constructor(
114
116
  opts: __ExceptionOptionType<GeneralServiceException, __BaseException>
115
117
  );
@@ -117,7 +119,7 @@ export declare class GeneralServiceException extends __BaseException {
117
119
  export declare class HandlerFailureException extends __BaseException {
118
120
  readonly name: "HandlerFailureException";
119
121
  readonly $fault: "server";
120
- Message?: string;
122
+ Message?: string | undefined;
121
123
  constructor(
122
124
  opts: __ExceptionOptionType<HandlerFailureException, __BaseException>
123
125
  );
@@ -125,7 +127,7 @@ export declare class HandlerFailureException extends __BaseException {
125
127
  export declare class HandlerInternalFailureException extends __BaseException {
126
128
  readonly name: "HandlerInternalFailureException";
127
129
  readonly $fault: "server";
128
- Message?: string;
130
+ Message?: string | undefined;
129
131
  constructor(
130
132
  opts: __ExceptionOptionType<
131
133
  HandlerInternalFailureException,
@@ -136,7 +138,7 @@ export declare class HandlerInternalFailureException extends __BaseException {
136
138
  export declare class InvalidCredentialsException extends __BaseException {
137
139
  readonly name: "InvalidCredentialsException";
138
140
  readonly $fault: "client";
139
- Message?: string;
141
+ Message?: string | undefined;
140
142
  constructor(
141
143
  opts: __ExceptionOptionType<InvalidCredentialsException, __BaseException>
142
144
  );
@@ -144,7 +146,7 @@ export declare class InvalidCredentialsException extends __BaseException {
144
146
  export declare class InvalidRequestException extends __BaseException {
145
147
  readonly name: "InvalidRequestException";
146
148
  readonly $fault: "client";
147
- Message?: string;
149
+ Message?: string | undefined;
148
150
  constructor(
149
151
  opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
150
152
  );
@@ -152,7 +154,7 @@ export declare class InvalidRequestException extends __BaseException {
152
154
  export declare class NetworkFailureException extends __BaseException {
153
155
  readonly name: "NetworkFailureException";
154
156
  readonly $fault: "server";
155
- Message?: string;
157
+ Message?: string | undefined;
156
158
  constructor(
157
159
  opts: __ExceptionOptionType<NetworkFailureException, __BaseException>
158
160
  );
@@ -160,7 +162,7 @@ export declare class NetworkFailureException extends __BaseException {
160
162
  export declare class NotStabilizedException extends __BaseException {
161
163
  readonly name: "NotStabilizedException";
162
164
  readonly $fault: "client";
163
- Message?: string;
165
+ Message?: string | undefined;
164
166
  constructor(
165
167
  opts: __ExceptionOptionType<NotStabilizedException, __BaseException>
166
168
  );
@@ -168,7 +170,7 @@ export declare class NotStabilizedException extends __BaseException {
168
170
  export declare class NotUpdatableException extends __BaseException {
169
171
  readonly name: "NotUpdatableException";
170
172
  readonly $fault: "client";
171
- Message?: string;
173
+ Message?: string | undefined;
172
174
  constructor(
173
175
  opts: __ExceptionOptionType<NotUpdatableException, __BaseException>
174
176
  );
@@ -176,7 +178,7 @@ export declare class NotUpdatableException extends __BaseException {
176
178
  export declare class PrivateTypeException extends __BaseException {
177
179
  readonly name: "PrivateTypeException";
178
180
  readonly $fault: "client";
179
- Message?: string;
181
+ Message?: string | undefined;
180
182
  constructor(
181
183
  opts: __ExceptionOptionType<PrivateTypeException, __BaseException>
182
184
  );
@@ -184,7 +186,7 @@ export declare class PrivateTypeException extends __BaseException {
184
186
  export declare class ResourceConflictException extends __BaseException {
185
187
  readonly name: "ResourceConflictException";
186
188
  readonly $fault: "client";
187
- Message?: string;
189
+ Message?: string | undefined;
188
190
  constructor(
189
191
  opts: __ExceptionOptionType<ResourceConflictException, __BaseException>
190
192
  );
@@ -192,7 +194,7 @@ export declare class ResourceConflictException extends __BaseException {
192
194
  export declare class ResourceNotFoundException extends __BaseException {
193
195
  readonly name: "ResourceNotFoundException";
194
196
  readonly $fault: "client";
195
- Message?: string;
197
+ Message?: string | undefined;
196
198
  constructor(
197
199
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
198
200
  );
@@ -200,7 +202,7 @@ export declare class ResourceNotFoundException extends __BaseException {
200
202
  export declare class ServiceInternalErrorException extends __BaseException {
201
203
  readonly name: "ServiceInternalErrorException";
202
204
  readonly $fault: "server";
203
- Message?: string;
205
+ Message?: string | undefined;
204
206
  constructor(
205
207
  opts: __ExceptionOptionType<ServiceInternalErrorException, __BaseException>
206
208
  );
@@ -208,7 +210,7 @@ export declare class ServiceInternalErrorException extends __BaseException {
208
210
  export declare class ServiceLimitExceededException extends __BaseException {
209
211
  readonly name: "ServiceLimitExceededException";
210
212
  readonly $fault: "client";
211
- Message?: string;
213
+ Message?: string | undefined;
212
214
  constructor(
213
215
  opts: __ExceptionOptionType<ServiceLimitExceededException, __BaseException>
214
216
  );
@@ -216,7 +218,7 @@ export declare class ServiceLimitExceededException extends __BaseException {
216
218
  export declare class ThrottlingException extends __BaseException {
217
219
  readonly name: "ThrottlingException";
218
220
  readonly $fault: "client";
219
- Message?: string;
221
+ Message?: string | undefined;
220
222
  constructor(
221
223
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
222
224
  );
@@ -224,7 +226,7 @@ export declare class ThrottlingException extends __BaseException {
224
226
  export declare class TypeNotFoundException extends __BaseException {
225
227
  readonly name: "TypeNotFoundException";
226
228
  readonly $fault: "client";
227
- Message?: string;
229
+ Message?: string | undefined;
228
230
  constructor(
229
231
  opts: __ExceptionOptionType<TypeNotFoundException, __BaseException>
230
232
  );
@@ -232,77 +234,88 @@ export declare class TypeNotFoundException extends __BaseException {
232
234
  export declare class UnsupportedActionException extends __BaseException {
233
235
  readonly name: "UnsupportedActionException";
234
236
  readonly $fault: "client";
235
- Message?: string;
237
+ Message?: string | undefined;
236
238
  constructor(
237
239
  opts: __ExceptionOptionType<UnsupportedActionException, __BaseException>
238
240
  );
239
241
  }
240
242
  export interface DeleteResourceInput {
241
243
  TypeName: string | undefined;
242
- TypeVersionId?: string;
243
- RoleArn?: string;
244
- ClientToken?: string;
244
+ TypeVersionId?: string | undefined;
245
+ RoleArn?: string | undefined;
246
+ ClientToken?: string | undefined;
245
247
  Identifier: string | undefined;
246
248
  }
247
249
  export interface DeleteResourceOutput {
248
- ProgressEvent?: ProgressEvent;
250
+ ProgressEvent?: ProgressEvent | undefined;
249
251
  }
250
252
  export interface GetResourceInput {
251
253
  TypeName: string | undefined;
252
- TypeVersionId?: string;
253
- RoleArn?: string;
254
+ TypeVersionId?: string | undefined;
255
+ RoleArn?: string | undefined;
254
256
  Identifier: string | undefined;
255
257
  }
256
258
  export interface ResourceDescription {
257
- Identifier?: string;
258
- Properties?: string;
259
+ Identifier?: string | undefined;
260
+ Properties?: string | undefined;
259
261
  }
260
262
  export interface GetResourceOutput {
261
- TypeName?: string;
262
- ResourceDescription?: ResourceDescription;
263
+ TypeName?: string | undefined;
264
+ ResourceDescription?: ResourceDescription | undefined;
263
265
  }
264
266
  export interface GetResourceRequestStatusInput {
265
267
  RequestToken: string | undefined;
266
268
  }
269
+ export interface HookProgressEvent {
270
+ HookTypeName?: string | undefined;
271
+ HookTypeVersionId?: string | undefined;
272
+ HookTypeArn?: string | undefined;
273
+ InvocationPoint?: string | undefined;
274
+ HookStatus?: string | undefined;
275
+ HookEventTime?: Date | undefined;
276
+ HookStatusMessage?: string | undefined;
277
+ FailureMode?: string | undefined;
278
+ }
267
279
  export interface GetResourceRequestStatusOutput {
268
- ProgressEvent?: ProgressEvent;
280
+ ProgressEvent?: ProgressEvent | undefined;
281
+ HooksProgressEvent?: HookProgressEvent[] | undefined;
269
282
  }
270
283
  export interface ResourceRequestStatusFilter {
271
- Operations?: Operation[];
272
- OperationStatuses?: OperationStatus[];
284
+ Operations?: Operation[] | undefined;
285
+ OperationStatuses?: OperationStatus[] | undefined;
273
286
  }
274
287
  export interface ListResourceRequestsInput {
275
- MaxResults?: number;
276
- NextToken?: string;
277
- ResourceRequestStatusFilter?: ResourceRequestStatusFilter;
288
+ MaxResults?: number | undefined;
289
+ NextToken?: string | undefined;
290
+ ResourceRequestStatusFilter?: ResourceRequestStatusFilter | undefined;
278
291
  }
279
292
  export interface ListResourceRequestsOutput {
280
- ResourceRequestStatusSummaries?: ProgressEvent[];
281
- NextToken?: string;
293
+ ResourceRequestStatusSummaries?: ProgressEvent[] | undefined;
294
+ NextToken?: string | undefined;
282
295
  }
283
296
  export interface ListResourcesInput {
284
297
  TypeName: string | undefined;
285
- TypeVersionId?: string;
286
- RoleArn?: string;
287
- NextToken?: string;
288
- MaxResults?: number;
289
- ResourceModel?: string;
298
+ TypeVersionId?: string | undefined;
299
+ RoleArn?: string | undefined;
300
+ NextToken?: string | undefined;
301
+ MaxResults?: number | undefined;
302
+ ResourceModel?: string | undefined;
290
303
  }
291
304
  export interface ListResourcesOutput {
292
- TypeName?: string;
293
- ResourceDescriptions?: ResourceDescription[];
294
- NextToken?: string;
305
+ TypeName?: string | undefined;
306
+ ResourceDescriptions?: ResourceDescription[] | undefined;
307
+ NextToken?: string | undefined;
295
308
  }
296
309
  export interface UpdateResourceInput {
297
310
  TypeName: string | undefined;
298
- TypeVersionId?: string;
299
- RoleArn?: string;
300
- ClientToken?: string;
311
+ TypeVersionId?: string | undefined;
312
+ RoleArn?: string | undefined;
313
+ ClientToken?: string | undefined;
301
314
  Identifier: string | undefined;
302
315
  PatchDocument: string | undefined;
303
316
  }
304
317
  export interface UpdateResourceOutput {
305
- ProgressEvent?: ProgressEvent;
318
+ ProgressEvent?: ProgressEvent | undefined;
306
319
  }
307
320
  export declare const ProgressEventFilterSensitiveLog: (
308
321
  obj: ProgressEvent
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudcontrol",
3
3
  "description": "AWS SDK for JavaScript Cloudcontrol Client for Node.js, Browser and React Native",
4
- "version": "3.687.0",
4
+ "version": "3.692.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-cloudcontrol",
@@ -20,45 +20,45 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
27
- "@aws-sdk/middleware-host-header": "3.686.0",
28
- "@aws-sdk/middleware-logger": "3.686.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.687.0",
31
- "@aws-sdk/region-config-resolver": "3.686.0",
32
- "@aws-sdk/types": "3.686.0",
33
- "@aws-sdk/util-endpoints": "3.686.0",
34
- "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.687.0",
36
- "@smithy/config-resolver": "^3.0.10",
37
- "@smithy/core": "^2.5.1",
38
- "@smithy/fetch-http-handler": "^4.0.0",
39
- "@smithy/hash-node": "^3.0.8",
40
- "@smithy/invalid-dependency": "^3.0.8",
41
- "@smithy/middleware-content-length": "^3.0.10",
42
- "@smithy/middleware-endpoint": "^3.2.1",
43
- "@smithy/middleware-retry": "^3.0.25",
44
- "@smithy/middleware-serde": "^3.0.8",
45
- "@smithy/middleware-stack": "^3.0.8",
46
- "@smithy/node-config-provider": "^3.1.9",
47
- "@smithy/node-http-handler": "^3.2.5",
48
- "@smithy/protocol-http": "^4.1.5",
49
- "@smithy/smithy-client": "^3.4.2",
50
- "@smithy/types": "^3.6.0",
51
- "@smithy/url-parser": "^3.0.8",
23
+ "@aws-sdk/client-sso-oidc": "3.692.0",
24
+ "@aws-sdk/client-sts": "3.692.0",
25
+ "@aws-sdk/core": "3.692.0",
26
+ "@aws-sdk/credential-provider-node": "3.692.0",
27
+ "@aws-sdk/middleware-host-header": "3.692.0",
28
+ "@aws-sdk/middleware-logger": "3.692.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.692.0",
30
+ "@aws-sdk/middleware-user-agent": "3.692.0",
31
+ "@aws-sdk/region-config-resolver": "3.692.0",
32
+ "@aws-sdk/types": "3.692.0",
33
+ "@aws-sdk/util-endpoints": "3.692.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.692.0",
35
+ "@aws-sdk/util-user-agent-node": "3.692.0",
36
+ "@smithy/config-resolver": "^3.0.11",
37
+ "@smithy/core": "^2.5.2",
38
+ "@smithy/fetch-http-handler": "^4.1.0",
39
+ "@smithy/hash-node": "^3.0.9",
40
+ "@smithy/invalid-dependency": "^3.0.9",
41
+ "@smithy/middleware-content-length": "^3.0.11",
42
+ "@smithy/middleware-endpoint": "^3.2.2",
43
+ "@smithy/middleware-retry": "^3.0.26",
44
+ "@smithy/middleware-serde": "^3.0.9",
45
+ "@smithy/middleware-stack": "^3.0.9",
46
+ "@smithy/node-config-provider": "^3.1.10",
47
+ "@smithy/node-http-handler": "^3.3.0",
48
+ "@smithy/protocol-http": "^4.1.6",
49
+ "@smithy/smithy-client": "^3.4.3",
50
+ "@smithy/types": "^3.7.0",
51
+ "@smithy/url-parser": "^3.0.9",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.25",
56
- "@smithy/util-defaults-mode-node": "^3.0.25",
57
- "@smithy/util-endpoints": "^2.1.4",
58
- "@smithy/util-middleware": "^3.0.8",
59
- "@smithy/util-retry": "^3.0.8",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.26",
56
+ "@smithy/util-defaults-mode-node": "^3.0.26",
57
+ "@smithy/util-endpoints": "^2.1.5",
58
+ "@smithy/util-middleware": "^3.0.9",
59
+ "@smithy/util-retry": "^3.0.9",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
- "@smithy/util-waiter": "^3.1.7",
61
+ "@smithy/util-waiter": "^3.1.8",
62
62
  "@types/uuid": "^9.0.1",
63
63
  "tslib": "^2.6.2",
64
64
  "uuid": "^9.0.1"