aws-sdk-ec2 1.485.0 → 1.487.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 +259 -22
- data/lib/aws-sdk-ec2/client_api.rb +98 -0
- data/lib/aws-sdk-ec2/resource.rb +14 -9
- 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 +323 -28
- data/lib/aws-sdk-ec2/vpc.rb +8 -8
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +46 -0
- data/sig/security_group.rbs +3 -0
- data/sig/types.rbs +67 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aabd40b31a72748dc0f014fa252af0c66f31cb1b8aba57aadce8063e4d789b58
|
4
|
+
data.tar.gz: aec3e0dabc9db79fc59363c873964c598aa08c14d010cccfb5e2ea2243005f35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c531185f9394714038b44351d6a01526c924525671d5e4af5b2c253f5d8b4425cd6fd73b56f6f4d02aa204dba69c45d276101f39866ac2436e787fa66c2ddec6
|
7
|
+
data.tar.gz: 7af0ec863c81edace780ad1424b8e8f03b67ea7eb6b0d3af4a3aa362f00240398fcfadc1043181eebb05b77e411a2d154241387919503824969aa6b8b3f38dd7
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.487.0 (2024-11-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.486.0 (2024-10-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds two new capabilities to VPC Security Groups: Security Group VPC Associations and Shared Security Groups.
|
13
|
+
|
4
14
|
1.485.0 (2024-10-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.487.0
|
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
|
#
|
@@ -7015,7 +7072,7 @@ module Aws::EC2
|
|
7015
7072
|
# VPC User Guide* or [Transit Gateway Flow Log records][2] in the
|
7016
7073
|
# *Amazon Web Services Transit Gateway Guide*.
|
7017
7074
|
#
|
7018
|
-
# Specify the fields using the
|
7075
|
+
# Specify the fields using the `${field-id}` format, separated by
|
7019
7076
|
# spaces.
|
7020
7077
|
#
|
7021
7078
|
#
|
@@ -10670,7 +10727,12 @@ module Aws::EC2
|
|
10670
10727
|
# @option params [String] :interface_type
|
10671
10728
|
# The type of network interface. The default is `interface`.
|
10672
10729
|
#
|
10673
|
-
#
|
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`.
|
10674
10736
|
#
|
10675
10737
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
10676
10738
|
# The tags to apply to the new network interface.
|
@@ -11787,7 +11849,7 @@ module Aws::EC2
|
|
11787
11849
|
# Constraints: Up to 255 characters in length
|
11788
11850
|
#
|
11789
11851
|
# Valid characters: a-z, A-Z, 0-9, spaces, and
|
11790
|
-
# .\_-:/()#,@\[\]+=&
|
11852
|
+
# .\_-:/()#,@\[\]+=&;\{}!$*
|
11791
11853
|
#
|
11792
11854
|
# @option params [required, String] :group_name
|
11793
11855
|
# The name of the security group.
|
@@ -11795,7 +11857,7 @@ module Aws::EC2
|
|
11795
11857
|
# Constraints: Up to 255 characters in length. Cannot start with `sg-`.
|
11796
11858
|
#
|
11797
11859
|
# Valid characters: a-z, A-Z, 0-9, spaces, and
|
11798
|
-
# .\_-:/()#,@\[\]+=&
|
11860
|
+
# .\_-:/()#,@\[\]+=&;\{}!$*
|
11799
11861
|
#
|
11800
11862
|
# @option params [String] :vpc_id
|
11801
11863
|
# The ID of the VPC. Required for a nondefault VPC.
|
@@ -11813,6 +11875,7 @@ module Aws::EC2
|
|
11813
11875
|
#
|
11814
11876
|
# * {Types::CreateSecurityGroupResult#group_id #group_id} => String
|
11815
11877
|
# * {Types::CreateSecurityGroupResult#tags #tags} => Array<Types::Tag>
|
11878
|
+
# * {Types::CreateSecurityGroupResult#security_group_arn #security_group_arn} => String
|
11816
11879
|
#
|
11817
11880
|
#
|
11818
11881
|
# @example Example: To create a security group for a VPC
|
@@ -11856,6 +11919,7 @@ module Aws::EC2
|
|
11856
11919
|
# resp.tags #=> Array
|
11857
11920
|
# resp.tags[0].key #=> String
|
11858
11921
|
# resp.tags[0].value #=> String
|
11922
|
+
# resp.security_group_arn #=> String
|
11859
11923
|
#
|
11860
11924
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSecurityGroup AWS API Documentation
|
11861
11925
|
#
|
@@ -12928,7 +12992,7 @@ module Aws::EC2
|
|
12928
12992
|
#
|
12929
12993
|
#
|
12930
12994
|
#
|
12931
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTrafficMirrorFilter.
|
12995
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTrafficMirrorFilter.html
|
12932
12996
|
#
|
12933
12997
|
# @option params [required, String] :network_interface_id
|
12934
12998
|
# The ID of the source network interface.
|
@@ -17846,8 +17910,9 @@ module Aws::EC2
|
|
17846
17910
|
# Deletes a security group.
|
17847
17911
|
#
|
17848
17912
|
# If you attempt to delete a security group that is associated with an
|
17849
|
-
# instance or network interface
|
17850
|
-
#
|
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`.
|
17851
17916
|
#
|
17852
17917
|
# @option params [String] :group_id
|
17853
17918
|
# The ID of the security group.
|
@@ -25803,7 +25868,8 @@ module Aws::EC2
|
|
25803
25868
|
# * `supported-root-device-type` - The root device type (`ebs` \|
|
25804
25869
|
# `instance-store`).
|
25805
25870
|
#
|
25806
|
-
# * `supported-usage-class` - The usage class (`on-demand` \| `spot`
|
25871
|
+
# * `supported-usage-class` - The usage class (`on-demand` \| `spot` \|
|
25872
|
+
# `capacity-block`).
|
25807
25873
|
#
|
25808
25874
|
# * `supported-virtualization-type` - The virtualization type (`hvm` \|
|
25809
25875
|
# `paravirtual`).
|
@@ -30745,12 +30811,12 @@ module Aws::EC2
|
|
30745
30811
|
#
|
30746
30812
|
# * `interface-type` - The type of network interface
|
30747
30813
|
# (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
|
30748
|
-
# `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `
|
30749
|
-
# `
|
30750
|
-
# `
|
30751
|
-
# \| `
|
30752
|
-
# `
|
30753
|
-
# `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`).
|
30754
30820
|
#
|
30755
30821
|
# * `mac-address` - The MAC address of the network interface.
|
30756
30822
|
#
|
@@ -32505,8 +32571,9 @@ module Aws::EC2
|
|
32505
32571
|
req.send_request(options)
|
32506
32572
|
end
|
32507
32573
|
|
32508
|
-
# Describes the VPCs on the other side of a VPC peering
|
32509
|
-
# 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.
|
32510
32577
|
#
|
32511
32578
|
# @option params [Boolean] :dry_run
|
32512
32579
|
# Checks whether you have the required permissions for the action,
|
@@ -32650,6 +32717,7 @@ module Aws::EC2
|
|
32650
32717
|
# resp.security_group_rules[0].tags #=> Array
|
32651
32718
|
# resp.security_group_rules[0].tags[0].key #=> String
|
32652
32719
|
# resp.security_group_rules[0].tags[0].value #=> String
|
32720
|
+
# resp.security_group_rules[0].security_group_rule_arn #=> String
|
32653
32721
|
# resp.next_token #=> String
|
32654
32722
|
#
|
32655
32723
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupRules AWS API Documentation
|
@@ -32661,6 +32729,93 @@ module Aws::EC2
|
|
32661
32729
|
req.send_request(options)
|
32662
32730
|
end
|
32663
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
|
+
|
32664
32819
|
# Describes the specified security groups or all of your security
|
32665
32820
|
# groups.
|
32666
32821
|
#
|
@@ -32867,6 +33022,7 @@ module Aws::EC2
|
|
32867
33022
|
# resp.security_groups[0].tags[0].key #=> String
|
32868
33023
|
# resp.security_groups[0].tags[0].value #=> String
|
32869
33024
|
# resp.security_groups[0].vpc_id #=> String
|
33025
|
+
# resp.security_groups[0].security_group_arn #=> String
|
32870
33026
|
# resp.security_groups[0].owner_id #=> String
|
32871
33027
|
# resp.security_groups[0].group_name #=> String
|
32872
33028
|
# resp.security_groups[0].description #=> String
|
@@ -34420,11 +34576,19 @@ module Aws::EC2
|
|
34420
34576
|
req.send_request(options)
|
34421
34577
|
end
|
34422
34578
|
|
34423
|
-
# Describes the stale security group rules for security groups
|
34424
|
-
#
|
34425
|
-
#
|
34426
|
-
#
|
34427
|
-
#
|
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
|
34428
34592
|
#
|
34429
34593
|
# @option params [Boolean] :dry_run
|
34430
34594
|
# Checks whether you have the required permissions for the action,
|
@@ -40429,6 +40593,53 @@ module Aws::EC2
|
|
40429
40593
|
req.send_request(options)
|
40430
40594
|
end
|
40431
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
|
+
|
40432
40643
|
# Disassociates a CIDR block from a subnet. Currently, you can
|
40433
40644
|
# disassociate an IPv6 CIDR block only. You must detach or delete all
|
40434
40645
|
# gateways and resources that are associated with the CIDR block before
|
@@ -57028,6 +57239,7 @@ module Aws::EC2
|
|
57028
57239
|
#
|
57029
57240
|
# * {Types::RevokeSecurityGroupEgressResult#return #return} => Boolean
|
57030
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>
|
57031
57243
|
#
|
57032
57244
|
# @example Request syntax with placeholder values
|
57033
57245
|
#
|
@@ -57103,6 +57315,18 @@ module Aws::EC2
|
|
57103
57315
|
# resp.unknown_ip_permissions[0].prefix_list_ids #=> Array
|
57104
57316
|
# resp.unknown_ip_permissions[0].prefix_list_ids[0].description #=> String
|
57105
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
|
57106
57330
|
#
|
57107
57331
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupEgress AWS API Documentation
|
57108
57332
|
#
|
@@ -57196,6 +57420,7 @@ module Aws::EC2
|
|
57196
57420
|
#
|
57197
57421
|
# * {Types::RevokeSecurityGroupIngressResult#return #return} => Boolean
|
57198
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>
|
57199
57424
|
#
|
57200
57425
|
# @example Request syntax with placeholder values
|
57201
57426
|
#
|
@@ -57272,6 +57497,18 @@ module Aws::EC2
|
|
57272
57497
|
# resp.unknown_ip_permissions[0].prefix_list_ids #=> Array
|
57273
57498
|
# resp.unknown_ip_permissions[0].prefix_list_ids[0].description #=> String
|
57274
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
|
57275
57512
|
#
|
57276
57513
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupIngress AWS API Documentation
|
57277
57514
|
#
|
@@ -60611,7 +60848,7 @@ module Aws::EC2
|
|
60611
60848
|
tracer: tracer
|
60612
60849
|
)
|
60613
60850
|
context[:gem_name] = 'aws-sdk-ec2'
|
60614
|
-
context[:gem_version] = '1.
|
60851
|
+
context[:gem_version] = '1.487.0'
|
60615
60852
|
Seahorse::Client::Request.new(handlers, context)
|
60616
60853
|
end
|
60617
60854
|
|