@aws-sdk/client-controlcatalog 3.1055.0 → 3.1057.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.
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/schemas/schemas_0.js +13 -8
- package/dist-es/models/enums.js +9 -0
- package/dist-es/schemas/schemas_0.js +13 -8
- package/dist-types/commands/GetControlCommand.d.ts +5 -0
- package/dist-types/commands/ListControlsCommand.d.ts +7 -0
- package/dist-types/models/enums.d.ts +25 -0
- package/dist-types/models/models_0.d.ts +33 -3
- package/dist-types/ts3.4/models/enums.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -214,6 +214,15 @@ const ControlBehavior = {
|
|
|
214
214
|
PREVENTIVE: "PREVENTIVE",
|
|
215
215
|
PROACTIVE: "PROACTIVE",
|
|
216
216
|
};
|
|
217
|
+
const ParameterRequirementSummary = {
|
|
218
|
+
NONE: "NONE",
|
|
219
|
+
OPTIONAL: "OPTIONAL",
|
|
220
|
+
REQUIRED: "REQUIRED",
|
|
221
|
+
};
|
|
222
|
+
const ControlParameterRequirement = {
|
|
223
|
+
OPTIONAL: "OPTIONAL",
|
|
224
|
+
REQUIRED: "REQUIRED",
|
|
225
|
+
};
|
|
217
226
|
const ControlScope = {
|
|
218
227
|
GLOBAL: "GLOBAL",
|
|
219
228
|
REGIONAL: "REGIONAL",
|
|
@@ -241,6 +250,7 @@ exports.ControlCatalogServiceException = ControlCatalogServiceException.ControlC
|
|
|
241
250
|
exports.ControlBehavior = ControlBehavior;
|
|
242
251
|
exports.ControlCatalog = ControlCatalog;
|
|
243
252
|
exports.ControlCatalogClient = ControlCatalogClient;
|
|
253
|
+
exports.ControlParameterRequirement = ControlParameterRequirement;
|
|
244
254
|
exports.ControlRelationType = ControlRelationType;
|
|
245
255
|
exports.ControlScope = ControlScope;
|
|
246
256
|
exports.ControlSeverity = ControlSeverity;
|
|
@@ -251,6 +261,7 @@ exports.ListControlsCommand = ListControlsCommand;
|
|
|
251
261
|
exports.ListDomainsCommand = ListDomainsCommand;
|
|
252
262
|
exports.ListObjectivesCommand = ListObjectivesCommand;
|
|
253
263
|
exports.MappingType = MappingType;
|
|
264
|
+
exports.ParameterRequirementSummary = ParameterRequirementSummary;
|
|
254
265
|
exports.paginateListCommonControls = paginateListCommonControls;
|
|
255
266
|
exports.paginateListControlMappings = paginateListControlMappings;
|
|
256
267
|
exports.paginateListControls = paginateListControls;
|
|
@@ -40,6 +40,7 @@ const _Fr = "Framework";
|
|
|
40
40
|
const _GC = "GetControl";
|
|
41
41
|
const _GCR = "GetControlRequest";
|
|
42
42
|
const _GCRe = "GetControlResponse";
|
|
43
|
+
const _GP = "GovernedProviders";
|
|
43
44
|
const _GR = "GovernedResources";
|
|
44
45
|
const _I = "Implementations";
|
|
45
46
|
const _ID = "ImplementationDetails";
|
|
@@ -81,6 +82,8 @@ const _OS = "ObjectiveSummary";
|
|
|
81
82
|
const _OSL = "ObjectiveSummaryList";
|
|
82
83
|
const _Ob = "Objective";
|
|
83
84
|
const _P = "Parameters";
|
|
85
|
+
const _PRS = "ParameterRequirementSummary";
|
|
86
|
+
const _R = "Requirement";
|
|
84
87
|
const _RC = "RegionConfiguration";
|
|
85
88
|
const _RCMD = "RelatedControlMappingDetails";
|
|
86
89
|
const _RCe = "RelatedControl";
|
|
@@ -170,8 +173,8 @@ exports.CommonControlSummary$ = [3, n0, _CCS,
|
|
|
170
173
|
];
|
|
171
174
|
exports.ControlFilter$ = [3, n0, _CF,
|
|
172
175
|
0,
|
|
173
|
-
[_I],
|
|
174
|
-
[() => exports.ImplementationFilter
|
|
176
|
+
[_I, _GP],
|
|
177
|
+
[() => exports.ImplementationFilter$, 64 | 0]
|
|
175
178
|
];
|
|
176
179
|
exports.ControlMapping$ = [3, n0, _CM,
|
|
177
180
|
0,
|
|
@@ -185,13 +188,13 @@ exports.ControlMappingFilter$ = [3, n0, _CMF,
|
|
|
185
188
|
];
|
|
186
189
|
exports.ControlParameter$ = [3, n0, _CP,
|
|
187
190
|
0,
|
|
188
|
-
[_N],
|
|
189
|
-
[0], 1
|
|
191
|
+
[_N, _R],
|
|
192
|
+
[0, 0], 1
|
|
190
193
|
];
|
|
191
194
|
exports.ControlSummary$ = [3, n0, _CS,
|
|
192
195
|
0,
|
|
193
|
-
[_A, _N, _D, _Al, _B, _S, _Im, _CT, _GR],
|
|
194
|
-
[0, 0, 0, 64 | 0, 0, 0, () => exports.ImplementationSummary$, 4, 64 | 0], 3
|
|
196
|
+
[_A, _N, _D, _Al, _B, _S, _PRS, _Im, _CT, _GR, _GP],
|
|
197
|
+
[0, 0, 0, 64 | 0, 0, 0, 0, () => exports.ImplementationSummary$, 4, 64 | 0, 64 | 0], 3
|
|
195
198
|
];
|
|
196
199
|
exports.DomainResourceFilter$ = [3, n0, _DRF,
|
|
197
200
|
0,
|
|
@@ -215,8 +218,8 @@ exports.GetControlRequest$ = [3, n0, _GCR,
|
|
|
215
218
|
];
|
|
216
219
|
exports.GetControlResponse$ = [3, n0, _GCRe,
|
|
217
220
|
0,
|
|
218
|
-
[_A, _N, _D, _B, _RC, _Al, _S, _Im, _P, _CT, _GR],
|
|
219
|
-
[0, 0, 0, 0, () => exports.RegionConfiguration$, 64 | 0, 0, () => exports.ImplementationDetails$, () => ControlParameters, 4, 64 | 0], 5
|
|
221
|
+
[_A, _N, _D, _B, _RC, _Al, _S, _Im, _PRS, _P, _CT, _GR, _GP],
|
|
222
|
+
[0, 0, 0, 0, () => exports.RegionConfiguration$, 64 | 0, 0, () => exports.ImplementationDetails$, 0, () => ControlParameters, 4, 64 | 0, 64 | 0], 5
|
|
220
223
|
];
|
|
221
224
|
exports.ImplementationDetails$ = [3, n0, _ID,
|
|
222
225
|
0,
|
|
@@ -330,6 +333,8 @@ var DomainResourceFilterList = [1, n0, _DRFL,
|
|
|
330
333
|
var DomainSummaryList = [1, n0, _DSL,
|
|
331
334
|
0, () => exports.DomainSummary$
|
|
332
335
|
];
|
|
336
|
+
var GovernedProviderFilterList = 64 | 0;
|
|
337
|
+
var GovernedProviders = 64 | 0;
|
|
333
338
|
var GovernedResources = 64 | 0;
|
|
334
339
|
var ImplementationIdentifierFilterList = 64 | 0;
|
|
335
340
|
var ImplementationTypeFilterList = 64 | 0;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -3,6 +3,15 @@ export const ControlBehavior = {
|
|
|
3
3
|
PREVENTIVE: "PREVENTIVE",
|
|
4
4
|
PROACTIVE: "PROACTIVE",
|
|
5
5
|
};
|
|
6
|
+
export const ParameterRequirementSummary = {
|
|
7
|
+
NONE: "NONE",
|
|
8
|
+
OPTIONAL: "OPTIONAL",
|
|
9
|
+
REQUIRED: "REQUIRED",
|
|
10
|
+
};
|
|
11
|
+
export const ControlParameterRequirement = {
|
|
12
|
+
OPTIONAL: "OPTIONAL",
|
|
13
|
+
REQUIRED: "REQUIRED",
|
|
14
|
+
};
|
|
6
15
|
export const ControlScope = {
|
|
7
16
|
GLOBAL: "GLOBAL",
|
|
8
17
|
REGIONAL: "REGIONAL",
|
|
@@ -37,6 +37,7 @@ const _Fr = "Framework";
|
|
|
37
37
|
const _GC = "GetControl";
|
|
38
38
|
const _GCR = "GetControlRequest";
|
|
39
39
|
const _GCRe = "GetControlResponse";
|
|
40
|
+
const _GP = "GovernedProviders";
|
|
40
41
|
const _GR = "GovernedResources";
|
|
41
42
|
const _I = "Implementations";
|
|
42
43
|
const _ID = "ImplementationDetails";
|
|
@@ -78,6 +79,8 @@ const _OS = "ObjectiveSummary";
|
|
|
78
79
|
const _OSL = "ObjectiveSummaryList";
|
|
79
80
|
const _Ob = "Objective";
|
|
80
81
|
const _P = "Parameters";
|
|
82
|
+
const _PRS = "ParameterRequirementSummary";
|
|
83
|
+
const _R = "Requirement";
|
|
81
84
|
const _RC = "RegionConfiguration";
|
|
82
85
|
const _RCMD = "RelatedControlMappingDetails";
|
|
83
86
|
const _RCe = "RelatedControl";
|
|
@@ -167,8 +170,8 @@ export var CommonControlSummary$ = [3, n0, _CCS,
|
|
|
167
170
|
];
|
|
168
171
|
export var ControlFilter$ = [3, n0, _CF,
|
|
169
172
|
0,
|
|
170
|
-
[_I],
|
|
171
|
-
[() => ImplementationFilter
|
|
173
|
+
[_I, _GP],
|
|
174
|
+
[() => ImplementationFilter$, 64 | 0]
|
|
172
175
|
];
|
|
173
176
|
export var ControlMapping$ = [3, n0, _CM,
|
|
174
177
|
0,
|
|
@@ -182,13 +185,13 @@ export var ControlMappingFilter$ = [3, n0, _CMF,
|
|
|
182
185
|
];
|
|
183
186
|
export var ControlParameter$ = [3, n0, _CP,
|
|
184
187
|
0,
|
|
185
|
-
[_N],
|
|
186
|
-
[0], 1
|
|
188
|
+
[_N, _R],
|
|
189
|
+
[0, 0], 1
|
|
187
190
|
];
|
|
188
191
|
export var ControlSummary$ = [3, n0, _CS,
|
|
189
192
|
0,
|
|
190
|
-
[_A, _N, _D, _Al, _B, _S, _Im, _CT, _GR],
|
|
191
|
-
[0, 0, 0, 64 | 0, 0, 0, () => ImplementationSummary$, 4, 64 | 0], 3
|
|
193
|
+
[_A, _N, _D, _Al, _B, _S, _PRS, _Im, _CT, _GR, _GP],
|
|
194
|
+
[0, 0, 0, 64 | 0, 0, 0, 0, () => ImplementationSummary$, 4, 64 | 0, 64 | 0], 3
|
|
192
195
|
];
|
|
193
196
|
export var DomainResourceFilter$ = [3, n0, _DRF,
|
|
194
197
|
0,
|
|
@@ -212,8 +215,8 @@ export var GetControlRequest$ = [3, n0, _GCR,
|
|
|
212
215
|
];
|
|
213
216
|
export var GetControlResponse$ = [3, n0, _GCRe,
|
|
214
217
|
0,
|
|
215
|
-
[_A, _N, _D, _B, _RC, _Al, _S, _Im, _P, _CT, _GR],
|
|
216
|
-
[0, 0, 0, 0, () => RegionConfiguration$, 64 | 0, 0, () => ImplementationDetails$, () => ControlParameters, 4, 64 | 0], 5
|
|
218
|
+
[_A, _N, _D, _B, _RC, _Al, _S, _Im, _PRS, _P, _CT, _GR, _GP],
|
|
219
|
+
[0, 0, 0, 0, () => RegionConfiguration$, 64 | 0, 0, () => ImplementationDetails$, 0, () => ControlParameters, 4, 64 | 0, 64 | 0], 5
|
|
217
220
|
];
|
|
218
221
|
export var ImplementationDetails$ = [3, n0, _ID,
|
|
219
222
|
0,
|
|
@@ -327,6 +330,8 @@ var DomainResourceFilterList = [1, n0, _DRFL,
|
|
|
327
330
|
var DomainSummaryList = [1, n0, _DSL,
|
|
328
331
|
0, () => DomainSummary$
|
|
329
332
|
];
|
|
333
|
+
var GovernedProviderFilterList = 64 | 0;
|
|
334
|
+
var GovernedProviders = 64 | 0;
|
|
330
335
|
var GovernedResources = 64 | 0;
|
|
331
336
|
var ImplementationIdentifierFilterList = 64 | 0;
|
|
332
337
|
var ImplementationTypeFilterList = 64 | 0;
|
|
@@ -62,15 +62,20 @@ declare const GetControlCommand_base: {
|
|
|
62
62
|
* // Type: "STRING_VALUE", // required
|
|
63
63
|
* // Identifier: "STRING_VALUE",
|
|
64
64
|
* // },
|
|
65
|
+
* // ParameterRequirementSummary: "REQUIRED" || "OPTIONAL" || "NONE",
|
|
65
66
|
* // Parameters: [ // ControlParameters
|
|
66
67
|
* // { // ControlParameter
|
|
67
68
|
* // Name: "STRING_VALUE", // required
|
|
69
|
+
* // Requirement: "REQUIRED" || "OPTIONAL",
|
|
68
70
|
* // },
|
|
69
71
|
* // ],
|
|
70
72
|
* // CreateTime: new Date("TIMESTAMP"),
|
|
71
73
|
* // GovernedResources: [ // GovernedResources
|
|
72
74
|
* // "STRING_VALUE",
|
|
73
75
|
* // ],
|
|
76
|
+
* // GovernedProviders: [ // GovernedProviders
|
|
77
|
+
* // "STRING_VALUE",
|
|
78
|
+
* // ],
|
|
74
79
|
* // };
|
|
75
80
|
*
|
|
76
81
|
* ```
|
|
@@ -50,6 +50,9 @@ declare const ListControlsCommand_base: {
|
|
|
50
50
|
* "STRING_VALUE",
|
|
51
51
|
* ],
|
|
52
52
|
* },
|
|
53
|
+
* GovernedProviders: [ // GovernedProviderFilterList
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
53
56
|
* },
|
|
54
57
|
* };
|
|
55
58
|
* const command = new ListControlsCommand(input);
|
|
@@ -65,6 +68,7 @@ declare const ListControlsCommand_base: {
|
|
|
65
68
|
* // Description: "STRING_VALUE", // required
|
|
66
69
|
* // Behavior: "PREVENTIVE" || "PROACTIVE" || "DETECTIVE",
|
|
67
70
|
* // Severity: "LOW" || "MEDIUM" || "HIGH" || "CRITICAL",
|
|
71
|
+
* // ParameterRequirementSummary: "REQUIRED" || "OPTIONAL" || "NONE",
|
|
68
72
|
* // Implementation: { // ImplementationSummary
|
|
69
73
|
* // Type: "STRING_VALUE", // required
|
|
70
74
|
* // Identifier: "STRING_VALUE",
|
|
@@ -73,6 +77,9 @@ declare const ListControlsCommand_base: {
|
|
|
73
77
|
* // GovernedResources: [ // GovernedResources
|
|
74
78
|
* // "STRING_VALUE",
|
|
75
79
|
* // ],
|
|
80
|
+
* // GovernedProviders: [ // GovernedProviders
|
|
81
|
+
* // "STRING_VALUE",
|
|
82
|
+
* // ],
|
|
76
83
|
* // },
|
|
77
84
|
* // ],
|
|
78
85
|
* // NextToken: "STRING_VALUE",
|
|
@@ -11,6 +11,31 @@ export declare const ControlBehavior: {
|
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
13
13
|
export type ControlBehavior = (typeof ControlBehavior)[keyof typeof ControlBehavior];
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
* @enum
|
|
17
|
+
*/
|
|
18
|
+
export declare const ParameterRequirementSummary: {
|
|
19
|
+
readonly NONE: "NONE";
|
|
20
|
+
readonly OPTIONAL: "OPTIONAL";
|
|
21
|
+
readonly REQUIRED: "REQUIRED";
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export type ParameterRequirementSummary = (typeof ParameterRequirementSummary)[keyof typeof ParameterRequirementSummary];
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* @enum
|
|
30
|
+
*/
|
|
31
|
+
export declare const ControlParameterRequirement: {
|
|
32
|
+
readonly OPTIONAL: "OPTIONAL";
|
|
33
|
+
readonly REQUIRED: "REQUIRED";
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
export type ControlParameterRequirement = (typeof ControlParameterRequirement)[keyof typeof ControlParameterRequirement];
|
|
14
39
|
/**
|
|
15
40
|
* @public
|
|
16
41
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ControlBehavior, ControlRelationType, ControlScope, ControlSeverity, MappingType } from "./enums";
|
|
1
|
+
import type { ControlBehavior, ControlParameterRequirement, ControlRelationType, ControlScope, ControlSeverity, MappingType, ParameterRequirementSummary } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>A summary of the domain that a common control or an objective belongs to.</p>
|
|
4
4
|
* @public
|
|
@@ -176,6 +176,11 @@ export interface ControlParameter {
|
|
|
176
176
|
* @public
|
|
177
177
|
*/
|
|
178
178
|
Name: string | undefined;
|
|
179
|
+
/**
|
|
180
|
+
* <p>Indicates whether the parameter is required or optional when you enable the control.</p>
|
|
181
|
+
* @public
|
|
182
|
+
*/
|
|
183
|
+
Requirement?: ControlParameterRequirement | undefined;
|
|
179
184
|
}
|
|
180
185
|
/**
|
|
181
186
|
* <p>Returns information about the control, including the scope of the control, if enabled, and the Regions in which the control 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> <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>
|
|
@@ -237,6 +242,11 @@ export interface GetControlResponse {
|
|
|
237
242
|
* @public
|
|
238
243
|
*/
|
|
239
244
|
Implementation?: ImplementationDetails | undefined;
|
|
245
|
+
/**
|
|
246
|
+
* <p>A summary that indicates whether the control requires parameters, accepts optional parameters, or does not support parameters. Use this field to determine whether you need to supply parameter values when you enable the control.</p>
|
|
247
|
+
* @public
|
|
248
|
+
*/
|
|
249
|
+
ParameterRequirementSummary?: ParameterRequirementSummary | undefined;
|
|
240
250
|
/**
|
|
241
251
|
* <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. </p>
|
|
242
252
|
* @public
|
|
@@ -248,10 +258,15 @@ export interface GetControlResponse {
|
|
|
248
258
|
*/
|
|
249
259
|
CreateTime?: Date | undefined;
|
|
250
260
|
/**
|
|
251
|
-
* <p>A list of
|
|
261
|
+
* <p>A list of resource types that are governed by this control. This information helps you understand which controls can govern certain types of resources, and conversely, which resources are affected when the control is implemented. For Amazon Web Services controls, the resources are represented as CloudFormation resource types. For non-Amazon Web Services controls, the resources are represented in a provider-specific format. If <code>GovernedResources</code> cannot be represented by available resource types, it’s returned as an empty list.</p>
|
|
252
262
|
* @public
|
|
253
263
|
*/
|
|
254
264
|
GovernedResources?: string[] | undefined;
|
|
265
|
+
/**
|
|
266
|
+
* <p>A list of providers whose resources are governed by this control. For example, a value of <code>AWS</code> indicates that the control governs Amazon Web Services resources.</p>
|
|
267
|
+
* @public
|
|
268
|
+
*/
|
|
269
|
+
GovernedProviders?: string[] | undefined;
|
|
255
270
|
}
|
|
256
271
|
/**
|
|
257
272
|
* <p>A structure that defines filtering criteria for control implementations. You can use this filter to find controls that are implemented by specific Amazon Web Services services or with specific service identifiers.</p>
|
|
@@ -279,6 +294,11 @@ export interface ControlFilter {
|
|
|
279
294
|
* @public
|
|
280
295
|
*/
|
|
281
296
|
Implementations?: ImplementationFilter | undefined;
|
|
297
|
+
/**
|
|
298
|
+
* <p>A filter that narrows the results to controls that govern a specific provider's resources.</p>
|
|
299
|
+
* @public
|
|
300
|
+
*/
|
|
301
|
+
GovernedProviders?: string[] | undefined;
|
|
282
302
|
}
|
|
283
303
|
/**
|
|
284
304
|
* @public
|
|
@@ -351,6 +371,11 @@ export interface ControlSummary {
|
|
|
351
371
|
* @public
|
|
352
372
|
*/
|
|
353
373
|
Severity?: ControlSeverity | undefined;
|
|
374
|
+
/**
|
|
375
|
+
* <p>A summary that indicates whether the control requires parameters, accepts optional parameters, or does not support parameters. Use this field to determine whether you need to supply parameter values when you enable the control.</p>
|
|
376
|
+
* @public
|
|
377
|
+
*/
|
|
378
|
+
ParameterRequirementSummary?: ParameterRequirementSummary | undefined;
|
|
354
379
|
/**
|
|
355
380
|
* <p>An object of type <code>ImplementationSummary</code> that describes how the control is implemented.</p>
|
|
356
381
|
* @public
|
|
@@ -362,10 +387,15 @@ export interface ControlSummary {
|
|
|
362
387
|
*/
|
|
363
388
|
CreateTime?: Date | undefined;
|
|
364
389
|
/**
|
|
365
|
-
* <p>A list of
|
|
390
|
+
* <p>A list of resource types that are governed by this control. This information helps you understand which controls can govern certain types of resources, and conversely, which resources are affected when the control is implemented. For Amazon Web Services controls, the resources are represented as CloudFormation resource types. For non-Amazon Web Services controls, the resources are represented in a provider-specific format. If <code>GovernedResources</code> cannot be represented by available resource types, it’s returned as an empty list.</p>
|
|
366
391
|
* @public
|
|
367
392
|
*/
|
|
368
393
|
GovernedResources?: string[] | undefined;
|
|
394
|
+
/**
|
|
395
|
+
* <p>A list of providers whose resources are governed by this control. For example, a value of <code>AWS</code> indicates that the control governs Amazon Web Services resources.</p>
|
|
396
|
+
* @public
|
|
397
|
+
*/
|
|
398
|
+
GovernedProviders?: string[] | undefined;
|
|
369
399
|
}
|
|
370
400
|
/**
|
|
371
401
|
* @public
|
|
@@ -5,6 +5,19 @@ export declare const ControlBehavior: {
|
|
|
5
5
|
};
|
|
6
6
|
export type ControlBehavior =
|
|
7
7
|
(typeof ControlBehavior)[keyof typeof ControlBehavior];
|
|
8
|
+
export declare const ParameterRequirementSummary: {
|
|
9
|
+
readonly NONE: "NONE";
|
|
10
|
+
readonly OPTIONAL: "OPTIONAL";
|
|
11
|
+
readonly REQUIRED: "REQUIRED";
|
|
12
|
+
};
|
|
13
|
+
export type ParameterRequirementSummary =
|
|
14
|
+
(typeof ParameterRequirementSummary)[keyof typeof ParameterRequirementSummary];
|
|
15
|
+
export declare const ControlParameterRequirement: {
|
|
16
|
+
readonly OPTIONAL: "OPTIONAL";
|
|
17
|
+
readonly REQUIRED: "REQUIRED";
|
|
18
|
+
};
|
|
19
|
+
export type ControlParameterRequirement =
|
|
20
|
+
(typeof ControlParameterRequirement)[keyof typeof ControlParameterRequirement];
|
|
8
21
|
export declare const ControlScope: {
|
|
9
22
|
readonly GLOBAL: "GLOBAL";
|
|
10
23
|
readonly REGIONAL: "REGIONAL";
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ControlBehavior,
|
|
3
|
+
ControlParameterRequirement,
|
|
3
4
|
ControlRelationType,
|
|
4
5
|
ControlScope,
|
|
5
6
|
ControlSeverity,
|
|
6
7
|
MappingType,
|
|
8
|
+
ParameterRequirementSummary,
|
|
7
9
|
} from "./enums";
|
|
8
10
|
export interface AssociatedDomainSummary {
|
|
9
11
|
Arn?: string | undefined;
|
|
@@ -49,6 +51,7 @@ export interface ImplementationDetails {
|
|
|
49
51
|
}
|
|
50
52
|
export interface ControlParameter {
|
|
51
53
|
Name: string | undefined;
|
|
54
|
+
Requirement?: ControlParameterRequirement | undefined;
|
|
52
55
|
}
|
|
53
56
|
export interface RegionConfiguration {
|
|
54
57
|
Scope: ControlScope | undefined;
|
|
@@ -63,9 +66,11 @@ export interface GetControlResponse {
|
|
|
63
66
|
Severity?: ControlSeverity | undefined;
|
|
64
67
|
RegionConfiguration: RegionConfiguration | undefined;
|
|
65
68
|
Implementation?: ImplementationDetails | undefined;
|
|
69
|
+
ParameterRequirementSummary?: ParameterRequirementSummary | undefined;
|
|
66
70
|
Parameters?: ControlParameter[] | undefined;
|
|
67
71
|
CreateTime?: Date | undefined;
|
|
68
72
|
GovernedResources?: string[] | undefined;
|
|
73
|
+
GovernedProviders?: string[] | undefined;
|
|
69
74
|
}
|
|
70
75
|
export interface ImplementationFilter {
|
|
71
76
|
Types?: string[] | undefined;
|
|
@@ -73,6 +78,7 @@ export interface ImplementationFilter {
|
|
|
73
78
|
}
|
|
74
79
|
export interface ControlFilter {
|
|
75
80
|
Implementations?: ImplementationFilter | undefined;
|
|
81
|
+
GovernedProviders?: string[] | undefined;
|
|
76
82
|
}
|
|
77
83
|
export interface ListControlsRequest {
|
|
78
84
|
NextToken?: string | undefined;
|
|
@@ -90,9 +96,11 @@ export interface ControlSummary {
|
|
|
90
96
|
Description: string | undefined;
|
|
91
97
|
Behavior?: ControlBehavior | undefined;
|
|
92
98
|
Severity?: ControlSeverity | undefined;
|
|
99
|
+
ParameterRequirementSummary?: ParameterRequirementSummary | undefined;
|
|
93
100
|
Implementation?: ImplementationSummary | undefined;
|
|
94
101
|
CreateTime?: Date | undefined;
|
|
95
102
|
GovernedResources?: string[] | undefined;
|
|
103
|
+
GovernedProviders?: string[] | undefined;
|
|
96
104
|
}
|
|
97
105
|
export interface ListControlsResponse {
|
|
98
106
|
Controls: ControlSummary[] | undefined;
|
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.1057.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-controlcatalog",
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.974.15",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.47",
|
|
26
26
|
"@aws-sdk/types": "^3.973.9",
|
|
27
|
-
"@smithy/core": "^3.24.
|
|
28
|
-
"@smithy/fetch-http-handler": "^5.4.
|
|
29
|
-
"@smithy/node-http-handler": "^4.7.
|
|
27
|
+
"@smithy/core": "^3.24.5",
|
|
28
|
+
"@smithy/fetch-http-handler": "^5.4.5",
|
|
29
|
+
"@smithy/node-http-handler": "^4.7.5",
|
|
30
30
|
"@smithy/types": "^4.14.2",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|