aws-sdk-ec2 1.535.0 → 1.536.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +53 -40
- data/lib/aws-sdk-ec2/client_api.rb +1 -0
- data/lib/aws-sdk-ec2/types.rb +9 -1
- data/lib/aws-sdk-ec2/waiters.rb +146 -38
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +24 -0
- data/sig/types.rbs +1 -0
- data/sig/waiters.rbs +36 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8056a0745c47a51f605d86324255d46db353e813374056a0fb0eea544f709fc
|
4
|
+
data.tar.gz: e760e73f9f19dc16235ae95c05338058b88a54e97691356ee85c24ab9678f20b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26039e6247ab28ad4acd457e8ca24d71ba298a7eea32bc0d4bb2d0dc4b7e42f8c7cf8996a57ceae644072147d0fd2bdefd756c97b7eb9778b7d2a50175f4a933
|
7
|
+
data.tar.gz: 13270cd903139365297517a29b1b715f91a57f16f68adac751401022102e581d71b62bc9c8d74de9b7e82c96548060d4fdd5917491544c6a5c94c30ef8a10439
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.536.0 (2025-07-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds GroupOwnerId as a response member to the DescribeSecurityGroupVpcAssociations API and also adds waiters for SecurityGroupVpcAssociations (SecurityGroupVpcAssociationAssociated and SecurityGroupVpcAssociationDisassociated).
|
8
|
+
|
4
9
|
1.535.0 (2025-07-02)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.536.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -2559,7 +2559,7 @@ module Aws::EC2
|
|
2559
2559
|
# * You can associate the security group with another VPC if your
|
2560
2560
|
# account owns the VPC or if the VPC was shared with you.
|
2561
2561
|
#
|
2562
|
-
# * You must own the security group
|
2562
|
+
# * You must own the security group.
|
2563
2563
|
#
|
2564
2564
|
# * You cannot use this feature with default security groups.
|
2565
2565
|
#
|
@@ -35759,6 +35759,8 @@ module Aws::EC2
|
|
35759
35759
|
#
|
35760
35760
|
# * `group-id`: The security group ID.
|
35761
35761
|
#
|
35762
|
+
# * `group-owner-id`: The group owner ID.
|
35763
|
+
#
|
35762
35764
|
# * `vpc-id`: The ID of the associated VPC.
|
35763
35765
|
#
|
35764
35766
|
# * `vpc-owner-id`: The account ID of the VPC owner.
|
@@ -35823,8 +35825,15 @@ module Aws::EC2
|
|
35823
35825
|
# resp.security_group_vpc_associations[0].vpc_owner_id #=> String
|
35824
35826
|
# resp.security_group_vpc_associations[0].state #=> String, one of "associating", "associated", "association-failed", "disassociating", "disassociated", "disassociation-failed"
|
35825
35827
|
# resp.security_group_vpc_associations[0].state_reason #=> String
|
35828
|
+
# resp.security_group_vpc_associations[0].group_owner_id #=> String
|
35826
35829
|
# resp.next_token #=> String
|
35827
35830
|
#
|
35831
|
+
#
|
35832
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
35833
|
+
#
|
35834
|
+
# * security_group_vpc_association_associated
|
35835
|
+
# * security_group_vpc_association_disassociated
|
35836
|
+
#
|
35828
35837
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupVpcAssociations AWS API Documentation
|
35829
35838
|
#
|
35830
35839
|
# @overload describe_security_group_vpc_associations(params = {})
|
@@ -66151,7 +66160,7 @@ module Aws::EC2
|
|
66151
66160
|
tracer: tracer
|
66152
66161
|
)
|
66153
66162
|
context[:gem_name] = 'aws-sdk-ec2'
|
66154
|
-
context[:gem_version] = '1.
|
66163
|
+
context[:gem_version] = '1.536.0'
|
66155
66164
|
Seahorse::Client::Request.new(handlers, context)
|
66156
66165
|
end
|
66157
66166
|
|
@@ -66217,44 +66226,46 @@ module Aws::EC2
|
|
66217
66226
|
# The following table lists the valid waiter names, the operations they call,
|
66218
66227
|
# and the default `:delay` and `:max_attempts` values.
|
66219
66228
|
#
|
66220
|
-
# | waiter_name
|
66221
|
-
# |
|
66222
|
-
# | bundle_task_complete
|
66223
|
-
# | conversion_task_cancelled
|
66224
|
-
# | conversion_task_completed
|
66225
|
-
# | conversion_task_deleted
|
66226
|
-
# | customer_gateway_available
|
66227
|
-
# | export_task_cancelled
|
66228
|
-
# | export_task_completed
|
66229
|
-
# | image_available
|
66230
|
-
# | image_exists
|
66231
|
-
# | instance_exists
|
66232
|
-
# | instance_running
|
66233
|
-
# | instance_status_ok
|
66234
|
-
# | instance_stopped
|
66235
|
-
# | instance_terminated
|
66236
|
-
# | internet_gateway_exists
|
66237
|
-
# | key_pair_exists
|
66238
|
-
# | nat_gateway_available
|
66239
|
-
# | nat_gateway_deleted
|
66240
|
-
# | network_interface_available
|
66241
|
-
# | password_data_available
|
66242
|
-
# | security_group_exists
|
66243
|
-
# |
|
66244
|
-
# |
|
66245
|
-
# |
|
66246
|
-
# |
|
66247
|
-
# |
|
66248
|
-
# |
|
66249
|
-
# |
|
66250
|
-
# |
|
66251
|
-
# |
|
66252
|
-
# |
|
66253
|
-
# |
|
66254
|
-
# |
|
66255
|
-
# |
|
66256
|
-
# |
|
66257
|
-
# |
|
66229
|
+
# | waiter_name | params | :delay | :max_attempts |
|
66230
|
+
# | -------------------------------------------- | ------------------------------------------------- | -------- | ------------- |
|
66231
|
+
# | bundle_task_complete | {Client#describe_bundle_tasks} | 15 | 40 |
|
66232
|
+
# | conversion_task_cancelled | {Client#describe_conversion_tasks} | 15 | 40 |
|
66233
|
+
# | conversion_task_completed | {Client#describe_conversion_tasks} | 15 | 40 |
|
66234
|
+
# | conversion_task_deleted | {Client#describe_conversion_tasks} | 15 | 40 |
|
66235
|
+
# | customer_gateway_available | {Client#describe_customer_gateways} | 15 | 40 |
|
66236
|
+
# | export_task_cancelled | {Client#describe_export_tasks} | 15 | 40 |
|
66237
|
+
# | export_task_completed | {Client#describe_export_tasks} | 15 | 40 |
|
66238
|
+
# | image_available | {Client#describe_images} | 15 | 40 |
|
66239
|
+
# | image_exists | {Client#describe_images} | 15 | 40 |
|
66240
|
+
# | instance_exists | {Client#describe_instances} | 5 | 40 |
|
66241
|
+
# | instance_running | {Client#describe_instances} | 15 | 40 |
|
66242
|
+
# | instance_status_ok | {Client#describe_instance_status} | 15 | 40 |
|
66243
|
+
# | instance_stopped | {Client#describe_instances} | 15 | 40 |
|
66244
|
+
# | instance_terminated | {Client#describe_instances} | 15 | 40 |
|
66245
|
+
# | internet_gateway_exists | {Client#describe_internet_gateways} | 5 | 6 |
|
66246
|
+
# | key_pair_exists | {Client#describe_key_pairs} | 5 | 6 |
|
66247
|
+
# | nat_gateway_available | {Client#describe_nat_gateways} | 15 | 40 |
|
66248
|
+
# | nat_gateway_deleted | {Client#describe_nat_gateways} | 15 | 40 |
|
66249
|
+
# | network_interface_available | {Client#describe_network_interfaces} | 20 | 10 |
|
66250
|
+
# | password_data_available | {Client#get_password_data} | 15 | 40 |
|
66251
|
+
# | security_group_exists | {Client#describe_security_groups} | 5 | 6 |
|
66252
|
+
# | security_group_vpc_association_associated | {Client#describe_security_group_vpc_associations} | 10 | 7 |
|
66253
|
+
# | security_group_vpc_association_disassociated | {Client#describe_security_group_vpc_associations} | 10 | 7 |
|
66254
|
+
# | snapshot_completed | {Client#describe_snapshots} | 15 | 40 |
|
66255
|
+
# | snapshot_imported | {Client#describe_import_snapshot_tasks} | 15 | 40 |
|
66256
|
+
# | spot_instance_request_fulfilled | {Client#describe_spot_instance_requests} | 15 | 40 |
|
66257
|
+
# | store_image_task_complete | {Client#describe_store_image_tasks} | 5 | 40 |
|
66258
|
+
# | subnet_available | {Client#describe_subnets} | 15 | 40 |
|
66259
|
+
# | system_status_ok | {Client#describe_instance_status} | 15 | 40 |
|
66260
|
+
# | volume_available | {Client#describe_volumes} | 15 | 40 |
|
66261
|
+
# | volume_deleted | {Client#describe_volumes} | 15 | 40 |
|
66262
|
+
# | volume_in_use | {Client#describe_volumes} | 15 | 40 |
|
66263
|
+
# | vpc_available | {Client#describe_vpcs} | 15 | 40 |
|
66264
|
+
# | vpc_exists | {Client#describe_vpcs} | 1 | 5 |
|
66265
|
+
# | vpc_peering_connection_deleted | {Client#describe_vpc_peering_connections} | 15 | 40 |
|
66266
|
+
# | vpc_peering_connection_exists | {Client#describe_vpc_peering_connections} | 15 | 40 |
|
66267
|
+
# | vpn_connection_available | {Client#describe_vpn_connections} | 15 | 40 |
|
66268
|
+
# | vpn_connection_deleted | {Client#describe_vpn_connections} | 15 | 40 |
|
66258
66269
|
#
|
66259
66270
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
66260
66271
|
# because the waiter has entered a state that it will not transition
|
@@ -66326,6 +66337,8 @@ module Aws::EC2
|
|
66326
66337
|
network_interface_available: Waiters::NetworkInterfaceAvailable,
|
66327
66338
|
password_data_available: Waiters::PasswordDataAvailable,
|
66328
66339
|
security_group_exists: Waiters::SecurityGroupExists,
|
66340
|
+
security_group_vpc_association_associated: Waiters::SecurityGroupVpcAssociationAssociated,
|
66341
|
+
security_group_vpc_association_disassociated: Waiters::SecurityGroupVpcAssociationDisassociated,
|
66329
66342
|
snapshot_completed: Waiters::SnapshotCompleted,
|
66330
66343
|
snapshot_imported: Waiters::SnapshotImported,
|
66331
66344
|
spot_instance_request_fulfilled: Waiters::SpotInstanceRequestFulfilled,
|
@@ -15605,6 +15605,7 @@ module Aws::EC2
|
|
15605
15605
|
SecurityGroupVpcAssociation.add_member(:vpc_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcOwnerId"))
|
15606
15606
|
SecurityGroupVpcAssociation.add_member(:state, Shapes::ShapeRef.new(shape: SecurityGroupVpcAssociationState, location_name: "state"))
|
15607
15607
|
SecurityGroupVpcAssociation.add_member(:state_reason, Shapes::ShapeRef.new(shape: String, location_name: "stateReason"))
|
15608
|
+
SecurityGroupVpcAssociation.add_member(:group_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "groupOwnerId"))
|
15608
15609
|
SecurityGroupVpcAssociation.struct_class = Types::SecurityGroupVpcAssociation
|
15609
15610
|
|
15610
15611
|
SecurityGroupVpcAssociationList.member = Shapes::ShapeRef.new(shape: SecurityGroupVpcAssociation, location_name: "item")
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -27728,6 +27728,8 @@ module Aws::EC2
|
|
27728
27728
|
#
|
27729
27729
|
# * `group-id`: The security group ID.
|
27730
27730
|
#
|
27731
|
+
# * `group-owner-id`: The group owner ID.
|
27732
|
+
#
|
27731
27733
|
# * `vpc-id`: The ID of the associated VPC.
|
27732
27734
|
#
|
27733
27735
|
# * `vpc-owner-id`: The account ID of the VPC owner.
|
@@ -68864,6 +68866,11 @@ module Aws::EC2
|
|
68864
68866
|
# The association's state reason.
|
68865
68867
|
# @return [String]
|
68866
68868
|
#
|
68869
|
+
# @!attribute [rw] group_owner_id
|
68870
|
+
# The Amazon Web Services account ID of the owner of the security
|
68871
|
+
# group.
|
68872
|
+
# @return [String]
|
68873
|
+
#
|
68867
68874
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SecurityGroupVpcAssociation AWS API Documentation
|
68868
68875
|
#
|
68869
68876
|
class SecurityGroupVpcAssociation < Struct.new(
|
@@ -68871,7 +68878,8 @@ module Aws::EC2
|
|
68871
68878
|
:vpc_id,
|
68872
68879
|
:vpc_owner_id,
|
68873
68880
|
:state,
|
68874
|
-
:state_reason
|
68881
|
+
:state_reason,
|
68882
|
+
:group_owner_id)
|
68875
68883
|
SENSITIVE = []
|
68876
68884
|
include Aws::Structure
|
68877
68885
|
end
|
data/lib/aws-sdk-ec2/waiters.rb
CHANGED
@@ -67,44 +67,46 @@ module Aws::EC2
|
|
67
67
|
# The following table lists the valid waiter names, the operations they call,
|
68
68
|
# and the default `:delay` and `:max_attempts` values.
|
69
69
|
#
|
70
|
-
# | waiter_name
|
71
|
-
# |
|
72
|
-
# | bundle_task_complete
|
73
|
-
# | conversion_task_cancelled
|
74
|
-
# | conversion_task_completed
|
75
|
-
# | conversion_task_deleted
|
76
|
-
# | customer_gateway_available
|
77
|
-
# | export_task_cancelled
|
78
|
-
# | export_task_completed
|
79
|
-
# | image_available
|
80
|
-
# | image_exists
|
81
|
-
# | instance_exists
|
82
|
-
# | instance_running
|
83
|
-
# | instance_status_ok
|
84
|
-
# | instance_stopped
|
85
|
-
# | instance_terminated
|
86
|
-
# | internet_gateway_exists
|
87
|
-
# | key_pair_exists
|
88
|
-
# | nat_gateway_available
|
89
|
-
# | nat_gateway_deleted
|
90
|
-
# | network_interface_available
|
91
|
-
# | password_data_available
|
92
|
-
# | security_group_exists
|
93
|
-
# |
|
94
|
-
# |
|
95
|
-
# |
|
96
|
-
# |
|
97
|
-
# |
|
98
|
-
# |
|
99
|
-
# |
|
100
|
-
# |
|
101
|
-
# |
|
102
|
-
# |
|
103
|
-
# |
|
104
|
-
# |
|
105
|
-
# |
|
106
|
-
# |
|
107
|
-
# |
|
70
|
+
# | waiter_name | params | :delay | :max_attempts |
|
71
|
+
# | -------------------------------------------- | ------------------------------------------------- | -------- | ------------- |
|
72
|
+
# | bundle_task_complete | {Client#describe_bundle_tasks} | 15 | 40 |
|
73
|
+
# | conversion_task_cancelled | {Client#describe_conversion_tasks} | 15 | 40 |
|
74
|
+
# | conversion_task_completed | {Client#describe_conversion_tasks} | 15 | 40 |
|
75
|
+
# | conversion_task_deleted | {Client#describe_conversion_tasks} | 15 | 40 |
|
76
|
+
# | customer_gateway_available | {Client#describe_customer_gateways} | 15 | 40 |
|
77
|
+
# | export_task_cancelled | {Client#describe_export_tasks} | 15 | 40 |
|
78
|
+
# | export_task_completed | {Client#describe_export_tasks} | 15 | 40 |
|
79
|
+
# | image_available | {Client#describe_images} | 15 | 40 |
|
80
|
+
# | image_exists | {Client#describe_images} | 15 | 40 |
|
81
|
+
# | instance_exists | {Client#describe_instances} | 5 | 40 |
|
82
|
+
# | instance_running | {Client#describe_instances} | 15 | 40 |
|
83
|
+
# | instance_status_ok | {Client#describe_instance_status} | 15 | 40 |
|
84
|
+
# | instance_stopped | {Client#describe_instances} | 15 | 40 |
|
85
|
+
# | instance_terminated | {Client#describe_instances} | 15 | 40 |
|
86
|
+
# | internet_gateway_exists | {Client#describe_internet_gateways} | 5 | 6 |
|
87
|
+
# | key_pair_exists | {Client#describe_key_pairs} | 5 | 6 |
|
88
|
+
# | nat_gateway_available | {Client#describe_nat_gateways} | 15 | 40 |
|
89
|
+
# | nat_gateway_deleted | {Client#describe_nat_gateways} | 15 | 40 |
|
90
|
+
# | network_interface_available | {Client#describe_network_interfaces} | 20 | 10 |
|
91
|
+
# | password_data_available | {Client#get_password_data} | 15 | 40 |
|
92
|
+
# | security_group_exists | {Client#describe_security_groups} | 5 | 6 |
|
93
|
+
# | security_group_vpc_association_associated | {Client#describe_security_group_vpc_associations} | 10 | 7 |
|
94
|
+
# | security_group_vpc_association_disassociated | {Client#describe_security_group_vpc_associations} | 10 | 7 |
|
95
|
+
# | snapshot_completed | {Client#describe_snapshots} | 15 | 40 |
|
96
|
+
# | snapshot_imported | {Client#describe_import_snapshot_tasks} | 15 | 40 |
|
97
|
+
# | spot_instance_request_fulfilled | {Client#describe_spot_instance_requests} | 15 | 40 |
|
98
|
+
# | store_image_task_complete | {Client#describe_store_image_tasks} | 5 | 40 |
|
99
|
+
# | subnet_available | {Client#describe_subnets} | 15 | 40 |
|
100
|
+
# | system_status_ok | {Client#describe_instance_status} | 15 | 40 |
|
101
|
+
# | volume_available | {Client#describe_volumes} | 15 | 40 |
|
102
|
+
# | volume_deleted | {Client#describe_volumes} | 15 | 40 |
|
103
|
+
# | volume_in_use | {Client#describe_volumes} | 15 | 40 |
|
104
|
+
# | vpc_available | {Client#describe_vpcs} | 15 | 40 |
|
105
|
+
# | vpc_exists | {Client#describe_vpcs} | 1 | 5 |
|
106
|
+
# | vpc_peering_connection_deleted | {Client#describe_vpc_peering_connections} | 15 | 40 |
|
107
|
+
# | vpc_peering_connection_exists | {Client#describe_vpc_peering_connections} | 15 | 40 |
|
108
|
+
# | vpn_connection_available | {Client#describe_vpn_connections} | 15 | 40 |
|
109
|
+
# | vpn_connection_deleted | {Client#describe_vpn_connections} | 15 | 40 |
|
108
110
|
#
|
109
111
|
module Waiters
|
110
112
|
|
@@ -1042,6 +1044,112 @@ module Aws::EC2
|
|
1042
1044
|
|
1043
1045
|
end
|
1044
1046
|
|
1047
|
+
class SecurityGroupVpcAssociationAssociated
|
1048
|
+
|
1049
|
+
# @param [Hash] options
|
1050
|
+
# @option options [required, Client] :client
|
1051
|
+
# @option options [Integer] :max_attempts (7)
|
1052
|
+
# @option options [Integer] :delay (10)
|
1053
|
+
# @option options [Proc] :before_attempt
|
1054
|
+
# @option options [Proc] :before_wait
|
1055
|
+
def initialize(options)
|
1056
|
+
@client = options.fetch(:client)
|
1057
|
+
@waiter = Aws::Waiters::Waiter.new({
|
1058
|
+
max_attempts: 7,
|
1059
|
+
delay: 10,
|
1060
|
+
poller: Aws::Waiters::Poller.new(
|
1061
|
+
operation_name: :describe_security_group_vpc_associations,
|
1062
|
+
acceptors: [
|
1063
|
+
{
|
1064
|
+
"expected" => "associated",
|
1065
|
+
"matcher" => "pathAll",
|
1066
|
+
"state" => "success",
|
1067
|
+
"argument" => "security_group_vpc_associations[].state"
|
1068
|
+
},
|
1069
|
+
{
|
1070
|
+
"expected" => "associating",
|
1071
|
+
"matcher" => "pathAny",
|
1072
|
+
"state" => "retry",
|
1073
|
+
"argument" => "security_group_vpc_associations[].state"
|
1074
|
+
},
|
1075
|
+
{
|
1076
|
+
"expected" => "association-failed",
|
1077
|
+
"matcher" => "pathAny",
|
1078
|
+
"state" => "failure",
|
1079
|
+
"argument" => "security_group_vpc_associations[].state"
|
1080
|
+
}
|
1081
|
+
]
|
1082
|
+
)
|
1083
|
+
}.merge(options))
|
1084
|
+
end
|
1085
|
+
|
1086
|
+
# @option (see Client#describe_security_group_vpc_associations)
|
1087
|
+
# @return (see Client#describe_security_group_vpc_associations)
|
1088
|
+
def wait(params = {})
|
1089
|
+
@waiter.wait(client: @client, params: params)
|
1090
|
+
end
|
1091
|
+
|
1092
|
+
# @api private
|
1093
|
+
attr_reader :waiter
|
1094
|
+
|
1095
|
+
end
|
1096
|
+
|
1097
|
+
class SecurityGroupVpcAssociationDisassociated
|
1098
|
+
|
1099
|
+
# @param [Hash] options
|
1100
|
+
# @option options [required, Client] :client
|
1101
|
+
# @option options [Integer] :max_attempts (7)
|
1102
|
+
# @option options [Integer] :delay (10)
|
1103
|
+
# @option options [Proc] :before_attempt
|
1104
|
+
# @option options [Proc] :before_wait
|
1105
|
+
def initialize(options)
|
1106
|
+
@client = options.fetch(:client)
|
1107
|
+
@waiter = Aws::Waiters::Waiter.new({
|
1108
|
+
max_attempts: 7,
|
1109
|
+
delay: 10,
|
1110
|
+
poller: Aws::Waiters::Poller.new(
|
1111
|
+
operation_name: :describe_security_group_vpc_associations,
|
1112
|
+
acceptors: [
|
1113
|
+
{
|
1114
|
+
"expected" => "disassociated",
|
1115
|
+
"matcher" => "pathAll",
|
1116
|
+
"state" => "success",
|
1117
|
+
"argument" => "security_group_vpc_associations[].state"
|
1118
|
+
},
|
1119
|
+
{
|
1120
|
+
"expected" => "disassociating",
|
1121
|
+
"matcher" => "pathAny",
|
1122
|
+
"state" => "retry",
|
1123
|
+
"argument" => "security_group_vpc_associations[].state"
|
1124
|
+
},
|
1125
|
+
{
|
1126
|
+
"expected" => "disassociation-failed",
|
1127
|
+
"matcher" => "pathAny",
|
1128
|
+
"state" => "failure",
|
1129
|
+
"argument" => "security_group_vpc_associations[].state"
|
1130
|
+
},
|
1131
|
+
{
|
1132
|
+
"expected" => true,
|
1133
|
+
"matcher" => "path",
|
1134
|
+
"state" => "success",
|
1135
|
+
"argument" => "length(security_group_vpc_associations[]) == `0`"
|
1136
|
+
}
|
1137
|
+
]
|
1138
|
+
)
|
1139
|
+
}.merge(options))
|
1140
|
+
end
|
1141
|
+
|
1142
|
+
# @option (see Client#describe_security_group_vpc_associations)
|
1143
|
+
# @return (see Client#describe_security_group_vpc_associations)
|
1144
|
+
def wait(params = {})
|
1145
|
+
@waiter.wait(client: @client, params: params)
|
1146
|
+
end
|
1147
|
+
|
1148
|
+
# @api private
|
1149
|
+
attr_reader :waiter
|
1150
|
+
|
1151
|
+
end
|
1152
|
+
|
1045
1153
|
class SnapshotCompleted
|
1046
1154
|
|
1047
1155
|
# @param [Hash] options
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -14550,6 +14550,30 @@ module Aws
|
|
14550
14550
|
]
|
14551
14551
|
) -> Client::_DescribeSecurityGroupsResponseSuccess
|
14552
14552
|
| (:security_group_exists waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeSecurityGroupsResponseSuccess
|
14553
|
+
| (:security_group_vpc_association_associated waiter_name,
|
14554
|
+
?filters: Array[
|
14555
|
+
{
|
14556
|
+
name: ::String?,
|
14557
|
+
values: Array[::String]?
|
14558
|
+
},
|
14559
|
+
],
|
14560
|
+
?next_token: ::String,
|
14561
|
+
?max_results: ::Integer,
|
14562
|
+
?dry_run: bool
|
14563
|
+
) -> Client::_DescribeSecurityGroupVpcAssociationsResponseSuccess
|
14564
|
+
| (:security_group_vpc_association_associated waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeSecurityGroupVpcAssociationsResponseSuccess
|
14565
|
+
| (:security_group_vpc_association_disassociated waiter_name,
|
14566
|
+
?filters: Array[
|
14567
|
+
{
|
14568
|
+
name: ::String?,
|
14569
|
+
values: Array[::String]?
|
14570
|
+
},
|
14571
|
+
],
|
14572
|
+
?next_token: ::String,
|
14573
|
+
?max_results: ::Integer,
|
14574
|
+
?dry_run: bool
|
14575
|
+
) -> Client::_DescribeSecurityGroupVpcAssociationsResponseSuccess
|
14576
|
+
| (:security_group_vpc_association_disassociated waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeSecurityGroupVpcAssociationsResponseSuccess
|
14553
14577
|
| (:snapshot_completed waiter_name,
|
14554
14578
|
?max_results: ::Integer,
|
14555
14579
|
?next_token: ::String,
|
data/sig/types.rbs
CHANGED
@@ -14908,6 +14908,7 @@ module Aws::EC2
|
|
14908
14908
|
attr_accessor vpc_owner_id: ::String
|
14909
14909
|
attr_accessor state: ("associating" | "associated" | "association-failed" | "disassociating" | "disassociated" | "disassociation-failed")
|
14910
14910
|
attr_accessor state_reason: ::String
|
14911
|
+
attr_accessor group_owner_id: ::String
|
14911
14912
|
SENSITIVE: []
|
14912
14913
|
end
|
14913
14914
|
|
data/sig/waiters.rbs
CHANGED
@@ -376,6 +376,42 @@ module Aws
|
|
376
376
|
| (?Hash[Symbol, untyped]) -> Client::_DescribeSecurityGroupsResponseSuccess
|
377
377
|
end
|
378
378
|
|
379
|
+
class SecurityGroupVpcAssociationAssociated
|
380
|
+
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
|
381
|
+
| (?Hash[Symbol, untyped]) -> void
|
382
|
+
|
383
|
+
def wait: (
|
384
|
+
?filters: Array[
|
385
|
+
{
|
386
|
+
name: ::String?,
|
387
|
+
values: Array[::String]?
|
388
|
+
},
|
389
|
+
],
|
390
|
+
?next_token: ::String,
|
391
|
+
?max_results: ::Integer,
|
392
|
+
?dry_run: bool
|
393
|
+
) -> Client::_DescribeSecurityGroupVpcAssociationsResponseSuccess
|
394
|
+
| (?Hash[Symbol, untyped]) -> Client::_DescribeSecurityGroupVpcAssociationsResponseSuccess
|
395
|
+
end
|
396
|
+
|
397
|
+
class SecurityGroupVpcAssociationDisassociated
|
398
|
+
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
|
399
|
+
| (?Hash[Symbol, untyped]) -> void
|
400
|
+
|
401
|
+
def wait: (
|
402
|
+
?filters: Array[
|
403
|
+
{
|
404
|
+
name: ::String?,
|
405
|
+
values: Array[::String]?
|
406
|
+
},
|
407
|
+
],
|
408
|
+
?next_token: ::String,
|
409
|
+
?max_results: ::Integer,
|
410
|
+
?dry_run: bool
|
411
|
+
) -> Client::_DescribeSecurityGroupVpcAssociationsResponseSuccess
|
412
|
+
| (?Hash[Symbol, untyped]) -> Client::_DescribeSecurityGroupVpcAssociationsResponseSuccess
|
413
|
+
end
|
414
|
+
|
379
415
|
class SnapshotCompleted
|
380
416
|
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
|
381
417
|
| (?Hash[Symbol, untyped]) -> void
|