aws-sdk-ec2 1.369.0 → 1.371.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +753 -151
- data/lib/aws-sdk-ec2/client_api.rb +98 -2
- data/lib/aws-sdk-ec2/image.rb +6 -6
- data/lib/aws-sdk-ec2/instance.rb +11 -11
- data/lib/aws-sdk-ec2/nat_gateway.rb +7 -7
- data/lib/aws-sdk-ec2/resource.rb +24 -24
- data/lib/aws-sdk-ec2/subnet.rb +2 -2
- data/lib/aws-sdk-ec2/types.rb +686 -298
- data/lib/aws-sdk-ec2/volume.rb +5 -5
- data/lib/aws-sdk-ec2/vpc.rb +9 -9
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
@@ -1301,7 +1301,10 @@ module Aws::EC2
|
|
1301
1301
|
FederatedAuthenticationRequest = Shapes::StructureShape.new(name: 'FederatedAuthenticationRequest')
|
1302
1302
|
Filter = Shapes::StructureShape.new(name: 'Filter')
|
1303
1303
|
FilterList = Shapes::ListShape.new(name: 'FilterList')
|
1304
|
+
FilterPortRange = Shapes::StructureShape.new(name: 'FilterPortRange')
|
1304
1305
|
FindingsFound = Shapes::StringShape.new(name: 'FindingsFound')
|
1306
|
+
FirewallStatefulRule = Shapes::StructureShape.new(name: 'FirewallStatefulRule')
|
1307
|
+
FirewallStatelessRule = Shapes::StructureShape.new(name: 'FirewallStatelessRule')
|
1305
1308
|
FleetActivityStatus = Shapes::StringShape.new(name: 'FleetActivityStatus')
|
1306
1309
|
FleetCapacityReservation = Shapes::StructureShape.new(name: 'FleetCapacityReservation')
|
1307
1310
|
FleetCapacityReservationSet = Shapes::ListShape.new(name: 'FleetCapacityReservationSet')
|
@@ -1534,6 +1537,7 @@ module Aws::EC2
|
|
1534
1537
|
ImportInstanceVolumeDetailSet = Shapes::ListShape.new(name: 'ImportInstanceVolumeDetailSet')
|
1535
1538
|
ImportKeyPairRequest = Shapes::StructureShape.new(name: 'ImportKeyPairRequest')
|
1536
1539
|
ImportKeyPairResult = Shapes::StructureShape.new(name: 'ImportKeyPairResult')
|
1540
|
+
ImportManifestUrl = Shapes::StringShape.new(name: 'ImportManifestUrl')
|
1537
1541
|
ImportSnapshotRequest = Shapes::StructureShape.new(name: 'ImportSnapshotRequest')
|
1538
1542
|
ImportSnapshotResult = Shapes::StructureShape.new(name: 'ImportSnapshotResult')
|
1539
1543
|
ImportSnapshotTask = Shapes::StructureShape.new(name: 'ImportSnapshotTask')
|
@@ -2162,6 +2166,8 @@ module Aws::EC2
|
|
2162
2166
|
PartitionLoadFrequency = Shapes::StringShape.new(name: 'PartitionLoadFrequency')
|
2163
2167
|
PathComponent = Shapes::StructureShape.new(name: 'PathComponent')
|
2164
2168
|
PathComponentList = Shapes::ListShape.new(name: 'PathComponentList')
|
2169
|
+
PathFilter = Shapes::StructureShape.new(name: 'PathFilter')
|
2170
|
+
PathRequestFilter = Shapes::StructureShape.new(name: 'PathRequestFilter')
|
2165
2171
|
PathStatement = Shapes::StructureShape.new(name: 'PathStatement')
|
2166
2172
|
PathStatementRequest = Shapes::StructureShape.new(name: 'PathStatementRequest')
|
2167
2173
|
PayerResponsibility = Shapes::StringShape.new(name: 'PayerResponsibility')
|
@@ -2240,6 +2246,7 @@ module Aws::EC2
|
|
2240
2246
|
PrincipalIdFormat = Shapes::StructureShape.new(name: 'PrincipalIdFormat')
|
2241
2247
|
PrincipalIdFormatList = Shapes::ListShape.new(name: 'PrincipalIdFormatList')
|
2242
2248
|
PrincipalType = Shapes::StringShape.new(name: 'PrincipalType')
|
2249
|
+
Priority = Shapes::IntegerShape.new(name: 'Priority')
|
2243
2250
|
PrivateDnsDetails = Shapes::StructureShape.new(name: 'PrivateDnsDetails')
|
2244
2251
|
PrivateDnsDetailsSet = Shapes::ListShape.new(name: 'PrivateDnsDetailsSet')
|
2245
2252
|
PrivateDnsNameConfiguration = Shapes::StructureShape.new(name: 'PrivateDnsNameConfiguration')
|
@@ -2261,6 +2268,8 @@ module Aws::EC2
|
|
2261
2268
|
PropagatingVgw = Shapes::StructureShape.new(name: 'PropagatingVgw')
|
2262
2269
|
PropagatingVgwList = Shapes::ListShape.new(name: 'PropagatingVgwList')
|
2263
2270
|
Protocol = Shapes::StringShape.new(name: 'Protocol')
|
2271
|
+
ProtocolInt = Shapes::IntegerShape.new(name: 'ProtocolInt')
|
2272
|
+
ProtocolIntList = Shapes::ListShape.new(name: 'ProtocolIntList')
|
2264
2273
|
ProtocolList = Shapes::ListShape.new(name: 'ProtocolList')
|
2265
2274
|
ProtocolValue = Shapes::StringShape.new(name: 'ProtocolValue')
|
2266
2275
|
ProvisionByoipCidrRequest = Shapes::StructureShape.new(name: 'ProvisionByoipCidrRequest')
|
@@ -2348,6 +2357,7 @@ module Aws::EC2
|
|
2348
2357
|
ReportInstanceReasonCodes = Shapes::StringShape.new(name: 'ReportInstanceReasonCodes')
|
2349
2358
|
ReportInstanceStatusRequest = Shapes::StructureShape.new(name: 'ReportInstanceStatusRequest')
|
2350
2359
|
ReportStatusType = Shapes::StringShape.new(name: 'ReportStatusType')
|
2360
|
+
RequestFilterPortRange = Shapes::StructureShape.new(name: 'RequestFilterPortRange')
|
2351
2361
|
RequestHostIdList = Shapes::ListShape.new(name: 'RequestHostIdList')
|
2352
2362
|
RequestHostIdSet = Shapes::ListShape.new(name: 'RequestHostIdSet')
|
2353
2363
|
RequestInstanceTypeList = Shapes::ListShape.new(name: 'RequestInstanceTypeList')
|
@@ -2452,6 +2462,12 @@ module Aws::EC2
|
|
2452
2462
|
RouteTableIdStringList = Shapes::ListShape.new(name: 'RouteTableIdStringList')
|
2453
2463
|
RouteTableList = Shapes::ListShape.new(name: 'RouteTableList')
|
2454
2464
|
RuleAction = Shapes::StringShape.new(name: 'RuleAction')
|
2465
|
+
RuleGroupRuleOptionsPair = Shapes::StructureShape.new(name: 'RuleGroupRuleOptionsPair')
|
2466
|
+
RuleGroupRuleOptionsPairList = Shapes::ListShape.new(name: 'RuleGroupRuleOptionsPairList')
|
2467
|
+
RuleGroupTypePair = Shapes::StructureShape.new(name: 'RuleGroupTypePair')
|
2468
|
+
RuleGroupTypePairList = Shapes::ListShape.new(name: 'RuleGroupTypePairList')
|
2469
|
+
RuleOption = Shapes::StructureShape.new(name: 'RuleOption')
|
2470
|
+
RuleOptionList = Shapes::ListShape.new(name: 'RuleOptionList')
|
2455
2471
|
RunInstancesMonitoringEnabled = Shapes::StructureShape.new(name: 'RunInstancesMonitoringEnabled')
|
2456
2472
|
RunInstancesRequest = Shapes::StructureShape.new(name: 'RunInstancesRequest')
|
2457
2473
|
RunInstancesUserData = Shapes::StringShape.new(name: 'RunInstancesUserData')
|
@@ -3121,6 +3137,12 @@ module Aws::EC2
|
|
3121
3137
|
|
3122
3138
|
AdditionalDetail.add_member(:additional_detail_type, Shapes::ShapeRef.new(shape: String, location_name: "additionalDetailType"))
|
3123
3139
|
AdditionalDetail.add_member(:component, Shapes::ShapeRef.new(shape: AnalysisComponent, location_name: "component"))
|
3140
|
+
AdditionalDetail.add_member(:vpc_endpoint_service, Shapes::ShapeRef.new(shape: AnalysisComponent, location_name: "vpcEndpointService"))
|
3141
|
+
AdditionalDetail.add_member(:rule_options, Shapes::ShapeRef.new(shape: RuleOptionList, location_name: "ruleOptionSet"))
|
3142
|
+
AdditionalDetail.add_member(:rule_group_type_pairs, Shapes::ShapeRef.new(shape: RuleGroupTypePairList, location_name: "ruleGroupTypePairSet"))
|
3143
|
+
AdditionalDetail.add_member(:rule_group_rule_options_pairs, Shapes::ShapeRef.new(shape: RuleGroupRuleOptionsPairList, location_name: "ruleGroupRuleOptionsPairSet"))
|
3144
|
+
AdditionalDetail.add_member(:service_name, Shapes::ShapeRef.new(shape: String, location_name: "serviceName"))
|
3145
|
+
AdditionalDetail.add_member(:load_balancers, Shapes::ShapeRef.new(shape: AnalysisComponentList, location_name: "loadBalancerSet"))
|
3124
3146
|
AdditionalDetail.struct_class = Types::AdditionalDetail
|
3125
3147
|
|
3126
3148
|
AdditionalDetailList.member = Shapes::ShapeRef.new(shape: AdditionalDetail, location_name: "item")
|
@@ -3279,6 +3301,9 @@ module Aws::EC2
|
|
3279
3301
|
AnalysisRouteTableRoute.add_member(:transit_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "transitGatewayId"))
|
3280
3302
|
AnalysisRouteTableRoute.add_member(:vpc_peering_connection_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcPeeringConnectionId"))
|
3281
3303
|
AnalysisRouteTableRoute.add_member(:state, Shapes::ShapeRef.new(shape: String, location_name: "state"))
|
3304
|
+
AnalysisRouteTableRoute.add_member(:carrier_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "carrierGatewayId"))
|
3305
|
+
AnalysisRouteTableRoute.add_member(:core_network_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "coreNetworkArn"))
|
3306
|
+
AnalysisRouteTableRoute.add_member(:local_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "localGatewayId"))
|
3282
3307
|
AnalysisRouteTableRoute.struct_class = Types::AnalysisRouteTableRoute
|
3283
3308
|
|
3284
3309
|
AnalysisSecurityGroupRule.add_member(:cidr, Shapes::ShapeRef.new(shape: String, location_name: "cidr"))
|
@@ -4651,12 +4676,14 @@ module Aws::EC2
|
|
4651
4676
|
CreateNetworkInsightsPathRequest.add_member(:source_ip, Shapes::ShapeRef.new(shape: IpAddress, location_name: "SourceIp"))
|
4652
4677
|
CreateNetworkInsightsPathRequest.add_member(:destination_ip, Shapes::ShapeRef.new(shape: IpAddress, location_name: "DestinationIp"))
|
4653
4678
|
CreateNetworkInsightsPathRequest.add_member(:source, Shapes::ShapeRef.new(shape: NetworkInsightsResourceId, required: true, location_name: "Source"))
|
4654
|
-
CreateNetworkInsightsPathRequest.add_member(:destination, Shapes::ShapeRef.new(shape: NetworkInsightsResourceId,
|
4679
|
+
CreateNetworkInsightsPathRequest.add_member(:destination, Shapes::ShapeRef.new(shape: NetworkInsightsResourceId, location_name: "Destination"))
|
4655
4680
|
CreateNetworkInsightsPathRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, required: true, location_name: "Protocol"))
|
4656
4681
|
CreateNetworkInsightsPathRequest.add_member(:destination_port, Shapes::ShapeRef.new(shape: Port, location_name: "DestinationPort"))
|
4657
4682
|
CreateNetworkInsightsPathRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
4658
4683
|
CreateNetworkInsightsPathRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
4659
4684
|
CreateNetworkInsightsPathRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
4685
|
+
CreateNetworkInsightsPathRequest.add_member(:filter_at_source, Shapes::ShapeRef.new(shape: PathRequestFilter, location_name: "FilterAtSource"))
|
4686
|
+
CreateNetworkInsightsPathRequest.add_member(:filter_at_destination, Shapes::ShapeRef.new(shape: PathRequestFilter, location_name: "FilterAtDestination"))
|
4660
4687
|
CreateNetworkInsightsPathRequest.struct_class = Types::CreateNetworkInsightsPathRequest
|
4661
4688
|
|
4662
4689
|
CreateNetworkInsightsPathResult.add_member(:network_insights_path, Shapes::ShapeRef.new(shape: NetworkInsightsPath, location_name: "networkInsightsPath"))
|
@@ -7755,7 +7782,7 @@ module Aws::EC2
|
|
7755
7782
|
|
7756
7783
|
DiskImageDetail.add_member(:bytes, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "bytes"))
|
7757
7784
|
DiskImageDetail.add_member(:format, Shapes::ShapeRef.new(shape: DiskImageFormat, required: true, location_name: "format"))
|
7758
|
-
DiskImageDetail.add_member(:import_manifest_url, Shapes::ShapeRef.new(shape:
|
7785
|
+
DiskImageDetail.add_member(:import_manifest_url, Shapes::ShapeRef.new(shape: ImportManifestUrl, required: true, location_name: "importManifestUrl"))
|
7759
7786
|
DiskImageDetail.struct_class = Types::DiskImageDetail
|
7760
7787
|
|
7761
7788
|
DiskImageList.member = Shapes::ShapeRef.new(shape: DiskImage)
|
@@ -7778,9 +7805,11 @@ module Aws::EC2
|
|
7778
7805
|
DnsEntrySet.member = Shapes::ShapeRef.new(shape: DnsEntry, location_name: "item")
|
7779
7806
|
|
7780
7807
|
DnsOptions.add_member(:dns_record_ip_type, Shapes::ShapeRef.new(shape: DnsRecordIpType, location_name: "dnsRecordIpType"))
|
7808
|
+
DnsOptions.add_member(:private_dns_only_for_inbound_resolver_endpoint, Shapes::ShapeRef.new(shape: Boolean, location_name: "privateDnsOnlyForInboundResolverEndpoint"))
|
7781
7809
|
DnsOptions.struct_class = Types::DnsOptions
|
7782
7810
|
|
7783
7811
|
DnsOptionsSpecification.add_member(:dns_record_ip_type, Shapes::ShapeRef.new(shape: DnsRecordIpType, location_name: "DnsRecordIpType"))
|
7812
|
+
DnsOptionsSpecification.add_member(:private_dns_only_for_inbound_resolver_endpoint, Shapes::ShapeRef.new(shape: Boolean, location_name: "PrivateDnsOnlyForInboundResolverEndpoint"))
|
7784
7813
|
DnsOptionsSpecification.struct_class = Types::DnsOptionsSpecification
|
7785
7814
|
|
7786
7815
|
DnsServersOptionsModifyStructure.add_member(:custom_dns_servers, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "CustomDnsServers"))
|
@@ -8104,6 +8133,8 @@ module Aws::EC2
|
|
8104
8133
|
Explanation.add_member(:transit_gateway_attachment, Shapes::ShapeRef.new(shape: AnalysisComponent, location_name: "transitGatewayAttachment"))
|
8105
8134
|
Explanation.add_member(:component_account, Shapes::ShapeRef.new(shape: ComponentAccount, location_name: "componentAccount"))
|
8106
8135
|
Explanation.add_member(:component_region, Shapes::ShapeRef.new(shape: ComponentRegion, location_name: "componentRegion"))
|
8136
|
+
Explanation.add_member(:firewall_stateless_rule, Shapes::ShapeRef.new(shape: FirewallStatelessRule, location_name: "firewallStatelessRule"))
|
8137
|
+
Explanation.add_member(:firewall_stateful_rule, Shapes::ShapeRef.new(shape: FirewallStatefulRule, location_name: "firewallStatefulRule"))
|
8107
8138
|
Explanation.struct_class = Types::Explanation
|
8108
8139
|
|
8109
8140
|
ExplanationList.member = Shapes::ShapeRef.new(shape: Explanation, location_name: "item")
|
@@ -8245,6 +8276,30 @@ module Aws::EC2
|
|
8245
8276
|
|
8246
8277
|
FilterList.member = Shapes::ShapeRef.new(shape: Filter, location_name: "Filter")
|
8247
8278
|
|
8279
|
+
FilterPortRange.add_member(:from_port, Shapes::ShapeRef.new(shape: Port, location_name: "fromPort"))
|
8280
|
+
FilterPortRange.add_member(:to_port, Shapes::ShapeRef.new(shape: Port, location_name: "toPort"))
|
8281
|
+
FilterPortRange.struct_class = Types::FilterPortRange
|
8282
|
+
|
8283
|
+
FirewallStatefulRule.add_member(:rule_group_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ruleGroupArn"))
|
8284
|
+
FirewallStatefulRule.add_member(:sources, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "sourceSet"))
|
8285
|
+
FirewallStatefulRule.add_member(:destinations, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "destinationSet"))
|
8286
|
+
FirewallStatefulRule.add_member(:source_ports, Shapes::ShapeRef.new(shape: PortRangeList, location_name: "sourcePortSet"))
|
8287
|
+
FirewallStatefulRule.add_member(:destination_ports, Shapes::ShapeRef.new(shape: PortRangeList, location_name: "destinationPortSet"))
|
8288
|
+
FirewallStatefulRule.add_member(:protocol, Shapes::ShapeRef.new(shape: String, location_name: "protocol"))
|
8289
|
+
FirewallStatefulRule.add_member(:rule_action, Shapes::ShapeRef.new(shape: String, location_name: "ruleAction"))
|
8290
|
+
FirewallStatefulRule.add_member(:direction, Shapes::ShapeRef.new(shape: String, location_name: "direction"))
|
8291
|
+
FirewallStatefulRule.struct_class = Types::FirewallStatefulRule
|
8292
|
+
|
8293
|
+
FirewallStatelessRule.add_member(:rule_group_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ruleGroupArn"))
|
8294
|
+
FirewallStatelessRule.add_member(:sources, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "sourceSet"))
|
8295
|
+
FirewallStatelessRule.add_member(:destinations, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "destinationSet"))
|
8296
|
+
FirewallStatelessRule.add_member(:source_ports, Shapes::ShapeRef.new(shape: PortRangeList, location_name: "sourcePortSet"))
|
8297
|
+
FirewallStatelessRule.add_member(:destination_ports, Shapes::ShapeRef.new(shape: PortRangeList, location_name: "destinationPortSet"))
|
8298
|
+
FirewallStatelessRule.add_member(:protocols, Shapes::ShapeRef.new(shape: ProtocolIntList, location_name: "protocolSet"))
|
8299
|
+
FirewallStatelessRule.add_member(:rule_action, Shapes::ShapeRef.new(shape: String, location_name: "ruleAction"))
|
8300
|
+
FirewallStatelessRule.add_member(:priority, Shapes::ShapeRef.new(shape: Priority, location_name: "priority"))
|
8301
|
+
FirewallStatelessRule.struct_class = Types::FirewallStatelessRule
|
8302
|
+
|
8248
8303
|
FleetCapacityReservation.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, location_name: "capacityReservationId"))
|
8249
8304
|
FleetCapacityReservation.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZoneId"))
|
8250
8305
|
FleetCapacityReservation.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "instanceType"))
|
@@ -11475,6 +11530,8 @@ module Aws::EC2
|
|
11475
11530
|
NetworkInsightsPath.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, location_name: "protocol"))
|
11476
11531
|
NetworkInsightsPath.add_member(:destination_port, Shapes::ShapeRef.new(shape: Integer, location_name: "destinationPort"))
|
11477
11532
|
NetworkInsightsPath.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
11533
|
+
NetworkInsightsPath.add_member(:filter_at_source, Shapes::ShapeRef.new(shape: PathFilter, location_name: "filterAtSource"))
|
11534
|
+
NetworkInsightsPath.add_member(:filter_at_destination, Shapes::ShapeRef.new(shape: PathFilter, location_name: "filterAtDestination"))
|
11478
11535
|
NetworkInsightsPath.struct_class = Types::NetworkInsightsPath
|
11479
11536
|
|
11480
11537
|
NetworkInsightsPathIdList.member = Shapes::ShapeRef.new(shape: NetworkInsightsPathId, location_name: "item")
|
@@ -11650,10 +11707,25 @@ module Aws::EC2
|
|
11650
11707
|
PathComponent.add_member(:transit_gateway_route_table_route, Shapes::ShapeRef.new(shape: TransitGatewayRouteTableRoute, location_name: "transitGatewayRouteTableRoute"))
|
11651
11708
|
PathComponent.add_member(:explanations, Shapes::ShapeRef.new(shape: ExplanationList, location_name: "explanationSet"))
|
11652
11709
|
PathComponent.add_member(:elastic_load_balancer_listener, Shapes::ShapeRef.new(shape: AnalysisComponent, location_name: "elasticLoadBalancerListener"))
|
11710
|
+
PathComponent.add_member(:firewall_stateless_rule, Shapes::ShapeRef.new(shape: FirewallStatelessRule, location_name: "firewallStatelessRule"))
|
11711
|
+
PathComponent.add_member(:firewall_stateful_rule, Shapes::ShapeRef.new(shape: FirewallStatefulRule, location_name: "firewallStatefulRule"))
|
11712
|
+
PathComponent.add_member(:service_name, Shapes::ShapeRef.new(shape: String, location_name: "serviceName"))
|
11653
11713
|
PathComponent.struct_class = Types::PathComponent
|
11654
11714
|
|
11655
11715
|
PathComponentList.member = Shapes::ShapeRef.new(shape: PathComponent, location_name: "item")
|
11656
11716
|
|
11717
|
+
PathFilter.add_member(:source_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "sourceAddress"))
|
11718
|
+
PathFilter.add_member(:source_port_range, Shapes::ShapeRef.new(shape: FilterPortRange, location_name: "sourcePortRange"))
|
11719
|
+
PathFilter.add_member(:destination_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "destinationAddress"))
|
11720
|
+
PathFilter.add_member(:destination_port_range, Shapes::ShapeRef.new(shape: FilterPortRange, location_name: "destinationPortRange"))
|
11721
|
+
PathFilter.struct_class = Types::PathFilter
|
11722
|
+
|
11723
|
+
PathRequestFilter.add_member(:source_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "SourceAddress"))
|
11724
|
+
PathRequestFilter.add_member(:source_port_range, Shapes::ShapeRef.new(shape: RequestFilterPortRange, location_name: "SourcePortRange"))
|
11725
|
+
PathRequestFilter.add_member(:destination_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "DestinationAddress"))
|
11726
|
+
PathRequestFilter.add_member(:destination_port_range, Shapes::ShapeRef.new(shape: RequestFilterPortRange, location_name: "DestinationPortRange"))
|
11727
|
+
PathRequestFilter.struct_class = Types::PathRequestFilter
|
11728
|
+
|
11657
11729
|
PathStatement.add_member(:packet_header_statement, Shapes::ShapeRef.new(shape: PacketHeaderStatement, location_name: "packetHeaderStatement"))
|
11658
11730
|
PathStatement.add_member(:resource_statement, Shapes::ShapeRef.new(shape: ResourceStatement, location_name: "resourceStatement"))
|
11659
11731
|
PathStatement.struct_class = Types::PathStatement
|
@@ -11905,6 +11977,8 @@ module Aws::EC2
|
|
11905
11977
|
|
11906
11978
|
PropagatingVgwList.member = Shapes::ShapeRef.new(shape: PropagatingVgw, location_name: "item")
|
11907
11979
|
|
11980
|
+
ProtocolIntList.member = Shapes::ShapeRef.new(shape: ProtocolInt, location_name: "item")
|
11981
|
+
|
11908
11982
|
ProtocolList.member = Shapes::ShapeRef.new(shape: Protocol, location_name: "item")
|
11909
11983
|
|
11910
11984
|
ProvisionByoipCidrRequest.add_member(:cidr, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Cidr"))
|
@@ -12268,6 +12342,10 @@ module Aws::EC2
|
|
12268
12342
|
ReportInstanceStatusRequest.add_member(:status, Shapes::ShapeRef.new(shape: ReportStatusType, required: true, location_name: "status"))
|
12269
12343
|
ReportInstanceStatusRequest.struct_class = Types::ReportInstanceStatusRequest
|
12270
12344
|
|
12345
|
+
RequestFilterPortRange.add_member(:from_port, Shapes::ShapeRef.new(shape: Port, location_name: "FromPort"))
|
12346
|
+
RequestFilterPortRange.add_member(:to_port, Shapes::ShapeRef.new(shape: Port, location_name: "ToPort"))
|
12347
|
+
RequestFilterPortRange.struct_class = Types::RequestFilterPortRange
|
12348
|
+
|
12271
12349
|
RequestHostIdList.member = Shapes::ShapeRef.new(shape: DedicatedHostId, location_name: "item")
|
12272
12350
|
|
12273
12351
|
RequestHostIdSet.member = Shapes::ShapeRef.new(shape: DedicatedHostId, location_name: "item")
|
@@ -12732,6 +12810,24 @@ module Aws::EC2
|
|
12732
12810
|
|
12733
12811
|
RouteTableList.member = Shapes::ShapeRef.new(shape: RouteTable, location_name: "item")
|
12734
12812
|
|
12813
|
+
RuleGroupRuleOptionsPair.add_member(:rule_group_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ruleGroupArn"))
|
12814
|
+
RuleGroupRuleOptionsPair.add_member(:rule_options, Shapes::ShapeRef.new(shape: RuleOptionList, location_name: "ruleOptionSet"))
|
12815
|
+
RuleGroupRuleOptionsPair.struct_class = Types::RuleGroupRuleOptionsPair
|
12816
|
+
|
12817
|
+
RuleGroupRuleOptionsPairList.member = Shapes::ShapeRef.new(shape: RuleGroupRuleOptionsPair, location_name: "item")
|
12818
|
+
|
12819
|
+
RuleGroupTypePair.add_member(:rule_group_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ruleGroupArn"))
|
12820
|
+
RuleGroupTypePair.add_member(:rule_group_type, Shapes::ShapeRef.new(shape: String, location_name: "ruleGroupType"))
|
12821
|
+
RuleGroupTypePair.struct_class = Types::RuleGroupTypePair
|
12822
|
+
|
12823
|
+
RuleGroupTypePairList.member = Shapes::ShapeRef.new(shape: RuleGroupTypePair, location_name: "item")
|
12824
|
+
|
12825
|
+
RuleOption.add_member(:keyword, Shapes::ShapeRef.new(shape: String, location_name: "keyword"))
|
12826
|
+
RuleOption.add_member(:settings, Shapes::ShapeRef.new(shape: StringList, location_name: "settingSet"))
|
12827
|
+
RuleOption.struct_class = Types::RuleOption
|
12828
|
+
|
12829
|
+
RuleOptionList.member = Shapes::ShapeRef.new(shape: RuleOption, location_name: "item")
|
12830
|
+
|
12735
12831
|
RunInstancesMonitoringEnabled.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
|
12736
12832
|
RunInstancesMonitoringEnabled.struct_class = Types::RunInstancesMonitoringEnabled
|
12737
12833
|
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
@@ -238,8 +238,8 @@ module Aws::EC2
|
|
238
238
|
end
|
239
239
|
|
240
240
|
# The date and time to deprecate the AMI, in UTC, in the following
|
241
|
-
# format: *YYYY*-*MM*-*DD*T*HH
|
242
|
-
#
|
241
|
+
# format: *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z. If you specified a value for
|
242
|
+
# seconds, Amazon EC2 rounds the seconds to the nearest minute.
|
243
243
|
# @return [String]
|
244
244
|
def deprecation_time
|
245
245
|
data[:deprecation_time]
|
@@ -536,10 +536,10 @@ module Aws::EC2
|
|
536
536
|
# @option options [required, String] :attribute
|
537
537
|
# The AMI attribute.
|
538
538
|
#
|
539
|
-
# **Note
|
540
|
-
#
|
541
|
-
#
|
542
|
-
#
|
539
|
+
# **Note**: The `blockDeviceMapping` attribute is deprecated. Using this
|
540
|
+
# attribute returns the `Client.AuthFailure` error. To get information
|
541
|
+
# about the block device mappings for an AMI, use the DescribeImages
|
542
|
+
# action.
|
543
543
|
# @option options [Boolean] :dry_run
|
544
544
|
# Checks whether you have the required permissions for the action,
|
545
545
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -1219,30 +1219,30 @@ module Aws::EC2
|
|
1219
1219
|
# @option options [required, Array<String>] :reason_codes
|
1220
1220
|
# The reason codes that describe the health state of your instance.
|
1221
1221
|
#
|
1222
|
-
# * `instance-stuck-in-state
|
1222
|
+
# * `instance-stuck-in-state`: My instance is stuck in a state.
|
1223
1223
|
#
|
1224
|
-
# * `unresponsive
|
1224
|
+
# * `unresponsive`: My instance is unresponsive.
|
1225
1225
|
#
|
1226
|
-
# * `not-accepting-credentials
|
1226
|
+
# * `not-accepting-credentials`: My instance is not accepting my
|
1227
1227
|
# credentials.
|
1228
1228
|
#
|
1229
|
-
# * `password-not-available
|
1229
|
+
# * `password-not-available`: A password is not available for my
|
1230
1230
|
# instance.
|
1231
1231
|
#
|
1232
|
-
# * `performance-network
|
1232
|
+
# * `performance-network`: My instance is experiencing performance
|
1233
1233
|
# problems that I believe are network related.
|
1234
1234
|
#
|
1235
|
-
# * `performance-instance-store
|
1235
|
+
# * `performance-instance-store`: My instance is experiencing
|
1236
1236
|
# performance problems that I believe are related to the instance
|
1237
1237
|
# stores.
|
1238
1238
|
#
|
1239
|
-
# * `performance-ebs-volume
|
1239
|
+
# * `performance-ebs-volume`: My instance is experiencing performance
|
1240
1240
|
# problems that I believe are related to an EBS volume.
|
1241
1241
|
#
|
1242
|
-
# * `performance-other
|
1242
|
+
# * `performance-other`: My instance is experiencing performance
|
1243
1243
|
# problems.
|
1244
1244
|
#
|
1245
|
-
# * `other
|
1245
|
+
# * `other`: \[explain using the description parameter\]
|
1246
1246
|
# @option options [Time,DateTime,Date,Integer,String] :start_time
|
1247
1247
|
# The time at which the reported instance health state began.
|
1248
1248
|
# @option options [required, String] :status
|
@@ -1564,7 +1564,7 @@ module Aws::EC2
|
|
1564
1564
|
# * `status` - The state of the volume (`creating` \| `available` \|
|
1565
1565
|
# `in-use` \| `deleting` \| `deleted` \| `error`).
|
1566
1566
|
#
|
1567
|
-
# * `tag
|
1567
|
+
# * `tag`:<key> - The key/value combination of a tag assigned to
|
1568
1568
|
# the resource. Use the tag key in the filter name and the tag value
|
1569
1569
|
# as the filter value. For example, to find all resources that have a
|
1570
1570
|
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
@@ -1662,7 +1662,7 @@ module Aws::EC2
|
|
1662
1662
|
#
|
1663
1663
|
# * `public-ip` - The Elastic IP address, or the carrier IP address.
|
1664
1664
|
#
|
1665
|
-
# * `tag
|
1665
|
+
# * `tag`:<key> - The key/value combination of a tag assigned to
|
1666
1666
|
# the resource. Use the tag key in the filter name and the tag value
|
1667
1667
|
# as the filter value. For example, to find all resources that have a
|
1668
1668
|
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
@@ -104,20 +104,20 @@ module Aws::EC2
|
|
104
104
|
|
105
105
|
# The state of the NAT gateway.
|
106
106
|
#
|
107
|
-
# * `pending
|
107
|
+
# * `pending`: The NAT gateway is being created and is not ready to
|
108
108
|
# process traffic.
|
109
109
|
#
|
110
|
-
# * `failed
|
110
|
+
# * `failed`: The NAT gateway could not be created. Check the
|
111
111
|
# `failureCode` and `failureMessage` fields for the reason.
|
112
112
|
#
|
113
|
-
# * `available
|
114
|
-
#
|
115
|
-
#
|
113
|
+
# * `available`: The NAT gateway is able to process traffic. This status
|
114
|
+
# remains until you delete the NAT gateway, and does not indicate the
|
115
|
+
# health of the NAT gateway.
|
116
116
|
#
|
117
|
-
# * `deleting
|
117
|
+
# * `deleting`: The NAT gateway is in the process of being terminated
|
118
118
|
# and may still be processing traffic.
|
119
119
|
#
|
120
|
-
# * `deleted
|
120
|
+
# * `deleted`: The NAT gateway has been terminated and is no longer
|
121
121
|
# processing traffic.
|
122
122
|
# @return [String]
|
123
123
|
def state
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -1073,7 +1073,7 @@ module Aws::EC2
|
|
1073
1073
|
# })
|
1074
1074
|
# @param [Hash] options ({})
|
1075
1075
|
# @option options [required, String] :description
|
1076
|
-
# A description for the security group.
|
1076
|
+
# A description for the security group.
|
1077
1077
|
#
|
1078
1078
|
# Constraints: Up to 255 characters in length
|
1079
1079
|
#
|
@@ -1380,11 +1380,11 @@ module Aws::EC2
|
|
1380
1380
|
#
|
1381
1381
|
# The following are the supported values for each volume type:
|
1382
1382
|
#
|
1383
|
-
# * `gp3
|
1383
|
+
# * `gp3`: 3,000-16,000 IOPS
|
1384
1384
|
#
|
1385
|
-
# * `io1
|
1385
|
+
# * `io1`: 100-64,000 IOPS
|
1386
1386
|
#
|
1387
|
-
# * `io2
|
1387
|
+
# * `io2`: 100-64,000 IOPS
|
1388
1388
|
#
|
1389
1389
|
# `io1` and `io2` volumes support up to 64,000 IOPS only on [Instances
|
1390
1390
|
# built on the Nitro System][1]. Other instance families support
|
@@ -1428,13 +1428,13 @@ module Aws::EC2
|
|
1428
1428
|
#
|
1429
1429
|
# The following are the supported volumes sizes for each volume type:
|
1430
1430
|
#
|
1431
|
-
# * `gp2` and `gp3
|
1431
|
+
# * `gp2` and `gp3`: 1-16,384
|
1432
1432
|
#
|
1433
|
-
# * `io1` and `io2
|
1433
|
+
# * `io1` and `io2`: 4-16,384
|
1434
1434
|
#
|
1435
|
-
# * `st1` and `sc1
|
1435
|
+
# * `st1` and `sc1`: 125-16,384
|
1436
1436
|
#
|
1437
|
-
# * `standard
|
1437
|
+
# * `standard`: 1-1,024
|
1438
1438
|
# @option options [String] :snapshot_id
|
1439
1439
|
# The snapshot from which to create the volume. You must specify either
|
1440
1440
|
# a snapshot ID or a volume size.
|
@@ -1961,7 +1961,7 @@ module Aws::EC2
|
|
1961
1961
|
#
|
1962
1962
|
# * `public-ip` - The Elastic IP address, or the carrier IP address.
|
1963
1963
|
#
|
1964
|
-
# * `tag
|
1964
|
+
# * `tag`:<key> - The key/value combination of a tag assigned to
|
1965
1965
|
# the resource. Use the tag key in the filter name and the tag value
|
1966
1966
|
# as the filter value. For example, to find all resources that have a
|
1967
1967
|
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
@@ -2040,7 +2040,7 @@ module Aws::EC2
|
|
2040
2040
|
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
2041
2041
|
# DHCP options set.
|
2042
2042
|
#
|
2043
|
-
# * `tag
|
2043
|
+
# * `tag`:<key> - The key/value combination of a tag assigned to
|
2044
2044
|
# the resource. Use the tag key in the filter name and the tag value
|
2045
2045
|
# as the filter value. For example, to find all resources that have a
|
2046
2046
|
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
@@ -2199,7 +2199,7 @@ module Aws::EC2
|
|
2199
2199
|
# * `sriov-net-support` - A value of `simple` indicates that enhanced
|
2200
2200
|
# networking with the Intel 82599 VF interface is enabled.
|
2201
2201
|
#
|
2202
|
-
# * `tag
|
2202
|
+
# * `tag`:<key> - The key/value combination of a tag assigned to
|
2203
2203
|
# the resource. Use the tag key in the filter name and the tag value
|
2204
2204
|
# as the filter value. For example, to find all resources that have a
|
2205
2205
|
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
@@ -2628,7 +2628,7 @@ module Aws::EC2
|
|
2628
2628
|
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
2629
2629
|
# internet gateway.
|
2630
2630
|
#
|
2631
|
-
# * `tag
|
2631
|
+
# * `tag`:<key> - The key/value combination of a tag assigned to
|
2632
2632
|
# the resource. Use the tag key in the filter name and the tag value
|
2633
2633
|
# as the filter value. For example, to find all resources that have a
|
2634
2634
|
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
@@ -2702,7 +2702,7 @@ module Aws::EC2
|
|
2702
2702
|
# filter to find all resources assigned a tag with a specific key,
|
2703
2703
|
# regardless of the tag value.
|
2704
2704
|
#
|
2705
|
-
# * `tag
|
2705
|
+
# * `tag`:<key> - The key/value combination of a tag assigned to
|
2706
2706
|
# the resource. Use the tag key in the filter name and the tag value
|
2707
2707
|
# as the filter value. For example, to find all resources that have a
|
2708
2708
|
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
@@ -2776,7 +2776,7 @@ module Aws::EC2
|
|
2776
2776
|
#
|
2777
2777
|
# * `subnet-id` - The ID of the subnet in which the NAT gateway resides.
|
2778
2778
|
#
|
2779
|
-
# * `tag
|
2779
|
+
# * `tag`:<key> - The key/value combination of a tag assigned to
|
2780
2780
|
# the resource. Use the tag key in the filter name and the tag value
|
2781
2781
|
# as the filter value. For example, to find all resources that have a
|
2782
2782
|
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
@@ -2876,7 +2876,7 @@ module Aws::EC2
|
|
2876
2876
|
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
2877
2877
|
# network ACL.
|
2878
2878
|
#
|
2879
|
-
# * `tag
|
2879
|
+
# * `tag`:<key> - The key/value combination of a tag assigned to
|
2880
2880
|
# the resource. Use the tag key in the filter name and the tag value
|
2881
2881
|
# as the filter value. For example, to find all resources that have a
|
2882
2882
|
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
@@ -3043,7 +3043,7 @@ module Aws::EC2
|
|
3043
3043
|
#
|
3044
3044
|
# * `subnet-id` - The ID of the subnet for the network interface.
|
3045
3045
|
#
|
3046
|
-
# * `tag
|
3046
|
+
# * `tag`:<key> - The key/value combination of a tag assigned to
|
3047
3047
|
# the resource. Use the tag key in the filter name and the tag value
|
3048
3048
|
# as the filter value. For example, to find all resources that have a
|
3049
3049
|
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
@@ -3249,7 +3249,7 @@ module Aws::EC2
|
|
3249
3249
|
# * `route.vpc-peering-connection-id` - The ID of a VPC peering
|
3250
3250
|
# connection specified in a route in the table.
|
3251
3251
|
#
|
3252
|
-
# * `tag
|
3252
|
+
# * `tag`:<key> - The key/value combination of a tag assigned to
|
3253
3253
|
# the resource. Use the tag key in the filter name and the tag value
|
3254
3254
|
# as the filter value. For example, to find all resources that have a
|
3255
3255
|
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
@@ -3381,7 +3381,7 @@ module Aws::EC2
|
|
3381
3381
|
# * `owner-id` - The Amazon Web Services account ID of the owner of the
|
3382
3382
|
# security group.
|
3383
3383
|
#
|
3384
|
-
# * `tag
|
3384
|
+
# * `tag`:<key> - The key/value combination of a tag assigned to
|
3385
3385
|
# the resource. Use the tag key in the filter name and the tag value
|
3386
3386
|
# as the filter value. For example, to find all resources that have a
|
3387
3387
|
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
@@ -3482,7 +3482,7 @@ module Aws::EC2
|
|
3482
3482
|
# * `storage-tier` - The storage tier of the snapshot (`archive` \|
|
3483
3483
|
# `standard`).
|
3484
3484
|
#
|
3485
|
-
# * `tag
|
3485
|
+
# * `tag`:<key> - The key/value combination of a tag assigned to
|
3486
3486
|
# the resource. Use the tag key in the filter name and the tag value
|
3487
3487
|
# as the filter value. For example, to find all resources that have a
|
3488
3488
|
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
@@ -3631,7 +3631,7 @@ module Aws::EC2
|
|
3631
3631
|
#
|
3632
3632
|
# * `subnet-id` - The ID of the subnet.
|
3633
3633
|
#
|
3634
|
-
# * `tag
|
3634
|
+
# * `tag`:<key> - The key/value combination of a tag assigned to
|
3635
3635
|
# the resource. Use the tag key in the filter name and the tag value
|
3636
3636
|
# as the filter value. For example, to find all resources that have a
|
3637
3637
|
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
@@ -3732,7 +3732,7 @@ module Aws::EC2
|
|
3732
3732
|
# * `status` - The state of the volume (`creating` \| `available` \|
|
3733
3733
|
# `in-use` \| `deleting` \| `deleted` \| `error`).
|
3734
3734
|
#
|
3735
|
-
# * `tag
|
3735
|
+
# * `tag`:<key> - The key/value combination of a tag assigned to
|
3736
3736
|
# the resource. Use the tag key in the filter name and the tag value
|
3737
3737
|
# as the filter value. For example, to find all resources that have a
|
3738
3738
|
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
@@ -3823,7 +3823,7 @@ module Aws::EC2
|
|
3823
3823
|
#
|
3824
3824
|
# * `public-ip` - The Elastic IP address, or the carrier IP address.
|
3825
3825
|
#
|
3826
|
-
# * `tag
|
3826
|
+
# * `tag`:<key> - The key/value combination of a tag assigned to
|
3827
3827
|
# the resource. Use the tag key in the filter name and the tag value
|
3828
3828
|
# as the filter value. For example, to find all resources that have a
|
3829
3829
|
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
@@ -3915,7 +3915,7 @@ module Aws::EC2
|
|
3915
3915
|
# * `status-message` - A message that provides more information about
|
3916
3916
|
# the status of the VPC peering connection, if applicable.
|
3917
3917
|
#
|
3918
|
-
# * `tag
|
3918
|
+
# * `tag`:<key> - The key/value combination of a tag assigned to
|
3919
3919
|
# the resource. Use the tag key in the filter name and the tag value
|
3920
3920
|
# as the filter value. For example, to find all resources that have a
|
3921
3921
|
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
@@ -4005,7 +4005,7 @@ module Aws::EC2
|
|
4005
4005
|
#
|
4006
4006
|
# * `state` - The state of the VPC (`pending` \| `available`).
|
4007
4007
|
#
|
4008
|
-
# * `tag
|
4008
|
+
# * `tag`:<key> - The key/value combination of a tag assigned to
|
4009
4009
|
# the resource. Use the tag key in the filter name and the tag value
|
4010
4010
|
# as the filter value. For example, to find all resources that have a
|
4011
4011
|
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -1430,7 +1430,7 @@ module Aws::EC2
|
|
1430
1430
|
#
|
1431
1431
|
# * `subnet-id` - The ID of the subnet in which the NAT gateway resides.
|
1432
1432
|
#
|
1433
|
-
# * `tag
|
1433
|
+
# * `tag`:<key> - The key/value combination of a tag assigned to
|
1434
1434
|
# the resource. Use the tag key in the filter name and the tag value
|
1435
1435
|
# as the filter value. For example, to find all resources that have a
|
1436
1436
|
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
@@ -1585,7 +1585,7 @@ module Aws::EC2
|
|
1585
1585
|
#
|
1586
1586
|
# * `subnet-id` - The ID of the subnet for the network interface.
|
1587
1587
|
#
|
1588
|
-
# * `tag
|
1588
|
+
# * `tag`:<key> - The key/value combination of a tag assigned to
|
1589
1589
|
# the resource. Use the tag key in the filter name and the tag value
|
1590
1590
|
# as the filter value. For example, to find all resources that have a
|
1591
1591
|
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|