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

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

Network.AWS.RDS.CreateOptionGroup

Contents

Description

Creates a new option group. You can create up to 20 option groups.

Synopsis

Creating a Request

createOptionGroup Source #

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

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

  • cogTags - Undocumented member.
  • cogOptionGroupName - Specifies the name of the option group to be created. Constraints: * Must be 1 to 255 alphanumeric characters or hyphens * First character must be a letter * Cannot end with a hyphen or contain two consecutive hyphens Example: myoptiongroup
  • cogEngineName - Specifies the name of the engine that this option group should be associated with.
  • cogMajorEngineVersion - Specifies the major version of the engine that this option group should be associated with.
  • cogOptionGroupDescription - The description of the option group.

data CreateOptionGroup Source #

See: createOptionGroup smart constructor.

Instances

Eq CreateOptionGroup Source # 
Data CreateOptionGroup Source # 

Methods

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

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

toConstr :: CreateOptionGroup -> Constr #

dataTypeOf :: CreateOptionGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateOptionGroup Source # 
Show CreateOptionGroup Source # 
Generic CreateOptionGroup Source # 
Hashable CreateOptionGroup Source # 
NFData CreateOptionGroup Source # 

Methods

rnf :: CreateOptionGroup -> () #

AWSRequest CreateOptionGroup Source # 
ToPath CreateOptionGroup Source # 
ToHeaders CreateOptionGroup Source # 
ToQuery CreateOptionGroup Source # 
type Rep CreateOptionGroup Source # 
type Rep CreateOptionGroup = D1 (MetaData "CreateOptionGroup" "Network.AWS.RDS.CreateOptionGroup" "amazonka-rds-1.4.5-FycntHHvABz6gJkK2IrBDo" False) (C1 (MetaCons "CreateOptionGroup'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cogTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag]))) (S1 (MetaSel (Just Symbol "_cogOptionGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_cogEngineName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_cogMajorEngineVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cogOptionGroupDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs CreateOptionGroup Source # 

Request Lenses

cogTags :: Lens' CreateOptionGroup [Tag] Source #

Undocumented member.

cogOptionGroupName :: Lens' CreateOptionGroup Text Source #

Specifies the name of the option group to be created. Constraints: * Must be 1 to 255 alphanumeric characters or hyphens * First character must be a letter * Cannot end with a hyphen or contain two consecutive hyphens Example: myoptiongroup

cogEngineName :: Lens' CreateOptionGroup Text Source #

Specifies the name of the engine that this option group should be associated with.

cogMajorEngineVersion :: Lens' CreateOptionGroup Text Source #

Specifies the major version of the engine that this option group should be associated with.

cogOptionGroupDescription :: Lens' CreateOptionGroup Text Source #

The description of the option group.

Destructuring the Response

createOptionGroupResponse Source #

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

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

data CreateOptionGroupResponse Source #

See: createOptionGroupResponse smart constructor.

Instances

Eq CreateOptionGroupResponse Source # 
Data CreateOptionGroupResponse Source # 

Methods

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

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

toConstr :: CreateOptionGroupResponse -> Constr #

dataTypeOf :: CreateOptionGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateOptionGroupResponse Source # 
Show CreateOptionGroupResponse Source # 
Generic CreateOptionGroupResponse Source # 
NFData CreateOptionGroupResponse Source # 
type Rep CreateOptionGroupResponse Source # 
type Rep CreateOptionGroupResponse = D1 (MetaData "CreateOptionGroupResponse" "Network.AWS.RDS.CreateOptionGroup" "amazonka-rds-1.4.5-FycntHHvABz6gJkK2IrBDo" False) (C1 (MetaCons "CreateOptionGroupResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_crsOptionGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe OptionGroup))) (S1 (MetaSel (Just Symbol "_crsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses