aws-sdk-fis 1.15.0 → 1.17.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: 399d093bbdc7c990049fd0c52f2baecaf200bad41a554fe9010662d9ee74f972
4
- data.tar.gz: 5afbeb69503b4c867cb1bd97cf01603f5da8e0516a7a1aaa6ad10c4ca2b1087a
3
+ metadata.gz: cc6fc1a8bfc8ad7289f2ab3edf97487a6d39454621b3c7515e3b691541a38b85
4
+ data.tar.gz: d4b73382b4c1c785de36079a36ae4b5510653c13a1302317acb419b55866370b
5
5
  SHA512:
6
- metadata.gz: fe5f9094552d17761118eb864fafd062f9cefe76c4a9921532c9df85f45b708a974a4204b4d2768efade5dc99e9d03fc75b305406ce5b6ea6986878d4dbf2889
7
- data.tar.gz: d13916544d3bc937bfb1cef6952b84b670c616e41eed9a287b7f6870971947c1ca69f4d8887c952f099f116e677b384d564df64c9c44cb2accc17153ba3d9da7
6
+ metadata.gz: 38a3f3310539b562a388a10ad242b2b830a68999741327139040979a406cd586f8398ad69a056b307cfd8dffeb537c21882123d2d9148faec45440e1620b14a7
7
+ data.tar.gz: f49e7ddd1fcd51af239213b5b43f073df76048353a10d87fef315a5d9b7710819089fd9af72f324b216784b27688956c678f59947a471e8f5533d39c06c4e446
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.17.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.16.0 (2023-01-27)
10
+ ------------------
11
+
12
+ * Feature - Enabled FIPS endpoints for GovCloud (US) regions in SDK.
13
+
4
14
  1.15.0 (2023-01-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.15.0
1
+ 1.17.0
@@ -275,6 +275,11 @@ module Aws::FIS
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
@@ -372,15 +377,15 @@ module Aws::FIS
372
377
  #
373
378
  # An experiment template includes the following components:
374
379
  #
375
- # * **Targets**\: A target can be a specific resource in your Amazon Web
380
+ # * **Targets**: A target can be a specific resource in your Amazon Web
376
381
  # Services environment, or one or more resources that match criteria
377
382
  # that you specify, for example, resources that have specific tags.
378
383
  #
379
- # * **Actions**\: The actions to carry out on the target. You can
380
- # specify multiple actions, the duration of each action, and when to
381
- # start each action during an experiment.
384
+ # * **Actions**: The actions to carry out on the target. You can specify
385
+ # multiple actions, the duration of each action, and when to start
386
+ # each action during an experiment.
382
387
  #
383
- # * **Stop conditions**\: If a stop condition is triggered while an
388
+ # * **Stop conditions**: If a stop condition is triggered while an
384
389
  # experiment is running, the experiment is automatically stopped. You
385
390
  # can define a stop condition as a CloudWatch alarm.
386
391
  #
@@ -1350,7 +1355,7 @@ module Aws::FIS
1350
1355
  params: params,
1351
1356
  config: config)
1352
1357
  context[:gem_name] = 'aws-sdk-fis'
1353
- context[:gem_version] = '1.15.0'
1358
+ context[:gem_version] = '1.17.0'
1354
1359
  Seahorse::Client::Request.new(handlers, context)
1355
1360
  end
1356
1361
 
@@ -50,6 +50,9 @@ module Aws::FIS
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
53
56
  self[:use_dual_stack] = options[:use_dual_stack]
54
57
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
58
  if self[:use_dual_stack].nil?
@@ -15,7 +15,7 @@ module Aws::FIS
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
17
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
19
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
20
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
21
  end
@@ -32,6 +32,9 @@ module Aws::FIS
32
32
  end
33
33
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://fis.#{region}.amazonaws.com", headers: {}, properties: {})
37
+ end
35
38
  return Aws::Endpoints::Endpoint.new(url: "https://fis-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
39
  end
37
40
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -135,7 +135,7 @@ module Aws::FIS
135
135
  #
136
136
  # @!attribute [rw] action_id
137
137
  # The ID of the action. The format of the action ID is:
138
- # aws:*service-name*\:*action-type*.
138
+ # aws:*service-name*:*action-type*.
139
139
  # @return [String]
140
140
  #
141
141
  # @!attribute [rw] description
data/lib/aws-sdk-fis.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-fis/customizations'
52
52
  # @!group service
53
53
  module Aws::FIS
54
54
 
55
- GEM_VERSION = '1.15.0'
55
+ GEM_VERSION = '1.17.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-fis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.0
4
+ version: 1.17.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