aws-sdk-ec2 1.330.0 → 1.332.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2354,10 +2354,10 @@ module Aws::EC2
2354
2354
  req.send_request(options)
2355
2355
  end
2356
2356
 
2357
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
2358
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
2359
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
2360
- # User Guide*.
2357
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
2358
+ # EC2-Classic to a VPC. For more information, see [Migrate from
2359
+ # EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
2360
+ # Guide*.
2361
2361
  #
2362
2362
  # </note>
2363
2363
  #
@@ -5296,10 +5296,10 @@ module Aws::EC2
5296
5296
  # really want a default VPC for my existing EC2 account. Is that
5297
5297
  # possible?" in the [Default VPCs FAQ][2].
5298
5298
  #
5299
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
5300
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
5301
- # from EC2-Classic to a VPC][3] in the *Amazon Elastic Compute Cloud
5302
- # User Guide*.
5299
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
5300
+ # EC2-Classic to a VPC. For more information, see [Migrate from
5301
+ # EC2-Classic to a VPC][3] in the *Amazon Elastic Compute Cloud User
5302
+ # Guide*.
5303
5303
  #
5304
5304
  # </note>
5305
5305
  #
@@ -5793,7 +5793,7 @@ module Aws::EC2
5793
5793
  # max: 1,
5794
5794
  # },
5795
5795
  # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
5796
- # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
5796
+ # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p, inferentia, k520
5797
5797
  # accelerator_total_memory_mi_b: {
5798
5798
  # min: 1,
5799
5799
  # max: 1,
@@ -5876,7 +5876,7 @@ module Aws::EC2
5876
5876
  # resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_manufacturers #=> Array
5877
5877
  # resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_manufacturers[0] #=> String, one of "nvidia", "amd", "amazon-web-services", "xilinx"
5878
5878
  # resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_names #=> Array
5879
- # resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p"
5879
+ # resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
5880
5880
  # resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
5881
5881
  # resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
5882
5882
  # resp.errors[0].lifecycle #=> String, one of "spot", "on-demand"
@@ -5926,7 +5926,7 @@ module Aws::EC2
5926
5926
  # resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_manufacturers #=> Array
5927
5927
  # resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_manufacturers[0] #=> String, one of "nvidia", "amd", "amazon-web-services", "xilinx"
5928
5928
  # resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_names #=> Array
5929
- # resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p"
5929
+ # resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
5930
5930
  # resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
5931
5931
  # resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
5932
5932
  # resp.instances[0].lifecycle #=> String, one of "spot", "on-demand"
@@ -5982,71 +5982,71 @@ module Aws::EC2
5982
5982
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
5983
5983
  #
5984
5984
  # @option params [String] :deliver_logs_permission_arn
5985
- # The ARN for the IAM role that permits Amazon EC2 to publish flow logs
5986
- # to a CloudWatch Logs log group in your account.
5985
+ # The ARN of the IAM role that allows Amazon EC2 to publish flow logs to
5986
+ # a CloudWatch Logs log group in your account.
5987
+ #
5988
+ # This parameter is required if the destination type is
5989
+ # `cloud-watch-logs` and unsupported otherwise.
5987
5990
  #
5988
- # If you specify `LogDestinationType` as `s3`, do not specify
5989
- # `DeliverLogsPermissionArn` or `LogGroupName`.
5991
+ # @option params [String] :deliver_cross_account_role
5992
+ # The ARN of the IAM role that allows Amazon EC2 to publish flow logs
5993
+ # across accounts.
5990
5994
  #
5991
5995
  # @option params [String] :log_group_name
5992
5996
  # The name of a new or existing CloudWatch Logs log group where Amazon
5993
5997
  # EC2 publishes your flow logs.
5994
5998
  #
5995
- # If you specify `LogDestinationType` as `s3`, do not specify
5996
- # `DeliverLogsPermissionArn` or `LogGroupName`.
5999
+ # This parameter is valid only if the destination type is
6000
+ # `cloud-watch-logs`.
5997
6001
  #
5998
6002
  # @option params [required, Array<String>] :resource_ids
5999
- # The ID of the subnet, network interface, or VPC for which you want to
6000
- # create a flow log.
6003
+ # The IDs of the resources to monitor. For example, if the resource type
6004
+ # is `VPC`, specify the IDs of the VPCs.
6001
6005
  #
6002
6006
  # Constraints: Maximum of 1000 resources
6003
6007
  #
6004
6008
  # @option params [required, String] :resource_type
6005
- # The type of resource for which to create the flow log. For example, if
6006
- # you specified a VPC ID for the `ResourceId` property, specify `VPC`
6007
- # for this property.
6009
+ # The type of resource to monitor.
6008
6010
  #
6009
6011
  # @option params [String] :traffic_type
6010
- # The type of traffic to log. You can log traffic that the resource
6011
- # accepts or rejects, or all traffic.
6012
+ # The type of traffic to monitor (accepted traffic, rejected traffic, or
6013
+ # all traffic).
6012
6014
  #
6013
6015
  # @option params [String] :log_destination_type
6014
- # The type of destination to which the flow log data is to be published.
6015
- # Flow log data can be published to CloudWatch Logs or Amazon S3. To
6016
- # publish flow log data to CloudWatch Logs, specify `cloud-watch-logs`.
6017
- # To publish flow log data to Amazon S3, specify `s3`.
6018
- #
6019
- # If you specify `LogDestinationType` as `s3`, do not specify
6020
- # `DeliverLogsPermissionArn` or `LogGroupName`.
6016
+ # The type of destination for the flow log data.
6021
6017
  #
6022
6018
  # Default: `cloud-watch-logs`
6023
6019
  #
6024
6020
  # @option params [String] :log_destination
6025
- # The destination to which the flow log data is to be published. Flow
6026
- # log data can be published to a CloudWatch Logs log group or an Amazon
6027
- # S3 bucket. The value specified for this parameter depends on the value
6028
- # specified for `LogDestinationType`.
6029
- #
6030
- # If `LogDestinationType` is not specified or `cloud-watch-logs`,
6031
- # specify the Amazon Resource Name (ARN) of the CloudWatch Logs log
6032
- # group. For example, to publish to a log group called `my-logs`,
6033
- # specify `arn:aws:logs:us-east-1:123456789012:log-group:my-logs`.
6034
- # Alternatively, use `LogGroupName` instead.
6035
- #
6036
- # If LogDestinationType is `s3`, specify the ARN of the Amazon S3
6037
- # bucket. You can also specify a subfolder in the bucket. To specify a
6038
- # subfolder in the bucket, use the following ARN format:
6039
- # `bucket_ARN/subfolder_name/`. For example, to specify a subfolder
6040
- # named `my-logs` in a bucket named `my-bucket`, use the following ARN:
6041
- # `arn:aws:s3:::my-bucket/my-logs/`. You cannot use `AWSLogs` as a
6042
- # subfolder name. This is a reserved term.
6021
+ # The destination for the flow log data. The meaning of this parameter
6022
+ # depends on the destination type.
6023
+ #
6024
+ # * If the destination type is `cloud-watch-logs`, specify the ARN of a
6025
+ # CloudWatch Logs log group. For example:
6026
+ #
6027
+ # arn:aws:logs:*region*\:*account\_id*\:log-group:*my\_group*
6028
+ #
6029
+ # Alternatively, use the `LogGroupName` parameter.
6030
+ #
6031
+ # * If the destination type is `s3`, specify the ARN of an S3 bucket.
6032
+ # For example:
6033
+ #
6034
+ # arn:aws:s3:::*my\_bucket*/*my\_subfolder*/
6035
+ #
6036
+ # The subfolder is optional. Note that you can't use `AWSLogs` as a
6037
+ # subfolder name.
6038
+ #
6039
+ # * If the destination type is `kinesis-data-firehose`, specify the ARN
6040
+ # of a Kinesis Data Firehose delivery stream. For example:
6041
+ #
6042
+ # arn:aws:firehose:*region*\:*account\_id*\:deliverystream:*my\_stream*
6043
6043
  #
6044
6044
  # @option params [String] :log_format
6045
- # The fields to include in the flow log record, in the order in which
6046
- # they should appear. For a list of available fields, see [Flow log
6047
- # records][1]. If you omit this parameter, the flow log is created using
6048
- # the default format. If you specify this parameter, you must specify at
6049
- # least one field.
6045
+ # The fields to include in the flow log record. List the fields in the
6046
+ # order in which they should appear. For more information about the
6047
+ # available fields, see [Flow log records][1]. If you omit this
6048
+ # parameter, the flow log is created using the default format. If you
6049
+ # specify this parameter, you must include at least one field.
6050
6050
  #
6051
6051
  # Specify the fields using the `$\{field-id\}` format, separated by
6052
6052
  # spaces. For the CLI, surround this parameter value with single quotes
@@ -6089,11 +6089,12 @@ module Aws::EC2
6089
6089
  # dry_run: false,
6090
6090
  # client_token: "String",
6091
6091
  # deliver_logs_permission_arn: "String",
6092
+ # deliver_cross_account_role: "String",
6092
6093
  # log_group_name: "String",
6093
6094
  # resource_ids: ["FlowLogResourceId"], # required
6094
6095
  # resource_type: "VPC", # required, accepts VPC, Subnet, NetworkInterface, TransitGateway, TransitGatewayAttachment
6095
6096
  # traffic_type: "ACCEPT", # accepts ACCEPT, REJECT, ALL
6096
- # log_destination_type: "cloud-watch-logs", # accepts cloud-watch-logs, s3
6097
+ # log_destination_type: "cloud-watch-logs", # accepts cloud-watch-logs, s3, kinesis-data-firehose
6097
6098
  # log_destination: "String",
6098
6099
  # log_format: "String",
6099
6100
  # tag_specifications: [
@@ -7505,7 +7506,7 @@ module Aws::EC2
7505
7506
  # max: 1,
7506
7507
  # },
7507
7508
  # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
7508
- # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
7509
+ # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p, inferentia, k520
7509
7510
  # accelerator_total_memory_mi_b: {
7510
7511
  # min: 1,
7511
7512
  # max: 1,
@@ -7870,7 +7871,7 @@ module Aws::EC2
7870
7871
  # max: 1,
7871
7872
  # },
7872
7873
  # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
7873
- # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
7874
+ # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p, inferentia, k520
7874
7875
  # accelerator_total_memory_mi_b: {
7875
7876
  # min: 1,
7876
7877
  # max: 1,
@@ -8024,7 +8025,7 @@ module Aws::EC2
8024
8025
  # resp.launch_template_version.launch_template_data.instance_requirements.accelerator_manufacturers #=> Array
8025
8026
  # resp.launch_template_version.launch_template_data.instance_requirements.accelerator_manufacturers[0] #=> String, one of "nvidia", "amd", "amazon-web-services", "xilinx"
8026
8027
  # resp.launch_template_version.launch_template_data.instance_requirements.accelerator_names #=> Array
8027
- # resp.launch_template_version.launch_template_data.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p"
8028
+ # resp.launch_template_version.launch_template_data.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
8028
8029
  # resp.launch_template_version.launch_template_data.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
8029
8030
  # resp.launch_template_version.launch_template_data.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
8030
8031
  # resp.launch_template_version.launch_template_data.private_dns_name_options.hostname_type #=> String, one of "ip-name", "resource-name"
@@ -8046,6 +8047,11 @@ module Aws::EC2
8046
8047
  end
8047
8048
 
8048
8049
  # Creates a static route for the specified local gateway route table.
8050
+ # You must specify one of the following targets:
8051
+ #
8052
+ # * `LocalGatewayVirtualInterfaceGroupId`
8053
+ #
8054
+ # * `NetworkInterfaceId`
8049
8055
  #
8050
8056
  # @option params [required, String] :destination_cidr_block
8051
8057
  # The CIDR range used for destination matches. Routing decisions are
@@ -8054,7 +8060,7 @@ module Aws::EC2
8054
8060
  # @option params [required, String] :local_gateway_route_table_id
8055
8061
  # The ID of the local gateway route table.
8056
8062
  #
8057
- # @option params [required, String] :local_gateway_virtual_interface_group_id
8063
+ # @option params [String] :local_gateway_virtual_interface_group_id
8058
8064
  # The ID of the virtual interface group.
8059
8065
  #
8060
8066
  # @option params [Boolean] :dry_run
@@ -8063,6 +8069,9 @@ module Aws::EC2
8063
8069
  # If you have the required permissions, the error response is
8064
8070
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
8065
8071
  #
8072
+ # @option params [String] :network_interface_id
8073
+ # The ID of the network interface.
8074
+ #
8066
8075
  # @return [Types::CreateLocalGatewayRouteResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8067
8076
  #
8068
8077
  # * {Types::CreateLocalGatewayRouteResult#route #route} => Types::LocalGatewayRoute
@@ -8072,8 +8081,9 @@ module Aws::EC2
8072
8081
  # resp = client.create_local_gateway_route({
8073
8082
  # destination_cidr_block: "String", # required
8074
8083
  # local_gateway_route_table_id: "LocalGatewayRoutetableId", # required
8075
- # local_gateway_virtual_interface_group_id: "LocalGatewayVirtualInterfaceGroupId", # required
8084
+ # local_gateway_virtual_interface_group_id: "LocalGatewayVirtualInterfaceGroupId",
8076
8085
  # dry_run: false,
8086
+ # network_interface_id: "NetworkInterfaceId",
8077
8087
  # })
8078
8088
  #
8079
8089
  # @example Response structure
@@ -8085,6 +8095,9 @@ module Aws::EC2
8085
8095
  # resp.route.local_gateway_route_table_id #=> String
8086
8096
  # resp.route.local_gateway_route_table_arn #=> String
8087
8097
  # resp.route.owner_id #=> String
8098
+ # resp.route.subnet_id #=> String
8099
+ # resp.route.coip_pool_id #=> String
8100
+ # resp.route.network_interface_id #=> String
8088
8101
  #
8089
8102
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLocalGatewayRoute AWS API Documentation
8090
8103
  #
@@ -14503,6 +14516,9 @@ module Aws::EC2
14503
14516
  # resp.route.local_gateway_route_table_id #=> String
14504
14517
  # resp.route.local_gateway_route_table_arn #=> String
14505
14518
  # resp.route.owner_id #=> String
14519
+ # resp.route.subnet_id #=> String
14520
+ # resp.route.coip_pool_id #=> String
14521
+ # resp.route.network_interface_id #=> String
14506
14522
  #
14507
14523
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLocalGatewayRoute AWS API Documentation
14508
14524
  #
@@ -18026,10 +18042,10 @@ module Aws::EC2
18026
18042
  # a VPC through ClassicLink. You cannot use this request to return
18027
18043
  # information about other instances.
18028
18044
  #
18029
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
18030
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
18031
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
18032
- # User Guide*.
18045
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
18046
+ # EC2-Classic to a VPC. For more information, see [Migrate from
18047
+ # EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
18048
+ # Guide*.
18033
18049
  #
18034
18050
  # </note>
18035
18051
  #
@@ -19661,7 +19677,7 @@ module Aws::EC2
19661
19677
  # resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.accelerator_manufacturers #=> Array
19662
19678
  # resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.accelerator_manufacturers[0] #=> String, one of "nvidia", "amd", "amazon-web-services", "xilinx"
19663
19679
  # resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.accelerator_names #=> Array
19664
- # resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p"
19680
+ # resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
19665
19681
  # resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
19666
19682
  # resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
19667
19683
  # resp.fleets[0].target_capacity_specification.total_target_capacity #=> Integer
@@ -19736,7 +19752,7 @@ module Aws::EC2
19736
19752
  # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_manufacturers #=> Array
19737
19753
  # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_manufacturers[0] #=> String, one of "nvidia", "amd", "amazon-web-services", "xilinx"
19738
19754
  # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_names #=> Array
19739
- # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p"
19755
+ # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
19740
19756
  # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
19741
19757
  # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
19742
19758
  # resp.fleets[0].errors[0].lifecycle #=> String, one of "spot", "on-demand"
@@ -19786,7 +19802,7 @@ module Aws::EC2
19786
19802
  # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_manufacturers #=> Array
19787
19803
  # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_manufacturers[0] #=> String, one of "nvidia", "amd", "amazon-web-services", "xilinx"
19788
19804
  # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_names #=> Array
19789
- # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p"
19805
+ # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
19790
19806
  # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
19791
19807
  # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
19792
19808
  # resp.fleets[0].instances[0].lifecycle #=> String, one of "spot", "on-demand"
@@ -19805,9 +19821,11 @@ module Aws::EC2
19805
19821
  req.send_request(options)
19806
19822
  end
19807
19823
 
19808
- # Describes one or more flow logs. To view the information in your flow
19809
- # logs (the log streams for the network interfaces), you must use the
19810
- # CloudWatch Logs console or the CloudWatch Logs API.
19824
+ # Describes one or more flow logs.
19825
+ #
19826
+ # To view the published flow log records, you must view the log
19827
+ # destination. For example, the CloudWatch Logs log group, the Amazon S3
19828
+ # bucket, or the Kinesis Data Firehose delivery stream.
19811
19829
  #
19812
19830
  # @option params [Boolean] :dry_run
19813
19831
  # Checks whether you have the required permissions for the action,
@@ -19821,9 +19839,8 @@ module Aws::EC2
19821
19839
  # * `deliver-log-status` - The status of the logs delivery (`SUCCESS` \|
19822
19840
  # `FAILED`).
19823
19841
  #
19824
- # * `log-destination-type` - The type of destination to which the flow
19825
- # log publishes data. Possible destination types include
19826
- # `cloud-watch-logs` and `s3`.
19842
+ # * `log-destination-type` - The type of destination for the flow log
19843
+ # data (`cloud-watch-logs` \| `s3` \| `kinesis-data-firehose`).
19827
19844
  #
19828
19845
  # * `flow-log-id` - The ID of the flow log.
19829
19846
  #
@@ -19885,13 +19902,14 @@ module Aws::EC2
19885
19902
  # resp.flow_logs[0].creation_time #=> Time
19886
19903
  # resp.flow_logs[0].deliver_logs_error_message #=> String
19887
19904
  # resp.flow_logs[0].deliver_logs_permission_arn #=> String
19905
+ # resp.flow_logs[0].deliver_cross_account_role #=> String
19888
19906
  # resp.flow_logs[0].deliver_logs_status #=> String
19889
19907
  # resp.flow_logs[0].flow_log_id #=> String
19890
19908
  # resp.flow_logs[0].flow_log_status #=> String
19891
19909
  # resp.flow_logs[0].log_group_name #=> String
19892
19910
  # resp.flow_logs[0].resource_id #=> String
19893
19911
  # resp.flow_logs[0].traffic_type #=> String, one of "ACCEPT", "REJECT", "ALL"
19894
- # resp.flow_logs[0].log_destination_type #=> String, one of "cloud-watch-logs", "s3"
19912
+ # resp.flow_logs[0].log_destination_type #=> String, one of "cloud-watch-logs", "s3", "kinesis-data-firehose"
19895
19913
  # resp.flow_logs[0].log_destination #=> String
19896
19914
  # resp.flow_logs[0].log_format #=> String
19897
19915
  # resp.flow_logs[0].tags #=> Array
@@ -23608,7 +23626,7 @@ module Aws::EC2
23608
23626
  # resp.launch_template_versions[0].launch_template_data.instance_requirements.accelerator_manufacturers #=> Array
23609
23627
  # resp.launch_template_versions[0].launch_template_data.instance_requirements.accelerator_manufacturers[0] #=> String, one of "nvidia", "amd", "amazon-web-services", "xilinx"
23610
23628
  # resp.launch_template_versions[0].launch_template_data.instance_requirements.accelerator_names #=> Array
23611
- # resp.launch_template_versions[0].launch_template_data.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p"
23629
+ # resp.launch_template_versions[0].launch_template_data.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
23612
23630
  # resp.launch_template_versions[0].launch_template_data.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
23613
23631
  # resp.launch_template_versions[0].launch_template_data.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
23614
23632
  # resp.launch_template_versions[0].launch_template_data.private_dns_name_options.hostname_type #=> String, one of "ip-name", "resource-name"
@@ -23985,6 +24003,7 @@ module Aws::EC2
23985
24003
  # resp.local_gateway_route_tables[0].tags #=> Array
23986
24004
  # resp.local_gateway_route_tables[0].tags[0].key #=> String
23987
24005
  # resp.local_gateway_route_tables[0].tags[0].value #=> String
24006
+ # resp.local_gateway_route_tables[0].mode #=> String, one of "direct-vpc-routing", "coip"
23988
24007
  # resp.next_token #=> String
23989
24008
  #
23990
24009
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLocalGatewayRouteTables AWS API Documentation
@@ -28817,7 +28836,7 @@ module Aws::EC2
28817
28836
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.accelerator_manufacturers #=> Array
28818
28837
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.accelerator_manufacturers[0] #=> String, one of "nvidia", "amd", "amazon-web-services", "xilinx"
28819
28838
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.accelerator_names #=> Array
28820
- # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p"
28839
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
28821
28840
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
28822
28841
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
28823
28842
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs #=> Array
@@ -28864,7 +28883,7 @@ module Aws::EC2
28864
28883
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.accelerator_manufacturers #=> Array
28865
28884
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.accelerator_manufacturers[0] #=> String, one of "nvidia", "amd", "amazon-web-services", "xilinx"
28866
28885
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.accelerator_names #=> Array
28867
- # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p"
28886
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
28868
28887
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
28869
28888
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
28870
28889
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.spot_price #=> String
@@ -31841,10 +31860,10 @@ module Aws::EC2
31841
31860
 
31842
31861
  # Describes the ClassicLink status of one or more VPCs.
31843
31862
  #
31844
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
31845
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
31846
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
31847
- # User Guide*.
31863
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
31864
+ # EC2-Classic to a VPC. For more information, see [Migrate from
31865
+ # EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
31866
+ # Guide*.
31848
31867
  #
31849
31868
  # </note>
31850
31869
  #
@@ -31913,10 +31932,10 @@ module Aws::EC2
31913
31932
  req.send_request(options)
31914
31933
  end
31915
31934
 
31916
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
31917
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
31918
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
31919
- # User Guide*.
31935
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
31936
+ # EC2-Classic to a VPC. For more information, see [Migrate from
31937
+ # EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
31938
+ # Guide*.
31920
31939
  #
31921
31940
  # </note>
31922
31941
  #
@@ -33096,10 +33115,10 @@ module Aws::EC2
33096
33115
  req.send_request(options)
33097
33116
  end
33098
33117
 
33099
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
33100
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
33101
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
33102
- # User Guide*.
33118
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
33119
+ # EC2-Classic to a VPC. For more information, see [Migrate from
33120
+ # EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
33121
+ # Guide*.
33103
33122
  #
33104
33123
  # </note>
33105
33124
  #
@@ -33788,10 +33807,10 @@ module Aws::EC2
33788
33807
  # Disables ClassicLink for a VPC. You cannot disable ClassicLink for a
33789
33808
  # VPC that has EC2-Classic instances linked to it.
33790
33809
  #
33791
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
33792
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
33793
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
33794
- # User Guide*.
33810
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
33811
+ # EC2-Classic to a VPC. For more information, see [Migrate from
33812
+ # EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
33813
+ # Guide*.
33795
33814
  #
33796
33815
  # </note>
33797
33816
  #
@@ -33840,10 +33859,10 @@ module Aws::EC2
33840
33859
  #
33841
33860
  # You must specify a VPC ID in the request.
33842
33861
  #
33843
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
33844
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
33845
- # from EC2-Classic to a VPC][2] in the *Amazon Elastic Compute Cloud
33846
- # User Guide*.
33862
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
33863
+ # EC2-Classic to a VPC. For more information, see [Migrate from
33864
+ # EC2-Classic to a VPC][2] in the *Amazon Elastic Compute Cloud User
33865
+ # Guide*.
33847
33866
  #
33848
33867
  # </note>
33849
33868
  #
@@ -34989,10 +35008,10 @@ module Aws::EC2
34989
35008
  req.send_request(options)
34990
35009
  end
34991
35010
 
34992
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
34993
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
34994
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
34995
- # User Guide*.
35011
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
35012
+ # EC2-Classic to a VPC. For more information, see [Migrate from
35013
+ # EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
35014
+ # Guide*.
34996
35015
  #
34997
35016
  # </note>
34998
35017
  #
@@ -35043,10 +35062,10 @@ module Aws::EC2
35043
35062
  req.send_request(options)
35044
35063
  end
35045
35064
 
35046
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
35047
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
35048
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
35049
- # User Guide*.
35065
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
35066
+ # EC2-Classic to a VPC. For more information, see [Migrate from
35067
+ # EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
35068
+ # Guide*.
35050
35069
  #
35051
35070
  # </note>
35052
35071
  #
@@ -36126,7 +36145,7 @@ module Aws::EC2
36126
36145
  # max: 1,
36127
36146
  # },
36128
36147
  # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
36129
- # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
36148
+ # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p, inferentia, k520
36130
36149
  # accelerator_total_memory_mi_b: {
36131
36150
  # min: 1,
36132
36151
  # max: 1,
@@ -36753,7 +36772,7 @@ module Aws::EC2
36753
36772
  # resp.launch_template_data.instance_requirements.accelerator_manufacturers #=> Array
36754
36773
  # resp.launch_template_data.instance_requirements.accelerator_manufacturers[0] #=> String, one of "nvidia", "amd", "amazon-web-services", "xilinx"
36755
36774
  # resp.launch_template_data.instance_requirements.accelerator_names #=> Array
36756
- # resp.launch_template_data.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p"
36775
+ # resp.launch_template_data.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
36757
36776
  # resp.launch_template_data.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
36758
36777
  # resp.launch_template_data.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
36759
36778
  # resp.launch_template_data.private_dns_name_options.hostname_type #=> String, one of "ip-name", "resource-name"
@@ -37446,7 +37465,7 @@ module Aws::EC2
37446
37465
  # max: 1,
37447
37466
  # },
37448
37467
  # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
37449
- # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
37468
+ # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p, inferentia, k520
37450
37469
  # accelerator_total_memory_mi_b: {
37451
37470
  # min: 1,
37452
37471
  # max: 1,
@@ -39732,7 +39751,7 @@ module Aws::EC2
39732
39751
  # max: 1,
39733
39752
  # },
39734
39753
  # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
39735
- # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
39754
+ # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p, inferentia, k520
39736
39755
  # accelerator_total_memory_mi_b: {
39737
39756
  # min: 1,
39738
39757
  # max: 1,
@@ -41428,6 +41447,59 @@ module Aws::EC2
41428
41447
  req.send_request(options)
41429
41448
  end
41430
41449
 
41450
+ # Modifies the specified local gateway route.
41451
+ #
41452
+ # @option params [required, String] :destination_cidr_block
41453
+ # The CIDR block used for destination matches. The value that you
41454
+ # provide must match the CIDR of an existing route in the table.
41455
+ #
41456
+ # @option params [required, String] :local_gateway_route_table_id
41457
+ # The ID of the local gateway route table.
41458
+ #
41459
+ # @option params [required, String] :network_interface_id
41460
+ # The ID of the network interface.
41461
+ #
41462
+ # @option params [Boolean] :dry_run
41463
+ # Checks whether you have the required permissions for the action,
41464
+ # without actually making the request, and provides an error response.
41465
+ # If you have the required permissions, the error response is
41466
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
41467
+ #
41468
+ # @return [Types::ModifyLocalGatewayRouteResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
41469
+ #
41470
+ # * {Types::ModifyLocalGatewayRouteResult#route #route} => Types::LocalGatewayRoute
41471
+ #
41472
+ # @example Request syntax with placeholder values
41473
+ #
41474
+ # resp = client.modify_local_gateway_route({
41475
+ # destination_cidr_block: "String", # required
41476
+ # local_gateway_route_table_id: "LocalGatewayRoutetableId", # required
41477
+ # network_interface_id: "NetworkInterfaceId", # required
41478
+ # dry_run: false,
41479
+ # })
41480
+ #
41481
+ # @example Response structure
41482
+ #
41483
+ # resp.route.destination_cidr_block #=> String
41484
+ # resp.route.local_gateway_virtual_interface_group_id #=> String
41485
+ # resp.route.type #=> String, one of "static", "propagated"
41486
+ # resp.route.state #=> String, one of "pending", "active", "blackhole", "deleting", "deleted"
41487
+ # resp.route.local_gateway_route_table_id #=> String
41488
+ # resp.route.local_gateway_route_table_arn #=> String
41489
+ # resp.route.owner_id #=> String
41490
+ # resp.route.subnet_id #=> String
41491
+ # resp.route.coip_pool_id #=> String
41492
+ # resp.route.network_interface_id #=> String
41493
+ #
41494
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyLocalGatewayRoute AWS API Documentation
41495
+ #
41496
+ # @overload modify_local_gateway_route(params = {})
41497
+ # @param [Hash] params ({})
41498
+ def modify_local_gateway_route(params = {}, options = {})
41499
+ req = build_request(:modify_local_gateway_route, params)
41500
+ req.send_request(options)
41501
+ end
41502
+
41431
41503
  # Modifies the specified managed prefix list.
41432
41504
  #
41433
41505
  # Adding or removing entries in a prefix list creates a new version of
@@ -42119,7 +42191,7 @@ module Aws::EC2
42119
42191
  # max: 1,
42120
42192
  # },
42121
42193
  # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
42122
- # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
42194
+ # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p, inferentia, k520
42123
42195
  # accelerator_total_memory_mi_b: {
42124
42196
  # min: 1,
42125
42197
  # max: 1,
@@ -43379,10 +43451,10 @@ module Aws::EC2
43379
43451
  req.send_request(options)
43380
43452
  end
43381
43453
 
43382
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
43383
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
43384
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
43385
- # User Guide*.
43454
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
43455
+ # EC2-Classic to a VPC. For more information, see [Migrate from
43456
+ # EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
43457
+ # Guide*.
43386
43458
  #
43387
43459
  # </note>
43388
43460
  #
@@ -46563,7 +46635,7 @@ module Aws::EC2
46563
46635
  # max: 1,
46564
46636
  # },
46565
46637
  # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
46566
- # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
46638
+ # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p, inferentia, k520
46567
46639
  # accelerator_total_memory_mi_b: {
46568
46640
  # min: 1,
46569
46641
  # max: 1,
@@ -46627,7 +46699,7 @@ module Aws::EC2
46627
46699
  # max: 1,
46628
46700
  # },
46629
46701
  # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
46630
- # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
46702
+ # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p, inferentia, k520
46631
46703
  # accelerator_total_memory_mi_b: {
46632
46704
  # min: 1,
46633
46705
  # max: 1,
@@ -49190,6 +49262,9 @@ module Aws::EC2
49190
49262
  # resp.routes[0].local_gateway_route_table_id #=> String
49191
49263
  # resp.routes[0].local_gateway_route_table_arn #=> String
49192
49264
  # resp.routes[0].owner_id #=> String
49265
+ # resp.routes[0].subnet_id #=> String
49266
+ # resp.routes[0].coip_pool_id #=> String
49267
+ # resp.routes[0].network_interface_id #=> String
49193
49268
  # resp.next_token #=> String
49194
49269
  #
49195
49270
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SearchLocalGatewayRoutes AWS API Documentation
@@ -50814,7 +50889,7 @@ module Aws::EC2
50814
50889
  params: params,
50815
50890
  config: config)
50816
50891
  context[:gem_name] = 'aws-sdk-ec2'
50817
- context[:gem_version] = '1.330.0'
50892
+ context[:gem_version] = '1.332.0'
50818
50893
  Seahorse::Client::Request.new(handlers, context)
50819
50894
  end
50820
50895