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

Amazonka.DMS.ReloadTables

Description

Reloads the target database table with the source data.

You can only use this operation with a task in the RUNNING state, otherwise the service will throw an InvalidResourceStateFault exception.

Synopsis

Creating a Request

data ReloadTables Source #

See: newReloadTables smart constructor.

Constructors

ReloadTables' 

Fields

  • reloadOption :: Maybe ReloadOptionValue

    Options for reload. Specify data-reload to reload the data and re-validate it if validation is enabled. Specify validate-only to re-validate the table. This option applies only when validation is enabled for the task.

    Valid values: data-reload, validate-only

    Default value is data-reload.

  • replicationTaskArn :: Text

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

  • tablesToReload :: [TableToReload]

    The name and schema of the table to be reloaded.

Instances

Instances details
Eq ReloadTables Source # 
Instance details

Defined in Amazonka.DMS.ReloadTables

Read ReloadTables Source # 
Instance details

Defined in Amazonka.DMS.ReloadTables

Show ReloadTables Source # 
Instance details

Defined in Amazonka.DMS.ReloadTables

Generic ReloadTables Source # 
Instance details

Defined in Amazonka.DMS.ReloadTables

Associated Types

type Rep ReloadTables :: Type -> Type #

NFData ReloadTables Source # 
Instance details

Defined in Amazonka.DMS.ReloadTables

Methods

rnf :: ReloadTables -> () #

Hashable ReloadTables Source # 
Instance details

Defined in Amazonka.DMS.ReloadTables

ToJSON ReloadTables Source # 
Instance details

Defined in Amazonka.DMS.ReloadTables

AWSRequest ReloadTables Source # 
Instance details

Defined in Amazonka.DMS.ReloadTables

Associated Types

type AWSResponse ReloadTables #

ToHeaders ReloadTables Source # 
Instance details

Defined in Amazonka.DMS.ReloadTables

ToPath ReloadTables Source # 
Instance details

Defined in Amazonka.DMS.ReloadTables

ToQuery ReloadTables Source # 
Instance details

Defined in Amazonka.DMS.ReloadTables

type Rep ReloadTables Source # 
Instance details

Defined in Amazonka.DMS.ReloadTables

type Rep ReloadTables = D1 ('MetaData "ReloadTables" "Amazonka.DMS.ReloadTables" "libZSservicesZSamazonka-dmsZSamazonka-dms" 'False) (C1 ('MetaCons "ReloadTables'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reloadOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReloadOptionValue)) :*: (S1 ('MetaSel ('Just "replicationTaskArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tablesToReload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TableToReload]))))
type AWSResponse ReloadTables Source # 
Instance details

Defined in Amazonka.DMS.ReloadTables

newReloadTables Source #

Create a value of ReloadTables with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:reloadOption:ReloadTables', reloadTables_reloadOption - Options for reload. Specify data-reload to reload the data and re-validate it if validation is enabled. Specify validate-only to re-validate the table. This option applies only when validation is enabled for the task.

Valid values: data-reload, validate-only

Default value is data-reload.

$sel:replicationTaskArn:ReloadTables', reloadTables_replicationTaskArn - The Amazon Resource Name (ARN) of the replication task.

$sel:tablesToReload:ReloadTables', reloadTables_tablesToReload - The name and schema of the table to be reloaded.

Request Lenses

reloadTables_reloadOption :: Lens' ReloadTables (Maybe ReloadOptionValue) Source #

Options for reload. Specify data-reload to reload the data and re-validate it if validation is enabled. Specify validate-only to re-validate the table. This option applies only when validation is enabled for the task.

Valid values: data-reload, validate-only

Default value is data-reload.

reloadTables_replicationTaskArn :: Lens' ReloadTables Text Source #

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

reloadTables_tablesToReload :: Lens' ReloadTables [TableToReload] Source #

The name and schema of the table to be reloaded.

Destructuring the Response

data ReloadTablesResponse Source #

See: newReloadTablesResponse smart constructor.

Constructors

ReloadTablesResponse' 

Fields

Instances

Instances details
Eq ReloadTablesResponse Source # 
Instance details

Defined in Amazonka.DMS.ReloadTables

Read ReloadTablesResponse Source # 
Instance details

Defined in Amazonka.DMS.ReloadTables

Show ReloadTablesResponse Source # 
Instance details

Defined in Amazonka.DMS.ReloadTables

Generic ReloadTablesResponse Source # 
Instance details

Defined in Amazonka.DMS.ReloadTables

Associated Types

type Rep ReloadTablesResponse :: Type -> Type #

NFData ReloadTablesResponse Source # 
Instance details

Defined in Amazonka.DMS.ReloadTables

Methods

rnf :: ReloadTablesResponse -> () #

type Rep ReloadTablesResponse Source # 
Instance details

Defined in Amazonka.DMS.ReloadTables

type Rep ReloadTablesResponse = D1 ('MetaData "ReloadTablesResponse" "Amazonka.DMS.ReloadTables" "libZSservicesZSamazonka-dmsZSamazonka-dms" 'False) (C1 ('MetaCons "ReloadTablesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "replicationTaskArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newReloadTablesResponse Source #

Create a value of ReloadTablesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:replicationTaskArn:ReloadTables', reloadTablesResponse_replicationTaskArn - The Amazon Resource Name (ARN) of the replication task.

$sel:httpStatus:ReloadTablesResponse', reloadTablesResponse_httpStatus - The response's http status code.

Response Lenses

reloadTablesResponse_replicationTaskArn :: Lens' ReloadTablesResponse (Maybe Text) Source #

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