@aws-sdk/client-controlcatalog 3.933.0 → 3.935.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 CHANGED
@@ -177,21 +177,6 @@ let ValidationException$1 = class ValidationException extends ControlCatalogServ
177
177
  this.Message = opts.Message;
178
178
  }
179
179
  };
180
- const ControlBehavior = {
181
- DETECTIVE: "DETECTIVE",
182
- PREVENTIVE: "PREVENTIVE",
183
- PROACTIVE: "PROACTIVE",
184
- };
185
- const ControlScope = {
186
- GLOBAL: "GLOBAL",
187
- REGIONAL: "REGIONAL",
188
- };
189
- const ControlSeverity = {
190
- CRITICAL: "CRITICAL",
191
- HIGH: "HIGH",
192
- LOW: "LOW",
193
- MEDIUM: "MEDIUM",
194
- };
195
180
  let ResourceNotFoundException$1 = class ResourceNotFoundException extends ControlCatalogServiceException$1 {
196
181
  name = "ResourceNotFoundException";
197
182
  $fault = "client";
@@ -206,16 +191,6 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Contro
206
191
  this.Message = opts.Message;
207
192
  }
208
193
  };
209
- const MappingType = {
210
- COMMON_CONTROL: "COMMON_CONTROL",
211
- FRAMEWORK: "FRAMEWORK",
212
- RELATED_CONTROL: "RELATED_CONTROL",
213
- };
214
- const ControlRelationType = {
215
- ALTERNATIVE: "ALTERNATIVE",
216
- COMPLEMENTARY: "COMPLEMENTARY",
217
- MUTUALLY_EXCLUSIVE: "MUTUALLY_EXCLUSIVE",
218
- };
219
194
 
220
195
  const _A = "Arn";
221
196
  const _ADE = "AccessDeniedException";
@@ -744,6 +719,32 @@ const paginateListDomains = core.createPaginator(ControlCatalogClient, ListDomai
744
719
 
745
720
  const paginateListObjectives = core.createPaginator(ControlCatalogClient, ListObjectivesCommand, "NextToken", "NextToken", "MaxResults");
746
721
 
722
+ const ControlBehavior = {
723
+ DETECTIVE: "DETECTIVE",
724
+ PREVENTIVE: "PREVENTIVE",
725
+ PROACTIVE: "PROACTIVE",
726
+ };
727
+ const ControlScope = {
728
+ GLOBAL: "GLOBAL",
729
+ REGIONAL: "REGIONAL",
730
+ };
731
+ const ControlSeverity = {
732
+ CRITICAL: "CRITICAL",
733
+ HIGH: "HIGH",
734
+ LOW: "LOW",
735
+ MEDIUM: "MEDIUM",
736
+ };
737
+ const MappingType = {
738
+ COMMON_CONTROL: "COMMON_CONTROL",
739
+ FRAMEWORK: "FRAMEWORK",
740
+ RELATED_CONTROL: "RELATED_CONTROL",
741
+ };
742
+ const ControlRelationType = {
743
+ ALTERNATIVE: "ALTERNATIVE",
744
+ COMPLEMENTARY: "COMPLEMENTARY",
745
+ MUTUALLY_EXCLUSIVE: "MUTUALLY_EXCLUSIVE",
746
+ };
747
+
747
748
  Object.defineProperty(exports, "$Command", {
748
749
  enumerable: true,
749
750
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./ControlCatalogClient";
2
2
  export * from "./ControlCatalog";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { ControlCatalogServiceException } from "./models/ControlCatalogServiceException";
@@ -0,0 +1,25 @@
1
+ export const ControlBehavior = {
2
+ DETECTIVE: "DETECTIVE",
3
+ PREVENTIVE: "PREVENTIVE",
4
+ PROACTIVE: "PROACTIVE",
5
+ };
6
+ export const ControlScope = {
7
+ GLOBAL: "GLOBAL",
8
+ REGIONAL: "REGIONAL",
9
+ };
10
+ export const ControlSeverity = {
11
+ CRITICAL: "CRITICAL",
12
+ HIGH: "HIGH",
13
+ LOW: "LOW",
14
+ MEDIUM: "MEDIUM",
15
+ };
16
+ export const MappingType = {
17
+ COMMON_CONTROL: "COMMON_CONTROL",
18
+ FRAMEWORK: "FRAMEWORK",
19
+ RELATED_CONTROL: "RELATED_CONTROL",
20
+ };
21
+ export const ControlRelationType = {
22
+ ALTERNATIVE: "ALTERNATIVE",
23
+ COMPLEMENTARY: "COMPLEMENTARY",
24
+ MUTUALLY_EXCLUSIVE: "MUTUALLY_EXCLUSIVE",
25
+ };
@@ -0,0 +1,75 @@
1
+ import { ControlCatalogServiceException as __BaseException } from "./ControlCatalogServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ Message;
6
+ constructor(opts) {
7
+ super({
8
+ name: "AccessDeniedException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
+ this.Message = opts.Message;
14
+ }
15
+ }
16
+ export class InternalServerException extends __BaseException {
17
+ name = "InternalServerException";
18
+ $fault = "server";
19
+ $retryable = {};
20
+ Message;
21
+ constructor(opts) {
22
+ super({
23
+ name: "InternalServerException",
24
+ $fault: "server",
25
+ ...opts,
26
+ });
27
+ Object.setPrototypeOf(this, InternalServerException.prototype);
28
+ this.Message = opts.Message;
29
+ }
30
+ }
31
+ export class ThrottlingException extends __BaseException {
32
+ name = "ThrottlingException";
33
+ $fault = "client";
34
+ $retryable = {
35
+ throttling: true,
36
+ };
37
+ Message;
38
+ constructor(opts) {
39
+ super({
40
+ name: "ThrottlingException",
41
+ $fault: "client",
42
+ ...opts,
43
+ });
44
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
45
+ this.Message = opts.Message;
46
+ }
47
+ }
48
+ export class ValidationException extends __BaseException {
49
+ name = "ValidationException";
50
+ $fault = "client";
51
+ Message;
52
+ constructor(opts) {
53
+ super({
54
+ name: "ValidationException",
55
+ $fault: "client",
56
+ ...opts,
57
+ });
58
+ Object.setPrototypeOf(this, ValidationException.prototype);
59
+ this.Message = opts.Message;
60
+ }
61
+ }
62
+ export class ResourceNotFoundException extends __BaseException {
63
+ name = "ResourceNotFoundException";
64
+ $fault = "client";
65
+ Message;
66
+ constructor(opts) {
67
+ super({
68
+ name: "ResourceNotFoundException",
69
+ $fault: "client",
70
+ ...opts,
71
+ });
72
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
73
+ this.Message = opts.Message;
74
+ }
75
+ }
@@ -1,100 +1 @@
1
- import { ControlCatalogServiceException as __BaseException } from "./ControlCatalogServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- Message;
6
- constructor(opts) {
7
- super({
8
- name: "AccessDeniedException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
- this.Message = opts.Message;
14
- }
15
- }
16
- export class InternalServerException extends __BaseException {
17
- name = "InternalServerException";
18
- $fault = "server";
19
- $retryable = {};
20
- Message;
21
- constructor(opts) {
22
- super({
23
- name: "InternalServerException",
24
- $fault: "server",
25
- ...opts,
26
- });
27
- Object.setPrototypeOf(this, InternalServerException.prototype);
28
- this.Message = opts.Message;
29
- }
30
- }
31
- export class ThrottlingException extends __BaseException {
32
- name = "ThrottlingException";
33
- $fault = "client";
34
- $retryable = {
35
- throttling: true,
36
- };
37
- Message;
38
- constructor(opts) {
39
- super({
40
- name: "ThrottlingException",
41
- $fault: "client",
42
- ...opts,
43
- });
44
- Object.setPrototypeOf(this, ThrottlingException.prototype);
45
- this.Message = opts.Message;
46
- }
47
- }
48
- export class ValidationException extends __BaseException {
49
- name = "ValidationException";
50
- $fault = "client";
51
- Message;
52
- constructor(opts) {
53
- super({
54
- name: "ValidationException",
55
- $fault: "client",
56
- ...opts,
57
- });
58
- Object.setPrototypeOf(this, ValidationException.prototype);
59
- this.Message = opts.Message;
60
- }
61
- }
62
- export const ControlBehavior = {
63
- DETECTIVE: "DETECTIVE",
64
- PREVENTIVE: "PREVENTIVE",
65
- PROACTIVE: "PROACTIVE",
66
- };
67
- export const ControlScope = {
68
- GLOBAL: "GLOBAL",
69
- REGIONAL: "REGIONAL",
70
- };
71
- export const ControlSeverity = {
72
- CRITICAL: "CRITICAL",
73
- HIGH: "HIGH",
74
- LOW: "LOW",
75
- MEDIUM: "MEDIUM",
76
- };
77
- export class ResourceNotFoundException extends __BaseException {
78
- name = "ResourceNotFoundException";
79
- $fault = "client";
80
- Message;
81
- constructor(opts) {
82
- super({
83
- name: "ResourceNotFoundException",
84
- $fault: "client",
85
- ...opts,
86
- });
87
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
88
- this.Message = opts.Message;
89
- }
90
- }
91
- export const MappingType = {
92
- COMMON_CONTROL: "COMMON_CONTROL",
93
- FRAMEWORK: "FRAMEWORK",
94
- RELATED_CONTROL: "RELATED_CONTROL",
95
- };
96
- export const ControlRelationType = {
97
- ALTERNATIVE: "ALTERNATIVE",
98
- COMPLEMENTARY: "COMPLEMENTARY",
99
- MUTUALLY_EXCLUSIVE: "MUTUALLY_EXCLUSIVE",
100
- };
1
+ export {};
@@ -101,7 +101,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.controlcatalog";
101
101
  const n0 = "com.amazonaws.controlcatalog";
102
102
  import { TypeRegistry } from "@smithy/core/schema";
103
103
  import { ControlCatalogServiceException as __ControlCatalogServiceException } from "../models/ControlCatalogServiceException";
104
- import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
104
+ import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
105
105
  export var AccessDeniedException = [
106
106
  -3,
107
107
  n0,
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { ControlCatalogExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
- export * from "./models";
13
+ export * from "./models/enums";
14
+ export * from "./models/errors";
15
+ export type * from "./models/models_0";
14
16
  export { ControlCatalogServiceException } from "./models/ControlCatalogServiceException";
@@ -0,0 +1,65 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ControlBehavior: {
6
+ readonly DETECTIVE: "DETECTIVE";
7
+ readonly PREVENTIVE: "PREVENTIVE";
8
+ readonly PROACTIVE: "PROACTIVE";
9
+ };
10
+ /**
11
+ * @public
12
+ */
13
+ export type ControlBehavior = (typeof ControlBehavior)[keyof typeof ControlBehavior];
14
+ /**
15
+ * @public
16
+ * @enum
17
+ */
18
+ export declare const ControlScope: {
19
+ readonly GLOBAL: "GLOBAL";
20
+ readonly REGIONAL: "REGIONAL";
21
+ };
22
+ /**
23
+ * @public
24
+ */
25
+ export type ControlScope = (typeof ControlScope)[keyof typeof ControlScope];
26
+ /**
27
+ * @public
28
+ * @enum
29
+ */
30
+ export declare const ControlSeverity: {
31
+ readonly CRITICAL: "CRITICAL";
32
+ readonly HIGH: "HIGH";
33
+ readonly LOW: "LOW";
34
+ readonly MEDIUM: "MEDIUM";
35
+ };
36
+ /**
37
+ * @public
38
+ */
39
+ export type ControlSeverity = (typeof ControlSeverity)[keyof typeof ControlSeverity];
40
+ /**
41
+ * @public
42
+ * @enum
43
+ */
44
+ export declare const MappingType: {
45
+ readonly COMMON_CONTROL: "COMMON_CONTROL";
46
+ readonly FRAMEWORK: "FRAMEWORK";
47
+ readonly RELATED_CONTROL: "RELATED_CONTROL";
48
+ };
49
+ /**
50
+ * @public
51
+ */
52
+ export type MappingType = (typeof MappingType)[keyof typeof MappingType];
53
+ /**
54
+ * @public
55
+ * @enum
56
+ */
57
+ export declare const ControlRelationType: {
58
+ readonly ALTERNATIVE: "ALTERNATIVE";
59
+ readonly COMPLEMENTARY: "COMPLEMENTARY";
60
+ readonly MUTUALLY_EXCLUSIVE: "MUTUALLY_EXCLUSIVE";
61
+ };
62
+ /**
63
+ * @public
64
+ */
65
+ export type ControlRelationType = (typeof ControlRelationType)[keyof typeof ControlRelationType];
@@ -0,0 +1,71 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ControlCatalogServiceException as __BaseException } from "./ControlCatalogServiceException";
3
+ /**
4
+ * <p>You do not have sufficient access to perform this action.</p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ Message?: string | undefined;
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
+ }
16
+ /**
17
+ * <p>An internal service error occurred during the processing of your request. Try again later.</p>
18
+ * @public
19
+ */
20
+ export declare class InternalServerException extends __BaseException {
21
+ readonly name: "InternalServerException";
22
+ readonly $fault: "server";
23
+ $retryable: {};
24
+ Message?: string | undefined;
25
+ /**
26
+ * @internal
27
+ */
28
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
29
+ }
30
+ /**
31
+ * <p>The request was denied due to request throttling.</p>
32
+ * @public
33
+ */
34
+ export declare class ThrottlingException extends __BaseException {
35
+ readonly name: "ThrottlingException";
36
+ readonly $fault: "client";
37
+ $retryable: {
38
+ throttling: boolean;
39
+ };
40
+ Message?: string | undefined;
41
+ /**
42
+ * @internal
43
+ */
44
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
45
+ }
46
+ /**
47
+ * <p>The request has invalid or missing parameters.</p>
48
+ * @public
49
+ */
50
+ export declare class ValidationException extends __BaseException {
51
+ readonly name: "ValidationException";
52
+ readonly $fault: "client";
53
+ Message?: string | undefined;
54
+ /**
55
+ * @internal
56
+ */
57
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
58
+ }
59
+ /**
60
+ * <p>The requested resource does not exist.</p>
61
+ * @public
62
+ */
63
+ export declare class ResourceNotFoundException extends __BaseException {
64
+ readonly name: "ResourceNotFoundException";
65
+ readonly $fault: "client";
66
+ Message?: string | undefined;
67
+ /**
68
+ * @internal
69
+ */
70
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
71
+ }
@@ -1,18 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ControlCatalogServiceException as __BaseException } from "./ControlCatalogServiceException";
3
- /**
4
- * <p>You do not have sufficient access to perform this action.</p>
5
- * @public
6
- */
7
- export declare class AccessDeniedException extends __BaseException {
8
- readonly name: "AccessDeniedException";
9
- readonly $fault: "client";
10
- Message?: string | undefined;
11
- /**
12
- * @internal
13
- */
14
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
- }
1
+ import { ControlBehavior, ControlRelationType, ControlScope, ControlSeverity, MappingType } from "./enums";
16
2
  /**
17
3
  * <p>A summary of the domain that a common control or an objective belongs to.</p>
18
4
  * @public
@@ -78,20 +64,6 @@ export interface CommonControlMappingDetails {
78
64
  */
79
65
  CommonControlArn: string | undefined;
80
66
  }
81
- /**
82
- * <p>An internal service error occurred during the processing of your request. Try again later.</p>
83
- * @public
84
- */
85
- export declare class InternalServerException extends __BaseException {
86
- readonly name: "InternalServerException";
87
- readonly $fault: "server";
88
- $retryable: {};
89
- Message?: string | undefined;
90
- /**
91
- * @internal
92
- */
93
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
94
- }
95
67
  /**
96
68
  * @public
97
69
  */
@@ -168,48 +140,6 @@ export interface ListCommonControlsResponse {
168
140
  */
169
141
  NextToken?: string | undefined;
170
142
  }
171
- /**
172
- * <p>The request was denied due to request throttling.</p>
173
- * @public
174
- */
175
- export declare class ThrottlingException extends __BaseException {
176
- readonly name: "ThrottlingException";
177
- readonly $fault: "client";
178
- $retryable: {
179
- throttling: boolean;
180
- };
181
- Message?: string | undefined;
182
- /**
183
- * @internal
184
- */
185
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
186
- }
187
- /**
188
- * <p>The request has invalid or missing parameters.</p>
189
- * @public
190
- */
191
- export declare class ValidationException extends __BaseException {
192
- readonly name: "ValidationException";
193
- readonly $fault: "client";
194
- Message?: string | undefined;
195
- /**
196
- * @internal
197
- */
198
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
199
- }
200
- /**
201
- * @public
202
- * @enum
203
- */
204
- export declare const ControlBehavior: {
205
- readonly DETECTIVE: "DETECTIVE";
206
- readonly PREVENTIVE: "PREVENTIVE";
207
- readonly PROACTIVE: "PROACTIVE";
208
- };
209
- /**
210
- * @public
211
- */
212
- export type ControlBehavior = (typeof ControlBehavior)[keyof typeof ControlBehavior];
213
143
  /**
214
144
  * @public
215
145
  */
@@ -247,18 +177,6 @@ export interface ControlParameter {
247
177
  */
248
178
  Name: string | undefined;
249
179
  }
250
- /**
251
- * @public
252
- * @enum
253
- */
254
- export declare const ControlScope: {
255
- readonly GLOBAL: "GLOBAL";
256
- readonly REGIONAL: "REGIONAL";
257
- };
258
- /**
259
- * @public
260
- */
261
- export type ControlScope = (typeof ControlScope)[keyof typeof ControlScope];
262
180
  /**
263
181
  * <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>
264
182
  * @public
@@ -275,20 +193,6 @@ export interface RegionConfiguration {
275
193
  */
276
194
  DeployableRegions?: string[] | undefined;
277
195
  }
278
- /**
279
- * @public
280
- * @enum
281
- */
282
- export declare const ControlSeverity: {
283
- readonly CRITICAL: "CRITICAL";
284
- readonly HIGH: "HIGH";
285
- readonly LOW: "LOW";
286
- readonly MEDIUM: "MEDIUM";
287
- };
288
- /**
289
- * @public
290
- */
291
- export type ControlSeverity = (typeof ControlSeverity)[keyof typeof ControlSeverity];
292
196
  /**
293
197
  * @public
294
198
  */
@@ -349,19 +253,6 @@ export interface GetControlResponse {
349
253
  */
350
254
  GovernedResources?: string[] | undefined;
351
255
  }
352
- /**
353
- * <p>The requested resource does not exist.</p>
354
- * @public
355
- */
356
- export declare class ResourceNotFoundException extends __BaseException {
357
- readonly name: "ResourceNotFoundException";
358
- readonly $fault: "client";
359
- Message?: string | undefined;
360
- /**
361
- * @internal
362
- */
363
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
364
- }
365
256
  /**
366
257
  * <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>
367
258
  * @public
@@ -552,19 +443,6 @@ export interface ListDomainsResponse {
552
443
  */
553
444
  NextToken?: string | undefined;
554
445
  }
555
- /**
556
- * @public
557
- * @enum
558
- */
559
- export declare const MappingType: {
560
- readonly COMMON_CONTROL: "COMMON_CONTROL";
561
- readonly FRAMEWORK: "FRAMEWORK";
562
- readonly RELATED_CONTROL: "RELATED_CONTROL";
563
- };
564
- /**
565
- * @public
566
- */
567
- export type MappingType = (typeof MappingType)[keyof typeof MappingType];
568
446
  /**
569
447
  * <p>A structure that defines filtering criteria for the ListControlMappings operation. You can use this filter to narrow down the list of control mappings based on control ARNs, common control ARNs, or mapping types.</p>
570
448
  * @public
@@ -622,19 +500,6 @@ export interface FrameworkMappingDetails {
622
500
  */
623
501
  Item: string | undefined;
624
502
  }
625
- /**
626
- * @public
627
- * @enum
628
- */
629
- export declare const ControlRelationType: {
630
- readonly ALTERNATIVE: "ALTERNATIVE";
631
- readonly COMPLEMENTARY: "COMPLEMENTARY";
632
- readonly MUTUALLY_EXCLUSIVE: "MUTUALLY_EXCLUSIVE";
633
- };
634
- /**
635
- * @public
636
- */
637
- export type ControlRelationType = (typeof ControlRelationType)[keyof typeof ControlRelationType];
638
503
  /**
639
504
  * <p>A structure that describes a control's relationship status with other controls.</p>
640
505
  * @public
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { ControlCatalogExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { ControlCatalogServiceException } from "./models/ControlCatalogServiceException";
@@ -0,0 +1,33 @@
1
+ export declare const ControlBehavior: {
2
+ readonly DETECTIVE: "DETECTIVE";
3
+ readonly PREVENTIVE: "PREVENTIVE";
4
+ readonly PROACTIVE: "PROACTIVE";
5
+ };
6
+ export type ControlBehavior =
7
+ (typeof ControlBehavior)[keyof typeof ControlBehavior];
8
+ export declare const ControlScope: {
9
+ readonly GLOBAL: "GLOBAL";
10
+ readonly REGIONAL: "REGIONAL";
11
+ };
12
+ export type ControlScope = (typeof ControlScope)[keyof typeof ControlScope];
13
+ export declare const ControlSeverity: {
14
+ readonly CRITICAL: "CRITICAL";
15
+ readonly HIGH: "HIGH";
16
+ readonly LOW: "LOW";
17
+ readonly MEDIUM: "MEDIUM";
18
+ };
19
+ export type ControlSeverity =
20
+ (typeof ControlSeverity)[keyof typeof ControlSeverity];
21
+ export declare const MappingType: {
22
+ readonly COMMON_CONTROL: "COMMON_CONTROL";
23
+ readonly FRAMEWORK: "FRAMEWORK";
24
+ readonly RELATED_CONTROL: "RELATED_CONTROL";
25
+ };
26
+ export type MappingType = (typeof MappingType)[keyof typeof MappingType];
27
+ export declare const ControlRelationType: {
28
+ readonly ALTERNATIVE: "ALTERNATIVE";
29
+ readonly COMPLEMENTARY: "COMPLEMENTARY";
30
+ readonly MUTUALLY_EXCLUSIVE: "MUTUALLY_EXCLUSIVE";
31
+ };
32
+ export type ControlRelationType =
33
+ (typeof ControlRelationType)[keyof typeof ControlRelationType];
@@ -0,0 +1,46 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ControlCatalogServiceException as __BaseException } from "./ControlCatalogServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ Message?: string | undefined;
7
+ constructor(
8
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
+ );
10
+ }
11
+ export declare class InternalServerException extends __BaseException {
12
+ readonly name: "InternalServerException";
13
+ readonly $fault: "server";
14
+ $retryable: {};
15
+ Message?: string | undefined;
16
+ constructor(
17
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
18
+ );
19
+ }
20
+ export declare class ThrottlingException extends __BaseException {
21
+ readonly name: "ThrottlingException";
22
+ readonly $fault: "client";
23
+ $retryable: {
24
+ throttling: boolean;
25
+ };
26
+ Message?: string | undefined;
27
+ constructor(
28
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
29
+ );
30
+ }
31
+ export declare class ValidationException extends __BaseException {
32
+ readonly name: "ValidationException";
33
+ readonly $fault: "client";
34
+ Message?: string | undefined;
35
+ constructor(
36
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
37
+ );
38
+ }
39
+ export declare class ResourceNotFoundException extends __BaseException {
40
+ readonly name: "ResourceNotFoundException";
41
+ readonly $fault: "client";
42
+ Message?: string | undefined;
43
+ constructor(
44
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
45
+ );
46
+ }
@@ -1,13 +1,10 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ControlCatalogServiceException as __BaseException } from "./ControlCatalogServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- Message?: string | undefined;
7
- constructor(
8
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
- );
10
- }
1
+ import {
2
+ ControlBehavior,
3
+ ControlRelationType,
4
+ ControlScope,
5
+ ControlSeverity,
6
+ MappingType,
7
+ } from "./enums";
11
8
  export interface AssociatedDomainSummary {
12
9
  Arn?: string | undefined;
13
10
  Name?: string | undefined;
@@ -25,15 +22,6 @@ export interface CommonControlFilter {
25
22
  export interface CommonControlMappingDetails {
26
23
  CommonControlArn: string | undefined;
27
24
  }
28
- export declare class InternalServerException extends __BaseException {
29
- readonly name: "InternalServerException";
30
- readonly $fault: "server";
31
- $retryable: {};
32
- Message?: string | undefined;
33
- constructor(
34
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
35
- );
36
- }
37
25
  export interface ListCommonControlsRequest {
38
26
  MaxResults?: number | undefined;
39
27
  NextToken?: string | undefined;
@@ -52,32 +40,6 @@ export interface ListCommonControlsResponse {
52
40
  CommonControls: CommonControlSummary[] | undefined;
53
41
  NextToken?: string | undefined;
54
42
  }
55
- export declare class ThrottlingException extends __BaseException {
56
- readonly name: "ThrottlingException";
57
- readonly $fault: "client";
58
- $retryable: {
59
- throttling: boolean;
60
- };
61
- Message?: string | undefined;
62
- constructor(
63
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
64
- );
65
- }
66
- export declare class ValidationException extends __BaseException {
67
- readonly name: "ValidationException";
68
- readonly $fault: "client";
69
- Message?: string | undefined;
70
- constructor(
71
- opts: __ExceptionOptionType<ValidationException, __BaseException>
72
- );
73
- }
74
- export declare const ControlBehavior: {
75
- readonly DETECTIVE: "DETECTIVE";
76
- readonly PREVENTIVE: "PREVENTIVE";
77
- readonly PROACTIVE: "PROACTIVE";
78
- };
79
- export type ControlBehavior =
80
- (typeof ControlBehavior)[keyof typeof ControlBehavior];
81
43
  export interface GetControlRequest {
82
44
  ControlArn: string | undefined;
83
45
  }
@@ -88,23 +50,10 @@ export interface ImplementationDetails {
88
50
  export interface ControlParameter {
89
51
  Name: string | undefined;
90
52
  }
91
- export declare const ControlScope: {
92
- readonly GLOBAL: "GLOBAL";
93
- readonly REGIONAL: "REGIONAL";
94
- };
95
- export type ControlScope = (typeof ControlScope)[keyof typeof ControlScope];
96
53
  export interface RegionConfiguration {
97
54
  Scope: ControlScope | undefined;
98
55
  DeployableRegions?: string[] | undefined;
99
56
  }
100
- export declare const ControlSeverity: {
101
- readonly CRITICAL: "CRITICAL";
102
- readonly HIGH: "HIGH";
103
- readonly LOW: "LOW";
104
- readonly MEDIUM: "MEDIUM";
105
- };
106
- export type ControlSeverity =
107
- (typeof ControlSeverity)[keyof typeof ControlSeverity];
108
57
  export interface GetControlResponse {
109
58
  Arn: string | undefined;
110
59
  Aliases?: string[] | undefined;
@@ -118,14 +67,6 @@ export interface GetControlResponse {
118
67
  CreateTime?: Date | undefined;
119
68
  GovernedResources?: string[] | undefined;
120
69
  }
121
- export declare class ResourceNotFoundException extends __BaseException {
122
- readonly name: "ResourceNotFoundException";
123
- readonly $fault: "client";
124
- Message?: string | undefined;
125
- constructor(
126
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
127
- );
128
- }
129
70
  export interface ImplementationFilter {
130
71
  Types?: string[] | undefined;
131
72
  Identifiers?: string[] | undefined;
@@ -172,12 +113,6 @@ export interface ListDomainsResponse {
172
113
  Domains: DomainSummary[] | undefined;
173
114
  NextToken?: string | undefined;
174
115
  }
175
- export declare const MappingType: {
176
- readonly COMMON_CONTROL: "COMMON_CONTROL";
177
- readonly FRAMEWORK: "FRAMEWORK";
178
- readonly RELATED_CONTROL: "RELATED_CONTROL";
179
- };
180
- export type MappingType = (typeof MappingType)[keyof typeof MappingType];
181
116
  export interface ControlMappingFilter {
182
117
  ControlArns?: string[] | undefined;
183
118
  CommonControlArns?: string[] | undefined;
@@ -192,13 +127,6 @@ export interface FrameworkMappingDetails {
192
127
  Name: string | undefined;
193
128
  Item: string | undefined;
194
129
  }
195
- export declare const ControlRelationType: {
196
- readonly ALTERNATIVE: "ALTERNATIVE";
197
- readonly COMPLEMENTARY: "COMPLEMENTARY";
198
- readonly MUTUALLY_EXCLUSIVE: "MUTUALLY_EXCLUSIVE";
199
- };
200
- export type ControlRelationType =
201
- (typeof ControlRelationType)[keyof typeof ControlRelationType];
202
130
  export interface RelatedControlMappingDetails {
203
131
  ControlArn?: string | undefined;
204
132
  RelationType: ControlRelationType | 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.933.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-controlcatalog",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";