aws-sdk-ec2 1.172.0 → 1.173.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: 88c536d792da59536c4a34d93356e4602715069f02a447d441e82f5dab2dd99e
4
- data.tar.gz: d401e3e36ab7177b5d96d7eef179c6302501b3904f23a42dc3ee1ac0819d8921
3
+ metadata.gz: 74b8950b066d1ef0de87b333ef51abbfe1f125c8f7a6e7cab6ac941b4f03d344
4
+ data.tar.gz: 137cb4c3bde3e1443050052a4bb4f58ac8dd7c7c2afbc467ef9cf9ee60777500
5
5
  SHA512:
6
- metadata.gz: bbf03437c880e61b3b582a2df9f57024de330afd8b14637c1ade4434d4bfc125f633446764661d999e0d9bd6da90216bd9e8273b1634c4ee9ebea80a4dd96b0d
7
- data.tar.gz: efd154ded05df8355f90a7d209f1b3e987293c0eb35949aa99fd09207fb26e487a07e876360cbc2a6d1586c8e556a03a5b7f39d03d3db15ab6f63ee49abdc2aa
6
+ metadata.gz: 2bb44458e04d13777f80fc5e453578fc91e7fe43d86b758e2a2fee1f8fdc0a41fe1e78dcec31ecef31836f60a80801e498cd0b85e0d5898ac69ec0ab24e8b146
7
+ data.tar.gz: 901cbd9451c4e4ac5dc4319bbdad337f40a42c7e977be367f93414b333eba98c7e82e0f866f750d11b372867096e4c13da9538b93b8307c5d83c7e721bbd1f28
@@ -71,6 +71,6 @@ require_relative 'aws-sdk-ec2/customizations'
71
71
  # @service
72
72
  module Aws::EC2
73
73
 
74
- GEM_VERSION = '1.172.0'
74
+ GEM_VERSION = '1.173.0'
75
75
 
76
76
  end
@@ -4213,7 +4213,7 @@ module Aws::EC2
4213
4213
  # specify `ec2.internal`. If you're using AmazonProvidedDNS in
4214
4214
  # another Region, specify `region.compute.internal` (for example,
4215
4215
  # `ap-northeast-1.compute.internal`). Otherwise, specify a domain name
4216
- # (for example, `MyCompany.com`). This value is used to complete
4216
+ # (for example, `ExampleCompany.com`). This value is used to complete
4217
4217
  # unqualified DNS hostnames. **Important**\: Some Linux operating
4218
4218
  # systems accept multiple domain names separated by spaces. However,
4219
4219
  # Windows and other Linux operating systems treat the value as a
@@ -4248,6 +4248,9 @@ module Aws::EC2
4248
4248
  # @option params [required, Array<Types::NewDhcpConfiguration>] :dhcp_configurations
4249
4249
  # A DHCP configuration option.
4250
4250
  #
4251
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
4252
+ # The tags to assign to the DHCP option.
4253
+ #
4251
4254
  # @option params [Boolean] :dry_run
4252
4255
  # Checks whether you have the required permissions for the action,
4253
4256
  # without actually making the request, and provides an error response.
@@ -4304,6 +4307,17 @@ module Aws::EC2
4304
4307
  # values: ["String"],
4305
4308
  # },
4306
4309
  # ],
4310
+ # tag_specifications: [
4311
+ # {
4312
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4313
+ # tags: [
4314
+ # {
4315
+ # key: "String",
4316
+ # value: "String",
4317
+ # },
4318
+ # ],
4319
+ # },
4320
+ # ],
4307
4321
  # dry_run: false,
4308
4322
  # })
4309
4323
  #
@@ -4353,6 +4367,9 @@ module Aws::EC2
4353
4367
  # The ID of the VPC for which to create the egress-only internet
4354
4368
  # gateway.
4355
4369
  #
4370
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
4371
+ # The tags to assign to the egress-only internet gateway.
4372
+ #
4356
4373
  # @return [Types::CreateEgressOnlyInternetGatewayResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4357
4374
  #
4358
4375
  # * {Types::CreateEgressOnlyInternetGatewayResult#client_token #client_token} => String
@@ -4364,6 +4381,17 @@ module Aws::EC2
4364
4381
  # client_token: "String",
4365
4382
  # dry_run: false,
4366
4383
  # vpc_id: "VpcId", # required
4384
+ # tag_specifications: [
4385
+ # {
4386
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4387
+ # tags: [
4388
+ # {
4389
+ # key: "String",
4390
+ # value: "String",
4391
+ # },
4392
+ # ],
4393
+ # },
4394
+ # ],
4367
4395
  # })
4368
4396
  #
4369
4397
  # @example Response structure
@@ -5090,6 +5118,9 @@ module Aws::EC2
5090
5118
  #
5091
5119
  # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/
5092
5120
  #
5121
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
5122
+ # The tags to assign to the internet gateway.
5123
+ #
5093
5124
  # @option params [Boolean] :dry_run
5094
5125
  # Checks whether you have the required permissions for the action,
5095
5126
  # without actually making the request, and provides an error response.
@@ -5122,6 +5153,17 @@ module Aws::EC2
5122
5153
  # @example Request syntax with placeholder values
5123
5154
  #
5124
5155
  # resp = client.create_internet_gateway({
5156
+ # tag_specifications: [
5157
+ # {
5158
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5159
+ # tags: [
5160
+ # {
5161
+ # key: "String",
5162
+ # value: "String",
5163
+ # },
5164
+ # ],
5165
+ # },
5166
+ # ],
5125
5167
  # dry_run: false,
5126
5168
  # })
5127
5169
  #
@@ -6204,6 +6246,9 @@ module Aws::EC2
6204
6246
  # @option params [required, String] :vpc_id
6205
6247
  # The ID of the VPC.
6206
6248
  #
6249
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
6250
+ # The tags to assign to the network ACL.
6251
+ #
6207
6252
  # @return [Types::CreateNetworkAclResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6208
6253
  #
6209
6254
  # * {Types::CreateNetworkAclResult#network_acl #network_acl} => Types::NetworkAcl
@@ -6251,6 +6296,17 @@ module Aws::EC2
6251
6296
  # resp = client.create_network_acl({
6252
6297
  # dry_run: false,
6253
6298
  # vpc_id: "VpcId", # required
6299
+ # tag_specifications: [
6300
+ # {
6301
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6302
+ # tags: [
6303
+ # {
6304
+ # key: "String",
6305
+ # value: "String",
6306
+ # },
6307
+ # ],
6308
+ # },
6309
+ # ],
6254
6310
  # })
6255
6311
  #
6256
6312
  # @example Response structure
@@ -6484,6 +6540,9 @@ module Aws::EC2
6484
6540
  # @option params [required, String] :subnet_id
6485
6541
  # The ID of the subnet to associate with the network interface.
6486
6542
  #
6543
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
6544
+ # The tags to apply to the new network interface.
6545
+ #
6487
6546
  # @return [Types::CreateNetworkInterfaceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6488
6547
  #
6489
6548
  # * {Types::CreateNetworkInterfaceResult#network_interface #network_interface} => Types::NetworkInterface
@@ -6555,6 +6614,17 @@ module Aws::EC2
6555
6614
  # secondary_private_ip_address_count: 1,
6556
6615
  # interface_type: "efa", # accepts efa
6557
6616
  # subnet_id: "SubnetId", # required
6617
+ # tag_specifications: [
6618
+ # {
6619
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6620
+ # tags: [
6621
+ # {
6622
+ # key: "String",
6623
+ # value: "String",
6624
+ # },
6625
+ # ],
6626
+ # },
6627
+ # ],
6558
6628
  # })
6559
6629
  #
6560
6630
  # @example Response structure
@@ -7157,6 +7227,9 @@ module Aws::EC2
7157
7227
  # @option params [String] :vpc_id
7158
7228
  # \[EC2-VPC\] The ID of the VPC. Required for EC2-VPC.
7159
7229
  #
7230
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
7231
+ # The tags to assign to the security group.
7232
+ #
7160
7233
  # @option params [Boolean] :dry_run
7161
7234
  # Checks whether you have the required permissions for the action,
7162
7235
  # without actually making the request, and provides an error response.
@@ -7166,6 +7239,7 @@ module Aws::EC2
7166
7239
  # @return [Types::CreateSecurityGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7167
7240
  #
7168
7241
  # * {Types::CreateSecurityGroupResult#group_id #group_id} => String
7242
+ # * {Types::CreateSecurityGroupResult#tags #tags} => Array&lt;Types::Tag&gt;
7169
7243
  #
7170
7244
  #
7171
7245
  # @example Example: To create a security group for a VPC
@@ -7189,12 +7263,26 @@ module Aws::EC2
7189
7263
  # description: "String", # required
7190
7264
  # group_name: "String", # required
7191
7265
  # vpc_id: "VpcId",
7266
+ # tag_specifications: [
7267
+ # {
7268
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7269
+ # tags: [
7270
+ # {
7271
+ # key: "String",
7272
+ # value: "String",
7273
+ # },
7274
+ # ],
7275
+ # },
7276
+ # ],
7192
7277
  # dry_run: false,
7193
7278
  # })
7194
7279
  #
7195
7280
  # @example Response structure
7196
7281
  #
7197
7282
  # resp.group_id #=> String
7283
+ # resp.tags #=> Array
7284
+ # resp.tags[0].key #=> String
7285
+ # resp.tags[0].value #=> String
7198
7286
  #
7199
7287
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSecurityGroup AWS API Documentation
7200
7288
  #
@@ -7524,6 +7612,9 @@ module Aws::EC2
7524
7612
  #
7525
7613
  # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html
7526
7614
  #
7615
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
7616
+ # The tags to assign to the subnet.
7617
+ #
7527
7618
  # @option params [String] :availability_zone
7528
7619
  # The Availability Zone or Local Zone for the subnet.
7529
7620
  #
@@ -7600,6 +7691,17 @@ module Aws::EC2
7600
7691
  # @example Request syntax with placeholder values
7601
7692
  #
7602
7693
  # resp = client.create_subnet({
7694
+ # tag_specifications: [
7695
+ # {
7696
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7697
+ # tags: [
7698
+ # {
7699
+ # key: "String",
7700
+ # value: "String",
7701
+ # },
7702
+ # ],
7703
+ # },
7704
+ # ],
7603
7705
  # availability_zone: "String",
7604
7706
  # availability_zone_id: "String",
7605
7707
  # cidr_block: "String", # required
@@ -8959,6 +9061,9 @@ module Aws::EC2
8959
9061
  # You must set `AmazonProvidedIpv6CidrBlock` to `true` to use this
8960
9062
  # parameter.
8961
9063
  #
9064
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
9065
+ # The tags to assign to the VPC.
9066
+ #
8962
9067
  # @return [Types::CreateVpcResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8963
9068
  #
8964
9069
  # * {Types::CreateVpcResult#vpc #vpc} => Types::Vpc
@@ -8993,6 +9098,17 @@ module Aws::EC2
8993
9098
  # dry_run: false,
8994
9099
  # instance_tenancy: "default", # accepts default, dedicated, host
8995
9100
  # ipv_6_cidr_block_network_border_group: "String",
9101
+ # tag_specifications: [
9102
+ # {
9103
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9104
+ # tags: [
9105
+ # {
9106
+ # key: "String",
9107
+ # value: "String",
9108
+ # },
9109
+ # ],
9110
+ # },
9111
+ # ],
8996
9112
  # })
8997
9113
  #
8998
9114
  # @example Response structure
@@ -37617,7 +37733,7 @@ module Aws::EC2
37617
37733
  params: params,
37618
37734
  config: config)
37619
37735
  context[:gem_name] = 'aws-sdk-ec2'
37620
- context[:gem_version] = '1.172.0'
37736
+ context[:gem_version] = '1.173.0'
37621
37737
  Seahorse::Client::Request.new(handlers, context)
37622
37738
  end
37623
37739
 
@@ -2913,6 +2913,7 @@ module Aws::EC2
2913
2913
  CreateDefaultVpcResult.struct_class = Types::CreateDefaultVpcResult
2914
2914
 
2915
2915
  CreateDhcpOptionsRequest.add_member(:dhcp_configurations, Shapes::ShapeRef.new(shape: NewDhcpConfigurationList, required: true, location_name: "dhcpConfiguration"))
2916
+ CreateDhcpOptionsRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
2916
2917
  CreateDhcpOptionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
2917
2918
  CreateDhcpOptionsRequest.struct_class = Types::CreateDhcpOptionsRequest
2918
2919
 
@@ -2922,6 +2923,7 @@ module Aws::EC2
2922
2923
  CreateEgressOnlyInternetGatewayRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
2923
2924
  CreateEgressOnlyInternetGatewayRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
2924
2925
  CreateEgressOnlyInternetGatewayRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
2926
+ CreateEgressOnlyInternetGatewayRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
2925
2927
  CreateEgressOnlyInternetGatewayRequest.struct_class = Types::CreateEgressOnlyInternetGatewayRequest
2926
2928
 
2927
2929
  CreateEgressOnlyInternetGatewayResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
@@ -3018,6 +3020,7 @@ module Aws::EC2
3018
3020
  CreateInstanceExportTaskResult.add_member(:export_task, Shapes::ShapeRef.new(shape: ExportTask, location_name: "exportTask"))
3019
3021
  CreateInstanceExportTaskResult.struct_class = Types::CreateInstanceExportTaskResult
3020
3022
 
3023
+ CreateInternetGatewayRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
3021
3024
  CreateInternetGatewayRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
3022
3025
  CreateInternetGatewayRequest.struct_class = Types::CreateInternetGatewayRequest
3023
3026
 
@@ -3109,6 +3112,7 @@ module Aws::EC2
3109
3112
 
3110
3113
  CreateNetworkAclRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
3111
3114
  CreateNetworkAclRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
3115
+ CreateNetworkAclRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
3112
3116
  CreateNetworkAclRequest.struct_class = Types::CreateNetworkAclRequest
3113
3117
 
3114
3118
  CreateNetworkAclResult.add_member(:network_acl, Shapes::ShapeRef.new(shape: NetworkAcl, location_name: "networkAcl"))
@@ -3134,6 +3138,7 @@ module Aws::EC2
3134
3138
  CreateNetworkInterfaceRequest.add_member(:secondary_private_ip_address_count, Shapes::ShapeRef.new(shape: Integer, location_name: "secondaryPrivateIpAddressCount"))
3135
3139
  CreateNetworkInterfaceRequest.add_member(:interface_type, Shapes::ShapeRef.new(shape: NetworkInterfaceCreationType, location_name: "InterfaceType"))
3136
3140
  CreateNetworkInterfaceRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "subnetId"))
3141
+ CreateNetworkInterfaceRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
3137
3142
  CreateNetworkInterfaceRequest.struct_class = Types::CreateNetworkInterfaceRequest
3138
3143
 
3139
3144
  CreateNetworkInterfaceResult.add_member(:network_interface, Shapes::ShapeRef.new(shape: NetworkInterface, location_name: "networkInterface"))
@@ -3186,10 +3191,12 @@ module Aws::EC2
3186
3191
  CreateSecurityGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, required: true, location_name: "GroupDescription"))
3187
3192
  CreateSecurityGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "GroupName"))
3188
3193
  CreateSecurityGroupRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "VpcId"))
3194
+ CreateSecurityGroupRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
3189
3195
  CreateSecurityGroupRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
3190
3196
  CreateSecurityGroupRequest.struct_class = Types::CreateSecurityGroupRequest
3191
3197
 
3192
3198
  CreateSecurityGroupResult.add_member(:group_id, Shapes::ShapeRef.new(shape: String, location_name: "groupId"))
3199
+ CreateSecurityGroupResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
3193
3200
  CreateSecurityGroupResult.struct_class = Types::CreateSecurityGroupResult
3194
3201
 
3195
3202
  CreateSnapshotRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
@@ -3216,6 +3223,7 @@ module Aws::EC2
3216
3223
  CreateSpotDatafeedSubscriptionResult.add_member(:spot_datafeed_subscription, Shapes::ShapeRef.new(shape: SpotDatafeedSubscription, location_name: "spotDatafeedSubscription"))
3217
3224
  CreateSpotDatafeedSubscriptionResult.struct_class = Types::CreateSpotDatafeedSubscriptionResult
3218
3225
 
3226
+ CreateSubnetRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
3219
3227
  CreateSubnetRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
3220
3228
  CreateSubnetRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZoneId"))
3221
3229
  CreateSubnetRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
@@ -3431,6 +3439,7 @@ module Aws::EC2
3431
3439
  CreateVpcRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
3432
3440
  CreateVpcRequest.add_member(:instance_tenancy, Shapes::ShapeRef.new(shape: Tenancy, location_name: "instanceTenancy"))
3433
3441
  CreateVpcRequest.add_member(:ipv_6_cidr_block_network_border_group, Shapes::ShapeRef.new(shape: String, location_name: "Ipv6CidrBlockNetworkBorderGroup"))
3442
+ CreateVpcRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
3434
3443
  CreateVpcRequest.struct_class = Types::CreateVpcRequest
3435
3444
 
3436
3445
  CreateVpcResult.add_member(:vpc, Shapes::ShapeRef.new(shape: Vpc, location_name: "vpc"))
@@ -44,11 +44,24 @@ module Aws::EC2
44
44
  # values: ["String"],
45
45
  # },
46
46
  # ],
47
+ # tag_specifications: [
48
+ # {
49
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
50
+ # tags: [
51
+ # {
52
+ # key: "String",
53
+ # value: "String",
54
+ # },
55
+ # ],
56
+ # },
57
+ # ],
47
58
  # dry_run: false,
48
59
  # })
49
60
  # @param [Hash] options ({})
50
61
  # @option options [required, Array<Types::NewDhcpConfiguration>] :dhcp_configurations
51
62
  # A DHCP configuration option.
63
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
64
+ # The tags to assign to the DHCP option.
52
65
  # @option options [Boolean] :dry_run
53
66
  # Checks whether you have the required permissions for the action,
54
67
  # without actually making the request, and provides an error response.
@@ -514,9 +527,22 @@ module Aws::EC2
514
527
  # @example Request syntax with placeholder values
515
528
  #
516
529
  # internetgateway = ec2.create_internet_gateway({
530
+ # tag_specifications: [
531
+ # {
532
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
533
+ # tags: [
534
+ # {
535
+ # key: "String",
536
+ # value: "String",
537
+ # },
538
+ # ],
539
+ # },
540
+ # ],
517
541
  # dry_run: false,
518
542
  # })
519
543
  # @param [Hash] options ({})
544
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
545
+ # The tags to assign to the internet gateway.
520
546
  # @option options [Boolean] :dry_run
521
547
  # Checks whether you have the required permissions for the action,
522
548
  # without actually making the request, and provides an error response.
@@ -629,6 +655,17 @@ module Aws::EC2
629
655
  # networkacl = ec2.create_network_acl({
630
656
  # dry_run: false,
631
657
  # vpc_id: "VpcId", # required
658
+ # tag_specifications: [
659
+ # {
660
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
661
+ # tags: [
662
+ # {
663
+ # key: "String",
664
+ # value: "String",
665
+ # },
666
+ # ],
667
+ # },
668
+ # ],
632
669
  # })
633
670
  # @param [Hash] options ({})
634
671
  # @option options [Boolean] :dry_run
@@ -638,6 +675,8 @@ module Aws::EC2
638
675
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
639
676
  # @option options [required, String] :vpc_id
640
677
  # The ID of the VPC.
678
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
679
+ # The tags to assign to the network ACL.
641
680
  # @return [NetworkAcl]
642
681
  def create_network_acl(options = {})
643
682
  resp = @client.create_network_acl(options)
@@ -670,6 +709,17 @@ module Aws::EC2
670
709
  # secondary_private_ip_address_count: 1,
671
710
  # interface_type: "efa", # accepts efa
672
711
  # subnet_id: "SubnetId", # required
712
+ # tag_specifications: [
713
+ # {
714
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
715
+ # tags: [
716
+ # {
717
+ # key: "String",
718
+ # value: "String",
719
+ # },
720
+ # ],
721
+ # },
722
+ # ],
673
723
  # })
674
724
  # @param [Hash] options ({})
675
725
  # @option options [String] :description
@@ -724,6 +774,8 @@ module Aws::EC2
724
774
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html
725
775
  # @option options [required, String] :subnet_id
726
776
  # The ID of the subnet to associate with the network interface.
777
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
778
+ # The tags to apply to the new network interface.
727
779
  # @return [NetworkInterface]
728
780
  def create_network_interface(options = {})
729
781
  resp = @client.create_network_interface(options)
@@ -810,6 +862,17 @@ module Aws::EC2
810
862
  # description: "String", # required
811
863
  # group_name: "String", # required
812
864
  # vpc_id: "VpcId",
865
+ # tag_specifications: [
866
+ # {
867
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
868
+ # tags: [
869
+ # {
870
+ # key: "String",
871
+ # value: "String",
872
+ # },
873
+ # ],
874
+ # },
875
+ # ],
813
876
  # dry_run: false,
814
877
  # })
815
878
  # @param [Hash] options ({})
@@ -833,6 +896,8 @@ module Aws::EC2
833
896
  # .\_-:/()#,@\[\]+=&amp;;\\\{\\}!$*
834
897
  # @option options [String] :vpc_id
835
898
  # \[EC2-VPC\] The ID of the VPC. Required for EC2-VPC.
899
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
900
+ # The tags to assign to the security group.
836
901
  # @option options [Boolean] :dry_run
837
902
  # Checks whether you have the required permissions for the action,
838
903
  # without actually making the request, and provides an error response.
@@ -890,6 +955,17 @@ module Aws::EC2
890
955
  # @example Request syntax with placeholder values
891
956
  #
892
957
  # subnet = ec2.create_subnet({
958
+ # tag_specifications: [
959
+ # {
960
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
961
+ # tags: [
962
+ # {
963
+ # key: "String",
964
+ # value: "String",
965
+ # },
966
+ # ],
967
+ # },
968
+ # ],
893
969
  # availability_zone: "String",
894
970
  # availability_zone_id: "String",
895
971
  # cidr_block: "String", # required
@@ -899,6 +975,8 @@ module Aws::EC2
899
975
  # dry_run: false,
900
976
  # })
901
977
  # @param [Hash] options ({})
978
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
979
+ # The tags to assign to the subnet.
902
980
  # @option options [String] :availability_zone
903
981
  # The Availability Zone or Local Zone for the subnet.
904
982
  #
@@ -1159,6 +1237,17 @@ module Aws::EC2
1159
1237
  # dry_run: false,
1160
1238
  # instance_tenancy: "default", # accepts default, dedicated, host
1161
1239
  # ipv_6_cidr_block_network_border_group: "String",
1240
+ # tag_specifications: [
1241
+ # {
1242
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
1243
+ # tags: [
1244
+ # {
1245
+ # key: "String",
1246
+ # value: "String",
1247
+ # },
1248
+ # ],
1249
+ # },
1250
+ # ],
1162
1251
  # })
1163
1252
  # @param [Hash] options ({})
1164
1253
  # @option options [required, String] :cidr_block
@@ -1201,6 +1290,8 @@ module Aws::EC2
1201
1290
  #
1202
1291
  # You must set `AmazonProvidedIpv6CidrBlock` to `true` to use this
1203
1292
  # parameter.
1293
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
1294
+ # The tags to assign to the VPC.
1204
1295
  # @return [Vpc]
1205
1296
  def create_vpc(options = {})
1206
1297
  resp = @client.create_vpc(options)
@@ -735,6 +735,17 @@ module Aws::EC2
735
735
  # ],
736
736
  # secondary_private_ip_address_count: 1,
737
737
  # interface_type: "efa", # accepts efa
738
+ # tag_specifications: [
739
+ # {
740
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
741
+ # tags: [
742
+ # {
743
+ # key: "String",
744
+ # value: "String",
745
+ # },
746
+ # ],
747
+ # },
748
+ # ],
738
749
  # })
739
750
  # @param [Hash] options ({})
740
751
  # @option options [String] :description
@@ -787,6 +798,8 @@ module Aws::EC2
787
798
  #
788
799
  #
789
800
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html
801
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
802
+ # The tags to apply to the new network interface.
790
803
  # @return [NetworkInterface]
791
804
  def create_network_interface(options = {})
792
805
  options = options.merge(subnet_id: @id)
@@ -5226,6 +5226,17 @@ module Aws::EC2
5226
5226
  # values: ["String"],
5227
5227
  # },
5228
5228
  # ],
5229
+ # tag_specifications: [
5230
+ # {
5231
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5232
+ # tags: [
5233
+ # {
5234
+ # key: "String",
5235
+ # value: "String",
5236
+ # },
5237
+ # ],
5238
+ # },
5239
+ # ],
5229
5240
  # dry_run: false,
5230
5241
  # }
5231
5242
  #
@@ -5233,6 +5244,10 @@ module Aws::EC2
5233
5244
  # A DHCP configuration option.
5234
5245
  # @return [Array<Types::NewDhcpConfiguration>]
5235
5246
  #
5247
+ # @!attribute [rw] tag_specifications
5248
+ # The tags to assign to the DHCP option.
5249
+ # @return [Array<Types::TagSpecification>]
5250
+ #
5236
5251
  # @!attribute [rw] dry_run
5237
5252
  # Checks whether you have the required permissions for the action,
5238
5253
  # without actually making the request, and provides an error response.
@@ -5244,6 +5259,7 @@ module Aws::EC2
5244
5259
  #
5245
5260
  class CreateDhcpOptionsRequest < Struct.new(
5246
5261
  :dhcp_configurations,
5262
+ :tag_specifications,
5247
5263
  :dry_run)
5248
5264
  SENSITIVE = []
5249
5265
  include Aws::Structure
@@ -5268,6 +5284,17 @@ module Aws::EC2
5268
5284
  # client_token: "String",
5269
5285
  # dry_run: false,
5270
5286
  # vpc_id: "VpcId", # required
5287
+ # tag_specifications: [
5288
+ # {
5289
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5290
+ # tags: [
5291
+ # {
5292
+ # key: "String",
5293
+ # value: "String",
5294
+ # },
5295
+ # ],
5296
+ # },
5297
+ # ],
5271
5298
  # }
5272
5299
  #
5273
5300
  # @!attribute [rw] client_token
@@ -5292,12 +5319,17 @@ module Aws::EC2
5292
5319
  # gateway.
5293
5320
  # @return [String]
5294
5321
  #
5322
+ # @!attribute [rw] tag_specifications
5323
+ # The tags to assign to the egress-only internet gateway.
5324
+ # @return [Array<Types::TagSpecification>]
5325
+ #
5295
5326
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateEgressOnlyInternetGatewayRequest AWS API Documentation
5296
5327
  #
5297
5328
  class CreateEgressOnlyInternetGatewayRequest < Struct.new(
5298
5329
  :client_token,
5299
5330
  :dry_run,
5300
- :vpc_id)
5331
+ :vpc_id,
5332
+ :tag_specifications)
5301
5333
  SENSITIVE = []
5302
5334
  include Aws::Structure
5303
5335
  end
@@ -6069,9 +6101,24 @@ module Aws::EC2
6069
6101
  # data as a hash:
6070
6102
  #
6071
6103
  # {
6104
+ # tag_specifications: [
6105
+ # {
6106
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6107
+ # tags: [
6108
+ # {
6109
+ # key: "String",
6110
+ # value: "String",
6111
+ # },
6112
+ # ],
6113
+ # },
6114
+ # ],
6072
6115
  # dry_run: false,
6073
6116
  # }
6074
6117
  #
6118
+ # @!attribute [rw] tag_specifications
6119
+ # The tags to assign to the internet gateway.
6120
+ # @return [Array<Types::TagSpecification>]
6121
+ #
6075
6122
  # @!attribute [rw] dry_run
6076
6123
  # Checks whether you have the required permissions for the action,
6077
6124
  # without actually making the request, and provides an error response.
@@ -6082,6 +6129,7 @@ module Aws::EC2
6082
6129
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInternetGatewayRequest AWS API Documentation
6083
6130
  #
6084
6131
  class CreateInternetGatewayRequest < Struct.new(
6132
+ :tag_specifications,
6085
6133
  :dry_run)
6086
6134
  SENSITIVE = []
6087
6135
  include Aws::Structure
@@ -6996,6 +7044,17 @@ module Aws::EC2
6996
7044
  # {
6997
7045
  # dry_run: false,
6998
7046
  # vpc_id: "VpcId", # required
7047
+ # tag_specifications: [
7048
+ # {
7049
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7050
+ # tags: [
7051
+ # {
7052
+ # key: "String",
7053
+ # value: "String",
7054
+ # },
7055
+ # ],
7056
+ # },
7057
+ # ],
6999
7058
  # }
7000
7059
  #
7001
7060
  # @!attribute [rw] dry_run
@@ -7009,11 +7068,16 @@ module Aws::EC2
7009
7068
  # The ID of the VPC.
7010
7069
  # @return [String]
7011
7070
  #
7071
+ # @!attribute [rw] tag_specifications
7072
+ # The tags to assign to the network ACL.
7073
+ # @return [Array<Types::TagSpecification>]
7074
+ #
7012
7075
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclRequest AWS API Documentation
7013
7076
  #
7014
7077
  class CreateNetworkAclRequest < Struct.new(
7015
7078
  :dry_run,
7016
- :vpc_id)
7079
+ :vpc_id,
7080
+ :tag_specifications)
7017
7081
  SENSITIVE = []
7018
7082
  include Aws::Structure
7019
7083
  end
@@ -7117,6 +7181,17 @@ module Aws::EC2
7117
7181
  # secondary_private_ip_address_count: 1,
7118
7182
  # interface_type: "efa", # accepts efa
7119
7183
  # subnet_id: "SubnetId", # required
7184
+ # tag_specifications: [
7185
+ # {
7186
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7187
+ # tags: [
7188
+ # {
7189
+ # key: "String",
7190
+ # value: "String",
7191
+ # },
7192
+ # ],
7193
+ # },
7194
+ # ],
7120
7195
  # }
7121
7196
  #
7122
7197
  # @!attribute [rw] description
@@ -7192,6 +7267,10 @@ module Aws::EC2
7192
7267
  # The ID of the subnet to associate with the network interface.
7193
7268
  # @return [String]
7194
7269
  #
7270
+ # @!attribute [rw] tag_specifications
7271
+ # The tags to apply to the new network interface.
7272
+ # @return [Array<Types::TagSpecification>]
7273
+ #
7195
7274
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterfaceRequest AWS API Documentation
7196
7275
  #
7197
7276
  class CreateNetworkInterfaceRequest < Struct.new(
@@ -7204,7 +7283,8 @@ module Aws::EC2
7204
7283
  :private_ip_addresses,
7205
7284
  :secondary_private_ip_address_count,
7206
7285
  :interface_type,
7207
- :subnet_id)
7286
+ :subnet_id,
7287
+ :tag_specifications)
7208
7288
  SENSITIVE = []
7209
7289
  include Aws::Structure
7210
7290
  end
@@ -7525,6 +7605,17 @@ module Aws::EC2
7525
7605
  # description: "String", # required
7526
7606
  # group_name: "String", # required
7527
7607
  # vpc_id: "VpcId",
7608
+ # tag_specifications: [
7609
+ # {
7610
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7611
+ # tags: [
7612
+ # {
7613
+ # key: "String",
7614
+ # value: "String",
7615
+ # },
7616
+ # ],
7617
+ # },
7618
+ # ],
7528
7619
  # dry_run: false,
7529
7620
  # }
7530
7621
  #
@@ -7555,6 +7646,10 @@ module Aws::EC2
7555
7646
  # \[EC2-VPC\] The ID of the VPC. Required for EC2-VPC.
7556
7647
  # @return [String]
7557
7648
  #
7649
+ # @!attribute [rw] tag_specifications
7650
+ # The tags to assign to the security group.
7651
+ # @return [Array<Types::TagSpecification>]
7652
+ #
7558
7653
  # @!attribute [rw] dry_run
7559
7654
  # Checks whether you have the required permissions for the action,
7560
7655
  # without actually making the request, and provides an error response.
@@ -7568,6 +7663,7 @@ module Aws::EC2
7568
7663
  :description,
7569
7664
  :group_name,
7570
7665
  :vpc_id,
7666
+ :tag_specifications,
7571
7667
  :dry_run)
7572
7668
  SENSITIVE = []
7573
7669
  include Aws::Structure
@@ -7577,10 +7673,15 @@ module Aws::EC2
7577
7673
  # The ID of the security group.
7578
7674
  # @return [String]
7579
7675
  #
7676
+ # @!attribute [rw] tags
7677
+ # The tags assigned to the security group.
7678
+ # @return [Array<Types::Tag>]
7679
+ #
7580
7680
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSecurityGroupResult AWS API Documentation
7581
7681
  #
7582
7682
  class CreateSecurityGroupResult < Struct.new(
7583
- :group_id)
7683
+ :group_id,
7684
+ :tags)
7584
7685
  SENSITIVE = []
7585
7686
  include Aws::Structure
7586
7687
  end
@@ -7762,6 +7863,17 @@ module Aws::EC2
7762
7863
  # data as a hash:
7763
7864
  #
7764
7865
  # {
7866
+ # tag_specifications: [
7867
+ # {
7868
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7869
+ # tags: [
7870
+ # {
7871
+ # key: "String",
7872
+ # value: "String",
7873
+ # },
7874
+ # ],
7875
+ # },
7876
+ # ],
7765
7877
  # availability_zone: "String",
7766
7878
  # availability_zone_id: "String",
7767
7879
  # cidr_block: "String", # required
@@ -7771,6 +7883,10 @@ module Aws::EC2
7771
7883
  # dry_run: false,
7772
7884
  # }
7773
7885
  #
7886
+ # @!attribute [rw] tag_specifications
7887
+ # The tags to assign to the subnet.
7888
+ # @return [Array<Types::TagSpecification>]
7889
+ #
7774
7890
  # @!attribute [rw] availability_zone
7775
7891
  # The Availability Zone or Local Zone for the subnet.
7776
7892
  #
@@ -7827,6 +7943,7 @@ module Aws::EC2
7827
7943
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnetRequest AWS API Documentation
7828
7944
  #
7829
7945
  class CreateSubnetRequest < Struct.new(
7946
+ :tag_specifications,
7830
7947
  :availability_zone,
7831
7948
  :availability_zone_id,
7832
7949
  :cidr_block,
@@ -9377,6 +9494,17 @@ module Aws::EC2
9377
9494
  # dry_run: false,
9378
9495
  # instance_tenancy: "default", # accepts default, dedicated, host
9379
9496
  # ipv_6_cidr_block_network_border_group: "String",
9497
+ # tag_specifications: [
9498
+ # {
9499
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9500
+ # tags: [
9501
+ # {
9502
+ # key: "String",
9503
+ # value: "String",
9504
+ # },
9505
+ # ],
9506
+ # },
9507
+ # ],
9380
9508
  # }
9381
9509
  #
9382
9510
  # @!attribute [rw] cidr_block
@@ -9434,6 +9562,10 @@ module Aws::EC2
9434
9562
  # parameter.
9435
9563
  # @return [String]
9436
9564
  #
9565
+ # @!attribute [rw] tag_specifications
9566
+ # The tags to assign to the VPC.
9567
+ # @return [Array<Types::TagSpecification>]
9568
+ #
9437
9569
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcRequest AWS API Documentation
9438
9570
  #
9439
9571
  class CreateVpcRequest < Struct.new(
@@ -9443,7 +9575,8 @@ module Aws::EC2
9443
9575
  :ipv_6_cidr_block,
9444
9576
  :dry_run,
9445
9577
  :instance_tenancy,
9446
- :ipv_6_cidr_block_network_border_group)
9578
+ :ipv_6_cidr_block_network_border_group,
9579
+ :tag_specifications)
9447
9580
  SENSITIVE = []
9448
9581
  include Aws::Structure
9449
9582
  end
@@ -46862,15 +46995,19 @@ module Aws::EC2
46862
46995
  # @!attribute [rw] resource_type
46863
46996
  # The type of resource to tag. Currently, the resource types that
46864
46997
  # support tagging on creation are: `capacity-reservation` \|
46865
- # `client-vpn-endpoint` \| `dedicated-host` \| `fleet` \| `fpga-image`
46866
- # \| `host-reservation` \| `instance` \| `ipv4pool-ec2` \|
46867
- # `ipv6pool-ec2` \| `key-pair` \| `launch-template` \| `natgateway` \|
46868
- # `spot-fleet-request` \| `placement-group` \| `prefix-list` \|
46869
- # `snapshot` \| `traffic-mirror-filter` \| `traffic-mirror-session` \|
46998
+ # `client-vpn-endpoint` \| `dedicated-host` \| `dhcp-options` \|
46999
+ # `export-image-task` \| `export-instance-task` \| `fleet` \|
47000
+ # `fpga-image` \| `host-reservation` \| `import-image-task` \|
47001
+ # `import-snapshot-task` \| `instance` \| `internet-gateway` \|
47002
+ # `ipv4pool-ec2` \| `ipv6pool-ec2` \| `key-pair` \| `launch-template`
47003
+ # \| `placement-group` \| `prefix-list` \| `launch-template` \|
47004
+ # `natgateway` \| `network-acl` \| `security-group` \|
47005
+ # `spot-fleet-request` \| `snapshot` \| `subnet` \|
47006
+ # `traffic-mirror-filter` \| `traffic-mirror-session` \|
46870
47007
  # `traffic-mirror-target` \| `transit-gateway` \|
46871
47008
  # `transit-gateway-attachment` \| `transit-gateway-route-table` \|
46872
- # `vpc-endpoint` (for interface and gateway endpoints) \|
46873
- # `vpc-endpoint-service` (for AWS PrivateLink) \| `volume` \|
47009
+ # `volume` \|`vpc` \| `vpc-endpoint` (for interface and gateway
47010
+ # endpoints) \| `vpc-endpoint-service` (for AWS PrivateLink) \|
46874
47011
  # `vpc-flow-log`.
46875
47012
  #
46876
47013
  # To tag a resource after it has been created, see [CreateTags][1].
@@ -345,6 +345,17 @@ module Aws::EC2
345
345
  #
346
346
  # networkacl = vpc.create_network_acl({
347
347
  # dry_run: false,
348
+ # tag_specifications: [
349
+ # {
350
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
351
+ # tags: [
352
+ # {
353
+ # key: "String",
354
+ # value: "String",
355
+ # },
356
+ # ],
357
+ # },
358
+ # ],
348
359
  # })
349
360
  # @param [Hash] options ({})
350
361
  # @option options [Boolean] :dry_run
@@ -352,6 +363,8 @@ module Aws::EC2
352
363
  # without actually making the request, and provides an error response.
353
364
  # If you have the required permissions, the error response is
354
365
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
366
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
367
+ # The tags to assign to the network ACL.
355
368
  # @return [NetworkAcl]
356
369
  def create_network_acl(options = {})
357
370
  options = options.merge(vpc_id: @id)
@@ -390,6 +403,17 @@ module Aws::EC2
390
403
  # securitygroup = vpc.create_security_group({
391
404
  # description: "String", # required
392
405
  # group_name: "String", # required
406
+ # tag_specifications: [
407
+ # {
408
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
409
+ # tags: [
410
+ # {
411
+ # key: "String",
412
+ # value: "String",
413
+ # },
414
+ # ],
415
+ # },
416
+ # ],
393
417
  # dry_run: false,
394
418
  # })
395
419
  # @param [Hash] options ({})
@@ -411,6 +435,8 @@ module Aws::EC2
411
435
  #
412
436
  # Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and
413
437
  # .\_-:/()#,@\[\]+=&amp;;\\\{\\}!$*
438
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
439
+ # The tags to assign to the security group.
414
440
  # @option options [Boolean] :dry_run
415
441
  # Checks whether you have the required permissions for the action,
416
442
  # without actually making the request, and provides an error response.
@@ -429,6 +455,17 @@ module Aws::EC2
429
455
  # @example Request syntax with placeholder values
430
456
  #
431
457
  # subnet = vpc.create_subnet({
458
+ # tag_specifications: [
459
+ # {
460
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
461
+ # tags: [
462
+ # {
463
+ # key: "String",
464
+ # value: "String",
465
+ # },
466
+ # ],
467
+ # },
468
+ # ],
432
469
  # availability_zone: "String",
433
470
  # availability_zone_id: "String",
434
471
  # cidr_block: "String", # required
@@ -437,6 +474,8 @@ module Aws::EC2
437
474
  # dry_run: false,
438
475
  # })
439
476
  # @param [Hash] options ({})
477
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
478
+ # The tags to assign to the subnet.
440
479
  # @option options [String] :availability_zone
441
480
  # The Availability Zone or Local Zone for the subnet.
442
481
  #
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.172.0
4
+ version: 1.173.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: 2020-06-29 00:00:00.000000000 Z
11
+ date: 2020-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4