aws-sdk-migrationhubconfig 1.28.0 → 1.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-migrationhubconfig/client.rb +27 -1
- data/lib/aws-sdk-migrationhubconfig/client_api.rb +20 -0
- data/lib/aws-sdk-migrationhubconfig/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-migrationhubconfig/endpoints.rb +14 -0
- data/lib/aws-sdk-migrationhubconfig/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-migrationhubconfig/types.rb +18 -0
- data/lib/aws-sdk-migrationhubconfig.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 473ffef5fdd6c7f7abd8caccb374a164f457ff03aa352f363b3723377961709a
|
4
|
+
data.tar.gz: be7a23cdedfb5bf91522d7a843e29cedb83c446d1c1f27003ca73880b7f7c27b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04ecdf85cb41d377cd7338aac5435908853caf5cf1db31d6eb4640ca68cb1d980a1349fc4825a963556ff201f82d31fde4f2cefb4cc3aeabb68526e5baded61d
|
7
|
+
data.tar.gz: 775e006568f4b781910478413244da44e90064e057cf0c3e8a1228549c5896b18ec305a5b4be258c561104d76e8bb8d1681612e65cef709f0dd31c407bc5b190
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.30.0 (2023-10-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release introduces DeleteHomeRegionControl API that customers can use to delete the Migration Hub Home Region configuration
|
8
|
+
|
9
|
+
1.29.0 (2023-09-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.28.0 (2023-09-19)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.30.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.
|
570
|
+
context[:gem_version] = '1.30.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?(
|
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.
|
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.
|
4
|
+
version: 1.30.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-
|
11
|
+
date: 2023-10-24 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.
|
22
|
+
version: 3.184.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.
|
32
|
+
version: 3.184.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|