@aws-sdk/client-controltower 3.600.0 → 3.606.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.
Files changed (39) hide show
  1. package/README.md +161 -16
  2. package/dist-cjs/index.js +83 -25
  3. package/dist-es/ControlTower.js +2 -0
  4. package/dist-es/commands/ListLandingZoneOperationsCommand.js +24 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/models_0.js +20 -20
  7. package/dist-es/pagination/ListLandingZoneOperationsPaginator.js +4 -0
  8. package/dist-es/pagination/index.js +1 -0
  9. package/dist-es/protocols/Aws_restJson1.js +31 -0
  10. package/dist-types/ControlTower.d.ts +161 -16
  11. package/dist-types/ControlTowerClient.d.ts +156 -18
  12. package/dist-types/commands/DisableControlCommand.d.ts +3 -3
  13. package/dist-types/commands/EnableControlCommand.d.ts +2 -2
  14. package/dist-types/commands/GetControlOperationCommand.d.ts +2 -2
  15. package/dist-types/commands/GetEnabledControlCommand.d.ts +2 -2
  16. package/dist-types/commands/GetLandingZoneOperationCommand.d.ts +2 -1
  17. package/dist-types/commands/ListControlOperationsCommand.d.ts +1 -1
  18. package/dist-types/commands/ListEnabledControlsCommand.d.ts +2 -2
  19. package/dist-types/commands/ListLandingZoneOperationsCommand.d.ts +88 -0
  20. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  21. package/dist-types/commands/ResetLandingZoneCommand.d.ts +4 -1
  22. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  23. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  24. package/dist-types/commands/UpdateEnabledControlCommand.d.ts +5 -5
  25. package/dist-types/commands/index.d.ts +1 -0
  26. package/dist-types/index.d.ts +153 -16
  27. package/dist-types/models/models_0.d.ts +294 -217
  28. package/dist-types/pagination/ListLandingZoneOperationsPaginator.d.ts +7 -0
  29. package/dist-types/pagination/index.d.ts +1 -0
  30. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  31. package/dist-types/ts3.4/ControlTower.d.ts +18 -0
  32. package/dist-types/ts3.4/ControlTowerClient.d.ts +6 -0
  33. package/dist-types/ts3.4/commands/ListLandingZoneOperationsCommand.d.ts +40 -0
  34. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  35. package/dist-types/ts3.4/models/models_0.d.ts +82 -63
  36. package/dist-types/ts3.4/pagination/ListLandingZoneOperationsPaginator.d.ts +11 -0
  37. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  38. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  39. package/package.json +3 -3
@@ -67,6 +67,10 @@ import {
67
67
  ListEnabledControlsCommandInput,
68
68
  ListEnabledControlsCommandOutput,
69
69
  } from "./commands/ListEnabledControlsCommand";
70
+ import {
71
+ ListLandingZoneOperationsCommandInput,
72
+ ListLandingZoneOperationsCommandOutput,
73
+ } from "./commands/ListLandingZoneOperationsCommand";
70
74
  import {
71
75
  ListLandingZonesCommandInput,
72
76
  ListLandingZonesCommandOutput,
@@ -330,6 +334,20 @@ export interface ControlTower {
330
334
  options: __HttpHandlerOptions,
331
335
  cb: (err: any, data?: ListEnabledControlsCommandOutput) => void
332
336
  ): void;
337
+ listLandingZoneOperations(): Promise<ListLandingZoneOperationsCommandOutput>;
338
+ listLandingZoneOperations(
339
+ args: ListLandingZoneOperationsCommandInput,
340
+ options?: __HttpHandlerOptions
341
+ ): Promise<ListLandingZoneOperationsCommandOutput>;
342
+ listLandingZoneOperations(
343
+ args: ListLandingZoneOperationsCommandInput,
344
+ cb: (err: any, data?: ListLandingZoneOperationsCommandOutput) => void
345
+ ): void;
346
+ listLandingZoneOperations(
347
+ args: ListLandingZoneOperationsCommandInput,
348
+ options: __HttpHandlerOptions,
349
+ cb: (err: any, data?: ListLandingZoneOperationsCommandOutput) => void
350
+ ): void;
333
351
  listLandingZones(): Promise<ListLandingZonesCommandOutput>;
334
352
  listLandingZones(
335
353
  args: ListLandingZonesCommandInput,
@@ -113,6 +113,10 @@ import {
113
113
  ListEnabledControlsCommandInput,
114
114
  ListEnabledControlsCommandOutput,
115
115
  } from "./commands/ListEnabledControlsCommand";
116
+ import {
117
+ ListLandingZoneOperationsCommandInput,
118
+ ListLandingZoneOperationsCommandOutput,
119
+ } from "./commands/ListLandingZoneOperationsCommand";
116
120
  import {
117
121
  ListLandingZonesCommandInput,
118
122
  ListLandingZonesCommandOutput,
@@ -174,6 +178,7 @@ export type ServiceInputTypes =
174
178
  | ListControlOperationsCommandInput
175
179
  | ListEnabledBaselinesCommandInput
176
180
  | ListEnabledControlsCommandInput
181
+ | ListLandingZoneOperationsCommandInput
177
182
  | ListLandingZonesCommandInput
178
183
  | ListTagsForResourceCommandInput
179
184
  | ResetEnabledBaselineCommandInput
@@ -201,6 +206,7 @@ export type ServiceOutputTypes =
201
206
  | ListControlOperationsCommandOutput
202
207
  | ListEnabledBaselinesCommandOutput
203
208
  | ListEnabledControlsCommandOutput
209
+ | ListLandingZoneOperationsCommandOutput
204
210
  | ListLandingZonesCommandOutput
205
211
  | ListTagsForResourceCommandOutput
206
212
  | ResetEnabledBaselineCommandOutput
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ControlTowerClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ControlTowerClient";
8
+ import {
9
+ ListLandingZoneOperationsInput,
10
+ ListLandingZoneOperationsOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListLandingZoneOperationsCommandInput
15
+ extends ListLandingZoneOperationsInput {}
16
+ export interface ListLandingZoneOperationsCommandOutput
17
+ extends ListLandingZoneOperationsOutput,
18
+ __MetadataBearer {}
19
+ declare const ListLandingZoneOperationsCommand_base: {
20
+ new (
21
+ input: ListLandingZoneOperationsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListLandingZoneOperationsCommandInput,
24
+ ListLandingZoneOperationsCommandOutput,
25
+ ControlTowerClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [ListLandingZoneOperationsCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListLandingZoneOperationsCommandInput,
33
+ ListLandingZoneOperationsCommandOutput,
34
+ ControlTowerClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListLandingZoneOperationsCommand extends ListLandingZoneOperationsCommand_base {}
@@ -15,6 +15,7 @@ export * from "./ListBaselinesCommand";
15
15
  export * from "./ListControlOperationsCommand";
16
16
  export * from "./ListEnabledBaselinesCommand";
17
17
  export * from "./ListEnabledControlsCommand";
18
+ export * from "./ListLandingZoneOperationsCommand";
18
19
  export * from "./ListLandingZonesCommand";
19
20
  export * from "./ListTagsForResourceCommand";
20
21
  export * from "./ResetEnabledBaselineCommand";
@@ -8,13 +8,34 @@ export declare class AccessDeniedException extends __BaseException {
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
10
10
  }
11
- export interface GetBaselineInput {
12
- baselineIdentifier: string | undefined;
11
+ export interface GetBaselineOperationInput {
12
+ operationIdentifier: string | undefined;
13
13
  }
14
- export interface GetBaselineOutput {
15
- arn: string | undefined;
16
- name: string | undefined;
17
- description?: string;
14
+ export declare const BaselineOperationType: {
15
+ readonly DISABLE_BASELINE: "DISABLE_BASELINE";
16
+ readonly ENABLE_BASELINE: "ENABLE_BASELINE";
17
+ readonly RESET_ENABLED_BASELINE: "RESET_ENABLED_BASELINE";
18
+ readonly UPDATE_ENABLED_BASELINE: "UPDATE_ENABLED_BASELINE";
19
+ };
20
+ export type BaselineOperationType =
21
+ (typeof BaselineOperationType)[keyof typeof BaselineOperationType];
22
+ export declare const BaselineOperationStatus: {
23
+ readonly FAILED: "FAILED";
24
+ readonly IN_PROGRESS: "IN_PROGRESS";
25
+ readonly SUCCEEDED: "SUCCEEDED";
26
+ };
27
+ export type BaselineOperationStatus =
28
+ (typeof BaselineOperationStatus)[keyof typeof BaselineOperationStatus];
29
+ export interface BaselineOperation {
30
+ operationIdentifier?: string;
31
+ operationType?: BaselineOperationType;
32
+ status?: BaselineOperationStatus;
33
+ startTime?: Date;
34
+ endTime?: Date;
35
+ statusMessage?: string;
36
+ }
37
+ export interface GetBaselineOperationOutput {
38
+ baselineOperation: BaselineOperation | undefined;
18
39
  }
19
40
  export declare class InternalServerException extends __BaseException {
20
41
  readonly name: "InternalServerException";
@@ -51,6 +72,14 @@ export declare class ValidationException extends __BaseException {
51
72
  opts: __ExceptionOptionType<ValidationException, __BaseException>
52
73
  );
53
74
  }
75
+ export interface GetBaselineInput {
76
+ baselineIdentifier: string | undefined;
77
+ }
78
+ export interface GetBaselineOutput {
79
+ arn: string | undefined;
80
+ name: string | undefined;
81
+ description?: string;
82
+ }
54
83
  export interface ListBaselinesInput {
55
84
  nextToken?: string;
56
85
  maxResults?: number;
@@ -162,35 +191,6 @@ export interface EnableBaselineOutput {
162
191
  operationIdentifier: string | undefined;
163
192
  arn: string | undefined;
164
193
  }
165
- export interface GetBaselineOperationInput {
166
- operationIdentifier: string | undefined;
167
- }
168
- export declare const BaselineOperationType: {
169
- readonly DISABLE_BASELINE: "DISABLE_BASELINE";
170
- readonly ENABLE_BASELINE: "ENABLE_BASELINE";
171
- readonly RESET_ENABLED_BASELINE: "RESET_ENABLED_BASELINE";
172
- readonly UPDATE_ENABLED_BASELINE: "UPDATE_ENABLED_BASELINE";
173
- };
174
- export type BaselineOperationType =
175
- (typeof BaselineOperationType)[keyof typeof BaselineOperationType];
176
- export declare const BaselineOperationStatus: {
177
- readonly FAILED: "FAILED";
178
- readonly IN_PROGRESS: "IN_PROGRESS";
179
- readonly SUCCEEDED: "SUCCEEDED";
180
- };
181
- export type BaselineOperationStatus =
182
- (typeof BaselineOperationStatus)[keyof typeof BaselineOperationStatus];
183
- export interface BaselineOperation {
184
- operationIdentifier?: string;
185
- operationType?: BaselineOperationType;
186
- status?: BaselineOperationStatus;
187
- startTime?: Date;
188
- endTime?: Date;
189
- statusMessage?: string;
190
- }
191
- export interface GetBaselineOperationOutput {
192
- baselineOperation: BaselineOperation | undefined;
193
- }
194
194
  export interface GetEnabledBaselineInput {
195
195
  enabledBaselineIdentifier: string | undefined;
196
196
  }
@@ -329,6 +329,53 @@ export interface UpdateEnabledControlInput {
329
329
  export interface UpdateEnabledControlOutput {
330
330
  operationIdentifier: string | undefined;
331
331
  }
332
+ export interface GetLandingZoneOperationInput {
333
+ operationIdentifier: string | undefined;
334
+ }
335
+ export declare const LandingZoneOperationType: {
336
+ readonly CREATE: "CREATE";
337
+ readonly DELETE: "DELETE";
338
+ readonly RESET: "RESET";
339
+ readonly UPDATE: "UPDATE";
340
+ };
341
+ export type LandingZoneOperationType =
342
+ (typeof LandingZoneOperationType)[keyof typeof LandingZoneOperationType];
343
+ export declare const LandingZoneOperationStatus: {
344
+ readonly FAILED: "FAILED";
345
+ readonly IN_PROGRESS: "IN_PROGRESS";
346
+ readonly SUCCEEDED: "SUCCEEDED";
347
+ };
348
+ export type LandingZoneOperationStatus =
349
+ (typeof LandingZoneOperationStatus)[keyof typeof LandingZoneOperationStatus];
350
+ export interface LandingZoneOperationDetail {
351
+ operationType?: LandingZoneOperationType;
352
+ operationIdentifier?: string;
353
+ status?: LandingZoneOperationStatus;
354
+ startTime?: Date;
355
+ endTime?: Date;
356
+ statusMessage?: string;
357
+ }
358
+ export interface GetLandingZoneOperationOutput {
359
+ operationDetails: LandingZoneOperationDetail | undefined;
360
+ }
361
+ export interface LandingZoneOperationFilter {
362
+ types?: LandingZoneOperationType[];
363
+ statuses?: LandingZoneOperationStatus[];
364
+ }
365
+ export interface ListLandingZoneOperationsInput {
366
+ filter?: LandingZoneOperationFilter;
367
+ nextToken?: string;
368
+ maxResults?: number;
369
+ }
370
+ export interface LandingZoneOperationSummary {
371
+ operationType?: LandingZoneOperationType;
372
+ operationIdentifier?: string;
373
+ status?: LandingZoneOperationStatus;
374
+ }
375
+ export interface ListLandingZoneOperationsOutput {
376
+ landingZoneOperations: LandingZoneOperationSummary[] | undefined;
377
+ nextToken?: string;
378
+ }
332
379
  export interface CreateLandingZoneInput {
333
380
  version: string | undefined;
334
381
  manifest: __DocumentType | undefined;
@@ -374,34 +421,6 @@ export interface LandingZoneDetail {
374
421
  export interface GetLandingZoneOutput {
375
422
  landingZone: LandingZoneDetail | undefined;
376
423
  }
377
- export interface GetLandingZoneOperationInput {
378
- operationIdentifier: string | undefined;
379
- }
380
- export declare const LandingZoneOperationType: {
381
- readonly CREATE: "CREATE";
382
- readonly DELETE: "DELETE";
383
- readonly RESET: "RESET";
384
- readonly UPDATE: "UPDATE";
385
- };
386
- export type LandingZoneOperationType =
387
- (typeof LandingZoneOperationType)[keyof typeof LandingZoneOperationType];
388
- export declare const LandingZoneOperationStatus: {
389
- readonly FAILED: "FAILED";
390
- readonly IN_PROGRESS: "IN_PROGRESS";
391
- readonly SUCCEEDED: "SUCCEEDED";
392
- };
393
- export type LandingZoneOperationStatus =
394
- (typeof LandingZoneOperationStatus)[keyof typeof LandingZoneOperationStatus];
395
- export interface LandingZoneOperationDetail {
396
- operationType?: LandingZoneOperationType;
397
- startTime?: Date;
398
- endTime?: Date;
399
- status?: LandingZoneOperationStatus;
400
- statusMessage?: string;
401
- }
402
- export interface GetLandingZoneOperationOutput {
403
- operationDetails: LandingZoneOperationDetail | undefined;
404
- }
405
424
  export interface ListLandingZonesInput {
406
425
  nextToken?: string;
407
426
  maxResults?: number;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListLandingZoneOperationsCommandInput,
4
+ ListLandingZoneOperationsCommandOutput,
5
+ } from "../commands/ListLandingZoneOperationsCommand";
6
+ import { ControlTowerPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListLandingZoneOperations: (
8
+ config: ControlTowerPaginationConfiguration,
9
+ input: ListLandingZoneOperationsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListLandingZoneOperationsCommandOutput>;
@@ -3,4 +3,5 @@ export * from "./ListBaselinesPaginator";
3
3
  export * from "./ListControlOperationsPaginator";
4
4
  export * from "./ListEnabledBaselinesPaginator";
5
5
  export * from "./ListEnabledControlsPaginator";
6
+ export * from "./ListLandingZoneOperationsPaginator";
6
7
  export * from "./ListLandingZonesPaginator";
@@ -71,6 +71,10 @@ import {
71
71
  ListEnabledControlsCommandInput,
72
72
  ListEnabledControlsCommandOutput,
73
73
  } from "../commands/ListEnabledControlsCommand";
74
+ import {
75
+ ListLandingZoneOperationsCommandInput,
76
+ ListLandingZoneOperationsCommandOutput,
77
+ } from "../commands/ListLandingZoneOperationsCommand";
74
78
  import {
75
79
  ListLandingZonesCommandInput,
76
80
  ListLandingZonesCommandOutput,
@@ -175,6 +179,10 @@ export declare const se_ListEnabledControlsCommand: (
175
179
  input: ListEnabledControlsCommandInput,
176
180
  context: __SerdeContext
177
181
  ) => Promise<__HttpRequest>;
182
+ export declare const se_ListLandingZoneOperationsCommand: (
183
+ input: ListLandingZoneOperationsCommandInput,
184
+ context: __SerdeContext
185
+ ) => Promise<__HttpRequest>;
178
186
  export declare const se_ListLandingZonesCommand: (
179
187
  input: ListLandingZonesCommandInput,
180
188
  context: __SerdeContext
@@ -279,6 +287,10 @@ export declare const de_ListEnabledControlsCommand: (
279
287
  output: __HttpResponse,
280
288
  context: __SerdeContext
281
289
  ) => Promise<ListEnabledControlsCommandOutput>;
290
+ export declare const de_ListLandingZoneOperationsCommand: (
291
+ output: __HttpResponse,
292
+ context: __SerdeContext
293
+ ) => Promise<ListLandingZoneOperationsCommandOutput>;
282
294
  export declare const de_ListLandingZonesCommand: (
283
295
  output: __HttpResponse,
284
296
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-controltower",
3
3
  "description": "AWS SDK for JavaScript Controltower Client for Node.js, Browser and React Native",
4
- "version": "3.600.0",
4
+ "version": "3.606.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-controltower",
@@ -20,8 +20,8 @@
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.600.0",
24
- "@aws-sdk/client-sts": "3.600.0",
23
+ "@aws-sdk/client-sso-oidc": "3.606.0",
24
+ "@aws-sdk/client-sts": "3.606.0",
25
25
  "@aws-sdk/core": "3.598.0",
26
26
  "@aws-sdk/credential-provider-node": "3.600.0",
27
27
  "@aws-sdk/middleware-host-header": "3.598.0",