@aws-sdk/client-controlcatalog 3.930.0 → 3.931.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
@@ -209,6 +209,12 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Contro
209
209
  const MappingType = {
210
210
  COMMON_CONTROL: "COMMON_CONTROL",
211
211
  FRAMEWORK: "FRAMEWORK",
212
+ RELATED_CONTROL: "RELATED_CONTROL",
213
+ };
214
+ const ControlRelationType = {
215
+ ALTERNATIVE: "ALTERNATIVE",
216
+ COMPLEMENTARY: "COMPLEMENTARY",
217
+ MUTUALLY_EXCLUSIVE: "MUTUALLY_EXCLUSIVE",
212
218
  };
213
219
 
214
220
  const _A = "Arn";
@@ -292,7 +298,10 @@ const _OSL = "ObjectiveSummaryList";
292
298
  const _Ob = "Objective";
293
299
  const _P = "Parameters";
294
300
  const _RC = "RegionConfiguration";
301
+ const _RCMD = "RelatedControlMappingDetails";
302
+ const _RCe = "RelatedControl";
295
303
  const _RNFE = "ResourceNotFoundException";
304
+ const _RT = "RelationType";
296
305
  const _S = "Severity";
297
306
  const _Sc = "Scope";
298
307
  const _T = "Type";
@@ -525,6 +534,7 @@ var ObjectiveSummary = [
525
534
  [0, 0, 0, () => AssociatedDomainSummary, 4, 4],
526
535
  ];
527
536
  var RegionConfiguration = [3, n0, _RC, 0, [_Sc, _DR], [0, 64 | 0]];
537
+ var RelatedControlMappingDetails = [3, n0, _RCMD, 0, [_CA, _RT], [0, 0]];
528
538
  var ResourceNotFoundException = [
529
539
  -3,
530
540
  n0,
@@ -576,8 +586,8 @@ var Mapping = [
576
586
  n0,
577
587
  _Ma,
578
588
  0,
579
- [_Fr, _CCo],
580
- [() => FrameworkMappingDetails, () => CommonControlMappingDetails],
589
+ [_Fr, _CCo, _RCe],
590
+ [() => FrameworkMappingDetails, () => CommonControlMappingDetails, () => RelatedControlMappingDetails],
581
591
  ];
582
592
  var GetControl = [
583
593
  9,
@@ -747,6 +757,7 @@ exports.ControlBehavior = ControlBehavior;
747
757
  exports.ControlCatalog = ControlCatalog;
748
758
  exports.ControlCatalogClient = ControlCatalogClient;
749
759
  exports.ControlCatalogServiceException = ControlCatalogServiceException$1;
760
+ exports.ControlRelationType = ControlRelationType;
750
761
  exports.ControlScope = ControlScope;
751
762
  exports.ControlSeverity = ControlSeverity;
752
763
  exports.GetControlCommand = GetControlCommand;
@@ -91,4 +91,10 @@ export class ResourceNotFoundException extends __BaseException {
91
91
  export const MappingType = {
92
92
  COMMON_CONTROL: "COMMON_CONTROL",
93
93
  FRAMEWORK: "FRAMEWORK",
94
+ RELATED_CONTROL: "RELATED_CONTROL",
95
+ };
96
+ export const ControlRelationType = {
97
+ ALTERNATIVE: "ALTERNATIVE",
98
+ COMPLEMENTARY: "COMPLEMENTARY",
99
+ MUTUALLY_EXCLUSIVE: "MUTUALLY_EXCLUSIVE",
94
100
  };
@@ -79,7 +79,10 @@ const _OSL = "ObjectiveSummaryList";
79
79
  const _Ob = "Objective";
80
80
  const _P = "Parameters";
81
81
  const _RC = "RegionConfiguration";
82
+ const _RCMD = "RelatedControlMappingDetails";
83
+ const _RCe = "RelatedControl";
82
84
  const _RNFE = "ResourceNotFoundException";
85
+ const _RT = "RelationType";
83
86
  const _S = "Severity";
84
87
  const _Sc = "Scope";
85
88
  const _T = "Type";
@@ -315,6 +318,7 @@ export var ObjectiveSummary = [
315
318
  [0, 0, 0, () => AssociatedDomainSummary, 4, 4],
316
319
  ];
317
320
  export var RegionConfiguration = [3, n0, _RC, 0, [_Sc, _DR], [0, 64 | 0]];
321
+ export var RelatedControlMappingDetails = [3, n0, _RCMD, 0, [_CA, _RT], [0, 0]];
318
322
  export var ResourceNotFoundException = [
319
323
  -3,
320
324
  n0,
@@ -375,8 +379,8 @@ export var Mapping = [
375
379
  n0,
376
380
  _Ma,
377
381
  0,
378
- [_Fr, _CCo],
379
- [() => FrameworkMappingDetails, () => CommonControlMappingDetails],
382
+ [_Fr, _CCo, _RCe],
383
+ [() => FrameworkMappingDetails, () => CommonControlMappingDetails, () => RelatedControlMappingDetails],
380
384
  ];
381
385
  export var GetControl = [
382
386
  9,
@@ -47,7 +47,7 @@ declare const ListControlMappingsCommand_base: {
47
47
  * "STRING_VALUE",
48
48
  * ],
49
49
  * MappingTypes: [ // MappingTypeFilterList
50
- * "FRAMEWORK" || "COMMON_CONTROL",
50
+ * "FRAMEWORK" || "COMMON_CONTROL" || "RELATED_CONTROL",
51
51
  * ],
52
52
  * },
53
53
  * };
@@ -57,7 +57,7 @@ declare const ListControlMappingsCommand_base: {
57
57
  * // ControlMappings: [ // ControlMappings // required
58
58
  * // { // ControlMapping
59
59
  * // ControlArn: "STRING_VALUE", // required
60
- * // MappingType: "FRAMEWORK" || "COMMON_CONTROL", // required
60
+ * // MappingType: "FRAMEWORK" || "COMMON_CONTROL" || "RELATED_CONTROL", // required
61
61
  * // Mapping: { // Mapping Union: only one key present
62
62
  * // Framework: { // FrameworkMappingDetails
63
63
  * // Name: "STRING_VALUE", // required
@@ -66,6 +66,10 @@ declare const ListControlMappingsCommand_base: {
66
66
  * // CommonControl: { // CommonControlMappingDetails
67
67
  * // CommonControlArn: "STRING_VALUE", // required
68
68
  * // },
69
+ * // RelatedControl: { // RelatedControlMappingDetails
70
+ * // ControlArn: "STRING_VALUE",
71
+ * // RelationType: "COMPLEMENTARY" || "ALTERNATIVE" || "MUTUALLY_EXCLUSIVE", // required
72
+ * // },
69
73
  * // },
70
74
  * // },
71
75
  * // ],
@@ -559,6 +559,7 @@ export interface ListDomainsResponse {
559
559
  export declare const MappingType: {
560
560
  readonly COMMON_CONTROL: "COMMON_CONTROL";
561
561
  readonly FRAMEWORK: "FRAMEWORK";
562
+ readonly RELATED_CONTROL: "RELATED_CONTROL";
562
563
  };
563
564
  /**
564
565
  * @public
@@ -621,11 +622,40 @@ export interface FrameworkMappingDetails {
621
622
  */
622
623
  Item: string | undefined;
623
624
  }
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
+ /**
639
+ * <p>A structure that describes a control's relationship status with other controls.</p>
640
+ * @public
641
+ */
642
+ export interface RelatedControlMappingDetails {
643
+ /**
644
+ * <p>The unique identifier of a control.</p>
645
+ * @public
646
+ */
647
+ ControlArn?: string | undefined;
648
+ /**
649
+ * <p>Returns an enumerated value that represents the relationship between two or more controls.</p>
650
+ * @public
651
+ */
652
+ RelationType: ControlRelationType | undefined;
653
+ }
624
654
  /**
625
655
  * <p>A structure that contains the details of a mapping relationship, which can be either to a framework or to a common control.</p>
626
656
  * @public
627
657
  */
628
- export type Mapping = Mapping.CommonControlMember | Mapping.FrameworkMember | Mapping.$UnknownMember;
658
+ export type Mapping = Mapping.CommonControlMember | Mapping.FrameworkMember | Mapping.RelatedControlMember | Mapping.$UnknownMember;
629
659
  /**
630
660
  * @public
631
661
  */
@@ -637,6 +667,7 @@ export declare namespace Mapping {
637
667
  interface FrameworkMember {
638
668
  Framework: FrameworkMappingDetails;
639
669
  CommonControl?: never;
670
+ RelatedControl?: never;
640
671
  $unknown?: never;
641
672
  }
642
673
  /**
@@ -646,6 +677,17 @@ export declare namespace Mapping {
646
677
  interface CommonControlMember {
647
678
  Framework?: never;
648
679
  CommonControl: CommonControlMappingDetails;
680
+ RelatedControl?: never;
681
+ $unknown?: never;
682
+ }
683
+ /**
684
+ * <p>Returns information about controls that are related to the specified control.</p>
685
+ * @public
686
+ */
687
+ interface RelatedControlMember {
688
+ Framework?: never;
689
+ CommonControl?: never;
690
+ RelatedControl: RelatedControlMappingDetails;
649
691
  $unknown?: never;
650
692
  }
651
693
  /**
@@ -654,6 +696,7 @@ export declare namespace Mapping {
654
696
  interface $UnknownMember {
655
697
  Framework?: never;
656
698
  CommonControl?: never;
699
+ RelatedControl?: never;
657
700
  $unknown: [string, any];
658
701
  }
659
702
  /**
@@ -663,6 +706,7 @@ export declare namespace Mapping {
663
706
  interface Visitor<T> {
664
707
  Framework: (value: FrameworkMappingDetails) => T;
665
708
  CommonControl: (value: CommonControlMappingDetails) => T;
709
+ RelatedControl: (value: RelatedControlMappingDetails) => T;
666
710
  _: (name: string, value: any) => T;
667
711
  }
668
712
  }
@@ -677,12 +721,12 @@ export interface ControlMapping {
677
721
  */
678
722
  ControlArn: string | undefined;
679
723
  /**
680
- * <p>The type of mapping relationship between the control and other entities. Indicates whether the mapping is to a framework or common control.</p>
724
+ * <p>The type of mapping relationship between the control and other entities.</p>
681
725
  * @public
682
726
  */
683
727
  MappingType: MappingType | undefined;
684
728
  /**
685
- * <p>The details of the mapping relationship, containing either framework or common control information.</p>
729
+ * <p>The details of the mapping relationship, for example, containing framework, common control, or related control information.</p>
686
730
  * @public
687
731
  */
688
732
  Mapping: Mapping | undefined;
@@ -33,6 +33,7 @@ export declare var ObjectiveFilter: StaticStructureSchema;
33
33
  export declare var ObjectiveResourceFilter: StaticStructureSchema;
34
34
  export declare var ObjectiveSummary: StaticStructureSchema;
35
35
  export declare var RegionConfiguration: StaticStructureSchema;
36
+ export declare var RelatedControlMappingDetails: StaticStructureSchema;
36
37
  export declare var ResourceNotFoundException: StaticErrorSchema;
37
38
  export declare var ThrottlingException: StaticErrorSchema;
38
39
  export declare var ValidationException: StaticErrorSchema;
@@ -175,6 +175,7 @@ export interface ListDomainsResponse {
175
175
  export declare const MappingType: {
176
176
  readonly COMMON_CONTROL: "COMMON_CONTROL";
177
177
  readonly FRAMEWORK: "FRAMEWORK";
178
+ readonly RELATED_CONTROL: "RELATED_CONTROL";
178
179
  };
179
180
  export type MappingType = (typeof MappingType)[keyof typeof MappingType];
180
181
  export interface ControlMappingFilter {
@@ -191,29 +192,51 @@ export interface FrameworkMappingDetails {
191
192
  Name: string | undefined;
192
193
  Item: string | undefined;
193
194
  }
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
+ export interface RelatedControlMappingDetails {
203
+ ControlArn?: string | undefined;
204
+ RelationType: ControlRelationType | undefined;
205
+ }
194
206
  export type Mapping =
195
207
  | Mapping.CommonControlMember
196
208
  | Mapping.FrameworkMember
209
+ | Mapping.RelatedControlMember
197
210
  | Mapping.$UnknownMember;
198
211
  export declare namespace Mapping {
199
212
  interface FrameworkMember {
200
213
  Framework: FrameworkMappingDetails;
201
214
  CommonControl?: never;
215
+ RelatedControl?: never;
202
216
  $unknown?: never;
203
217
  }
204
218
  interface CommonControlMember {
205
219
  Framework?: never;
206
220
  CommonControl: CommonControlMappingDetails;
221
+ RelatedControl?: never;
222
+ $unknown?: never;
223
+ }
224
+ interface RelatedControlMember {
225
+ Framework?: never;
226
+ CommonControl?: never;
227
+ RelatedControl: RelatedControlMappingDetails;
207
228
  $unknown?: never;
208
229
  }
209
230
  interface $UnknownMember {
210
231
  Framework?: never;
211
232
  CommonControl?: never;
233
+ RelatedControl?: never;
212
234
  $unknown: [string, any];
213
235
  }
214
236
  interface Visitor<T> {
215
237
  Framework: (value: FrameworkMappingDetails) => T;
216
238
  CommonControl: (value: CommonControlMappingDetails) => T;
239
+ RelatedControl: (value: RelatedControlMappingDetails) => T;
217
240
  _: (name: string, value: any) => T;
218
241
  }
219
242
  }
@@ -38,6 +38,7 @@ export declare var ObjectiveFilter: StaticStructureSchema;
38
38
  export declare var ObjectiveResourceFilter: StaticStructureSchema;
39
39
  export declare var ObjectiveSummary: StaticStructureSchema;
40
40
  export declare var RegionConfiguration: StaticStructureSchema;
41
+ export declare var RelatedControlMappingDetails: StaticStructureSchema;
41
42
  export declare var ResourceNotFoundException: StaticErrorSchema;
42
43
  export declare var ThrottlingException: StaticErrorSchema;
43
44
  export declare var ValidationException: StaticErrorSchema;
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.930.0",
4
+ "version": "3.931.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,17 +20,17 @@
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.930.0",
24
- "@aws-sdk/credential-provider-node": "3.930.0",
23
+ "@aws-sdk/core": "3.931.0",
24
+ "@aws-sdk/credential-provider-node": "3.931.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.930.0",
28
- "@aws-sdk/middleware-user-agent": "3.930.0",
28
+ "@aws-sdk/middleware-user-agent": "3.931.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.930.0",
33
+ "@aws-sdk/util-user-agent-node": "3.931.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
35
  "@smithy/core": "^3.18.2",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",