@aws-sdk/client-controltower 3.458.0 → 3.459.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 (40) hide show
  1. package/README.md +11 -3
  2. package/dist-cjs/ControlTower.js +2 -0
  3. package/dist-cjs/commands/UpdateEnabledControlCommand.js +51 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/models/models_0.js +1 -0
  6. package/dist-cjs/protocols/Aws_restJson1.js +121 -2
  7. package/dist-es/ControlTower.js +2 -0
  8. package/dist-es/commands/UpdateEnabledControlCommand.js +47 -0
  9. package/dist-es/commands/index.js +1 -0
  10. package/dist-es/models/models_0.js +1 -0
  11. package/dist-es/protocols/Aws_restJson1.js +118 -1
  12. package/dist-types/ControlTower.d.ts +10 -3
  13. package/dist-types/ControlTowerClient.d.ts +6 -5
  14. package/dist-types/commands/CreateLandingZoneCommand.d.ts +6 -6
  15. package/dist-types/commands/DeleteLandingZoneCommand.d.ts +7 -7
  16. package/dist-types/commands/DisableControlCommand.d.ts +6 -6
  17. package/dist-types/commands/EnableControlCommand.d.ts +12 -6
  18. package/dist-types/commands/GetControlOperationCommand.d.ts +4 -4
  19. package/dist-types/commands/GetEnabledControlCommand.d.ts +10 -4
  20. package/dist-types/commands/GetLandingZoneCommand.d.ts +5 -5
  21. package/dist-types/commands/GetLandingZoneOperationCommand.d.ts +5 -5
  22. package/dist-types/commands/ListEnabledControlsCommand.d.ts +4 -4
  23. package/dist-types/commands/ListLandingZonesCommand.d.ts +4 -4
  24. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  25. package/dist-types/commands/ResetLandingZoneCommand.d.ts +6 -6
  26. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  27. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  28. package/dist-types/commands/UpdateEnabledControlCommand.d.ts +107 -0
  29. package/dist-types/commands/UpdateLandingZoneCommand.d.ts +7 -7
  30. package/dist-types/commands/index.d.ts +1 -0
  31. package/dist-types/index.d.ts +3 -3
  32. package/dist-types/models/models_0.d.ts +129 -74
  33. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  34. package/dist-types/ts3.4/ControlTower.d.ts +17 -0
  35. package/dist-types/ts3.4/ControlTowerClient.d.ts +6 -0
  36. package/dist-types/ts3.4/commands/UpdateEnabledControlCommand.d.ts +42 -0
  37. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +18 -0
  39. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  40. package/package.json +1 -1
@@ -62,10 +62,15 @@ export declare class ValidationException extends __BaseException {
62
62
  opts: __ExceptionOptionType<ValidationException, __BaseException>
63
63
  );
64
64
  }
65
+ export interface EnabledControlParameter {
66
+ key: string | undefined;
67
+ value: __DocumentType | undefined;
68
+ }
65
69
  export interface EnableControlInput {
66
70
  controlIdentifier: string | undefined;
67
71
  targetIdentifier: string | undefined;
68
72
  tags?: Record<string, string>;
73
+ parameters?: EnabledControlParameter[];
69
74
  }
70
75
  export interface EnableControlOutput {
71
76
  operationIdentifier: string | undefined;
@@ -77,6 +82,7 @@ export interface GetControlOperationInput {
77
82
  export declare const ControlOperationType: {
78
83
  readonly DISABLE_CONTROL: "DISABLE_CONTROL";
79
84
  readonly ENABLE_CONTROL: "ENABLE_CONTROL";
85
+ readonly UPDATE_ENABLED_CONTROL: "UPDATE_ENABLED_CONTROL";
80
86
  };
81
87
  export type ControlOperationType =
82
88
  (typeof ControlOperationType)[keyof typeof ControlOperationType];
@@ -110,6 +116,10 @@ export type DriftStatus = (typeof DriftStatus)[keyof typeof DriftStatus];
110
116
  export interface DriftStatusSummary {
111
117
  driftStatus?: DriftStatus;
112
118
  }
119
+ export interface EnabledControlParameterSummary {
120
+ key: string | undefined;
121
+ value: __DocumentType | undefined;
122
+ }
113
123
  export declare const EnablementStatus: {
114
124
  readonly FAILED: "FAILED";
115
125
  readonly SUCCEEDED: "SUCCEEDED";
@@ -131,6 +141,7 @@ export interface EnabledControlDetails {
131
141
  targetRegions?: Region[];
132
142
  statusSummary?: EnablementStatusSummary;
133
143
  driftStatusSummary?: DriftStatusSummary;
144
+ parameters?: EnabledControlParameterSummary[];
134
145
  }
135
146
  export interface GetEnabledControlOutput {
136
147
  enabledControlDetails: EnabledControlDetails | undefined;
@@ -265,3 +276,10 @@ export interface UntagResourceInput {
265
276
  tagKeys: string[] | undefined;
266
277
  }
267
278
  export interface UntagResourceOutput {}
279
+ export interface UpdateEnabledControlInput {
280
+ parameters: EnabledControlParameter[] | undefined;
281
+ enabledControlIdentifier: string | undefined;
282
+ }
283
+ export interface UpdateEnabledControlOutput {
284
+ operationIdentifier: string | undefined;
285
+ }
@@ -59,6 +59,10 @@ import {
59
59
  UntagResourceCommandInput,
60
60
  UntagResourceCommandOutput,
61
61
  } from "../commands/UntagResourceCommand";
62
+ import {
63
+ UpdateEnabledControlCommandInput,
64
+ UpdateEnabledControlCommandOutput,
65
+ } from "../commands/UpdateEnabledControlCommand";
62
66
  import {
63
67
  UpdateLandingZoneCommandInput,
64
68
  UpdateLandingZoneCommandOutput,
@@ -119,6 +123,10 @@ export declare const se_UntagResourceCommand: (
119
123
  input: UntagResourceCommandInput,
120
124
  context: __SerdeContext
121
125
  ) => Promise<__HttpRequest>;
126
+ export declare const se_UpdateEnabledControlCommand: (
127
+ input: UpdateEnabledControlCommandInput,
128
+ context: __SerdeContext
129
+ ) => Promise<__HttpRequest>;
122
130
  export declare const se_UpdateLandingZoneCommand: (
123
131
  input: UpdateLandingZoneCommandInput,
124
132
  context: __SerdeContext
@@ -179,6 +187,10 @@ export declare const de_UntagResourceCommand: (
179
187
  output: __HttpResponse,
180
188
  context: __SerdeContext
181
189
  ) => Promise<UntagResourceCommandOutput>;
190
+ export declare const de_UpdateEnabledControlCommand: (
191
+ output: __HttpResponse,
192
+ context: __SerdeContext
193
+ ) => Promise<UpdateEnabledControlCommandOutput>;
182
194
  export declare const de_UpdateLandingZoneCommand: (
183
195
  output: __HttpResponse,
184
196
  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.458.0",
4
+ "version": "3.459.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",