sig/client.rbs in aws-sdk-ec2-1.485.0 vs sig/client.rbs in aws-sdk-ec2-1.486.0
- old
+ new
@@ -499,10 +499,22 @@
?subnet_id: ::String,
route_table_id: ::String
) -> _AssociateRouteTableResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateRouteTableResponseSuccess
+ interface _AssociateSecurityGroupVpcResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateSecurityGroupVpcResult]
+ def state: () -> ("associating" | "associated" | "association-failed" | "disassociating" | "disassociated" | "disassociation-failed")
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#associate_security_group_vpc-instance_method
+ def associate_security_group_vpc: (
+ group_id: ::String,
+ vpc_id: ::String,
+ ?dry_run: bool
+ ) -> _AssociateSecurityGroupVpcResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateSecurityGroupVpcResponseSuccess
+
interface _AssociateSubnetCidrBlockResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateSubnetCidrBlockResult]
def ipv_6_cidr_block_association: () -> Types::SubnetIpv6CidrBlockAssociation
def subnet_id: () -> ::String
end
@@ -3018,10 +3030,11 @@
interface _CreateSecurityGroupResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::CreateSecurityGroupResult]
def group_id: () -> ::String
def tags: () -> ::Array[Types::Tag]
+ def security_group_arn: () -> ::String
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#create_security_group-instance_method
def create_security_group: (
description: ::String,
group_name: ::String,
@@ -6915,10 +6928,29 @@
?next_token: ::String,
?max_results: ::Integer
) -> _DescribeSecurityGroupRulesResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSecurityGroupRulesResponseSuccess
+ interface _DescribeSecurityGroupVpcAssociationsResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSecurityGroupVpcAssociationsResult]
+ def security_group_vpc_associations: () -> ::Array[Types::SecurityGroupVpcAssociation]
+ def next_token: () -> ::String
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#describe_security_group_vpc_associations-instance_method
+ def describe_security_group_vpc_associations: (
+ ?filters: Array[
+ {
+ name: ::String?,
+ values: Array[::String]?
+ },
+ ],
+ ?next_token: ::String,
+ ?max_results: ::Integer,
+ ?dry_run: bool
+ ) -> _DescribeSecurityGroupVpcAssociationsResponseSuccess
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSecurityGroupVpcAssociationsResponseSuccess
+
interface _DescribeSecurityGroupsResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSecurityGroupsResult]
def next_token: () -> ::String
def security_groups: () -> ::Array[Types::SecurityGroup]
end
@@ -8258,10 +8290,22 @@
?dry_run: bool,
association_id: ::String
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
+ interface _DisassociateSecurityGroupVpcResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateSecurityGroupVpcResult]
+ def state: () -> ("associating" | "associated" | "association-failed" | "disassociating" | "disassociated" | "disassociation-failed")
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#disassociate_security_group_vpc-instance_method
+ def disassociate_security_group_vpc: (
+ group_id: ::String,
+ vpc_id: ::String,
+ ?dry_run: bool
+ ) -> _DisassociateSecurityGroupVpcResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateSecurityGroupVpcResponseSuccess
+
interface _DisassociateSubnetCidrBlockResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateSubnetCidrBlockResult]
def ipv_6_cidr_block_association: () -> Types::SubnetIpv6CidrBlockAssociation
def subnet_id: () -> ::String
end
@@ -12393,10 +12437,11 @@
interface _RevokeSecurityGroupEgressResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::RevokeSecurityGroupEgressResult]
def return: () -> bool
def unknown_ip_permissions: () -> ::Array[Types::IpPermission]
+ def revoked_security_group_rules: () -> ::Array[Types::RevokedSecurityGroupRule]
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#revoke_security_group_egress-instance_method
def revoke_security_group_egress: (
?security_group_rule_ids: Array[::String],
?dry_run: bool,
@@ -12448,9 +12493,10 @@
interface _RevokeSecurityGroupIngressResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::RevokeSecurityGroupIngressResult]
def return: () -> bool
def unknown_ip_permissions: () -> ::Array[Types::IpPermission]
+ def revoked_security_group_rules: () -> ::Array[Types::RevokedSecurityGroupRule]
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#revoke_security_group_ingress-instance_method
def revoke_security_group_ingress: (
?cidr_ip: ::String,
?from_port: ::Integer,