aws-sdk-resourceexplorer2 1.3.0 → 1.4.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: ba6c3ab43f86d910c9d6eb433793c25db88ea04b164d9cd57687f7a813359854
4
- data.tar.gz: 2b6b7a6a36f1f284d1d1382122b8ee4d6148b57ea6f56b588071f6fe43d2fe5a
3
+ metadata.gz: 7781a0004146cef68d2f41c0ad95f36aefb2edba63a4b05bfaf1fc32bf718630
4
+ data.tar.gz: 70afdd2de002c1efe2dcfb129cc5e571016d83e464e8c17810660bb0c33332d7
5
5
  SHA512:
6
- metadata.gz: 4b11f3cfff1bd4f72f6d588f38674c897ce5eba94fbf2c475f974422b2ad63a9fe5d83c7b145f3cf81e80b33f6fa62cab781ef358011c7f6b9c0cce0264e8ba7
7
- data.tar.gz: 29e1eeaffe2aea4c59cf58aabbe070523df814592e65501800e6e10bbb9eb63e05258dd07c152c1d6f8847e74b36175002e84f9543500965bc1872be450f2b80
6
+ metadata.gz: 7af0fb7428aa0d5a65d1751e67249dbabdecb67ec552aaa8cda079fd6ee3b15730fdc9df8fabf8160d3a9060df0a1f25b404a7b2ef2f4762e61d471a824415cc
7
+ data.tar.gz: 0a802ec8f25904ae485d6287d0cadec73a47f3d073ce118c93569d14baa05c0afa965cb2ea34cac9ab0baa44b03508b63f36f99a8c377c51f1a214928938333e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.4.0 (2023-03-16)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates for APIs.
8
+
4
9
  1.3.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
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**\: `resource-explorer-2:CreateIndex`
485
+ # * **Action**: `resource-explorer-2:CreateIndex`
486
486
  #
487
- # **Resource**\: The ARN of the index (as it will exist after the
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**\: `iam:CreateServiceLinkedRole`
501
+ # * **Action**: `iam:CreateServiceLinkedRole`
502
502
  #
503
- # **Resource**\: No specific 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.3.0'
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 (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
17
- if Aws::Endpoints::Matchers.set?(endpoint)
18
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
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
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
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['dualStackDnsSuffix']}", headers: {}, properties: {})
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['dualStackDnsSuffix']}", headers: {}, properties: {})
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
- # You tried to create a new view or index when one already exists, and
127
- # you either didn't specify or specified a different idempotency token
128
- # as the original request.
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]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-resourceexplorer2/customizations'
52
52
  # @!group service
53
53
  module Aws::ResourceExplorer2
54
54
 
55
- GEM_VERSION = '1.3.0'
55
+ GEM_VERSION = '1.4.0'
56
56
 
57
57
  end
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.3.0
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-01-18 00:00:00.000000000 Z
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