aws-sdk-ec2 1.484.0 → 1.486.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +404 -24
- data/lib/aws-sdk-ec2/client_api.rb +152 -0
- data/lib/aws-sdk-ec2/resource.rb +12 -7
- data/lib/aws-sdk-ec2/security_group.rb +6 -0
- data/lib/aws-sdk-ec2/subnet.rb +12 -7
- data/lib/aws-sdk-ec2/types.rb +590 -39
- data/lib/aws-sdk-ec2/vpc.rb +6 -6
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +66 -0
- data/sig/security_group.rbs +3 -0
- data/sig/types.rbs +107 -0
- metadata +2 -2
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -2472,6 +2472,61 @@ module Aws::EC2
|
|
2472
2472
|
req.send_request(options)
|
2473
2473
|
end
|
2474
2474
|
|
2475
|
+
# Associates a security group with another VPC in the same Region. This
|
2476
|
+
# enables you to use the same security group with network interfaces and
|
2477
|
+
# instances in the specified VPC.
|
2478
|
+
#
|
2479
|
+
# <note markdown="1"> * The VPC you want to associate the security group with must be in the
|
2480
|
+
# same Region.
|
2481
|
+
#
|
2482
|
+
# * You can associate the security group with another VPC if your
|
2483
|
+
# account owns the VPC or if the VPC was shared with you.
|
2484
|
+
#
|
2485
|
+
# * You must own the security group and the VPC that it was created in.
|
2486
|
+
#
|
2487
|
+
# * You cannot use this feature with default security groups.
|
2488
|
+
#
|
2489
|
+
# * You cannot use this feature with the default VPC.
|
2490
|
+
#
|
2491
|
+
# </note>
|
2492
|
+
#
|
2493
|
+
# @option params [required, String] :group_id
|
2494
|
+
# A security group ID.
|
2495
|
+
#
|
2496
|
+
# @option params [required, String] :vpc_id
|
2497
|
+
# A VPC ID.
|
2498
|
+
#
|
2499
|
+
# @option params [Boolean] :dry_run
|
2500
|
+
# Checks whether you have the required permissions for the action,
|
2501
|
+
# without actually making the request, and provides an error response.
|
2502
|
+
# If you have the required permissions, the error response is
|
2503
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
2504
|
+
#
|
2505
|
+
# @return [Types::AssociateSecurityGroupVpcResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2506
|
+
#
|
2507
|
+
# * {Types::AssociateSecurityGroupVpcResult#state #state} => String
|
2508
|
+
#
|
2509
|
+
# @example Request syntax with placeholder values
|
2510
|
+
#
|
2511
|
+
# resp = client.associate_security_group_vpc({
|
2512
|
+
# group_id: "SecurityGroupId", # required
|
2513
|
+
# vpc_id: "VpcId", # required
|
2514
|
+
# dry_run: false,
|
2515
|
+
# })
|
2516
|
+
#
|
2517
|
+
# @example Response structure
|
2518
|
+
#
|
2519
|
+
# resp.state #=> String, one of "associating", "associated", "association-failed", "disassociating", "disassociated", "disassociation-failed"
|
2520
|
+
#
|
2521
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateSecurityGroupVpc AWS API Documentation
|
2522
|
+
#
|
2523
|
+
# @overload associate_security_group_vpc(params = {})
|
2524
|
+
# @param [Hash] params ({})
|
2525
|
+
def associate_security_group_vpc(params = {}, options = {})
|
2526
|
+
req = build_request(:associate_security_group_vpc, params)
|
2527
|
+
req.send_request(options)
|
2528
|
+
end
|
2529
|
+
|
2475
2530
|
# Associates a CIDR block with your subnet. You can only associate a
|
2476
2531
|
# single IPv6 CIDR block with your subnet.
|
2477
2532
|
#
|
@@ -3590,6 +3645,7 @@ module Aws::EC2
|
|
3590
3645
|
# resp.security_group_rules[0].tags #=> Array
|
3591
3646
|
# resp.security_group_rules[0].tags[0].key #=> String
|
3592
3647
|
# resp.security_group_rules[0].tags[0].value #=> String
|
3648
|
+
# resp.security_group_rules[0].security_group_rule_arn #=> String
|
3593
3649
|
#
|
3594
3650
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupEgress AWS API Documentation
|
3595
3651
|
#
|
@@ -3875,6 +3931,7 @@ module Aws::EC2
|
|
3875
3931
|
# resp.security_group_rules[0].tags #=> Array
|
3876
3932
|
# resp.security_group_rules[0].tags[0].key #=> String
|
3877
3933
|
# resp.security_group_rules[0].tags[0].value #=> String
|
3934
|
+
# resp.security_group_rules[0].security_group_rule_arn #=> String
|
3878
3935
|
#
|
3879
3936
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupIngress AWS API Documentation
|
3880
3937
|
#
|
@@ -8016,9 +8073,6 @@ module Aws::EC2
|
|
8016
8073
|
# Local Zones][1]). This option is only available for IPAM IPv4 pools
|
8017
8074
|
# in the public scope.
|
8018
8075
|
#
|
8019
|
-
# If you do not choose a locale, resources in Regions others than the
|
8020
|
-
# IPAM's home region cannot use CIDRs from this pool.
|
8021
|
-
#
|
8022
8076
|
# Possible values: Any Amazon Web Services Region or supported Amazon
|
8023
8077
|
# Web Services Local Zone. Default is `none` and means any locale.
|
8024
8078
|
#
|
@@ -8054,8 +8108,9 @@ module Aws::EC2
|
|
8054
8108
|
# A locale must be set on the pool for this feature to work.
|
8055
8109
|
#
|
8056
8110
|
# @option params [Boolean] :publicly_advertisable
|
8057
|
-
# Determines if the pool is publicly advertisable.
|
8058
|
-
#
|
8111
|
+
# Determines if the pool is publicly advertisable. The request can only
|
8112
|
+
# contain `PubliclyAdvertisable` if `AddressFamily` is `ipv6` and
|
8113
|
+
# `PublicIpSource` is `byoip`.
|
8059
8114
|
#
|
8060
8115
|
# @option params [Integer] :allocation_min_netmask_length
|
8061
8116
|
# The minimum netmask length required for CIDR allocations in this IPAM
|
@@ -10672,7 +10727,12 @@ module Aws::EC2
|
|
10672
10727
|
# @option params [String] :interface_type
|
10673
10728
|
# The type of network interface. The default is `interface`.
|
10674
10729
|
#
|
10675
|
-
#
|
10730
|
+
# If you specify `efa-only`, do not assign any IP addresses to the
|
10731
|
+
# network interface. EFA-only network interfaces do not support IP
|
10732
|
+
# addresses.
|
10733
|
+
#
|
10734
|
+
# The only supported values are `interface`, `efa`, `efa-only`, and
|
10735
|
+
# `trunk`.
|
10676
10736
|
#
|
10677
10737
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
10678
10738
|
# The tags to apply to the new network interface.
|
@@ -11815,6 +11875,7 @@ module Aws::EC2
|
|
11815
11875
|
#
|
11816
11876
|
# * {Types::CreateSecurityGroupResult#group_id #group_id} => String
|
11817
11877
|
# * {Types::CreateSecurityGroupResult#tags #tags} => Array<Types::Tag>
|
11878
|
+
# * {Types::CreateSecurityGroupResult#security_group_arn #security_group_arn} => String
|
11818
11879
|
#
|
11819
11880
|
#
|
11820
11881
|
# @example Example: To create a security group for a VPC
|
@@ -11858,6 +11919,7 @@ module Aws::EC2
|
|
11858
11919
|
# resp.tags #=> Array
|
11859
11920
|
# resp.tags[0].key #=> String
|
11860
11921
|
# resp.tags[0].value #=> String
|
11922
|
+
# resp.security_group_arn #=> String
|
11861
11923
|
#
|
11862
11924
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSecurityGroup AWS API Documentation
|
11863
11925
|
#
|
@@ -12930,7 +12992,7 @@ module Aws::EC2
|
|
12930
12992
|
#
|
12931
12993
|
#
|
12932
12994
|
#
|
12933
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTrafficMirrorFilter.
|
12995
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTrafficMirrorFilter.html
|
12934
12996
|
#
|
12935
12997
|
# @option params [required, String] :network_interface_id
|
12936
12998
|
# The ID of the source network interface.
|
@@ -17848,8 +17910,9 @@ module Aws::EC2
|
|
17848
17910
|
# Deletes a security group.
|
17849
17911
|
#
|
17850
17912
|
# If you attempt to delete a security group that is associated with an
|
17851
|
-
# instance or network interface
|
17852
|
-
#
|
17913
|
+
# instance or network interface, is referenced by another security group
|
17914
|
+
# in the same VPC, or has a VPC association, the operation fails with
|
17915
|
+
# `DependencyViolation`.
|
17853
17916
|
#
|
17854
17917
|
# @option params [String] :group_id
|
17855
17918
|
# The ID of the security group.
|
@@ -25052,6 +25115,151 @@ module Aws::EC2
|
|
25052
25115
|
req.send_request(options)
|
25053
25116
|
end
|
25054
25117
|
|
25118
|
+
# Describes the AMI that was used to launch an instance, even if the AMI
|
25119
|
+
# is deprecated, deregistered, or made private (no longer public or
|
25120
|
+
# shared with your account).
|
25121
|
+
#
|
25122
|
+
# If you specify instance IDs, the output includes information for only
|
25123
|
+
# the specified instances. If you specify filters, the output includes
|
25124
|
+
# information for only those instances that meet the filter criteria. If
|
25125
|
+
# you do not specify instance IDs or filters, the output includes
|
25126
|
+
# information for all instances, which can affect performance.
|
25127
|
+
#
|
25128
|
+
# If you specify an instance ID that is not valid, an instance that
|
25129
|
+
# doesn't exist, or an instance that you do not own, an error
|
25130
|
+
# (`InvalidInstanceID.NotFound`) is returned.
|
25131
|
+
#
|
25132
|
+
# Recently terminated instances might appear in the returned results.
|
25133
|
+
# This interval is usually less than one hour.
|
25134
|
+
#
|
25135
|
+
# In the rare case where an Availability Zone is experiencing a service
|
25136
|
+
# disruption and you specify instance IDs that are in the affected
|
25137
|
+
# Availability Zone, or do not specify any instance IDs at all, the call
|
25138
|
+
# fails. If you specify only instance IDs that are in an unaffected
|
25139
|
+
# Availability Zone, the call works normally.
|
25140
|
+
#
|
25141
|
+
# <note markdown="1"> The order of the elements in the response, including those within
|
25142
|
+
# nested structures, might vary. Applications should not assume the
|
25143
|
+
# elements appear in a particular order.
|
25144
|
+
#
|
25145
|
+
# </note>
|
25146
|
+
#
|
25147
|
+
# @option params [Array<Types::Filter>] :filters
|
25148
|
+
# The filters.
|
25149
|
+
#
|
25150
|
+
# * `availability-zone` - The name of the Availability Zone (for
|
25151
|
+
# example, `us-west-2a`) or Local Zone (for example,
|
25152
|
+
# `us-west-2-lax-1b`) of the instance.
|
25153
|
+
#
|
25154
|
+
# * `instance-id` - The ID of the instance.
|
25155
|
+
#
|
25156
|
+
# * `instance-state-name` - The state of the instance (`pending` \|
|
25157
|
+
# `running` \| `shutting-down` \| `terminated` \| `stopping` \|
|
25158
|
+
# `stopped`).
|
25159
|
+
#
|
25160
|
+
# * `instance-type` - The type of instance (for example, `t3.micro`).
|
25161
|
+
#
|
25162
|
+
# * `launch-time` - The time when the instance was launched, in the ISO
|
25163
|
+
# 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for
|
25164
|
+
# example, `2023-09-29T11:04:43.305Z`. You can use a wildcard (`*`),
|
25165
|
+
# for example, `2023-09-29T*`, which matches an entire day.
|
25166
|
+
#
|
25167
|
+
# * `tag:<key>` - The key/value combination of a tag assigned to the
|
25168
|
+
# resource. Use the tag key in the filter name and the tag value as
|
25169
|
+
# the filter value. For example, to find all resources that have a tag
|
25170
|
+
# with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
|
25171
|
+
# the filter name and `TeamA` for the filter value.
|
25172
|
+
#
|
25173
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
25174
|
+
# filter to find all resources assigned a tag with a specific key,
|
25175
|
+
# regardless of the tag value.
|
25176
|
+
#
|
25177
|
+
# * `zone-id` - The ID of the Availability Zone (for example,
|
25178
|
+
# `usw2-az2`) or Local Zone (for example, `usw2-lax1-az1`) of the
|
25179
|
+
# instance.
|
25180
|
+
#
|
25181
|
+
# @option params [Array<String>] :instance_ids
|
25182
|
+
# The instance IDs.
|
25183
|
+
#
|
25184
|
+
# If you don't specify an instance ID or filters, the output includes
|
25185
|
+
# information for all instances.
|
25186
|
+
#
|
25187
|
+
# @option params [Integer] :max_results
|
25188
|
+
# The maximum number of items to return for this request. To get the
|
25189
|
+
# next page of items, make another request with the token returned in
|
25190
|
+
# the output. For more information, see [Pagination][1].
|
25191
|
+
#
|
25192
|
+
# Default: 1000
|
25193
|
+
#
|
25194
|
+
#
|
25195
|
+
#
|
25196
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
25197
|
+
#
|
25198
|
+
# @option params [String] :next_token
|
25199
|
+
# The token returned from a previous paginated request. Pagination
|
25200
|
+
# continues from the end of the items returned by the previous request.
|
25201
|
+
#
|
25202
|
+
# @option params [Boolean] :dry_run
|
25203
|
+
# Checks whether you have the required permissions for the action,
|
25204
|
+
# without actually making the request, and provides an error response.
|
25205
|
+
# If you have the required permissions, the error response is
|
25206
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
25207
|
+
#
|
25208
|
+
# @return [Types::DescribeInstanceImageMetadataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
25209
|
+
#
|
25210
|
+
# * {Types::DescribeInstanceImageMetadataResult#instance_image_metadata #instance_image_metadata} => Array<Types::InstanceImageMetadata>
|
25211
|
+
# * {Types::DescribeInstanceImageMetadataResult#next_token #next_token} => String
|
25212
|
+
#
|
25213
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
25214
|
+
#
|
25215
|
+
# @example Request syntax with placeholder values
|
25216
|
+
#
|
25217
|
+
# resp = client.describe_instance_image_metadata({
|
25218
|
+
# filters: [
|
25219
|
+
# {
|
25220
|
+
# name: "String",
|
25221
|
+
# values: ["String"],
|
25222
|
+
# },
|
25223
|
+
# ],
|
25224
|
+
# instance_ids: ["InstanceId"],
|
25225
|
+
# max_results: 1,
|
25226
|
+
# next_token: "String",
|
25227
|
+
# dry_run: false,
|
25228
|
+
# })
|
25229
|
+
#
|
25230
|
+
# @example Response structure
|
25231
|
+
#
|
25232
|
+
# resp.instance_image_metadata #=> Array
|
25233
|
+
# resp.instance_image_metadata[0].instance_id #=> String
|
25234
|
+
# resp.instance_image_metadata[0].instance_type #=> String, one of "a1.medium", "a1.large", "a1.xlarge", "a1.2xlarge", "a1.4xlarge", "a1.metal", "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.medium", "c6g.large", "c6g.xlarge", "c6g.2xlarge", "c6g.4xlarge", "c6g.8xlarge", "c6g.12xlarge", "c6g.16xlarge", "c6g.metal", "c6gd.medium", "c6gd.large", "c6gd.xlarge", "c6gd.2xlarge", "c6gd.4xlarge", "c6gd.8xlarge", "c6gd.12xlarge", "c6gd.16xlarge", "c6gd.metal", "c6gn.medium", "c6gn.large", "c6gn.xlarge", "c6gn.2xlarge", "c6gn.4xlarge", "c6gn.8xlarge", "c6gn.12xlarge", "c6gn.16xlarge", "c6i.large", "c6i.xlarge", "c6i.2xlarge", "c6i.4xlarge", "c6i.8xlarge", "c6i.12xlarge", "c6i.16xlarge", "c6i.24xlarge", "c6i.32xlarge", "c6i.metal", "cc1.4xlarge", "cc2.8xlarge", "cg1.4xlarge", "cr1.8xlarge", "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", "dl1.24xlarge", "f1.2xlarge", "f1.4xlarge", "f1.16xlarge", "g2.2xlarge", "g2.8xlarge", "g3.4xlarge", "g3.8xlarge", "g3.16xlarge", "g3s.xlarge", "g4ad.xlarge", "g4ad.2xlarge", "g4ad.4xlarge", "g4ad.8xlarge", "g4ad.16xlarge", "g4dn.xlarge", "g4dn.2xlarge", "g4dn.4xlarge", "g4dn.8xlarge", "g4dn.12xlarge", "g4dn.16xlarge", "g4dn.metal", "g5.xlarge", "g5.2xlarge", "g5.4xlarge", "g5.8xlarge", "g5.12xlarge", "g5.16xlarge", "g5.24xlarge", "g5.48xlarge", "g5g.xlarge", "g5g.2xlarge", "g5g.4xlarge", "g5g.8xlarge", "g5g.16xlarge", "g5g.metal", "hi1.4xlarge", "hpc6a.48xlarge", "hs1.8xlarge", "h1.2xlarge", "h1.4xlarge", "h1.8xlarge", "h1.16xlarge", "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", "im4gn.large", "im4gn.xlarge", "im4gn.2xlarge", "im4gn.4xlarge", "im4gn.8xlarge", "im4gn.16xlarge", "inf1.xlarge", "inf1.2xlarge", "inf1.6xlarge", "inf1.24xlarge", "is4gen.medium", "is4gen.large", "is4gen.xlarge", "is4gen.2xlarge", "is4gen.4xlarge", "is4gen.8xlarge", "m1.small", "m1.medium", "m1.large", "m1.xlarge", "m2.xlarge", "m2.2xlarge", "m2.4xlarge", "m3.medium", "m3.large", "m3.xlarge", "m3.2xlarge", "m4.large", "m4.xlarge", "m4.2xlarge", "m4.4xlarge", "m4.10xlarge", "m4.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", "m5ad.large", "m5ad.xlarge", "m5ad.2xlarge", "m5ad.4xlarge", "m5ad.8xlarge", "m5ad.12xlarge", "m5ad.16xlarge", "m5ad.24xlarge", "m5d.large", "m5d.xlarge", "m5d.2xlarge", "m5d.4xlarge", "m5d.8xlarge", "m5d.12xlarge", "m5d.16xlarge", "m5d.24xlarge", "m5d.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", "m5zn.large", "m5zn.xlarge", "m5zn.2xlarge", "m5zn.3xlarge", "m5zn.6xlarge", "m5zn.12xlarge", "m5zn.metal", "m6a.large", "m6a.xlarge", "m6a.2xlarge", "m6a.4xlarge", "m6a.8xlarge", "m6a.12xlarge", "m6a.16xlarge", "m6a.24xlarge", "m6a.32xlarge", "m6a.48xlarge", "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", "m6i.large", "m6i.xlarge", "m6i.2xlarge", "m6i.4xlarge", "m6i.8xlarge", "m6i.12xlarge", "m6i.16xlarge", "m6i.24xlarge", "m6i.32xlarge", "m6i.metal", "mac1.metal", "p2.xlarge", "p2.8xlarge", "p2.16xlarge", "p3.2xlarge", "p3.8xlarge", "p3.16xlarge", "p3dn.24xlarge", "p4d.24xlarge", "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", "r5ad.large", "r5ad.xlarge", "r5ad.2xlarge", "r5ad.4xlarge", "r5ad.8xlarge", "r5ad.12xlarge", "r5ad.16xlarge", "r5ad.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", "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", "r6g.medium", "r6g.large", "r6g.xlarge", "r6g.2xlarge", "r6g.4xlarge", "r6g.8xlarge", "r6g.12xlarge", "r6g.16xlarge", "r6g.metal", "r6gd.medium", "r6gd.large", "r6gd.xlarge", "r6gd.2xlarge", "r6gd.4xlarge", "r6gd.8xlarge", "r6gd.12xlarge", "r6gd.16xlarge", "r6gd.metal", "r6i.large", "r6i.xlarge", "r6i.2xlarge", "r6i.4xlarge", "r6i.8xlarge", "r6i.12xlarge", "r6i.16xlarge", "r6i.24xlarge", "r6i.32xlarge", "r6i.metal", "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", "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", "vt1.3xlarge", "vt1.6xlarge", "vt1.24xlarge", "x1.16xlarge", "x1.32xlarge", "x1e.xlarge", "x1e.2xlarge", "x1e.4xlarge", "x1e.8xlarge", "x1e.16xlarge", "x1e.32xlarge", "x2iezn.2xlarge", "x2iezn.4xlarge", "x2iezn.6xlarge", "x2iezn.8xlarge", "x2iezn.12xlarge", "x2iezn.metal", "x2gd.medium", "x2gd.large", "x2gd.xlarge", "x2gd.2xlarge", "x2gd.4xlarge", "x2gd.8xlarge", "x2gd.12xlarge", "x2gd.16xlarge", "x2gd.metal", "z1d.large", "z1d.xlarge", "z1d.2xlarge", "z1d.3xlarge", "z1d.6xlarge", "z1d.12xlarge", "z1d.metal", "x2idn.16xlarge", "x2idn.24xlarge", "x2idn.32xlarge", "x2iedn.xlarge", "x2iedn.2xlarge", "x2iedn.4xlarge", "x2iedn.8xlarge", "x2iedn.16xlarge", "x2iedn.24xlarge", "x2iedn.32xlarge", "c6a.large", "c6a.xlarge", "c6a.2xlarge", "c6a.4xlarge", "c6a.8xlarge", "c6a.12xlarge", "c6a.16xlarge", "c6a.24xlarge", "c6a.32xlarge", "c6a.48xlarge", "c6a.metal", "m6a.metal", "i4i.large", "i4i.xlarge", "i4i.2xlarge", "i4i.4xlarge", "i4i.8xlarge", "i4i.16xlarge", "i4i.32xlarge", "i4i.metal", "x2idn.metal", "x2iedn.metal", "c7g.medium", "c7g.large", "c7g.xlarge", "c7g.2xlarge", "c7g.4xlarge", "c7g.8xlarge", "c7g.12xlarge", "c7g.16xlarge", "mac2.metal", "c6id.large", "c6id.xlarge", "c6id.2xlarge", "c6id.4xlarge", "c6id.8xlarge", "c6id.12xlarge", "c6id.16xlarge", "c6id.24xlarge", "c6id.32xlarge", "c6id.metal", "m6id.large", "m6id.xlarge", "m6id.2xlarge", "m6id.4xlarge", "m6id.8xlarge", "m6id.12xlarge", "m6id.16xlarge", "m6id.24xlarge", "m6id.32xlarge", "m6id.metal", "r6id.large", "r6id.xlarge", "r6id.2xlarge", "r6id.4xlarge", "r6id.8xlarge", "r6id.12xlarge", "r6id.16xlarge", "r6id.24xlarge", "r6id.32xlarge", "r6id.metal", "r6a.large", "r6a.xlarge", "r6a.2xlarge", "r6a.4xlarge", "r6a.8xlarge", "r6a.12xlarge", "r6a.16xlarge", "r6a.24xlarge", "r6a.32xlarge", "r6a.48xlarge", "r6a.metal", "p4de.24xlarge", "u-3tb1.56xlarge", "u-18tb1.112xlarge", "u-24tb1.112xlarge", "trn1.2xlarge", "trn1.32xlarge", "hpc6id.32xlarge", "c6in.large", "c6in.xlarge", "c6in.2xlarge", "c6in.4xlarge", "c6in.8xlarge", "c6in.12xlarge", "c6in.16xlarge", "c6in.24xlarge", "c6in.32xlarge", "m6in.large", "m6in.xlarge", "m6in.2xlarge", "m6in.4xlarge", "m6in.8xlarge", "m6in.12xlarge", "m6in.16xlarge", "m6in.24xlarge", "m6in.32xlarge", "m6idn.large", "m6idn.xlarge", "m6idn.2xlarge", "m6idn.4xlarge", "m6idn.8xlarge", "m6idn.12xlarge", "m6idn.16xlarge", "m6idn.24xlarge", "m6idn.32xlarge", "r6in.large", "r6in.xlarge", "r6in.2xlarge", "r6in.4xlarge", "r6in.8xlarge", "r6in.12xlarge", "r6in.16xlarge", "r6in.24xlarge", "r6in.32xlarge", "r6idn.large", "r6idn.xlarge", "r6idn.2xlarge", "r6idn.4xlarge", "r6idn.8xlarge", "r6idn.12xlarge", "r6idn.16xlarge", "r6idn.24xlarge", "r6idn.32xlarge", "c7g.metal", "m7g.medium", "m7g.large", "m7g.xlarge", "m7g.2xlarge", "m7g.4xlarge", "m7g.8xlarge", "m7g.12xlarge", "m7g.16xlarge", "m7g.metal", "r7g.medium", "r7g.large", "r7g.xlarge", "r7g.2xlarge", "r7g.4xlarge", "r7g.8xlarge", "r7g.12xlarge", "r7g.16xlarge", "r7g.metal", "c6in.metal", "m6in.metal", "m6idn.metal", "r6in.metal", "r6idn.metal", "inf2.xlarge", "inf2.8xlarge", "inf2.24xlarge", "inf2.48xlarge", "trn1n.32xlarge", "i4g.large", "i4g.xlarge", "i4g.2xlarge", "i4g.4xlarge", "i4g.8xlarge", "i4g.16xlarge", "hpc7g.4xlarge", "hpc7g.8xlarge", "hpc7g.16xlarge", "c7gn.medium", "c7gn.large", "c7gn.xlarge", "c7gn.2xlarge", "c7gn.4xlarge", "c7gn.8xlarge", "c7gn.12xlarge", "c7gn.16xlarge", "p5.48xlarge", "m7i.large", "m7i.xlarge", "m7i.2xlarge", "m7i.4xlarge", "m7i.8xlarge", "m7i.12xlarge", "m7i.16xlarge", "m7i.24xlarge", "m7i.48xlarge", "m7i-flex.large", "m7i-flex.xlarge", "m7i-flex.2xlarge", "m7i-flex.4xlarge", "m7i-flex.8xlarge", "m7a.medium", "m7a.large", "m7a.xlarge", "m7a.2xlarge", "m7a.4xlarge", "m7a.8xlarge", "m7a.12xlarge", "m7a.16xlarge", "m7a.24xlarge", "m7a.32xlarge", "m7a.48xlarge", "m7a.metal-48xl", "hpc7a.12xlarge", "hpc7a.24xlarge", "hpc7a.48xlarge", "hpc7a.96xlarge", "c7gd.medium", "c7gd.large", "c7gd.xlarge", "c7gd.2xlarge", "c7gd.4xlarge", "c7gd.8xlarge", "c7gd.12xlarge", "c7gd.16xlarge", "m7gd.medium", "m7gd.large", "m7gd.xlarge", "m7gd.2xlarge", "m7gd.4xlarge", "m7gd.8xlarge", "m7gd.12xlarge", "m7gd.16xlarge", "r7gd.medium", "r7gd.large", "r7gd.xlarge", "r7gd.2xlarge", "r7gd.4xlarge", "r7gd.8xlarge", "r7gd.12xlarge", "r7gd.16xlarge", "r7a.medium", "r7a.large", "r7a.xlarge", "r7a.2xlarge", "r7a.4xlarge", "r7a.8xlarge", "r7a.12xlarge", "r7a.16xlarge", "r7a.24xlarge", "r7a.32xlarge", "r7a.48xlarge", "c7i.large", "c7i.xlarge", "c7i.2xlarge", "c7i.4xlarge", "c7i.8xlarge", "c7i.12xlarge", "c7i.16xlarge", "c7i.24xlarge", "c7i.48xlarge", "mac2-m2pro.metal", "r7iz.large", "r7iz.xlarge", "r7iz.2xlarge", "r7iz.4xlarge", "r7iz.8xlarge", "r7iz.12xlarge", "r7iz.16xlarge", "r7iz.32xlarge", "c7a.medium", "c7a.large", "c7a.xlarge", "c7a.2xlarge", "c7a.4xlarge", "c7a.8xlarge", "c7a.12xlarge", "c7a.16xlarge", "c7a.24xlarge", "c7a.32xlarge", "c7a.48xlarge", "c7a.metal-48xl", "r7a.metal-48xl", "r7i.large", "r7i.xlarge", "r7i.2xlarge", "r7i.4xlarge", "r7i.8xlarge", "r7i.12xlarge", "r7i.16xlarge", "r7i.24xlarge", "r7i.48xlarge", "dl2q.24xlarge", "mac2-m2.metal", "i4i.12xlarge", "i4i.24xlarge", "c7i.metal-24xl", "c7i.metal-48xl", "m7i.metal-24xl", "m7i.metal-48xl", "r7i.metal-24xl", "r7i.metal-48xl", "r7iz.metal-16xl", "r7iz.metal-32xl", "c7gd.metal", "m7gd.metal", "r7gd.metal", "g6.xlarge", "g6.2xlarge", "g6.4xlarge", "g6.8xlarge", "g6.12xlarge", "g6.16xlarge", "g6.24xlarge", "g6.48xlarge", "gr6.4xlarge", "gr6.8xlarge", "c7i-flex.large", "c7i-flex.xlarge", "c7i-flex.2xlarge", "c7i-flex.4xlarge", "c7i-flex.8xlarge", "u7i-12tb.224xlarge", "u7in-16tb.224xlarge", "u7in-24tb.224xlarge", "u7in-32tb.224xlarge", "u7ib-12tb.224xlarge", "c7gn.metal", "r8g.medium", "r8g.large", "r8g.xlarge", "r8g.2xlarge", "r8g.4xlarge", "r8g.8xlarge", "r8g.12xlarge", "r8g.16xlarge", "r8g.24xlarge", "r8g.48xlarge", "r8g.metal-24xl", "r8g.metal-48xl", "mac2-m1ultra.metal", "g6e.xlarge", "g6e.2xlarge", "g6e.4xlarge", "g6e.8xlarge", "g6e.12xlarge", "g6e.16xlarge", "g6e.24xlarge", "g6e.48xlarge", "c8g.medium", "c8g.large", "c8g.xlarge", "c8g.2xlarge", "c8g.4xlarge", "c8g.8xlarge", "c8g.12xlarge", "c8g.16xlarge", "c8g.24xlarge", "c8g.48xlarge", "c8g.metal-24xl", "c8g.metal-48xl", "m8g.medium", "m8g.large", "m8g.xlarge", "m8g.2xlarge", "m8g.4xlarge", "m8g.8xlarge", "m8g.12xlarge", "m8g.16xlarge", "m8g.24xlarge", "m8g.48xlarge", "m8g.metal-24xl", "m8g.metal-48xl", "x8g.medium", "x8g.large", "x8g.xlarge", "x8g.2xlarge", "x8g.4xlarge", "x8g.8xlarge", "x8g.12xlarge", "x8g.16xlarge", "x8g.24xlarge", "x8g.48xlarge", "x8g.metal-24xl", "x8g.metal-48xl"
|
25235
|
+
# resp.instance_image_metadata[0].launch_time #=> Time
|
25236
|
+
# resp.instance_image_metadata[0].availability_zone #=> String
|
25237
|
+
# resp.instance_image_metadata[0].zone_id #=> String
|
25238
|
+
# resp.instance_image_metadata[0].state.code #=> Integer
|
25239
|
+
# resp.instance_image_metadata[0].state.name #=> String, one of "pending", "running", "shutting-down", "terminated", "stopping", "stopped"
|
25240
|
+
# resp.instance_image_metadata[0].owner_id #=> String
|
25241
|
+
# resp.instance_image_metadata[0].tags #=> Array
|
25242
|
+
# resp.instance_image_metadata[0].tags[0].key #=> String
|
25243
|
+
# resp.instance_image_metadata[0].tags[0].value #=> String
|
25244
|
+
# resp.instance_image_metadata[0].image_metadata.image_id #=> String
|
25245
|
+
# resp.instance_image_metadata[0].image_metadata.name #=> String
|
25246
|
+
# resp.instance_image_metadata[0].image_metadata.owner_id #=> String
|
25247
|
+
# resp.instance_image_metadata[0].image_metadata.state #=> String, one of "pending", "available", "invalid", "deregistered", "transient", "failed", "error", "disabled"
|
25248
|
+
# resp.instance_image_metadata[0].image_metadata.image_owner_alias #=> String
|
25249
|
+
# resp.instance_image_metadata[0].image_metadata.creation_date #=> String
|
25250
|
+
# resp.instance_image_metadata[0].image_metadata.deprecation_time #=> String
|
25251
|
+
# resp.instance_image_metadata[0].image_metadata.is_public #=> Boolean
|
25252
|
+
# resp.next_token #=> String
|
25253
|
+
#
|
25254
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceImageMetadata AWS API Documentation
|
25255
|
+
#
|
25256
|
+
# @overload describe_instance_image_metadata(params = {})
|
25257
|
+
# @param [Hash] params ({})
|
25258
|
+
def describe_instance_image_metadata(params = {}, options = {})
|
25259
|
+
req = build_request(:describe_instance_image_metadata, params)
|
25260
|
+
req.send_request(options)
|
25261
|
+
end
|
25262
|
+
|
25055
25263
|
# Describes the status of the specified instances or all of your
|
25056
25264
|
# instances. By default, only running instances are described, unless
|
25057
25265
|
# you specifically indicate to return the status of all instances.
|
@@ -25660,7 +25868,8 @@ module Aws::EC2
|
|
25660
25868
|
# * `supported-root-device-type` - The root device type (`ebs` \|
|
25661
25869
|
# `instance-store`).
|
25662
25870
|
#
|
25663
|
-
# * `supported-usage-class` - The usage class (`on-demand` \| `spot`
|
25871
|
+
# * `supported-usage-class` - The usage class (`on-demand` \| `spot` \|
|
25872
|
+
# `capacity-block`).
|
25664
25873
|
#
|
25665
25874
|
# * `supported-virtualization-type` - The virtualization type (`hvm` \|
|
25666
25875
|
# `paravirtual`).
|
@@ -30602,12 +30811,12 @@ module Aws::EC2
|
|
30602
30811
|
#
|
30603
30812
|
# * `interface-type` - The type of network interface
|
30604
30813
|
# (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
|
30605
|
-
# `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `
|
30606
|
-
# `
|
30607
|
-
# `
|
30608
|
-
# \| `
|
30609
|
-
# `
|
30610
|
-
# `trunk` \| `vpc_endpoint`).
|
30814
|
+
# `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `efa-only`
|
30815
|
+
# \| `efs` \| `gateway_load_balancer` \|
|
30816
|
+
# `gateway_load_balancer_endpoint` \| `global_accelerator_managed` \|
|
30817
|
+
# `interface` \| `iot_rules_managed` \| `lambda` \| `load_balancer` \|
|
30818
|
+
# `nat_gateway` \| `network_load_balancer` \| `quicksight` \|
|
30819
|
+
# `transit_gateway` \| `trunk` \| `vpc_endpoint`).
|
30611
30820
|
#
|
30612
30821
|
# * `mac-address` - The MAC address of the network interface.
|
30613
30822
|
#
|
@@ -32362,8 +32571,9 @@ module Aws::EC2
|
|
32362
32571
|
req.send_request(options)
|
32363
32572
|
end
|
32364
32573
|
|
32365
|
-
# Describes the VPCs on the other side of a VPC peering
|
32366
|
-
# are referencing the security groups you've
|
32574
|
+
# Describes the VPCs on the other side of a VPC peering or Transit
|
32575
|
+
# Gateway connection that are referencing the security groups you've
|
32576
|
+
# specified in this request.
|
32367
32577
|
#
|
32368
32578
|
# @option params [Boolean] :dry_run
|
32369
32579
|
# Checks whether you have the required permissions for the action,
|
@@ -32507,6 +32717,7 @@ module Aws::EC2
|
|
32507
32717
|
# resp.security_group_rules[0].tags #=> Array
|
32508
32718
|
# resp.security_group_rules[0].tags[0].key #=> String
|
32509
32719
|
# resp.security_group_rules[0].tags[0].value #=> String
|
32720
|
+
# resp.security_group_rules[0].security_group_rule_arn #=> String
|
32510
32721
|
# resp.next_token #=> String
|
32511
32722
|
#
|
32512
32723
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupRules AWS API Documentation
|
@@ -32518,6 +32729,93 @@ module Aws::EC2
|
|
32518
32729
|
req.send_request(options)
|
32519
32730
|
end
|
32520
32731
|
|
32732
|
+
# Describes security group VPC associations made with
|
32733
|
+
# [AssociateSecurityGroupVpc][1].
|
32734
|
+
#
|
32735
|
+
#
|
32736
|
+
#
|
32737
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AssociateSecurityGroupVpc.html
|
32738
|
+
#
|
32739
|
+
# @option params [Array<Types::Filter>] :filters
|
32740
|
+
# Security group VPC association filters.
|
32741
|
+
#
|
32742
|
+
# * `group-id`: The security group ID.
|
32743
|
+
#
|
32744
|
+
# * `vpc-id`: The ID of the associated VPC.
|
32745
|
+
#
|
32746
|
+
# * `vpc-owner-id`: The account ID of the VPC owner.
|
32747
|
+
#
|
32748
|
+
# * `state`: The state of the association.
|
32749
|
+
#
|
32750
|
+
# * `tag:<key>`: The key/value combination of a tag assigned to the
|
32751
|
+
# resource. Use the tag key in the filter name and the tag value as
|
32752
|
+
# the filter value. For example, to find all resources that have a tag
|
32753
|
+
# with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
|
32754
|
+
# the filter name and `TeamA` for the filter value.
|
32755
|
+
#
|
32756
|
+
# * `tag-key`: The key of a tag assigned to the resource. Use this
|
32757
|
+
# filter to find all resources assigned a tag with a specific key,
|
32758
|
+
# regardless of the tag value.
|
32759
|
+
#
|
32760
|
+
# @option params [String] :next_token
|
32761
|
+
# The token returned from a previous paginated request. Pagination
|
32762
|
+
# continues from the end of the items returned by the previous request.
|
32763
|
+
#
|
32764
|
+
# @option params [Integer] :max_results
|
32765
|
+
# The maximum number of items to return for this request. To get the
|
32766
|
+
# next page of items, make another request with the token returned in
|
32767
|
+
# the output. For more information, see [Pagination][1].
|
32768
|
+
#
|
32769
|
+
#
|
32770
|
+
#
|
32771
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
32772
|
+
#
|
32773
|
+
# @option params [Boolean] :dry_run
|
32774
|
+
# Checks whether you have the required permissions for the action,
|
32775
|
+
# without actually making the request, and provides an error response.
|
32776
|
+
# If you have the required permissions, the error response is
|
32777
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
32778
|
+
#
|
32779
|
+
# @return [Types::DescribeSecurityGroupVpcAssociationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
32780
|
+
#
|
32781
|
+
# * {Types::DescribeSecurityGroupVpcAssociationsResult#security_group_vpc_associations #security_group_vpc_associations} => Array<Types::SecurityGroupVpcAssociation>
|
32782
|
+
# * {Types::DescribeSecurityGroupVpcAssociationsResult#next_token #next_token} => String
|
32783
|
+
#
|
32784
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
32785
|
+
#
|
32786
|
+
# @example Request syntax with placeholder values
|
32787
|
+
#
|
32788
|
+
# resp = client.describe_security_group_vpc_associations({
|
32789
|
+
# filters: [
|
32790
|
+
# {
|
32791
|
+
# name: "String",
|
32792
|
+
# values: ["String"],
|
32793
|
+
# },
|
32794
|
+
# ],
|
32795
|
+
# next_token: "String",
|
32796
|
+
# max_results: 1,
|
32797
|
+
# dry_run: false,
|
32798
|
+
# })
|
32799
|
+
#
|
32800
|
+
# @example Response structure
|
32801
|
+
#
|
32802
|
+
# resp.security_group_vpc_associations #=> Array
|
32803
|
+
# resp.security_group_vpc_associations[0].group_id #=> String
|
32804
|
+
# resp.security_group_vpc_associations[0].vpc_id #=> String
|
32805
|
+
# resp.security_group_vpc_associations[0].vpc_owner_id #=> String
|
32806
|
+
# resp.security_group_vpc_associations[0].state #=> String, one of "associating", "associated", "association-failed", "disassociating", "disassociated", "disassociation-failed"
|
32807
|
+
# resp.security_group_vpc_associations[0].state_reason #=> String
|
32808
|
+
# resp.next_token #=> String
|
32809
|
+
#
|
32810
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupVpcAssociations AWS API Documentation
|
32811
|
+
#
|
32812
|
+
# @overload describe_security_group_vpc_associations(params = {})
|
32813
|
+
# @param [Hash] params ({})
|
32814
|
+
def describe_security_group_vpc_associations(params = {}, options = {})
|
32815
|
+
req = build_request(:describe_security_group_vpc_associations, params)
|
32816
|
+
req.send_request(options)
|
32817
|
+
end
|
32818
|
+
|
32521
32819
|
# Describes the specified security groups or all of your security
|
32522
32820
|
# groups.
|
32523
32821
|
#
|
@@ -32724,6 +33022,7 @@ module Aws::EC2
|
|
32724
33022
|
# resp.security_groups[0].tags[0].key #=> String
|
32725
33023
|
# resp.security_groups[0].tags[0].value #=> String
|
32726
33024
|
# resp.security_groups[0].vpc_id #=> String
|
33025
|
+
# resp.security_groups[0].security_group_arn #=> String
|
32727
33026
|
# resp.security_groups[0].owner_id #=> String
|
32728
33027
|
# resp.security_groups[0].group_name #=> String
|
32729
33028
|
# resp.security_groups[0].description #=> String
|
@@ -34277,11 +34576,19 @@ module Aws::EC2
|
|
34277
34576
|
req.send_request(options)
|
34278
34577
|
end
|
34279
34578
|
|
34280
|
-
# Describes the stale security group rules for security groups
|
34281
|
-
#
|
34282
|
-
#
|
34283
|
-
#
|
34284
|
-
#
|
34579
|
+
# Describes the stale security group rules for security groups
|
34580
|
+
# referenced across a VPC peering connection, transit gateway
|
34581
|
+
# connection, or with a security group VPC association. Rules are stale
|
34582
|
+
# when they reference a deleted security group. Rules can also be stale
|
34583
|
+
# if they reference a security group in a peer VPC for which the VPC
|
34584
|
+
# peering connection has been deleted, across a transit gateway where
|
34585
|
+
# the transit gateway has been deleted (or [the transit gateway security
|
34586
|
+
# group referencing feature][1] has been disabled), or if a security
|
34587
|
+
# group VPC association has been disassociated.
|
34588
|
+
#
|
34589
|
+
#
|
34590
|
+
#
|
34591
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security
|
34285
34592
|
#
|
34286
34593
|
# @option params [Boolean] :dry_run
|
34287
34594
|
# Checks whether you have the required permissions for the action,
|
@@ -40286,6 +40593,53 @@ module Aws::EC2
|
|
40286
40593
|
req.send_request(options)
|
40287
40594
|
end
|
40288
40595
|
|
40596
|
+
# Disassociates a security group from a VPC. You cannot disassociate the
|
40597
|
+
# security group if any Elastic network interfaces in the associated VPC
|
40598
|
+
# are still associated with the security group. Note that the
|
40599
|
+
# disassociation is asynchronous and you can check the status of the
|
40600
|
+
# request with [DescribeSecurityGroupVpcAssociations][1].
|
40601
|
+
#
|
40602
|
+
#
|
40603
|
+
#
|
40604
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroupVpcAssociations.html
|
40605
|
+
#
|
40606
|
+
# @option params [required, String] :group_id
|
40607
|
+
# A security group ID.
|
40608
|
+
#
|
40609
|
+
# @option params [required, String] :vpc_id
|
40610
|
+
# A VPC ID.
|
40611
|
+
#
|
40612
|
+
# @option params [Boolean] :dry_run
|
40613
|
+
# Checks whether you have the required permissions for the action,
|
40614
|
+
# without actually making the request, and provides an error response.
|
40615
|
+
# If you have the required permissions, the error response is
|
40616
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
40617
|
+
#
|
40618
|
+
# @return [Types::DisassociateSecurityGroupVpcResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
40619
|
+
#
|
40620
|
+
# * {Types::DisassociateSecurityGroupVpcResult#state #state} => String
|
40621
|
+
#
|
40622
|
+
# @example Request syntax with placeholder values
|
40623
|
+
#
|
40624
|
+
# resp = client.disassociate_security_group_vpc({
|
40625
|
+
# group_id: "DisassociateSecurityGroupVpcSecurityGroupId", # required
|
40626
|
+
# vpc_id: "String", # required
|
40627
|
+
# dry_run: false,
|
40628
|
+
# })
|
40629
|
+
#
|
40630
|
+
# @example Response structure
|
40631
|
+
#
|
40632
|
+
# resp.state #=> String, one of "associating", "associated", "association-failed", "disassociating", "disassociated", "disassociation-failed"
|
40633
|
+
#
|
40634
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateSecurityGroupVpc AWS API Documentation
|
40635
|
+
#
|
40636
|
+
# @overload disassociate_security_group_vpc(params = {})
|
40637
|
+
# @param [Hash] params ({})
|
40638
|
+
def disassociate_security_group_vpc(params = {}, options = {})
|
40639
|
+
req = build_request(:disassociate_security_group_vpc, params)
|
40640
|
+
req.send_request(options)
|
40641
|
+
end
|
40642
|
+
|
40289
40643
|
# Disassociates a CIDR block from a subnet. Currently, you can
|
40290
40644
|
# disassociate an IPv6 CIDR block only. You must detach or delete all
|
40291
40645
|
# gateways and resources that are associated with the CIDR block before
|
@@ -56885,6 +57239,7 @@ module Aws::EC2
|
|
56885
57239
|
#
|
56886
57240
|
# * {Types::RevokeSecurityGroupEgressResult#return #return} => Boolean
|
56887
57241
|
# * {Types::RevokeSecurityGroupEgressResult#unknown_ip_permissions #unknown_ip_permissions} => Array<Types::IpPermission>
|
57242
|
+
# * {Types::RevokeSecurityGroupEgressResult#revoked_security_group_rules #revoked_security_group_rules} => Array<Types::RevokedSecurityGroupRule>
|
56888
57243
|
#
|
56889
57244
|
# @example Request syntax with placeholder values
|
56890
57245
|
#
|
@@ -56960,6 +57315,18 @@ module Aws::EC2
|
|
56960
57315
|
# resp.unknown_ip_permissions[0].prefix_list_ids #=> Array
|
56961
57316
|
# resp.unknown_ip_permissions[0].prefix_list_ids[0].description #=> String
|
56962
57317
|
# resp.unknown_ip_permissions[0].prefix_list_ids[0].prefix_list_id #=> String
|
57318
|
+
# resp.revoked_security_group_rules #=> Array
|
57319
|
+
# resp.revoked_security_group_rules[0].security_group_rule_id #=> String
|
57320
|
+
# resp.revoked_security_group_rules[0].group_id #=> String
|
57321
|
+
# resp.revoked_security_group_rules[0].is_egress #=> Boolean
|
57322
|
+
# resp.revoked_security_group_rules[0].ip_protocol #=> String
|
57323
|
+
# resp.revoked_security_group_rules[0].from_port #=> Integer
|
57324
|
+
# resp.revoked_security_group_rules[0].to_port #=> Integer
|
57325
|
+
# resp.revoked_security_group_rules[0].cidr_ipv_4 #=> String
|
57326
|
+
# resp.revoked_security_group_rules[0].cidr_ipv_6 #=> String
|
57327
|
+
# resp.revoked_security_group_rules[0].prefix_list_id #=> String
|
57328
|
+
# resp.revoked_security_group_rules[0].referenced_group_id #=> String
|
57329
|
+
# resp.revoked_security_group_rules[0].description #=> String
|
56963
57330
|
#
|
56964
57331
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupEgress AWS API Documentation
|
56965
57332
|
#
|
@@ -57053,6 +57420,7 @@ module Aws::EC2
|
|
57053
57420
|
#
|
57054
57421
|
# * {Types::RevokeSecurityGroupIngressResult#return #return} => Boolean
|
57055
57422
|
# * {Types::RevokeSecurityGroupIngressResult#unknown_ip_permissions #unknown_ip_permissions} => Array<Types::IpPermission>
|
57423
|
+
# * {Types::RevokeSecurityGroupIngressResult#revoked_security_group_rules #revoked_security_group_rules} => Array<Types::RevokedSecurityGroupRule>
|
57056
57424
|
#
|
57057
57425
|
# @example Request syntax with placeholder values
|
57058
57426
|
#
|
@@ -57129,6 +57497,18 @@ module Aws::EC2
|
|
57129
57497
|
# resp.unknown_ip_permissions[0].prefix_list_ids #=> Array
|
57130
57498
|
# resp.unknown_ip_permissions[0].prefix_list_ids[0].description #=> String
|
57131
57499
|
# resp.unknown_ip_permissions[0].prefix_list_ids[0].prefix_list_id #=> String
|
57500
|
+
# resp.revoked_security_group_rules #=> Array
|
57501
|
+
# resp.revoked_security_group_rules[0].security_group_rule_id #=> String
|
57502
|
+
# resp.revoked_security_group_rules[0].group_id #=> String
|
57503
|
+
# resp.revoked_security_group_rules[0].is_egress #=> Boolean
|
57504
|
+
# resp.revoked_security_group_rules[0].ip_protocol #=> String
|
57505
|
+
# resp.revoked_security_group_rules[0].from_port #=> Integer
|
57506
|
+
# resp.revoked_security_group_rules[0].to_port #=> Integer
|
57507
|
+
# resp.revoked_security_group_rules[0].cidr_ipv_4 #=> String
|
57508
|
+
# resp.revoked_security_group_rules[0].cidr_ipv_6 #=> String
|
57509
|
+
# resp.revoked_security_group_rules[0].prefix_list_id #=> String
|
57510
|
+
# resp.revoked_security_group_rules[0].referenced_group_id #=> String
|
57511
|
+
# resp.revoked_security_group_rules[0].description #=> String
|
57132
57512
|
#
|
57133
57513
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupIngress AWS API Documentation
|
57134
57514
|
#
|
@@ -60468,7 +60848,7 @@ module Aws::EC2
|
|
60468
60848
|
tracer: tracer
|
60469
60849
|
)
|
60470
60850
|
context[:gem_name] = 'aws-sdk-ec2'
|
60471
|
-
context[:gem_version] = '1.
|
60851
|
+
context[:gem_version] = '1.486.0'
|
60472
60852
|
Seahorse::Client::Request.new(handlers, context)
|
60473
60853
|
end
|
60474
60854
|
|