| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.RDS.DescribeDBSecurityGroups
Description
Returns a list of DBSecurityGroup descriptions. If a
DBSecurityGroupName is specified, the list will contain only the
descriptions of the specified DB security group.
EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that you migrate as soon as possible. For more information, see Migrate from EC2-Classic to a VPC in the Amazon EC2 User Guide, the blog EC2-Classic Networking is Retiring – Here’s How to Prepare, and Moving a DB instance not in a VPC into a VPC in the Amazon RDS User Guide.
This operation returns paginated results.
Synopsis
- data DescribeDBSecurityGroups = DescribeDBSecurityGroups' {}
- newDescribeDBSecurityGroups :: DescribeDBSecurityGroups
- describeDBSecurityGroups_dbSecurityGroupName :: Lens' DescribeDBSecurityGroups (Maybe Text)
- describeDBSecurityGroups_filters :: Lens' DescribeDBSecurityGroups (Maybe [Filter])
- describeDBSecurityGroups_marker :: Lens' DescribeDBSecurityGroups (Maybe Text)
- describeDBSecurityGroups_maxRecords :: Lens' DescribeDBSecurityGroups (Maybe Int)
- data DescribeDBSecurityGroupsResponse = DescribeDBSecurityGroupsResponse' {
- dbSecurityGroups :: Maybe [DBSecurityGroup]
- marker :: Maybe Text
- httpStatus :: Int
- newDescribeDBSecurityGroupsResponse :: Int -> DescribeDBSecurityGroupsResponse
- describeDBSecurityGroupsResponse_dbSecurityGroups :: Lens' DescribeDBSecurityGroupsResponse (Maybe [DBSecurityGroup])
- describeDBSecurityGroupsResponse_marker :: Lens' DescribeDBSecurityGroupsResponse (Maybe Text)
- describeDBSecurityGroupsResponse_httpStatus :: Lens' DescribeDBSecurityGroupsResponse Int
Creating a Request
data DescribeDBSecurityGroups Source #
See: newDescribeDBSecurityGroups smart constructor.
Constructors
| DescribeDBSecurityGroups' | |
Fields
| |
Instances
newDescribeDBSecurityGroups :: DescribeDBSecurityGroups Source #
Create a value of DescribeDBSecurityGroups with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeDBSecurityGroups, describeDBSecurityGroups_dbSecurityGroupName - The name of the DB security group to return details for.
$sel:filters:DescribeDBSecurityGroups', describeDBSecurityGroups_filters - This parameter isn't currently supported.
DescribeDBSecurityGroups, describeDBSecurityGroups_marker - An optional pagination token provided by a previous
DescribeDBSecurityGroups request. If this parameter is specified, the
response includes only records beyond the marker, up to the value
specified by MaxRecords.
$sel:maxRecords:DescribeDBSecurityGroups', describeDBSecurityGroups_maxRecords - The maximum number of records to include in the response. If more
records exist than the specified MaxRecords value, a pagination token
called a marker is included in the response so that you can retrieve the
remaining results.
Default: 100
Constraints: Minimum 20, maximum 100.
Request Lenses
describeDBSecurityGroups_dbSecurityGroupName :: Lens' DescribeDBSecurityGroups (Maybe Text) Source #
The name of the DB security group to return details for.
describeDBSecurityGroups_filters :: Lens' DescribeDBSecurityGroups (Maybe [Filter]) Source #
This parameter isn't currently supported.
describeDBSecurityGroups_marker :: Lens' DescribeDBSecurityGroups (Maybe Text) Source #
An optional pagination token provided by a previous
DescribeDBSecurityGroups request. If this parameter is specified, the
response includes only records beyond the marker, up to the value
specified by MaxRecords.
describeDBSecurityGroups_maxRecords :: Lens' DescribeDBSecurityGroups (Maybe Int) Source #
The maximum number of records to include in the response. If more
records exist than the specified MaxRecords value, a pagination token
called a marker is included in the response so that you can retrieve the
remaining results.
Default: 100
Constraints: Minimum 20, maximum 100.
Destructuring the Response
data DescribeDBSecurityGroupsResponse Source #
Contains the result of a successful invocation of the
DescribeDBSecurityGroups action.
See: newDescribeDBSecurityGroupsResponse smart constructor.
Constructors
| DescribeDBSecurityGroupsResponse' | |
Fields
| |
Instances
newDescribeDBSecurityGroupsResponse Source #
Create a value of DescribeDBSecurityGroupsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeDBSecurityGroupsResponse, describeDBSecurityGroupsResponse_dbSecurityGroups - A list of DBSecurityGroup instances.
DescribeDBSecurityGroups, describeDBSecurityGroupsResponse_marker - An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords.
$sel:httpStatus:DescribeDBSecurityGroupsResponse', describeDBSecurityGroupsResponse_httpStatus - The response's http status code.
Response Lenses
describeDBSecurityGroupsResponse_dbSecurityGroups :: Lens' DescribeDBSecurityGroupsResponse (Maybe [DBSecurityGroup]) Source #
A list of DBSecurityGroup instances.
describeDBSecurityGroupsResponse_marker :: Lens' DescribeDBSecurityGroupsResponse (Maybe Text) Source #
An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords.
describeDBSecurityGroupsResponse_httpStatus :: Lens' DescribeDBSecurityGroupsResponse Int Source #
The response's http status code.