libZSservicesZSamazonka-rdsZSamazonka-rds
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeDBSecurityGroups Source #

See: newDescribeDBSecurityGroups smart constructor.

Constructors

DescribeDBSecurityGroups' 

Fields

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

  • dbSecurityGroupName :: Maybe Text

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

Instances

Instances details
Eq DescribeDBSecurityGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

Read DescribeDBSecurityGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

Show 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 #

NFData DescribeDBSecurityGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

Hashable 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

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

type Rep DescribeDBSecurityGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

type Rep DescribeDBSecurityGroups = D1 ('MetaData "DescribeDBSecurityGroups" "Amazonka.RDS.DescribeDBSecurityGroups" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "DescribeDBSecurityGroups'" 'PrefixI 'True) ((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)) :*: S1 ('MetaSel ('Just "dbSecurityGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))
type AWSResponse DescribeDBSecurityGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

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:

$sel:filters:DescribeDBSecurityGroups', describeDBSecurityGroups_filters - This parameter isn't currently supported.

$sel:marker: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.

$sel:dbSecurityGroupName:DescribeDBSecurityGroups', describeDBSecurityGroups_dbSecurityGroupName - The name of the DB security group to return details for.

Request Lenses

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.

describeDBSecurityGroups_dbSecurityGroupName :: Lens' DescribeDBSecurityGroups (Maybe Text) Source #

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

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
Eq DescribeDBSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

Read DescribeDBSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

Show DescribeDBSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

Generic DescribeDBSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSecurityGroups

Associated Types

type Rep DescribeDBSecurityGroupsResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-rdsZSamazonka-rds" '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:

$sel:dbSecurityGroups:DescribeDBSecurityGroupsResponse', describeDBSecurityGroupsResponse_dbSecurityGroups - A list of DBSecurityGroup instances.

$sel:marker: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.