aws-sdk-ec2 1.28.0 → 1.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e4c3c16aad34bfa414c36263c192433e4486e32
4
- data.tar.gz: 8f117969d81d82fdaa8deb62ce09947c706790c8
3
+ metadata.gz: 9bbe4db47fa39868c91f7311ca930ec064ebad8f
4
+ data.tar.gz: d48b14c6d4a657863475b5525c2ce042e38a0e9e
5
5
  SHA512:
6
- metadata.gz: 2e71f663f4f2225eebdd7e5d006d633a8223ba6ab02f22856d9bc97b0b53283e57552726390d7b085c288731ef8e77914c225982fc52432935d3242a542ef52e
7
- data.tar.gz: c21dbde61ac0094ae2ef1c80b0bae8a85e7df780cb270a4141aac831f24f318389590ef87d73d450f5c687f2ff5e6898a941bce60393738d41e5d161c8d8f4ee
6
+ metadata.gz: b92d73f2aa6daafeecdbb7db9561d55fa8b3684b6b9c6c56cdcb093a5859bf98bfa5b276df389fe3376600b38570fa2203be350406334e4a947c57cd3de2e1e8
7
+ data.tar.gz: 2b7c319b272d083cfcc0c58f656d7e91fb12bdd65068d4b0f2a68e59385dff1ceea3670b872b751dcd77e95fc9231bcd8b535e8488c5299324d0025e7c8bb04a
@@ -65,6 +65,6 @@ require_relative 'aws-sdk-ec2/customizations'
65
65
  # @service
66
66
  module Aws::EC2
67
67
 
68
- GEM_VERSION = '1.28.0'
68
+ GEM_VERSION = '1.29.0'
69
69
 
70
70
  end
@@ -2236,7 +2236,7 @@ module Aws::EC2
2236
2236
  #
2237
2237
  # * Key ID
2238
2238
  #
2239
- # * Key alias
2239
+ # * Key alias, in the form `alias/ExampleAlias `
2240
2240
  #
2241
2241
  # * ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace,
2242
2242
  # followed by the region of the CMK, the AWS account ID of the CMK
@@ -2390,24 +2390,26 @@ module Aws::EC2
2390
2390
  # The action will eventually fail.
2391
2391
  #
2392
2392
  # @option params [String] :presigned_url
2393
- # The pre-signed URL that facilitates copying an encrypted snapshot.
2394
- # This parameter is only required when copying an encrypted snapshot
2395
- # with the Amazon EC2 Query API; it is available as an optional
2396
- # parameter in all other cases. The `PresignedUrl` should use the
2397
- # snapshot source endpoint, the `CopySnapshot` action, and include the
2398
- # `SourceRegion`, `SourceSnapshotId`, and `DestinationRegion`
2399
- # parameters. The `PresignedUrl` must be signed using AWS Signature
2400
- # Version 4. Because EBS snapshots are stored in Amazon S3, the signing
2401
- # algorithm for this parameter uses the same logic that is described in
2402
- # [Authenticating Requests by Using Query Parameters (AWS Signature
2403
- # Version 4)][1] in the *Amazon Simple Storage Service API Reference*.
2404
- # An invalid or improperly signed `PresignedUrl` will cause the copy
2405
- # operation to fail asynchronously, and the snapshot will move to an
2406
- # `error` state.
2393
+ # The pre-signed URL parameter is required when copying an encrypted
2394
+ # snapshot with the Amazon EC2 Query API; it is available as an optional
2395
+ # parameter in all other cases. For more information, see [Query
2396
+ # Requests][1].
2397
+ #
2398
+ # The `PresignedUrl` should use the snapshot source endpoint, the
2399
+ # `CopySnapshot` action, and include the `SourceRegion`,
2400
+ # `SourceSnapshotId`, and `DestinationRegion` parameters. The
2401
+ # `PresignedUrl` must be signed using AWS Signature Version 4. Because
2402
+ # EBS snapshots are stored in Amazon S3, the signing algorithm for this
2403
+ # parameter uses the same logic that is described in [Authenticating
2404
+ # Requests by Using Query Parameters (AWS Signature Version 4)][2] in
2405
+ # the *Amazon Simple Storage Service API Reference*. An invalid or
2406
+ # improperly signed `PresignedUrl` will cause the copy operation to fail
2407
+ # asynchronously, and the snapshot will move to an `error` state.
2407
2408
  #
2408
2409
  #
2409
2410
  #
2410
- # [1]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
2411
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html
2412
+ # [2]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
2411
2413
  #
2412
2414
  # @option params [required, String] :source_region
2413
2415
  # The ID of the region that contains the snapshot to be copied.
@@ -2926,6 +2928,13 @@ module Aws::EC2
2926
2928
  # In your request, you must also specify an IAM role that has permission
2927
2929
  # to publish logs to CloudWatch Logs.
2928
2930
  #
2931
+ # For more information, see [VPC Flow Logs][1] in the *Amazon Virtual
2932
+ # Private Cloud User Guide*.
2933
+ #
2934
+ #
2935
+ #
2936
+ # [1]: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/flow-logs.html
2937
+ #
2929
2938
  # @option params [String] :client_token
2930
2939
  # Unique, case-sensitive identifier you provide to ensure the
2931
2940
  # idempotency of the request. For more information, see [How to Ensure
@@ -7069,12 +7078,15 @@ module Aws::EC2
7069
7078
  # The IDs of one or more resources.
7070
7079
  #
7071
7080
  # @option params [Array<Types::Tag>] :tags
7072
- # One or more tags to delete. If you omit this parameter, we delete all
7073
- # tags for the specified resources. Specify a tag key and an optional
7074
- # tag value to delete specific tags. If you specify a tag key without a
7075
- # tag value, we delete any tag with this key regardless of its value. If
7076
- # you specify a tag key with an empty string as the tag value, we delete
7077
- # the tag only if its value is an empty string.
7081
+ # One or more tags to delete. Specify a tag key and an optional tag
7082
+ # value to delete specific tags. If you specify a tag key without a tag
7083
+ # value, we delete any tag with this key regardless of its value. If you
7084
+ # specify a tag key with an empty string as the tag value, we delete the
7085
+ # tag only if its value is an empty string.
7086
+ #
7087
+ # If you omit this parameter, we delete all user-defined tags for the
7088
+ # specified resources. We do not delete AWS-generated tags (tags that
7089
+ # have the `aws:` prefix).
7078
7090
  #
7079
7091
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7080
7092
  #
@@ -7339,7 +7351,8 @@ module Aws::EC2
7339
7351
  # VPC or the owner of the accepter VPC can delete the VPC peering
7340
7352
  # connection if it's in the `active` state. The owner of the requester
7341
7353
  # VPC can delete a VPC peering connection in the `pending-acceptance`
7342
- # state.
7354
+ # state. You cannot delete a VPC peering connection that's in the
7355
+ # `failed` state.
7343
7356
  #
7344
7357
  # @option params [Boolean] :dry_run
7345
7358
  # Checks whether you have the required permissions for the action,
@@ -7863,14 +7876,16 @@ module Aws::EC2
7863
7876
  # support longer IDs.
7864
7877
  #
7865
7878
  # The following resource types support longer IDs: `bundle` \|
7866
- # `conversion-task` \| `dhcp-options` \| `elastic-ip-allocation` \|
7867
- # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image` \|
7868
- # `import-task` \| `instance` \| `internet-gateway` \| `network-acl` \|
7869
- # `network-acl-association` \| `network-interface` \|
7870
- # `network-interface-attachment` \| `prefix-list` \| `reservation` \|
7871
- # `route-table` \| `route-table-association` \| `security-group` \|
7872
- # `snapshot` \| `subnet` \| `subnet-cidr-block-association` \| `volume`
7873
- # \| `vpc` \| `vpc-cidr-block-association` \| `vpc-peering-connection`.
7879
+ # `conversion-task` \| `customer-gateway` \| `dhcp-options` \|
7880
+ # `elastic-ip-allocation` \| `elastic-ip-association` \| `export-task`
7881
+ # \| `flow-log` \| `image` \| `import-task` \| `instance` \|
7882
+ # `internet-gateway` \| `network-acl` \| `network-acl-association` \|
7883
+ # `network-interface` \| `network-interface-attachment` \| `prefix-list`
7884
+ # \| `reservation` \| `route-table` \| `route-table-association` \|
7885
+ # `security-group` \| `snapshot` \| `subnet` \|
7886
+ # `subnet-cidr-block-association` \| `volume` \| `vpc` \|
7887
+ # `vpc-cidr-block-association` \| `vpc-endpoint` \|
7888
+ # `vpc-peering-connection` \| `vpn-connection` \| `vpn-gateway`.
7874
7889
  #
7875
7890
  # @option params [Boolean] :dry_run
7876
7891
  # Checks whether you have the required permissions for the action,
@@ -9258,14 +9273,16 @@ module Aws::EC2
9258
9273
  # other resource types.
9259
9274
  #
9260
9275
  # The following resource types support longer IDs: `bundle` \|
9261
- # `conversion-task` \| `dhcp-options` \| `elastic-ip-allocation` \|
9262
- # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image` \|
9263
- # `import-task` \| `instance` \| `internet-gateway` \| `network-acl` \|
9264
- # `network-acl-association` \| `network-interface` \|
9265
- # `network-interface-attachment` \| `prefix-list` \| `reservation` \|
9266
- # `route-table` \| `route-table-association` \| `security-group` \|
9267
- # `snapshot` \| `subnet` \| `subnet-cidr-block-association` \| `volume`
9268
- # \| `vpc` \| `vpc-cidr-block-association` \| `vpc-peering-connection`.
9276
+ # `conversion-task` \| `customer-gateway` \| `dhcp-options` \|
9277
+ # `elastic-ip-allocation` \| `elastic-ip-association` \| `export-task`
9278
+ # \| `flow-log` \| `image` \| `import-task` \| `instance` \|
9279
+ # `internet-gateway` \| `network-acl` \| `network-acl-association` \|
9280
+ # `network-interface` \| `network-interface-attachment` \| `prefix-list`
9281
+ # \| `reservation` \| `route-table` \| `route-table-association` \|
9282
+ # `security-group` \| `snapshot` \| `subnet` \|
9283
+ # `subnet-cidr-block-association` \| `volume` \| `vpc` \|
9284
+ # `vpc-cidr-block-association` \| `vpc-endpoint` \|
9285
+ # `vpc-peering-connection` \| `vpn-connection` \| `vpn-gateway`.
9269
9286
  #
9270
9287
  # These settings apply to the IAM user who makes the request; they do
9271
9288
  # not apply to the entire AWS account. By default, an IAM user defaults
@@ -9276,15 +9293,16 @@ module Aws::EC2
9276
9293
  # `Describe` command for the resource type.
9277
9294
  #
9278
9295
  # @option params [String] :resource
9279
- # The type of resource: `bundle` \| `conversion-task` \| `dhcp-options`
9280
- # \| `elastic-ip-allocation` \| `elastic-ip-association` \|
9281
- # `export-task` \| `flow-log` \| `image` \| `import-task` \| `instance`
9282
- # \| `internet-gateway` \| `network-acl` \| `network-acl-association` \|
9283
- # `network-interface` \| `network-interface-attachment` \| `prefix-list`
9284
- # \| `reservation` \| `route-table` \| `route-table-association` \|
9285
- # `security-group` \| `snapshot` \| `subnet` \|
9286
- # `subnet-cidr-block-association` \| `volume` \| `vpc` \|
9287
- # `vpc-cidr-block-association` \| `vpc-peering-connection`
9296
+ # The type of resource: `bundle` \| `conversion-task` \|
9297
+ # `customer-gateway` \| `dhcp-options` \| `elastic-ip-allocation` \|
9298
+ # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image` \|
9299
+ # `import-task` \| `instance` \| `internet-gateway` \| `network-acl` \|
9300
+ # `network-acl-association` \| `network-interface` \|
9301
+ # `network-interface-attachment` \| `prefix-list` \| `reservation` \|
9302
+ # `route-table` \| `route-table-association` \| `security-group` \|
9303
+ # `snapshot` \| `subnet` \| `subnet-cidr-block-association` \| `volume`
9304
+ # \| `vpc` \| `vpc-cidr-block-association` \| `vpc-endpoint` \|
9305
+ # `vpc-peering-connection` \| `vpn-connection` \| `vpn-gateway`
9288
9306
  #
9289
9307
  # @return [Types::DescribeIdFormatResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9290
9308
  #
@@ -9321,14 +9339,16 @@ module Aws::EC2
9321
9339
  # Cloud User Guide*.
9322
9340
  #
9323
9341
  # The following resource types support longer IDs: `bundle` \|
9324
- # `conversion-task` \| `dhcp-options` \| `elastic-ip-allocation` \|
9325
- # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image` \|
9326
- # `import-task` \| `instance` \| `internet-gateway` \| `network-acl` \|
9327
- # `network-acl-association` \| `network-interface` \|
9328
- # `network-interface-attachment` \| `prefix-list` \| `reservation` \|
9329
- # `route-table` \| `route-table-association` \| `security-group` \|
9330
- # `snapshot` \| `subnet` \| `subnet-cidr-block-association` \| `volume`
9331
- # \| `vpc` \| `vpc-cidr-block-association` \| `vpc-peering-connection`.
9342
+ # `conversion-task` \| `customer-gateway` \| `dhcp-options` \|
9343
+ # `elastic-ip-allocation` \| `elastic-ip-association` \| `export-task`
9344
+ # \| `flow-log` \| `image` \| `import-task` \| `instance` \|
9345
+ # `internet-gateway` \| `network-acl` \| `network-acl-association` \|
9346
+ # `network-interface` \| `network-interface-attachment` \| `prefix-list`
9347
+ # \| `reservation` \| `route-table` \| `route-table-association` \|
9348
+ # `security-group` \| `snapshot` \| `subnet` \|
9349
+ # `subnet-cidr-block-association` \| `volume` \| `vpc` \|
9350
+ # `vpc-cidr-block-association` \| `vpc-endpoint` \|
9351
+ # `vpc-peering-connection` \| `vpn-connection` \| `vpn-gateway`.
9332
9352
  #
9333
9353
  # These settings apply to the principal specified in the request. They
9334
9354
  # do not apply to the principal that makes the request.
@@ -9342,15 +9362,16 @@ module Aws::EC2
9342
9362
  # root user.
9343
9363
  #
9344
9364
  # @option params [String] :resource
9345
- # The type of resource: `bundle` \| `conversion-task` \| `dhcp-options`
9346
- # \| `elastic-ip-allocation` \| `elastic-ip-association` \|
9347
- # `export-task` \| `flow-log` \| `image` \| `import-task` \| `instance`
9348
- # \| `internet-gateway` \| `network-acl` \| `network-acl-association` \|
9349
- # `network-interface` \| `network-interface-attachment` \| `prefix-list`
9350
- # \| `reservation` \| `route-table` \| `route-table-association` \|
9351
- # `security-group` \| `snapshot` \| `subnet` \|
9352
- # `subnet-cidr-block-association` \| `volume` \| `vpc` \|
9353
- # `vpc-cidr-block-association` \| `vpc-peering-connection`
9365
+ # The type of resource: `bundle` \| `conversion-task` \|
9366
+ # `customer-gateway` \| `dhcp-options` \| `elastic-ip-allocation` \|
9367
+ # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image` \|
9368
+ # `import-task` \| `instance` \| `internet-gateway` \| `network-acl` \|
9369
+ # `network-acl-association` \| `network-interface` \|
9370
+ # `network-interface-attachment` \| `prefix-list` \| `reservation` \|
9371
+ # `route-table` \| `route-table-association` \| `security-group` \|
9372
+ # `snapshot` \| `subnet` \| `subnet-cidr-block-association` \| `volume`
9373
+ # \| `vpc` \| `vpc-cidr-block-association` \| `vpc-endpoint` \|
9374
+ # `vpc-peering-connection` \| `vpn-connection` \| `vpn-gateway`
9354
9375
  #
9355
9376
  # @return [Types::DescribeIdentityIdFormatResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9356
9377
  #
@@ -12107,14 +12128,16 @@ module Aws::EC2
12107
12128
  # IAM roles that have overridden the default ID settings.
12108
12129
  #
12109
12130
  # The following resource types support longer IDs: `bundle` \|
12110
- # `conversion-task` \| `dhcp-options` \| `elastic-ip-allocation` \|
12111
- # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image` \|
12112
- # `import-task` \| `instance` \| `internet-gateway` \| `network-acl` \|
12113
- # `network-acl-association` \| `network-interface` \|
12114
- # `network-interface-attachment` \| `prefix-list` \| `reservation` \|
12115
- # `route-table` \| `route-table-association` \| `security-group` \|
12116
- # `snapshot` \| `subnet` \| `subnet-cidr-block-association` \| `volume`
12117
- # \| `vpc` \| `vpc-cidr-block-association` \| `vpc-peering-connection`.
12131
+ # `conversion-task` \| `customer-gateway` \| `dhcp-options` \|
12132
+ # `elastic-ip-allocation` \| `elastic-ip-association` \| `export-task`
12133
+ # \| `flow-log` \| `image` \| `import-task` \| `instance` \|
12134
+ # `internet-gateway` \| `network-acl` \| `network-acl-association` \|
12135
+ # `network-interface` \| `network-interface-attachment` \| `prefix-list`
12136
+ # \| `reservation` \| `route-table` \| `route-table-association` \|
12137
+ # `security-group` \| `snapshot` \| `subnet` \|
12138
+ # `subnet-cidr-block-association` \| `volume` \| `vpc` \|
12139
+ # `vpc-cidr-block-association` \| `vpc-endpoint` \|
12140
+ # `vpc-peering-connection` \| `vpn-connection` \| `vpn-gateway`.
12118
12141
  #
12119
12142
  # @option params [Boolean] :dry_run
12120
12143
  # Checks whether you have the required permissions for the action,
@@ -12123,15 +12146,16 @@ module Aws::EC2
12123
12146
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
12124
12147
  #
12125
12148
  # @option params [Array<String>] :resources
12126
- # The type of resource: `bundle` \| `conversion-task` \| `dhcp-options`
12127
- # \| `elastic-ip-allocation` \| `elastic-ip-association` \|
12128
- # `export-task` \| `flow-log` \| `image` \| `import-task` \| `instance`
12129
- # \| `internet-gateway` \| `network-acl` \| `network-acl-association` \|
12130
- # `network-interface` \| `network-interface-attachment` \| `prefix-list`
12131
- # \| `reservation` \| `route-table` \| `route-table-association` \|
12132
- # `security-group` \| `snapshot` \| `subnet` \|
12133
- # `subnet-cidr-block-association` \| `volume` \| `vpc` \|
12134
- # `vpc-cidr-block-association` \| `vpc-peering-connection`
12149
+ # The type of resource: `bundle` \| `conversion-task` \|
12150
+ # `customer-gateway` \| `dhcp-options` \| `elastic-ip-allocation` \|
12151
+ # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image` \|
12152
+ # `import-task` \| `instance` \| `internet-gateway` \| `network-acl` \|
12153
+ # `network-acl-association` \| `network-interface` \|
12154
+ # `network-interface-attachment` \| `prefix-list` \| `reservation` \|
12155
+ # `route-table` \| `route-table-association` \| `security-group` \|
12156
+ # `snapshot` \| `subnet` \| `subnet-cidr-block-association` \| `volume`
12157
+ # \| `vpc` \| `vpc-cidr-block-association` \| `vpc-endpoint` \|
12158
+ # `vpc-peering-connection` \| `vpn-connection` \| `vpn-gateway`
12135
12159
  #
12136
12160
  # @option params [Integer] :max_results
12137
12161
  # The maximum number of results to return in a single call. To retrieve
@@ -18705,13 +18729,15 @@ module Aws::EC2
18705
18729
  # This request can only be used to modify longer ID settings for
18706
18730
  # resource types that are within the opt-in period. Resources currently
18707
18731
  # in their opt-in period include: `bundle` \| `conversion-task` \|
18708
- # `dhcp-options` \| `elastic-ip-allocation` \| `elastic-ip-association`
18709
- # \| `export-task` \| `flow-log` \| `image` \| `import-task` \|
18710
- # `internet-gateway` \| `network-acl` \| `network-acl-association` \|
18711
- # `network-interface` \| `network-interface-attachment` \| `prefix-list`
18712
- # \| `route-table` \| `route-table-association` \| `security-group` \|
18713
- # `subnet` \| `subnet-cidr-block-association` \| `vpc` \|
18714
- # `vpc-cidr-block-association` \| `vpc-peering-connection`.
18732
+ # `customer-gateway` \| `dhcp-options` \| `elastic-ip-allocation` \|
18733
+ # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image` \|
18734
+ # `import-task` \| `internet-gateway` \| `network-acl` \|
18735
+ # `network-acl-association` \| `network-interface` \|
18736
+ # `network-interface-attachment` \| `prefix-list` \| `route-table` \|
18737
+ # `route-table-association` \| `security-group` \| `subnet` \|
18738
+ # `subnet-cidr-block-association` \| `vpc` \|
18739
+ # `vpc-cidr-block-association` \| `vpc-endpoint` \|
18740
+ # `vpc-peering-connection` \| `vpn-connection` \| `vpn-gateway`.
18715
18741
  #
18716
18742
  # This setting applies to the IAM user who makes the request; it does
18717
18743
  # not apply to the entire AWS account. By default, an IAM user defaults
@@ -18731,14 +18757,16 @@ module Aws::EC2
18731
18757
  # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/resource-ids.html
18732
18758
  #
18733
18759
  # @option params [required, String] :resource
18734
- # The type of resource: `bundle` \| `conversion-task` \| `dhcp-options`
18735
- # \| `elastic-ip-allocation` \| `elastic-ip-association` \|
18736
- # `export-task` \| `flow-log` \| `image` \| `import-task` \|
18737
- # `internet-gateway` \| `network-acl` \| `network-acl-association` \|
18738
- # `network-interface` \| `network-interface-attachment` \| `prefix-list`
18739
- # \| `route-table` \| `route-table-association` \| `security-group` \|
18740
- # `subnet` \| `subnet-cidr-block-association` \| `vpc` \|
18741
- # `vpc-cidr-block-association` \| `vpc-peering-connection`.
18760
+ # The type of resource: `bundle` \| `conversion-task` \|
18761
+ # `customer-gateway` \| `dhcp-options` \| `elastic-ip-allocation` \|
18762
+ # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image` \|
18763
+ # `import-task` \| `internet-gateway` \| `network-acl` \|
18764
+ # `network-acl-association` \| `network-interface` \|
18765
+ # `network-interface-attachment` \| `prefix-list` \| `route-table` \|
18766
+ # `route-table-association` \| `security-group` \| `subnet` \|
18767
+ # `subnet-cidr-block-association` \| `vpc` \|
18768
+ # `vpc-cidr-block-association` \| `vpc-endpoint` \|
18769
+ # `vpc-peering-connection` \| `vpn-connection` \| `vpn-gateway`.
18742
18770
  #
18743
18771
  # Alternatively, use the `all-current` option to include all resource
18744
18772
  # types that are currently within their opt-in period for longer IDs.
@@ -18773,13 +18801,15 @@ module Aws::EC2
18773
18801
  # This request can only be used to modify longer ID settings for
18774
18802
  # resource types that are within the opt-in period. Resources currently
18775
18803
  # in their opt-in period include: `bundle` \| `conversion-task` \|
18776
- # `dhcp-options` \| `elastic-ip-allocation` \| `elastic-ip-association`
18777
- # \| `export-task` \| `flow-log` \| `image` \| `import-task` \|
18778
- # `internet-gateway` \| `network-acl` \| `network-acl-association` \|
18779
- # `network-interface` \| `network-interface-attachment` \| `prefix-list`
18780
- # \| `route-table` \| `route-table-association` \| `security-group` \|
18781
- # `subnet` \| `subnet-cidr-block-association` \| `vpc` \|
18782
- # `vpc-cidr-block-association` \| `vpc-peering-connection`..
18804
+ # `customer-gateway` \| `dhcp-options` \| `elastic-ip-allocation` \|
18805
+ # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image` \|
18806
+ # `import-task` \| `internet-gateway` \| `network-acl` \|
18807
+ # `network-acl-association` \| `network-interface` \|
18808
+ # `network-interface-attachment` \| `prefix-list` \| `route-table` \|
18809
+ # `route-table-association` \| `security-group` \| `subnet` \|
18810
+ # `subnet-cidr-block-association` \| `vpc` \|
18811
+ # `vpc-cidr-block-association` \| `vpc-endpoint` \|
18812
+ # `vpc-peering-connection` \| `vpn-connection` \| `vpn-gateway`.
18783
18813
  #
18784
18814
  # For more information, see [Resource IDs][1] in the *Amazon Elastic
18785
18815
  # Compute Cloud User Guide*.
@@ -18802,14 +18832,16 @@ module Aws::EC2
18802
18832
  # IAM roles, and the root user of the account.
18803
18833
  #
18804
18834
  # @option params [required, String] :resource
18805
- # The type of resource: `bundle` \| `conversion-task` \| `dhcp-options`
18806
- # \| `elastic-ip-allocation` \| `elastic-ip-association` \|
18807
- # `export-task` \| `flow-log` \| `image` \| `import-task` \|
18808
- # `internet-gateway` \| `network-acl` \| `network-acl-association` \|
18809
- # `network-interface` \| `network-interface-attachment` \| `prefix-list`
18810
- # \| `route-table` \| `route-table-association` \| `security-group` \|
18811
- # `subnet` \| `subnet-cidr-block-association` \| `vpc` \|
18812
- # `vpc-cidr-block-association` \| `vpc-peering-connection`.
18835
+ # The type of resource: `bundle` \| `conversion-task` \|
18836
+ # `customer-gateway` \| `dhcp-options` \| `elastic-ip-allocation` \|
18837
+ # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image` \|
18838
+ # `import-task` \| `internet-gateway` \| `network-acl` \|
18839
+ # `network-acl-association` \| `network-interface` \|
18840
+ # `network-interface-attachment` \| `prefix-list` \| `route-table` \|
18841
+ # `route-table-association` \| `security-group` \| `subnet` \|
18842
+ # `subnet-cidr-block-association` \| `vpc` \|
18843
+ # `vpc-cidr-block-association` \| `vpc-endpoint` \|
18844
+ # `vpc-peering-connection` \| `vpn-connection` \| `vpn-gateway`.
18813
18845
  #
18814
18846
  # Alternatively, use the `all-current` option to include all resource
18815
18847
  # types that are currently within their opt-in period for longer IDs.
@@ -19165,39 +19197,55 @@ module Aws::EC2
19165
19197
  req.send_request(options)
19166
19198
  end
19167
19199
 
19168
- # Set the instance affinity value for a specific stopped instance and
19169
- # modify the instance tenancy setting.
19200
+ # Modifies the placement attributes for a specified instance. You can do
19201
+ # the following:
19202
+ #
19203
+ # * Modify the affinity between an instance and a [Dedicated Host][1].
19204
+ # When affinity is set to `host` and the instance is not associated
19205
+ # with a specific Dedicated Host, the next time the instance is
19206
+ # launched, it is automatically associated with the host on which it
19207
+ # lands. If the instance is restarted or rebooted, this relationship
19208
+ # persists.
19170
19209
  #
19171
- # Instance affinity is disabled by default. When instance affinity is
19172
- # `host` and it is not associated with a specific Dedicated Host, the
19173
- # next time it is launched it will automatically be associated with the
19174
- # host it lands on. This relationship will persist if the instance is
19175
- # stopped/started, or rebooted.
19210
+ # * Change the Dedicated Host with which an instance is associated.
19176
19211
  #
19177
- # You can modify the host ID associated with a stopped instance. If a
19178
- # stopped instance has a new host ID association, the instance will
19179
- # target that host when restarted.
19212
+ # * Change the instance tenancy of an instance from `host` to
19213
+ # `dedicated`, or from `dedicated` to `host`.
19180
19214
  #
19181
- # You can modify the tenancy of a stopped instance with a tenancy of
19182
- # `host` or `dedicated`.
19215
+ # * Move an instance to or from a [placement group][2].
19183
19216
  #
19184
- # Affinity, hostID, and tenancy are not required parameters, but at
19185
- # least one of them must be specified in the request. Affinity and
19186
- # tenancy can be modified in the same request, but tenancy can only be
19187
- # modified on instances that are stopped.
19217
+ # At least one attribute for affinity, host ID, tenancy, or placement
19218
+ # group name must be specified in the request. Affinity and tenancy can
19219
+ # be modified in the same request.
19220
+ #
19221
+ # To modify the host ID, tenancy, or placement group for an instance,
19222
+ # the instance must be in the `stopped` state.
19223
+ #
19224
+ #
19225
+ #
19226
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-overview.html
19227
+ # [2]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html
19188
19228
  #
19189
19229
  # @option params [String] :affinity
19190
- # The new affinity setting for the instance.
19230
+ # The affinity setting for the instance.
19231
+ #
19232
+ # @option params [String] :group_name
19233
+ # The name of the placement group in which to place the instance. For
19234
+ # spread placement groups, the instance must have a tenancy of
19235
+ # `default`. For cluster placement groups, the instance must have a
19236
+ # tenancy of `default` or `dedicated`.
19237
+ #
19238
+ # To remove an instance from a placement group, specify an empty string
19239
+ # ("").
19191
19240
  #
19192
19241
  # @option params [String] :host_id
19193
- # The ID of the Dedicated Host that the instance will have affinity
19194
- # with.
19242
+ # The ID of the Dedicated Host with which to associate the instance.
19195
19243
  #
19196
19244
  # @option params [required, String] :instance_id
19197
19245
  # The ID of the instance that you are modifying.
19198
19246
  #
19199
19247
  # @option params [String] :tenancy
19200
- # The tenancy of the instance that you are modifying.
19248
+ # The tenancy for the instance.
19201
19249
  #
19202
19250
  # @return [Types::ModifyInstancePlacementResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
19203
19251
  #
@@ -19207,6 +19255,7 @@ module Aws::EC2
19207
19255
  #
19208
19256
  # resp = client.modify_instance_placement({
19209
19257
  # affinity: "default", # accepts default, host
19258
+ # group_name: "String",
19210
19259
  # host_id: "String",
19211
19260
  # instance_id: "String", # required
19212
19261
  # tenancy: "dedicated", # accepts dedicated, host
@@ -19792,6 +19841,7 @@ module Aws::EC2
19792
19841
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
19793
19842
  #
19794
19843
  # @option params [required, String] :volume_id
19844
+ # The ID of the volume.
19795
19845
  #
19796
19846
  # @option params [Integer] :size
19797
19847
  # Target size in GiB of the volume to be modified. Target volume size
@@ -20251,7 +20301,7 @@ module Aws::EC2
20251
20301
  # instances in your VPC and an EC2-Classic instance that's linked to
20252
20302
  # the peer VPC.
20253
20303
  #
20254
- # * Enable/disable a local VPC to resolve public DNS hostnames to
20304
+ # * Enable/disable the ability to resolve public DNS hostnames to
20255
20305
  # private IP addresses when queried from instances in the peer VPC.
20256
20306
  #
20257
20307
  # If the peered VPCs are in different accounts, each owner must initiate
@@ -24046,7 +24096,7 @@ module Aws::EC2
24046
24096
  params: params,
24047
24097
  config: config)
24048
24098
  context[:gem_name] = 'aws-sdk-ec2'
24049
- context[:gem_version] = '1.28.0'
24099
+ context[:gem_version] = '1.29.0'
24050
24100
  Seahorse::Client::Request.new(handlers, context)
24051
24101
  end
24052
24102
 
@@ -4134,6 +4134,7 @@ module Aws::EC2
4134
4134
  ModifyInstanceCreditSpecificationResult.struct_class = Types::ModifyInstanceCreditSpecificationResult
4135
4135
 
4136
4136
  ModifyInstancePlacementRequest.add_member(:affinity, Shapes::ShapeRef.new(shape: Affinity, location_name: "affinity"))
4137
+ ModifyInstancePlacementRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "GroupName"))
4137
4138
  ModifyInstancePlacementRequest.add_member(:host_id, Shapes::ShapeRef.new(shape: String, location_name: "hostId"))
4138
4139
  ModifyInstancePlacementRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "instanceId"))
4139
4140
  ModifyInstancePlacementRequest.add_member(:tenancy, Shapes::ShapeRef.new(shape: HostTenancy, location_name: "tenancy"))
@@ -342,24 +342,26 @@ module Aws::EC2
342
342
  # may appear to complete even though you provided an invalid identifier.
343
343
  # The action will eventually fail.
344
344
  # @option options [String] :presigned_url
345
- # The pre-signed URL that facilitates copying an encrypted snapshot.
346
- # This parameter is only required when copying an encrypted snapshot
347
- # with the Amazon EC2 Query API; it is available as an optional
348
- # parameter in all other cases. The `PresignedUrl` should use the
349
- # snapshot source endpoint, the `CopySnapshot` action, and include the
350
- # `SourceRegion`, `SourceSnapshotId`, and `DestinationRegion`
351
- # parameters. The `PresignedUrl` must be signed using AWS Signature
352
- # Version 4. Because EBS snapshots are stored in Amazon S3, the signing
353
- # algorithm for this parameter uses the same logic that is described in
354
- # [Authenticating Requests by Using Query Parameters (AWS Signature
355
- # Version 4)][1] in the *Amazon Simple Storage Service API Reference*.
356
- # An invalid or improperly signed `PresignedUrl` will cause the copy
357
- # operation to fail asynchronously, and the snapshot will move to an
358
- # `error` state.
359
- #
360
- #
361
- #
362
- # [1]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
345
+ # The pre-signed URL parameter is required when copying an encrypted
346
+ # snapshot with the Amazon EC2 Query API; it is available as an optional
347
+ # parameter in all other cases. For more information, see [Query
348
+ # Requests][1].
349
+ #
350
+ # The `PresignedUrl` should use the snapshot source endpoint, the
351
+ # `CopySnapshot` action, and include the `SourceRegion`,
352
+ # `SourceSnapshotId`, and `DestinationRegion` parameters. The
353
+ # `PresignedUrl` must be signed using AWS Signature Version 4. Because
354
+ # EBS snapshots are stored in Amazon S3, the signing algorithm for this
355
+ # parameter uses the same logic that is described in [Authenticating
356
+ # Requests by Using Query Parameters (AWS Signature Version 4)][2] in
357
+ # the *Amazon Simple Storage Service API Reference*. An invalid or
358
+ # improperly signed `PresignedUrl` will cause the copy operation to fail
359
+ # asynchronously, and the snapshot will move to an `error` state.
360
+ #
361
+ #
362
+ #
363
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html
364
+ # [2]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
363
365
  # @option options [required, String] :source_region
364
366
  # The ID of the region that contains the snapshot to be copied.
365
367
  # @option options [Boolean] :dry_run
@@ -211,12 +211,15 @@ module Aws::EC2
211
211
  # If you have the required permissions, the error response is
212
212
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
213
213
  # @option options [Array<Types::Tag>] :tags
214
- # One or more tags to delete. If you omit this parameter, we delete all
215
- # tags for the specified resources. Specify a tag key and an optional
216
- # tag value to delete specific tags. If you specify a tag key without a
217
- # tag value, we delete any tag with this key regardless of its value. If
218
- # you specify a tag key with an empty string as the tag value, we delete
219
- # the tag only if its value is an empty string.
214
+ # One or more tags to delete. Specify a tag key and an optional tag
215
+ # value to delete specific tags. If you specify a tag key without a tag
216
+ # value, we delete any tag with this key regardless of its value. If you
217
+ # specify a tag key with an empty string as the tag value, we delete the
218
+ # tag only if its value is an empty string.
219
+ #
220
+ # If you omit this parameter, we delete all user-defined tags for the
221
+ # specified resources. We do not delete AWS-generated tags (tags that
222
+ # have the `aws:` prefix).
220
223
  # @return [EmptyStructure]
221
224
  def delete(options = {})
222
225
  options = Aws::Util.deep_merge(options,
@@ -2399,7 +2399,7 @@ module Aws::EC2
2399
2399
  #
2400
2400
  # * Key ID
2401
2401
  #
2402
- # * Key alias
2402
+ # * Key alias, in the form `alias/ExampleAlias `
2403
2403
  #
2404
2404
  # * ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace,
2405
2405
  # followed by the region of the CMK, the AWS account ID of the CMK
@@ -2544,24 +2544,27 @@ module Aws::EC2
2544
2544
  # @return [String]
2545
2545
  #
2546
2546
  # @!attribute [rw] presigned_url
2547
- # The pre-signed URL that facilitates copying an encrypted snapshot.
2548
- # This parameter is only required when copying an encrypted snapshot
2549
- # with the Amazon EC2 Query API; it is available as an optional
2550
- # parameter in all other cases. The `PresignedUrl` should use the
2551
- # snapshot source endpoint, the `CopySnapshot` action, and include the
2552
- # `SourceRegion`, `SourceSnapshotId`, and `DestinationRegion`
2553
- # parameters. The `PresignedUrl` must be signed using AWS Signature
2554
- # Version 4. Because EBS snapshots are stored in Amazon S3, the
2555
- # signing algorithm for this parameter uses the same logic that is
2556
- # described in [Authenticating Requests by Using Query Parameters (AWS
2557
- # Signature Version 4)][1] in the *Amazon Simple Storage Service API
2558
- # Reference*. An invalid or improperly signed `PresignedUrl` will
2559
- # cause the copy operation to fail asynchronously, and the snapshot
2560
- # will move to an `error` state.
2547
+ # The pre-signed URL parameter is required when copying an encrypted
2548
+ # snapshot with the Amazon EC2 Query API; it is available as an
2549
+ # optional parameter in all other cases. For more information, see
2550
+ # [Query Requests][1].
2551
+ #
2552
+ # The `PresignedUrl` should use the snapshot source endpoint, the
2553
+ # `CopySnapshot` action, and include the `SourceRegion`,
2554
+ # `SourceSnapshotId`, and `DestinationRegion` parameters. The
2555
+ # `PresignedUrl` must be signed using AWS Signature Version 4. Because
2556
+ # EBS snapshots are stored in Amazon S3, the signing algorithm for
2557
+ # this parameter uses the same logic that is described in
2558
+ # [Authenticating Requests by Using Query Parameters (AWS Signature
2559
+ # Version 4)][2] in the *Amazon Simple Storage Service API Reference*.
2560
+ # An invalid or improperly signed `PresignedUrl` will cause the copy
2561
+ # operation to fail asynchronously, and the snapshot will move to an
2562
+ # `error` state.
2561
2563
  #
2562
2564
  #
2563
2565
  #
2564
- # [1]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
2566
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html
2567
+ # [2]: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
2565
2568
  # @return [String]
2566
2569
  #
2567
2570
  # @!attribute [rw] source_region
@@ -6095,12 +6098,15 @@ module Aws::EC2
6095
6098
  # @return [Array<String>]
6096
6099
  #
6097
6100
  # @!attribute [rw] tags
6098
- # One or more tags to delete. If you omit this parameter, we delete
6099
- # all tags for the specified resources. Specify a tag key and an
6100
- # optional tag value to delete specific tags. If you specify a tag key
6101
- # without a tag value, we delete any tag with this key regardless of
6102
- # its value. If you specify a tag key with an empty string as the tag
6103
- # value, we delete the tag only if its value is an empty string.
6101
+ # One or more tags to delete. Specify a tag key and an optional tag
6102
+ # value to delete specific tags. If you specify a tag key without a
6103
+ # tag value, we delete any tag with this key regardless of its value.
6104
+ # If you specify a tag key with an empty string as the tag value, we
6105
+ # delete the tag only if its value is an empty string.
6106
+ #
6107
+ # If you omit this parameter, we delete all user-defined tags for the
6108
+ # specified resources. We do not delete AWS-generated tags (tags that
6109
+ # have the `aws:` prefix).
6104
6110
  # @return [Array<Types::Tag>]
6105
6111
  #
6106
6112
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTagsRequest AWS API Documentation
@@ -7822,15 +7828,15 @@ module Aws::EC2
7822
7828
  #
7823
7829
  # @!attribute [rw] resource
7824
7830
  # The type of resource: `bundle` \| `conversion-task` \|
7825
- # `dhcp-options` \| `elastic-ip-allocation` \|
7831
+ # `customer-gateway` \| `dhcp-options` \| `elastic-ip-allocation` \|
7826
7832
  # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image`
7827
7833
  # \| `import-task` \| `instance` \| `internet-gateway` \|
7828
7834
  # `network-acl` \| `network-acl-association` \| `network-interface` \|
7829
7835
  # `network-interface-attachment` \| `prefix-list` \| `reservation` \|
7830
7836
  # `route-table` \| `route-table-association` \| `security-group` \|
7831
7837
  # `snapshot` \| `subnet` \| `subnet-cidr-block-association` \|
7832
- # `volume` \| `vpc` \| `vpc-cidr-block-association` \|
7833
- # `vpc-peering-connection`
7838
+ # `volume` \| `vpc` \| `vpc-cidr-block-association` \| `vpc-endpoint`
7839
+ # \| `vpc-peering-connection` \| `vpn-connection` \| `vpn-gateway`
7834
7840
  # @return [String]
7835
7841
  #
7836
7842
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdFormatRequest AWS API Documentation
@@ -7870,15 +7876,15 @@ module Aws::EC2
7870
7876
  #
7871
7877
  # @!attribute [rw] resource
7872
7878
  # The type of resource: `bundle` \| `conversion-task` \|
7873
- # `dhcp-options` \| `elastic-ip-allocation` \|
7879
+ # `customer-gateway` \| `dhcp-options` \| `elastic-ip-allocation` \|
7874
7880
  # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image`
7875
7881
  # \| `import-task` \| `instance` \| `internet-gateway` \|
7876
7882
  # `network-acl` \| `network-acl-association` \| `network-interface` \|
7877
7883
  # `network-interface-attachment` \| `prefix-list` \| `reservation` \|
7878
7884
  # `route-table` \| `route-table-association` \| `security-group` \|
7879
7885
  # `snapshot` \| `subnet` \| `subnet-cidr-block-association` \|
7880
- # `volume` \| `vpc` \| `vpc-cidr-block-association` \|
7881
- # `vpc-peering-connection`
7886
+ # `volume` \| `vpc` \| `vpc-cidr-block-association` \| `vpc-endpoint`
7887
+ # \| `vpc-peering-connection` \| `vpn-connection` \| `vpn-gateway`
7882
7888
  # @return [String]
7883
7889
  #
7884
7890
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdentityIdFormatRequest AWS API Documentation
@@ -9968,15 +9974,15 @@ module Aws::EC2
9968
9974
  #
9969
9975
  # @!attribute [rw] resources
9970
9976
  # The type of resource: `bundle` \| `conversion-task` \|
9971
- # `dhcp-options` \| `elastic-ip-allocation` \|
9977
+ # `customer-gateway` \| `dhcp-options` \| `elastic-ip-allocation` \|
9972
9978
  # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image`
9973
9979
  # \| `import-task` \| `instance` \| `internet-gateway` \|
9974
9980
  # `network-acl` \| `network-acl-association` \| `network-interface` \|
9975
9981
  # `network-interface-attachment` \| `prefix-list` \| `reservation` \|
9976
9982
  # `route-table` \| `route-table-association` \| `security-group` \|
9977
9983
  # `snapshot` \| `subnet` \| `subnet-cidr-block-association` \|
9978
- # `volume` \| `vpc` \| `vpc-cidr-block-association` \|
9979
- # `vpc-peering-connection`
9984
+ # `volume` \| `vpc` \| `vpc-cidr-block-association` \| `vpc-endpoint`
9985
+ # \| `vpc-peering-connection` \| `vpn-connection` \| `vpn-gateway`
9980
9986
  # @return [Array<String>]
9981
9987
  #
9982
9988
  # @!attribute [rw] max_results
@@ -11848,7 +11854,7 @@ module Aws::EC2
11848
11854
  #
11849
11855
  # @!attribute [rw] next_token
11850
11856
  # The token required to retrieve the next set of results. This value
11851
- # is an empty string when there are no more results to return.
11857
+ # is null or an empty string when there are no more results to return.
11852
11858
  # @return [String]
11853
11859
  #
11854
11860
  # @!attribute [rw] spot_price_history
@@ -19627,14 +19633,15 @@ module Aws::EC2
19627
19633
  #
19628
19634
  # @!attribute [rw] resource
19629
19635
  # The type of resource: `bundle` \| `conversion-task` \|
19630
- # `dhcp-options` \| `elastic-ip-allocation` \|
19636
+ # `customer-gateway` \| `dhcp-options` \| `elastic-ip-allocation` \|
19631
19637
  # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image`
19632
19638
  # \| `import-task` \| `internet-gateway` \| `network-acl` \|
19633
19639
  # `network-acl-association` \| `network-interface` \|
19634
19640
  # `network-interface-attachment` \| `prefix-list` \| `route-table` \|
19635
19641
  # `route-table-association` \| `security-group` \| `subnet` \|
19636
19642
  # `subnet-cidr-block-association` \| `vpc` \|
19637
- # `vpc-cidr-block-association` \| `vpc-peering-connection`.
19643
+ # `vpc-cidr-block-association` \| `vpc-endpoint` \|
19644
+ # `vpc-peering-connection` \| `vpn-connection` \| `vpn-gateway`.
19638
19645
  #
19639
19646
  # Alternatively, use the `all-current` option to include all resource
19640
19647
  # types that are currently within their opt-in period for longer IDs.
@@ -19672,14 +19679,15 @@ module Aws::EC2
19672
19679
  #
19673
19680
  # @!attribute [rw] resource
19674
19681
  # The type of resource: `bundle` \| `conversion-task` \|
19675
- # `dhcp-options` \| `elastic-ip-allocation` \|
19682
+ # `customer-gateway` \| `dhcp-options` \| `elastic-ip-allocation` \|
19676
19683
  # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image`
19677
19684
  # \| `import-task` \| `internet-gateway` \| `network-acl` \|
19678
19685
  # `network-acl-association` \| `network-interface` \|
19679
19686
  # `network-interface-attachment` \| `prefix-list` \| `route-table` \|
19680
19687
  # `route-table-association` \| `security-group` \| `subnet` \|
19681
19688
  # `subnet-cidr-block-association` \| `vpc` \|
19682
- # `vpc-cidr-block-association` \| `vpc-peering-connection`.
19689
+ # `vpc-cidr-block-association` \| `vpc-endpoint` \|
19690
+ # `vpc-peering-connection` \| `vpn-connection` \| `vpn-gateway`.
19683
19691
  #
19684
19692
  # Alternatively, use the `all-current` option to include all resource
19685
19693
  # types that are currently within their opt-in period for longer IDs.
@@ -20059,18 +20067,28 @@ module Aws::EC2
20059
20067
  #
20060
20068
  # {
20061
20069
  # affinity: "default", # accepts default, host
20070
+ # group_name: "String",
20062
20071
  # host_id: "String",
20063
20072
  # instance_id: "String", # required
20064
20073
  # tenancy: "dedicated", # accepts dedicated, host
20065
20074
  # }
20066
20075
  #
20067
20076
  # @!attribute [rw] affinity
20068
- # The new affinity setting for the instance.
20077
+ # The affinity setting for the instance.
20078
+ # @return [String]
20079
+ #
20080
+ # @!attribute [rw] group_name
20081
+ # The name of the placement group in which to place the instance. For
20082
+ # spread placement groups, the instance must have a tenancy of
20083
+ # `default`. For cluster placement groups, the instance must have a
20084
+ # tenancy of `default` or `dedicated`.
20085
+ #
20086
+ # To remove an instance from a placement group, specify an empty
20087
+ # string ("").
20069
20088
  # @return [String]
20070
20089
  #
20071
20090
  # @!attribute [rw] host_id
20072
- # The ID of the Dedicated Host that the instance will have affinity
20073
- # with.
20091
+ # The ID of the Dedicated Host with which to associate the instance.
20074
20092
  # @return [String]
20075
20093
  #
20076
20094
  # @!attribute [rw] instance_id
@@ -20078,13 +20096,14 @@ module Aws::EC2
20078
20096
  # @return [String]
20079
20097
  #
20080
20098
  # @!attribute [rw] tenancy
20081
- # The tenancy of the instance that you are modifying.
20099
+ # The tenancy for the instance.
20082
20100
  # @return [String]
20083
20101
  #
20084
20102
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstancePlacementRequest AWS API Documentation
20085
20103
  #
20086
20104
  class ModifyInstancePlacementRequest < Struct.new(
20087
20105
  :affinity,
20106
+ :group_name,
20088
20107
  :host_id,
20089
20108
  :instance_id,
20090
20109
  :tenancy)
@@ -20528,6 +20547,7 @@ module Aws::EC2
20528
20547
  # @return [Boolean]
20529
20548
  #
20530
20549
  # @!attribute [rw] volume_id
20550
+ # The ID of the volume.
20531
20551
  # @return [String]
20532
20552
  #
20533
20553
  # @!attribute [rw] size
@@ -21766,8 +21786,9 @@ module Aws::EC2
21766
21786
  # Describes the VPC peering connection options.
21767
21787
  #
21768
21788
  # @!attribute [rw] allow_dns_resolution_from_remote_vpc
21769
- # If true, enables a local VPC to resolve public DNS hostnames to
21770
- # private IP addresses when queried from instances in the peer VPC.
21789
+ # If true, the public DNS hostnames of instances in the specified VPC
21790
+ # resolve to private IP addresses when queried from instances in the
21791
+ # peer VPC.
21771
21792
  # @return [Boolean]
21772
21793
  #
21773
21794
  # @!attribute [rw] allow_egress_from_local_classic_link_to_remote_vpc
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.28.0
4
+ version: 1.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-21 00:00:00.000000000 Z
11
+ date: 2018-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4