aws-sdk-ec2 1.460.0 → 1.461.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1042,6 +1042,8 @@ module Aws::EC2
1042
1042
  DescribeSubnetsResult = Shapes::StructureShape.new(name: 'DescribeSubnetsResult')
1043
1043
  DescribeTagsRequest = Shapes::StructureShape.new(name: 'DescribeTagsRequest')
1044
1044
  DescribeTagsResult = Shapes::StructureShape.new(name: 'DescribeTagsResult')
1045
+ DescribeTrafficMirrorFilterRulesRequest = Shapes::StructureShape.new(name: 'DescribeTrafficMirrorFilterRulesRequest')
1046
+ DescribeTrafficMirrorFilterRulesResult = Shapes::StructureShape.new(name: 'DescribeTrafficMirrorFilterRulesResult')
1045
1047
  DescribeTrafficMirrorFiltersRequest = Shapes::StructureShape.new(name: 'DescribeTrafficMirrorFiltersRequest')
1046
1048
  DescribeTrafficMirrorFiltersResult = Shapes::StructureShape.new(name: 'DescribeTrafficMirrorFiltersResult')
1047
1049
  DescribeTrafficMirrorSessionsRequest = Shapes::StructureShape.new(name: 'DescribeTrafficMirrorSessionsRequest')
@@ -2875,8 +2877,10 @@ module Aws::EC2
2875
2877
  TrafficMirrorFilterRule = Shapes::StructureShape.new(name: 'TrafficMirrorFilterRule')
2876
2878
  TrafficMirrorFilterRuleField = Shapes::StringShape.new(name: 'TrafficMirrorFilterRuleField')
2877
2879
  TrafficMirrorFilterRuleFieldList = Shapes::ListShape.new(name: 'TrafficMirrorFilterRuleFieldList')
2880
+ TrafficMirrorFilterRuleIdList = Shapes::ListShape.new(name: 'TrafficMirrorFilterRuleIdList')
2878
2881
  TrafficMirrorFilterRuleIdWithResolver = Shapes::StringShape.new(name: 'TrafficMirrorFilterRuleIdWithResolver')
2879
2882
  TrafficMirrorFilterRuleList = Shapes::ListShape.new(name: 'TrafficMirrorFilterRuleList')
2883
+ TrafficMirrorFilterRuleSet = Shapes::ListShape.new(name: 'TrafficMirrorFilterRuleSet')
2880
2884
  TrafficMirrorFilterSet = Shapes::ListShape.new(name: 'TrafficMirrorFilterSet')
2881
2885
  TrafficMirrorNetworkService = Shapes::StringShape.new(name: 'TrafficMirrorNetworkService')
2882
2886
  TrafficMirrorNetworkServiceList = Shapes::ListShape.new(name: 'TrafficMirrorNetworkServiceList')
@@ -5196,6 +5200,7 @@ module Aws::EC2
5196
5200
  CreateTrafficMirrorFilterRuleRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
5197
5201
  CreateTrafficMirrorFilterRuleRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
5198
5202
  CreateTrafficMirrorFilterRuleRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
5203
+ CreateTrafficMirrorFilterRuleRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
5199
5204
  CreateTrafficMirrorFilterRuleRequest.struct_class = Types::CreateTrafficMirrorFilterRuleRequest
5200
5205
 
5201
5206
  CreateTrafficMirrorFilterRuleResult.add_member(:traffic_mirror_filter_rule, Shapes::ShapeRef.new(shape: TrafficMirrorFilterRule, location_name: "trafficMirrorFilterRule"))
@@ -7473,6 +7478,18 @@ module Aws::EC2
7473
7478
  DescribeTagsResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagDescriptionList, location_name: "tagSet"))
7474
7479
  DescribeTagsResult.struct_class = Types::DescribeTagsResult
7475
7480
 
7481
+ DescribeTrafficMirrorFilterRulesRequest.add_member(:traffic_mirror_filter_rule_ids, Shapes::ShapeRef.new(shape: TrafficMirrorFilterRuleIdList, location_name: "TrafficMirrorFilterRuleId"))
7482
+ DescribeTrafficMirrorFilterRulesRequest.add_member(:traffic_mirror_filter_id, Shapes::ShapeRef.new(shape: TrafficMirrorFilterId, location_name: "TrafficMirrorFilterId"))
7483
+ DescribeTrafficMirrorFilterRulesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
7484
+ DescribeTrafficMirrorFilterRulesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
7485
+ DescribeTrafficMirrorFilterRulesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: TrafficMirroringMaxResults, location_name: "MaxResults"))
7486
+ DescribeTrafficMirrorFilterRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
7487
+ DescribeTrafficMirrorFilterRulesRequest.struct_class = Types::DescribeTrafficMirrorFilterRulesRequest
7488
+
7489
+ DescribeTrafficMirrorFilterRulesResult.add_member(:traffic_mirror_filter_rules, Shapes::ShapeRef.new(shape: TrafficMirrorFilterRuleSet, location_name: "trafficMirrorFilterRuleSet"))
7490
+ DescribeTrafficMirrorFilterRulesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
7491
+ DescribeTrafficMirrorFilterRulesResult.struct_class = Types::DescribeTrafficMirrorFilterRulesResult
7492
+
7476
7493
  DescribeTrafficMirrorFiltersRequest.add_member(:traffic_mirror_filter_ids, Shapes::ShapeRef.new(shape: TrafficMirrorFilterIdList, location_name: "TrafficMirrorFilterId"))
7477
7494
  DescribeTrafficMirrorFiltersRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
7478
7495
  DescribeTrafficMirrorFiltersRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
@@ -14595,12 +14612,17 @@ module Aws::EC2
14595
14612
  TrafficMirrorFilterRule.add_member(:destination_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "destinationCidrBlock"))
14596
14613
  TrafficMirrorFilterRule.add_member(:source_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "sourceCidrBlock"))
14597
14614
  TrafficMirrorFilterRule.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
14615
+ TrafficMirrorFilterRule.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
14598
14616
  TrafficMirrorFilterRule.struct_class = Types::TrafficMirrorFilterRule
14599
14617
 
14600
14618
  TrafficMirrorFilterRuleFieldList.member = Shapes::ShapeRef.new(shape: TrafficMirrorFilterRuleField)
14601
14619
 
14620
+ TrafficMirrorFilterRuleIdList.member = Shapes::ShapeRef.new(shape: TrafficMirrorFilterRuleIdWithResolver, location_name: "item")
14621
+
14602
14622
  TrafficMirrorFilterRuleList.member = Shapes::ShapeRef.new(shape: TrafficMirrorFilterRule, location_name: "item")
14603
14623
 
14624
+ TrafficMirrorFilterRuleSet.member = Shapes::ShapeRef.new(shape: TrafficMirrorFilterRule, location_name: "item")
14625
+
14604
14626
  TrafficMirrorFilterSet.member = Shapes::ShapeRef.new(shape: TrafficMirrorFilter, location_name: "item")
14605
14627
 
14606
14628
  TrafficMirrorNetworkServiceList.member = Shapes::ShapeRef.new(shape: TrafficMirrorNetworkService, location_name: "item")
@@ -15714,6 +15736,7 @@ module Aws::EC2
15714
15736
 
15715
15737
  api.metadata = {
15716
15738
  "apiVersion" => "2016-11-15",
15739
+ "auth" => ["aws.auth#sigv4"],
15717
15740
  "endpointPrefix" => "ec2",
15718
15741
  "protocol" => "ec2",
15719
15742
  "protocols" => ["query"],
@@ -18892,6 +18915,14 @@ module Aws::EC2
18892
18915
  )
18893
18916
  end)
18894
18917
 
18918
+ api.add_operation(:describe_traffic_mirror_filter_rules, Seahorse::Model::Operation.new.tap do |o|
18919
+ o.name = "DescribeTrafficMirrorFilterRules"
18920
+ o.http_method = "POST"
18921
+ o.http_request_uri = "/"
18922
+ o.input = Shapes::ShapeRef.new(shape: DescribeTrafficMirrorFilterRulesRequest)
18923
+ o.output = Shapes::ShapeRef.new(shape: DescribeTrafficMirrorFilterRulesResult)
18924
+ end)
18925
+
18895
18926
  api.add_operation(:describe_traffic_mirror_filters, Seahorse::Model::Operation.new.tap do |o|
18896
18927
  o.name = "DescribeTrafficMirrorFilters"
18897
18928
  o.http_method = "POST"
@@ -4674,6 +4674,20 @@ module Aws::EC2
4674
4674
  end
4675
4675
  end
4676
4676
 
4677
+ class DescribeTrafficMirrorFilterRules
4678
+ def self.build(context)
4679
+ unless context.config.regional_endpoint
4680
+ endpoint = context.config.endpoint.to_s
4681
+ end
4682
+ Aws::EC2::EndpointParameters.new(
4683
+ region: context.config.region,
4684
+ use_dual_stack: context.config.use_dualstack_endpoint,
4685
+ use_fips: context.config.use_fips_endpoint,
4686
+ endpoint: endpoint,
4687
+ )
4688
+ end
4689
+ end
4690
+
4677
4691
  class DescribeTrafficMirrorFilters
4678
4692
  def self.build(context)
4679
4693
  unless context.config.regional_endpoint
@@ -774,7 +774,7 @@ module Aws::EC2
774
774
  # no_reboot: false,
775
775
  # tag_specifications: [
776
776
  # {
777
- # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, 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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint
777
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, 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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, vpc-encryption-control, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint
778
778
  # tags: [
779
779
  # {
780
780
  # key: "String",
@@ -1179,13 +1179,13 @@ module Aws::EC2
1179
1179
  # `instanceInitiatedShutdownBehavior` attribute.
1180
1180
  # @option options [Types::AttributeBooleanValue] :disable_api_stop
1181
1181
  # Indicates whether an instance is enabled for stop protection. For more
1182
- # information, see [Stop Protection][1].
1182
+ # information, see [Enable stop protection for your instance][1].
1183
1183
  #
1184
1184
  #
1185
1185
  #
1186
1186
  #
1187
1187
  #
1188
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection
1188
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html
1189
1189
  # @return [EmptyStructure]
1190
1190
  def modify_attribute(options = {})
1191
1191
  options = options.merge(instance_id: @id)
@@ -91,12 +91,11 @@ module Aws::EC2
91
91
  end
92
92
 
93
93
  # Reserved. If you need to sustain traffic greater than the [documented
94
- # limits][1], contact us through the [Support Center][2].
94
+ # limits][1], contact Amazon Web Services Support.
95
95
  #
96
96
  #
97
97
  #
98
- # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html
99
- # [2]: https://console.aws.amazon.com/support/home?
98
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html#vpc-limits-gateways
100
99
  # @return [Types::ProvisionedBandwidth]
101
100
  def provisioned_bandwidth
102
101
  data[:provisioned_bandwidth]
@@ -35,7 +35,7 @@ module Aws::EC2
35
35
  end
36
36
  alias :network_acl_id :id
37
37
 
38
- # Any associations between the network ACL and one or more subnets
38
+ # Any associations between the network ACL and your subnets
39
39
  # @return [Array<Types::NetworkAclAssociation>]
40
40
  def associations
41
41
  data[:associations]
@@ -50,7 +50,7 @@ module Aws::EC2
50
50
  # A security group connection tracking configuration that enables you to
51
51
  # set the timeout for connection tracking on an Elastic network
52
52
  # interface. For more information, see [Connection tracking timeouts][1]
53
- # in the *Amazon Elastic Compute Cloud User Guide*.
53
+ # in the *Amazon EC2 User Guide*.
54
54
  #
55
55
  #
56
56
  #
@@ -599,6 +599,10 @@ module Aws::EC2
599
599
  # (`ip-name` \| `resource-name`).
600
600
  #
601
601
  # * `private-ip-address` - The private IPv4 address of the instance.
602
+ # This can only be used to filter by the primary IP address of the
603
+ # network interface attached to the instance. To filter by additional
604
+ # IP addresses assigned to the network interface, use the filter
605
+ # `network-interface.addresses.private-ip-address`.
602
606
  #
603
607
  # * `product-code` - The product code associated with the AMI used to
604
608
  # launch the instance.
@@ -724,6 +724,8 @@ module Aws::EC2
724
724
  Aws::EC2::Endpoints::DescribeSubnets.build(context)
725
725
  when :describe_tags
726
726
  Aws::EC2::Endpoints::DescribeTags.build(context)
727
+ when :describe_traffic_mirror_filter_rules
728
+ Aws::EC2::Endpoints::DescribeTrafficMirrorFilterRules.build(context)
727
729
  when :describe_traffic_mirror_filters
728
730
  Aws::EC2::Endpoints::DescribeTrafficMirrorFilters.build(context)
729
731
  when :describe_traffic_mirror_sessions