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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d45cb384f527de9bbde28fffeca8a307d2f5906c6b55ece9892c5e976ea342a
4
- data.tar.gz: a585f50bf7f0e8c15b43dacb9cd2ca27325dfaa64d5380e54aa6c723e95f4987
3
+ metadata.gz: c8056a0745c47a51f605d86324255d46db353e813374056a0fb0eea544f709fc
4
+ data.tar.gz: e760e73f9f19dc16235ae95c05338058b88a54e97691356ee85c24ab9678f20b
5
5
  SHA512:
6
- metadata.gz: 8866abc03516743f65641313557fdca9a94301427b615508468e6355e19497ae78cf8326e4905874175a37882672e580f6bb49ce085036cfb8a7f08ee9608b65
7
- data.tar.gz: b7b89a23a8d1887f039f6212395901eef0807b39dc8bc05d3c281f91da5668d180f2c9e5c8d1a438f9f732cca5b3dea38fdc3702bea0b2288e15f18d986f5b6d
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.535.0
1
+ 1.536.0
@@ -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 and the VPC that it was created in.
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.535.0'
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 | params | :delay | :max_attempts |
66221
- # | ------------------------------- | ----------------------------------------- | -------- | ------------- |
66222
- # | bundle_task_complete | {Client#describe_bundle_tasks} | 15 | 40 |
66223
- # | conversion_task_cancelled | {Client#describe_conversion_tasks} | 15 | 40 |
66224
- # | conversion_task_completed | {Client#describe_conversion_tasks} | 15 | 40 |
66225
- # | conversion_task_deleted | {Client#describe_conversion_tasks} | 15 | 40 |
66226
- # | customer_gateway_available | {Client#describe_customer_gateways} | 15 | 40 |
66227
- # | export_task_cancelled | {Client#describe_export_tasks} | 15 | 40 |
66228
- # | export_task_completed | {Client#describe_export_tasks} | 15 | 40 |
66229
- # | image_available | {Client#describe_images} | 15 | 40 |
66230
- # | image_exists | {Client#describe_images} | 15 | 40 |
66231
- # | instance_exists | {Client#describe_instances} | 5 | 40 |
66232
- # | instance_running | {Client#describe_instances} | 15 | 40 |
66233
- # | instance_status_ok | {Client#describe_instance_status} | 15 | 40 |
66234
- # | instance_stopped | {Client#describe_instances} | 15 | 40 |
66235
- # | instance_terminated | {Client#describe_instances} | 15 | 40 |
66236
- # | internet_gateway_exists | {Client#describe_internet_gateways} | 5 | 6 |
66237
- # | key_pair_exists | {Client#describe_key_pairs} | 5 | 6 |
66238
- # | nat_gateway_available | {Client#describe_nat_gateways} | 15 | 40 |
66239
- # | nat_gateway_deleted | {Client#describe_nat_gateways} | 15 | 40 |
66240
- # | network_interface_available | {Client#describe_network_interfaces} | 20 | 10 |
66241
- # | password_data_available | {Client#get_password_data} | 15 | 40 |
66242
- # | security_group_exists | {Client#describe_security_groups} | 5 | 6 |
66243
- # | snapshot_completed | {Client#describe_snapshots} | 15 | 40 |
66244
- # | snapshot_imported | {Client#describe_import_snapshot_tasks} | 15 | 40 |
66245
- # | spot_instance_request_fulfilled | {Client#describe_spot_instance_requests} | 15 | 40 |
66246
- # | store_image_task_complete | {Client#describe_store_image_tasks} | 5 | 40 |
66247
- # | subnet_available | {Client#describe_subnets} | 15 | 40 |
66248
- # | system_status_ok | {Client#describe_instance_status} | 15 | 40 |
66249
- # | volume_available | {Client#describe_volumes} | 15 | 40 |
66250
- # | volume_deleted | {Client#describe_volumes} | 15 | 40 |
66251
- # | volume_in_use | {Client#describe_volumes} | 15 | 40 |
66252
- # | vpc_available | {Client#describe_vpcs} | 15 | 40 |
66253
- # | vpc_exists | {Client#describe_vpcs} | 1 | 5 |
66254
- # | vpc_peering_connection_deleted | {Client#describe_vpc_peering_connections} | 15 | 40 |
66255
- # | vpc_peering_connection_exists | {Client#describe_vpc_peering_connections} | 15 | 40 |
66256
- # | vpn_connection_available | {Client#describe_vpn_connections} | 15 | 40 |
66257
- # | vpn_connection_deleted | {Client#describe_vpn_connections} | 15 | 40 |
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")
@@ -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
@@ -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 | 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
- # | snapshot_completed | {Client#describe_snapshots} | 15 | 40 |
94
- # | snapshot_imported | {Client#describe_import_snapshot_tasks} | 15 | 40 |
95
- # | spot_instance_request_fulfilled | {Client#describe_spot_instance_requests} | 15 | 40 |
96
- # | store_image_task_complete | {Client#describe_store_image_tasks} | 5 | 40 |
97
- # | subnet_available | {Client#describe_subnets} | 15 | 40 |
98
- # | system_status_ok | {Client#describe_instance_status} | 15 | 40 |
99
- # | volume_available | {Client#describe_volumes} | 15 | 40 |
100
- # | volume_deleted | {Client#describe_volumes} | 15 | 40 |
101
- # | volume_in_use | {Client#describe_volumes} | 15 | 40 |
102
- # | vpc_available | {Client#describe_vpcs} | 15 | 40 |
103
- # | vpc_exists | {Client#describe_vpcs} | 1 | 5 |
104
- # | vpc_peering_connection_deleted | {Client#describe_vpc_peering_connections} | 15 | 40 |
105
- # | vpc_peering_connection_exists | {Client#describe_vpc_peering_connections} | 15 | 40 |
106
- # | vpn_connection_available | {Client#describe_vpn_connections} | 15 | 40 |
107
- # | vpn_connection_deleted | {Client#describe_vpn_connections} | 15 | 40 |
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
@@ -78,7 +78,7 @@ module Aws::EC2
78
78
  autoload :VpcPeeringConnection, 'aws-sdk-ec2/vpc_peering_connection'
79
79
  autoload :VpcAddress, 'aws-sdk-ec2/vpc_address'
80
80
 
81
- GEM_VERSION = '1.535.0'
81
+ GEM_VERSION = '1.536.0'
82
82
 
83
83
  end
84
84
 
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.535.0
4
+ version: 1.536.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services