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

Contents

Description

Creates the replication instance using the specified parameters.

Synopsis

Creating a Request

createReplicationInstance Source #

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

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

  • criEngineVersion - The engine version number of the replication instance.
  • criPubliclyAccessible - Specifies the accessibility options for the replication instance. A value of true represents an instance with a public IP address. A value of false represents an instance with a private IP address. The default value is true .
  • criAutoMinorVersionUpgrade - Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window. Default: true
  • criReplicationSubnetGroupIdentifier - A subnet group to associate with the replication instance.
  • criPreferredMaintenanceWindow - The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ddd:hh24:mi-ddd:hh24:mi Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window.
  • criKMSKeyId - The KMS key identifier that will be used to encrypt the content on the replication instance. If you do not specify a value for the KmsKeyId parameter, then AWS DMS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region.
  • criAvailabilityZone - The EC2 Availability Zone that the replication instance will be created in. Default: A random, system-chosen Availability Zone in the endpoint's region. Example: us-east-1d
  • criVPCSecurityGroupIds - 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.
  • criMultiAZ - 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 .
  • criAllocatedStorage - The amount of storage (in gigabytes) to be initially allocated for the replication instance.
  • criTags - Tags to be associated with the replication instance.
  • criReplicationInstanceIdentifier - The replication instance identifier. This parameter is stored as a lowercase string. Constraints: * Must contain from 1 to 63 alphanumeric characters or hyphens. * First character must be a letter. * Cannot end with a hyphen or contain two consecutive hyphens. Example: myrepinstance
  • criReplicationInstanceClass - The compute and memory capacity of the replication instance as specified by the replication instance class. 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

data CreateReplicationInstance Source #

See: createReplicationInstance smart constructor.

Instances

Eq CreateReplicationInstance Source # 
Data CreateReplicationInstance Source # 

Methods

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

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

toConstr :: CreateReplicationInstance -> Constr #

dataTypeOf :: CreateReplicationInstance -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateReplicationInstance Source # 
Show CreateReplicationInstance Source # 
Generic CreateReplicationInstance Source # 
Hashable CreateReplicationInstance Source # 
ToJSON CreateReplicationInstance Source # 
NFData CreateReplicationInstance Source # 
AWSRequest CreateReplicationInstance Source # 
ToPath CreateReplicationInstance Source # 
ToHeaders CreateReplicationInstance Source # 
ToQuery CreateReplicationInstance Source # 
type Rep CreateReplicationInstance Source # 
type Rep CreateReplicationInstance = D1 (MetaData "CreateReplicationInstance" "Network.AWS.DMS.CreateReplicationInstance" "amazonka-dms-1.4.5-EltuN0Q20gz5uVOAfZKolj" False) (C1 (MetaCons "CreateReplicationInstance'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_criEngineVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_criPubliclyAccessible") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_criAutoMinorVersionUpgrade") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) ((:*:) (S1 (MetaSel (Just Symbol "_criReplicationSubnetGroupIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_criPreferredMaintenanceWindow") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_criKMSKeyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_criAvailabilityZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_criVPCSecurityGroupIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_criMultiAZ") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_criAllocatedStorage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_criTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag])))) ((:*:) (S1 (MetaSel (Just Symbol "_criReplicationInstanceIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_criReplicationInstanceClass") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))))
type Rs CreateReplicationInstance Source # 

Request Lenses

criEngineVersion :: Lens' CreateReplicationInstance (Maybe Text) Source #

The engine version number of the replication instance.

criPubliclyAccessible :: Lens' CreateReplicationInstance (Maybe Bool) Source #

Specifies the accessibility options for the replication instance. A value of true represents an instance with a public IP address. A value of false represents an instance with a private IP address. The default value is true .

criAutoMinorVersionUpgrade :: Lens' CreateReplicationInstance (Maybe Bool) Source #

Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window. Default: true

criReplicationSubnetGroupIdentifier :: Lens' CreateReplicationInstance (Maybe Text) Source #

A subnet group to associate with the replication instance.

criPreferredMaintenanceWindow :: Lens' CreateReplicationInstance (Maybe Text) Source #

The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ddd:hh24:mi-ddd:hh24:mi Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window.

criKMSKeyId :: Lens' CreateReplicationInstance (Maybe Text) Source #

The KMS key identifier that will be used to encrypt the content on the replication instance. If you do not specify a value for the KmsKeyId parameter, then AWS DMS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region.

criAvailabilityZone :: Lens' CreateReplicationInstance (Maybe Text) Source #

The EC2 Availability Zone that the replication instance will be created in. Default: A random, system-chosen Availability Zone in the endpoint's region. Example: us-east-1d

criVPCSecurityGroupIds :: Lens' CreateReplicationInstance [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.

criMultiAZ :: Lens' CreateReplicationInstance (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 .

criAllocatedStorage :: Lens' CreateReplicationInstance (Maybe Int) Source #

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

criTags :: Lens' CreateReplicationInstance [Tag] Source #

Tags to be associated with the replication instance.

criReplicationInstanceIdentifier :: Lens' CreateReplicationInstance Text Source #

The replication instance identifier. This parameter is stored as a lowercase string. Constraints: * Must contain from 1 to 63 alphanumeric characters or hyphens. * First character must be a letter. * Cannot end with a hyphen or contain two consecutive hyphens. Example: myrepinstance

criReplicationInstanceClass :: Lens' CreateReplicationInstance Text Source #

The compute and memory capacity of the replication instance as specified by the replication instance class. 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

Destructuring the Response

createReplicationInstanceResponse Source #

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

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

data CreateReplicationInstanceResponse Source #

See: createReplicationInstanceResponse smart constructor.

Instances

Eq CreateReplicationInstanceResponse Source # 
Data CreateReplicationInstanceResponse Source # 

Methods

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

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

toConstr :: CreateReplicationInstanceResponse -> Constr #

dataTypeOf :: CreateReplicationInstanceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses