aws-sdk-controlcatalog 1.32.0 → 1.33.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b6b57aec16e2b9f8a4c539c72e464e13805b44ceadedee966797028aa67899e6
4
- data.tar.gz: 52d24102347cd215bad82f2d5fe39778ea56b8802a5f4cbcc353bb2f319ec4ea
3
+ metadata.gz: df00c1db75f1b5007b539aaaeb8a6408f966f336a72fb05190b143beb4f96c28
4
+ data.tar.gz: 5d294283de2a25597d25580997e1e292ddd0576a13af714ffb8271db7a058200
5
5
  SHA512:
6
- metadata.gz: 6d3e9b31aa05dd8b8ee192d75f1b29d23ffb157c4652641b7f2dce5c2ab540a35374bc01f7ad5a72472ea8953f67d4c2b4b25d74fac31330795e48069b9d45a0
7
- data.tar.gz: 01d96c4b9fc4f2d1f7b22ae1ce51d8df9b807241876c428f443ee33199d1f652efa1b68ea1ba81cce3b07dc573bd7e212530b3b355e3721e5d9f47574381d80a
6
+ metadata.gz: ac8ebf37d44c84591fa125865f41ce8be5c3c9ef96dd7c03e79ee65ecdd984430bce305321064f847a8564dae036f31e04f1a1921c1dc5c4206c7ff8f7d971e5
7
+ data.tar.gz: d2b81515c6cb390e50e5ebdcc888c54c981725773a2cbbe6aa32da5ef43a668387c84ed93e36929ca591b237030fb5b6bf45a7a1ca716e2e6ba8ee0d060f001f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.33.0 (2025-11-13)
5
+ ------------------
6
+
7
+ * Feature - Added support for related control mappings with new RELATED_CONTROL mapping type in ListControlMappings API.
8
+
4
9
  1.32.0 (2025-10-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.32.0
1
+ 1.33.0
@@ -646,7 +646,7 @@ module Aws::ControlCatalog
646
646
  # filter: {
647
647
  # control_arns: ["ControlArn"],
648
648
  # common_control_arns: ["CommonControlArn"],
649
- # mapping_types: ["FRAMEWORK"], # accepts FRAMEWORK, COMMON_CONTROL
649
+ # mapping_types: ["FRAMEWORK"], # accepts FRAMEWORK, COMMON_CONTROL, RELATED_CONTROL
650
650
  # },
651
651
  # })
652
652
  #
@@ -654,10 +654,12 @@ module Aws::ControlCatalog
654
654
  #
655
655
  # resp.control_mappings #=> Array
656
656
  # resp.control_mappings[0].control_arn #=> String
657
- # resp.control_mappings[0].mapping_type #=> String, one of "FRAMEWORK", "COMMON_CONTROL"
657
+ # resp.control_mappings[0].mapping_type #=> String, one of "FRAMEWORK", "COMMON_CONTROL", "RELATED_CONTROL"
658
658
  # resp.control_mappings[0].mapping.framework.name #=> String
659
659
  # resp.control_mappings[0].mapping.framework.item #=> String
660
660
  # resp.control_mappings[0].mapping.common_control.common_control_arn #=> String
661
+ # resp.control_mappings[0].mapping.related_control.control_arn #=> String
662
+ # resp.control_mappings[0].mapping.related_control.relation_type #=> String, one of "COMPLEMENTARY", "ALTERNATIVE", "MUTUALLY_EXCLUSIVE"
661
663
  # resp.next_token #=> String
662
664
  #
663
665
  # @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/ListControlMappings AWS API Documentation
@@ -851,7 +853,7 @@ module Aws::ControlCatalog
851
853
  tracer: tracer
852
854
  )
853
855
  context[:gem_name] = 'aws-sdk-controlcatalog'
854
- context[:gem_version] = '1.32.0'
856
+ context[:gem_version] = '1.33.0'
855
857
  Seahorse::Client::Request.new(handlers, context)
856
858
  end
857
859
 
@@ -34,6 +34,7 @@ module Aws::ControlCatalog
34
34
  ControlMappings = Shapes::ListShape.new(name: 'ControlMappings')
35
35
  ControlParameter = Shapes::StructureShape.new(name: 'ControlParameter')
36
36
  ControlParameters = Shapes::ListShape.new(name: 'ControlParameters')
37
+ ControlRelationType = Shapes::StringShape.new(name: 'ControlRelationType')
37
38
  ControlScope = Shapes::StringShape.new(name: 'ControlScope')
38
39
  ControlSeverity = Shapes::StringShape.new(name: 'ControlSeverity')
39
40
  ControlSummary = Shapes::StructureShape.new(name: 'ControlSummary')
@@ -86,6 +87,7 @@ module Aws::ControlCatalog
86
87
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
87
88
  RegionCode = Shapes::StringShape.new(name: 'RegionCode')
88
89
  RegionConfiguration = Shapes::StructureShape.new(name: 'RegionConfiguration')
90
+ RelatedControlMappingDetails = Shapes::StructureShape.new(name: 'RelatedControlMappingDetails')
89
91
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
90
92
  String = Shapes::StringShape.new(name: 'String')
91
93
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
@@ -262,9 +264,11 @@ module Aws::ControlCatalog
262
264
 
263
265
  Mapping.add_member(:framework, Shapes::ShapeRef.new(shape: FrameworkMappingDetails, location_name: "Framework"))
264
266
  Mapping.add_member(:common_control, Shapes::ShapeRef.new(shape: CommonControlMappingDetails, location_name: "CommonControl"))
267
+ Mapping.add_member(:related_control, Shapes::ShapeRef.new(shape: RelatedControlMappingDetails, location_name: "RelatedControl"))
265
268
  Mapping.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
266
269
  Mapping.add_member_subclass(:framework, Types::Mapping::Framework)
267
270
  Mapping.add_member_subclass(:common_control, Types::Mapping::CommonControl)
271
+ Mapping.add_member_subclass(:related_control, Types::Mapping::RelatedControl)
268
272
  Mapping.add_member_subclass(:unknown, Types::Mapping::Unknown)
269
273
  Mapping.struct_class = Types::Mapping
270
274
 
@@ -292,6 +296,10 @@ module Aws::ControlCatalog
292
296
  RegionConfiguration.add_member(:deployable_regions, Shapes::ShapeRef.new(shape: DeployableRegions, location_name: "DeployableRegions"))
293
297
  RegionConfiguration.struct_class = Types::RegionConfiguration
294
298
 
299
+ RelatedControlMappingDetails.add_member(:control_arn, Shapes::ShapeRef.new(shape: ControlArn, location_name: "ControlArn"))
300
+ RelatedControlMappingDetails.add_member(:relation_type, Shapes::ShapeRef.new(shape: ControlRelationType, required: true, location_name: "RelationType"))
301
+ RelatedControlMappingDetails.struct_class = Types::RelatedControlMappingDetails
302
+
295
303
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
296
304
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
297
305
 
@@ -169,13 +169,12 @@ module Aws::ControlCatalog
169
169
  #
170
170
  # @!attribute [rw] mapping_type
171
171
  # The type of mapping relationship between the control and other
172
- # entities. Indicates whether the mapping is to a framework or common
173
- # control.
172
+ # entities.
174
173
  # @return [String]
175
174
  #
176
175
  # @!attribute [rw] mapping
177
- # The details of the mapping relationship, containing either framework
178
- # or common control information.
176
+ # The details of the mapping relationship, for example, containing
177
+ # framework, common control, or related control information.
179
178
  # @return [Types::Mapping]
180
179
  #
181
180
  # @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/ControlMapping AWS API Documentation
@@ -879,11 +878,17 @@ module Aws::ControlCatalog
879
878
  # a common control.
880
879
  # @return [Types::CommonControlMappingDetails]
881
880
  #
881
+ # @!attribute [rw] related_control
882
+ # Returns information about controls that are related to the specified
883
+ # control.
884
+ # @return [Types::RelatedControlMappingDetails]
885
+ #
882
886
  # @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/Mapping AWS API Documentation
883
887
  #
884
888
  class Mapping < Struct.new(
885
889
  :framework,
886
890
  :common_control,
891
+ :related_control,
887
892
  :unknown)
888
893
  SENSITIVE = []
889
894
  include Aws::Structure
@@ -891,6 +896,7 @@ module Aws::ControlCatalog
891
896
 
892
897
  class Framework < Mapping; end
893
898
  class CommonControl < Mapping; end
899
+ class RelatedControl < Mapping; end
894
900
  class Unknown < Mapping; end
895
901
  end
896
902
 
@@ -1010,6 +1016,27 @@ module Aws::ControlCatalog
1010
1016
  include Aws::Structure
1011
1017
  end
1012
1018
 
1019
+ # A structure that describes a control's relationship status with other
1020
+ # controls.
1021
+ #
1022
+ # @!attribute [rw] control_arn
1023
+ # The unique identifier of a control.
1024
+ # @return [String]
1025
+ #
1026
+ # @!attribute [rw] relation_type
1027
+ # Returns an enumerated value that represents the relationship between
1028
+ # two or more controls.
1029
+ # @return [String]
1030
+ #
1031
+ # @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/RelatedControlMappingDetails AWS API Documentation
1032
+ #
1033
+ class RelatedControlMappingDetails < Struct.new(
1034
+ :control_arn,
1035
+ :relation_type)
1036
+ SENSITIVE = []
1037
+ include Aws::Structure
1038
+ end
1039
+
1013
1040
  # The requested resource does not exist.
1014
1041
  #
1015
1042
  # @!attribute [rw] message
@@ -55,7 +55,7 @@ module Aws::ControlCatalog
55
55
  autoload :EndpointProvider, 'aws-sdk-controlcatalog/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-controlcatalog/endpoints'
57
57
 
58
- GEM_VERSION = '1.32.0'
58
+ GEM_VERSION = '1.33.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -129,7 +129,7 @@ module Aws
129
129
  ?filter: {
130
130
  control_arns: Array[::String]?,
131
131
  common_control_arns: Array[::String]?,
132
- mapping_types: Array[("FRAMEWORK" | "COMMON_CONTROL")]?
132
+ mapping_types: Array[("FRAMEWORK" | "COMMON_CONTROL" | "RELATED_CONTROL")]?
133
133
  }
134
134
  ) -> _ListControlMappingsResponseSuccess
135
135
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListControlMappingsResponseSuccess
data/sig/types.rbs CHANGED
@@ -53,7 +53,7 @@ module Aws::ControlCatalog
53
53
 
54
54
  class ControlMapping
55
55
  attr_accessor control_arn: ::String
56
- attr_accessor mapping_type: ("FRAMEWORK" | "COMMON_CONTROL")
56
+ attr_accessor mapping_type: ("FRAMEWORK" | "COMMON_CONTROL" | "RELATED_CONTROL")
57
57
  attr_accessor mapping: Types::Mapping
58
58
  SENSITIVE: []
59
59
  end
@@ -61,7 +61,7 @@ module Aws::ControlCatalog
61
61
  class ControlMappingFilter
62
62
  attr_accessor control_arns: ::Array[::String]
63
63
  attr_accessor common_control_arns: ::Array[::String]
64
- attr_accessor mapping_types: ::Array[("FRAMEWORK" | "COMMON_CONTROL")]
64
+ attr_accessor mapping_types: ::Array[("FRAMEWORK" | "COMMON_CONTROL" | "RELATED_CONTROL")]
65
65
  SENSITIVE: []
66
66
  end
67
67
 
@@ -213,6 +213,7 @@ module Aws::ControlCatalog
213
213
  class Mapping
214
214
  attr_accessor framework: Types::FrameworkMappingDetails
215
215
  attr_accessor common_control: Types::CommonControlMappingDetails
216
+ attr_accessor related_control: Types::RelatedControlMappingDetails
216
217
  attr_accessor unknown: untyped
217
218
  SENSITIVE: []
218
219
 
@@ -220,6 +221,8 @@ module Aws::ControlCatalog
220
221
  end
221
222
  class CommonControl < Mapping
222
223
  end
224
+ class RelatedControl < Mapping
225
+ end
223
226
  class Unknown < Mapping
224
227
  end
225
228
  end
@@ -250,6 +253,12 @@ module Aws::ControlCatalog
250
253
  SENSITIVE: []
251
254
  end
252
255
 
256
+ class RelatedControlMappingDetails
257
+ attr_accessor control_arn: ::String
258
+ attr_accessor relation_type: ("COMPLEMENTARY" | "ALTERNATIVE" | "MUTUALLY_EXCLUSIVE")
259
+ SENSITIVE: []
260
+ end
261
+
253
262
  class ResourceNotFoundException
254
263
  attr_accessor message: ::String
255
264
  SENSITIVE: []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-controlcatalog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.32.0
4
+ version: 1.33.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services