aws-sdk-ec2 1.245.0 → 1.249.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: 97d06e5bc03fed7eb9d26f6b5babd72c1b13303ce34e07ff11dae456512cd35e
4
- data.tar.gz: 1aec60952aa02aa18d934526cce5ca9c5782e3b8d5b1da0d27b40592587d7a40
3
+ metadata.gz: a231ecbae35e67550c84ee23e4816f0f8457728adf9a8689c7e1da9b169f5090
4
+ data.tar.gz: 36822e29dd39911194efb1844c0b7ffafa1c0a7d95f1aa310c761649701fd292
5
5
  SHA512:
6
- metadata.gz: 59558cbb57b0241a4e657e0dae731ae4f067081717ffe4655b9d9114a4293f2286813d99f51693d7dfb03c061b9bd22ff668aaaa7b3094f231fa38dd4e31c389
7
- data.tar.gz: 7ff4bdaa641dd5eb6853cf5b55c00574702f3d637ca3fab04462f20d3b7d9da25e5c6dd1a8cfbdac5d00d44ad9d97d0c73fd682ec4cf5f7b4893cd42ae7c99a8
6
+ metadata.gz: 68e4c6bddcacc6aa0d134edc184ba561201528095ab6dc6dd9eb1fa3dd84c9ab75c0e9a859c935875e2346e50c7fecccfc873de72255ef86ce54361b096d4bba
7
+ data.tar.gz: 704df21e5600b9d2e05f9e385f4b754c20757a7a719d830dbc4de38ce9069e5b87402de29a5adaf70f10bccf5d99825c79f5a6a1ee6a02fe0b52a84c6dc7e08d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.249.0 (2021-07-15)
5
+ ------------------
6
+
7
+ * Feature - This feature enables customers to specify weekly recurring time window(s) for scheduled events that reboot, stop or terminate EC2 instances.
8
+
9
+ 1.248.0 (2021-07-07)
10
+ ------------------
11
+
12
+ * Feature - This release adds resource ids and tagging support for VPC security group rules.
13
+
14
+ 1.247.0 (2021-07-02)
15
+ ------------------
16
+
17
+ * Feature - This release removes network-insights-boundary
18
+
19
+ 1.246.0 (2021-07-01)
20
+ ------------------
21
+
22
+ * Feature - Adding a new reserved field to support future infrastructure improvements for Amazon EC2 Fleet.
23
+
4
24
  1.245.0 (2021-06-23)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.245.0
1
+ 1.249.0
data/lib/aws-sdk-ec2.rb CHANGED
@@ -72,6 +72,6 @@ require_relative 'aws-sdk-ec2/customizations'
72
72
  # @!group service
73
73
  module Aws::EC2
74
74
 
75
- GEM_VERSION = '1.245.0'
75
+ GEM_VERSION = '1.249.0'
76
76
 
77
77
  end
@@ -842,7 +842,7 @@ module Aws::EC2
842
842
  # dry_run: false,
843
843
  # tag_specifications: [
844
844
  # {
845
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
845
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
846
846
  # tags: [
847
847
  # {
848
848
  # key: "String",
@@ -955,7 +955,7 @@ module Aws::EC2
955
955
  # quantity: 1, # required
956
956
  # tag_specifications: [
957
957
  # {
958
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
958
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
959
959
  # tags: [
960
960
  # {
961
961
  # key: "String",
@@ -1474,26 +1474,26 @@ module Aws::EC2
1474
1474
  req.send_request(options)
1475
1475
  end
1476
1476
 
1477
- # Associates an AWS Identity and Access Management (IAM) role with an
1478
- # AWS Certificate Manager (ACM) certificate. This enables the
1479
- # certificate to be used by the ACM for Nitro Enclaves application
1480
- # inside an enclave. For more information, see [AWS Certificate Manager
1481
- # for Nitro Enclaves][1] in the *AWS Nitro Enclaves User Guide*.
1477
+ # Associates an Identity and Access Management (IAM) role with an
1478
+ # Certificate Manager (ACM) certificate. This enables the certificate to
1479
+ # be used by the ACM for Nitro Enclaves application inside an enclave.
1480
+ # For more information, see [Certificate Manager for Nitro Enclaves][1]
1481
+ # in the *Amazon Web Services Nitro Enclaves User Guide*.
1482
1482
  #
1483
1483
  # When the IAM role is associated with the ACM certificate, the
1484
1484
  # certificate, certificate chain, and encrypted private key are placed
1485
1485
  # in an Amazon S3 bucket that only the associated IAM role can access.
1486
- # The private key of the certificate is encrypted with an AWS-managed
1487
- # KMS customer master (CMK) that has an attached attestation-based CMK
1486
+ # The private key of the certificate is encrypted with an Amazon Web
1487
+ # Services managed key that has an attached attestation-based key
1488
1488
  # policy.
1489
1489
  #
1490
1490
  # To enable the IAM role to access the Amazon S3 object, you must grant
1491
1491
  # it permission to call `s3:GetObject` on the Amazon S3 bucket returned
1492
- # by the command. To enable the IAM role to access the AWS KMS CMK, you
1493
- # must grant it permission to call `kms:Decrypt` on the AWS KMS CMK
1494
- # returned by the command. For more information, see [ Grant the role
1495
- # permission to access the certificate and encryption key][2] in the
1496
- # *AWS Nitro Enclaves User Guide*.
1492
+ # by the command. To enable the IAM role to access the KMS key, you must
1493
+ # grant it permission to call `kms:Decrypt` on the KMS key returned by
1494
+ # the command. For more information, see [ Grant the role permission to
1495
+ # access the certificate and encryption key][2] in the *Amazon Web
1496
+ # Services Nitro Enclaves User Guide*.
1497
1497
  #
1498
1498
  #
1499
1499
  #
@@ -1609,6 +1609,81 @@ module Aws::EC2
1609
1609
  req.send_request(options)
1610
1610
  end
1611
1611
 
1612
+ # Associates one or more targets with an event window. Only one type of
1613
+ # target (instance IDs, Dedicated Host IDs, or tags) can be specified
1614
+ # with an event window.
1615
+ #
1616
+ # For more information, see [Define event windows for scheduled
1617
+ # events][1] in the *Amazon EC2 User Guide*.
1618
+ #
1619
+ #
1620
+ #
1621
+ # [1]: https://docs.aws.amazon.com/monitoring-instances-status-check_sched.html#event-windows
1622
+ #
1623
+ # @option params [Boolean] :dry_run
1624
+ # Checks whether you have the required permissions for the action,
1625
+ # without actually making the request, and provides an error response.
1626
+ # If you have the required permissions, the error response is
1627
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
1628
+ #
1629
+ # @option params [required, String] :instance_event_window_id
1630
+ # The ID of the event window.
1631
+ #
1632
+ # @option params [required, Types::InstanceEventWindowAssociationRequest] :association_target
1633
+ # One or more targets associated with the specified event window.
1634
+ #
1635
+ # @return [Types::AssociateInstanceEventWindowResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1636
+ #
1637
+ # * {Types::AssociateInstanceEventWindowResult#instance_event_window #instance_event_window} => Types::InstanceEventWindow
1638
+ #
1639
+ # @example Request syntax with placeholder values
1640
+ #
1641
+ # resp = client.associate_instance_event_window({
1642
+ # dry_run: false,
1643
+ # instance_event_window_id: "InstanceEventWindowId", # required
1644
+ # association_target: { # required
1645
+ # instance_ids: ["InstanceId"],
1646
+ # instance_tags: [
1647
+ # {
1648
+ # key: "String",
1649
+ # value: "String",
1650
+ # },
1651
+ # ],
1652
+ # dedicated_host_ids: ["DedicatedHostId"],
1653
+ # },
1654
+ # })
1655
+ #
1656
+ # @example Response structure
1657
+ #
1658
+ # resp.instance_event_window.instance_event_window_id #=> String
1659
+ # resp.instance_event_window.time_ranges #=> Array
1660
+ # resp.instance_event_window.time_ranges[0].start_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
1661
+ # resp.instance_event_window.time_ranges[0].start_hour #=> Integer
1662
+ # resp.instance_event_window.time_ranges[0].end_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
1663
+ # resp.instance_event_window.time_ranges[0].end_hour #=> Integer
1664
+ # resp.instance_event_window.name #=> String
1665
+ # resp.instance_event_window.cron_expression #=> String
1666
+ # resp.instance_event_window.association_target.instance_ids #=> Array
1667
+ # resp.instance_event_window.association_target.instance_ids[0] #=> String
1668
+ # resp.instance_event_window.association_target.tags #=> Array
1669
+ # resp.instance_event_window.association_target.tags[0].key #=> String
1670
+ # resp.instance_event_window.association_target.tags[0].value #=> String
1671
+ # resp.instance_event_window.association_target.dedicated_host_ids #=> Array
1672
+ # resp.instance_event_window.association_target.dedicated_host_ids[0] #=> String
1673
+ # resp.instance_event_window.state #=> String, one of "creating", "deleting", "active", "deleted"
1674
+ # resp.instance_event_window.tags #=> Array
1675
+ # resp.instance_event_window.tags[0].key #=> String
1676
+ # resp.instance_event_window.tags[0].value #=> String
1677
+ #
1678
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateInstanceEventWindow AWS API Documentation
1679
+ #
1680
+ # @overload associate_instance_event_window(params = {})
1681
+ # @param [Hash] params ({})
1682
+ def associate_instance_event_window(params = {}, options = {})
1683
+ req = build_request(:associate_instance_event_window, params)
1684
+ req.send_request(options)
1685
+ end
1686
+
1612
1687
  # Associates a subnet in your VPC or an internet gateway or virtual
1613
1688
  # private gateway attached to your VPC with a route table in your VPC.
1614
1689
  # This association causes traffic from the subnet or gateway to be
@@ -2400,12 +2475,12 @@ module Aws::EC2
2400
2475
  req.send_request(options)
2401
2476
  end
2402
2477
 
2403
- # \[VPC only\] Adds the specified egress rules to a security group for
2404
- # use with a VPC.
2478
+ # \[VPC only\] Adds the specified outbound (egress) rules to a security
2479
+ # group for use with a VPC.
2405
2480
  #
2406
2481
  # An outbound rule permits instances to send traffic to the specified
2407
- # IPv4 or IPv6 CIDR address ranges, or to the instances associated with
2408
- # the specified destination security groups.
2482
+ # IPv4 or IPv6 CIDR address ranges, or to the instances that are
2483
+ # associated with the specified destination security groups.
2409
2484
  #
2410
2485
  # You specify a protocol for each rule (for example, TCP). For the TCP
2411
2486
  # and UDP protocols, you must also specify the destination port or port
@@ -2416,8 +2491,8 @@ module Aws::EC2
2416
2491
  # Rule changes are propagated to affected instances as quickly as
2417
2492
  # possible. However, a small delay might occur.
2418
2493
  #
2419
- # For more information about VPC security group limits, see [Amazon VPC
2420
- # Limits][1].
2494
+ # For information about VPC security group quotas, see [Amazon VPC
2495
+ # quotas][1].
2421
2496
  #
2422
2497
  #
2423
2498
  #
@@ -2436,6 +2511,9 @@ module Aws::EC2
2436
2511
  # The sets of IP permissions. You can't specify a destination security
2437
2512
  # group and a CIDR IP address range in the same set of permissions.
2438
2513
  #
2514
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
2515
+ # The tags applied to the security group rule.
2516
+ #
2439
2517
  # @option params [String] :cidr_ip
2440
2518
  # Not supported. Use a set of IP permissions to specify the CIDR.
2441
2519
  #
@@ -2457,7 +2535,10 @@ module Aws::EC2
2457
2535
  # Not supported. Use a set of IP permissions to specify a destination
2458
2536
  # security group.
2459
2537
  #
2460
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2538
+ # @return [Types::AuthorizeSecurityGroupEgressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2539
+ #
2540
+ # * {Types::AuthorizeSecurityGroupEgressResult#return #return} => Boolean
2541
+ # * {Types::AuthorizeSecurityGroupEgressResult#security_group_rules #security_group_rules} => Array&lt;Types::SecurityGroupRule&gt;
2461
2542
  #
2462
2543
  #
2463
2544
  # @example Example: To add a rule that allows outbound traffic to a specific address range
@@ -2549,6 +2630,17 @@ module Aws::EC2
2549
2630
  # ],
2550
2631
  # },
2551
2632
  # ],
2633
+ # tag_specifications: [
2634
+ # {
2635
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
2636
+ # tags: [
2637
+ # {
2638
+ # key: "String",
2639
+ # value: "String",
2640
+ # },
2641
+ # ],
2642
+ # },
2643
+ # ],
2552
2644
  # cidr_ip: "String",
2553
2645
  # from_port: 1,
2554
2646
  # ip_protocol: "String",
@@ -2557,6 +2649,30 @@ module Aws::EC2
2557
2649
  # source_security_group_owner_id: "String",
2558
2650
  # })
2559
2651
  #
2652
+ # @example Response structure
2653
+ #
2654
+ # resp.return #=> Boolean
2655
+ # resp.security_group_rules #=> Array
2656
+ # resp.security_group_rules[0].security_group_rule_id #=> String
2657
+ # resp.security_group_rules[0].group_id #=> String
2658
+ # resp.security_group_rules[0].group_owner_id #=> String
2659
+ # resp.security_group_rules[0].is_egress #=> Boolean
2660
+ # resp.security_group_rules[0].ip_protocol #=> String
2661
+ # resp.security_group_rules[0].from_port #=> Integer
2662
+ # resp.security_group_rules[0].to_port #=> Integer
2663
+ # resp.security_group_rules[0].cidr_ipv_4 #=> String
2664
+ # resp.security_group_rules[0].cidr_ipv_6 #=> String
2665
+ # resp.security_group_rules[0].prefix_list_id #=> String
2666
+ # resp.security_group_rules[0].referenced_group_info.group_id #=> String
2667
+ # resp.security_group_rules[0].referenced_group_info.peering_status #=> String
2668
+ # resp.security_group_rules[0].referenced_group_info.user_id #=> String
2669
+ # resp.security_group_rules[0].referenced_group_info.vpc_id #=> String
2670
+ # resp.security_group_rules[0].referenced_group_info.vpc_peering_connection_id #=> String
2671
+ # resp.security_group_rules[0].description #=> String
2672
+ # resp.security_group_rules[0].tags #=> Array
2673
+ # resp.security_group_rules[0].tags[0].key #=> String
2674
+ # resp.security_group_rules[0].tags[0].value #=> String
2675
+ #
2560
2676
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupEgress AWS API Documentation
2561
2677
  #
2562
2678
  # @overload authorize_security_group_egress(params = {})
@@ -2566,11 +2682,11 @@ module Aws::EC2
2566
2682
  req.send_request(options)
2567
2683
  end
2568
2684
 
2569
- # Adds the specified ingress rules to a security group.
2685
+ # Adds the specified inbound (ingress) rules to a security group.
2570
2686
  #
2571
2687
  # An inbound rule permits instances to receive traffic from the
2572
- # specified IPv4 or IPv6 CIDR address ranges, or from the instances
2573
- # associated with the specified destination security groups.
2688
+ # specified IPv4 or IPv6 CIDR address range, or from the instances that
2689
+ # are associated with the specified destination security groups.
2574
2690
  #
2575
2691
  # You specify a protocol for each rule (for example, TCP). For TCP and
2576
2692
  # UDP, you must also specify the destination port or port range. For
@@ -2580,8 +2696,8 @@ module Aws::EC2
2580
2696
  # Rule changes are propagated to instances within the security group as
2581
2697
  # quickly as possible. However, a small delay might occur.
2582
2698
  #
2583
- # For more information about VPC security group limits, see [Amazon VPC
2584
- # Limits][1].
2699
+ # For more information about VPC security group quotas, see [Amazon VPC
2700
+ # quotas][1].
2585
2701
  #
2586
2702
  #
2587
2703
  #
@@ -2641,13 +2757,14 @@ module Aws::EC2
2641
2757
  # EC2-VPC, the source security group must be in the same VPC.
2642
2758
  #
2643
2759
  # @option params [String] :source_security_group_owner_id
2644
- # \[nondefault VPC\] The AWS account ID for the source security group,
2645
- # if the source security group is in a different account. You can't
2646
- # specify this parameter in combination with the following parameters:
2647
- # the CIDR IP address range, the IP protocol, the start of the port
2648
- # range, and the end of the port range. Creates rules that grant full
2649
- # ICMP, UDP, and TCP access. To create a rule with a specific IP
2650
- # protocol and port range, use a set of IP permissions instead.
2760
+ # \[nondefault VPC\] The Amazon Web Services account ID for the source
2761
+ # security group, if the source security group is in a different
2762
+ # account. You can't specify this parameter in combination with the
2763
+ # following parameters: the CIDR IP address range, the IP protocol, the
2764
+ # start of the port range, and the end of the port range. Creates rules
2765
+ # that grant full ICMP, UDP, and TCP access. To create a rule with a
2766
+ # specific IP protocol and port range, use a set of IP permissions
2767
+ # instead.
2651
2768
  #
2652
2769
  # @option params [Integer] :to_port
2653
2770
  # The end of port range for the TCP and UDP protocols, or an ICMP code
@@ -2663,7 +2780,13 @@ module Aws::EC2
2663
2780
  # If you have the required permissions, the error response is
2664
2781
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
2665
2782
  #
2666
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2783
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
2784
+ # \[VPC Only\] The tags applied to the security group rule.
2785
+ #
2786
+ # @return [Types::AuthorizeSecurityGroupIngressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2787
+ #
2788
+ # * {Types::AuthorizeSecurityGroupIngressResult#return #return} => Boolean
2789
+ # * {Types::AuthorizeSecurityGroupIngressResult#security_group_rules #security_group_rules} => Array&lt;Types::SecurityGroupRule&gt;
2667
2790
  #
2668
2791
  #
2669
2792
  # @example Example: To add a rule that allows inbound SSH traffic from an IPv4 address range
@@ -2793,8 +2916,43 @@ module Aws::EC2
2793
2916
  # source_security_group_owner_id: "String",
2794
2917
  # to_port: 1,
2795
2918
  # dry_run: false,
2919
+ # tag_specifications: [
2920
+ # {
2921
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
2922
+ # tags: [
2923
+ # {
2924
+ # key: "String",
2925
+ # value: "String",
2926
+ # },
2927
+ # ],
2928
+ # },
2929
+ # ],
2796
2930
  # })
2797
2931
  #
2932
+ # @example Response structure
2933
+ #
2934
+ # resp.return #=> Boolean
2935
+ # resp.security_group_rules #=> Array
2936
+ # resp.security_group_rules[0].security_group_rule_id #=> String
2937
+ # resp.security_group_rules[0].group_id #=> String
2938
+ # resp.security_group_rules[0].group_owner_id #=> String
2939
+ # resp.security_group_rules[0].is_egress #=> Boolean
2940
+ # resp.security_group_rules[0].ip_protocol #=> String
2941
+ # resp.security_group_rules[0].from_port #=> Integer
2942
+ # resp.security_group_rules[0].to_port #=> Integer
2943
+ # resp.security_group_rules[0].cidr_ipv_4 #=> String
2944
+ # resp.security_group_rules[0].cidr_ipv_6 #=> String
2945
+ # resp.security_group_rules[0].prefix_list_id #=> String
2946
+ # resp.security_group_rules[0].referenced_group_info.group_id #=> String
2947
+ # resp.security_group_rules[0].referenced_group_info.peering_status #=> String
2948
+ # resp.security_group_rules[0].referenced_group_info.user_id #=> String
2949
+ # resp.security_group_rules[0].referenced_group_info.vpc_id #=> String
2950
+ # resp.security_group_rules[0].referenced_group_info.vpc_peering_connection_id #=> String
2951
+ # resp.security_group_rules[0].description #=> String
2952
+ # resp.security_group_rules[0].tags #=> Array
2953
+ # resp.security_group_rules[0].tags[0].key #=> String
2954
+ # resp.security_group_rules[0].tags[0].value #=> String
2955
+ #
2798
2956
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupIngress AWS API Documentation
2799
2957
  #
2800
2958
  # @overload authorize_security_group_ingress(params = {})
@@ -3772,7 +3930,7 @@ module Aws::EC2
3772
3930
  # source_snapshot_id: "String", # required
3773
3931
  # tag_specifications: [
3774
3932
  # {
3775
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
3933
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
3776
3934
  # tags: [
3777
3935
  # {
3778
3936
  # key: "String",
@@ -3863,10 +4021,10 @@ module Aws::EC2
3863
4021
  # Reservation can have one of the following tenancy settings:
3864
4022
  #
3865
4023
  # * `default` - The Capacity Reservation is created on hardware that is
3866
- # shared with other AWS accounts.
4024
+ # shared with other accounts.
3867
4025
  #
3868
4026
  # * `dedicated` - The Capacity Reservation is created on single-tenant
3869
- # hardware that is dedicated to a single AWS account.
4027
+ # hardware that is dedicated to a single account.
3870
4028
  #
3871
4029
  # @option params [required, Integer] :instance_count
3872
4030
  # The number of instances for which to reserve capacity.
@@ -3961,7 +4119,7 @@ module Aws::EC2
3961
4119
  # instance_match_criteria: "open", # accepts open, targeted
3962
4120
  # tag_specifications: [
3963
4121
  # {
3964
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4122
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
3965
4123
  # tags: [
3966
4124
  # {
3967
4125
  # key: "String",
@@ -4050,7 +4208,7 @@ module Aws::EC2
4050
4208
  # vpc_id: "VpcId", # required
4051
4209
  # tag_specifications: [
4052
4210
  # {
4053
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4211
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4054
4212
  # tags: [
4055
4213
  # {
4056
4214
  # key: "String",
@@ -4239,7 +4397,7 @@ module Aws::EC2
4239
4397
  # client_token: "String",
4240
4398
  # tag_specifications: [
4241
4399
  # {
4242
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4400
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4243
4401
  # tags: [
4244
4402
  # {
4245
4403
  # key: "String",
@@ -4456,7 +4614,7 @@ module Aws::EC2
4456
4614
  # type: "ipsec.1", # required, accepts ipsec.1
4457
4615
  # tag_specifications: [
4458
4616
  # {
4459
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4617
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4460
4618
  # tags: [
4461
4619
  # {
4462
4620
  # key: "String",
@@ -4740,7 +4898,7 @@ module Aws::EC2
4740
4898
  # ],
4741
4899
  # tag_specifications: [
4742
4900
  # {
4743
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4901
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4744
4902
  # tags: [
4745
4903
  # {
4746
4904
  # key: "String",
@@ -4814,7 +4972,7 @@ module Aws::EC2
4814
4972
  # vpc_id: "VpcId", # required
4815
4973
  # tag_specifications: [
4816
4974
  # {
4817
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4975
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4818
4976
  # tags: [
4819
4977
  # {
4820
4978
  # key: "String",
@@ -4895,7 +5053,7 @@ module Aws::EC2
4895
5053
  # Fleet expires.
4896
5054
  #
4897
5055
  # @option params [String] :type
4898
- # The type of request. The default value is `maintain`.
5056
+ # The fleet type. The default value is `maintain`.
4899
5057
  #
4900
5058
  # * `maintain` - The EC2 Fleet places an asynchronous request for your
4901
5059
  # desired capacity, and continues to maintain your desired Spot
@@ -4938,16 +5096,24 @@ module Aws::EC2
4938
5096
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#ec2-fleet-health-checks
4939
5097
  #
4940
5098
  # @option params [Array<Types::TagSpecification>] :tag_specifications
4941
- # The key-value pair for tagging the EC2 Fleet request on creation. The
4942
- # value for `ResourceType` must be `fleet`, otherwise the fleet request
4943
- # fails. To tag instances at launch, specify the tags in the [launch
4944
- # template][1]. For information about tagging after launch, see [Tagging
4945
- # your resources][2].
5099
+ # The key-value pair for tagging the EC2 Fleet request on creation. For
5100
+ # more information, see [Tagging your resources][1].
5101
+ #
5102
+ # If the fleet type is `instant`, specify a resource type of `fleet` to
5103
+ # tag the fleet or `instance` to tag the instances at launch.
4946
5104
  #
5105
+ # If the fleet type is `maintain` or `request`, specify a resource type
5106
+ # of `fleet` to tag the fleet. You cannot specify a resource type of
5107
+ # `instance`. To tag instances at launch, specify the tags in a [launch
5108
+ # template][2].
4947
5109
  #
4948
5110
  #
4949
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template
4950
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources
5111
+ #
5112
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources
5113
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template
5114
+ #
5115
+ # @option params [String] :context
5116
+ # Reserved.
4951
5117
  #
4952
5118
  # @return [Types::CreateFleetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4953
5119
  #
@@ -5027,7 +5193,7 @@ module Aws::EC2
5027
5193
  # replace_unhealthy_instances: false,
5028
5194
  # tag_specifications: [
5029
5195
  # {
5030
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5196
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5031
5197
  # tags: [
5032
5198
  # {
5033
5199
  # key: "String",
@@ -5036,6 +5202,7 @@ module Aws::EC2
5036
5202
  # ],
5037
5203
  # },
5038
5204
  # ],
5205
+ # context: "String",
5039
5206
  # })
5040
5207
  #
5041
5208
  # @example Response structure
@@ -5233,7 +5400,7 @@ module Aws::EC2
5233
5400
  # log_format: "String",
5234
5401
  # tag_specifications: [
5235
5402
  # {
5236
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5403
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5237
5404
  # tags: [
5238
5405
  # {
5239
5406
  # key: "String",
@@ -5332,7 +5499,7 @@ module Aws::EC2
5332
5499
  # client_token: "String",
5333
5500
  # tag_specifications: [
5334
5501
  # {
5335
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5502
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5336
5503
  # tags: [
5337
5504
  # {
5338
5505
  # key: "String",
@@ -5486,7 +5653,7 @@ module Aws::EC2
5486
5653
  # no_reboot: false,
5487
5654
  # tag_specifications: [
5488
5655
  # {
5489
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5656
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5490
5657
  # tags: [
5491
5658
  # {
5492
5659
  # key: "String",
@@ -5510,6 +5677,144 @@ module Aws::EC2
5510
5677
  req.send_request(options)
5511
5678
  end
5512
5679
 
5680
+ # Creates an event window in which scheduled events for the associated
5681
+ # Amazon EC2 instances can run.
5682
+ #
5683
+ # You can define either a set of time ranges or a cron expression when
5684
+ # creating the event window, but not both. All event window times are in
5685
+ # UTC.
5686
+ #
5687
+ # You can create up to 200 event windows per Amazon Web Services Region.
5688
+ #
5689
+ # When you create the event window, targets (instance IDs, Dedicated
5690
+ # Host IDs, or tags) are not yet associated with it. To ensure that the
5691
+ # event window can be used, you must associate one or more targets with
5692
+ # it by using the AssociateInstanceEventWindow API.
5693
+ #
5694
+ # Event windows are applicable only for scheduled events that stop,
5695
+ # reboot, or terminate instances.
5696
+ #
5697
+ # Event windows are *not* applicable for:
5698
+ #
5699
+ # * Expedited scheduled events and network maintenance events.
5700
+ #
5701
+ # * Unscheduled maintenance such as AutoRecovery and unplanned reboots.
5702
+ #
5703
+ # For more information, see [Define event windows for scheduled
5704
+ # events][1] in the *Amazon EC2 User Guide*.
5705
+ #
5706
+ #
5707
+ #
5708
+ # [1]: https://docs.aws.amazon.com/monitoring-instances-status-check_sched.html#event-windows
5709
+ #
5710
+ # @option params [Boolean] :dry_run
5711
+ # Checks whether you have the required permissions for the action,
5712
+ # without actually making the request, and provides an error response.
5713
+ # If you have the required permissions, the error response is
5714
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
5715
+ #
5716
+ # @option params [String] :name
5717
+ # The name of the event window.
5718
+ #
5719
+ # @option params [Array<Types::InstanceEventWindowTimeRangeRequest>] :time_ranges
5720
+ # The time range for the event window. If you specify a time range, you
5721
+ # can't specify a cron expression.
5722
+ #
5723
+ # @option params [String] :cron_expression
5724
+ # The cron expression for the event window, for example, `* 0-4,20-23 *
5725
+ # * 1,5`. If you specify a cron expression, you can't specify a time
5726
+ # range.
5727
+ #
5728
+ # Constraints:
5729
+ #
5730
+ # * Only hour and day of the week values are supported.
5731
+ #
5732
+ # * For day of the week values, you can specify either integers `0`
5733
+ # through `6`, or alternative single values `SUN` through `SAT`.
5734
+ #
5735
+ # * The minute, month, and year must be specified by `*`.
5736
+ #
5737
+ # * The hour value must be one or a multiple range, for example, `0-4`
5738
+ # or `0-4,20-23`.
5739
+ #
5740
+ # * Each hour range must be &gt;= 2 hours, for example, `0-2` or
5741
+ # `20-23`.
5742
+ #
5743
+ # * The event window must be &gt;= 4 hours. The combined total time
5744
+ # ranges in the event window must be &gt;= 4 hours.
5745
+ #
5746
+ # For more information about cron expressions, see [cron][1] on the
5747
+ # *Wikipedia website*.
5748
+ #
5749
+ #
5750
+ #
5751
+ # [1]: https://en.wikipedia.org/wiki/Cron
5752
+ #
5753
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
5754
+ # The tags to apply to the event window.
5755
+ #
5756
+ # @return [Types::CreateInstanceEventWindowResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5757
+ #
5758
+ # * {Types::CreateInstanceEventWindowResult#instance_event_window #instance_event_window} => Types::InstanceEventWindow
5759
+ #
5760
+ # @example Request syntax with placeholder values
5761
+ #
5762
+ # resp = client.create_instance_event_window({
5763
+ # dry_run: false,
5764
+ # name: "String",
5765
+ # time_ranges: [
5766
+ # {
5767
+ # start_week_day: "sunday", # accepts sunday, monday, tuesday, wednesday, thursday, friday, saturday
5768
+ # start_hour: 1,
5769
+ # end_week_day: "sunday", # accepts sunday, monday, tuesday, wednesday, thursday, friday, saturday
5770
+ # end_hour: 1,
5771
+ # },
5772
+ # ],
5773
+ # cron_expression: "InstanceEventWindowCronExpression",
5774
+ # tag_specifications: [
5775
+ # {
5776
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5777
+ # tags: [
5778
+ # {
5779
+ # key: "String",
5780
+ # value: "String",
5781
+ # },
5782
+ # ],
5783
+ # },
5784
+ # ],
5785
+ # })
5786
+ #
5787
+ # @example Response structure
5788
+ #
5789
+ # resp.instance_event_window.instance_event_window_id #=> String
5790
+ # resp.instance_event_window.time_ranges #=> Array
5791
+ # resp.instance_event_window.time_ranges[0].start_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
5792
+ # resp.instance_event_window.time_ranges[0].start_hour #=> Integer
5793
+ # resp.instance_event_window.time_ranges[0].end_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
5794
+ # resp.instance_event_window.time_ranges[0].end_hour #=> Integer
5795
+ # resp.instance_event_window.name #=> String
5796
+ # resp.instance_event_window.cron_expression #=> String
5797
+ # resp.instance_event_window.association_target.instance_ids #=> Array
5798
+ # resp.instance_event_window.association_target.instance_ids[0] #=> String
5799
+ # resp.instance_event_window.association_target.tags #=> Array
5800
+ # resp.instance_event_window.association_target.tags[0].key #=> String
5801
+ # resp.instance_event_window.association_target.tags[0].value #=> String
5802
+ # resp.instance_event_window.association_target.dedicated_host_ids #=> Array
5803
+ # resp.instance_event_window.association_target.dedicated_host_ids[0] #=> String
5804
+ # resp.instance_event_window.state #=> String, one of "creating", "deleting", "active", "deleted"
5805
+ # resp.instance_event_window.tags #=> Array
5806
+ # resp.instance_event_window.tags[0].key #=> String
5807
+ # resp.instance_event_window.tags[0].value #=> String
5808
+ #
5809
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInstanceEventWindow AWS API Documentation
5810
+ #
5811
+ # @overload create_instance_event_window(params = {})
5812
+ # @param [Hash] params ({})
5813
+ def create_instance_event_window(params = {}, options = {})
5814
+ req = build_request(:create_instance_event_window, params)
5815
+ req.send_request(options)
5816
+ end
5817
+
5513
5818
  # Exports a running or stopped instance to an Amazon S3 bucket.
5514
5819
  #
5515
5820
  # For information about the supported operating systems, image formats,
@@ -5555,7 +5860,7 @@ module Aws::EC2
5555
5860
  # target_environment: "citrix", # required, accepts citrix, vmware, microsoft
5556
5861
  # tag_specifications: [
5557
5862
  # {
5558
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5863
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5559
5864
  # tags: [
5560
5865
  # {
5561
5866
  # key: "String",
@@ -5638,7 +5943,7 @@ module Aws::EC2
5638
5943
  # resp = client.create_internet_gateway({
5639
5944
  # tag_specifications: [
5640
5945
  # {
5641
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5946
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5642
5947
  # tags: [
5643
5948
  # {
5644
5949
  # key: "String",
@@ -5727,7 +6032,7 @@ module Aws::EC2
5727
6032
  # dry_run: false,
5728
6033
  # tag_specifications: [
5729
6034
  # {
5730
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6035
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5731
6036
  # tags: [
5732
6037
  # {
5733
6038
  # key: "String",
@@ -5929,7 +6234,7 @@ module Aws::EC2
5929
6234
  # user_data: "String",
5930
6235
  # tag_specifications: [
5931
6236
  # {
5932
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6237
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5933
6238
  # tags: [
5934
6239
  # {
5935
6240
  # key: "String",
@@ -5994,7 +6299,7 @@ module Aws::EC2
5994
6299
  # },
5995
6300
  # tag_specifications: [
5996
6301
  # {
5997
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6302
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5998
6303
  # tags: [
5999
6304
  # {
6000
6305
  # key: "String",
@@ -6215,7 +6520,7 @@ module Aws::EC2
6215
6520
  # user_data: "String",
6216
6521
  # tag_specifications: [
6217
6522
  # {
6218
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6523
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6219
6524
  # tags: [
6220
6525
  # {
6221
6526
  # key: "String",
@@ -6342,7 +6647,7 @@ module Aws::EC2
6342
6647
  # resp.launch_template_version.launch_template_data.instance_initiated_shutdown_behavior #=> String, one of "stop", "terminate"
6343
6648
  # resp.launch_template_version.launch_template_data.user_data #=> String
6344
6649
  # resp.launch_template_version.launch_template_data.tag_specifications #=> Array
6345
- # resp.launch_template_version.launch_template_data.tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "egress-only-internet-gateway", "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", "network-insights-analysis", "network-insights-path", "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-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway", "vpc-flow-log"
6650
+ # resp.launch_template_version.launch_template_data.tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "egress-only-internet-gateway", "elastic-ip", "elastic-gpu", "export-image-task", "export-instance-task", "fleet", "fpga-image", "host-reservation", "image", "import-image-task", "import-snapshot-task", "instance", "instance-event-window", "internet-gateway", "key-pair", "launch-template", "local-gateway-route-table-vpc-association", "natgateway", "network-acl", "network-interface", "network-insights-analysis", "network-insights-path", "placement-group", "reserved-instances", "route-table", "security-group", "security-group-rule", "snapshot", "spot-fleet-request", "spot-instances-request", "subnet", "traffic-mirror-filter", "traffic-mirror-session", "traffic-mirror-target", "transit-gateway", "transit-gateway-attachment", "transit-gateway-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway", "vpc-flow-log"
6346
6651
  # resp.launch_template_version.launch_template_data.tag_specifications[0].tags #=> Array
6347
6652
  # resp.launch_template_version.launch_template_data.tag_specifications[0].tags[0].key #=> String
6348
6653
  # resp.launch_template_version.launch_template_data.tag_specifications[0].tags[0].value #=> String
@@ -6467,7 +6772,7 @@ module Aws::EC2
6467
6772
  # vpc_id: "VpcId", # required
6468
6773
  # tag_specifications: [
6469
6774
  # {
6470
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6775
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6471
6776
  # tags: [
6472
6777
  # {
6473
6778
  # key: "String",
@@ -6566,7 +6871,7 @@ module Aws::EC2
6566
6871
  # max_entries: 1, # required
6567
6872
  # tag_specifications: [
6568
6873
  # {
6569
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6874
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6570
6875
  # tags: [
6571
6876
  # {
6572
6877
  # key: "String",
@@ -6703,7 +7008,7 @@ module Aws::EC2
6703
7008
  # subnet_id: "SubnetId", # required
6704
7009
  # tag_specifications: [
6705
7010
  # {
6706
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7011
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6707
7012
  # tags: [
6708
7013
  # {
6709
7014
  # key: "String",
@@ -6822,7 +7127,7 @@ module Aws::EC2
6822
7127
  # vpc_id: "VpcId", # required
6823
7128
  # tag_specifications: [
6824
7129
  # {
6825
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7130
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6826
7131
  # tags: [
6827
7132
  # {
6828
7133
  # key: "String",
@@ -7058,7 +7363,7 @@ module Aws::EC2
7058
7363
  # destination_port: 1,
7059
7364
  # tag_specifications: [
7060
7365
  # {
7061
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7366
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7062
7367
  # tags: [
7063
7368
  # {
7064
7369
  # key: "String",
@@ -7259,7 +7564,7 @@ module Aws::EC2
7259
7564
  # subnet_id: "SubnetId", # required
7260
7565
  # tag_specifications: [
7261
7566
  # {
7262
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7567
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7263
7568
  # tags: [
7264
7569
  # {
7265
7570
  # key: "String",
@@ -7457,7 +7762,7 @@ module Aws::EC2
7457
7762
  # partition_count: 1,
7458
7763
  # tag_specifications: [
7459
7764
  # {
7460
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7765
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7461
7766
  # tags: [
7462
7767
  # {
7463
7768
  # key: "String",
@@ -7542,7 +7847,7 @@ module Aws::EC2
7542
7847
  # dry_run: false,
7543
7848
  # tag_specifications: [
7544
7849
  # {
7545
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7850
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7546
7851
  # tags: [
7547
7852
  # {
7548
7853
  # key: "String",
@@ -7733,7 +8038,7 @@ module Aws::EC2
7733
8038
  # name: "String",
7734
8039
  # tag_specifications: [
7735
8040
  # {
7736
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
8041
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7737
8042
  # tags: [
7738
8043
  # {
7739
8044
  # key: "String",
@@ -7957,7 +8262,7 @@ module Aws::EC2
7957
8262
  # vpc_id: "VpcId", # required
7958
8263
  # tag_specifications: [
7959
8264
  # {
7960
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
8265
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7961
8266
  # tags: [
7962
8267
  # {
7963
8268
  # key: "String",
@@ -8107,7 +8412,7 @@ module Aws::EC2
8107
8412
  # vpc_id: "VpcId",
8108
8413
  # tag_specifications: [
8109
8414
  # {
8110
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
8415
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
8111
8416
  # tags: [
8112
8417
  # {
8113
8418
  # key: "String",
@@ -8268,7 +8573,7 @@ module Aws::EC2
8268
8573
  # volume_id: "VolumeId", # required
8269
8574
  # tag_specifications: [
8270
8575
  # {
8271
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
8576
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
8272
8577
  # tags: [
8273
8578
  # {
8274
8579
  # key: "String",
@@ -8380,7 +8685,7 @@ module Aws::EC2
8380
8685
  # outpost_arn: "String",
8381
8686
  # tag_specifications: [
8382
8687
  # {
8383
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
8688
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
8384
8689
  # tags: [
8385
8690
  # {
8386
8691
  # key: "String",
@@ -8420,7 +8725,7 @@ module Aws::EC2
8420
8725
  end
8421
8726
 
8422
8727
  # Creates a data feed for Spot Instances, enabling you to view Spot
8423
- # Instance usage logs. You can create one data feed per AWS account. For
8728
+ # Instance usage logs. You can create one data feed per account. For
8424
8729
  # more information, see [Spot Instance data feed][1] in the *Amazon EC2
8425
8730
  # User Guide for Linux Instances*.
8426
8731
  #
@@ -8670,7 +8975,7 @@ module Aws::EC2
8670
8975
  # resp = client.create_subnet({
8671
8976
  # tag_specifications: [
8672
8977
  # {
8673
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
8978
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
8674
8979
  # tags: [
8675
8980
  # {
8676
8981
  # key: "String",
@@ -8850,7 +9155,7 @@ module Aws::EC2
8850
9155
  # description: "String",
8851
9156
  # tag_specifications: [
8852
9157
  # {
8853
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9158
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
8854
9159
  # tags: [
8855
9160
  # {
8856
9161
  # key: "String",
@@ -9124,7 +9429,7 @@ module Aws::EC2
9124
9429
  # description: "String",
9125
9430
  # tag_specifications: [
9126
9431
  # {
9127
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9432
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9128
9433
  # tags: [
9129
9434
  # {
9130
9435
  # key: "String",
@@ -9223,7 +9528,7 @@ module Aws::EC2
9223
9528
  # description: "String",
9224
9529
  # tag_specifications: [
9225
9530
  # {
9226
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9531
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9227
9532
  # tags: [
9228
9533
  # {
9229
9534
  # key: "String",
@@ -9317,7 +9622,7 @@ module Aws::EC2
9317
9622
  # },
9318
9623
  # tag_specifications: [
9319
9624
  # {
9320
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9625
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9321
9626
  # tags: [
9322
9627
  # {
9323
9628
  # key: "String",
@@ -9398,7 +9703,7 @@ module Aws::EC2
9398
9703
  # },
9399
9704
  # tag_specifications: [
9400
9705
  # {
9401
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9706
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9402
9707
  # tags: [
9403
9708
  # {
9404
9709
  # key: "String",
@@ -9492,7 +9797,7 @@ module Aws::EC2
9492
9797
  # inside_cidr_blocks: ["String"], # required
9493
9798
  # tag_specifications: [
9494
9799
  # {
9495
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9800
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9496
9801
  # tags: [
9497
9802
  # {
9498
9803
  # key: "String",
@@ -9574,7 +9879,7 @@ module Aws::EC2
9574
9879
  # },
9575
9880
  # tag_specifications: [
9576
9881
  # {
9577
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9882
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9578
9883
  # tags: [
9579
9884
  # {
9580
9885
  # key: "String",
@@ -9653,7 +9958,7 @@ module Aws::EC2
9653
9958
  # peer_region: "String", # required
9654
9959
  # tag_specifications: [
9655
9960
  # {
9656
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9961
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9657
9962
  # tags: [
9658
9963
  # {
9659
9964
  # key: "String",
@@ -9825,7 +10130,7 @@ module Aws::EC2
9825
10130
  # transit_gateway_id: "TransitGatewayId", # required
9826
10131
  # tag_specifications: [
9827
10132
  # {
9828
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
10133
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9829
10134
  # tags: [
9830
10135
  # {
9831
10136
  # key: "String",
@@ -9908,7 +10213,7 @@ module Aws::EC2
9908
10213
  # },
9909
10214
  # tag_specifications: [
9910
10215
  # {
9911
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
10216
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9912
10217
  # tags: [
9913
10218
  # {
9914
10219
  # key: "String",
@@ -10201,7 +10506,7 @@ module Aws::EC2
10201
10506
  # dry_run: false,
10202
10507
  # tag_specifications: [
10203
10508
  # {
10204
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
10509
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
10205
10510
  # tags: [
10206
10511
  # {
10207
10512
  # key: "String",
@@ -10364,7 +10669,7 @@ module Aws::EC2
10364
10669
  # ipv_6_cidr_block_network_border_group: "String",
10365
10670
  # tag_specifications: [
10366
10671
  # {
10367
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
10672
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
10368
10673
  # tags: [
10369
10674
  # {
10370
10675
  # key: "String",
@@ -10521,7 +10826,7 @@ module Aws::EC2
10521
10826
  # private_dns_enabled: false,
10522
10827
  # tag_specifications: [
10523
10828
  # {
10524
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
10829
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
10525
10830
  # tags: [
10526
10831
  # {
10527
10832
  # key: "String",
@@ -10727,7 +11032,7 @@ module Aws::EC2
10727
11032
  # client_token: "String",
10728
11033
  # tag_specifications: [
10729
11034
  # {
10730
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
11035
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
10731
11036
  # tags: [
10732
11037
  # {
10733
11038
  # key: "String",
@@ -10840,7 +11145,7 @@ module Aws::EC2
10840
11145
  # peer_region: "String",
10841
11146
  # tag_specifications: [
10842
11147
  # {
10843
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
11148
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
10844
11149
  # tags: [
10845
11150
  # {
10846
11151
  # key: "String",
@@ -11016,7 +11321,7 @@ module Aws::EC2
11016
11321
  # },
11017
11322
  # tag_specifications: [
11018
11323
  # {
11019
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
11324
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
11020
11325
  # tags: [
11021
11326
  # {
11022
11327
  # key: "String",
@@ -11177,7 +11482,7 @@ module Aws::EC2
11177
11482
  # type: "ipsec.1", # required, accepts ipsec.1
11178
11483
  # tag_specifications: [
11179
11484
  # {
11180
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
11485
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
11181
11486
  # tags: [
11182
11487
  # {
11183
11488
  # key: "String",
@@ -11622,6 +11927,54 @@ module Aws::EC2
11622
11927
  req.send_request(options)
11623
11928
  end
11624
11929
 
11930
+ # Deletes the specified event window.
11931
+ #
11932
+ # For more information, see [Define event windows for scheduled
11933
+ # events][1] in the *Amazon EC2 User Guide*.
11934
+ #
11935
+ #
11936
+ #
11937
+ # [1]: https://docs.aws.amazon.com/monitoring-instances-status-check_sched.html#event-windows
11938
+ #
11939
+ # @option params [Boolean] :dry_run
11940
+ # Checks whether you have the required permissions for the action,
11941
+ # without actually making the request, and provides an error response.
11942
+ # If you have the required permissions, the error response is
11943
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
11944
+ #
11945
+ # @option params [Boolean] :force_delete
11946
+ # Specify `true` to force delete the event window. Use the force delete
11947
+ # parameter if the event window is currently associated with targets.
11948
+ #
11949
+ # @option params [required, String] :instance_event_window_id
11950
+ # The ID of the event window.
11951
+ #
11952
+ # @return [Types::DeleteInstanceEventWindowResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
11953
+ #
11954
+ # * {Types::DeleteInstanceEventWindowResult#instance_event_window_state #instance_event_window_state} => Types::InstanceEventWindowStateChange
11955
+ #
11956
+ # @example Request syntax with placeholder values
11957
+ #
11958
+ # resp = client.delete_instance_event_window({
11959
+ # dry_run: false,
11960
+ # force_delete: false,
11961
+ # instance_event_window_id: "InstanceEventWindowId", # required
11962
+ # })
11963
+ #
11964
+ # @example Response structure
11965
+ #
11966
+ # resp.instance_event_window_state.instance_event_window_id #=> String
11967
+ # resp.instance_event_window_state.state #=> String, one of "creating", "deleting", "active", "deleted"
11968
+ #
11969
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteInstanceEventWindow AWS API Documentation
11970
+ #
11971
+ # @overload delete_instance_event_window(params = {})
11972
+ # @param [Hash] params ({})
11973
+ def delete_instance_event_window(params = {}, options = {})
11974
+ req = build_request(:delete_instance_event_window, params)
11975
+ req.send_request(options)
11976
+ end
11977
+
11625
11978
  # Deletes the specified internet gateway. You must detach the internet
11626
11979
  # gateway from the VPC before you can delete it.
11627
11980
  #
@@ -12690,8 +13043,8 @@ module Aws::EC2
12690
13043
  # if its value is an empty string.
12691
13044
  #
12692
13045
  # If you omit this parameter, we delete all user-defined tags for the
12693
- # specified resources. We do not delete AWS-generated tags (tags that
12694
- # have the `aws:` prefix).
13046
+ # specified resources. We do not delete Amazon Web Services-generated
13047
+ # tags (tags that have the `aws:` prefix).
12695
13048
  #
12696
13049
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
12697
13050
  #
@@ -13774,6 +14127,8 @@ module Aws::EC2
13774
14127
  req.send_request(options)
13775
14128
  end
13776
14129
 
14130
+ # c
14131
+ #
13777
14132
  # Deregisters tag keys to prevent tags that have the specified tag keys
13778
14133
  # from being included in scheduled event notifications for resources in
13779
14134
  # the Region.
@@ -14688,7 +15043,7 @@ module Aws::EC2
14688
15043
  end
14689
15044
 
14690
15045
  # Describes one or more of your Capacity Reservations. The results
14691
- # describe only the Capacity Reservations in the AWS Region that you're
15046
+ # describe only the Capacity Reservations in the Region that you're
14692
15047
  # currently using.
14693
15048
  #
14694
15049
  # @option params [Array<String>] :capacity_reservation_ids
@@ -14710,7 +15065,7 @@ module Aws::EC2
14710
15065
  # * `instance-type` - The type of instance for which the Capacity
14711
15066
  # Reservation reserves capacity.
14712
15067
  #
14713
- # * `owner-id` - The ID of the AWS account that owns the Capacity
15068
+ # * `owner-id` - The ID of the account that owns the Capacity
14714
15069
  # Reservation.
14715
15070
  #
14716
15071
  # * `availability-zone-id` - The Availability Zone ID of the Capacity
@@ -14726,10 +15081,10 @@ module Aws::EC2
14726
15081
  # Capacity Reservation can have one of the following tenancy settings:
14727
15082
  #
14728
15083
  # * `default` - The Capacity Reservation is created on hardware that
14729
- # is shared with other AWS accounts.
15084
+ # is shared with other accounts.
14730
15085
  #
14731
15086
  # * `dedicated` - The Capacity Reservation is created on single-tenant
14732
- # hardware that is dedicated to a single AWS account.
15087
+ # hardware that is dedicated to a single account.
14733
15088
  #
14734
15089
  # * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost on
14735
15090
  # which the Capacity Reservation was created.
@@ -16505,6 +16860,7 @@ module Aws::EC2
16505
16860
  # resp.fleets[0].instances[0].instance_ids[0] #=> String
16506
16861
  # resp.fleets[0].instances[0].instance_type #=> String, one of "t1.micro", "t2.nano", "t2.micro", "t2.small", "t2.medium", "t2.large", "t2.xlarge", "t2.2xlarge", "t3.nano", "t3.micro", "t3.small", "t3.medium", "t3.large", "t3.xlarge", "t3.2xlarge", "t3a.nano", "t3a.micro", "t3a.small", "t3a.medium", "t3a.large", "t3a.xlarge", "t3a.2xlarge", "t4g.nano", "t4g.micro", "t4g.small", "t4g.medium", "t4g.large", "t4g.xlarge", "t4g.2xlarge", "m1.small", "m1.medium", "m1.large", "m1.xlarge", "m3.medium", "m3.large", "m3.xlarge", "m3.2xlarge", "m4.large", "m4.xlarge", "m4.2xlarge", "m4.4xlarge", "m4.10xlarge", "m4.16xlarge", "m2.xlarge", "m2.2xlarge", "m2.4xlarge", "cr1.8xlarge", "r3.large", "r3.xlarge", "r3.2xlarge", "r3.4xlarge", "r3.8xlarge", "r4.large", "r4.xlarge", "r4.2xlarge", "r4.4xlarge", "r4.8xlarge", "r4.16xlarge", "r5.large", "r5.xlarge", "r5.2xlarge", "r5.4xlarge", "r5.8xlarge", "r5.12xlarge", "r5.16xlarge", "r5.24xlarge", "r5.metal", "r5a.large", "r5a.xlarge", "r5a.2xlarge", "r5a.4xlarge", "r5a.8xlarge", "r5a.12xlarge", "r5a.16xlarge", "r5a.24xlarge", "r5b.large", "r5b.xlarge", "r5b.2xlarge", "r5b.4xlarge", "r5b.8xlarge", "r5b.12xlarge", "r5b.16xlarge", "r5b.24xlarge", "r5b.metal", "r5d.large", "r5d.xlarge", "r5d.2xlarge", "r5d.4xlarge", "r5d.8xlarge", "r5d.12xlarge", "r5d.16xlarge", "r5d.24xlarge", "r5d.metal", "r5ad.large", "r5ad.xlarge", "r5ad.2xlarge", "r5ad.4xlarge", "r5ad.8xlarge", "r5ad.12xlarge", "r5ad.16xlarge", "r5ad.24xlarge", "r6g.metal", "r6g.medium", "r6g.large", "r6g.xlarge", "r6g.2xlarge", "r6g.4xlarge", "r6g.8xlarge", "r6g.12xlarge", "r6g.16xlarge", "r6gd.metal", "r6gd.medium", "r6gd.large", "r6gd.xlarge", "r6gd.2xlarge", "r6gd.4xlarge", "r6gd.8xlarge", "r6gd.12xlarge", "r6gd.16xlarge", "x1.16xlarge", "x1.32xlarge", "x1e.xlarge", "x1e.2xlarge", "x1e.4xlarge", "x1e.8xlarge", "x1e.16xlarge", "x1e.32xlarge", "i2.xlarge", "i2.2xlarge", "i2.4xlarge", "i2.8xlarge", "i3.large", "i3.xlarge", "i3.2xlarge", "i3.4xlarge", "i3.8xlarge", "i3.16xlarge", "i3.metal", "i3en.large", "i3en.xlarge", "i3en.2xlarge", "i3en.3xlarge", "i3en.6xlarge", "i3en.12xlarge", "i3en.24xlarge", "i3en.metal", "hi1.4xlarge", "hs1.8xlarge", "c1.medium", "c1.xlarge", "c3.large", "c3.xlarge", "c3.2xlarge", "c3.4xlarge", "c3.8xlarge", "c4.large", "c4.xlarge", "c4.2xlarge", "c4.4xlarge", "c4.8xlarge", "c5.large", "c5.xlarge", "c5.2xlarge", "c5.4xlarge", "c5.9xlarge", "c5.12xlarge", "c5.18xlarge", "c5.24xlarge", "c5.metal", "c5a.large", "c5a.xlarge", "c5a.2xlarge", "c5a.4xlarge", "c5a.8xlarge", "c5a.12xlarge", "c5a.16xlarge", "c5a.24xlarge", "c5ad.large", "c5ad.xlarge", "c5ad.2xlarge", "c5ad.4xlarge", "c5ad.8xlarge", "c5ad.12xlarge", "c5ad.16xlarge", "c5ad.24xlarge", "c5d.large", "c5d.xlarge", "c5d.2xlarge", "c5d.4xlarge", "c5d.9xlarge", "c5d.12xlarge", "c5d.18xlarge", "c5d.24xlarge", "c5d.metal", "c5n.large", "c5n.xlarge", "c5n.2xlarge", "c5n.4xlarge", "c5n.9xlarge", "c5n.18xlarge", "c5n.metal", "c6g.metal", "c6g.medium", "c6g.large", "c6g.xlarge", "c6g.2xlarge", "c6g.4xlarge", "c6g.8xlarge", "c6g.12xlarge", "c6g.16xlarge", "c6gd.metal", "c6gd.medium", "c6gd.large", "c6gd.xlarge", "c6gd.2xlarge", "c6gd.4xlarge", "c6gd.8xlarge", "c6gd.12xlarge", "c6gd.16xlarge", "c6gn.medium", "c6gn.large", "c6gn.xlarge", "c6gn.2xlarge", "c6gn.4xlarge", "c6gn.8xlarge", "c6gn.12xlarge", "c6gn.16xlarge", "cc1.4xlarge", "cc2.8xlarge", "g2.2xlarge", "g2.8xlarge", "g3.4xlarge", "g3.8xlarge", "g3.16xlarge", "g3s.xlarge", "g4ad.4xlarge", "g4ad.8xlarge", "g4ad.16xlarge", "g4dn.xlarge", "g4dn.2xlarge", "g4dn.4xlarge", "g4dn.8xlarge", "g4dn.12xlarge", "g4dn.16xlarge", "g4dn.metal", "cg1.4xlarge", "p2.xlarge", "p2.8xlarge", "p2.16xlarge", "p3.2xlarge", "p3.8xlarge", "p3.16xlarge", "p3dn.24xlarge", "p4d.24xlarge", "d2.xlarge", "d2.2xlarge", "d2.4xlarge", "d2.8xlarge", "d3.xlarge", "d3.2xlarge", "d3.4xlarge", "d3.8xlarge", "d3en.xlarge", "d3en.2xlarge", "d3en.4xlarge", "d3en.6xlarge", "d3en.8xlarge", "d3en.12xlarge", "f1.2xlarge", "f1.4xlarge", "f1.16xlarge", "m5.large", "m5.xlarge", "m5.2xlarge", "m5.4xlarge", "m5.8xlarge", "m5.12xlarge", "m5.16xlarge", "m5.24xlarge", "m5.metal", "m5a.large", "m5a.xlarge", "m5a.2xlarge", "m5a.4xlarge", "m5a.8xlarge", "m5a.12xlarge", "m5a.16xlarge", "m5a.24xlarge", "m5d.large", "m5d.xlarge", "m5d.2xlarge", "m5d.4xlarge", "m5d.8xlarge", "m5d.12xlarge", "m5d.16xlarge", "m5d.24xlarge", "m5d.metal", "m5ad.large", "m5ad.xlarge", "m5ad.2xlarge", "m5ad.4xlarge", "m5ad.8xlarge", "m5ad.12xlarge", "m5ad.16xlarge", "m5ad.24xlarge", "m5zn.large", "m5zn.xlarge", "m5zn.2xlarge", "m5zn.3xlarge", "m5zn.6xlarge", "m5zn.12xlarge", "m5zn.metal", "h1.2xlarge", "h1.4xlarge", "h1.8xlarge", "h1.16xlarge", "z1d.large", "z1d.xlarge", "z1d.2xlarge", "z1d.3xlarge", "z1d.6xlarge", "z1d.12xlarge", "z1d.metal", "u-6tb1.56xlarge", "u-6tb1.112xlarge", "u-9tb1.112xlarge", "u-12tb1.112xlarge", "u-6tb1.metal", "u-9tb1.metal", "u-12tb1.metal", "u-18tb1.metal", "u-24tb1.metal", "a1.medium", "a1.large", "a1.xlarge", "a1.2xlarge", "a1.4xlarge", "a1.metal", "m5dn.large", "m5dn.xlarge", "m5dn.2xlarge", "m5dn.4xlarge", "m5dn.8xlarge", "m5dn.12xlarge", "m5dn.16xlarge", "m5dn.24xlarge", "m5dn.metal", "m5n.large", "m5n.xlarge", "m5n.2xlarge", "m5n.4xlarge", "m5n.8xlarge", "m5n.12xlarge", "m5n.16xlarge", "m5n.24xlarge", "m5n.metal", "r5dn.large", "r5dn.xlarge", "r5dn.2xlarge", "r5dn.4xlarge", "r5dn.8xlarge", "r5dn.12xlarge", "r5dn.16xlarge", "r5dn.24xlarge", "r5dn.metal", "r5n.large", "r5n.xlarge", "r5n.2xlarge", "r5n.4xlarge", "r5n.8xlarge", "r5n.12xlarge", "r5n.16xlarge", "r5n.24xlarge", "r5n.metal", "inf1.xlarge", "inf1.2xlarge", "inf1.6xlarge", "inf1.24xlarge", "m6g.metal", "m6g.medium", "m6g.large", "m6g.xlarge", "m6g.2xlarge", "m6g.4xlarge", "m6g.8xlarge", "m6g.12xlarge", "m6g.16xlarge", "m6gd.metal", "m6gd.medium", "m6gd.large", "m6gd.xlarge", "m6gd.2xlarge", "m6gd.4xlarge", "m6gd.8xlarge", "m6gd.12xlarge", "m6gd.16xlarge", "mac1.metal", "x2gd.medium", "x2gd.large", "x2gd.xlarge", "x2gd.2xlarge", "x2gd.4xlarge", "x2gd.8xlarge", "x2gd.12xlarge", "x2gd.16xlarge", "x2gd.metal"
16507
16862
  # resp.fleets[0].instances[0].platform #=> String, one of "Windows"
16863
+ # resp.fleets[0].context #=> String
16508
16864
  #
16509
16865
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFleets AWS API Documentation
16510
16866
  #
@@ -18116,6 +18472,131 @@ module Aws::EC2
18116
18472
  req.send_request(options)
18117
18473
  end
18118
18474
 
18475
+ # Describes the specified event windows or all event windows.
18476
+ #
18477
+ # If you specify event window IDs, the output includes information for
18478
+ # only the specified event windows. If you specify filters, the output
18479
+ # includes information for only those event windows that meet the filter
18480
+ # criteria. If you do not specify event windows IDs or filters, the
18481
+ # output includes information for all event windows, which can affect
18482
+ # performance. We recommend that you use pagination to ensure that the
18483
+ # operation returns quickly and successfully.
18484
+ #
18485
+ # For more information, see [Define event windows for scheduled
18486
+ # events][1] in the *Amazon EC2 User Guide*.
18487
+ #
18488
+ #
18489
+ #
18490
+ # [1]: https://docs.aws.amazon.com/monitoring-instances-status-check_sched.html#event-windows
18491
+ #
18492
+ # @option params [Boolean] :dry_run
18493
+ # Checks whether you have the required permissions for the action,
18494
+ # without actually making the request, and provides an error response.
18495
+ # If you have the required permissions, the error response is
18496
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
18497
+ #
18498
+ # @option params [Array<String>] :instance_event_window_ids
18499
+ # The IDs of the event windows.
18500
+ #
18501
+ # @option params [Array<Types::Filter>] :filters
18502
+ # One or more filters.
18503
+ #
18504
+ # * `dedicated-host-id` - The event windows associated with the
18505
+ # specified Dedicated Host ID.
18506
+ #
18507
+ # * `event-window-name` - The event windows associated with the
18508
+ # specified names.
18509
+ #
18510
+ # * `instance-id` - The event windows associated with the specified
18511
+ # instance ID.
18512
+ #
18513
+ # * `instance-tag` - The event windows associated with the specified tag
18514
+ # and value.
18515
+ #
18516
+ # * `instance-tag-key` - The event windows associated with the specified
18517
+ # tag key, regardless of the value.
18518
+ #
18519
+ # * `instance-tag-value` - The event windows associated with the
18520
+ # specified tag value, regardless of the key.
18521
+ #
18522
+ # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to
18523
+ # the event window. Use the tag key in the filter name and the tag
18524
+ # value as the filter value. For example, to find all resources that
18525
+ # have a tag with the key `Owner` and the value `CMX`, specify
18526
+ # `tag:Owner` for the filter name and `CMX` for the filter value.
18527
+ #
18528
+ # * `tag-key` - The key of a tag assigned to the event window. Use this
18529
+ # filter to find all event windows that have a tag with a specific
18530
+ # key, regardless of the tag value.
18531
+ #
18532
+ # * `tag-value` - The value of a tag assigned to the event window. Use
18533
+ # this filter to find all event windows that have a tag with a
18534
+ # specific value, regardless of the tag key.
18535
+ #
18536
+ # @option params [Integer] :max_results
18537
+ # The maximum number of results to return in a single call. To retrieve
18538
+ # the remaining results, make another call with the returned `NextToken`
18539
+ # value. This value can be between 20 and 500. You cannot specify this
18540
+ # parameter and the event window IDs parameter in the same call.
18541
+ #
18542
+ # @option params [String] :next_token
18543
+ # The token to request the next page of results.
18544
+ #
18545
+ # @return [Types::DescribeInstanceEventWindowsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
18546
+ #
18547
+ # * {Types::DescribeInstanceEventWindowsResult#instance_event_windows #instance_event_windows} => Array&lt;Types::InstanceEventWindow&gt;
18548
+ # * {Types::DescribeInstanceEventWindowsResult#next_token #next_token} => String
18549
+ #
18550
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
18551
+ #
18552
+ # @example Request syntax with placeholder values
18553
+ #
18554
+ # resp = client.describe_instance_event_windows({
18555
+ # dry_run: false,
18556
+ # instance_event_window_ids: ["InstanceEventWindowId"],
18557
+ # filters: [
18558
+ # {
18559
+ # name: "String",
18560
+ # values: ["String"],
18561
+ # },
18562
+ # ],
18563
+ # max_results: 1,
18564
+ # next_token: "String",
18565
+ # })
18566
+ #
18567
+ # @example Response structure
18568
+ #
18569
+ # resp.instance_event_windows #=> Array
18570
+ # resp.instance_event_windows[0].instance_event_window_id #=> String
18571
+ # resp.instance_event_windows[0].time_ranges #=> Array
18572
+ # resp.instance_event_windows[0].time_ranges[0].start_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
18573
+ # resp.instance_event_windows[0].time_ranges[0].start_hour #=> Integer
18574
+ # resp.instance_event_windows[0].time_ranges[0].end_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
18575
+ # resp.instance_event_windows[0].time_ranges[0].end_hour #=> Integer
18576
+ # resp.instance_event_windows[0].name #=> String
18577
+ # resp.instance_event_windows[0].cron_expression #=> String
18578
+ # resp.instance_event_windows[0].association_target.instance_ids #=> Array
18579
+ # resp.instance_event_windows[0].association_target.instance_ids[0] #=> String
18580
+ # resp.instance_event_windows[0].association_target.tags #=> Array
18581
+ # resp.instance_event_windows[0].association_target.tags[0].key #=> String
18582
+ # resp.instance_event_windows[0].association_target.tags[0].value #=> String
18583
+ # resp.instance_event_windows[0].association_target.dedicated_host_ids #=> Array
18584
+ # resp.instance_event_windows[0].association_target.dedicated_host_ids[0] #=> String
18585
+ # resp.instance_event_windows[0].state #=> String, one of "creating", "deleting", "active", "deleted"
18586
+ # resp.instance_event_windows[0].tags #=> Array
18587
+ # resp.instance_event_windows[0].tags[0].key #=> String
18588
+ # resp.instance_event_windows[0].tags[0].value #=> String
18589
+ # resp.next_token #=> String
18590
+ #
18591
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceEventWindows AWS API Documentation
18592
+ #
18593
+ # @overload describe_instance_event_windows(params = {})
18594
+ # @param [Hash] params ({})
18595
+ def describe_instance_event_windows(params = {}, options = {})
18596
+ req = build_request(:describe_instance_event_windows, params)
18597
+ req.send_request(options)
18598
+ end
18599
+
18119
18600
  # Describes the status of the specified instances or all of your
18120
18601
  # instances. By default, only running instances are described, unless
18121
18602
  # you specifically indicate to return the status of all instances.
@@ -18879,7 +19360,7 @@ module Aws::EC2
18879
19360
  # interface.
18880
19361
  #
18881
19362
  # * `network-interface.requester-managed` - Indicates whether the
18882
- # network interface is being managed by AWS.
19363
+ # network interface is being managed by Amazon Web Services.
18883
19364
  #
18884
19365
  # * `network-interface.status` - The status of the network interface
18885
19366
  # (`available`) \| `in-use`).
@@ -18898,7 +19379,7 @@ module Aws::EC2
18898
19379
  #
18899
19380
  # * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
18900
19381
  #
18901
- # * `owner-id` - The AWS account ID of the instance owner.
19382
+ # * `owner-id` - The account ID of the instance owner.
18902
19383
  #
18903
19384
  # * `placement-group-name` - The name of the placement group for the
18904
19385
  # instance.
@@ -18926,8 +19407,8 @@ module Aws::EC2
18926
19407
  # terminate the instance). Similar to the state-reason-code filter.
18927
19408
  #
18928
19409
  # * `requester-id` - The ID of the entity that launched the instance on
18929
- # your behalf (for example, AWS Management Console, Auto Scaling, and
18930
- # so on).
19410
+ # your behalf (for example, Management Console, Auto Scaling, and so
19411
+ # on).
18931
19412
  #
18932
19413
  # * `reservation-id` - The ID of the instance's reservation. A
18933
19414
  # reservation ID is created any time you launch an instance. A
@@ -19457,7 +19938,7 @@ module Aws::EC2
19457
19938
  # @option params [Array<String>] :key_names
19458
19939
  # The key pair names.
19459
19940
  #
19460
- # Default: Describes all your key pairs.
19941
+ # Default: Describes all of your key pairs.
19461
19942
  #
19462
19943
  # @option params [Array<String>] :key_pair_ids
19463
19944
  # The IDs of the key pairs.
@@ -19756,7 +20237,7 @@ module Aws::EC2
19756
20237
  # resp.launch_template_versions[0].launch_template_data.instance_initiated_shutdown_behavior #=> String, one of "stop", "terminate"
19757
20238
  # resp.launch_template_versions[0].launch_template_data.user_data #=> String
19758
20239
  # resp.launch_template_versions[0].launch_template_data.tag_specifications #=> Array
19759
- # resp.launch_template_versions[0].launch_template_data.tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "egress-only-internet-gateway", "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", "network-insights-analysis", "network-insights-path", "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-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway", "vpc-flow-log"
20240
+ # resp.launch_template_versions[0].launch_template_data.tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "egress-only-internet-gateway", "elastic-ip", "elastic-gpu", "export-image-task", "export-instance-task", "fleet", "fpga-image", "host-reservation", "image", "import-image-task", "import-snapshot-task", "instance", "instance-event-window", "internet-gateway", "key-pair", "launch-template", "local-gateway-route-table-vpc-association", "natgateway", "network-acl", "network-interface", "network-insights-analysis", "network-insights-path", "placement-group", "reserved-instances", "route-table", "security-group", "security-group-rule", "snapshot", "spot-fleet-request", "spot-instances-request", "subnet", "traffic-mirror-filter", "traffic-mirror-session", "traffic-mirror-target", "transit-gateway", "transit-gateway-attachment", "transit-gateway-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway", "vpc-flow-log"
19760
20241
  # resp.launch_template_versions[0].launch_template_data.tag_specifications[0].tags #=> Array
19761
20242
  # resp.launch_template_versions[0].launch_template_data.tag_specifications[0].tags[0].key #=> String
19762
20243
  # resp.launch_template_versions[0].launch_template_data.tag_specifications[0].tags[0].value #=> String
@@ -22654,8 +23135,8 @@ module Aws::EC2
22654
23135
  #
22655
23136
  # * `marketplace` - Set to `true` to show only Reserved Instance
22656
23137
  # Marketplace offerings. When this filter is not used, which is the
22657
- # default behavior, all offerings from both AWS and the Reserved
22658
- # Instance Marketplace are listed.
23138
+ # default behavior, all offerings from both Amazon Web Services and
23139
+ # the Reserved Instance Marketplace are listed.
22659
23140
  #
22660
23141
  # * `product-description` - The Reserved Instance product platform
22661
23142
  # description. Instances that include `(Amazon VPC)` in the product
@@ -23397,6 +23878,94 @@ module Aws::EC2
23397
23878
  req.send_request(options)
23398
23879
  end
23399
23880
 
23881
+ # Describes one or more of your security group rules.
23882
+ #
23883
+ # @option params [Array<Types::Filter>] :filters
23884
+ # One or more filters.
23885
+ #
23886
+ # * `group-id` - The ID of the security group.
23887
+ #
23888
+ # * `security-group-rule-id` - The ID of the security group rule.
23889
+ #
23890
+ # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to
23891
+ # the resource. Use the tag key in the filter name and the tag value
23892
+ # as the filter value. For example, to find all resources that have a
23893
+ # tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
23894
+ # for the filter name and `TeamA` for the filter value.
23895
+ #
23896
+ # @option params [Array<String>] :security_group_rule_ids
23897
+ # The IDs of the security group rules.
23898
+ #
23899
+ # @option params [Boolean] :dry_run
23900
+ # Checks whether you have the required permissions for the action,
23901
+ # without actually making the request, and provides an error response.
23902
+ # If you have the required permissions, the error response is
23903
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
23904
+ #
23905
+ # @option params [String] :next_token
23906
+ # The token for the next page of results.
23907
+ #
23908
+ # @option params [Integer] :max_results
23909
+ # The maximum number of results to return in a single call. To retrieve
23910
+ # the remaining results, make another request with the returned
23911
+ # `NextToken` value. This value can be between 5 and 1000. If this
23912
+ # parameter is not specified, then all results are returned.
23913
+ #
23914
+ # @return [Types::DescribeSecurityGroupRulesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
23915
+ #
23916
+ # * {Types::DescribeSecurityGroupRulesResult#security_group_rules #security_group_rules} => Array&lt;Types::SecurityGroupRule&gt;
23917
+ # * {Types::DescribeSecurityGroupRulesResult#next_token #next_token} => String
23918
+ #
23919
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
23920
+ #
23921
+ # @example Request syntax with placeholder values
23922
+ #
23923
+ # resp = client.describe_security_group_rules({
23924
+ # filters: [
23925
+ # {
23926
+ # name: "String",
23927
+ # values: ["String"],
23928
+ # },
23929
+ # ],
23930
+ # security_group_rule_ids: ["String"],
23931
+ # dry_run: false,
23932
+ # next_token: "String",
23933
+ # max_results: 1,
23934
+ # })
23935
+ #
23936
+ # @example Response structure
23937
+ #
23938
+ # resp.security_group_rules #=> Array
23939
+ # resp.security_group_rules[0].security_group_rule_id #=> String
23940
+ # resp.security_group_rules[0].group_id #=> String
23941
+ # resp.security_group_rules[0].group_owner_id #=> String
23942
+ # resp.security_group_rules[0].is_egress #=> Boolean
23943
+ # resp.security_group_rules[0].ip_protocol #=> String
23944
+ # resp.security_group_rules[0].from_port #=> Integer
23945
+ # resp.security_group_rules[0].to_port #=> Integer
23946
+ # resp.security_group_rules[0].cidr_ipv_4 #=> String
23947
+ # resp.security_group_rules[0].cidr_ipv_6 #=> String
23948
+ # resp.security_group_rules[0].prefix_list_id #=> String
23949
+ # resp.security_group_rules[0].referenced_group_info.group_id #=> String
23950
+ # resp.security_group_rules[0].referenced_group_info.peering_status #=> String
23951
+ # resp.security_group_rules[0].referenced_group_info.user_id #=> String
23952
+ # resp.security_group_rules[0].referenced_group_info.vpc_id #=> String
23953
+ # resp.security_group_rules[0].referenced_group_info.vpc_peering_connection_id #=> String
23954
+ # resp.security_group_rules[0].description #=> String
23955
+ # resp.security_group_rules[0].tags #=> Array
23956
+ # resp.security_group_rules[0].tags[0].key #=> String
23957
+ # resp.security_group_rules[0].tags[0].value #=> String
23958
+ # resp.next_token #=> String
23959
+ #
23960
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupRules AWS API Documentation
23961
+ #
23962
+ # @overload describe_security_group_rules(params = {})
23963
+ # @param [Hash] params ({})
23964
+ def describe_security_group_rules(params = {}, options = {})
23965
+ req = build_request(:describe_security_group_rules, params)
23966
+ req.send_request(options)
23967
+ end
23968
+
23400
23969
  # Describes the specified security groups or all of your security
23401
23970
  # groups.
23402
23971
  #
@@ -23443,8 +24012,8 @@ module Aws::EC2
23443
24012
  # * `egress.ip-permission.to-port` - For an outbound rule, the end of
23444
24013
  # port range for the TCP and UDP protocols, or an ICMP code.
23445
24014
  #
23446
- # * `egress.ip-permission.user-id` - The ID of an AWS account that has
23447
- # been referenced in an outbound security group rule.
24015
+ # * `egress.ip-permission.user-id` - The ID of an Amazon Web Services
24016
+ # account that has been referenced in an outbound security group rule.
23448
24017
  #
23449
24018
  # * `group-id` - The ID of the security group.
23450
24019
  #
@@ -23475,10 +24044,11 @@ module Aws::EC2
23475
24044
  # * `ip-permission.to-port` - For an inbound rule, the end of port range
23476
24045
  # for the TCP and UDP protocols, or an ICMP code.
23477
24046
  #
23478
- # * `ip-permission.user-id` - The ID of an AWS account that has been
23479
- # referenced in an inbound security group rule.
24047
+ # * `ip-permission.user-id` - The ID of an Amazon Web Services account
24048
+ # that has been referenced in an inbound security group rule.
23480
24049
  #
23481
- # * `owner-id` - The AWS account ID of the owner of the security group.
24050
+ # * `owner-id` - The Amazon Web Services account ID of the owner of the
24051
+ # security group.
23482
24052
  #
23483
24053
  # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to
23484
24054
  # the resource. Use the tag key in the filter name and the tag value
@@ -23497,7 +24067,7 @@ module Aws::EC2
23497
24067
  # The IDs of the security groups. Required for security groups in a
23498
24068
  # nondefault VPC.
23499
24069
  #
23500
- # Default: Describes all your security groups.
24070
+ # Default: Describes all of your security groups.
23501
24071
  #
23502
24072
  # @option params [Array<String>] :group_names
23503
24073
  # \[EC2-Classic and default VPC only\] The names of the security groups.
@@ -23505,7 +24075,7 @@ module Aws::EC2
23505
24075
  # ID. For security groups in a nondefault VPC, use the `group-name`
23506
24076
  # filter to describe security groups by name.
23507
24077
  #
23508
- # Default: Describes all your security groups.
24078
+ # Default: Describes all of your security groups.
23509
24079
  #
23510
24080
  # @option params [Boolean] :dry_run
23511
24081
  # Checks whether you have the required permissions for the action,
@@ -24402,7 +24972,7 @@ module Aws::EC2
24402
24972
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].user_data #=> String
24403
24973
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].weighted_capacity #=> Float
24404
24974
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications #=> Array
24405
- # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "egress-only-internet-gateway", "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", "network-insights-analysis", "network-insights-path", "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-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway", "vpc-flow-log"
24975
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "egress-only-internet-gateway", "elastic-ip", "elastic-gpu", "export-image-task", "export-instance-task", "fleet", "fpga-image", "host-reservation", "image", "import-image-task", "import-snapshot-task", "instance", "instance-event-window", "internet-gateway", "key-pair", "launch-template", "local-gateway-route-table-vpc-association", "natgateway", "network-acl", "network-interface", "network-insights-analysis", "network-insights-path", "placement-group", "reserved-instances", "route-table", "security-group", "security-group-rule", "snapshot", "spot-fleet-request", "spot-instances-request", "subnet", "traffic-mirror-filter", "traffic-mirror-session", "traffic-mirror-target", "transit-gateway", "transit-gateway-attachment", "transit-gateway-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway", "vpc-flow-log"
24406
24976
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].tags #=> Array
24407
24977
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].tags[0].key #=> String
24408
24978
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].tags[0].value #=> String
@@ -24433,8 +25003,9 @@ module Aws::EC2
24433
25003
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.load_balancers_config.target_groups_config.target_groups #=> Array
24434
25004
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.load_balancers_config.target_groups_config.target_groups[0].arn #=> String
24435
25005
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.instance_pools_to_use_count #=> Integer
25006
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.context #=> String
24436
25007
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications #=> Array
24437
- # resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "egress-only-internet-gateway", "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", "network-insights-analysis", "network-insights-path", "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-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway", "vpc-flow-log"
25008
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "egress-only-internet-gateway", "elastic-ip", "elastic-gpu", "export-image-task", "export-instance-task", "fleet", "fpga-image", "host-reservation", "image", "import-image-task", "import-snapshot-task", "instance", "instance-event-window", "internet-gateway", "key-pair", "launch-template", "local-gateway-route-table-vpc-association", "natgateway", "network-acl", "network-interface", "network-insights-analysis", "network-insights-path", "placement-group", "reserved-instances", "route-table", "security-group", "security-group-rule", "snapshot", "spot-fleet-request", "spot-instances-request", "subnet", "traffic-mirror-filter", "traffic-mirror-session", "traffic-mirror-target", "transit-gateway", "transit-gateway-attachment", "transit-gateway-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway", "vpc-flow-log"
24438
25009
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags #=> Array
24439
25010
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags[0].key #=> String
24440
25011
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags[0].value #=> String
@@ -25404,7 +25975,7 @@ module Aws::EC2
25404
25975
  # resp.tags #=> Array
25405
25976
  # resp.tags[0].key #=> String
25406
25977
  # resp.tags[0].resource_id #=> String
25407
- # resp.tags[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "egress-only-internet-gateway", "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", "network-insights-analysis", "network-insights-path", "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-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway", "vpc-flow-log"
25978
+ # resp.tags[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "egress-only-internet-gateway", "elastic-ip", "elastic-gpu", "export-image-task", "export-instance-task", "fleet", "fpga-image", "host-reservation", "image", "import-image-task", "import-snapshot-task", "instance", "instance-event-window", "internet-gateway", "key-pair", "launch-template", "local-gateway-route-table-vpc-association", "natgateway", "network-acl", "network-interface", "network-insights-analysis", "network-insights-path", "placement-group", "reserved-instances", "route-table", "security-group", "security-group-rule", "snapshot", "spot-fleet-request", "spot-instances-request", "subnet", "traffic-mirror-filter", "traffic-mirror-session", "traffic-mirror-target", "transit-gateway", "transit-gateway-attachment", "transit-gateway-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway", "vpc-flow-log"
25408
25979
  # resp.tags[0].value #=> String
25409
25980
  #
25410
25981
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTags AWS API Documentation
@@ -29183,14 +29754,13 @@ module Aws::EC2
29183
29754
  req.send_request(options)
29184
29755
  end
29185
29756
 
29186
- # Disassociates an IAM role from an AWS Certificate Manager (ACM)
29757
+ # Disassociates an IAM role from an Certificate Manager (ACM)
29187
29758
  # certificate. Disassociating an IAM role from an ACM certificate
29188
29759
  # removes the Amazon S3 object that contains the certificate,
29189
29760
  # certificate chain, and encrypted private key from the Amazon S3
29190
- # bucket. It also revokes the IAM role's permission to use the AWS Key
29191
- # Management Service (KMS) customer master key (CMK) used to encrypt the
29192
- # private key. This effectively revokes the role's permission to use
29193
- # the certificate.
29761
+ # bucket. It also revokes the IAM role's permission to use the KMS key
29762
+ # used to encrypt the private key. This effectively revokes the role's
29763
+ # permission to use the certificate.
29194
29764
  #
29195
29765
  # @option params [String] :certificate_arn
29196
29766
  # The ARN of the ACM certificate from which to disassociate the IAM
@@ -29288,6 +29858,79 @@ module Aws::EC2
29288
29858
  req.send_request(options)
29289
29859
  end
29290
29860
 
29861
+ # Disassociates one or more targets from an event window.
29862
+ #
29863
+ # For more information, see [Define event windows for scheduled
29864
+ # events][1] in the *Amazon EC2 User Guide*.
29865
+ #
29866
+ #
29867
+ #
29868
+ # [1]: https://docs.aws.amazon.com/monitoring-instances-status-check_sched.html#event-windows
29869
+ #
29870
+ # @option params [Boolean] :dry_run
29871
+ # Checks whether you have the required permissions for the action,
29872
+ # without actually making the request, and provides an error response.
29873
+ # If you have the required permissions, the error response is
29874
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
29875
+ #
29876
+ # @option params [required, String] :instance_event_window_id
29877
+ # The ID of the event window.
29878
+ #
29879
+ # @option params [required, Types::InstanceEventWindowDisassociationRequest] :association_target
29880
+ # One or more targets to disassociate from the specified event window.
29881
+ #
29882
+ # @return [Types::DisassociateInstanceEventWindowResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
29883
+ #
29884
+ # * {Types::DisassociateInstanceEventWindowResult#instance_event_window #instance_event_window} => Types::InstanceEventWindow
29885
+ #
29886
+ # @example Request syntax with placeholder values
29887
+ #
29888
+ # resp = client.disassociate_instance_event_window({
29889
+ # dry_run: false,
29890
+ # instance_event_window_id: "InstanceEventWindowId", # required
29891
+ # association_target: { # required
29892
+ # instance_ids: ["InstanceId"],
29893
+ # instance_tags: [
29894
+ # {
29895
+ # key: "String",
29896
+ # value: "String",
29897
+ # },
29898
+ # ],
29899
+ # dedicated_host_ids: ["DedicatedHostId"],
29900
+ # },
29901
+ # })
29902
+ #
29903
+ # @example Response structure
29904
+ #
29905
+ # resp.instance_event_window.instance_event_window_id #=> String
29906
+ # resp.instance_event_window.time_ranges #=> Array
29907
+ # resp.instance_event_window.time_ranges[0].start_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
29908
+ # resp.instance_event_window.time_ranges[0].start_hour #=> Integer
29909
+ # resp.instance_event_window.time_ranges[0].end_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
29910
+ # resp.instance_event_window.time_ranges[0].end_hour #=> Integer
29911
+ # resp.instance_event_window.name #=> String
29912
+ # resp.instance_event_window.cron_expression #=> String
29913
+ # resp.instance_event_window.association_target.instance_ids #=> Array
29914
+ # resp.instance_event_window.association_target.instance_ids[0] #=> String
29915
+ # resp.instance_event_window.association_target.tags #=> Array
29916
+ # resp.instance_event_window.association_target.tags[0].key #=> String
29917
+ # resp.instance_event_window.association_target.tags[0].value #=> String
29918
+ # resp.instance_event_window.association_target.dedicated_host_ids #=> Array
29919
+ # resp.instance_event_window.association_target.dedicated_host_ids[0] #=> String
29920
+ # resp.instance_event_window.state #=> String, one of "creating", "deleting", "active", "deleted"
29921
+ # resp.instance_event_window.tags #=> Array
29922
+ # resp.instance_event_window.tags[0].key #=> String
29923
+ # resp.instance_event_window.tags[0].value #=> String
29924
+ #
29925
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateInstanceEventWindow AWS API Documentation
29926
+ #
29927
+ # @overload disassociate_instance_event_window(params = {})
29928
+ # @param [Hash] params ({})
29929
+ def disassociate_instance_event_window(params = {}, options = {})
29930
+ req = build_request(:disassociate_instance_event_window, params)
29931
+ req.send_request(options)
29932
+ end
29933
+
29291
29934
  # Disassociates a subnet or gateway from a route table.
29292
29935
  #
29293
29936
  # After you perform this action, the subnet no longer uses the routes in
@@ -30145,7 +30788,7 @@ module Aws::EC2
30145
30788
  # role_name: "String",
30146
30789
  # tag_specifications: [
30147
30790
  # {
30148
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
30791
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
30149
30792
  # tags: [
30150
30793
  # {
30151
30794
  # key: "String",
@@ -30266,12 +30909,11 @@ module Aws::EC2
30266
30909
  req.send_request(options)
30267
30910
  end
30268
30911
 
30269
- # Returns the IAM roles that are associated with the specified AWS
30270
- # Certificate Manager (ACM) certificate. It also returns the name of the
30271
- # Amazon S3 bucket and the Amazon S3 object key where the certificate,
30272
- # certificate chain, and encrypted private key bundle are stored, and
30273
- # the ARN of the AWS Key Management Service (KMS) customer master key
30274
- # (CMK) that's used to encrypt the private key.
30912
+ # Returns the IAM roles that are associated with the specified ACM (ACM)
30913
+ # certificate. It also returns the name of the Amazon S3 bucket and the
30914
+ # Amazon S3 object key where the certificate, certificate chain, and
30915
+ # encrypted private key bundle are stored, and the ARN of the KMS key
30916
+ # that's used to encrypt the private key.
30275
30917
  #
30276
30918
  # @option params [String] :certificate_arn
30277
30919
  # The ARN of the ACM certificate for which to view the associated IAM
@@ -30365,9 +31007,9 @@ module Aws::EC2
30365
31007
 
30366
31008
  # Gets usage information about a Capacity Reservation. If the Capacity
30367
31009
  # Reservation is shared, it shows usage information for the Capacity
30368
- # Reservation owner and each AWS account that is currently using the
30369
- # shared capacity. If the Capacity Reservation is not shared, it shows
30370
- # only the Capacity Reservation owner's usage.
31010
+ # Reservation owner and each account that is currently using the shared
31011
+ # capacity. If the Capacity Reservation is not shared, it shows only the
31012
+ # Capacity Reservation owner's usage.
30371
31013
  #
30372
31014
  # @option params [required, String] :capacity_reservation_id
30373
31015
  # The ID of the Capacity Reservation.
@@ -31084,7 +31726,7 @@ module Aws::EC2
31084
31726
  # resp.launch_template_data.instance_initiated_shutdown_behavior #=> String, one of "stop", "terminate"
31085
31727
  # resp.launch_template_data.user_data #=> String
31086
31728
  # resp.launch_template_data.tag_specifications #=> Array
31087
- # resp.launch_template_data.tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "egress-only-internet-gateway", "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", "network-insights-analysis", "network-insights-path", "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-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway", "vpc-flow-log"
31729
+ # resp.launch_template_data.tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "egress-only-internet-gateway", "elastic-ip", "elastic-gpu", "export-image-task", "export-instance-task", "fleet", "fpga-image", "host-reservation", "image", "import-image-task", "import-snapshot-task", "instance", "instance-event-window", "internet-gateway", "key-pair", "launch-template", "local-gateway-route-table-vpc-association", "natgateway", "network-acl", "network-interface", "network-insights-analysis", "network-insights-path", "placement-group", "reserved-instances", "route-table", "security-group", "security-group-rule", "snapshot", "spot-fleet-request", "spot-instances-request", "subnet", "traffic-mirror-filter", "traffic-mirror-session", "traffic-mirror-target", "transit-gateway", "transit-gateway-attachment", "transit-gateway-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway", "vpc-flow-log"
31088
31730
  # resp.launch_template_data.tag_specifications[0].tags #=> Array
31089
31731
  # resp.launch_template_data.tag_specifications[0].tags[0].key #=> String
31090
31732
  # resp.launch_template_data.tag_specifications[0].tags[0].value #=> String
@@ -32018,7 +32660,7 @@ module Aws::EC2
32018
32660
  # ],
32019
32661
  # tag_specifications: [
32020
32662
  # {
32021
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
32663
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
32022
32664
  # tags: [
32023
32665
  # {
32024
32666
  # key: "String",
@@ -32200,11 +32842,12 @@ module Aws::EC2
32200
32842
  end
32201
32843
 
32202
32844
  # Imports the public key from an RSA key pair that you created with a
32203
- # third-party tool. Compare this with CreateKeyPair, in which AWS
32204
- # creates the key pair and gives the keys to you (AWS keeps a copy of
32205
- # the public key). With ImportKeyPair, you create the key pair and give
32206
- # AWS just the public key. The private key is never transferred between
32207
- # you and AWS.
32845
+ # third-party tool. Compare this with CreateKeyPair, in which Amazon Web
32846
+ # Services creates the key pair and gives the keys to you (Amazon Web
32847
+ # Services keeps a copy of the public key). With ImportKeyPair, you
32848
+ # create the key pair and give Amazon Web Services just the public key.
32849
+ # The private key is never transferred between you and Amazon Web
32850
+ # Services.
32208
32851
  #
32209
32852
  # For more information about key pairs, see [Key Pairs][1] in the
32210
32853
  # *Amazon Elastic Compute Cloud User Guide*.
@@ -32244,7 +32887,7 @@ module Aws::EC2
32244
32887
  # public_key_material: "data", # required
32245
32888
  # tag_specifications: [
32246
32889
  # {
32247
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
32890
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
32248
32891
  # tags: [
32249
32892
  # {
32250
32893
  # key: "String",
@@ -32387,7 +33030,7 @@ module Aws::EC2
32387
33030
  # role_name: "String",
32388
33031
  # tag_specifications: [
32389
33032
  # {
32390
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
33033
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
32391
33034
  # tags: [
32392
33035
  # {
32393
33036
  # key: "String",
@@ -32827,12 +33470,12 @@ module Aws::EC2
32827
33470
 
32828
33471
  # Modifies the default credit option for CPU usage of burstable
32829
33472
  # performance instances. The default credit option is set at the account
32830
- # level per AWS Region, and is specified per instance family. All new
33473
+ # level per Region, and is specified per instance family. All new
32831
33474
  # burstable performance instances in the account launch using the
32832
33475
  # default credit option.
32833
33476
  #
32834
33477
  # `ModifyDefaultCreditSpecification` is an asynchronous operation, which
32835
- # works at an AWS Region level and modifies the credit option for each
33478
+ # works at an Region level and modifies the credit option for each
32836
33479
  # Availability Zone. All zones in a Region are updated within five
32837
33480
  # minutes. But if instances are launched during this operation, they
32838
33481
  # might not get the new credit option until the zone is updated. To
@@ -33015,6 +33658,9 @@ module Aws::EC2
33015
33658
  # @option params [Types::TargetCapacitySpecificationRequest] :target_capacity_specification
33016
33659
  # The size of the EC2 Fleet.
33017
33660
  #
33661
+ # @option params [String] :context
33662
+ # Reserved.
33663
+ #
33018
33664
  # @return [Types::ModifyFleetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
33019
33665
  #
33020
33666
  # * {Types::ModifyFleetResult#return #return} => Boolean
@@ -33060,6 +33706,7 @@ module Aws::EC2
33060
33706
  # spot_target_capacity: 1,
33061
33707
  # default_target_capacity_type: "spot", # accepts spot, on-demand
33062
33708
  # },
33709
+ # context: "String",
33063
33710
  # })
33064
33711
  #
33065
33712
  # @example Response structure
@@ -33648,9 +34295,9 @@ module Aws::EC2
33648
34295
  #
33649
34296
  # @option params [Types::BlobAttributeValue] :user_data
33650
34297
  # Changes the instance's user data to the specified value. If you are
33651
- # using an AWS SDK or command line tool, base64-encoding is performed
33652
- # for you, and you can load the text from a file. Otherwise, you must
33653
- # provide base64-encoded text.
34298
+ # using an Amazon Web Services SDK or command line tool, base64-encoding
34299
+ # is performed for you, and you can load the text from a file.
34300
+ # Otherwise, you must provide base64-encoded text.
33654
34301
  #
33655
34302
  # @option params [String] :value
33656
34303
  # A new value for the attribute. Use only with the `kernel`, `ramdisk`,
@@ -33901,6 +34548,120 @@ module Aws::EC2
33901
34548
  req.send_request(options)
33902
34549
  end
33903
34550
 
34551
+ # Modifies the specified event window.
34552
+ #
34553
+ # You can define either a set of time ranges or a cron expression when
34554
+ # modifying the event window, but not both.
34555
+ #
34556
+ # To modify the targets associated with the event window, use the
34557
+ # AssociateInstanceEventWindow and DisassociateInstanceEventWindow API.
34558
+ #
34559
+ # If Amazon Web Services has already scheduled an event, modifying an
34560
+ # event window won't change the time of the scheduled event.
34561
+ #
34562
+ # For more information, see [Define event windows for scheduled
34563
+ # events][1] in the *Amazon EC2 User Guide*.
34564
+ #
34565
+ #
34566
+ #
34567
+ # [1]: https://docs.aws.amazon.com/monitoring-instances-status-check_sched.html#event-windows
34568
+ #
34569
+ # @option params [Boolean] :dry_run
34570
+ # Checks whether you have the required permissions for the action,
34571
+ # without actually making the request, and provides an error response.
34572
+ # If you have the required permissions, the error response is
34573
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
34574
+ #
34575
+ # @option params [String] :name
34576
+ # The name of the event window.
34577
+ #
34578
+ # @option params [required, String] :instance_event_window_id
34579
+ # The ID of the event window.
34580
+ #
34581
+ # @option params [Array<Types::InstanceEventWindowTimeRangeRequest>] :time_ranges
34582
+ # The time ranges of the event window.
34583
+ #
34584
+ # @option params [String] :cron_expression
34585
+ # The cron expression of the event window, for example, `* 0-4,20-23 * *
34586
+ # 1,5`.
34587
+ #
34588
+ # Constraints:
34589
+ #
34590
+ # * Only hour and day of the week values are supported.
34591
+ #
34592
+ # * For day of the week values, you can specify either integers `0`
34593
+ # through `6`, or alternative single values `SUN` through `SAT`.
34594
+ #
34595
+ # * The minute, month, and year must be specified by `*`.
34596
+ #
34597
+ # * The hour value must be one or a multiple range, for example, `0-4`
34598
+ # or `0-4,20-23`.
34599
+ #
34600
+ # * Each hour range must be &gt;= 2 hours, for example, `0-2` or
34601
+ # `20-23`.
34602
+ #
34603
+ # * The event window must be &gt;= 4 hours. The combined total time
34604
+ # ranges in the event window must be &gt;= 4 hours.
34605
+ #
34606
+ # For more information about cron expressions, see [cron][1] on the
34607
+ # *Wikipedia website*.
34608
+ #
34609
+ #
34610
+ #
34611
+ # [1]: https://en.wikipedia.org/wiki/Cron
34612
+ #
34613
+ # @return [Types::ModifyInstanceEventWindowResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
34614
+ #
34615
+ # * {Types::ModifyInstanceEventWindowResult#instance_event_window #instance_event_window} => Types::InstanceEventWindow
34616
+ #
34617
+ # @example Request syntax with placeholder values
34618
+ #
34619
+ # resp = client.modify_instance_event_window({
34620
+ # dry_run: false,
34621
+ # name: "String",
34622
+ # instance_event_window_id: "InstanceEventWindowId", # required
34623
+ # time_ranges: [
34624
+ # {
34625
+ # start_week_day: "sunday", # accepts sunday, monday, tuesday, wednesday, thursday, friday, saturday
34626
+ # start_hour: 1,
34627
+ # end_week_day: "sunday", # accepts sunday, monday, tuesday, wednesday, thursday, friday, saturday
34628
+ # end_hour: 1,
34629
+ # },
34630
+ # ],
34631
+ # cron_expression: "InstanceEventWindowCronExpression",
34632
+ # })
34633
+ #
34634
+ # @example Response structure
34635
+ #
34636
+ # resp.instance_event_window.instance_event_window_id #=> String
34637
+ # resp.instance_event_window.time_ranges #=> Array
34638
+ # resp.instance_event_window.time_ranges[0].start_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
34639
+ # resp.instance_event_window.time_ranges[0].start_hour #=> Integer
34640
+ # resp.instance_event_window.time_ranges[0].end_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
34641
+ # resp.instance_event_window.time_ranges[0].end_hour #=> Integer
34642
+ # resp.instance_event_window.name #=> String
34643
+ # resp.instance_event_window.cron_expression #=> String
34644
+ # resp.instance_event_window.association_target.instance_ids #=> Array
34645
+ # resp.instance_event_window.association_target.instance_ids[0] #=> String
34646
+ # resp.instance_event_window.association_target.tags #=> Array
34647
+ # resp.instance_event_window.association_target.tags[0].key #=> String
34648
+ # resp.instance_event_window.association_target.tags[0].value #=> String
34649
+ # resp.instance_event_window.association_target.dedicated_host_ids #=> Array
34650
+ # resp.instance_event_window.association_target.dedicated_host_ids[0] #=> String
34651
+ # resp.instance_event_window.state #=> String, one of "creating", "deleting", "active", "deleted"
34652
+ # resp.instance_event_window.tags #=> Array
34653
+ # resp.instance_event_window.tags[0].key #=> String
34654
+ # resp.instance_event_window.tags[0].value #=> String
34655
+ #
34656
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceEventWindow AWS API Documentation
34657
+ #
34658
+ # @overload modify_instance_event_window(params = {})
34659
+ # @param [Hash] params ({})
34660
+ def modify_instance_event_window(params = {}, options = {})
34661
+ req = build_request(:modify_instance_event_window, params)
34662
+ req.send_request(options)
34663
+ end
34664
+
33904
34665
  # Modify the instance metadata parameters on a running or stopped
33905
34666
  # instance. When you modify the parameters on a stopped instance, they
33906
34667
  # are applied when the instance is started. When you modify the
@@ -34414,6 +35175,59 @@ module Aws::EC2
34414
35175
  req.send_request(options)
34415
35176
  end
34416
35177
 
35178
+ # Modifies the rules of a security group.
35179
+ #
35180
+ # @option params [required, String] :group_id
35181
+ # The ID of the security group.
35182
+ #
35183
+ # @option params [required, Array<Types::SecurityGroupRuleUpdate>] :security_group_rules
35184
+ # Information about the security group properties to update.
35185
+ #
35186
+ # @option params [Boolean] :dry_run
35187
+ # Checks whether you have the required permissions for the action,
35188
+ # without actually making the request, and provides an error response.
35189
+ # If you have the required permissions, the error response is
35190
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
35191
+ #
35192
+ # @return [Types::ModifySecurityGroupRulesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
35193
+ #
35194
+ # * {Types::ModifySecurityGroupRulesResult#return #return} => Boolean
35195
+ #
35196
+ # @example Request syntax with placeholder values
35197
+ #
35198
+ # resp = client.modify_security_group_rules({
35199
+ # group_id: "SecurityGroupId", # required
35200
+ # security_group_rules: [ # required
35201
+ # {
35202
+ # security_group_rule_id: "SecurityGroupRuleId",
35203
+ # security_group_rule: {
35204
+ # ip_protocol: "String",
35205
+ # from_port: 1,
35206
+ # to_port: 1,
35207
+ # cidr_ipv_4: "String",
35208
+ # cidr_ipv_6: "String",
35209
+ # prefix_list_id: "PrefixListResourceId",
35210
+ # referenced_group_id: "SecurityGroupId",
35211
+ # description: "String",
35212
+ # },
35213
+ # },
35214
+ # ],
35215
+ # dry_run: false,
35216
+ # })
35217
+ #
35218
+ # @example Response structure
35219
+ #
35220
+ # resp.return #=> Boolean
35221
+ #
35222
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySecurityGroupRules AWS API Documentation
35223
+ #
35224
+ # @overload modify_security_group_rules(params = {})
35225
+ # @param [Hash] params ({})
35226
+ def modify_security_group_rules(params = {}, options = {})
35227
+ req = build_request(:modify_security_group_rules, params)
35228
+ req.send_request(options)
35229
+ end
35230
+
34417
35231
  # Adds or removes permission settings for the specified snapshot. You
34418
35232
  # may add or remove specified AWS account IDs from a snapshot's list of
34419
35233
  # create volume permissions, but you cannot do both in a single
@@ -34585,6 +35399,9 @@ module Aws::EC2
34585
35399
  # @option params [Integer] :on_demand_target_capacity
34586
35400
  # The number of On-Demand Instances in the fleet.
34587
35401
  #
35402
+ # @option params [String] :context
35403
+ # Reserved.
35404
+ #
34588
35405
  # @return [Types::ModifySpotFleetRequestResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
34589
35406
  #
34590
35407
  # * {Types::ModifySpotFleetRequestResponse#return #return} => Boolean
@@ -34646,6 +35463,7 @@ module Aws::EC2
34646
35463
  # spot_fleet_request_id: "SpotFleetRequestId", # required
34647
35464
  # target_capacity: 1,
34648
35465
  # on_demand_target_capacity: 1,
35466
+ # context: "String",
34649
35467
  # })
34650
35468
  #
34651
35469
  # @example Response structure
@@ -36622,7 +37440,7 @@ module Aws::EC2
36622
37440
  # dry_run: false,
36623
37441
  # pool_tag_specifications: [
36624
37442
  # {
36625
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
37443
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
36626
37444
  # tags: [
36627
37445
  # {
36628
37446
  # key: "String",
@@ -36706,7 +37524,7 @@ module Aws::EC2
36706
37524
  # offering_id: "OfferingId", # required
36707
37525
  # tag_specifications: [
36708
37526
  # {
36709
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
37527
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
36710
37528
  # tags: [
36711
37529
  # {
36712
37530
  # key: "String",
@@ -38572,7 +39390,7 @@ module Aws::EC2
38572
39390
  # weighted_capacity: 1.0,
38573
39391
  # tag_specifications: [
38574
39392
  # {
38575
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
39393
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
38576
39394
  # tags: [
38577
39395
  # {
38578
39396
  # key: "String",
@@ -38630,9 +39448,10 @@ module Aws::EC2
38630
39448
  # },
38631
39449
  # },
38632
39450
  # instance_pools_to_use_count: 1,
39451
+ # context: "String",
38633
39452
  # tag_specifications: [
38634
39453
  # {
38635
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
39454
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
38636
39455
  # tags: [
38637
39456
  # {
38638
39457
  # key: "String",
@@ -38690,22 +39509,7 @@ module Aws::EC2
38690
39509
  # Default: Instances are launched in any available Availability Zone.
38691
39510
  #
38692
39511
  # @option params [Integer] :block_duration_minutes
38693
- # The required duration for the Spot Instances (also known as Spot
38694
- # blocks), in minutes. This value must be a multiple of 60 (60, 120,
38695
- # 180, 240, 300, or 360).
38696
- #
38697
- # The duration period starts as soon as your Spot Instance receives its
38698
- # instance ID. At the end of the duration period, Amazon EC2 marks the
38699
- # Spot Instance for termination and provides a Spot Instance termination
38700
- # notice, which gives the instance a two-minute warning before it
38701
- # terminates.
38702
- #
38703
- # You can't specify an Availability Zone group or a launch group if you
38704
- # specify a duration.
38705
- #
38706
- # New accounts or accounts with no previous billing history with AWS are
38707
- # not eligible for Spot Instances with a defined duration (also known as
38708
- # Spot blocks).
39512
+ # Deprecated.
38709
39513
  #
38710
39514
  # @option params [String] :client_token
38711
39515
  # Unique, case-sensitive identifier that you provide to ensure the
@@ -38924,7 +39728,7 @@ module Aws::EC2
38924
39728
  # valid_until: Time.now,
38925
39729
  # tag_specifications: [
38926
39730
  # {
38927
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
39731
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
38928
39732
  # tags: [
38929
39733
  # {
38930
39734
  # key: "String",
@@ -39522,26 +40326,26 @@ module Aws::EC2
39522
40326
  req.send_request(options)
39523
40327
  end
39524
40328
 
39525
- # \[VPC only\] Removes the specified egress rules from a security group
39526
- # for EC2-VPC. This action does not apply to security groups for use in
39527
- # EC2-Classic. To remove a rule, the values that you specify (for
39528
- # example, ports) must match the existing rule's values exactly.
40329
+ # \[VPC only\] Removes the specified outbound (egress) rules from a
40330
+ # security group for EC2-VPC. This action does not apply to security
40331
+ # groups for use in EC2-Classic.
40332
+ #
40333
+ # You can specify rules using either rule IDs or security group rule
40334
+ # properties. If you use rule properties, the values that you specify
40335
+ # (for example, ports) must match the existing rule's values exactly.
40336
+ # Each rule has a protocol, from and to ports, and destination (CIDR
40337
+ # range, security group, or prefix list). For the TCP and UDP protocols,
40338
+ # you must also specify the destination port or range of ports. For the
40339
+ # ICMP protocol, you must also specify the ICMP type and code. If the
40340
+ # security group rule has a description, you do not need to specify the
40341
+ # description to revoke the rule.
39529
40342
  #
39530
- # <note markdown="1"> \[Default VPC\] If the values you specify do not match the existing
40343
+ # \[Default VPC\] If the values you specify do not match the existing
39531
40344
  # rule's values, no error is returned, and the output describes the
39532
40345
  # security group rules that were not revoked.
39533
40346
  #
39534
- # AWS recommends that you use DescribeSecurityGroups to verify that the
39535
- # rule has been removed.
39536
- #
39537
- # </note>
39538
- #
39539
- # Each rule consists of the protocol and the IPv4 or IPv6 CIDR range or
39540
- # source security group. For the TCP and UDP protocols, you must also
39541
- # specify the destination port or range of ports. For the ICMP protocol,
39542
- # you must also specify the ICMP type and code. If the security group
39543
- # rule has a description, you do not have to specify the description to
39544
- # revoke the rule.
40347
+ # Amazon Web Services recommends that you describe the security group to
40348
+ # verify that the rules were removed.
39545
40349
  #
39546
40350
  # Rule changes are propagated to instances within the security group as
39547
40351
  # quickly as possible. However, a small delay might occur.
@@ -39559,6 +40363,9 @@ module Aws::EC2
39559
40363
  # The sets of IP permissions. You can't specify a destination security
39560
40364
  # group and a CIDR IP address range in the same set of permissions.
39561
40365
  #
40366
+ # @option params [Array<String>] :security_group_rule_ids
40367
+ # The IDs of the security group rules.
40368
+ #
39562
40369
  # @option params [String] :cidr_ip
39563
40370
  # Not supported. Use a set of IP permissions to specify the CIDR.
39564
40371
  #
@@ -39626,6 +40433,7 @@ module Aws::EC2
39626
40433
  # ],
39627
40434
  # },
39628
40435
  # ],
40436
+ # security_group_rule_ids: ["String"],
39629
40437
  # cidr_ip: "String",
39630
40438
  # from_port: 1,
39631
40439
  # ip_protocol: "String",
@@ -39668,25 +40476,24 @@ module Aws::EC2
39668
40476
  req.send_request(options)
39669
40477
  end
39670
40478
 
39671
- # Removes the specified ingress rules from a security group. To remove a
39672
- # rule, the values that you specify (for example, ports) must match the
39673
- # existing rule's values exactly.
40479
+ # Removes the specified inbound (ingress) rules from a security group.
39674
40480
  #
39675
- # <note markdown="1"> \[EC2-Classic , default VPC\] If the values you specify do not match
40481
+ # You can specify rules using either rule IDs or security group rule
40482
+ # properties. If you use rule properties, the values that you specify
40483
+ # (for example, ports) must match the existing rule's values exactly.
40484
+ # Each rule has a protocol, from and to ports, and source (CIDR range,
40485
+ # security group, or prefix list). For the TCP and UDP protocols, you
40486
+ # must also specify the destination port or range of ports. For the ICMP
40487
+ # protocol, you must also specify the ICMP type and code. If the
40488
+ # security group rule has a description, you do not need to specify the
40489
+ # description to revoke the rule.
40490
+ #
40491
+ # \[EC2-Classic, default VPC\] If the values you specify do not match
39676
40492
  # the existing rule's values, no error is returned, and the output
39677
40493
  # describes the security group rules that were not revoked.
39678
40494
  #
39679
- # AWS recommends that you use DescribeSecurityGroups to verify that the
39680
- # rule has been removed.
39681
- #
39682
- # </note>
39683
- #
39684
- # Each rule consists of the protocol and the CIDR range or source
39685
- # security group. For the TCP and UDP protocols, you must also specify
39686
- # the destination port or range of ports. For the ICMP protocol, you
39687
- # must also specify the ICMP type and code. If the security group rule
39688
- # has a description, you do not have to specify the description to
39689
- # revoke the rule.
40495
+ # Amazon Web Services recommends that you describe the security group to
40496
+ # verify that the rules were removed.
39690
40497
  #
39691
40498
  # Rule changes are propagated to instances within the security group as
39692
40499
  # quickly as possible. However, a small delay might occur.
@@ -39731,12 +40538,13 @@ module Aws::EC2
39731
40538
  # instead.
39732
40539
  #
39733
40540
  # @option params [String] :source_security_group_owner_id
39734
- # \[EC2-Classic\] The AWS account ID of the source security group, if
39735
- # the source security group is in a different account. You can't
39736
- # specify this parameter in combination with the following parameters:
39737
- # the CIDR IP address range, the IP protocol, the start of the port
39738
- # range, and the end of the port range. To revoke a specific rule for an
39739
- # IP protocol and port range, use a set of IP permissions instead.
40541
+ # \[EC2-Classic\] The Amazon Web Services account ID of the source
40542
+ # security group, if the source security group is in a different
40543
+ # account. You can't specify this parameter in combination with the
40544
+ # following parameters: the CIDR IP address range, the IP protocol, the
40545
+ # start of the port range, and the end of the port range. To revoke a
40546
+ # specific rule for an IP protocol and port range, use a set of IP
40547
+ # permissions instead.
39740
40548
  #
39741
40549
  # @option params [Integer] :to_port
39742
40550
  # The end of port range for the TCP and UDP protocols, or an ICMP code
@@ -39749,6 +40557,9 @@ module Aws::EC2
39749
40557
  # If you have the required permissions, the error response is
39750
40558
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
39751
40559
  #
40560
+ # @option params [Array<String>] :security_group_rule_ids
40561
+ # The IDs of the security group rules.
40562
+ #
39752
40563
  # @return [Types::RevokeSecurityGroupIngressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
39753
40564
  #
39754
40565
  # * {Types::RevokeSecurityGroupIngressResult#return #return} => Boolean
@@ -39802,6 +40613,7 @@ module Aws::EC2
39802
40613
  # source_security_group_owner_id: "String",
39803
40614
  # to_port: 1,
39804
40615
  # dry_run: false,
40616
+ # security_group_rule_ids: ["String"],
39805
40617
  # })
39806
40618
  #
39807
40619
  # @example Response structure
@@ -40004,7 +40816,8 @@ module Aws::EC2
40004
40816
  # The ID of the RAM disk to select. Some kernels require additional
40005
40817
  # drivers at launch. Check the kernel requirements for information about
40006
40818
  # whether you need to specify a RAM disk. To find kernel requirements,
40007
- # go to the AWS Resource Center and search for the kernel ID.
40819
+ # go to the Amazon Web Services Resource Center and search for the
40820
+ # kernel ID.
40008
40821
  #
40009
40822
  # We recommend that you use PV-GRUB instead of kernels and RAM disks.
40010
40823
  # For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
@@ -40207,8 +41020,8 @@ module Aws::EC2
40207
41020
  # information, see [Hibernate your instance][1] in the *Amazon EC2 User
40208
41021
  # Guide*.
40209
41022
  #
40210
- # You can't enable hibernation and AWS Nitro Enclaves on the same
40211
- # instance.
41023
+ # You can't enable hibernation and Amazon Web Services Nitro Enclaves
41024
+ # on the same instance.
40212
41025
  #
40213
41026
  #
40214
41027
  #
@@ -40226,12 +41039,13 @@ module Aws::EC2
40226
41039
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
40227
41040
  #
40228
41041
  # @option params [Types::EnclaveOptionsRequest] :enclave_options
40229
- # Indicates whether the instance is enabled for AWS Nitro Enclaves. For
40230
- # more information, see [ What is AWS Nitro Enclaves?][1] in the *AWS
40231
- # Nitro Enclaves User Guide*.
41042
+ # Indicates whether the instance is enabled for Amazon Web Services
41043
+ # Nitro Enclaves. For more information, see [ What is Amazon Web
41044
+ # Services Nitro Enclaves?][1] in the *Amazon Web Services Nitro
41045
+ # Enclaves User Guide*.
40232
41046
  #
40233
- # You can't enable AWS Nitro Enclaves and hibernation on the same
40234
- # instance.
41047
+ # You can't enable Amazon Web Services Nitro Enclaves and hibernation
41048
+ # on the same instance.
40235
41049
  #
40236
41050
  #
40237
41051
  #
@@ -40389,7 +41203,7 @@ module Aws::EC2
40389
41203
  # ],
40390
41204
  # tag_specifications: [
40391
41205
  # {
40392
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
41206
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
40393
41207
  # tags: [
40394
41208
  # {
40395
41209
  # key: "String",
@@ -41095,13 +41909,8 @@ module Aws::EC2
41095
41909
  # However, your root partition Amazon EBS volume remains and continues
41096
41910
  # to persist your data, and you are charged for Amazon EBS volume usage.
41097
41911
  # You can restart your instance at any time. Every time you start your
41098
- # Windows instance, Amazon EC2 charges you for a full instance hour. If
41099
- # you stop and restart your Windows instance, a new instance hour begins
41100
- # and Amazon EC2 charges you for another full instance hour even if you
41101
- # are still within the same 60-minute period when it was stopped. Every
41102
- # time you start your Linux instance, Amazon EC2 charges a one-minute
41103
- # minimum for instance usage, and thereafter charges per second for
41104
- # instance usage.
41912
+ # instance, Amazon EC2 charges a one-minute minimum for instance usage,
41913
+ # and thereafter charges per second for instance usage.
41105
41914
  #
41106
41915
  # Before stopping an instance, make sure it is in a state from which it
41107
41916
  # can be restarted. Stopping an instance does not preserve data stored
@@ -41230,7 +42039,7 @@ module Aws::EC2
41230
42039
  # dry_run: false,
41231
42040
  # tag_specifications: [
41232
42041
  # {
41233
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
42042
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
41234
42043
  # tags: [
41235
42044
  # {
41236
42045
  # key: "String",
@@ -41547,13 +42356,9 @@ module Aws::EC2
41547
42356
  # We don't charge usage for a stopped instance, or data transfer fees;
41548
42357
  # however, your root partition Amazon EBS volume remains and continues
41549
42358
  # to persist your data, and you are charged for Amazon EBS volume usage.
41550
- # Every time you start your Windows instance, Amazon EC2 charges you for
41551
- # a full instance hour. If you stop and restart your Windows instance, a
41552
- # new instance hour begins and Amazon EC2 charges you for another full
41553
- # instance hour even if you are still within the same 60-minute period
41554
- # when it was stopped. Every time you start your Linux instance, Amazon
41555
- # EC2 charges a one-minute minimum for instance usage, and thereafter
41556
- # charges per second for instance usage.
42359
+ # Every time you start your instance, Amazon EC2 charges a one-minute
42360
+ # minimum for instance usage, and thereafter charges per second for
42361
+ # instance usage.
41557
42362
  #
41558
42363
  # You can't stop or hibernate instance store-backed instances. You
41559
42364
  # can't use the Stop action to hibernate Spot Instances, but you can
@@ -41743,6 +42548,38 @@ module Aws::EC2
41743
42548
  # because of a single incorrect instance ID), none of the instances are
41744
42549
  # terminated.
41745
42550
  #
42551
+ # If you terminate multiple instances across multiple Availability
42552
+ # Zones, and one or more of the specified instances are enabled for
42553
+ # termination protection, the request fails with the following results:
42554
+ #
42555
+ # * The specified instances that are in the same Availability Zone as
42556
+ # the protected instance are not terminated.
42557
+ #
42558
+ # * The specified instances that are in different Availability Zones,
42559
+ # where no other specified instances are protected, are successfully
42560
+ # terminated.
42561
+ #
42562
+ # For example, say you have the following instances:
42563
+ #
42564
+ # * Instance A: `us-east-1a`; Not protected
42565
+ #
42566
+ # * Instance B: `us-east-1a`; Not protected
42567
+ #
42568
+ # * Instance C: `us-east-1b`; Protected
42569
+ #
42570
+ # * Instance D: `us-east-1b`; not protected
42571
+ #
42572
+ # If you attempt to terminate all of these instances in the same
42573
+ # request, the request reports failure with the following results:
42574
+ #
42575
+ # * Instance A and Instance B are successfully terminated because none
42576
+ # of the specified instances in `us-east-1a` are enabled for
42577
+ # termination protection.
42578
+ #
42579
+ # * Instance C and Instance D fail to terminate because at least one of
42580
+ # the specified instances in `us-east-1b` (Instance C) is enabled for
42581
+ # termination protection.
42582
+ #
41746
42583
  # Terminated instances remain visible after termination (for
41747
42584
  # approximately one hour).
41748
42585
  #
@@ -41958,11 +42795,9 @@ module Aws::EC2
41958
42795
 
41959
42796
  # \[VPC only\] Updates the description of an egress (outbound) security
41960
42797
  # group rule. You can replace an existing description, or add a
41961
- # description to a rule that did not have one previously.
41962
- #
41963
- # You specify the description as part of the IP permissions structure.
41964
- # You can remove a description for a security group rule by omitting the
41965
- # description parameter in the request.
42798
+ # description to a rule that did not have one previously. You can remove
42799
+ # a description for a security group rule by omitting the description
42800
+ # parameter in the request.
41966
42801
  #
41967
42802
  # @option params [Boolean] :dry_run
41968
42803
  # Checks whether you have the required permissions for the action,
@@ -41980,8 +42815,13 @@ module Aws::EC2
41980
42815
  # either the security group ID or the security group name in the
41981
42816
  # request.
41982
42817
  #
41983
- # @option params [required, Array<Types::IpPermission>] :ip_permissions
41984
- # The IP permissions for the security group rule.
42818
+ # @option params [Array<Types::IpPermission>] :ip_permissions
42819
+ # The IP permissions for the security group rule. You must specify
42820
+ # either the IP permissions or the description.
42821
+ #
42822
+ # @option params [Array<Types::SecurityGroupRuleDescription>] :security_group_rule_descriptions
42823
+ # The description for the egress security group rules. You must specify
42824
+ # either the description or the IP permissions.
41985
42825
  #
41986
42826
  # @return [Types::UpdateSecurityGroupRuleDescriptionsEgressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
41987
42827
  #
@@ -42019,7 +42859,7 @@ module Aws::EC2
42019
42859
  # dry_run: false,
42020
42860
  # group_id: "SecurityGroupId",
42021
42861
  # group_name: "SecurityGroupName",
42022
- # ip_permissions: [ # required
42862
+ # ip_permissions: [
42023
42863
  # {
42024
42864
  # from_port: 1,
42025
42865
  # ip_protocol: "String",
@@ -42055,6 +42895,12 @@ module Aws::EC2
42055
42895
  # ],
42056
42896
  # },
42057
42897
  # ],
42898
+ # security_group_rule_descriptions: [
42899
+ # {
42900
+ # security_group_rule_id: "String",
42901
+ # description: "String",
42902
+ # },
42903
+ # ],
42058
42904
  # })
42059
42905
  #
42060
42906
  # @example Response structure
@@ -42072,11 +42918,9 @@ module Aws::EC2
42072
42918
 
42073
42919
  # Updates the description of an ingress (inbound) security group rule.
42074
42920
  # You can replace an existing description, or add a description to a
42075
- # rule that did not have one previously.
42076
- #
42077
- # You specify the description as part of the IP permissions structure.
42078
- # You can remove a description for a security group rule by omitting the
42079
- # description parameter in the request.
42921
+ # rule that did not have one previously. You can remove a description
42922
+ # for a security group rule by omitting the description parameter in the
42923
+ # request.
42080
42924
  #
42081
42925
  # @option params [Boolean] :dry_run
42082
42926
  # Checks whether you have the required permissions for the action,
@@ -42094,8 +42938,13 @@ module Aws::EC2
42094
42938
  # specify either the security group ID or the security group name in the
42095
42939
  # request.
42096
42940
  #
42097
- # @option params [required, Array<Types::IpPermission>] :ip_permissions
42098
- # The IP permissions for the security group rule.
42941
+ # @option params [Array<Types::IpPermission>] :ip_permissions
42942
+ # The IP permissions for the security group rule. You must specify
42943
+ # either IP permissions or a description.
42944
+ #
42945
+ # @option params [Array<Types::SecurityGroupRuleDescription>] :security_group_rule_descriptions
42946
+ # \[VPC only\] The description for the ingress security group rules. You
42947
+ # must specify either a description or IP permissions.
42099
42948
  #
42100
42949
  # @return [Types::UpdateSecurityGroupRuleDescriptionsIngressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
42101
42950
  #
@@ -42133,7 +42982,7 @@ module Aws::EC2
42133
42982
  # dry_run: false,
42134
42983
  # group_id: "SecurityGroupId",
42135
42984
  # group_name: "SecurityGroupName",
42136
- # ip_permissions: [ # required
42985
+ # ip_permissions: [
42137
42986
  # {
42138
42987
  # from_port: 1,
42139
42988
  # ip_protocol: "String",
@@ -42169,6 +43018,12 @@ module Aws::EC2
42169
43018
  # ],
42170
43019
  # },
42171
43020
  # ],
43021
+ # security_group_rule_descriptions: [
43022
+ # {
43023
+ # security_group_rule_id: "String",
43024
+ # description: "String",
43025
+ # },
43026
+ # ],
42172
43027
  # })
42173
43028
  #
42174
43029
  # @example Response structure
@@ -42243,7 +43098,7 @@ module Aws::EC2
42243
43098
  params: params,
42244
43099
  config: config)
42245
43100
  context[:gem_name] = 'aws-sdk-ec2'
42246
- context[:gem_version] = '1.245.0'
43101
+ context[:gem_version] = '1.249.0'
42247
43102
  Seahorse::Client::Request.new(handlers, context)
42248
43103
  end
42249
43104