@aws-sdk/client-controltower 3.163.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 (84) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +275 -0
  4. package/dist-cjs/ControlTower.js +67 -0
  5. package/dist-cjs/ControlTowerClient.js +37 -0
  6. package/dist-cjs/commands/DisableControlCommand.js +36 -0
  7. package/dist-cjs/commands/EnableControlCommand.js +36 -0
  8. package/dist-cjs/commands/GetControlOperationCommand.js +36 -0
  9. package/dist-cjs/commands/ListEnabledControlsCommand.js +36 -0
  10. package/dist-cjs/commands/index.js +7 -0
  11. package/dist-cjs/endpoints.js +169 -0
  12. package/dist-cjs/index.js +11 -0
  13. package/dist-cjs/models/ControlTowerServiceException.js +11 -0
  14. package/dist-cjs/models/index.js +4 -0
  15. package/dist-cjs/models/models_0.js +153 -0
  16. package/dist-cjs/pagination/Interfaces.js +2 -0
  17. package/dist-cjs/pagination/ListEnabledControlsPaginator.js +36 -0
  18. package/dist-cjs/pagination/index.js +5 -0
  19. package/dist-cjs/protocols/Aws_restJson1.js +468 -0
  20. package/dist-cjs/runtimeConfig.browser.js +45 -0
  21. package/dist-cjs/runtimeConfig.js +52 -0
  22. package/dist-cjs/runtimeConfig.native.js +16 -0
  23. package/dist-cjs/runtimeConfig.shared.js +17 -0
  24. package/dist-es/ControlTower.js +70 -0
  25. package/dist-es/ControlTowerClient.js +39 -0
  26. package/dist-es/commands/DisableControlCommand.js +39 -0
  27. package/dist-es/commands/EnableControlCommand.js +39 -0
  28. package/dist-es/commands/GetControlOperationCommand.js +39 -0
  29. package/dist-es/commands/ListEnabledControlsCommand.js +39 -0
  30. package/dist-es/commands/index.js +4 -0
  31. package/dist-es/endpoints.js +165 -0
  32. package/dist-es/index.js +6 -0
  33. package/dist-es/models/ControlTowerServiceException.js +12 -0
  34. package/dist-es/models/index.js +1 -0
  35. package/dist-es/models/models_0.js +114 -0
  36. package/dist-es/pagination/Interfaces.js +1 -0
  37. package/dist-es/pagination/ListEnabledControlsPaginator.js +75 -0
  38. package/dist-es/pagination/index.js +2 -0
  39. package/dist-es/protocols/Aws_restJson1.js +589 -0
  40. package/dist-es/runtimeConfig.browser.js +26 -0
  41. package/dist-es/runtimeConfig.js +30 -0
  42. package/dist-es/runtimeConfig.native.js +8 -0
  43. package/dist-es/runtimeConfig.shared.js +13 -0
  44. package/dist-types/ControlTower.d.ts +112 -0
  45. package/dist-types/ControlTowerClient.d.ts +218 -0
  46. package/dist-types/commands/DisableControlCommand.d.ts +37 -0
  47. package/dist-types/commands/EnableControlCommand.d.ts +37 -0
  48. package/dist-types/commands/GetControlOperationCommand.d.ts +37 -0
  49. package/dist-types/commands/ListEnabledControlsCommand.d.ts +36 -0
  50. package/dist-types/commands/index.d.ts +4 -0
  51. package/dist-types/endpoints.d.ts +2 -0
  52. package/dist-types/index.d.ts +6 -0
  53. package/dist-types/models/ControlTowerServiceException.d.ts +10 -0
  54. package/dist-types/models/index.d.ts +1 -0
  55. package/dist-types/models/models_0.d.ts +255 -0
  56. package/dist-types/pagination/Interfaces.d.ts +6 -0
  57. package/dist-types/pagination/ListEnabledControlsPaginator.d.ts +4 -0
  58. package/dist-types/pagination/index.d.ts +2 -0
  59. package/dist-types/protocols/Aws_restJson1.d.ts +14 -0
  60. package/dist-types/runtimeConfig.browser.d.ts +40 -0
  61. package/dist-types/runtimeConfig.d.ts +40 -0
  62. package/dist-types/runtimeConfig.native.d.ts +39 -0
  63. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  64. package/dist-types/ts3.4/ControlTower.d.ts +25 -0
  65. package/dist-types/ts3.4/ControlTowerClient.d.ts +77 -0
  66. package/dist-types/ts3.4/commands/DisableControlCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/EnableControlCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/GetControlOperationCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/ListEnabledControlsCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  71. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  72. package/dist-types/ts3.4/index.d.ts +6 -0
  73. package/dist-types/ts3.4/models/ControlTowerServiceException.d.ts +6 -0
  74. package/dist-types/ts3.4/models/index.d.ts +1 -0
  75. package/dist-types/ts3.4/models/models_0.d.ts +150 -0
  76. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  77. package/dist-types/ts3.4/pagination/ListEnabledControlsPaginator.d.ts +4 -0
  78. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  79. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +14 -0
  80. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  81. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  82. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  83. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  84. package/package.json +99 -0
@@ -0,0 +1,255 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ControlTowerServiceException as __BaseException } from "./ControlTowerServiceException";
3
+ /**
4
+ * <p>User does not have sufficient access to perform this action.
5
+ * </p>
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
17
+ */
18
+ export declare class ConflictException extends __BaseException {
19
+ readonly name: "ConflictException";
20
+ readonly $fault: "client";
21
+ /**
22
+ * @internal
23
+ */
24
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
25
+ }
26
+ export interface DisableControlInput {
27
+ /**
28
+ * <p>The ARN of the control. Only <b>Strongly recommended</b> and <b>Elective</b> controls are permitted,
29
+ * with the exception of the <b>Region deny</b> guardrail.</p>
30
+ */
31
+ controlIdentifier: string | undefined;
32
+ /**
33
+ * <p>The ARN of the organizational unit.</p>
34
+ */
35
+ targetIdentifier: string | undefined;
36
+ }
37
+ export interface DisableControlOutput {
38
+ /**
39
+ * <p>The ID of the asynchronous operation, which is used to track status. The operation is
40
+ * available for 90 days.</p>
41
+ */
42
+ operationIdentifier: string | undefined;
43
+ }
44
+ /**
45
+ * <p>Unexpected error during processing of request.</p>
46
+ */
47
+ export declare class InternalServerException extends __BaseException {
48
+ readonly name: "InternalServerException";
49
+ readonly $fault: "server";
50
+ $retryable: {};
51
+ /**
52
+ * @internal
53
+ */
54
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
55
+ }
56
+ /**
57
+ * <p>Request references a resource which does not exist.</p>
58
+ */
59
+ export declare class ResourceNotFoundException extends __BaseException {
60
+ readonly name: "ResourceNotFoundException";
61
+ readonly $fault: "client";
62
+ /**
63
+ * @internal
64
+ */
65
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
66
+ }
67
+ /**
68
+ * <p>Request would cause a service quota to be exceeded. The limit is 10 concurrent operations. </p>
69
+ */
70
+ export declare class ServiceQuotaExceededException extends __BaseException {
71
+ readonly name: "ServiceQuotaExceededException";
72
+ readonly $fault: "client";
73
+ /**
74
+ * @internal
75
+ */
76
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
77
+ }
78
+ /**
79
+ * <p> Request was denied due to request throttling.</p>
80
+ */
81
+ export declare class ThrottlingException extends __BaseException {
82
+ readonly name: "ThrottlingException";
83
+ readonly $fault: "client";
84
+ $retryable: {
85
+ throttling: boolean;
86
+ };
87
+ /**
88
+ * <p>The ID of the service that is associated with the error.</p>
89
+ */
90
+ serviceCode?: string;
91
+ /**
92
+ * <p>The ID of the service quota that was exceeded.</p>
93
+ */
94
+ quotaCode?: string;
95
+ /**
96
+ * <p>The number of seconds the caller should wait before retrying.</p>
97
+ */
98
+ retryAfterSeconds?: number;
99
+ /**
100
+ * @internal
101
+ */
102
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
103
+ }
104
+ /**
105
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
106
+ */
107
+ export declare class ValidationException extends __BaseException {
108
+ readonly name: "ValidationException";
109
+ readonly $fault: "client";
110
+ /**
111
+ * @internal
112
+ */
113
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
114
+ }
115
+ export interface EnableControlInput {
116
+ /**
117
+ * <p>The ARN of the control. Only <b>Strongly recommended</b> and <b>Elective</b> controls are permitted,
118
+ * with the exception of the <b>Region deny</b> guardrail.</p>
119
+ */
120
+ controlIdentifier: string | undefined;
121
+ /**
122
+ * <p>The ARN of the organizational unit.</p>
123
+ */
124
+ targetIdentifier: string | undefined;
125
+ }
126
+ export interface EnableControlOutput {
127
+ /**
128
+ * <p>The ID of the asynchronous operation, which is used to track status. The operation is
129
+ * available for 90 days.</p>
130
+ */
131
+ operationIdentifier: string | undefined;
132
+ }
133
+ export interface GetControlOperationInput {
134
+ /**
135
+ * <p>The ID of the asynchronous operation, which is used to track status. The operation is
136
+ * available for 90 days.</p>
137
+ */
138
+ operationIdentifier: string | undefined;
139
+ }
140
+ export declare enum ControlOperationType {
141
+ DISABLE_CONTROL = "DISABLE_CONTROL",
142
+ ENABLE_CONTROL = "ENABLE_CONTROL"
143
+ }
144
+ export declare enum ControlOperationStatus {
145
+ FAILED = "FAILED",
146
+ IN_PROGRESS = "IN_PROGRESS",
147
+ SUCCEEDED = "SUCCEEDED"
148
+ }
149
+ /**
150
+ * <p>An operation performed by the control.</p>
151
+ */
152
+ export interface ControlOperation {
153
+ /**
154
+ * <p>One of <code>ENABLE_CONTROL</code> or <code>DISABLE_CONTROL</code>.</p>
155
+ */
156
+ operationType?: ControlOperationType | string;
157
+ /**
158
+ * <p>The time that the operation began.</p>
159
+ */
160
+ startTime?: Date;
161
+ /**
162
+ * <p>The time that the operation finished.</p>
163
+ */
164
+ endTime?: Date;
165
+ /**
166
+ * <p>One of <code>IN_PROGRESS</code>, <code>SUCEEDED</code>, or <code>FAILED</code>.</p>
167
+ */
168
+ status?: ControlOperationStatus | string;
169
+ /**
170
+ * <p>If the operation result is <code>FAILED</code>, this string contains a message explaining why the operation failed.</p>
171
+ */
172
+ statusMessage?: string;
173
+ }
174
+ export interface GetControlOperationOutput {
175
+ /**
176
+ * <p/>
177
+ */
178
+ controlOperation: ControlOperation | undefined;
179
+ }
180
+ export interface ListEnabledControlsInput {
181
+ /**
182
+ * <p>The ARN of the organizational unit.</p>
183
+ */
184
+ targetIdentifier: string | undefined;
185
+ /**
186
+ * <p>The token to continue the list from a previous API call with the same parameters.</p>
187
+ */
188
+ nextToken?: string;
189
+ /**
190
+ * <p>How many results to return per API call.</p>
191
+ */
192
+ maxResults?: number;
193
+ }
194
+ /**
195
+ * <p>A summary of enabled controls.</p>
196
+ */
197
+ export interface EnabledControlSummary {
198
+ /**
199
+ * <p>The ARN of the control. Only <b>Strongly recommended</b> and <b>Elective</b> controls are permitted,
200
+ * with the exception of the <b>Region deny</b> guardrail.</p>
201
+ */
202
+ controlIdentifier?: string;
203
+ }
204
+ export interface ListEnabledControlsOutput {
205
+ /**
206
+ * <p>Lists the controls enabled by AWS Control Tower on the specified organizational unit and
207
+ * the accounts it contains.</p>
208
+ */
209
+ enabledControls: EnabledControlSummary[] | undefined;
210
+ /**
211
+ * <p>Retrieves the next page of results. If the string is empty, the current response is the
212
+ * end of the results.</p>
213
+ */
214
+ nextToken?: string;
215
+ }
216
+ /**
217
+ * @internal
218
+ */
219
+ export declare const DisableControlInputFilterSensitiveLog: (obj: DisableControlInput) => any;
220
+ /**
221
+ * @internal
222
+ */
223
+ export declare const DisableControlOutputFilterSensitiveLog: (obj: DisableControlOutput) => any;
224
+ /**
225
+ * @internal
226
+ */
227
+ export declare const EnableControlInputFilterSensitiveLog: (obj: EnableControlInput) => any;
228
+ /**
229
+ * @internal
230
+ */
231
+ export declare const EnableControlOutputFilterSensitiveLog: (obj: EnableControlOutput) => any;
232
+ /**
233
+ * @internal
234
+ */
235
+ export declare const GetControlOperationInputFilterSensitiveLog: (obj: GetControlOperationInput) => any;
236
+ /**
237
+ * @internal
238
+ */
239
+ export declare const ControlOperationFilterSensitiveLog: (obj: ControlOperation) => any;
240
+ /**
241
+ * @internal
242
+ */
243
+ export declare const GetControlOperationOutputFilterSensitiveLog: (obj: GetControlOperationOutput) => any;
244
+ /**
245
+ * @internal
246
+ */
247
+ export declare const ListEnabledControlsInputFilterSensitiveLog: (obj: ListEnabledControlsInput) => any;
248
+ /**
249
+ * @internal
250
+ */
251
+ export declare const EnabledControlSummaryFilterSensitiveLog: (obj: EnabledControlSummary) => any;
252
+ /**
253
+ * @internal
254
+ */
255
+ export declare const ListEnabledControlsOutputFilterSensitiveLog: (obj: ListEnabledControlsOutput) => any;
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
2
+ import { ControlTower } from "../ControlTower";
3
+ import { ControlTowerClient } from "../ControlTowerClient";
4
+ export interface ControlTowerPaginationConfiguration extends PaginationConfiguration {
5
+ client: ControlTower | ControlTowerClient;
6
+ }
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListEnabledControlsCommandInput, ListEnabledControlsCommandOutput } from "../commands/ListEnabledControlsCommand";
3
+ import { ControlTowerPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListEnabledControls(config: ControlTowerPaginationConfiguration, input: ListEnabledControlsCommandInput, ...additionalArguments: any): Paginator<ListEnabledControlsCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListEnabledControlsPaginator";
@@ -0,0 +1,14 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
+ import { DisableControlCommandInput, DisableControlCommandOutput } from "../commands/DisableControlCommand";
4
+ import { EnableControlCommandInput, EnableControlCommandOutput } from "../commands/EnableControlCommand";
5
+ import { GetControlOperationCommandInput, GetControlOperationCommandOutput } from "../commands/GetControlOperationCommand";
6
+ import { ListEnabledControlsCommandInput, ListEnabledControlsCommandOutput } from "../commands/ListEnabledControlsCommand";
7
+ export declare const serializeAws_restJson1DisableControlCommand: (input: DisableControlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
8
+ export declare const serializeAws_restJson1EnableControlCommand: (input: EnableControlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
9
+ export declare const serializeAws_restJson1GetControlOperationCommand: (input: GetControlOperationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
10
+ export declare const serializeAws_restJson1ListEnabledControlsCommand: (input: ListEnabledControlsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
11
+ export declare const deserializeAws_restJson1DisableControlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisableControlCommandOutput>;
12
+ export declare const deserializeAws_restJson1EnableControlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<EnableControlCommandOutput>;
13
+ export declare const deserializeAws_restJson1GetControlOperationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetControlOperationCommandOutput>;
14
+ export declare const deserializeAws_restJson1ListEnabledControlsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListEnabledControlsCommandOutput>;
@@ -0,0 +1,40 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
+ import { ControlTowerClientConfig } from "./ControlTowerClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: ControlTowerClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
+ base64Decoder: import("@aws-sdk/types").Decoder;
10
+ base64Encoder: import("@aws-sdk/types").Encoder;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
15
+ region: string | import("@aws-sdk/types").Provider<any>;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
17
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
18
+ sha256: import("@aws-sdk/types").HashConstructor;
19
+ streamCollector: import("@aws-sdk/types").StreamCollector;
20
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
+ utf8Decoder: import("@aws-sdk/types").Decoder;
23
+ utf8Encoder: import("@aws-sdk/types").Encoder;
24
+ apiVersion: string;
25
+ urlParser: import("@aws-sdk/types").UrlParser;
26
+ disableHostPrefix: boolean;
27
+ logger: import("@aws-sdk/types").Logger;
28
+ serviceId: string;
29
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
30
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
31
+ tls?: boolean | undefined;
32
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
34
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
35
+ signingEscapePath?: boolean | undefined;
36
+ systemClockOffset?: number | undefined;
37
+ signingRegion?: string | undefined;
38
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
39
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
40
+ };
@@ -0,0 +1,40 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
+ import { ControlTowerClientConfig } from "./ControlTowerClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: ControlTowerClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
+ base64Decoder: import("@aws-sdk/types").Decoder;
10
+ base64Encoder: import("@aws-sdk/types").Encoder;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
15
+ region: string | import("@aws-sdk/types").Provider<string>;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
17
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
18
+ sha256: import("@aws-sdk/types").HashConstructor;
19
+ streamCollector: import("@aws-sdk/types").StreamCollector;
20
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
+ utf8Decoder: import("@aws-sdk/types").Decoder;
23
+ utf8Encoder: import("@aws-sdk/types").Encoder;
24
+ apiVersion: string;
25
+ urlParser: import("@aws-sdk/types").UrlParser;
26
+ disableHostPrefix: boolean;
27
+ logger: import("@aws-sdk/types").Logger;
28
+ serviceId: string;
29
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
30
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
31
+ tls?: boolean | undefined;
32
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
34
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
35
+ signingEscapePath?: boolean | undefined;
36
+ systemClockOffset?: number | undefined;
37
+ signingRegion?: string | undefined;
38
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
39
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
40
+ };
@@ -0,0 +1,39 @@
1
+ import { ControlTowerClientConfig } from "./ControlTowerClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: ControlTowerClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@aws-sdk/types").HashConstructor;
8
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
+ apiVersion: string;
10
+ urlParser: import("@aws-sdk/types").UrlParser;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
+ streamCollector: import("@aws-sdk/types").StreamCollector;
13
+ base64Decoder: import("@aws-sdk/types").Decoder;
14
+ base64Encoder: import("@aws-sdk/types").Encoder;
15
+ utf8Decoder: import("@aws-sdk/types").Decoder;
16
+ utf8Encoder: import("@aws-sdk/types").Encoder;
17
+ disableHostPrefix: boolean;
18
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
19
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
20
+ logger: import("@aws-sdk/types").Logger;
21
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
+ serviceId: string;
24
+ region: string | import("@aws-sdk/types").Provider<any>;
25
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
30
+ tls?: boolean | undefined;
31
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
32
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
33
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
34
+ signingEscapePath?: boolean | undefined;
35
+ systemClockOffset?: number | undefined;
36
+ signingRegion?: string | undefined;
37
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
38
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
39
+ };
@@ -0,0 +1,13 @@
1
+ import { Logger as __Logger } from "@aws-sdk/types";
2
+ import { ControlTowerClientConfig } from "./ControlTowerClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: ControlTowerClientConfig) => {
7
+ apiVersion: string;
8
+ disableHostPrefix: boolean;
9
+ logger: __Logger;
10
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
11
+ serviceId: string;
12
+ urlParser: import("@aws-sdk/types").UrlParser;
13
+ };
@@ -0,0 +1,25 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { DisableControlCommandInput, DisableControlCommandOutput } from "./commands/DisableControlCommand";
3
+ import { EnableControlCommandInput, EnableControlCommandOutput } from "./commands/EnableControlCommand";
4
+ import { GetControlOperationCommandInput, GetControlOperationCommandOutput } from "./commands/GetControlOperationCommand";
5
+ import { ListEnabledControlsCommandInput, ListEnabledControlsCommandOutput } from "./commands/ListEnabledControlsCommand";
6
+ import { ControlTowerClient } from "./ControlTowerClient";
7
+
8
+ export declare class ControlTower extends ControlTowerClient {
9
+
10
+ disableControl(args: DisableControlCommandInput, options?: __HttpHandlerOptions): Promise<DisableControlCommandOutput>;
11
+ disableControl(args: DisableControlCommandInput, cb: (err: any, data?: DisableControlCommandOutput) => void): void;
12
+ disableControl(args: DisableControlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableControlCommandOutput) => void): void;
13
+
14
+ enableControl(args: EnableControlCommandInput, options?: __HttpHandlerOptions): Promise<EnableControlCommandOutput>;
15
+ enableControl(args: EnableControlCommandInput, cb: (err: any, data?: EnableControlCommandOutput) => void): void;
16
+ enableControl(args: EnableControlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableControlCommandOutput) => void): void;
17
+
18
+ getControlOperation(args: GetControlOperationCommandInput, options?: __HttpHandlerOptions): Promise<GetControlOperationCommandOutput>;
19
+ getControlOperation(args: GetControlOperationCommandInput, cb: (err: any, data?: GetControlOperationCommandOutput) => void): void;
20
+ getControlOperation(args: GetControlOperationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetControlOperationCommandOutput) => void): void;
21
+
22
+ listEnabledControls(args: ListEnabledControlsCommandInput, options?: __HttpHandlerOptions): Promise<ListEnabledControlsCommandOutput>;
23
+ listEnabledControls(args: ListEnabledControlsCommandInput, cb: (err: any, data?: ListEnabledControlsCommandOutput) => void): void;
24
+ listEnabledControls(args: ListEnabledControlsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEnabledControlsCommandOutput) => void): void;
25
+ }
@@ -0,0 +1,77 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { DisableControlCommandInput, DisableControlCommandOutput } from "./commands/DisableControlCommand";
10
+ import { EnableControlCommandInput, EnableControlCommandOutput } from "./commands/EnableControlCommand";
11
+ import { GetControlOperationCommandInput, GetControlOperationCommandOutput } from "./commands/GetControlOperationCommand";
12
+ import { ListEnabledControlsCommandInput, ListEnabledControlsCommandOutput } from "./commands/ListEnabledControlsCommand";
13
+ export declare type ServiceInputTypes = DisableControlCommandInput | EnableControlCommandInput | GetControlOperationCommandInput | ListEnabledControlsCommandInput;
14
+ export declare type ServiceOutputTypes = DisableControlCommandOutput | EnableControlCommandOutput | GetControlOperationCommandOutput | ListEnabledControlsCommandOutput;
15
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
16
+
17
+ requestHandler?: __HttpHandler;
18
+
19
+ sha256?: __HashConstructor;
20
+
21
+ urlParser?: __UrlParser;
22
+
23
+ bodyLengthChecker?: __BodyLengthCalculator;
24
+
25
+ streamCollector?: __StreamCollector;
26
+
27
+ base64Decoder?: __Decoder;
28
+
29
+ base64Encoder?: __Encoder;
30
+
31
+ utf8Decoder?: __Decoder;
32
+
33
+ utf8Encoder?: __Encoder;
34
+
35
+ runtime?: string;
36
+
37
+ disableHostPrefix?: boolean;
38
+
39
+ maxAttempts?: number | __Provider<number>;
40
+
41
+ retryMode?: string | __Provider<string>;
42
+
43
+ logger?: __Logger;
44
+
45
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
46
+
47
+ useFipsEndpoint?: boolean | __Provider<boolean>;
48
+
49
+ serviceId?: string;
50
+
51
+ region?: string | __Provider<string>;
52
+
53
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
54
+
55
+ regionInfoProvider?: RegionInfoProvider;
56
+
57
+ defaultUserAgentProvider?: Provider<__UserAgent>;
58
+
59
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
60
+ }
61
+ declare type ControlTowerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
62
+
63
+ export interface ControlTowerClientConfig extends ControlTowerClientConfigType {
64
+ }
65
+ declare type ControlTowerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
66
+
67
+ export interface ControlTowerClientResolvedConfig extends ControlTowerClientResolvedConfigType {
68
+ }
69
+
70
+ export declare class ControlTowerClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ControlTowerClientResolvedConfig> {
71
+
72
+ readonly config: ControlTowerClientResolvedConfig;
73
+ constructor(configuration: ControlTowerClientConfig);
74
+
75
+ destroy(): void;
76
+ }
77
+ export {};
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ControlTowerClient";
4
+ import { DisableControlInput, DisableControlOutput } from "../models/models_0";
5
+ export interface DisableControlCommandInput extends DisableControlInput {
6
+ }
7
+ export interface DisableControlCommandOutput extends DisableControlOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DisableControlCommand extends $Command<DisableControlCommandInput, DisableControlCommandOutput, ControlTowerClientResolvedConfig> {
11
+ readonly input: DisableControlCommandInput;
12
+ constructor(input: DisableControlCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ControlTowerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisableControlCommandInput, DisableControlCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ControlTowerClient";
4
+ import { EnableControlInput, EnableControlOutput } from "../models/models_0";
5
+ export interface EnableControlCommandInput extends EnableControlInput {
6
+ }
7
+ export interface EnableControlCommandOutput extends EnableControlOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class EnableControlCommand extends $Command<EnableControlCommandInput, EnableControlCommandOutput, ControlTowerClientResolvedConfig> {
11
+ readonly input: EnableControlCommandInput;
12
+ constructor(input: EnableControlCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ControlTowerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<EnableControlCommandInput, EnableControlCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ControlTowerClient";
4
+ import { GetControlOperationInput, GetControlOperationOutput } from "../models/models_0";
5
+ export interface GetControlOperationCommandInput extends GetControlOperationInput {
6
+ }
7
+ export interface GetControlOperationCommandOutput extends GetControlOperationOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class GetControlOperationCommand extends $Command<GetControlOperationCommandInput, GetControlOperationCommandOutput, ControlTowerClientResolvedConfig> {
11
+ readonly input: GetControlOperationCommandInput;
12
+ constructor(input: GetControlOperationCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ControlTowerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetControlOperationCommandInput, GetControlOperationCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ControlTowerClient";
4
+ import { ListEnabledControlsInput, ListEnabledControlsOutput } from "../models/models_0";
5
+ export interface ListEnabledControlsCommandInput extends ListEnabledControlsInput {
6
+ }
7
+ export interface ListEnabledControlsCommandOutput extends ListEnabledControlsOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListEnabledControlsCommand extends $Command<ListEnabledControlsCommandInput, ListEnabledControlsCommandOutput, ControlTowerClientResolvedConfig> {
11
+ readonly input: ListEnabledControlsCommandInput;
12
+ constructor(input: ListEnabledControlsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ControlTowerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListEnabledControlsCommandInput, ListEnabledControlsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,4 @@
1
+ export * from "./DisableControlCommand";
2
+ export * from "./EnableControlCommand";
3
+ export * from "./GetControlOperationCommand";
4
+ export * from "./ListEnabledControlsCommand";
@@ -0,0 +1,2 @@
1
+ import { RegionInfoProvider } from "@aws-sdk/types";
2
+ export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -0,0 +1,6 @@
1
+ export * from "./ControlTower";
2
+ export * from "./ControlTowerClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export { ControlTowerServiceException } from "./models/ControlTowerServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class ControlTowerServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";