aws-sdk-ec2 1.350.0 → 1.352.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +355 -33
- data/lib/aws-sdk-ec2/client_api.rb +191 -1
- data/lib/aws-sdk-ec2/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-ec2/endpoint_provider.rb +81 -81
- data/lib/aws-sdk-ec2/endpoints.rb +70 -0
- data/lib/aws-sdk-ec2/image.rb +2 -2
- data/lib/aws-sdk-ec2/network_interface.rb +20 -2
- data/lib/aws-sdk-ec2/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-ec2/plugins/region_validation.rb +1 -1
- data/lib/aws-sdk-ec2/resource.rb +1 -2
- data/lib/aws-sdk-ec2/types.rb +862 -150
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
@@ -29,87 +29,87 @@ module Aws::EC2
|
|
29
29
|
# @api private
|
30
30
|
RULES = <<-JSON
|
31
31
|
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
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3VsdCNkdWFsU3RhY2tEbnNTdWZmaXh9
|
106
|
+
IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBv
|
107
|
+
aW50In1dfSx7ImNvbmRpdGlvbnMiOltdLCJlcnJvciI6IkR1YWxTdGFjayBp
|
108
|
+
cyBlbmFibGVkIGJ1dCB0aGlzIHBhcnRpdGlvbiBkb2VzIG5vdCBzdXBwb3J0
|
109
|
+
IER1YWxTdGFjayIsInR5cGUiOiJlcnJvciJ9XX0seyJjb25kaXRpb25zIjpb
|
110
|
+
XSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9lYzIue1JlZ2lvbn0ue1Bh
|
111
|
+
cnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30sImhl
|
112
|
+
YWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19
|
113
113
|
|
114
114
|
JSON
|
115
115
|
end
|
@@ -2909,6 +2909,20 @@ module Aws::EC2
|
|
2909
2909
|
end
|
2910
2910
|
end
|
2911
2911
|
|
2912
|
+
class DescribeAwsNetworkPerformanceMetricSubscriptions
|
2913
|
+
def self.build(context)
|
2914
|
+
unless context.config.regional_endpoint
|
2915
|
+
endpoint = context.config.endpoint.to_s
|
2916
|
+
end
|
2917
|
+
Aws::EC2::EndpointParameters.new(
|
2918
|
+
region: context.config.region,
|
2919
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
2920
|
+
use_fips: context.config.use_fips_endpoint,
|
2921
|
+
endpoint: endpoint,
|
2922
|
+
)
|
2923
|
+
end
|
2924
|
+
end
|
2925
|
+
|
2912
2926
|
class DescribeBundleTasks
|
2913
2927
|
def self.build(context)
|
2914
2928
|
unless context.config.regional_endpoint
|
@@ -4813,6 +4827,20 @@ module Aws::EC2
|
|
4813
4827
|
end
|
4814
4828
|
end
|
4815
4829
|
|
4830
|
+
class DisableAwsNetworkPerformanceMetricSubscription
|
4831
|
+
def self.build(context)
|
4832
|
+
unless context.config.regional_endpoint
|
4833
|
+
endpoint = context.config.endpoint.to_s
|
4834
|
+
end
|
4835
|
+
Aws::EC2::EndpointParameters.new(
|
4836
|
+
region: context.config.region,
|
4837
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
4838
|
+
use_fips: context.config.use_fips_endpoint,
|
4839
|
+
endpoint: endpoint,
|
4840
|
+
)
|
4841
|
+
end
|
4842
|
+
end
|
4843
|
+
|
4816
4844
|
class DisableEbsEncryptionByDefault
|
4817
4845
|
def self.build(context)
|
4818
4846
|
unless context.config.regional_endpoint
|
@@ -5135,6 +5163,20 @@ module Aws::EC2
|
|
5135
5163
|
end
|
5136
5164
|
end
|
5137
5165
|
|
5166
|
+
class EnableAwsNetworkPerformanceMetricSubscription
|
5167
|
+
def self.build(context)
|
5168
|
+
unless context.config.regional_endpoint
|
5169
|
+
endpoint = context.config.endpoint.to_s
|
5170
|
+
end
|
5171
|
+
Aws::EC2::EndpointParameters.new(
|
5172
|
+
region: context.config.region,
|
5173
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
5174
|
+
use_fips: context.config.use_fips_endpoint,
|
5175
|
+
endpoint: endpoint,
|
5176
|
+
)
|
5177
|
+
end
|
5178
|
+
end
|
5179
|
+
|
5138
5180
|
class EnableEbsEncryptionByDefault
|
5139
5181
|
def self.build(context)
|
5140
5182
|
unless context.config.regional_endpoint
|
@@ -5205,6 +5247,20 @@ module Aws::EC2
|
|
5205
5247
|
end
|
5206
5248
|
end
|
5207
5249
|
|
5250
|
+
class EnableReachabilityAnalyzerOrganizationSharing
|
5251
|
+
def self.build(context)
|
5252
|
+
unless context.config.regional_endpoint
|
5253
|
+
endpoint = context.config.endpoint.to_s
|
5254
|
+
end
|
5255
|
+
Aws::EC2::EndpointParameters.new(
|
5256
|
+
region: context.config.region,
|
5257
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
5258
|
+
use_fips: context.config.use_fips_endpoint,
|
5259
|
+
endpoint: endpoint,
|
5260
|
+
)
|
5261
|
+
end
|
5262
|
+
end
|
5263
|
+
|
5208
5264
|
class EnableSerialConsoleAccess
|
5209
5265
|
def self.build(context)
|
5210
5266
|
unless context.config.regional_endpoint
|
@@ -5373,6 +5429,20 @@ module Aws::EC2
|
|
5373
5429
|
end
|
5374
5430
|
end
|
5375
5431
|
|
5432
|
+
class GetAwsNetworkPerformanceData
|
5433
|
+
def self.build(context)
|
5434
|
+
unless context.config.regional_endpoint
|
5435
|
+
endpoint = context.config.endpoint.to_s
|
5436
|
+
end
|
5437
|
+
Aws::EC2::EndpointParameters.new(
|
5438
|
+
region: context.config.region,
|
5439
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
5440
|
+
use_fips: context.config.use_fips_endpoint,
|
5441
|
+
endpoint: endpoint,
|
5442
|
+
)
|
5443
|
+
end
|
5444
|
+
end
|
5445
|
+
|
5376
5446
|
class GetCapacityReservationUsage
|
5377
5447
|
def self.build(context)
|
5378
5448
|
unless context.config.regional_endpoint
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
@@ -88,8 +88,8 @@ module Aws::EC2
|
|
88
88
|
end
|
89
89
|
|
90
90
|
# The platform details associated with the billing code of the AMI. For
|
91
|
-
# more information, see [
|
92
|
-
# Elastic Compute Cloud User Guide*.
|
91
|
+
# more information, see [Understand AMI billing information][1] in the
|
92
|
+
# *Amazon Elastic Compute Cloud User Guide*.
|
93
93
|
#
|
94
94
|
#
|
95
95
|
#
|
@@ -368,6 +368,12 @@ module Aws::EC2
|
|
368
368
|
# dry_run: false,
|
369
369
|
# instance_id: "InstanceId", # required
|
370
370
|
# network_card_index: 1,
|
371
|
+
# ena_srd_specification: {
|
372
|
+
# ena_srd_enabled: false,
|
373
|
+
# ena_srd_udp_specification: {
|
374
|
+
# ena_srd_udp_enabled: false,
|
375
|
+
# },
|
376
|
+
# },
|
371
377
|
# })
|
372
378
|
# @param [Hash] options ({})
|
373
379
|
# @option options [required, Integer] :device_index
|
@@ -383,6 +389,9 @@ module Aws::EC2
|
|
383
389
|
# The index of the network card. Some instance types support multiple
|
384
390
|
# network cards. The primary network interface must be assigned to
|
385
391
|
# network card index 0. The default is network card index 0.
|
392
|
+
# @option options [Types::EnaSrdSpecification] :ena_srd_specification
|
393
|
+
# Configures ENA Express for the network interface that this action
|
394
|
+
# attaches to the instance.
|
386
395
|
# @return [Types::AttachNetworkInterfaceResult]
|
387
396
|
def attach(options = {})
|
388
397
|
options = options.merge(network_interface_id: @id)
|
@@ -565,11 +574,17 @@ module Aws::EC2
|
|
565
574
|
# source_dest_check: {
|
566
575
|
# value: false,
|
567
576
|
# },
|
577
|
+
# ena_srd_specification: {
|
578
|
+
# ena_srd_enabled: false,
|
579
|
+
# ena_srd_udp_specification: {
|
580
|
+
# ena_srd_udp_enabled: false,
|
581
|
+
# },
|
582
|
+
# },
|
568
583
|
# })
|
569
584
|
# @param [Hash] options ({})
|
570
585
|
# @option options [Types::NetworkInterfaceAttachmentChanges] :attachment
|
571
|
-
# Information about the interface attachment. If modifying the
|
572
|
-
# on termination
|
586
|
+
# Information about the interface attachment. If modifying the `delete
|
587
|
+
# on termination` attribute, you must specify the ID of the interface
|
573
588
|
# attachment.
|
574
589
|
# @option options [Types::AttributeValue] :description
|
575
590
|
# A description for the network interface.
|
@@ -590,6 +605,9 @@ module Aws::EC2
|
|
590
605
|
# enabled; otherwise, they are disabled. The default value is `true`.
|
591
606
|
# You must disable source/destination checks if the instance runs
|
592
607
|
# services such as network address translation, routing, or firewalls.
|
608
|
+
# @option options [Types::EnaSrdSpecification] :ena_srd_specification
|
609
|
+
# Updates the ENA Express configuration for the network interface that’s
|
610
|
+
# attached to the instance.
|
593
611
|
# @return [EmptyStructure]
|
594
612
|
def modify_attribute(options = {})
|
595
613
|
options = options.merge(network_interface_id: @id)
|
@@ -470,6 +470,8 @@ module Aws::EC2
|
|
470
470
|
Aws::EC2::Endpoints::DescribeAggregateIdFormat.build(context)
|
471
471
|
when :describe_availability_zones
|
472
472
|
Aws::EC2::Endpoints::DescribeAvailabilityZones.build(context)
|
473
|
+
when :describe_aws_network_performance_metric_subscriptions
|
474
|
+
Aws::EC2::Endpoints::DescribeAwsNetworkPerformanceMetricSubscriptions.build(context)
|
473
475
|
when :describe_bundle_tasks
|
474
476
|
Aws::EC2::Endpoints::DescribeBundleTasks.build(context)
|
475
477
|
when :describe_byoip_cidrs
|
@@ -742,6 +744,8 @@ module Aws::EC2
|
|
742
744
|
Aws::EC2::Endpoints::DetachVpnGateway.build(context)
|
743
745
|
when :disable_address_transfer
|
744
746
|
Aws::EC2::Endpoints::DisableAddressTransfer.build(context)
|
747
|
+
when :disable_aws_network_performance_metric_subscription
|
748
|
+
Aws::EC2::Endpoints::DisableAwsNetworkPerformanceMetricSubscription.build(context)
|
745
749
|
when :disable_ebs_encryption_by_default
|
746
750
|
Aws::EC2::Endpoints::DisableEbsEncryptionByDefault.build(context)
|
747
751
|
when :disable_fast_launch
|
@@ -788,6 +792,8 @@ module Aws::EC2
|
|
788
792
|
Aws::EC2::Endpoints::DisassociateVpcCidrBlock.build(context)
|
789
793
|
when :enable_address_transfer
|
790
794
|
Aws::EC2::Endpoints::EnableAddressTransfer.build(context)
|
795
|
+
when :enable_aws_network_performance_metric_subscription
|
796
|
+
Aws::EC2::Endpoints::EnableAwsNetworkPerformanceMetricSubscription.build(context)
|
791
797
|
when :enable_ebs_encryption_by_default
|
792
798
|
Aws::EC2::Endpoints::EnableEbsEncryptionByDefault.build(context)
|
793
799
|
when :enable_fast_launch
|
@@ -798,6 +804,8 @@ module Aws::EC2
|
|
798
804
|
Aws::EC2::Endpoints::EnableImageDeprecation.build(context)
|
799
805
|
when :enable_ipam_organization_admin_account
|
800
806
|
Aws::EC2::Endpoints::EnableIpamOrganizationAdminAccount.build(context)
|
807
|
+
when :enable_reachability_analyzer_organization_sharing
|
808
|
+
Aws::EC2::Endpoints::EnableReachabilityAnalyzerOrganizationSharing.build(context)
|
801
809
|
when :enable_serial_console_access
|
802
810
|
Aws::EC2::Endpoints::EnableSerialConsoleAccess.build(context)
|
803
811
|
when :enable_transit_gateway_route_table_propagation
|
@@ -822,6 +830,8 @@ module Aws::EC2
|
|
822
830
|
Aws::EC2::Endpoints::GetAssociatedEnclaveCertificateIamRoles.build(context)
|
823
831
|
when :get_associated_ipv_6_pool_cidrs
|
824
832
|
Aws::EC2::Endpoints::GetAssociatedIpv6PoolCidrs.build(context)
|
833
|
+
when :get_aws_network_performance_data
|
834
|
+
Aws::EC2::Endpoints::GetAwsNetworkPerformanceData.build(context)
|
825
835
|
when :get_capacity_reservation_usage
|
826
836
|
Aws::EC2::Endpoints::GetCapacityReservationUsage.build(context)
|
827
837
|
when :get_coip_pool_usage
|
@@ -9,7 +9,7 @@ module Aws
|
|
9
9
|
def after_initialize(client)
|
10
10
|
if region = client.config.region
|
11
11
|
if matches = region.match(/^(\w+-\w+-\d+)[a-z]$/)
|
12
|
-
msg = ":region option must a region name, not an availability "\
|
12
|
+
msg = ":region option must be a region name, not an availability "\
|
13
13
|
"zone name; try `#{matches[1]}' instead of `#{matches[0]}'"
|
14
14
|
raise ArgumentError, msg
|
15
15
|
end
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -2129,8 +2129,7 @@ module Aws::EC2
|
|
2129
2129
|
# recommend that you use the **Owner** request parameter instead of
|
2130
2130
|
# this filter.
|
2131
2131
|
#
|
2132
|
-
# * `platform` - The platform.
|
2133
|
-
# `windows`.
|
2132
|
+
# * `platform` - The platform. The only supported value is `windows`.
|
2134
2133
|
#
|
2135
2134
|
# * `product-code` - The product code.
|
2136
2135
|
#
|