aws-sdk-ec2 1.485.0 → 1.486.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2382,6 +2382,43 @@ module Aws::EC2
2382
2382
  include Aws::Structure
2383
2383
  end
2384
2384
 
2385
+ # @!attribute [rw] group_id
2386
+ # A security group ID.
2387
+ # @return [String]
2388
+ #
2389
+ # @!attribute [rw] vpc_id
2390
+ # A VPC ID.
2391
+ # @return [String]
2392
+ #
2393
+ # @!attribute [rw] dry_run
2394
+ # Checks whether you have the required permissions for the action,
2395
+ # without actually making the request, and provides an error response.
2396
+ # If you have the required permissions, the error response is
2397
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
2398
+ # @return [Boolean]
2399
+ #
2400
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateSecurityGroupVpcRequest AWS API Documentation
2401
+ #
2402
+ class AssociateSecurityGroupVpcRequest < Struct.new(
2403
+ :group_id,
2404
+ :vpc_id,
2405
+ :dry_run)
2406
+ SENSITIVE = []
2407
+ include Aws::Structure
2408
+ end
2409
+
2410
+ # @!attribute [rw] state
2411
+ # The state of the association.
2412
+ # @return [String]
2413
+ #
2414
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateSecurityGroupVpcResult AWS API Documentation
2415
+ #
2416
+ class AssociateSecurityGroupVpcResult < Struct.new(
2417
+ :state)
2418
+ SENSITIVE = []
2419
+ include Aws::Structure
2420
+ end
2421
+
2385
2422
  # @!attribute [rw] ipv_6_ipam_pool_id
2386
2423
  # An IPv6 IPAM pool ID.
2387
2424
  # @return [String]
@@ -10159,7 +10196,12 @@ module Aws::EC2
10159
10196
  # @!attribute [rw] interface_type
10160
10197
  # The type of network interface. The default is `interface`.
10161
10198
  #
10162
- # The only supported values are `interface`, `efa`, and `trunk`.
10199
+ # If you specify `efa-only`, do not assign any IP addresses to the
10200
+ # network interface. EFA-only network interfaces do not support IP
10201
+ # addresses.
10202
+ #
10203
+ # The only supported values are `interface`, `efa`, `efa-only`, and
10204
+ # `trunk`.
10163
10205
  # @return [String]
10164
10206
  #
10165
10207
  # @!attribute [rw] tag_specifications
@@ -10841,11 +10883,16 @@ module Aws::EC2
10841
10883
  # The tags assigned to the security group.
10842
10884
  # @return [Array<Types::Tag>]
10843
10885
  #
10886
+ # @!attribute [rw] security_group_arn
10887
+ # The security group ARN.
10888
+ # @return [String]
10889
+ #
10844
10890
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSecurityGroupResult AWS API Documentation
10845
10891
  #
10846
10892
  class CreateSecurityGroupResult < Struct.new(
10847
10893
  :group_id,
10848
- :tags)
10894
+ :tags,
10895
+ :security_group_arn)
10849
10896
  SENSITIVE = []
10850
10897
  include Aws::Structure
10851
10898
  end
@@ -20867,7 +20914,8 @@ module Aws::EC2
20867
20914
  # * `supported-root-device-type` - The root device type (`ebs` \|
20868
20915
  # `instance-store`).
20869
20916
  #
20870
- # * `supported-usage-class` - The usage class (`on-demand` \| `spot`).
20917
+ # * `supported-usage-class` - The usage class (`on-demand` \| `spot`
20918
+ # \| `capacity-block`).
20871
20919
  #
20872
20920
  # * `supported-virtualization-type` - The virtualization type (`hvm`
20873
20921
  # \| `paravirtual`).
@@ -23677,12 +23725,12 @@ module Aws::EC2
23677
23725
  #
23678
23726
  # * `interface-type` - The type of network interface
23679
23727
  # (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
23680
- # `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `efs` \|
23681
- # `gateway_load_balancer` \| `gateway_load_balancer_endpoint` \|
23682
- # `global_accelerator_managed` \| `interface` \| `iot_rules_managed`
23683
- # \| `lambda` \| `load_balancer` \| `nat_gateway` \|
23684
- # `network_load_balancer` \| `quicksight` \| `transit_gateway` \|
23685
- # `trunk` \| `vpc_endpoint`).
23728
+ # `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `efa-only`
23729
+ # \| `efs` \| `gateway_load_balancer` \|
23730
+ # `gateway_load_balancer_endpoint` \| `global_accelerator_managed`
23731
+ # \| `interface` \| `iot_rules_managed` \| `lambda` \|
23732
+ # `load_balancer` \| `nat_gateway` \| `network_load_balancer` \|
23733
+ # `quicksight` \| `transit_gateway` \| `trunk` \| `vpc_endpoint`).
23686
23734
  #
23687
23735
  # * `mac-address` - The MAC address of the network interface.
23688
23736
  #
@@ -24930,6 +24978,80 @@ module Aws::EC2
24930
24978
  include Aws::Structure
24931
24979
  end
24932
24980
 
24981
+ # @!attribute [rw] filters
24982
+ # Security group VPC association filters.
24983
+ #
24984
+ # * `group-id`: The security group ID.
24985
+ #
24986
+ # * `vpc-id`: The ID of the associated VPC.
24987
+ #
24988
+ # * `vpc-owner-id`: The account ID of the VPC owner.
24989
+ #
24990
+ # * `state`: The state of the association.
24991
+ #
24992
+ # * `tag:<key>`: The key/value combination of a tag assigned to the
24993
+ # resource. Use the tag key in the filter name and the tag value as
24994
+ # the filter value. For example, to find all resources that have a
24995
+ # tag with the key `Owner` and the value `TeamA`, specify
24996
+ # `tag:Owner` for the filter name and `TeamA` for the filter value.
24997
+ #
24998
+ # * `tag-key`: The key of a tag assigned to the resource. Use this
24999
+ # filter to find all resources assigned a tag with a specific key,
25000
+ # regardless of the tag value.
25001
+ # @return [Array<Types::Filter>]
25002
+ #
25003
+ # @!attribute [rw] next_token
25004
+ # The token returned from a previous paginated request. Pagination
25005
+ # continues from the end of the items returned by the previous
25006
+ # request.
25007
+ # @return [String]
25008
+ #
25009
+ # @!attribute [rw] max_results
25010
+ # The maximum number of items to return for this request. To get the
25011
+ # next page of items, make another request with the token returned in
25012
+ # the output. For more information, see [Pagination][1].
25013
+ #
25014
+ #
25015
+ #
25016
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
25017
+ # @return [Integer]
25018
+ #
25019
+ # @!attribute [rw] dry_run
25020
+ # Checks whether you have the required permissions for the action,
25021
+ # without actually making the request, and provides an error response.
25022
+ # If you have the required permissions, the error response is
25023
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
25024
+ # @return [Boolean]
25025
+ #
25026
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupVpcAssociationsRequest AWS API Documentation
25027
+ #
25028
+ class DescribeSecurityGroupVpcAssociationsRequest < Struct.new(
25029
+ :filters,
25030
+ :next_token,
25031
+ :max_results,
25032
+ :dry_run)
25033
+ SENSITIVE = []
25034
+ include Aws::Structure
25035
+ end
25036
+
25037
+ # @!attribute [rw] security_group_vpc_associations
25038
+ # The security group VPC associations.
25039
+ # @return [Array<Types::SecurityGroupVpcAssociation>]
25040
+ #
25041
+ # @!attribute [rw] next_token
25042
+ # The token to include in another request to get the next page of
25043
+ # items. This value is `null` when there are no more items to return.
25044
+ # @return [String]
25045
+ #
25046
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupVpcAssociationsResult AWS API Documentation
25047
+ #
25048
+ class DescribeSecurityGroupVpcAssociationsResult < Struct.new(
25049
+ :security_group_vpc_associations,
25050
+ :next_token)
25051
+ SENSITIVE = []
25052
+ include Aws::Structure
25053
+ end
25054
+
24933
25055
  # @!attribute [rw] group_ids
24934
25056
  # The IDs of the security groups. Required for security groups in a
24935
25057
  # nondefault VPC.
@@ -25901,8 +26023,7 @@ module Aws::EC2
25901
26023
 
25902
26024
  # @!attribute [rw] next_token
25903
26025
  # The token to include in another request to get the next page of
25904
- # items. If there are no additional items to return, the string is
25905
- # empty.
26026
+ # items. This value is `null` when there are no more items to return.
25906
26027
  # @return [String]
25907
26028
  #
25908
26029
  # @!attribute [rw] stale_security_group_set
@@ -30323,6 +30444,43 @@ module Aws::EC2
30323
30444
  include Aws::Structure
30324
30445
  end
30325
30446
 
30447
+ # @!attribute [rw] group_id
30448
+ # A security group ID.
30449
+ # @return [String]
30450
+ #
30451
+ # @!attribute [rw] vpc_id
30452
+ # A VPC ID.
30453
+ # @return [String]
30454
+ #
30455
+ # @!attribute [rw] dry_run
30456
+ # Checks whether you have the required permissions for the action,
30457
+ # without actually making the request, and provides an error response.
30458
+ # If you have the required permissions, the error response is
30459
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
30460
+ # @return [Boolean]
30461
+ #
30462
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateSecurityGroupVpcRequest AWS API Documentation
30463
+ #
30464
+ class DisassociateSecurityGroupVpcRequest < Struct.new(
30465
+ :group_id,
30466
+ :vpc_id,
30467
+ :dry_run)
30468
+ SENSITIVE = []
30469
+ include Aws::Structure
30470
+ end
30471
+
30472
+ # @!attribute [rw] state
30473
+ # The state of the disassociation.
30474
+ # @return [String]
30475
+ #
30476
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateSecurityGroupVpcResult AWS API Documentation
30477
+ #
30478
+ class DisassociateSecurityGroupVpcResult < Struct.new(
30479
+ :state)
30480
+ SENSITIVE = []
30481
+ include Aws::Structure
30482
+ end
30483
+
30326
30484
  # @!attribute [rw] association_id
30327
30485
  # The association ID for the CIDR block.
30328
30486
  # @return [String]
@@ -41037,7 +41195,7 @@ module Aws::EC2
41037
41195
  # @!attribute [rw] interface_type
41038
41196
  # The type of network interface.
41039
41197
  #
41040
- # Valid values: `interface` \| `efa` \| `trunk`
41198
+ # Valid values: `interface` \| `efa` \| `efa-only` \| `trunk`
41041
41199
  # @return [String]
41042
41200
  #
41043
41201
  # @!attribute [rw] ipv_4_prefixes
@@ -41291,7 +41449,11 @@ module Aws::EC2
41291
41449
  # @!attribute [rw] interface_type
41292
41450
  # The type of network interface.
41293
41451
  #
41294
- # Valid values: `interface` \| `efa`
41452
+ # If you specify `efa-only`, do not assign any IP addresses to the
41453
+ # network interface. EFA-only network interfaces do not support IP
41454
+ # addresses.
41455
+ #
41456
+ # Valid values: `interface` \| `efa` \| `efa-only`
41295
41457
  # @return [String]
41296
41458
  #
41297
41459
  # @!attribute [rw] network_card_index
@@ -42741,8 +42903,8 @@ module Aws::EC2
42741
42903
  # @return [Boolean]
42742
42904
  #
42743
42905
  # @!attribute [rw] supported_usage_classes
42744
- # Indicates whether the instance type is offered for spot or
42745
- # On-Demand.
42906
+ # Indicates whether the instance type is offered for spot, On-Demand,
42907
+ # or Capacity Blocks.
42746
42908
  # @return [Array<String>]
42747
42909
  #
42748
42910
  # @!attribute [rw] supported_root_device_types
@@ -46158,13 +46320,17 @@ module Aws::EC2
46158
46320
  #
46159
46321
  # @!attribute [rw] interface_type
46160
46322
  # The type of network interface. To create an Elastic Fabric Adapter
46161
- # (EFA), specify `efa`. For more information, see [Elastic Fabric
46162
- # Adapter][1] in the *Amazon EC2 User Guide*.
46323
+ # (EFA), specify `efa` or `efa`. For more information, see [Elastic
46324
+ # Fabric Adapter][1] in the *Amazon EC2 User Guide*.
46163
46325
  #
46164
46326
  # If you are not creating an EFA, specify `interface` or omit this
46165
46327
  # parameter.
46166
46328
  #
46167
- # Valid values: `interface` \| `efa`
46329
+ # If you specify `efa-only`, do not assign any IP addresses to the
46330
+ # network interface. EFA-only network interfaces do not support IP
46331
+ # addresses.
46332
+ #
46333
+ # Valid values: `interface` \| `efa` \| `efa-only`
46168
46334
  #
46169
46335
  #
46170
46336
  #
@@ -59874,11 +60040,16 @@ module Aws::EC2
59874
60040
  # request parameter.
59875
60041
  # @return [Array<Types::IpPermission>]
59876
60042
  #
60043
+ # @!attribute [rw] revoked_security_group_rules
60044
+ # Details about the revoked security group rules.
60045
+ # @return [Array<Types::RevokedSecurityGroupRule>]
60046
+ #
59877
60047
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupEgressResult AWS API Documentation
59878
60048
  #
59879
60049
  class RevokeSecurityGroupEgressResult < Struct.new(
59880
60050
  :return,
59881
- :unknown_ip_permissions)
60051
+ :unknown_ip_permissions,
60052
+ :revoked_security_group_rules)
59882
60053
  SENSITIVE = []
59883
60054
  include Aws::Structure
59884
60055
  end
@@ -59976,11 +60147,86 @@ module Aws::EC2
59976
60147
  # request parameter.
59977
60148
  # @return [Array<Types::IpPermission>]
59978
60149
  #
60150
+ # @!attribute [rw] revoked_security_group_rules
60151
+ # Details about the revoked security group rules.
60152
+ # @return [Array<Types::RevokedSecurityGroupRule>]
60153
+ #
59979
60154
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupIngressResult AWS API Documentation
59980
60155
  #
59981
60156
  class RevokeSecurityGroupIngressResult < Struct.new(
59982
60157
  :return,
59983
- :unknown_ip_permissions)
60158
+ :unknown_ip_permissions,
60159
+ :revoked_security_group_rules)
60160
+ SENSITIVE = []
60161
+ include Aws::Structure
60162
+ end
60163
+
60164
+ # A security group rule removed with [RevokeSecurityGroupEgress][1] or
60165
+ # [RevokeSecurityGroupIngress][2].
60166
+ #
60167
+ #
60168
+ #
60169
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RevokeSecurityGroupEgress.html
60170
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RevokeSecurityGroupIngress.html
60171
+ #
60172
+ # @!attribute [rw] security_group_rule_id
60173
+ # A security group rule ID.
60174
+ # @return [String]
60175
+ #
60176
+ # @!attribute [rw] group_id
60177
+ # A security group ID.
60178
+ # @return [String]
60179
+ #
60180
+ # @!attribute [rw] is_egress
60181
+ # Defines if a security group rule is an outbound rule.
60182
+ # @return [Boolean]
60183
+ #
60184
+ # @!attribute [rw] ip_protocol
60185
+ # The security group rule's protocol.
60186
+ # @return [String]
60187
+ #
60188
+ # @!attribute [rw] from_port
60189
+ # The 'from' port number of the security group rule.
60190
+ # @return [Integer]
60191
+ #
60192
+ # @!attribute [rw] to_port
60193
+ # The 'to' port number of the security group rule.
60194
+ # @return [Integer]
60195
+ #
60196
+ # @!attribute [rw] cidr_ipv_4
60197
+ # The IPv4 CIDR of the traffic source.
60198
+ # @return [String]
60199
+ #
60200
+ # @!attribute [rw] cidr_ipv_6
60201
+ # The IPv6 CIDR of the traffic source.
60202
+ # @return [String]
60203
+ #
60204
+ # @!attribute [rw] prefix_list_id
60205
+ # The ID of a prefix list that's the traffic source.
60206
+ # @return [String]
60207
+ #
60208
+ # @!attribute [rw] referenced_group_id
60209
+ # The ID of a referenced security group.
60210
+ # @return [String]
60211
+ #
60212
+ # @!attribute [rw] description
60213
+ # A description of the revoked security group rule.
60214
+ # @return [String]
60215
+ #
60216
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokedSecurityGroupRule AWS API Documentation
60217
+ #
60218
+ class RevokedSecurityGroupRule < Struct.new(
60219
+ :security_group_rule_id,
60220
+ :group_id,
60221
+ :is_egress,
60222
+ :ip_protocol,
60223
+ :from_port,
60224
+ :to_port,
60225
+ :cidr_ipv_4,
60226
+ :cidr_ipv_6,
60227
+ :prefix_list_id,
60228
+ :referenced_group_id,
60229
+ :description)
59984
60230
  SENSITIVE = []
59985
60231
  include Aws::Structure
59986
60232
  end
@@ -61712,6 +61958,10 @@ module Aws::EC2
61712
61958
  # The ID of the VPC for the security group.
61713
61959
  # @return [String]
61714
61960
  #
61961
+ # @!attribute [rw] security_group_arn
61962
+ # The ARN of the security group.
61963
+ # @return [String]
61964
+ #
61715
61965
  # @!attribute [rw] owner_id
61716
61966
  # The Amazon Web Services account ID of the owner of the security
61717
61967
  # group.
@@ -61736,6 +61986,7 @@ module Aws::EC2
61736
61986
  :ip_permissions_egress,
61737
61987
  :tags,
61738
61988
  :vpc_id,
61989
+ :security_group_arn,
61739
61990
  :owner_id,
61740
61991
  :group_name,
61741
61992
  :description,
@@ -61911,6 +62162,10 @@ module Aws::EC2
61911
62162
  # The tags applied to the security group rule.
61912
62163
  # @return [Array<Types::Tag>]
61913
62164
  #
62165
+ # @!attribute [rw] security_group_rule_arn
62166
+ # The ARN of the security group rule.
62167
+ # @return [String]
62168
+ #
61914
62169
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SecurityGroupRule AWS API Documentation
61915
62170
  #
61916
62171
  class SecurityGroupRule < Struct.new(
@@ -61926,7 +62181,8 @@ module Aws::EC2
61926
62181
  :prefix_list_id,
61927
62182
  :referenced_group_info,
61928
62183
  :description,
61929
- :tags)
62184
+ :tags,
62185
+ :security_group_rule_arn)
61930
62186
  SENSITIVE = []
61931
62187
  include Aws::Structure
61932
62188
  end
@@ -62051,6 +62307,45 @@ module Aws::EC2
62051
62307
  include Aws::Structure
62052
62308
  end
62053
62309
 
62310
+ # A security group association with a VPC that you made with
62311
+ # [AssociateSecurityGroupVpc][1].
62312
+ #
62313
+ #
62314
+ #
62315
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AssociateSecurityGroupVpc.html
62316
+ #
62317
+ # @!attribute [rw] group_id
62318
+ # The association's security group ID.
62319
+ # @return [String]
62320
+ #
62321
+ # @!attribute [rw] vpc_id
62322
+ # The association's VPC ID.
62323
+ # @return [String]
62324
+ #
62325
+ # @!attribute [rw] vpc_owner_id
62326
+ # The Amazon Web Services account ID of the owner of the VPC.
62327
+ # @return [String]
62328
+ #
62329
+ # @!attribute [rw] state
62330
+ # The association's state.
62331
+ # @return [String]
62332
+ #
62333
+ # @!attribute [rw] state_reason
62334
+ # The association's state reason.
62335
+ # @return [String]
62336
+ #
62337
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SecurityGroupVpcAssociation AWS API Documentation
62338
+ #
62339
+ class SecurityGroupVpcAssociation < Struct.new(
62340
+ :group_id,
62341
+ :vpc_id,
62342
+ :vpc_owner_id,
62343
+ :state,
62344
+ :state_reason)
62345
+ SENSITIVE = []
62346
+ include Aws::Structure
62347
+ end
62348
+
62054
62349
  # @!attribute [rw] instance_id
62055
62350
  # The ID of the instance.
62056
62351
  # @return [String]
@@ -1732,12 +1732,12 @@ module Aws::EC2
1732
1732
  #
1733
1733
  # * `interface-type` - The type of network interface
1734
1734
  # (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
1735
- # `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `efs` \|
1736
- # `gateway_load_balancer` \| `gateway_load_balancer_endpoint` \|
1737
- # `global_accelerator_managed` \| `interface` \| `iot_rules_managed`
1738
- # \| `lambda` \| `load_balancer` \| `nat_gateway` \|
1739
- # `network_load_balancer` \| `quicksight` \| `transit_gateway` \|
1740
- # `trunk` \| `vpc_endpoint`).
1735
+ # `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `efa-only`
1736
+ # \| `efs` \| `gateway_load_balancer` \|
1737
+ # `gateway_load_balancer_endpoint` \| `global_accelerator_managed` \|
1738
+ # `interface` \| `iot_rules_managed` \| `lambda` \| `load_balancer` \|
1739
+ # `nat_gateway` \| `network_load_balancer` \| `quicksight` \|
1740
+ # `transit_gateway` \| `trunk` \| `vpc_endpoint`).
1741
1741
  #
1742
1742
  # * `mac-address` - The MAC address of the network interface.
1743
1743
  #
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.485.0'
81
+ GEM_VERSION = '1.486.0'
82
82
 
83
83
  end
84
84
 
data/sig/client.rbs CHANGED
@@ -501,6 +501,18 @@ module Aws
501
501
  ) -> _AssociateRouteTableResponseSuccess
502
502
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateRouteTableResponseSuccess
503
503
 
504
+ interface _AssociateSecurityGroupVpcResponseSuccess
505
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateSecurityGroupVpcResult]
506
+ def state: () -> ("associating" | "associated" | "association-failed" | "disassociating" | "disassociated" | "disassociation-failed")
507
+ end
508
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#associate_security_group_vpc-instance_method
509
+ def associate_security_group_vpc: (
510
+ group_id: ::String,
511
+ vpc_id: ::String,
512
+ ?dry_run: bool
513
+ ) -> _AssociateSecurityGroupVpcResponseSuccess
514
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateSecurityGroupVpcResponseSuccess
515
+
504
516
  interface _AssociateSubnetCidrBlockResponseSuccess
505
517
  include ::Seahorse::Client::_ResponseSuccess[Types::AssociateSubnetCidrBlockResult]
506
518
  def ipv_6_cidr_block_association: () -> Types::SubnetIpv6CidrBlockAssociation
@@ -3020,6 +3032,7 @@ module Aws
3020
3032
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateSecurityGroupResult]
3021
3033
  def group_id: () -> ::String
3022
3034
  def tags: () -> ::Array[Types::Tag]
3035
+ def security_group_arn: () -> ::String
3023
3036
  end
3024
3037
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#create_security_group-instance_method
3025
3038
  def create_security_group: (
@@ -6917,6 +6930,25 @@ module Aws
6917
6930
  ) -> _DescribeSecurityGroupRulesResponseSuccess
6918
6931
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSecurityGroupRulesResponseSuccess
6919
6932
 
6933
+ interface _DescribeSecurityGroupVpcAssociationsResponseSuccess
6934
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSecurityGroupVpcAssociationsResult]
6935
+ def security_group_vpc_associations: () -> ::Array[Types::SecurityGroupVpcAssociation]
6936
+ def next_token: () -> ::String
6937
+ end
6938
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#describe_security_group_vpc_associations-instance_method
6939
+ def describe_security_group_vpc_associations: (
6940
+ ?filters: Array[
6941
+ {
6942
+ name: ::String?,
6943
+ values: Array[::String]?
6944
+ },
6945
+ ],
6946
+ ?next_token: ::String,
6947
+ ?max_results: ::Integer,
6948
+ ?dry_run: bool
6949
+ ) -> _DescribeSecurityGroupVpcAssociationsResponseSuccess
6950
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSecurityGroupVpcAssociationsResponseSuccess
6951
+
6920
6952
  interface _DescribeSecurityGroupsResponseSuccess
6921
6953
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSecurityGroupsResult]
6922
6954
  def next_token: () -> ::String
@@ -8260,6 +8292,18 @@ module Aws
8260
8292
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
8261
8293
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
8262
8294
 
8295
+ interface _DisassociateSecurityGroupVpcResponseSuccess
8296
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateSecurityGroupVpcResult]
8297
+ def state: () -> ("associating" | "associated" | "association-failed" | "disassociating" | "disassociated" | "disassociation-failed")
8298
+ end
8299
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#disassociate_security_group_vpc-instance_method
8300
+ def disassociate_security_group_vpc: (
8301
+ group_id: ::String,
8302
+ vpc_id: ::String,
8303
+ ?dry_run: bool
8304
+ ) -> _DisassociateSecurityGroupVpcResponseSuccess
8305
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateSecurityGroupVpcResponseSuccess
8306
+
8263
8307
  interface _DisassociateSubnetCidrBlockResponseSuccess
8264
8308
  include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateSubnetCidrBlockResult]
8265
8309
  def ipv_6_cidr_block_association: () -> Types::SubnetIpv6CidrBlockAssociation
@@ -12395,6 +12439,7 @@ module Aws
12395
12439
  include ::Seahorse::Client::_ResponseSuccess[Types::RevokeSecurityGroupEgressResult]
12396
12440
  def return: () -> bool
12397
12441
  def unknown_ip_permissions: () -> ::Array[Types::IpPermission]
12442
+ def revoked_security_group_rules: () -> ::Array[Types::RevokedSecurityGroupRule]
12398
12443
  end
12399
12444
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#revoke_security_group_egress-instance_method
12400
12445
  def revoke_security_group_egress: (
@@ -12450,6 +12495,7 @@ module Aws
12450
12495
  include ::Seahorse::Client::_ResponseSuccess[Types::RevokeSecurityGroupIngressResult]
12451
12496
  def return: () -> bool
12452
12497
  def unknown_ip_permissions: () -> ::Array[Types::IpPermission]
12498
+ def revoked_security_group_rules: () -> ::Array[Types::RevokedSecurityGroupRule]
12453
12499
  end
12454
12500
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#revoke_security_group_ingress-instance_method
12455
12501
  def revoke_security_group_ingress: (
@@ -27,6 +27,9 @@ module Aws
27
27
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#vpc_id-instance_method
28
28
  def vpc_id: () -> ::String
29
29
 
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#security_group_arn-instance_method
31
+ def security_group_arn: () -> ::String
32
+
30
33
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#owner_id-instance_method
31
34
  def owner_id: () -> ::String
32
35