aws-sdk-fis 1.15.0 → 1.17.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-fis/client.rb +11 -6
- data/lib/aws-sdk-fis/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-fis/endpoint_provider.rb +4 -1
- data/lib/aws-sdk-fis/types.rb +1 -1
- data/lib/aws-sdk-fis.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc6fc1a8bfc8ad7289f2ab3edf97487a6d39454621b3c7515e3b691541a38b85
|
4
|
+
data.tar.gz: d4b73382b4c1c785de36079a36ae4b5510653c13a1302317acb419b55866370b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
1
|
+
1.17.0
|
data/lib/aws-sdk-fis/client.rb
CHANGED
@@ -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
|
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
|
380
|
-
#
|
381
|
-
#
|
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
|
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.
|
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)
|
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"
|
data/lib/aws-sdk-fis/types.rb
CHANGED
@@ -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
|
138
|
+
# aws:*service-name*:*action-type*.
|
139
139
|
# @return [String]
|
140
140
|
#
|
141
141
|
# @!attribute [rw] description
|
data/lib/aws-sdk-fis.rb
CHANGED
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.
|
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-
|
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.
|
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.
|
32
|
+
version: 3.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|