aws-sdk-ec2 1.356.0 → 1.358.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +126 -131
- data/lib/aws-sdk-ec2/endpoint_provider.rb +38 -99
- data/lib/aws-sdk-ec2/placement_group.rb +6 -3
- data/lib/aws-sdk-ec2/resource.rb +7 -5
- data/lib/aws-sdk-ec2/security_group.rb +14 -11
- data/lib/aws-sdk-ec2/subnet.rb +7 -5
- data/lib/aws-sdk-ec2/types.rb +198 -199
- data/lib/aws-sdk-ec2/vpc.rb +6 -3
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
@@ -9,107 +9,46 @@
|
|
9
9
|
|
10
10
|
module Aws::EC2
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ec2-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
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://ec2.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ec2-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
39
|
+
end
|
40
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
41
|
+
end
|
42
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
43
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
44
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ec2.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
45
|
+
end
|
46
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
47
|
+
end
|
48
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ec2.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
49
|
end
|
22
|
-
|
23
|
-
end
|
50
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
51
|
|
25
|
-
def resolve_end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WJsZWQgYnV0IHRo
|
107
|
-
aXMgcGFydGl0aW9uIGRvZXMgbm90IHN1cHBvcnQgRHVhbFN0YWNrIiwidHlw
|
108
|
-
ZSI6ImVycm9yIn1dfSx7ImNvbmRpdGlvbnMiOltdLCJlbmRwb2ludCI6eyJ1
|
109
|
-
cmwiOiJodHRwczovL2VjMi57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2Ru
|
110
|
-
c1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBl
|
111
|
-
IjoiZW5kcG9pbnQifV19XX0=
|
112
|
-
|
113
|
-
JSON
|
114
53
|
end
|
115
54
|
end
|
@@ -342,12 +342,15 @@ module Aws::EC2
|
|
342
342
|
# * `metadata-options.http-tokens` - The metadata request authorization
|
343
343
|
# state (`optional` \| `required`)
|
344
344
|
#
|
345
|
-
# * `metadata-options.http-put-response-hop-limit` - The
|
345
|
+
# * `metadata-options.http-put-response-hop-limit` - The HTTP metadata
|
346
346
|
# request put response hop limit (integer, possible values `1` to
|
347
347
|
# `64`)
|
348
348
|
#
|
349
|
-
# * `metadata-options.http-endpoint` -
|
350
|
-
# on
|
349
|
+
# * `metadata-options.http-endpoint` - The status of access to the HTTP
|
350
|
+
# metadata endpoint on your instance (`enabled` \| `disabled`)
|
351
|
+
#
|
352
|
+
# * `metadata-options.instance-metadata-tags` - The status of access to
|
353
|
+
# instance tags from the instance metadata (`enabled` \| `disabled`)
|
351
354
|
#
|
352
355
|
# * `monitoring-state` - Indicates whether detailed monitoring is
|
353
356
|
# enabled (`disabled` \| `enabled`).
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -376,8 +376,7 @@ module Aws::EC2
|
|
376
376
|
#
|
377
377
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSecurityGroup.html
|
378
378
|
# @option options [Array<String>] :security_groups
|
379
|
-
# \[EC2-Classic, default VPC\] The names of the security groups.
|
380
|
-
# nondefault VPC, you must use security group IDs instead.
|
379
|
+
# \[EC2-Classic, default VPC\] The names of the security groups.
|
381
380
|
#
|
382
381
|
# If you specify a network interface, you must specify any security
|
383
382
|
# groups as part of the network interface.
|
@@ -2334,12 +2333,15 @@ module Aws::EC2
|
|
2334
2333
|
# * `metadata-options.http-tokens` - The metadata request authorization
|
2335
2334
|
# state (`optional` \| `required`)
|
2336
2335
|
#
|
2337
|
-
# * `metadata-options.http-put-response-hop-limit` - The
|
2336
|
+
# * `metadata-options.http-put-response-hop-limit` - The HTTP metadata
|
2338
2337
|
# request put response hop limit (integer, possible values `1` to
|
2339
2338
|
# `64`)
|
2340
2339
|
#
|
2341
|
-
# * `metadata-options.http-endpoint` -
|
2342
|
-
# on
|
2340
|
+
# * `metadata-options.http-endpoint` - The status of access to the HTTP
|
2341
|
+
# metadata endpoint on your instance (`enabled` \| `disabled`)
|
2342
|
+
#
|
2343
|
+
# * `metadata-options.instance-metadata-tags` - The status of access to
|
2344
|
+
# instance tags from the instance metadata (`enabled` \| `disabled`)
|
2343
2345
|
#
|
2344
2346
|
# * `monitoring-state` - Indicates whether detailed monitoring is
|
2345
2347
|
# enabled (`disabled` \| `enabled`).
|
@@ -370,9 +370,10 @@ module Aws::EC2
|
|
370
370
|
# Alternatively, use a set of IP permissions to specify multiple rules
|
371
371
|
# and a description for the rule.
|
372
372
|
# @option options [Integer] :from_port
|
373
|
-
#
|
374
|
-
#
|
375
|
-
# you specify all ICMP types, you must specify all
|
373
|
+
# If the protocol is TCP or UDP, this is the start of the port range. If
|
374
|
+
# the protocol is ICMP, this is the type number. A value of -1 indicates
|
375
|
+
# all ICMP types. If you specify all ICMP types, you must specify all
|
376
|
+
# ICMP codes.
|
376
377
|
#
|
377
378
|
# Alternatively, use a set of IP permissions to specify multiple rules
|
378
379
|
# and a description for the rule.
|
@@ -415,9 +416,10 @@ module Aws::EC2
|
|
415
416
|
# specific IP protocol and port range, use a set of IP permissions
|
416
417
|
# instead.
|
417
418
|
# @option options [Integer] :to_port
|
418
|
-
#
|
419
|
-
#
|
420
|
-
# you specify all ICMP types, you must specify all
|
419
|
+
# If the protocol is TCP or UDP, this is the end of the port range. If
|
420
|
+
# the protocol is ICMP, this is the code. A value of -1 indicates all
|
421
|
+
# ICMP codes. If you specify all ICMP types, you must specify all ICMP
|
422
|
+
# codes.
|
421
423
|
#
|
422
424
|
# Alternatively, use a set of IP permissions to specify multiple rules
|
423
425
|
# and a description for the rule.
|
@@ -676,8 +678,9 @@ module Aws::EC2
|
|
676
678
|
# The CIDR IP address range. You can't specify this parameter when
|
677
679
|
# specifying a source security group.
|
678
680
|
# @option options [Integer] :from_port
|
679
|
-
#
|
680
|
-
#
|
681
|
+
# If the protocol is TCP or UDP, this is the start of the port range. If
|
682
|
+
# the protocol is ICMP, this is the type number. A value of -1 indicates
|
683
|
+
# all ICMP types.
|
681
684
|
# @option options [String] :group_name
|
682
685
|
# \[EC2-Classic, default VPC\] The name of the security group. You must
|
683
686
|
# specify either the security group ID or the security group name in the
|
@@ -710,9 +713,9 @@ module Aws::EC2
|
|
710
713
|
# specific rule for an IP protocol and port range, use a set of IP
|
711
714
|
# permissions instead.
|
712
715
|
# @option options [Integer] :to_port
|
713
|
-
#
|
714
|
-
#
|
715
|
-
#
|
716
|
+
# If the protocol is TCP or UDP, this is the end of the port range. If
|
717
|
+
# the protocol is ICMP, this is the code. A value of -1 indicates all
|
718
|
+
# ICMP codes.
|
716
719
|
# @option options [Boolean] :dry_run
|
717
720
|
# Checks whether you have the required permissions for the action,
|
718
721
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -600,8 +600,7 @@ module Aws::EC2
|
|
600
600
|
#
|
601
601
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSecurityGroup.html
|
602
602
|
# @option options [Array<String>] :security_groups
|
603
|
-
# \[EC2-Classic, default VPC\] The names of the security groups.
|
604
|
-
# nondefault VPC, you must use security group IDs instead.
|
603
|
+
# \[EC2-Classic, default VPC\] The names of the security groups.
|
605
604
|
#
|
606
605
|
# If you specify a network interface, you must specify any security
|
607
606
|
# groups as part of the network interface.
|
@@ -1179,12 +1178,15 @@ module Aws::EC2
|
|
1179
1178
|
# * `metadata-options.http-tokens` - The metadata request authorization
|
1180
1179
|
# state (`optional` \| `required`)
|
1181
1180
|
#
|
1182
|
-
# * `metadata-options.http-put-response-hop-limit` - The
|
1181
|
+
# * `metadata-options.http-put-response-hop-limit` - The HTTP metadata
|
1183
1182
|
# request put response hop limit (integer, possible values `1` to
|
1184
1183
|
# `64`)
|
1185
1184
|
#
|
1186
|
-
# * `metadata-options.http-endpoint` -
|
1187
|
-
# on
|
1185
|
+
# * `metadata-options.http-endpoint` - The status of access to the HTTP
|
1186
|
+
# metadata endpoint on your instance (`enabled` \| `disabled`)
|
1187
|
+
#
|
1188
|
+
# * `metadata-options.instance-metadata-tags` - The status of access to
|
1189
|
+
# instance tags from the instance metadata (`enabled` \| `disabled`)
|
1188
1190
|
#
|
1189
1191
|
# * `monitoring-state` - Indicates whether detailed monitoring is
|
1190
1192
|
# enabled (`disabled` \| `enabled`).
|