aws-sdk-ec2 1.351.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +326 -17
- data/lib/aws-sdk-ec2/client_api.rb +190 -1
- data/lib/aws-sdk-ec2/endpoints.rb +70 -0
- 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/types.rb +839 -142
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2e40d08f06900098f9168e43ef0483a9f664094b3377039b0ee57e02320ad8e
|
4
|
+
data.tar.gz: a6c3e89de28b255b9ba2c34516e041a37c4c7672478a133e1c3e9ebe3142cfa7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 979c7c9fe3337cacee3056f2d5639ea708a58ab225afe9f611d176c8873087c9eca7d4a72aa9bcfb5d1f1e3ae62712536951d12922e493de6612e88cb3ba9898
|
7
|
+
data.tar.gz: 1fae044b194abcef307244a03e1e8c09aee91c0d92e4a7dfee5334d21bd1ee284fc28b6d69e0c9a5ef0d018577882574a3e303beb0d6f2a062a870e28872f82a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.352.0 (2022-11-29)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Introduces ENA Express, which uses AWS SRD and dynamic routing to increase throughput and minimize latency, adds support for trust relationships between Reachability Analyzer and AWS Organizations to enable cross-account analysis, and adds support for Infrastructure Performance metric subscriptions.
|
8
|
+
|
4
9
|
1.351.0 (2022-11-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.352.0
|
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
|
@@ -9411,6 +9421,8 @@ module Aws::EC2
|
|
9411
9421
|
# resp.network_insights_path.created_date #=> Time
|
9412
9422
|
# resp.network_insights_path.source #=> String
|
9413
9423
|
# resp.network_insights_path.destination #=> String
|
9424
|
+
# resp.network_insights_path.source_arn #=> String
|
9425
|
+
# resp.network_insights_path.destination_arn #=> String
|
9414
9426
|
# resp.network_insights_path.source_ip #=> String
|
9415
9427
|
# resp.network_insights_path.destination_ip #=> String
|
9416
9428
|
# resp.network_insights_path.protocol #=> String, one of "tcp", "udp"
|
@@ -9667,6 +9679,8 @@ module Aws::EC2
|
|
9667
9679
|
# resp.network_interface.attachment.instance_id #=> String
|
9668
9680
|
# resp.network_interface.attachment.instance_owner_id #=> String
|
9669
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
|
9670
9684
|
# resp.network_interface.availability_zone #=> String
|
9671
9685
|
# resp.network_interface.description #=> String
|
9672
9686
|
# resp.network_interface.groups #=> Array
|
@@ -9952,7 +9966,7 @@ module Aws::EC2
|
|
9952
9966
|
#
|
9953
9967
|
#
|
9954
9968
|
#
|
9955
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
9969
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/replace-root.html
|
9956
9970
|
#
|
9957
9971
|
# @option params [required, String] :instance_id
|
9958
9972
|
# The ID of the instance for which to replace the root volume.
|
@@ -18245,6 +18259,65 @@ module Aws::EC2
|
|
18245
18259
|
req.send_request(options)
|
18246
18260
|
end
|
18247
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
|
+
|
18248
18321
|
# Describes the specified bundle tasks or all of your bundle tasks.
|
18249
18322
|
#
|
18250
18323
|
# <note markdown="1"> Completed bundle tasks are listed for only a limited time. If your
|
@@ -22850,6 +22923,7 @@ module Aws::EC2
|
|
22850
22923
|
# resp.instance_types[0].network_info.efa_supported #=> Boolean
|
22851
22924
|
# resp.instance_types[0].network_info.efa_info.maximum_efa_interfaces #=> Integer
|
22852
22925
|
# resp.instance_types[0].network_info.encryption_in_transit_supported #=> Boolean
|
22926
|
+
# resp.instance_types[0].network_info.ena_srd_supported #=> Boolean
|
22853
22927
|
# resp.instance_types[0].gpu_info.gpus #=> Array
|
22854
22928
|
# resp.instance_types[0].gpu_info.gpus[0].name #=> String
|
22855
22929
|
# resp.instance_types[0].gpu_info.gpus[0].manufacturer #=> String
|
@@ -25701,6 +25775,8 @@ module Aws::EC2
|
|
25701
25775
|
# resp.network_insights_analyses[0].network_insights_analysis_id #=> String
|
25702
25776
|
# resp.network_insights_analyses[0].network_insights_analysis_arn #=> String
|
25703
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
|
25704
25780
|
# resp.network_insights_analyses[0].filter_in_arns #=> Array
|
25705
25781
|
# resp.network_insights_analyses[0].filter_in_arns[0] #=> String
|
25706
25782
|
# resp.network_insights_analyses[0].start_date #=> Time
|
@@ -26331,6 +26407,8 @@ module Aws::EC2
|
|
26331
26407
|
# resp.network_insights_analyses[0].alternate_path_hints #=> Array
|
26332
26408
|
# resp.network_insights_analyses[0].alternate_path_hints[0].component_id #=> String
|
26333
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
|
26334
26412
|
# resp.network_insights_analyses[0].tags #=> Array
|
26335
26413
|
# resp.network_insights_analyses[0].tags[0].key #=> String
|
26336
26414
|
# resp.network_insights_analyses[0].tags[0].value #=> String
|
@@ -26405,6 +26483,8 @@ module Aws::EC2
|
|
26405
26483
|
# resp.network_insights_paths[0].created_date #=> Time
|
26406
26484
|
# resp.network_insights_paths[0].source #=> String
|
26407
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
|
26408
26488
|
# resp.network_insights_paths[0].source_ip #=> String
|
26409
26489
|
# resp.network_insights_paths[0].destination_ip #=> String
|
26410
26490
|
# resp.network_insights_paths[0].protocol #=> String, one of "tcp", "udp"
|
@@ -26542,6 +26622,8 @@ module Aws::EC2
|
|
26542
26622
|
# resp.attachment.instance_id #=> String
|
26543
26623
|
# resp.attachment.instance_owner_id #=> String
|
26544
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
|
26545
26627
|
# resp.description #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
26546
26628
|
# resp.groups #=> Array
|
26547
26629
|
# resp.groups[0].group_name #=> String
|
@@ -26876,6 +26958,8 @@ module Aws::EC2
|
|
26876
26958
|
# resp.network_interfaces[0].attachment.instance_id #=> String
|
26877
26959
|
# resp.network_interfaces[0].attachment.instance_owner_id #=> String
|
26878
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
|
26879
26963
|
# resp.network_interfaces[0].availability_zone #=> String
|
26880
26964
|
# resp.network_interfaces[0].description #=> String
|
26881
26965
|
# resp.network_interfaces[0].groups #=> Array
|
@@ -27387,7 +27471,7 @@ module Aws::EC2
|
|
27387
27471
|
#
|
27388
27472
|
#
|
27389
27473
|
#
|
27390
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
27474
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/replace-root.html
|
27391
27475
|
#
|
27392
27476
|
# @option params [Array<String>] :replace_root_volume_task_ids
|
27393
27477
|
# The ID of the root volume replacement task to view.
|
@@ -33398,9 +33482,13 @@ module Aws::EC2
|
|
33398
33482
|
# @option params [Array<Types::Filter>] :filters
|
33399
33483
|
# One or more filters.
|
33400
33484
|
#
|
33485
|
+
# * `owner` - The ID or alias of the Amazon Web Services account that
|
33486
|
+
# owns the service.
|
33487
|
+
#
|
33401
33488
|
# * `service-name` - The name of the service.
|
33402
33489
|
#
|
33403
|
-
# * `service-type` - The type of service (`Interface` \| `Gateway`
|
33490
|
+
# * `service-type` - The type of service (`Interface` \| `Gateway` \|
|
33491
|
+
# `GatewayLoadBalancer`).
|
33404
33492
|
#
|
33405
33493
|
# * `supported-ip-address-types` - The IP address type (`ipv4` \|
|
33406
33494
|
# `ipv6`).
|
@@ -33504,6 +33592,16 @@ module Aws::EC2
|
|
33504
33592
|
#
|
33505
33593
|
# * `service-name` - The name of the service.
|
33506
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
|
+
#
|
33507
33605
|
# * `vpc-id` - The ID of the VPC in which the endpoint resides.
|
33508
33606
|
#
|
33509
33607
|
# * `vpc-endpoint-id` - The ID of the endpoint.
|
@@ -33515,16 +33613,6 @@ module Aws::EC2
|
|
33515
33613
|
# * `vpc-endpoint-type` - The type of VPC endpoint (`Interface` \|
|
33516
33614
|
# `Gateway` \| `GatewayLoadBalancer`).
|
33517
33615
|
#
|
33518
|
-
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
33519
|
-
# the resource. Use the tag key in the filter name and the tag value
|
33520
|
-
# as the filter value. For example, to find all resources that have a
|
33521
|
-
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
33522
|
-
# for the filter name and `TeamA` for the filter value.
|
33523
|
-
#
|
33524
|
-
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
33525
|
-
# filter to find all resources assigned a tag with a specific key,
|
33526
|
-
# regardless of the tag value.
|
33527
|
-
#
|
33528
33616
|
# @option params [Integer] :max_results
|
33529
33617
|
# The maximum number of items to return for this request. The request
|
33530
33618
|
# returns a token that you can specify in a subsequent call to get the
|
@@ -34506,6 +34594,55 @@ module Aws::EC2
|
|
34506
34594
|
req.send_request(options)
|
34507
34595
|
end
|
34508
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
|
+
|
34509
34646
|
# Disables EBS encryption by default for your account in the current
|
34510
34647
|
# Region.
|
34511
34648
|
#
|
@@ -35663,6 +35800,55 @@ module Aws::EC2
|
|
35663
35800
|
req.send_request(options)
|
35664
35801
|
end
|
35665
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
|
+
|
35666
35852
|
# Enables EBS encryption by default for your account in the current
|
35667
35853
|
# Region.
|
35668
35854
|
#
|
@@ -35976,6 +36162,31 @@ module Aws::EC2
|
|
35976
36162
|
req.send_request(options)
|
35977
36163
|
end
|
35978
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
|
+
|
35979
36190
|
# Enables access to the EC2 serial console of all instances for your
|
35980
36191
|
# account. By default, access to the EC2 serial console is disabled for
|
35981
36192
|
# your account. For more information, see [Manage account access to the
|
@@ -36616,6 +36827,87 @@ module Aws::EC2
|
|
36616
36827
|
req.send_request(options)
|
36617
36828
|
end
|
36618
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
|
+
|
36619
36911
|
# Gets usage information about a Capacity Reservation. If the Capacity
|
36620
36912
|
# Reservation is shared, it shows usage information for the Capacity
|
36621
36913
|
# Reservation owner and each Amazon Web Services account that is
|
@@ -42934,8 +43226,8 @@ module Aws::EC2
|
|
42934
43226
|
# detach security groups from an existing EC2 instance.
|
42935
43227
|
#
|
42936
43228
|
# @option params [Types::NetworkInterfaceAttachmentChanges] :attachment
|
42937
|
-
# Information about the interface attachment. If modifying the
|
42938
|
-
# on termination
|
43229
|
+
# Information about the interface attachment. If modifying the `delete
|
43230
|
+
# on termination` attribute, you must specify the ID of the interface
|
42939
43231
|
# attachment.
|
42940
43232
|
#
|
42941
43233
|
# @option params [Types::AttributeValue] :description
|
@@ -42964,6 +43256,10 @@ module Aws::EC2
|
|
42964
43256
|
# You must disable source/destination checks if the instance runs
|
42965
43257
|
# services such as network address translation, routing, or firewalls.
|
42966
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
|
+
#
|
42967
43263
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
42968
43264
|
#
|
42969
43265
|
#
|
@@ -43027,6 +43323,12 @@ module Aws::EC2
|
|
43027
43323
|
# source_dest_check: {
|
43028
43324
|
# value: false,
|
43029
43325
|
# },
|
43326
|
+
# ena_srd_specification: {
|
43327
|
+
# ena_srd_enabled: false,
|
43328
|
+
# ena_srd_udp_specification: {
|
43329
|
+
# ena_srd_udp_enabled: false,
|
43330
|
+
# },
|
43331
|
+
# },
|
43030
43332
|
# })
|
43031
43333
|
#
|
43032
43334
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkInterfaceAttribute AWS API Documentation
|
@@ -51097,6 +51399,8 @@ module Aws::EC2
|
|
51097
51399
|
# @option params [required, String] :network_insights_path_id
|
51098
51400
|
# The ID of the path.
|
51099
51401
|
#
|
51402
|
+
# @option params [Array<String>] :additional_accounts
|
51403
|
+
#
|
51100
51404
|
# @option params [Array<String>] :filter_in_arns
|
51101
51405
|
# The Amazon Resource Names (ARN) of the resources that the path must
|
51102
51406
|
# traverse.
|
@@ -51130,6 +51434,7 @@ module Aws::EC2
|
|
51130
51434
|
#
|
51131
51435
|
# resp = client.start_network_insights_analysis({
|
51132
51436
|
# network_insights_path_id: "NetworkInsightsPathId", # required
|
51437
|
+
# additional_accounts: ["String"],
|
51133
51438
|
# filter_in_arns: ["ResourceArn"],
|
51134
51439
|
# dry_run: false,
|
51135
51440
|
# tag_specifications: [
|
@@ -51151,6 +51456,8 @@ module Aws::EC2
|
|
51151
51456
|
# resp.network_insights_analysis.network_insights_analysis_id #=> String
|
51152
51457
|
# resp.network_insights_analysis.network_insights_analysis_arn #=> String
|
51153
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
|
51154
51461
|
# resp.network_insights_analysis.filter_in_arns #=> Array
|
51155
51462
|
# resp.network_insights_analysis.filter_in_arns[0] #=> String
|
51156
51463
|
# resp.network_insights_analysis.start_date #=> Time
|
@@ -51781,6 +52088,8 @@ module Aws::EC2
|
|
51781
52088
|
# resp.network_insights_analysis.alternate_path_hints #=> Array
|
51782
52089
|
# resp.network_insights_analysis.alternate_path_hints[0].component_id #=> String
|
51783
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
|
51784
52093
|
# resp.network_insights_analysis.tags #=> Array
|
51785
52094
|
# resp.network_insights_analysis.tags[0].key #=> String
|
51786
52095
|
# resp.network_insights_analysis.tags[0].value #=> String
|
@@ -52603,7 +52912,7 @@ module Aws::EC2
|
|
52603
52912
|
params: params,
|
52604
52913
|
config: config)
|
52605
52914
|
context[:gem_name] = 'aws-sdk-ec2'
|
52606
|
-
context[:gem_version] = '1.
|
52915
|
+
context[:gem_version] = '1.352.0'
|
52607
52916
|
Seahorse::Client::Request.new(handlers, context)
|
52608
52917
|
end
|
52609
52918
|
|