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

Description

Describes the available option groups.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeOptionGroups Source #

See: newDescribeOptionGroups smart constructor.

Constructors

DescribeOptionGroups' 

Fields

  • engineName :: Maybe Text

    Filters the list of option groups to only include groups associated with a specific database engine.

    Valid Values:

    • mariadb
    • mysql
    • oracle-ee
    • oracle-ee-cdb
    • oracle-se2
    • oracle-se2-cdb
    • postgres
    • sqlserver-ee
    • sqlserver-se
    • sqlserver-ex
    • sqlserver-web
  • filters :: Maybe [Filter]

    This parameter isn't currently supported.

  • majorEngineVersion :: Maybe Text

    Filters the list of option groups to only include groups associated with a specific database engine version. If specified, then EngineName must also be specified.

  • marker :: Maybe Text

    An optional pagination token provided by a previous DescribeOptionGroups 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.

  • optionGroupName :: Maybe Text

    The name of the option group to describe. Can't be supplied together with EngineName or MajorEngineVersion.

Instances

Instances details
ToHeaders DescribeOptionGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeOptionGroups

ToPath DescribeOptionGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeOptionGroups

ToQuery DescribeOptionGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeOptionGroups

AWSPager DescribeOptionGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeOptionGroups

AWSRequest DescribeOptionGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeOptionGroups

Associated Types

type AWSResponse DescribeOptionGroups #

Generic DescribeOptionGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeOptionGroups

Associated Types

type Rep DescribeOptionGroups :: Type -> Type #

Read DescribeOptionGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeOptionGroups

Show DescribeOptionGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeOptionGroups

NFData DescribeOptionGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeOptionGroups

Methods

rnf :: DescribeOptionGroups -> () #

Eq DescribeOptionGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeOptionGroups

Hashable DescribeOptionGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeOptionGroups

type AWSResponse DescribeOptionGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeOptionGroups

type Rep DescribeOptionGroups Source # 
Instance details

Defined in Amazonka.RDS.DescribeOptionGroups

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

newDescribeOptionGroups :: DescribeOptionGroups Source #

Create a value of DescribeOptionGroups 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:

DescribeOptionGroups, describeOptionGroups_engineName - Filters the list of option groups to only include groups associated with a specific database engine.

Valid Values:

  • mariadb
  • mysql
  • oracle-ee
  • oracle-ee-cdb
  • oracle-se2
  • oracle-se2-cdb
  • postgres
  • sqlserver-ee
  • sqlserver-se
  • sqlserver-ex
  • sqlserver-web

$sel:filters:DescribeOptionGroups', describeOptionGroups_filters - This parameter isn't currently supported.

DescribeOptionGroups, describeOptionGroups_majorEngineVersion - Filters the list of option groups to only include groups associated with a specific database engine version. If specified, then EngineName must also be specified.

DescribeOptionGroups, describeOptionGroups_marker - An optional pagination token provided by a previous DescribeOptionGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

$sel:maxRecords:DescribeOptionGroups', describeOptionGroups_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.

DescribeOptionGroups, describeOptionGroups_optionGroupName - The name of the option group to describe. Can't be supplied together with EngineName or MajorEngineVersion.

Request Lenses

describeOptionGroups_engineName :: Lens' DescribeOptionGroups (Maybe Text) Source #

Filters the list of option groups to only include groups associated with a specific database engine.

Valid Values:

  • mariadb
  • mysql
  • oracle-ee
  • oracle-ee-cdb
  • oracle-se2
  • oracle-se2-cdb
  • postgres
  • sqlserver-ee
  • sqlserver-se
  • sqlserver-ex
  • sqlserver-web

describeOptionGroups_filters :: Lens' DescribeOptionGroups (Maybe [Filter]) Source #

This parameter isn't currently supported.

describeOptionGroups_majorEngineVersion :: Lens' DescribeOptionGroups (Maybe Text) Source #

Filters the list of option groups to only include groups associated with a specific database engine version. If specified, then EngineName must also be specified.

describeOptionGroups_marker :: Lens' DescribeOptionGroups (Maybe Text) Source #

An optional pagination token provided by a previous DescribeOptionGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

describeOptionGroups_maxRecords :: Lens' DescribeOptionGroups (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.

describeOptionGroups_optionGroupName :: Lens' DescribeOptionGroups (Maybe Text) Source #

The name of the option group to describe. Can't be supplied together with EngineName or MajorEngineVersion.

Destructuring the Response

data DescribeOptionGroupsResponse Source #

List of option groups.

See: newDescribeOptionGroupsResponse smart constructor.

Constructors

DescribeOptionGroupsResponse' 

Fields

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

  • optionGroupsList :: Maybe [OptionGroup]

    List of option groups.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeOptionGroupsResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeOptionGroups

Associated Types

type Rep DescribeOptionGroupsResponse :: Type -> Type #

Read DescribeOptionGroupsResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeOptionGroups

Show DescribeOptionGroupsResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeOptionGroups

NFData DescribeOptionGroupsResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeOptionGroups

Eq DescribeOptionGroupsResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeOptionGroups

type Rep DescribeOptionGroupsResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeOptionGroups

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

newDescribeOptionGroupsResponse Source #

Create a value of DescribeOptionGroupsResponse 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:

DescribeOptionGroups, describeOptionGroupsResponse_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:optionGroupsList:DescribeOptionGroupsResponse', describeOptionGroupsResponse_optionGroupsList - List of option groups.

$sel:httpStatus:DescribeOptionGroupsResponse', describeOptionGroupsResponse_httpStatus - The response's http status code.

Response Lenses

describeOptionGroupsResponse_marker :: Lens' DescribeOptionGroupsResponse (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.