aws-sdk-resourceexplorer2 1.3.0 → 1.4.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-resourceexplorer2/client.rb +5 -5
- data/lib/aws-sdk-resourceexplorer2/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-resourceexplorer2/endpoint_provider.rb +19 -16
- data/lib/aws-sdk-resourceexplorer2/types.rb +3 -3
- data/lib/aws-sdk-resourceexplorer2.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: 7781a0004146cef68d2f41c0ad95f36aefb2edba63a4b05bfaf1fc32bf718630
|
4
|
+
data.tar.gz: 70afdd2de002c1efe2dcfb129cc5e571016d83e464e8c17810660bb0c33332d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7af0fb7428aa0d5a65d1751e67249dbabdecb67ec552aaa8cda079fd6ee3b15730fdc9df8fabf8160d3a9060df0a1f25b404a7b2ef2f4762e61d471a824415cc
|
7
|
+
data.tar.gz: 0a802ec8f25904ae485d6287d0cadec73a47f3d073ce118c93569d14baa05c0afa965cb2ea34cac9ab0baa44b03508b63f36f99a8c377c51f1a214928938333e
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.4.0
|
@@ -482,9 +482,9 @@ module Aws::ResourceExplorer2
|
|
482
482
|
# that allows Resource Explorer to enumerate your resources to populate
|
483
483
|
# the index.
|
484
484
|
#
|
485
|
-
# * **Action
|
485
|
+
# * **Action**: `resource-explorer-2:CreateIndex`
|
486
486
|
#
|
487
|
-
# **Resource
|
487
|
+
# **Resource**: The ARN of the index (as it will exist after the
|
488
488
|
# operation completes) in the Amazon Web Services Region and account
|
489
489
|
# in which you're trying to create the index. Use the wildcard
|
490
490
|
# character (`*`) at the end of the string to match the eventual UUID.
|
@@ -498,9 +498,9 @@ module Aws::ResourceExplorer2
|
|
498
498
|
# Alternatively, you can use `"Resource": "*"` to allow the role or
|
499
499
|
# user to create an index in any Region.
|
500
500
|
#
|
501
|
-
# * **Action
|
501
|
+
# * **Action**: `iam:CreateServiceLinkedRole`
|
502
502
|
#
|
503
|
-
# **Resource
|
503
|
+
# **Resource**: No specific resource (*).
|
504
504
|
#
|
505
505
|
# This permission is required only the first time you create an index
|
506
506
|
# to turn on Resource Explorer in the account. Resource Explorer uses
|
@@ -1492,7 +1492,7 @@ module Aws::ResourceExplorer2
|
|
1492
1492
|
params: params,
|
1493
1493
|
config: config)
|
1494
1494
|
context[:gem_name] = 'aws-sdk-resourceexplorer2'
|
1495
|
-
context[:gem_version] = '1.
|
1495
|
+
context[:gem_version] = '1.4.0'
|
1496
1496
|
Seahorse::Client::Request.new(handlers, context)
|
1497
1497
|
end
|
1498
1498
|
|
@@ -43,9 +43,6 @@ module Aws::ResourceExplorer2
|
|
43
43
|
|
44
44
|
def initialize(options = {})
|
45
45
|
self[:region] = options[:region]
|
46
|
-
if self[:region].nil?
|
47
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
48
|
-
end
|
49
46
|
self[:use_fips] = options[:use_fips]
|
50
47
|
self[:use_fips] = false if self[:use_fips].nil?
|
51
48
|
if self[:use_fips].nil?
|
@@ -13,30 +13,33 @@ module Aws::ResourceExplorer2
|
|
13
13
|
region = parameters.region
|
14
14
|
use_fips = parameters.use_fips
|
15
15
|
endpoint = parameters.endpoint
|
16
|
-
if
|
17
|
-
if Aws::Endpoints::Matchers.
|
18
|
-
|
19
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
20
|
-
end
|
21
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
16
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
17
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
18
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
22
19
|
end
|
23
|
-
|
20
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.set?(region)
|
23
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
24
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
25
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
26
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
27
|
+
return Aws::Endpoints::Endpoint.new(url: "https://resource-explorer-2-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
28
|
+
end
|
29
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
30
|
+
end
|
31
|
+
return Aws::Endpoints::Endpoint.new(url: "https://resource-explorer-2.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
32
|
+
end
|
24
33
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
25
34
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
26
|
-
return Aws::Endpoints::Endpoint.new(url: "https://resource-explorer-2-fips.#{region}.#{partition_result['
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://resource-explorer-2-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
27
36
|
end
|
28
37
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
29
38
|
end
|
30
|
-
return Aws::Endpoints::Endpoint.new(url: "https://resource-explorer-2.#{region}.#{partition_result['
|
31
|
-
end
|
32
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
33
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
34
|
-
return Aws::Endpoints::Endpoint.new(url: "https://resource-explorer-2-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
35
|
-
end
|
36
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
return Aws::Endpoints::Endpoint.new(url: "https://resource-explorer-2.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
40
|
end
|
38
|
-
return Aws::Endpoints::Endpoint.new(url: "https://resource-explorer-2.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
39
41
|
end
|
42
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
40
43
|
raise ArgumentError, 'No endpoint could be resolved'
|
41
44
|
|
42
45
|
end
|
@@ -123,9 +123,9 @@ module Aws::ResourceExplorer2
|
|
123
123
|
include Aws::Structure
|
124
124
|
end
|
125
125
|
|
126
|
-
#
|
127
|
-
#
|
128
|
-
#
|
126
|
+
# The request failed because either you specified parameters that didn’t
|
127
|
+
# match the original request, or you attempted to create a view with a
|
128
|
+
# name that already exists in this Amazon Web Services Region.
|
129
129
|
#
|
130
130
|
# @!attribute [rw] message
|
131
131
|
# @return [String]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-resourceexplorer2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.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-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|