amazonka-rds-2.0: Amazon Relational Database Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data DescribeDBSecurityGroups Source #

See: newDescribeDBSecurityGroups smart constructor.

Constructors

DescribeDBSecurityGroups' 

Fields

  • dbSecurityGroupName :: Maybe Text

    The name of the DB security group to return details for.

  • filters :: Maybe [Filter]

    This parameter isn't currently supported.

  • marker :: Maybe Text

    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.

  • maxRecords :: Maybe Int

    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.

Instances

Instances details
ToHeaders DescribeDBSecurityGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

ToPath DescribeDBSecurityGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

ToQuery DescribeDBSecurityGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

AWSPager DescribeDBSecurityGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

AWSRequest DescribeDBSecurityGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

Generic DescribeDBSecurityGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

Associated Types

type Rep DescribeDBSecurityGroups :: Type -> Type #

Read DescribeDBSecurityGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

Show DescribeDBSecurityGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

NFData DescribeDBSecurityGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

Eq DescribeDBSecurityGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

Hashable DescribeDBSecurityGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

type AWSResponse DescribeDBSecurityGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

type Rep DescribeDBSecurityGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

type Rep DescribeDBSecurityGroups = D1 ('MetaData "DescribeDBSecurityGroups" "Amazonka.RDS.DescribeDBSecurityGroups" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" 'False) (C1 ('MetaCons "DescribeDBSecurityGroups'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dbSecurityGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter]))) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

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

  • dbSecurityGroups :: Maybe [DBSecurityGroup]

    A list of DBSecurityGroup instances.

  • marker :: Maybe Text

    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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeDBSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

Associated Types

type Rep DescribeDBSecurityGroupsResponse :: Type -> Type #

Read DescribeDBSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

Show DescribeDBSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

NFData DescribeDBSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

Eq DescribeDBSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

type Rep DescribeDBSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

type Rep DescribeDBSecurityGroupsResponse = D1 ('MetaData "DescribeDBSecurityGroupsResponse" "Amazonka.RDS.DescribeDBSecurityGroups" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" 'False) (C1 ('MetaCons "DescribeDBSecurityGroupsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbSecurityGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DBSecurityGroup])) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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_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.