amazonka-rds-1.6.0: Amazon Relational Database Service SDK.

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

Network.AWS.RDS.DescribeOptionGroups

Contents

Description

Describes the available option groups.

This operation returns paginated results.

Synopsis

Creating a Request

describeOptionGroups :: DescribeOptionGroups Source #

Creates a value of DescribeOptionGroups with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dogFilters - This parameter is not currently supported.
  • dogEngineName - Filters the list of option groups to only include groups associated with a specific database engine.
  • dogMajorEngineVersion - 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.
  • dogMarker - 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 .
  • dogMaxRecords - 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 the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.
  • dogOptionGroupName - The name of the option group to describe. Cannot be supplied together with EngineName or MajorEngineVersion.

data DescribeOptionGroups Source #

See: describeOptionGroups smart constructor.

Instances

Eq DescribeOptionGroups Source # 
Data DescribeOptionGroups Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeOptionGroups -> c DescribeOptionGroups #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeOptionGroups #

toConstr :: DescribeOptionGroups -> Constr #

dataTypeOf :: DescribeOptionGroups -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeOptionGroups) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeOptionGroups) #

gmapT :: (forall b. Data b => b -> b) -> DescribeOptionGroups -> DescribeOptionGroups #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeOptionGroups -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeOptionGroups -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeOptionGroups -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeOptionGroups -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeOptionGroups -> m DescribeOptionGroups #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeOptionGroups -> m DescribeOptionGroups #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeOptionGroups -> m DescribeOptionGroups #

Read DescribeOptionGroups Source # 
Show DescribeOptionGroups Source # 
Generic DescribeOptionGroups Source # 
Hashable DescribeOptionGroups Source # 
NFData DescribeOptionGroups Source # 

Methods

rnf :: DescribeOptionGroups -> () #

AWSPager DescribeOptionGroups Source # 
AWSRequest DescribeOptionGroups Source # 
ToHeaders DescribeOptionGroups Source # 
ToPath DescribeOptionGroups Source # 
ToQuery DescribeOptionGroups Source # 
type Rep DescribeOptionGroups Source # 
type Rep DescribeOptionGroups = D1 * (MetaData "DescribeOptionGroups" "Network.AWS.RDS.DescribeOptionGroups" "amazonka-rds-1.6.0-1gpCa37cwlvAUzWljvprAs" False) (C1 * (MetaCons "DescribeOptionGroups'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_dogFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Filter]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dogEngineName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dogMajorEngineVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dogMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dogMaxRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) (S1 * (MetaSel (Just Symbol "_dogOptionGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))))
type Rs DescribeOptionGroups Source # 

Request Lenses

dogFilters :: Lens' DescribeOptionGroups [Filter] Source #

This parameter is not currently supported.

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

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

dogMajorEngineVersion :: 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.

dogMarker :: 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 .

dogMaxRecords :: 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 the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.

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

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

Destructuring the Response

describeOptionGroupsResponse Source #

Creates a value of DescribeOptionGroupsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dogrsMarker - 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 .
  • dogrsOptionGroupsList - List of option groups.
  • dogrsResponseStatus - -- | The response status code.

data DescribeOptionGroupsResponse Source #

List of option groups.

See: describeOptionGroupsResponse smart constructor.

Instances

Eq DescribeOptionGroupsResponse Source # 
Data DescribeOptionGroupsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeOptionGroupsResponse -> c DescribeOptionGroupsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeOptionGroupsResponse #

toConstr :: DescribeOptionGroupsResponse -> Constr #

dataTypeOf :: DescribeOptionGroupsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeOptionGroupsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeOptionGroupsResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeOptionGroupsResponse -> DescribeOptionGroupsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeOptionGroupsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeOptionGroupsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeOptionGroupsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeOptionGroupsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeOptionGroupsResponse -> m DescribeOptionGroupsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeOptionGroupsResponse -> m DescribeOptionGroupsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeOptionGroupsResponse -> m DescribeOptionGroupsResponse #

Read DescribeOptionGroupsResponse Source # 
Show DescribeOptionGroupsResponse Source # 
Generic DescribeOptionGroupsResponse Source # 
NFData DescribeOptionGroupsResponse Source # 
type Rep DescribeOptionGroupsResponse Source # 
type Rep DescribeOptionGroupsResponse = D1 * (MetaData "DescribeOptionGroupsResponse" "Network.AWS.RDS.DescribeOptionGroups" "amazonka-rds-1.6.0-1gpCa37cwlvAUzWljvprAs" False) (C1 * (MetaCons "DescribeOptionGroupsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dogrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dogrsOptionGroupsList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [OptionGroup]))) (S1 * (MetaSel (Just Symbol "_dogrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

dogrsMarker :: 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 .