aws-sdk-ec2 1.172.0 → 1.177.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
  #
@@ -1661,8 +1700,6 @@ module Aws::EC2
1661
1700
  # filter to find all resources assigned a tag with a specific key,
1662
1701
  # regardless of the tag value.
1663
1702
  #
1664
- # * `transit-gateway-id` - The ID of a transit gateway.
1665
- #
1666
1703
  # * `vpc-id` - The ID of the VPC for the route table.
1667
1704
  # @option options [Boolean] :dry_run
1668
1705
  # Checks whether you have the required permissions for the action,
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.177.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-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4