aws-sdk-resourceexplorer2 1.3.0 → 1.5.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: ac336d9291cedbe9a56e4ab0e53abba97e5e643d80204137be0870df648033ea
4
+ data.tar.gz: bd05690c77e2d96017326aba3950c833bcd0a2706c90fb629285b4a14617e6dd
5
5
  SHA512:
6
- metadata.gz: 4b11f3cfff1bd4f72f6d588f38674c897ce5eba94fbf2c475f974422b2ad63a9fe5d83c7b145f3cf81e80b33f6fa62cab781ef358011c7f6b9c0cce0264e8ba7
7
- data.tar.gz: 29e1eeaffe2aea4c59cf58aabbe070523df814592e65501800e6e10bbb9eb63e05258dd07c152c1d6f8847e74b36175002e84f9543500965bc1872be450f2b80
6
+ metadata.gz: 729bf7f41c8a7fc919af1d6916f5fe25ca1d8cf809bd8f20d19971368f98992bc59cd90f0d631f18dd18069eaec67592944a4ed5a3d8ce75d12ae6f085caa9ff
7
+ data.tar.gz: 1e5a4ff0269205467ae5e2ce349c767a6d3c3921466dced014bf517b791a4ba8c2a53982477f8b04021944a6b9888312e935f4fa06bff10d637b7db60bc430de
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.5.0 (2023-05-31)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.4.0 (2023-03-16)
10
+ ------------------
11
+
12
+ * Feature - Documentation updates for APIs.
13
+
4
14
  1.3.0 (2023-01-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.5.0
@@ -275,6 +275,11 @@ module Aws::ResourceExplorer2
275
275
  # in the future.
276
276
  #
277
277
  #
278
+ # @option options [String] :sdk_ua_app_id
279
+ # A unique and opaque application ID that is appended to the
280
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
281
+ # maximum length of 50.
282
+ #
278
283
  # @option options [String] :secret_access_key
279
284
  #
280
285
  # @option options [String] :session_token
@@ -482,9 +487,9 @@ module Aws::ResourceExplorer2
482
487
  # that allows Resource Explorer to enumerate your resources to populate
483
488
  # the index.
484
489
  #
485
- # * **Action**\: `resource-explorer-2:CreateIndex`
490
+ # * **Action**: `resource-explorer-2:CreateIndex`
486
491
  #
487
- # **Resource**\: The ARN of the index (as it will exist after the
492
+ # **Resource**: The ARN of the index (as it will exist after the
488
493
  # operation completes) in the Amazon Web Services Region and account
489
494
  # in which you're trying to create the index. Use the wildcard
490
495
  # character (`*`) at the end of the string to match the eventual UUID.
@@ -498,9 +503,9 @@ module Aws::ResourceExplorer2
498
503
  # Alternatively, you can use `"Resource": "*"` to allow the role or
499
504
  # user to create an index in any Region.
500
505
  #
501
- # * **Action**\: `iam:CreateServiceLinkedRole`
506
+ # * **Action**: `iam:CreateServiceLinkedRole`
502
507
  #
503
- # **Resource**\: No specific resource (*).
508
+ # **Resource**: No specific resource (*).
504
509
  #
505
510
  # This permission is required only the first time you create an index
506
511
  # to turn on Resource Explorer in the account. Resource Explorer uses
@@ -1492,7 +1497,7 @@ module Aws::ResourceExplorer2
1492
1497
  params: params,
1493
1498
  config: config)
1494
1499
  context[:gem_name] = 'aws-sdk-resourceexplorer2'
1495
- context[:gem_version] = '1.3.0'
1500
+ context[:gem_version] = '1.5.0'
1496
1501
  Seahorse::Client::Request.new(handlers, context)
1497
1502
  end
1498
1503
 
@@ -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.5.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.5.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-05-31 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.165.0
22
+ version: 3.174.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.165.0
32
+ version: 3.174.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement