aws-sdk-migrationhubconfig 1.29.0 → 1.31.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ab72934d16fb49a32591faab21bc80f46bbd5a21668afc327552f925092ce163
4
- data.tar.gz: 7e70f21354266c8db37d7ef7a5abeb2a68c2dbf8d58fce3eb38c8680ff417fa2
3
+ metadata.gz: '093740f7e53454efa9c3c85293dc75d6520d68cd17a86c6b75e761e7518d9235'
4
+ data.tar.gz: 2899f710ce089f2c99449e42ef1b604a544a9ce8b539c440e54ac932a1320b7b
5
5
  SHA512:
6
- metadata.gz: 9d5b5538a9d5a754a58eeb6b60aad6677898408e696c672ede4c500bdd980416ed02b98e6cc0161184af6aca651ea4e47e76680caa0f48ebec1c350eb98a4055
7
- data.tar.gz: 6c5d272b2879e35db5f91e424f1358ad82b962d8777446d34bae934e18584b01b7a48d6516abe29aae97709c7f3ba34eb462040e6327fac4e3a5b1cdc22d2026
6
+ metadata.gz: 478e344aa010dcfa06925f5a8889cba3fdc2629c7a28e31a47fdb2967164df6bf64ba0e1ea81ea38db1cceb5fa0120ced22b46ea303e8ca2ab96d023370636ee
7
+ data.tar.gz: 9478c0016223d4704c594e57a1cf9668d6a19b0ad1d6cbba2b103a8f93597684c15ce0ac45b1e50efb595fedbc5e17997be694f292b5994d63cc7fb059a6a952
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.31.0 (2023-11-22)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.30.0 (2023-10-24)
10
+ ------------------
11
+
12
+ * Feature - This release introduces DeleteHomeRegionControl API that customers can use to delete the Migration Hub Home Region configuration
13
+
4
14
  1.29.0 (2023-09-27)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.29.0
1
+ 1.31.0
@@ -443,6 +443,32 @@ module Aws::MigrationHubConfig
443
443
  req.send_request(options)
444
444
  end
445
445
 
446
+ # This operation deletes the home region configuration for the calling
447
+ # account. The operation does not delete discovery or migration tracking
448
+ # data in the home region.
449
+ #
450
+ # @option params [required, String] :control_id
451
+ # A unique identifier that's generated for each home region control.
452
+ # It's always a string that begins with "hrc-" followed by 12
453
+ # lowercase letters and numbers.
454
+ #
455
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
456
+ #
457
+ # @example Request syntax with placeholder values
458
+ #
459
+ # resp = client.delete_home_region_control({
460
+ # control_id: "ControlId", # required
461
+ # })
462
+ #
463
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhub-config-2019-06-30/DeleteHomeRegionControl AWS API Documentation
464
+ #
465
+ # @overload delete_home_region_control(params = {})
466
+ # @param [Hash] params ({})
467
+ def delete_home_region_control(params = {}, options = {})
468
+ req = build_request(:delete_home_region_control, params)
469
+ req.send_request(options)
470
+ end
471
+
446
472
  # This API permits filtering on the `ControlId` and `HomeRegion` fields.
447
473
  #
448
474
  # @option params [String] :control_id
@@ -541,7 +567,7 @@ module Aws::MigrationHubConfig
541
567
  params: params,
542
568
  config: config)
543
569
  context[:gem_name] = 'aws-sdk-migrationhubconfig'
544
- context[:gem_version] = '1.29.0'
570
+ context[:gem_version] = '1.31.0'
545
571
  Seahorse::Client::Request.new(handlers, context)
546
572
  end
547
573
 
@@ -17,6 +17,8 @@ module Aws::MigrationHubConfig
17
17
  ControlId = Shapes::StringShape.new(name: 'ControlId')
18
18
  CreateHomeRegionControlRequest = Shapes::StructureShape.new(name: 'CreateHomeRegionControlRequest')
19
19
  CreateHomeRegionControlResult = Shapes::StructureShape.new(name: 'CreateHomeRegionControlResult')
20
+ DeleteHomeRegionControlRequest = Shapes::StructureShape.new(name: 'DeleteHomeRegionControlRequest')
21
+ DeleteHomeRegionControlResult = Shapes::StructureShape.new(name: 'DeleteHomeRegionControlResult')
20
22
  DescribeHomeRegionControlsMaxResults = Shapes::IntegerShape.new(name: 'DescribeHomeRegionControlsMaxResults')
21
23
  DescribeHomeRegionControlsRequest = Shapes::StructureShape.new(name: 'DescribeHomeRegionControlsRequest')
22
24
  DescribeHomeRegionControlsResult = Shapes::StructureShape.new(name: 'DescribeHomeRegionControlsResult')
@@ -50,6 +52,11 @@ module Aws::MigrationHubConfig
50
52
  CreateHomeRegionControlResult.add_member(:home_region_control, Shapes::ShapeRef.new(shape: HomeRegionControl, location_name: "HomeRegionControl"))
51
53
  CreateHomeRegionControlResult.struct_class = Types::CreateHomeRegionControlResult
52
54
 
55
+ DeleteHomeRegionControlRequest.add_member(:control_id, Shapes::ShapeRef.new(shape: ControlId, required: true, location_name: "ControlId"))
56
+ DeleteHomeRegionControlRequest.struct_class = Types::DeleteHomeRegionControlRequest
57
+
58
+ DeleteHomeRegionControlResult.struct_class = Types::DeleteHomeRegionControlResult
59
+
53
60
  DescribeHomeRegionControlsRequest.add_member(:control_id, Shapes::ShapeRef.new(shape: ControlId, location_name: "ControlId"))
54
61
  DescribeHomeRegionControlsRequest.add_member(:home_region, Shapes::ShapeRef.new(shape: HomeRegion, location_name: "HomeRegion"))
55
62
  DescribeHomeRegionControlsRequest.add_member(:target, Shapes::ShapeRef.new(shape: Target, location_name: "Target"))
@@ -127,6 +134,19 @@ module Aws::MigrationHubConfig
127
134
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
128
135
  end)
129
136
 
137
+ api.add_operation(:delete_home_region_control, Seahorse::Model::Operation.new.tap do |o|
138
+ o.name = "DeleteHomeRegionControl"
139
+ o.http_method = "POST"
140
+ o.http_request_uri = "/"
141
+ o.input = Shapes::ShapeRef.new(shape: DeleteHomeRegionControlRequest)
142
+ o.output = Shapes::ShapeRef.new(shape: DeleteHomeRegionControlResult)
143
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
144
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
145
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
146
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
147
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
148
+ end)
149
+
130
150
  api.add_operation(:describe_home_region_controls, Seahorse::Model::Operation.new.tap do |o|
131
151
  o.name = "DescribeHomeRegionControls"
132
152
  o.http_method = "POST"
@@ -32,7 +32,7 @@ module Aws::MigrationHubConfig
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://migrationhub-config-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -26,6 +26,20 @@ module Aws::MigrationHubConfig
26
26
  end
27
27
  end
28
28
 
29
+ class DeleteHomeRegionControl
30
+ def self.build(context)
31
+ unless context.config.regional_endpoint
32
+ endpoint = context.config.endpoint.to_s
33
+ end
34
+ Aws::MigrationHubConfig::EndpointParameters.new(
35
+ region: context.config.region,
36
+ use_dual_stack: context.config.use_dualstack_endpoint,
37
+ use_fips: context.config.use_fips_endpoint,
38
+ endpoint: endpoint,
39
+ )
40
+ end
41
+ end
42
+
29
43
  class DescribeHomeRegionControls
30
44
  def self.build(context)
31
45
  unless context.config.regional_endpoint
@@ -58,6 +58,8 @@ module Aws::MigrationHubConfig
58
58
  case context.operation_name
59
59
  when :create_home_region_control
60
60
  Aws::MigrationHubConfig::Endpoints::CreateHomeRegionControl.build(context)
61
+ when :delete_home_region_control
62
+ Aws::MigrationHubConfig::Endpoints::DeleteHomeRegionControl.build(context)
61
63
  when :describe_home_region_controls
62
64
  Aws::MigrationHubConfig::Endpoints::DescribeHomeRegionControls.build(context)
63
65
  when :get_home_region
@@ -60,6 +60,24 @@ module Aws::MigrationHubConfig
60
60
  include Aws::Structure
61
61
  end
62
62
 
63
+ # @!attribute [rw] control_id
64
+ # A unique identifier that's generated for each home region control.
65
+ # It's always a string that begins with "hrc-" followed by 12
66
+ # lowercase letters and numbers.
67
+ # @return [String]
68
+ #
69
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhub-config-2019-06-30/DeleteHomeRegionControlRequest AWS API Documentation
70
+ #
71
+ class DeleteHomeRegionControlRequest < Struct.new(
72
+ :control_id)
73
+ SENSITIVE = []
74
+ include Aws::Structure
75
+ end
76
+
77
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhub-config-2019-06-30/DeleteHomeRegionControlResult AWS API Documentation
78
+ #
79
+ class DeleteHomeRegionControlResult < Aws::EmptyStructure; end
80
+
63
81
  # @!attribute [rw] control_id
64
82
  # The `ControlID` is a unique identifier string of your
65
83
  # `HomeRegionControl` object.
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-migrationhubconfig/customizations'
52
52
  # @!group service
53
53
  module Aws::MigrationHubConfig
54
54
 
55
- GEM_VERSION = '1.29.0'
55
+ GEM_VERSION = '1.31.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-migrationhubconfig
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.29.0
4
+ version: 1.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-27 00:00:00.000000000 Z
11
+ date: 2023-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.184.0
22
+ version: 3.188.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.184.0
32
+ version: 3.188.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -80,7 +80,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - ">="
82
82
  - !ruby/object:Gem::Version
83
- version: '2.3'
83
+ version: '2.5'
84
84
  required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - ">="