-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Amazon Database Migration Service SDK.
--   
--   The types from this library are intended to be used with
--   <a>amazonka</a>, which provides mechanisms for specifying AuthN/AuthZ
--   information, sending requests, and receiving responses.
--   
--   Lenses are used for constructing and manipulating types, due to the
--   depth of nesting of AWS types and transparency regarding
--   de/serialisation into more palatable Haskell values. The provided
--   lenses should be compatible with any of the major lens libraries such
--   as <a>lens</a> or <a>lens-family-core</a>.
--   
--   See <a>Network.AWS.DMS</a> or <a>the AWS documentation</a> to get
--   started.
@package amazonka-dms
@version 1.6.1


module Network.AWS.DMS.Types

-- | API version <tt>2016-01-01</tt> of the Amazon Database Migration
--   Service SDK configuration.
dms :: Service

-- | The subnet provided is invalid.
_InvalidSubnet :: AsError a => Getting (First ServiceError) a ServiceError

-- | AWS DMS cannot access the KMS key.
_KMSKeyNotAccessibleFault :: AsError a => Getting (First ServiceError) a ServiceError

-- | The replication subnet group does not cover enough Availability Zones
--   (AZs). Edit the replication subnet group and add more AZs.
_ReplicationSubnetGroupDoesNotCoverEnoughAZs :: AsError a => Getting (First ServiceError) a ServiceError

-- | The resource is in a state that prevents it from being used for
--   database migration.
_InvalidResourceStateFault :: AsError a => Getting (First ServiceError) a ServiceError

-- | The certificate was not valid.
_InvalidCertificateFault :: AsError a => Getting (First ServiceError) a ServiceError

-- | You are not authorized for the SNS subscription.
_SNSNoAuthorizationFault :: AsError a => Getting (First ServiceError) a ServiceError

-- | The resource you are attempting to create already exists.
_ResourceAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError

-- | There are not enough resources allocated to the database migration.
_InsufficientResourceCapacityFault :: AsError a => Getting (First ServiceError) a ServiceError

-- | The SNS topic is invalid.
_SNSInvalidTopicFault :: AsError a => Getting (First ServiceError) a ServiceError

-- | The quota for this resource quota has been exceeded.
_ResourceQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError

-- | An upgrade dependency is preventing the database migration.
_UpgradeDependencyFailureFault :: AsError a => Getting (First ServiceError) a ServiceError

-- | The resource could not be found.
_ResourceNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError

-- | The storage quota has been exceeded.
_StorageQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError

-- | AWS DMS was denied access to the endpoint.
_AccessDeniedFault :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified subnet is already in use.
_SubnetAlreadyInUse :: AsError a => Getting (First ServiceError) a ServiceError
data AuthMechanismValue
Default :: AuthMechanismValue
MongodbCr :: AuthMechanismValue
ScramSha1 :: AuthMechanismValue
data AuthTypeValue
NO :: AuthTypeValue
Password :: AuthTypeValue
data CompressionTypeValue
CTVGzip :: CompressionTypeValue
CTVNone :: CompressionTypeValue
data DmsSSLModeValue
DSMVNone :: DmsSSLModeValue
DSMVRequire :: DmsSSLModeValue
DSMVVerifyCa :: DmsSSLModeValue
DSMVVerifyFull :: DmsSSLModeValue
data MigrationTypeValue
Cdc :: MigrationTypeValue
FullLoad :: MigrationTypeValue
FullLoadAndCdc :: MigrationTypeValue
data NestingLevelValue
None :: NestingLevelValue
One :: NestingLevelValue
data RefreshSchemasStatusTypeValue
Failed :: RefreshSchemasStatusTypeValue
Refreshing :: RefreshSchemasStatusTypeValue
Successful :: RefreshSchemasStatusTypeValue
data ReplicationEndpointTypeValue
Source :: ReplicationEndpointTypeValue
Target :: ReplicationEndpointTypeValue
data SourceType
ReplicationInstance :: SourceType
data StartReplicationTaskTypeValue
ReloadTarget :: StartReplicationTaskTypeValue
ResumeProcessing :: StartReplicationTaskTypeValue
StartReplication :: StartReplicationTaskTypeValue

-- | Describes a quota for an AWS account, for example, the number of
--   replication instances allowed.
--   
--   <i>See:</i> <a>accountQuota</a> smart constructor.
data AccountQuota

-- | Creates a value of <a>AccountQuota</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aqMax</a> - The maximum allowed value for the quota.</li>
--   <li><a>aqUsed</a> - The amount currently used toward the quota
--   maximum.</li>
--   <li><a>aqAccountQuotaName</a> - The name of the AWS DMS quota for this
--   AWS account.</li>
--   </ul>
accountQuota :: AccountQuota

-- | The maximum allowed value for the quota.
aqMax :: Lens' AccountQuota (Maybe Integer)

-- | The amount currently used toward the quota maximum.
aqUsed :: Lens' AccountQuota (Maybe Integer)

-- | The name of the AWS DMS quota for this AWS account.
aqAccountQuotaName :: Lens' AccountQuota (Maybe Text)

-- | <i>See:</i> <a>availabilityZone</a> smart constructor.
data AvailabilityZone

-- | Creates a value of <a>AvailabilityZone</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>azName</a> - The name of the availability zone.</li>
--   </ul>
availabilityZone :: AvailabilityZone

-- | The name of the availability zone.
azName :: Lens' AvailabilityZone (Maybe Text)

-- | The SSL certificate that can be used to encrypt connections between
--   the endpoints and the replication instance.
--   
--   <i>See:</i> <a>certificate</a> smart constructor.
data Certificate

-- | Creates a value of <a>Certificate</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cCertificateOwner</a> - The owner of the certificate.</li>
--   <li><a>cSigningAlgorithm</a> - The signing algorithm for the
--   certificate.</li>
--   <li><a>cValidFromDate</a> - The beginning date that the certificate is
--   valid.</li>
--   <li><a>cCertificatePem</a> - The contents of the .pem X.509
--   certificate file for the certificate.</li>
--   <li><a>cCertificateARN</a> - The Amazon Resource Name (ARN) for the
--   certificate.</li>
--   <li><a>cCertificateCreationDate</a> - The date that the certificate
--   was created.</li>
--   <li><a>cCertificateIdentifier</a> - The customer-assigned name of the
--   certificate. Valid characters are A-z and 0-9.</li>
--   <li><a>cCertificateWallet</a> - The location of the imported Oracle
--   Wallet certificate for use with SSL.-- <i>Note:</i> This <tt>Lens</tt>
--   automatically encodes and decodes Base64 data. The underlying
--   isomorphism will encode to Base64 representation during serialisation,
--   and decode from Base64 representation during deserialisation. This
--   <tt>Lens</tt> accepts and returns only raw unencoded data.</li>
--   <li><a>cKeyLength</a> - The key length of the cryptographic algorithm
--   being used.</li>
--   <li><a>cValidToDate</a> - The final date that the certificate is
--   valid.</li>
--   </ul>
certificate :: Certificate

-- | The owner of the certificate.
cCertificateOwner :: Lens' Certificate (Maybe Text)

-- | The signing algorithm for the certificate.
cSigningAlgorithm :: Lens' Certificate (Maybe Text)

-- | The beginning date that the certificate is valid.
cValidFromDate :: Lens' Certificate (Maybe UTCTime)

-- | The contents of the .pem X.509 certificate file for the certificate.
cCertificatePem :: Lens' Certificate (Maybe Text)

-- | The Amazon Resource Name (ARN) for the certificate.
cCertificateARN :: Lens' Certificate (Maybe Text)

-- | The date that the certificate was created.
cCertificateCreationDate :: Lens' Certificate (Maybe UTCTime)

-- | The customer-assigned name of the certificate. Valid characters are
--   A-z and 0-9.
cCertificateIdentifier :: Lens' Certificate (Maybe Text)

-- | The location of the imported Oracle Wallet certificate for use with
--   SSL.-- <i>Note:</i> This <tt>Lens</tt> automatically encodes and
--   decodes Base64 data. The underlying isomorphism will encode to Base64
--   representation during serialisation, and decode from Base64
--   representation during deserialisation. This <tt>Lens</tt> accepts and
--   returns only raw unencoded data.
cCertificateWallet :: Lens' Certificate (Maybe ByteString)

-- | The key length of the cryptographic algorithm being used.
cKeyLength :: Lens' Certificate (Maybe Int)

-- | The final date that the certificate is valid.
cValidToDate :: Lens' Certificate (Maybe UTCTime)

-- | <i>See:</i> <a>connection</a> smart constructor.
data Connection

-- | Creates a value of <a>Connection</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cStatus</a> - The connection status.</li>
--   <li><a>cReplicationInstanceARN</a> - The Amazon Resource Name (ARN) of
--   the replication instance.</li>
--   <li><a>cEndpointIdentifier</a> - The identifier of the endpoint.
--   Identifiers must begin with a letter; must contain only ASCII letters,
--   digits, and hyphens; and must not end with a hyphen or contain two
--   consecutive hyphens.</li>
--   <li><a>cReplicationInstanceIdentifier</a> - The replication instance
--   identifier. This parameter is stored as a lowercase string.</li>
--   <li><a>cEndpointARN</a> - The Amazon Resource Name (ARN) string that
--   uniquely identifies the endpoint.</li>
--   <li><a>cLastFailureMessage</a> - The error message when the connection
--   last failed.</li>
--   </ul>
connection :: Connection

-- | The connection status.
cStatus :: Lens' Connection (Maybe Text)

-- | The Amazon Resource Name (ARN) of the replication instance.
cReplicationInstanceARN :: Lens' Connection (Maybe Text)

-- | The identifier of the endpoint. Identifiers must begin with a letter;
--   must contain only ASCII letters, digits, and hyphens; and must not end
--   with a hyphen or contain two consecutive hyphens.
cEndpointIdentifier :: Lens' Connection (Maybe Text)

-- | The replication instance identifier. This parameter is stored as a
--   lowercase string.
cReplicationInstanceIdentifier :: Lens' Connection (Maybe Text)

-- | The Amazon Resource Name (ARN) string that uniquely identifies the
--   endpoint.
cEndpointARN :: Lens' Connection (Maybe Text)

-- | The error message when the connection last failed.
cLastFailureMessage :: Lens' Connection (Maybe Text)

-- | <i>See:</i> <a>dynamoDBSettings</a> smart constructor.
data DynamoDBSettings

-- | Creates a value of <a>DynamoDBSettings</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ddsServiceAccessRoleARN</a> - The Amazon Resource Name (ARN)
--   used by the service access IAM role.</li>
--   </ul>
dynamoDBSettings :: Text -> DynamoDBSettings

-- | The Amazon Resource Name (ARN) used by the service access IAM role.
ddsServiceAccessRoleARN :: Lens' DynamoDBSettings Text

-- | <i>See:</i> <a>endpoint</a> smart constructor.
data Endpoint

-- | Creates a value of <a>Endpoint</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>eStatus</a> - The status of the endpoint.</li>
--   <li><a>eServerName</a> - The name of the server at the endpoint.</li>
--   <li><a>eCertificateARN</a> - The Amazon Resource Name (ARN) used for
--   SSL connection to the endpoint.</li>
--   <li><a>eServiceAccessRoleARN</a> - The Amazon Resource Name (ARN) used
--   by the service access IAM role.</li>
--   <li><a>eEngineDisplayName</a> - The expanded name for the engine name.
--   For example, if the <tt>EngineName</tt> parameter is "aurora," this
--   value would be "Amazon Aurora MySQL."</li>
--   <li><a>eExtraConnectionAttributes</a> - Additional connection
--   attributes used to connect to the endpoint.</li>
--   <li><a>eEndpointType</a> - The type of endpoint.</li>
--   <li><a>eUsername</a> - The user name used to connect to the
--   endpoint.</li>
--   <li><a>eExternalTableDefinition</a> - The external table
--   definition.</li>
--   <li><a>eEngineName</a> - The database engine name. Valid values,
--   depending on the EndPointType, include mysql, oracle, postgres,
--   mariadb, aurora, aurora-postgresql, redshift, s3, db2, azuredb,
--   sybase, sybase, dynamodb, mongodb, and sqlserver.</li>
--   <li><a>eKMSKeyId</a> - The KMS key identifier that will be used to
--   encrypt the connection parameters. 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.</li>
--   <li><a>eMongoDBSettings</a> - The settings for the MongoDB source
--   endpoint. For more information, see the <tt>MongoDbSettings</tt>
--   structure.</li>
--   <li><a>eSSLMode</a> - The SSL mode used to connect to the endpoint.
--   SSL mode can be one of four values: none, require, verify-ca,
--   verify-full. The default value is none.</li>
--   <li><a>eDatabaseName</a> - The name of the database at the
--   endpoint.</li>
--   <li><a>eS3Settings</a> - The settings for the S3 target endpoint. For
--   more information, see the <tt>S3Settings</tt> structure.</li>
--   <li><a>eEndpointIdentifier</a> - The database endpoint identifier.
--   Identifiers must begin with a letter; must contain only ASCII letters,
--   digits, and hyphens; and must not end with a hyphen or contain two
--   consecutive hyphens.</li>
--   <li><a>eExternalId</a> - Value returned by a call to CreateEndpoint
--   that can be used for cross-account validation. Use it on a subsequent
--   call to CreateEndpoint to create the endpoint with a
--   cross-account.</li>
--   <li><a>eDynamoDBSettings</a> - The settings for the target DynamoDB
--   database. For more information, see the <tt>DynamoDBSettings</tt>
--   structure.</li>
--   <li><a>eEndpointARN</a> - The Amazon Resource Name (ARN) string that
--   uniquely identifies the endpoint.</li>
--   <li><a>ePort</a> - The port value used to access the endpoint.</li>
--   </ul>
endpoint :: Endpoint

-- | The status of the endpoint.
eStatus :: Lens' Endpoint (Maybe Text)

-- | The name of the server at the endpoint.
eServerName :: Lens' Endpoint (Maybe Text)

-- | The Amazon Resource Name (ARN) used for SSL connection to the
--   endpoint.
eCertificateARN :: Lens' Endpoint (Maybe Text)

-- | The Amazon Resource Name (ARN) used by the service access IAM role.
eServiceAccessRoleARN :: Lens' Endpoint (Maybe Text)

-- | The expanded name for the engine name. For example, if the
--   <tt>EngineName</tt> parameter is "aurora," this value would be "Amazon
--   Aurora MySQL."
eEngineDisplayName :: Lens' Endpoint (Maybe Text)

-- | Additional connection attributes used to connect to the endpoint.
eExtraConnectionAttributes :: Lens' Endpoint (Maybe Text)

-- | The type of endpoint.
eEndpointType :: Lens' Endpoint (Maybe ReplicationEndpointTypeValue)

-- | The user name used to connect to the endpoint.
eUsername :: Lens' Endpoint (Maybe Text)

-- | The external table definition.
eExternalTableDefinition :: Lens' Endpoint (Maybe Text)

-- | The database engine name. Valid values, depending on the EndPointType,
--   include mysql, oracle, postgres, mariadb, aurora, aurora-postgresql,
--   redshift, s3, db2, azuredb, sybase, sybase, dynamodb, mongodb, and
--   sqlserver.
eEngineName :: Lens' Endpoint (Maybe Text)

-- | The KMS key identifier that will be used to encrypt the connection
--   parameters. 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.
eKMSKeyId :: Lens' Endpoint (Maybe Text)

-- | The settings for the MongoDB source endpoint. For more information,
--   see the <tt>MongoDbSettings</tt> structure.
eMongoDBSettings :: Lens' Endpoint (Maybe MongoDBSettings)

-- | The SSL mode used to connect to the endpoint. SSL mode can be one of
--   four values: none, require, verify-ca, verify-full. The default value
--   is none.
eSSLMode :: Lens' Endpoint (Maybe DmsSSLModeValue)

-- | The name of the database at the endpoint.
eDatabaseName :: Lens' Endpoint (Maybe Text)

-- | The settings for the S3 target endpoint. For more information, see the
--   <tt>S3Settings</tt> structure.
eS3Settings :: Lens' Endpoint (Maybe S3Settings)

-- | The database endpoint identifier. Identifiers must begin with a
--   letter; must contain only ASCII letters, digits, and hyphens; and must
--   not end with a hyphen or contain two consecutive hyphens.
eEndpointIdentifier :: Lens' Endpoint (Maybe Text)

-- | Value returned by a call to CreateEndpoint that can be used for
--   cross-account validation. Use it on a subsequent call to
--   CreateEndpoint to create the endpoint with a cross-account.
eExternalId :: Lens' Endpoint (Maybe Text)

-- | The settings for the target DynamoDB database. For more information,
--   see the <tt>DynamoDBSettings</tt> structure.
eDynamoDBSettings :: Lens' Endpoint (Maybe DynamoDBSettings)

-- | The Amazon Resource Name (ARN) string that uniquely identifies the
--   endpoint.
eEndpointARN :: Lens' Endpoint (Maybe Text)

-- | The port value used to access the endpoint.
ePort :: Lens' Endpoint (Maybe Int)

-- | <i>See:</i> <a>event</a> smart constructor.
data Event

-- | Creates a value of <a>Event</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>eSourceType</a> - The type of AWS DMS resource that generates
--   events. Valid values: replication-instance | endpoint |
--   migration-task</li>
--   <li><a>eSourceIdentifier</a> - The identifier of the event source. An
--   identifier must begin with a letter and must contain only ASCII
--   letters, digits, and hyphens; it cannot end with a hyphen or contain
--   two consecutive hyphens. Constraints:replication instance, endpoint,
--   migration task</li>
--   <li><a>eDate</a> - The date of the event.</li>
--   <li><a>eEventCategories</a> - The event categories available for the
--   specified source type.</li>
--   <li><a>eMessage</a> - The event message.</li>
--   </ul>
event :: Event

-- | The type of AWS DMS resource that generates events. Valid values:
--   replication-instance | endpoint | migration-task
eSourceType :: Lens' Event (Maybe SourceType)

-- | The identifier of the event source. An identifier must begin with a
--   letter and must contain only ASCII letters, digits, and hyphens; it
--   cannot end with a hyphen or contain two consecutive hyphens.
--   Constraints:replication instance, endpoint, migration task
eSourceIdentifier :: Lens' Event (Maybe Text)

-- | The date of the event.
eDate :: Lens' Event (Maybe UTCTime)

-- | The event categories available for the specified source type.
eEventCategories :: Lens' Event [Text]

-- | The event message.
eMessage :: Lens' Event (Maybe Text)

-- | <i>See:</i> <a>eventCategoryGroup</a> smart constructor.
data EventCategoryGroup

-- | Creates a value of <a>EventCategoryGroup</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ecgSourceType</a> - The type of AWS DMS resource that generates
--   events. Valid values: replication-instance | replication-server |
--   security-group | migration-task</li>
--   <li><a>ecgEventCategories</a> - A list of event categories for a
--   <tt>SourceType</tt> that you want to subscribe to.</li>
--   </ul>
eventCategoryGroup :: EventCategoryGroup

-- | The type of AWS DMS resource that generates events. Valid values:
--   replication-instance | replication-server | security-group |
--   migration-task
ecgSourceType :: Lens' EventCategoryGroup (Maybe Text)

-- | A list of event categories for a <tt>SourceType</tt> that you want to
--   subscribe to.
ecgEventCategories :: Lens' EventCategoryGroup [Text]

-- | <i>See:</i> <a>eventSubscription</a> smart constructor.
data EventSubscription

-- | Creates a value of <a>EventSubscription</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>esStatus</a> - The status of the AWS DMS event notification
--   subscription. Constraints: Can be one of the following: creating |
--   modifying | deleting | active | no-permission | topic-not-exist The
--   status "no-permission" indicates that AWS DMS no longer has permission
--   to post to the SNS topic. The status "topic-not-exist" indicates that
--   the topic was deleted after the subscription was created.</li>
--   <li><a>esCustomerAWSId</a> - The AWS customer account associated with
--   the AWS DMS event notification subscription.</li>
--   <li><a>esCustSubscriptionId</a> - The AWS DMS event notification
--   subscription Id.</li>
--   <li><a>esSNSTopicARN</a> - The topic ARN of the AWS DMS event
--   notification subscription.</li>
--   <li><a>esEnabled</a> - Boolean value that indicates if the event
--   subscription is enabled.</li>
--   <li><a>esSourceType</a> - The type of AWS DMS resource that generates
--   events. Valid values: replication-instance | replication-server |
--   security-group | migration-task</li>
--   <li><a>esSubscriptionCreationTime</a> - The time the RDS event
--   notification subscription was created.</li>
--   <li><a>esEventCategoriesList</a> - A lists of event categories.</li>
--   <li><a>esSourceIdsList</a> - A list of source Ids for the event
--   subscription.</li>
--   </ul>
eventSubscription :: EventSubscription

-- | The status of the AWS DMS event notification subscription.
--   Constraints: Can be one of the following: creating | modifying |
--   deleting | active | no-permission | topic-not-exist The status
--   "no-permission" indicates that AWS DMS no longer has permission to
--   post to the SNS topic. The status "topic-not-exist" indicates that the
--   topic was deleted after the subscription was created.
esStatus :: Lens' EventSubscription (Maybe Text)

-- | The AWS customer account associated with the AWS DMS event
--   notification subscription.
esCustomerAWSId :: Lens' EventSubscription (Maybe Text)

-- | The AWS DMS event notification subscription Id.
esCustSubscriptionId :: Lens' EventSubscription (Maybe Text)

-- | The topic ARN of the AWS DMS event notification subscription.
esSNSTopicARN :: Lens' EventSubscription (Maybe Text)

-- | Boolean value that indicates if the event subscription is enabled.
esEnabled :: Lens' EventSubscription (Maybe Bool)

-- | The type of AWS DMS resource that generates events. Valid values:
--   replication-instance | replication-server | security-group |
--   migration-task
esSourceType :: Lens' EventSubscription (Maybe Text)

-- | The time the RDS event notification subscription was created.
esSubscriptionCreationTime :: Lens' EventSubscription (Maybe Text)

-- | A lists of event categories.
esEventCategoriesList :: Lens' EventSubscription [Text]

-- | A list of source Ids for the event subscription.
esSourceIdsList :: Lens' EventSubscription [Text]

-- | <i>See:</i> <a>filter'</a> smart constructor.
data Filter

-- | Creates a value of <a>Filter</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>fName</a> - The name of the filter.</li>
--   <li><a>fValues</a> - The filter value.</li>
--   </ul>
filter' :: Text -> Filter

-- | The name of the filter.
fName :: Lens' Filter Text

-- | The filter value.
fValues :: Lens' Filter [Text]

-- | <i>See:</i> <a>mongoDBSettings</a> smart constructor.
data MongoDBSettings

-- | Creates a value of <a>MongoDBSettings</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>mdsServerName</a> - The name of the server on the MongoDB
--   source endpoint.</li>
--   <li><a>mdsAuthMechanism</a> - The authentication mechanism you use to
--   access the MongoDB source endpoint. Valid values: DEFAULT, MONGODB_CR,
--   SCRAM_SHA_1 DEFAULT – For MongoDB version 2.x, use MONGODB_CR. For
--   MongoDB version 3.x, use SCRAM_SHA_1. This attribute is not used when
--   authType=No.</li>
--   <li><a>mdsUsername</a> - The user name you use to access the MongoDB
--   source endpoint.</li>
--   <li><a>mdsKMSKeyId</a> - The KMS key identifier that will be used to
--   encrypt the connection parameters. 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.</li>
--   <li><a>mdsPassword</a> - The password for the user account you use to
--   access the MongoDB source endpoint.</li>
--   <li><a>mdsNestingLevel</a> - Specifies either document or table mode.
--   Valid values: NONE, ONE Default value is NONE. Specify NONE to use
--   document mode. Specify ONE to use table mode.</li>
--   <li><a>mdsDatabaseName</a> - The database name on the MongoDB source
--   endpoint.</li>
--   <li><a>mdsDocsToInvestigate</a> - Indicates the number of documents to
--   preview to determine the document organization. Use this attribute
--   when <tt>NestingLevel</tt> is set to ONE. Must be a positive value
--   greater than 0. Default value is 1000.</li>
--   <li><a>mdsAuthSource</a> - The MongoDB database name. This attribute
--   is not used when <tt>authType=NO</tt> . The default is admin.</li>
--   <li><a>mdsExtractDocId</a> - Specifies the document ID. Use this
--   attribute when <tt>NestingLevel</tt> is set to NONE. Default value is
--   false.</li>
--   <li><a>mdsAuthType</a> - The authentication type you use to access the
--   MongoDB source endpoint. Valid values: NO, PASSWORD When NO is
--   selected, user name and password parameters are not used and can be
--   empty.</li>
--   <li><a>mdsPort</a> - The port value for the MongoDB source
--   endpoint.</li>
--   </ul>
mongoDBSettings :: MongoDBSettings

-- | The name of the server on the MongoDB source endpoint.
mdsServerName :: Lens' MongoDBSettings (Maybe Text)

-- | The authentication mechanism you use to access the MongoDB source
--   endpoint. Valid values: DEFAULT, MONGODB_CR, SCRAM_SHA_1 DEFAULT – For
--   MongoDB version 2.x, use MONGODB_CR. For MongoDB version 3.x, use
--   SCRAM_SHA_1. This attribute is not used when authType=No.
mdsAuthMechanism :: Lens' MongoDBSettings (Maybe AuthMechanismValue)

-- | The user name you use to access the MongoDB source endpoint.
mdsUsername :: Lens' MongoDBSettings (Maybe Text)

-- | The KMS key identifier that will be used to encrypt the connection
--   parameters. 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.
mdsKMSKeyId :: Lens' MongoDBSettings (Maybe Text)

-- | The password for the user account you use to access the MongoDB source
--   endpoint.
mdsPassword :: Lens' MongoDBSettings (Maybe Text)

-- | Specifies either document or table mode. Valid values: NONE, ONE
--   Default value is NONE. Specify NONE to use document mode. Specify ONE
--   to use table mode.
mdsNestingLevel :: Lens' MongoDBSettings (Maybe NestingLevelValue)

-- | The database name on the MongoDB source endpoint.
mdsDatabaseName :: Lens' MongoDBSettings (Maybe Text)

-- | Indicates the number of documents to preview to determine the document
--   organization. Use this attribute when <tt>NestingLevel</tt> is set to
--   ONE. Must be a positive value greater than 0. Default value is 1000.
mdsDocsToInvestigate :: Lens' MongoDBSettings (Maybe Text)

-- | The MongoDB database name. This attribute is not used when
--   <tt>authType=NO</tt> . The default is admin.
mdsAuthSource :: Lens' MongoDBSettings (Maybe Text)

-- | Specifies the document ID. Use this attribute when
--   <tt>NestingLevel</tt> is set to NONE. Default value is false.
mdsExtractDocId :: Lens' MongoDBSettings (Maybe Text)

-- | The authentication type you use to access the MongoDB source endpoint.
--   Valid values: NO, PASSWORD When NO is selected, user name and password
--   parameters are not used and can be empty.
mdsAuthType :: Lens' MongoDBSettings (Maybe AuthTypeValue)

-- | The port value for the MongoDB source endpoint.
mdsPort :: Lens' MongoDBSettings (Maybe Int)

-- | <i>See:</i> <a>orderableReplicationInstance</a> smart constructor.
data OrderableReplicationInstance

-- | Creates a value of <a>OrderableReplicationInstance</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>oriEngineVersion</a> - The version of the replication
--   engine.</li>
--   <li><a>oriMinAllocatedStorage</a> - The minimum amount of storage (in
--   gigabytes) that can be allocated for the replication instance.</li>
--   <li><a>oriIncludedAllocatedStorage</a> - The amount of storage (in
--   gigabytes) that is allocated for the replication instance.</li>
--   <li><a>oriMaxAllocatedStorage</a> - The minimum amount of storage (in
--   gigabytes) that can be allocated for the replication instance.</li>
--   <li><a>oriReplicationInstanceClass</a> - The compute and memory
--   capacity of the replication instance. Valid Values: <tt>dms.t2.micro |
--   dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large |
--   dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge </tt></li>
--   <li><a>oriDefaultAllocatedStorage</a> - The default amount of storage
--   (in gigabytes) that is allocated for the replication instance.</li>
--   <li><a>oriStorageType</a> - The type of storage used by the
--   replication instance.</li>
--   </ul>
orderableReplicationInstance :: OrderableReplicationInstance

-- | The version of the replication engine.
oriEngineVersion :: Lens' OrderableReplicationInstance (Maybe Text)

-- | The minimum amount of storage (in gigabytes) that can be allocated for
--   the replication instance.
oriMinAllocatedStorage :: Lens' OrderableReplicationInstance (Maybe Int)

-- | The amount of storage (in gigabytes) that is allocated for the
--   replication instance.
oriIncludedAllocatedStorage :: Lens' OrderableReplicationInstance (Maybe Int)

-- | The minimum amount of storage (in gigabytes) that can be allocated for
--   the replication instance.
oriMaxAllocatedStorage :: Lens' OrderableReplicationInstance (Maybe Int)

-- | The compute and memory capacity of the replication instance. Valid
--   Values: <tt>dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large
--   | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge </tt>
oriReplicationInstanceClass :: Lens' OrderableReplicationInstance (Maybe Text)

-- | The default amount of storage (in gigabytes) that is allocated for the
--   replication instance.
oriDefaultAllocatedStorage :: Lens' OrderableReplicationInstance (Maybe Int)

-- | The type of storage used by the replication instance.
oriStorageType :: Lens' OrderableReplicationInstance (Maybe Text)

-- | <i>See:</i> <a>refreshSchemasStatus</a> smart constructor.
data RefreshSchemasStatus

-- | Creates a value of <a>RefreshSchemasStatus</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rssStatus</a> - The status of the schema.</li>
--   <li><a>rssLastRefreshDate</a> - The date the schema was last
--   refreshed.</li>
--   <li><a>rssReplicationInstanceARN</a> - The Amazon Resource Name (ARN)
--   of the replication instance.</li>
--   <li><a>rssEndpointARN</a> - The Amazon Resource Name (ARN) string that
--   uniquely identifies the endpoint.</li>
--   <li><a>rssLastFailureMessage</a> - The last failure message for the
--   schema.</li>
--   </ul>
refreshSchemasStatus :: RefreshSchemasStatus

-- | The status of the schema.
rssStatus :: Lens' RefreshSchemasStatus (Maybe RefreshSchemasStatusTypeValue)

-- | The date the schema was last refreshed.
rssLastRefreshDate :: Lens' RefreshSchemasStatus (Maybe UTCTime)

-- | The Amazon Resource Name (ARN) of the replication instance.
rssReplicationInstanceARN :: Lens' RefreshSchemasStatus (Maybe Text)

-- | The Amazon Resource Name (ARN) string that uniquely identifies the
--   endpoint.
rssEndpointARN :: Lens' RefreshSchemasStatus (Maybe Text)

-- | The last failure message for the schema.
rssLastFailureMessage :: Lens' RefreshSchemasStatus (Maybe Text)

-- | <i>See:</i> <a>replicationInstance</a> smart constructor.
data ReplicationInstance

-- | Creates a value of <a>ReplicationInstance</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>riEngineVersion</a> - The engine version number of the
--   replication instance.</li>
--   <li><a>riPubliclyAccessible</a> - Specifies the accessibility options
--   for the replication instance. A value of <tt>true</tt> represents an
--   instance with a public IP address. A value of <tt>false</tt>
--   represents an instance with a private IP address. The default value is
--   <tt>true</tt> .</li>
--   <li><a>riAutoMinorVersionUpgrade</a> - Boolean value indicating if
--   minor version upgrades will be automatically applied to the
--   instance.</li>
--   <li><a>riReplicationInstancePublicIPAddresses</a> - The public IP
--   address of the replication instance.</li>
--   <li><a>riReplicationSubnetGroup</a> - The subnet group for the
--   replication instance.</li>
--   <li><a>riInstanceCreateTime</a> - The time the replication instance
--   was created.</li>
--   <li><a>riFreeUntil</a> - The expiration date of the free replication
--   instance that is part of the Free DMS program.</li>
--   <li><a>riReplicationInstanceStatus</a> - The status of the replication
--   instance.</li>
--   <li><a>riReplicationInstancePrivateIPAddresses</a> - The private IP
--   address of the replication instance.</li>
--   <li><a>riPreferredMaintenanceWindow</a> - The maintenance window times
--   for the replication instance.</li>
--   <li><a>riReplicationInstancePrivateIPAddress</a> - The private IP
--   address of the replication instance.</li>
--   <li><a>riKMSKeyId</a> - The KMS key identifier that is 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.</li>
--   <li><a>riAvailabilityZone</a> - The Availability Zone for the
--   instance.</li>
--   <li><a>riVPCSecurityGroups</a> - The VPC security group for the
--   instance.</li>
--   <li><a>riMultiAZ</a> - Specifies if the replication instance is a
--   Multi-AZ deployment. You cannot set the <tt>AvailabilityZone</tt>
--   parameter if the Multi-AZ parameter is set to <tt>true</tt> .</li>
--   <li><a>riSecondaryAvailabilityZone</a> - The availability zone of the
--   standby replication instance in a Multi-AZ deployment.</li>
--   <li><a>riReplicationInstanceARN</a> - The Amazon Resource Name (ARN)
--   of the replication instance.</li>
--   <li><a>riAllocatedStorage</a> - The amount of storage (in gigabytes)
--   that is allocated for the replication instance.</li>
--   <li><a>riReplicationInstancePublicIPAddress</a> - The public IP
--   address of the replication instance.</li>
--   <li><a>riReplicationInstanceClass</a> - The compute and memory
--   capacity of the replication instance. Valid Values: <tt>dms.t2.micro |
--   dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large |
--   dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge </tt></li>
--   <li><a>riReplicationInstanceIdentifier</a> - 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:
--   <tt>myrepinstance</tt></li>
--   <li><a>riPendingModifiedValues</a> - The pending modification
--   values.</li>
--   </ul>
replicationInstance :: ReplicationInstance

-- | The engine version number of the replication instance.
riEngineVersion :: Lens' ReplicationInstance (Maybe Text)

-- | Specifies the accessibility options for the replication instance. A
--   value of <tt>true</tt> represents an instance with a public IP
--   address. A value of <tt>false</tt> represents an instance with a
--   private IP address. The default value is <tt>true</tt> .
riPubliclyAccessible :: Lens' ReplicationInstance (Maybe Bool)

-- | Boolean value indicating if minor version upgrades will be
--   automatically applied to the instance.
riAutoMinorVersionUpgrade :: Lens' ReplicationInstance (Maybe Bool)

-- | The public IP address of the replication instance.
riReplicationInstancePublicIPAddresses :: Lens' ReplicationInstance [Text]

-- | The subnet group for the replication instance.
riReplicationSubnetGroup :: Lens' ReplicationInstance (Maybe ReplicationSubnetGroup)

-- | The time the replication instance was created.
riInstanceCreateTime :: Lens' ReplicationInstance (Maybe UTCTime)

-- | The expiration date of the free replication instance that is part of
--   the Free DMS program.
riFreeUntil :: Lens' ReplicationInstance (Maybe UTCTime)

-- | The status of the replication instance.
riReplicationInstanceStatus :: Lens' ReplicationInstance (Maybe Text)

-- | The private IP address of the replication instance.
riReplicationInstancePrivateIPAddresses :: Lens' ReplicationInstance [Text]

-- | The maintenance window times for the replication instance.
riPreferredMaintenanceWindow :: Lens' ReplicationInstance (Maybe Text)

-- | The private IP address of the replication instance.
riReplicationInstancePrivateIPAddress :: Lens' ReplicationInstance (Maybe Text)

-- | The KMS key identifier that is 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.
riKMSKeyId :: Lens' ReplicationInstance (Maybe Text)

-- | The Availability Zone for the instance.
riAvailabilityZone :: Lens' ReplicationInstance (Maybe Text)

-- | The VPC security group for the instance.
riVPCSecurityGroups :: Lens' ReplicationInstance [VPCSecurityGroupMembership]

-- | Specifies if the replication instance is a Multi-AZ deployment. You
--   cannot set the <tt>AvailabilityZone</tt> parameter if the Multi-AZ
--   parameter is set to <tt>true</tt> .
riMultiAZ :: Lens' ReplicationInstance (Maybe Bool)

-- | The availability zone of the standby replication instance in a
--   Multi-AZ deployment.
riSecondaryAvailabilityZone :: Lens' ReplicationInstance (Maybe Text)

-- | The Amazon Resource Name (ARN) of the replication instance.
riReplicationInstanceARN :: Lens' ReplicationInstance (Maybe Text)

-- | The amount of storage (in gigabytes) that is allocated for the
--   replication instance.
riAllocatedStorage :: Lens' ReplicationInstance (Maybe Int)

-- | The public IP address of the replication instance.
riReplicationInstancePublicIPAddress :: Lens' ReplicationInstance (Maybe Text)

-- | The compute and memory capacity of the replication instance. Valid
--   Values: <tt>dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large
--   | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge </tt>
riReplicationInstanceClass :: Lens' ReplicationInstance (Maybe Text)

-- | 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: <tt>myrepinstance</tt>
riReplicationInstanceIdentifier :: Lens' ReplicationInstance (Maybe Text)

-- | The pending modification values.
riPendingModifiedValues :: Lens' ReplicationInstance (Maybe ReplicationPendingModifiedValues)

-- | Contains metadata for a replication instance task log.
--   
--   <i>See:</i> <a>replicationInstanceTaskLog</a> smart constructor.
data ReplicationInstanceTaskLog

-- | Creates a value of <a>ReplicationInstanceTaskLog</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ritlReplicationTaskName</a> - The name of the replication
--   task.</li>
--   <li><a>ritlReplicationTaskARN</a> - The Amazon Resource Name (ARN) of
--   the replication task.</li>
--   <li><a>ritlReplicationInstanceTaskLogSize</a> - The size, in bytes, of
--   the replication task log.</li>
--   </ul>
replicationInstanceTaskLog :: ReplicationInstanceTaskLog

-- | The name of the replication task.
ritlReplicationTaskName :: Lens' ReplicationInstanceTaskLog (Maybe Text)

-- | The Amazon Resource Name (ARN) of the replication task.
ritlReplicationTaskARN :: Lens' ReplicationInstanceTaskLog (Maybe Text)

-- | The size, in bytes, of the replication task log.
ritlReplicationInstanceTaskLogSize :: Lens' ReplicationInstanceTaskLog (Maybe Integer)

-- | <i>See:</i> <a>replicationPendingModifiedValues</a> smart constructor.
data ReplicationPendingModifiedValues

-- | Creates a value of <a>ReplicationPendingModifiedValues</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rpmvEngineVersion</a> - The engine version number of the
--   replication instance.</li>
--   <li><a>rpmvMultiAZ</a> - Specifies if the replication instance is a
--   Multi-AZ deployment. You cannot set the <tt>AvailabilityZone</tt>
--   parameter if the Multi-AZ parameter is set to <tt>true</tt> .</li>
--   <li><a>rpmvAllocatedStorage</a> - The amount of storage (in gigabytes)
--   that is allocated for the replication instance.</li>
--   <li><a>rpmvReplicationInstanceClass</a> - The compute and memory
--   capacity of the replication instance. Valid Values: <tt>dms.t2.micro |
--   dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large |
--   dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge </tt></li>
--   </ul>
replicationPendingModifiedValues :: ReplicationPendingModifiedValues

-- | The engine version number of the replication instance.
rpmvEngineVersion :: Lens' ReplicationPendingModifiedValues (Maybe Text)

-- | Specifies if the replication instance is a Multi-AZ deployment. You
--   cannot set the <tt>AvailabilityZone</tt> parameter if the Multi-AZ
--   parameter is set to <tt>true</tt> .
rpmvMultiAZ :: Lens' ReplicationPendingModifiedValues (Maybe Bool)

-- | The amount of storage (in gigabytes) that is allocated for the
--   replication instance.
rpmvAllocatedStorage :: Lens' ReplicationPendingModifiedValues (Maybe Int)

-- | The compute and memory capacity of the replication instance. Valid
--   Values: <tt>dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large
--   | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge </tt>
rpmvReplicationInstanceClass :: Lens' ReplicationPendingModifiedValues (Maybe Text)

-- | <i>See:</i> <a>replicationSubnetGroup</a> smart constructor.
data ReplicationSubnetGroup

-- | Creates a value of <a>ReplicationSubnetGroup</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rsgVPCId</a> - The ID of the VPC.</li>
--   <li><a>rsgSubnets</a> - The subnets that are in the subnet group.</li>
--   <li><a>rsgReplicationSubnetGroupIdentifier</a> - The identifier of the
--   replication instance subnet group.</li>
--   <li><a>rsgSubnetGroupStatus</a> - The status of the subnet group.</li>
--   <li><a>rsgReplicationSubnetGroupDescription</a> - The description of
--   the replication subnet group.</li>
--   </ul>
replicationSubnetGroup :: ReplicationSubnetGroup

-- | The ID of the VPC.
rsgVPCId :: Lens' ReplicationSubnetGroup (Maybe Text)

-- | The subnets that are in the subnet group.
rsgSubnets :: Lens' ReplicationSubnetGroup [Subnet]

-- | The identifier of the replication instance subnet group.
rsgReplicationSubnetGroupIdentifier :: Lens' ReplicationSubnetGroup (Maybe Text)

-- | The status of the subnet group.
rsgSubnetGroupStatus :: Lens' ReplicationSubnetGroup (Maybe Text)

-- | The description of the replication subnet group.
rsgReplicationSubnetGroupDescription :: Lens' ReplicationSubnetGroup (Maybe Text)

-- | <i>See:</i> <a>replicationTask</a> smart constructor.
data ReplicationTask

-- | Creates a value of <a>ReplicationTask</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rReplicationTaskSettings</a> - The settings for the replication
--   task.</li>
--   <li><a>rStatus</a> - The status of the replication task.</li>
--   <li><a>rStopReason</a> - The reason the replication task was
--   stopped.</li>
--   <li><a>rTargetEndpointARN</a> - The Amazon Resource Name (ARN) string
--   that uniquely identifies the endpoint.</li>
--   <li><a>rReplicationTaskIdentifier</a> - The replication task
--   identifier. Constraints: * Must contain from 1 to 255 alphanumeric
--   characters or hyphens. * First character must be a letter. * Cannot
--   end with a hyphen or contain two consecutive hyphens.</li>
--   <li><a>rCdcStartPosition</a> - Indicates when you want a change data
--   capture (CDC) operation to start. Use either CdcStartPosition or
--   CdcStartTime to specify when you want a CDC operation to start.
--   Specifying both values results in an error. The value can be in date,
--   checkpoint, or LSN/SCN format. Date Example: --cdc-start-position
--   “2018-03-08T12:12:12” Checkpoint Example: --cdc-start-position
--   "checkpoint:V1mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:187600#93"
--   LSN Example: --cdc-start-position
--   “mysql-bin-changelog.000024:373”</li>
--   <li><a>rReplicationTaskStartDate</a> - The date the replication task
--   is scheduled to start.</li>
--   <li><a>rSourceEndpointARN</a> - The Amazon Resource Name (ARN) string
--   that uniquely identifies the endpoint.</li>
--   <li><a>rRecoveryCheckpoint</a> - Indicates the last checkpoint that
--   occurred during a change data capture (CDC) operation. You can provide
--   this value to the <tt>CdcStartPosition</tt> parameter to start a CDC
--   operation that begins at that checkpoint.</li>
--   <li><a>rTableMappings</a> - Table mappings specified in the task.</li>
--   <li><a>rReplicationTaskCreationDate</a> - The date the replication
--   task was created.</li>
--   <li><a>rMigrationType</a> - The type of migration.</li>
--   <li><a>rReplicationTaskARN</a> - The Amazon Resource Name (ARN) of the
--   replication task.</li>
--   <li><a>rCdcStopPosition</a> - Indicates when you want a change data
--   capture (CDC) operation to stop. The value can be either server time
--   or commit time. Server time example: --cdc-stop-position
--   “server_time:3018-02-09T12:12:12” Commit time example:
--   --cdc-stop-position “commit_time: 3018-02-09T12:12:12 “</li>
--   <li><a>rReplicationTaskStats</a> - The statistics for the task,
--   including elapsed time, tables loaded, and table errors.</li>
--   <li><a>rReplicationInstanceARN</a> - The Amazon Resource Name (ARN) of
--   the replication instance.</li>
--   <li><a>rLastFailureMessage</a> - The last error (failure) message
--   generated for the replication instance.</li>
--   </ul>
replicationTask :: ReplicationTask

-- | The settings for the replication task.
rReplicationTaskSettings :: Lens' ReplicationTask (Maybe Text)

-- | The status of the replication task.
rStatus :: Lens' ReplicationTask (Maybe Text)

-- | The reason the replication task was stopped.
rStopReason :: Lens' ReplicationTask (Maybe Text)

-- | The Amazon Resource Name (ARN) string that uniquely identifies the
--   endpoint.
rTargetEndpointARN :: Lens' ReplicationTask (Maybe Text)

-- | The replication task identifier. Constraints: * Must contain from 1 to
--   255 alphanumeric characters or hyphens. * First character must be a
--   letter. * Cannot end with a hyphen or contain two consecutive hyphens.
rReplicationTaskIdentifier :: Lens' ReplicationTask (Maybe Text)

-- | Indicates when you want a change data capture (CDC) operation to
--   start. Use either CdcStartPosition or CdcStartTime to specify when you
--   want a CDC operation to start. Specifying both values results in an
--   error. The value can be in date, checkpoint, or LSN/SCN format. Date
--   Example: --cdc-start-position “2018-03-08T12:12:12” Checkpoint
--   Example: --cdc-start-position
--   "checkpoint:V1mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:187600#93"
--   LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”
rCdcStartPosition :: Lens' ReplicationTask (Maybe Text)

-- | The date the replication task is scheduled to start.
rReplicationTaskStartDate :: Lens' ReplicationTask (Maybe UTCTime)

-- | The Amazon Resource Name (ARN) string that uniquely identifies the
--   endpoint.
rSourceEndpointARN :: Lens' ReplicationTask (Maybe Text)

-- | Indicates the last checkpoint that occurred during a change data
--   capture (CDC) operation. You can provide this value to the
--   <tt>CdcStartPosition</tt> parameter to start a CDC operation that
--   begins at that checkpoint.
rRecoveryCheckpoint :: Lens' ReplicationTask (Maybe Text)

-- | Table mappings specified in the task.
rTableMappings :: Lens' ReplicationTask (Maybe Text)

-- | The date the replication task was created.
rReplicationTaskCreationDate :: Lens' ReplicationTask (Maybe UTCTime)

-- | The type of migration.
rMigrationType :: Lens' ReplicationTask (Maybe MigrationTypeValue)

-- | The Amazon Resource Name (ARN) of the replication task.
rReplicationTaskARN :: Lens' ReplicationTask (Maybe Text)

-- | Indicates when you want a change data capture (CDC) operation to stop.
--   The value can be either server time or commit time. Server time
--   example: --cdc-stop-position “server_time:3018-02-09T12:12:12” Commit
--   time example: --cdc-stop-position “commit_time: 3018-02-09T12:12:12 “
rCdcStopPosition :: Lens' ReplicationTask (Maybe Text)

-- | The statistics for the task, including elapsed time, tables loaded,
--   and table errors.
rReplicationTaskStats :: Lens' ReplicationTask (Maybe ReplicationTaskStats)

-- | The Amazon Resource Name (ARN) of the replication instance.
rReplicationInstanceARN :: Lens' ReplicationTask (Maybe Text)

-- | The last error (failure) message generated for the replication
--   instance.
rLastFailureMessage :: Lens' ReplicationTask (Maybe Text)

-- | The task assessment report in JSON format.
--   
--   <i>See:</i> <a>replicationTaskAssessmentResult</a> smart constructor.
data ReplicationTaskAssessmentResult

-- | Creates a value of <a>ReplicationTaskAssessmentResult</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rtarAssessmentResults</a> - The task assessment results in JSON
--   format.</li>
--   <li><a>rtarAssessmentResultsFile</a> - The file containing the results
--   of the task assessment.</li>
--   <li><a>rtarReplicationTaskIdentifier</a> - The replication task
--   identifier of the task on which the task assessment was run.</li>
--   <li><a>rtarAssessmentStatus</a> - The status of the task
--   assessment.</li>
--   <li><a>rtarS3ObjectURL</a> - The URL of the S3 object containing the
--   task assessment results.</li>
--   <li><a>rtarReplicationTaskLastAssessmentDate</a> - The date the task
--   assessment was completed.</li>
--   <li><a>rtarReplicationTaskARN</a> - The Amazon Resource Name (ARN) of
--   the replication task.</li>
--   </ul>
replicationTaskAssessmentResult :: ReplicationTaskAssessmentResult

-- | The task assessment results in JSON format.
rtarAssessmentResults :: Lens' ReplicationTaskAssessmentResult (Maybe Text)

-- | The file containing the results of the task assessment.
rtarAssessmentResultsFile :: Lens' ReplicationTaskAssessmentResult (Maybe Text)

-- | The replication task identifier of the task on which the task
--   assessment was run.
rtarReplicationTaskIdentifier :: Lens' ReplicationTaskAssessmentResult (Maybe Text)

-- | The status of the task assessment.
rtarAssessmentStatus :: Lens' ReplicationTaskAssessmentResult (Maybe Text)

-- | The URL of the S3 object containing the task assessment results.
rtarS3ObjectURL :: Lens' ReplicationTaskAssessmentResult (Maybe Text)

-- | The date the task assessment was completed.
rtarReplicationTaskLastAssessmentDate :: Lens' ReplicationTaskAssessmentResult (Maybe UTCTime)

-- | The Amazon Resource Name (ARN) of the replication task.
rtarReplicationTaskARN :: Lens' ReplicationTaskAssessmentResult (Maybe Text)

-- | <i>See:</i> <a>replicationTaskStats</a> smart constructor.
data ReplicationTaskStats

-- | Creates a value of <a>ReplicationTaskStats</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rtsFullLoadProgressPercent</a> - The percent complete for the
--   full load migration task.</li>
--   <li><a>rtsElapsedTimeMillis</a> - The elapsed time of the task, in
--   milliseconds.</li>
--   <li><a>rtsTablesErrored</a> - The number of errors that have occurred
--   during this task.</li>
--   <li><a>rtsTablesLoaded</a> - The number of tables loaded for this
--   task.</li>
--   <li><a>rtsTablesQueued</a> - The number of tables queued for this
--   task.</li>
--   <li><a>rtsTablesLoading</a> - The number of tables currently loading
--   for this task.</li>
--   </ul>
replicationTaskStats :: ReplicationTaskStats

-- | The percent complete for the full load migration task.
rtsFullLoadProgressPercent :: Lens' ReplicationTaskStats (Maybe Int)

-- | The elapsed time of the task, in milliseconds.
rtsElapsedTimeMillis :: Lens' ReplicationTaskStats (Maybe Integer)

-- | The number of errors that have occurred during this task.
rtsTablesErrored :: Lens' ReplicationTaskStats (Maybe Int)

-- | The number of tables loaded for this task.
rtsTablesLoaded :: Lens' ReplicationTaskStats (Maybe Int)

-- | The number of tables queued for this task.
rtsTablesQueued :: Lens' ReplicationTaskStats (Maybe Int)

-- | The number of tables currently loading for this task.
rtsTablesLoading :: Lens' ReplicationTaskStats (Maybe Int)

-- | <i>See:</i> <a>s3Settings</a> smart constructor.
data S3Settings

-- | Creates a value of <a>S3Settings</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ssCSVDelimiter</a> - The delimiter used to separate columns in
--   the source files. The default is a comma.</li>
--   <li><a>ssServiceAccessRoleARN</a> - The Amazon Resource Name (ARN)
--   used by the service access IAM role.</li>
--   <li><a>ssBucketFolder</a> - An optional parameter to set a folder name
--   in the S3 bucket. If provided, tables are created in the path
--   <a>bucketFolder</a><i><a>schema_name</a></i><a>table_name</a><i>. If
--   this parameter is not specified, then the path used is
--   <a>schema_name</a></i><a>table_name</a>/.</li>
--   <li><a>ssExternalTableDefinition</a> - The external table
--   definition.</li>
--   <li><a>ssBucketName</a> - The name of the S3 bucket.</li>
--   <li><a>ssCSVRowDelimiter</a> - The delimiter used to separate rows in
--   the source files. The default is a carriage return (n).</li>
--   <li><a>ssCompressionType</a> - An optional parameter to use GZIP to
--   compress the target files. Set to GZIP to compress the target files.
--   Set to NONE (the default) or do not use to leave the files
--   uncompressed.</li>
--   </ul>
s3Settings :: S3Settings

-- | The delimiter used to separate columns in the source files. The
--   default is a comma.
ssCSVDelimiter :: Lens' S3Settings (Maybe Text)

-- | The Amazon Resource Name (ARN) used by the service access IAM role.
ssServiceAccessRoleARN :: Lens' S3Settings (Maybe Text)

-- | An optional parameter to set a folder name in the S3 bucket. If
--   provided, tables are created in the path
--   <a>bucketFolder</a><i><a>schema_name</a></i><a>table_name</a><i>. If
--   this parameter is not specified, then the path used is
--   <a>schema_name</a></i><a>table_name</a>/.
ssBucketFolder :: Lens' S3Settings (Maybe Text)

-- | The external table definition.
ssExternalTableDefinition :: Lens' S3Settings (Maybe Text)

-- | The name of the S3 bucket.
ssBucketName :: Lens' S3Settings (Maybe Text)

-- | The delimiter used to separate rows in the source files. The default
--   is a carriage return (n).
ssCSVRowDelimiter :: Lens' S3Settings (Maybe Text)

-- | An optional parameter to use GZIP to compress the target files. Set to
--   GZIP to compress the target files. Set to NONE (the default) or do not
--   use to leave the files uncompressed.
ssCompressionType :: Lens' S3Settings (Maybe CompressionTypeValue)

-- | <i>See:</i> <a>subnet</a> smart constructor.
data Subnet

-- | Creates a value of <a>Subnet</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sSubnetStatus</a> - The status of the subnet.</li>
--   <li><a>sSubnetIdentifier</a> - The subnet identifier.</li>
--   <li><a>sSubnetAvailabilityZone</a> - The Availability Zone of the
--   subnet.</li>
--   </ul>
subnet :: Subnet

-- | The status of the subnet.
sSubnetStatus :: Lens' Subnet (Maybe Text)

-- | The subnet identifier.
sSubnetIdentifier :: Lens' Subnet (Maybe Text)

-- | The Availability Zone of the subnet.
sSubnetAvailabilityZone :: Lens' Subnet (Maybe AvailabilityZone)

-- | <i>See:</i> <a>supportedEndpointType</a> smart constructor.
data SupportedEndpointType

-- | Creates a value of <a>SupportedEndpointType</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>setEngineDisplayName</a> - The expanded name for the engine
--   name. For example, if the <tt>EngineName</tt> parameter is "aurora,"
--   this value would be "Amazon Aurora MySQL."</li>
--   <li><a>setEndpointType</a> - The type of endpoint.</li>
--   <li><a>setEngineName</a> - The database engine name. Valid values,
--   depending on the EndPointType, include mysql, oracle, postgres,
--   mariadb, aurora, aurora-postgresql, redshift, s3, db2, azuredb,
--   sybase, sybase, dynamodb, mongodb, and sqlserver.</li>
--   <li><a>setSupportsCDC</a> - Indicates if Change Data Capture (CDC) is
--   supported.</li>
--   </ul>
supportedEndpointType :: SupportedEndpointType

-- | The expanded name for the engine name. For example, if the
--   <tt>EngineName</tt> parameter is "aurora," this value would be "Amazon
--   Aurora MySQL."
setEngineDisplayName :: Lens' SupportedEndpointType (Maybe Text)

-- | The type of endpoint.
setEndpointType :: Lens' SupportedEndpointType (Maybe ReplicationEndpointTypeValue)

-- | The database engine name. Valid values, depending on the EndPointType,
--   include mysql, oracle, postgres, mariadb, aurora, aurora-postgresql,
--   redshift, s3, db2, azuredb, sybase, sybase, dynamodb, mongodb, and
--   sqlserver.
setEngineName :: Lens' SupportedEndpointType (Maybe Text)

-- | Indicates if Change Data Capture (CDC) is supported.
setSupportsCDC :: Lens' SupportedEndpointType (Maybe Bool)

-- | <i>See:</i> <a>tableStatistics</a> smart constructor.
data TableStatistics

-- | Creates a value of <a>TableStatistics</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tsValidationState</a> - The validation state of the table. The
--   parameter can have the following values * Not enabled—Validation is
--   not enabled for the table in the migration task. * Pending
--   records—Some records in the table are waiting for validation. *
--   Mismatched records—Some records in the table do not match between the
--   source and target. * Suspended records—Some records in the table could
--   not be validated. * No primary key—The table could not be validated
--   because it had no primary key. * Table error—The table was not
--   validated because it was in an error state and some data was not
--   migrated. * Validated—All rows in the table were validated. If the
--   table is updated, the status can change from Validated. * Error—The
--   table could not be validated because of an unexpected error.</li>
--   <li><a>tsFullLoadRows</a> - The number of rows added during the Full
--   Load operation.</li>
--   <li><a>tsInserts</a> - The number of insert actions performed on a
--   table.</li>
--   <li><a>tsFullLoadCondtnlChkFailedRows</a> - The number of rows that
--   failed conditional checks during the Full Load operation (valid only
--   for DynamoDB as a target migrations).</li>
--   <li><a>tsValidationFailedRecords</a> - The number of records that
--   failed validation.</li>
--   <li><a>tsValidationSuspendedRecords</a> - The number of records that
--   could not be validated.</li>
--   <li><a>tsSchemaName</a> - The schema name.</li>
--   <li><a>tsTableState</a> - The state of the tables described. Valid
--   states: Table does not exist | Before load | Full load | Table
--   completed | Table cancelled | Table error | Table all | Table updates
--   | Table is being reloaded</li>
--   <li><a>tsFullLoadErrorRows</a> - The number of rows that failed to
--   load during the Full Load operation (valid only for DynamoDB as a
--   target migrations).</li>
--   <li><a>tsDdls</a> - The Data Definition Language (DDL) used to build
--   and modify the structure of your tables.</li>
--   <li><a>tsDeletes</a> - The number of delete actions performed on a
--   table.</li>
--   <li><a>tsUpdates</a> - The number of update actions performed on a
--   table.</li>
--   <li><a>tsValidationPendingRecords</a> - The number of records that
--   have yet to be validated.</li>
--   <li><a>tsLastUpdateTime</a> - The last time the table was
--   updated.</li>
--   <li><a>tsTableName</a> - The name of the table.</li>
--   </ul>
tableStatistics :: TableStatistics

-- | The validation state of the table. The parameter can have the
--   following values * Not enabled—Validation is not enabled for the table
--   in the migration task. * Pending records—Some records in the table are
--   waiting for validation. * Mismatched records—Some records in the table
--   do not match between the source and target. * Suspended records—Some
--   records in the table could not be validated. * No primary key—The
--   table could not be validated because it had no primary key. * Table
--   error—The table was not validated because it was in an error state and
--   some data was not migrated. * Validated—All rows in the table were
--   validated. If the table is updated, the status can change from
--   Validated. * Error—The table could not be validated because of an
--   unexpected error.
tsValidationState :: Lens' TableStatistics (Maybe Text)

-- | The number of rows added during the Full Load operation.
tsFullLoadRows :: Lens' TableStatistics (Maybe Integer)

-- | The number of insert actions performed on a table.
tsInserts :: Lens' TableStatistics (Maybe Integer)

-- | The number of rows that failed conditional checks during the Full Load
--   operation (valid only for DynamoDB as a target migrations).
tsFullLoadCondtnlChkFailedRows :: Lens' TableStatistics (Maybe Integer)

-- | The number of records that failed validation.
tsValidationFailedRecords :: Lens' TableStatistics (Maybe Integer)

-- | The number of records that could not be validated.
tsValidationSuspendedRecords :: Lens' TableStatistics (Maybe Integer)

-- | The schema name.
tsSchemaName :: Lens' TableStatistics (Maybe Text)

-- | The state of the tables described. Valid states: Table does not exist
--   | Before load | Full load | Table completed | Table cancelled | Table
--   error | Table all | Table updates | Table is being reloaded
tsTableState :: Lens' TableStatistics (Maybe Text)

-- | The number of rows that failed to load during the Full Load operation
--   (valid only for DynamoDB as a target migrations).
tsFullLoadErrorRows :: Lens' TableStatistics (Maybe Integer)

-- | The Data Definition Language (DDL) used to build and modify the
--   structure of your tables.
tsDdls :: Lens' TableStatistics (Maybe Integer)

-- | The number of delete actions performed on a table.
tsDeletes :: Lens' TableStatistics (Maybe Integer)

-- | The number of update actions performed on a table.
tsUpdates :: Lens' TableStatistics (Maybe Integer)

-- | The number of records that have yet to be validated.
tsValidationPendingRecords :: Lens' TableStatistics (Maybe Integer)

-- | The last time the table was updated.
tsLastUpdateTime :: Lens' TableStatistics (Maybe UTCTime)

-- | The name of the table.
tsTableName :: Lens' TableStatistics (Maybe Text)

-- | <i>See:</i> <a>tableToReload</a> smart constructor.
data TableToReload

-- | Creates a value of <a>TableToReload</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ttrSchemaName</a> - The schema name of the table to be
--   reloaded.</li>
--   <li><a>ttrTableName</a> - The table name of the table to be
--   reloaded.</li>
--   </ul>
tableToReload :: TableToReload

-- | The schema name of the table to be reloaded.
ttrSchemaName :: Lens' TableToReload (Maybe Text)

-- | The table name of the table to be reloaded.
ttrTableName :: Lens' TableToReload (Maybe Text)

-- | <i>See:</i> <a>tag</a> smart constructor.
data Tag

-- | Creates a value of <a>Tag</a> with the minimum fields required to make
--   a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tagValue</a> - A value is the optional value of the tag. The
--   string value can be from 1 to 256 Unicode characters in length and
--   cannot be prefixed with "aws:" or "dms:". The string can only contain
--   only the set of Unicode letters, digits, white-space, '_', <a>.</a>,
--   <a>/</a>, '=', <a>+</a>, <a>-</a> (Java regex:
--   "^([\p{L}\p{Z}\p{N}_.:/=+\-]*)$").</li>
--   <li><a>tagKey</a> - A key is the required name of the tag. The string
--   value can be from 1 to 128 Unicode characters in length and cannot be
--   prefixed with "aws:" or "dms:". The string can only contain only the
--   set of Unicode letters, digits, white-space, '_', <a>.</a>, <a>/</a>,
--   '=', <a>+</a>, <a>-</a> (Java regex:
--   "^([\p{L}\p{Z}\p{N}_.:/=+\-]*)$").</li>
--   </ul>
tag :: Tag

-- | A value is the optional value of the tag. The string value can be from
--   1 to 256 Unicode characters in length and cannot be prefixed with
--   "aws:" or "dms:". The string can only contain only the set of Unicode
--   letters, digits, white-space, '_', <a>.</a>, <a>/</a>, '=', <a>+</a>,
--   <a>-</a> (Java regex: "^([\p{L}\p{Z}\p{N}_.:/=+\-]*)$").
tagValue :: Lens' Tag (Maybe Text)

-- | A key is the required name of the tag. The string value can be from 1
--   to 128 Unicode characters in length and cannot be prefixed with "aws:"
--   or "dms:". The string can only contain only the set of Unicode
--   letters, digits, white-space, '_', <a>.</a>, <a>/</a>, '=', <a>+</a>,
--   <a>-</a> (Java regex: "^([\p{L}\p{Z}\p{N}_.:/=+\-]*)$").
tagKey :: Lens' Tag (Maybe Text)

-- | <i>See:</i> <a>vpcSecurityGroupMembership</a> smart constructor.
data VPCSecurityGroupMembership

-- | Creates a value of <a>VPCSecurityGroupMembership</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>vsgmStatus</a> - The status of the VPC security group.</li>
--   <li><a>vsgmVPCSecurityGroupId</a> - The VPC security group Id.</li>
--   </ul>
vpcSecurityGroupMembership :: VPCSecurityGroupMembership

-- | The status of the VPC security group.
vsgmStatus :: Lens' VPCSecurityGroupMembership (Maybe Text)

-- | The VPC security group Id.
vsgmVPCSecurityGroupId :: Lens' VPCSecurityGroupMembership (Maybe Text)


-- | Tests the connection between the replication instance and the
--   endpoint.
module Network.AWS.DMS.TestConnection

-- | Creates a value of <a>TestConnection</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tcReplicationInstanceARN</a> - The Amazon Resource Name (ARN)
--   of the replication instance.</li>
--   <li><a>tcEndpointARN</a> - The Amazon Resource Name (ARN) string that
--   uniquely identifies the endpoint.</li>
--   </ul>
testConnection :: Text -> Text -> TestConnection

-- | <i>See:</i> <a>testConnection</a> smart constructor.
data TestConnection

-- | The Amazon Resource Name (ARN) of the replication instance.
tcReplicationInstanceARN :: Lens' TestConnection Text

-- | The Amazon Resource Name (ARN) string that uniquely identifies the
--   endpoint.
tcEndpointARN :: Lens' TestConnection Text

-- | Creates a value of <a>TestConnectionResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tcrsConnection</a> - The connection tested.</li>
--   <li><a>tcrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
testConnectionResponse :: Int -> TestConnectionResponse

-- | <i>See:</i> <a>testConnectionResponse</a> smart constructor.
data TestConnectionResponse

-- | The connection tested.
tcrsConnection :: Lens' TestConnectionResponse (Maybe Connection)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
tcrsResponseStatus :: Lens' TestConnectionResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.TestConnection.TestConnectionResponse
instance Data.Data.Data Network.AWS.DMS.TestConnection.TestConnectionResponse
instance GHC.Show.Show Network.AWS.DMS.TestConnection.TestConnectionResponse
instance GHC.Read.Read Network.AWS.DMS.TestConnection.TestConnectionResponse
instance GHC.Classes.Eq Network.AWS.DMS.TestConnection.TestConnectionResponse
instance GHC.Generics.Generic Network.AWS.DMS.TestConnection.TestConnection
instance Data.Data.Data Network.AWS.DMS.TestConnection.TestConnection
instance GHC.Show.Show Network.AWS.DMS.TestConnection.TestConnection
instance GHC.Read.Read Network.AWS.DMS.TestConnection.TestConnection
instance GHC.Classes.Eq Network.AWS.DMS.TestConnection.TestConnection
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.TestConnection.TestConnection
instance Control.DeepSeq.NFData Network.AWS.DMS.TestConnection.TestConnectionResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.TestConnection.TestConnection
instance Control.DeepSeq.NFData Network.AWS.DMS.TestConnection.TestConnection
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.TestConnection.TestConnection
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.TestConnection.TestConnection
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.TestConnection.TestConnection
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.TestConnection.TestConnection


-- | Stops the replication task.
module Network.AWS.DMS.StopReplicationTask

-- | Creates a value of <a>StopReplicationTask</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sReplicationTaskARN</a> - The Amazon Resource Name(ARN) of the
--   replication task to be stopped.</li>
--   </ul>
stopReplicationTask :: Text -> StopReplicationTask

-- | <i>See:</i> <a>stopReplicationTask</a> smart constructor.
data StopReplicationTask

-- | The Amazon Resource Name(ARN) of the replication task to be stopped.
sReplicationTaskARN :: Lens' StopReplicationTask Text

-- | Creates a value of <a>StopReplicationTaskResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>srsReplicationTask</a> - The replication task stopped.</li>
--   <li><a>srsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
stopReplicationTaskResponse :: Int -> StopReplicationTaskResponse

-- | <i>See:</i> <a>stopReplicationTaskResponse</a> smart constructor.
data StopReplicationTaskResponse

-- | The replication task stopped.
srsReplicationTask :: Lens' StopReplicationTaskResponse (Maybe ReplicationTask)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
srsResponseStatus :: Lens' StopReplicationTaskResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.StopReplicationTask.StopReplicationTaskResponse
instance Data.Data.Data Network.AWS.DMS.StopReplicationTask.StopReplicationTaskResponse
instance GHC.Show.Show Network.AWS.DMS.StopReplicationTask.StopReplicationTaskResponse
instance GHC.Read.Read Network.AWS.DMS.StopReplicationTask.StopReplicationTaskResponse
instance GHC.Classes.Eq Network.AWS.DMS.StopReplicationTask.StopReplicationTaskResponse
instance GHC.Generics.Generic Network.AWS.DMS.StopReplicationTask.StopReplicationTask
instance Data.Data.Data Network.AWS.DMS.StopReplicationTask.StopReplicationTask
instance GHC.Show.Show Network.AWS.DMS.StopReplicationTask.StopReplicationTask
instance GHC.Read.Read Network.AWS.DMS.StopReplicationTask.StopReplicationTask
instance GHC.Classes.Eq Network.AWS.DMS.StopReplicationTask.StopReplicationTask
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.StopReplicationTask.StopReplicationTask
instance Control.DeepSeq.NFData Network.AWS.DMS.StopReplicationTask.StopReplicationTaskResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.StopReplicationTask.StopReplicationTask
instance Control.DeepSeq.NFData Network.AWS.DMS.StopReplicationTask.StopReplicationTask
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.StopReplicationTask.StopReplicationTask
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.StopReplicationTask.StopReplicationTask
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.StopReplicationTask.StopReplicationTask
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.StopReplicationTask.StopReplicationTask


-- | Starts the replication task assessment for unsupported data types in
--   the source database.
module Network.AWS.DMS.StartReplicationTaskAssessment

-- | Creates a value of <a>StartReplicationTaskAssessment</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>srtaReplicationTaskARN</a> - The Amazon Resource Name (ARN) of
--   the replication task.</li>
--   </ul>
startReplicationTaskAssessment :: Text -> StartReplicationTaskAssessment

-- | <i>See:</i> <a>startReplicationTaskAssessment</a> smart constructor.
data StartReplicationTaskAssessment

-- | The Amazon Resource Name (ARN) of the replication task.
srtaReplicationTaskARN :: Lens' StartReplicationTaskAssessment Text

-- | Creates a value of <a>StartReplicationTaskAssessmentResponse</a> with
--   the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>srtarsReplicationTask</a> - The assessed replication task.</li>
--   <li><a>srtarsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
startReplicationTaskAssessmentResponse :: Int -> StartReplicationTaskAssessmentResponse

-- | <i>See:</i> <a>startReplicationTaskAssessmentResponse</a> smart
--   constructor.
data StartReplicationTaskAssessmentResponse

-- | The assessed replication task.
srtarsReplicationTask :: Lens' StartReplicationTaskAssessmentResponse (Maybe ReplicationTask)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
srtarsResponseStatus :: Lens' StartReplicationTaskAssessmentResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.StartReplicationTaskAssessment.StartReplicationTaskAssessmentResponse
instance Data.Data.Data Network.AWS.DMS.StartReplicationTaskAssessment.StartReplicationTaskAssessmentResponse
instance GHC.Show.Show Network.AWS.DMS.StartReplicationTaskAssessment.StartReplicationTaskAssessmentResponse
instance GHC.Read.Read Network.AWS.DMS.StartReplicationTaskAssessment.StartReplicationTaskAssessmentResponse
instance GHC.Classes.Eq Network.AWS.DMS.StartReplicationTaskAssessment.StartReplicationTaskAssessmentResponse
instance GHC.Generics.Generic Network.AWS.DMS.StartReplicationTaskAssessment.StartReplicationTaskAssessment
instance Data.Data.Data Network.AWS.DMS.StartReplicationTaskAssessment.StartReplicationTaskAssessment
instance GHC.Show.Show Network.AWS.DMS.StartReplicationTaskAssessment.StartReplicationTaskAssessment
instance GHC.Read.Read Network.AWS.DMS.StartReplicationTaskAssessment.StartReplicationTaskAssessment
instance GHC.Classes.Eq Network.AWS.DMS.StartReplicationTaskAssessment.StartReplicationTaskAssessment
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.StartReplicationTaskAssessment.StartReplicationTaskAssessment
instance Control.DeepSeq.NFData Network.AWS.DMS.StartReplicationTaskAssessment.StartReplicationTaskAssessmentResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.StartReplicationTaskAssessment.StartReplicationTaskAssessment
instance Control.DeepSeq.NFData Network.AWS.DMS.StartReplicationTaskAssessment.StartReplicationTaskAssessment
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.StartReplicationTaskAssessment.StartReplicationTaskAssessment
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.StartReplicationTaskAssessment.StartReplicationTaskAssessment
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.StartReplicationTaskAssessment.StartReplicationTaskAssessment
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.StartReplicationTaskAssessment.StartReplicationTaskAssessment


-- | Starts the replication task.
--   
--   For more information about AWS DMS tasks, see the AWS DMS user guide
--   at <a>Working with Migration Tasks</a>
module Network.AWS.DMS.StartReplicationTask

-- | Creates a value of <a>StartReplicationTask</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>srtCdcStartPosition</a> - Indicates when you want a change data
--   capture (CDC) operation to start. Use either CdcStartPosition or
--   CdcStartTime to specify when you want a CDC operation to start.
--   Specifying both values results in an error. The value can be in date,
--   checkpoint, or LSN/SCN format. Date Example: --cdc-start-position
--   “2018-03-08T12:12:12” Checkpoint Example: --cdc-start-position
--   "checkpoint:V1mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:187600#93"
--   LSN Example: --cdc-start-position
--   “mysql-bin-changelog.000024:373”</li>
--   <li><a>srtCdcStopPosition</a> - Indicates when you want a change data
--   capture (CDC) operation to stop. The value can be either server time
--   or commit time. Server time example: --cdc-stop-position
--   “server_time:3018-02-09T12:12:12” Commit time example:
--   --cdc-stop-position “commit_time: 3018-02-09T12:12:12 “</li>
--   <li><a>srtCdcStartTime</a> - Indicates the start time for a change
--   data capture (CDC) operation. Use either CdcStartTime or
--   CdcStartPosition to specify when you want a CDC operation to start.
--   Specifying both values results in an error.</li>
--   <li><a>srtReplicationTaskARN</a> - The Amazon Resource Name (ARN) of
--   the replication task to be started.</li>
--   <li><a>srtStartReplicationTaskType</a> - The type of replication
--   task.</li>
--   </ul>
startReplicationTask :: Text -> StartReplicationTaskTypeValue -> StartReplicationTask

-- | <i>See:</i> <a>startReplicationTask</a> smart constructor.
data StartReplicationTask

-- | Indicates when you want a change data capture (CDC) operation to
--   start. Use either CdcStartPosition or CdcStartTime to specify when you
--   want a CDC operation to start. Specifying both values results in an
--   error. The value can be in date, checkpoint, or LSN/SCN format. Date
--   Example: --cdc-start-position “2018-03-08T12:12:12” Checkpoint
--   Example: --cdc-start-position
--   "checkpoint:V1mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:187600#93"
--   LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”
srtCdcStartPosition :: Lens' StartReplicationTask (Maybe Text)

-- | Indicates when you want a change data capture (CDC) operation to stop.
--   The value can be either server time or commit time. Server time
--   example: --cdc-stop-position “server_time:3018-02-09T12:12:12” Commit
--   time example: --cdc-stop-position “commit_time: 3018-02-09T12:12:12 “
srtCdcStopPosition :: Lens' StartReplicationTask (Maybe Text)

-- | Indicates the start time for a change data capture (CDC) operation.
--   Use either CdcStartTime or CdcStartPosition to specify when you want a
--   CDC operation to start. Specifying both values results in an error.
srtCdcStartTime :: Lens' StartReplicationTask (Maybe UTCTime)

-- | The Amazon Resource Name (ARN) of the replication task to be started.
srtReplicationTaskARN :: Lens' StartReplicationTask Text

-- | The type of replication task.
srtStartReplicationTaskType :: Lens' StartReplicationTask StartReplicationTaskTypeValue

-- | Creates a value of <a>StartReplicationTaskResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>srtrsReplicationTask</a> - The replication task started.</li>
--   <li><a>srtrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
startReplicationTaskResponse :: Int -> StartReplicationTaskResponse

-- | <i>See:</i> <a>startReplicationTaskResponse</a> smart constructor.
data StartReplicationTaskResponse

-- | The replication task started.
srtrsReplicationTask :: Lens' StartReplicationTaskResponse (Maybe ReplicationTask)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
srtrsResponseStatus :: Lens' StartReplicationTaskResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.StartReplicationTask.StartReplicationTaskResponse
instance Data.Data.Data Network.AWS.DMS.StartReplicationTask.StartReplicationTaskResponse
instance GHC.Show.Show Network.AWS.DMS.StartReplicationTask.StartReplicationTaskResponse
instance GHC.Read.Read Network.AWS.DMS.StartReplicationTask.StartReplicationTaskResponse
instance GHC.Classes.Eq Network.AWS.DMS.StartReplicationTask.StartReplicationTaskResponse
instance GHC.Generics.Generic Network.AWS.DMS.StartReplicationTask.StartReplicationTask
instance Data.Data.Data Network.AWS.DMS.StartReplicationTask.StartReplicationTask
instance GHC.Show.Show Network.AWS.DMS.StartReplicationTask.StartReplicationTask
instance GHC.Read.Read Network.AWS.DMS.StartReplicationTask.StartReplicationTask
instance GHC.Classes.Eq Network.AWS.DMS.StartReplicationTask.StartReplicationTask
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.StartReplicationTask.StartReplicationTask
instance Control.DeepSeq.NFData Network.AWS.DMS.StartReplicationTask.StartReplicationTaskResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.StartReplicationTask.StartReplicationTask
instance Control.DeepSeq.NFData Network.AWS.DMS.StartReplicationTask.StartReplicationTask
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.StartReplicationTask.StartReplicationTask
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.StartReplicationTask.StartReplicationTask
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.StartReplicationTask.StartReplicationTask
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.StartReplicationTask.StartReplicationTask


-- | Removes metadata tags from a DMS resource.
module Network.AWS.DMS.RemoveTagsFromResource

-- | Creates a value of <a>RemoveTagsFromResource</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rtfrResourceARN</a> - &gt;The Amazon Resource Name (ARN) of the
--   AWS DMS resource the tag is to be removed from.</li>
--   <li><a>rtfrTagKeys</a> - The tag key (name) of the tag to be
--   removed.</li>
--   </ul>
removeTagsFromResource :: Text -> RemoveTagsFromResource

-- | <i>See:</i> <a>removeTagsFromResource</a> smart constructor.
data RemoveTagsFromResource

-- | <pre>
--   The Amazon Resource Name (ARN) of the AWS DMS resource the tag is to be removed from.
--   </pre>
rtfrResourceARN :: Lens' RemoveTagsFromResource Text

-- | The tag key (name) of the tag to be removed.
rtfrTagKeys :: Lens' RemoveTagsFromResource [Text]

-- | Creates a value of <a>RemoveTagsFromResourceResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rtfrrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
removeTagsFromResourceResponse :: Int -> RemoveTagsFromResourceResponse

-- | <i>See:</i> <a>removeTagsFromResourceResponse</a> smart constructor.
data RemoveTagsFromResourceResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
rtfrrsResponseStatus :: Lens' RemoveTagsFromResourceResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.RemoveTagsFromResource.RemoveTagsFromResourceResponse
instance Data.Data.Data Network.AWS.DMS.RemoveTagsFromResource.RemoveTagsFromResourceResponse
instance GHC.Show.Show Network.AWS.DMS.RemoveTagsFromResource.RemoveTagsFromResourceResponse
instance GHC.Read.Read Network.AWS.DMS.RemoveTagsFromResource.RemoveTagsFromResourceResponse
instance GHC.Classes.Eq Network.AWS.DMS.RemoveTagsFromResource.RemoveTagsFromResourceResponse
instance GHC.Generics.Generic Network.AWS.DMS.RemoveTagsFromResource.RemoveTagsFromResource
instance Data.Data.Data Network.AWS.DMS.RemoveTagsFromResource.RemoveTagsFromResource
instance GHC.Show.Show Network.AWS.DMS.RemoveTagsFromResource.RemoveTagsFromResource
instance GHC.Read.Read Network.AWS.DMS.RemoveTagsFromResource.RemoveTagsFromResource
instance GHC.Classes.Eq Network.AWS.DMS.RemoveTagsFromResource.RemoveTagsFromResource
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.RemoveTagsFromResource.RemoveTagsFromResource
instance Control.DeepSeq.NFData Network.AWS.DMS.RemoveTagsFromResource.RemoveTagsFromResourceResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.RemoveTagsFromResource.RemoveTagsFromResource
instance Control.DeepSeq.NFData Network.AWS.DMS.RemoveTagsFromResource.RemoveTagsFromResource
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.RemoveTagsFromResource.RemoveTagsFromResource
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.RemoveTagsFromResource.RemoveTagsFromResource
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.RemoveTagsFromResource.RemoveTagsFromResource
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.RemoveTagsFromResource.RemoveTagsFromResource


-- | Reloads the target database table with the source data.
module Network.AWS.DMS.ReloadTables

-- | Creates a value of <a>ReloadTables</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rtReplicationTaskARN</a> - The Amazon Resource Name (ARN) of
--   the replication instance.</li>
--   <li><a>rtTablesToReload</a> - The name and schema of the table to be
--   reloaded.</li>
--   </ul>
reloadTables :: Text -> ReloadTables

-- | <i>See:</i> <a>reloadTables</a> smart constructor.
data ReloadTables

-- | The Amazon Resource Name (ARN) of the replication instance.
rtReplicationTaskARN :: Lens' ReloadTables Text

-- | The name and schema of the table to be reloaded.
rtTablesToReload :: Lens' ReloadTables [TableToReload]

-- | Creates a value of <a>ReloadTablesResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rtrsReplicationTaskARN</a> - The Amazon Resource Name (ARN) of
--   the replication task.</li>
--   <li><a>rtrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
reloadTablesResponse :: Int -> ReloadTablesResponse

-- | <i>See:</i> <a>reloadTablesResponse</a> smart constructor.
data ReloadTablesResponse

-- | The Amazon Resource Name (ARN) of the replication task.
rtrsReplicationTaskARN :: Lens' ReloadTablesResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
rtrsResponseStatus :: Lens' ReloadTablesResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.ReloadTables.ReloadTablesResponse
instance Data.Data.Data Network.AWS.DMS.ReloadTables.ReloadTablesResponse
instance GHC.Show.Show Network.AWS.DMS.ReloadTables.ReloadTablesResponse
instance GHC.Read.Read Network.AWS.DMS.ReloadTables.ReloadTablesResponse
instance GHC.Classes.Eq Network.AWS.DMS.ReloadTables.ReloadTablesResponse
instance GHC.Generics.Generic Network.AWS.DMS.ReloadTables.ReloadTables
instance Data.Data.Data Network.AWS.DMS.ReloadTables.ReloadTables
instance GHC.Show.Show Network.AWS.DMS.ReloadTables.ReloadTables
instance GHC.Read.Read Network.AWS.DMS.ReloadTables.ReloadTables
instance GHC.Classes.Eq Network.AWS.DMS.ReloadTables.ReloadTables
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.ReloadTables.ReloadTables
instance Control.DeepSeq.NFData Network.AWS.DMS.ReloadTables.ReloadTablesResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.ReloadTables.ReloadTables
instance Control.DeepSeq.NFData Network.AWS.DMS.ReloadTables.ReloadTables
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.ReloadTables.ReloadTables
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.ReloadTables.ReloadTables
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.ReloadTables.ReloadTables
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.ReloadTables.ReloadTables


-- | Populates the schema for the specified endpoint. This is an
--   asynchronous operation and can take several minutes. You can check the
--   status of this operation by calling the DescribeRefreshSchemasStatus
--   operation.
module Network.AWS.DMS.RefreshSchemas

-- | Creates a value of <a>RefreshSchemas</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rsEndpointARN</a> - The Amazon Resource Name (ARN) string that
--   uniquely identifies the endpoint.</li>
--   <li><a>rsReplicationInstanceARN</a> - The Amazon Resource Name (ARN)
--   of the replication instance.</li>
--   </ul>
refreshSchemas :: Text -> Text -> RefreshSchemas

-- | <i>See:</i> <a>refreshSchemas</a> smart constructor.
data RefreshSchemas

-- | The Amazon Resource Name (ARN) string that uniquely identifies the
--   endpoint.
rsEndpointARN :: Lens' RefreshSchemas Text

-- | The Amazon Resource Name (ARN) of the replication instance.
rsReplicationInstanceARN :: Lens' RefreshSchemas Text

-- | Creates a value of <a>RefreshSchemasResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rsrsRefreshSchemasStatus</a> - The status of the refreshed
--   schema.</li>
--   <li><a>rsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
refreshSchemasResponse :: Int -> RefreshSchemasResponse

-- | <i>See:</i> <a>refreshSchemasResponse</a> smart constructor.
data RefreshSchemasResponse

-- | The status of the refreshed schema.
rsrsRefreshSchemasStatus :: Lens' RefreshSchemasResponse (Maybe RefreshSchemasStatus)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
rsrsResponseStatus :: Lens' RefreshSchemasResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.RefreshSchemas.RefreshSchemasResponse
instance Data.Data.Data Network.AWS.DMS.RefreshSchemas.RefreshSchemasResponse
instance GHC.Show.Show Network.AWS.DMS.RefreshSchemas.RefreshSchemasResponse
instance GHC.Read.Read Network.AWS.DMS.RefreshSchemas.RefreshSchemasResponse
instance GHC.Classes.Eq Network.AWS.DMS.RefreshSchemas.RefreshSchemasResponse
instance GHC.Generics.Generic Network.AWS.DMS.RefreshSchemas.RefreshSchemas
instance Data.Data.Data Network.AWS.DMS.RefreshSchemas.RefreshSchemas
instance GHC.Show.Show Network.AWS.DMS.RefreshSchemas.RefreshSchemas
instance GHC.Read.Read Network.AWS.DMS.RefreshSchemas.RefreshSchemas
instance GHC.Classes.Eq Network.AWS.DMS.RefreshSchemas.RefreshSchemas
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.RefreshSchemas.RefreshSchemas
instance Control.DeepSeq.NFData Network.AWS.DMS.RefreshSchemas.RefreshSchemasResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.RefreshSchemas.RefreshSchemas
instance Control.DeepSeq.NFData Network.AWS.DMS.RefreshSchemas.RefreshSchemas
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.RefreshSchemas.RefreshSchemas
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.RefreshSchemas.RefreshSchemas
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.RefreshSchemas.RefreshSchemas
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.RefreshSchemas.RefreshSchemas


-- | Reboots a replication instance. Rebooting results in a momentary
--   outage, until the replication instance becomes available again.
module Network.AWS.DMS.RebootReplicationInstance

-- | Creates a value of <a>RebootReplicationInstance</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rriForceFailover</a> - If this parameter is <tt>true</tt> , the
--   reboot is conducted through a Multi-AZ failover. (If the instance
--   isn't configured for Multi-AZ, then you can't specify <tt>true</tt>
--   .)</li>
--   <li><a>rriReplicationInstanceARN</a> - The Amazon Resource Name (ARN)
--   of the replication instance.</li>
--   </ul>
rebootReplicationInstance :: Text -> RebootReplicationInstance

-- | <i>See:</i> <a>rebootReplicationInstance</a> smart constructor.
data RebootReplicationInstance

-- | If this parameter is <tt>true</tt> , the reboot is conducted through a
--   Multi-AZ failover. (If the instance isn't configured for Multi-AZ,
--   then you can't specify <tt>true</tt> .)
rriForceFailover :: Lens' RebootReplicationInstance (Maybe Bool)

-- | The Amazon Resource Name (ARN) of the replication instance.
rriReplicationInstanceARN :: Lens' RebootReplicationInstance Text

-- | Creates a value of <a>RebootReplicationInstanceResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rrirsReplicationInstance</a> - The replication instance that is
--   being rebooted.</li>
--   <li><a>rrirsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
rebootReplicationInstanceResponse :: Int -> RebootReplicationInstanceResponse

-- | <i>See:</i> <a>rebootReplicationInstanceResponse</a> smart
--   constructor.
data RebootReplicationInstanceResponse

-- | The replication instance that is being rebooted.
rrirsReplicationInstance :: Lens' RebootReplicationInstanceResponse (Maybe ReplicationInstance)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
rrirsResponseStatus :: Lens' RebootReplicationInstanceResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.RebootReplicationInstance.RebootReplicationInstanceResponse
instance Data.Data.Data Network.AWS.DMS.RebootReplicationInstance.RebootReplicationInstanceResponse
instance GHC.Show.Show Network.AWS.DMS.RebootReplicationInstance.RebootReplicationInstanceResponse
instance GHC.Read.Read Network.AWS.DMS.RebootReplicationInstance.RebootReplicationInstanceResponse
instance GHC.Classes.Eq Network.AWS.DMS.RebootReplicationInstance.RebootReplicationInstanceResponse
instance GHC.Generics.Generic Network.AWS.DMS.RebootReplicationInstance.RebootReplicationInstance
instance Data.Data.Data Network.AWS.DMS.RebootReplicationInstance.RebootReplicationInstance
instance GHC.Show.Show Network.AWS.DMS.RebootReplicationInstance.RebootReplicationInstance
instance GHC.Read.Read Network.AWS.DMS.RebootReplicationInstance.RebootReplicationInstance
instance GHC.Classes.Eq Network.AWS.DMS.RebootReplicationInstance.RebootReplicationInstance
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.RebootReplicationInstance.RebootReplicationInstance
instance Control.DeepSeq.NFData Network.AWS.DMS.RebootReplicationInstance.RebootReplicationInstanceResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.RebootReplicationInstance.RebootReplicationInstance
instance Control.DeepSeq.NFData Network.AWS.DMS.RebootReplicationInstance.RebootReplicationInstance
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.RebootReplicationInstance.RebootReplicationInstance
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.RebootReplicationInstance.RebootReplicationInstance
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.RebootReplicationInstance.RebootReplicationInstance
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.RebootReplicationInstance.RebootReplicationInstance


-- | Modifies the specified replication task.
--   
--   You can't modify the task endpoints. The task must be stopped before
--   you can modify it.
--   
--   For more information about AWS DMS tasks, see the AWS DMS user guide
--   at <a>Working with Migration Tasks</a>
module Network.AWS.DMS.ModifyReplicationTask

-- | Creates a value of <a>ModifyReplicationTask</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>mrtReplicationTaskSettings</a> - JSON file that contains
--   settings for the task, such as target metadata settings.</li>
--   <li><a>mrtReplicationTaskIdentifier</a> - The replication task
--   identifier. Constraints: * Must contain from 1 to 255 alphanumeric
--   characters or hyphens. * First character must be a letter. * Cannot
--   end with a hyphen or contain two consecutive hyphens.</li>
--   <li><a>mrtCdcStartPosition</a> - Indicates when you want a change data
--   capture (CDC) operation to start. Use either CdcStartPosition or
--   CdcStartTime to specify when you want a CDC operation to start.
--   Specifying both values results in an error. The value can be in date,
--   checkpoint, or LSN/SCN format. Date Example: --cdc-start-position
--   “2018-03-08T12:12:12” Checkpoint Example: --cdc-start-position
--   "checkpoint:V1mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:187600#93"
--   LSN Example: --cdc-start-position
--   “mysql-bin-changelog.000024:373”</li>
--   <li><a>mrtTableMappings</a> - When using the AWS CLI or boto3, provide
--   the path of the JSON file that contains the table mappings. Precede
--   the path with "file:/<i>". When working with the DMS API, provide the
--   JSON as the parameter value. For example, --table-mappings
--   file:</i>/mappingfile.json</li>
--   <li><a>mrtMigrationType</a> - The migration type. Valid values:
--   full-load | cdc | full-load-and-cdc</li>
--   <li><a>mrtCdcStopPosition</a> - Indicates when you want a change data
--   capture (CDC) operation to stop. The value can be either server time
--   or commit time. Server time example: --cdc-stop-position
--   “server_time:3018-02-09T12:12:12” Commit time example:
--   --cdc-stop-position “commit_time: 3018-02-09T12:12:12 “</li>
--   <li><a>mrtCdcStartTime</a> - Indicates the start time for a change
--   data capture (CDC) operation. Use either CdcStartTime or
--   CdcStartPosition to specify when you want a CDC operation to start.
--   Specifying both values results in an error.</li>
--   <li><a>mrtReplicationTaskARN</a> - The Amazon Resource Name (ARN) of
--   the replication task.</li>
--   </ul>
modifyReplicationTask :: Text -> ModifyReplicationTask

-- | <i>See:</i> <a>modifyReplicationTask</a> smart constructor.
data ModifyReplicationTask

-- | JSON file that contains settings for the task, such as target metadata
--   settings.
mrtReplicationTaskSettings :: Lens' ModifyReplicationTask (Maybe Text)

-- | The replication task identifier. Constraints: * Must contain from 1 to
--   255 alphanumeric characters or hyphens. * First character must be a
--   letter. * Cannot end with a hyphen or contain two consecutive hyphens.
mrtReplicationTaskIdentifier :: Lens' ModifyReplicationTask (Maybe Text)

-- | Indicates when you want a change data capture (CDC) operation to
--   start. Use either CdcStartPosition or CdcStartTime to specify when you
--   want a CDC operation to start. Specifying both values results in an
--   error. The value can be in date, checkpoint, or LSN/SCN format. Date
--   Example: --cdc-start-position “2018-03-08T12:12:12” Checkpoint
--   Example: --cdc-start-position
--   "checkpoint:V1mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:187600#93"
--   LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”
mrtCdcStartPosition :: Lens' ModifyReplicationTask (Maybe Text)

-- | When using the AWS CLI or boto3, provide the path of the JSON file
--   that contains the table mappings. Precede the path with "file:/<i>".
--   When working with the DMS API, provide the JSON as the parameter
--   value. For example, --table-mappings file:</i>/mappingfile.json
mrtTableMappings :: Lens' ModifyReplicationTask (Maybe Text)

-- | The migration type. Valid values: full-load | cdc | full-load-and-cdc
mrtMigrationType :: Lens' ModifyReplicationTask (Maybe MigrationTypeValue)

-- | Indicates when you want a change data capture (CDC) operation to stop.
--   The value can be either server time or commit time. Server time
--   example: --cdc-stop-position “server_time:3018-02-09T12:12:12” Commit
--   time example: --cdc-stop-position “commit_time: 3018-02-09T12:12:12 “
mrtCdcStopPosition :: Lens' ModifyReplicationTask (Maybe Text)

-- | Indicates the start time for a change data capture (CDC) operation.
--   Use either CdcStartTime or CdcStartPosition to specify when you want a
--   CDC operation to start. Specifying both values results in an error.
mrtCdcStartTime :: Lens' ModifyReplicationTask (Maybe UTCTime)

-- | The Amazon Resource Name (ARN) of the replication task.
mrtReplicationTaskARN :: Lens' ModifyReplicationTask Text

-- | Creates a value of <a>ModifyReplicationTaskResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>mrtrsReplicationTask</a> - The replication task that was
--   modified.</li>
--   <li><a>mrtrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
modifyReplicationTaskResponse :: Int -> ModifyReplicationTaskResponse

-- | <i>See:</i> <a>modifyReplicationTaskResponse</a> smart constructor.
data ModifyReplicationTaskResponse

-- | The replication task that was modified.
mrtrsReplicationTask :: Lens' ModifyReplicationTaskResponse (Maybe ReplicationTask)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
mrtrsResponseStatus :: Lens' ModifyReplicationTaskResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.ModifyReplicationTask.ModifyReplicationTaskResponse
instance Data.Data.Data Network.AWS.DMS.ModifyReplicationTask.ModifyReplicationTaskResponse
instance GHC.Show.Show Network.AWS.DMS.ModifyReplicationTask.ModifyReplicationTaskResponse
instance GHC.Read.Read Network.AWS.DMS.ModifyReplicationTask.ModifyReplicationTaskResponse
instance GHC.Classes.Eq Network.AWS.DMS.ModifyReplicationTask.ModifyReplicationTaskResponse
instance GHC.Generics.Generic Network.AWS.DMS.ModifyReplicationTask.ModifyReplicationTask
instance Data.Data.Data Network.AWS.DMS.ModifyReplicationTask.ModifyReplicationTask
instance GHC.Show.Show Network.AWS.DMS.ModifyReplicationTask.ModifyReplicationTask
instance GHC.Read.Read Network.AWS.DMS.ModifyReplicationTask.ModifyReplicationTask
instance GHC.Classes.Eq Network.AWS.DMS.ModifyReplicationTask.ModifyReplicationTask
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.ModifyReplicationTask.ModifyReplicationTask
instance Control.DeepSeq.NFData Network.AWS.DMS.ModifyReplicationTask.ModifyReplicationTaskResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.ModifyReplicationTask.ModifyReplicationTask
instance Control.DeepSeq.NFData Network.AWS.DMS.ModifyReplicationTask.ModifyReplicationTask
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.ModifyReplicationTask.ModifyReplicationTask
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.ModifyReplicationTask.ModifyReplicationTask
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.ModifyReplicationTask.ModifyReplicationTask
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.ModifyReplicationTask.ModifyReplicationTask


-- | Modifies the settings for the specified replication subnet group.
module Network.AWS.DMS.ModifyReplicationSubnetGroup

-- | Creates a value of <a>ModifyReplicationSubnetGroup</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>mrsgReplicationSubnetGroupDescription</a> - The description of
--   the replication instance subnet group.</li>
--   <li><a>mrsgReplicationSubnetGroupIdentifier</a> - The name of the
--   replication instance subnet group.</li>
--   <li><a>mrsgSubnetIds</a> - A list of subnet IDs.</li>
--   </ul>
modifyReplicationSubnetGroup :: Text -> ModifyReplicationSubnetGroup

-- | <i>See:</i> <a>modifyReplicationSubnetGroup</a> smart constructor.
data ModifyReplicationSubnetGroup

-- | The description of the replication instance subnet group.
mrsgReplicationSubnetGroupDescription :: Lens' ModifyReplicationSubnetGroup (Maybe Text)

-- | The name of the replication instance subnet group.
mrsgReplicationSubnetGroupIdentifier :: Lens' ModifyReplicationSubnetGroup Text

-- | A list of subnet IDs.
mrsgSubnetIds :: Lens' ModifyReplicationSubnetGroup [Text]

-- | Creates a value of <a>ModifyReplicationSubnetGroupResponse</a> with
--   the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>mrsgrsReplicationSubnetGroup</a> - The modified replication
--   subnet group.</li>
--   <li><a>mrsgrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
modifyReplicationSubnetGroupResponse :: Int -> ModifyReplicationSubnetGroupResponse

-- | <i>See:</i> <a>modifyReplicationSubnetGroupResponse</a> smart
--   constructor.
data ModifyReplicationSubnetGroupResponse

-- | The modified replication subnet group.
mrsgrsReplicationSubnetGroup :: Lens' ModifyReplicationSubnetGroupResponse (Maybe ReplicationSubnetGroup)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
mrsgrsResponseStatus :: Lens' ModifyReplicationSubnetGroupResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.ModifyReplicationSubnetGroup.ModifyReplicationSubnetGroupResponse
instance Data.Data.Data Network.AWS.DMS.ModifyReplicationSubnetGroup.ModifyReplicationSubnetGroupResponse
instance GHC.Show.Show Network.AWS.DMS.ModifyReplicationSubnetGroup.ModifyReplicationSubnetGroupResponse
instance GHC.Read.Read Network.AWS.DMS.ModifyReplicationSubnetGroup.ModifyReplicationSubnetGroupResponse
instance GHC.Classes.Eq Network.AWS.DMS.ModifyReplicationSubnetGroup.ModifyReplicationSubnetGroupResponse
instance GHC.Generics.Generic Network.AWS.DMS.ModifyReplicationSubnetGroup.ModifyReplicationSubnetGroup
instance Data.Data.Data Network.AWS.DMS.ModifyReplicationSubnetGroup.ModifyReplicationSubnetGroup
instance GHC.Show.Show Network.AWS.DMS.ModifyReplicationSubnetGroup.ModifyReplicationSubnetGroup
instance GHC.Read.Read Network.AWS.DMS.ModifyReplicationSubnetGroup.ModifyReplicationSubnetGroup
instance GHC.Classes.Eq Network.AWS.DMS.ModifyReplicationSubnetGroup.ModifyReplicationSubnetGroup
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.ModifyReplicationSubnetGroup.ModifyReplicationSubnetGroup
instance Control.DeepSeq.NFData Network.AWS.DMS.ModifyReplicationSubnetGroup.ModifyReplicationSubnetGroupResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.ModifyReplicationSubnetGroup.ModifyReplicationSubnetGroup
instance Control.DeepSeq.NFData Network.AWS.DMS.ModifyReplicationSubnetGroup.ModifyReplicationSubnetGroup
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.ModifyReplicationSubnetGroup.ModifyReplicationSubnetGroup
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.ModifyReplicationSubnetGroup.ModifyReplicationSubnetGroup
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.ModifyReplicationSubnetGroup.ModifyReplicationSubnetGroup
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.ModifyReplicationSubnetGroup.ModifyReplicationSubnetGroup


-- | 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.
module Network.AWS.DMS.ModifyReplicationInstance

-- | Creates a value of <a>ModifyReplicationInstance</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>mriEngineVersion</a> - The engine version number of the
--   replication instance.</li>
--   <li><a>mriAutoMinorVersionUpgrade</a> - 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 <tt>true</tt> during the maintenance window,
--   and a newer minor version is available, and AWS DMS has enabled auto
--   patching for that engine version.</li>
--   <li><a>mriAllowMajorVersionUpgrade</a> - 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 <tt>EngineVersion</tt> parameter that is a different
--   major version than the replication instance's current version.</li>
--   <li><a>mriPreferredMaintenanceWindow</a> - 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</li>
--   <li><a>mriVPCSecurityGroupIds</a> - 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.</li>
--   <li><a>mriMultiAZ</a> - Specifies if the replication instance is a
--   Multi-AZ deployment. You cannot set the <tt>AvailabilityZone</tt>
--   parameter if the Multi-AZ parameter is set to <tt>true</tt> .</li>
--   <li><a>mriAllocatedStorage</a> - The amount of storage (in gigabytes)
--   to be allocated for the replication instance.</li>
--   <li><a>mriApplyImmediately</a> - Indicates whether the changes should
--   be applied immediately or during the next maintenance window.</li>
--   <li><a>mriReplicationInstanceClass</a> - The compute and memory
--   capacity of the replication instance. Valid Values: <tt>dms.t2.micro |
--   dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large |
--   dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge </tt></li>
--   <li><a>mriReplicationInstanceIdentifier</a> - The replication instance
--   identifier. This parameter is stored as a lowercase string.</li>
--   <li><a>mriReplicationInstanceARN</a> - The Amazon Resource Name (ARN)
--   of the replication instance.</li>
--   </ul>
modifyReplicationInstance :: Text -> ModifyReplicationInstance

-- | <i>See:</i> <a>modifyReplicationInstance</a> smart constructor.
data ModifyReplicationInstance

-- | The engine version number of the replication instance.
mriEngineVersion :: Lens' ModifyReplicationInstance (Maybe Text)

-- | 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 <tt>true</tt> during
--   the maintenance window, and a newer minor version is available, and
--   AWS DMS has enabled auto patching for that engine version.
mriAutoMinorVersionUpgrade :: Lens' ModifyReplicationInstance (Maybe Bool)

-- | 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
--   <tt>EngineVersion</tt> parameter that is a different major version
--   than the replication instance's current version.
mriAllowMajorVersionUpgrade :: Lens' ModifyReplicationInstance (Maybe Bool)

-- | 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
mriPreferredMaintenanceWindow :: Lens' ModifyReplicationInstance (Maybe Text)

-- | 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.
mriVPCSecurityGroupIds :: Lens' ModifyReplicationInstance [Text]

-- | Specifies if the replication instance is a Multi-AZ deployment. You
--   cannot set the <tt>AvailabilityZone</tt> parameter if the Multi-AZ
--   parameter is set to <tt>true</tt> .
mriMultiAZ :: Lens' ModifyReplicationInstance (Maybe Bool)

-- | The amount of storage (in gigabytes) to be allocated for the
--   replication instance.
mriAllocatedStorage :: Lens' ModifyReplicationInstance (Maybe Int)

-- | Indicates whether the changes should be applied immediately or during
--   the next maintenance window.
mriApplyImmediately :: Lens' ModifyReplicationInstance (Maybe Bool)

-- | The compute and memory capacity of the replication instance. Valid
--   Values: <tt>dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large
--   | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge </tt>
mriReplicationInstanceClass :: Lens' ModifyReplicationInstance (Maybe Text)

-- | The replication instance identifier. This parameter is stored as a
--   lowercase string.
mriReplicationInstanceIdentifier :: Lens' ModifyReplicationInstance (Maybe Text)

-- | The Amazon Resource Name (ARN) of the replication instance.
mriReplicationInstanceARN :: Lens' ModifyReplicationInstance Text

-- | Creates a value of <a>ModifyReplicationInstanceResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>mrirsReplicationInstance</a> - The modified replication
--   instance.</li>
--   <li><a>mrirsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
modifyReplicationInstanceResponse :: Int -> ModifyReplicationInstanceResponse

-- | <i>See:</i> <a>modifyReplicationInstanceResponse</a> smart
--   constructor.
data ModifyReplicationInstanceResponse

-- | The modified replication instance.
mrirsReplicationInstance :: Lens' ModifyReplicationInstanceResponse (Maybe ReplicationInstance)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
mrirsResponseStatus :: Lens' ModifyReplicationInstanceResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.ModifyReplicationInstance.ModifyReplicationInstanceResponse
instance Data.Data.Data Network.AWS.DMS.ModifyReplicationInstance.ModifyReplicationInstanceResponse
instance GHC.Show.Show Network.AWS.DMS.ModifyReplicationInstance.ModifyReplicationInstanceResponse
instance GHC.Read.Read Network.AWS.DMS.ModifyReplicationInstance.ModifyReplicationInstanceResponse
instance GHC.Classes.Eq Network.AWS.DMS.ModifyReplicationInstance.ModifyReplicationInstanceResponse
instance GHC.Generics.Generic Network.AWS.DMS.ModifyReplicationInstance.ModifyReplicationInstance
instance Data.Data.Data Network.AWS.DMS.ModifyReplicationInstance.ModifyReplicationInstance
instance GHC.Show.Show Network.AWS.DMS.ModifyReplicationInstance.ModifyReplicationInstance
instance GHC.Read.Read Network.AWS.DMS.ModifyReplicationInstance.ModifyReplicationInstance
instance GHC.Classes.Eq Network.AWS.DMS.ModifyReplicationInstance.ModifyReplicationInstance
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.ModifyReplicationInstance.ModifyReplicationInstance
instance Control.DeepSeq.NFData Network.AWS.DMS.ModifyReplicationInstance.ModifyReplicationInstanceResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.ModifyReplicationInstance.ModifyReplicationInstance
instance Control.DeepSeq.NFData Network.AWS.DMS.ModifyReplicationInstance.ModifyReplicationInstance
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.ModifyReplicationInstance.ModifyReplicationInstance
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.ModifyReplicationInstance.ModifyReplicationInstance
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.ModifyReplicationInstance.ModifyReplicationInstance
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.ModifyReplicationInstance.ModifyReplicationInstance


-- | Modifies an existing AWS DMS event notification subscription.
module Network.AWS.DMS.ModifyEventSubscription

-- | Creates a value of <a>ModifyEventSubscription</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>mesSNSTopicARN</a> - The Amazon Resource Name (ARN) of the
--   Amazon SNS topic created for event notification. The ARN is created by
--   Amazon SNS when you create a topic and subscribe to it.</li>
--   <li><a>mesEnabled</a> - A Boolean value; set to <b>true</b> to
--   activate the subscription.</li>
--   <li><a>mesSourceType</a> - The type of AWS DMS resource that generates
--   the events you want to subscribe to. Valid values:
--   replication-instance | migration-task</li>
--   <li><a>mesEventCategories</a> - A list of event categories for a
--   source type that you want to subscribe to. Use the
--   <tt>DescribeEventCategories</tt> action to see a list of event
--   categories.</li>
--   <li><a>mesSubscriptionName</a> - The name of the AWS DMS event
--   notification subscription to be modified.</li>
--   </ul>
modifyEventSubscription :: Text -> ModifyEventSubscription

-- | <i>See:</i> <a>modifyEventSubscription</a> smart constructor.
data ModifyEventSubscription

-- | The Amazon Resource Name (ARN) of the Amazon SNS topic created for
--   event notification. The ARN is created by Amazon SNS when you create a
--   topic and subscribe to it.
mesSNSTopicARN :: Lens' ModifyEventSubscription (Maybe Text)

-- | A Boolean value; set to <b>true</b> to activate the subscription.
mesEnabled :: Lens' ModifyEventSubscription (Maybe Bool)

-- | The type of AWS DMS resource that generates the events you want to
--   subscribe to. Valid values: replication-instance | migration-task
mesSourceType :: Lens' ModifyEventSubscription (Maybe Text)

-- | A list of event categories for a source type that you want to
--   subscribe to. Use the <tt>DescribeEventCategories</tt> action to see a
--   list of event categories.
mesEventCategories :: Lens' ModifyEventSubscription [Text]

-- | The name of the AWS DMS event notification subscription to be
--   modified.
mesSubscriptionName :: Lens' ModifyEventSubscription Text

-- | Creates a value of <a>ModifyEventSubscriptionResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>mesrsEventSubscription</a> - The modified event
--   subscription.</li>
--   <li><a>mesrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
modifyEventSubscriptionResponse :: Int -> ModifyEventSubscriptionResponse

-- | <i>See:</i> <a>modifyEventSubscriptionResponse</a> smart constructor.
data ModifyEventSubscriptionResponse

-- | The modified event subscription.
mesrsEventSubscription :: Lens' ModifyEventSubscriptionResponse (Maybe EventSubscription)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
mesrsResponseStatus :: Lens' ModifyEventSubscriptionResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.ModifyEventSubscription.ModifyEventSubscriptionResponse
instance Data.Data.Data Network.AWS.DMS.ModifyEventSubscription.ModifyEventSubscriptionResponse
instance GHC.Show.Show Network.AWS.DMS.ModifyEventSubscription.ModifyEventSubscriptionResponse
instance GHC.Read.Read Network.AWS.DMS.ModifyEventSubscription.ModifyEventSubscriptionResponse
instance GHC.Classes.Eq Network.AWS.DMS.ModifyEventSubscription.ModifyEventSubscriptionResponse
instance GHC.Generics.Generic Network.AWS.DMS.ModifyEventSubscription.ModifyEventSubscription
instance Data.Data.Data Network.AWS.DMS.ModifyEventSubscription.ModifyEventSubscription
instance GHC.Show.Show Network.AWS.DMS.ModifyEventSubscription.ModifyEventSubscription
instance GHC.Read.Read Network.AWS.DMS.ModifyEventSubscription.ModifyEventSubscription
instance GHC.Classes.Eq Network.AWS.DMS.ModifyEventSubscription.ModifyEventSubscription
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.ModifyEventSubscription.ModifyEventSubscription
instance Control.DeepSeq.NFData Network.AWS.DMS.ModifyEventSubscription.ModifyEventSubscriptionResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.ModifyEventSubscription.ModifyEventSubscription
instance Control.DeepSeq.NFData Network.AWS.DMS.ModifyEventSubscription.ModifyEventSubscription
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.ModifyEventSubscription.ModifyEventSubscription
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.ModifyEventSubscription.ModifyEventSubscription
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.ModifyEventSubscription.ModifyEventSubscription
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.ModifyEventSubscription.ModifyEventSubscription


-- | Modifies the specified endpoint.
module Network.AWS.DMS.ModifyEndpoint

-- | Creates a value of <a>ModifyEndpoint</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>meServerName</a> - The name of the server where the endpoint
--   database resides.</li>
--   <li><a>meCertificateARN</a> - The Amazon Resource Name (ARN) of the
--   certificate used for SSL connection.</li>
--   <li><a>meServiceAccessRoleARN</a> - The Amazon Resource Name (ARN) for
--   the service access role you want to use to modify the endpoint.</li>
--   <li><a>meExtraConnectionAttributes</a> - Additional attributes
--   associated with the connection. To reset this parameter, pass the
--   empty string ("") as an argument.</li>
--   <li><a>meEndpointType</a> - The type of endpoint.</li>
--   <li><a>meUsername</a> - The user name to be used to login to the
--   endpoint database.</li>
--   <li><a>meExternalTableDefinition</a> - The external table
--   definition.</li>
--   <li><a>meEngineName</a> - The type of engine for the endpoint. Valid
--   values, depending on the EndPointType, include mysql, oracle,
--   postgres, mariadb, aurora, aurora-postgresql, redshift, s3, db2,
--   azuredb, sybase, sybase, dynamodb, mongodb, and sqlserver.</li>
--   <li><a>meMongoDBSettings</a> - Settings in JSON format for the source
--   MongoDB endpoint. For more information about the available settings,
--   see the <b>Configuration Properties When Using MongoDB as a Source for
--   AWS Database Migration Service</b> section at <a>Using Amazon S3 as a
--   Target for AWS Database Migration Service</a> .</li>
--   <li><a>meSSLMode</a> - The SSL mode to be used. SSL mode can be one of
--   four values: none, require, verify-ca, verify-full. The default value
--   is none.</li>
--   <li><a>mePassword</a> - The password to be used to login to the
--   endpoint database.</li>
--   <li><a>meDatabaseName</a> - The name of the endpoint database.</li>
--   <li><a>meS3Settings</a> - Settings in JSON format for the target S3
--   endpoint. For more information about the available settings, see the
--   <b>Extra Connection Attributes</b> section at <a>Using Amazon S3 as a
--   Target for AWS Database Migration Service</a> .</li>
--   <li><a>meEndpointIdentifier</a> - The database endpoint identifier.
--   Identifiers must begin with a letter; must contain only ASCII letters,
--   digits, and hyphens; and must not end with a hyphen or contain two
--   consecutive hyphens.</li>
--   <li><a>meDynamoDBSettings</a> - Settings in JSON format for the target
--   Amazon DynamoDB endpoint. For more information about the available
--   settings, see the <b>Using Object Mapping to Migrate Data to
--   DynamoDB</b> section at <a>Using an Amazon DynamoDB Database as a
--   Target for AWS Database Migration Service</a> .</li>
--   <li><a>mePort</a> - The port used by the endpoint database.</li>
--   <li><a>meEndpointARN</a> - The Amazon Resource Name (ARN) string that
--   uniquely identifies the endpoint.</li>
--   </ul>
modifyEndpoint :: Text -> ModifyEndpoint

-- | <i>See:</i> <a>modifyEndpoint</a> smart constructor.
data ModifyEndpoint

-- | The name of the server where the endpoint database resides.
meServerName :: Lens' ModifyEndpoint (Maybe Text)

-- | The Amazon Resource Name (ARN) of the certificate used for SSL
--   connection.
meCertificateARN :: Lens' ModifyEndpoint (Maybe Text)

-- | The Amazon Resource Name (ARN) for the service access role you want to
--   use to modify the endpoint.
meServiceAccessRoleARN :: Lens' ModifyEndpoint (Maybe Text)

-- | Additional attributes associated with the connection. To reset this
--   parameter, pass the empty string ("") as an argument.
meExtraConnectionAttributes :: Lens' ModifyEndpoint (Maybe Text)

-- | The type of endpoint.
meEndpointType :: Lens' ModifyEndpoint (Maybe ReplicationEndpointTypeValue)

-- | The user name to be used to login to the endpoint database.
meUsername :: Lens' ModifyEndpoint (Maybe Text)

-- | The external table definition.
meExternalTableDefinition :: Lens' ModifyEndpoint (Maybe Text)

-- | The type of engine for the endpoint. Valid values, depending on the
--   EndPointType, include mysql, oracle, postgres, mariadb, aurora,
--   aurora-postgresql, redshift, s3, db2, azuredb, sybase, sybase,
--   dynamodb, mongodb, and sqlserver.
meEngineName :: Lens' ModifyEndpoint (Maybe Text)

-- | Settings in JSON format for the source MongoDB endpoint. For more
--   information about the available settings, see the <b>Configuration
--   Properties When Using MongoDB as a Source for AWS Database Migration
--   Service</b> section at <a>Using Amazon S3 as a Target for AWS Database
--   Migration Service</a> .
meMongoDBSettings :: Lens' ModifyEndpoint (Maybe MongoDBSettings)

-- | The SSL mode to be used. SSL mode can be one of four values: none,
--   require, verify-ca, verify-full. The default value is none.
meSSLMode :: Lens' ModifyEndpoint (Maybe DmsSSLModeValue)

-- | The password to be used to login to the endpoint database.
mePassword :: Lens' ModifyEndpoint (Maybe Text)

-- | The name of the endpoint database.
meDatabaseName :: Lens' ModifyEndpoint (Maybe Text)

-- | Settings in JSON format for the target S3 endpoint. For more
--   information about the available settings, see the <b>Extra Connection
--   Attributes</b> section at <a>Using Amazon S3 as a Target for AWS
--   Database Migration Service</a> .
meS3Settings :: Lens' ModifyEndpoint (Maybe S3Settings)

-- | The database endpoint identifier. Identifiers must begin with a
--   letter; must contain only ASCII letters, digits, and hyphens; and must
--   not end with a hyphen or contain two consecutive hyphens.
meEndpointIdentifier :: Lens' ModifyEndpoint (Maybe Text)

-- | Settings in JSON format for the target Amazon DynamoDB endpoint. For
--   more information about the available settings, see the <b>Using Object
--   Mapping to Migrate Data to DynamoDB</b> section at <a>Using an Amazon
--   DynamoDB Database as a Target for AWS Database Migration Service</a> .
meDynamoDBSettings :: Lens' ModifyEndpoint (Maybe DynamoDBSettings)

-- | The port used by the endpoint database.
mePort :: Lens' ModifyEndpoint (Maybe Int)

-- | The Amazon Resource Name (ARN) string that uniquely identifies the
--   endpoint.
meEndpointARN :: Lens' ModifyEndpoint Text

-- | Creates a value of <a>ModifyEndpointResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>mersEndpoint</a> - The modified endpoint.</li>
--   <li><a>mersResponseStatus</a> - -- | The response status code.</li>
--   </ul>
modifyEndpointResponse :: Int -> ModifyEndpointResponse

-- | <i>See:</i> <a>modifyEndpointResponse</a> smart constructor.
data ModifyEndpointResponse

-- | The modified endpoint.
mersEndpoint :: Lens' ModifyEndpointResponse (Maybe Endpoint)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
mersResponseStatus :: Lens' ModifyEndpointResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.ModifyEndpoint.ModifyEndpointResponse
instance Data.Data.Data Network.AWS.DMS.ModifyEndpoint.ModifyEndpointResponse
instance GHC.Show.Show Network.AWS.DMS.ModifyEndpoint.ModifyEndpointResponse
instance GHC.Classes.Eq Network.AWS.DMS.ModifyEndpoint.ModifyEndpointResponse
instance GHC.Generics.Generic Network.AWS.DMS.ModifyEndpoint.ModifyEndpoint
instance Data.Data.Data Network.AWS.DMS.ModifyEndpoint.ModifyEndpoint
instance GHC.Show.Show Network.AWS.DMS.ModifyEndpoint.ModifyEndpoint
instance GHC.Classes.Eq Network.AWS.DMS.ModifyEndpoint.ModifyEndpoint
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.ModifyEndpoint.ModifyEndpoint
instance Control.DeepSeq.NFData Network.AWS.DMS.ModifyEndpoint.ModifyEndpointResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.ModifyEndpoint.ModifyEndpoint
instance Control.DeepSeq.NFData Network.AWS.DMS.ModifyEndpoint.ModifyEndpoint
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.ModifyEndpoint.ModifyEndpoint
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.ModifyEndpoint.ModifyEndpoint
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.ModifyEndpoint.ModifyEndpoint
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.ModifyEndpoint.ModifyEndpoint


-- | Lists all tags for an AWS DMS resource.
module Network.AWS.DMS.ListTagsForResource

-- | Creates a value of <a>ListTagsForResource</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ltfrResourceARN</a> - The Amazon Resource Name (ARN) string
--   that uniquely identifies the AWS DMS resource.</li>
--   </ul>
listTagsForResource :: Text -> ListTagsForResource

-- | <i>See:</i> <a>listTagsForResource</a> smart constructor.
data ListTagsForResource

-- | The Amazon Resource Name (ARN) string that uniquely identifies the AWS
--   DMS resource.
ltfrResourceARN :: Lens' ListTagsForResource Text

-- | Creates a value of <a>ListTagsForResourceResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ltfrrsTagList</a> - A list of tags for the resource.</li>
--   <li><a>ltfrrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
listTagsForResourceResponse :: Int -> ListTagsForResourceResponse

-- | <i>See:</i> <a>listTagsForResourceResponse</a> smart constructor.
data ListTagsForResourceResponse

-- | A list of tags for the resource.
ltfrrsTagList :: Lens' ListTagsForResourceResponse [Tag]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ltfrrsResponseStatus :: Lens' ListTagsForResourceResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.ListTagsForResource.ListTagsForResourceResponse
instance Data.Data.Data Network.AWS.DMS.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Show.Show Network.AWS.DMS.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Read.Read Network.AWS.DMS.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Classes.Eq Network.AWS.DMS.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Generics.Generic Network.AWS.DMS.ListTagsForResource.ListTagsForResource
instance Data.Data.Data Network.AWS.DMS.ListTagsForResource.ListTagsForResource
instance GHC.Show.Show Network.AWS.DMS.ListTagsForResource.ListTagsForResource
instance GHC.Read.Read Network.AWS.DMS.ListTagsForResource.ListTagsForResource
instance GHC.Classes.Eq Network.AWS.DMS.ListTagsForResource.ListTagsForResource
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.ListTagsForResource.ListTagsForResource
instance Control.DeepSeq.NFData Network.AWS.DMS.ListTagsForResource.ListTagsForResourceResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.ListTagsForResource.ListTagsForResource
instance Control.DeepSeq.NFData Network.AWS.DMS.ListTagsForResource.ListTagsForResource
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.ListTagsForResource.ListTagsForResource
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.ListTagsForResource.ListTagsForResource
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.ListTagsForResource.ListTagsForResource
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.ListTagsForResource.ListTagsForResource


-- | Uploads the specified certificate.
module Network.AWS.DMS.ImportCertificate

-- | Creates a value of <a>ImportCertificate</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>icCertificatePem</a> - The contents of the .pem X.509
--   certificate file for the certificate.</li>
--   <li><a>icCertificateWallet</a> - The location of the imported Oracle
--   Wallet certificate for use with SSL.-- <i>Note:</i> This <tt>Lens</tt>
--   automatically encodes and decodes Base64 data. The underlying
--   isomorphism will encode to Base64 representation during serialisation,
--   and decode from Base64 representation during deserialisation. This
--   <tt>Lens</tt> accepts and returns only raw unencoded data.</li>
--   <li><a>icTags</a> - The tags associated with the certificate.</li>
--   <li><a>icCertificateIdentifier</a> - The customer-assigned name of the
--   certificate. Valid characters are A-z and 0-9.</li>
--   </ul>
importCertificate :: Text -> ImportCertificate

-- | <i>See:</i> <a>importCertificate</a> smart constructor.
data ImportCertificate

-- | The contents of the .pem X.509 certificate file for the certificate.
icCertificatePem :: Lens' ImportCertificate (Maybe Text)

-- | The location of the imported Oracle Wallet certificate for use with
--   SSL.-- <i>Note:</i> This <tt>Lens</tt> automatically encodes and
--   decodes Base64 data. The underlying isomorphism will encode to Base64
--   representation during serialisation, and decode from Base64
--   representation during deserialisation. This <tt>Lens</tt> accepts and
--   returns only raw unencoded data.
icCertificateWallet :: Lens' ImportCertificate (Maybe ByteString)

-- | The tags associated with the certificate.
icTags :: Lens' ImportCertificate [Tag]

-- | The customer-assigned name of the certificate. Valid characters are
--   A-z and 0-9.
icCertificateIdentifier :: Lens' ImportCertificate Text

-- | Creates a value of <a>ImportCertificateResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>icrsCertificate</a> - The certificate to be uploaded.</li>
--   <li><a>icrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
importCertificateResponse :: Int -> ImportCertificateResponse

-- | <i>See:</i> <a>importCertificateResponse</a> smart constructor.
data ImportCertificateResponse

-- | The certificate to be uploaded.
icrsCertificate :: Lens' ImportCertificateResponse (Maybe Certificate)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
icrsResponseStatus :: Lens' ImportCertificateResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.ImportCertificate.ImportCertificateResponse
instance Data.Data.Data Network.AWS.DMS.ImportCertificate.ImportCertificateResponse
instance GHC.Show.Show Network.AWS.DMS.ImportCertificate.ImportCertificateResponse
instance GHC.Read.Read Network.AWS.DMS.ImportCertificate.ImportCertificateResponse
instance GHC.Classes.Eq Network.AWS.DMS.ImportCertificate.ImportCertificateResponse
instance GHC.Generics.Generic Network.AWS.DMS.ImportCertificate.ImportCertificate
instance Data.Data.Data Network.AWS.DMS.ImportCertificate.ImportCertificate
instance GHC.Show.Show Network.AWS.DMS.ImportCertificate.ImportCertificate
instance GHC.Read.Read Network.AWS.DMS.ImportCertificate.ImportCertificate
instance GHC.Classes.Eq Network.AWS.DMS.ImportCertificate.ImportCertificate
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.ImportCertificate.ImportCertificate
instance Control.DeepSeq.NFData Network.AWS.DMS.ImportCertificate.ImportCertificateResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.ImportCertificate.ImportCertificate
instance Control.DeepSeq.NFData Network.AWS.DMS.ImportCertificate.ImportCertificate
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.ImportCertificate.ImportCertificate
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.ImportCertificate.ImportCertificate
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.ImportCertificate.ImportCertificate
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.ImportCertificate.ImportCertificate


-- | Returns table statistics on the database migration task, including
--   table name, rows inserted, rows updated, and rows deleted.
--   
--   Note that the "last updated" column the DMS console only indicates the
--   time that AWS DMS last updated the table statistics record for a
--   table. It does not indicate the time of the last update to the table.
--   
--   This operation returns paginated results.
module Network.AWS.DMS.DescribeTableStatistics

-- | Creates a value of <a>DescribeTableStatistics</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dtsFilters</a> - Filters applied to the describe table
--   statistics action. Valid filter names: schema-name | table-name |
--   table-state A combination of filters creates an AND condition where
--   each record matches all specified filters.</li>
--   <li><a>dtsMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>dtsMaxRecords</a> - The maximum number of records to include in
--   the response. If more records exist than the specified
--   <tt>MaxRecords</tt> 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 500.</li>
--   <li><a>dtsReplicationTaskARN</a> - The Amazon Resource Name (ARN) of
--   the replication task.</li>
--   </ul>
describeTableStatistics :: Text -> DescribeTableStatistics

-- | <i>See:</i> <a>describeTableStatistics</a> smart constructor.
data DescribeTableStatistics

-- | Filters applied to the describe table statistics action. Valid filter
--   names: schema-name | table-name | table-state A combination of filters
--   creates an AND condition where each record matches all specified
--   filters.
dtsFilters :: Lens' DescribeTableStatistics [Filter]

-- | 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 <tt>MaxRecords</tt> .
dtsMarker :: Lens' DescribeTableStatistics (Maybe Text)

-- | The maximum number of records to include in the response. If more
--   records exist than the specified <tt>MaxRecords</tt> 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 500.
dtsMaxRecords :: Lens' DescribeTableStatistics (Maybe Int)

-- | The Amazon Resource Name (ARN) of the replication task.
dtsReplicationTaskARN :: Lens' DescribeTableStatistics Text

-- | Creates a value of <a>DescribeTableStatisticsResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dtsrsReplicationTaskARN</a> - The Amazon Resource Name (ARN) of
--   the replication task.</li>
--   <li><a>dtsrsMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>dtsrsTableStatistics</a> - The table statistics.</li>
--   <li><a>dtsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeTableStatisticsResponse :: Int -> DescribeTableStatisticsResponse

-- | <i>See:</i> <a>describeTableStatisticsResponse</a> smart constructor.
data DescribeTableStatisticsResponse

-- | The Amazon Resource Name (ARN) of the replication task.
dtsrsReplicationTaskARN :: Lens' DescribeTableStatisticsResponse (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 <tt>MaxRecords</tt> .
dtsrsMarker :: Lens' DescribeTableStatisticsResponse (Maybe Text)

-- | The table statistics.
dtsrsTableStatistics :: Lens' DescribeTableStatisticsResponse [TableStatistics]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dtsrsResponseStatus :: Lens' DescribeTableStatisticsResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.DescribeTableStatistics.DescribeTableStatisticsResponse
instance Data.Data.Data Network.AWS.DMS.DescribeTableStatistics.DescribeTableStatisticsResponse
instance GHC.Show.Show Network.AWS.DMS.DescribeTableStatistics.DescribeTableStatisticsResponse
instance GHC.Read.Read Network.AWS.DMS.DescribeTableStatistics.DescribeTableStatisticsResponse
instance GHC.Classes.Eq Network.AWS.DMS.DescribeTableStatistics.DescribeTableStatisticsResponse
instance GHC.Generics.Generic Network.AWS.DMS.DescribeTableStatistics.DescribeTableStatistics
instance Data.Data.Data Network.AWS.DMS.DescribeTableStatistics.DescribeTableStatistics
instance GHC.Show.Show Network.AWS.DMS.DescribeTableStatistics.DescribeTableStatistics
instance GHC.Read.Read Network.AWS.DMS.DescribeTableStatistics.DescribeTableStatistics
instance GHC.Classes.Eq Network.AWS.DMS.DescribeTableStatistics.DescribeTableStatistics
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.DescribeTableStatistics.DescribeTableStatistics
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeTableStatistics.DescribeTableStatisticsResponse
instance Network.AWS.Pager.AWSPager Network.AWS.DMS.DescribeTableStatistics.DescribeTableStatistics
instance Data.Hashable.Class.Hashable Network.AWS.DMS.DescribeTableStatistics.DescribeTableStatistics
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeTableStatistics.DescribeTableStatistics
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.DescribeTableStatistics.DescribeTableStatistics
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.DescribeTableStatistics.DescribeTableStatistics
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.DescribeTableStatistics.DescribeTableStatistics
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.DescribeTableStatistics.DescribeTableStatistics


-- | Returns information about the schema for the specified endpoint.
--   
--   This operation returns paginated results.
module Network.AWS.DMS.DescribeSchemas

-- | Creates a value of <a>DescribeSchemas</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dsMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>dsMaxRecords</a> - The maximum number of records to include in
--   the response. If more records exist than the specified
--   <tt>MaxRecords</tt> 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.</li>
--   <li><a>dsEndpointARN</a> - The Amazon Resource Name (ARN) string that
--   uniquely identifies the endpoint.</li>
--   </ul>
describeSchemas :: Text -> DescribeSchemas

-- | <i>See:</i> <a>describeSchemas</a> smart constructor.
data DescribeSchemas

-- | 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 <tt>MaxRecords</tt> .
dsMarker :: Lens' DescribeSchemas (Maybe Text)

-- | The maximum number of records to include in the response. If more
--   records exist than the specified <tt>MaxRecords</tt> 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.
dsMaxRecords :: Lens' DescribeSchemas (Maybe Int)

-- | The Amazon Resource Name (ARN) string that uniquely identifies the
--   endpoint.
dsEndpointARN :: Lens' DescribeSchemas Text

-- | Creates a value of <a>DescribeSchemasResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dsrsSchemas</a> - The described schema.</li>
--   <li><a>dsrsMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>dsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeSchemasResponse :: Int -> DescribeSchemasResponse

-- | <i>See:</i> <a>describeSchemasResponse</a> smart constructor.
data DescribeSchemasResponse

-- | The described schema.
dsrsSchemas :: Lens' DescribeSchemasResponse [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 <tt>MaxRecords</tt> .
dsrsMarker :: Lens' DescribeSchemasResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dsrsResponseStatus :: Lens' DescribeSchemasResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.DescribeSchemas.DescribeSchemasResponse
instance Data.Data.Data Network.AWS.DMS.DescribeSchemas.DescribeSchemasResponse
instance GHC.Show.Show Network.AWS.DMS.DescribeSchemas.DescribeSchemasResponse
instance GHC.Read.Read Network.AWS.DMS.DescribeSchemas.DescribeSchemasResponse
instance GHC.Classes.Eq Network.AWS.DMS.DescribeSchemas.DescribeSchemasResponse
instance GHC.Generics.Generic Network.AWS.DMS.DescribeSchemas.DescribeSchemas
instance Data.Data.Data Network.AWS.DMS.DescribeSchemas.DescribeSchemas
instance GHC.Show.Show Network.AWS.DMS.DescribeSchemas.DescribeSchemas
instance GHC.Read.Read Network.AWS.DMS.DescribeSchemas.DescribeSchemas
instance GHC.Classes.Eq Network.AWS.DMS.DescribeSchemas.DescribeSchemas
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.DescribeSchemas.DescribeSchemas
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeSchemas.DescribeSchemasResponse
instance Network.AWS.Pager.AWSPager Network.AWS.DMS.DescribeSchemas.DescribeSchemas
instance Data.Hashable.Class.Hashable Network.AWS.DMS.DescribeSchemas.DescribeSchemas
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeSchemas.DescribeSchemas
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.DescribeSchemas.DescribeSchemas
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.DescribeSchemas.DescribeSchemas
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.DescribeSchemas.DescribeSchemas
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.DescribeSchemas.DescribeSchemas


-- | Returns information about replication tasks for your account in the
--   current region.
--   
--   This operation returns paginated results.
module Network.AWS.DMS.DescribeReplicationTasks

-- | Creates a value of <a>DescribeReplicationTasks</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drtFilters</a> - Filters applied to the describe action. Valid
--   filter names: replication-task-arn | replication-task-id |
--   migration-type | endpoint-arn | replication-instance-arn</li>
--   <li><a>drtMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>drtMaxRecords</a> - The maximum number of records to include in
--   the response. If more records exist than the specified
--   <tt>MaxRecords</tt> 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.</li>
--   </ul>
describeReplicationTasks :: DescribeReplicationTasks

-- | <i>See:</i> <a>describeReplicationTasks</a> smart constructor.
data DescribeReplicationTasks

-- | Filters applied to the describe action. Valid filter names:
--   replication-task-arn | replication-task-id | migration-type |
--   endpoint-arn | replication-instance-arn
drtFilters :: Lens' DescribeReplicationTasks [Filter]

-- | 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 <tt>MaxRecords</tt> .
drtMarker :: Lens' DescribeReplicationTasks (Maybe Text)

-- | The maximum number of records to include in the response. If more
--   records exist than the specified <tt>MaxRecords</tt> 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.
drtMaxRecords :: Lens' DescribeReplicationTasks (Maybe Int)

-- | Creates a value of <a>DescribeReplicationTasksResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drtsrsReplicationTasks</a> - A description of the replication
--   tasks.</li>
--   <li><a>drtsrsMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>drtsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeReplicationTasksResponse :: Int -> DescribeReplicationTasksResponse

-- | <i>See:</i> <a>describeReplicationTasksResponse</a> smart constructor.
data DescribeReplicationTasksResponse

-- | A description of the replication tasks.
drtsrsReplicationTasks :: Lens' DescribeReplicationTasksResponse [ReplicationTask]

-- | 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 <tt>MaxRecords</tt> .
drtsrsMarker :: Lens' DescribeReplicationTasksResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
drtsrsResponseStatus :: Lens' DescribeReplicationTasksResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.DescribeReplicationTasks.DescribeReplicationTasksResponse
instance Data.Data.Data Network.AWS.DMS.DescribeReplicationTasks.DescribeReplicationTasksResponse
instance GHC.Show.Show Network.AWS.DMS.DescribeReplicationTasks.DescribeReplicationTasksResponse
instance GHC.Read.Read Network.AWS.DMS.DescribeReplicationTasks.DescribeReplicationTasksResponse
instance GHC.Classes.Eq Network.AWS.DMS.DescribeReplicationTasks.DescribeReplicationTasksResponse
instance GHC.Generics.Generic Network.AWS.DMS.DescribeReplicationTasks.DescribeReplicationTasks
instance Data.Data.Data Network.AWS.DMS.DescribeReplicationTasks.DescribeReplicationTasks
instance GHC.Show.Show Network.AWS.DMS.DescribeReplicationTasks.DescribeReplicationTasks
instance GHC.Read.Read Network.AWS.DMS.DescribeReplicationTasks.DescribeReplicationTasks
instance GHC.Classes.Eq Network.AWS.DMS.DescribeReplicationTasks.DescribeReplicationTasks
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.DescribeReplicationTasks.DescribeReplicationTasks
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeReplicationTasks.DescribeReplicationTasksResponse
instance Network.AWS.Pager.AWSPager Network.AWS.DMS.DescribeReplicationTasks.DescribeReplicationTasks
instance Data.Hashable.Class.Hashable Network.AWS.DMS.DescribeReplicationTasks.DescribeReplicationTasks
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeReplicationTasks.DescribeReplicationTasks
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.DescribeReplicationTasks.DescribeReplicationTasks
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.DescribeReplicationTasks.DescribeReplicationTasks
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.DescribeReplicationTasks.DescribeReplicationTasks
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.DescribeReplicationTasks.DescribeReplicationTasks


-- | Returns the task assessment results from Amazon S3. This action always
--   returns the latest results.
--   
--   This operation returns paginated results.
module Network.AWS.DMS.DescribeReplicationTaskAssessmentResults

-- | Creates a value of <a>DescribeReplicationTaskAssessmentResults</a>
--   with the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drtarReplicationTaskARN</a> - - The Amazon Resource Name (ARN)
--   string that uniquely identifies the task. When this input parameter is
--   specified the API will return only one result and ignore the values of
--   the max-records and marker parameters.</li>
--   <li><a>drtarMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>drtarMaxRecords</a> - The maximum number of records to include
--   in the response. If more records exist than the specified
--   <tt>MaxRecords</tt> 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.</li>
--   </ul>
describeReplicationTaskAssessmentResults :: DescribeReplicationTaskAssessmentResults

-- | <i>See:</i> <a>describeReplicationTaskAssessmentResults</a> smart
--   constructor.
data DescribeReplicationTaskAssessmentResults

-- | <ul>
--   <li>The Amazon Resource Name (ARN) string that uniquely identifies the
--   task. When this input parameter is specified the API will return only
--   one result and ignore the values of the max-records and marker
--   parameters.</li>
--   </ul>
drtarReplicationTaskARN :: Lens' DescribeReplicationTaskAssessmentResults (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 <tt>MaxRecords</tt> .
drtarMarker :: Lens' DescribeReplicationTaskAssessmentResults (Maybe Text)

-- | The maximum number of records to include in the response. If more
--   records exist than the specified <tt>MaxRecords</tt> 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.
drtarMaxRecords :: Lens' DescribeReplicationTaskAssessmentResults (Maybe Int)

-- | Creates a value of
--   <a>DescribeReplicationTaskAssessmentResultsResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drtarrsBucketName</a> - - The Amazon S3 bucket where the task
--   assessment report is located.</li>
--   <li><a>drtarrsMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>drtarrsReplicationTaskAssessmentResults</a> - The task
--   assessment report.</li>
--   <li><a>drtarrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeReplicationTaskAssessmentResultsResponse :: Int -> DescribeReplicationTaskAssessmentResultsResponse

-- | <i>See:</i> <a>describeReplicationTaskAssessmentResultsResponse</a>
--   smart constructor.
data DescribeReplicationTaskAssessmentResultsResponse

-- | <ul>
--   <li>The Amazon S3 bucket where the task assessment report is
--   located.</li>
--   </ul>
drtarrsBucketName :: Lens' DescribeReplicationTaskAssessmentResultsResponse (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 <tt>MaxRecords</tt> .
drtarrsMarker :: Lens' DescribeReplicationTaskAssessmentResultsResponse (Maybe Text)

-- | The task assessment report.
drtarrsReplicationTaskAssessmentResults :: Lens' DescribeReplicationTaskAssessmentResultsResponse [ReplicationTaskAssessmentResult]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
drtarrsResponseStatus :: Lens' DescribeReplicationTaskAssessmentResultsResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.DescribeReplicationTaskAssessmentResults.DescribeReplicationTaskAssessmentResultsResponse
instance Data.Data.Data Network.AWS.DMS.DescribeReplicationTaskAssessmentResults.DescribeReplicationTaskAssessmentResultsResponse
instance GHC.Show.Show Network.AWS.DMS.DescribeReplicationTaskAssessmentResults.DescribeReplicationTaskAssessmentResultsResponse
instance GHC.Read.Read Network.AWS.DMS.DescribeReplicationTaskAssessmentResults.DescribeReplicationTaskAssessmentResultsResponse
instance GHC.Classes.Eq Network.AWS.DMS.DescribeReplicationTaskAssessmentResults.DescribeReplicationTaskAssessmentResultsResponse
instance GHC.Generics.Generic Network.AWS.DMS.DescribeReplicationTaskAssessmentResults.DescribeReplicationTaskAssessmentResults
instance Data.Data.Data Network.AWS.DMS.DescribeReplicationTaskAssessmentResults.DescribeReplicationTaskAssessmentResults
instance GHC.Show.Show Network.AWS.DMS.DescribeReplicationTaskAssessmentResults.DescribeReplicationTaskAssessmentResults
instance GHC.Read.Read Network.AWS.DMS.DescribeReplicationTaskAssessmentResults.DescribeReplicationTaskAssessmentResults
instance GHC.Classes.Eq Network.AWS.DMS.DescribeReplicationTaskAssessmentResults.DescribeReplicationTaskAssessmentResults
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.DescribeReplicationTaskAssessmentResults.DescribeReplicationTaskAssessmentResults
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeReplicationTaskAssessmentResults.DescribeReplicationTaskAssessmentResultsResponse
instance Network.AWS.Pager.AWSPager Network.AWS.DMS.DescribeReplicationTaskAssessmentResults.DescribeReplicationTaskAssessmentResults
instance Data.Hashable.Class.Hashable Network.AWS.DMS.DescribeReplicationTaskAssessmentResults.DescribeReplicationTaskAssessmentResults
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeReplicationTaskAssessmentResults.DescribeReplicationTaskAssessmentResults
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.DescribeReplicationTaskAssessmentResults.DescribeReplicationTaskAssessmentResults
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.DescribeReplicationTaskAssessmentResults.DescribeReplicationTaskAssessmentResults
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.DescribeReplicationTaskAssessmentResults.DescribeReplicationTaskAssessmentResults
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.DescribeReplicationTaskAssessmentResults.DescribeReplicationTaskAssessmentResults


-- | Returns information about the replication subnet groups.
--   
--   This operation returns paginated results.
module Network.AWS.DMS.DescribeReplicationSubnetGroups

-- | Creates a value of <a>DescribeReplicationSubnetGroups</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drsgFilters</a> - Filters applied to the describe action.</li>
--   <li><a>drsgMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>drsgMaxRecords</a> - The maximum number of records to include
--   in the response. If more records exist than the specified
--   <tt>MaxRecords</tt> 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.</li>
--   </ul>
describeReplicationSubnetGroups :: DescribeReplicationSubnetGroups

-- | <i>See:</i> <a>describeReplicationSubnetGroups</a> smart constructor.
data DescribeReplicationSubnetGroups

-- | Filters applied to the describe action.
drsgFilters :: Lens' DescribeReplicationSubnetGroups [Filter]

-- | 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 <tt>MaxRecords</tt> .
drsgMarker :: Lens' DescribeReplicationSubnetGroups (Maybe Text)

-- | The maximum number of records to include in the response. If more
--   records exist than the specified <tt>MaxRecords</tt> 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.
drsgMaxRecords :: Lens' DescribeReplicationSubnetGroups (Maybe Int)

-- | Creates a value of <a>DescribeReplicationSubnetGroupsResponse</a> with
--   the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drsgsrsMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>drsgsrsReplicationSubnetGroups</a> - A description of the
--   replication subnet groups.</li>
--   <li><a>drsgsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeReplicationSubnetGroupsResponse :: Int -> DescribeReplicationSubnetGroupsResponse

-- | <i>See:</i> <a>describeReplicationSubnetGroupsResponse</a> smart
--   constructor.
data DescribeReplicationSubnetGroupsResponse

-- | 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 <tt>MaxRecords</tt> .
drsgsrsMarker :: Lens' DescribeReplicationSubnetGroupsResponse (Maybe Text)

-- | A description of the replication subnet groups.
drsgsrsReplicationSubnetGroups :: Lens' DescribeReplicationSubnetGroupsResponse [ReplicationSubnetGroup]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
drsgsrsResponseStatus :: Lens' DescribeReplicationSubnetGroupsResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.DescribeReplicationSubnetGroups.DescribeReplicationSubnetGroupsResponse
instance Data.Data.Data Network.AWS.DMS.DescribeReplicationSubnetGroups.DescribeReplicationSubnetGroupsResponse
instance GHC.Show.Show Network.AWS.DMS.DescribeReplicationSubnetGroups.DescribeReplicationSubnetGroupsResponse
instance GHC.Read.Read Network.AWS.DMS.DescribeReplicationSubnetGroups.DescribeReplicationSubnetGroupsResponse
instance GHC.Classes.Eq Network.AWS.DMS.DescribeReplicationSubnetGroups.DescribeReplicationSubnetGroupsResponse
instance GHC.Generics.Generic Network.AWS.DMS.DescribeReplicationSubnetGroups.DescribeReplicationSubnetGroups
instance Data.Data.Data Network.AWS.DMS.DescribeReplicationSubnetGroups.DescribeReplicationSubnetGroups
instance GHC.Show.Show Network.AWS.DMS.DescribeReplicationSubnetGroups.DescribeReplicationSubnetGroups
instance GHC.Read.Read Network.AWS.DMS.DescribeReplicationSubnetGroups.DescribeReplicationSubnetGroups
instance GHC.Classes.Eq Network.AWS.DMS.DescribeReplicationSubnetGroups.DescribeReplicationSubnetGroups
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.DescribeReplicationSubnetGroups.DescribeReplicationSubnetGroups
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeReplicationSubnetGroups.DescribeReplicationSubnetGroupsResponse
instance Network.AWS.Pager.AWSPager Network.AWS.DMS.DescribeReplicationSubnetGroups.DescribeReplicationSubnetGroups
instance Data.Hashable.Class.Hashable Network.AWS.DMS.DescribeReplicationSubnetGroups.DescribeReplicationSubnetGroups
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeReplicationSubnetGroups.DescribeReplicationSubnetGroups
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.DescribeReplicationSubnetGroups.DescribeReplicationSubnetGroups
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.DescribeReplicationSubnetGroups.DescribeReplicationSubnetGroups
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.DescribeReplicationSubnetGroups.DescribeReplicationSubnetGroups
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.DescribeReplicationSubnetGroups.DescribeReplicationSubnetGroups


-- | Returns information about replication instances for your account in
--   the current region.
--   
--   This operation returns paginated results.
module Network.AWS.DMS.DescribeReplicationInstances

-- | Creates a value of <a>DescribeReplicationInstances</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>driFilters</a> - Filters applied to the describe action. Valid
--   filter names: replication-instance-arn | replication-instance-id |
--   replication-instance-class | engine-version</li>
--   <li><a>driMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>driMaxRecords</a> - The maximum number of records to include in
--   the response. If more records exist than the specified
--   <tt>MaxRecords</tt> 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.</li>
--   </ul>
describeReplicationInstances :: DescribeReplicationInstances

-- | <i>See:</i> <a>describeReplicationInstances</a> smart constructor.
data DescribeReplicationInstances

-- | Filters applied to the describe action. Valid filter names:
--   replication-instance-arn | replication-instance-id |
--   replication-instance-class | engine-version
driFilters :: Lens' DescribeReplicationInstances [Filter]

-- | 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 <tt>MaxRecords</tt> .
driMarker :: Lens' DescribeReplicationInstances (Maybe Text)

-- | The maximum number of records to include in the response. If more
--   records exist than the specified <tt>MaxRecords</tt> 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.
driMaxRecords :: Lens' DescribeReplicationInstances (Maybe Int)

-- | Creates a value of <a>DescribeReplicationInstancesResponse</a> with
--   the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drisrsMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>drisrsReplicationInstances</a> - The replication instances
--   described.</li>
--   <li><a>drisrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeReplicationInstancesResponse :: Int -> DescribeReplicationInstancesResponse

-- | <i>See:</i> <a>describeReplicationInstancesResponse</a> smart
--   constructor.
data DescribeReplicationInstancesResponse

-- | 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 <tt>MaxRecords</tt> .
drisrsMarker :: Lens' DescribeReplicationInstancesResponse (Maybe Text)

-- | The replication instances described.
drisrsReplicationInstances :: Lens' DescribeReplicationInstancesResponse [ReplicationInstance]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
drisrsResponseStatus :: Lens' DescribeReplicationInstancesResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.DescribeReplicationInstances.DescribeReplicationInstancesResponse
instance Data.Data.Data Network.AWS.DMS.DescribeReplicationInstances.DescribeReplicationInstancesResponse
instance GHC.Show.Show Network.AWS.DMS.DescribeReplicationInstances.DescribeReplicationInstancesResponse
instance GHC.Read.Read Network.AWS.DMS.DescribeReplicationInstances.DescribeReplicationInstancesResponse
instance GHC.Classes.Eq Network.AWS.DMS.DescribeReplicationInstances.DescribeReplicationInstancesResponse
instance GHC.Generics.Generic Network.AWS.DMS.DescribeReplicationInstances.DescribeReplicationInstances
instance Data.Data.Data Network.AWS.DMS.DescribeReplicationInstances.DescribeReplicationInstances
instance GHC.Show.Show Network.AWS.DMS.DescribeReplicationInstances.DescribeReplicationInstances
instance GHC.Read.Read Network.AWS.DMS.DescribeReplicationInstances.DescribeReplicationInstances
instance GHC.Classes.Eq Network.AWS.DMS.DescribeReplicationInstances.DescribeReplicationInstances
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.DescribeReplicationInstances.DescribeReplicationInstances
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeReplicationInstances.DescribeReplicationInstancesResponse
instance Network.AWS.Pager.AWSPager Network.AWS.DMS.DescribeReplicationInstances.DescribeReplicationInstances
instance Data.Hashable.Class.Hashable Network.AWS.DMS.DescribeReplicationInstances.DescribeReplicationInstances
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeReplicationInstances.DescribeReplicationInstances
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.DescribeReplicationInstances.DescribeReplicationInstances
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.DescribeReplicationInstances.DescribeReplicationInstances
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.DescribeReplicationInstances.DescribeReplicationInstances
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.DescribeReplicationInstances.DescribeReplicationInstances


-- | Returns information about the task logs for the specified task.
module Network.AWS.DMS.DescribeReplicationInstanceTaskLogs

-- | Creates a value of <a>DescribeReplicationInstanceTaskLogs</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dritlMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>dritlMaxRecords</a> - The maximum number of records to include
--   in the response. If more records exist than the specified
--   <tt>MaxRecords</tt> 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.</li>
--   <li><a>dritlReplicationInstanceARN</a> - The Amazon Resource Name
--   (ARN) of the replication instance.</li>
--   </ul>
describeReplicationInstanceTaskLogs :: Text -> DescribeReplicationInstanceTaskLogs

-- | <i>See:</i> <a>describeReplicationInstanceTaskLogs</a> smart
--   constructor.
data DescribeReplicationInstanceTaskLogs

-- | 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 <tt>MaxRecords</tt> .
dritlMarker :: Lens' DescribeReplicationInstanceTaskLogs (Maybe Text)

-- | The maximum number of records to include in the response. If more
--   records exist than the specified <tt>MaxRecords</tt> 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.
dritlMaxRecords :: Lens' DescribeReplicationInstanceTaskLogs (Maybe Int)

-- | The Amazon Resource Name (ARN) of the replication instance.
dritlReplicationInstanceARN :: Lens' DescribeReplicationInstanceTaskLogs Text

-- | Creates a value of <a>DescribeReplicationInstanceTaskLogsResponse</a>
--   with the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dritlrsReplicationInstanceTaskLogs</a> - An array of
--   replication task log metadata. Each member of the array contains the
--   replication task name, ARN, and task log size (in bytes).</li>
--   <li><a>dritlrsMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>dritlrsReplicationInstanceARN</a> - The Amazon Resource Name
--   (ARN) of the replication instance.</li>
--   <li><a>dritlrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeReplicationInstanceTaskLogsResponse :: Int -> DescribeReplicationInstanceTaskLogsResponse

-- | <i>See:</i> <a>describeReplicationInstanceTaskLogsResponse</a> smart
--   constructor.
data DescribeReplicationInstanceTaskLogsResponse

-- | An array of replication task log metadata. Each member of the array
--   contains the replication task name, ARN, and task log size (in bytes).
dritlrsReplicationInstanceTaskLogs :: Lens' DescribeReplicationInstanceTaskLogsResponse [ReplicationInstanceTaskLog]

-- | 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 <tt>MaxRecords</tt> .
dritlrsMarker :: Lens' DescribeReplicationInstanceTaskLogsResponse (Maybe Text)

-- | The Amazon Resource Name (ARN) of the replication instance.
dritlrsReplicationInstanceARN :: Lens' DescribeReplicationInstanceTaskLogsResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dritlrsResponseStatus :: Lens' DescribeReplicationInstanceTaskLogsResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.DescribeReplicationInstanceTaskLogs.DescribeReplicationInstanceTaskLogsResponse
instance Data.Data.Data Network.AWS.DMS.DescribeReplicationInstanceTaskLogs.DescribeReplicationInstanceTaskLogsResponse
instance GHC.Show.Show Network.AWS.DMS.DescribeReplicationInstanceTaskLogs.DescribeReplicationInstanceTaskLogsResponse
instance GHC.Read.Read Network.AWS.DMS.DescribeReplicationInstanceTaskLogs.DescribeReplicationInstanceTaskLogsResponse
instance GHC.Classes.Eq Network.AWS.DMS.DescribeReplicationInstanceTaskLogs.DescribeReplicationInstanceTaskLogsResponse
instance GHC.Generics.Generic Network.AWS.DMS.DescribeReplicationInstanceTaskLogs.DescribeReplicationInstanceTaskLogs
instance Data.Data.Data Network.AWS.DMS.DescribeReplicationInstanceTaskLogs.DescribeReplicationInstanceTaskLogs
instance GHC.Show.Show Network.AWS.DMS.DescribeReplicationInstanceTaskLogs.DescribeReplicationInstanceTaskLogs
instance GHC.Read.Read Network.AWS.DMS.DescribeReplicationInstanceTaskLogs.DescribeReplicationInstanceTaskLogs
instance GHC.Classes.Eq Network.AWS.DMS.DescribeReplicationInstanceTaskLogs.DescribeReplicationInstanceTaskLogs
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.DescribeReplicationInstanceTaskLogs.DescribeReplicationInstanceTaskLogs
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeReplicationInstanceTaskLogs.DescribeReplicationInstanceTaskLogsResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.DescribeReplicationInstanceTaskLogs.DescribeReplicationInstanceTaskLogs
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeReplicationInstanceTaskLogs.DescribeReplicationInstanceTaskLogs
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.DescribeReplicationInstanceTaskLogs.DescribeReplicationInstanceTaskLogs
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.DescribeReplicationInstanceTaskLogs.DescribeReplicationInstanceTaskLogs
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.DescribeReplicationInstanceTaskLogs.DescribeReplicationInstanceTaskLogs
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.DescribeReplicationInstanceTaskLogs.DescribeReplicationInstanceTaskLogs


-- | Returns the status of the RefreshSchemas operation.
module Network.AWS.DMS.DescribeRefreshSchemasStatus

-- | Creates a value of <a>DescribeRefreshSchemasStatus</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drssEndpointARN</a> - The Amazon Resource Name (ARN) string
--   that uniquely identifies the endpoint.</li>
--   </ul>
describeRefreshSchemasStatus :: Text -> DescribeRefreshSchemasStatus

-- | <i>See:</i> <a>describeRefreshSchemasStatus</a> smart constructor.
data DescribeRefreshSchemasStatus

-- | The Amazon Resource Name (ARN) string that uniquely identifies the
--   endpoint.
drssEndpointARN :: Lens' DescribeRefreshSchemasStatus Text

-- | Creates a value of <a>DescribeRefreshSchemasStatusResponse</a> with
--   the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drssrsRefreshSchemasStatus</a> - The status of the schema.</li>
--   <li><a>drssrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeRefreshSchemasStatusResponse :: Int -> DescribeRefreshSchemasStatusResponse

-- | <i>See:</i> <a>describeRefreshSchemasStatusResponse</a> smart
--   constructor.
data DescribeRefreshSchemasStatusResponse

-- | The status of the schema.
drssrsRefreshSchemasStatus :: Lens' DescribeRefreshSchemasStatusResponse (Maybe RefreshSchemasStatus)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
drssrsResponseStatus :: Lens' DescribeRefreshSchemasStatusResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.DescribeRefreshSchemasStatus.DescribeRefreshSchemasStatusResponse
instance Data.Data.Data Network.AWS.DMS.DescribeRefreshSchemasStatus.DescribeRefreshSchemasStatusResponse
instance GHC.Show.Show Network.AWS.DMS.DescribeRefreshSchemasStatus.DescribeRefreshSchemasStatusResponse
instance GHC.Read.Read Network.AWS.DMS.DescribeRefreshSchemasStatus.DescribeRefreshSchemasStatusResponse
instance GHC.Classes.Eq Network.AWS.DMS.DescribeRefreshSchemasStatus.DescribeRefreshSchemasStatusResponse
instance GHC.Generics.Generic Network.AWS.DMS.DescribeRefreshSchemasStatus.DescribeRefreshSchemasStatus
instance Data.Data.Data Network.AWS.DMS.DescribeRefreshSchemasStatus.DescribeRefreshSchemasStatus
instance GHC.Show.Show Network.AWS.DMS.DescribeRefreshSchemasStatus.DescribeRefreshSchemasStatus
instance GHC.Read.Read Network.AWS.DMS.DescribeRefreshSchemasStatus.DescribeRefreshSchemasStatus
instance GHC.Classes.Eq Network.AWS.DMS.DescribeRefreshSchemasStatus.DescribeRefreshSchemasStatus
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.DescribeRefreshSchemasStatus.DescribeRefreshSchemasStatus
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeRefreshSchemasStatus.DescribeRefreshSchemasStatusResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.DescribeRefreshSchemasStatus.DescribeRefreshSchemasStatus
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeRefreshSchemasStatus.DescribeRefreshSchemasStatus
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.DescribeRefreshSchemasStatus.DescribeRefreshSchemasStatus
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.DescribeRefreshSchemasStatus.DescribeRefreshSchemasStatus
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.DescribeRefreshSchemasStatus.DescribeRefreshSchemasStatus
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.DescribeRefreshSchemasStatus.DescribeRefreshSchemasStatus


-- | Returns information about the replication instance types that can be
--   created in the specified region.
--   
--   This operation returns paginated results.
module Network.AWS.DMS.DescribeOrderableReplicationInstances

-- | Creates a value of <a>DescribeOrderableReplicationInstances</a> with
--   the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>doriMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>doriMaxRecords</a> - The maximum number of records to include
--   in the response. If more records exist than the specified
--   <tt>MaxRecords</tt> 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.</li>
--   </ul>
describeOrderableReplicationInstances :: DescribeOrderableReplicationInstances

-- | <i>See:</i> <a>describeOrderableReplicationInstances</a> smart
--   constructor.
data DescribeOrderableReplicationInstances

-- | 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 <tt>MaxRecords</tt> .
doriMarker :: Lens' DescribeOrderableReplicationInstances (Maybe Text)

-- | The maximum number of records to include in the response. If more
--   records exist than the specified <tt>MaxRecords</tt> 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.
doriMaxRecords :: Lens' DescribeOrderableReplicationInstances (Maybe Int)

-- | Creates a value of
--   <a>DescribeOrderableReplicationInstancesResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dorirsMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>dorirsOrderableReplicationInstances</a> - The order-able
--   replication instances available.</li>
--   <li><a>dorirsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeOrderableReplicationInstancesResponse :: Int -> DescribeOrderableReplicationInstancesResponse

-- | <i>See:</i> <a>describeOrderableReplicationInstancesResponse</a> smart
--   constructor.
data DescribeOrderableReplicationInstancesResponse

-- | 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 <tt>MaxRecords</tt> .
dorirsMarker :: Lens' DescribeOrderableReplicationInstancesResponse (Maybe Text)

-- | The order-able replication instances available.
dorirsOrderableReplicationInstances :: Lens' DescribeOrderableReplicationInstancesResponse [OrderableReplicationInstance]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dorirsResponseStatus :: Lens' DescribeOrderableReplicationInstancesResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.DescribeOrderableReplicationInstances.DescribeOrderableReplicationInstancesResponse
instance Data.Data.Data Network.AWS.DMS.DescribeOrderableReplicationInstances.DescribeOrderableReplicationInstancesResponse
instance GHC.Show.Show Network.AWS.DMS.DescribeOrderableReplicationInstances.DescribeOrderableReplicationInstancesResponse
instance GHC.Read.Read Network.AWS.DMS.DescribeOrderableReplicationInstances.DescribeOrderableReplicationInstancesResponse
instance GHC.Classes.Eq Network.AWS.DMS.DescribeOrderableReplicationInstances.DescribeOrderableReplicationInstancesResponse
instance GHC.Generics.Generic Network.AWS.DMS.DescribeOrderableReplicationInstances.DescribeOrderableReplicationInstances
instance Data.Data.Data Network.AWS.DMS.DescribeOrderableReplicationInstances.DescribeOrderableReplicationInstances
instance GHC.Show.Show Network.AWS.DMS.DescribeOrderableReplicationInstances.DescribeOrderableReplicationInstances
instance GHC.Read.Read Network.AWS.DMS.DescribeOrderableReplicationInstances.DescribeOrderableReplicationInstances
instance GHC.Classes.Eq Network.AWS.DMS.DescribeOrderableReplicationInstances.DescribeOrderableReplicationInstances
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.DescribeOrderableReplicationInstances.DescribeOrderableReplicationInstances
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeOrderableReplicationInstances.DescribeOrderableReplicationInstancesResponse
instance Network.AWS.Pager.AWSPager Network.AWS.DMS.DescribeOrderableReplicationInstances.DescribeOrderableReplicationInstances
instance Data.Hashable.Class.Hashable Network.AWS.DMS.DescribeOrderableReplicationInstances.DescribeOrderableReplicationInstances
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeOrderableReplicationInstances.DescribeOrderableReplicationInstances
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.DescribeOrderableReplicationInstances.DescribeOrderableReplicationInstances
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.DescribeOrderableReplicationInstances.DescribeOrderableReplicationInstances
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.DescribeOrderableReplicationInstances.DescribeOrderableReplicationInstances
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.DescribeOrderableReplicationInstances.DescribeOrderableReplicationInstances


-- | Lists events for a given source identifier and source type. You can
--   also specify a start and end time. For more information on AWS DMS
--   events, see <a>Working with Events and Notifications</a> .
--   
--   This operation returns paginated results.
module Network.AWS.DMS.DescribeEvents

-- | Creates a value of <a>DescribeEvents</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>deStartTime</a> - The start time for the events to be
--   listed.</li>
--   <li><a>deSourceType</a> - The type of AWS DMS resource that generates
--   events. Valid values: replication-instance | migration-task</li>
--   <li><a>deFilters</a> - Filters applied to the action.</li>
--   <li><a>deSourceIdentifier</a> - The identifier of the event source. An
--   identifier must begin with a letter and must contain only ASCII
--   letters, digits, and hyphens. It cannot end with a hyphen or contain
--   two consecutive hyphens.</li>
--   <li><a>deEventCategories</a> - A list of event categories for a source
--   type that you want to subscribe to.</li>
--   <li><a>deMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>deMaxRecords</a> - The maximum number of records to include in
--   the response. If more records exist than the specified
--   <tt>MaxRecords</tt> 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.</li>
--   <li><a>deEndTime</a> - The end time for the events to be listed.</li>
--   <li><a>deDuration</a> - The duration of the events to be listed.</li>
--   </ul>
describeEvents :: DescribeEvents

-- | <i>See:</i> <a>describeEvents</a> smart constructor.
data DescribeEvents

-- | The start time for the events to be listed.
deStartTime :: Lens' DescribeEvents (Maybe UTCTime)

-- | The type of AWS DMS resource that generates events. Valid values:
--   replication-instance | migration-task
deSourceType :: Lens' DescribeEvents (Maybe SourceType)

-- | Filters applied to the action.
deFilters :: Lens' DescribeEvents [Filter]

-- | The identifier of the event source. An identifier must begin with a
--   letter and must contain only ASCII letters, digits, and hyphens. It
--   cannot end with a hyphen or contain two consecutive hyphens.
deSourceIdentifier :: Lens' DescribeEvents (Maybe Text)

-- | A list of event categories for a source type that you want to
--   subscribe to.
deEventCategories :: Lens' DescribeEvents [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 <tt>MaxRecords</tt> .
deMarker :: Lens' DescribeEvents (Maybe Text)

-- | The maximum number of records to include in the response. If more
--   records exist than the specified <tt>MaxRecords</tt> 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.
deMaxRecords :: Lens' DescribeEvents (Maybe Int)

-- | The end time for the events to be listed.
deEndTime :: Lens' DescribeEvents (Maybe UTCTime)

-- | The duration of the events to be listed.
deDuration :: Lens' DescribeEvents (Maybe Int)

-- | Creates a value of <a>DescribeEventsResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>deersEvents</a> - The events described.</li>
--   <li><a>deersMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>deersResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeEventsResponse :: Int -> DescribeEventsResponse

-- | <i>See:</i> <a>describeEventsResponse</a> smart constructor.
data DescribeEventsResponse

-- | The events described.
deersEvents :: Lens' DescribeEventsResponse [Event]

-- | 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 <tt>MaxRecords</tt> .
deersMarker :: Lens' DescribeEventsResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
deersResponseStatus :: Lens' DescribeEventsResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.DescribeEvents.DescribeEventsResponse
instance Data.Data.Data Network.AWS.DMS.DescribeEvents.DescribeEventsResponse
instance GHC.Show.Show Network.AWS.DMS.DescribeEvents.DescribeEventsResponse
instance GHC.Read.Read Network.AWS.DMS.DescribeEvents.DescribeEventsResponse
instance GHC.Classes.Eq Network.AWS.DMS.DescribeEvents.DescribeEventsResponse
instance GHC.Generics.Generic Network.AWS.DMS.DescribeEvents.DescribeEvents
instance Data.Data.Data Network.AWS.DMS.DescribeEvents.DescribeEvents
instance GHC.Show.Show Network.AWS.DMS.DescribeEvents.DescribeEvents
instance GHC.Read.Read Network.AWS.DMS.DescribeEvents.DescribeEvents
instance GHC.Classes.Eq Network.AWS.DMS.DescribeEvents.DescribeEvents
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.DescribeEvents.DescribeEvents
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeEvents.DescribeEventsResponse
instance Network.AWS.Pager.AWSPager Network.AWS.DMS.DescribeEvents.DescribeEvents
instance Data.Hashable.Class.Hashable Network.AWS.DMS.DescribeEvents.DescribeEvents
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeEvents.DescribeEvents
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.DescribeEvents.DescribeEvents
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.DescribeEvents.DescribeEvents
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.DescribeEvents.DescribeEvents
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.DescribeEvents.DescribeEvents


-- | Lists all the event subscriptions for a customer account. The
--   description of a subscription includes <tt>SubscriptionName</tt> ,
--   <tt>SNSTopicARN</tt> , <tt>CustomerID</tt> , <tt>SourceType</tt> ,
--   <tt>SourceID</tt> , <tt>CreationTime</tt> , and <tt>Status</tt> .
--   
--   If you specify <tt>SubscriptionName</tt> , this action lists the
--   description for that subscription.
--   
--   This operation returns paginated results.
module Network.AWS.DMS.DescribeEventSubscriptions

-- | Creates a value of <a>DescribeEventSubscriptions</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dessSubscriptionName</a> - The name of the AWS DMS event
--   subscription to be described.</li>
--   <li><a>dessFilters</a> - Filters applied to the action.</li>
--   <li><a>dessMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>dessMaxRecords</a> - The maximum number of records to include
--   in the response. If more records exist than the specified
--   <tt>MaxRecords</tt> 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.</li>
--   </ul>
describeEventSubscriptions :: DescribeEventSubscriptions

-- | <i>See:</i> <a>describeEventSubscriptions</a> smart constructor.
data DescribeEventSubscriptions

-- | The name of the AWS DMS event subscription to be described.
dessSubscriptionName :: Lens' DescribeEventSubscriptions (Maybe Text)

-- | Filters applied to the action.
dessFilters :: Lens' DescribeEventSubscriptions [Filter]

-- | 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 <tt>MaxRecords</tt> .
dessMarker :: Lens' DescribeEventSubscriptions (Maybe Text)

-- | The maximum number of records to include in the response. If more
--   records exist than the specified <tt>MaxRecords</tt> 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.
dessMaxRecords :: Lens' DescribeEventSubscriptions (Maybe Int)

-- | Creates a value of <a>DescribeEventSubscriptionsResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>desrsEventSubscriptionsList</a> - A list of event
--   subscriptions.</li>
--   <li><a>desrsMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>desrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeEventSubscriptionsResponse :: Int -> DescribeEventSubscriptionsResponse

-- | <i>See:</i> <a>describeEventSubscriptionsResponse</a> smart
--   constructor.
data DescribeEventSubscriptionsResponse

-- | A list of event subscriptions.
desrsEventSubscriptionsList :: Lens' DescribeEventSubscriptionsResponse [EventSubscription]

-- | 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 <tt>MaxRecords</tt> .
desrsMarker :: Lens' DescribeEventSubscriptionsResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
desrsResponseStatus :: Lens' DescribeEventSubscriptionsResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.DescribeEventSubscriptions.DescribeEventSubscriptionsResponse
instance Data.Data.Data Network.AWS.DMS.DescribeEventSubscriptions.DescribeEventSubscriptionsResponse
instance GHC.Show.Show Network.AWS.DMS.DescribeEventSubscriptions.DescribeEventSubscriptionsResponse
instance GHC.Read.Read Network.AWS.DMS.DescribeEventSubscriptions.DescribeEventSubscriptionsResponse
instance GHC.Classes.Eq Network.AWS.DMS.DescribeEventSubscriptions.DescribeEventSubscriptionsResponse
instance GHC.Generics.Generic Network.AWS.DMS.DescribeEventSubscriptions.DescribeEventSubscriptions
instance Data.Data.Data Network.AWS.DMS.DescribeEventSubscriptions.DescribeEventSubscriptions
instance GHC.Show.Show Network.AWS.DMS.DescribeEventSubscriptions.DescribeEventSubscriptions
instance GHC.Read.Read Network.AWS.DMS.DescribeEventSubscriptions.DescribeEventSubscriptions
instance GHC.Classes.Eq Network.AWS.DMS.DescribeEventSubscriptions.DescribeEventSubscriptions
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.DescribeEventSubscriptions.DescribeEventSubscriptions
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeEventSubscriptions.DescribeEventSubscriptionsResponse
instance Network.AWS.Pager.AWSPager Network.AWS.DMS.DescribeEventSubscriptions.DescribeEventSubscriptions
instance Data.Hashable.Class.Hashable Network.AWS.DMS.DescribeEventSubscriptions.DescribeEventSubscriptions
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeEventSubscriptions.DescribeEventSubscriptions
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.DescribeEventSubscriptions.DescribeEventSubscriptions
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.DescribeEventSubscriptions.DescribeEventSubscriptions
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.DescribeEventSubscriptions.DescribeEventSubscriptions
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.DescribeEventSubscriptions.DescribeEventSubscriptions


-- | Lists categories for all event source types, or, if specified, for a
--   specified source type. You can see a list of the event categories and
--   source types in <a>Working with Events and Notifications</a> in the
--   AWS Database Migration Service User Guide.
module Network.AWS.DMS.DescribeEventCategories

-- | Creates a value of <a>DescribeEventCategories</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>decSourceType</a> - The type of AWS DMS resource that generates
--   events. Valid values: replication-instance | migration-task</li>
--   <li><a>decFilters</a> - Filters applied to the action.</li>
--   </ul>
describeEventCategories :: DescribeEventCategories

-- | <i>See:</i> <a>describeEventCategories</a> smart constructor.
data DescribeEventCategories

-- | The type of AWS DMS resource that generates events. Valid values:
--   replication-instance | migration-task
decSourceType :: Lens' DescribeEventCategories (Maybe Text)

-- | Filters applied to the action.
decFilters :: Lens' DescribeEventCategories [Filter]

-- | Creates a value of <a>DescribeEventCategoriesResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>decrsEventCategoryGroupList</a> - A list of event
--   categories.</li>
--   <li><a>decrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeEventCategoriesResponse :: Int -> DescribeEventCategoriesResponse

-- | <i>See:</i> <a>describeEventCategoriesResponse</a> smart constructor.
data DescribeEventCategoriesResponse

-- | A list of event categories.
decrsEventCategoryGroupList :: Lens' DescribeEventCategoriesResponse [EventCategoryGroup]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
decrsResponseStatus :: Lens' DescribeEventCategoriesResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.DescribeEventCategories.DescribeEventCategoriesResponse
instance Data.Data.Data Network.AWS.DMS.DescribeEventCategories.DescribeEventCategoriesResponse
instance GHC.Show.Show Network.AWS.DMS.DescribeEventCategories.DescribeEventCategoriesResponse
instance GHC.Read.Read Network.AWS.DMS.DescribeEventCategories.DescribeEventCategoriesResponse
instance GHC.Classes.Eq Network.AWS.DMS.DescribeEventCategories.DescribeEventCategoriesResponse
instance GHC.Generics.Generic Network.AWS.DMS.DescribeEventCategories.DescribeEventCategories
instance Data.Data.Data Network.AWS.DMS.DescribeEventCategories.DescribeEventCategories
instance GHC.Show.Show Network.AWS.DMS.DescribeEventCategories.DescribeEventCategories
instance GHC.Read.Read Network.AWS.DMS.DescribeEventCategories.DescribeEventCategories
instance GHC.Classes.Eq Network.AWS.DMS.DescribeEventCategories.DescribeEventCategories
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.DescribeEventCategories.DescribeEventCategories
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeEventCategories.DescribeEventCategoriesResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.DescribeEventCategories.DescribeEventCategories
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeEventCategories.DescribeEventCategories
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.DescribeEventCategories.DescribeEventCategories
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.DescribeEventCategories.DescribeEventCategories
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.DescribeEventCategories.DescribeEventCategories
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.DescribeEventCategories.DescribeEventCategories


-- | Returns information about the endpoints for your account in the
--   current region.
--   
--   This operation returns paginated results.
module Network.AWS.DMS.DescribeEndpoints

-- | Creates a value of <a>DescribeEndpoints</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>desFilters</a> - Filters applied to the describe action. Valid
--   filter names: endpoint-arn | endpoint-type | endpoint-id |
--   engine-name</li>
--   <li><a>desMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>desMaxRecords</a> - The maximum number of records to include in
--   the response. If more records exist than the specified
--   <tt>MaxRecords</tt> 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.</li>
--   </ul>
describeEndpoints :: DescribeEndpoints

-- | <i>See:</i> <a>describeEndpoints</a> smart constructor.
data DescribeEndpoints

-- | Filters applied to the describe action. Valid filter names:
--   endpoint-arn | endpoint-type | endpoint-id | engine-name
desFilters :: Lens' DescribeEndpoints [Filter]

-- | 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 <tt>MaxRecords</tt> .
desMarker :: Lens' DescribeEndpoints (Maybe Text)

-- | The maximum number of records to include in the response. If more
--   records exist than the specified <tt>MaxRecords</tt> 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.
desMaxRecords :: Lens' DescribeEndpoints (Maybe Int)

-- | Creates a value of <a>DescribeEndpointsResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dersMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>dersEndpoints</a> - Endpoint description.</li>
--   <li><a>dersResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeEndpointsResponse :: Int -> DescribeEndpointsResponse

-- | <i>See:</i> <a>describeEndpointsResponse</a> smart constructor.
data DescribeEndpointsResponse

-- | 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 <tt>MaxRecords</tt> .
dersMarker :: Lens' DescribeEndpointsResponse (Maybe Text)

-- | Endpoint description.
dersEndpoints :: Lens' DescribeEndpointsResponse [Endpoint]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dersResponseStatus :: Lens' DescribeEndpointsResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.DescribeEndpoints.DescribeEndpointsResponse
instance Data.Data.Data Network.AWS.DMS.DescribeEndpoints.DescribeEndpointsResponse
instance GHC.Show.Show Network.AWS.DMS.DescribeEndpoints.DescribeEndpointsResponse
instance GHC.Classes.Eq Network.AWS.DMS.DescribeEndpoints.DescribeEndpointsResponse
instance GHC.Generics.Generic Network.AWS.DMS.DescribeEndpoints.DescribeEndpoints
instance Data.Data.Data Network.AWS.DMS.DescribeEndpoints.DescribeEndpoints
instance GHC.Show.Show Network.AWS.DMS.DescribeEndpoints.DescribeEndpoints
instance GHC.Read.Read Network.AWS.DMS.DescribeEndpoints.DescribeEndpoints
instance GHC.Classes.Eq Network.AWS.DMS.DescribeEndpoints.DescribeEndpoints
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.DescribeEndpoints.DescribeEndpoints
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeEndpoints.DescribeEndpointsResponse
instance Network.AWS.Pager.AWSPager Network.AWS.DMS.DescribeEndpoints.DescribeEndpoints
instance Data.Hashable.Class.Hashable Network.AWS.DMS.DescribeEndpoints.DescribeEndpoints
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeEndpoints.DescribeEndpoints
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.DescribeEndpoints.DescribeEndpoints
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.DescribeEndpoints.DescribeEndpoints
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.DescribeEndpoints.DescribeEndpoints
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.DescribeEndpoints.DescribeEndpoints


-- | Returns information about the type of endpoints available.
--   
--   This operation returns paginated results.
module Network.AWS.DMS.DescribeEndpointTypes

-- | Creates a value of <a>DescribeEndpointTypes</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>detFilters</a> - Filters applied to the describe action. Valid
--   filter names: engine-name | endpoint-type</li>
--   <li><a>detMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>detMaxRecords</a> - The maximum number of records to include in
--   the response. If more records exist than the specified
--   <tt>MaxRecords</tt> 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.</li>
--   </ul>
describeEndpointTypes :: DescribeEndpointTypes

-- | <i>See:</i> <a>describeEndpointTypes</a> smart constructor.
data DescribeEndpointTypes

-- | Filters applied to the describe action. Valid filter names:
--   engine-name | endpoint-type
detFilters :: Lens' DescribeEndpointTypes [Filter]

-- | 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 <tt>MaxRecords</tt> .
detMarker :: Lens' DescribeEndpointTypes (Maybe Text)

-- | The maximum number of records to include in the response. If more
--   records exist than the specified <tt>MaxRecords</tt> 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.
detMaxRecords :: Lens' DescribeEndpointTypes (Maybe Int)

-- | Creates a value of <a>DescribeEndpointTypesResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>detrsSupportedEndpointTypes</a> - The type of endpoints that
--   are supported.</li>
--   <li><a>detrsMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>detrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeEndpointTypesResponse :: Int -> DescribeEndpointTypesResponse

-- | <i>See:</i> <a>describeEndpointTypesResponse</a> smart constructor.
data DescribeEndpointTypesResponse

-- | The type of endpoints that are supported.
detrsSupportedEndpointTypes :: Lens' DescribeEndpointTypesResponse [SupportedEndpointType]

-- | 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 <tt>MaxRecords</tt> .
detrsMarker :: Lens' DescribeEndpointTypesResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
detrsResponseStatus :: Lens' DescribeEndpointTypesResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.DescribeEndpointTypes.DescribeEndpointTypesResponse
instance Data.Data.Data Network.AWS.DMS.DescribeEndpointTypes.DescribeEndpointTypesResponse
instance GHC.Show.Show Network.AWS.DMS.DescribeEndpointTypes.DescribeEndpointTypesResponse
instance GHC.Read.Read Network.AWS.DMS.DescribeEndpointTypes.DescribeEndpointTypesResponse
instance GHC.Classes.Eq Network.AWS.DMS.DescribeEndpointTypes.DescribeEndpointTypesResponse
instance GHC.Generics.Generic Network.AWS.DMS.DescribeEndpointTypes.DescribeEndpointTypes
instance Data.Data.Data Network.AWS.DMS.DescribeEndpointTypes.DescribeEndpointTypes
instance GHC.Show.Show Network.AWS.DMS.DescribeEndpointTypes.DescribeEndpointTypes
instance GHC.Read.Read Network.AWS.DMS.DescribeEndpointTypes.DescribeEndpointTypes
instance GHC.Classes.Eq Network.AWS.DMS.DescribeEndpointTypes.DescribeEndpointTypes
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.DescribeEndpointTypes.DescribeEndpointTypes
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeEndpointTypes.DescribeEndpointTypesResponse
instance Network.AWS.Pager.AWSPager Network.AWS.DMS.DescribeEndpointTypes.DescribeEndpointTypes
instance Data.Hashable.Class.Hashable Network.AWS.DMS.DescribeEndpointTypes.DescribeEndpointTypes
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeEndpointTypes.DescribeEndpointTypes
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.DescribeEndpointTypes.DescribeEndpointTypes
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.DescribeEndpointTypes.DescribeEndpointTypes
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.DescribeEndpointTypes.DescribeEndpointTypes
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.DescribeEndpointTypes.DescribeEndpointTypes


-- | Describes the status of the connections that have been made between
--   the replication instance and an endpoint. Connections are created when
--   you test an endpoint.
--   
--   This operation returns paginated results.
module Network.AWS.DMS.DescribeConnections

-- | Creates a value of <a>DescribeConnections</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dcFilters</a> - The filters applied to the connection. Valid
--   filter names: endpoint-arn | replication-instance-arn</li>
--   <li><a>dcMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>dcMaxRecords</a> - The maximum number of records to include in
--   the response. If more records exist than the specified
--   <tt>MaxRecords</tt> 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.</li>
--   </ul>
describeConnections :: DescribeConnections

-- | <i>See:</i> <a>describeConnections</a> smart constructor.
data DescribeConnections

-- | The filters applied to the connection. Valid filter names:
--   endpoint-arn | replication-instance-arn
dcFilters :: Lens' DescribeConnections [Filter]

-- | 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 <tt>MaxRecords</tt> .
dcMarker :: Lens' DescribeConnections (Maybe Text)

-- | The maximum number of records to include in the response. If more
--   records exist than the specified <tt>MaxRecords</tt> 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.
dcMaxRecords :: Lens' DescribeConnections (Maybe Int)

-- | Creates a value of <a>DescribeConnectionsResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drsConnections</a> - A description of the connections.</li>
--   <li><a>drsMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>drsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeConnectionsResponse :: Int -> DescribeConnectionsResponse

-- | <i>See:</i> <a>describeConnectionsResponse</a> smart constructor.
data DescribeConnectionsResponse

-- | A description of the connections.
drsConnections :: Lens' DescribeConnectionsResponse [Connection]

-- | 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 <tt>MaxRecords</tt> .
drsMarker :: Lens' DescribeConnectionsResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
drsResponseStatus :: Lens' DescribeConnectionsResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.DescribeConnections.DescribeConnectionsResponse
instance Data.Data.Data Network.AWS.DMS.DescribeConnections.DescribeConnectionsResponse
instance GHC.Show.Show Network.AWS.DMS.DescribeConnections.DescribeConnectionsResponse
instance GHC.Read.Read Network.AWS.DMS.DescribeConnections.DescribeConnectionsResponse
instance GHC.Classes.Eq Network.AWS.DMS.DescribeConnections.DescribeConnectionsResponse
instance GHC.Generics.Generic Network.AWS.DMS.DescribeConnections.DescribeConnections
instance Data.Data.Data Network.AWS.DMS.DescribeConnections.DescribeConnections
instance GHC.Show.Show Network.AWS.DMS.DescribeConnections.DescribeConnections
instance GHC.Read.Read Network.AWS.DMS.DescribeConnections.DescribeConnections
instance GHC.Classes.Eq Network.AWS.DMS.DescribeConnections.DescribeConnections
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.DescribeConnections.DescribeConnections
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeConnections.DescribeConnectionsResponse
instance Network.AWS.Pager.AWSPager Network.AWS.DMS.DescribeConnections.DescribeConnections
instance Data.Hashable.Class.Hashable Network.AWS.DMS.DescribeConnections.DescribeConnections
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeConnections.DescribeConnections
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.DescribeConnections.DescribeConnections
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.DescribeConnections.DescribeConnections
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.DescribeConnections.DescribeConnections
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.DescribeConnections.DescribeConnections


-- | Provides a description of the certificate.
--   
--   This operation returns paginated results.
module Network.AWS.DMS.DescribeCertificates

-- | Creates a value of <a>DescribeCertificates</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dFilters</a> - Filters applied to the certificate described in
--   the form of key-value pairs.</li>
--   <li><a>dMarker</a> - 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
--   <tt>MaxRecords</tt> .</li>
--   <li><a>dMaxRecords</a> - The maximum number of records to include in
--   the response. If more records exist than the specified
--   <tt>MaxRecords</tt> value, a pagination token called a marker is
--   included in the response so that the remaining results can be
--   retrieved. Default: 10</li>
--   </ul>
describeCertificates :: DescribeCertificates

-- | <i>See:</i> <a>describeCertificates</a> smart constructor.
data DescribeCertificates

-- | Filters applied to the certificate described in the form of key-value
--   pairs.
dFilters :: Lens' DescribeCertificates [Filter]

-- | 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 <tt>MaxRecords</tt> .
dMarker :: Lens' DescribeCertificates (Maybe Text)

-- | The maximum number of records to include in the response. If more
--   records exist than the specified <tt>MaxRecords</tt> value, a
--   pagination token called a marker is included in the response so that
--   the remaining results can be retrieved. Default: 10
dMaxRecords :: Lens' DescribeCertificates (Maybe Int)

-- | Creates a value of <a>DescribeCertificatesResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dcrsCertificates</a> - The Secure Sockets Layer (SSL)
--   certificates associated with the replication instance.</li>
--   <li><a>dcrsMarker</a> - The pagination token.</li>
--   <li><a>dcrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeCertificatesResponse :: Int -> DescribeCertificatesResponse

-- | <i>See:</i> <a>describeCertificatesResponse</a> smart constructor.
data DescribeCertificatesResponse

-- | The Secure Sockets Layer (SSL) certificates associated with the
--   replication instance.
dcrsCertificates :: Lens' DescribeCertificatesResponse [Certificate]

-- | The pagination token.
dcrsMarker :: Lens' DescribeCertificatesResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dcrsResponseStatus :: Lens' DescribeCertificatesResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.DescribeCertificates.DescribeCertificatesResponse
instance Data.Data.Data Network.AWS.DMS.DescribeCertificates.DescribeCertificatesResponse
instance GHC.Show.Show Network.AWS.DMS.DescribeCertificates.DescribeCertificatesResponse
instance GHC.Read.Read Network.AWS.DMS.DescribeCertificates.DescribeCertificatesResponse
instance GHC.Classes.Eq Network.AWS.DMS.DescribeCertificates.DescribeCertificatesResponse
instance GHC.Generics.Generic Network.AWS.DMS.DescribeCertificates.DescribeCertificates
instance Data.Data.Data Network.AWS.DMS.DescribeCertificates.DescribeCertificates
instance GHC.Show.Show Network.AWS.DMS.DescribeCertificates.DescribeCertificates
instance GHC.Read.Read Network.AWS.DMS.DescribeCertificates.DescribeCertificates
instance GHC.Classes.Eq Network.AWS.DMS.DescribeCertificates.DescribeCertificates
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.DescribeCertificates.DescribeCertificates
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeCertificates.DescribeCertificatesResponse
instance Network.AWS.Pager.AWSPager Network.AWS.DMS.DescribeCertificates.DescribeCertificates
instance Data.Hashable.Class.Hashable Network.AWS.DMS.DescribeCertificates.DescribeCertificates
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeCertificates.DescribeCertificates
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.DescribeCertificates.DescribeCertificates
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.DescribeCertificates.DescribeCertificates
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.DescribeCertificates.DescribeCertificates
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.DescribeCertificates.DescribeCertificates


-- | Lists all of the AWS DMS attributes for a customer account. The
--   attributes include AWS DMS quotas for the account, such as the number
--   of replication instances allowed. The description for a quota includes
--   the quota name, current usage toward that quota, and the quota's
--   maximum value.
--   
--   This command does not take any parameters.
module Network.AWS.DMS.DescribeAccountAttributes

-- | Creates a value of <a>DescribeAccountAttributes</a> with the minimum
--   fields required to make a request.
describeAccountAttributes :: DescribeAccountAttributes

-- | <i>See:</i> <a>describeAccountAttributes</a> smart constructor.
data DescribeAccountAttributes

-- | Creates a value of <a>DescribeAccountAttributesResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>daarsAccountQuotas</a> - Account quota information.</li>
--   <li><a>daarsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeAccountAttributesResponse :: Int -> DescribeAccountAttributesResponse

-- | <i>See:</i> <a>describeAccountAttributesResponse</a> smart
--   constructor.
data DescribeAccountAttributesResponse

-- | Account quota information.
daarsAccountQuotas :: Lens' DescribeAccountAttributesResponse [AccountQuota]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
daarsResponseStatus :: Lens' DescribeAccountAttributesResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.DescribeAccountAttributes.DescribeAccountAttributesResponse
instance Data.Data.Data Network.AWS.DMS.DescribeAccountAttributes.DescribeAccountAttributesResponse
instance GHC.Show.Show Network.AWS.DMS.DescribeAccountAttributes.DescribeAccountAttributesResponse
instance GHC.Read.Read Network.AWS.DMS.DescribeAccountAttributes.DescribeAccountAttributesResponse
instance GHC.Classes.Eq Network.AWS.DMS.DescribeAccountAttributes.DescribeAccountAttributesResponse
instance GHC.Generics.Generic Network.AWS.DMS.DescribeAccountAttributes.DescribeAccountAttributes
instance Data.Data.Data Network.AWS.DMS.DescribeAccountAttributes.DescribeAccountAttributes
instance GHC.Show.Show Network.AWS.DMS.DescribeAccountAttributes.DescribeAccountAttributes
instance GHC.Read.Read Network.AWS.DMS.DescribeAccountAttributes.DescribeAccountAttributes
instance GHC.Classes.Eq Network.AWS.DMS.DescribeAccountAttributes.DescribeAccountAttributes
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.DescribeAccountAttributes.DescribeAccountAttributes
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeAccountAttributes.DescribeAccountAttributesResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.DescribeAccountAttributes.DescribeAccountAttributes
instance Control.DeepSeq.NFData Network.AWS.DMS.DescribeAccountAttributes.DescribeAccountAttributes
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.DescribeAccountAttributes.DescribeAccountAttributes
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.DescribeAccountAttributes.DescribeAccountAttributes
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.DescribeAccountAttributes.DescribeAccountAttributes
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.DescribeAccountAttributes.DescribeAccountAttributes


-- | Deletes the specified replication task.
module Network.AWS.DMS.DeleteReplicationTask

-- | Creates a value of <a>DeleteReplicationTask</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drtReplicationTaskARN</a> - The Amazon Resource Name (ARN) of
--   the replication task to be deleted.</li>
--   </ul>
deleteReplicationTask :: Text -> DeleteReplicationTask

-- | <i>See:</i> <a>deleteReplicationTask</a> smart constructor.
data DeleteReplicationTask

-- | The Amazon Resource Name (ARN) of the replication task to be deleted.
drtReplicationTaskARN :: Lens' DeleteReplicationTask Text

-- | Creates a value of <a>DeleteReplicationTaskResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drtrsReplicationTask</a> - The deleted replication task.</li>
--   <li><a>drtrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteReplicationTaskResponse :: Int -> DeleteReplicationTaskResponse

-- | <i>See:</i> <a>deleteReplicationTaskResponse</a> smart constructor.
data DeleteReplicationTaskResponse

-- | The deleted replication task.
drtrsReplicationTask :: Lens' DeleteReplicationTaskResponse (Maybe ReplicationTask)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
drtrsResponseStatus :: Lens' DeleteReplicationTaskResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.DeleteReplicationTask.DeleteReplicationTaskResponse
instance Data.Data.Data Network.AWS.DMS.DeleteReplicationTask.DeleteReplicationTaskResponse
instance GHC.Show.Show Network.AWS.DMS.DeleteReplicationTask.DeleteReplicationTaskResponse
instance GHC.Read.Read Network.AWS.DMS.DeleteReplicationTask.DeleteReplicationTaskResponse
instance GHC.Classes.Eq Network.AWS.DMS.DeleteReplicationTask.DeleteReplicationTaskResponse
instance GHC.Generics.Generic Network.AWS.DMS.DeleteReplicationTask.DeleteReplicationTask
instance Data.Data.Data Network.AWS.DMS.DeleteReplicationTask.DeleteReplicationTask
instance GHC.Show.Show Network.AWS.DMS.DeleteReplicationTask.DeleteReplicationTask
instance GHC.Read.Read Network.AWS.DMS.DeleteReplicationTask.DeleteReplicationTask
instance GHC.Classes.Eq Network.AWS.DMS.DeleteReplicationTask.DeleteReplicationTask
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.DeleteReplicationTask.DeleteReplicationTask
instance Control.DeepSeq.NFData Network.AWS.DMS.DeleteReplicationTask.DeleteReplicationTaskResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.DeleteReplicationTask.DeleteReplicationTask
instance Control.DeepSeq.NFData Network.AWS.DMS.DeleteReplicationTask.DeleteReplicationTask
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.DeleteReplicationTask.DeleteReplicationTask
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.DeleteReplicationTask.DeleteReplicationTask
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.DeleteReplicationTask.DeleteReplicationTask
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.DeleteReplicationTask.DeleteReplicationTask


-- | Deletes a subnet group.
module Network.AWS.DMS.DeleteReplicationSubnetGroup

-- | Creates a value of <a>DeleteReplicationSubnetGroup</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drsgReplicationSubnetGroupIdentifier</a> - The subnet group
--   name of the replication instance.</li>
--   </ul>
deleteReplicationSubnetGroup :: Text -> DeleteReplicationSubnetGroup

-- | <i>See:</i> <a>deleteReplicationSubnetGroup</a> smart constructor.
data DeleteReplicationSubnetGroup

-- | The subnet group name of the replication instance.
drsgReplicationSubnetGroupIdentifier :: Lens' DeleteReplicationSubnetGroup Text

-- | Creates a value of <a>DeleteReplicationSubnetGroupResponse</a> with
--   the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drsgrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteReplicationSubnetGroupResponse :: Int -> DeleteReplicationSubnetGroupResponse

-- | <i>See:</i> <a>deleteReplicationSubnetGroupResponse</a> smart
--   constructor.
data DeleteReplicationSubnetGroupResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
drsgrsResponseStatus :: Lens' DeleteReplicationSubnetGroupResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.DeleteReplicationSubnetGroup.DeleteReplicationSubnetGroupResponse
instance Data.Data.Data Network.AWS.DMS.DeleteReplicationSubnetGroup.DeleteReplicationSubnetGroupResponse
instance GHC.Show.Show Network.AWS.DMS.DeleteReplicationSubnetGroup.DeleteReplicationSubnetGroupResponse
instance GHC.Read.Read Network.AWS.DMS.DeleteReplicationSubnetGroup.DeleteReplicationSubnetGroupResponse
instance GHC.Classes.Eq Network.AWS.DMS.DeleteReplicationSubnetGroup.DeleteReplicationSubnetGroupResponse
instance GHC.Generics.Generic Network.AWS.DMS.DeleteReplicationSubnetGroup.DeleteReplicationSubnetGroup
instance Data.Data.Data Network.AWS.DMS.DeleteReplicationSubnetGroup.DeleteReplicationSubnetGroup
instance GHC.Show.Show Network.AWS.DMS.DeleteReplicationSubnetGroup.DeleteReplicationSubnetGroup
instance GHC.Read.Read Network.AWS.DMS.DeleteReplicationSubnetGroup.DeleteReplicationSubnetGroup
instance GHC.Classes.Eq Network.AWS.DMS.DeleteReplicationSubnetGroup.DeleteReplicationSubnetGroup
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.DeleteReplicationSubnetGroup.DeleteReplicationSubnetGroup
instance Control.DeepSeq.NFData Network.AWS.DMS.DeleteReplicationSubnetGroup.DeleteReplicationSubnetGroupResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.DeleteReplicationSubnetGroup.DeleteReplicationSubnetGroup
instance Control.DeepSeq.NFData Network.AWS.DMS.DeleteReplicationSubnetGroup.DeleteReplicationSubnetGroup
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.DeleteReplicationSubnetGroup.DeleteReplicationSubnetGroup
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.DeleteReplicationSubnetGroup.DeleteReplicationSubnetGroup
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.DeleteReplicationSubnetGroup.DeleteReplicationSubnetGroup
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.DeleteReplicationSubnetGroup.DeleteReplicationSubnetGroup


-- | Deletes the specified replication instance.
module Network.AWS.DMS.DeleteReplicationInstance

-- | Creates a value of <a>DeleteReplicationInstance</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>driReplicationInstanceARN</a> - The Amazon Resource Name (ARN)
--   of the replication instance to be deleted.</li>
--   </ul>
deleteReplicationInstance :: Text -> DeleteReplicationInstance

-- | <i>See:</i> <a>deleteReplicationInstance</a> smart constructor.
data DeleteReplicationInstance

-- | The Amazon Resource Name (ARN) of the replication instance to be
--   deleted.
driReplicationInstanceARN :: Lens' DeleteReplicationInstance Text

-- | Creates a value of <a>DeleteReplicationInstanceResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drirsReplicationInstance</a> - The replication instance that
--   was deleted.</li>
--   <li><a>drirsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteReplicationInstanceResponse :: Int -> DeleteReplicationInstanceResponse

-- | <i>See:</i> <a>deleteReplicationInstanceResponse</a> smart
--   constructor.
data DeleteReplicationInstanceResponse

-- | The replication instance that was deleted.
drirsReplicationInstance :: Lens' DeleteReplicationInstanceResponse (Maybe ReplicationInstance)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
drirsResponseStatus :: Lens' DeleteReplicationInstanceResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.DeleteReplicationInstance.DeleteReplicationInstanceResponse
instance Data.Data.Data Network.AWS.DMS.DeleteReplicationInstance.DeleteReplicationInstanceResponse
instance GHC.Show.Show Network.AWS.DMS.DeleteReplicationInstance.DeleteReplicationInstanceResponse
instance GHC.Read.Read Network.AWS.DMS.DeleteReplicationInstance.DeleteReplicationInstanceResponse
instance GHC.Classes.Eq Network.AWS.DMS.DeleteReplicationInstance.DeleteReplicationInstanceResponse
instance GHC.Generics.Generic Network.AWS.DMS.DeleteReplicationInstance.DeleteReplicationInstance
instance Data.Data.Data Network.AWS.DMS.DeleteReplicationInstance.DeleteReplicationInstance
instance GHC.Show.Show Network.AWS.DMS.DeleteReplicationInstance.DeleteReplicationInstance
instance GHC.Read.Read Network.AWS.DMS.DeleteReplicationInstance.DeleteReplicationInstance
instance GHC.Classes.Eq Network.AWS.DMS.DeleteReplicationInstance.DeleteReplicationInstance
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.DeleteReplicationInstance.DeleteReplicationInstance
instance Control.DeepSeq.NFData Network.AWS.DMS.DeleteReplicationInstance.DeleteReplicationInstanceResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.DeleteReplicationInstance.DeleteReplicationInstance
instance Control.DeepSeq.NFData Network.AWS.DMS.DeleteReplicationInstance.DeleteReplicationInstance
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.DeleteReplicationInstance.DeleteReplicationInstance
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.DeleteReplicationInstance.DeleteReplicationInstance
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.DeleteReplicationInstance.DeleteReplicationInstance
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.DeleteReplicationInstance.DeleteReplicationInstance


-- | Deletes an AWS DMS event subscription.
module Network.AWS.DMS.DeleteEventSubscription

-- | Creates a value of <a>DeleteEventSubscription</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>desSubscriptionName</a> - The name of the DMS event
--   notification subscription to be deleted.</li>
--   </ul>
deleteEventSubscription :: Text -> DeleteEventSubscription

-- | <i>See:</i> <a>deleteEventSubscription</a> smart constructor.
data DeleteEventSubscription

-- | The name of the DMS event notification subscription to be deleted.
desSubscriptionName :: Lens' DeleteEventSubscription Text

-- | Creates a value of <a>DeleteEventSubscriptionResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>desersEventSubscription</a> - The event subscription that was
--   deleted.</li>
--   <li><a>desersResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteEventSubscriptionResponse :: Int -> DeleteEventSubscriptionResponse

-- | <i>See:</i> <a>deleteEventSubscriptionResponse</a> smart constructor.
data DeleteEventSubscriptionResponse

-- | The event subscription that was deleted.
desersEventSubscription :: Lens' DeleteEventSubscriptionResponse (Maybe EventSubscription)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
desersResponseStatus :: Lens' DeleteEventSubscriptionResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.DeleteEventSubscription.DeleteEventSubscriptionResponse
instance Data.Data.Data Network.AWS.DMS.DeleteEventSubscription.DeleteEventSubscriptionResponse
instance GHC.Show.Show Network.AWS.DMS.DeleteEventSubscription.DeleteEventSubscriptionResponse
instance GHC.Read.Read Network.AWS.DMS.DeleteEventSubscription.DeleteEventSubscriptionResponse
instance GHC.Classes.Eq Network.AWS.DMS.DeleteEventSubscription.DeleteEventSubscriptionResponse
instance GHC.Generics.Generic Network.AWS.DMS.DeleteEventSubscription.DeleteEventSubscription
instance Data.Data.Data Network.AWS.DMS.DeleteEventSubscription.DeleteEventSubscription
instance GHC.Show.Show Network.AWS.DMS.DeleteEventSubscription.DeleteEventSubscription
instance GHC.Read.Read Network.AWS.DMS.DeleteEventSubscription.DeleteEventSubscription
instance GHC.Classes.Eq Network.AWS.DMS.DeleteEventSubscription.DeleteEventSubscription
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.DeleteEventSubscription.DeleteEventSubscription
instance Control.DeepSeq.NFData Network.AWS.DMS.DeleteEventSubscription.DeleteEventSubscriptionResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.DeleteEventSubscription.DeleteEventSubscription
instance Control.DeepSeq.NFData Network.AWS.DMS.DeleteEventSubscription.DeleteEventSubscription
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.DeleteEventSubscription.DeleteEventSubscription
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.DeleteEventSubscription.DeleteEventSubscription
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.DeleteEventSubscription.DeleteEventSubscription
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.DeleteEventSubscription.DeleteEventSubscription


-- | Deletes the specified endpoint.
module Network.AWS.DMS.DeleteEndpoint

-- | Creates a value of <a>DeleteEndpoint</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>deEndpointARN</a> - The Amazon Resource Name (ARN) string that
--   uniquely identifies the endpoint.</li>
--   </ul>
deleteEndpoint :: Text -> DeleteEndpoint

-- | <i>See:</i> <a>deleteEndpoint</a> smart constructor.
data DeleteEndpoint

-- | The Amazon Resource Name (ARN) string that uniquely identifies the
--   endpoint.
deEndpointARN :: Lens' DeleteEndpoint Text

-- | Creates a value of <a>DeleteEndpointResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>delrsEndpoint</a> - The endpoint that was deleted.</li>
--   <li><a>delrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteEndpointResponse :: Int -> DeleteEndpointResponse

-- | <i>See:</i> <a>deleteEndpointResponse</a> smart constructor.
data DeleteEndpointResponse

-- | The endpoint that was deleted.
delrsEndpoint :: Lens' DeleteEndpointResponse (Maybe Endpoint)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
delrsResponseStatus :: Lens' DeleteEndpointResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.DeleteEndpoint.DeleteEndpointResponse
instance Data.Data.Data Network.AWS.DMS.DeleteEndpoint.DeleteEndpointResponse
instance GHC.Show.Show Network.AWS.DMS.DeleteEndpoint.DeleteEndpointResponse
instance GHC.Classes.Eq Network.AWS.DMS.DeleteEndpoint.DeleteEndpointResponse
instance GHC.Generics.Generic Network.AWS.DMS.DeleteEndpoint.DeleteEndpoint
instance Data.Data.Data Network.AWS.DMS.DeleteEndpoint.DeleteEndpoint
instance GHC.Show.Show Network.AWS.DMS.DeleteEndpoint.DeleteEndpoint
instance GHC.Read.Read Network.AWS.DMS.DeleteEndpoint.DeleteEndpoint
instance GHC.Classes.Eq Network.AWS.DMS.DeleteEndpoint.DeleteEndpoint
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.DeleteEndpoint.DeleteEndpoint
instance Control.DeepSeq.NFData Network.AWS.DMS.DeleteEndpoint.DeleteEndpointResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.DeleteEndpoint.DeleteEndpoint
instance Control.DeepSeq.NFData Network.AWS.DMS.DeleteEndpoint.DeleteEndpoint
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.DeleteEndpoint.DeleteEndpoint
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.DeleteEndpoint.DeleteEndpoint
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.DeleteEndpoint.DeleteEndpoint
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.DeleteEndpoint.DeleteEndpoint


-- | Deletes the specified certificate.
module Network.AWS.DMS.DeleteCertificate

-- | Creates a value of <a>DeleteCertificate</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dcCertificateARN</a> - The Amazon Resource Name (ARN) of the
--   deleted certificate.</li>
--   </ul>
deleteCertificate :: Text -> DeleteCertificate

-- | <i>See:</i> <a>deleteCertificate</a> smart constructor.
data DeleteCertificate

-- | The Amazon Resource Name (ARN) of the deleted certificate.
dcCertificateARN :: Lens' DeleteCertificate Text

-- | Creates a value of <a>DeleteCertificateResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dccrsCertificate</a> - The Secure Sockets Layer (SSL)
--   certificate.</li>
--   <li><a>dccrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteCertificateResponse :: Int -> DeleteCertificateResponse

-- | <i>See:</i> <a>deleteCertificateResponse</a> smart constructor.
data DeleteCertificateResponse

-- | The Secure Sockets Layer (SSL) certificate.
dccrsCertificate :: Lens' DeleteCertificateResponse (Maybe Certificate)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dccrsResponseStatus :: Lens' DeleteCertificateResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.DeleteCertificate.DeleteCertificateResponse
instance Data.Data.Data Network.AWS.DMS.DeleteCertificate.DeleteCertificateResponse
instance GHC.Show.Show Network.AWS.DMS.DeleteCertificate.DeleteCertificateResponse
instance GHC.Read.Read Network.AWS.DMS.DeleteCertificate.DeleteCertificateResponse
instance GHC.Classes.Eq Network.AWS.DMS.DeleteCertificate.DeleteCertificateResponse
instance GHC.Generics.Generic Network.AWS.DMS.DeleteCertificate.DeleteCertificate
instance Data.Data.Data Network.AWS.DMS.DeleteCertificate.DeleteCertificate
instance GHC.Show.Show Network.AWS.DMS.DeleteCertificate.DeleteCertificate
instance GHC.Read.Read Network.AWS.DMS.DeleteCertificate.DeleteCertificate
instance GHC.Classes.Eq Network.AWS.DMS.DeleteCertificate.DeleteCertificate
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.DeleteCertificate.DeleteCertificate
instance Control.DeepSeq.NFData Network.AWS.DMS.DeleteCertificate.DeleteCertificateResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.DeleteCertificate.DeleteCertificate
instance Control.DeepSeq.NFData Network.AWS.DMS.DeleteCertificate.DeleteCertificate
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.DeleteCertificate.DeleteCertificate
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.DeleteCertificate.DeleteCertificate
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.DeleteCertificate.DeleteCertificate
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.DeleteCertificate.DeleteCertificate


-- | Creates a replication task using the specified parameters.
module Network.AWS.DMS.CreateReplicationTask

-- | Creates a value of <a>CreateReplicationTask</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>crtReplicationTaskSettings</a> - Settings for the task, such as
--   target metadata settings. For a complete list of task settings, see
--   <a>Task Settings for AWS Database Migration Service Tasks</a> .</li>
--   <li><a>crtCdcStartPosition</a> - Indicates when you want a change data
--   capture (CDC) operation to start. Use either CdcStartPosition or
--   CdcStartTime to specify when you want a CDC operation to start.
--   Specifying both values results in an error. The value can be in date,
--   checkpoint, or LSN/SCN format. Date Example: --cdc-start-position
--   “2018-03-08T12:12:12” Checkpoint Example: --cdc-start-position
--   "checkpoint:V1mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:187600#93"
--   LSN Example: --cdc-start-position
--   “mysql-bin-changelog.000024:373”</li>
--   <li><a>crtCdcStopPosition</a> - Indicates when you want a change data
--   capture (CDC) operation to stop. The value can be either server time
--   or commit time. Server time example: --cdc-stop-position
--   “server_time:3018-02-09T12:12:12” Commit time example:
--   --cdc-stop-position “commit_time: 3018-02-09T12:12:12 “</li>
--   <li><a>crtTags</a> - Tags to be added to the replication
--   instance.</li>
--   <li><a>crtCdcStartTime</a> - Indicates the start time for a change
--   data capture (CDC) operation. Use either CdcStartTime or
--   CdcStartPosition to specify when you want a CDC operation to start.
--   Specifying both values results in an error.</li>
--   <li><a>crtReplicationTaskIdentifier</a> - The replication task
--   identifier. Constraints: * Must contain from 1 to 255 alphanumeric
--   characters or hyphens. * First character must be a letter. * Cannot
--   end with a hyphen or contain two consecutive hyphens.</li>
--   <li><a>crtSourceEndpointARN</a> - The Amazon Resource Name (ARN)
--   string that uniquely identifies the endpoint.</li>
--   <li><a>crtTargetEndpointARN</a> - The Amazon Resource Name (ARN)
--   string that uniquely identifies the endpoint.</li>
--   <li><a>crtReplicationInstanceARN</a> - The Amazon Resource Name (ARN)
--   of the replication instance.</li>
--   <li><a>crtMigrationType</a> - The migration type.</li>
--   <li><a>crtTableMappings</a> - When using the AWS CLI or boto3, provide
--   the path of the JSON file that contains the table mappings. Precede
--   the path with "file:/<i>". When working with the DMS API, provide the
--   JSON as the parameter value. For example, --table-mappings
--   file:</i>/mappingfile.json</li>
--   </ul>
createReplicationTask :: Text -> Text -> Text -> Text -> MigrationTypeValue -> Text -> CreateReplicationTask

-- | <i>See:</i> <a>createReplicationTask</a> smart constructor.
data CreateReplicationTask

-- | Settings for the task, such as target metadata settings. For a
--   complete list of task settings, see <a>Task Settings for AWS Database
--   Migration Service Tasks</a> .
crtReplicationTaskSettings :: Lens' CreateReplicationTask (Maybe Text)

-- | Indicates when you want a change data capture (CDC) operation to
--   start. Use either CdcStartPosition or CdcStartTime to specify when you
--   want a CDC operation to start. Specifying both values results in an
--   error. The value can be in date, checkpoint, or LSN/SCN format. Date
--   Example: --cdc-start-position “2018-03-08T12:12:12” Checkpoint
--   Example: --cdc-start-position
--   "checkpoint:V1mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:187600#93"
--   LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”
crtCdcStartPosition :: Lens' CreateReplicationTask (Maybe Text)

-- | Indicates when you want a change data capture (CDC) operation to stop.
--   The value can be either server time or commit time. Server time
--   example: --cdc-stop-position “server_time:3018-02-09T12:12:12” Commit
--   time example: --cdc-stop-position “commit_time: 3018-02-09T12:12:12 “
crtCdcStopPosition :: Lens' CreateReplicationTask (Maybe Text)

-- | Tags to be added to the replication instance.
crtTags :: Lens' CreateReplicationTask [Tag]

-- | Indicates the start time for a change data capture (CDC) operation.
--   Use either CdcStartTime or CdcStartPosition to specify when you want a
--   CDC operation to start. Specifying both values results in an error.
crtCdcStartTime :: Lens' CreateReplicationTask (Maybe UTCTime)

-- | The replication task identifier. Constraints: * Must contain from 1 to
--   255 alphanumeric characters or hyphens. * First character must be a
--   letter. * Cannot end with a hyphen or contain two consecutive hyphens.
crtReplicationTaskIdentifier :: Lens' CreateReplicationTask Text

-- | The Amazon Resource Name (ARN) string that uniquely identifies the
--   endpoint.
crtSourceEndpointARN :: Lens' CreateReplicationTask Text

-- | The Amazon Resource Name (ARN) string that uniquely identifies the
--   endpoint.
crtTargetEndpointARN :: Lens' CreateReplicationTask Text

-- | The Amazon Resource Name (ARN) of the replication instance.
crtReplicationInstanceARN :: Lens' CreateReplicationTask Text

-- | The migration type.
crtMigrationType :: Lens' CreateReplicationTask MigrationTypeValue

-- | When using the AWS CLI or boto3, provide the path of the JSON file
--   that contains the table mappings. Precede the path with "file:/<i>".
--   When working with the DMS API, provide the JSON as the parameter
--   value. For example, --table-mappings file:</i>/mappingfile.json
crtTableMappings :: Lens' CreateReplicationTask Text

-- | Creates a value of <a>CreateReplicationTaskResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>crtrsReplicationTask</a> - The replication task that was
--   created.</li>
--   <li><a>crtrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
createReplicationTaskResponse :: Int -> CreateReplicationTaskResponse

-- | <i>See:</i> <a>createReplicationTaskResponse</a> smart constructor.
data CreateReplicationTaskResponse

-- | The replication task that was created.
crtrsReplicationTask :: Lens' CreateReplicationTaskResponse (Maybe ReplicationTask)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
crtrsResponseStatus :: Lens' CreateReplicationTaskResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.CreateReplicationTask.CreateReplicationTaskResponse
instance Data.Data.Data Network.AWS.DMS.CreateReplicationTask.CreateReplicationTaskResponse
instance GHC.Show.Show Network.AWS.DMS.CreateReplicationTask.CreateReplicationTaskResponse
instance GHC.Read.Read Network.AWS.DMS.CreateReplicationTask.CreateReplicationTaskResponse
instance GHC.Classes.Eq Network.AWS.DMS.CreateReplicationTask.CreateReplicationTaskResponse
instance GHC.Generics.Generic Network.AWS.DMS.CreateReplicationTask.CreateReplicationTask
instance Data.Data.Data Network.AWS.DMS.CreateReplicationTask.CreateReplicationTask
instance GHC.Show.Show Network.AWS.DMS.CreateReplicationTask.CreateReplicationTask
instance GHC.Read.Read Network.AWS.DMS.CreateReplicationTask.CreateReplicationTask
instance GHC.Classes.Eq Network.AWS.DMS.CreateReplicationTask.CreateReplicationTask
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.CreateReplicationTask.CreateReplicationTask
instance Control.DeepSeq.NFData Network.AWS.DMS.CreateReplicationTask.CreateReplicationTaskResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.CreateReplicationTask.CreateReplicationTask
instance Control.DeepSeq.NFData Network.AWS.DMS.CreateReplicationTask.CreateReplicationTask
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.CreateReplicationTask.CreateReplicationTask
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.CreateReplicationTask.CreateReplicationTask
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.CreateReplicationTask.CreateReplicationTask
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.CreateReplicationTask.CreateReplicationTask


-- | Creates a replication subnet group given a list of the subnet IDs in a
--   VPC.
module Network.AWS.DMS.CreateReplicationSubnetGroup

-- | Creates a value of <a>CreateReplicationSubnetGroup</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>crsgTags</a> - The tag to be assigned to the subnet group.</li>
--   <li><a>crsgReplicationSubnetGroupIdentifier</a> - The name for the
--   replication subnet group. This value is stored as a lowercase string.
--   Constraints: Must contain no more than 255 alphanumeric characters,
--   periods, spaces, underscores, or hyphens. Must not be "default".
--   Example: <tt>mySubnetgroup</tt></li>
--   <li><a>crsgReplicationSubnetGroupDescription</a> - The description for
--   the subnet group.</li>
--   <li><a>crsgSubnetIds</a> - The EC2 subnet IDs for the subnet
--   group.</li>
--   </ul>
createReplicationSubnetGroup :: Text -> Text -> CreateReplicationSubnetGroup

-- | <i>See:</i> <a>createReplicationSubnetGroup</a> smart constructor.
data CreateReplicationSubnetGroup

-- | The tag to be assigned to the subnet group.
crsgTags :: Lens' CreateReplicationSubnetGroup [Tag]

-- | The name for the replication subnet group. This value is stored as a
--   lowercase string. Constraints: Must contain no more than 255
--   alphanumeric characters, periods, spaces, underscores, or hyphens.
--   Must not be "default". Example: <tt>mySubnetgroup</tt>
crsgReplicationSubnetGroupIdentifier :: Lens' CreateReplicationSubnetGroup Text

-- | The description for the subnet group.
crsgReplicationSubnetGroupDescription :: Lens' CreateReplicationSubnetGroup Text

-- | The EC2 subnet IDs for the subnet group.
crsgSubnetIds :: Lens' CreateReplicationSubnetGroup [Text]

-- | Creates a value of <a>CreateReplicationSubnetGroupResponse</a> with
--   the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>crsgrsReplicationSubnetGroup</a> - The replication subnet group
--   that was created.</li>
--   <li><a>crsgrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
createReplicationSubnetGroupResponse :: Int -> CreateReplicationSubnetGroupResponse

-- | <i>See:</i> <a>createReplicationSubnetGroupResponse</a> smart
--   constructor.
data CreateReplicationSubnetGroupResponse

-- | The replication subnet group that was created.
crsgrsReplicationSubnetGroup :: Lens' CreateReplicationSubnetGroupResponse (Maybe ReplicationSubnetGroup)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
crsgrsResponseStatus :: Lens' CreateReplicationSubnetGroupResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.CreateReplicationSubnetGroup.CreateReplicationSubnetGroupResponse
instance Data.Data.Data Network.AWS.DMS.CreateReplicationSubnetGroup.CreateReplicationSubnetGroupResponse
instance GHC.Show.Show Network.AWS.DMS.CreateReplicationSubnetGroup.CreateReplicationSubnetGroupResponse
instance GHC.Read.Read Network.AWS.DMS.CreateReplicationSubnetGroup.CreateReplicationSubnetGroupResponse
instance GHC.Classes.Eq Network.AWS.DMS.CreateReplicationSubnetGroup.CreateReplicationSubnetGroupResponse
instance GHC.Generics.Generic Network.AWS.DMS.CreateReplicationSubnetGroup.CreateReplicationSubnetGroup
instance Data.Data.Data Network.AWS.DMS.CreateReplicationSubnetGroup.CreateReplicationSubnetGroup
instance GHC.Show.Show Network.AWS.DMS.CreateReplicationSubnetGroup.CreateReplicationSubnetGroup
instance GHC.Read.Read Network.AWS.DMS.CreateReplicationSubnetGroup.CreateReplicationSubnetGroup
instance GHC.Classes.Eq Network.AWS.DMS.CreateReplicationSubnetGroup.CreateReplicationSubnetGroup
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.CreateReplicationSubnetGroup.CreateReplicationSubnetGroup
instance Control.DeepSeq.NFData Network.AWS.DMS.CreateReplicationSubnetGroup.CreateReplicationSubnetGroupResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.CreateReplicationSubnetGroup.CreateReplicationSubnetGroup
instance Control.DeepSeq.NFData Network.AWS.DMS.CreateReplicationSubnetGroup.CreateReplicationSubnetGroup
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.CreateReplicationSubnetGroup.CreateReplicationSubnetGroup
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.CreateReplicationSubnetGroup.CreateReplicationSubnetGroup
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.CreateReplicationSubnetGroup.CreateReplicationSubnetGroup
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.CreateReplicationSubnetGroup.CreateReplicationSubnetGroup


-- | Creates the replication instance using the specified parameters.
module Network.AWS.DMS.CreateReplicationInstance

-- | Creates a value of <a>CreateReplicationInstance</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>criEngineVersion</a> - The engine version number of the
--   replication instance.</li>
--   <li><a>criPubliclyAccessible</a> - Specifies the accessibility options
--   for the replication instance. A value of <tt>true</tt> represents an
--   instance with a public IP address. A value of <tt>false</tt>
--   represents an instance with a private IP address. The default value is
--   <tt>true</tt> .</li>
--   <li><a>criAutoMinorVersionUpgrade</a> - Indicates that minor engine
--   upgrades will be applied automatically to the replication instance
--   during the maintenance window. Default: <tt>true</tt></li>
--   <li><a>criReplicationSubnetGroupIdentifier</a> - A subnet group to
--   associate with the replication instance.</li>
--   <li><a>criPreferredMaintenanceWindow</a> - The weekly time range
--   during which system maintenance can occur, in Universal Coordinated
--   Time (UTC). Format: <tt>ddd:hh24:mi-ddd:hh24:mi</tt> 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.</li>
--   <li><a>criKMSKeyId</a> - 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.</li>
--   <li><a>criAvailabilityZone</a> - 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:
--   <tt>us-east-1d</tt></li>
--   <li><a>criVPCSecurityGroupIds</a> - 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.</li>
--   <li><a>criMultiAZ</a> - Specifies if the replication instance is a
--   Multi-AZ deployment. You cannot set the <tt>AvailabilityZone</tt>
--   parameter if the Multi-AZ parameter is set to <tt>true</tt> .</li>
--   <li><a>criAllocatedStorage</a> - The amount of storage (in gigabytes)
--   to be initially allocated for the replication instance.</li>
--   <li><a>criTags</a> - Tags to be associated with the replication
--   instance.</li>
--   <li><a>criReplicationInstanceIdentifier</a> - 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:
--   <tt>myrepinstance</tt></li>
--   <li><a>criReplicationInstanceClass</a> - The compute and memory
--   capacity of the replication instance as specified by the replication
--   instance class. Valid Values: <tt>dms.t2.micro | dms.t2.small |
--   dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge |
--   dms.c4.2xlarge | dms.c4.4xlarge </tt></li>
--   </ul>
createReplicationInstance :: Text -> Text -> CreateReplicationInstance

-- | <i>See:</i> <a>createReplicationInstance</a> smart constructor.
data CreateReplicationInstance

-- | The engine version number of the replication instance.
criEngineVersion :: Lens' CreateReplicationInstance (Maybe Text)

-- | Specifies the accessibility options for the replication instance. A
--   value of <tt>true</tt> represents an instance with a public IP
--   address. A value of <tt>false</tt> represents an instance with a
--   private IP address. The default value is <tt>true</tt> .
criPubliclyAccessible :: Lens' CreateReplicationInstance (Maybe Bool)

-- | Indicates that minor engine upgrades will be applied automatically to
--   the replication instance during the maintenance window. Default:
--   <tt>true</tt>
criAutoMinorVersionUpgrade :: Lens' CreateReplicationInstance (Maybe Bool)

-- | A subnet group to associate with the replication instance.
criReplicationSubnetGroupIdentifier :: Lens' CreateReplicationInstance (Maybe Text)

-- | The weekly time range during which system maintenance can occur, in
--   Universal Coordinated Time (UTC). Format:
--   <tt>ddd:hh24:mi-ddd:hh24:mi</tt> 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.
criPreferredMaintenanceWindow :: Lens' CreateReplicationInstance (Maybe Text)

-- | 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.
criKMSKeyId :: Lens' CreateReplicationInstance (Maybe Text)

-- | 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: <tt>us-east-1d</tt>
criAvailabilityZone :: Lens' CreateReplicationInstance (Maybe Text)

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

-- | Specifies if the replication instance is a Multi-AZ deployment. You
--   cannot set the <tt>AvailabilityZone</tt> parameter if the Multi-AZ
--   parameter is set to <tt>true</tt> .
criMultiAZ :: Lens' CreateReplicationInstance (Maybe Bool)

-- | The amount of storage (in gigabytes) to be initially allocated for the
--   replication instance.
criAllocatedStorage :: Lens' CreateReplicationInstance (Maybe Int)

-- | Tags to be associated with the replication instance.
criTags :: Lens' CreateReplicationInstance [Tag]

-- | 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: <tt>myrepinstance</tt>
criReplicationInstanceIdentifier :: Lens' CreateReplicationInstance Text

-- | The compute and memory capacity of the replication instance as
--   specified by the replication instance class. Valid Values:
--   <tt>dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large |
--   dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge </tt>
criReplicationInstanceClass :: Lens' CreateReplicationInstance Text

-- | Creates a value of <a>CreateReplicationInstanceResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>crirsReplicationInstance</a> - The replication instance that
--   was created.</li>
--   <li><a>crirsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
createReplicationInstanceResponse :: Int -> CreateReplicationInstanceResponse

-- | <i>See:</i> <a>createReplicationInstanceResponse</a> smart
--   constructor.
data CreateReplicationInstanceResponse

-- | The replication instance that was created.
crirsReplicationInstance :: Lens' CreateReplicationInstanceResponse (Maybe ReplicationInstance)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
crirsResponseStatus :: Lens' CreateReplicationInstanceResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.CreateReplicationInstance.CreateReplicationInstanceResponse
instance Data.Data.Data Network.AWS.DMS.CreateReplicationInstance.CreateReplicationInstanceResponse
instance GHC.Show.Show Network.AWS.DMS.CreateReplicationInstance.CreateReplicationInstanceResponse
instance GHC.Read.Read Network.AWS.DMS.CreateReplicationInstance.CreateReplicationInstanceResponse
instance GHC.Classes.Eq Network.AWS.DMS.CreateReplicationInstance.CreateReplicationInstanceResponse
instance GHC.Generics.Generic Network.AWS.DMS.CreateReplicationInstance.CreateReplicationInstance
instance Data.Data.Data Network.AWS.DMS.CreateReplicationInstance.CreateReplicationInstance
instance GHC.Show.Show Network.AWS.DMS.CreateReplicationInstance.CreateReplicationInstance
instance GHC.Read.Read Network.AWS.DMS.CreateReplicationInstance.CreateReplicationInstance
instance GHC.Classes.Eq Network.AWS.DMS.CreateReplicationInstance.CreateReplicationInstance
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.CreateReplicationInstance.CreateReplicationInstance
instance Control.DeepSeq.NFData Network.AWS.DMS.CreateReplicationInstance.CreateReplicationInstanceResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.CreateReplicationInstance.CreateReplicationInstance
instance Control.DeepSeq.NFData Network.AWS.DMS.CreateReplicationInstance.CreateReplicationInstance
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.CreateReplicationInstance.CreateReplicationInstance
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.CreateReplicationInstance.CreateReplicationInstance
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.CreateReplicationInstance.CreateReplicationInstance
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.CreateReplicationInstance.CreateReplicationInstance


-- | Creates an AWS DMS event notification subscription.
--   
--   You can specify the type of source (<tt>SourceType</tt> ) you want to
--   be notified of, provide a list of AWS DMS source IDs
--   (<tt>SourceIds</tt> ) that triggers the events, and provide a list of
--   event categories (<tt>EventCategories</tt> ) for events you want to be
--   notified of. If you specify both the <tt>SourceType</tt> and
--   <tt>SourceIds</tt> , such as <tt>SourceType =
--   replication-instance</tt> and <tt>SourceIdentifier =
--   my-replinstance</tt> , you will be notified of all the replication
--   instance events for the specified source. If you specify a
--   <tt>SourceType</tt> but don't specify a <tt>SourceIdentifier</tt> ,
--   you receive notice of the events for that source type for all your AWS
--   DMS sources. If you don't specify either <tt>SourceType</tt> nor
--   <tt>SourceIdentifier</tt> , you will be notified of events generated
--   from all AWS DMS sources belonging to your customer account.
--   
--   For more information about AWS DMS events, see <a>Working with Events
--   and Notifications</a> in the AWS Database MIgration Service User
--   Guide.
module Network.AWS.DMS.CreateEventSubscription

-- | Creates a value of <a>CreateEventSubscription</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cesEnabled</a> - A Boolean value; set to <b>true</b> to
--   activate the subscription, or set to <b>false</b> to create the
--   subscription but not activate it.</li>
--   <li><a>cesSourceType</a> - The type of AWS DMS resource that generates
--   the events. For example, if you want to be notified of events
--   generated by a replication instance, you set this parameter to
--   <tt>replication-instance</tt> . If this value is not specified, all
--   events are returned. Valid values: replication-instance |
--   migration-task</li>
--   <li><a>cesEventCategories</a> - A list of event categories for a
--   source type that you want to subscribe to. You can see a list of the
--   categories for a given source type by calling the
--   <b>DescribeEventCategories</b> action or in the topic <a>Working with
--   Events and Notifications</a> in the AWS Database Migration Service
--   User Guide.</li>
--   <li><a>cesSourceIds</a> - The list of identifiers of the event sources
--   for which events will be returned. If not specified, then all sources
--   are included in the response. An identifier must begin with a letter
--   and must contain only ASCII letters, digits, and hyphens; it cannot
--   end with a hyphen or contain two consecutive hyphens.</li>
--   <li><a>cesTags</a> - A tag to be attached to the event
--   subscription.</li>
--   <li><a>cesSubscriptionName</a> - The name of the AWS DMS event
--   notification subscription. Constraints: The name must be less than 255
--   characters.</li>
--   <li><a>cesSNSTopicARN</a> - The Amazon Resource Name (ARN) of the
--   Amazon SNS topic created for event notification. The ARN is created by
--   Amazon SNS when you create a topic and subscribe to it.</li>
--   </ul>
createEventSubscription :: Text -> Text -> CreateEventSubscription

-- | <i>See:</i> <a>createEventSubscription</a> smart constructor.
data CreateEventSubscription

-- | A Boolean value; set to <b>true</b> to activate the subscription, or
--   set to <b>false</b> to create the subscription but not activate it.
cesEnabled :: Lens' CreateEventSubscription (Maybe Bool)

-- | The type of AWS DMS resource that generates the events. For example,
--   if you want to be notified of events generated by a replication
--   instance, you set this parameter to <tt>replication-instance</tt> . If
--   this value is not specified, all events are returned. Valid values:
--   replication-instance | migration-task
cesSourceType :: Lens' CreateEventSubscription (Maybe Text)

-- | A list of event categories for a source type that you want to
--   subscribe to. You can see a list of the categories for a given source
--   type by calling the <b>DescribeEventCategories</b> action or in the
--   topic <a>Working with Events and Notifications</a> in the AWS Database
--   Migration Service User Guide.
cesEventCategories :: Lens' CreateEventSubscription [Text]

-- | The list of identifiers of the event sources for which events will be
--   returned. If not specified, then all sources are included in the
--   response. An identifier must begin with a letter and must contain only
--   ASCII letters, digits, and hyphens; it cannot end with a hyphen or
--   contain two consecutive hyphens.
cesSourceIds :: Lens' CreateEventSubscription [Text]

-- | A tag to be attached to the event subscription.
cesTags :: Lens' CreateEventSubscription [Tag]

-- | The name of the AWS DMS event notification subscription. Constraints:
--   The name must be less than 255 characters.
cesSubscriptionName :: Lens' CreateEventSubscription Text

-- | The Amazon Resource Name (ARN) of the Amazon SNS topic created for
--   event notification. The ARN is created by Amazon SNS when you create a
--   topic and subscribe to it.
cesSNSTopicARN :: Lens' CreateEventSubscription Text

-- | Creates a value of <a>CreateEventSubscriptionResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cesrsEventSubscription</a> - The event subscription that was
--   created.</li>
--   <li><a>cesrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
createEventSubscriptionResponse :: Int -> CreateEventSubscriptionResponse

-- | <i>See:</i> <a>createEventSubscriptionResponse</a> smart constructor.
data CreateEventSubscriptionResponse

-- | The event subscription that was created.
cesrsEventSubscription :: Lens' CreateEventSubscriptionResponse (Maybe EventSubscription)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
cesrsResponseStatus :: Lens' CreateEventSubscriptionResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.CreateEventSubscription.CreateEventSubscriptionResponse
instance Data.Data.Data Network.AWS.DMS.CreateEventSubscription.CreateEventSubscriptionResponse
instance GHC.Show.Show Network.AWS.DMS.CreateEventSubscription.CreateEventSubscriptionResponse
instance GHC.Read.Read Network.AWS.DMS.CreateEventSubscription.CreateEventSubscriptionResponse
instance GHC.Classes.Eq Network.AWS.DMS.CreateEventSubscription.CreateEventSubscriptionResponse
instance GHC.Generics.Generic Network.AWS.DMS.CreateEventSubscription.CreateEventSubscription
instance Data.Data.Data Network.AWS.DMS.CreateEventSubscription.CreateEventSubscription
instance GHC.Show.Show Network.AWS.DMS.CreateEventSubscription.CreateEventSubscription
instance GHC.Read.Read Network.AWS.DMS.CreateEventSubscription.CreateEventSubscription
instance GHC.Classes.Eq Network.AWS.DMS.CreateEventSubscription.CreateEventSubscription
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.CreateEventSubscription.CreateEventSubscription
instance Control.DeepSeq.NFData Network.AWS.DMS.CreateEventSubscription.CreateEventSubscriptionResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.CreateEventSubscription.CreateEventSubscription
instance Control.DeepSeq.NFData Network.AWS.DMS.CreateEventSubscription.CreateEventSubscription
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.CreateEventSubscription.CreateEventSubscription
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.CreateEventSubscription.CreateEventSubscription
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.CreateEventSubscription.CreateEventSubscription
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.CreateEventSubscription.CreateEventSubscription


-- | Creates an endpoint using the provided settings.
module Network.AWS.DMS.CreateEndpoint

-- | Creates a value of <a>CreateEndpoint</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ceServerName</a> - The name of the server where the endpoint
--   database resides.</li>
--   <li><a>ceCertificateARN</a> - The Amazon Resource Name (ARN) for the
--   certificate.</li>
--   <li><a>ceServiceAccessRoleARN</a> - The Amazon Resource Name (ARN) for
--   the service access role you want to use to create the endpoint.</li>
--   <li><a>ceExtraConnectionAttributes</a> - Additional attributes
--   associated with the connection.</li>
--   <li><a>ceUsername</a> - The user name to be used to login to the
--   endpoint database.</li>
--   <li><a>ceExternalTableDefinition</a> - The external table
--   definition.</li>
--   <li><a>ceKMSKeyId</a> - The KMS key identifier that will be used to
--   encrypt the connection parameters. 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.</li>
--   <li><a>ceMongoDBSettings</a> - Settings in JSON format for the source
--   MongoDB endpoint. For more information about the available settings,
--   see the <b>Configuration Properties When Using MongoDB as a Source for
--   AWS Database Migration Service</b> section at <a>Using Amazon S3 as a
--   Target for AWS Database Migration Service</a> .</li>
--   <li><a>ceSSLMode</a> - The SSL mode to use for the SSL connection. SSL
--   mode can be one of four values: none, require, verify-ca, verify-full.
--   The default value is none.</li>
--   <li><a>cePassword</a> - The password to be used to login to the
--   endpoint database.</li>
--   <li><a>ceDatabaseName</a> - The name of the endpoint database.</li>
--   <li><a>ceS3Settings</a> - Settings in JSON format for the target
--   Amazon S3 endpoint. For more information about the available settings,
--   see the <b>Extra Connection Attributes</b> section at <a>Using Amazon
--   S3 as a Target for AWS Database Migration Service</a> .</li>
--   <li><a>ceDynamoDBSettings</a> - Settings in JSON format for the target
--   Amazon DynamoDB endpoint. For more information about the available
--   settings, see the <b>Using Object Mapping to Migrate Data to
--   DynamoDB</b> section at <a>Using an Amazon DynamoDB Database as a
--   Target for AWS Database Migration Service</a> .</li>
--   <li><a>ceTags</a> - Tags to be added to the endpoint.</li>
--   <li><a>cePort</a> - The port used by the endpoint database.</li>
--   <li><a>ceEndpointIdentifier</a> - The database endpoint identifier.
--   Identifiers must begin with a letter; must contain only ASCII letters,
--   digits, and hyphens; and must not end with a hyphen or contain two
--   consecutive hyphens.</li>
--   <li><a>ceEndpointType</a> - The type of endpoint.</li>
--   <li><a>ceEngineName</a> - The type of engine for the endpoint. Valid
--   values, depending on the EndPointType, include mysql, oracle,
--   postgres, mariadb, aurora, aurora-postgresql, redshift, s3, db2,
--   azuredb, sybase, dynamodb, mongodb, and sqlserver.</li>
--   </ul>
createEndpoint :: Text -> ReplicationEndpointTypeValue -> Text -> CreateEndpoint

-- | <i>See:</i> <a>createEndpoint</a> smart constructor.
data CreateEndpoint

-- | The name of the server where the endpoint database resides.
ceServerName :: Lens' CreateEndpoint (Maybe Text)

-- | The Amazon Resource Name (ARN) for the certificate.
ceCertificateARN :: Lens' CreateEndpoint (Maybe Text)

-- | The Amazon Resource Name (ARN) for the service access role you want to
--   use to create the endpoint.
ceServiceAccessRoleARN :: Lens' CreateEndpoint (Maybe Text)

-- | Additional attributes associated with the connection.
ceExtraConnectionAttributes :: Lens' CreateEndpoint (Maybe Text)

-- | The user name to be used to login to the endpoint database.
ceUsername :: Lens' CreateEndpoint (Maybe Text)

-- | The external table definition.
ceExternalTableDefinition :: Lens' CreateEndpoint (Maybe Text)

-- | The KMS key identifier that will be used to encrypt the connection
--   parameters. 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.
ceKMSKeyId :: Lens' CreateEndpoint (Maybe Text)

-- | Settings in JSON format for the source MongoDB endpoint. For more
--   information about the available settings, see the <b>Configuration
--   Properties When Using MongoDB as a Source for AWS Database Migration
--   Service</b> section at <a>Using Amazon S3 as a Target for AWS Database
--   Migration Service</a> .
ceMongoDBSettings :: Lens' CreateEndpoint (Maybe MongoDBSettings)

-- | The SSL mode to use for the SSL connection. SSL mode can be one of
--   four values: none, require, verify-ca, verify-full. The default value
--   is none.
ceSSLMode :: Lens' CreateEndpoint (Maybe DmsSSLModeValue)

-- | The password to be used to login to the endpoint database.
cePassword :: Lens' CreateEndpoint (Maybe Text)

-- | The name of the endpoint database.
ceDatabaseName :: Lens' CreateEndpoint (Maybe Text)

-- | Settings in JSON format for the target Amazon S3 endpoint. For more
--   information about the available settings, see the <b>Extra Connection
--   Attributes</b> section at <a>Using Amazon S3 as a Target for AWS
--   Database Migration Service</a> .
ceS3Settings :: Lens' CreateEndpoint (Maybe S3Settings)

-- | Settings in JSON format for the target Amazon DynamoDB endpoint. For
--   more information about the available settings, see the <b>Using Object
--   Mapping to Migrate Data to DynamoDB</b> section at <a>Using an Amazon
--   DynamoDB Database as a Target for AWS Database Migration Service</a> .
ceDynamoDBSettings :: Lens' CreateEndpoint (Maybe DynamoDBSettings)

-- | Tags to be added to the endpoint.
ceTags :: Lens' CreateEndpoint [Tag]

-- | The port used by the endpoint database.
cePort :: Lens' CreateEndpoint (Maybe Int)

-- | The database endpoint identifier. Identifiers must begin with a
--   letter; must contain only ASCII letters, digits, and hyphens; and must
--   not end with a hyphen or contain two consecutive hyphens.
ceEndpointIdentifier :: Lens' CreateEndpoint Text

-- | The type of endpoint.
ceEndpointType :: Lens' CreateEndpoint ReplicationEndpointTypeValue

-- | The type of engine for the endpoint. Valid values, depending on the
--   EndPointType, include mysql, oracle, postgres, mariadb, aurora,
--   aurora-postgresql, redshift, s3, db2, azuredb, sybase, dynamodb,
--   mongodb, and sqlserver.
ceEngineName :: Lens' CreateEndpoint Text

-- | Creates a value of <a>CreateEndpointResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cersEndpoint</a> - The endpoint that was created.</li>
--   <li><a>cersResponseStatus</a> - -- | The response status code.</li>
--   </ul>
createEndpointResponse :: Int -> CreateEndpointResponse

-- | <i>See:</i> <a>createEndpointResponse</a> smart constructor.
data CreateEndpointResponse

-- | The endpoint that was created.
cersEndpoint :: Lens' CreateEndpointResponse (Maybe Endpoint)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
cersResponseStatus :: Lens' CreateEndpointResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.CreateEndpoint.CreateEndpointResponse
instance Data.Data.Data Network.AWS.DMS.CreateEndpoint.CreateEndpointResponse
instance GHC.Show.Show Network.AWS.DMS.CreateEndpoint.CreateEndpointResponse
instance GHC.Classes.Eq Network.AWS.DMS.CreateEndpoint.CreateEndpointResponse
instance GHC.Generics.Generic Network.AWS.DMS.CreateEndpoint.CreateEndpoint
instance Data.Data.Data Network.AWS.DMS.CreateEndpoint.CreateEndpoint
instance GHC.Show.Show Network.AWS.DMS.CreateEndpoint.CreateEndpoint
instance GHC.Classes.Eq Network.AWS.DMS.CreateEndpoint.CreateEndpoint
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.CreateEndpoint.CreateEndpoint
instance Control.DeepSeq.NFData Network.AWS.DMS.CreateEndpoint.CreateEndpointResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.CreateEndpoint.CreateEndpoint
instance Control.DeepSeq.NFData Network.AWS.DMS.CreateEndpoint.CreateEndpoint
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.CreateEndpoint.CreateEndpoint
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.CreateEndpoint.CreateEndpoint
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.CreateEndpoint.CreateEndpoint
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.CreateEndpoint.CreateEndpoint


-- | Adds metadata tags to an AWS DMS resource, including replication
--   instance, endpoint, security group, and migration task. These tags can
--   also be used with cost allocation reporting to track cost associated
--   with DMS resources, or used in a Condition statement in an IAM policy
--   for DMS.
module Network.AWS.DMS.AddTagsToResource

-- | Creates a value of <a>AddTagsToResource</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>attrResourceARN</a> - The Amazon Resource Name (ARN) of the AWS
--   DMS resource the tag is to be added to. AWS DMS resources include a
--   replication instance, endpoint, and a replication task.</li>
--   <li><a>attrTags</a> - The tag to be assigned to the DMS resource.</li>
--   </ul>
addTagsToResource :: Text -> AddTagsToResource

-- | <i>See:</i> <a>addTagsToResource</a> smart constructor.
data AddTagsToResource

-- | The Amazon Resource Name (ARN) of the AWS DMS resource the tag is to
--   be added to. AWS DMS resources include a replication instance,
--   endpoint, and a replication task.
attrResourceARN :: Lens' AddTagsToResource Text

-- | The tag to be assigned to the DMS resource.
attrTags :: Lens' AddTagsToResource [Tag]

-- | Creates a value of <a>AddTagsToResourceResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>attrrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
addTagsToResourceResponse :: Int -> AddTagsToResourceResponse

-- | <i>See:</i> <a>addTagsToResourceResponse</a> smart constructor.
data AddTagsToResourceResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
attrrsResponseStatus :: Lens' AddTagsToResourceResponse Int
instance GHC.Generics.Generic Network.AWS.DMS.AddTagsToResource.AddTagsToResourceResponse
instance Data.Data.Data Network.AWS.DMS.AddTagsToResource.AddTagsToResourceResponse
instance GHC.Show.Show Network.AWS.DMS.AddTagsToResource.AddTagsToResourceResponse
instance GHC.Read.Read Network.AWS.DMS.AddTagsToResource.AddTagsToResourceResponse
instance GHC.Classes.Eq Network.AWS.DMS.AddTagsToResource.AddTagsToResourceResponse
instance GHC.Generics.Generic Network.AWS.DMS.AddTagsToResource.AddTagsToResource
instance Data.Data.Data Network.AWS.DMS.AddTagsToResource.AddTagsToResource
instance GHC.Show.Show Network.AWS.DMS.AddTagsToResource.AddTagsToResource
instance GHC.Read.Read Network.AWS.DMS.AddTagsToResource.AddTagsToResource
instance GHC.Classes.Eq Network.AWS.DMS.AddTagsToResource.AddTagsToResource
instance Network.AWS.Types.AWSRequest Network.AWS.DMS.AddTagsToResource.AddTagsToResource
instance Control.DeepSeq.NFData Network.AWS.DMS.AddTagsToResource.AddTagsToResourceResponse
instance Data.Hashable.Class.Hashable Network.AWS.DMS.AddTagsToResource.AddTagsToResource
instance Control.DeepSeq.NFData Network.AWS.DMS.AddTagsToResource.AddTagsToResource
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DMS.AddTagsToResource.AddTagsToResource
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DMS.AddTagsToResource.AddTagsToResource
instance Network.AWS.Data.Path.ToPath Network.AWS.DMS.AddTagsToResource.AddTagsToResource
instance Network.AWS.Data.Query.ToQuery Network.AWS.DMS.AddTagsToResource.AddTagsToResource


module Network.AWS.DMS.Waiters


-- | <b>AWS Database Migration Service</b>
--   
--   AWS Database Migration Service (AWS DMS) can migrate your data to and
--   from the most widely used commercial and open-source databases such as
--   Oracle, PostgreSQL, Microsoft SQL Server, Amazon Redshift, MariaDB,
--   Amazon Aurora, MySQL, and SAP Adaptive Server Enterprise (ASE). The
--   service supports homogeneous migrations such as Oracle to Oracle, as
--   well as heterogeneous migrations between different database platforms,
--   such as Oracle to MySQL or SQL Server to PostgreSQL.
--   
--   For more information about AWS DMS, see the AWS DMS user guide at
--   <a>What Is AWS Database Migration Service?</a>
module Network.AWS.DMS

-- | API version <tt>2016-01-01</tt> of the Amazon Database Migration
--   Service SDK configuration.
dms :: Service

-- | The subnet provided is invalid.
_InvalidSubnet :: AsError a => Getting (First ServiceError) a ServiceError

-- | AWS DMS cannot access the KMS key.
_KMSKeyNotAccessibleFault :: AsError a => Getting (First ServiceError) a ServiceError

-- | The replication subnet group does not cover enough Availability Zones
--   (AZs). Edit the replication subnet group and add more AZs.
_ReplicationSubnetGroupDoesNotCoverEnoughAZs :: AsError a => Getting (First ServiceError) a ServiceError

-- | The resource is in a state that prevents it from being used for
--   database migration.
_InvalidResourceStateFault :: AsError a => Getting (First ServiceError) a ServiceError

-- | The certificate was not valid.
_InvalidCertificateFault :: AsError a => Getting (First ServiceError) a ServiceError

-- | You are not authorized for the SNS subscription.
_SNSNoAuthorizationFault :: AsError a => Getting (First ServiceError) a ServiceError

-- | The resource you are attempting to create already exists.
_ResourceAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError

-- | There are not enough resources allocated to the database migration.
_InsufficientResourceCapacityFault :: AsError a => Getting (First ServiceError) a ServiceError

-- | The SNS topic is invalid.
_SNSInvalidTopicFault :: AsError a => Getting (First ServiceError) a ServiceError

-- | The quota for this resource quota has been exceeded.
_ResourceQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError

-- | An upgrade dependency is preventing the database migration.
_UpgradeDependencyFailureFault :: AsError a => Getting (First ServiceError) a ServiceError

-- | The resource could not be found.
_ResourceNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError

-- | The storage quota has been exceeded.
_StorageQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError

-- | AWS DMS was denied access to the endpoint.
_AccessDeniedFault :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified subnet is already in use.
_SubnetAlreadyInUse :: AsError a => Getting (First ServiceError) a ServiceError
data AuthMechanismValue
Default :: AuthMechanismValue
MongodbCr :: AuthMechanismValue
ScramSha1 :: AuthMechanismValue
data AuthTypeValue
NO :: AuthTypeValue
Password :: AuthTypeValue
data CompressionTypeValue
CTVGzip :: CompressionTypeValue
CTVNone :: CompressionTypeValue
data DmsSSLModeValue
DSMVNone :: DmsSSLModeValue
DSMVRequire :: DmsSSLModeValue
DSMVVerifyCa :: DmsSSLModeValue
DSMVVerifyFull :: DmsSSLModeValue
data MigrationTypeValue
Cdc :: MigrationTypeValue
FullLoad :: MigrationTypeValue
FullLoadAndCdc :: MigrationTypeValue
data NestingLevelValue
None :: NestingLevelValue
One :: NestingLevelValue
data RefreshSchemasStatusTypeValue
Failed :: RefreshSchemasStatusTypeValue
Refreshing :: RefreshSchemasStatusTypeValue
Successful :: RefreshSchemasStatusTypeValue
data ReplicationEndpointTypeValue
Source :: ReplicationEndpointTypeValue
Target :: ReplicationEndpointTypeValue
data SourceType
ReplicationInstance :: SourceType
data StartReplicationTaskTypeValue
ReloadTarget :: StartReplicationTaskTypeValue
ResumeProcessing :: StartReplicationTaskTypeValue
StartReplication :: StartReplicationTaskTypeValue

-- | Describes a quota for an AWS account, for example, the number of
--   replication instances allowed.
--   
--   <i>See:</i> <a>accountQuota</a> smart constructor.
data AccountQuota

-- | Creates a value of <a>AccountQuota</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aqMax</a> - The maximum allowed value for the quota.</li>
--   <li><a>aqUsed</a> - The amount currently used toward the quota
--   maximum.</li>
--   <li><a>aqAccountQuotaName</a> - The name of the AWS DMS quota for this
--   AWS account.</li>
--   </ul>
accountQuota :: AccountQuota

-- | The maximum allowed value for the quota.
aqMax :: Lens' AccountQuota (Maybe Integer)

-- | The amount currently used toward the quota maximum.
aqUsed :: Lens' AccountQuota (Maybe Integer)

-- | The name of the AWS DMS quota for this AWS account.
aqAccountQuotaName :: Lens' AccountQuota (Maybe Text)

-- | <i>See:</i> <a>availabilityZone</a> smart constructor.
data AvailabilityZone

-- | Creates a value of <a>AvailabilityZone</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>azName</a> - The name of the availability zone.</li>
--   </ul>
availabilityZone :: AvailabilityZone

-- | The name of the availability zone.
azName :: Lens' AvailabilityZone (Maybe Text)

-- | The SSL certificate that can be used to encrypt connections between
--   the endpoints and the replication instance.
--   
--   <i>See:</i> <a>certificate</a> smart constructor.
data Certificate

-- | Creates a value of <a>Certificate</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cCertificateOwner</a> - The owner of the certificate.</li>
--   <li><a>cSigningAlgorithm</a> - The signing algorithm for the
--   certificate.</li>
--   <li><a>cValidFromDate</a> - The beginning date that the certificate is
--   valid.</li>
--   <li><a>cCertificatePem</a> - The contents of the .pem X.509
--   certificate file for the certificate.</li>
--   <li><a>cCertificateARN</a> - The Amazon Resource Name (ARN) for the
--   certificate.</li>
--   <li><a>cCertificateCreationDate</a> - The date that the certificate
--   was created.</li>
--   <li><a>cCertificateIdentifier</a> - The customer-assigned name of the
--   certificate. Valid characters are A-z and 0-9.</li>
--   <li><a>cCertificateWallet</a> - The location of the imported Oracle
--   Wallet certificate for use with SSL.-- <i>Note:</i> This <tt>Lens</tt>
--   automatically encodes and decodes Base64 data. The underlying
--   isomorphism will encode to Base64 representation during serialisation,
--   and decode from Base64 representation during deserialisation. This
--   <tt>Lens</tt> accepts and returns only raw unencoded data.</li>
--   <li><a>cKeyLength</a> - The key length of the cryptographic algorithm
--   being used.</li>
--   <li><a>cValidToDate</a> - The final date that the certificate is
--   valid.</li>
--   </ul>
certificate :: Certificate

-- | The owner of the certificate.
cCertificateOwner :: Lens' Certificate (Maybe Text)

-- | The signing algorithm for the certificate.
cSigningAlgorithm :: Lens' Certificate (Maybe Text)

-- | The beginning date that the certificate is valid.
cValidFromDate :: Lens' Certificate (Maybe UTCTime)

-- | The contents of the .pem X.509 certificate file for the certificate.
cCertificatePem :: Lens' Certificate (Maybe Text)

-- | The Amazon Resource Name (ARN) for the certificate.
cCertificateARN :: Lens' Certificate (Maybe Text)

-- | The date that the certificate was created.
cCertificateCreationDate :: Lens' Certificate (Maybe UTCTime)

-- | The customer-assigned name of the certificate. Valid characters are
--   A-z and 0-9.
cCertificateIdentifier :: Lens' Certificate (Maybe Text)

-- | The location of the imported Oracle Wallet certificate for use with
--   SSL.-- <i>Note:</i> This <tt>Lens</tt> automatically encodes and
--   decodes Base64 data. The underlying isomorphism will encode to Base64
--   representation during serialisation, and decode from Base64
--   representation during deserialisation. This <tt>Lens</tt> accepts and
--   returns only raw unencoded data.
cCertificateWallet :: Lens' Certificate (Maybe ByteString)

-- | The key length of the cryptographic algorithm being used.
cKeyLength :: Lens' Certificate (Maybe Int)

-- | The final date that the certificate is valid.
cValidToDate :: Lens' Certificate (Maybe UTCTime)

-- | <i>See:</i> <a>connection</a> smart constructor.
data Connection

-- | Creates a value of <a>Connection</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cStatus</a> - The connection status.</li>
--   <li><a>cReplicationInstanceARN</a> - The Amazon Resource Name (ARN) of
--   the replication instance.</li>
--   <li><a>cEndpointIdentifier</a> - The identifier of the endpoint.
--   Identifiers must begin with a letter; must contain only ASCII letters,
--   digits, and hyphens; and must not end with a hyphen or contain two
--   consecutive hyphens.</li>
--   <li><a>cReplicationInstanceIdentifier</a> - The replication instance
--   identifier. This parameter is stored as a lowercase string.</li>
--   <li><a>cEndpointARN</a> - The Amazon Resource Name (ARN) string that
--   uniquely identifies the endpoint.</li>
--   <li><a>cLastFailureMessage</a> - The error message when the connection
--   last failed.</li>
--   </ul>
connection :: Connection

-- | The connection status.
cStatus :: Lens' Connection (Maybe Text)

-- | The Amazon Resource Name (ARN) of the replication instance.
cReplicationInstanceARN :: Lens' Connection (Maybe Text)

-- | The identifier of the endpoint. Identifiers must begin with a letter;
--   must contain only ASCII letters, digits, and hyphens; and must not end
--   with a hyphen or contain two consecutive hyphens.
cEndpointIdentifier :: Lens' Connection (Maybe Text)

-- | The replication instance identifier. This parameter is stored as a
--   lowercase string.
cReplicationInstanceIdentifier :: Lens' Connection (Maybe Text)

-- | The Amazon Resource Name (ARN) string that uniquely identifies the
--   endpoint.
cEndpointARN :: Lens' Connection (Maybe Text)

-- | The error message when the connection last failed.
cLastFailureMessage :: Lens' Connection (Maybe Text)

-- | <i>See:</i> <a>dynamoDBSettings</a> smart constructor.
data DynamoDBSettings

-- | Creates a value of <a>DynamoDBSettings</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ddsServiceAccessRoleARN</a> - The Amazon Resource Name (ARN)
--   used by the service access IAM role.</li>
--   </ul>
dynamoDBSettings :: Text -> DynamoDBSettings

-- | The Amazon Resource Name (ARN) used by the service access IAM role.
ddsServiceAccessRoleARN :: Lens' DynamoDBSettings Text

-- | <i>See:</i> <a>endpoint</a> smart constructor.
data Endpoint

-- | Creates a value of <a>Endpoint</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>eStatus</a> - The status of the endpoint.</li>
--   <li><a>eServerName</a> - The name of the server at the endpoint.</li>
--   <li><a>eCertificateARN</a> - The Amazon Resource Name (ARN) used for
--   SSL connection to the endpoint.</li>
--   <li><a>eServiceAccessRoleARN</a> - The Amazon Resource Name (ARN) used
--   by the service access IAM role.</li>
--   <li><a>eEngineDisplayName</a> - The expanded name for the engine name.
--   For example, if the <tt>EngineName</tt> parameter is "aurora," this
--   value would be "Amazon Aurora MySQL."</li>
--   <li><a>eExtraConnectionAttributes</a> - Additional connection
--   attributes used to connect to the endpoint.</li>
--   <li><a>eEndpointType</a> - The type of endpoint.</li>
--   <li><a>eUsername</a> - The user name used to connect to the
--   endpoint.</li>
--   <li><a>eExternalTableDefinition</a> - The external table
--   definition.</li>
--   <li><a>eEngineName</a> - The database engine name. Valid values,
--   depending on the EndPointType, include mysql, oracle, postgres,
--   mariadb, aurora, aurora-postgresql, redshift, s3, db2, azuredb,
--   sybase, sybase, dynamodb, mongodb, and sqlserver.</li>
--   <li><a>eKMSKeyId</a> - The KMS key identifier that will be used to
--   encrypt the connection parameters. 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.</li>
--   <li><a>eMongoDBSettings</a> - The settings for the MongoDB source
--   endpoint. For more information, see the <tt>MongoDbSettings</tt>
--   structure.</li>
--   <li><a>eSSLMode</a> - The SSL mode used to connect to the endpoint.
--   SSL mode can be one of four values: none, require, verify-ca,
--   verify-full. The default value is none.</li>
--   <li><a>eDatabaseName</a> - The name of the database at the
--   endpoint.</li>
--   <li><a>eS3Settings</a> - The settings for the S3 target endpoint. For
--   more information, see the <tt>S3Settings</tt> structure.</li>
--   <li><a>eEndpointIdentifier</a> - The database endpoint identifier.
--   Identifiers must begin with a letter; must contain only ASCII letters,
--   digits, and hyphens; and must not end with a hyphen or contain two
--   consecutive hyphens.</li>
--   <li><a>eExternalId</a> - Value returned by a call to CreateEndpoint
--   that can be used for cross-account validation. Use it on a subsequent
--   call to CreateEndpoint to create the endpoint with a
--   cross-account.</li>
--   <li><a>eDynamoDBSettings</a> - The settings for the target DynamoDB
--   database. For more information, see the <tt>DynamoDBSettings</tt>
--   structure.</li>
--   <li><a>eEndpointARN</a> - The Amazon Resource Name (ARN) string that
--   uniquely identifies the endpoint.</li>
--   <li><a>ePort</a> - The port value used to access the endpoint.</li>
--   </ul>
endpoint :: Endpoint

-- | The status of the endpoint.
eStatus :: Lens' Endpoint (Maybe Text)

-- | The name of the server at the endpoint.
eServerName :: Lens' Endpoint (Maybe Text)

-- | The Amazon Resource Name (ARN) used for SSL connection to the
--   endpoint.
eCertificateARN :: Lens' Endpoint (Maybe Text)

-- | The Amazon Resource Name (ARN) used by the service access IAM role.
eServiceAccessRoleARN :: Lens' Endpoint (Maybe Text)

-- | The expanded name for the engine name. For example, if the
--   <tt>EngineName</tt> parameter is "aurora," this value would be "Amazon
--   Aurora MySQL."
eEngineDisplayName :: Lens' Endpoint (Maybe Text)

-- | Additional connection attributes used to connect to the endpoint.
eExtraConnectionAttributes :: Lens' Endpoint (Maybe Text)

-- | The type of endpoint.
eEndpointType :: Lens' Endpoint (Maybe ReplicationEndpointTypeValue)

-- | The user name used to connect to the endpoint.
eUsername :: Lens' Endpoint (Maybe Text)

-- | The external table definition.
eExternalTableDefinition :: Lens' Endpoint (Maybe Text)

-- | The database engine name. Valid values, depending on the EndPointType,
--   include mysql, oracle, postgres, mariadb, aurora, aurora-postgresql,
--   redshift, s3, db2, azuredb, sybase, sybase, dynamodb, mongodb, and
--   sqlserver.
eEngineName :: Lens' Endpoint (Maybe Text)

-- | The KMS key identifier that will be used to encrypt the connection
--   parameters. 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.
eKMSKeyId :: Lens' Endpoint (Maybe Text)

-- | The settings for the MongoDB source endpoint. For more information,
--   see the <tt>MongoDbSettings</tt> structure.
eMongoDBSettings :: Lens' Endpoint (Maybe MongoDBSettings)

-- | The SSL mode used to connect to the endpoint. SSL mode can be one of
--   four values: none, require, verify-ca, verify-full. The default value
--   is none.
eSSLMode :: Lens' Endpoint (Maybe DmsSSLModeValue)

-- | The name of the database at the endpoint.
eDatabaseName :: Lens' Endpoint (Maybe Text)

-- | The settings for the S3 target endpoint. For more information, see the
--   <tt>S3Settings</tt> structure.
eS3Settings :: Lens' Endpoint (Maybe S3Settings)

-- | The database endpoint identifier. Identifiers must begin with a
--   letter; must contain only ASCII letters, digits, and hyphens; and must
--   not end with a hyphen or contain two consecutive hyphens.
eEndpointIdentifier :: Lens' Endpoint (Maybe Text)

-- | Value returned by a call to CreateEndpoint that can be used for
--   cross-account validation. Use it on a subsequent call to
--   CreateEndpoint to create the endpoint with a cross-account.
eExternalId :: Lens' Endpoint (Maybe Text)

-- | The settings for the target DynamoDB database. For more information,
--   see the <tt>DynamoDBSettings</tt> structure.
eDynamoDBSettings :: Lens' Endpoint (Maybe DynamoDBSettings)

-- | The Amazon Resource Name (ARN) string that uniquely identifies the
--   endpoint.
eEndpointARN :: Lens' Endpoint (Maybe Text)

-- | The port value used to access the endpoint.
ePort :: Lens' Endpoint (Maybe Int)

-- | <i>See:</i> <a>event</a> smart constructor.
data Event

-- | Creates a value of <a>Event</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>eSourceType</a> - The type of AWS DMS resource that generates
--   events. Valid values: replication-instance | endpoint |
--   migration-task</li>
--   <li><a>eSourceIdentifier</a> - The identifier of the event source. An
--   identifier must begin with a letter and must contain only ASCII
--   letters, digits, and hyphens; it cannot end with a hyphen or contain
--   two consecutive hyphens. Constraints:replication instance, endpoint,
--   migration task</li>
--   <li><a>eDate</a> - The date of the event.</li>
--   <li><a>eEventCategories</a> - The event categories available for the
--   specified source type.</li>
--   <li><a>eMessage</a> - The event message.</li>
--   </ul>
event :: Event

-- | The type of AWS DMS resource that generates events. Valid values:
--   replication-instance | endpoint | migration-task
eSourceType :: Lens' Event (Maybe SourceType)

-- | The identifier of the event source. An identifier must begin with a
--   letter and must contain only ASCII letters, digits, and hyphens; it
--   cannot end with a hyphen or contain two consecutive hyphens.
--   Constraints:replication instance, endpoint, migration task
eSourceIdentifier :: Lens' Event (Maybe Text)

-- | The date of the event.
eDate :: Lens' Event (Maybe UTCTime)

-- | The event categories available for the specified source type.
eEventCategories :: Lens' Event [Text]

-- | The event message.
eMessage :: Lens' Event (Maybe Text)

-- | <i>See:</i> <a>eventCategoryGroup</a> smart constructor.
data EventCategoryGroup

-- | Creates a value of <a>EventCategoryGroup</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ecgSourceType</a> - The type of AWS DMS resource that generates
--   events. Valid values: replication-instance | replication-server |
--   security-group | migration-task</li>
--   <li><a>ecgEventCategories</a> - A list of event categories for a
--   <tt>SourceType</tt> that you want to subscribe to.</li>
--   </ul>
eventCategoryGroup :: EventCategoryGroup

-- | The type of AWS DMS resource that generates events. Valid values:
--   replication-instance | replication-server | security-group |
--   migration-task
ecgSourceType :: Lens' EventCategoryGroup (Maybe Text)

-- | A list of event categories for a <tt>SourceType</tt> that you want to
--   subscribe to.
ecgEventCategories :: Lens' EventCategoryGroup [Text]

-- | <i>See:</i> <a>eventSubscription</a> smart constructor.
data EventSubscription

-- | Creates a value of <a>EventSubscription</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>esStatus</a> - The status of the AWS DMS event notification
--   subscription. Constraints: Can be one of the following: creating |
--   modifying | deleting | active | no-permission | topic-not-exist The
--   status "no-permission" indicates that AWS DMS no longer has permission
--   to post to the SNS topic. The status "topic-not-exist" indicates that
--   the topic was deleted after the subscription was created.</li>
--   <li><a>esCustomerAWSId</a> - The AWS customer account associated with
--   the AWS DMS event notification subscription.</li>
--   <li><a>esCustSubscriptionId</a> - The AWS DMS event notification
--   subscription Id.</li>
--   <li><a>esSNSTopicARN</a> - The topic ARN of the AWS DMS event
--   notification subscription.</li>
--   <li><a>esEnabled</a> - Boolean value that indicates if the event
--   subscription is enabled.</li>
--   <li><a>esSourceType</a> - The type of AWS DMS resource that generates
--   events. Valid values: replication-instance | replication-server |
--   security-group | migration-task</li>
--   <li><a>esSubscriptionCreationTime</a> - The time the RDS event
--   notification subscription was created.</li>
--   <li><a>esEventCategoriesList</a> - A lists of event categories.</li>
--   <li><a>esSourceIdsList</a> - A list of source Ids for the event
--   subscription.</li>
--   </ul>
eventSubscription :: EventSubscription

-- | The status of the AWS DMS event notification subscription.
--   Constraints: Can be one of the following: creating | modifying |
--   deleting | active | no-permission | topic-not-exist The status
--   "no-permission" indicates that AWS DMS no longer has permission to
--   post to the SNS topic. The status "topic-not-exist" indicates that the
--   topic was deleted after the subscription was created.
esStatus :: Lens' EventSubscription (Maybe Text)

-- | The AWS customer account associated with the AWS DMS event
--   notification subscription.
esCustomerAWSId :: Lens' EventSubscription (Maybe Text)

-- | The AWS DMS event notification subscription Id.
esCustSubscriptionId :: Lens' EventSubscription (Maybe Text)

-- | The topic ARN of the AWS DMS event notification subscription.
esSNSTopicARN :: Lens' EventSubscription (Maybe Text)

-- | Boolean value that indicates if the event subscription is enabled.
esEnabled :: Lens' EventSubscription (Maybe Bool)

-- | The type of AWS DMS resource that generates events. Valid values:
--   replication-instance | replication-server | security-group |
--   migration-task
esSourceType :: Lens' EventSubscription (Maybe Text)

-- | The time the RDS event notification subscription was created.
esSubscriptionCreationTime :: Lens' EventSubscription (Maybe Text)

-- | A lists of event categories.
esEventCategoriesList :: Lens' EventSubscription [Text]

-- | A list of source Ids for the event subscription.
esSourceIdsList :: Lens' EventSubscription [Text]

-- | <i>See:</i> <a>filter'</a> smart constructor.
data Filter

-- | Creates a value of <a>Filter</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>fName</a> - The name of the filter.</li>
--   <li><a>fValues</a> - The filter value.</li>
--   </ul>
filter' :: Text -> Filter

-- | The name of the filter.
fName :: Lens' Filter Text

-- | The filter value.
fValues :: Lens' Filter [Text]

-- | <i>See:</i> <a>mongoDBSettings</a> smart constructor.
data MongoDBSettings

-- | Creates a value of <a>MongoDBSettings</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>mdsServerName</a> - The name of the server on the MongoDB
--   source endpoint.</li>
--   <li><a>mdsAuthMechanism</a> - The authentication mechanism you use to
--   access the MongoDB source endpoint. Valid values: DEFAULT, MONGODB_CR,
--   SCRAM_SHA_1 DEFAULT – For MongoDB version 2.x, use MONGODB_CR. For
--   MongoDB version 3.x, use SCRAM_SHA_1. This attribute is not used when
--   authType=No.</li>
--   <li><a>mdsUsername</a> - The user name you use to access the MongoDB
--   source endpoint.</li>
--   <li><a>mdsKMSKeyId</a> - The KMS key identifier that will be used to
--   encrypt the connection parameters. 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.</li>
--   <li><a>mdsPassword</a> - The password for the user account you use to
--   access the MongoDB source endpoint.</li>
--   <li><a>mdsNestingLevel</a> - Specifies either document or table mode.
--   Valid values: NONE, ONE Default value is NONE. Specify NONE to use
--   document mode. Specify ONE to use table mode.</li>
--   <li><a>mdsDatabaseName</a> - The database name on the MongoDB source
--   endpoint.</li>
--   <li><a>mdsDocsToInvestigate</a> - Indicates the number of documents to
--   preview to determine the document organization. Use this attribute
--   when <tt>NestingLevel</tt> is set to ONE. Must be a positive value
--   greater than 0. Default value is 1000.</li>
--   <li><a>mdsAuthSource</a> - The MongoDB database name. This attribute
--   is not used when <tt>authType=NO</tt> . The default is admin.</li>
--   <li><a>mdsExtractDocId</a> - Specifies the document ID. Use this
--   attribute when <tt>NestingLevel</tt> is set to NONE. Default value is
--   false.</li>
--   <li><a>mdsAuthType</a> - The authentication type you use to access the
--   MongoDB source endpoint. Valid values: NO, PASSWORD When NO is
--   selected, user name and password parameters are not used and can be
--   empty.</li>
--   <li><a>mdsPort</a> - The port value for the MongoDB source
--   endpoint.</li>
--   </ul>
mongoDBSettings :: MongoDBSettings

-- | The name of the server on the MongoDB source endpoint.
mdsServerName :: Lens' MongoDBSettings (Maybe Text)

-- | The authentication mechanism you use to access the MongoDB source
--   endpoint. Valid values: DEFAULT, MONGODB_CR, SCRAM_SHA_1 DEFAULT – For
--   MongoDB version 2.x, use MONGODB_CR. For MongoDB version 3.x, use
--   SCRAM_SHA_1. This attribute is not used when authType=No.
mdsAuthMechanism :: Lens' MongoDBSettings (Maybe AuthMechanismValue)

-- | The user name you use to access the MongoDB source endpoint.
mdsUsername :: Lens' MongoDBSettings (Maybe Text)

-- | The KMS key identifier that will be used to encrypt the connection
--   parameters. 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.
mdsKMSKeyId :: Lens' MongoDBSettings (Maybe Text)

-- | The password for the user account you use to access the MongoDB source
--   endpoint.
mdsPassword :: Lens' MongoDBSettings (Maybe Text)

-- | Specifies either document or table mode. Valid values: NONE, ONE
--   Default value is NONE. Specify NONE to use document mode. Specify ONE
--   to use table mode.
mdsNestingLevel :: Lens' MongoDBSettings (Maybe NestingLevelValue)

-- | The database name on the MongoDB source endpoint.
mdsDatabaseName :: Lens' MongoDBSettings (Maybe Text)

-- | Indicates the number of documents to preview to determine the document
--   organization. Use this attribute when <tt>NestingLevel</tt> is set to
--   ONE. Must be a positive value greater than 0. Default value is 1000.
mdsDocsToInvestigate :: Lens' MongoDBSettings (Maybe Text)

-- | The MongoDB database name. This attribute is not used when
--   <tt>authType=NO</tt> . The default is admin.
mdsAuthSource :: Lens' MongoDBSettings (Maybe Text)

-- | Specifies the document ID. Use this attribute when
--   <tt>NestingLevel</tt> is set to NONE. Default value is false.
mdsExtractDocId :: Lens' MongoDBSettings (Maybe Text)

-- | The authentication type you use to access the MongoDB source endpoint.
--   Valid values: NO, PASSWORD When NO is selected, user name and password
--   parameters are not used and can be empty.
mdsAuthType :: Lens' MongoDBSettings (Maybe AuthTypeValue)

-- | The port value for the MongoDB source endpoint.
mdsPort :: Lens' MongoDBSettings (Maybe Int)

-- | <i>See:</i> <a>orderableReplicationInstance</a> smart constructor.
data OrderableReplicationInstance

-- | Creates a value of <a>OrderableReplicationInstance</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>oriEngineVersion</a> - The version of the replication
--   engine.</li>
--   <li><a>oriMinAllocatedStorage</a> - The minimum amount of storage (in
--   gigabytes) that can be allocated for the replication instance.</li>
--   <li><a>oriIncludedAllocatedStorage</a> - The amount of storage (in
--   gigabytes) that is allocated for the replication instance.</li>
--   <li><a>oriMaxAllocatedStorage</a> - The minimum amount of storage (in
--   gigabytes) that can be allocated for the replication instance.</li>
--   <li><a>oriReplicationInstanceClass</a> - The compute and memory
--   capacity of the replication instance. Valid Values: <tt>dms.t2.micro |
--   dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large |
--   dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge </tt></li>
--   <li><a>oriDefaultAllocatedStorage</a> - The default amount of storage
--   (in gigabytes) that is allocated for the replication instance.</li>
--   <li><a>oriStorageType</a> - The type of storage used by the
--   replication instance.</li>
--   </ul>
orderableReplicationInstance :: OrderableReplicationInstance

-- | The version of the replication engine.
oriEngineVersion :: Lens' OrderableReplicationInstance (Maybe Text)

-- | The minimum amount of storage (in gigabytes) that can be allocated for
--   the replication instance.
oriMinAllocatedStorage :: Lens' OrderableReplicationInstance (Maybe Int)

-- | The amount of storage (in gigabytes) that is allocated for the
--   replication instance.
oriIncludedAllocatedStorage :: Lens' OrderableReplicationInstance (Maybe Int)

-- | The minimum amount of storage (in gigabytes) that can be allocated for
--   the replication instance.
oriMaxAllocatedStorage :: Lens' OrderableReplicationInstance (Maybe Int)

-- | The compute and memory capacity of the replication instance. Valid
--   Values: <tt>dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large
--   | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge </tt>
oriReplicationInstanceClass :: Lens' OrderableReplicationInstance (Maybe Text)

-- | The default amount of storage (in gigabytes) that is allocated for the
--   replication instance.
oriDefaultAllocatedStorage :: Lens' OrderableReplicationInstance (Maybe Int)

-- | The type of storage used by the replication instance.
oriStorageType :: Lens' OrderableReplicationInstance (Maybe Text)

-- | <i>See:</i> <a>refreshSchemasStatus</a> smart constructor.
data RefreshSchemasStatus

-- | Creates a value of <a>RefreshSchemasStatus</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rssStatus</a> - The status of the schema.</li>
--   <li><a>rssLastRefreshDate</a> - The date the schema was last
--   refreshed.</li>
--   <li><a>rssReplicationInstanceARN</a> - The Amazon Resource Name (ARN)
--   of the replication instance.</li>
--   <li><a>rssEndpointARN</a> - The Amazon Resource Name (ARN) string that
--   uniquely identifies the endpoint.</li>
--   <li><a>rssLastFailureMessage</a> - The last failure message for the
--   schema.</li>
--   </ul>
refreshSchemasStatus :: RefreshSchemasStatus

-- | The status of the schema.
rssStatus :: Lens' RefreshSchemasStatus (Maybe RefreshSchemasStatusTypeValue)

-- | The date the schema was last refreshed.
rssLastRefreshDate :: Lens' RefreshSchemasStatus (Maybe UTCTime)

-- | The Amazon Resource Name (ARN) of the replication instance.
rssReplicationInstanceARN :: Lens' RefreshSchemasStatus (Maybe Text)

-- | The Amazon Resource Name (ARN) string that uniquely identifies the
--   endpoint.
rssEndpointARN :: Lens' RefreshSchemasStatus (Maybe Text)

-- | The last failure message for the schema.
rssLastFailureMessage :: Lens' RefreshSchemasStatus (Maybe Text)

-- | <i>See:</i> <a>replicationInstance</a> smart constructor.
data ReplicationInstance

-- | Creates a value of <a>ReplicationInstance</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>riEngineVersion</a> - The engine version number of the
--   replication instance.</li>
--   <li><a>riPubliclyAccessible</a> - Specifies the accessibility options
--   for the replication instance. A value of <tt>true</tt> represents an
--   instance with a public IP address. A value of <tt>false</tt>
--   represents an instance with a private IP address. The default value is
--   <tt>true</tt> .</li>
--   <li><a>riAutoMinorVersionUpgrade</a> - Boolean value indicating if
--   minor version upgrades will be automatically applied to the
--   instance.</li>
--   <li><a>riReplicationInstancePublicIPAddresses</a> - The public IP
--   address of the replication instance.</li>
--   <li><a>riReplicationSubnetGroup</a> - The subnet group for the
--   replication instance.</li>
--   <li><a>riInstanceCreateTime</a> - The time the replication instance
--   was created.</li>
--   <li><a>riFreeUntil</a> - The expiration date of the free replication
--   instance that is part of the Free DMS program.</li>
--   <li><a>riReplicationInstanceStatus</a> - The status of the replication
--   instance.</li>
--   <li><a>riReplicationInstancePrivateIPAddresses</a> - The private IP
--   address of the replication instance.</li>
--   <li><a>riPreferredMaintenanceWindow</a> - The maintenance window times
--   for the replication instance.</li>
--   <li><a>riReplicationInstancePrivateIPAddress</a> - The private IP
--   address of the replication instance.</li>
--   <li><a>riKMSKeyId</a> - The KMS key identifier that is 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.</li>
--   <li><a>riAvailabilityZone</a> - The Availability Zone for the
--   instance.</li>
--   <li><a>riVPCSecurityGroups</a> - The VPC security group for the
--   instance.</li>
--   <li><a>riMultiAZ</a> - Specifies if the replication instance is a
--   Multi-AZ deployment. You cannot set the <tt>AvailabilityZone</tt>
--   parameter if the Multi-AZ parameter is set to <tt>true</tt> .</li>
--   <li><a>riSecondaryAvailabilityZone</a> - The availability zone of the
--   standby replication instance in a Multi-AZ deployment.</li>
--   <li><a>riReplicationInstanceARN</a> - The Amazon Resource Name (ARN)
--   of the replication instance.</li>
--   <li><a>riAllocatedStorage</a> - The amount of storage (in gigabytes)
--   that is allocated for the replication instance.</li>
--   <li><a>riReplicationInstancePublicIPAddress</a> - The public IP
--   address of the replication instance.</li>
--   <li><a>riReplicationInstanceClass</a> - The compute and memory
--   capacity of the replication instance. Valid Values: <tt>dms.t2.micro |
--   dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large |
--   dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge </tt></li>
--   <li><a>riReplicationInstanceIdentifier</a> - 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:
--   <tt>myrepinstance</tt></li>
--   <li><a>riPendingModifiedValues</a> - The pending modification
--   values.</li>
--   </ul>
replicationInstance :: ReplicationInstance

-- | The engine version number of the replication instance.
riEngineVersion :: Lens' ReplicationInstance (Maybe Text)

-- | Specifies the accessibility options for the replication instance. A
--   value of <tt>true</tt> represents an instance with a public IP
--   address. A value of <tt>false</tt> represents an instance with a
--   private IP address. The default value is <tt>true</tt> .
riPubliclyAccessible :: Lens' ReplicationInstance (Maybe Bool)

-- | Boolean value indicating if minor version upgrades will be
--   automatically applied to the instance.
riAutoMinorVersionUpgrade :: Lens' ReplicationInstance (Maybe Bool)

-- | The public IP address of the replication instance.
riReplicationInstancePublicIPAddresses :: Lens' ReplicationInstance [Text]

-- | The subnet group for the replication instance.
riReplicationSubnetGroup :: Lens' ReplicationInstance (Maybe ReplicationSubnetGroup)

-- | The time the replication instance was created.
riInstanceCreateTime :: Lens' ReplicationInstance (Maybe UTCTime)

-- | The expiration date of the free replication instance that is part of
--   the Free DMS program.
riFreeUntil :: Lens' ReplicationInstance (Maybe UTCTime)

-- | The status of the replication instance.
riReplicationInstanceStatus :: Lens' ReplicationInstance (Maybe Text)

-- | The private IP address of the replication instance.
riReplicationInstancePrivateIPAddresses :: Lens' ReplicationInstance [Text]

-- | The maintenance window times for the replication instance.
riPreferredMaintenanceWindow :: Lens' ReplicationInstance (Maybe Text)

-- | The private IP address of the replication instance.
riReplicationInstancePrivateIPAddress :: Lens' ReplicationInstance (Maybe Text)

-- | The KMS key identifier that is 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.
riKMSKeyId :: Lens' ReplicationInstance (Maybe Text)

-- | The Availability Zone for the instance.
riAvailabilityZone :: Lens' ReplicationInstance (Maybe Text)

-- | The VPC security group for the instance.
riVPCSecurityGroups :: Lens' ReplicationInstance [VPCSecurityGroupMembership]

-- | Specifies if the replication instance is a Multi-AZ deployment. You
--   cannot set the <tt>AvailabilityZone</tt> parameter if the Multi-AZ
--   parameter is set to <tt>true</tt> .
riMultiAZ :: Lens' ReplicationInstance (Maybe Bool)

-- | The availability zone of the standby replication instance in a
--   Multi-AZ deployment.
riSecondaryAvailabilityZone :: Lens' ReplicationInstance (Maybe Text)

-- | The Amazon Resource Name (ARN) of the replication instance.
riReplicationInstanceARN :: Lens' ReplicationInstance (Maybe Text)

-- | The amount of storage (in gigabytes) that is allocated for the
--   replication instance.
riAllocatedStorage :: Lens' ReplicationInstance (Maybe Int)

-- | The public IP address of the replication instance.
riReplicationInstancePublicIPAddress :: Lens' ReplicationInstance (Maybe Text)

-- | The compute and memory capacity of the replication instance. Valid
--   Values: <tt>dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large
--   | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge </tt>
riReplicationInstanceClass :: Lens' ReplicationInstance (Maybe Text)

-- | 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: <tt>myrepinstance</tt>
riReplicationInstanceIdentifier :: Lens' ReplicationInstance (Maybe Text)

-- | The pending modification values.
riPendingModifiedValues :: Lens' ReplicationInstance (Maybe ReplicationPendingModifiedValues)

-- | Contains metadata for a replication instance task log.
--   
--   <i>See:</i> <a>replicationInstanceTaskLog</a> smart constructor.
data ReplicationInstanceTaskLog

-- | Creates a value of <a>ReplicationInstanceTaskLog</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ritlReplicationTaskName</a> - The name of the replication
--   task.</li>
--   <li><a>ritlReplicationTaskARN</a> - The Amazon Resource Name (ARN) of
--   the replication task.</li>
--   <li><a>ritlReplicationInstanceTaskLogSize</a> - The size, in bytes, of
--   the replication task log.</li>
--   </ul>
replicationInstanceTaskLog :: ReplicationInstanceTaskLog

-- | The name of the replication task.
ritlReplicationTaskName :: Lens' ReplicationInstanceTaskLog (Maybe Text)

-- | The Amazon Resource Name (ARN) of the replication task.
ritlReplicationTaskARN :: Lens' ReplicationInstanceTaskLog (Maybe Text)

-- | The size, in bytes, of the replication task log.
ritlReplicationInstanceTaskLogSize :: Lens' ReplicationInstanceTaskLog (Maybe Integer)

-- | <i>See:</i> <a>replicationPendingModifiedValues</a> smart constructor.
data ReplicationPendingModifiedValues

-- | Creates a value of <a>ReplicationPendingModifiedValues</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rpmvEngineVersion</a> - The engine version number of the
--   replication instance.</li>
--   <li><a>rpmvMultiAZ</a> - Specifies if the replication instance is a
--   Multi-AZ deployment. You cannot set the <tt>AvailabilityZone</tt>
--   parameter if the Multi-AZ parameter is set to <tt>true</tt> .</li>
--   <li><a>rpmvAllocatedStorage</a> - The amount of storage (in gigabytes)
--   that is allocated for the replication instance.</li>
--   <li><a>rpmvReplicationInstanceClass</a> - The compute and memory
--   capacity of the replication instance. Valid Values: <tt>dms.t2.micro |
--   dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large |
--   dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge </tt></li>
--   </ul>
replicationPendingModifiedValues :: ReplicationPendingModifiedValues

-- | The engine version number of the replication instance.
rpmvEngineVersion :: Lens' ReplicationPendingModifiedValues (Maybe Text)

-- | Specifies if the replication instance is a Multi-AZ deployment. You
--   cannot set the <tt>AvailabilityZone</tt> parameter if the Multi-AZ
--   parameter is set to <tt>true</tt> .
rpmvMultiAZ :: Lens' ReplicationPendingModifiedValues (Maybe Bool)

-- | The amount of storage (in gigabytes) that is allocated for the
--   replication instance.
rpmvAllocatedStorage :: Lens' ReplicationPendingModifiedValues (Maybe Int)

-- | The compute and memory capacity of the replication instance. Valid
--   Values: <tt>dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large
--   | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge </tt>
rpmvReplicationInstanceClass :: Lens' ReplicationPendingModifiedValues (Maybe Text)

-- | <i>See:</i> <a>replicationSubnetGroup</a> smart constructor.
data ReplicationSubnetGroup

-- | Creates a value of <a>ReplicationSubnetGroup</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rsgVPCId</a> - The ID of the VPC.</li>
--   <li><a>rsgSubnets</a> - The subnets that are in the subnet group.</li>
--   <li><a>rsgReplicationSubnetGroupIdentifier</a> - The identifier of the
--   replication instance subnet group.</li>
--   <li><a>rsgSubnetGroupStatus</a> - The status of the subnet group.</li>
--   <li><a>rsgReplicationSubnetGroupDescription</a> - The description of
--   the replication subnet group.</li>
--   </ul>
replicationSubnetGroup :: ReplicationSubnetGroup

-- | The ID of the VPC.
rsgVPCId :: Lens' ReplicationSubnetGroup (Maybe Text)

-- | The subnets that are in the subnet group.
rsgSubnets :: Lens' ReplicationSubnetGroup [Subnet]

-- | The identifier of the replication instance subnet group.
rsgReplicationSubnetGroupIdentifier :: Lens' ReplicationSubnetGroup (Maybe Text)

-- | The status of the subnet group.
rsgSubnetGroupStatus :: Lens' ReplicationSubnetGroup (Maybe Text)

-- | The description of the replication subnet group.
rsgReplicationSubnetGroupDescription :: Lens' ReplicationSubnetGroup (Maybe Text)

-- | <i>See:</i> <a>replicationTask</a> smart constructor.
data ReplicationTask

-- | Creates a value of <a>ReplicationTask</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rReplicationTaskSettings</a> - The settings for the replication
--   task.</li>
--   <li><a>rStatus</a> - The status of the replication task.</li>
--   <li><a>rStopReason</a> - The reason the replication task was
--   stopped.</li>
--   <li><a>rTargetEndpointARN</a> - The Amazon Resource Name (ARN) string
--   that uniquely identifies the endpoint.</li>
--   <li><a>rReplicationTaskIdentifier</a> - The replication task
--   identifier. Constraints: * Must contain from 1 to 255 alphanumeric
--   characters or hyphens. * First character must be a letter. * Cannot
--   end with a hyphen or contain two consecutive hyphens.</li>
--   <li><a>rCdcStartPosition</a> - Indicates when you want a change data
--   capture (CDC) operation to start. Use either CdcStartPosition or
--   CdcStartTime to specify when you want a CDC operation to start.
--   Specifying both values results in an error. The value can be in date,
--   checkpoint, or LSN/SCN format. Date Example: --cdc-start-position
--   “2018-03-08T12:12:12” Checkpoint Example: --cdc-start-position
--   "checkpoint:V1mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:187600#93"
--   LSN Example: --cdc-start-position
--   “mysql-bin-changelog.000024:373”</li>
--   <li><a>rReplicationTaskStartDate</a> - The date the replication task
--   is scheduled to start.</li>
--   <li><a>rSourceEndpointARN</a> - The Amazon Resource Name (ARN) string
--   that uniquely identifies the endpoint.</li>
--   <li><a>rRecoveryCheckpoint</a> - Indicates the last checkpoint that
--   occurred during a change data capture (CDC) operation. You can provide
--   this value to the <tt>CdcStartPosition</tt> parameter to start a CDC
--   operation that begins at that checkpoint.</li>
--   <li><a>rTableMappings</a> - Table mappings specified in the task.</li>
--   <li><a>rReplicationTaskCreationDate</a> - The date the replication
--   task was created.</li>
--   <li><a>rMigrationType</a> - The type of migration.</li>
--   <li><a>rReplicationTaskARN</a> - The Amazon Resource Name (ARN) of the
--   replication task.</li>
--   <li><a>rCdcStopPosition</a> - Indicates when you want a change data
--   capture (CDC) operation to stop. The value can be either server time
--   or commit time. Server time example: --cdc-stop-position
--   “server_time:3018-02-09T12:12:12” Commit time example:
--   --cdc-stop-position “commit_time: 3018-02-09T12:12:12 “</li>
--   <li><a>rReplicationTaskStats</a> - The statistics for the task,
--   including elapsed time, tables loaded, and table errors.</li>
--   <li><a>rReplicationInstanceARN</a> - The Amazon Resource Name (ARN) of
--   the replication instance.</li>
--   <li><a>rLastFailureMessage</a> - The last error (failure) message
--   generated for the replication instance.</li>
--   </ul>
replicationTask :: ReplicationTask

-- | The settings for the replication task.
rReplicationTaskSettings :: Lens' ReplicationTask (Maybe Text)

-- | The status of the replication task.
rStatus :: Lens' ReplicationTask (Maybe Text)

-- | The reason the replication task was stopped.
rStopReason :: Lens' ReplicationTask (Maybe Text)

-- | The Amazon Resource Name (ARN) string that uniquely identifies the
--   endpoint.
rTargetEndpointARN :: Lens' ReplicationTask (Maybe Text)

-- | The replication task identifier. Constraints: * Must contain from 1 to
--   255 alphanumeric characters or hyphens. * First character must be a
--   letter. * Cannot end with a hyphen or contain two consecutive hyphens.
rReplicationTaskIdentifier :: Lens' ReplicationTask (Maybe Text)

-- | Indicates when you want a change data capture (CDC) operation to
--   start. Use either CdcStartPosition or CdcStartTime to specify when you
--   want a CDC operation to start. Specifying both values results in an
--   error. The value can be in date, checkpoint, or LSN/SCN format. Date
--   Example: --cdc-start-position “2018-03-08T12:12:12” Checkpoint
--   Example: --cdc-start-position
--   "checkpoint:V1mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:187600#93"
--   LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”
rCdcStartPosition :: Lens' ReplicationTask (Maybe Text)

-- | The date the replication task is scheduled to start.
rReplicationTaskStartDate :: Lens' ReplicationTask (Maybe UTCTime)

-- | The Amazon Resource Name (ARN) string that uniquely identifies the
--   endpoint.
rSourceEndpointARN :: Lens' ReplicationTask (Maybe Text)

-- | Indicates the last checkpoint that occurred during a change data
--   capture (CDC) operation. You can provide this value to the
--   <tt>CdcStartPosition</tt> parameter to start a CDC operation that
--   begins at that checkpoint.
rRecoveryCheckpoint :: Lens' ReplicationTask (Maybe Text)

-- | Table mappings specified in the task.
rTableMappings :: Lens' ReplicationTask (Maybe Text)

-- | The date the replication task was created.
rReplicationTaskCreationDate :: Lens' ReplicationTask (Maybe UTCTime)

-- | The type of migration.
rMigrationType :: Lens' ReplicationTask (Maybe MigrationTypeValue)

-- | The Amazon Resource Name (ARN) of the replication task.
rReplicationTaskARN :: Lens' ReplicationTask (Maybe Text)

-- | Indicates when you want a change data capture (CDC) operation to stop.
--   The value can be either server time or commit time. Server time
--   example: --cdc-stop-position “server_time:3018-02-09T12:12:12” Commit
--   time example: --cdc-stop-position “commit_time: 3018-02-09T12:12:12 “
rCdcStopPosition :: Lens' ReplicationTask (Maybe Text)

-- | The statistics for the task, including elapsed time, tables loaded,
--   and table errors.
rReplicationTaskStats :: Lens' ReplicationTask (Maybe ReplicationTaskStats)

-- | The Amazon Resource Name (ARN) of the replication instance.
rReplicationInstanceARN :: Lens' ReplicationTask (Maybe Text)

-- | The last error (failure) message generated for the replication
--   instance.
rLastFailureMessage :: Lens' ReplicationTask (Maybe Text)

-- | The task assessment report in JSON format.
--   
--   <i>See:</i> <a>replicationTaskAssessmentResult</a> smart constructor.
data ReplicationTaskAssessmentResult

-- | Creates a value of <a>ReplicationTaskAssessmentResult</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rtarAssessmentResults</a> - The task assessment results in JSON
--   format.</li>
--   <li><a>rtarAssessmentResultsFile</a> - The file containing the results
--   of the task assessment.</li>
--   <li><a>rtarReplicationTaskIdentifier</a> - The replication task
--   identifier of the task on which the task assessment was run.</li>
--   <li><a>rtarAssessmentStatus</a> - The status of the task
--   assessment.</li>
--   <li><a>rtarS3ObjectURL</a> - The URL of the S3 object containing the
--   task assessment results.</li>
--   <li><a>rtarReplicationTaskLastAssessmentDate</a> - The date the task
--   assessment was completed.</li>
--   <li><a>rtarReplicationTaskARN</a> - The Amazon Resource Name (ARN) of
--   the replication task.</li>
--   </ul>
replicationTaskAssessmentResult :: ReplicationTaskAssessmentResult

-- | The task assessment results in JSON format.
rtarAssessmentResults :: Lens' ReplicationTaskAssessmentResult (Maybe Text)

-- | The file containing the results of the task assessment.
rtarAssessmentResultsFile :: Lens' ReplicationTaskAssessmentResult (Maybe Text)

-- | The replication task identifier of the task on which the task
--   assessment was run.
rtarReplicationTaskIdentifier :: Lens' ReplicationTaskAssessmentResult (Maybe Text)

-- | The status of the task assessment.
rtarAssessmentStatus :: Lens' ReplicationTaskAssessmentResult (Maybe Text)

-- | The URL of the S3 object containing the task assessment results.
rtarS3ObjectURL :: Lens' ReplicationTaskAssessmentResult (Maybe Text)

-- | The date the task assessment was completed.
rtarReplicationTaskLastAssessmentDate :: Lens' ReplicationTaskAssessmentResult (Maybe UTCTime)

-- | The Amazon Resource Name (ARN) of the replication task.
rtarReplicationTaskARN :: Lens' ReplicationTaskAssessmentResult (Maybe Text)

-- | <i>See:</i> <a>replicationTaskStats</a> smart constructor.
data ReplicationTaskStats

-- | Creates a value of <a>ReplicationTaskStats</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rtsFullLoadProgressPercent</a> - The percent complete for the
--   full load migration task.</li>
--   <li><a>rtsElapsedTimeMillis</a> - The elapsed time of the task, in
--   milliseconds.</li>
--   <li><a>rtsTablesErrored</a> - The number of errors that have occurred
--   during this task.</li>
--   <li><a>rtsTablesLoaded</a> - The number of tables loaded for this
--   task.</li>
--   <li><a>rtsTablesQueued</a> - The number of tables queued for this
--   task.</li>
--   <li><a>rtsTablesLoading</a> - The number of tables currently loading
--   for this task.</li>
--   </ul>
replicationTaskStats :: ReplicationTaskStats

-- | The percent complete for the full load migration task.
rtsFullLoadProgressPercent :: Lens' ReplicationTaskStats (Maybe Int)

-- | The elapsed time of the task, in milliseconds.
rtsElapsedTimeMillis :: Lens' ReplicationTaskStats (Maybe Integer)

-- | The number of errors that have occurred during this task.
rtsTablesErrored :: Lens' ReplicationTaskStats (Maybe Int)

-- | The number of tables loaded for this task.
rtsTablesLoaded :: Lens' ReplicationTaskStats (Maybe Int)

-- | The number of tables queued for this task.
rtsTablesQueued :: Lens' ReplicationTaskStats (Maybe Int)

-- | The number of tables currently loading for this task.
rtsTablesLoading :: Lens' ReplicationTaskStats (Maybe Int)

-- | <i>See:</i> <a>s3Settings</a> smart constructor.
data S3Settings

-- | Creates a value of <a>S3Settings</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ssCSVDelimiter</a> - The delimiter used to separate columns in
--   the source files. The default is a comma.</li>
--   <li><a>ssServiceAccessRoleARN</a> - The Amazon Resource Name (ARN)
--   used by the service access IAM role.</li>
--   <li><a>ssBucketFolder</a> - An optional parameter to set a folder name
--   in the S3 bucket. If provided, tables are created in the path
--   <a>bucketFolder</a><i><a>schema_name</a></i><a>table_name</a><i>. If
--   this parameter is not specified, then the path used is
--   <a>schema_name</a></i><a>table_name</a>/.</li>
--   <li><a>ssExternalTableDefinition</a> - The external table
--   definition.</li>
--   <li><a>ssBucketName</a> - The name of the S3 bucket.</li>
--   <li><a>ssCSVRowDelimiter</a> - The delimiter used to separate rows in
--   the source files. The default is a carriage return (n).</li>
--   <li><a>ssCompressionType</a> - An optional parameter to use GZIP to
--   compress the target files. Set to GZIP to compress the target files.
--   Set to NONE (the default) or do not use to leave the files
--   uncompressed.</li>
--   </ul>
s3Settings :: S3Settings

-- | The delimiter used to separate columns in the source files. The
--   default is a comma.
ssCSVDelimiter :: Lens' S3Settings (Maybe Text)

-- | The Amazon Resource Name (ARN) used by the service access IAM role.
ssServiceAccessRoleARN :: Lens' S3Settings (Maybe Text)

-- | An optional parameter to set a folder name in the S3 bucket. If
--   provided, tables are created in the path
--   <a>bucketFolder</a><i><a>schema_name</a></i><a>table_name</a><i>. If
--   this parameter is not specified, then the path used is
--   <a>schema_name</a></i><a>table_name</a>/.
ssBucketFolder :: Lens' S3Settings (Maybe Text)

-- | The external table definition.
ssExternalTableDefinition :: Lens' S3Settings (Maybe Text)

-- | The name of the S3 bucket.
ssBucketName :: Lens' S3Settings (Maybe Text)

-- | The delimiter used to separate rows in the source files. The default
--   is a carriage return (n).
ssCSVRowDelimiter :: Lens' S3Settings (Maybe Text)

-- | An optional parameter to use GZIP to compress the target files. Set to
--   GZIP to compress the target files. Set to NONE (the default) or do not
--   use to leave the files uncompressed.
ssCompressionType :: Lens' S3Settings (Maybe CompressionTypeValue)

-- | <i>See:</i> <a>subnet</a> smart constructor.
data Subnet

-- | Creates a value of <a>Subnet</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sSubnetStatus</a> - The status of the subnet.</li>
--   <li><a>sSubnetIdentifier</a> - The subnet identifier.</li>
--   <li><a>sSubnetAvailabilityZone</a> - The Availability Zone of the
--   subnet.</li>
--   </ul>
subnet :: Subnet

-- | The status of the subnet.
sSubnetStatus :: Lens' Subnet (Maybe Text)

-- | The subnet identifier.
sSubnetIdentifier :: Lens' Subnet (Maybe Text)

-- | The Availability Zone of the subnet.
sSubnetAvailabilityZone :: Lens' Subnet (Maybe AvailabilityZone)

-- | <i>See:</i> <a>supportedEndpointType</a> smart constructor.
data SupportedEndpointType

-- | Creates a value of <a>SupportedEndpointType</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>setEngineDisplayName</a> - The expanded name for the engine
--   name. For example, if the <tt>EngineName</tt> parameter is "aurora,"
--   this value would be "Amazon Aurora MySQL."</li>
--   <li><a>setEndpointType</a> - The type of endpoint.</li>
--   <li><a>setEngineName</a> - The database engine name. Valid values,
--   depending on the EndPointType, include mysql, oracle, postgres,
--   mariadb, aurora, aurora-postgresql, redshift, s3, db2, azuredb,
--   sybase, sybase, dynamodb, mongodb, and sqlserver.</li>
--   <li><a>setSupportsCDC</a> - Indicates if Change Data Capture (CDC) is
--   supported.</li>
--   </ul>
supportedEndpointType :: SupportedEndpointType

-- | The expanded name for the engine name. For example, if the
--   <tt>EngineName</tt> parameter is "aurora," this value would be "Amazon
--   Aurora MySQL."
setEngineDisplayName :: Lens' SupportedEndpointType (Maybe Text)

-- | The type of endpoint.
setEndpointType :: Lens' SupportedEndpointType (Maybe ReplicationEndpointTypeValue)

-- | The database engine name. Valid values, depending on the EndPointType,
--   include mysql, oracle, postgres, mariadb, aurora, aurora-postgresql,
--   redshift, s3, db2, azuredb, sybase, sybase, dynamodb, mongodb, and
--   sqlserver.
setEngineName :: Lens' SupportedEndpointType (Maybe Text)

-- | Indicates if Change Data Capture (CDC) is supported.
setSupportsCDC :: Lens' SupportedEndpointType (Maybe Bool)

-- | <i>See:</i> <a>tableStatistics</a> smart constructor.
data TableStatistics

-- | Creates a value of <a>TableStatistics</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tsValidationState</a> - The validation state of the table. The
--   parameter can have the following values * Not enabled—Validation is
--   not enabled for the table in the migration task. * Pending
--   records—Some records in the table are waiting for validation. *
--   Mismatched records—Some records in the table do not match between the
--   source and target. * Suspended records—Some records in the table could
--   not be validated. * No primary key—The table could not be validated
--   because it had no primary key. * Table error—The table was not
--   validated because it was in an error state and some data was not
--   migrated. * Validated—All rows in the table were validated. If the
--   table is updated, the status can change from Validated. * Error—The
--   table could not be validated because of an unexpected error.</li>
--   <li><a>tsFullLoadRows</a> - The number of rows added during the Full
--   Load operation.</li>
--   <li><a>tsInserts</a> - The number of insert actions performed on a
--   table.</li>
--   <li><a>tsFullLoadCondtnlChkFailedRows</a> - The number of rows that
--   failed conditional checks during the Full Load operation (valid only
--   for DynamoDB as a target migrations).</li>
--   <li><a>tsValidationFailedRecords</a> - The number of records that
--   failed validation.</li>
--   <li><a>tsValidationSuspendedRecords</a> - The number of records that
--   could not be validated.</li>
--   <li><a>tsSchemaName</a> - The schema name.</li>
--   <li><a>tsTableState</a> - The state of the tables described. Valid
--   states: Table does not exist | Before load | Full load | Table
--   completed | Table cancelled | Table error | Table all | Table updates
--   | Table is being reloaded</li>
--   <li><a>tsFullLoadErrorRows</a> - The number of rows that failed to
--   load during the Full Load operation (valid only for DynamoDB as a
--   target migrations).</li>
--   <li><a>tsDdls</a> - The Data Definition Language (DDL) used to build
--   and modify the structure of your tables.</li>
--   <li><a>tsDeletes</a> - The number of delete actions performed on a
--   table.</li>
--   <li><a>tsUpdates</a> - The number of update actions performed on a
--   table.</li>
--   <li><a>tsValidationPendingRecords</a> - The number of records that
--   have yet to be validated.</li>
--   <li><a>tsLastUpdateTime</a> - The last time the table was
--   updated.</li>
--   <li><a>tsTableName</a> - The name of the table.</li>
--   </ul>
tableStatistics :: TableStatistics

-- | The validation state of the table. The parameter can have the
--   following values * Not enabled—Validation is not enabled for the table
--   in the migration task. * Pending records—Some records in the table are
--   waiting for validation. * Mismatched records—Some records in the table
--   do not match between the source and target. * Suspended records—Some
--   records in the table could not be validated. * No primary key—The
--   table could not be validated because it had no primary key. * Table
--   error—The table was not validated because it was in an error state and
--   some data was not migrated. * Validated—All rows in the table were
--   validated. If the table is updated, the status can change from
--   Validated. * Error—The table could not be validated because of an
--   unexpected error.
tsValidationState :: Lens' TableStatistics (Maybe Text)

-- | The number of rows added during the Full Load operation.
tsFullLoadRows :: Lens' TableStatistics (Maybe Integer)

-- | The number of insert actions performed on a table.
tsInserts :: Lens' TableStatistics (Maybe Integer)

-- | The number of rows that failed conditional checks during the Full Load
--   operation (valid only for DynamoDB as a target migrations).
tsFullLoadCondtnlChkFailedRows :: Lens' TableStatistics (Maybe Integer)

-- | The number of records that failed validation.
tsValidationFailedRecords :: Lens' TableStatistics (Maybe Integer)

-- | The number of records that could not be validated.
tsValidationSuspendedRecords :: Lens' TableStatistics (Maybe Integer)

-- | The schema name.
tsSchemaName :: Lens' TableStatistics (Maybe Text)

-- | The state of the tables described. Valid states: Table does not exist
--   | Before load | Full load | Table completed | Table cancelled | Table
--   error | Table all | Table updates | Table is being reloaded
tsTableState :: Lens' TableStatistics (Maybe Text)

-- | The number of rows that failed to load during the Full Load operation
--   (valid only for DynamoDB as a target migrations).
tsFullLoadErrorRows :: Lens' TableStatistics (Maybe Integer)

-- | The Data Definition Language (DDL) used to build and modify the
--   structure of your tables.
tsDdls :: Lens' TableStatistics (Maybe Integer)

-- | The number of delete actions performed on a table.
tsDeletes :: Lens' TableStatistics (Maybe Integer)

-- | The number of update actions performed on a table.
tsUpdates :: Lens' TableStatistics (Maybe Integer)

-- | The number of records that have yet to be validated.
tsValidationPendingRecords :: Lens' TableStatistics (Maybe Integer)

-- | The last time the table was updated.
tsLastUpdateTime :: Lens' TableStatistics (Maybe UTCTime)

-- | The name of the table.
tsTableName :: Lens' TableStatistics (Maybe Text)

-- | <i>See:</i> <a>tableToReload</a> smart constructor.
data TableToReload

-- | Creates a value of <a>TableToReload</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ttrSchemaName</a> - The schema name of the table to be
--   reloaded.</li>
--   <li><a>ttrTableName</a> - The table name of the table to be
--   reloaded.</li>
--   </ul>
tableToReload :: TableToReload

-- | The schema name of the table to be reloaded.
ttrSchemaName :: Lens' TableToReload (Maybe Text)

-- | The table name of the table to be reloaded.
ttrTableName :: Lens' TableToReload (Maybe Text)

-- | <i>See:</i> <a>tag</a> smart constructor.
data Tag

-- | Creates a value of <a>Tag</a> with the minimum fields required to make
--   a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tagValue</a> - A value is the optional value of the tag. The
--   string value can be from 1 to 256 Unicode characters in length and
--   cannot be prefixed with "aws:" or "dms:". The string can only contain
--   only the set of Unicode letters, digits, white-space, '_', <a>.</a>,
--   <a>/</a>, '=', <a>+</a>, <a>-</a> (Java regex:
--   "^([\p{L}\p{Z}\p{N}_.:/=+\-]*)$").</li>
--   <li><a>tagKey</a> - A key is the required name of the tag. The string
--   value can be from 1 to 128 Unicode characters in length and cannot be
--   prefixed with "aws:" or "dms:". The string can only contain only the
--   set of Unicode letters, digits, white-space, '_', <a>.</a>, <a>/</a>,
--   '=', <a>+</a>, <a>-</a> (Java regex:
--   "^([\p{L}\p{Z}\p{N}_.:/=+\-]*)$").</li>
--   </ul>
tag :: Tag

-- | A value is the optional value of the tag. The string value can be from
--   1 to 256 Unicode characters in length and cannot be prefixed with
--   "aws:" or "dms:". The string can only contain only the set of Unicode
--   letters, digits, white-space, '_', <a>.</a>, <a>/</a>, '=', <a>+</a>,
--   <a>-</a> (Java regex: "^([\p{L}\p{Z}\p{N}_.:/=+\-]*)$").
tagValue :: Lens' Tag (Maybe Text)

-- | A key is the required name of the tag. The string value can be from 1
--   to 128 Unicode characters in length and cannot be prefixed with "aws:"
--   or "dms:". The string can only contain only the set of Unicode
--   letters, digits, white-space, '_', <a>.</a>, <a>/</a>, '=', <a>+</a>,
--   <a>-</a> (Java regex: "^([\p{L}\p{Z}\p{N}_.:/=+\-]*)$").
tagKey :: Lens' Tag (Maybe Text)

-- | <i>See:</i> <a>vpcSecurityGroupMembership</a> smart constructor.
data VPCSecurityGroupMembership

-- | Creates a value of <a>VPCSecurityGroupMembership</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>vsgmStatus</a> - The status of the VPC security group.</li>
--   <li><a>vsgmVPCSecurityGroupId</a> - The VPC security group Id.</li>
--   </ul>
vpcSecurityGroupMembership :: VPCSecurityGroupMembership

-- | The status of the VPC security group.
vsgmStatus :: Lens' VPCSecurityGroupMembership (Maybe Text)

-- | The VPC security group Id.
vsgmVPCSecurityGroupId :: Lens' VPCSecurityGroupMembership (Maybe Text)
