@aws-sdk/client-controlcatalog 3.929.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,17 +209,13 @@ 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
- exports.Mapping = void 0;
214
- (function (Mapping) {
215
- Mapping.visit = (value, visitor) => {
216
- if (value.Framework !== undefined)
217
- return visitor.Framework(value.Framework);
218
- if (value.CommonControl !== undefined)
219
- return visitor.CommonControl(value.CommonControl);
220
- return visitor._(value.$unknown[0], value.$unknown[1]);
221
- };
222
- })(exports.Mapping || (exports.Mapping = {}));
223
219
 
224
220
  const _A = "Arn";
225
221
  const _ADE = "AccessDeniedException";
@@ -302,7 +298,10 @@ const _OSL = "ObjectiveSummaryList";
302
298
  const _Ob = "Objective";
303
299
  const _P = "Parameters";
304
300
  const _RC = "RegionConfiguration";
301
+ const _RCMD = "RelatedControlMappingDetails";
302
+ const _RCe = "RelatedControl";
305
303
  const _RNFE = "ResourceNotFoundException";
304
+ const _RT = "RelationType";
306
305
  const _S = "Severity";
307
306
  const _Sc = "Scope";
308
307
  const _T = "Type";
@@ -535,6 +534,7 @@ var ObjectiveSummary = [
535
534
  [0, 0, 0, () => AssociatedDomainSummary, 4, 4],
536
535
  ];
537
536
  var RegionConfiguration = [3, n0, _RC, 0, [_Sc, _DR], [0, 64 | 0]];
537
+ var RelatedControlMappingDetails = [3, n0, _RCMD, 0, [_CA, _RT], [0, 0]];
538
538
  var ResourceNotFoundException = [
539
539
  -3,
540
540
  n0,
@@ -586,8 +586,8 @@ var Mapping = [
586
586
  n0,
587
587
  _Ma,
588
588
  0,
589
- [_Fr, _CCo],
590
- [() => FrameworkMappingDetails, () => CommonControlMappingDetails],
589
+ [_Fr, _CCo, _RCe],
590
+ [() => FrameworkMappingDetails, () => CommonControlMappingDetails, () => RelatedControlMappingDetails],
591
591
  ];
592
592
  var GetControl = [
593
593
  9,
@@ -757,6 +757,7 @@ exports.ControlBehavior = ControlBehavior;
757
757
  exports.ControlCatalog = ControlCatalog;
758
758
  exports.ControlCatalogClient = ControlCatalogClient;
759
759
  exports.ControlCatalogServiceException = ControlCatalogServiceException$1;
760
+ exports.ControlRelationType = ControlRelationType;
760
761
  exports.ControlScope = ControlScope;
761
762
  exports.ControlSeverity = ControlSeverity;
762
763
  exports.GetControlCommand = GetControlCommand;
@@ -91,14 +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
  };
95
- export var Mapping;
96
- (function (Mapping) {
97
- Mapping.visit = (value, visitor) => {
98
- if (value.Framework !== undefined)
99
- return visitor.Framework(value.Framework);
100
- if (value.CommonControl !== undefined)
101
- return visitor.CommonControl(value.CommonControl);
102
- return visitor._(value.$unknown[0], value.$unknown[1]);
103
- };
104
- })(Mapping || (Mapping = {}));
@@ -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,14 +696,19 @@ 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
  }
702
+ /**
703
+ * @deprecated unused in schema-serde mode.
704
+ *
705
+ */
659
706
  interface Visitor<T> {
660
707
  Framework: (value: FrameworkMappingDetails) => T;
661
708
  CommonControl: (value: CommonControlMappingDetails) => T;
709
+ RelatedControl: (value: RelatedControlMappingDetails) => T;
662
710
  _: (name: string, value: any) => T;
663
711
  }
664
- const visit: <T>(value: Mapping, visitor: Visitor<T>) => T;
665
712
  }
666
713
  /**
667
714
  * <p>A structure that contains information about a control mapping, including the control ARN, mapping type, and mapping details.</p>
@@ -674,12 +721,12 @@ export interface ControlMapping {
674
721
  */
675
722
  ControlArn: string | undefined;
676
723
  /**
677
- * <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>
678
725
  * @public
679
726
  */
680
727
  MappingType: MappingType | undefined;
681
728
  /**
682
- * <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>
683
730
  * @public
684
731
  */
685
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,32 +192,53 @@ 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
- const visit: <T>(value: Mapping, visitor: Visitor<T>) => T;
220
242
  }
221
243
  export interface ControlMapping {
222
244
  ControlArn: string | undefined;
@@ -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.929.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,41 +20,41 @@
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.928.0",
24
- "@aws-sdk/credential-provider-node": "3.929.0",
25
- "@aws-sdk/middleware-host-header": "3.922.0",
26
- "@aws-sdk/middleware-logger": "3.922.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.928.0",
29
- "@aws-sdk/region-config-resolver": "3.925.0",
30
- "@aws-sdk/types": "3.922.0",
31
- "@aws-sdk/util-endpoints": "3.922.0",
32
- "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.928.0",
34
- "@smithy/config-resolver": "^4.4.2",
35
- "@smithy/core": "^3.17.2",
36
- "@smithy/fetch-http-handler": "^5.3.5",
37
- "@smithy/hash-node": "^4.2.4",
38
- "@smithy/invalid-dependency": "^4.2.4",
39
- "@smithy/middleware-content-length": "^4.2.4",
40
- "@smithy/middleware-endpoint": "^4.3.6",
41
- "@smithy/middleware-retry": "^4.4.6",
42
- "@smithy/middleware-serde": "^4.2.4",
43
- "@smithy/middleware-stack": "^4.2.4",
44
- "@smithy/node-config-provider": "^4.3.4",
45
- "@smithy/node-http-handler": "^4.4.4",
46
- "@smithy/protocol-http": "^5.3.4",
47
- "@smithy/smithy-client": "^4.9.2",
48
- "@smithy/types": "^4.8.1",
49
- "@smithy/url-parser": "^4.2.4",
23
+ "@aws-sdk/core": "3.931.0",
24
+ "@aws-sdk/credential-provider-node": "3.931.0",
25
+ "@aws-sdk/middleware-host-header": "3.930.0",
26
+ "@aws-sdk/middleware-logger": "3.930.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
28
+ "@aws-sdk/middleware-user-agent": "3.931.0",
29
+ "@aws-sdk/region-config-resolver": "3.930.0",
30
+ "@aws-sdk/types": "3.930.0",
31
+ "@aws-sdk/util-endpoints": "3.930.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
33
+ "@aws-sdk/util-user-agent-node": "3.931.0",
34
+ "@smithy/config-resolver": "^4.4.3",
35
+ "@smithy/core": "^3.18.2",
36
+ "@smithy/fetch-http-handler": "^5.3.6",
37
+ "@smithy/hash-node": "^4.2.5",
38
+ "@smithy/invalid-dependency": "^4.2.5",
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",
43
+ "@smithy/middleware-stack": "^4.2.5",
44
+ "@smithy/node-config-provider": "^4.3.5",
45
+ "@smithy/node-http-handler": "^4.4.5",
46
+ "@smithy/protocol-http": "^5.3.5",
47
+ "@smithy/smithy-client": "^4.9.5",
48
+ "@smithy/types": "^4.9.0",
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.5",
54
- "@smithy/util-defaults-mode-node": "^4.2.8",
55
- "@smithy/util-endpoints": "^3.2.4",
56
- "@smithy/util-middleware": "^4.2.4",
57
- "@smithy/util-retry": "^4.2.4",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
54
+ "@smithy/util-defaults-mode-node": "^4.2.11",
55
+ "@smithy/util-endpoints": "^3.2.5",
56
+ "@smithy/util-middleware": "^4.2.5",
57
+ "@smithy/util-retry": "^4.2.5",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
59
  "tslib": "^2.6.2"
60
60
  },