amazonka-dms-1.4.5: Amazon Database Migration 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.DMS.ModifyReplicationInstance

Contents

Description

Modifies the replication instance to apply new settings. You can change one or more parameters by specifying these parameters and the new values in the request.

Some settings are applied during the maintenance window.

Synopsis

Creating a Request

modifyReplicationInstance Source #

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

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

  • mriEngineVersion - The engine version number of the replication instance.
  • mriAutoMinorVersionUpgrade - Indicates that minor version upgrades will be applied automatically to the replication instance during the maintenance window. Changing this parameter does not result in an outage except in the following case and the change is asynchronously applied as soon as possible. An outage will result if this parameter is set to true during the maintenance window, and a newer minor version is available, and AWS DMS has enabled auto patching for that engine version.
  • mriAllowMajorVersionUpgrade - Indicates that major version upgrades are allowed. Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible. Constraints: This parameter must be set to true when specifying a value for the EngineVersion parameter that is a different major version than the replication instance's current version.
  • mriPreferredMaintenanceWindow - The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage. Changing this parameter does not result in an outage, except in the following situation, and the change is asynchronously applied as soon as possible. If moving this window to the current time, there must be at least 30 minutes between the current time and end of the window to ensure pending changes are applied. Default: Uses existing setting Format: ddd:hh24:mi-ddd:hh24:mi Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun Constraints: Must be at least 30 minutes
  • mriVPCSecurityGroupIds - Specifies the VPC security group to be used with the replication instance. The VPC security group must work with the VPC containing the replication instance.
  • mriMultiAZ - Specifies if the replication instance is a Multi-AZ deployment. You cannot set the AvailabilityZone parameter if the Multi-AZ parameter is set to true .
  • mriAllocatedStorage - The amount of storage (in gigabytes) to be allocated for the replication instance.
  • mriApplyImmediately - Indicates whether the changes should be applied immediately or during the next maintenance window.
  • mriReplicationInstanceClass - The compute and memory capacity of the replication instance. Valid Values: dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge
  • mriReplicationInstanceIdentifier - The replication instance identifier. This parameter is stored as a lowercase string.
  • mriReplicationInstanceARN - The Amazon Resource Name (ARN) of the replication instance.

data ModifyReplicationInstance Source #

See: modifyReplicationInstance smart constructor.

Instances

Eq ModifyReplicationInstance Source # 
Data ModifyReplicationInstance Source # 

Methods

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

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

toConstr :: ModifyReplicationInstance -> Constr #

dataTypeOf :: ModifyReplicationInstance -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyReplicationInstance Source # 
Show ModifyReplicationInstance Source # 
Generic ModifyReplicationInstance Source # 
Hashable ModifyReplicationInstance Source # 
ToJSON ModifyReplicationInstance Source # 
NFData ModifyReplicationInstance Source # 
AWSRequest ModifyReplicationInstance Source # 
ToPath ModifyReplicationInstance Source # 
ToHeaders ModifyReplicationInstance Source # 
ToQuery ModifyReplicationInstance Source # 
type Rep ModifyReplicationInstance Source # 
type Rep ModifyReplicationInstance = D1 (MetaData "ModifyReplicationInstance" "Network.AWS.DMS.ModifyReplicationInstance" "amazonka-dms-1.4.5-EltuN0Q20gz5uVOAfZKolj" False) (C1 (MetaCons "ModifyReplicationInstance'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_mriEngineVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_mriAutoMinorVersionUpgrade") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "_mriAllowMajorVersionUpgrade") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_mriPreferredMaintenanceWindow") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_mriVPCSecurityGroupIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_mriMultiAZ") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_mriAllocatedStorage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_mriApplyImmediately") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) ((:*:) (S1 (MetaSel (Just Symbol "_mriReplicationInstanceClass") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_mriReplicationInstanceIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_mriReplicationInstanceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))))
type Rs ModifyReplicationInstance Source # 

Request Lenses

mriEngineVersion :: Lens' ModifyReplicationInstance (Maybe Text) Source #

The engine version number of the replication instance.

mriAutoMinorVersionUpgrade :: Lens' ModifyReplicationInstance (Maybe Bool) Source #

Indicates that minor version upgrades will be applied automatically to the replication instance during the maintenance window. Changing this parameter does not result in an outage except in the following case and the change is asynchronously applied as soon as possible. An outage will result if this parameter is set to true during the maintenance window, and a newer minor version is available, and AWS DMS has enabled auto patching for that engine version.

mriAllowMajorVersionUpgrade :: Lens' ModifyReplicationInstance (Maybe Bool) Source #

Indicates that major version upgrades are allowed. Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible. Constraints: This parameter must be set to true when specifying a value for the EngineVersion parameter that is a different major version than the replication instance's current version.

mriPreferredMaintenanceWindow :: Lens' ModifyReplicationInstance (Maybe Text) Source #

The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage. Changing this parameter does not result in an outage, except in the following situation, and the change is asynchronously applied as soon as possible. If moving this window to the current time, there must be at least 30 minutes between the current time and end of the window to ensure pending changes are applied. Default: Uses existing setting Format: ddd:hh24:mi-ddd:hh24:mi Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun Constraints: Must be at least 30 minutes

mriVPCSecurityGroupIds :: Lens' ModifyReplicationInstance [Text] Source #

Specifies the VPC security group to be used with the replication instance. The VPC security group must work with the VPC containing the replication instance.

mriMultiAZ :: Lens' ModifyReplicationInstance (Maybe Bool) Source #

Specifies if the replication instance is a Multi-AZ deployment. You cannot set the AvailabilityZone parameter if the Multi-AZ parameter is set to true .

mriAllocatedStorage :: Lens' ModifyReplicationInstance (Maybe Int) Source #

The amount of storage (in gigabytes) to be allocated for the replication instance.

mriApplyImmediately :: Lens' ModifyReplicationInstance (Maybe Bool) Source #

Indicates whether the changes should be applied immediately or during the next maintenance window.

mriReplicationInstanceClass :: Lens' ModifyReplicationInstance (Maybe Text) Source #

The compute and memory capacity of the replication instance. Valid Values: dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge

mriReplicationInstanceIdentifier :: Lens' ModifyReplicationInstance (Maybe Text) Source #

The replication instance identifier. This parameter is stored as a lowercase string.

mriReplicationInstanceARN :: Lens' ModifyReplicationInstance Text Source #

The Amazon Resource Name (ARN) of the replication instance.

Destructuring the Response

modifyReplicationInstanceResponse Source #

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

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

data ModifyReplicationInstanceResponse Source #

See: modifyReplicationInstanceResponse smart constructor.

Instances

Eq ModifyReplicationInstanceResponse Source # 
Data ModifyReplicationInstanceResponse Source # 

Methods

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

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

toConstr :: ModifyReplicationInstanceResponse -> Constr #

dataTypeOf :: ModifyReplicationInstanceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyReplicationInstanceResponse Source # 
Show ModifyReplicationInstanceResponse Source # 
Generic ModifyReplicationInstanceResponse Source # 
NFData ModifyReplicationInstanceResponse Source # 
type Rep ModifyReplicationInstanceResponse Source # 
type Rep ModifyReplicationInstanceResponse = D1 (MetaData "ModifyReplicationInstanceResponse" "Network.AWS.DMS.ModifyReplicationInstance" "amazonka-dms-1.4.5-EltuN0Q20gz5uVOAfZKolj" False) (C1 (MetaCons "ModifyReplicationInstanceResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mrirsReplicationInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ReplicationInstance))) (S1 (MetaSel (Just Symbol "_mrirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses