aws-sdk-ec2 1.188.0 → 1.190.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4175aabdc2a0af186f4921fcb05b84646b21839a8711590d6dbdc32cf4db8f78
4
- data.tar.gz: c1755e58ee3ef900850a6185c407274e958404b577b4bba5d4966abe0973d984
3
+ metadata.gz: a8591f6a129fb7c72af159363d177b3d86912183de7346d43624f5d22dc12dc4
4
+ data.tar.gz: 74eee73f3332578c579b3df4b66723b5bad91b1fb196e639b5942a6e38d00a46
5
5
  SHA512:
6
- metadata.gz: eada576a15b43ad492000a0d0fbeb97d5c762d1fccfb83c66bd4eb95d828760d5dcfb97d8f1995c2ccf26544ebaf953b783412d50b8ed69a1806648a7be61db4
7
- data.tar.gz: 3ae01a04e26b5ebe3348e6418f98ce60a69f6c942e64d6ddaf951570680708a34b9d3779197633b9ede0e7ccb775c2ece4a1cd8b0c27ded8e9805bed1ba2f3d7
6
+ metadata.gz: b5d9093f0a7dad3a83ff94ffbc7a5ed4818d8baee9c4f70a15860ffb195f8540e0d355856f31b568a64dd42bf6dc276ccb97d484b13e8b6104c3412b9bdc19c4
7
+ data.tar.gz: c5f740b3b6b0c9af451170219d1e6edae20e189eaea7aa5e6f41750bac606d366df9a7b78f10e85a504317f3cca9aa846e21c65d163724766777d5533384f937
@@ -68,9 +68,9 @@ require_relative 'aws-sdk-ec2/customizations'
68
68
  #
69
69
  # See {Errors} for more information.
70
70
  #
71
- # @service
71
+ # @!group service
72
72
  module Aws::EC2
73
73
 
74
- GEM_VERSION = '1.188.0'
74
+ GEM_VERSION = '1.190.0'
75
75
 
76
76
  end
@@ -89,13 +89,28 @@ module Aws::EC2
89
89
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
90
90
  # credentials.
91
91
  #
92
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
93
+ # shared file, such as `~/.aws/config`.
94
+ #
95
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
96
+ #
97
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
98
+ # assume a role after providing credentials via the web.
99
+ #
100
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
101
+ # access token generated from `aws login`.
102
+ #
103
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
104
+ # process that outputs to stdout.
105
+ #
92
106
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
93
107
  # from an EC2 IMDS on an EC2 instance.
94
108
  #
95
- # * `Aws::SharedCredentials` - Used for loading credentials from a
96
- # shared file, such as `~/.aws/config`.
109
+ # * `Aws::ECSCredentials` - Used for loading credentials from
110
+ # instances running in ECS.
97
111
  #
98
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
112
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
113
+ # from the Cognito Identity service.
99
114
  #
100
115
  # When `:credentials` are not configured directly, the following
101
116
  # locations will be searched for credentials:
@@ -105,10 +120,10 @@ module Aws::EC2
105
120
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
106
121
  # * `~/.aws/credentials`
107
122
  # * `~/.aws/config`
108
- # * EC2 IMDS instance profile - When used by default, the timeouts are
109
- # very aggressive. Construct and pass an instance of
110
- # `Aws::InstanceProfileCredentails` to enable retries and extended
111
- # timeouts.
123
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
124
+ # are very aggressive. Construct and pass an instance of
125
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
126
+ # enable retries and extended timeouts.
112
127
  #
113
128
  # @option options [required, String] :region
114
129
  # The AWS region to connect to. The configured `:region` is
@@ -1933,7 +1948,7 @@ module Aws::EC2
1933
1948
  # Encryption][1] in the *Amazon Elastic Compute Cloud User Guide*.
1934
1949
  #
1935
1950
  # After you attach an EBS volume, you must make it available. For more
1936
- # information, see [Making an EBS Volume Available For Use][2].
1951
+ # information, see [Making an EBS volume available for use][2].
1937
1952
  #
1938
1953
  # If a volume has an AWS Marketplace product code:
1939
1954
  #
@@ -1948,7 +1963,7 @@ module Aws::EC2
1948
1963
  # the product. For example, you can't detach a volume from a Windows
1949
1964
  # instance and attach it to a Linux instance.
1950
1965
  #
1951
- # For more information, see [Attaching Amazon EBS Volumes][3] in the
1966
+ # For more information, see [Attaching Amazon EBS volumes][3] in the
1952
1967
  # *Amazon Elastic Compute Cloud User Guide*.
1953
1968
  #
1954
1969
  #
@@ -3319,7 +3334,7 @@ module Aws::EC2
3319
3334
  # Snapshots created by copying another snapshot have an arbitrary volume
3320
3335
  # ID that should not be used for any purpose.
3321
3336
  #
3322
- # For more information, see [Copying an Amazon EBS Snapshot][1] in the
3337
+ # For more information, see [Copying an Amazon EBS snapshot][1] in the
3323
3338
  # *Amazon Elastic Compute Cloud User Guide*.
3324
3339
  #
3325
3340
  #
@@ -5098,7 +5113,7 @@ module Aws::EC2
5098
5113
  # iops: 1,
5099
5114
  # snapshot_id: "String",
5100
5115
  # volume_size: 1,
5101
- # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
5116
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
5102
5117
  # kms_key_id: "String",
5103
5118
  # encrypted: false,
5104
5119
  # },
@@ -5488,7 +5503,7 @@ module Aws::EC2
5488
5503
  # kms_key_id: "KmsKeyId",
5489
5504
  # snapshot_id: "SnapshotId",
5490
5505
  # volume_size: 1,
5491
- # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
5506
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
5492
5507
  # },
5493
5508
  # no_device: "String",
5494
5509
  # },
@@ -5769,7 +5784,7 @@ module Aws::EC2
5769
5784
  # kms_key_id: "KmsKeyId",
5770
5785
  # snapshot_id: "SnapshotId",
5771
5786
  # volume_size: 1,
5772
- # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
5787
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
5773
5788
  # },
5774
5789
  # no_device: "String",
5775
5790
  # },
@@ -5907,7 +5922,7 @@ module Aws::EC2
5907
5922
  # resp.launch_template_version.launch_template_data.block_device_mappings[0].ebs.kms_key_id #=> String
5908
5923
  # resp.launch_template_version.launch_template_data.block_device_mappings[0].ebs.snapshot_id #=> String
5909
5924
  # resp.launch_template_version.launch_template_data.block_device_mappings[0].ebs.volume_size #=> Integer
5910
- # resp.launch_template_version.launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
5925
+ # resp.launch_template_version.launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1"
5911
5926
  # resp.launch_template_version.launch_template_data.block_device_mappings[0].no_device #=> String
5912
5927
  # resp.launch_template_version.launch_template_data.network_interfaces #=> Array
5913
5928
  # resp.launch_template_version.launch_template_data.network_interfaces[0].associate_carrier_ip_address #=> Boolean
@@ -7450,7 +7465,7 @@ module Aws::EC2
7450
7465
  # snapshots always remain protected.
7451
7466
  #
7452
7467
  # You can tag your snapshots during creation. For more information, see
7453
- # [Tagging Your Amazon EC2 Resources][1] in the *Amazon Elastic Compute
7468
+ # [Tagging your Amazon EC2 resources][1] in the *Amazon Elastic Compute
7454
7469
  # Cloud User Guide*.
7455
7470
  #
7456
7471
  # For more information, see [Amazon Elastic Block Store][2] and [Amazon
@@ -8655,6 +8670,61 @@ module Aws::EC2
8655
8670
  req.send_request(options)
8656
8671
  end
8657
8672
 
8673
+ # Creates a reference (route) to a prefix list in a specified transit
8674
+ # gateway route table.
8675
+ #
8676
+ # @option params [required, String] :transit_gateway_route_table_id
8677
+ # The ID of the transit gateway route table.
8678
+ #
8679
+ # @option params [required, String] :prefix_list_id
8680
+ # The ID of the prefix list that is used for destination matches.
8681
+ #
8682
+ # @option params [String] :transit_gateway_attachment_id
8683
+ # The ID of the attachment to which traffic is routed.
8684
+ #
8685
+ # @option params [Boolean] :blackhole
8686
+ # Indicates whether to drop traffic that matches this route.
8687
+ #
8688
+ # @option params [Boolean] :dry_run
8689
+ # Checks whether you have the required permissions for the action,
8690
+ # without actually making the request, and provides an error response.
8691
+ # If you have the required permissions, the error response is
8692
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
8693
+ #
8694
+ # @return [Types::CreateTransitGatewayPrefixListReferenceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8695
+ #
8696
+ # * {Types::CreateTransitGatewayPrefixListReferenceResult#transit_gateway_prefix_list_reference #transit_gateway_prefix_list_reference} => Types::TransitGatewayPrefixListReference
8697
+ #
8698
+ # @example Request syntax with placeholder values
8699
+ #
8700
+ # resp = client.create_transit_gateway_prefix_list_reference({
8701
+ # transit_gateway_route_table_id: "TransitGatewayRouteTableId", # required
8702
+ # prefix_list_id: "PrefixListResourceId", # required
8703
+ # transit_gateway_attachment_id: "TransitGatewayAttachmentId",
8704
+ # blackhole: false,
8705
+ # dry_run: false,
8706
+ # })
8707
+ #
8708
+ # @example Response structure
8709
+ #
8710
+ # resp.transit_gateway_prefix_list_reference.transit_gateway_route_table_id #=> String
8711
+ # resp.transit_gateway_prefix_list_reference.prefix_list_id #=> String
8712
+ # resp.transit_gateway_prefix_list_reference.prefix_list_owner_id #=> String
8713
+ # resp.transit_gateway_prefix_list_reference.state #=> String, one of "pending", "available", "modifying", "deleting"
8714
+ # resp.transit_gateway_prefix_list_reference.blackhole #=> Boolean
8715
+ # resp.transit_gateway_prefix_list_reference.transit_gateway_attachment.transit_gateway_attachment_id #=> String
8716
+ # resp.transit_gateway_prefix_list_reference.transit_gateway_attachment.resource_type #=> String, one of "vpc", "vpn", "direct-connect-gateway", "tgw-peering"
8717
+ # resp.transit_gateway_prefix_list_reference.transit_gateway_attachment.resource_id #=> String
8718
+ #
8719
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayPrefixListReference AWS API Documentation
8720
+ #
8721
+ # @overload create_transit_gateway_prefix_list_reference(params = {})
8722
+ # @param [Hash] params ({})
8723
+ def create_transit_gateway_prefix_list_reference(params = {}, options = {})
8724
+ req = build_request(:create_transit_gateway_prefix_list_reference, params)
8725
+ req.send_request(options)
8726
+ end
8727
+
8658
8728
  # Creates a static route for the specified transit gateway route table.
8659
8729
  #
8660
8730
  # @option params [required, String] :destination_cidr_block
@@ -8693,6 +8763,7 @@ module Aws::EC2
8693
8763
  # @example Response structure
8694
8764
  #
8695
8765
  # resp.route.destination_cidr_block #=> String
8766
+ # resp.route.prefix_list_id #=> String
8696
8767
  # resp.route.transit_gateway_attachments #=> Array
8697
8768
  # resp.route.transit_gateway_attachments[0].resource_id #=> String
8698
8769
  # resp.route.transit_gateway_attachments[0].transit_gateway_attachment_id #=> String
@@ -8868,10 +8939,10 @@ module Aws::EC2
8868
8939
  # Elastic Compute Cloud User Guide*.
8869
8940
  #
8870
8941
  # You can tag your volumes during creation. For more information, see
8871
- # [Tagging Your Amazon EC2 Resources][3] in the *Amazon Elastic Compute
8942
+ # [Tagging your Amazon EC2 resources][3] in the *Amazon Elastic Compute
8872
8943
  # Cloud User Guide*.
8873
8944
  #
8874
- # For more information, see [Creating an Amazon EBS Volume][4] in the
8945
+ # For more information, see [Creating an Amazon EBS volume][4] in the
8875
8946
  # *Amazon Elastic Compute Cloud User Guide*.
8876
8947
  #
8877
8948
  #
@@ -8889,12 +8960,12 @@ module Aws::EC2
8889
8960
  # setting the encryption state to `true` depends on the volume origin
8890
8961
  # (new or from a snapshot), starting encryption state, ownership, and
8891
8962
  # whether encryption by default is enabled. For more information, see
8892
- # [Encryption by Default][1] in the *Amazon Elastic Compute Cloud User
8963
+ # [Encryption by default][1] in the *Amazon Elastic Compute Cloud User
8893
8964
  # Guide*.
8894
8965
  #
8895
8966
  # Encrypted Amazon EBS volumes must be attached to instances that
8896
8967
  # support Amazon EBS encryption. For more information, see [Supported
8897
- # Instance Types][2].
8968
+ # instance types][2].
8898
8969
  #
8899
8970
  #
8900
8971
  #
@@ -8902,14 +8973,16 @@ module Aws::EC2
8902
8973
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances
8903
8974
  #
8904
8975
  # @option params [Integer] :iops
8905
- # The number of I/O operations per second (IOPS) to provision for the
8906
- # volume, with a maximum ratio of 50 IOPS/GiB. Range is 100 to 64,000
8907
- # IOPS for volumes in most Regions. Maximum IOPS of 64,000 is guaranteed
8908
- # only on [Nitro-based instances][1]. Other instance families guarantee
8976
+ # The number of I/O operations per second (IOPS) to provision for an
8977
+ # `io1` or `io2` volume, with a maximum ratio of 50 IOPS/GiB for `io1`,
8978
+ # and 500 IOPS/GiB for `io2`. Range is 100 to 64,000 IOPS for volumes in
8979
+ # most Regions. Maximum IOPS of 64,000 is guaranteed only on
8980
+ # [Nitro-based instances][1]. Other instance families guarantee
8909
8981
  # performance up to 32,000 IOPS. For more information, see [Amazon EBS
8910
- # Volume Types][2] in the *Amazon Elastic Compute Cloud User Guide*.
8982
+ # volume types][2] in the *Amazon Elastic Compute Cloud User Guide*.
8911
8983
  #
8912
- # This parameter is valid only for Provisioned IOPS SSD (io1) volumes.
8984
+ # This parameter is valid only for Provisioned IOPS SSD (`io1` and
8985
+ # `io2`) volumes.
8913
8986
  #
8914
8987
  #
8915
8988
  #
@@ -8945,10 +9018,10 @@ module Aws::EC2
8945
9018
  # The size of the volume, in GiBs. You must specify either a snapshot ID
8946
9019
  # or a volume size.
8947
9020
  #
8948
- # Constraints: 1-16,384 for `gp2`, 4-16,384 for `io1`, 500-16,384 for
8949
- # `st1`, 500-16,384 for `sc1`, and 1-1,024 for `standard`. If you
8950
- # specify a snapshot, the volume size must be equal to or larger than
8951
- # the snapshot size.
9021
+ # Constraints: 1-16,384 for `gp2`, 4-16,384 for `io1` and `io2`,
9022
+ # 500-16,384 for `st1`, 500-16,384 for `sc1`, and 1-1,024 for
9023
+ # `standard`. If you specify a snapshot, the volume size must be equal
9024
+ # to or larger than the snapshot size.
8952
9025
  #
8953
9026
  # Default: If you're creating the volume from a snapshot and don't
8954
9027
  # specify a volume size, the default is the snapshot size.
@@ -8958,9 +9031,9 @@ module Aws::EC2
8958
9031
  # a snapshot ID or a volume size.
8959
9032
  #
8960
9033
  # @option params [String] :volume_type
8961
- # The volume type. This can be `gp2` for General Purpose SSD, `io1` for
8962
- # Provisioned IOPS SSD, `st1` for Throughput Optimized HDD, `sc1` for
8963
- # Cold HDD, or `standard` for Magnetic volumes.
9034
+ # The volume type. This can be `gp2` for General Purpose SSD, `io1` or
9035
+ # `io2` for Provisioned IOPS SSD, `st1` for Throughput Optimized HDD,
9036
+ # `sc1` for Cold HDD, or `standard` for Magnetic volumes.
8964
9037
  #
8965
9038
  # Default: `gp2`
8966
9039
  #
@@ -9065,7 +9138,7 @@ module Aws::EC2
9065
9138
  # outpost_arn: "String",
9066
9139
  # size: 1,
9067
9140
  # snapshot_id: "SnapshotId",
9068
- # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
9141
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
9069
9142
  # dry_run: false,
9070
9143
  # tag_specifications: [
9071
9144
  # {
@@ -9103,7 +9176,7 @@ module Aws::EC2
9103
9176
  # resp.tags #=> Array
9104
9177
  # resp.tags[0].key #=> String
9105
9178
  # resp.tags[0].value #=> String
9106
- # resp.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
9179
+ # resp.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1"
9107
9180
  # resp.fast_restored #=> Boolean
9108
9181
  # resp.multi_attach_enabled #=> Boolean
9109
9182
  #
@@ -11271,7 +11344,7 @@ module Aws::EC2
11271
11344
  # by a registered AMI. You must first de-register the AMI before you can
11272
11345
  # delete the snapshot.
11273
11346
  #
11274
- # For more information, see [Deleting an Amazon EBS Snapshot][1] in the
11347
+ # For more information, see [Deleting an Amazon EBS snapshot][1] in the
11275
11348
  # *Amazon Elastic Compute Cloud User Guide*.
11276
11349
  #
11277
11350
  #
@@ -11752,6 +11825,53 @@ module Aws::EC2
11752
11825
  req.send_request(options)
11753
11826
  end
11754
11827
 
11828
+ # Deletes a reference (route) to a prefix list in a specified transit
11829
+ # gateway route table.
11830
+ #
11831
+ # @option params [required, String] :transit_gateway_route_table_id
11832
+ # The ID of the route table.
11833
+ #
11834
+ # @option params [required, String] :prefix_list_id
11835
+ # The ID of the prefix list.
11836
+ #
11837
+ # @option params [Boolean] :dry_run
11838
+ # Checks whether you have the required permissions for the action,
11839
+ # without actually making the request, and provides an error response.
11840
+ # If you have the required permissions, the error response is
11841
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
11842
+ #
11843
+ # @return [Types::DeleteTransitGatewayPrefixListReferenceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
11844
+ #
11845
+ # * {Types::DeleteTransitGatewayPrefixListReferenceResult#transit_gateway_prefix_list_reference #transit_gateway_prefix_list_reference} => Types::TransitGatewayPrefixListReference
11846
+ #
11847
+ # @example Request syntax with placeholder values
11848
+ #
11849
+ # resp = client.delete_transit_gateway_prefix_list_reference({
11850
+ # transit_gateway_route_table_id: "TransitGatewayRouteTableId", # required
11851
+ # prefix_list_id: "PrefixListResourceId", # required
11852
+ # dry_run: false,
11853
+ # })
11854
+ #
11855
+ # @example Response structure
11856
+ #
11857
+ # resp.transit_gateway_prefix_list_reference.transit_gateway_route_table_id #=> String
11858
+ # resp.transit_gateway_prefix_list_reference.prefix_list_id #=> String
11859
+ # resp.transit_gateway_prefix_list_reference.prefix_list_owner_id #=> String
11860
+ # resp.transit_gateway_prefix_list_reference.state #=> String, one of "pending", "available", "modifying", "deleting"
11861
+ # resp.transit_gateway_prefix_list_reference.blackhole #=> Boolean
11862
+ # resp.transit_gateway_prefix_list_reference.transit_gateway_attachment.transit_gateway_attachment_id #=> String
11863
+ # resp.transit_gateway_prefix_list_reference.transit_gateway_attachment.resource_type #=> String, one of "vpc", "vpn", "direct-connect-gateway", "tgw-peering"
11864
+ # resp.transit_gateway_prefix_list_reference.transit_gateway_attachment.resource_id #=> String
11865
+ #
11866
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayPrefixListReference AWS API Documentation
11867
+ #
11868
+ # @overload delete_transit_gateway_prefix_list_reference(params = {})
11869
+ # @param [Hash] params ({})
11870
+ def delete_transit_gateway_prefix_list_reference(params = {}, options = {})
11871
+ req = build_request(:delete_transit_gateway_prefix_list_reference, params)
11872
+ req.send_request(options)
11873
+ end
11874
+
11755
11875
  # Deletes the specified route from the specified transit gateway route
11756
11876
  # table.
11757
11877
  #
@@ -11783,6 +11903,7 @@ module Aws::EC2
11783
11903
  # @example Response structure
11784
11904
  #
11785
11905
  # resp.route.destination_cidr_block #=> String
11906
+ # resp.route.prefix_list_id #=> String
11786
11907
  # resp.route.transit_gateway_attachments #=> Array
11787
11908
  # resp.route.transit_gateway_attachments[0].resource_id #=> String
11788
11909
  # resp.route.transit_gateway_attachments[0].transit_gateway_attachment_id #=> String
@@ -11896,7 +12017,7 @@ module Aws::EC2
11896
12017
  #
11897
12018
  # The volume can remain in the `deleting` state for several minutes.
11898
12019
  #
11899
- # For more information, see [Deleting an Amazon EBS Volume][1] in the
12020
+ # For more information, see [Deleting an Amazon EBS volume][1] in the
11900
12021
  # *Amazon Elastic Compute Cloud User Guide*.
11901
12022
  #
11902
12023
  #
@@ -15830,7 +15951,7 @@ module Aws::EC2
15830
15951
  # resp.block_device_mappings[0].ebs.iops #=> Integer
15831
15952
  # resp.block_device_mappings[0].ebs.snapshot_id #=> String
15832
15953
  # resp.block_device_mappings[0].ebs.volume_size #=> Integer
15833
- # resp.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
15954
+ # resp.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1"
15834
15955
  # resp.block_device_mappings[0].ebs.kms_key_id #=> String
15835
15956
  # resp.block_device_mappings[0].ebs.encrypted #=> Boolean
15836
15957
  # resp.block_device_mappings[0].no_device #=> String
@@ -15892,7 +16013,7 @@ module Aws::EC2
15892
16013
  # volume, in GiB.
15893
16014
  #
15894
16015
  # * `block-device-mapping.volume-type` - The volume type of the EBS
15895
- # volume (`gp2` \| `io1` \| `st1 `\| `sc1` \| `standard`).
16016
+ # volume (`gp2` \| `io1` \| `io2` \| `st1 `\| `sc1` \| `standard`).
15896
16017
  #
15897
16018
  # * `block-device-mapping.encrypted` - A Boolean that indicates whether
15898
16019
  # the EBS volume is encrypted.
@@ -16070,7 +16191,7 @@ module Aws::EC2
16070
16191
  # resp.images[0].block_device_mappings[0].ebs.iops #=> Integer
16071
16192
  # resp.images[0].block_device_mappings[0].ebs.snapshot_id #=> String
16072
16193
  # resp.images[0].block_device_mappings[0].ebs.volume_size #=> Integer
16073
- # resp.images[0].block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
16194
+ # resp.images[0].block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1"
16074
16195
  # resp.images[0].block_device_mappings[0].ebs.kms_key_id #=> String
16075
16196
  # resp.images[0].block_device_mappings[0].ebs.encrypted #=> Boolean
16076
16197
  # resp.images[0].block_device_mappings[0].no_device #=> String
@@ -18106,7 +18227,7 @@ module Aws::EC2
18106
18227
  # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.kms_key_id #=> String
18107
18228
  # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.snapshot_id #=> String
18108
18229
  # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.volume_size #=> Integer
18109
- # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
18230
+ # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1"
18110
18231
  # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].no_device #=> String
18111
18232
  # resp.launch_template_versions[0].launch_template_data.network_interfaces #=> Array
18112
18233
  # resp.launch_template_versions[0].launch_template_data.network_interfaces[0].associate_carrier_ip_address #=> Boolean
@@ -22259,7 +22380,7 @@ module Aws::EC2
22259
22380
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.iops #=> Integer
22260
22381
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.snapshot_id #=> String
22261
22382
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.volume_size #=> Integer
22262
- # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
22383
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1"
22263
22384
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.kms_key_id #=> String
22264
22385
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.encrypted #=> Boolean
22265
22386
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].no_device #=> String
@@ -22404,9 +22525,9 @@ module Aws::EC2
22404
22525
  # volume, in GiB.
22405
22526
  #
22406
22527
  # * `launch.block-device-mapping.volume-type` - The type of EBS volume:
22407
- # `gp2` for General Purpose SSD, `io1` for Provisioned IOPS SSD, `st1`
22408
- # for Throughput Optimized HDD, `sc1`for Cold HDD, or `standard` for
22409
- # Magnetic.
22528
+ # `gp2` for General Purpose SSD, `io1` or `io2` for Provisioned IOPS
22529
+ # SSD, `st1` for Throughput Optimized HDD, `sc1`for Cold HDD, or
22530
+ # `standard` for Magnetic.
22410
22531
  #
22411
22532
  # * `launch.group-id` - The ID of the security group for the instance.
22412
22533
  #
@@ -22613,7 +22734,7 @@ module Aws::EC2
22613
22734
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.iops #=> Integer
22614
22735
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.snapshot_id #=> String
22615
22736
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_size #=> Integer
22616
- # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
22737
+ # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1"
22617
22738
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.kms_key_id #=> String
22618
22739
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.encrypted #=> Boolean
22619
22740
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].no_device #=> String
@@ -23505,7 +23626,8 @@ module Aws::EC2
23505
23626
  # * `resource-owner-id` - The ID of the AWS account that owns the
23506
23627
  # resource.
23507
23628
  #
23508
- # * `resource-type` - The resource type (`vpc` \| `vpn`).
23629
+ # * `resource-type` - The resource type (`vpc` \| `vpn` \|
23630
+ # `direct-connect-gateway` \| `tgw-peering`).
23509
23631
  #
23510
23632
  # * `state` - The state of the attachment (`available` \| `deleted` \|
23511
23633
  # `deleting` \| `failed` \| `modifying` \| `pendingAcceptance` \|
@@ -24112,8 +24234,8 @@ module Aws::EC2
24112
24234
  # check fails, the overall status is `impaired`. If the status is
24113
24235
  # `insufficient-data`, then the checks may still be taking place on your
24114
24236
  # volume at the time. We recommend that you retry the request. For more
24115
- # information about volume status, see [Monitoring the Status of Your
24116
- # Volumes][1] in the *Amazon Elastic Compute Cloud User Guide*.
24237
+ # information about volume status, see [Monitoring the status of your
24238
+ # volumes][1] in the *Amazon Elastic Compute Cloud User Guide*.
24117
24239
  #
24118
24240
  # *Events*\: Reflect the cause of a volume status and may require you to
24119
24241
  # take action. For example, if your volume returns an `impaired` status,
@@ -24374,7 +24496,7 @@ module Aws::EC2
24374
24496
  #
24375
24497
  # * `snapshot-id` - The snapshot from which the volume was created.
24376
24498
  #
24377
- # * `status` - The status of the volume (`creating` \| `available` \|
24499
+ # * `status` - The state of the volume (`creating` \| `available` \|
24378
24500
  # `in-use` \| `deleting` \| `deleted` \| `error`).
24379
24501
  #
24380
24502
  # * `tag`\:<key> - The key/value combination of a tag assigned to
@@ -24390,8 +24512,8 @@ module Aws::EC2
24390
24512
  # * `volume-id` - The volume ID.
24391
24513
  #
24392
24514
  # * `volume-type` - The Amazon EBS volume type. This can be `gp2` for
24393
- # General Purpose SSD, `io1` for Provisioned IOPS SSD, `st1` for
24394
- # Throughput Optimized HDD, `sc1` for Cold HDD, or `standard` for
24515
+ # General Purpose SSD, `io1` or `io2` for Provisioned IOPS SSD, `st1`
24516
+ # for Throughput Optimized HDD, `sc1` for Cold HDD, or `standard` for
24395
24517
  # Magnetic volumes.
24396
24518
  #
24397
24519
  # @option params [Array<String>] :volume_ids
@@ -24548,7 +24670,7 @@ module Aws::EC2
24548
24670
  # resp.volumes[0].tags #=> Array
24549
24671
  # resp.volumes[0].tags[0].key #=> String
24550
24672
  # resp.volumes[0].tags[0].value #=> String
24551
- # resp.volumes[0].volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
24673
+ # resp.volumes[0].volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1"
24552
24674
  # resp.volumes[0].fast_restored #=> Boolean
24553
24675
  # resp.volumes[0].multi_attach_enabled #=> Boolean
24554
24676
  # resp.next_token #=> String
@@ -24579,7 +24701,7 @@ module Aws::EC2
24579
24701
  # You can also use CloudWatch Events to check the status of a
24580
24702
  # modification to an EBS volume. For information about CloudWatch
24581
24703
  # Events, see the [Amazon CloudWatch Events User Guide][1]. For more
24582
- # information, see [Monitoring Volume Modifications][2] in the *Amazon
24704
+ # information, see [Monitoring volume modifications][2] in the *Amazon
24583
24705
  # Elastic Compute Cloud User Guide*.
24584
24706
  #
24585
24707
  #
@@ -24607,7 +24729,7 @@ module Aws::EC2
24607
24729
  # * `original-size` - The original size of the volume, in GiB.
24608
24730
  #
24609
24731
  # * `original-volume-type` - The original volume type of the volume
24610
- # (standard \| io1 \| gp2 \| sc1 \| st1).
24732
+ # (standard \| io1 \| io2 \| gp2 \| sc1 \| st1).
24611
24733
  #
24612
24734
  # * `originalMultiAttachEnabled` - Indicates whether Multi-Attach
24613
24735
  # support was enabled (true \| false).
@@ -24619,7 +24741,7 @@ module Aws::EC2
24619
24741
  # * `target-size` - The target size of the volume, in GiB.
24620
24742
  #
24621
24743
  # * `target-volume-type` - The target volume type of the volume
24622
- # (standard \| io1 \| gp2 \| sc1 \| st1).
24744
+ # (standard \| io1 \| io2 \| gp2 \| sc1 \| st1).
24623
24745
  #
24624
24746
  # * `targetMultiAttachEnabled` - Indicates whether Multi-Attach support
24625
24747
  # is to be enabled (true \| false).
@@ -24663,10 +24785,10 @@ module Aws::EC2
24663
24785
  # resp.volumes_modifications[0].status_message #=> String
24664
24786
  # resp.volumes_modifications[0].target_size #=> Integer
24665
24787
  # resp.volumes_modifications[0].target_iops #=> Integer
24666
- # resp.volumes_modifications[0].target_volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
24788
+ # resp.volumes_modifications[0].target_volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1"
24667
24789
  # resp.volumes_modifications[0].original_size #=> Integer
24668
24790
  # resp.volumes_modifications[0].original_iops #=> Integer
24669
- # resp.volumes_modifications[0].original_volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
24791
+ # resp.volumes_modifications[0].original_volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1"
24670
24792
  # resp.volumes_modifications[0].progress #=> Integer
24671
24793
  # resp.volumes_modifications[0].start_time #=> Time
24672
24794
  # resp.volumes_modifications[0].end_time #=> Time
@@ -26109,7 +26231,7 @@ module Aws::EC2
26109
26231
  # When a volume with an AWS Marketplace product code is detached from an
26110
26232
  # instance, the product code is no longer associated with the instance.
26111
26233
  #
26112
- # For more information, see [Detaching an Amazon EBS Volume][1] in the
26234
+ # For more information, see [Detaching an Amazon EBS volume][1] in the
26113
26235
  # *Amazon Elastic Compute Cloud User Guide*.
26114
26236
  #
26115
26237
  #
@@ -26919,7 +27041,7 @@ module Aws::EC2
26919
27041
  #
26920
27042
  # After you enable encryption by default, you can no longer launch
26921
27043
  # instances using instance types that do not support encryption. For
26922
- # more information, see [Supported Instance Types][2].
27044
+ # more information, see [Supported instance types][2].
26923
27045
  #
26924
27046
  #
26925
27047
  #
@@ -26963,7 +27085,7 @@ module Aws::EC2
26963
27085
  # restores, use DescribeFastSnapshotRestores. To disable fast snapshot
26964
27086
  # restores, use DisableFastSnapshotRestores.
26965
27087
  #
26966
- # For more information, see [Amazon EBS Fast Snapshot Restore][1] in the
27088
+ # For more information, see [Amazon EBS fast snapshot restore][1] in the
26967
27089
  # *Amazon Elastic Compute Cloud User Guide*.
26968
27090
  #
26969
27091
  #
@@ -28181,7 +28303,7 @@ module Aws::EC2
28181
28303
  # resp.launch_template_data.block_device_mappings[0].ebs.kms_key_id #=> String
28182
28304
  # resp.launch_template_data.block_device_mappings[0].ebs.snapshot_id #=> String
28183
28305
  # resp.launch_template_data.block_device_mappings[0].ebs.volume_size #=> Integer
28184
- # resp.launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
28306
+ # resp.launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1"
28185
28307
  # resp.launch_template_data.block_device_mappings[0].no_device #=> String
28186
28308
  # resp.launch_template_data.network_interfaces #=> Array
28187
28309
  # resp.launch_template_data.network_interfaces[0].associate_carrier_ip_address #=> Boolean
@@ -28660,6 +28782,92 @@ module Aws::EC2
28660
28782
  req.send_request(options)
28661
28783
  end
28662
28784
 
28785
+ # Gets information about the prefix list references in a specified
28786
+ # transit gateway route table.
28787
+ #
28788
+ # @option params [required, String] :transit_gateway_route_table_id
28789
+ # The ID of the transit gateway route table.
28790
+ #
28791
+ # @option params [Array<Types::Filter>] :filters
28792
+ # One or more filters. The possible values are:
28793
+ #
28794
+ # * `attachment.resource-id` - The ID of the resource for the
28795
+ # attachment.
28796
+ #
28797
+ # * `attachment.resource-type` - The type of resource for the attachment
28798
+ # (`vpc` \| `vpn` \| `direct-connect-gateway` \| `tgw-peering`).
28799
+ #
28800
+ # * `attachment.transit-gateway-attachment-id` - The ID of the
28801
+ # attachment.
28802
+ #
28803
+ # * `is-blackhole` - Whether traffic matching the route is blocked
28804
+ # (`true` \| `false`).
28805
+ #
28806
+ # * `prefix-list-id` - The ID of the prefix list.
28807
+ #
28808
+ # * `prefix-list-owner-id` - The ID of the owner of the prefix list.
28809
+ #
28810
+ # * `state` - The state of the prefix list reference (`pending` \|
28811
+ # `available` \| `modifying` \| `deleting`).
28812
+ #
28813
+ # @option params [Integer] :max_results
28814
+ # The maximum number of results to return with a single call. To
28815
+ # retrieve the remaining results, make another call with the returned
28816
+ # `nextToken` value.
28817
+ #
28818
+ # @option params [String] :next_token
28819
+ # The token for the next page of results.
28820
+ #
28821
+ # @option params [Boolean] :dry_run
28822
+ # Checks whether you have the required permissions for the action,
28823
+ # without actually making the request, and provides an error response.
28824
+ # If you have the required permissions, the error response is
28825
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
28826
+ #
28827
+ # @return [Types::GetTransitGatewayPrefixListReferencesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
28828
+ #
28829
+ # * {Types::GetTransitGatewayPrefixListReferencesResult#transit_gateway_prefix_list_references #transit_gateway_prefix_list_references} => Array&lt;Types::TransitGatewayPrefixListReference&gt;
28830
+ # * {Types::GetTransitGatewayPrefixListReferencesResult#next_token #next_token} => String
28831
+ #
28832
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
28833
+ #
28834
+ # @example Request syntax with placeholder values
28835
+ #
28836
+ # resp = client.get_transit_gateway_prefix_list_references({
28837
+ # transit_gateway_route_table_id: "TransitGatewayRouteTableId", # required
28838
+ # filters: [
28839
+ # {
28840
+ # name: "String",
28841
+ # values: ["String"],
28842
+ # },
28843
+ # ],
28844
+ # max_results: 1,
28845
+ # next_token: "String",
28846
+ # dry_run: false,
28847
+ # })
28848
+ #
28849
+ # @example Response structure
28850
+ #
28851
+ # resp.transit_gateway_prefix_list_references #=> Array
28852
+ # resp.transit_gateway_prefix_list_references[0].transit_gateway_route_table_id #=> String
28853
+ # resp.transit_gateway_prefix_list_references[0].prefix_list_id #=> String
28854
+ # resp.transit_gateway_prefix_list_references[0].prefix_list_owner_id #=> String
28855
+ # resp.transit_gateway_prefix_list_references[0].state #=> String, one of "pending", "available", "modifying", "deleting"
28856
+ # resp.transit_gateway_prefix_list_references[0].blackhole #=> Boolean
28857
+ # resp.transit_gateway_prefix_list_references[0].transit_gateway_attachment.transit_gateway_attachment_id #=> String
28858
+ # resp.transit_gateway_prefix_list_references[0].transit_gateway_attachment.resource_type #=> String, one of "vpc", "vpn", "direct-connect-gateway", "tgw-peering"
28859
+ # resp.transit_gateway_prefix_list_references[0].transit_gateway_attachment.resource_id #=> String
28860
+ # resp.next_token #=> String
28861
+ #
28862
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetTransitGatewayPrefixListReferences AWS API Documentation
28863
+ #
28864
+ # @overload get_transit_gateway_prefix_list_references(params = {})
28865
+ # @param [Hash] params ({})
28866
+ def get_transit_gateway_prefix_list_references(params = {}, options = {})
28867
+ req = build_request(:get_transit_gateway_prefix_list_references, params)
28868
+ req.send_request(options)
28869
+ end
28870
+
28663
28871
  # Gets information about the associations for the specified transit
28664
28872
  # gateway route table.
28665
28873
  #
@@ -28671,7 +28879,8 @@ module Aws::EC2
28671
28879
  #
28672
28880
  # * `resource-id` - The ID of the resource.
28673
28881
  #
28674
- # * `resource-type` - The resource type (`vpc` \| `vpn`).
28882
+ # * `resource-type` - The resource type (`vpc` \| `vpn` \|
28883
+ # `direct-connect-gateway` \| `tgw-peering`).
28675
28884
  #
28676
28885
  # * `transit-gateway-attachment-id` - The ID of the attachment.
28677
28886
  #
@@ -28740,7 +28949,8 @@ module Aws::EC2
28740
28949
  #
28741
28950
  # * `resource-id` - The ID of the resource.
28742
28951
  #
28743
- # * `resource-type` - The resource type (`vpc` \| `vpn`).
28952
+ # * `resource-type` - The resource type (`vpc` \| `vpn` \|
28953
+ # `direct-connect-gateway` \| `tgw-peering`).
28744
28954
  #
28745
28955
  # * `transit-gateway-attachment-id` - The ID of the attachment.
28746
28956
  #
@@ -31309,7 +31519,7 @@ module Aws::EC2
31309
31519
  # cannot be shared with other accounts.
31310
31520
  #
31311
31521
  # For more information about modifying snapshot permissions, see
31312
- # [Sharing Snapshots][1] in the *Amazon Elastic Compute Cloud User
31522
+ # [Sharing snapshots][1] in the *Amazon Elastic Compute Cloud User
31313
31523
  # Guide*.
31314
31524
  #
31315
31525
  #
@@ -31878,6 +32088,132 @@ module Aws::EC2
31878
32088
  req.send_request(options)
31879
32089
  end
31880
32090
 
32091
+ # Modifies the specified transit gateway. When you modify a transit
32092
+ # gateway, the modified options are applied to new transit gateway
32093
+ # attachments only. Your existing transit gateway attachments are not
32094
+ # modified.
32095
+ #
32096
+ # @option params [required, String] :transit_gateway_id
32097
+ # The ID of the transit gateway.
32098
+ #
32099
+ # @option params [String] :description
32100
+ # The description for the transit gateway.
32101
+ #
32102
+ # @option params [Types::ModifyTransitGatewayOptions] :options
32103
+ # The options to modify.
32104
+ #
32105
+ # @option params [Boolean] :dry_run
32106
+ # Checks whether you have the required permissions for the action,
32107
+ # without actually making the request, and provides an error response.
32108
+ # If you have the required permissions, the error response is
32109
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
32110
+ #
32111
+ # @return [Types::ModifyTransitGatewayResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
32112
+ #
32113
+ # * {Types::ModifyTransitGatewayResult#transit_gateway #transit_gateway} => Types::TransitGateway
32114
+ #
32115
+ # @example Request syntax with placeholder values
32116
+ #
32117
+ # resp = client.modify_transit_gateway({
32118
+ # transit_gateway_id: "TransitGatewayId", # required
32119
+ # description: "String",
32120
+ # options: {
32121
+ # vpn_ecmp_support: "enable", # accepts enable, disable
32122
+ # dns_support: "enable", # accepts enable, disable
32123
+ # auto_accept_shared_attachments: "enable", # accepts enable, disable
32124
+ # default_route_table_association: "enable", # accepts enable, disable
32125
+ # association_default_route_table_id: "TransitGatewayRouteTableId",
32126
+ # default_route_table_propagation: "enable", # accepts enable, disable
32127
+ # propagation_default_route_table_id: "TransitGatewayRouteTableId",
32128
+ # },
32129
+ # dry_run: false,
32130
+ # })
32131
+ #
32132
+ # @example Response structure
32133
+ #
32134
+ # resp.transit_gateway.transit_gateway_id #=> String
32135
+ # resp.transit_gateway.transit_gateway_arn #=> String
32136
+ # resp.transit_gateway.state #=> String, one of "pending", "available", "modifying", "deleting", "deleted"
32137
+ # resp.transit_gateway.owner_id #=> String
32138
+ # resp.transit_gateway.description #=> String
32139
+ # resp.transit_gateway.creation_time #=> Time
32140
+ # resp.transit_gateway.options.amazon_side_asn #=> Integer
32141
+ # resp.transit_gateway.options.auto_accept_shared_attachments #=> String, one of "enable", "disable"
32142
+ # resp.transit_gateway.options.default_route_table_association #=> String, one of "enable", "disable"
32143
+ # resp.transit_gateway.options.association_default_route_table_id #=> String
32144
+ # resp.transit_gateway.options.default_route_table_propagation #=> String, one of "enable", "disable"
32145
+ # resp.transit_gateway.options.propagation_default_route_table_id #=> String
32146
+ # resp.transit_gateway.options.vpn_ecmp_support #=> String, one of "enable", "disable"
32147
+ # resp.transit_gateway.options.dns_support #=> String, one of "enable", "disable"
32148
+ # resp.transit_gateway.options.multicast_support #=> String, one of "enable", "disable"
32149
+ # resp.transit_gateway.tags #=> Array
32150
+ # resp.transit_gateway.tags[0].key #=> String
32151
+ # resp.transit_gateway.tags[0].value #=> String
32152
+ #
32153
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTransitGateway AWS API Documentation
32154
+ #
32155
+ # @overload modify_transit_gateway(params = {})
32156
+ # @param [Hash] params ({})
32157
+ def modify_transit_gateway(params = {}, options = {})
32158
+ req = build_request(:modify_transit_gateway, params)
32159
+ req.send_request(options)
32160
+ end
32161
+
32162
+ # Modifies a reference (route) to a prefix list in a specified transit
32163
+ # gateway route table.
32164
+ #
32165
+ # @option params [required, String] :transit_gateway_route_table_id
32166
+ # The ID of the transit gateway route table.
32167
+ #
32168
+ # @option params [required, String] :prefix_list_id
32169
+ # The ID of the prefix list.
32170
+ #
32171
+ # @option params [String] :transit_gateway_attachment_id
32172
+ # The ID of the attachment to which traffic is routed.
32173
+ #
32174
+ # @option params [Boolean] :blackhole
32175
+ # Indicates whether to drop traffic that matches this route.
32176
+ #
32177
+ # @option params [Boolean] :dry_run
32178
+ # Checks whether you have the required permissions for the action,
32179
+ # without actually making the request, and provides an error response.
32180
+ # If you have the required permissions, the error response is
32181
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
32182
+ #
32183
+ # @return [Types::ModifyTransitGatewayPrefixListReferenceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
32184
+ #
32185
+ # * {Types::ModifyTransitGatewayPrefixListReferenceResult#transit_gateway_prefix_list_reference #transit_gateway_prefix_list_reference} => Types::TransitGatewayPrefixListReference
32186
+ #
32187
+ # @example Request syntax with placeholder values
32188
+ #
32189
+ # resp = client.modify_transit_gateway_prefix_list_reference({
32190
+ # transit_gateway_route_table_id: "TransitGatewayRouteTableId", # required
32191
+ # prefix_list_id: "PrefixListResourceId", # required
32192
+ # transit_gateway_attachment_id: "TransitGatewayAttachmentId",
32193
+ # blackhole: false,
32194
+ # dry_run: false,
32195
+ # })
32196
+ #
32197
+ # @example Response structure
32198
+ #
32199
+ # resp.transit_gateway_prefix_list_reference.transit_gateway_route_table_id #=> String
32200
+ # resp.transit_gateway_prefix_list_reference.prefix_list_id #=> String
32201
+ # resp.transit_gateway_prefix_list_reference.prefix_list_owner_id #=> String
32202
+ # resp.transit_gateway_prefix_list_reference.state #=> String, one of "pending", "available", "modifying", "deleting"
32203
+ # resp.transit_gateway_prefix_list_reference.blackhole #=> Boolean
32204
+ # resp.transit_gateway_prefix_list_reference.transit_gateway_attachment.transit_gateway_attachment_id #=> String
32205
+ # resp.transit_gateway_prefix_list_reference.transit_gateway_attachment.resource_type #=> String, one of "vpc", "vpn", "direct-connect-gateway", "tgw-peering"
32206
+ # resp.transit_gateway_prefix_list_reference.transit_gateway_attachment.resource_id #=> String
32207
+ #
32208
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTransitGatewayPrefixListReference AWS API Documentation
32209
+ #
32210
+ # @overload modify_transit_gateway_prefix_list_reference(params = {})
32211
+ # @param [Hash] params ({})
32212
+ def modify_transit_gateway_prefix_list_reference(params = {}, options = {})
32213
+ req = build_request(:modify_transit_gateway_prefix_list_reference, params)
32214
+ req.send_request(options)
32215
+ end
32216
+
31881
32217
  # Modifies the specified VPC attachment.
31882
32218
  #
31883
32219
  # @option params [required, String] :transit_gateway_attachment_id
@@ -31950,30 +32286,30 @@ module Aws::EC2
31950
32286
  # attached to a current-generation EC2 instance type, you may be able to
31951
32287
  # apply these changes without stopping the instance or detaching the
31952
32288
  # volume from it. For more information about modifying an EBS volume
31953
- # running Linux, see [Modifying the Size, IOPS, or Type of an EBS Volume
32289
+ # running Linux, see [Modifying the size, IOPS, or type of an EBS volume
31954
32290
  # on Linux][1]. For more information about modifying an EBS volume
31955
- # running Windows, see [Modifying the Size, IOPS, or Type of an EBS
31956
- # Volume on Windows][2].
32291
+ # running Windows, see [Modifying the size, IOPS, or type of an EBS
32292
+ # volume on Windows][2].
31957
32293
  #
31958
32294
  # When you complete a resize operation on your volume, you need to
31959
32295
  # extend the volume's file-system size to take advantage of the new
31960
32296
  # storage capacity. For information about extending a Linux file system,
31961
- # see [Extending a Linux File System][3]. For information about
31962
- # extending a Windows file system, see [Extending a Windows File
31963
- # System][4].
32297
+ # see [Extending a Linux file system][3]. For information about
32298
+ # extending a Windows file system, see [Extending a Windows file
32299
+ # system][4].
31964
32300
  #
31965
32301
  # You can use CloudWatch Events to check the status of a modification to
31966
32302
  # an EBS volume. For information about CloudWatch Events, see the
31967
32303
  # [Amazon CloudWatch Events User Guide][5]. You can also track the
31968
32304
  # status of a modification using DescribeVolumesModifications. For
31969
32305
  # information about tracking status changes using either method, see
31970
- # [Monitoring Volume Modifications][6].
32306
+ # [Monitoring volume modifications][6].
31971
32307
  #
31972
32308
  # With previous-generation instance types, resizing an EBS volume may
31973
32309
  # require detaching and reattaching the volume or stopping and
31974
32310
  # restarting the instance. For more information, see [Modifying the
31975
- # Size, IOPS, or Type of an EBS Volume on Linux][1] and [Modifying the
31976
- # Size, IOPS, or Type of an EBS Volume on Windows][2].
32311
+ # size, IOPS, or type of an EBS volume on Linux][1] and [Modifying the
32312
+ # size, IOPS, or type of an EBS volume on Windows][2].
31977
32313
  #
31978
32314
  # If you reach the maximum volume modification rate per volume limit,
31979
32315
  # you will need to wait at least six hours before applying further
@@ -32017,8 +32353,9 @@ module Aws::EC2
32017
32353
  # @option params [Integer] :iops
32018
32354
  # The target IOPS rate of the volume.
32019
32355
  #
32020
- # This is only valid for Provisioned IOPS SSD (`io1`) volumes. For more
32021
- # information, see [Provisioned IOPS SSD (io1) Volumes][1].
32356
+ # This is only valid for Provisioned IOPS SSD (`io1` and `io2`) volumes.
32357
+ # For moreinformation, see [ Provisioned IOPS SSD (io1 and io2)
32358
+ # volumes][1].
32022
32359
  #
32023
32360
  # Default: If no IOPS value is specified, the existing value is
32024
32361
  # retained.
@@ -32037,7 +32374,7 @@ module Aws::EC2
32037
32374
  # dry_run: false,
32038
32375
  # volume_id: "VolumeId", # required
32039
32376
  # size: 1,
32040
- # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
32377
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
32041
32378
  # iops: 1,
32042
32379
  # })
32043
32380
  #
@@ -32048,10 +32385,10 @@ module Aws::EC2
32048
32385
  # resp.volume_modification.status_message #=> String
32049
32386
  # resp.volume_modification.target_size #=> Integer
32050
32387
  # resp.volume_modification.target_iops #=> Integer
32051
- # resp.volume_modification.target_volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
32388
+ # resp.volume_modification.target_volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1"
32052
32389
  # resp.volume_modification.original_size #=> Integer
32053
32390
  # resp.volume_modification.original_iops #=> Integer
32054
- # resp.volume_modification.original_volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
32391
+ # resp.volume_modification.original_volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1"
32055
32392
  # resp.volume_modification.progress #=> Integer
32056
32393
  # resp.volume_modification.start_time #=> Time
32057
32394
  # resp.volume_modification.end_time #=> Time
@@ -33668,7 +34005,7 @@ module Aws::EC2
33668
34005
  # iops: 1,
33669
34006
  # snapshot_id: "String",
33670
34007
  # volume_size: 1,
33671
- # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
34008
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
33672
34009
  # kms_key_id: "String",
33673
34010
  # encrypted: false,
33674
34011
  # },
@@ -34613,6 +34950,7 @@ module Aws::EC2
34613
34950
  # @example Response structure
34614
34951
  #
34615
34952
  # resp.route.destination_cidr_block #=> String
34953
+ # resp.route.prefix_list_id #=> String
34616
34954
  # resp.route.transit_gateway_attachments #=> Array
34617
34955
  # resp.route.transit_gateway_attachments[0].resource_id #=> String
34618
34956
  # resp.route.transit_gateway_attachments[0].transit_gateway_attachment_id #=> String
@@ -34939,7 +35277,7 @@ module Aws::EC2
34939
35277
  # iops: 1,
34940
35278
  # snapshot_id: "String",
34941
35279
  # volume_size: 1,
34942
- # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
35280
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
34943
35281
  # kms_key_id: "String",
34944
35282
  # encrypted: false,
34945
35283
  # },
@@ -35275,7 +35613,7 @@ module Aws::EC2
35275
35613
  # iops: 1,
35276
35614
  # snapshot_id: "String",
35277
35615
  # volume_size: 1,
35278
- # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
35616
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
35279
35617
  # kms_key_id: "String",
35280
35618
  # encrypted: false,
35281
35619
  # },
@@ -35371,7 +35709,7 @@ module Aws::EC2
35371
35709
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.iops #=> Integer
35372
35710
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.snapshot_id #=> String
35373
35711
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_size #=> Integer
35374
- # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
35712
+ # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1"
35375
35713
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.kms_key_id #=> String
35376
35714
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.encrypted #=> Boolean
35377
35715
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].no_device #=> String
@@ -35667,7 +36005,7 @@ module Aws::EC2
35667
36005
  # Resets permission settings for the specified snapshot.
35668
36006
  #
35669
36007
  # For more information about modifying snapshot permissions, see
35670
- # [Sharing Snapshots][1] in the *Amazon Elastic Compute Cloud User
36008
+ # [Sharing snapshots][1] in the *Amazon Elastic Compute Cloud User
35671
36009
  # Guide*.
35672
36010
  #
35673
36011
  #
@@ -36579,7 +36917,7 @@ module Aws::EC2
36579
36917
  # iops: 1,
36580
36918
  # snapshot_id: "String",
36581
36919
  # volume_size: 1,
36582
- # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
36920
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
36583
36921
  # kms_key_id: "String",
36584
36922
  # encrypted: false,
36585
36923
  # },
@@ -37230,7 +37568,9 @@ module Aws::EC2
37230
37568
  # attachment.
37231
37569
  #
37232
37570
  # * `attachment.resource-type` - The attachment resource type (`vpc` \|
37233
- # `vpn`).
37571
+ # `vpn` \| `direct-connect-gateway` \| `tgw-peering`).
37572
+ #
37573
+ # * `prefix-list-id` - The ID of the prefix list.
37234
37574
  #
37235
37575
  # * `route-search.exact-match` - The exact match of the specified
37236
37576
  # filter.
@@ -37283,6 +37623,7 @@ module Aws::EC2
37283
37623
  #
37284
37624
  # resp.routes #=> Array
37285
37625
  # resp.routes[0].destination_cidr_block #=> String
37626
+ # resp.routes[0].prefix_list_id #=> String
37286
37627
  # resp.routes[0].transit_gateway_attachments #=> Array
37287
37628
  # resp.routes[0].transit_gateway_attachments[0].resource_id #=> String
37288
37629
  # resp.routes[0].transit_gateway_attachments[0].transit_gateway_attachment_id #=> String
@@ -38206,7 +38547,7 @@ module Aws::EC2
38206
38547
  params: params,
38207
38548
  config: config)
38208
38549
  context[:gem_name] = 'aws-sdk-ec2'
38209
- context[:gem_version] = '1.188.0'
38550
+ context[:gem_version] = '1.190.0'
38210
38551
  Seahorse::Client::Request.new(handlers, context)
38211
38552
  end
38212
38553