aws-sdk-ec2 1.350.0 → 1.352.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-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
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -710,7 +710,7 @@ module Aws::EC2
|
|
710
710
|
#
|
711
711
|
# resp = client.accept_vpc_peering_connection({
|
712
712
|
# dry_run: false,
|
713
|
-
# vpc_peering_connection_id: "
|
713
|
+
# vpc_peering_connection_id: "VpcPeeringConnectionIdWithResolver",
|
714
714
|
# })
|
715
715
|
#
|
716
716
|
# @example Response structure
|
@@ -2576,6 +2576,10 @@ module Aws::EC2
|
|
2576
2576
|
# network cards. The primary network interface must be assigned to
|
2577
2577
|
# network card index 0. The default is network card index 0.
|
2578
2578
|
#
|
2579
|
+
# @option params [Types::EnaSrdSpecification] :ena_srd_specification
|
2580
|
+
# Configures ENA Express for the network interface that this action
|
2581
|
+
# attaches to the instance.
|
2582
|
+
#
|
2579
2583
|
# @return [Types::AttachNetworkInterfaceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2580
2584
|
#
|
2581
2585
|
# * {Types::AttachNetworkInterfaceResult#attachment_id #attachment_id} => String
|
@@ -2605,6 +2609,12 @@ module Aws::EC2
|
|
2605
2609
|
# instance_id: "InstanceId", # required
|
2606
2610
|
# network_interface_id: "NetworkInterfaceId", # required
|
2607
2611
|
# network_card_index: 1,
|
2612
|
+
# ena_srd_specification: {
|
2613
|
+
# ena_srd_enabled: false,
|
2614
|
+
# ena_srd_udp_specification: {
|
2615
|
+
# ena_srd_udp_enabled: false,
|
2616
|
+
# },
|
2617
|
+
# },
|
2608
2618
|
# })
|
2609
2619
|
#
|
2610
2620
|
# @example Response structure
|
@@ -3639,9 +3649,9 @@ module Aws::EC2
|
|
3639
3649
|
end
|
3640
3650
|
|
3641
3651
|
# Removes your Amazon Web Services account from the launch permissions
|
3642
|
-
# for the specified AMI. For more information, see [Cancel
|
3643
|
-
#
|
3644
|
-
# Compute Cloud User Guide*.
|
3652
|
+
# for the specified AMI. For more information, see [Cancel having an AMI
|
3653
|
+
# shared with your Amazon Web Services account][1] in the *Amazon
|
3654
|
+
# Elastic Compute Cloud User Guide*.
|
3645
3655
|
#
|
3646
3656
|
#
|
3647
3657
|
#
|
@@ -4079,8 +4089,8 @@ module Aws::EC2
|
|
4079
4089
|
# Outposts][2] in the *Amazon Elastic Compute Cloud User Guide*.
|
4080
4090
|
#
|
4081
4091
|
# For more information about the prerequisites and limits when copying
|
4082
|
-
# an AMI, see [
|
4083
|
-
#
|
4092
|
+
# an AMI, see [Copy an AMI][3] in the *Amazon Elastic Compute Cloud User
|
4093
|
+
# Guide*.
|
4084
4094
|
#
|
4085
4095
|
#
|
4086
4096
|
#
|
@@ -4106,7 +4116,7 @@ module Aws::EC2
|
|
4106
4116
|
# you cannot create an unencrypted copy of an encrypted snapshot. The
|
4107
4117
|
# default KMS key for Amazon EBS is used unless you specify a
|
4108
4118
|
# non-default Key Management Service (KMS) KMS key using `KmsKeyId`. For
|
4109
|
-
# more information, see [Amazon EBS
|
4119
|
+
# more information, see [Amazon EBS encryption][1] in the *Amazon
|
4110
4120
|
# Elastic Compute Cloud User Guide*.
|
4111
4121
|
#
|
4112
4122
|
#
|
@@ -4156,7 +4166,7 @@ module Aws::EC2
|
|
4156
4166
|
# the destination Outpost. You cannot copy an AMI from an Outpost to a
|
4157
4167
|
# Region, from one Outpost to another, or within the same Outpost.
|
4158
4168
|
#
|
4159
|
-
# For more information, see [
|
4169
|
+
# For more information, see [ Copy AMIs from an Amazon Web Services
|
4160
4170
|
# Region to an Outpost][1] in the *Amazon Elastic Compute Cloud User
|
4161
4171
|
# Guide*.
|
4162
4172
|
#
|
@@ -4170,6 +4180,19 @@ module Aws::EC2
|
|
4170
4180
|
# If you have the required permissions, the error response is
|
4171
4181
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
4172
4182
|
#
|
4183
|
+
# @option params [Boolean] :copy_image_tags
|
4184
|
+
# Indicates whether to include your user-defined AMI tags when copying
|
4185
|
+
# the AMI.
|
4186
|
+
#
|
4187
|
+
# The following tags will not be copied:
|
4188
|
+
#
|
4189
|
+
# * System tags (prefixed with `aws:`)
|
4190
|
+
#
|
4191
|
+
# * For public and shared AMIs, user-defined tags that are attached by
|
4192
|
+
# other Amazon Web Services accounts
|
4193
|
+
#
|
4194
|
+
# Default: Your user-defined AMI tags are not copied.
|
4195
|
+
#
|
4173
4196
|
# @return [Types::CopyImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4174
4197
|
#
|
4175
4198
|
# * {Types::CopyImageResult#image_id #image_id} => String
|
@@ -4203,6 +4226,7 @@ module Aws::EC2
|
|
4203
4226
|
# source_region: "String", # required
|
4204
4227
|
# destination_outpost_arn: "String",
|
4205
4228
|
# dry_run: false,
|
4229
|
+
# copy_image_tags: false,
|
4206
4230
|
# })
|
4207
4231
|
#
|
4208
4232
|
# @example Response structure
|
@@ -6498,7 +6522,7 @@ module Aws::EC2
|
|
6498
6522
|
# launch an instance from this new AMI, the instance automatically
|
6499
6523
|
# launches with those additional volumes.
|
6500
6524
|
#
|
6501
|
-
# For more information, see [
|
6525
|
+
# For more information, see [Create an Amazon EBS-backed Linux AMI][1]
|
6502
6526
|
# in the *Amazon Elastic Compute Cloud User Guide*.
|
6503
6527
|
#
|
6504
6528
|
#
|
@@ -9397,6 +9421,8 @@ module Aws::EC2
|
|
9397
9421
|
# resp.network_insights_path.created_date #=> Time
|
9398
9422
|
# resp.network_insights_path.source #=> String
|
9399
9423
|
# resp.network_insights_path.destination #=> String
|
9424
|
+
# resp.network_insights_path.source_arn #=> String
|
9425
|
+
# resp.network_insights_path.destination_arn #=> String
|
9400
9426
|
# resp.network_insights_path.source_ip #=> String
|
9401
9427
|
# resp.network_insights_path.destination_ip #=> String
|
9402
9428
|
# resp.network_insights_path.protocol #=> String, one of "tcp", "udp"
|
@@ -9653,6 +9679,8 @@ module Aws::EC2
|
|
9653
9679
|
# resp.network_interface.attachment.instance_id #=> String
|
9654
9680
|
# resp.network_interface.attachment.instance_owner_id #=> String
|
9655
9681
|
# resp.network_interface.attachment.status #=> String, one of "attaching", "attached", "detaching", "detached"
|
9682
|
+
# resp.network_interface.attachment.ena_srd_specification.ena_srd_enabled #=> Boolean
|
9683
|
+
# resp.network_interface.attachment.ena_srd_specification.ena_srd_udp_specification.ena_srd_udp_enabled #=> Boolean
|
9656
9684
|
# resp.network_interface.availability_zone #=> String
|
9657
9685
|
# resp.network_interface.description #=> String
|
9658
9686
|
# resp.network_interface.groups #=> Array
|
@@ -9938,7 +9966,7 @@ module Aws::EC2
|
|
9938
9966
|
#
|
9939
9967
|
#
|
9940
9968
|
#
|
9941
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
9969
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/replace-root.html
|
9942
9970
|
#
|
9943
9971
|
# @option params [required, String] :instance_id
|
9944
9972
|
# The ID of the instance for which to replace the root volume.
|
@@ -17346,8 +17374,8 @@ module Aws::EC2
|
|
17346
17374
|
#
|
17347
17375
|
# If you deregister an AMI that matches a Recycle Bin retention rule,
|
17348
17376
|
# the AMI is retained in the Recycle Bin for the specified retention
|
17349
|
-
# period. For more information, see [Recycle Bin][1] in the Amazon
|
17350
|
-
# Elastic Compute Cloud User Guide
|
17377
|
+
# period. For more information, see [Recycle Bin][1] in the *Amazon
|
17378
|
+
# Elastic Compute Cloud User Guide*.
|
17351
17379
|
#
|
17352
17380
|
# When you deregister an AMI, it doesn't affect any instances that
|
17353
17381
|
# you've already launched from the AMI. You'll continue to incur usage
|
@@ -18231,6 +18259,65 @@ module Aws::EC2
|
|
18231
18259
|
req.send_request(options)
|
18232
18260
|
end
|
18233
18261
|
|
18262
|
+
# Describes the curent Infrastructure Performance metric subscriptions.
|
18263
|
+
#
|
18264
|
+
# @option params [Integer] :max_results
|
18265
|
+
# The maximum number of results to return with a single call. To
|
18266
|
+
# retrieve the remaining results, make another call with the returned
|
18267
|
+
# `nextToken` value.
|
18268
|
+
#
|
18269
|
+
# @option params [String] :next_token
|
18270
|
+
# The token for the next page of results.
|
18271
|
+
#
|
18272
|
+
# @option params [Array<Types::Filter>] :filters
|
18273
|
+
# One or more filters.
|
18274
|
+
#
|
18275
|
+
# @option params [Boolean] :dry_run
|
18276
|
+
# Checks whether you have the required permissions for the action,
|
18277
|
+
# without actually making the request, and provides an error response.
|
18278
|
+
# If you have the required permissions, the error response is
|
18279
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
18280
|
+
#
|
18281
|
+
# @return [Types::DescribeAwsNetworkPerformanceMetricSubscriptionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
18282
|
+
#
|
18283
|
+
# * {Types::DescribeAwsNetworkPerformanceMetricSubscriptionsResult#next_token #next_token} => String
|
18284
|
+
# * {Types::DescribeAwsNetworkPerformanceMetricSubscriptionsResult#subscriptions #subscriptions} => Array<Types::Subscription>
|
18285
|
+
#
|
18286
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
18287
|
+
#
|
18288
|
+
# @example Request syntax with placeholder values
|
18289
|
+
#
|
18290
|
+
# resp = client.describe_aws_network_performance_metric_subscriptions({
|
18291
|
+
# max_results: 1,
|
18292
|
+
# next_token: "String",
|
18293
|
+
# filters: [
|
18294
|
+
# {
|
18295
|
+
# name: "String",
|
18296
|
+
# values: ["String"],
|
18297
|
+
# },
|
18298
|
+
# ],
|
18299
|
+
# dry_run: false,
|
18300
|
+
# })
|
18301
|
+
#
|
18302
|
+
# @example Response structure
|
18303
|
+
#
|
18304
|
+
# resp.next_token #=> String
|
18305
|
+
# resp.subscriptions #=> Array
|
18306
|
+
# resp.subscriptions[0].source #=> String
|
18307
|
+
# resp.subscriptions[0].destination #=> String
|
18308
|
+
# resp.subscriptions[0].metric #=> String, one of "aggregate-latency"
|
18309
|
+
# resp.subscriptions[0].statistic #=> String, one of "p50"
|
18310
|
+
# resp.subscriptions[0].period #=> String, one of "five-minutes", "fifteen-minutes", "one-hour", "three-hours", "one-day", "one-week"
|
18311
|
+
#
|
18312
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAwsNetworkPerformanceMetricSubscriptions AWS API Documentation
|
18313
|
+
#
|
18314
|
+
# @overload describe_aws_network_performance_metric_subscriptions(params = {})
|
18315
|
+
# @param [Hash] params ({})
|
18316
|
+
def describe_aws_network_performance_metric_subscriptions(params = {}, options = {})
|
18317
|
+
req = build_request(:describe_aws_network_performance_metric_subscriptions, params)
|
18318
|
+
req.send_request(options)
|
18319
|
+
end
|
18320
|
+
|
18234
18321
|
# Describes the specified bundle tasks or all of your bundle tasks.
|
18235
18322
|
#
|
18236
18323
|
# <note markdown="1"> Completed bundle tasks are listed for only a limited time. If your
|
@@ -21527,8 +21614,7 @@ module Aws::EC2
|
|
21527
21614
|
# recommend that you use the **Owner** request parameter instead of
|
21528
21615
|
# this filter.
|
21529
21616
|
#
|
21530
|
-
# * `platform` - The platform.
|
21531
|
-
# `windows`.
|
21617
|
+
# * `platform` - The platform. The only supported value is `windows`.
|
21532
21618
|
#
|
21533
21619
|
# * `product-code` - The product code.
|
21534
21620
|
#
|
@@ -22837,6 +22923,7 @@ module Aws::EC2
|
|
22837
22923
|
# resp.instance_types[0].network_info.efa_supported #=> Boolean
|
22838
22924
|
# resp.instance_types[0].network_info.efa_info.maximum_efa_interfaces #=> Integer
|
22839
22925
|
# resp.instance_types[0].network_info.encryption_in_transit_supported #=> Boolean
|
22926
|
+
# resp.instance_types[0].network_info.ena_srd_supported #=> Boolean
|
22840
22927
|
# resp.instance_types[0].gpu_info.gpus #=> Array
|
22841
22928
|
# resp.instance_types[0].gpu_info.gpus[0].name #=> String
|
22842
22929
|
# resp.instance_types[0].gpu_info.gpus[0].manufacturer #=> String
|
@@ -25688,6 +25775,8 @@ module Aws::EC2
|
|
25688
25775
|
# resp.network_insights_analyses[0].network_insights_analysis_id #=> String
|
25689
25776
|
# resp.network_insights_analyses[0].network_insights_analysis_arn #=> String
|
25690
25777
|
# resp.network_insights_analyses[0].network_insights_path_id #=> String
|
25778
|
+
# resp.network_insights_analyses[0].additional_accounts #=> Array
|
25779
|
+
# resp.network_insights_analyses[0].additional_accounts[0] #=> String
|
25691
25780
|
# resp.network_insights_analyses[0].filter_in_arns #=> Array
|
25692
25781
|
# resp.network_insights_analyses[0].filter_in_arns[0] #=> String
|
25693
25782
|
# resp.network_insights_analyses[0].start_date #=> Time
|
@@ -26318,6 +26407,8 @@ module Aws::EC2
|
|
26318
26407
|
# resp.network_insights_analyses[0].alternate_path_hints #=> Array
|
26319
26408
|
# resp.network_insights_analyses[0].alternate_path_hints[0].component_id #=> String
|
26320
26409
|
# resp.network_insights_analyses[0].alternate_path_hints[0].component_arn #=> String
|
26410
|
+
# resp.network_insights_analyses[0].suggested_accounts #=> Array
|
26411
|
+
# resp.network_insights_analyses[0].suggested_accounts[0] #=> String
|
26321
26412
|
# resp.network_insights_analyses[0].tags #=> Array
|
26322
26413
|
# resp.network_insights_analyses[0].tags[0].key #=> String
|
26323
26414
|
# resp.network_insights_analyses[0].tags[0].value #=> String
|
@@ -26392,6 +26483,8 @@ module Aws::EC2
|
|
26392
26483
|
# resp.network_insights_paths[0].created_date #=> Time
|
26393
26484
|
# resp.network_insights_paths[0].source #=> String
|
26394
26485
|
# resp.network_insights_paths[0].destination #=> String
|
26486
|
+
# resp.network_insights_paths[0].source_arn #=> String
|
26487
|
+
# resp.network_insights_paths[0].destination_arn #=> String
|
26395
26488
|
# resp.network_insights_paths[0].source_ip #=> String
|
26396
26489
|
# resp.network_insights_paths[0].destination_ip #=> String
|
26397
26490
|
# resp.network_insights_paths[0].protocol #=> String, one of "tcp", "udp"
|
@@ -26529,6 +26622,8 @@ module Aws::EC2
|
|
26529
26622
|
# resp.attachment.instance_id #=> String
|
26530
26623
|
# resp.attachment.instance_owner_id #=> String
|
26531
26624
|
# resp.attachment.status #=> String, one of "attaching", "attached", "detaching", "detached"
|
26625
|
+
# resp.attachment.ena_srd_specification.ena_srd_enabled #=> Boolean
|
26626
|
+
# resp.attachment.ena_srd_specification.ena_srd_udp_specification.ena_srd_udp_enabled #=> Boolean
|
26532
26627
|
# resp.description #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
26533
26628
|
# resp.groups #=> Array
|
26534
26629
|
# resp.groups[0].group_name #=> String
|
@@ -26863,6 +26958,8 @@ module Aws::EC2
|
|
26863
26958
|
# resp.network_interfaces[0].attachment.instance_id #=> String
|
26864
26959
|
# resp.network_interfaces[0].attachment.instance_owner_id #=> String
|
26865
26960
|
# resp.network_interfaces[0].attachment.status #=> String, one of "attaching", "attached", "detaching", "detached"
|
26961
|
+
# resp.network_interfaces[0].attachment.ena_srd_specification.ena_srd_enabled #=> Boolean
|
26962
|
+
# resp.network_interfaces[0].attachment.ena_srd_specification.ena_srd_udp_specification.ena_srd_udp_enabled #=> Boolean
|
26866
26963
|
# resp.network_interfaces[0].availability_zone #=> String
|
26867
26964
|
# resp.network_interfaces[0].description #=> String
|
26868
26965
|
# resp.network_interfaces[0].groups #=> Array
|
@@ -27374,7 +27471,7 @@ module Aws::EC2
|
|
27374
27471
|
#
|
27375
27472
|
#
|
27376
27473
|
#
|
27377
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
27474
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/replace-root.html
|
27378
27475
|
#
|
27379
27476
|
# @option params [Array<String>] :replace_root_volume_task_ids
|
27380
27477
|
# The ID of the root volume replacement task to view.
|
@@ -33385,9 +33482,13 @@ module Aws::EC2
|
|
33385
33482
|
# @option params [Array<Types::Filter>] :filters
|
33386
33483
|
# One or more filters.
|
33387
33484
|
#
|
33485
|
+
# * `owner` - The ID or alias of the Amazon Web Services account that
|
33486
|
+
# owns the service.
|
33487
|
+
#
|
33388
33488
|
# * `service-name` - The name of the service.
|
33389
33489
|
#
|
33390
|
-
# * `service-type` - The type of service (`Interface` \| `Gateway`
|
33490
|
+
# * `service-type` - The type of service (`Interface` \| `Gateway` \|
|
33491
|
+
# `GatewayLoadBalancer`).
|
33391
33492
|
#
|
33392
33493
|
# * `supported-ip-address-types` - The IP address type (`ipv4` \|
|
33393
33494
|
# `ipv6`).
|
@@ -33491,6 +33592,16 @@ module Aws::EC2
|
|
33491
33592
|
#
|
33492
33593
|
# * `service-name` - The name of the service.
|
33493
33594
|
#
|
33595
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
33596
|
+
# the resource. Use the tag key in the filter name and the tag value
|
33597
|
+
# as the filter value. For example, to find all resources that have a
|
33598
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
33599
|
+
# for the filter name and `TeamA` for the filter value.
|
33600
|
+
#
|
33601
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
33602
|
+
# filter to find all resources assigned a tag with a specific key,
|
33603
|
+
# regardless of the tag value.
|
33604
|
+
#
|
33494
33605
|
# * `vpc-id` - The ID of the VPC in which the endpoint resides.
|
33495
33606
|
#
|
33496
33607
|
# * `vpc-endpoint-id` - The ID of the endpoint.
|
@@ -33502,16 +33613,6 @@ module Aws::EC2
|
|
33502
33613
|
# * `vpc-endpoint-type` - The type of VPC endpoint (`Interface` \|
|
33503
33614
|
# `Gateway` \| `GatewayLoadBalancer`).
|
33504
33615
|
#
|
33505
|
-
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
33506
|
-
# the resource. Use the tag key in the filter name and the tag value
|
33507
|
-
# as the filter value. For example, to find all resources that have a
|
33508
|
-
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
33509
|
-
# for the filter name and `TeamA` for the filter value.
|
33510
|
-
#
|
33511
|
-
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
33512
|
-
# filter to find all resources assigned a tag with a specific key,
|
33513
|
-
# regardless of the tag value.
|
33514
|
-
#
|
33515
33616
|
# @option params [Integer] :max_results
|
33516
33617
|
# The maximum number of items to return for this request. The request
|
33517
33618
|
# returns a token that you can specify in a subsequent call to get the
|
@@ -34493,6 +34594,55 @@ module Aws::EC2
|
|
34493
34594
|
req.send_request(options)
|
34494
34595
|
end
|
34495
34596
|
|
34597
|
+
# Disables Infrastructure Performance metric subscriptions.
|
34598
|
+
#
|
34599
|
+
# @option params [String] :source
|
34600
|
+
# The source Region or Availability Zone that the metric subscription is
|
34601
|
+
# disabled for. For example, `us-east-1`.
|
34602
|
+
#
|
34603
|
+
# @option params [String] :destination
|
34604
|
+
# The target Region or Availability Zone that the metric subscription is
|
34605
|
+
# disabled for. For example, `eu-north-1`.
|
34606
|
+
#
|
34607
|
+
# @option params [String] :metric
|
34608
|
+
# The metric used for the disabled subscription.
|
34609
|
+
#
|
34610
|
+
# @option params [String] :statistic
|
34611
|
+
# The statistic used for the disabled subscription.
|
34612
|
+
#
|
34613
|
+
# @option params [Boolean] :dry_run
|
34614
|
+
# Checks whether you have the required permissions for the action,
|
34615
|
+
# without actually making the request, and provides an error response.
|
34616
|
+
# If you have the required permissions, the error response is
|
34617
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
34618
|
+
#
|
34619
|
+
# @return [Types::DisableAwsNetworkPerformanceMetricSubscriptionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
34620
|
+
#
|
34621
|
+
# * {Types::DisableAwsNetworkPerformanceMetricSubscriptionResult#output #output} => Boolean
|
34622
|
+
#
|
34623
|
+
# @example Request syntax with placeholder values
|
34624
|
+
#
|
34625
|
+
# resp = client.disable_aws_network_performance_metric_subscription({
|
34626
|
+
# source: "String",
|
34627
|
+
# destination: "String",
|
34628
|
+
# metric: "aggregate-latency", # accepts aggregate-latency
|
34629
|
+
# statistic: "p50", # accepts p50
|
34630
|
+
# dry_run: false,
|
34631
|
+
# })
|
34632
|
+
#
|
34633
|
+
# @example Response structure
|
34634
|
+
#
|
34635
|
+
# resp.output #=> Boolean
|
34636
|
+
#
|
34637
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableAwsNetworkPerformanceMetricSubscription AWS API Documentation
|
34638
|
+
#
|
34639
|
+
# @overload disable_aws_network_performance_metric_subscription(params = {})
|
34640
|
+
# @param [Hash] params ({})
|
34641
|
+
def disable_aws_network_performance_metric_subscription(params = {}, options = {})
|
34642
|
+
req = build_request(:disable_aws_network_performance_metric_subscription, params)
|
34643
|
+
req.send_request(options)
|
34644
|
+
end
|
34645
|
+
|
34496
34646
|
# Disables EBS encryption by default for your account in the current
|
34497
34647
|
# Region.
|
34498
34648
|
#
|
@@ -35650,6 +35800,55 @@ module Aws::EC2
|
|
35650
35800
|
req.send_request(options)
|
35651
35801
|
end
|
35652
35802
|
|
35803
|
+
# Enables Infrastructure Performance subscriptions.
|
35804
|
+
#
|
35805
|
+
# @option params [String] :source
|
35806
|
+
# The source Region or Availability Zone that the metric subscription is
|
35807
|
+
# enabled for. For example, `us-east-1`.
|
35808
|
+
#
|
35809
|
+
# @option params [String] :destination
|
35810
|
+
# The target Region or Availability Zone that the metric subscription is
|
35811
|
+
# enabled for. For example, `eu-west-1`.
|
35812
|
+
#
|
35813
|
+
# @option params [String] :metric
|
35814
|
+
# The metric used for the enabled subscription.
|
35815
|
+
#
|
35816
|
+
# @option params [String] :statistic
|
35817
|
+
# The statistic used for the enabled subscription.
|
35818
|
+
#
|
35819
|
+
# @option params [Boolean] :dry_run
|
35820
|
+
# Checks whether you have the required permissions for the action,
|
35821
|
+
# without actually making the request, and provides an error response.
|
35822
|
+
# If you have the required permissions, the error response is
|
35823
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
35824
|
+
#
|
35825
|
+
# @return [Types::EnableAwsNetworkPerformanceMetricSubscriptionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
35826
|
+
#
|
35827
|
+
# * {Types::EnableAwsNetworkPerformanceMetricSubscriptionResult#output #output} => Boolean
|
35828
|
+
#
|
35829
|
+
# @example Request syntax with placeholder values
|
35830
|
+
#
|
35831
|
+
# resp = client.enable_aws_network_performance_metric_subscription({
|
35832
|
+
# source: "String",
|
35833
|
+
# destination: "String",
|
35834
|
+
# metric: "aggregate-latency", # accepts aggregate-latency
|
35835
|
+
# statistic: "p50", # accepts p50
|
35836
|
+
# dry_run: false,
|
35837
|
+
# })
|
35838
|
+
#
|
35839
|
+
# @example Response structure
|
35840
|
+
#
|
35841
|
+
# resp.output #=> Boolean
|
35842
|
+
#
|
35843
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableAwsNetworkPerformanceMetricSubscription AWS API Documentation
|
35844
|
+
#
|
35845
|
+
# @overload enable_aws_network_performance_metric_subscription(params = {})
|
35846
|
+
# @param [Hash] params ({})
|
35847
|
+
def enable_aws_network_performance_metric_subscription(params = {}, options = {})
|
35848
|
+
req = build_request(:enable_aws_network_performance_metric_subscription, params)
|
35849
|
+
req.send_request(options)
|
35850
|
+
end
|
35851
|
+
|
35653
35852
|
# Enables EBS encryption by default for your account in the current
|
35654
35853
|
# Region.
|
35655
35854
|
#
|
@@ -35963,6 +36162,31 @@ module Aws::EC2
|
|
35963
36162
|
req.send_request(options)
|
35964
36163
|
end
|
35965
36164
|
|
36165
|
+
# @option params [Boolean] :dry_run
|
36166
|
+
#
|
36167
|
+
# @return [Types::EnableReachabilityAnalyzerOrganizationSharingResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
36168
|
+
#
|
36169
|
+
# * {Types::EnableReachabilityAnalyzerOrganizationSharingResult#return_value #return_value} => Boolean
|
36170
|
+
#
|
36171
|
+
# @example Request syntax with placeholder values
|
36172
|
+
#
|
36173
|
+
# resp = client.enable_reachability_analyzer_organization_sharing({
|
36174
|
+
# dry_run: false,
|
36175
|
+
# })
|
36176
|
+
#
|
36177
|
+
# @example Response structure
|
36178
|
+
#
|
36179
|
+
# resp.return_value #=> Boolean
|
36180
|
+
#
|
36181
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableReachabilityAnalyzerOrganizationSharing AWS API Documentation
|
36182
|
+
#
|
36183
|
+
# @overload enable_reachability_analyzer_organization_sharing(params = {})
|
36184
|
+
# @param [Hash] params ({})
|
36185
|
+
def enable_reachability_analyzer_organization_sharing(params = {}, options = {})
|
36186
|
+
req = build_request(:enable_reachability_analyzer_organization_sharing, params)
|
36187
|
+
req.send_request(options)
|
36188
|
+
end
|
36189
|
+
|
35966
36190
|
# Enables access to the EC2 serial console of all instances for your
|
35967
36191
|
# account. By default, access to the EC2 serial console is disabled for
|
35968
36192
|
# your account. For more information, see [Manage account access to the
|
@@ -36603,6 +36827,87 @@ module Aws::EC2
|
|
36603
36827
|
req.send_request(options)
|
36604
36828
|
end
|
36605
36829
|
|
36830
|
+
# Gets network performance data.
|
36831
|
+
#
|
36832
|
+
# @option params [Array<Types::DataQuery>] :data_queries
|
36833
|
+
# A list of network performance data queries.
|
36834
|
+
#
|
36835
|
+
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
36836
|
+
# The starting time for the performance data request. The starting time
|
36837
|
+
# must be formatted as `yyyy-mm-ddThh:mm:ss`. For example,
|
36838
|
+
# `2022-06-10T12:00:00.000Z`.
|
36839
|
+
#
|
36840
|
+
# @option params [Time,DateTime,Date,Integer,String] :end_time
|
36841
|
+
# The ending time for the performance data request. The end time must be
|
36842
|
+
# formatted as `yyyy-mm-ddThh:mm:ss`. For example,
|
36843
|
+
# `2022-06-12T12:00:00.000Z`.
|
36844
|
+
#
|
36845
|
+
# @option params [Integer] :max_results
|
36846
|
+
# The maximum number of results to return with a single call. To
|
36847
|
+
# retrieve the remaining results, make another call with the returned
|
36848
|
+
# `nextToken` value.
|
36849
|
+
#
|
36850
|
+
# @option params [String] :next_token
|
36851
|
+
# The token for the next page of results.
|
36852
|
+
#
|
36853
|
+
# @option params [Boolean] :dry_run
|
36854
|
+
# Checks whether you have the required permissions for the action,
|
36855
|
+
# without actually making the request, and provides an error response.
|
36856
|
+
# If you have the required permissions, the error response is
|
36857
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
36858
|
+
#
|
36859
|
+
# @return [Types::GetAwsNetworkPerformanceDataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
36860
|
+
#
|
36861
|
+
# * {Types::GetAwsNetworkPerformanceDataResult#data_responses #data_responses} => Array<Types::DataResponse>
|
36862
|
+
# * {Types::GetAwsNetworkPerformanceDataResult#next_token #next_token} => String
|
36863
|
+
#
|
36864
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
36865
|
+
#
|
36866
|
+
# @example Request syntax with placeholder values
|
36867
|
+
#
|
36868
|
+
# resp = client.get_aws_network_performance_data({
|
36869
|
+
# data_queries: [
|
36870
|
+
# {
|
36871
|
+
# id: "String",
|
36872
|
+
# source: "String",
|
36873
|
+
# destination: "String",
|
36874
|
+
# metric: "aggregate-latency", # accepts aggregate-latency
|
36875
|
+
# statistic: "p50", # accepts p50
|
36876
|
+
# period: "five-minutes", # accepts five-minutes, fifteen-minutes, one-hour, three-hours, one-day, one-week
|
36877
|
+
# },
|
36878
|
+
# ],
|
36879
|
+
# start_time: Time.now,
|
36880
|
+
# end_time: Time.now,
|
36881
|
+
# max_results: 1,
|
36882
|
+
# next_token: "String",
|
36883
|
+
# dry_run: false,
|
36884
|
+
# })
|
36885
|
+
#
|
36886
|
+
# @example Response structure
|
36887
|
+
#
|
36888
|
+
# resp.data_responses #=> Array
|
36889
|
+
# resp.data_responses[0].id #=> String
|
36890
|
+
# resp.data_responses[0].source #=> String
|
36891
|
+
# resp.data_responses[0].destination #=> String
|
36892
|
+
# resp.data_responses[0].metric #=> String, one of "aggregate-latency"
|
36893
|
+
# resp.data_responses[0].statistic #=> String, one of "p50"
|
36894
|
+
# resp.data_responses[0].period #=> String, one of "five-minutes", "fifteen-minutes", "one-hour", "three-hours", "one-day", "one-week"
|
36895
|
+
# resp.data_responses[0].metric_points #=> Array
|
36896
|
+
# resp.data_responses[0].metric_points[0].start_date #=> Time
|
36897
|
+
# resp.data_responses[0].metric_points[0].end_date #=> Time
|
36898
|
+
# resp.data_responses[0].metric_points[0].value #=> Float
|
36899
|
+
# resp.data_responses[0].metric_points[0].status #=> String
|
36900
|
+
# resp.next_token #=> String
|
36901
|
+
#
|
36902
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetAwsNetworkPerformanceData AWS API Documentation
|
36903
|
+
#
|
36904
|
+
# @overload get_aws_network_performance_data(params = {})
|
36905
|
+
# @param [Hash] params ({})
|
36906
|
+
def get_aws_network_performance_data(params = {}, options = {})
|
36907
|
+
req = build_request(:get_aws_network_performance_data, params)
|
36908
|
+
req.send_request(options)
|
36909
|
+
end
|
36910
|
+
|
36606
36911
|
# Gets usage information about a Capacity Reservation. If the Capacity
|
36607
36912
|
# Reservation is shared, it shows usage information for the Capacity
|
36608
36913
|
# Reservation owner and each Amazon Web Services account that is
|
@@ -42921,8 +43226,8 @@ module Aws::EC2
|
|
42921
43226
|
# detach security groups from an existing EC2 instance.
|
42922
43227
|
#
|
42923
43228
|
# @option params [Types::NetworkInterfaceAttachmentChanges] :attachment
|
42924
|
-
# Information about the interface attachment. If modifying the
|
42925
|
-
# on termination
|
43229
|
+
# Information about the interface attachment. If modifying the `delete
|
43230
|
+
# on termination` attribute, you must specify the ID of the interface
|
42926
43231
|
# attachment.
|
42927
43232
|
#
|
42928
43233
|
# @option params [Types::AttributeValue] :description
|
@@ -42951,6 +43256,10 @@ module Aws::EC2
|
|
42951
43256
|
# You must disable source/destination checks if the instance runs
|
42952
43257
|
# services such as network address translation, routing, or firewalls.
|
42953
43258
|
#
|
43259
|
+
# @option params [Types::EnaSrdSpecification] :ena_srd_specification
|
43260
|
+
# Updates the ENA Express configuration for the network interface that’s
|
43261
|
+
# attached to the instance.
|
43262
|
+
#
|
42954
43263
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
42955
43264
|
#
|
42956
43265
|
#
|
@@ -43014,6 +43323,12 @@ module Aws::EC2
|
|
43014
43323
|
# source_dest_check: {
|
43015
43324
|
# value: false,
|
43016
43325
|
# },
|
43326
|
+
# ena_srd_specification: {
|
43327
|
+
# ena_srd_enabled: false,
|
43328
|
+
# ena_srd_udp_specification: {
|
43329
|
+
# ena_srd_udp_enabled: false,
|
43330
|
+
# },
|
43331
|
+
# },
|
43017
43332
|
# })
|
43018
43333
|
#
|
43019
43334
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkInterfaceAttribute AWS API Documentation
|
@@ -46251,8 +46566,8 @@ module Aws::EC2
|
|
46251
46566
|
|
46252
46567
|
# Registers an AMI. When you're creating an AMI, this is the final step
|
46253
46568
|
# you must complete before you can launch an instance from the AMI. For
|
46254
|
-
# more information about creating AMIs, see [
|
46255
|
-
#
|
46569
|
+
# more information about creating AMIs, see [Create your own AMI][1] in
|
46570
|
+
# the *Amazon Elastic Compute Cloud User Guide*.
|
46256
46571
|
#
|
46257
46572
|
# <note markdown="1"> For Amazon EBS-backed instances, CreateImage creates and registers the
|
46258
46573
|
# AMI in a single request, so you don't have to register the AMI
|
@@ -46304,8 +46619,8 @@ module Aws::EC2
|
|
46304
46619
|
# you purchase a Reserved Instance without the matching billing product
|
46305
46620
|
# code, the Reserved Instance will not be applied to the On-Demand
|
46306
46621
|
# Instance. For information about how to obtain the platform details and
|
46307
|
-
# billing information of an AMI, see [
|
46308
|
-
# the *Amazon Elastic Compute Cloud User Guide*.
|
46622
|
+
# billing information of an AMI, see [Understand AMI billing
|
46623
|
+
# information][4] in the *Amazon Elastic Compute Cloud User Guide*.
|
46309
46624
|
#
|
46310
46625
|
#
|
46311
46626
|
#
|
@@ -51084,6 +51399,8 @@ module Aws::EC2
|
|
51084
51399
|
# @option params [required, String] :network_insights_path_id
|
51085
51400
|
# The ID of the path.
|
51086
51401
|
#
|
51402
|
+
# @option params [Array<String>] :additional_accounts
|
51403
|
+
#
|
51087
51404
|
# @option params [Array<String>] :filter_in_arns
|
51088
51405
|
# The Amazon Resource Names (ARN) of the resources that the path must
|
51089
51406
|
# traverse.
|
@@ -51117,6 +51434,7 @@ module Aws::EC2
|
|
51117
51434
|
#
|
51118
51435
|
# resp = client.start_network_insights_analysis({
|
51119
51436
|
# network_insights_path_id: "NetworkInsightsPathId", # required
|
51437
|
+
# additional_accounts: ["String"],
|
51120
51438
|
# filter_in_arns: ["ResourceArn"],
|
51121
51439
|
# dry_run: false,
|
51122
51440
|
# tag_specifications: [
|
@@ -51138,6 +51456,8 @@ module Aws::EC2
|
|
51138
51456
|
# resp.network_insights_analysis.network_insights_analysis_id #=> String
|
51139
51457
|
# resp.network_insights_analysis.network_insights_analysis_arn #=> String
|
51140
51458
|
# resp.network_insights_analysis.network_insights_path_id #=> String
|
51459
|
+
# resp.network_insights_analysis.additional_accounts #=> Array
|
51460
|
+
# resp.network_insights_analysis.additional_accounts[0] #=> String
|
51141
51461
|
# resp.network_insights_analysis.filter_in_arns #=> Array
|
51142
51462
|
# resp.network_insights_analysis.filter_in_arns[0] #=> String
|
51143
51463
|
# resp.network_insights_analysis.start_date #=> Time
|
@@ -51768,6 +52088,8 @@ module Aws::EC2
|
|
51768
52088
|
# resp.network_insights_analysis.alternate_path_hints #=> Array
|
51769
52089
|
# resp.network_insights_analysis.alternate_path_hints[0].component_id #=> String
|
51770
52090
|
# resp.network_insights_analysis.alternate_path_hints[0].component_arn #=> String
|
52091
|
+
# resp.network_insights_analysis.suggested_accounts #=> Array
|
52092
|
+
# resp.network_insights_analysis.suggested_accounts[0] #=> String
|
51771
52093
|
# resp.network_insights_analysis.tags #=> Array
|
51772
52094
|
# resp.network_insights_analysis.tags[0].key #=> String
|
51773
52095
|
# resp.network_insights_analysis.tags[0].value #=> String
|
@@ -52590,7 +52912,7 @@ module Aws::EC2
|
|
52590
52912
|
params: params,
|
52591
52913
|
config: config)
|
52592
52914
|
context[:gem_name] = 'aws-sdk-ec2'
|
52593
|
-
context[:gem_version] = '1.
|
52915
|
+
context[:gem_version] = '1.352.0'
|
52594
52916
|
Seahorse::Client::Request.new(handlers, context)
|
52595
52917
|
end
|
52596
52918
|
|