aws-sdk-ec2 1.171.0 → 1.176.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
  #
@@ -459,7 +498,9 @@ module Aws::EC2
459
498
  # The AZ ID or the Local Zone ID of the subnet.
460
499
  # @option options [required, String] :cidr_block
461
500
  # The IPv4 network range for the subnet, in CIDR notation. For example,
462
- # `10.0.0.0/24`.
501
+ # `10.0.0.0/24`. We modify the specified CIDR block to its canonical
502
+ # form; for example, if you specify `100.68.0.18/18`, we modify it to
503
+ # `100.68.0.0/18`.
463
504
  # @option options [String] :ipv_6_cidr_block
464
505
  # The IPv6 network range for the subnet, in CIDR notation. The subnet
465
506
  # size must use a /64 prefix length.
@@ -1400,9 +1441,6 @@ module Aws::EC2
1400
1441
  # * `attachment.instance-owner-id` - The owner ID of the instance to
1401
1442
  # which the network interface is attached.
1402
1443
  #
1403
- # * `attachment.nat-gateway-id` - The ID of the NAT gateway to which the
1404
- # network interface is attached.
1405
- #
1406
1444
  # * `attachment.status` - The status of the attachment (`attaching` \|
1407
1445
  # `attached` \| `detaching` \| `detached`).
1408
1446
  #
@@ -1733,8 +1771,8 @@ module Aws::EC2
1733
1771
  # * `egress.ip-permission.ipv6-cidr` - An IPv6 CIDR block for an
1734
1772
  # outbound security group rule.
1735
1773
  #
1736
- # * `egress.ip-permission.prefix-list-id` - The ID (prefix) of the AWS
1737
- # service to which a security group rule allows outbound access.
1774
+ # * `egress.ip-permission.prefix-list-id` - The ID of a prefix list to
1775
+ # which a security group rule allows outbound access.
1738
1776
  #
1739
1777
  # * `egress.ip-permission.protocol` - The IP protocol for an outbound
1740
1778
  # security group rule (`tcp` \| `udp` \| `icmp` or a protocol number).
@@ -1764,8 +1802,8 @@ module Aws::EC2
1764
1802
  # * `ip-permission.ipv6-cidr` - An IPv6 CIDR block for an inbound
1765
1803
  # security group rule.
1766
1804
  #
1767
- # * `ip-permission.prefix-list-id` - The ID (prefix) of the AWS service
1768
- # from which a security group rule allows inbound access.
1805
+ # * `ip-permission.prefix-list-id` - The ID of a prefix list from which
1806
+ # a security group rule allows inbound access.
1769
1807
  #
1770
1808
  # * `ip-permission.protocol` - The IP protocol for an inbound security
1771
1809
  # group rule (`tcp` \| `udp` \| `icmp` or a protocol number).
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.171.0
4
+ version: 1.176.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-25 00:00:00.000000000 Z
11
+ date: 2020-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4