@aws-sdk/client-controltower 3.451.0 → 3.458.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 (65) hide show
  1. package/README.md +86 -30
  2. package/dist-cjs/ControlTower.js +14 -0
  3. package/dist-cjs/commands/CreateLandingZoneCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteLandingZoneCommand.js +51 -0
  5. package/dist-cjs/commands/GetLandingZoneCommand.js +51 -0
  6. package/dist-cjs/commands/GetLandingZoneOperationCommand.js +51 -0
  7. package/dist-cjs/commands/ListLandingZonesCommand.js +51 -0
  8. package/dist-cjs/commands/ResetLandingZoneCommand.js +51 -0
  9. package/dist-cjs/commands/UpdateLandingZoneCommand.js +51 -0
  10. package/dist-cjs/commands/index.js +7 -0
  11. package/dist-cjs/models/models_0.js +21 -1
  12. package/dist-cjs/pagination/ListLandingZonesPaginator.js +29 -0
  13. package/dist-cjs/pagination/index.js +1 -0
  14. package/dist-cjs/protocols/Aws_restJson1.js +508 -1
  15. package/dist-es/ControlTower.js +14 -0
  16. package/dist-es/commands/CreateLandingZoneCommand.js +47 -0
  17. package/dist-es/commands/DeleteLandingZoneCommand.js +47 -0
  18. package/dist-es/commands/GetLandingZoneCommand.js +47 -0
  19. package/dist-es/commands/GetLandingZoneOperationCommand.js +47 -0
  20. package/dist-es/commands/ListLandingZonesCommand.js +47 -0
  21. package/dist-es/commands/ResetLandingZoneCommand.js +47 -0
  22. package/dist-es/commands/UpdateLandingZoneCommand.js +47 -0
  23. package/dist-es/commands/index.js +7 -0
  24. package/dist-es/models/models_0.js +20 -0
  25. package/dist-es/pagination/ListLandingZonesPaginator.js +25 -0
  26. package/dist-es/pagination/index.js +1 -0
  27. package/dist-es/protocols/Aws_restJson1.js +493 -0
  28. package/dist-types/ControlTower.d.ts +64 -15
  29. package/dist-types/ControlTowerClient.d.ts +24 -17
  30. package/dist-types/commands/CreateLandingZoneCommand.d.ts +94 -0
  31. package/dist-types/commands/DeleteLandingZoneCommand.d.ts +92 -0
  32. package/dist-types/commands/DisableControlCommand.d.ts +5 -5
  33. package/dist-types/commands/EnableControlCommand.d.ts +5 -5
  34. package/dist-types/commands/GetControlOperationCommand.d.ts +4 -4
  35. package/dist-types/commands/GetEnabledControlCommand.d.ts +6 -6
  36. package/dist-types/commands/GetLandingZoneCommand.d.ts +97 -0
  37. package/dist-types/commands/GetLandingZoneOperationCommand.d.ts +95 -0
  38. package/dist-types/commands/ListEnabledControlsCommand.d.ts +7 -7
  39. package/dist-types/commands/ListLandingZonesCommand.d.ts +93 -0
  40. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  41. package/dist-types/commands/ResetLandingZoneCommand.d.ts +92 -0
  42. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  43. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  44. package/dist-types/commands/UpdateLandingZoneCommand.d.ts +95 -0
  45. package/dist-types/commands/index.d.ts +7 -0
  46. package/dist-types/index.d.ts +15 -15
  47. package/dist-types/models/models_0.d.ts +400 -12
  48. package/dist-types/pagination/ListLandingZonesPaginator.d.ts +7 -0
  49. package/dist-types/pagination/index.d.ts +1 -0
  50. package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
  51. package/dist-types/ts3.4/ControlTower.d.ts +119 -0
  52. package/dist-types/ts3.4/ControlTowerClient.d.ts +44 -2
  53. package/dist-types/ts3.4/commands/CreateLandingZoneCommand.d.ts +38 -0
  54. package/dist-types/ts3.4/commands/DeleteLandingZoneCommand.d.ts +38 -0
  55. package/dist-types/ts3.4/commands/GetLandingZoneCommand.d.ts +35 -0
  56. package/dist-types/ts3.4/commands/GetLandingZoneOperationCommand.d.ts +42 -0
  57. package/dist-types/ts3.4/commands/ListLandingZonesCommand.d.ts +38 -0
  58. package/dist-types/ts3.4/commands/ResetLandingZoneCommand.d.ts +38 -0
  59. package/dist-types/ts3.4/commands/UpdateLandingZoneCommand.d.ts +38 -0
  60. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  61. package/dist-types/ts3.4/models/models_0.d.ts +99 -0
  62. package/dist-types/ts3.4/pagination/ListLandingZonesPaginator.d.ts +11 -0
  63. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  64. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
  65. package/package.json +3 -3
@@ -1,4 +1,5 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { DocumentType as __DocumentType } from "@smithy/types";
2
3
  import { ControlTowerServiceException as __BaseException } from "./ControlTowerServiceException";
3
4
  export declare class AccessDeniedException extends __BaseException {
4
5
  readonly name: "AccessDeniedException";
@@ -134,6 +135,104 @@ export interface EnabledControlDetails {
134
135
  export interface GetEnabledControlOutput {
135
136
  enabledControlDetails: EnabledControlDetails | undefined;
136
137
  }
138
+ export interface CreateLandingZoneInput {
139
+ version: string | undefined;
140
+ manifest: __DocumentType | undefined;
141
+ tags?: Record<string, string>;
142
+ }
143
+ export interface CreateLandingZoneOutput {
144
+ arn: string | undefined;
145
+ operationIdentifier: string | undefined;
146
+ }
147
+ export interface DeleteLandingZoneInput {
148
+ landingZoneIdentifier: string | undefined;
149
+ }
150
+ export interface DeleteLandingZoneOutput {
151
+ operationIdentifier: string | undefined;
152
+ }
153
+ export interface GetLandingZoneInput {
154
+ landingZoneIdentifier: string | undefined;
155
+ }
156
+ export declare const LandingZoneDriftStatus: {
157
+ readonly DRIFTED: "DRIFTED";
158
+ readonly IN_SYNC: "IN_SYNC";
159
+ };
160
+ export type LandingZoneDriftStatus =
161
+ (typeof LandingZoneDriftStatus)[keyof typeof LandingZoneDriftStatus];
162
+ export interface LandingZoneDriftStatusSummary {
163
+ status?: LandingZoneDriftStatus;
164
+ }
165
+ export declare const LandingZoneStatus: {
166
+ readonly ACTIVE: "ACTIVE";
167
+ readonly FAILED: "FAILED";
168
+ readonly PROCESSING: "PROCESSING";
169
+ };
170
+ export type LandingZoneStatus =
171
+ (typeof LandingZoneStatus)[keyof typeof LandingZoneStatus];
172
+ export interface LandingZoneDetail {
173
+ version: string | undefined;
174
+ manifest: __DocumentType | undefined;
175
+ arn?: string;
176
+ status?: LandingZoneStatus;
177
+ latestAvailableVersion?: string;
178
+ driftStatus?: LandingZoneDriftStatusSummary;
179
+ }
180
+ export interface GetLandingZoneOutput {
181
+ landingZone: LandingZoneDetail | undefined;
182
+ }
183
+ export interface GetLandingZoneOperationInput {
184
+ operationIdentifier: string | undefined;
185
+ }
186
+ export declare const LandingZoneOperationType: {
187
+ readonly CREATE: "CREATE";
188
+ readonly DELETE: "DELETE";
189
+ readonly RESET: "RESET";
190
+ readonly UPDATE: "UPDATE";
191
+ };
192
+ export type LandingZoneOperationType =
193
+ (typeof LandingZoneOperationType)[keyof typeof LandingZoneOperationType];
194
+ export declare const LandingZoneOperationStatus: {
195
+ readonly FAILED: "FAILED";
196
+ readonly IN_PROGRESS: "IN_PROGRESS";
197
+ readonly SUCCEEDED: "SUCCEEDED";
198
+ };
199
+ export type LandingZoneOperationStatus =
200
+ (typeof LandingZoneOperationStatus)[keyof typeof LandingZoneOperationStatus];
201
+ export interface LandingZoneOperationDetail {
202
+ operationType?: LandingZoneOperationType;
203
+ startTime?: Date;
204
+ endTime?: Date;
205
+ status?: LandingZoneOperationStatus;
206
+ statusMessage?: string;
207
+ }
208
+ export interface GetLandingZoneOperationOutput {
209
+ operationDetails: LandingZoneOperationDetail | undefined;
210
+ }
211
+ export interface ListLandingZonesInput {
212
+ nextToken?: string;
213
+ maxResults?: number;
214
+ }
215
+ export interface LandingZoneSummary {
216
+ arn?: string;
217
+ }
218
+ export interface ListLandingZonesOutput {
219
+ landingZones: LandingZoneSummary[] | undefined;
220
+ nextToken?: string;
221
+ }
222
+ export interface ResetLandingZoneInput {
223
+ landingZoneIdentifier: string | undefined;
224
+ }
225
+ export interface ResetLandingZoneOutput {
226
+ operationIdentifier: string | undefined;
227
+ }
228
+ export interface UpdateLandingZoneInput {
229
+ version: string | undefined;
230
+ manifest: __DocumentType | undefined;
231
+ landingZoneIdentifier: string | undefined;
232
+ }
233
+ export interface UpdateLandingZoneOutput {
234
+ operationIdentifier: string | undefined;
235
+ }
137
236
  export interface ListEnabledControlsInput {
138
237
  targetIdentifier: string | undefined;
139
238
  nextToken?: string;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListLandingZonesCommandInput,
4
+ ListLandingZonesCommandOutput,
5
+ } from "../commands/ListLandingZonesCommand";
6
+ import { ControlTowerPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListLandingZones(
8
+ config: ControlTowerPaginationConfiguration,
9
+ input: ListLandingZonesCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListLandingZonesCommandOutput>;
@@ -1,2 +1,3 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListEnabledControlsPaginator";
3
+ export * from "./ListLandingZonesPaginator";
@@ -3,6 +3,14 @@ import {
3
3
  HttpResponse as __HttpResponse,
4
4
  } from "@smithy/protocol-http";
5
5
  import { SerdeContext as __SerdeContext } from "@smithy/types";
6
+ import {
7
+ CreateLandingZoneCommandInput,
8
+ CreateLandingZoneCommandOutput,
9
+ } from "../commands/CreateLandingZoneCommand";
10
+ import {
11
+ DeleteLandingZoneCommandInput,
12
+ DeleteLandingZoneCommandOutput,
13
+ } from "../commands/DeleteLandingZoneCommand";
6
14
  import {
7
15
  DisableControlCommandInput,
8
16
  DisableControlCommandOutput,
@@ -19,14 +27,30 @@ import {
19
27
  GetEnabledControlCommandInput,
20
28
  GetEnabledControlCommandOutput,
21
29
  } from "../commands/GetEnabledControlCommand";
30
+ import {
31
+ GetLandingZoneCommandInput,
32
+ GetLandingZoneCommandOutput,
33
+ } from "../commands/GetLandingZoneCommand";
34
+ import {
35
+ GetLandingZoneOperationCommandInput,
36
+ GetLandingZoneOperationCommandOutput,
37
+ } from "../commands/GetLandingZoneOperationCommand";
22
38
  import {
23
39
  ListEnabledControlsCommandInput,
24
40
  ListEnabledControlsCommandOutput,
25
41
  } from "../commands/ListEnabledControlsCommand";
42
+ import {
43
+ ListLandingZonesCommandInput,
44
+ ListLandingZonesCommandOutput,
45
+ } from "../commands/ListLandingZonesCommand";
26
46
  import {
27
47
  ListTagsForResourceCommandInput,
28
48
  ListTagsForResourceCommandOutput,
29
49
  } from "../commands/ListTagsForResourceCommand";
50
+ import {
51
+ ResetLandingZoneCommandInput,
52
+ ResetLandingZoneCommandOutput,
53
+ } from "../commands/ResetLandingZoneCommand";
30
54
  import {
31
55
  TagResourceCommandInput,
32
56
  TagResourceCommandOutput,
@@ -35,6 +59,18 @@ import {
35
59
  UntagResourceCommandInput,
36
60
  UntagResourceCommandOutput,
37
61
  } from "../commands/UntagResourceCommand";
62
+ import {
63
+ UpdateLandingZoneCommandInput,
64
+ UpdateLandingZoneCommandOutput,
65
+ } from "../commands/UpdateLandingZoneCommand";
66
+ export declare const se_CreateLandingZoneCommand: (
67
+ input: CreateLandingZoneCommandInput,
68
+ context: __SerdeContext
69
+ ) => Promise<__HttpRequest>;
70
+ export declare const se_DeleteLandingZoneCommand: (
71
+ input: DeleteLandingZoneCommandInput,
72
+ context: __SerdeContext
73
+ ) => Promise<__HttpRequest>;
38
74
  export declare const se_DisableControlCommand: (
39
75
  input: DisableControlCommandInput,
40
76
  context: __SerdeContext
@@ -51,14 +87,30 @@ export declare const se_GetEnabledControlCommand: (
51
87
  input: GetEnabledControlCommandInput,
52
88
  context: __SerdeContext
53
89
  ) => Promise<__HttpRequest>;
90
+ export declare const se_GetLandingZoneCommand: (
91
+ input: GetLandingZoneCommandInput,
92
+ context: __SerdeContext
93
+ ) => Promise<__HttpRequest>;
94
+ export declare const se_GetLandingZoneOperationCommand: (
95
+ input: GetLandingZoneOperationCommandInput,
96
+ context: __SerdeContext
97
+ ) => Promise<__HttpRequest>;
54
98
  export declare const se_ListEnabledControlsCommand: (
55
99
  input: ListEnabledControlsCommandInput,
56
100
  context: __SerdeContext
57
101
  ) => Promise<__HttpRequest>;
102
+ export declare const se_ListLandingZonesCommand: (
103
+ input: ListLandingZonesCommandInput,
104
+ context: __SerdeContext
105
+ ) => Promise<__HttpRequest>;
58
106
  export declare const se_ListTagsForResourceCommand: (
59
107
  input: ListTagsForResourceCommandInput,
60
108
  context: __SerdeContext
61
109
  ) => Promise<__HttpRequest>;
110
+ export declare const se_ResetLandingZoneCommand: (
111
+ input: ResetLandingZoneCommandInput,
112
+ context: __SerdeContext
113
+ ) => Promise<__HttpRequest>;
62
114
  export declare const se_TagResourceCommand: (
63
115
  input: TagResourceCommandInput,
64
116
  context: __SerdeContext
@@ -67,6 +119,18 @@ export declare const se_UntagResourceCommand: (
67
119
  input: UntagResourceCommandInput,
68
120
  context: __SerdeContext
69
121
  ) => Promise<__HttpRequest>;
122
+ export declare const se_UpdateLandingZoneCommand: (
123
+ input: UpdateLandingZoneCommandInput,
124
+ context: __SerdeContext
125
+ ) => Promise<__HttpRequest>;
126
+ export declare const de_CreateLandingZoneCommand: (
127
+ output: __HttpResponse,
128
+ context: __SerdeContext
129
+ ) => Promise<CreateLandingZoneCommandOutput>;
130
+ export declare const de_DeleteLandingZoneCommand: (
131
+ output: __HttpResponse,
132
+ context: __SerdeContext
133
+ ) => Promise<DeleteLandingZoneCommandOutput>;
70
134
  export declare const de_DisableControlCommand: (
71
135
  output: __HttpResponse,
72
136
  context: __SerdeContext
@@ -83,14 +147,30 @@ export declare const de_GetEnabledControlCommand: (
83
147
  output: __HttpResponse,
84
148
  context: __SerdeContext
85
149
  ) => Promise<GetEnabledControlCommandOutput>;
150
+ export declare const de_GetLandingZoneCommand: (
151
+ output: __HttpResponse,
152
+ context: __SerdeContext
153
+ ) => Promise<GetLandingZoneCommandOutput>;
154
+ export declare const de_GetLandingZoneOperationCommand: (
155
+ output: __HttpResponse,
156
+ context: __SerdeContext
157
+ ) => Promise<GetLandingZoneOperationCommandOutput>;
86
158
  export declare const de_ListEnabledControlsCommand: (
87
159
  output: __HttpResponse,
88
160
  context: __SerdeContext
89
161
  ) => Promise<ListEnabledControlsCommandOutput>;
162
+ export declare const de_ListLandingZonesCommand: (
163
+ output: __HttpResponse,
164
+ context: __SerdeContext
165
+ ) => Promise<ListLandingZonesCommandOutput>;
90
166
  export declare const de_ListTagsForResourceCommand: (
91
167
  output: __HttpResponse,
92
168
  context: __SerdeContext
93
169
  ) => Promise<ListTagsForResourceCommandOutput>;
170
+ export declare const de_ResetLandingZoneCommand: (
171
+ output: __HttpResponse,
172
+ context: __SerdeContext
173
+ ) => Promise<ResetLandingZoneCommandOutput>;
94
174
  export declare const de_TagResourceCommand: (
95
175
  output: __HttpResponse,
96
176
  context: __SerdeContext
@@ -99,3 +179,7 @@ export declare const de_UntagResourceCommand: (
99
179
  output: __HttpResponse,
100
180
  context: __SerdeContext
101
181
  ) => Promise<UntagResourceCommandOutput>;
182
+ export declare const de_UpdateLandingZoneCommand: (
183
+ output: __HttpResponse,
184
+ context: __SerdeContext
185
+ ) => Promise<UpdateLandingZoneCommandOutput>;
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.451.0",
4
+ "version": "3.458.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.451.0",
24
+ "@aws-sdk/client-sts": "3.458.0",
25
25
  "@aws-sdk/core": "3.451.0",
26
- "@aws-sdk/credential-provider-node": "3.451.0",
26
+ "@aws-sdk/credential-provider-node": "3.458.0",
27
27
  "@aws-sdk/middleware-host-header": "3.451.0",
28
28
  "@aws-sdk/middleware-logger": "3.451.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.451.0",