aws-sdk-ec2 1.249.0 → 1.251.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +697 -263
- data/lib/aws-sdk-ec2/client_api.rb +168 -3
- data/lib/aws-sdk-ec2/dhcp_options.rb +1 -1
- data/lib/aws-sdk-ec2/internet_gateway.rb +1 -1
- data/lib/aws-sdk-ec2/network_acl.rb +1 -1
- data/lib/aws-sdk-ec2/network_interface.rb +30 -2
- data/lib/aws-sdk-ec2/resource.rb +97 -50
- data/lib/aws-sdk-ec2/route.rb +2 -2
- data/lib/aws-sdk-ec2/route_table.rb +1 -1
- data/lib/aws-sdk-ec2/snapshot.rb +37 -34
- data/lib/aws-sdk-ec2/subnet.rb +41 -1
- data/lib/aws-sdk-ec2/types.rb +988 -223
- data/lib/aws-sdk-ec2/volume.rb +12 -13
- data/lib/aws-sdk-ec2/vpc.rb +26 -27
- metadata +2 -2
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -164,6 +164,18 @@ module Aws::EC2
|
|
164
164
|
# associate_carrier_ip_address: false,
|
165
165
|
# interface_type: "String",
|
166
166
|
# network_card_index: 1,
|
167
|
+
# ipv_4_prefixes: [
|
168
|
+
# {
|
169
|
+
# ipv_4_prefix: "String",
|
170
|
+
# },
|
171
|
+
# ],
|
172
|
+
# ipv_4_prefix_count: 1,
|
173
|
+
# ipv_6_prefixes: [
|
174
|
+
# {
|
175
|
+
# ipv_6_prefix: "String",
|
176
|
+
# },
|
177
|
+
# ],
|
178
|
+
# ipv_6_prefix_count: 1,
|
167
179
|
# },
|
168
180
|
# ],
|
169
181
|
# private_ip_address: "String",
|
@@ -648,8 +660,8 @@ module Aws::EC2
|
|
648
660
|
# disassociate it.
|
649
661
|
# @option options [String] :client_token
|
650
662
|
# Unique, case-sensitive identifier that you provide to ensure the
|
651
|
-
# idempotency of the request. For more information, see [How to
|
652
|
-
#
|
663
|
+
# idempotency of the request. For more information, see [How to ensure
|
664
|
+
# idempotency][1].
|
653
665
|
#
|
654
666
|
# Constraint: Maximum 64 ASCII characters.
|
655
667
|
#
|
@@ -735,6 +747,18 @@ module Aws::EC2
|
|
735
747
|
# },
|
736
748
|
# ],
|
737
749
|
# secondary_private_ip_address_count: 1,
|
750
|
+
# ipv_4_prefixes: [
|
751
|
+
# {
|
752
|
+
# ipv_4_prefix: "String",
|
753
|
+
# },
|
754
|
+
# ],
|
755
|
+
# ipv_4_prefix_count: 1,
|
756
|
+
# ipv_6_prefixes: [
|
757
|
+
# {
|
758
|
+
# ipv_6_prefix: "String",
|
759
|
+
# },
|
760
|
+
# ],
|
761
|
+
# ipv_6_prefix_count: 1,
|
738
762
|
# interface_type: "efa", # accepts efa, branch, trunk
|
739
763
|
# subnet_id: "SubnetId", # required
|
740
764
|
# tag_specifications: [
|
@@ -793,6 +817,22 @@ module Aws::EC2
|
|
793
817
|
#
|
794
818
|
#
|
795
819
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
|
820
|
+
# @option options [Array<Types::Ipv4PrefixSpecificationRequest>] :ipv_4_prefixes
|
821
|
+
# One or moreIPv4 Prefix Delegation prefixes assigned to the network
|
822
|
+
# interface. You cannot use this option if you use the `Ipv4PrefixCount`
|
823
|
+
# option.
|
824
|
+
# @option options [Integer] :ipv_4_prefix_count
|
825
|
+
# The number of IPv4 Prefix Delegation prefixes that AWS automatically
|
826
|
+
# assigns to the network interface. You cannot use this option if you
|
827
|
+
# use the `Ipv4 Prefixes` option.
|
828
|
+
# @option options [Array<Types::Ipv6PrefixSpecificationRequest>] :ipv_6_prefixes
|
829
|
+
# One or moreIPv6 Prefix Delegation prefixes assigned to the network
|
830
|
+
# interface. You cannot use this option if you use the `Ipv6PrefixCount`
|
831
|
+
# option.
|
832
|
+
# @option options [Integer] :ipv_6_prefix_count
|
833
|
+
# The number of IPv6 Prefix Delegation prefixes that AWS automatically
|
834
|
+
# assigns to the network interface. You cannot use this option if you
|
835
|
+
# use the `Ipv6Prefixes` option.
|
796
836
|
# @option options [String] :interface_type
|
797
837
|
# Indicates the type of network interface. To create an Elastic Fabric
|
798
838
|
# Adapter (EFA), specify `efa`. For more information, see [ Elastic
|
@@ -989,7 +1029,7 @@ module Aws::EC2
|
|
989
1029
|
# @option options [String] :description
|
990
1030
|
# A description for the snapshot.
|
991
1031
|
# @option options [String] :outpost_arn
|
992
|
-
# The Amazon Resource Name (ARN) of the
|
1032
|
+
# The Amazon Resource Name (ARN) of the Outpost on which to create a
|
993
1033
|
# local snapshot.
|
994
1034
|
#
|
995
1035
|
# * To create a snapshot of a volume in a Region, omit this parameter.
|
@@ -1003,14 +1043,14 @@ module Aws::EC2
|
|
1003
1043
|
# snapshot on an Outpost, specify the ARN of the destination Outpost.
|
1004
1044
|
# The snapshot must be created on the same Outpost as the volume.
|
1005
1045
|
#
|
1006
|
-
# For more information, see [
|
1007
|
-
#
|
1046
|
+
# For more information, see [Create local snapshots from volumes on an
|
1047
|
+
# Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
1008
1048
|
#
|
1009
1049
|
#
|
1010
1050
|
#
|
1011
1051
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-snapshot
|
1012
1052
|
# @option options [required, String] :volume_id
|
1013
|
-
# The ID of the EBS volume.
|
1053
|
+
# The ID of the Amazon EBS volume.
|
1014
1054
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
1015
1055
|
# The tags to apply to the snapshot during creation.
|
1016
1056
|
# @option options [Boolean] :dry_run
|
@@ -1044,11 +1084,11 @@ module Aws::EC2
|
|
1044
1084
|
# ],
|
1045
1085
|
# availability_zone: "String",
|
1046
1086
|
# availability_zone_id: "String",
|
1047
|
-
# cidr_block: "String", # required
|
1048
1087
|
# ipv_6_cidr_block: "String",
|
1049
1088
|
# outpost_arn: "String",
|
1050
1089
|
# vpc_id: "VpcId", # required
|
1051
1090
|
# dry_run: false,
|
1091
|
+
# cidr_block: "String", # required
|
1052
1092
|
# })
|
1053
1093
|
# @param [Hash] options ({})
|
1054
1094
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
@@ -1056,9 +1096,9 @@ module Aws::EC2
|
|
1056
1096
|
# @option options [String] :availability_zone
|
1057
1097
|
# The Availability Zone or Local Zone for the subnet.
|
1058
1098
|
#
|
1059
|
-
# Default:
|
1060
|
-
# in your VPC, we do not necessarily select a different
|
1061
|
-
# subnet.
|
1099
|
+
# Default: Amazon Web Services selects one for you. If you create more
|
1100
|
+
# than one subnet in your VPC, we do not necessarily select a different
|
1101
|
+
# zone for each subnet.
|
1062
1102
|
#
|
1063
1103
|
# To create a subnet in a Local Zone, set this value to the Local Zone
|
1064
1104
|
# ID, for example `us-west-2-lax-1a`. For information about the Regions
|
@@ -1073,11 +1113,6 @@ module Aws::EC2
|
|
1073
1113
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
|
1074
1114
|
# @option options [String] :availability_zone_id
|
1075
1115
|
# The AZ ID or the Local Zone ID of the subnet.
|
1076
|
-
# @option options [required, String] :cidr_block
|
1077
|
-
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
1078
|
-
# `10.0.0.0/24`. We modify the specified CIDR block to its canonical
|
1079
|
-
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
1080
|
-
# `100.68.0.0/18`.
|
1081
1116
|
# @option options [String] :ipv_6_cidr_block
|
1082
1117
|
# The IPv6 network range for the subnet, in CIDR notation. The subnet
|
1083
1118
|
# size must use a /64 prefix length.
|
@@ -1092,6 +1127,11 @@ module Aws::EC2
|
|
1092
1127
|
# without actually making the request, and provides an error response.
|
1093
1128
|
# If you have the required permissions, the error response is
|
1094
1129
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1130
|
+
# @option options [required, String] :cidr_block
|
1131
|
+
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
1132
|
+
# `10.0.0.0/24`. We modify the specified CIDR block to its canonical
|
1133
|
+
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
1134
|
+
# `100.68.0.0/18`.
|
1095
1135
|
# @return [Subnet]
|
1096
1136
|
def create_subnet(options = {})
|
1097
1137
|
resp = @client.create_subnet(options)
|
@@ -1199,6 +1239,7 @@ module Aws::EC2
|
|
1199
1239
|
# ],
|
1200
1240
|
# multi_attach_enabled: false,
|
1201
1241
|
# throughput: 1,
|
1242
|
+
# client_token: "String",
|
1202
1243
|
# })
|
1203
1244
|
# @param [Hash] options ({})
|
1204
1245
|
# @option options [required, String] :availability_zone
|
@@ -1234,9 +1275,9 @@ module Aws::EC2
|
|
1234
1275
|
#
|
1235
1276
|
# * `io2`\: 100-64,000 IOPS
|
1236
1277
|
#
|
1237
|
-
#
|
1238
|
-
#
|
1239
|
-
#
|
1278
|
+
# `io1` and `io2` volumes support up to 64,000 IOPS only on [Instances
|
1279
|
+
# built on the Nitro System][1]. Other instance families support
|
1280
|
+
# performance up to 32,000 IOPS.
|
1240
1281
|
#
|
1241
1282
|
# This parameter is required for `io1` and `io2` volumes. The default
|
1242
1283
|
# for `gp3` volumes is 3,000 IOPS. This parameter is not supported for
|
@@ -1246,12 +1287,12 @@ module Aws::EC2
|
|
1246
1287
|
#
|
1247
1288
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
1248
1289
|
# @option options [String] :kms_key_id
|
1249
|
-
# The identifier of the
|
1250
|
-
#
|
1251
|
-
#
|
1252
|
-
#
|
1290
|
+
# The identifier of the Key Management Service (KMS) KMS key to use for
|
1291
|
+
# Amazon EBS encryption. If this parameter is not specified, your KMS
|
1292
|
+
# key for Amazon EBS is used. If `KmsKeyId` is specified, the encrypted
|
1293
|
+
# state must be `true`.
|
1253
1294
|
#
|
1254
|
-
# You can specify the
|
1295
|
+
# You can specify the KMS key using any of the following:
|
1255
1296
|
#
|
1256
1297
|
# * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
|
1257
1298
|
#
|
@@ -1263,9 +1304,9 @@ module Aws::EC2
|
|
1263
1304
|
# * Alias ARN. For example,
|
1264
1305
|
# arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
|
1265
1306
|
#
|
1266
|
-
#
|
1267
|
-
# ID, alias, or ARN that is not valid, the
|
1268
|
-
# complete, but eventually fails.
|
1307
|
+
# Amazon Web Services authenticates the KMS key asynchronously.
|
1308
|
+
# Therefore, if you specify an ID, alias, or ARN that is not valid, the
|
1309
|
+
# action can appear to complete, but eventually fails.
|
1269
1310
|
# @option options [String] :outpost_arn
|
1270
1311
|
# The Amazon Resource Name (ARN) of the Outpost.
|
1271
1312
|
# @option options [Integer] :size
|
@@ -1333,6 +1374,14 @@ module Aws::EC2
|
|
1333
1374
|
# This parameter is valid only for `gp3` volumes.
|
1334
1375
|
#
|
1335
1376
|
# Valid Range: Minimum value of 125. Maximum value of 1000.
|
1377
|
+
# @option options [String] :client_token
|
1378
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
1379
|
+
# idempotency of the request. For more information, see [Ensure
|
1380
|
+
# Idempotency][1].
|
1381
|
+
#
|
1382
|
+
#
|
1383
|
+
#
|
1384
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
1336
1385
|
# @return [Volume]
|
1337
1386
|
def create_volume(options = {})
|
1338
1387
|
resp = @client.create_volume(options)
|
@@ -1445,9 +1494,9 @@ module Aws::EC2
|
|
1445
1494
|
# If you have the required permissions, the error response is
|
1446
1495
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1447
1496
|
# @option options [String] :peer_owner_id
|
1448
|
-
# The
|
1497
|
+
# The account ID of the owner of the accepter VPC.
|
1449
1498
|
#
|
1450
|
-
# Default: Your
|
1499
|
+
# Default: Your account ID
|
1451
1500
|
# @option options [String] :peer_vpc_id
|
1452
1501
|
# The ID of the VPC with which you are creating the VPC peering
|
1453
1502
|
# connection. You must specify this parameter in the request.
|
@@ -1775,8 +1824,7 @@ module Aws::EC2
|
|
1775
1824
|
#
|
1776
1825
|
# * `value` - The value for one of the options.
|
1777
1826
|
#
|
1778
|
-
# * `owner-id` - The ID of the
|
1779
|
-
# set.
|
1827
|
+
# * `owner-id` - The ID of the account that owns the DHCP options set.
|
1780
1828
|
#
|
1781
1829
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
1782
1830
|
# the resource. Use the tag key in the filter name and the tag value
|
@@ -2334,8 +2382,7 @@ module Aws::EC2
|
|
2334
2382
|
#
|
2335
2383
|
# * `internet-gateway-id` - The ID of the Internet gateway.
|
2336
2384
|
#
|
2337
|
-
# * `owner-id` - The ID of the
|
2338
|
-
# gateway.
|
2385
|
+
# * `owner-id` - The ID of the account that owns the internet gateway.
|
2339
2386
|
#
|
2340
2387
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
2341
2388
|
# the resource. Use the tag key in the filter name and the tag value
|
@@ -2574,7 +2621,7 @@ module Aws::EC2
|
|
2574
2621
|
#
|
2575
2622
|
# * `network-acl-id` - The ID of the network ACL.
|
2576
2623
|
#
|
2577
|
-
# * `owner-id` - The ID of the
|
2624
|
+
# * `owner-id` - The ID of the account that owns the network ACL.
|
2578
2625
|
#
|
2579
2626
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
2580
2627
|
# the resource. Use the tag key in the filter name and the tag value
|
@@ -2892,7 +2939,7 @@ module Aws::EC2
|
|
2892
2939
|
# route table for the VPC (`true` \| `false`). Route tables that do
|
2893
2940
|
# not have an association ID are not returned in the response.
|
2894
2941
|
#
|
2895
|
-
# * `owner-id` - The ID of the
|
2942
|
+
# * `owner-id` - The ID of the account that owns the route table.
|
2896
2943
|
#
|
2897
2944
|
# * `route-table-id` - The ID of the route table.
|
2898
2945
|
#
|
@@ -2902,8 +2949,8 @@ module Aws::EC2
|
|
2902
2949
|
# * `route.destination-ipv6-cidr-block` - The IPv6 CIDR range specified
|
2903
2950
|
# in a route in the route table.
|
2904
2951
|
#
|
2905
|
-
# * `route.destination-prefix-list-id` - The ID (prefix) of the
|
2906
|
-
#
|
2952
|
+
# * `route.destination-prefix-list-id` - The ID (prefix) of the Amazon
|
2953
|
+
# Web Service specified in a route in the table.
|
2907
2954
|
#
|
2908
2955
|
# * `route.egress-only-internet-gateway-id` - The ID of an egress-only
|
2909
2956
|
# Internet gateway specified in a route in the route table.
|
@@ -3147,12 +3194,12 @@ module Aws::EC2
|
|
3147
3194
|
# `false`)
|
3148
3195
|
#
|
3149
3196
|
# * `owner-alias` - The owner alias, from an Amazon-maintained list
|
3150
|
-
# (`amazon`). This is not the user-configured
|
3151
|
-
#
|
3152
|
-
#
|
3197
|
+
# (`amazon`). This is not the user-configured account alias set using
|
3198
|
+
# the IAM console. We recommend that you use the related parameter
|
3199
|
+
# instead of this filter.
|
3153
3200
|
#
|
3154
|
-
# * `owner-id` - The
|
3155
|
-
#
|
3201
|
+
# * `owner-id` - The account ID of the owner. We recommend that you use
|
3202
|
+
# the related parameter instead of this filter.
|
3156
3203
|
#
|
3157
3204
|
# * `progress` - The progress of the snapshot, as a percentage (for
|
3158
3205
|
# example, 80%).
|
@@ -3179,9 +3226,9 @@ module Aws::EC2
|
|
3179
3226
|
# * `volume-size` - The size of the volume, in GiB.
|
3180
3227
|
# @option options [Array<String>] :owner_ids
|
3181
3228
|
# Scopes the results to snapshots with the specified owners. You can
|
3182
|
-
# specify a combination of
|
3229
|
+
# specify a combination of account IDs, `self`, and `amazon`.
|
3183
3230
|
# @option options [Array<String>] :restorable_by_user_ids
|
3184
|
-
# The IDs of the
|
3231
|
+
# The IDs of the accounts that can create volumes from the snapshot.
|
3185
3232
|
# @option options [Array<String>] :snapshot_ids
|
3186
3233
|
# The snapshot IDs.
|
3187
3234
|
#
|
@@ -3265,7 +3312,7 @@ module Aws::EC2
|
|
3265
3312
|
#
|
3266
3313
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
3267
3314
|
#
|
3268
|
-
# * `owner-id` - The ID of the
|
3315
|
+
# * `owner-id` - The ID of the account that owns the subnet.
|
3269
3316
|
#
|
3270
3317
|
# * `state` - The state of the subnet (`pending` \| `available`).
|
3271
3318
|
#
|
@@ -3533,8 +3580,8 @@ module Aws::EC2
|
|
3533
3580
|
# * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the accepter
|
3534
3581
|
# VPC.
|
3535
3582
|
#
|
3536
|
-
# * `accepter-vpc-info.owner-id` - The
|
3537
|
-
#
|
3583
|
+
# * `accepter-vpc-info.owner-id` - The ID of the account that owns the
|
3584
|
+
# accepter VPC.
|
3538
3585
|
#
|
3539
3586
|
# * `accepter-vpc-info.vpc-id` - The ID of the accepter VPC.
|
3540
3587
|
#
|
@@ -3544,8 +3591,8 @@ module Aws::EC2
|
|
3544
3591
|
# * `requester-vpc-info.cidr-block` - The IPv4 CIDR block of the
|
3545
3592
|
# requester's VPC.
|
3546
3593
|
#
|
3547
|
-
# * `requester-vpc-info.owner-id` - The
|
3548
|
-
#
|
3594
|
+
# * `requester-vpc-info.owner-id` - The ID of the account that owns the
|
3595
|
+
# requester VPC.
|
3549
3596
|
#
|
3550
3597
|
# * `requester-vpc-info.vpc-id` - The ID of the requester VPC.
|
3551
3598
|
#
|
@@ -3639,9 +3686,9 @@ module Aws::EC2
|
|
3639
3686
|
# * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
|
3640
3687
|
# block associated with the VPC.
|
3641
3688
|
#
|
3642
|
-
# * `
|
3689
|
+
# * `is-default` - Indicates whether the VPC is the default VPC.
|
3643
3690
|
#
|
3644
|
-
# * `owner-id` - The ID of the
|
3691
|
+
# * `owner-id` - The ID of the account that owns the VPC.
|
3645
3692
|
#
|
3646
3693
|
# * `state` - The state of the VPC (`pending` \| `available`).
|
3647
3694
|
#
|
data/lib/aws-sdk-ec2/route.rb
CHANGED
@@ -48,7 +48,7 @@ module Aws::EC2
|
|
48
48
|
data[:destination_ipv_6_cidr_block]
|
49
49
|
end
|
50
50
|
|
51
|
-
# The prefix of the
|
51
|
+
# The prefix of the Amazon Web Service.
|
52
52
|
# @return [String]
|
53
53
|
def destination_prefix_list_id
|
54
54
|
data[:destination_prefix_list_id]
|
@@ -72,7 +72,7 @@ module Aws::EC2
|
|
72
72
|
data[:instance_id]
|
73
73
|
end
|
74
74
|
|
75
|
-
# The
|
75
|
+
# The ID of account that owns the instance.
|
76
76
|
# @return [String]
|
77
77
|
def instance_owner_id
|
78
78
|
data[:instance_owner_id]
|
data/lib/aws-sdk-ec2/snapshot.rb
CHANGED
@@ -59,15 +59,15 @@ module Aws::EC2
|
|
59
59
|
data[:encrypted]
|
60
60
|
end
|
61
61
|
|
62
|
-
# The Amazon Resource Name (ARN) of the
|
63
|
-
#
|
64
|
-
#
|
62
|
+
# The Amazon Resource Name (ARN) of the Key Management Service (KMS) KMS
|
63
|
+
# key that was used to protect the volume encryption key for the parent
|
64
|
+
# volume.
|
65
65
|
# @return [String]
|
66
66
|
def kms_key_id
|
67
67
|
data[:kms_key_id]
|
68
68
|
end
|
69
69
|
|
70
|
-
# The
|
70
|
+
# The ID of the account that owns the EBS snapshot.
|
71
71
|
# @return [String]
|
72
72
|
def owner_id
|
73
73
|
data[:owner_id]
|
@@ -92,8 +92,8 @@ module Aws::EC2
|
|
92
92
|
end
|
93
93
|
|
94
94
|
# Encrypted Amazon EBS snapshots are copied asynchronously. If a
|
95
|
-
# snapshot copy operation fails (for example, if the proper
|
96
|
-
# Management Service (
|
95
|
+
# snapshot copy operation fails (for example, if the proper Key
|
96
|
+
# Management Service (KMS) permissions are not obtained) this field
|
97
97
|
# displays error state details to help you diagnose why the error
|
98
98
|
# occurred. This parameter is only returned by DescribeSnapshots.
|
99
99
|
# @return [String]
|
@@ -115,17 +115,17 @@ module Aws::EC2
|
|
115
115
|
data[:volume_size]
|
116
116
|
end
|
117
117
|
|
118
|
-
# The
|
119
|
-
# is not the user-configured
|
120
|
-
# console.
|
118
|
+
# The Amazon Web Services owner alias, from an Amazon-maintained list
|
119
|
+
# (`amazon`). This is not the user-configured account alias set using
|
120
|
+
# the IAM console.
|
121
121
|
# @return [String]
|
122
122
|
def owner_alias
|
123
123
|
data[:owner_alias]
|
124
124
|
end
|
125
125
|
|
126
|
-
# The ARN of the
|
127
|
-
# information, see [EBS
|
128
|
-
# Elastic Compute Cloud User Guide*.
|
126
|
+
# The ARN of the Outpost on which the snapshot is stored. For more
|
127
|
+
# information, see [Amazon EBS local snapshots on Outposts][1] in the
|
128
|
+
# *Amazon Elastic Compute Cloud User Guide*.
|
129
129
|
#
|
130
130
|
#
|
131
131
|
#
|
@@ -322,12 +322,14 @@ module Aws::EC2
|
|
322
322
|
# @option options [String] :destination_outpost_arn
|
323
323
|
# The Amazon Resource Name (ARN) of the Outpost to which to copy the
|
324
324
|
# snapshot. Only specify this parameter when copying a snapshot from an
|
325
|
-
#
|
326
|
-
# destination Outpost. You cannot copy a snapshot from an
|
327
|
-
# Region, from one Outpost to another, or within the same
|
325
|
+
# Amazon Web Services Region to an Outpost. The snapshot must be in the
|
326
|
+
# Region for the destination Outpost. You cannot copy a snapshot from an
|
327
|
+
# Outpost to a Region, from one Outpost to another, or within the same
|
328
|
+
# Outpost.
|
328
329
|
#
|
329
|
-
# For more information, see [
|
330
|
-
# Outpost][1] in the *Amazon Elastic Compute Cloud User
|
330
|
+
# For more information, see [ Copy snapshots from an Amazon Web Services
|
331
|
+
# Region to an Outpost][1] in the *Amazon Elastic Compute Cloud User
|
332
|
+
# Guide*.
|
331
333
|
#
|
332
334
|
#
|
333
335
|
#
|
@@ -340,8 +342,8 @@ module Aws::EC2
|
|
340
342
|
#
|
341
343
|
# The snapshot copy is sent to the regional endpoint that you sent the
|
342
344
|
# HTTP request to (for example, `ec2.us-east-1.amazonaws.com`). With the
|
343
|
-
#
|
344
|
-
#
|
345
|
+
# CLI, this is specified using the `--region` parameter or the default
|
346
|
+
# Region in your Amazon Web Services configuration file.
|
345
347
|
# @option options [Boolean] :encrypted
|
346
348
|
# To encrypt a copy of an unencrypted snapshot if encryption by default
|
347
349
|
# is not enabled, enable encryption using this parameter. Otherwise,
|
@@ -354,12 +356,12 @@ module Aws::EC2
|
|
354
356
|
#
|
355
357
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
|
356
358
|
# @option options [String] :kms_key_id
|
357
|
-
# The identifier of the
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
359
|
+
# The identifier of the Key Management Service (KMS) KMS key to use for
|
360
|
+
# Amazon EBS encryption. If this parameter is not specified, your KMS
|
361
|
+
# key for Amazon EBS is used. If `KmsKeyId` is specified, the encrypted
|
362
|
+
# state must be `true`.
|
361
363
|
#
|
362
|
-
# You can specify the
|
364
|
+
# You can specify the KMS key using any of the following:
|
363
365
|
#
|
364
366
|
# * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
|
365
367
|
#
|
@@ -371,9 +373,9 @@ module Aws::EC2
|
|
371
373
|
# * Alias ARN. For example,
|
372
374
|
# arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
|
373
375
|
#
|
374
|
-
#
|
375
|
-
# ID, alias, or ARN that is not valid, the
|
376
|
-
# complete, but eventually fails.
|
376
|
+
# Amazon Web Services authenticates the KMS key asynchronously.
|
377
|
+
# Therefore, if you specify an ID, alias, or ARN that is not valid, the
|
378
|
+
# action can appear to complete, but eventually fails.
|
377
379
|
# @option options [String] :presigned_url
|
378
380
|
# When you copy an encrypted source snapshot using the Amazon EC2 Query
|
379
381
|
# API, you must supply a pre-signed URL. This parameter is optional for
|
@@ -382,13 +384,14 @@ module Aws::EC2
|
|
382
384
|
# The `PresignedUrl` should use the snapshot source endpoint, the
|
383
385
|
# `CopySnapshot` action, and include the `SourceRegion`,
|
384
386
|
# `SourceSnapshotId`, and `DestinationRegion` parameters. The
|
385
|
-
# `PresignedUrl` must be signed using
|
386
|
-
# EBS snapshots are stored in Amazon S3, the signing
|
387
|
-
# parameter uses the same logic that is described in
|
388
|
-
# Requests: Using Query Parameters (
|
389
|
-
# *Amazon Simple Storage Service API
|
390
|
-
# improperly signed `PresignedUrl` will cause
|
391
|
-
# asynchronously, and the snapshot will move
|
387
|
+
# `PresignedUrl` must be signed using Amazon Web Services Signature
|
388
|
+
# Version 4. Because EBS snapshots are stored in Amazon S3, the signing
|
389
|
+
# algorithm for this parameter uses the same logic that is described in
|
390
|
+
# [Authenticating Requests: Using Query Parameters (Amazon Web Services
|
391
|
+
# Signature Version 4)][2] in the *Amazon Simple Storage Service API
|
392
|
+
# Reference*. An invalid or improperly signed `PresignedUrl` will cause
|
393
|
+
# the copy operation to fail asynchronously, and the snapshot will move
|
394
|
+
# to an `error` state.
|
392
395
|
#
|
393
396
|
#
|
394
397
|
#
|