aws-sdk-ec2 1.493.0 → 1.494.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 +110 -16
- data/lib/aws-sdk-ec2/client_api.rb +26 -0
- data/lib/aws-sdk-ec2/instance.rb +9 -3
- data/lib/aws-sdk-ec2/placement_group.rb +13 -0
- data/lib/aws-sdk-ec2/resource.rb +29 -3
- data/lib/aws-sdk-ec2/snapshot.rb +51 -0
- data/lib/aws-sdk-ec2/subnet.rb +20 -0
- data/lib/aws-sdk-ec2/types.rb +193 -19
- data/lib/aws-sdk-ec2/vpc.rb +20 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +12 -3
- data/sig/snapshot.rbs +10 -0
- data/sig/types.rbs +21 -0
- metadata +2 -2
data/lib/aws-sdk-ec2/snapshot.rb
CHANGED
@@ -84,6 +84,44 @@ module Aws::EC2
|
|
84
84
|
data[:sse_type]
|
85
85
|
end
|
86
86
|
|
87
|
+
# <note markdown="1"> Only for snapshot copies.
|
88
|
+
#
|
89
|
+
# </note>
|
90
|
+
#
|
91
|
+
# Indicates whether the snapshot copy was created with a standard or
|
92
|
+
# time-based snapshot copy operation. Time-based snapshot copy
|
93
|
+
# operations complete within the completion duration specified in the
|
94
|
+
# request. Standard snapshot copy operations are completed on a
|
95
|
+
# best-effort basis.
|
96
|
+
#
|
97
|
+
# * `standard` - The snapshot copy was created with a standard snapshot
|
98
|
+
# copy operation.
|
99
|
+
#
|
100
|
+
# * `time-based` - The snapshot copy was created with a time-based
|
101
|
+
# snapshot copy operation.
|
102
|
+
# @return [String]
|
103
|
+
def transfer_type
|
104
|
+
data[:transfer_type]
|
105
|
+
end
|
106
|
+
|
107
|
+
# <note markdown="1"> Only for snapshot copies created with time-based snapshot copy
|
108
|
+
# operations.
|
109
|
+
#
|
110
|
+
# </note>
|
111
|
+
#
|
112
|
+
# The completion duration requested for the time-based snapshot copy
|
113
|
+
# operation.
|
114
|
+
# @return [Integer]
|
115
|
+
def completion_duration_minutes
|
116
|
+
data[:completion_duration_minutes]
|
117
|
+
end
|
118
|
+
|
119
|
+
# The time stamp when the snapshot was completed.
|
120
|
+
# @return [Time]
|
121
|
+
def completion_time
|
122
|
+
data[:completion_time]
|
123
|
+
end
|
124
|
+
|
87
125
|
# The ID of the volume that was used to create the snapshot. Snapshots
|
88
126
|
# created by the CopySnapshot action have an arbitrary volume ID that
|
89
127
|
# should not be used for any purpose.
|
@@ -342,6 +380,7 @@ module Aws::EC2
|
|
342
380
|
# ],
|
343
381
|
# },
|
344
382
|
# ],
|
383
|
+
# completion_duration_minutes: 1,
|
345
384
|
# dry_run: false,
|
346
385
|
# })
|
347
386
|
# @param [Hash] options ({})
|
@@ -426,6 +465,18 @@ module Aws::EC2
|
|
426
465
|
# The ID of the Region that contains the snapshot to be copied.
|
427
466
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
428
467
|
# The tags to apply to the new snapshot.
|
468
|
+
# @option options [Integer] :completion_duration_minutes
|
469
|
+
# Specify a completion duration, in 15 minute increments, to initiate a
|
470
|
+
# time-based snapshot copy. Time-based snapshot copy operations complete
|
471
|
+
# within the specified duration. For more information, see [ Time-based
|
472
|
+
# copies][1].
|
473
|
+
#
|
474
|
+
# If you do not specify a value, the snapshot copy operation is
|
475
|
+
# completed on a best-effort basis.
|
476
|
+
#
|
477
|
+
#
|
478
|
+
#
|
479
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/time-based-copies.html
|
429
480
|
# @option options [Boolean] :dry_run
|
430
481
|
# Checks whether you have the required permissions for the action,
|
431
482
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -1444,6 +1444,13 @@ module Aws::EC2
|
|
1444
1444
|
# * `network-interface.network-interface-id` - The ID of the network
|
1445
1445
|
# interface.
|
1446
1446
|
#
|
1447
|
+
# * `network-interface.operator.managed` - A Boolean that indicates
|
1448
|
+
# whether the instance has a managed network interface.
|
1449
|
+
#
|
1450
|
+
# * `network-interface.operator.principal` - The principal that manages
|
1451
|
+
# the network interface. Only valid for instances with managed network
|
1452
|
+
# interfaces, where `managed` is `true`.
|
1453
|
+
#
|
1447
1454
|
# * `network-interface.outpost-arn` - The ARN of the Outpost.
|
1448
1455
|
#
|
1449
1456
|
# * `network-interface.owner-id` - The ID of the owner of the network
|
@@ -1483,6 +1490,12 @@ module Aws::EC2
|
|
1483
1490
|
# * `network-interface.vpc-id` - The ID of the VPC for the network
|
1484
1491
|
# interface.
|
1485
1492
|
#
|
1493
|
+
# * `operator.managed` - A Boolean that indicates whether this is a
|
1494
|
+
# managed instance.
|
1495
|
+
#
|
1496
|
+
# * `operator.principal` - The principal that manages the instance. Only
|
1497
|
+
# valid for managed instances, where `managed` is `true`.
|
1498
|
+
#
|
1486
1499
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
1487
1500
|
#
|
1488
1501
|
# * `owner-id` - The Amazon Web Services account ID of the instance
|
@@ -1795,6 +1808,13 @@ module Aws::EC2
|
|
1795
1808
|
#
|
1796
1809
|
# * `network-interface-id` - The ID of the network interface.
|
1797
1810
|
#
|
1811
|
+
# * `operator.managed` - A Boolean that indicates whether this is a
|
1812
|
+
# managed network interface.
|
1813
|
+
#
|
1814
|
+
# * `operator.principal` - The principal that manages the network
|
1815
|
+
# interface. Only valid for managed network interfaces, where
|
1816
|
+
# `managed` is `true`.
|
1817
|
+
#
|
1798
1818
|
# * `owner-id` - The Amazon Web Services account ID of the network
|
1799
1819
|
# interface owner.
|
1800
1820
|
#
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -6655,6 +6655,10 @@ module Aws::EC2
|
|
6655
6655
|
# The state of the notification.
|
6656
6656
|
# @return [String]
|
6657
6657
|
#
|
6658
|
+
# @!attribute [rw] service_region
|
6659
|
+
# The Region for the endpoint service.
|
6660
|
+
# @return [String]
|
6661
|
+
#
|
6658
6662
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ConnectionNotification AWS API Documentation
|
6659
6663
|
#
|
6660
6664
|
class ConnectionNotification < Struct.new(
|
@@ -6664,7 +6668,8 @@ module Aws::EC2
|
|
6664
6668
|
:connection_notification_type,
|
6665
6669
|
:connection_notification_arn,
|
6666
6670
|
:connection_events,
|
6667
|
-
:connection_notification_state
|
6671
|
+
:connection_notification_state,
|
6672
|
+
:service_region)
|
6668
6673
|
SENSITIVE = []
|
6669
6674
|
include Aws::Structure
|
6670
6675
|
end
|
@@ -7184,6 +7189,20 @@ module Aws::EC2
|
|
7184
7189
|
# The tags to apply to the new snapshot.
|
7185
7190
|
# @return [Array<Types::TagSpecification>]
|
7186
7191
|
#
|
7192
|
+
# @!attribute [rw] completion_duration_minutes
|
7193
|
+
# Specify a completion duration, in 15 minute increments, to initiate
|
7194
|
+
# a time-based snapshot copy. Time-based snapshot copy operations
|
7195
|
+
# complete within the specified duration. For more information, see [
|
7196
|
+
# Time-based copies][1].
|
7197
|
+
#
|
7198
|
+
# If you do not specify a value, the snapshot copy operation is
|
7199
|
+
# completed on a best-effort basis.
|
7200
|
+
#
|
7201
|
+
#
|
7202
|
+
#
|
7203
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/time-based-copies.html
|
7204
|
+
# @return [Integer]
|
7205
|
+
#
|
7187
7206
|
# @!attribute [rw] dry_run
|
7188
7207
|
# Checks whether you have the required permissions for the action,
|
7189
7208
|
# without actually making the request, and provides an error response.
|
@@ -7203,6 +7222,7 @@ module Aws::EC2
|
|
7203
7222
|
:source_region,
|
7204
7223
|
:source_snapshot_id,
|
7205
7224
|
:tag_specifications,
|
7225
|
+
:completion_duration_minutes,
|
7206
7226
|
:dry_run)
|
7207
7227
|
SENSITIVE = [:presigned_url]
|
7208
7228
|
include Aws::Structure
|
@@ -13733,6 +13753,11 @@ module Aws::EC2
|
|
13733
13753
|
# The subnet configurations for the endpoint.
|
13734
13754
|
# @return [Array<Types::SubnetConfiguration>]
|
13735
13755
|
#
|
13756
|
+
# @!attribute [rw] service_region
|
13757
|
+
# The Region where the service is hosted. The default is the current
|
13758
|
+
# Region.
|
13759
|
+
# @return [String]
|
13760
|
+
#
|
13736
13761
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointRequest AWS API Documentation
|
13737
13762
|
#
|
13738
13763
|
class CreateVpcEndpointRequest < Struct.new(
|
@@ -13749,7 +13774,8 @@ module Aws::EC2
|
|
13749
13774
|
:client_token,
|
13750
13775
|
:private_dns_enabled,
|
13751
13776
|
:tag_specifications,
|
13752
|
-
:subnet_configurations
|
13777
|
+
:subnet_configurations,
|
13778
|
+
:service_region)
|
13753
13779
|
SENSITIVE = []
|
13754
13780
|
include Aws::Structure
|
13755
13781
|
end
|
@@ -13802,6 +13828,10 @@ module Aws::EC2
|
|
13802
13828
|
# `ipv6`.
|
13803
13829
|
# @return [Array<String>]
|
13804
13830
|
#
|
13831
|
+
# @!attribute [rw] supported_regions
|
13832
|
+
# The Regions from which service consumers can access the service.
|
13833
|
+
# @return [Array<String>]
|
13834
|
+
#
|
13805
13835
|
# @!attribute [rw] client_token
|
13806
13836
|
# Unique, case-sensitive identifier that you provide to ensure the
|
13807
13837
|
# idempotency of the request. For more information, see [How to ensure
|
@@ -13825,6 +13855,7 @@ module Aws::EC2
|
|
13825
13855
|
:network_load_balancer_arns,
|
13826
13856
|
:gateway_load_balancer_arns,
|
13827
13857
|
:supported_ip_address_types,
|
13858
|
+
:supported_regions,
|
13828
13859
|
:client_token,
|
13829
13860
|
:tag_specifications)
|
13830
13861
|
SENSITIVE = []
|
@@ -21279,6 +21310,12 @@ module Aws::EC2
|
|
21279
21310
|
# `impaired` \| `initializing` \| `insufficient-data` \|
|
21280
21311
|
# `not-applicable`).
|
21281
21312
|
#
|
21313
|
+
# * `operator.managed` - A Boolean that indicates whether this is a
|
21314
|
+
# managed instance.
|
21315
|
+
#
|
21316
|
+
# * `operator.principal` - The principal that manages the instance.
|
21317
|
+
# Only valid for managed instances, where `managed` is `true`.
|
21318
|
+
#
|
21282
21319
|
# * `system-status.reachability` - Filters on system status where the
|
21283
21320
|
# name is `reachability` (`passed` \| `failed` \| `initializing` \|
|
21284
21321
|
# `insufficient-data`).
|
@@ -22011,6 +22048,13 @@ module Aws::EC2
|
|
22011
22048
|
# * `network-interface.network-interface-id` - The ID of the network
|
22012
22049
|
# interface.
|
22013
22050
|
#
|
22051
|
+
# * `network-interface.operator.managed` - A Boolean that indicates
|
22052
|
+
# whether the instance has a managed network interface.
|
22053
|
+
#
|
22054
|
+
# * `network-interface.operator.principal` - The principal that
|
22055
|
+
# manages the network interface. Only valid for instances with
|
22056
|
+
# managed network interfaces, where `managed` is `true`.
|
22057
|
+
#
|
22014
22058
|
# * `network-interface.outpost-arn` - The ARN of the Outpost.
|
22015
22059
|
#
|
22016
22060
|
# * `network-interface.owner-id` - The ID of the owner of the network
|
@@ -22050,6 +22094,12 @@ module Aws::EC2
|
|
22050
22094
|
# * `network-interface.vpc-id` - The ID of the VPC for the network
|
22051
22095
|
# interface.
|
22052
22096
|
#
|
22097
|
+
# * `operator.managed` - A Boolean that indicates whether this is a
|
22098
|
+
# managed instance.
|
22099
|
+
#
|
22100
|
+
# * `operator.principal` - The principal that manages the instance.
|
22101
|
+
# Only valid for managed instances, where `managed` is `true`.
|
22102
|
+
#
|
22053
22103
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
22054
22104
|
#
|
22055
22105
|
# * `owner-id` - The Amazon Web Services account ID of the instance
|
@@ -24479,6 +24529,13 @@ module Aws::EC2
|
|
24479
24529
|
#
|
24480
24530
|
# * `network-interface-id` - The ID of the network interface.
|
24481
24531
|
#
|
24532
|
+
# * `operator.managed` - A Boolean that indicates whether this is a
|
24533
|
+
# managed network interface.
|
24534
|
+
#
|
24535
|
+
# * `operator.principal` - The principal that manages the network
|
24536
|
+
# interface. Only valid for managed network interfaces, where
|
24537
|
+
# `managed` is `true`.
|
24538
|
+
#
|
24482
24539
|
# * `owner-id` - The Amazon Web Services account ID of the network
|
24483
24540
|
# interface owner.
|
24484
24541
|
#
|
@@ -28689,13 +28746,19 @@ module Aws::EC2
|
|
28689
28746
|
# * `encrypted` - Indicates whether the volume is encrypted (`true` \|
|
28690
28747
|
# `false`)
|
28691
28748
|
#
|
28692
|
-
# * `multi-attach-enabled` - Indicates whether the volume is enabled
|
28693
|
-
# for Multi-Attach (`true` \| `false`)
|
28694
|
-
#
|
28695
28749
|
# * `fast-restored` - Indicates whether the volume was created from a
|
28696
28750
|
# snapshot that is enabled for fast snapshot restore (`true` \|
|
28697
28751
|
# `false`).
|
28698
28752
|
#
|
28753
|
+
# * `multi-attach-enabled` - Indicates whether the volume is enabled
|
28754
|
+
# for Multi-Attach (`true` \| `false`)
|
28755
|
+
#
|
28756
|
+
# * `operator.managed` - A Boolean that indicates whether this is a
|
28757
|
+
# managed volume.
|
28758
|
+
#
|
28759
|
+
# * `operator.principal` - The principal that manages the volume. Only
|
28760
|
+
# valid for managed volumes, where `managed` is `true`.
|
28761
|
+
#
|
28699
28762
|
# * `size` - The size of the volume, in GiB.
|
28700
28763
|
#
|
28701
28764
|
# * `snapshot-id` - The snapshot from which the volume was created.
|
@@ -29120,6 +29183,9 @@ module Aws::EC2
|
|
29120
29183
|
# * `vpc-endpoint-owner` - The ID of the Amazon Web Services account
|
29121
29184
|
# ID that owns the endpoint.
|
29122
29185
|
#
|
29186
|
+
# * `vpc-endpoint-region` - The Region of the endpoint or
|
29187
|
+
# `cross-region` to find endpoints for other Regions.
|
29188
|
+
#
|
29123
29189
|
# * `vpc-endpoint-state` - The state of the endpoint
|
29124
29190
|
# (`pendingAcceptance` \| `pending` \| `available` \| `deleting` \|
|
29125
29191
|
# `deleted` \| `rejected` \| `failed`).
|
@@ -29326,6 +29392,8 @@ module Aws::EC2
|
|
29326
29392
|
#
|
29327
29393
|
# * `service-name` - The name of the service.
|
29328
29394
|
#
|
29395
|
+
# * `service-region` - The Region of the service.
|
29396
|
+
#
|
29329
29397
|
# * `service-type` - The type of service (`Interface` \| `Gateway` \|
|
29330
29398
|
# `GatewayLoadBalancer`).
|
29331
29399
|
#
|
@@ -29357,6 +29425,10 @@ module Aws::EC2
|
|
29357
29425
|
# token from a prior call.)
|
29358
29426
|
# @return [String]
|
29359
29427
|
#
|
29428
|
+
# @!attribute [rw] service_regions
|
29429
|
+
# The service Regions.
|
29430
|
+
# @return [Array<String>]
|
29431
|
+
#
|
29360
29432
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServicesRequest AWS API Documentation
|
29361
29433
|
#
|
29362
29434
|
class DescribeVpcEndpointServicesRequest < Struct.new(
|
@@ -29364,7 +29436,8 @@ module Aws::EC2
|
|
29364
29436
|
:service_names,
|
29365
29437
|
:filters,
|
29366
29438
|
:max_results,
|
29367
|
-
:next_token
|
29439
|
+
:next_token,
|
29440
|
+
:service_regions)
|
29368
29441
|
SENSITIVE = []
|
29369
29442
|
include Aws::Structure
|
29370
29443
|
end
|
@@ -29410,6 +29483,8 @@ module Aws::EC2
|
|
29410
29483
|
#
|
29411
29484
|
# * `service-name` - The name of the service.
|
29412
29485
|
#
|
29486
|
+
# * `service-region` - The Region of the service.
|
29487
|
+
#
|
29413
29488
|
# * `tag`:<key> - The key/value combination of a tag assigned to
|
29414
29489
|
# the resource. Use the tag key in the filter name and the tag value
|
29415
29490
|
# as the filter value. For example, to find all resources that have
|
@@ -42575,6 +42650,8 @@ module Aws::EC2
|
|
42575
42650
|
# * For instance types with Amazon Web Services CPUs, specify
|
42576
42651
|
# `amazon-web-services`.
|
42577
42652
|
#
|
42653
|
+
# * For instance types with Apple CPUs, specify `apple`.
|
42654
|
+
#
|
42578
42655
|
# <note markdown="1"> Don't confuse the CPU manufacturer with the CPU architecture.
|
42579
42656
|
# Instances will be launched with a compatible CPU architecture based
|
42580
42657
|
# on the Amazon Machine Image (AMI) that you specify in your launch
|
@@ -43056,6 +43133,8 @@ module Aws::EC2
|
|
43056
43133
|
# * For instance types with Amazon Web Services CPUs, specify
|
43057
43134
|
# `amazon-web-services`.
|
43058
43135
|
#
|
43136
|
+
# * For instance types with Apple CPUs, specify `apple`.
|
43137
|
+
#
|
43059
43138
|
# <note markdown="1"> Don't confuse the CPU manufacturer with the CPU architecture.
|
43060
43139
|
# Instances will be launched with a compatible CPU architecture based
|
43061
43140
|
# on the Amazon Machine Image (AMI) that you specify in your launch
|
@@ -46373,9 +46452,13 @@ module Aws::EC2
|
|
46373
46452
|
# Indicates the instance's Capacity Reservation preferences. Possible
|
46374
46453
|
# preferences include:
|
46375
46454
|
#
|
46455
|
+
# * `capacity-reservations-only` - The instance will only run in a
|
46456
|
+
# Capacity Reservation or Capacity Reservation group. If capacity
|
46457
|
+
# isn't available, the instance will fail to launch.
|
46458
|
+
#
|
46376
46459
|
# * `open` - The instance can run in any `open` Capacity Reservation
|
46377
46460
|
# that has matching attributes (instance type, platform,
|
46378
|
-
# Availability Zone).
|
46461
|
+
# Availability Zone, tenancy).
|
46379
46462
|
#
|
46380
46463
|
# * `none` - The instance avoids running in a Capacity Reservation
|
46381
46464
|
# even if one is available. The instance runs in On-Demand capacity.
|
@@ -53227,36 +53310,44 @@ module Aws::EC2
|
|
53227
53310
|
# @return [Boolean]
|
53228
53311
|
#
|
53229
53312
|
# @!attribute [rw] acceptance_required
|
53230
|
-
# Indicates whether requests to create an endpoint to
|
53231
|
-
#
|
53313
|
+
# Indicates whether requests to create an endpoint to the service must
|
53314
|
+
# be accepted.
|
53232
53315
|
# @return [Boolean]
|
53233
53316
|
#
|
53234
53317
|
# @!attribute [rw] add_network_load_balancer_arns
|
53235
53318
|
# The Amazon Resource Names (ARNs) of Network Load Balancers to add to
|
53236
|
-
#
|
53319
|
+
# the service configuration.
|
53237
53320
|
# @return [Array<String>]
|
53238
53321
|
#
|
53239
53322
|
# @!attribute [rw] remove_network_load_balancer_arns
|
53240
53323
|
# The Amazon Resource Names (ARNs) of Network Load Balancers to remove
|
53241
|
-
# from
|
53324
|
+
# from the service configuration.
|
53242
53325
|
# @return [Array<String>]
|
53243
53326
|
#
|
53244
53327
|
# @!attribute [rw] add_gateway_load_balancer_arns
|
53245
53328
|
# The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to
|
53246
|
-
#
|
53329
|
+
# the service configuration.
|
53247
53330
|
# @return [Array<String>]
|
53248
53331
|
#
|
53249
53332
|
# @!attribute [rw] remove_gateway_load_balancer_arns
|
53250
53333
|
# The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove
|
53251
|
-
# from
|
53334
|
+
# from the service configuration.
|
53252
53335
|
# @return [Array<String>]
|
53253
53336
|
#
|
53254
53337
|
# @!attribute [rw] add_supported_ip_address_types
|
53255
|
-
# The IP address types to add to
|
53338
|
+
# The IP address types to add to the service configuration.
|
53256
53339
|
# @return [Array<String>]
|
53257
53340
|
#
|
53258
53341
|
# @!attribute [rw] remove_supported_ip_address_types
|
53259
|
-
# The IP address types to remove from
|
53342
|
+
# The IP address types to remove from the service configuration.
|
53343
|
+
# @return [Array<String>]
|
53344
|
+
#
|
53345
|
+
# @!attribute [rw] add_supported_regions
|
53346
|
+
# The supported Regions to add to the service configuration.
|
53347
|
+
# @return [Array<String>]
|
53348
|
+
#
|
53349
|
+
# @!attribute [rw] remove_supported_regions
|
53350
|
+
# The supported Regions to remove from the service configuration.
|
53260
53351
|
# @return [Array<String>]
|
53261
53352
|
#
|
53262
53353
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServiceConfigurationRequest AWS API Documentation
|
@@ -53272,7 +53363,9 @@ module Aws::EC2
|
|
53272
53363
|
:add_gateway_load_balancer_arns,
|
53273
53364
|
:remove_gateway_load_balancer_arns,
|
53274
53365
|
:add_supported_ip_address_types,
|
53275
|
-
:remove_supported_ip_address_types
|
53366
|
+
:remove_supported_ip_address_types,
|
53367
|
+
:add_supported_regions,
|
53368
|
+
:remove_supported_regions)
|
53276
53369
|
SENSITIVE = []
|
53277
53370
|
include Aws::Structure
|
53278
53371
|
end
|
@@ -63836,6 +63929,15 @@ module Aws::EC2
|
|
63836
63929
|
# The tags assigned to the service.
|
63837
63930
|
# @return [Array<Types::Tag>]
|
63838
63931
|
#
|
63932
|
+
# @!attribute [rw] supported_regions
|
63933
|
+
# The supported Regions.
|
63934
|
+
# @return [Array<Types::SupportedRegionDetail>]
|
63935
|
+
#
|
63936
|
+
# @!attribute [rw] remote_access_enabled
|
63937
|
+
# Indicates whether consumers can access the service from a Region
|
63938
|
+
# other than the Region where the service is hosted.
|
63939
|
+
# @return [Boolean]
|
63940
|
+
#
|
63839
63941
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ServiceConfiguration AWS API Documentation
|
63840
63942
|
#
|
63841
63943
|
class ServiceConfiguration < Struct.new(
|
@@ -63853,7 +63955,9 @@ module Aws::EC2
|
|
63853
63955
|
:private_dns_name,
|
63854
63956
|
:private_dns_name_configuration,
|
63855
63957
|
:payer_responsibility,
|
63856
|
-
:tags
|
63958
|
+
:tags,
|
63959
|
+
:supported_regions,
|
63960
|
+
:remote_access_enabled)
|
63857
63961
|
SENSITIVE = []
|
63858
63962
|
include Aws::Structure
|
63859
63963
|
end
|
@@ -63872,6 +63976,10 @@ module Aws::EC2
|
|
63872
63976
|
# The type of service.
|
63873
63977
|
# @return [Array<Types::ServiceTypeDetail>]
|
63874
63978
|
#
|
63979
|
+
# @!attribute [rw] service_region
|
63980
|
+
# The Region where the service is hosted.
|
63981
|
+
# @return [String]
|
63982
|
+
#
|
63875
63983
|
# @!attribute [rw] availability_zones
|
63876
63984
|
# The Availability Zones in which the service is available.
|
63877
63985
|
# @return [Array<String>]
|
@@ -63932,6 +64040,7 @@ module Aws::EC2
|
|
63932
64040
|
:service_name,
|
63933
64041
|
:service_id,
|
63934
64042
|
:service_type,
|
64043
|
+
:service_region,
|
63935
64044
|
:availability_zones,
|
63936
64045
|
:owner,
|
63937
64046
|
:base_endpoint_dns_names,
|
@@ -64047,6 +64156,38 @@ module Aws::EC2
|
|
64047
64156
|
# Reserved for future use.
|
64048
64157
|
# @return [String]
|
64049
64158
|
#
|
64159
|
+
# @!attribute [rw] transfer_type
|
64160
|
+
# <note markdown="1"> Only for snapshot copies.
|
64161
|
+
#
|
64162
|
+
# </note>
|
64163
|
+
#
|
64164
|
+
# Indicates whether the snapshot copy was created with a standard or
|
64165
|
+
# time-based snapshot copy operation. Time-based snapshot copy
|
64166
|
+
# operations complete within the completion duration specified in the
|
64167
|
+
# request. Standard snapshot copy operations are completed on a
|
64168
|
+
# best-effort basis.
|
64169
|
+
#
|
64170
|
+
# * `standard` - The snapshot copy was created with a standard
|
64171
|
+
# snapshot copy operation.
|
64172
|
+
#
|
64173
|
+
# * `time-based` - The snapshot copy was created with a time-based
|
64174
|
+
# snapshot copy operation.
|
64175
|
+
# @return [String]
|
64176
|
+
#
|
64177
|
+
# @!attribute [rw] completion_duration_minutes
|
64178
|
+
# <note markdown="1"> Only for snapshot copies created with time-based snapshot copy
|
64179
|
+
# operations.
|
64180
|
+
#
|
64181
|
+
# </note>
|
64182
|
+
#
|
64183
|
+
# The completion duration requested for the time-based snapshot copy
|
64184
|
+
# operation.
|
64185
|
+
# @return [Integer]
|
64186
|
+
#
|
64187
|
+
# @!attribute [rw] completion_time
|
64188
|
+
# The time stamp when the snapshot was completed.
|
64189
|
+
# @return [Time]
|
64190
|
+
#
|
64050
64191
|
# @!attribute [rw] snapshot_id
|
64051
64192
|
# The ID of the snapshot. Each snapshot receives a unique identifier
|
64052
64193
|
# when it is created.
|
@@ -64120,6 +64261,9 @@ module Aws::EC2
|
|
64120
64261
|
:storage_tier,
|
64121
64262
|
:restore_expiry_time,
|
64122
64263
|
:sse_type,
|
64264
|
+
:transfer_type,
|
64265
|
+
:completion_duration_minutes,
|
64266
|
+
:completion_time,
|
64123
64267
|
:snapshot_id,
|
64124
64268
|
:volume_id,
|
64125
64269
|
:state,
|
@@ -66714,6 +66858,26 @@ module Aws::EC2
|
|
66714
66858
|
include Aws::Structure
|
66715
66859
|
end
|
66716
66860
|
|
66861
|
+
# Describes a supported Region.
|
66862
|
+
#
|
66863
|
+
# @!attribute [rw] region
|
66864
|
+
# The Region code.
|
66865
|
+
# @return [String]
|
66866
|
+
#
|
66867
|
+
# @!attribute [rw] service_state
|
66868
|
+
# The service state. The possible values are `Pending`, `Available`,
|
66869
|
+
# `Deleting`, `Deleted`, `Failed`, and `Closed`.
|
66870
|
+
# @return [String]
|
66871
|
+
#
|
66872
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SupportedRegionDetail AWS API Documentation
|
66873
|
+
#
|
66874
|
+
class SupportedRegionDetail < Struct.new(
|
66875
|
+
:region,
|
66876
|
+
:service_state)
|
66877
|
+
SENSITIVE = []
|
66878
|
+
include Aws::Structure
|
66879
|
+
end
|
66880
|
+
|
66717
66881
|
# Describes a tag.
|
66718
66882
|
#
|
66719
66883
|
# @!attribute [rw] key
|
@@ -71394,6 +71558,10 @@ module Aws::EC2
|
|
71394
71558
|
# The last error that occurred for endpoint.
|
71395
71559
|
# @return [Types::LastError]
|
71396
71560
|
#
|
71561
|
+
# @!attribute [rw] service_region
|
71562
|
+
# The Region where the service is hosted.
|
71563
|
+
# @return [String]
|
71564
|
+
#
|
71397
71565
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcEndpoint AWS API Documentation
|
71398
71566
|
#
|
71399
71567
|
class VpcEndpoint < Struct.new(
|
@@ -71415,7 +71583,8 @@ module Aws::EC2
|
|
71415
71583
|
:creation_timestamp,
|
71416
71584
|
:tags,
|
71417
71585
|
:owner_id,
|
71418
|
-
:last_error
|
71586
|
+
:last_error,
|
71587
|
+
:service_region)
|
71419
71588
|
SENSITIVE = []
|
71420
71589
|
include Aws::Structure
|
71421
71590
|
end
|
@@ -71469,6 +71638,10 @@ module Aws::EC2
|
|
71469
71638
|
# The tags.
|
71470
71639
|
# @return [Array<Types::Tag>]
|
71471
71640
|
#
|
71641
|
+
# @!attribute [rw] vpc_endpoint_region
|
71642
|
+
# The Region of the endpoint.
|
71643
|
+
# @return [String]
|
71644
|
+
#
|
71472
71645
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcEndpointConnection AWS API Documentation
|
71473
71646
|
#
|
71474
71647
|
class VpcEndpointConnection < Struct.new(
|
@@ -71482,7 +71655,8 @@ module Aws::EC2
|
|
71482
71655
|
:gateway_load_balancer_arns,
|
71483
71656
|
:ip_address_type,
|
71484
71657
|
:vpc_endpoint_connection_id,
|
71485
|
-
:tags
|
71658
|
+
:tags,
|
71659
|
+
:vpc_endpoint_region)
|
71486
71660
|
SENSITIVE = []
|
71487
71661
|
include Aws::Structure
|
71488
71662
|
end
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -1292,6 +1292,13 @@ module Aws::EC2
|
|
1292
1292
|
# * `network-interface.network-interface-id` - The ID of the network
|
1293
1293
|
# interface.
|
1294
1294
|
#
|
1295
|
+
# * `network-interface.operator.managed` - A Boolean that indicates
|
1296
|
+
# whether the instance has a managed network interface.
|
1297
|
+
#
|
1298
|
+
# * `network-interface.operator.principal` - The principal that manages
|
1299
|
+
# the network interface. Only valid for instances with managed network
|
1300
|
+
# interfaces, where `managed` is `true`.
|
1301
|
+
#
|
1295
1302
|
# * `network-interface.outpost-arn` - The ARN of the Outpost.
|
1296
1303
|
#
|
1297
1304
|
# * `network-interface.owner-id` - The ID of the owner of the network
|
@@ -1331,6 +1338,12 @@ module Aws::EC2
|
|
1331
1338
|
# * `network-interface.vpc-id` - The ID of the VPC for the network
|
1332
1339
|
# interface.
|
1333
1340
|
#
|
1341
|
+
# * `operator.managed` - A Boolean that indicates whether this is a
|
1342
|
+
# managed instance.
|
1343
|
+
#
|
1344
|
+
# * `operator.principal` - The principal that manages the instance. Only
|
1345
|
+
# valid for managed instances, where `managed` is `true`.
|
1346
|
+
#
|
1334
1347
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
1335
1348
|
#
|
1336
1349
|
# * `owner-id` - The Amazon Web Services account ID of the instance
|
@@ -1749,6 +1762,13 @@ module Aws::EC2
|
|
1749
1762
|
#
|
1750
1763
|
# * `network-interface-id` - The ID of the network interface.
|
1751
1764
|
#
|
1765
|
+
# * `operator.managed` - A Boolean that indicates whether this is a
|
1766
|
+
# managed network interface.
|
1767
|
+
#
|
1768
|
+
# * `operator.principal` - The principal that manages the network
|
1769
|
+
# interface. Only valid for managed network interfaces, where
|
1770
|
+
# `managed` is `true`.
|
1771
|
+
#
|
1752
1772
|
# * `owner-id` - The Amazon Web Services account ID of the network
|
1753
1773
|
# interface owner.
|
1754
1774
|
#
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -1047,6 +1047,7 @@ module Aws
|
|
1047
1047
|
]?
|
1048
1048
|
},
|
1049
1049
|
],
|
1050
|
+
?completion_duration_minutes: ::Integer,
|
1050
1051
|
?dry_run: bool
|
1051
1052
|
) -> _CopySnapshotResponseSuccess
|
1052
1053
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CopySnapshotResponseSuccess
|
@@ -3104,6 +3105,9 @@ module Aws
|
|
3104
3105
|
def storage_tier: () -> ("archive" | "standard")
|
3105
3106
|
def restore_expiry_time: () -> ::Time
|
3106
3107
|
def sse_type: () -> ("sse-ebs" | "sse-kms" | "none")
|
3108
|
+
def transfer_type: () -> ("time-based" | "standard")
|
3109
|
+
def completion_duration_minutes: () -> ::Integer
|
3110
|
+
def completion_time: () -> ::Time
|
3107
3111
|
def snapshot_id: () -> ::String
|
3108
3112
|
def volume_id: () -> ::String
|
3109
3113
|
def state: () -> ("pending" | "completed" | "error" | "recoverable" | "recovering")
|
@@ -3941,7 +3945,8 @@ module Aws
|
|
3941
3945
|
ipv_4: ::String?,
|
3942
3946
|
ipv_6: ::String?
|
3943
3947
|
},
|
3944
|
-
]
|
3948
|
+
],
|
3949
|
+
?service_region: ::String
|
3945
3950
|
) -> _CreateVpcEndpointResponseSuccess
|
3946
3951
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVpcEndpointResponseSuccess
|
3947
3952
|
|
@@ -3974,6 +3979,7 @@ module Aws
|
|
3974
3979
|
?network_load_balancer_arns: Array[::String],
|
3975
3980
|
?gateway_load_balancer_arns: Array[::String],
|
3976
3981
|
?supported_ip_address_types: Array[::String],
|
3982
|
+
?supported_regions: Array[::String],
|
3977
3983
|
?client_token: ::String,
|
3978
3984
|
?tag_specifications: Array[
|
3979
3985
|
{
|
@@ -7965,7 +7971,8 @@ module Aws
|
|
7965
7971
|
},
|
7966
7972
|
],
|
7967
7973
|
?max_results: ::Integer,
|
7968
|
-
?next_token: ::String
|
7974
|
+
?next_token: ::String,
|
7975
|
+
?service_regions: Array[::String]
|
7969
7976
|
) -> _DescribeVpcEndpointServicesResponseSuccess
|
7970
7977
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeVpcEndpointServicesResponseSuccess
|
7971
7978
|
|
@@ -11347,7 +11354,9 @@ module Aws
|
|
11347
11354
|
?add_gateway_load_balancer_arns: Array[::String],
|
11348
11355
|
?remove_gateway_load_balancer_arns: Array[::String],
|
11349
11356
|
?add_supported_ip_address_types: Array[::String],
|
11350
|
-
?remove_supported_ip_address_types: Array[::String]
|
11357
|
+
?remove_supported_ip_address_types: Array[::String],
|
11358
|
+
?add_supported_regions: Array[::String],
|
11359
|
+
?remove_supported_regions: Array[::String]
|
11351
11360
|
) -> _ModifyVpcEndpointServiceConfigurationResponseSuccess
|
11352
11361
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyVpcEndpointServiceConfigurationResponseSuccess
|
11353
11362
|
|