@aws-sdk/client-controlcatalog 3.687.0 → 3.691.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.
|
@@ -94,7 +94,9 @@ const de_GetControlCommand = async (output, context) => {
|
|
|
94
94
|
Arn: smithy_client_1.expectString,
|
|
95
95
|
Behavior: smithy_client_1.expectString,
|
|
96
96
|
Description: smithy_client_1.expectString,
|
|
97
|
+
Implementation: smithy_client_1._json,
|
|
97
98
|
Name: smithy_client_1.expectString,
|
|
99
|
+
Parameters: smithy_client_1._json,
|
|
98
100
|
RegionConfiguration: smithy_client_1._json,
|
|
99
101
|
});
|
|
100
102
|
Object.assign(contents, doc);
|
|
@@ -86,7 +86,9 @@ export const de_GetControlCommand = async (output, context) => {
|
|
|
86
86
|
Arn: __expectString,
|
|
87
87
|
Behavior: __expectString,
|
|
88
88
|
Description: __expectString,
|
|
89
|
+
Implementation: _json,
|
|
89
90
|
Name: __expectString,
|
|
91
|
+
Parameters: _json,
|
|
90
92
|
RegionConfiguration: _json,
|
|
91
93
|
});
|
|
92
94
|
Object.assign(contents, doc);
|
|
@@ -51,6 +51,14 @@ declare const GetControlCommand_base: {
|
|
|
51
51
|
* // "STRING_VALUE",
|
|
52
52
|
* // ],
|
|
53
53
|
* // },
|
|
54
|
+
* // Implementation: { // ImplementationDetails
|
|
55
|
+
* // Type: "STRING_VALUE", // required
|
|
56
|
+
* // },
|
|
57
|
+
* // Parameters: [ // ControlParameters
|
|
58
|
+
* // { // ControlParameter
|
|
59
|
+
* // Name: "STRING_VALUE", // required
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
54
62
|
* // };
|
|
55
63
|
*
|
|
56
64
|
* ```
|
|
@@ -7,7 +7,7 @@ import { ControlCatalogServiceException as __BaseException } from "./ControlCata
|
|
|
7
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
8
|
readonly name: "AccessDeniedException";
|
|
9
9
|
readonly $fault: "client";
|
|
10
|
-
Message?: string;
|
|
10
|
+
Message?: string | undefined;
|
|
11
11
|
/**
|
|
12
12
|
* @internal
|
|
13
13
|
*/
|
|
@@ -22,12 +22,12 @@ export interface AssociatedDomainSummary {
|
|
|
22
22
|
* <p>The Amazon Resource Name (ARN) of the related domain.</p>
|
|
23
23
|
* @public
|
|
24
24
|
*/
|
|
25
|
-
Arn?: string;
|
|
25
|
+
Arn?: string | undefined;
|
|
26
26
|
/**
|
|
27
27
|
* <p>The name of the related domain.</p>
|
|
28
28
|
* @public
|
|
29
29
|
*/
|
|
30
|
-
Name?: string;
|
|
30
|
+
Name?: string | undefined;
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* <p>A summary of the objective that a common control supports.</p>
|
|
@@ -38,12 +38,12 @@ export interface AssociatedObjectiveSummary {
|
|
|
38
38
|
* <p>The Amazon Resource Name (ARN) of the related objective.</p>
|
|
39
39
|
* @public
|
|
40
40
|
*/
|
|
41
|
-
Arn?: string;
|
|
41
|
+
Arn?: string | undefined;
|
|
42
42
|
/**
|
|
43
43
|
* <p>The name of the related objective.</p>
|
|
44
44
|
* @public
|
|
45
45
|
*/
|
|
46
|
-
Name?: string;
|
|
46
|
+
Name?: string | undefined;
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
49
|
* <p>The objective resource that's being used as a filter.</p>
|
|
@@ -54,7 +54,7 @@ export interface ObjectiveResourceFilter {
|
|
|
54
54
|
* <p>The Amazon Resource Name (ARN) of the objective.</p>
|
|
55
55
|
* @public
|
|
56
56
|
*/
|
|
57
|
-
Arn?: string;
|
|
57
|
+
Arn?: string | undefined;
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
60
|
* <p>An optional filter that narrows the results to a specific objective.</p>
|
|
@@ -67,7 +67,7 @@ export interface CommonControlFilter {
|
|
|
67
67
|
* in the <code>CommonControlFilter</code> isn’t currently supported.</p>
|
|
68
68
|
* @public
|
|
69
69
|
*/
|
|
70
|
-
Objectives?: ObjectiveResourceFilter[];
|
|
70
|
+
Objectives?: ObjectiveResourceFilter[] | undefined;
|
|
71
71
|
}
|
|
72
72
|
/**
|
|
73
73
|
* <p>An internal service error occurred during the processing of your request. Try again later.</p>
|
|
@@ -77,7 +77,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
77
77
|
readonly name: "InternalServerException";
|
|
78
78
|
readonly $fault: "server";
|
|
79
79
|
$retryable: {};
|
|
80
|
-
Message?: string;
|
|
80
|
+
Message?: string | undefined;
|
|
81
81
|
/**
|
|
82
82
|
* @internal
|
|
83
83
|
*/
|
|
@@ -91,19 +91,19 @@ export interface ListCommonControlsRequest {
|
|
|
91
91
|
* <p>The maximum number of results on a page or for an API request call.</p>
|
|
92
92
|
* @public
|
|
93
93
|
*/
|
|
94
|
-
MaxResults?: number;
|
|
94
|
+
MaxResults?: number | undefined;
|
|
95
95
|
/**
|
|
96
96
|
* <p>The pagination token that's used to fetch the next set of results.</p>
|
|
97
97
|
* @public
|
|
98
98
|
*/
|
|
99
|
-
NextToken?: string;
|
|
99
|
+
NextToken?: string | undefined;
|
|
100
100
|
/**
|
|
101
101
|
* <p>An optional filter that narrows the results to a specific objective.</p>
|
|
102
102
|
* <p>This filter allows you to specify one objective ARN at a time. Passing multiple ARNs in
|
|
103
103
|
* the <code>CommonControlFilter</code> isn’t currently supported.</p>
|
|
104
104
|
* @public
|
|
105
105
|
*/
|
|
106
|
-
CommonControlFilter?: CommonControlFilter;
|
|
106
|
+
CommonControlFilter?: CommonControlFilter | undefined;
|
|
107
107
|
}
|
|
108
108
|
/**
|
|
109
109
|
* <p>A summary of metadata for a common control.</p>
|
|
@@ -159,7 +159,7 @@ export interface ListCommonControlsResponse {
|
|
|
159
159
|
* <p>The pagination token that's used to fetch the next set of results.</p>
|
|
160
160
|
* @public
|
|
161
161
|
*/
|
|
162
|
-
NextToken?: string;
|
|
162
|
+
NextToken?: string | undefined;
|
|
163
163
|
}
|
|
164
164
|
/**
|
|
165
165
|
* <p>The request was denied due to request throttling.</p>
|
|
@@ -171,7 +171,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
171
171
|
$retryable: {
|
|
172
172
|
throttling: boolean;
|
|
173
173
|
};
|
|
174
|
-
Message?: string;
|
|
174
|
+
Message?: string | undefined;
|
|
175
175
|
/**
|
|
176
176
|
* @internal
|
|
177
177
|
*/
|
|
@@ -184,7 +184,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
184
184
|
export declare class ValidationException extends __BaseException {
|
|
185
185
|
readonly name: "ValidationException";
|
|
186
186
|
readonly $fault: "client";
|
|
187
|
-
Message?: string;
|
|
187
|
+
Message?: string | undefined;
|
|
188
188
|
/**
|
|
189
189
|
* @internal
|
|
190
190
|
*/
|
|
@@ -229,6 +229,92 @@ export interface GetControlRequest {
|
|
|
229
229
|
*/
|
|
230
230
|
ControlArn: string | undefined;
|
|
231
231
|
}
|
|
232
|
+
/**
|
|
233
|
+
* <p>An object that describes the implementation type for a control.</p>
|
|
234
|
+
* <p>Our <code>ImplementationDetails</code>
|
|
235
|
+
* <code>Type</code> format has three required segments:</p>
|
|
236
|
+
* <ul>
|
|
237
|
+
* <li>
|
|
238
|
+
* <p>
|
|
239
|
+
* <code>SERVICE-PROVIDER::SERVICE-NAME::RESOURCE-NAME</code>
|
|
240
|
+
* </p>
|
|
241
|
+
* </li>
|
|
242
|
+
* </ul>
|
|
243
|
+
* <p>For example, <code>AWS::Config::ConfigRule</code>
|
|
244
|
+
* <b>or</b>
|
|
245
|
+
* <code>AWS::SecurityHub::SecurityControl</code> resources have the format with three required segments.</p>
|
|
246
|
+
* <p>Our <code>ImplementationDetails</code>
|
|
247
|
+
* <code>Type</code> format has an optional fourth segment, which is present for applicable
|
|
248
|
+
* implementation types. The format is as follows: </p>
|
|
249
|
+
* <ul>
|
|
250
|
+
* <li>
|
|
251
|
+
* <p>
|
|
252
|
+
* <code>SERVICE-PROVIDER::SERVICE-NAME::RESOURCE-NAME::RESOURCE-TYPE-DESCRIPTION</code>
|
|
253
|
+
* </p>
|
|
254
|
+
* </li>
|
|
255
|
+
* </ul>
|
|
256
|
+
* <p>For example, <code>AWS::Organizations::Policy::SERVICE_CONTROL_POLICY</code>
|
|
257
|
+
* <b>or</b>
|
|
258
|
+
* <code>AWS::CloudFormation::Type::HOOK</code> have the format with four segments.</p>
|
|
259
|
+
* <p>Although the format is similar, the values for the <code>Type</code> field do not match any Amazon Web Services CloudFormation values, and we do not use CloudFormation to implement these controls.</p>
|
|
260
|
+
* @public
|
|
261
|
+
*/
|
|
262
|
+
export interface ImplementationDetails {
|
|
263
|
+
/**
|
|
264
|
+
* <p>A string that describes a control's implementation type.</p>
|
|
265
|
+
* @public
|
|
266
|
+
*/
|
|
267
|
+
Type: string | undefined;
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* <p>Four types of control parameters are supported.</p>
|
|
271
|
+
* <ul>
|
|
272
|
+
* <li>
|
|
273
|
+
* <p>
|
|
274
|
+
* <b>AllowedRegions</b>: List of Amazon Web Services Regions exempted from the
|
|
275
|
+
* control. Each string is expected to be an Amazon Web Services Region code. This parameter is mandatory for the <b>OU Region deny</b> control, <b>CT.MULTISERVICE.PV.1</b>.</p>
|
|
276
|
+
* <p>Example: <code>["us-east-1","us-west-2"]</code>
|
|
277
|
+
* </p>
|
|
278
|
+
* </li>
|
|
279
|
+
* <li>
|
|
280
|
+
* <p>
|
|
281
|
+
* <b>ExemptedActions</b>: List of Amazon Web Services IAM actions exempted
|
|
282
|
+
* from the control. Each string is expected to be an IAM action.</p>
|
|
283
|
+
* <p>Example:
|
|
284
|
+
* <code>["logs:DescribeLogGroups","logs:StartQuery","logs:GetQueryResults"]</code>
|
|
285
|
+
* </p>
|
|
286
|
+
* </li>
|
|
287
|
+
* <li>
|
|
288
|
+
* <p>
|
|
289
|
+
* <b>ExemptedPrincipalArns</b>: List of Amazon Web Services IAM principal ARNs
|
|
290
|
+
* exempted from the control. Each string is expected to be an IAM principal that follows
|
|
291
|
+
* the pattern <code>^arn:(aws|aws-us-gov):(iam|sts)::.+:.+$</code>
|
|
292
|
+
* </p>
|
|
293
|
+
* <p>Example:
|
|
294
|
+
* <code>["arn:aws:iam::*:role/ReadOnly","arn:aws:sts::*:assumed-role/ReadOnly/*"]</code>
|
|
295
|
+
* </p>
|
|
296
|
+
* </li>
|
|
297
|
+
* <li>
|
|
298
|
+
* <p>
|
|
299
|
+
* <b>ExemptedResourceArns</b>: List of resource ARNs exempted
|
|
300
|
+
* from the control. Each string is expected to be a resource ARN.</p>
|
|
301
|
+
* <p>Example: <code>["arn:aws:s3:::my-bucket-name"]</code>
|
|
302
|
+
* </p>
|
|
303
|
+
* </li>
|
|
304
|
+
* </ul>
|
|
305
|
+
* @public
|
|
306
|
+
*/
|
|
307
|
+
export interface ControlParameter {
|
|
308
|
+
/**
|
|
309
|
+
* <p>The parameter name. This name is the parameter <code>key</code> when you call <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_EnableControl.html">
|
|
310
|
+
* <code>EnableControl</code>
|
|
311
|
+
* </a> or <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_UpdateEnabledControl.html">
|
|
312
|
+
* <code>UpdateEnabledControl</code>
|
|
313
|
+
* </a>.</p>
|
|
314
|
+
* @public
|
|
315
|
+
*/
|
|
316
|
+
Name: string | undefined;
|
|
317
|
+
}
|
|
232
318
|
/**
|
|
233
319
|
* @public
|
|
234
320
|
* @enum
|
|
@@ -242,7 +328,7 @@ export declare const ControlScope: {
|
|
|
242
328
|
*/
|
|
243
329
|
export type ControlScope = (typeof ControlScope)[keyof typeof ControlScope];
|
|
244
330
|
/**
|
|
245
|
-
* <p>Returns information about the control, including the scope of the control, if enabled, and the Regions in which the control currently is available for deployment
|
|
331
|
+
* <p>Returns information about the control, including the scope of the control, if enabled, and the Regions in which the control currently is available for deployment. For more information about scope, see <a href="https://docs.aws.amazon.com/whitepapers/latest/aws-fault-isolation-boundaries/global-services.html">Global services</a>.</p>
|
|
246
332
|
* <p>If you are applying controls through an Amazon Web Services Control Tower landing zone environment, remember that the values returned in the <code>RegionConfiguration</code> API operation are not related to the governed Regions in your landing zone. For example, if you are governing Regions <code>A</code>,<code>B</code>,and <code>C</code> while the control is available in Regions <code>A</code>, <code>B</code>, C<code>,</code> and <code>D</code>, you'd see a response with <code>DeployableRegions</code> of <code>A</code>, <code>B</code>, <code>C</code>, and <code>D</code> for a control with <code>REGIONAL</code> scope, even though you may not intend to deploy the control in Region <code>D</code>, because you do not govern it through your landing zone.</p>
|
|
247
333
|
* @public
|
|
248
334
|
*/
|
|
@@ -256,7 +342,7 @@ export interface RegionConfiguration {
|
|
|
256
342
|
* <p>Regions in which the control is available to be deployed.</p>
|
|
257
343
|
* @public
|
|
258
344
|
*/
|
|
259
|
-
DeployableRegions?: string[];
|
|
345
|
+
DeployableRegions?: string[] | undefined;
|
|
260
346
|
}
|
|
261
347
|
/**
|
|
262
348
|
* @public
|
|
@@ -278,17 +364,28 @@ export interface GetControlResponse {
|
|
|
278
364
|
*/
|
|
279
365
|
Description: string | undefined;
|
|
280
366
|
/**
|
|
281
|
-
* <p>A term that identifies the control's functional behavior. One of <code>Preventive</code>, <code>
|
|
367
|
+
* <p>A term that identifies the control's functional behavior. One of <code>Preventive</code>, <code>Detective</code>, <code>Proactive</code>
|
|
282
368
|
* </p>
|
|
283
369
|
* @public
|
|
284
370
|
*/
|
|
285
371
|
Behavior: ControlBehavior | undefined;
|
|
286
372
|
/**
|
|
287
|
-
* <p>Returns information about the control, including the scope of the control, if enabled, and the Regions in which the control currently is available for deployment
|
|
373
|
+
* <p>Returns information about the control, including the scope of the control, if enabled, and the Regions in which the control currently is available for deployment. For more information about scope, see <a href="https://docs.aws.amazon.com/whitepapers/latest/aws-fault-isolation-boundaries/global-services.html">Global services</a>.</p>
|
|
288
374
|
* <p>If you are applying controls through an Amazon Web Services Control Tower landing zone environment, remember that the values returned in the <code>RegionConfiguration</code> API operation are not related to the governed Regions in your landing zone. For example, if you are governing Regions <code>A</code>,<code>B</code>,and <code>C</code> while the control is available in Regions <code>A</code>, <code>B</code>, C<code>,</code> and <code>D</code>, you'd see a response with <code>DeployableRegions</code> of <code>A</code>, <code>B</code>, <code>C</code>, and <code>D</code> for a control with <code>REGIONAL</code> scope, even though you may not intend to deploy the control in Region <code>D</code>, because you do not govern it through your landing zone.</p>
|
|
289
375
|
* @public
|
|
290
376
|
*/
|
|
291
377
|
RegionConfiguration: RegionConfiguration | undefined;
|
|
378
|
+
/**
|
|
379
|
+
* <p>Returns information about the control, as an <code>ImplementationDetails</code> object that shows the underlying implementation type for a control.</p>
|
|
380
|
+
* @public
|
|
381
|
+
*/
|
|
382
|
+
Implementation?: ImplementationDetails | undefined;
|
|
383
|
+
/**
|
|
384
|
+
* <p>Returns an array of <code>ControlParameter</code> objects that specify the parameters a control supports. An empty list is returned for controls that don’t support parameters.
|
|
385
|
+
* </p>
|
|
386
|
+
* @public
|
|
387
|
+
*/
|
|
388
|
+
Parameters?: ControlParameter[] | undefined;
|
|
292
389
|
}
|
|
293
390
|
/**
|
|
294
391
|
* <p>The requested resource does not exist.</p>
|
|
@@ -297,7 +394,7 @@ export interface GetControlResponse {
|
|
|
297
394
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
298
395
|
readonly name: "ResourceNotFoundException";
|
|
299
396
|
readonly $fault: "client";
|
|
300
|
-
Message?: string;
|
|
397
|
+
Message?: string | undefined;
|
|
301
398
|
/**
|
|
302
399
|
* @internal
|
|
303
400
|
*/
|
|
@@ -311,12 +408,12 @@ export interface ListControlsRequest {
|
|
|
311
408
|
* <p>The pagination token that's used to fetch the next set of results.</p>
|
|
312
409
|
* @public
|
|
313
410
|
*/
|
|
314
|
-
NextToken?: string;
|
|
411
|
+
NextToken?: string | undefined;
|
|
315
412
|
/**
|
|
316
413
|
* <p>The maximum number of results on a page or for an API request call.</p>
|
|
317
414
|
* @public
|
|
318
415
|
*/
|
|
319
|
-
MaxResults?: number;
|
|
416
|
+
MaxResults?: number | undefined;
|
|
320
417
|
}
|
|
321
418
|
/**
|
|
322
419
|
* <p>Overview of information about a control.</p>
|
|
@@ -352,7 +449,7 @@ export interface ListControlsResponse {
|
|
|
352
449
|
* <p>The pagination token that's used to fetch the next set of results.</p>
|
|
353
450
|
* @public
|
|
354
451
|
*/
|
|
355
|
-
NextToken?: string;
|
|
452
|
+
NextToken?: string | undefined;
|
|
356
453
|
}
|
|
357
454
|
/**
|
|
358
455
|
* @public
|
|
@@ -362,12 +459,12 @@ export interface ListDomainsRequest {
|
|
|
362
459
|
* <p>The maximum number of results on a page or for an API request call.</p>
|
|
363
460
|
* @public
|
|
364
461
|
*/
|
|
365
|
-
MaxResults?: number;
|
|
462
|
+
MaxResults?: number | undefined;
|
|
366
463
|
/**
|
|
367
464
|
* <p>The pagination token that's used to fetch the next set of results.</p>
|
|
368
465
|
* @public
|
|
369
466
|
*/
|
|
370
|
-
NextToken?: string;
|
|
467
|
+
NextToken?: string | undefined;
|
|
371
468
|
}
|
|
372
469
|
/**
|
|
373
470
|
* <p>A summary of metadata for a domain.</p>
|
|
@@ -413,7 +510,7 @@ export interface ListDomainsResponse {
|
|
|
413
510
|
* <p>The pagination token that's used to fetch the next set of results.</p>
|
|
414
511
|
* @public
|
|
415
512
|
*/
|
|
416
|
-
NextToken?: string;
|
|
513
|
+
NextToken?: string | undefined;
|
|
417
514
|
}
|
|
418
515
|
/**
|
|
419
516
|
* <p>The domain resource that's being used as a filter.</p>
|
|
@@ -424,7 +521,7 @@ export interface DomainResourceFilter {
|
|
|
424
521
|
* <p>The Amazon Resource Name (ARN) of the domain.</p>
|
|
425
522
|
* @public
|
|
426
523
|
*/
|
|
427
|
-
Arn?: string;
|
|
524
|
+
Arn?: string | undefined;
|
|
428
525
|
}
|
|
429
526
|
/**
|
|
430
527
|
* <p>An optional filter that narrows the list of objectives to a specific domain.</p>
|
|
@@ -437,7 +534,7 @@ export interface ObjectiveFilter {
|
|
|
437
534
|
* the <code>ObjectiveFilter</code> isn’t currently supported.</p>
|
|
438
535
|
* @public
|
|
439
536
|
*/
|
|
440
|
-
Domains?: DomainResourceFilter[];
|
|
537
|
+
Domains?: DomainResourceFilter[] | undefined;
|
|
441
538
|
}
|
|
442
539
|
/**
|
|
443
540
|
* @public
|
|
@@ -447,19 +544,19 @@ export interface ListObjectivesRequest {
|
|
|
447
544
|
* <p>The maximum number of results on a page or for an API request call.</p>
|
|
448
545
|
* @public
|
|
449
546
|
*/
|
|
450
|
-
MaxResults?: number;
|
|
547
|
+
MaxResults?: number | undefined;
|
|
451
548
|
/**
|
|
452
549
|
* <p>The pagination token that's used to fetch the next set of results.</p>
|
|
453
550
|
* @public
|
|
454
551
|
*/
|
|
455
|
-
NextToken?: string;
|
|
552
|
+
NextToken?: string | undefined;
|
|
456
553
|
/**
|
|
457
554
|
* <p>An optional filter that narrows the results to a specific domain.</p>
|
|
458
555
|
* <p>This filter allows you to specify one domain ARN at a time.
|
|
459
556
|
* Passing multiple ARNs in the <code>ObjectiveFilter</code> isn’t currently supported.</p>
|
|
460
557
|
* @public
|
|
461
558
|
*/
|
|
462
|
-
ObjectiveFilter?: ObjectiveFilter;
|
|
559
|
+
ObjectiveFilter?: ObjectiveFilter | undefined;
|
|
463
560
|
}
|
|
464
561
|
/**
|
|
465
562
|
* <p>A summary of metadata for an objective.</p>
|
|
@@ -510,5 +607,5 @@ export interface ListObjectivesResponse {
|
|
|
510
607
|
* <p>The pagination token that's used to fetch the next set of results.</p>
|
|
511
608
|
* @public
|
|
512
609
|
*/
|
|
513
|
-
NextToken?: string;
|
|
610
|
+
NextToken?: string | undefined;
|
|
514
611
|
}
|
|
@@ -3,38 +3,38 @@ import { ControlCatalogServiceException as __BaseException } from "./ControlCata
|
|
|
3
3
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
4
|
readonly name: "AccessDeniedException";
|
|
5
5
|
readonly $fault: "client";
|
|
6
|
-
Message?: string;
|
|
6
|
+
Message?: string | undefined;
|
|
7
7
|
constructor(
|
|
8
8
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
11
|
export interface AssociatedDomainSummary {
|
|
12
|
-
Arn?: string;
|
|
13
|
-
Name?: string;
|
|
12
|
+
Arn?: string | undefined;
|
|
13
|
+
Name?: string | undefined;
|
|
14
14
|
}
|
|
15
15
|
export interface AssociatedObjectiveSummary {
|
|
16
|
-
Arn?: string;
|
|
17
|
-
Name?: string;
|
|
16
|
+
Arn?: string | undefined;
|
|
17
|
+
Name?: string | undefined;
|
|
18
18
|
}
|
|
19
19
|
export interface ObjectiveResourceFilter {
|
|
20
|
-
Arn?: string;
|
|
20
|
+
Arn?: string | undefined;
|
|
21
21
|
}
|
|
22
22
|
export interface CommonControlFilter {
|
|
23
|
-
Objectives?: ObjectiveResourceFilter[];
|
|
23
|
+
Objectives?: ObjectiveResourceFilter[] | undefined;
|
|
24
24
|
}
|
|
25
25
|
export declare class InternalServerException extends __BaseException {
|
|
26
26
|
readonly name: "InternalServerException";
|
|
27
27
|
readonly $fault: "server";
|
|
28
28
|
$retryable: {};
|
|
29
|
-
Message?: string;
|
|
29
|
+
Message?: string | undefined;
|
|
30
30
|
constructor(
|
|
31
31
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
32
32
|
);
|
|
33
33
|
}
|
|
34
34
|
export interface ListCommonControlsRequest {
|
|
35
|
-
MaxResults?: number;
|
|
36
|
-
NextToken?: string;
|
|
37
|
-
CommonControlFilter?: CommonControlFilter;
|
|
35
|
+
MaxResults?: number | undefined;
|
|
36
|
+
NextToken?: string | undefined;
|
|
37
|
+
CommonControlFilter?: CommonControlFilter | undefined;
|
|
38
38
|
}
|
|
39
39
|
export interface CommonControlSummary {
|
|
40
40
|
Arn: string | undefined;
|
|
@@ -47,7 +47,7 @@ export interface CommonControlSummary {
|
|
|
47
47
|
}
|
|
48
48
|
export interface ListCommonControlsResponse {
|
|
49
49
|
CommonControls: CommonControlSummary[] | undefined;
|
|
50
|
-
NextToken?: string;
|
|
50
|
+
NextToken?: string | undefined;
|
|
51
51
|
}
|
|
52
52
|
export declare class ThrottlingException extends __BaseException {
|
|
53
53
|
readonly name: "ThrottlingException";
|
|
@@ -55,7 +55,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
55
55
|
$retryable: {
|
|
56
56
|
throttling: boolean;
|
|
57
57
|
};
|
|
58
|
-
Message?: string;
|
|
58
|
+
Message?: string | undefined;
|
|
59
59
|
constructor(
|
|
60
60
|
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
61
61
|
);
|
|
@@ -63,7 +63,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
63
63
|
export declare class ValidationException extends __BaseException {
|
|
64
64
|
readonly name: "ValidationException";
|
|
65
65
|
readonly $fault: "client";
|
|
66
|
-
Message?: string;
|
|
66
|
+
Message?: string | undefined;
|
|
67
67
|
constructor(
|
|
68
68
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
69
69
|
);
|
|
@@ -78,6 +78,12 @@ export type ControlBehavior =
|
|
|
78
78
|
export interface GetControlRequest {
|
|
79
79
|
ControlArn: string | undefined;
|
|
80
80
|
}
|
|
81
|
+
export interface ImplementationDetails {
|
|
82
|
+
Type: string | undefined;
|
|
83
|
+
}
|
|
84
|
+
export interface ControlParameter {
|
|
85
|
+
Name: string | undefined;
|
|
86
|
+
}
|
|
81
87
|
export declare const ControlScope: {
|
|
82
88
|
readonly GLOBAL: "GLOBAL";
|
|
83
89
|
readonly REGIONAL: "REGIONAL";
|
|
@@ -85,7 +91,7 @@ export declare const ControlScope: {
|
|
|
85
91
|
export type ControlScope = (typeof ControlScope)[keyof typeof ControlScope];
|
|
86
92
|
export interface RegionConfiguration {
|
|
87
93
|
Scope: ControlScope | undefined;
|
|
88
|
-
DeployableRegions?: string[];
|
|
94
|
+
DeployableRegions?: string[] | undefined;
|
|
89
95
|
}
|
|
90
96
|
export interface GetControlResponse {
|
|
91
97
|
Arn: string | undefined;
|
|
@@ -93,18 +99,20 @@ export interface GetControlResponse {
|
|
|
93
99
|
Description: string | undefined;
|
|
94
100
|
Behavior: ControlBehavior | undefined;
|
|
95
101
|
RegionConfiguration: RegionConfiguration | undefined;
|
|
102
|
+
Implementation?: ImplementationDetails | undefined;
|
|
103
|
+
Parameters?: ControlParameter[] | undefined;
|
|
96
104
|
}
|
|
97
105
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
98
106
|
readonly name: "ResourceNotFoundException";
|
|
99
107
|
readonly $fault: "client";
|
|
100
|
-
Message?: string;
|
|
108
|
+
Message?: string | undefined;
|
|
101
109
|
constructor(
|
|
102
110
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
103
111
|
);
|
|
104
112
|
}
|
|
105
113
|
export interface ListControlsRequest {
|
|
106
|
-
NextToken?: string;
|
|
107
|
-
MaxResults?: number;
|
|
114
|
+
NextToken?: string | undefined;
|
|
115
|
+
MaxResults?: number | undefined;
|
|
108
116
|
}
|
|
109
117
|
export interface ControlSummary {
|
|
110
118
|
Arn: string | undefined;
|
|
@@ -113,11 +121,11 @@ export interface ControlSummary {
|
|
|
113
121
|
}
|
|
114
122
|
export interface ListControlsResponse {
|
|
115
123
|
Controls: ControlSummary[] | undefined;
|
|
116
|
-
NextToken?: string;
|
|
124
|
+
NextToken?: string | undefined;
|
|
117
125
|
}
|
|
118
126
|
export interface ListDomainsRequest {
|
|
119
|
-
MaxResults?: number;
|
|
120
|
-
NextToken?: string;
|
|
127
|
+
MaxResults?: number | undefined;
|
|
128
|
+
NextToken?: string | undefined;
|
|
121
129
|
}
|
|
122
130
|
export interface DomainSummary {
|
|
123
131
|
Arn: string | undefined;
|
|
@@ -128,18 +136,18 @@ export interface DomainSummary {
|
|
|
128
136
|
}
|
|
129
137
|
export interface ListDomainsResponse {
|
|
130
138
|
Domains: DomainSummary[] | undefined;
|
|
131
|
-
NextToken?: string;
|
|
139
|
+
NextToken?: string | undefined;
|
|
132
140
|
}
|
|
133
141
|
export interface DomainResourceFilter {
|
|
134
|
-
Arn?: string;
|
|
142
|
+
Arn?: string | undefined;
|
|
135
143
|
}
|
|
136
144
|
export interface ObjectiveFilter {
|
|
137
|
-
Domains?: DomainResourceFilter[];
|
|
145
|
+
Domains?: DomainResourceFilter[] | undefined;
|
|
138
146
|
}
|
|
139
147
|
export interface ListObjectivesRequest {
|
|
140
|
-
MaxResults?: number;
|
|
141
|
-
NextToken?: string;
|
|
142
|
-
ObjectiveFilter?: ObjectiveFilter;
|
|
148
|
+
MaxResults?: number | undefined;
|
|
149
|
+
NextToken?: string | undefined;
|
|
150
|
+
ObjectiveFilter?: ObjectiveFilter | undefined;
|
|
143
151
|
}
|
|
144
152
|
export interface ObjectiveSummary {
|
|
145
153
|
Arn: string | undefined;
|
|
@@ -151,5 +159,5 @@ export interface ObjectiveSummary {
|
|
|
151
159
|
}
|
|
152
160
|
export interface ListObjectivesResponse {
|
|
153
161
|
Objectives: ObjectiveSummary[] | undefined;
|
|
154
|
-
NextToken?: string;
|
|
162
|
+
NextToken?: string | undefined;
|
|
155
163
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-controlcatalog",
|
|
3
3
|
"description": "AWS SDK for JavaScript Controlcatalog Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.691.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",
|
|
@@ -20,19 +20,19 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.691.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.691.0",
|
|
25
|
+
"@aws-sdk/core": "3.691.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.691.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.691.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
32
|
"@aws-sdk/types": "3.686.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.691.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.10",
|
|
37
37
|
"@smithy/core": "^2.5.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.0.0",
|