aws-sdk-ec2 1.434.0 → 1.436.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +37 -7
- data/lib/aws-sdk-ec2/client_api.rb +4 -0
- data/lib/aws-sdk-ec2/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-ec2/resource.rb +19 -1
- data/lib/aws-sdk-ec2/types.rb +48 -6
- data/lib/aws-sdk-ec2/vpc.rb +18 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/classic_address.rbs +102 -0
- data/sig/client.rbs +13220 -0
- data/sig/dhcp_options.rbs +84 -0
- data/sig/errors.rbs +16 -0
- data/sig/image.rbs +213 -0
- data/sig/instance.rbs +557 -0
- data/sig/internet_gateway.rbs +91 -0
- data/sig/key_pair.rbs +54 -0
- data/sig/key_pair_info.rbs +63 -0
- data/sig/nat_gateway.rbs +107 -0
- data/sig/network_acl.rbs +144 -0
- data/sig/network_interface.rbs +232 -0
- data/sig/network_interface_association.rbs +62 -0
- data/sig/placement_group.rbs +78 -0
- data/sig/resource.rbs +1009 -0
- data/sig/route.rbs +113 -0
- data/sig/route_table.rbs +117 -0
- data/sig/route_table_association.rbs +69 -0
- data/sig/security_group.rbs +308 -0
- data/sig/snapshot.rbs +188 -0
- data/sig/subnet.rbs +422 -0
- data/sig/tag.rbs +63 -0
- data/sig/types.rbs +15047 -0
- data/sig/volume.rbs +203 -0
- data/sig/vpc.rbs +398 -0
- data/sig/vpc_address.rbs +98 -0
- data/sig/vpc_peering_connection.rbs +84 -0
- data/sig/waiters.rbs +664 -0
- metadata +32 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b384d939981e4c75f43073584ddcdaf9898a06045188ef8f4a12e51edc2fd972
|
4
|
+
data.tar.gz: b37f384eba738f49d039247154d9c5bb647e44dec2ab7efc8dfe01b1ff3d79d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7613ff00e0d3221b4612d0948c02da9d3d42d9b507be6998755412ed3e962ac2be385f3fafcf3a85cb07c8eb0f921066245f661647cdbd9d64a3d715882b8368
|
7
|
+
data.tar.gz: 8d9c6d915164e9b0f2daee7fd4423f1b4970576fd8546cd2561a7190b31eb21df28b964fe591e54b60299e831e164b64246655aab57c271f60225973b386e927
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.436.0 (2024-01-26)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.435.0 (2024-01-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Introduced a new clientToken request parameter on CreateNetworkAcl and CreateRouteTable APIs. The clientToken parameter allows idempotent operations on the APIs.
|
13
|
+
|
4
14
|
1.434.0 (2024-01-22)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.436.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -5892,7 +5892,7 @@ module Aws::EC2
|
|
5892
5892
|
# resp.subnet.map_public_ip_on_launch #=> Boolean
|
5893
5893
|
# resp.subnet.map_customer_owned_ip_on_launch #=> Boolean
|
5894
5894
|
# resp.subnet.customer_owned_ipv_4_pool #=> String
|
5895
|
-
# resp.subnet.state #=> String, one of "pending", "available"
|
5895
|
+
# resp.subnet.state #=> String, one of "pending", "available", "unavailable"
|
5896
5896
|
# resp.subnet.subnet_id #=> String
|
5897
5897
|
# resp.subnet.vpc_id #=> String
|
5898
5898
|
# resp.subnet.owner_id #=> String
|
@@ -6140,7 +6140,7 @@ module Aws::EC2
|
|
6140
6140
|
#
|
6141
6141
|
# @option params [String] :client_token
|
6142
6142
|
# Unique, case-sensitive identifier that you provide to ensure the
|
6143
|
-
# idempotency of the request. For more information, see [
|
6143
|
+
# idempotency of the request. For more information, see [Ensuring
|
6144
6144
|
# idempotency][1].
|
6145
6145
|
#
|
6146
6146
|
#
|
@@ -9398,7 +9398,7 @@ module Aws::EC2
|
|
9398
9398
|
#
|
9399
9399
|
# @option params [String] :client_token
|
9400
9400
|
# Unique, case-sensitive identifier that you provide to ensure the
|
9401
|
-
# idempotency of the request. For more information, see [
|
9401
|
+
# idempotency of the request. For more information, see [Ensuring
|
9402
9402
|
# idempotency][1].
|
9403
9403
|
#
|
9404
9404
|
# Constraint: Maximum 64 ASCII characters.
|
@@ -9577,9 +9577,22 @@ module Aws::EC2
|
|
9577
9577
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
9578
9578
|
# The tags to assign to the network ACL.
|
9579
9579
|
#
|
9580
|
+
# @option params [String] :client_token
|
9581
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
9582
|
+
# idempotency of the request. For more information, see [Ensuring
|
9583
|
+
# idempotency][1].
|
9584
|
+
#
|
9585
|
+
# **A suitable default value is auto-generated.** You should normally
|
9586
|
+
# not need to pass this option.**
|
9587
|
+
#
|
9588
|
+
#
|
9589
|
+
#
|
9590
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
|
9591
|
+
#
|
9580
9592
|
# @return [Types::CreateNetworkAclResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9581
9593
|
#
|
9582
9594
|
# * {Types::CreateNetworkAclResult#network_acl #network_acl} => Types::NetworkAcl
|
9595
|
+
# * {Types::CreateNetworkAclResult#client_token #client_token} => String
|
9583
9596
|
#
|
9584
9597
|
#
|
9585
9598
|
# @example Example: To create a network ACL
|
@@ -9635,6 +9648,7 @@ module Aws::EC2
|
|
9635
9648
|
# ],
|
9636
9649
|
# },
|
9637
9650
|
# ],
|
9651
|
+
# client_token: "String",
|
9638
9652
|
# })
|
9639
9653
|
#
|
9640
9654
|
# @example Response structure
|
@@ -9661,6 +9675,7 @@ module Aws::EC2
|
|
9661
9675
|
# resp.network_acl.tags[0].value #=> String
|
9662
9676
|
# resp.network_acl.vpc_id #=> String
|
9663
9677
|
# resp.network_acl.owner_id #=> String
|
9678
|
+
# resp.client_token #=> String
|
9664
9679
|
#
|
9665
9680
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAcl AWS API Documentation
|
9666
9681
|
#
|
@@ -11202,9 +11217,22 @@ module Aws::EC2
|
|
11202
11217
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
11203
11218
|
# The tags to assign to the route table.
|
11204
11219
|
#
|
11220
|
+
# @option params [String] :client_token
|
11221
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
11222
|
+
# idempotency of the request. For more information, see [Ensuring
|
11223
|
+
# idempotency][1].
|
11224
|
+
#
|
11225
|
+
# **A suitable default value is auto-generated.** You should normally
|
11226
|
+
# not need to pass this option.**
|
11227
|
+
#
|
11228
|
+
#
|
11229
|
+
#
|
11230
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
|
11231
|
+
#
|
11205
11232
|
# @return [Types::CreateRouteTableResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11206
11233
|
#
|
11207
11234
|
# * {Types::CreateRouteTableResult#route_table #route_table} => Types::RouteTable
|
11235
|
+
# * {Types::CreateRouteTableResult#client_token #client_token} => String
|
11208
11236
|
#
|
11209
11237
|
#
|
11210
11238
|
# @example Example: To create a route table
|
@@ -11252,6 +11280,7 @@ module Aws::EC2
|
|
11252
11280
|
# ],
|
11253
11281
|
# },
|
11254
11282
|
# ],
|
11283
|
+
# client_token: "String",
|
11255
11284
|
# })
|
11256
11285
|
#
|
11257
11286
|
# @example Response structure
|
@@ -11289,6 +11318,7 @@ module Aws::EC2
|
|
11289
11318
|
# resp.route_table.tags[0].value #=> String
|
11290
11319
|
# resp.route_table.vpc_id #=> String
|
11291
11320
|
# resp.route_table.owner_id #=> String
|
11321
|
+
# resp.client_token #=> String
|
11292
11322
|
#
|
11293
11323
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteTable AWS API Documentation
|
11294
11324
|
#
|
@@ -12017,7 +12047,7 @@ module Aws::EC2
|
|
12017
12047
|
# resp.subnet.map_public_ip_on_launch #=> Boolean
|
12018
12048
|
# resp.subnet.map_customer_owned_ip_on_launch #=> Boolean
|
12019
12049
|
# resp.subnet.customer_owned_ipv_4_pool #=> String
|
12020
|
-
# resp.subnet.state #=> String, one of "pending", "available"
|
12050
|
+
# resp.subnet.state #=> String, one of "pending", "available", "unavailable"
|
12021
12051
|
# resp.subnet.subnet_id #=> String
|
12022
12052
|
# resp.subnet.vpc_id #=> String
|
12023
12053
|
# resp.subnet.owner_id #=> String
|
@@ -19901,7 +19931,7 @@ module Aws::EC2
|
|
19901
19931
|
# @example Response structure
|
19902
19932
|
#
|
19903
19933
|
# resp.availability_zones #=> Array
|
19904
|
-
# resp.availability_zones[0].state #=> String, one of "available", "information", "impaired", "unavailable"
|
19934
|
+
# resp.availability_zones[0].state #=> String, one of "available", "information", "impaired", "unavailable", "constrained"
|
19905
19935
|
# resp.availability_zones[0].opt_in_status #=> String, one of "opt-in-not-required", "opted-in", "not-opted-in"
|
19906
19936
|
# resp.availability_zones[0].messages #=> Array
|
19907
19937
|
# resp.availability_zones[0].messages[0].message #=> String
|
@@ -33701,7 +33731,7 @@ module Aws::EC2
|
|
33701
33731
|
# resp.subnets[0].map_public_ip_on_launch #=> Boolean
|
33702
33732
|
# resp.subnets[0].map_customer_owned_ip_on_launch #=> Boolean
|
33703
33733
|
# resp.subnets[0].customer_owned_ipv_4_pool #=> String
|
33704
|
-
# resp.subnets[0].state #=> String, one of "pending", "available"
|
33734
|
+
# resp.subnets[0].state #=> String, one of "pending", "available", "unavailable"
|
33705
33735
|
# resp.subnets[0].subnet_id #=> String
|
33706
33736
|
# resp.subnets[0].vpc_id #=> String
|
33707
33737
|
# resp.subnets[0].owner_id #=> String
|
@@ -58727,7 +58757,7 @@ module Aws::EC2
|
|
58727
58757
|
params: params,
|
58728
58758
|
config: config)
|
58729
58759
|
context[:gem_name] = 'aws-sdk-ec2'
|
58730
|
-
context[:gem_version] = '1.
|
58760
|
+
context[:gem_version] = '1.436.0'
|
58731
58761
|
Seahorse::Client::Request.new(handlers, context)
|
58732
58762
|
end
|
58733
58763
|
|
@@ -4898,9 +4898,11 @@ module Aws::EC2
|
|
4898
4898
|
CreateNetworkAclRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
4899
4899
|
CreateNetworkAclRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
|
4900
4900
|
CreateNetworkAclRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
4901
|
+
CreateNetworkAclRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
4901
4902
|
CreateNetworkAclRequest.struct_class = Types::CreateNetworkAclRequest
|
4902
4903
|
|
4903
4904
|
CreateNetworkAclResult.add_member(:network_acl, Shapes::ShapeRef.new(shape: NetworkAcl, location_name: "networkAcl"))
|
4905
|
+
CreateNetworkAclResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
4904
4906
|
CreateNetworkAclResult.struct_class = Types::CreateNetworkAclResult
|
4905
4907
|
|
4906
4908
|
CreateNetworkInsightsAccessScopeRequest.add_member(:match_paths, Shapes::ShapeRef.new(shape: AccessScopePathListRequest, location_name: "MatchPath"))
|
@@ -5037,9 +5039,11 @@ module Aws::EC2
|
|
5037
5039
|
CreateRouteTableRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
5038
5040
|
CreateRouteTableRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
|
5039
5041
|
CreateRouteTableRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
5042
|
+
CreateRouteTableRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
5040
5043
|
CreateRouteTableRequest.struct_class = Types::CreateRouteTableRequest
|
5041
5044
|
|
5042
5045
|
CreateRouteTableResult.add_member(:route_table, Shapes::ShapeRef.new(shape: RouteTable, location_name: "routeTable"))
|
5046
|
+
CreateRouteTableResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
5043
5047
|
CreateRouteTableResult.struct_class = Types::CreateRouteTableResult
|
5044
5048
|
|
5045
5049
|
CreateSecurityGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, required: true, location_name: "GroupDescription"))
|
@@ -14,6 +14,7 @@ module Aws::EC2
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::EC2::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -766,7 +766,7 @@ module Aws::EC2
|
|
766
766
|
# disassociate it.
|
767
767
|
# @option options [String] :client_token
|
768
768
|
# Unique, case-sensitive identifier that you provide to ensure the
|
769
|
-
# idempotency of the request. For more information, see [
|
769
|
+
# idempotency of the request. For more information, see [Ensuring
|
770
770
|
# idempotency][1].
|
771
771
|
#
|
772
772
|
# Constraint: Maximum 64 ASCII characters.
|
@@ -842,6 +842,7 @@ module Aws::EC2
|
|
842
842
|
# ],
|
843
843
|
# },
|
844
844
|
# ],
|
845
|
+
# client_token: "String",
|
845
846
|
# })
|
846
847
|
# @param [Hash] options ({})
|
847
848
|
# @option options [Boolean] :dry_run
|
@@ -853,6 +854,14 @@ module Aws::EC2
|
|
853
854
|
# The ID of the VPC.
|
854
855
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
855
856
|
# The tags to assign to the network ACL.
|
857
|
+
# @option options [String] :client_token
|
858
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
859
|
+
# idempotency of the request. For more information, see [Ensuring
|
860
|
+
# idempotency][1].
|
861
|
+
#
|
862
|
+
#
|
863
|
+
#
|
864
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
|
856
865
|
# @return [NetworkAcl]
|
857
866
|
def create_network_acl(options = {})
|
858
867
|
resp = Aws::Plugins::UserAgent.feature('resource') do
|
@@ -1111,6 +1120,7 @@ module Aws::EC2
|
|
1111
1120
|
# ],
|
1112
1121
|
# },
|
1113
1122
|
# ],
|
1123
|
+
# client_token: "String",
|
1114
1124
|
# })
|
1115
1125
|
# @param [Hash] options ({})
|
1116
1126
|
# @option options [Boolean] :dry_run
|
@@ -1122,6 +1132,14 @@ module Aws::EC2
|
|
1122
1132
|
# The ID of the VPC.
|
1123
1133
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
1124
1134
|
# The tags to assign to the route table.
|
1135
|
+
# @option options [String] :client_token
|
1136
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
1137
|
+
# idempotency of the request. For more information, see [Ensuring
|
1138
|
+
# idempotency][1].
|
1139
|
+
#
|
1140
|
+
#
|
1141
|
+
#
|
1142
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
|
1125
1143
|
# @return [RouteTable]
|
1126
1144
|
def create_route_table(options = {})
|
1127
1145
|
resp = Aws::Plugins::UserAgent.feature('resource') do
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -7608,7 +7608,7 @@ module Aws::EC2
|
|
7608
7608
|
|
7609
7609
|
# @!attribute [rw] client_token
|
7610
7610
|
# Unique, case-sensitive identifier that you provide to ensure the
|
7611
|
-
# idempotency of the request. For more information, see [
|
7611
|
+
# idempotency of the request. For more information, see [Ensuring
|
7612
7612
|
# idempotency][1].
|
7613
7613
|
#
|
7614
7614
|
#
|
@@ -9334,7 +9334,7 @@ module Aws::EC2
|
|
9334
9334
|
#
|
9335
9335
|
# @!attribute [rw] client_token
|
9336
9336
|
# Unique, case-sensitive identifier that you provide to ensure the
|
9337
|
-
# idempotency of the request. For more information, see [
|
9337
|
+
# idempotency of the request. For more information, see [Ensuring
|
9338
9338
|
# idempotency][1].
|
9339
9339
|
#
|
9340
9340
|
# Constraint: Maximum 64 ASCII characters.
|
@@ -9534,12 +9534,26 @@ module Aws::EC2
|
|
9534
9534
|
# The tags to assign to the network ACL.
|
9535
9535
|
# @return [Array<Types::TagSpecification>]
|
9536
9536
|
#
|
9537
|
+
# @!attribute [rw] client_token
|
9538
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
9539
|
+
# idempotency of the request. For more information, see [Ensuring
|
9540
|
+
# idempotency][1].
|
9541
|
+
#
|
9542
|
+
# **A suitable default value is auto-generated.** You should normally
|
9543
|
+
# not need to pass this option.
|
9544
|
+
#
|
9545
|
+
#
|
9546
|
+
#
|
9547
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
|
9548
|
+
# @return [String]
|
9549
|
+
#
|
9537
9550
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclRequest AWS API Documentation
|
9538
9551
|
#
|
9539
9552
|
class CreateNetworkAclRequest < Struct.new(
|
9540
9553
|
:dry_run,
|
9541
9554
|
:vpc_id,
|
9542
|
-
:tag_specifications
|
9555
|
+
:tag_specifications,
|
9556
|
+
:client_token)
|
9543
9557
|
SENSITIVE = []
|
9544
9558
|
include Aws::Structure
|
9545
9559
|
end
|
@@ -9548,10 +9562,17 @@ module Aws::EC2
|
|
9548
9562
|
# Information about the network ACL.
|
9549
9563
|
# @return [Types::NetworkAcl]
|
9550
9564
|
#
|
9565
|
+
# @!attribute [rw] client_token
|
9566
|
+
# Unique, case-sensitive identifier to ensure the idempotency of the
|
9567
|
+
# request. Only returned if a client token was provided in the
|
9568
|
+
# request.
|
9569
|
+
# @return [String]
|
9570
|
+
#
|
9551
9571
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclResult AWS API Documentation
|
9552
9572
|
#
|
9553
9573
|
class CreateNetworkAclResult < Struct.new(
|
9554
|
-
:network_acl
|
9574
|
+
:network_acl,
|
9575
|
+
:client_token)
|
9555
9576
|
SENSITIVE = []
|
9556
9577
|
include Aws::Structure
|
9557
9578
|
end
|
@@ -10369,12 +10390,26 @@ module Aws::EC2
|
|
10369
10390
|
# The tags to assign to the route table.
|
10370
10391
|
# @return [Array<Types::TagSpecification>]
|
10371
10392
|
#
|
10393
|
+
# @!attribute [rw] client_token
|
10394
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
10395
|
+
# idempotency of the request. For more information, see [Ensuring
|
10396
|
+
# idempotency][1].
|
10397
|
+
#
|
10398
|
+
# **A suitable default value is auto-generated.** You should normally
|
10399
|
+
# not need to pass this option.
|
10400
|
+
#
|
10401
|
+
#
|
10402
|
+
#
|
10403
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
|
10404
|
+
# @return [String]
|
10405
|
+
#
|
10372
10406
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteTableRequest AWS API Documentation
|
10373
10407
|
#
|
10374
10408
|
class CreateRouteTableRequest < Struct.new(
|
10375
10409
|
:dry_run,
|
10376
10410
|
:vpc_id,
|
10377
|
-
:tag_specifications
|
10411
|
+
:tag_specifications,
|
10412
|
+
:client_token)
|
10378
10413
|
SENSITIVE = []
|
10379
10414
|
include Aws::Structure
|
10380
10415
|
end
|
@@ -10383,10 +10418,17 @@ module Aws::EC2
|
|
10383
10418
|
# Information about the route table.
|
10384
10419
|
# @return [Types::RouteTable]
|
10385
10420
|
#
|
10421
|
+
# @!attribute [rw] client_token
|
10422
|
+
# Unique, case-sensitive identifier to ensure the idempotency of the
|
10423
|
+
# request. Only returned if a client token was provided in the
|
10424
|
+
# request.
|
10425
|
+
# @return [String]
|
10426
|
+
#
|
10386
10427
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteTableResult AWS API Documentation
|
10387
10428
|
#
|
10388
10429
|
class CreateRouteTableResult < Struct.new(
|
10389
|
-
:route_table
|
10430
|
+
:route_table,
|
10431
|
+
:client_token)
|
10390
10432
|
SENSITIVE = []
|
10391
10433
|
include Aws::Structure
|
10392
10434
|
end
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -368,6 +368,7 @@ module Aws::EC2
|
|
368
368
|
# ],
|
369
369
|
# },
|
370
370
|
# ],
|
371
|
+
# client_token: "String",
|
371
372
|
# })
|
372
373
|
# @param [Hash] options ({})
|
373
374
|
# @option options [Boolean] :dry_run
|
@@ -377,6 +378,14 @@ module Aws::EC2
|
|
377
378
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
378
379
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
379
380
|
# The tags to assign to the network ACL.
|
381
|
+
# @option options [String] :client_token
|
382
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
383
|
+
# idempotency of the request. For more information, see [Ensuring
|
384
|
+
# idempotency][1].
|
385
|
+
#
|
386
|
+
#
|
387
|
+
#
|
388
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
|
380
389
|
# @return [NetworkAcl]
|
381
390
|
def create_network_acl(options = {})
|
382
391
|
options = options.merge(vpc_id: @id)
|
@@ -405,6 +414,7 @@ module Aws::EC2
|
|
405
414
|
# ],
|
406
415
|
# },
|
407
416
|
# ],
|
417
|
+
# client_token: "String",
|
408
418
|
# })
|
409
419
|
# @param [Hash] options ({})
|
410
420
|
# @option options [Boolean] :dry_run
|
@@ -414,6 +424,14 @@ module Aws::EC2
|
|
414
424
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
415
425
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
416
426
|
# The tags to assign to the route table.
|
427
|
+
# @option options [String] :client_token
|
428
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
429
|
+
# idempotency of the request. For more information, see [Ensuring
|
430
|
+
# idempotency][1].
|
431
|
+
#
|
432
|
+
#
|
433
|
+
#
|
434
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
|
417
435
|
# @return [RouteTable]
|
418
436
|
def create_route_table(options = {})
|
419
437
|
options = options.merge(vpc_id: @id)
|
data/lib/aws-sdk-ec2.rb
CHANGED
@@ -0,0 +1,102 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module EC2
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html
|
11
|
+
class ClassicAddress
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#initialize-instance_method
|
13
|
+
def initialize: (String public_ip, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (public_ip: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#public_ip-instance_method
|
18
|
+
def public_ip: () -> String
|
19
|
+
|
20
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#instance_id-instance_method
|
21
|
+
def instance_id: () -> ::String
|
22
|
+
|
23
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#allocation_id-instance_method
|
24
|
+
def allocation_id: () -> ::String
|
25
|
+
|
26
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#association_id-instance_method
|
27
|
+
def association_id: () -> ::String
|
28
|
+
|
29
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#domain-instance_method
|
30
|
+
def domain: () -> ("vpc" | "standard")
|
31
|
+
|
32
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#network_interface_id-instance_method
|
33
|
+
def network_interface_id: () -> ::String
|
34
|
+
|
35
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#network_interface_owner_id-instance_method
|
36
|
+
def network_interface_owner_id: () -> ::String
|
37
|
+
|
38
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#private_ip_address-instance_method
|
39
|
+
def private_ip_address: () -> ::String
|
40
|
+
|
41
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#tags-instance_method
|
42
|
+
def tags: () -> ::Array[Types::Tag]
|
43
|
+
|
44
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#public_ipv_4_pool-instance_method
|
45
|
+
def public_ipv_4_pool: () -> ::String
|
46
|
+
|
47
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#network_border_group-instance_method
|
48
|
+
def network_border_group: () -> ::String
|
49
|
+
|
50
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#customer_owned_ip-instance_method
|
51
|
+
def customer_owned_ip: () -> ::String
|
52
|
+
|
53
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#customer_owned_ipv_4_pool-instance_method
|
54
|
+
def customer_owned_ipv_4_pool: () -> ::String
|
55
|
+
|
56
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#carrier_ip-instance_method
|
57
|
+
def carrier_ip: () -> ::String
|
58
|
+
|
59
|
+
def client: () -> Client
|
60
|
+
|
61
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#load-instance_method
|
62
|
+
def load: () -> self
|
63
|
+
alias reload load
|
64
|
+
|
65
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#data-instance_method
|
66
|
+
def data: () -> Types::Address
|
67
|
+
|
68
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#data_loaded?-instance_method
|
69
|
+
def data_loaded?: () -> bool
|
70
|
+
|
71
|
+
|
72
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#associate-instance_method
|
73
|
+
def associate: (
|
74
|
+
?allocation_id: ::String,
|
75
|
+
?instance_id: ::String,
|
76
|
+
?allow_reassociation: bool,
|
77
|
+
?dry_run: bool,
|
78
|
+
?network_interface_id: ::String,
|
79
|
+
?private_ip_address: ::String
|
80
|
+
) -> Types::AssociateAddressResult
|
81
|
+
| (?Hash[Symbol, untyped]) -> Types::AssociateAddressResult
|
82
|
+
|
83
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#disassociate-instance_method
|
84
|
+
def disassociate: (
|
85
|
+
?association_id: ::String,
|
86
|
+
?dry_run: bool
|
87
|
+
) -> ::Aws::EmptyStructure
|
88
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
89
|
+
|
90
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#release-instance_method
|
91
|
+
def release: (
|
92
|
+
?allocation_id: ::String,
|
93
|
+
?network_border_group: ::String,
|
94
|
+
?dry_run: bool
|
95
|
+
) -> ::Aws::EmptyStructure
|
96
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
97
|
+
|
98
|
+
class Collection < ::Aws::Resources::Collection[ClassicAddress]
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|