aws-sdk-ec2 1.356.0 → 1.358.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -301,7 +301,7 @@ module Aws::EC2
301
301
  # @return [String]
302
302
  #
303
303
  # @!attribute [rw] vpc_endpoint_ids
304
- # The IDs of one or more interface VPC endpoints.
304
+ # The IDs of the interface VPC endpoints.
305
305
  # @return [Array<String>]
306
306
  #
307
307
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcEndpointConnectionsRequest AWS API Documentation
@@ -2947,9 +2947,10 @@ module Aws::EC2
2947
2947
  # @return [String]
2948
2948
  #
2949
2949
  # @!attribute [rw] from_port
2950
- # The start of port range for the TCP and UDP protocols, or an ICMP
2951
- # type number. For the ICMP type number, use `-1` to specify all
2952
- # types. If you specify all ICMP types, you must specify all codes.
2950
+ # If the protocol is TCP or UDP, this is the start of the port range.
2951
+ # If the protocol is ICMP, this is the type number. A value of -1
2952
+ # indicates all ICMP types. If you specify all ICMP types, you must
2953
+ # specify all ICMP codes.
2953
2954
  #
2954
2955
  # Alternatively, use a set of IP permissions to specify multiple rules
2955
2956
  # and a description for the rule.
@@ -3011,9 +3012,10 @@ module Aws::EC2
3011
3012
  # @return [String]
3012
3013
  #
3013
3014
  # @!attribute [rw] to_port
3014
- # The end of port range for the TCP and UDP protocols, or an ICMP code
3015
- # number. For the ICMP code number, use `-1` to specify all codes. If
3016
- # you specify all ICMP types, you must specify all codes.
3015
+ # If the protocol is TCP or UDP, this is the end of the port range. If
3016
+ # the protocol is ICMP, this is the code. A value of -1 indicates all
3017
+ # ICMP codes. If you specify all ICMP types, you must specify all ICMP
3018
+ # codes.
3017
3019
  #
3018
3020
  # Alternatively, use a set of IP permissions to specify multiple rules
3019
3021
  # and a description for the rule.
@@ -6427,8 +6429,8 @@ module Aws::EC2
6427
6429
  # client IP addresses. The address range cannot overlap with the local
6428
6430
  # CIDR of the VPC in which the associated subnet is located, or the
6429
6431
  # routes that you add manually. The address range cannot be changed
6430
- # after the Client VPN endpoint has been created. The CIDR block
6431
- # should be /22 or greater.
6432
+ # after the Client VPN endpoint has been created. Client CIDR range
6433
+ # must have a size of at least /22 and must not be greater than /12.
6432
6434
  # @return [String]
6433
6435
  #
6434
6436
  # @!attribute [rw] server_certificate_arn
@@ -11573,8 +11575,8 @@ module Aws::EC2
11573
11575
  # @return [String]
11574
11576
  #
11575
11577
  # @!attribute [rw] connection_events
11576
- # One or more endpoint events for which to receive notifications.
11577
- # Valid values are `Accept`, `Connect`, `Delete`, and `Reject`.
11578
+ # The endpoint events for which to receive notifications. Valid values
11579
+ # are `Accept`, `Connect`, `Delete`, and `Reject`.
11578
11580
  # @return [Array<String>]
11579
11581
  #
11580
11582
  # @!attribute [rw] client_token
@@ -11618,8 +11620,6 @@ module Aws::EC2
11618
11620
  include Aws::Structure
11619
11621
  end
11620
11622
 
11621
- # Contains the parameters for CreateVpcEndpoint.
11622
- #
11623
11623
  # @!attribute [rw] dry_run
11624
11624
  # Checks whether you have the required permissions for the action,
11625
11625
  # without actually making the request, and provides an error response.
@@ -11634,13 +11634,11 @@ module Aws::EC2
11634
11634
  # @return [String]
11635
11635
  #
11636
11636
  # @!attribute [rw] vpc_id
11637
- # The ID of the VPC in which the endpoint will be used.
11637
+ # The ID of the VPC for the endpoint.
11638
11638
  # @return [String]
11639
11639
  #
11640
11640
  # @!attribute [rw] service_name
11641
- # The service name. To get a list of available services, use the
11642
- # DescribeVpcEndpointServices request, or get the name from the
11643
- # service provider.
11641
+ # The service name.
11644
11642
  # @return [String]
11645
11643
  #
11646
11644
  # @!attribute [rw] policy_document
@@ -11651,18 +11649,19 @@ module Aws::EC2
11651
11649
  # @return [String]
11652
11650
  #
11653
11651
  # @!attribute [rw] route_table_ids
11654
- # (Gateway endpoint) One or more route table IDs.
11652
+ # (Gateway endpoint) The route table IDs.
11655
11653
  # @return [Array<String>]
11656
11654
  #
11657
11655
  # @!attribute [rw] subnet_ids
11658
- # (Interface and Gateway Load Balancer endpoints) The ID of one or
11659
- # more subnets in which to create an endpoint network interface. For a
11660
- # Gateway Load Balancer endpoint, you can specify one subnet only.
11656
+ # (Interface and Gateway Load Balancer endpoints) The IDs of the
11657
+ # subnets in which to create an endpoint network interface. For a
11658
+ # Gateway Load Balancer endpoint, you can specify only one subnet.
11661
11659
  # @return [Array<String>]
11662
11660
  #
11663
11661
  # @!attribute [rw] security_group_ids
11664
- # (Interface endpoint) The ID of one or more security groups to
11665
- # associate with the endpoint network interface.
11662
+ # (Interface endpoint) The IDs of the security groups to associate
11663
+ # with the endpoint network interface. If this parameter is not
11664
+ # specified, we use the default security group for the VPC.
11666
11665
  # @return [Array<String>]
11667
11666
  #
11668
11667
  # @!attribute [rw] ip_address_type
@@ -11724,8 +11723,6 @@ module Aws::EC2
11724
11723
  include Aws::Structure
11725
11724
  end
11726
11725
 
11727
- # Contains the output of CreateVpcEndpoint.
11728
- #
11729
11726
  # @!attribute [rw] vpc_endpoint
11730
11727
  # Information about the endpoint.
11731
11728
  # @return [Types::VpcEndpoint]
@@ -11762,13 +11759,11 @@ module Aws::EC2
11762
11759
  # @return [String]
11763
11760
  #
11764
11761
  # @!attribute [rw] network_load_balancer_arns
11765
- # The Amazon Resource Names (ARNs) of one or more Network Load
11766
- # Balancers for your service.
11762
+ # The Amazon Resource Names (ARNs) of the Network Load Balancers.
11767
11763
  # @return [Array<String>]
11768
11764
  #
11769
11765
  # @!attribute [rw] gateway_load_balancer_arns
11770
- # The Amazon Resource Names (ARNs) of one or more Gateway Load
11771
- # Balancers.
11766
+ # The Amazon Resource Names (ARNs) of the Gateway Load Balancers.
11772
11767
  # @return [Array<String>]
11773
11768
  #
11774
11769
  # @!attribute [rw] supported_ip_address_types
@@ -12261,19 +12256,15 @@ module Aws::EC2
12261
12256
  # @return [String]
12262
12257
  #
12263
12258
  # @!attribute [rw] metric
12264
- # The aggregation metric used for the data query. Currently only
12265
- # `aggregation-latency` is supported, indicating network latency.
12259
+ # The metric, `aggregation-latency`, indicating that network latency
12260
+ # is aggregated for the query. This is the only supported metric.
12266
12261
  # @return [String]
12267
12262
  #
12268
12263
  # @!attribute [rw] statistic
12269
- # Metric data aggregations over specified periods of time. The
12270
- # following are the supported Infrastructure Performance statistics:
12271
- #
12272
- # * `p50` - The median value of the metric aggregated over a specified
12273
- # start and end time. For example, a metric of `five_minutes` is the
12274
- # median of all the data points gathered within those five minutes.
12275
- #
12276
- # ^
12264
+ # The metric data aggregation period, `p50`, between the specified
12265
+ # `startDate` and `endDate`. For example, a metric of `five_minutes`
12266
+ # is the median of all the data points gathered within those five
12267
+ # minutes. `p50` is the only supported metric.
12277
12268
  # @return [String]
12278
12269
  #
12279
12270
  # @!attribute [rw] period
@@ -12310,9 +12301,9 @@ module Aws::EC2
12310
12301
  # @return [String]
12311
12302
  #
12312
12303
  # @!attribute [rw] metric
12313
- # The metric used for the network performance request. Currently only
12314
- # `aggregate-latency` is supported, showing network latency during a
12315
- # specified period.
12304
+ # The metric used for the network performance request. Only
12305
+ # `aggregate-latency` is supported, which shows network latency during
12306
+ # a specified period.
12316
12307
  # @return [String]
12317
12308
  #
12318
12309
  # @!attribute [rw] statistic
@@ -14596,7 +14587,7 @@ module Aws::EC2
14596
14587
  # @return [Boolean]
14597
14588
  #
14598
14589
  # @!attribute [rw] connection_notification_ids
14599
- # One or more notification IDs.
14590
+ # The IDs of the notifications.
14600
14591
  # @return [Array<String>]
14601
14592
  #
14602
14593
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpointConnectionNotificationsRequest AWS API Documentation
@@ -14629,7 +14620,7 @@ module Aws::EC2
14629
14620
  # @return [Boolean]
14630
14621
  #
14631
14622
  # @!attribute [rw] service_ids
14632
- # The IDs of one or more services.
14623
+ # The IDs of the services.
14633
14624
  # @return [Array<String>]
14634
14625
  #
14635
14626
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpointServiceConfigurationsRequest AWS API Documentation
@@ -14654,8 +14645,6 @@ module Aws::EC2
14654
14645
  include Aws::Structure
14655
14646
  end
14656
14647
 
14657
- # Contains the parameters for DeleteVpcEndpoints.
14658
- #
14659
14648
  # @!attribute [rw] dry_run
14660
14649
  # Checks whether you have the required permissions for the action,
14661
14650
  # without actually making the request, and provides an error response.
@@ -14664,7 +14653,7 @@ module Aws::EC2
14664
14653
  # @return [Boolean]
14665
14654
  #
14666
14655
  # @!attribute [rw] vpc_endpoint_ids
14667
- # One or more VPC endpoint IDs.
14656
+ # The IDs of the VPC endpoints.
14668
14657
  # @return [Array<String>]
14669
14658
  #
14670
14659
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpointsRequest AWS API Documentation
@@ -14676,8 +14665,6 @@ module Aws::EC2
14676
14665
  include Aws::Structure
14677
14666
  end
14678
14667
 
14679
- # Contains the output of DeleteVpcEndpoints.
14680
- #
14681
14668
  # @!attribute [rw] unsuccessful
14682
14669
  # Information about the VPC endpoints that were not successfully
14683
14670
  # deleted.
@@ -18882,12 +18869,16 @@ module Aws::EC2
18882
18869
  # * `metadata-options.http-tokens` - The metadata request
18883
18870
  # authorization state (`optional` \| `required`)
18884
18871
  #
18885
- # * `metadata-options.http-put-response-hop-limit` - The http metadata
18872
+ # * `metadata-options.http-put-response-hop-limit` - The HTTP metadata
18886
18873
  # request put response hop limit (integer, possible values `1` to
18887
18874
  # `64`)
18888
18875
  #
18889
- # * `metadata-options.http-endpoint` - Enable or disable metadata
18890
- # access on http endpoint (`enabled` \| `disabled`)
18876
+ # * `metadata-options.http-endpoint` - The status of access to the
18877
+ # HTTP metadata endpoint on your instance (`enabled` \| `disabled`)
18878
+ #
18879
+ # * `metadata-options.instance-metadata-tags` - The status of access
18880
+ # to instance tags from the instance metadata (`enabled` \|
18881
+ # `disabled`)
18891
18882
  #
18892
18883
  # * `monitoring-state` - Indicates whether detailed monitoring is
18893
18884
  # enabled (`disabled` \| `enabled`).
@@ -25190,7 +25181,7 @@ module Aws::EC2
25190
25181
  # @return [String]
25191
25182
  #
25192
25183
  # @!attribute [rw] filters
25193
- # One or more filters.
25184
+ # The filters.
25194
25185
  #
25195
25186
  # * `connection-notification-arn` - The ARN of the SNS topic for the
25196
25187
  # notification.
@@ -25231,7 +25222,7 @@ module Aws::EC2
25231
25222
  end
25232
25223
 
25233
25224
  # @!attribute [rw] connection_notification_set
25234
- # One or more notifications.
25225
+ # The notifications.
25235
25226
  # @return [Array<Types::ConnectionNotification>]
25236
25227
  #
25237
25228
  # @!attribute [rw] next_token
@@ -25256,7 +25247,7 @@ module Aws::EC2
25256
25247
  # @return [Boolean]
25257
25248
  #
25258
25249
  # @!attribute [rw] filters
25259
- # One or more filters.
25250
+ # The filters.
25260
25251
  #
25261
25252
  # * `ip-address-type` - The IP address type (`ipv4` \| `ipv6`).
25262
25253
  #
@@ -25296,7 +25287,7 @@ module Aws::EC2
25296
25287
  end
25297
25288
 
25298
25289
  # @!attribute [rw] vpc_endpoint_connections
25299
- # Information about one or more VPC endpoint connections.
25290
+ # Information about the VPC endpoint connections.
25300
25291
  # @return [Array<Types::VpcEndpointConnection>]
25301
25292
  #
25302
25293
  # @!attribute [rw] next_token
@@ -25321,11 +25312,11 @@ module Aws::EC2
25321
25312
  # @return [Boolean]
25322
25313
  #
25323
25314
  # @!attribute [rw] service_ids
25324
- # The IDs of one or more services.
25315
+ # The IDs of the endpoint services.
25325
25316
  # @return [Array<String>]
25326
25317
  #
25327
25318
  # @!attribute [rw] filters
25328
- # One or more filters.
25319
+ # The filters.
25329
25320
  #
25330
25321
  # * `service-name` - The name of the service.
25331
25322
  #
@@ -25373,7 +25364,7 @@ module Aws::EC2
25373
25364
  end
25374
25365
 
25375
25366
  # @!attribute [rw] service_configurations
25376
- # Information about one or more services.
25367
+ # Information about the services.
25377
25368
  # @return [Array<Types::ServiceConfiguration>]
25378
25369
  #
25379
25370
  # @!attribute [rw] next_token
@@ -25402,7 +25393,7 @@ module Aws::EC2
25402
25393
  # @return [String]
25403
25394
  #
25404
25395
  # @!attribute [rw] filters
25405
- # One or more filters.
25396
+ # The filters.
25406
25397
  #
25407
25398
  # * `principal` - The ARN of the principal.
25408
25399
  #
@@ -25435,7 +25426,7 @@ module Aws::EC2
25435
25426
  end
25436
25427
 
25437
25428
  # @!attribute [rw] allowed_principals
25438
- # Information about one or more allowed principals.
25429
+ # Information about the allowed principals.
25439
25430
  # @return [Array<Types::AllowedPrincipal>]
25440
25431
  #
25441
25432
  # @!attribute [rw] next_token
@@ -25452,8 +25443,6 @@ module Aws::EC2
25452
25443
  include Aws::Structure
25453
25444
  end
25454
25445
 
25455
- # Contains the parameters for DescribeVpcEndpointServices.
25456
- #
25457
25446
  # @!attribute [rw] dry_run
25458
25447
  # Checks whether you have the required permissions for the action,
25459
25448
  # without actually making the request, and provides an error response.
@@ -25462,11 +25451,11 @@ module Aws::EC2
25462
25451
  # @return [Boolean]
25463
25452
  #
25464
25453
  # @!attribute [rw] service_names
25465
- # One or more service names.
25454
+ # The service names.
25466
25455
  # @return [Array<String>]
25467
25456
  #
25468
25457
  # @!attribute [rw] filters
25469
- # One or more filters.
25458
+ # The filters.
25470
25459
  #
25471
25460
  # * `owner` - The ID or alias of the Amazon Web Services account that
25472
25461
  # owns the service.
@@ -25516,10 +25505,8 @@ module Aws::EC2
25516
25505
  include Aws::Structure
25517
25506
  end
25518
25507
 
25519
- # Contains the output of DescribeVpcEndpointServices.
25520
- #
25521
25508
  # @!attribute [rw] service_names
25522
- # A list of supported services.
25509
+ # The supported services.
25523
25510
  # @return [Array<String>]
25524
25511
  #
25525
25512
  # @!attribute [rw] service_details
@@ -25541,8 +25528,6 @@ module Aws::EC2
25541
25528
  include Aws::Structure
25542
25529
  end
25543
25530
 
25544
- # Contains the parameters for DescribeVpcEndpoints.
25545
- #
25546
25531
  # @!attribute [rw] dry_run
25547
25532
  # Checks whether you have the required permissions for the action,
25548
25533
  # without actually making the request, and provides an error response.
@@ -25551,11 +25536,11 @@ module Aws::EC2
25551
25536
  # @return [Boolean]
25552
25537
  #
25553
25538
  # @!attribute [rw] vpc_endpoint_ids
25554
- # One or more endpoint IDs.
25539
+ # The IDs of the VPC endpoints.
25555
25540
  # @return [Array<String>]
25556
25541
  #
25557
25542
  # @!attribute [rw] filters
25558
- # One or more filters.
25543
+ # The filters.
25559
25544
  #
25560
25545
  # * `ip-address-type` - The IP address type (`ipv4` \| `ipv6`).
25561
25546
  #
@@ -25609,8 +25594,6 @@ module Aws::EC2
25609
25594
  include Aws::Structure
25610
25595
  end
25611
25596
 
25612
- # Contains the output of DescribeVpcEndpoints.
25613
- #
25614
25597
  # @!attribute [rw] vpc_endpoints
25615
25598
  # Information about the endpoints.
25616
25599
  # @return [Array<Types::VpcEndpoint>]
@@ -30843,6 +30826,7 @@ module Aws::EC2
30843
30826
  # @return [Boolean]
30844
30827
  #
30845
30828
  # @!attribute [rw] instance_types
30829
+ # The instance types supported by the AFI.
30846
30830
  # @return [Array<String>]
30847
30831
  #
30848
30832
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FpgaImage AWS API Documentation
@@ -36109,19 +36093,21 @@ module Aws::EC2
36109
36093
  # The metadata options for the instance.
36110
36094
  #
36111
36095
  # @!attribute [rw] http_tokens
36112
- # The state of token usage for your instance metadata requests.
36113
- #
36114
- # If the state is `optional`, you can choose to retrieve instance
36115
- # metadata with or without a session token on your request. If you
36116
- # retrieve the IAM role credentials without a token, the version 1.0
36117
- # role credentials are returned. If you retrieve the IAM role
36118
- # credentials using a valid session token, the version 2.0 role
36119
- # credentials are returned.
36120
- #
36121
- # If the state is `required`, you must send a session token with any
36122
- # instance metadata retrieval requests. In this state, retrieving the
36123
- # IAM role credentials always returns the version 2.0 credentials; the
36124
- # version 1.0 credentials are not available.
36096
+ # IMDSv2 uses token-backed sessions. Set the use of HTTP tokens to
36097
+ # `optional` (in other words, set the use of IMDSv2 to `optional`) or
36098
+ # `required` (in other words, set the use of IMDSv2 to `required`).
36099
+ #
36100
+ # * `optional` - When IMDSv2 is optional, you can choose to retrieve
36101
+ # instance metadata with or without a session token in your request.
36102
+ # If you retrieve the IAM role credentials without a token, the
36103
+ # IMDSv1 role credentials are returned. If you retrieve the IAM role
36104
+ # credentials using a valid session token, the IMDSv2 role
36105
+ # credentials are returned.
36106
+ #
36107
+ # * `required` - When IMDSv2 is required, you must send a session
36108
+ # token with any instance metadata retrieval requests. In this
36109
+ # state, retrieving the IAM role credentials always returns IMDSv2
36110
+ # credentials; IMDSv1 credentials are not available.
36125
36111
  #
36126
36112
  # Default: `optional`
36127
36113
  # @return [String]
@@ -36188,19 +36174,22 @@ module Aws::EC2
36188
36174
  # @return [String]
36189
36175
  #
36190
36176
  # @!attribute [rw] http_tokens
36191
- # The state of token usage for your instance metadata requests.
36192
- #
36193
- # If the state is `optional`, you can choose to retrieve instance
36194
- # metadata with or without a session token on your request. If you
36195
- # retrieve the IAM role credentials without a token, the version 1.0
36196
- # role credentials are returned. If you retrieve the IAM role
36197
- # credentials using a valid session token, the version 2.0 role
36198
- # credentials are returned.
36199
- #
36200
- # If the state is `required`, you must send a session token with any
36201
- # instance metadata retrieval requests. In this state, retrieving the
36202
- # IAM role credentials always returns the version 2.0 credentials; the
36203
- # version 1.0 credentials are not available.
36177
+ # IMDSv2 uses token-backed sessions. Indicates whether the use of HTTP
36178
+ # tokens is `optional` (in other words, indicates whether the use of
36179
+ # IMDSv2 is `optional`) or `required` (in other words, indicates
36180
+ # whether the use of IMDSv2 is `required`).
36181
+ #
36182
+ # * `optional` - When IMDSv2 is optional, you can choose to retrieve
36183
+ # instance metadata with or without a session token in your request.
36184
+ # If you retrieve the IAM role credentials without a token, the
36185
+ # IMDSv1 role credentials are returned. If you retrieve the IAM role
36186
+ # credentials using a valid session token, the IMDSv2 role
36187
+ # credentials are returned.
36188
+ #
36189
+ # * `required` - When IMDSv2 is required, you must send a session
36190
+ # token with any instance metadata retrieval requests. In this
36191
+ # state, retrieving the IAM role credentials always returns IMDSv2
36192
+ # credentials; IMDSv1 credentials are not available.
36204
36193
  #
36205
36194
  # Default: `optional`
36206
36195
  # @return [String]
@@ -38062,10 +38051,10 @@ module Aws::EC2
38062
38051
  # Describes a set of permissions for a security group rule.
38063
38052
  #
38064
38053
  # @!attribute [rw] from_port
38065
- # The start of port range for the TCP and UDP protocols, or an
38066
- # ICMP/ICMPv6 type number. A value of `-1` indicates all ICMP/ICMPv6
38067
- # types. If you specify all ICMP/ICMPv6 types, you must specify all
38068
- # codes.
38054
+ # If the protocol is TCP or UDP, this is the start of the port range.
38055
+ # If the protocol is ICMP or ICMPv6, this is the type number. A value
38056
+ # of -1 indicates all ICMP/ICMPv6 types. If you specify all
38057
+ # ICMP/ICMPv6 types, you must specify all ICMP/ICMPv6 codes.
38069
38058
  # @return [Integer]
38070
38059
  #
38071
38060
  # @!attribute [rw] ip_protocol
@@ -38098,9 +38087,10 @@ module Aws::EC2
38098
38087
  # @return [Array<Types::PrefixListId>]
38099
38088
  #
38100
38089
  # @!attribute [rw] to_port
38101
- # The end of port range for the TCP and UDP protocols, or an
38102
- # ICMP/ICMPv6 code. A value of `-1` indicates all ICMP/ICMPv6 codes.
38103
- # If you specify all ICMP/ICMPv6 types, you must specify all codes.
38090
+ # If the protocol is TCP or UDP, this is the end of the port range. If
38091
+ # the protocol is ICMP or ICMPv6, this is the code. A value of -1
38092
+ # indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6
38093
+ # types, you must specify all ICMP/ICMPv6 codes.
38104
38094
  # @return [Integer]
38105
38095
  #
38106
38096
  # @!attribute [rw] user_id_group_pairs
@@ -39985,21 +39975,21 @@ module Aws::EC2
39985
39975
  # @return [String]
39986
39976
  #
39987
39977
  # @!attribute [rw] http_tokens
39988
- # The state of token usage for your instance metadata requests. If the
39989
- # parameter is not specified in the request, the default state is
39990
- # `optional`.
39978
+ # Indicates whether IMDSv2 is `optional` or `required`.
39991
39979
  #
39992
- # If the state is `optional`, you can choose to retrieve instance
39993
- # metadata with or without a signed token header on your request. If
39994
- # you retrieve the IAM role credentials without a token, the version
39995
- # 1.0 role credentials are returned. If you retrieve the IAM role
39996
- # credentials using a valid signed token, the version 2.0 role
39997
- # credentials are returned.
39980
+ # `optional` - When IMDSv2 is optional, you can choose to retrieve
39981
+ # instance metadata with or without a session token in your request.
39982
+ # If you retrieve the IAM role credentials without a token, the IMDSv1
39983
+ # role credentials are returned. If you retrieve the IAM role
39984
+ # credentials using a valid session token, the IMDSv2 role credentials
39985
+ # are returned.
39998
39986
  #
39999
- # If the state is `required`, you must send a signed token header with
40000
- # any instance metadata retrieval requests. In this state, retrieving
40001
- # the IAM role credentials always returns the version 2.0 credentials;
40002
- # the version 1.0 credentials are not available.
39987
+ # `required` - When IMDSv2 is required, you must send a session token
39988
+ # with any instance metadata retrieval requests. In this state,
39989
+ # retrieving the IAM role credentials always returns IMDSv2
39990
+ # credentials; IMDSv1 credentials are not available.
39991
+ #
39992
+ # Default: `optional`
40003
39993
  # @return [String]
40004
39994
  #
40005
39995
  # @!attribute [rw] http_put_response_hop_limit
@@ -40064,21 +40054,23 @@ module Aws::EC2
40064
40054
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
40065
40055
  #
40066
40056
  # @!attribute [rw] http_tokens
40067
- # The state of token usage for your instance metadata requests. If the
40068
- # parameter is not specified in the request, the default state is
40069
- # `optional`.
40070
- #
40071
- # If the state is `optional`, you can choose to retrieve instance
40072
- # metadata with or without a signed token header on your request. If
40073
- # you retrieve the IAM role credentials without a token, the version
40074
- # 1.0 role credentials are returned. If you retrieve the IAM role
40075
- # credentials using a valid signed token, the version 2.0 role
40076
- # credentials are returned.
40057
+ # IMDSv2 uses token-backed sessions. Set the use of HTTP tokens to
40058
+ # `optional` (in other words, set the use of IMDSv2 to `optional`) or
40059
+ # `required` (in other words, set the use of IMDSv2 to `required`).
40060
+ #
40061
+ # * `optional` - When IMDSv2 is optional, you can choose to retrieve
40062
+ # instance metadata with or without a session token in your request.
40063
+ # If you retrieve the IAM role credentials without a token, the
40064
+ # IMDSv1 role credentials are returned. If you retrieve the IAM role
40065
+ # credentials using a valid session token, the IMDSv2 role
40066
+ # credentials are returned.
40067
+ #
40068
+ # * `required` - When IMDSv2 is required, you must send a session
40069
+ # token with any instance metadata retrieval requests. In this
40070
+ # state, retrieving the IAM role credentials always returns IMDSv2
40071
+ # credentials; IMDSv1 credentials are not available.
40077
40072
  #
40078
- # If the state is `required`, you must send a signed token header with
40079
- # any instance metadata retrieval requests. In this state, retrieving
40080
- # the IAM role credentials always returns the version 2.0 credentials;
40081
- # the version 1.0 credentials are not available.
40073
+ # Default: `optional`
40082
40074
  # @return [String]
40083
40075
  #
40084
40076
  # @!attribute [rw] http_put_response_hop_limit
@@ -41657,7 +41649,7 @@ module Aws::EC2
41657
41649
  include Aws::Structure
41658
41650
  end
41659
41651
 
41660
- # Indicates whether the network was healthy or unhealthy at a particular
41652
+ # Indicates whether the network was healthy or degraded at a particular
41661
41653
  # point. The value is aggregated from the `startDate` to the `endDate`.
41662
41654
  # Currently only `five_minutes` is supported.
41663
41655
  #
@@ -42926,21 +42918,23 @@ module Aws::EC2
42926
42918
  # @return [String]
42927
42919
  #
42928
42920
  # @!attribute [rw] http_tokens
42929
- # The state of token usage for your instance metadata requests. If the
42930
- # parameter is not specified in the request, the default state is
42931
- # `optional`.
42932
- #
42933
- # If the state is `optional`, you can choose to retrieve instance
42934
- # metadata with or without a session token on your request. If you
42935
- # retrieve the IAM role credentials without a token, the version 1.0
42936
- # role credentials are returned. If you retrieve the IAM role
42937
- # credentials using a valid session token, the version 2.0 role
42938
- # credentials are returned.
42921
+ # IMDSv2 uses token-backed sessions. Set the use of HTTP tokens to
42922
+ # `optional` (in other words, set the use of IMDSv2 to `optional`) or
42923
+ # `required` (in other words, set the use of IMDSv2 to `required`).
42924
+ #
42925
+ # * `optional` - When IMDSv2 is optional, you can choose to retrieve
42926
+ # instance metadata with or without a session token in your request.
42927
+ # If you retrieve the IAM role credentials without a token, the
42928
+ # IMDSv1 role credentials are returned. If you retrieve the IAM role
42929
+ # credentials using a valid session token, the IMDSv2 role
42930
+ # credentials are returned.
42931
+ #
42932
+ # * `required` - When IMDSv2 is required, you must send a session
42933
+ # token with any instance metadata retrieval requests. In this
42934
+ # state, retrieving the IAM role credentials always returns IMDSv2
42935
+ # credentials; IMDSv1 credentials are not available.
42939
42936
  #
42940
- # If the state is `required`, you must send a session token with any
42941
- # instance metadata retrieval requests. In this state, retrieving the
42942
- # IAM role credentials always returns the version 2.0 credentials; the
42943
- # version 1.0 credentials are not available.
42937
+ # Default: `optional`
42944
42938
  # @return [String]
42945
42939
  #
42946
42940
  # @!attribute [rw] http_put_response_hop_limit
@@ -45059,8 +45053,8 @@ module Aws::EC2
45059
45053
  # @return [String]
45060
45054
  #
45061
45055
  # @!attribute [rw] connection_events
45062
- # One or more events for the endpoint. Valid values are `Accept`,
45063
- # `Connect`, `Delete`, and `Reject`.
45056
+ # The events for the endpoint. Valid values are `Accept`, `Connect`,
45057
+ # `Delete`, and `Reject`.
45064
45058
  # @return [Array<String>]
45065
45059
  #
45066
45060
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointConnectionNotificationRequest AWS API Documentation
@@ -45087,8 +45081,6 @@ module Aws::EC2
45087
45081
  include Aws::Structure
45088
45082
  end
45089
45083
 
45090
- # Contains the parameters for ModifyVpcEndpoint.
45091
- #
45092
45084
  # @!attribute [rw] dry_run
45093
45085
  # Checks whether you have the required permissions for the action,
45094
45086
  # without actually making the request, and provides an error response.
@@ -45113,33 +45105,33 @@ module Aws::EC2
45113
45105
  # @return [String]
45114
45106
  #
45115
45107
  # @!attribute [rw] add_route_table_ids
45116
- # (Gateway endpoint) One or more route tables IDs to associate with
45117
- # the endpoint.
45108
+ # (Gateway endpoint) The IDs of the route tables to associate with the
45109
+ # endpoint.
45118
45110
  # @return [Array<String>]
45119
45111
  #
45120
45112
  # @!attribute [rw] remove_route_table_ids
45121
- # (Gateway endpoint) One or more route table IDs to disassociate from
45113
+ # (Gateway endpoint) The IDs of the route tables to disassociate from
45122
45114
  # the endpoint.
45123
45115
  # @return [Array<String>]
45124
45116
  #
45125
45117
  # @!attribute [rw] add_subnet_ids
45126
- # (Interface and Gateway Load Balancer endpoints) One or more subnet
45127
- # IDs in which to serve the endpoint. For a Gateway Load Balancer
45118
+ # (Interface and Gateway Load Balancer endpoints) The IDs of the
45119
+ # subnets in which to serve the endpoint. For a Gateway Load Balancer
45128
45120
  # endpoint, you can specify only one subnet.
45129
45121
  # @return [Array<String>]
45130
45122
  #
45131
45123
  # @!attribute [rw] remove_subnet_ids
45132
- # (Interface endpoint) One or more subnets IDs in which to remove the
45124
+ # (Interface endpoint) The IDs of the subnets from which to remove the
45133
45125
  # endpoint.
45134
45126
  # @return [Array<String>]
45135
45127
  #
45136
45128
  # @!attribute [rw] add_security_group_ids
45137
- # (Interface endpoint) One or more security group IDs to associate
45129
+ # (Interface endpoint) The IDs of the security groups to associate
45138
45130
  # with the network interface.
45139
45131
  # @return [Array<String>]
45140
45132
  #
45141
45133
  # @!attribute [rw] remove_security_group_ids
45142
- # (Interface endpoint) One or more security group IDs to disassociate
45134
+ # (Interface endpoint) The IDs of the security groups to disassociate
45143
45135
  # from the network interface.
45144
45136
  # @return [Array<String>]
45145
45137
  #
@@ -45326,14 +45318,14 @@ module Aws::EC2
45326
45318
  # @return [String]
45327
45319
  #
45328
45320
  # @!attribute [rw] add_allowed_principals
45329
- # The Amazon Resource Names (ARN) of one or more principals.
45330
- # Permissions are granted to the principals in this list. To grant
45331
- # permissions to all principals, specify an asterisk (*).
45321
+ # The Amazon Resource Names (ARN) of the principals. Permissions are
45322
+ # granted to the principals in this list. To grant permissions to all
45323
+ # principals, specify an asterisk (*).
45332
45324
  # @return [Array<String>]
45333
45325
  #
45334
45326
  # @!attribute [rw] remove_allowed_principals
45335
- # The Amazon Resource Names (ARN) of one or more principals.
45336
- # Permissions are revoked for principals in this list.
45327
+ # The Amazon Resource Names (ARN) of the principals. Permissions are
45328
+ # revoked for principals in this list.
45337
45329
  # @return [Array<String>]
45338
45330
  #
45339
45331
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServicePermissionsRequest AWS API Documentation
@@ -49672,7 +49664,7 @@ module Aws::EC2
49672
49664
  # @return [String]
49673
49665
  #
49674
49666
  # @!attribute [rw] vpc_endpoint_ids
49675
- # The IDs of one or more VPC endpoints.
49667
+ # The IDs of the VPC endpoints.
49676
49668
  # @return [Array<String>]
49677
49669
  #
49678
49670
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectVpcEndpointConnectionsRequest AWS API Documentation
@@ -50653,7 +50645,8 @@ module Aws::EC2
50653
50645
  #
50654
50646
  # @!attribute [rw] disable_api_stop
50655
50647
  # Indicates whether to enable the instance for stop protection. For
50656
- # more information, see [Stop Protection][1].
50648
+ # more information, see [Stop protection][1] in the *Amazon Elastic
50649
+ # Compute Cloud User Guide*.
50657
50650
  #
50658
50651
  #
50659
50652
  #
@@ -52001,7 +51994,8 @@ module Aws::EC2
52001
51994
  #
52002
51995
  # @!attribute [rw] disable_api_stop
52003
51996
  # Indicates whether the instance is enabled for stop protection. For
52004
- # more information, see [Stop Protection][1].
51997
+ # more information, see [Stop protection][1] in the *Amazon Elastic
51998
+ # Compute Cloud User Guide*.
52005
51999
  #
52006
52000
  #
52007
52001
  #
@@ -52449,9 +52443,9 @@ module Aws::EC2
52449
52443
  # @return [String]
52450
52444
  #
52451
52445
  # @!attribute [rw] from_port
52452
- # The start of port range for the TCP and UDP protocols, or an ICMP
52453
- # type number. For the ICMP type number, use `-1` to specify all ICMP
52454
- # types.
52446
+ # If the protocol is TCP or UDP, this is the start of the port range.
52447
+ # If the protocol is ICMP, this is the type number. A value of -1
52448
+ # indicates all ICMP types.
52455
52449
  # @return [Integer]
52456
52450
  #
52457
52451
  # @!attribute [rw] group_id
@@ -52502,9 +52496,9 @@ module Aws::EC2
52502
52496
  # @return [String]
52503
52497
  #
52504
52498
  # @!attribute [rw] to_port
52505
- # The end of port range for the TCP and UDP protocols, or an ICMP code
52506
- # number. For the ICMP code number, use `-1` to specify all ICMP codes
52507
- # for the ICMP type.
52499
+ # If the protocol is TCP or UDP, this is the end of the port range. If
52500
+ # the protocol is ICMP, this is the code. A value of -1 indicates all
52501
+ # ICMP codes.
52508
52502
  # @return [Integer]
52509
52503
  #
52510
52504
  # @!attribute [rw] dry_run
@@ -52920,8 +52914,7 @@ module Aws::EC2
52920
52914
  # @return [Array<String>]
52921
52915
  #
52922
52916
  # @!attribute [rw] security_groups
52923
- # \[EC2-Classic, default VPC\] The names of the security groups. For a
52924
- # nondefault VPC, you must use security group IDs instead.
52917
+ # \[EC2-Classic, default VPC\] The names of the security groups.
52925
52918
  #
52926
52919
  # If you specify a network interface, you must specify any security
52927
52920
  # groups as part of the network interface.
@@ -54329,15 +54322,17 @@ module Aws::EC2
54329
54322
  # @return [String]
54330
54323
  #
54331
54324
  # @!attribute [rw] from_port
54332
- # The start of port range for the TCP and UDP protocols, or an
54333
- # ICMP/ICMPv6 type. A value of -1 indicates all ICMP/ICMPv6 types. If
54334
- # you specify all ICMP/ICMPv6 types, you must specify all codes.
54325
+ # If the protocol is TCP or UDP, this is the start of the port range.
54326
+ # If the protocol is ICMP or ICMPv6, this is the type number. A value
54327
+ # of -1 indicates all ICMP/ICMPv6 types. If you specify all
54328
+ # ICMP/ICMPv6 types, you must specify all ICMP/ICMPv6 codes.
54335
54329
  # @return [Integer]
54336
54330
  #
54337
54331
  # @!attribute [rw] to_port
54338
- # The end of port range for the TCP and UDP protocols, or an
54339
- # ICMP/ICMPv6 code. A value of `-1` indicates all ICMP/ICMPv6 codes.
54340
- # If you specify all ICMP/ICMPv6 types, you must specify all codes.
54332
+ # If the protocol is TCP or UDP, this is the end of the port range. If
54333
+ # the protocol is ICMP or ICMPv6, this is the type number. A value of
54334
+ # -1 indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6
54335
+ # types, you must specify all ICMP/ICMPv6 codes.
54341
54336
  # @return [Integer]
54342
54337
  #
54343
54338
  # @!attribute [rw] cidr_ipv_4
@@ -54435,15 +54430,17 @@ module Aws::EC2
54435
54430
  # @return [String]
54436
54431
  #
54437
54432
  # @!attribute [rw] from_port
54438
- # The start of port range for the TCP and UDP protocols, or an
54439
- # ICMP/ICMPv6 type. A value of -1 indicates all ICMP/ICMPv6 types. If
54440
- # you specify all ICMP/ICMPv6 types, you must specify all codes.
54433
+ # If the protocol is TCP or UDP, this is the start of the port range.
54434
+ # If the protocol is ICMP or ICMPv6, this is the type number. A value
54435
+ # of -1 indicates all ICMP/ICMPv6 types. If you specify all
54436
+ # ICMP/ICMPv6 types, you must specify all ICMP/ICMPv6 codes.
54441
54437
  # @return [Integer]
54442
54438
  #
54443
54439
  # @!attribute [rw] to_port
54444
- # The end of port range for the TCP and UDP protocols, or an
54445
- # ICMP/ICMPv6 code. A value of `-1` indicates all ICMP/ICMPv6 codes.
54446
- # If you specify all ICMP/ICMPv6 types, you must specify all codes.
54440
+ # If the protocol is TCP or UDP, this is the end of the port range. If
54441
+ # the protocol is ICMP or ICMPv6, this is the code. A value of -1
54442
+ # indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6
54443
+ # types, you must specify all ICMP/ICMPv6 codes.
54447
54444
  # @return [Integer]
54448
54445
  #
54449
54446
  # @!attribute [rw] cidr_ipv_4
@@ -54588,7 +54585,7 @@ module Aws::EC2
54588
54585
  # @return [String]
54589
54586
  #
54590
54587
  # @!attribute [rw] tags
54591
- # Any tags assigned to the service.
54588
+ # The tags assigned to the service.
54592
54589
  # @return [Array<Types::Tag>]
54593
54590
  #
54594
54591
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ServiceConfiguration AWS API Documentation
@@ -54667,7 +54664,7 @@ module Aws::EC2
54667
54664
  # @return [String]
54668
54665
  #
54669
54666
  # @!attribute [rw] tags
54670
- # Any tags assigned to the service.
54667
+ # The tags assigned to the service.
54671
54668
  # @return [Array<Types::Tag>]
54672
54669
  #
54673
54670
  # @!attribute [rw] private_dns_name_verification_state
@@ -55793,7 +55790,8 @@ module Aws::EC2
55793
55790
  # @return [String]
55794
55791
  #
55795
55792
  # @!attribute [rw] target_capacity_unit_type
55796
- # The unit for the target capacity.
55793
+ # The unit for the target capacity. `TargetCapacityUnitType` can only
55794
+ # be specified when `InstanceRequirements` is specified.
55797
55795
  #
55798
55796
  # Default: `units` (translates to number of instances)
55799
55797
  # @return [String]
@@ -56523,7 +56521,7 @@ module Aws::EC2
56523
56521
  #
56524
56522
  # @!attribute [rw] from_port
56525
56523
  # The start of the port range for the TCP and UDP protocols, or an
56526
- # ICMP type number. A value of `-1` indicates all ICMP types.
56524
+ # ICMP type number. A value of -1 indicates all ICMP types.
56527
56525
  # @return [Integer]
56528
56526
  #
56529
56527
  # @!attribute [rw] ip_protocol
@@ -57411,7 +57409,8 @@ module Aws::EC2
57411
57409
  # @return [String]
57412
57410
  #
57413
57411
  # @!attribute [rw] target_capacity_unit_type
57414
- # The unit for the target capacity.
57412
+ # The unit for the target capacity. `TargetCapacityUnitType` can only
57413
+ # be specified when `InstanceRequirements` is specified.
57415
57414
  #
57416
57415
  # Default: `units` (translates to number of instances)
57417
57416
  # @return [String]
@@ -57469,7 +57468,8 @@ module Aws::EC2
57469
57468
  # @return [String]
57470
57469
  #
57471
57470
  # @!attribute [rw] target_capacity_unit_type
57472
- # The unit for the target capacity.
57471
+ # The unit for the target capacity. `TargetCapacityUnitType` can only
57472
+ # be specified when `InstanceRequirements` is specified.
57473
57473
  #
57474
57474
  # Default: `units` (translates to number of instances)
57475
57475
  # @return [String]
@@ -61538,7 +61538,7 @@ module Aws::EC2
61538
61538
  # @return [String]
61539
61539
  #
61540
61540
  # @!attribute [rw] route_table_ids
61541
- # (Gateway endpoint) One or more route tables associated with the
61541
+ # (Gateway endpoint) The IDs of the route tables associated with the
61542
61542
  # endpoint.
61543
61543
  # @return [Array<String>]
61544
61544
  #
@@ -61569,8 +61569,7 @@ module Aws::EC2
61569
61569
  # @return [Boolean]
61570
61570
  #
61571
61571
  # @!attribute [rw] network_interface_ids
61572
- # (Interface endpoint) One or more network interfaces for the
61573
- # endpoint.
61572
+ # (Interface endpoint) The network interfaces for the endpoint.
61574
61573
  # @return [Array<String>]
61575
61574
  #
61576
61575
  # @!attribute [rw] dns_entries
@@ -61582,7 +61581,7 @@ module Aws::EC2
61582
61581
  # @return [Time]
61583
61582
  #
61584
61583
  # @!attribute [rw] tags
61585
- # Any tags assigned to the endpoint.
61584
+ # The tags assigned to the endpoint.
61586
61585
  # @return [Array<Types::Tag>]
61587
61586
  #
61588
61587
  # @!attribute [rw] owner_id