aws-sdk-migrationhubstrategyrecommendations 1.7.0 → 1.8.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb +6 -6
- data/lib/aws-sdk-migrationhubstrategyrecommendations/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-migrationhubstrategyrecommendations/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-migrationhubstrategyrecommendations.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c1b1ef8217734cf55bfb9b1a3c81da0812ce7cd658ce973147b7c53dd571f91
|
4
|
+
data.tar.gz: 7830e4756820c034252a981c92d959a26c84c7e70c280462dfe40f2e449acc20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79f086b5faeb38cbaaa9a91f082180aff7fb39674481724920b42b03461c74b57d6521b071767b6496d724b03250ad6dd7fe47c65ec624faab6a2e3a51e618ba
|
7
|
+
data.tar.gz: 9d9e1158a85a9d31da1951bfb08b13baab770cac1fb171c7ac9e17b46fe33e7d7e37831575319faf4813bd976ba8960aeff38f76cb974bc8c3f40f6a63e5de57
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.8.0 (2023-03-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release updates the File Import API to allow importing servers already discovered by customers with reduced pre-requisites.
|
8
|
+
|
4
9
|
1.7.0 (2023-01-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.8.0
|
@@ -866,7 +866,7 @@ module Aws::MigrationHubStrategyRecommendations
|
|
866
866
|
# filter_value: "ListApplicationComponentsRequestFilterValueString",
|
867
867
|
# group_id_filter: [
|
868
868
|
# {
|
869
|
-
# name: "ExternalId", # accepts ExternalId
|
869
|
+
# name: "ExternalId", # accepts ExternalId, ExternalSourceType
|
870
870
|
# value: "String",
|
871
871
|
# },
|
872
872
|
# ],
|
@@ -1077,7 +1077,7 @@ module Aws::MigrationHubStrategyRecommendations
|
|
1077
1077
|
# filter_value: "String",
|
1078
1078
|
# group_id_filter: [
|
1079
1079
|
# {
|
1080
|
-
# name: "ExternalId", # accepts ExternalId
|
1080
|
+
# name: "ExternalId", # accepts ExternalId, ExternalSourceType
|
1081
1081
|
# value: "String",
|
1082
1082
|
# },
|
1083
1083
|
# ],
|
@@ -1276,10 +1276,10 @@ module Aws::MigrationHubStrategyRecommendations
|
|
1276
1276
|
#
|
1277
1277
|
# resp = client.start_import_file_task({
|
1278
1278
|
# s3_bucket: "importS3Bucket", # required
|
1279
|
-
# data_source_type: "ApplicationDiscoveryService", # accepts ApplicationDiscoveryService, MPA
|
1279
|
+
# data_source_type: "ApplicationDiscoveryService", # accepts ApplicationDiscoveryService, MPA, Import
|
1280
1280
|
# group_id: [
|
1281
1281
|
# {
|
1282
|
-
# name: "ExternalId", # accepts ExternalId
|
1282
|
+
# name: "ExternalId", # accepts ExternalId, ExternalSourceType
|
1283
1283
|
# value: "String",
|
1284
1284
|
# },
|
1285
1285
|
# ],
|
@@ -1319,7 +1319,7 @@ module Aws::MigrationHubStrategyRecommendations
|
|
1319
1319
|
# resp = client.start_recommendation_report_generation({
|
1320
1320
|
# group_id_filter: [
|
1321
1321
|
# {
|
1322
|
-
# name: "ExternalId", # accepts ExternalId
|
1322
|
+
# name: "ExternalId", # accepts ExternalId, ExternalSourceType
|
1323
1323
|
# value: "String",
|
1324
1324
|
# },
|
1325
1325
|
# ],
|
@@ -1471,7 +1471,7 @@ module Aws::MigrationHubStrategyRecommendations
|
|
1471
1471
|
params: params,
|
1472
1472
|
config: config)
|
1473
1473
|
context[:gem_name] = 'aws-sdk-migrationhubstrategyrecommendations'
|
1474
|
-
context[:gem_version] = '1.
|
1474
|
+
context[:gem_version] = '1.8.0'
|
1475
1475
|
Seahorse::Client::Request.new(handlers, context)
|
1476
1476
|
end
|
1477
1477
|
|
@@ -50,9 +50,6 @@ module Aws::MigrationHubStrategyRecommendations
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,36 +14,39 @@ module Aws::MigrationHubStrategyRecommendations
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://migrationhub-strategy-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://migrationhub-strategy-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://migrationhub-strategy-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
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"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://migrationhub-strategy-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://migrationhub-strategy.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://migrationhub-strategy.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://migrationhub-strategy.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-migrationhubstrategyrecommendations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.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-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|