aws-sdk-go: github.com/aws/aws-sdk-go/service/databasemigrationservice Index | Examples | Files | Directories

package databasemigrationservice

import "github.com/aws/aws-sdk-go/service/databasemigrationservice"

Package databasemigrationservice provides the client and types for making API requests to AWS Database Migration Service.

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 What Is AWS Database Migration Service? (https://docs.aws.amazon.com/dms/latest/userguide/Welcome.html) in the AWS Database Migration User Guide.

See https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01 for more information on this service.

See databasemigrationservice package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/databasemigrationservice/

Using the Client

To contact AWS Database Migration Service with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS Database Migration Service client DatabaseMigrationService for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/databasemigrationservice/#New

Index

Examples

Package Files

api.go doc.go errors.go service.go waiters.go

Constants

const (
    // AuthMechanismValueDefault is a AuthMechanismValue enum value
    AuthMechanismValueDefault = "default"

    // AuthMechanismValueMongodbCr is a AuthMechanismValue enum value
    AuthMechanismValueMongodbCr = "mongodb_cr"

    // AuthMechanismValueScramSha1 is a AuthMechanismValue enum value
    AuthMechanismValueScramSha1 = "scram_sha_1"
)
const (
    // AuthTypeValueNo is a AuthTypeValue enum value
    AuthTypeValueNo = "no"

    // AuthTypeValuePassword is a AuthTypeValue enum value
    AuthTypeValuePassword = "password"
)
const (
    // CompressionTypeValueNone is a CompressionTypeValue enum value
    CompressionTypeValueNone = "none"

    // CompressionTypeValueGzip is a CompressionTypeValue enum value
    CompressionTypeValueGzip = "gzip"
)
const (
    // DataFormatValueCsv is a DataFormatValue enum value
    DataFormatValueCsv = "csv"

    // DataFormatValueParquet is a DataFormatValue enum value
    DataFormatValueParquet = "parquet"
)
const (
    // DmsSslModeValueNone is a DmsSslModeValue enum value
    DmsSslModeValueNone = "none"

    // DmsSslModeValueRequire is a DmsSslModeValue enum value
    DmsSslModeValueRequire = "require"

    // DmsSslModeValueVerifyCa is a DmsSslModeValue enum value
    DmsSslModeValueVerifyCa = "verify-ca"

    // DmsSslModeValueVerifyFull is a DmsSslModeValue enum value
    DmsSslModeValueVerifyFull = "verify-full"
)
const (
    // EncodingTypeValuePlain is a EncodingTypeValue enum value
    EncodingTypeValuePlain = "plain"

    // EncodingTypeValuePlainDictionary is a EncodingTypeValue enum value
    EncodingTypeValuePlainDictionary = "plain-dictionary"

    // EncodingTypeValueRleDictionary is a EncodingTypeValue enum value
    EncodingTypeValueRleDictionary = "rle-dictionary"
)
const (
    // EncryptionModeValueSseS3 is a EncryptionModeValue enum value
    EncryptionModeValueSseS3 = "sse-s3"

    // EncryptionModeValueSseKms is a EncryptionModeValue enum value
    EncryptionModeValueSseKms = "sse-kms"
)
const (
    // MigrationTypeValueFullLoad is a MigrationTypeValue enum value
    MigrationTypeValueFullLoad = "full-load"

    // MigrationTypeValueCdc is a MigrationTypeValue enum value
    MigrationTypeValueCdc = "cdc"

    // MigrationTypeValueFullLoadAndCdc is a MigrationTypeValue enum value
    MigrationTypeValueFullLoadAndCdc = "full-load-and-cdc"
)
const (
    // NestingLevelValueNone is a NestingLevelValue enum value
    NestingLevelValueNone = "none"

    // NestingLevelValueOne is a NestingLevelValue enum value
    NestingLevelValueOne = "one"
)
const (
    // ParquetVersionValueParquet10 is a ParquetVersionValue enum value
    ParquetVersionValueParquet10 = "parquet-1-0"

    // ParquetVersionValueParquet20 is a ParquetVersionValue enum value
    ParquetVersionValueParquet20 = "parquet-2-0"
)
const (
    // RefreshSchemasStatusTypeValueSuccessful is a RefreshSchemasStatusTypeValue enum value
    RefreshSchemasStatusTypeValueSuccessful = "successful"

    // RefreshSchemasStatusTypeValueFailed is a RefreshSchemasStatusTypeValue enum value
    RefreshSchemasStatusTypeValueFailed = "failed"

    // RefreshSchemasStatusTypeValueRefreshing is a RefreshSchemasStatusTypeValue enum value
    RefreshSchemasStatusTypeValueRefreshing = "refreshing"
)
const (
    // ReloadOptionValueDataReload is a ReloadOptionValue enum value
    ReloadOptionValueDataReload = "data-reload"

    // ReloadOptionValueValidateOnly is a ReloadOptionValue enum value
    ReloadOptionValueValidateOnly = "validate-only"
)
const (
    // ReplicationEndpointTypeValueSource is a ReplicationEndpointTypeValue enum value
    ReplicationEndpointTypeValueSource = "source"

    // ReplicationEndpointTypeValueTarget is a ReplicationEndpointTypeValue enum value
    ReplicationEndpointTypeValueTarget = "target"
)
const (
    // StartReplicationTaskTypeValueStartReplication is a StartReplicationTaskTypeValue enum value
    StartReplicationTaskTypeValueStartReplication = "start-replication"

    // StartReplicationTaskTypeValueResumeProcessing is a StartReplicationTaskTypeValue enum value
    StartReplicationTaskTypeValueResumeProcessing = "resume-processing"

    // StartReplicationTaskTypeValueReloadTarget is a StartReplicationTaskTypeValue enum value
    StartReplicationTaskTypeValueReloadTarget = "reload-target"
)
const (

    // ErrCodeAccessDeniedFault for service response error code
    // "AccessDeniedFault".
    //
    // AWS DMS was denied access to the endpoint. Check that the role is correctly
    // configured.
    ErrCodeAccessDeniedFault = "AccessDeniedFault"

    // ErrCodeInsufficientResourceCapacityFault for service response error code
    // "InsufficientResourceCapacityFault".
    //
    // There are not enough resources allocated to the database migration.
    ErrCodeInsufficientResourceCapacityFault = "InsufficientResourceCapacityFault"

    // ErrCodeInvalidCertificateFault for service response error code
    // "InvalidCertificateFault".
    //
    // The certificate was not valid.
    ErrCodeInvalidCertificateFault = "InvalidCertificateFault"

    // ErrCodeInvalidResourceStateFault for service response error code
    // "InvalidResourceStateFault".
    //
    // The resource is in a state that prevents it from being used for database
    // migration.
    ErrCodeInvalidResourceStateFault = "InvalidResourceStateFault"

    // ErrCodeInvalidSubnet for service response error code
    // "InvalidSubnet".
    //
    // The subnet provided is invalid.
    ErrCodeInvalidSubnet = "InvalidSubnet"

    // ErrCodeKMSAccessDeniedFault for service response error code
    // "KMSAccessDeniedFault".
    //
    // The ciphertext references a key that doesn't exist or that the DMS account
    // doesn't have access to.
    ErrCodeKMSAccessDeniedFault = "KMSAccessDeniedFault"

    // ErrCodeKMSDisabledFault for service response error code
    // "KMSDisabledFault".
    //
    // The specified master key (CMK) isn't enabled.
    ErrCodeKMSDisabledFault = "KMSDisabledFault"

    // ErrCodeKMSInvalidStateFault for service response error code
    // "KMSInvalidStateFault".
    //
    // The state of the specified AWS KMS resource isn't valid for this request.
    ErrCodeKMSInvalidStateFault = "KMSInvalidStateFault"

    // ErrCodeKMSKeyNotAccessibleFault for service response error code
    // "KMSKeyNotAccessibleFault".
    //
    // AWS DMS cannot access the AWS KMS key.
    ErrCodeKMSKeyNotAccessibleFault = "KMSKeyNotAccessibleFault"

    // ErrCodeKMSNotFoundFault for service response error code
    // "KMSNotFoundFault".
    //
    // The specified AWS KMS entity or resource can't be found.
    ErrCodeKMSNotFoundFault = "KMSNotFoundFault"

    // ErrCodeKMSThrottlingFault for service response error code
    // "KMSThrottlingFault".
    //
    // This request triggered AWS KMS request throttling.
    ErrCodeKMSThrottlingFault = "KMSThrottlingFault"

    // ErrCodeReplicationSubnetGroupDoesNotCoverEnoughAZs for service response error code
    // "ReplicationSubnetGroupDoesNotCoverEnoughAZs".
    //
    // The replication subnet group does not cover enough Availability Zones (AZs).
    // Edit the replication subnet group and add more AZs.
    ErrCodeReplicationSubnetGroupDoesNotCoverEnoughAZs = "ReplicationSubnetGroupDoesNotCoverEnoughAZs"

    // ErrCodeResourceAlreadyExistsFault for service response error code
    // "ResourceAlreadyExistsFault".
    //
    // The resource you are attempting to create already exists.
    ErrCodeResourceAlreadyExistsFault = "ResourceAlreadyExistsFault"

    // ErrCodeResourceNotFoundFault for service response error code
    // "ResourceNotFoundFault".
    //
    // The resource could not be found.
    ErrCodeResourceNotFoundFault = "ResourceNotFoundFault"

    // ErrCodeResourceQuotaExceededFault for service response error code
    // "ResourceQuotaExceededFault".
    //
    // The quota for this resource quota has been exceeded.
    ErrCodeResourceQuotaExceededFault = "ResourceQuotaExceededFault"

    // ErrCodeSNSInvalidTopicFault for service response error code
    // "SNSInvalidTopicFault".
    //
    // The SNS topic is invalid.
    ErrCodeSNSInvalidTopicFault = "SNSInvalidTopicFault"

    // ErrCodeSNSNoAuthorizationFault for service response error code
    // "SNSNoAuthorizationFault".
    //
    // You are not authorized for the SNS subscription.
    ErrCodeSNSNoAuthorizationFault = "SNSNoAuthorizationFault"

    // ErrCodeStorageQuotaExceededFault for service response error code
    // "StorageQuotaExceededFault".
    //
    // The storage quota has been exceeded.
    ErrCodeStorageQuotaExceededFault = "StorageQuotaExceededFault"

    // ErrCodeSubnetAlreadyInUse for service response error code
    // "SubnetAlreadyInUse".
    //
    // The specified subnet is already in use.
    ErrCodeSubnetAlreadyInUse = "SubnetAlreadyInUse"

    // ErrCodeUpgradeDependencyFailureFault for service response error code
    // "UpgradeDependencyFailureFault".
    //
    // An upgrade dependency is preventing the database migration.
    ErrCodeUpgradeDependencyFailureFault = "UpgradeDependencyFailureFault"
)
const (
    ServiceName = "dms"                        // Name of service.
    EndpointsID = ServiceName                  // ID to lookup a service endpoint with.
    ServiceID   = "Database Migration Service" // ServiceID is a unique identifer of a specific service.
)

Service information constants

const (
    // MessageFormatValueJson is a MessageFormatValue enum value
    MessageFormatValueJson = "json"
)
const (
    // ReleaseStatusValuesBeta is a ReleaseStatusValues enum value
    ReleaseStatusValuesBeta = "beta"
)
const (
    // SourceTypeReplicationInstance is a SourceType enum value
    SourceTypeReplicationInstance = "replication-instance"
)

type AccountQuota Uses

type AccountQuota struct {

    // The name of the AWS DMS quota for this AWS account.
    AccountQuotaName *string `type:"string"`

    // The maximum allowed value for the quota.
    Max *int64 `type:"long"`

    // The amount currently used toward the quota maximum.
    Used *int64 `type:"long"`
    // contains filtered or unexported fields
}

Describes a quota for an AWS account, for example, the number of replication instances allowed.

func (AccountQuota) GoString Uses

func (s AccountQuota) GoString() string

GoString returns the string representation

func (*AccountQuota) SetAccountQuotaName Uses

func (s *AccountQuota) SetAccountQuotaName(v string) *AccountQuota

SetAccountQuotaName sets the AccountQuotaName field's value.

func (*AccountQuota) SetMax Uses

func (s *AccountQuota) SetMax(v int64) *AccountQuota

SetMax sets the Max field's value.

func (*AccountQuota) SetUsed Uses

func (s *AccountQuota) SetUsed(v int64) *AccountQuota

SetUsed sets the Used field's value.

func (AccountQuota) String Uses

func (s AccountQuota) String() string

String returns the string representation

type AddTagsToResourceInput Uses

type AddTagsToResourceInput struct {

    // Identifies the AWS DMS resource to which tags should be added. The value
    // for this parameter is an Amazon Resource Name (ARN).
    //
    // For AWS DMS, you can tag a replication instance, an endpoint, or a replication
    // task.
    //
    // ResourceArn is a required field
    ResourceArn *string `type:"string" required:"true"`

    // One or more tags to be assigned to the resource.
    //
    // Tags is a required field
    Tags []*Tag `type:"list" required:"true"`
    // contains filtered or unexported fields
}

Associates a set of tags with an AWS DMS resource.

func (AddTagsToResourceInput) GoString Uses

func (s AddTagsToResourceInput) GoString() string

GoString returns the string representation

func (*AddTagsToResourceInput) SetResourceArn Uses

func (s *AddTagsToResourceInput) SetResourceArn(v string) *AddTagsToResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*AddTagsToResourceInput) SetTags Uses

func (s *AddTagsToResourceInput) SetTags(v []*Tag) *AddTagsToResourceInput

SetTags sets the Tags field's value.

func (AddTagsToResourceInput) String Uses

func (s AddTagsToResourceInput) String() string

String returns the string representation

func (*AddTagsToResourceInput) Validate Uses

func (s *AddTagsToResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AddTagsToResourceOutput Uses

type AddTagsToResourceOutput struct {
    // contains filtered or unexported fields
}

func (AddTagsToResourceOutput) GoString Uses

func (s AddTagsToResourceOutput) GoString() string

GoString returns the string representation

func (AddTagsToResourceOutput) String Uses

func (s AddTagsToResourceOutput) String() string

String returns the string representation

type ApplyPendingMaintenanceActionInput Uses

type ApplyPendingMaintenanceActionInput struct {

    // The pending maintenance action to apply to this resource.
    //
    // ApplyAction is a required field
    ApplyAction *string `type:"string" required:"true"`

    // A value that specifies the type of opt-in request, or undoes an opt-in request.
    // You can't undo an opt-in request of type immediate.
    //
    // Valid values:
    //
    //    * immediate - Apply the maintenance action immediately.
    //
    //    * next-maintenance - Apply the maintenance action during the next maintenance
    //    window for the resource.
    //
    //    * undo-opt-in - Cancel any existing next-maintenance opt-in requests.
    //
    // OptInType is a required field
    OptInType *string `type:"string" required:"true"`

    // The Amazon Resource Name (ARN) of the AWS DMS resource that the pending maintenance
    // action applies to.
    //
    // ReplicationInstanceArn is a required field
    ReplicationInstanceArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ApplyPendingMaintenanceActionInput) GoString Uses

func (s ApplyPendingMaintenanceActionInput) GoString() string

GoString returns the string representation

func (*ApplyPendingMaintenanceActionInput) SetApplyAction Uses

func (s *ApplyPendingMaintenanceActionInput) SetApplyAction(v string) *ApplyPendingMaintenanceActionInput

SetApplyAction sets the ApplyAction field's value.

func (*ApplyPendingMaintenanceActionInput) SetOptInType Uses

func (s *ApplyPendingMaintenanceActionInput) SetOptInType(v string) *ApplyPendingMaintenanceActionInput

SetOptInType sets the OptInType field's value.

func (*ApplyPendingMaintenanceActionInput) SetReplicationInstanceArn Uses

func (s *ApplyPendingMaintenanceActionInput) SetReplicationInstanceArn(v string) *ApplyPendingMaintenanceActionInput

SetReplicationInstanceArn sets the ReplicationInstanceArn field's value.

func (ApplyPendingMaintenanceActionInput) String Uses

func (s ApplyPendingMaintenanceActionInput) String() string

String returns the string representation

func (*ApplyPendingMaintenanceActionInput) Validate Uses

func (s *ApplyPendingMaintenanceActionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ApplyPendingMaintenanceActionOutput Uses

type ApplyPendingMaintenanceActionOutput struct {

    // The AWS DMS resource that the pending maintenance action will be applied
    // to.
    ResourcePendingMaintenanceActions *ResourcePendingMaintenanceActions `type:"structure"`
    // contains filtered or unexported fields
}

func (ApplyPendingMaintenanceActionOutput) GoString Uses

func (s ApplyPendingMaintenanceActionOutput) GoString() string

GoString returns the string representation

func (*ApplyPendingMaintenanceActionOutput) SetResourcePendingMaintenanceActions Uses

func (s *ApplyPendingMaintenanceActionOutput) SetResourcePendingMaintenanceActions(v *ResourcePendingMaintenanceActions) *ApplyPendingMaintenanceActionOutput

SetResourcePendingMaintenanceActions sets the ResourcePendingMaintenanceActions field's value.

func (ApplyPendingMaintenanceActionOutput) String Uses

func (s ApplyPendingMaintenanceActionOutput) String() string

String returns the string representation

type AvailabilityZone Uses

type AvailabilityZone struct {

    // The name of the availability zone.
    Name *string `type:"string"`
    // contains filtered or unexported fields
}

func (AvailabilityZone) GoString Uses

func (s AvailabilityZone) GoString() string

GoString returns the string representation

func (*AvailabilityZone) SetName Uses

func (s *AvailabilityZone) SetName(v string) *AvailabilityZone

SetName sets the Name field's value.

func (AvailabilityZone) String Uses

func (s AvailabilityZone) String() string

String returns the string representation

type Certificate Uses

type Certificate struct {

    // The Amazon Resource Name (ARN) for the certificate.
    CertificateArn *string `type:"string"`

    // The date that the certificate was created.
    CertificateCreationDate *time.Time `type:"timestamp"`

    // A customer-assigned name for the certificate. 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.
    CertificateIdentifier *string `type:"string"`

    // The owner of the certificate.
    CertificateOwner *string `type:"string"`

    // The contents of a .pem file, which contains an X.509 certificate.
    CertificatePem *string `type:"string"`

    // The location of an imported Oracle Wallet certificate for use with SSL.
    //
    // CertificateWallet is automatically base64 encoded/decoded by the SDK.
    CertificateWallet []byte `type:"blob"`

    // The key length of the cryptographic algorithm being used.
    KeyLength *int64 `type:"integer"`

    // The signing algorithm for the certificate.
    SigningAlgorithm *string `type:"string"`

    // The beginning date that the certificate is valid.
    ValidFromDate *time.Time `type:"timestamp"`

    // The final date that the certificate is valid.
    ValidToDate *time.Time `type:"timestamp"`
    // contains filtered or unexported fields
}

The SSL certificate that can be used to encrypt connections between the endpoints and the replication instance.

func (Certificate) GoString Uses

func (s Certificate) GoString() string

GoString returns the string representation

func (*Certificate) SetCertificateArn Uses

func (s *Certificate) SetCertificateArn(v string) *Certificate

SetCertificateArn sets the CertificateArn field's value.

func (*Certificate) SetCertificateCreationDate Uses

func (s *Certificate) SetCertificateCreationDate(v time.Time) *Certificate

SetCertificateCreationDate sets the CertificateCreationDate field's value.

func (*Certificate) SetCertificateIdentifier Uses

func (s *Certificate) SetCertificateIdentifier(v string) *Certificate

SetCertificateIdentifier sets the CertificateIdentifier field's value.

func (*Certificate) SetCertificateOwner Uses

func (s *Certificate) SetCertificateOwner(v string) *Certificate

SetCertificateOwner sets the CertificateOwner field's value.

func (*Certificate) SetCertificatePem Uses

func (s *Certificate) SetCertificatePem(v string) *Certificate

SetCertificatePem sets the CertificatePem field's value.

func (*Certificate) SetCertificateWallet Uses

func (s *Certificate) SetCertificateWallet(v []byte) *Certificate

SetCertificateWallet sets the CertificateWallet field's value.

func (*Certificate) SetKeyLength Uses

func (s *Certificate) SetKeyLength(v int64) *Certificate

SetKeyLength sets the KeyLength field's value.

func (*Certificate) SetSigningAlgorithm Uses

func (s *Certificate) SetSigningAlgorithm(v string) *Certificate

SetSigningAlgorithm sets the SigningAlgorithm field's value.

func (*Certificate) SetValidFromDate Uses

func (s *Certificate) SetValidFromDate(v time.Time) *Certificate

SetValidFromDate sets the ValidFromDate field's value.

func (*Certificate) SetValidToDate Uses

func (s *Certificate) SetValidToDate(v time.Time) *Certificate

SetValidToDate sets the ValidToDate field's value.

func (Certificate) String Uses

func (s Certificate) String() string

String returns the string representation

type Connection Uses

type Connection struct {

    // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
    EndpointArn *string `type:"string"`

    // 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.
    EndpointIdentifier *string `type:"string"`

    // The error message when the connection last failed.
    LastFailureMessage *string `type:"string"`

    // The Amazon Resource Name (ARN) of the replication instance.
    ReplicationInstanceArn *string `type:"string"`

    // The replication instance identifier. This parameter is stored as a lowercase
    // string.
    ReplicationInstanceIdentifier *string `type:"string"`

    // The connection status.
    Status *string `type:"string"`
    // contains filtered or unexported fields
}

func (Connection) GoString Uses

func (s Connection) GoString() string

GoString returns the string representation

func (*Connection) SetEndpointArn Uses

func (s *Connection) SetEndpointArn(v string) *Connection

SetEndpointArn sets the EndpointArn field's value.

func (*Connection) SetEndpointIdentifier Uses

func (s *Connection) SetEndpointIdentifier(v string) *Connection

SetEndpointIdentifier sets the EndpointIdentifier field's value.

func (*Connection) SetLastFailureMessage Uses

func (s *Connection) SetLastFailureMessage(v string) *Connection

SetLastFailureMessage sets the LastFailureMessage field's value.

func (*Connection) SetReplicationInstanceArn Uses

func (s *Connection) SetReplicationInstanceArn(v string) *Connection

SetReplicationInstanceArn sets the ReplicationInstanceArn field's value.

func (*Connection) SetReplicationInstanceIdentifier Uses

func (s *Connection) SetReplicationInstanceIdentifier(v string) *Connection

SetReplicationInstanceIdentifier sets the ReplicationInstanceIdentifier field's value.

func (*Connection) SetStatus Uses

func (s *Connection) SetStatus(v string) *Connection

SetStatus sets the Status field's value.

func (Connection) String Uses

func (s Connection) String() string

String returns the string representation

type CreateEndpointInput Uses

type CreateEndpointInput struct {

    // The Amazon Resource Name (ARN) for the certificate.
    CertificateArn *string `type:"string"`

    // The name of the endpoint database.
    DatabaseName *string `type:"string"`

    // The settings in JSON format for the DMS transfer type of source endpoint.
    //
    // Possible attributes include the following:
    //
    //    * serviceAccessRoleArn - The IAM role that has permission to access the
    //    Amazon S3 bucket.
    //
    //    * bucketName - The name of the S3 bucket to use.
    //
    //    * compressionType - An optional parameter to use GZIP to compress the
    //    target files. To use GZIP, set this value to NONE (the default). To keep
    //    the files uncompressed, don't use this value.
    //
    // Shorthand syntax for these attributes is as follows: ServiceAccessRoleArn=string,BucketName=string,CompressionType=string
    //
    // JSON syntax for these attributes is as follows: { "ServiceAccessRoleArn":
    // "string", "BucketName": "string", "CompressionType": "none"|"gzip" }
    DmsTransferSettings *DmsTransferSettings `type:"structure"`

    // Settings in JSON format for the target Amazon DynamoDB endpoint. For more
    // information about the available settings, see Using Object Mapping to Migrate
    // Data to DynamoDB (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.DynamoDB.html)
    // in the AWS Database Migration Service User Guide.
    DynamoDbSettings *DynamoDbSettings `type:"structure"`

    // Settings in JSON format for the target Elasticsearch endpoint. For more information
    // about the available settings, see Extra Connection Attributes When Using
    // Elasticsearch as a Target for AWS DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Elasticsearch.html#CHAP_Target.Elasticsearch.Configuration)
    // in the AWS Database Migration User Guide.
    ElasticsearchSettings *ElasticsearchSettings `type:"structure"`

    // 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.
    //
    // EndpointIdentifier is a required field
    EndpointIdentifier *string `type:"string" required:"true"`

    // The type of endpoint. Valid values are source and target.
    //
    // EndpointType is a required field
    EndpointType *string `type:"string" required:"true" enum:"ReplicationEndpointTypeValue"`

    // The type of engine for the endpoint. Valid values, depending on the EndpointType
    // value, include mysql, oracle, postgres, mariadb, aurora, aurora-postgresql,
    // redshift, s3, db2, azuredb, sybase, dynamodb, mongodb, and sqlserver.
    //
    // EngineName is a required field
    EngineName *string `type:"string" required:"true"`

    // The external table definition.
    ExternalTableDefinition *string `type:"string"`

    // Additional attributes associated with the connection. Each attribute is specified
    // as a name-value pair associated by an equal sign (=). Multiple attributes
    // are separated by a semicolon (;) with no additional white space. For information
    // on the attributes available for connecting your source or target endpoint,
    // see Working with AWS DMS Endpoints (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Endpoints.html)
    // in the AWS Database Migration Service User Guide.
    ExtraConnectionAttributes *string `type:"string"`

    // Settings in JSON format for the target Amazon Kinesis Data Streams endpoint.
    // For more information about the available settings, see Using Object Mapping
    // to Migrate Data to a Kinesis Data Stream (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Kinesis.html#CHAP_Target.Kinesis.ObjectMapping)
    // in the AWS Database Migration User Guide.
    KinesisSettings *KinesisSettings `type:"structure"`

    // An AWS KMS key identifier that is used to encrypt the connection parameters
    // for the endpoint.
    //
    // If you don't specify a value for the KmsKeyId parameter, then AWS DMS uses
    // 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.
    KmsKeyId *string `type:"string"`

    // Settings in JSON format for the source MongoDB endpoint. For more information
    // about the available settings, see the configuration properties section in
    // Using MongoDB as a Target for AWS Database Migration Service (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MongoDB.html)
    // in the AWS Database Migration Service User Guide.
    MongoDbSettings *MongoDbSettings `type:"structure"`

    // The password to be used to log in to the endpoint database.
    Password *string `type:"string" sensitive:"true"`

    // The port used by the endpoint database.
    Port *int64 `type:"integer"`

    RedshiftSettings *RedshiftSettings `type:"structure"`

    // Settings in JSON format for the target Amazon S3 endpoint. For more information
    // about the available settings, see Extra Connection Attributes When Using
    // Amazon S3 as a Target for AWS DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html#CHAP_Target.S3.Configuring)
    // in the AWS Database Migration Service User Guide.
    S3Settings *S3Settings `type:"structure"`

    // The name of the server where the endpoint database resides.
    ServerName *string `type:"string"`

    // The Amazon Resource Name (ARN) for the service access role that you want
    // to use to create the endpoint.
    ServiceAccessRoleArn *string `type:"string"`

    // The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default
    // is none
    SslMode *string `type:"string" enum:"DmsSslModeValue"`

    // One or more tags to be assigned to the endpoint.
    Tags []*Tag `type:"list"`

    // The user name to be used to log in to the endpoint database.
    Username *string `type:"string"`
    // contains filtered or unexported fields
}

func (CreateEndpointInput) GoString Uses

func (s CreateEndpointInput) GoString() string

GoString returns the string representation

func (*CreateEndpointInput) SetCertificateArn Uses

func (s *CreateEndpointInput) SetCertificateArn(v string) *CreateEndpointInput

SetCertificateArn sets the CertificateArn field's value.

func (*CreateEndpointInput) SetDatabaseName Uses

func (s *CreateEndpointInput) SetDatabaseName(v string) *CreateEndpointInput

SetDatabaseName sets the DatabaseName field's value.

func (*CreateEndpointInput) SetDmsTransferSettings Uses

func (s *CreateEndpointInput) SetDmsTransferSettings(v *DmsTransferSettings) *CreateEndpointInput

SetDmsTransferSettings sets the DmsTransferSettings field's value.

func (*CreateEndpointInput) SetDynamoDbSettings Uses

func (s *CreateEndpointInput) SetDynamoDbSettings(v *DynamoDbSettings) *CreateEndpointInput

SetDynamoDbSettings sets the DynamoDbSettings field's value.

func (*CreateEndpointInput) SetElasticsearchSettings Uses

func (s *CreateEndpointInput) SetElasticsearchSettings(v *ElasticsearchSettings) *CreateEndpointInput

SetElasticsearchSettings sets the ElasticsearchSettings field's value.

func (*CreateEndpointInput) SetEndpointIdentifier Uses

func (s *CreateEndpointInput) SetEndpointIdentifier(v string) *CreateEndpointInput

SetEndpointIdentifier sets the EndpointIdentifier field's value.

func (*CreateEndpointInput) SetEndpointType Uses

func (s *CreateEndpointInput) SetEndpointType(v string) *CreateEndpointInput

SetEndpointType sets the EndpointType field's value.

func (*CreateEndpointInput) SetEngineName Uses

func (s *CreateEndpointInput) SetEngineName(v string) *CreateEndpointInput

SetEngineName sets the EngineName field's value.

func (*CreateEndpointInput) SetExternalTableDefinition Uses

func (s *CreateEndpointInput) SetExternalTableDefinition(v string) *CreateEndpointInput

SetExternalTableDefinition sets the ExternalTableDefinition field's value.

func (*CreateEndpointInput) SetExtraConnectionAttributes Uses

func (s *CreateEndpointInput) SetExtraConnectionAttributes(v string) *CreateEndpointInput

SetExtraConnectionAttributes sets the ExtraConnectionAttributes field's value.

func (*CreateEndpointInput) SetKinesisSettings Uses

func (s *CreateEndpointInput) SetKinesisSettings(v *KinesisSettings) *CreateEndpointInput

SetKinesisSettings sets the KinesisSettings field's value.

func (*CreateEndpointInput) SetKmsKeyId Uses

func (s *CreateEndpointInput) SetKmsKeyId(v string) *CreateEndpointInput

SetKmsKeyId sets the KmsKeyId field's value.

func (*CreateEndpointInput) SetMongoDbSettings Uses

func (s *CreateEndpointInput) SetMongoDbSettings(v *MongoDbSettings) *CreateEndpointInput

SetMongoDbSettings sets the MongoDbSettings field's value.

func (*CreateEndpointInput) SetPassword Uses

func (s *CreateEndpointInput) SetPassword(v string) *CreateEndpointInput

SetPassword sets the Password field's value.

func (*CreateEndpointInput) SetPort Uses

func (s *CreateEndpointInput) SetPort(v int64) *CreateEndpointInput

SetPort sets the Port field's value.

func (*CreateEndpointInput) SetRedshiftSettings Uses

func (s *CreateEndpointInput) SetRedshiftSettings(v *RedshiftSettings) *CreateEndpointInput

SetRedshiftSettings sets the RedshiftSettings field's value.

func (*CreateEndpointInput) SetS3Settings Uses

func (s *CreateEndpointInput) SetS3Settings(v *S3Settings) *CreateEndpointInput

SetS3Settings sets the S3Settings field's value.

func (*CreateEndpointInput) SetServerName Uses

func (s *CreateEndpointInput) SetServerName(v string) *CreateEndpointInput

SetServerName sets the ServerName field's value.

func (*CreateEndpointInput) SetServiceAccessRoleArn Uses

func (s *CreateEndpointInput) SetServiceAccessRoleArn(v string) *CreateEndpointInput

SetServiceAccessRoleArn sets the ServiceAccessRoleArn field's value.

func (*CreateEndpointInput) SetSslMode Uses

func (s *CreateEndpointInput) SetSslMode(v string) *CreateEndpointInput

SetSslMode sets the SslMode field's value.

func (*CreateEndpointInput) SetTags Uses

func (s *CreateEndpointInput) SetTags(v []*Tag) *CreateEndpointInput

SetTags sets the Tags field's value.

func (*CreateEndpointInput) SetUsername Uses

func (s *CreateEndpointInput) SetUsername(v string) *CreateEndpointInput

SetUsername sets the Username field's value.

func (CreateEndpointInput) String Uses

func (s CreateEndpointInput) String() string

String returns the string representation

func (*CreateEndpointInput) Validate Uses

func (s *CreateEndpointInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateEndpointOutput Uses

type CreateEndpointOutput struct {

    // The endpoint that was created.
    Endpoint *Endpoint `type:"structure"`
    // contains filtered or unexported fields
}

func (CreateEndpointOutput) GoString Uses

func (s CreateEndpointOutput) GoString() string

GoString returns the string representation

func (*CreateEndpointOutput) SetEndpoint Uses

func (s *CreateEndpointOutput) SetEndpoint(v *Endpoint) *CreateEndpointOutput

SetEndpoint sets the Endpoint field's value.

func (CreateEndpointOutput) String Uses

func (s CreateEndpointOutput) String() string

String returns the string representation

type CreateEventSubscriptionInput Uses

type CreateEventSubscriptionInput struct {

    // A Boolean value; set to true to activate the subscription, or set to false
    // to create the subscription but not activate it.
    Enabled *bool `type:"boolean"`

    // A list of event categories for a source type that you want to subscribe to.
    // For more information, see Working with Events and Notifications (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html)
    // in the AWS Database Migration Service User Guide.
    EventCategories []*string `type:"list"`

    // 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.
    //
    // SnsTopicArn is a required field
    SnsTopicArn *string `type:"string" required:"true"`

    // A list of identifiers for which AWS DMS provides notification events.
    //
    // If you don't specify a value, notifications are provided for all sources.
    //
    // If you specify multiple values, they must be of the same type. For example,
    // if you specify a database instance ID, then all of the other values must
    // be database instance IDs.
    SourceIds []*string `type:"list"`

    // 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 replication-instance. If this value is not specified, all
    // events are returned.
    //
    // Valid values: replication-instance | replication-task
    SourceType *string `type:"string"`

    // The name of the AWS DMS event notification subscription. This name must be
    // less than 255 characters.
    //
    // SubscriptionName is a required field
    SubscriptionName *string `type:"string" required:"true"`

    // One or more tags to be assigned to the event subscription.
    Tags []*Tag `type:"list"`
    // contains filtered or unexported fields
}

func (CreateEventSubscriptionInput) GoString Uses

func (s CreateEventSubscriptionInput) GoString() string

GoString returns the string representation

func (*CreateEventSubscriptionInput) SetEnabled Uses

func (s *CreateEventSubscriptionInput) SetEnabled(v bool) *CreateEventSubscriptionInput

SetEnabled sets the Enabled field's value.

func (*CreateEventSubscriptionInput) SetEventCategories Uses

func (s *CreateEventSubscriptionInput) SetEventCategories(v []*string) *CreateEventSubscriptionInput

SetEventCategories sets the EventCategories field's value.

func (*CreateEventSubscriptionInput) SetSnsTopicArn Uses

func (s *CreateEventSubscriptionInput) SetSnsTopicArn(v string) *CreateEventSubscriptionInput

SetSnsTopicArn sets the SnsTopicArn field's value.

func (*CreateEventSubscriptionInput) SetSourceIds Uses

func (s *CreateEventSubscriptionInput) SetSourceIds(v []*string) *CreateEventSubscriptionInput

SetSourceIds sets the SourceIds field's value.

func (*CreateEventSubscriptionInput) SetSourceType Uses

func (s *CreateEventSubscriptionInput) SetSourceType(v string) *CreateEventSubscriptionInput

SetSourceType sets the SourceType field's value.

func (*CreateEventSubscriptionInput) SetSubscriptionName Uses

func (s *CreateEventSubscriptionInput) SetSubscriptionName(v string) *CreateEventSubscriptionInput

SetSubscriptionName sets the SubscriptionName field's value.

func (*CreateEventSubscriptionInput) SetTags Uses

func (s *CreateEventSubscriptionInput) SetTags(v []*Tag) *CreateEventSubscriptionInput

SetTags sets the Tags field's value.

func (CreateEventSubscriptionInput) String Uses

func (s CreateEventSubscriptionInput) String() string

String returns the string representation

func (*CreateEventSubscriptionInput) Validate Uses

func (s *CreateEventSubscriptionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateEventSubscriptionOutput Uses

type CreateEventSubscriptionOutput struct {

    // The event subscription that was created.
    EventSubscription *EventSubscription `type:"structure"`
    // contains filtered or unexported fields
}

func (CreateEventSubscriptionOutput) GoString Uses

func (s CreateEventSubscriptionOutput) GoString() string

GoString returns the string representation

func (*CreateEventSubscriptionOutput) SetEventSubscription Uses

func (s *CreateEventSubscriptionOutput) SetEventSubscription(v *EventSubscription) *CreateEventSubscriptionOutput

SetEventSubscription sets the EventSubscription field's value.

func (CreateEventSubscriptionOutput) String Uses

func (s CreateEventSubscriptionOutput) String() string

String returns the string representation

type CreateReplicationInstanceInput Uses

type CreateReplicationInstanceInput struct {

    // The amount of storage (in gigabytes) to be initially allocated for the replication
    // instance.
    AllocatedStorage *int64 `type:"integer"`

    // Indicates whether minor engine upgrades will be applied automatically to
    // the replication instance during the maintenance window. This parameter defaults
    // to true.
    //
    // Default: true
    AutoMinorVersionUpgrade *bool `type:"boolean"`

    // The AWS Availability Zone where the replication instance will be created.
    // The default value is a random, system-chosen Availability Zone in the endpoint's
    // AWS Region, for example: us-east-1d
    AvailabilityZone *string `type:"string"`

    // A list of DNS name servers supported for the replication instance.
    DnsNameServers *string `type:"string"`

    // The engine version number of the replication instance.
    EngineVersion *string `type:"string"`

    // An AWS KMS key identifier that is used to encrypt the data on the replication
    // instance.
    //
    // If you don't specify a value for the KmsKeyId parameter, then AWS DMS uses
    // 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.
    KmsKeyId *string `type:"string"`

    // Specifies whether the replication instance is a Multi-AZ deployment. You
    // cannot set the AvailabilityZone parameter if the Multi-AZ parameter is set
    // to true.
    MultiAZ *bool `type:"boolean"`

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

    // Specifies the accessibility options for the replication instance. A value
    // of true represents an instance with a public IP address. A value of false
    // represents an instance with a private IP address. The default value is true.
    PubliclyAccessible *bool `type:"boolean"`

    // The compute and memory capacity of the replication instance as specified
    // by the replication instance class.
    //
    // Valid Values: dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large
    // | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge
    //
    // ReplicationInstanceClass is a required field
    ReplicationInstanceClass *string `type:"string" required:"true"`

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

    // A subnet group to associate with the replication instance.
    ReplicationSubnetGroupIdentifier *string `type:"string"`

    // One or more tags to be assigned to the replication instance.
    Tags []*Tag `type:"list"`

    // 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.
    VpcSecurityGroupIds []*string `type:"list"`
    // contains filtered or unexported fields
}

func (CreateReplicationInstanceInput) GoString Uses

func (s CreateReplicationInstanceInput) GoString() string

GoString returns the string representation

func (*CreateReplicationInstanceInput) SetAllocatedStorage Uses

func (s *CreateReplicationInstanceInput) SetAllocatedStorage(v int64) *CreateReplicationInstanceInput

SetAllocatedStorage sets the AllocatedStorage field's value.

func (*CreateReplicationInstanceInput) SetAutoMinorVersionUpgrade Uses

func (s *CreateReplicationInstanceInput) SetAutoMinorVersionUpgrade(v bool) *CreateReplicationInstanceInput

SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.

func (*CreateReplicationInstanceInput) SetAvailabilityZone Uses

func (s *CreateReplicationInstanceInput) SetAvailabilityZone(v string) *CreateReplicationInstanceInput

SetAvailabilityZone sets the AvailabilityZone field's value.

func (*CreateReplicationInstanceInput) SetDnsNameServers Uses

func (s *CreateReplicationInstanceInput) SetDnsNameServers(v string) *CreateReplicationInstanceInput

SetDnsNameServers sets the DnsNameServers field's value.

func (*CreateReplicationInstanceInput) SetEngineVersion Uses

func (s *CreateReplicationInstanceInput) SetEngineVersion(v string) *CreateReplicationInstanceInput

SetEngineVersion sets the EngineVersion field's value.

func (*CreateReplicationInstanceInput) SetKmsKeyId Uses

func (s *CreateReplicationInstanceInput) SetKmsKeyId(v string) *CreateReplicationInstanceInput

SetKmsKeyId sets the KmsKeyId field's value.

func (*CreateReplicationInstanceInput) SetMultiAZ Uses

func (s *CreateReplicationInstanceInput) SetMultiAZ(v bool) *CreateReplicationInstanceInput

SetMultiAZ sets the MultiAZ field's value.

func (*CreateReplicationInstanceInput) SetPreferredMaintenanceWindow Uses

func (s *CreateReplicationInstanceInput) SetPreferredMaintenanceWindow(v string) *CreateReplicationInstanceInput

SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.

func (*CreateReplicationInstanceInput) SetPubliclyAccessible Uses

func (s *CreateReplicationInstanceInput) SetPubliclyAccessible(v bool) *CreateReplicationInstanceInput

SetPubliclyAccessible sets the PubliclyAccessible field's value.

func (*CreateReplicationInstanceInput) SetReplicationInstanceClass Uses

func (s *CreateReplicationInstanceInput) SetReplicationInstanceClass(v string) *CreateReplicationInstanceInput

SetReplicationInstanceClass sets the ReplicationInstanceClass field's value.

func (*CreateReplicationInstanceInput) SetReplicationInstanceIdentifier Uses

func (s *CreateReplicationInstanceInput) SetReplicationInstanceIdentifier(v string) *CreateReplicationInstanceInput

SetReplicationInstanceIdentifier sets the ReplicationInstanceIdentifier field's value.

func (*CreateReplicationInstanceInput) SetReplicationSubnetGroupIdentifier Uses

func (s *CreateReplicationInstanceInput) SetReplicationSubnetGroupIdentifier(v string) *CreateReplicationInstanceInput

SetReplicationSubnetGroupIdentifier sets the ReplicationSubnetGroupIdentifier field's value.

func (*CreateReplicationInstanceInput) SetTags Uses

func (s *CreateReplicationInstanceInput) SetTags(v []*Tag) *CreateReplicationInstanceInput

SetTags sets the Tags field's value.

func (*CreateReplicationInstanceInput) SetVpcSecurityGroupIds Uses

func (s *CreateReplicationInstanceInput) SetVpcSecurityGroupIds(v []*string) *CreateReplicationInstanceInput

SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.

func (CreateReplicationInstanceInput) String Uses

func (s CreateReplicationInstanceInput) String() string

String returns the string representation

func (*CreateReplicationInstanceInput) Validate Uses

func (s *CreateReplicationInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateReplicationInstanceOutput Uses

type CreateReplicationInstanceOutput struct {

    // The replication instance that was created.
    ReplicationInstance *ReplicationInstance `type:"structure"`
    // contains filtered or unexported fields
}

func (CreateReplicationInstanceOutput) GoString Uses

func (s CreateReplicationInstanceOutput) GoString() string

GoString returns the string representation

func (*CreateReplicationInstanceOutput) SetReplicationInstance Uses

func (s *CreateReplicationInstanceOutput) SetReplicationInstance(v *ReplicationInstance) *CreateReplicationInstanceOutput

SetReplicationInstance sets the ReplicationInstance field's value.

func (CreateReplicationInstanceOutput) String Uses

func (s CreateReplicationInstanceOutput) String() string

String returns the string representation

type CreateReplicationSubnetGroupInput Uses

type CreateReplicationSubnetGroupInput struct {

    // The description for the subnet group.
    //
    // ReplicationSubnetGroupDescription is a required field
    ReplicationSubnetGroupDescription *string `type:"string" required:"true"`

    // 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: mySubnetgroup
    //
    // ReplicationSubnetGroupIdentifier is a required field
    ReplicationSubnetGroupIdentifier *string `type:"string" required:"true"`

    // One or more subnet IDs to be assigned to the subnet group.
    //
    // SubnetIds is a required field
    SubnetIds []*string `type:"list" required:"true"`

    // One or more tags to be assigned to the subnet group.
    Tags []*Tag `type:"list"`
    // contains filtered or unexported fields
}

func (CreateReplicationSubnetGroupInput) GoString Uses

func (s CreateReplicationSubnetGroupInput) GoString() string

GoString returns the string representation

func (*CreateReplicationSubnetGroupInput) SetReplicationSubnetGroupDescription Uses

func (s *CreateReplicationSubnetGroupInput) SetReplicationSubnetGroupDescription(v string) *CreateReplicationSubnetGroupInput

SetReplicationSubnetGroupDescription sets the ReplicationSubnetGroupDescription field's value.

func (*CreateReplicationSubnetGroupInput) SetReplicationSubnetGroupIdentifier Uses

func (s *CreateReplicationSubnetGroupInput) SetReplicationSubnetGroupIdentifier(v string) *CreateReplicationSubnetGroupInput

SetReplicationSubnetGroupIdentifier sets the ReplicationSubnetGroupIdentifier field's value.

func (*CreateReplicationSubnetGroupInput) SetSubnetIds Uses

func (s *CreateReplicationSubnetGroupInput) SetSubnetIds(v []*string) *CreateReplicationSubnetGroupInput

SetSubnetIds sets the SubnetIds field's value.

func (*CreateReplicationSubnetGroupInput) SetTags Uses

func (s *CreateReplicationSubnetGroupInput) SetTags(v []*Tag) *CreateReplicationSubnetGroupInput

SetTags sets the Tags field's value.

func (CreateReplicationSubnetGroupInput) String Uses

func (s CreateReplicationSubnetGroupInput) String() string

String returns the string representation

func (*CreateReplicationSubnetGroupInput) Validate Uses

func (s *CreateReplicationSubnetGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateReplicationSubnetGroupOutput Uses

type CreateReplicationSubnetGroupOutput struct {

    // The replication subnet group that was created.
    ReplicationSubnetGroup *ReplicationSubnetGroup `type:"structure"`
    // contains filtered or unexported fields
}

func (CreateReplicationSubnetGroupOutput) GoString Uses

func (s CreateReplicationSubnetGroupOutput) GoString() string

GoString returns the string representation

func (*CreateReplicationSubnetGroupOutput) SetReplicationSubnetGroup Uses

func (s *CreateReplicationSubnetGroupOutput) SetReplicationSubnetGroup(v *ReplicationSubnetGroup) *CreateReplicationSubnetGroupOutput

SetReplicationSubnetGroup sets the ReplicationSubnetGroup field's value.

func (CreateReplicationSubnetGroupOutput) String Uses

func (s CreateReplicationSubnetGroupOutput) String() string

String returns the string representation

type CreateReplicationTaskInput Uses

type CreateReplicationTaskInput struct {

    // 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:V1#27#mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:1876#0#0#*#0#93"
    //
    // LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”
    CdcStartPosition *string `type:"string"`

    // 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.
    //
    // Timestamp Example: --cdc-start-time “2018-03-08T12:12:12”
    CdcStartTime *time.Time `type:"timestamp"`

    // 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
    // “
    CdcStopPosition *string `type:"string"`

    // The migration type. Valid values: full-load | cdc | full-load-and-cdc
    //
    // MigrationType is a required field
    MigrationType *string `type:"string" required:"true" enum:"MigrationTypeValue"`

    // The Amazon Resource Name (ARN) of a replication instance.
    //
    // ReplicationInstanceArn is a required field
    ReplicationInstanceArn *string `type:"string" required:"true"`

    // An identifier for the replication task.
    //
    // 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.
    //
    // ReplicationTaskIdentifier is a required field
    ReplicationTaskIdentifier *string `type:"string" required:"true"`

    // Overall settings for the task, in JSON format. For more information, see
    // Task Settings (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.html)
    // in the AWS Database Migration User Guide.
    ReplicationTaskSettings *string `type:"string"`

    // An Amazon Resource Name (ARN) that uniquely identifies the source endpoint.
    //
    // SourceEndpointArn is a required field
    SourceEndpointArn *string `type:"string" required:"true"`

    // The table mappings for the task, in JSON format. For more information, see
    // Table Mapping (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TableMapping.html)
    // in the AWS Database Migration User Guide.
    //
    // TableMappings is a required field
    TableMappings *string `type:"string" required:"true"`

    // One or more tags to be assigned to the replication task.
    Tags []*Tag `type:"list"`

    // An Amazon Resource Name (ARN) that uniquely identifies the target endpoint.
    //
    // TargetEndpointArn is a required field
    TargetEndpointArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateReplicationTaskInput) GoString Uses

func (s CreateReplicationTaskInput) GoString() string

GoString returns the string representation

func (*CreateReplicationTaskInput) SetCdcStartPosition Uses

func (s *CreateReplicationTaskInput) SetCdcStartPosition(v string) *CreateReplicationTaskInput

SetCdcStartPosition sets the CdcStartPosition field's value.

func (*CreateReplicationTaskInput) SetCdcStartTime Uses

func (s *CreateReplicationTaskInput) SetCdcStartTime(v time.Time) *CreateReplicationTaskInput

SetCdcStartTime sets the CdcStartTime field's value.

func (*CreateReplicationTaskInput) SetCdcStopPosition Uses

func (s *CreateReplicationTaskInput) SetCdcStopPosition(v string) *CreateReplicationTaskInput

SetCdcStopPosition sets the CdcStopPosition field's value.

func (*CreateReplicationTaskInput) SetMigrationType Uses

func (s *CreateReplicationTaskInput) SetMigrationType(v string) *CreateReplicationTaskInput

SetMigrationType sets the MigrationType field's value.

func (*CreateReplicationTaskInput) SetReplicationInstanceArn Uses

func (s *CreateReplicationTaskInput) SetReplicationInstanceArn(v string) *CreateReplicationTaskInput

SetReplicationInstanceArn sets the ReplicationInstanceArn field's value.

func (*CreateReplicationTaskInput) SetReplicationTaskIdentifier Uses

func (s *CreateReplicationTaskInput) SetReplicationTaskIdentifier(v string) *CreateReplicationTaskInput

SetReplicationTaskIdentifier sets the ReplicationTaskIdentifier field's value.

func (*CreateReplicationTaskInput) SetReplicationTaskSettings Uses

func (s *CreateReplicationTaskInput) SetReplicationTaskSettings(v string) *CreateReplicationTaskInput

SetReplicationTaskSettings sets the ReplicationTaskSettings field's value.

func (*CreateReplicationTaskInput) SetSourceEndpointArn Uses

func (s *CreateReplicationTaskInput) SetSourceEndpointArn(v string) *CreateReplicationTaskInput

SetSourceEndpointArn sets the SourceEndpointArn field's value.

func (*CreateReplicationTaskInput) SetTableMappings Uses

func (s *CreateReplicationTaskInput) SetTableMappings(v string) *CreateReplicationTaskInput

SetTableMappings sets the TableMappings field's value.

func (*CreateReplicationTaskInput) SetTags Uses

func (s *CreateReplicationTaskInput) SetTags(v []*Tag) *CreateReplicationTaskInput

SetTags sets the Tags field's value.

func (*CreateReplicationTaskInput) SetTargetEndpointArn Uses

func (s *CreateReplicationTaskInput) SetTargetEndpointArn(v string) *CreateReplicationTaskInput

SetTargetEndpointArn sets the TargetEndpointArn field's value.

func (CreateReplicationTaskInput) String Uses

func (s CreateReplicationTaskInput) String() string

String returns the string representation

func (*CreateReplicationTaskInput) Validate Uses

func (s *CreateReplicationTaskInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateReplicationTaskOutput Uses

type CreateReplicationTaskOutput struct {

    // The replication task that was created.
    ReplicationTask *ReplicationTask `type:"structure"`
    // contains filtered or unexported fields
}

func (CreateReplicationTaskOutput) GoString Uses

func (s CreateReplicationTaskOutput) GoString() string

GoString returns the string representation

func (*CreateReplicationTaskOutput) SetReplicationTask Uses

func (s *CreateReplicationTaskOutput) SetReplicationTask(v *ReplicationTask) *CreateReplicationTaskOutput

SetReplicationTask sets the ReplicationTask field's value.

func (CreateReplicationTaskOutput) String Uses

func (s CreateReplicationTaskOutput) String() string

String returns the string representation

type DatabaseMigrationService Uses

type DatabaseMigrationService struct {
    *client.Client
}

DatabaseMigrationService provides the API operation methods for making requests to AWS Database Migration Service. See this package's package overview docs for details on the service.

DatabaseMigrationService methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New Uses

func New(p client.ConfigProvider, cfgs ...*aws.Config) *DatabaseMigrationService

New creates a new instance of the DatabaseMigrationService client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a DatabaseMigrationService client from just a session.
svc := databasemigrationservice.New(mySession)

// Create a DatabaseMigrationService client with additional configuration
svc := databasemigrationservice.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*DatabaseMigrationService) AddTagsToResource Uses

func (c *DatabaseMigrationService) AddTagsToResource(input *AddTagsToResourceInput) (*AddTagsToResourceOutput, error)

AddTagsToResource API operation for AWS Database Migration Service.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation AddTagsToResource for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AddTagsToResource

Add tags to resource

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 AWS DMS resources, or used in a Condition statement in an IAM policy for AWS DMS.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.AddTagsToResourceInput{
    ResourceArn: aws.String("arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E"),
    Tags: []*databasemigrationservice.Tag{
        {
            Key:   aws.String("Acount"),
            Value: aws.String("1633456"),
        },
    },
}

result, err := svc.AddTagsToResource(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) AddTagsToResourceRequest Uses

func (c *DatabaseMigrationService) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *AddTagsToResourceOutput)

AddTagsToResourceRequest generates a "aws/request.Request" representing the client's request for the AddTagsToResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AddTagsToResource for more information on using the AddTagsToResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AddTagsToResourceRequest method.
req, resp := client.AddTagsToResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AddTagsToResource

func (*DatabaseMigrationService) AddTagsToResourceWithContext Uses

func (c *DatabaseMigrationService) AddTagsToResourceWithContext(ctx aws.Context, input *AddTagsToResourceInput, opts ...request.Option) (*AddTagsToResourceOutput, error)

AddTagsToResourceWithContext is the same as AddTagsToResource with the addition of the ability to pass a context and additional request options.

See AddTagsToResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) ApplyPendingMaintenanceAction Uses

func (c *DatabaseMigrationService) ApplyPendingMaintenanceAction(input *ApplyPendingMaintenanceActionInput) (*ApplyPendingMaintenanceActionOutput, error)

ApplyPendingMaintenanceAction API operation for AWS Database Migration Service.

Applies a pending maintenance action to a resource (for example, to a replication instance).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation ApplyPendingMaintenanceAction for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ApplyPendingMaintenanceAction

func (*DatabaseMigrationService) ApplyPendingMaintenanceActionRequest Uses

func (c *DatabaseMigrationService) ApplyPendingMaintenanceActionRequest(input *ApplyPendingMaintenanceActionInput) (req *request.Request, output *ApplyPendingMaintenanceActionOutput)

ApplyPendingMaintenanceActionRequest generates a "aws/request.Request" representing the client's request for the ApplyPendingMaintenanceAction operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ApplyPendingMaintenanceAction for more information on using the ApplyPendingMaintenanceAction API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ApplyPendingMaintenanceActionRequest method.
req, resp := client.ApplyPendingMaintenanceActionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ApplyPendingMaintenanceAction

func (*DatabaseMigrationService) ApplyPendingMaintenanceActionWithContext Uses

func (c *DatabaseMigrationService) ApplyPendingMaintenanceActionWithContext(ctx aws.Context, input *ApplyPendingMaintenanceActionInput, opts ...request.Option) (*ApplyPendingMaintenanceActionOutput, error)

ApplyPendingMaintenanceActionWithContext is the same as ApplyPendingMaintenanceAction with the addition of the ability to pass a context and additional request options.

See ApplyPendingMaintenanceAction for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) CreateEndpoint Uses

func (c *DatabaseMigrationService) CreateEndpoint(input *CreateEndpointInput) (*CreateEndpointOutput, error)

CreateEndpoint API operation for AWS Database Migration Service.

Creates an endpoint using the provided settings.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation CreateEndpoint for usage and error information.

Returned Error Codes:

* ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault"
AWS DMS cannot access the AWS KMS key.

* ErrCodeResourceAlreadyExistsFault "ResourceAlreadyExistsFault"
The resource you are attempting to create already exists.

* ErrCodeResourceQuotaExceededFault "ResourceQuotaExceededFault"
The quota for this resource quota has been exceeded.

* ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
The resource is in a state that prevents it from being used for database
migration.

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

* ErrCodeAccessDeniedFault "AccessDeniedFault"
AWS DMS was denied access to the endpoint. Check that the role is correctly
configured.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpoint

Create endpoint

Creates an endpoint using the provided settings.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.CreateEndpointInput{
    CertificateArn:            aws.String(""),
    DatabaseName:              aws.String("testdb"),
    EndpointIdentifier:        aws.String("test-endpoint-1"),
    EndpointType:              aws.String("source"),
    EngineName:                aws.String("mysql"),
    ExtraConnectionAttributes: aws.String(""),
    KmsKeyId:                  aws.String("arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd"),
    Password:                  aws.String("pasword"),
    Port:                      aws.Int64(3306),
    ServerName:                aws.String("mydb.cx1llnox7iyx.us-west-2.rds.amazonaws.com"),
    SslMode:                   aws.String("require"),
    Tags: []*databasemigrationservice.Tag{
        {
            Key:   aws.String("Acount"),
            Value: aws.String("143327655"),
        },
    },
    Username: aws.String("username"),
}

result, err := svc.CreateEndpoint(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeKMSKeyNotAccessibleFault:
            fmt.Println(databasemigrationservice.ErrCodeKMSKeyNotAccessibleFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceAlreadyExistsFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceAlreadyExistsFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceQuotaExceededFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceQuotaExceededFault, aerr.Error())
        case databasemigrationservice.ErrCodeInvalidResourceStateFault:
            fmt.Println(databasemigrationservice.ErrCodeInvalidResourceStateFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        case databasemigrationservice.ErrCodeAccessDeniedFault:
            fmt.Println(databasemigrationservice.ErrCodeAccessDeniedFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) CreateEndpointRequest Uses

func (c *DatabaseMigrationService) CreateEndpointRequest(input *CreateEndpointInput) (req *request.Request, output *CreateEndpointOutput)

CreateEndpointRequest generates a "aws/request.Request" representing the client's request for the CreateEndpoint operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateEndpoint for more information on using the CreateEndpoint API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateEndpointRequest method.
req, resp := client.CreateEndpointRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpoint

func (*DatabaseMigrationService) CreateEndpointWithContext Uses

func (c *DatabaseMigrationService) CreateEndpointWithContext(ctx aws.Context, input *CreateEndpointInput, opts ...request.Option) (*CreateEndpointOutput, error)

CreateEndpointWithContext is the same as CreateEndpoint with the addition of the ability to pass a context and additional request options.

See CreateEndpoint for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) CreateEventSubscription Uses

func (c *DatabaseMigrationService) CreateEventSubscription(input *CreateEventSubscriptionInput) (*CreateEventSubscriptionOutput, error)

CreateEventSubscription API operation for AWS Database Migration Service.

Creates an AWS DMS event notification subscription.

You can specify the type of source (SourceType) you want to be notified of, provide a list of AWS DMS source IDs (SourceIds) that triggers the events, and provide a list of event categories (EventCategories) for events you want to be notified of. If you specify both the SourceType and SourceIds, such as SourceType = replication-instance and SourceIdentifier = my-replinstance, you will be notified of all the replication instance events for the specified source. If you specify a SourceType but don't specify a SourceIdentifier, you receive notice of the events for that source type for all your AWS DMS sources. If you don't specify either SourceType nor SourceIdentifier, 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 Working with Events and Notifications (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html) in the AWS Database Migration Service User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation CreateEventSubscription for usage and error information.

Returned Error Codes:

* ErrCodeResourceQuotaExceededFault "ResourceQuotaExceededFault"
The quota for this resource quota has been exceeded.

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

* ErrCodeResourceAlreadyExistsFault "ResourceAlreadyExistsFault"
The resource you are attempting to create already exists.

* ErrCodeSNSInvalidTopicFault "SNSInvalidTopicFault"
The SNS topic is invalid.

* ErrCodeSNSNoAuthorizationFault "SNSNoAuthorizationFault"
You are not authorized for the SNS subscription.

* ErrCodeKMSAccessDeniedFault "KMSAccessDeniedFault"
The ciphertext references a key that doesn't exist or that the DMS account
doesn't have access to.

* ErrCodeKMSDisabledFault "KMSDisabledFault"
The specified master key (CMK) isn't enabled.

* ErrCodeKMSInvalidStateFault "KMSInvalidStateFault"
The state of the specified AWS KMS resource isn't valid for this request.

* ErrCodeKMSNotFoundFault "KMSNotFoundFault"
The specified AWS KMS entity or resource can't be found.

* ErrCodeKMSThrottlingFault "KMSThrottlingFault"
This request triggered AWS KMS request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEventSubscription

func (*DatabaseMigrationService) CreateEventSubscriptionRequest Uses

func (c *DatabaseMigrationService) CreateEventSubscriptionRequest(input *CreateEventSubscriptionInput) (req *request.Request, output *CreateEventSubscriptionOutput)

CreateEventSubscriptionRequest generates a "aws/request.Request" representing the client's request for the CreateEventSubscription operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateEventSubscription for more information on using the CreateEventSubscription API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateEventSubscriptionRequest method.
req, resp := client.CreateEventSubscriptionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEventSubscription

func (*DatabaseMigrationService) CreateEventSubscriptionWithContext Uses

func (c *DatabaseMigrationService) CreateEventSubscriptionWithContext(ctx aws.Context, input *CreateEventSubscriptionInput, opts ...request.Option) (*CreateEventSubscriptionOutput, error)

CreateEventSubscriptionWithContext is the same as CreateEventSubscription with the addition of the ability to pass a context and additional request options.

See CreateEventSubscription for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) CreateReplicationInstance Uses

func (c *DatabaseMigrationService) CreateReplicationInstance(input *CreateReplicationInstanceInput) (*CreateReplicationInstanceOutput, error)

CreateReplicationInstance API operation for AWS Database Migration Service.

Creates the replication instance using the specified parameters.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation CreateReplicationInstance for usage and error information.

Returned Error Codes:

* ErrCodeAccessDeniedFault "AccessDeniedFault"
AWS DMS was denied access to the endpoint. Check that the role is correctly
configured.

* ErrCodeResourceAlreadyExistsFault "ResourceAlreadyExistsFault"
The resource you are attempting to create already exists.

* ErrCodeInsufficientResourceCapacityFault "InsufficientResourceCapacityFault"
There are not enough resources allocated to the database migration.

* ErrCodeResourceQuotaExceededFault "ResourceQuotaExceededFault"
The quota for this resource quota has been exceeded.

* ErrCodeStorageQuotaExceededFault "StorageQuotaExceededFault"
The storage quota has been exceeded.

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

* ErrCodeReplicationSubnetGroupDoesNotCoverEnoughAZs "ReplicationSubnetGroupDoesNotCoverEnoughAZs"
The replication subnet group does not cover enough Availability Zones (AZs).
Edit the replication subnet group and add more AZs.

* ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
The resource is in a state that prevents it from being used for database
migration.

* ErrCodeInvalidSubnet "InvalidSubnet"
The subnet provided is invalid.

* ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault"
AWS DMS cannot access the AWS KMS key.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationInstance

Create replication instance

Creates the replication instance using the specified parameters.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.CreateReplicationInstanceInput{
    AllocatedStorage:                 aws.Int64(123),
    AutoMinorVersionUpgrade:          aws.Bool(true),
    AvailabilityZone:                 aws.String(""),
    EngineVersion:                    aws.String(""),
    KmsKeyId:                         aws.String(""),
    MultiAZ:                          aws.Bool(true),
    PreferredMaintenanceWindow:       aws.String(""),
    PubliclyAccessible:               aws.Bool(true),
    ReplicationInstanceClass:         aws.String(""),
    ReplicationInstanceIdentifier:    aws.String(""),
    ReplicationSubnetGroupIdentifier: aws.String(""),
    Tags: []*databasemigrationservice.Tag{
        {
            Key:   aws.String("string"),
            Value: aws.String("string"),
        },
    },
}

result, err := svc.CreateReplicationInstance(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeAccessDeniedFault:
            fmt.Println(databasemigrationservice.ErrCodeAccessDeniedFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceAlreadyExistsFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceAlreadyExistsFault, aerr.Error())
        case databasemigrationservice.ErrCodeInsufficientResourceCapacityFault:
            fmt.Println(databasemigrationservice.ErrCodeInsufficientResourceCapacityFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceQuotaExceededFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceQuotaExceededFault, aerr.Error())
        case databasemigrationservice.ErrCodeStorageQuotaExceededFault:
            fmt.Println(databasemigrationservice.ErrCodeStorageQuotaExceededFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        case databasemigrationservice.ErrCodeReplicationSubnetGroupDoesNotCoverEnoughAZs:
            fmt.Println(databasemigrationservice.ErrCodeReplicationSubnetGroupDoesNotCoverEnoughAZs, aerr.Error())
        case databasemigrationservice.ErrCodeInvalidResourceStateFault:
            fmt.Println(databasemigrationservice.ErrCodeInvalidResourceStateFault, aerr.Error())
        case databasemigrationservice.ErrCodeInvalidSubnet:
            fmt.Println(databasemigrationservice.ErrCodeInvalidSubnet, aerr.Error())
        case databasemigrationservice.ErrCodeKMSKeyNotAccessibleFault:
            fmt.Println(databasemigrationservice.ErrCodeKMSKeyNotAccessibleFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) CreateReplicationInstanceRequest Uses

func (c *DatabaseMigrationService) CreateReplicationInstanceRequest(input *CreateReplicationInstanceInput) (req *request.Request, output *CreateReplicationInstanceOutput)

CreateReplicationInstanceRequest generates a "aws/request.Request" representing the client's request for the CreateReplicationInstance operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateReplicationInstance for more information on using the CreateReplicationInstance API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateReplicationInstanceRequest method.
req, resp := client.CreateReplicationInstanceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationInstance

func (*DatabaseMigrationService) CreateReplicationInstanceWithContext Uses

func (c *DatabaseMigrationService) CreateReplicationInstanceWithContext(ctx aws.Context, input *CreateReplicationInstanceInput, opts ...request.Option) (*CreateReplicationInstanceOutput, error)

CreateReplicationInstanceWithContext is the same as CreateReplicationInstance with the addition of the ability to pass a context and additional request options.

See CreateReplicationInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) CreateReplicationSubnetGroup Uses

func (c *DatabaseMigrationService) CreateReplicationSubnetGroup(input *CreateReplicationSubnetGroupInput) (*CreateReplicationSubnetGroupOutput, error)

CreateReplicationSubnetGroup API operation for AWS Database Migration Service.

Creates a replication subnet group given a list of the subnet IDs in a VPC.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation CreateReplicationSubnetGroup for usage and error information.

Returned Error Codes:

* ErrCodeAccessDeniedFault "AccessDeniedFault"
AWS DMS was denied access to the endpoint. Check that the role is correctly
configured.

* ErrCodeResourceAlreadyExistsFault "ResourceAlreadyExistsFault"
The resource you are attempting to create already exists.

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

* ErrCodeResourceQuotaExceededFault "ResourceQuotaExceededFault"
The quota for this resource quota has been exceeded.

* ErrCodeReplicationSubnetGroupDoesNotCoverEnoughAZs "ReplicationSubnetGroupDoesNotCoverEnoughAZs"
The replication subnet group does not cover enough Availability Zones (AZs).
Edit the replication subnet group and add more AZs.

* ErrCodeInvalidSubnet "InvalidSubnet"
The subnet provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationSubnetGroup

Create replication subnet group

Creates a replication subnet group given a list of the subnet IDs in a VPC.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.CreateReplicationSubnetGroupInput{
    ReplicationSubnetGroupDescription: aws.String("US West subnet group"),
    ReplicationSubnetGroupIdentifier:  aws.String("us-west-2ab-vpc-215ds366"),
    SubnetIds: []*string{
        aws.String("subnet-e145356n"),
        aws.String("subnet-58f79200"),
    },
    Tags: []*databasemigrationservice.Tag{
        {
            Key:   aws.String("Acount"),
            Value: aws.String("145235"),
        },
    },
}

result, err := svc.CreateReplicationSubnetGroup(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeAccessDeniedFault:
            fmt.Println(databasemigrationservice.ErrCodeAccessDeniedFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceAlreadyExistsFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceAlreadyExistsFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceQuotaExceededFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceQuotaExceededFault, aerr.Error())
        case databasemigrationservice.ErrCodeReplicationSubnetGroupDoesNotCoverEnoughAZs:
            fmt.Println(databasemigrationservice.ErrCodeReplicationSubnetGroupDoesNotCoverEnoughAZs, aerr.Error())
        case databasemigrationservice.ErrCodeInvalidSubnet:
            fmt.Println(databasemigrationservice.ErrCodeInvalidSubnet, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) CreateReplicationSubnetGroupRequest Uses

func (c *DatabaseMigrationService) CreateReplicationSubnetGroupRequest(input *CreateReplicationSubnetGroupInput) (req *request.Request, output *CreateReplicationSubnetGroupOutput)

CreateReplicationSubnetGroupRequest generates a "aws/request.Request" representing the client's request for the CreateReplicationSubnetGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateReplicationSubnetGroup for more information on using the CreateReplicationSubnetGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateReplicationSubnetGroupRequest method.
req, resp := client.CreateReplicationSubnetGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationSubnetGroup

func (*DatabaseMigrationService) CreateReplicationSubnetGroupWithContext Uses

func (c *DatabaseMigrationService) CreateReplicationSubnetGroupWithContext(ctx aws.Context, input *CreateReplicationSubnetGroupInput, opts ...request.Option) (*CreateReplicationSubnetGroupOutput, error)

CreateReplicationSubnetGroupWithContext is the same as CreateReplicationSubnetGroup with the addition of the ability to pass a context and additional request options.

See CreateReplicationSubnetGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) CreateReplicationTask Uses

func (c *DatabaseMigrationService) CreateReplicationTask(input *CreateReplicationTaskInput) (*CreateReplicationTaskOutput, error)

CreateReplicationTask API operation for AWS Database Migration Service.

Creates a replication task using the specified parameters.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation CreateReplicationTask for usage and error information.

Returned Error Codes:

* ErrCodeAccessDeniedFault "AccessDeniedFault"
AWS DMS was denied access to the endpoint. Check that the role is correctly
configured.

* ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
The resource is in a state that prevents it from being used for database
migration.

* ErrCodeResourceAlreadyExistsFault "ResourceAlreadyExistsFault"
The resource you are attempting to create already exists.

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

* ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault"
AWS DMS cannot access the AWS KMS key.

* ErrCodeResourceQuotaExceededFault "ResourceQuotaExceededFault"
The quota for this resource quota has been exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationTask

Create replication task

Creates a replication task using the specified parameters.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.CreateReplicationTaskInput{
    CdcStartTime:              parseTime("2006-01-02T15:04:05.999999999Z", "2016-12-14T18:25:43Z"),
    MigrationType:             aws.String("full-load"),
    ReplicationInstanceArn:    aws.String("arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ"),
    ReplicationTaskIdentifier: aws.String("task1"),
    ReplicationTaskSettings:   aws.String(""),
    SourceEndpointArn:         aws.String("arn:aws:dms:us-east-1:123456789012:endpoint:ZW5UAN6P4E77EC7YWHK4RZZ3BE"),
    TableMappings:             aws.String("file://mappingfile.json"),
    Tags: []*databasemigrationservice.Tag{
        {
            Key:   aws.String("Acount"),
            Value: aws.String("24352226"),
        },
    },
    TargetEndpointArn: aws.String("arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E"),
}

result, err := svc.CreateReplicationTask(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeAccessDeniedFault:
            fmt.Println(databasemigrationservice.ErrCodeAccessDeniedFault, aerr.Error())
        case databasemigrationservice.ErrCodeInvalidResourceStateFault:
            fmt.Println(databasemigrationservice.ErrCodeInvalidResourceStateFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceAlreadyExistsFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceAlreadyExistsFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        case databasemigrationservice.ErrCodeKMSKeyNotAccessibleFault:
            fmt.Println(databasemigrationservice.ErrCodeKMSKeyNotAccessibleFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceQuotaExceededFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceQuotaExceededFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) CreateReplicationTaskRequest Uses

func (c *DatabaseMigrationService) CreateReplicationTaskRequest(input *CreateReplicationTaskInput) (req *request.Request, output *CreateReplicationTaskOutput)

CreateReplicationTaskRequest generates a "aws/request.Request" representing the client's request for the CreateReplicationTask operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateReplicationTask for more information on using the CreateReplicationTask API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateReplicationTaskRequest method.
req, resp := client.CreateReplicationTaskRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationTask

func (*DatabaseMigrationService) CreateReplicationTaskWithContext Uses

func (c *DatabaseMigrationService) CreateReplicationTaskWithContext(ctx aws.Context, input *CreateReplicationTaskInput, opts ...request.Option) (*CreateReplicationTaskOutput, error)

CreateReplicationTaskWithContext is the same as CreateReplicationTask with the addition of the ability to pass a context and additional request options.

See CreateReplicationTask for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DeleteCertificate Uses

func (c *DatabaseMigrationService) DeleteCertificate(input *DeleteCertificateInput) (*DeleteCertificateOutput, error)

DeleteCertificate API operation for AWS Database Migration Service.

Deletes the specified certificate.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation DeleteCertificate for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

* ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
The resource is in a state that prevents it from being used for database
migration.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteCertificate

Delete Certificate

Deletes the specified certificate.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.DeleteCertificateInput{
    CertificateArn: aws.String("arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUSM457DE6XFJCJQ"),
}

result, err := svc.DeleteCertificate(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        case databasemigrationservice.ErrCodeInvalidResourceStateFault:
            fmt.Println(databasemigrationservice.ErrCodeInvalidResourceStateFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) DeleteCertificateRequest Uses

func (c *DatabaseMigrationService) DeleteCertificateRequest(input *DeleteCertificateInput) (req *request.Request, output *DeleteCertificateOutput)

DeleteCertificateRequest generates a "aws/request.Request" representing the client's request for the DeleteCertificate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteCertificate for more information on using the DeleteCertificate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteCertificateRequest method.
req, resp := client.DeleteCertificateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteCertificate

func (*DatabaseMigrationService) DeleteCertificateWithContext Uses

func (c *DatabaseMigrationService) DeleteCertificateWithContext(ctx aws.Context, input *DeleteCertificateInput, opts ...request.Option) (*DeleteCertificateOutput, error)

DeleteCertificateWithContext is the same as DeleteCertificate with the addition of the ability to pass a context and additional request options.

See DeleteCertificate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DeleteEndpoint Uses

func (c *DatabaseMigrationService) DeleteEndpoint(input *DeleteEndpointInput) (*DeleteEndpointOutput, error)

DeleteEndpoint API operation for AWS Database Migration Service.

Deletes the specified endpoint.

All tasks associated with the endpoint must be deleted before you can delete the endpoint.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation DeleteEndpoint for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

* ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
The resource is in a state that prevents it from being used for database
migration.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEndpoint

Delete Endpoint

Deletes the specified endpoint. All tasks associated with the endpoint must be deleted before you can delete the endpoint.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.DeleteEndpointInput{
    EndpointArn: aws.String("arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM"),
}

result, err := svc.DeleteEndpoint(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        case databasemigrationservice.ErrCodeInvalidResourceStateFault:
            fmt.Println(databasemigrationservice.ErrCodeInvalidResourceStateFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) DeleteEndpointRequest Uses

func (c *DatabaseMigrationService) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Request, output *DeleteEndpointOutput)

DeleteEndpointRequest generates a "aws/request.Request" representing the client's request for the DeleteEndpoint operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteEndpoint for more information on using the DeleteEndpoint API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteEndpointRequest method.
req, resp := client.DeleteEndpointRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEndpoint

func (*DatabaseMigrationService) DeleteEndpointWithContext Uses

func (c *DatabaseMigrationService) DeleteEndpointWithContext(ctx aws.Context, input *DeleteEndpointInput, opts ...request.Option) (*DeleteEndpointOutput, error)

DeleteEndpointWithContext is the same as DeleteEndpoint with the addition of the ability to pass a context and additional request options.

See DeleteEndpoint for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DeleteEventSubscription Uses

func (c *DatabaseMigrationService) DeleteEventSubscription(input *DeleteEventSubscriptionInput) (*DeleteEventSubscriptionOutput, error)

DeleteEventSubscription API operation for AWS Database Migration Service.

Deletes an AWS DMS event subscription.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation DeleteEventSubscription for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

* ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
The resource is in a state that prevents it from being used for database
migration.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEventSubscription

func (*DatabaseMigrationService) DeleteEventSubscriptionRequest Uses

func (c *DatabaseMigrationService) DeleteEventSubscriptionRequest(input *DeleteEventSubscriptionInput) (req *request.Request, output *DeleteEventSubscriptionOutput)

DeleteEventSubscriptionRequest generates a "aws/request.Request" representing the client's request for the DeleteEventSubscription operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteEventSubscription for more information on using the DeleteEventSubscription API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteEventSubscriptionRequest method.
req, resp := client.DeleteEventSubscriptionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEventSubscription

func (*DatabaseMigrationService) DeleteEventSubscriptionWithContext Uses

func (c *DatabaseMigrationService) DeleteEventSubscriptionWithContext(ctx aws.Context, input *DeleteEventSubscriptionInput, opts ...request.Option) (*DeleteEventSubscriptionOutput, error)

DeleteEventSubscriptionWithContext is the same as DeleteEventSubscription with the addition of the ability to pass a context and additional request options.

See DeleteEventSubscription for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DeleteReplicationInstance Uses

func (c *DatabaseMigrationService) DeleteReplicationInstance(input *DeleteReplicationInstanceInput) (*DeleteReplicationInstanceOutput, error)

DeleteReplicationInstance API operation for AWS Database Migration Service.

Deletes the specified replication instance.

You must delete any migration tasks that are associated with the replication instance before you can delete it.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation DeleteReplicationInstance for usage and error information.

Returned Error Codes:

* ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
The resource is in a state that prevents it from being used for database
migration.

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationInstance

Delete Replication Instance

Deletes the specified replication instance. You must delete any migration tasks that are associated with the replication instance before you can delete it.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.DeleteReplicationInstanceInput{
    ReplicationInstanceArn: aws.String("arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ"),
}

result, err := svc.DeleteReplicationInstance(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeInvalidResourceStateFault:
            fmt.Println(databasemigrationservice.ErrCodeInvalidResourceStateFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) DeleteReplicationInstanceRequest Uses

func (c *DatabaseMigrationService) DeleteReplicationInstanceRequest(input *DeleteReplicationInstanceInput) (req *request.Request, output *DeleteReplicationInstanceOutput)

DeleteReplicationInstanceRequest generates a "aws/request.Request" representing the client's request for the DeleteReplicationInstance operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteReplicationInstance for more information on using the DeleteReplicationInstance API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteReplicationInstanceRequest method.
req, resp := client.DeleteReplicationInstanceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationInstance

func (*DatabaseMigrationService) DeleteReplicationInstanceWithContext Uses

func (c *DatabaseMigrationService) DeleteReplicationInstanceWithContext(ctx aws.Context, input *DeleteReplicationInstanceInput, opts ...request.Option) (*DeleteReplicationInstanceOutput, error)

DeleteReplicationInstanceWithContext is the same as DeleteReplicationInstance with the addition of the ability to pass a context and additional request options.

See DeleteReplicationInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DeleteReplicationSubnetGroup Uses

func (c *DatabaseMigrationService) DeleteReplicationSubnetGroup(input *DeleteReplicationSubnetGroupInput) (*DeleteReplicationSubnetGroupOutput, error)

DeleteReplicationSubnetGroup API operation for AWS Database Migration Service.

Deletes a subnet group.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation DeleteReplicationSubnetGroup for usage and error information.

Returned Error Codes:

* ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
The resource is in a state that prevents it from being used for database
migration.

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationSubnetGroup

Delete Replication Subnet Group

Deletes a replication subnet group.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.DeleteReplicationSubnetGroupInput{
    ReplicationSubnetGroupIdentifier: aws.String("us-west-2ab-vpc-215ds366"),
}

result, err := svc.DeleteReplicationSubnetGroup(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeInvalidResourceStateFault:
            fmt.Println(databasemigrationservice.ErrCodeInvalidResourceStateFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) DeleteReplicationSubnetGroupRequest Uses

func (c *DatabaseMigrationService) DeleteReplicationSubnetGroupRequest(input *DeleteReplicationSubnetGroupInput) (req *request.Request, output *DeleteReplicationSubnetGroupOutput)

DeleteReplicationSubnetGroupRequest generates a "aws/request.Request" representing the client's request for the DeleteReplicationSubnetGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteReplicationSubnetGroup for more information on using the DeleteReplicationSubnetGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteReplicationSubnetGroupRequest method.
req, resp := client.DeleteReplicationSubnetGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationSubnetGroup

func (*DatabaseMigrationService) DeleteReplicationSubnetGroupWithContext Uses

func (c *DatabaseMigrationService) DeleteReplicationSubnetGroupWithContext(ctx aws.Context, input *DeleteReplicationSubnetGroupInput, opts ...request.Option) (*DeleteReplicationSubnetGroupOutput, error)

DeleteReplicationSubnetGroupWithContext is the same as DeleteReplicationSubnetGroup with the addition of the ability to pass a context and additional request options.

See DeleteReplicationSubnetGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DeleteReplicationTask Uses

func (c *DatabaseMigrationService) DeleteReplicationTask(input *DeleteReplicationTaskInput) (*DeleteReplicationTaskOutput, error)

DeleteReplicationTask API operation for AWS Database Migration Service.

Deletes the specified replication task.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation DeleteReplicationTask for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

* ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
The resource is in a state that prevents it from being used for database
migration.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationTask

Delete Replication Task

Deletes the specified replication task.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.DeleteReplicationTaskInput{
    ReplicationTaskArn: aws.String("arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ"),
}

result, err := svc.DeleteReplicationTask(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        case databasemigrationservice.ErrCodeInvalidResourceStateFault:
            fmt.Println(databasemigrationservice.ErrCodeInvalidResourceStateFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) DeleteReplicationTaskRequest Uses

func (c *DatabaseMigrationService) DeleteReplicationTaskRequest(input *DeleteReplicationTaskInput) (req *request.Request, output *DeleteReplicationTaskOutput)

DeleteReplicationTaskRequest generates a "aws/request.Request" representing the client's request for the DeleteReplicationTask operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteReplicationTask for more information on using the DeleteReplicationTask API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteReplicationTaskRequest method.
req, resp := client.DeleteReplicationTaskRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationTask

func (*DatabaseMigrationService) DeleteReplicationTaskWithContext Uses

func (c *DatabaseMigrationService) DeleteReplicationTaskWithContext(ctx aws.Context, input *DeleteReplicationTaskInput, opts ...request.Option) (*DeleteReplicationTaskOutput, error)

DeleteReplicationTaskWithContext is the same as DeleteReplicationTask with the addition of the ability to pass a context and additional request options.

See DeleteReplicationTask for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeAccountAttributes Uses

func (c *DatabaseMigrationService) DescribeAccountAttributes(input *DescribeAccountAttributesInput) (*DescribeAccountAttributesOutput, error)

DescribeAccountAttributes API operation for AWS Database Migration Service.

Lists all of the AWS DMS attributes for a customer account. These attributes include AWS DMS quotas for the account and a unique account identifier in a particular DMS region. DMS quotas include a list of resource quotas supported by the account, such as the number of replication instances allowed. The description for each resource quota, includes the quota name, current usage toward that quota, and the quota's maximum value. DMS uses the unique account identifier to name each artifact used by DMS in the given region.

This command does not take any parameters.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation DescribeAccountAttributes for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeAccountAttributes

Describe acount attributes

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 operation does not take any parameters.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.DescribeAccountAttributesInput{}

result, err := svc.DescribeAccountAttributes(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) DescribeAccountAttributesRequest Uses

func (c *DatabaseMigrationService) DescribeAccountAttributesRequest(input *DescribeAccountAttributesInput) (req *request.Request, output *DescribeAccountAttributesOutput)

DescribeAccountAttributesRequest generates a "aws/request.Request" representing the client's request for the DescribeAccountAttributes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeAccountAttributes for more information on using the DescribeAccountAttributes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeAccountAttributesRequest method.
req, resp := client.DescribeAccountAttributesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeAccountAttributes

func (*DatabaseMigrationService) DescribeAccountAttributesWithContext Uses

func (c *DatabaseMigrationService) DescribeAccountAttributesWithContext(ctx aws.Context, input *DescribeAccountAttributesInput, opts ...request.Option) (*DescribeAccountAttributesOutput, error)

DescribeAccountAttributesWithContext is the same as DescribeAccountAttributes with the addition of the ability to pass a context and additional request options.

See DescribeAccountAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeCertificates Uses

func (c *DatabaseMigrationService) DescribeCertificates(input *DescribeCertificatesInput) (*DescribeCertificatesOutput, error)

DescribeCertificates API operation for AWS Database Migration Service.

Provides a description of the certificate.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation DescribeCertificates for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeCertificates

Describe certificates

Provides a description of the certificate.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.DescribeCertificatesInput{
    Filters: []*databasemigrationservice.Filter{
        {
            Name: aws.String("string"),
            Values: []*string{
                aws.String("string"),
                aws.String("string"),
            },
        },
    },
    Marker:     aws.String(""),
    MaxRecords: aws.Int64(123),
}

result, err := svc.DescribeCertificates(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) DescribeCertificatesPages Uses

func (c *DatabaseMigrationService) DescribeCertificatesPages(input *DescribeCertificatesInput, fn func(*DescribeCertificatesOutput, bool) bool) error

DescribeCertificatesPages iterates over the pages of a DescribeCertificates operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeCertificates method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeCertificates operation.
pageNum := 0
err := client.DescribeCertificatesPages(params,
    func(page *databasemigrationservice.DescribeCertificatesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeCertificatesPagesWithContext Uses

func (c *DatabaseMigrationService) DescribeCertificatesPagesWithContext(ctx aws.Context, input *DescribeCertificatesInput, fn func(*DescribeCertificatesOutput, bool) bool, opts ...request.Option) error

DescribeCertificatesPagesWithContext same as DescribeCertificatesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeCertificatesRequest Uses

func (c *DatabaseMigrationService) DescribeCertificatesRequest(input *DescribeCertificatesInput) (req *request.Request, output *DescribeCertificatesOutput)

DescribeCertificatesRequest generates a "aws/request.Request" representing the client's request for the DescribeCertificates operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeCertificates for more information on using the DescribeCertificates API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeCertificatesRequest method.
req, resp := client.DescribeCertificatesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeCertificates

func (*DatabaseMigrationService) DescribeCertificatesWithContext Uses

func (c *DatabaseMigrationService) DescribeCertificatesWithContext(ctx aws.Context, input *DescribeCertificatesInput, opts ...request.Option) (*DescribeCertificatesOutput, error)

DescribeCertificatesWithContext is the same as DescribeCertificates with the addition of the ability to pass a context and additional request options.

See DescribeCertificates for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeConnections Uses

func (c *DatabaseMigrationService) DescribeConnections(input *DescribeConnectionsInput) (*DescribeConnectionsOutput, error)

DescribeConnections API operation for AWS Database Migration Service.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation DescribeConnections for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeConnections

Describe connections

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.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.DescribeConnectionsInput{
    Filters: []*databasemigrationservice.Filter{
        {
            Name: aws.String("string"),
            Values: []*string{
                aws.String("string"),
                aws.String("string"),
            },
        },
    },
    Marker:     aws.String(""),
    MaxRecords: aws.Int64(123),
}

result, err := svc.DescribeConnections(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) DescribeConnectionsPages Uses

func (c *DatabaseMigrationService) DescribeConnectionsPages(input *DescribeConnectionsInput, fn func(*DescribeConnectionsOutput, bool) bool) error

DescribeConnectionsPages iterates over the pages of a DescribeConnections operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeConnections method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeConnections operation.
pageNum := 0
err := client.DescribeConnectionsPages(params,
    func(page *databasemigrationservice.DescribeConnectionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeConnectionsPagesWithContext Uses

func (c *DatabaseMigrationService) DescribeConnectionsPagesWithContext(ctx aws.Context, input *DescribeConnectionsInput, fn func(*DescribeConnectionsOutput, bool) bool, opts ...request.Option) error

DescribeConnectionsPagesWithContext same as DescribeConnectionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeConnectionsRequest Uses

func (c *DatabaseMigrationService) DescribeConnectionsRequest(input *DescribeConnectionsInput) (req *request.Request, output *DescribeConnectionsOutput)

DescribeConnectionsRequest generates a "aws/request.Request" representing the client's request for the DescribeConnections operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeConnections for more information on using the DescribeConnections API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeConnectionsRequest method.
req, resp := client.DescribeConnectionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeConnections

func (*DatabaseMigrationService) DescribeConnectionsWithContext Uses

func (c *DatabaseMigrationService) DescribeConnectionsWithContext(ctx aws.Context, input *DescribeConnectionsInput, opts ...request.Option) (*DescribeConnectionsOutput, error)

DescribeConnectionsWithContext is the same as DescribeConnections with the addition of the ability to pass a context and additional request options.

See DescribeConnections for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeEndpointTypes Uses

func (c *DatabaseMigrationService) DescribeEndpointTypes(input *DescribeEndpointTypesInput) (*DescribeEndpointTypesOutput, error)

DescribeEndpointTypes API operation for AWS Database Migration Service.

Returns information about the type of endpoints available.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation DescribeEndpointTypes for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointTypes

Describe endpoint types

Returns information about the type of endpoints available.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.DescribeEndpointTypesInput{
    Filters: []*databasemigrationservice.Filter{
        {
            Name: aws.String("string"),
            Values: []*string{
                aws.String("string"),
                aws.String("string"),
            },
        },
    },
    Marker:     aws.String(""),
    MaxRecords: aws.Int64(123),
}

result, err := svc.DescribeEndpointTypes(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) DescribeEndpointTypesPages Uses

func (c *DatabaseMigrationService) DescribeEndpointTypesPages(input *DescribeEndpointTypesInput, fn func(*DescribeEndpointTypesOutput, bool) bool) error

DescribeEndpointTypesPages iterates over the pages of a DescribeEndpointTypes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeEndpointTypes method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeEndpointTypes operation.
pageNum := 0
err := client.DescribeEndpointTypesPages(params,
    func(page *databasemigrationservice.DescribeEndpointTypesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeEndpointTypesPagesWithContext Uses

func (c *DatabaseMigrationService) DescribeEndpointTypesPagesWithContext(ctx aws.Context, input *DescribeEndpointTypesInput, fn func(*DescribeEndpointTypesOutput, bool) bool, opts ...request.Option) error

DescribeEndpointTypesPagesWithContext same as DescribeEndpointTypesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeEndpointTypesRequest Uses

func (c *DatabaseMigrationService) DescribeEndpointTypesRequest(input *DescribeEndpointTypesInput) (req *request.Request, output *DescribeEndpointTypesOutput)

DescribeEndpointTypesRequest generates a "aws/request.Request" representing the client's request for the DescribeEndpointTypes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeEndpointTypes for more information on using the DescribeEndpointTypes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeEndpointTypesRequest method.
req, resp := client.DescribeEndpointTypesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointTypes

func (*DatabaseMigrationService) DescribeEndpointTypesWithContext Uses

func (c *DatabaseMigrationService) DescribeEndpointTypesWithContext(ctx aws.Context, input *DescribeEndpointTypesInput, opts ...request.Option) (*DescribeEndpointTypesOutput, error)

DescribeEndpointTypesWithContext is the same as DescribeEndpointTypes with the addition of the ability to pass a context and additional request options.

See DescribeEndpointTypes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeEndpoints Uses

func (c *DatabaseMigrationService) DescribeEndpoints(input *DescribeEndpointsInput) (*DescribeEndpointsOutput, error)

DescribeEndpoints API operation for AWS Database Migration Service.

Returns information about the endpoints for your account in the current region.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation DescribeEndpoints for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpoints

Describe endpoints

Returns information about the endpoints for your account in the current region.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.DescribeEndpointsInput{
    Filters: []*databasemigrationservice.Filter{
        {
            Name: aws.String("string"),
            Values: []*string{
                aws.String("string"),
                aws.String("string"),
            },
        },
    },
    Marker:     aws.String(""),
    MaxRecords: aws.Int64(123),
}

result, err := svc.DescribeEndpoints(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) DescribeEndpointsPages Uses

func (c *DatabaseMigrationService) DescribeEndpointsPages(input *DescribeEndpointsInput, fn func(*DescribeEndpointsOutput, bool) bool) error

DescribeEndpointsPages iterates over the pages of a DescribeEndpoints operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeEndpoints method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeEndpoints operation.
pageNum := 0
err := client.DescribeEndpointsPages(params,
    func(page *databasemigrationservice.DescribeEndpointsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeEndpointsPagesWithContext Uses

func (c *DatabaseMigrationService) DescribeEndpointsPagesWithContext(ctx aws.Context, input *DescribeEndpointsInput, fn func(*DescribeEndpointsOutput, bool) bool, opts ...request.Option) error

DescribeEndpointsPagesWithContext same as DescribeEndpointsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeEndpointsRequest Uses

func (c *DatabaseMigrationService) DescribeEndpointsRequest(input *DescribeEndpointsInput) (req *request.Request, output *DescribeEndpointsOutput)

DescribeEndpointsRequest generates a "aws/request.Request" representing the client's request for the DescribeEndpoints operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeEndpoints for more information on using the DescribeEndpoints API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeEndpointsRequest method.
req, resp := client.DescribeEndpointsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpoints

func (*DatabaseMigrationService) DescribeEndpointsWithContext Uses

func (c *DatabaseMigrationService) DescribeEndpointsWithContext(ctx aws.Context, input *DescribeEndpointsInput, opts ...request.Option) (*DescribeEndpointsOutput, error)

DescribeEndpointsWithContext is the same as DescribeEndpoints with the addition of the ability to pass a context and additional request options.

See DescribeEndpoints for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeEventCategories Uses

func (c *DatabaseMigrationService) DescribeEventCategories(input *DescribeEventCategoriesInput) (*DescribeEventCategoriesOutput, error)

DescribeEventCategories API operation for AWS Database Migration Service.

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 Working with Events and Notifications (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html) in the AWS Database Migration Service User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation DescribeEventCategories for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventCategories

func (*DatabaseMigrationService) DescribeEventCategoriesRequest Uses

func (c *DatabaseMigrationService) DescribeEventCategoriesRequest(input *DescribeEventCategoriesInput) (req *request.Request, output *DescribeEventCategoriesOutput)

DescribeEventCategoriesRequest generates a "aws/request.Request" representing the client's request for the DescribeEventCategories operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeEventCategories for more information on using the DescribeEventCategories API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeEventCategoriesRequest method.
req, resp := client.DescribeEventCategoriesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventCategories

func (*DatabaseMigrationService) DescribeEventCategoriesWithContext Uses

func (c *DatabaseMigrationService) DescribeEventCategoriesWithContext(ctx aws.Context, input *DescribeEventCategoriesInput, opts ...request.Option) (*DescribeEventCategoriesOutput, error)

DescribeEventCategoriesWithContext is the same as DescribeEventCategories with the addition of the ability to pass a context and additional request options.

See DescribeEventCategories for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeEventSubscriptions Uses

func (c *DatabaseMigrationService) DescribeEventSubscriptions(input *DescribeEventSubscriptionsInput) (*DescribeEventSubscriptionsOutput, error)

DescribeEventSubscriptions API operation for AWS Database Migration Service.

Lists all the event subscriptions for a customer account. The description of a subscription includes SubscriptionName, SNSTopicARN, CustomerID, SourceType, SourceID, CreationTime, and Status.

If you specify SubscriptionName, this action lists the description for that subscription.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation DescribeEventSubscriptions for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventSubscriptions

func (*DatabaseMigrationService) DescribeEventSubscriptionsPages Uses

func (c *DatabaseMigrationService) DescribeEventSubscriptionsPages(input *DescribeEventSubscriptionsInput, fn func(*DescribeEventSubscriptionsOutput, bool) bool) error

DescribeEventSubscriptionsPages iterates over the pages of a DescribeEventSubscriptions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeEventSubscriptions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeEventSubscriptions operation.
pageNum := 0
err := client.DescribeEventSubscriptionsPages(params,
    func(page *databasemigrationservice.DescribeEventSubscriptionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeEventSubscriptionsPagesWithContext Uses

func (c *DatabaseMigrationService) DescribeEventSubscriptionsPagesWithContext(ctx aws.Context, input *DescribeEventSubscriptionsInput, fn func(*DescribeEventSubscriptionsOutput, bool) bool, opts ...request.Option) error

DescribeEventSubscriptionsPagesWithContext same as DescribeEventSubscriptionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeEventSubscriptionsRequest Uses

func (c *DatabaseMigrationService) DescribeEventSubscriptionsRequest(input *DescribeEventSubscriptionsInput) (req *request.Request, output *DescribeEventSubscriptionsOutput)

DescribeEventSubscriptionsRequest generates a "aws/request.Request" representing the client's request for the DescribeEventSubscriptions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeEventSubscriptions for more information on using the DescribeEventSubscriptions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeEventSubscriptionsRequest method.
req, resp := client.DescribeEventSubscriptionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventSubscriptions

func (*DatabaseMigrationService) DescribeEventSubscriptionsWithContext Uses

func (c *DatabaseMigrationService) DescribeEventSubscriptionsWithContext(ctx aws.Context, input *DescribeEventSubscriptionsInput, opts ...request.Option) (*DescribeEventSubscriptionsOutput, error)

DescribeEventSubscriptionsWithContext is the same as DescribeEventSubscriptions with the addition of the ability to pass a context and additional request options.

See DescribeEventSubscriptions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeEvents Uses

func (c *DatabaseMigrationService) DescribeEvents(input *DescribeEventsInput) (*DescribeEventsOutput, error)

DescribeEvents API operation for AWS Database Migration Service.

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 Working with Events and Notifications (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html) in the AWS Database Migration User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation DescribeEvents for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEvents

func (*DatabaseMigrationService) DescribeEventsPages Uses

func (c *DatabaseMigrationService) DescribeEventsPages(input *DescribeEventsInput, fn func(*DescribeEventsOutput, bool) bool) error

DescribeEventsPages iterates over the pages of a DescribeEvents operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeEvents method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeEvents operation.
pageNum := 0
err := client.DescribeEventsPages(params,
    func(page *databasemigrationservice.DescribeEventsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeEventsPagesWithContext Uses

func (c *DatabaseMigrationService) DescribeEventsPagesWithContext(ctx aws.Context, input *DescribeEventsInput, fn func(*DescribeEventsOutput, bool) bool, opts ...request.Option) error

DescribeEventsPagesWithContext same as DescribeEventsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeEventsRequest Uses

func (c *DatabaseMigrationService) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput)

DescribeEventsRequest generates a "aws/request.Request" representing the client's request for the DescribeEvents operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeEvents for more information on using the DescribeEvents API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeEventsRequest method.
req, resp := client.DescribeEventsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEvents

func (*DatabaseMigrationService) DescribeEventsWithContext Uses

func (c *DatabaseMigrationService) DescribeEventsWithContext(ctx aws.Context, input *DescribeEventsInput, opts ...request.Option) (*DescribeEventsOutput, error)

DescribeEventsWithContext is the same as DescribeEvents with the addition of the ability to pass a context and additional request options.

See DescribeEvents for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeOrderableReplicationInstances Uses

func (c *DatabaseMigrationService) DescribeOrderableReplicationInstances(input *DescribeOrderableReplicationInstancesInput) (*DescribeOrderableReplicationInstancesOutput, error)

DescribeOrderableReplicationInstances API operation for AWS Database Migration Service.

Returns information about the replication instance types that can be created in the specified region.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation DescribeOrderableReplicationInstances for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeOrderableReplicationInstances

Describe orderable replication instances

Returns information about the replication instance types that can be created in the specified region.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.DescribeOrderableReplicationInstancesInput{
    Marker:     aws.String(""),
    MaxRecords: aws.Int64(123),
}

result, err := svc.DescribeOrderableReplicationInstances(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) DescribeOrderableReplicationInstancesPages Uses

func (c *DatabaseMigrationService) DescribeOrderableReplicationInstancesPages(input *DescribeOrderableReplicationInstancesInput, fn func(*DescribeOrderableReplicationInstancesOutput, bool) bool) error

DescribeOrderableReplicationInstancesPages iterates over the pages of a DescribeOrderableReplicationInstances operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeOrderableReplicationInstances method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeOrderableReplicationInstances operation.
pageNum := 0
err := client.DescribeOrderableReplicationInstancesPages(params,
    func(page *databasemigrationservice.DescribeOrderableReplicationInstancesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeOrderableReplicationInstancesPagesWithContext Uses

func (c *DatabaseMigrationService) DescribeOrderableReplicationInstancesPagesWithContext(ctx aws.Context, input *DescribeOrderableReplicationInstancesInput, fn func(*DescribeOrderableReplicationInstancesOutput, bool) bool, opts ...request.Option) error

DescribeOrderableReplicationInstancesPagesWithContext same as DescribeOrderableReplicationInstancesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeOrderableReplicationInstancesRequest Uses

func (c *DatabaseMigrationService) DescribeOrderableReplicationInstancesRequest(input *DescribeOrderableReplicationInstancesInput) (req *request.Request, output *DescribeOrderableReplicationInstancesOutput)

DescribeOrderableReplicationInstancesRequest generates a "aws/request.Request" representing the client's request for the DescribeOrderableReplicationInstances operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeOrderableReplicationInstances for more information on using the DescribeOrderableReplicationInstances API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeOrderableReplicationInstancesRequest method.
req, resp := client.DescribeOrderableReplicationInstancesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeOrderableReplicationInstances

func (*DatabaseMigrationService) DescribeOrderableReplicationInstancesWithContext Uses

func (c *DatabaseMigrationService) DescribeOrderableReplicationInstancesWithContext(ctx aws.Context, input *DescribeOrderableReplicationInstancesInput, opts ...request.Option) (*DescribeOrderableReplicationInstancesOutput, error)

DescribeOrderableReplicationInstancesWithContext is the same as DescribeOrderableReplicationInstances with the addition of the ability to pass a context and additional request options.

See DescribeOrderableReplicationInstances for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribePendingMaintenanceActions Uses

func (c *DatabaseMigrationService) DescribePendingMaintenanceActions(input *DescribePendingMaintenanceActionsInput) (*DescribePendingMaintenanceActionsOutput, error)

DescribePendingMaintenanceActions API operation for AWS Database Migration Service.

For internal use only

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation DescribePendingMaintenanceActions for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribePendingMaintenanceActions

func (*DatabaseMigrationService) DescribePendingMaintenanceActionsPages Uses

func (c *DatabaseMigrationService) DescribePendingMaintenanceActionsPages(input *DescribePendingMaintenanceActionsInput, fn func(*DescribePendingMaintenanceActionsOutput, bool) bool) error

DescribePendingMaintenanceActionsPages iterates over the pages of a DescribePendingMaintenanceActions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribePendingMaintenanceActions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribePendingMaintenanceActions operation.
pageNum := 0
err := client.DescribePendingMaintenanceActionsPages(params,
    func(page *databasemigrationservice.DescribePendingMaintenanceActionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribePendingMaintenanceActionsPagesWithContext Uses

func (c *DatabaseMigrationService) DescribePendingMaintenanceActionsPagesWithContext(ctx aws.Context, input *DescribePendingMaintenanceActionsInput, fn func(*DescribePendingMaintenanceActionsOutput, bool) bool, opts ...request.Option) error

DescribePendingMaintenanceActionsPagesWithContext same as DescribePendingMaintenanceActionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribePendingMaintenanceActionsRequest Uses

func (c *DatabaseMigrationService) DescribePendingMaintenanceActionsRequest(input *DescribePendingMaintenanceActionsInput) (req *request.Request, output *DescribePendingMaintenanceActionsOutput)

DescribePendingMaintenanceActionsRequest generates a "aws/request.Request" representing the client's request for the DescribePendingMaintenanceActions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribePendingMaintenanceActions for more information on using the DescribePendingMaintenanceActions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribePendingMaintenanceActionsRequest method.
req, resp := client.DescribePendingMaintenanceActionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribePendingMaintenanceActions

func (*DatabaseMigrationService) DescribePendingMaintenanceActionsWithContext Uses

func (c *DatabaseMigrationService) DescribePendingMaintenanceActionsWithContext(ctx aws.Context, input *DescribePendingMaintenanceActionsInput, opts ...request.Option) (*DescribePendingMaintenanceActionsOutput, error)

DescribePendingMaintenanceActionsWithContext is the same as DescribePendingMaintenanceActions with the addition of the ability to pass a context and additional request options.

See DescribePendingMaintenanceActions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeRefreshSchemasStatus Uses

func (c *DatabaseMigrationService) DescribeRefreshSchemasStatus(input *DescribeRefreshSchemasStatusInput) (*DescribeRefreshSchemasStatusOutput, error)

DescribeRefreshSchemasStatus API operation for AWS Database Migration Service.

Returns the status of the RefreshSchemas operation.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation DescribeRefreshSchemasStatus for usage and error information.

Returned Error Codes:

* ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
The resource is in a state that prevents it from being used for database
migration.

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeRefreshSchemasStatus

Describe refresh schema status

Returns the status of the refresh-schemas operation.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.DescribeRefreshSchemasStatusInput{
    EndpointArn: aws.String(""),
}

result, err := svc.DescribeRefreshSchemasStatus(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeInvalidResourceStateFault:
            fmt.Println(databasemigrationservice.ErrCodeInvalidResourceStateFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) DescribeRefreshSchemasStatusRequest Uses

func (c *DatabaseMigrationService) DescribeRefreshSchemasStatusRequest(input *DescribeRefreshSchemasStatusInput) (req *request.Request, output *DescribeRefreshSchemasStatusOutput)

DescribeRefreshSchemasStatusRequest generates a "aws/request.Request" representing the client's request for the DescribeRefreshSchemasStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeRefreshSchemasStatus for more information on using the DescribeRefreshSchemasStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeRefreshSchemasStatusRequest method.
req, resp := client.DescribeRefreshSchemasStatusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeRefreshSchemasStatus

func (*DatabaseMigrationService) DescribeRefreshSchemasStatusWithContext Uses

func (c *DatabaseMigrationService) DescribeRefreshSchemasStatusWithContext(ctx aws.Context, input *DescribeRefreshSchemasStatusInput, opts ...request.Option) (*DescribeRefreshSchemasStatusOutput, error)

DescribeRefreshSchemasStatusWithContext is the same as DescribeRefreshSchemasStatus with the addition of the ability to pass a context and additional request options.

See DescribeRefreshSchemasStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeReplicationInstanceTaskLogs Uses

func (c *DatabaseMigrationService) DescribeReplicationInstanceTaskLogs(input *DescribeReplicationInstanceTaskLogsInput) (*DescribeReplicationInstanceTaskLogsOutput, error)

DescribeReplicationInstanceTaskLogs API operation for AWS Database Migration Service.

Returns information about the task logs for the specified task.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation DescribeReplicationInstanceTaskLogs for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

* ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
The resource is in a state that prevents it from being used for database
migration.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationInstanceTaskLogs

func (*DatabaseMigrationService) DescribeReplicationInstanceTaskLogsPages Uses

func (c *DatabaseMigrationService) DescribeReplicationInstanceTaskLogsPages(input *DescribeReplicationInstanceTaskLogsInput, fn func(*DescribeReplicationInstanceTaskLogsOutput, bool) bool) error

DescribeReplicationInstanceTaskLogsPages iterates over the pages of a DescribeReplicationInstanceTaskLogs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeReplicationInstanceTaskLogs method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeReplicationInstanceTaskLogs operation.
pageNum := 0
err := client.DescribeReplicationInstanceTaskLogsPages(params,
    func(page *databasemigrationservice.DescribeReplicationInstanceTaskLogsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeReplicationInstanceTaskLogsPagesWithContext Uses

func (c *DatabaseMigrationService) DescribeReplicationInstanceTaskLogsPagesWithContext(ctx aws.Context, input *DescribeReplicationInstanceTaskLogsInput, fn func(*DescribeReplicationInstanceTaskLogsOutput, bool) bool, opts ...request.Option) error

DescribeReplicationInstanceTaskLogsPagesWithContext same as DescribeReplicationInstanceTaskLogsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeReplicationInstanceTaskLogsRequest Uses

func (c *DatabaseMigrationService) DescribeReplicationInstanceTaskLogsRequest(input *DescribeReplicationInstanceTaskLogsInput) (req *request.Request, output *DescribeReplicationInstanceTaskLogsOutput)

DescribeReplicationInstanceTaskLogsRequest generates a "aws/request.Request" representing the client's request for the DescribeReplicationInstanceTaskLogs operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeReplicationInstanceTaskLogs for more information on using the DescribeReplicationInstanceTaskLogs API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeReplicationInstanceTaskLogsRequest method.
req, resp := client.DescribeReplicationInstanceTaskLogsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationInstanceTaskLogs

func (*DatabaseMigrationService) DescribeReplicationInstanceTaskLogsWithContext Uses

func (c *DatabaseMigrationService) DescribeReplicationInstanceTaskLogsWithContext(ctx aws.Context, input *DescribeReplicationInstanceTaskLogsInput, opts ...request.Option) (*DescribeReplicationInstanceTaskLogsOutput, error)

DescribeReplicationInstanceTaskLogsWithContext is the same as DescribeReplicationInstanceTaskLogs with the addition of the ability to pass a context and additional request options.

See DescribeReplicationInstanceTaskLogs for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeReplicationInstances Uses

func (c *DatabaseMigrationService) DescribeReplicationInstances(input *DescribeReplicationInstancesInput) (*DescribeReplicationInstancesOutput, error)

DescribeReplicationInstances API operation for AWS Database Migration Service.

Returns information about replication instances for your account in the current region.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation DescribeReplicationInstances for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationInstances

Describe replication instances

Returns the status of the refresh-schemas operation.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.DescribeReplicationInstancesInput{
    Filters: []*databasemigrationservice.Filter{
        {
            Name: aws.String("string"),
            Values: []*string{
                aws.String("string"),
                aws.String("string"),
            },
        },
    },
    Marker:     aws.String(""),
    MaxRecords: aws.Int64(123),
}

result, err := svc.DescribeReplicationInstances(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) DescribeReplicationInstancesPages Uses

func (c *DatabaseMigrationService) DescribeReplicationInstancesPages(input *DescribeReplicationInstancesInput, fn func(*DescribeReplicationInstancesOutput, bool) bool) error

DescribeReplicationInstancesPages iterates over the pages of a DescribeReplicationInstances operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeReplicationInstances method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeReplicationInstances operation.
pageNum := 0
err := client.DescribeReplicationInstancesPages(params,
    func(page *databasemigrationservice.DescribeReplicationInstancesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeReplicationInstancesPagesWithContext Uses

func (c *DatabaseMigrationService) DescribeReplicationInstancesPagesWithContext(ctx aws.Context, input *DescribeReplicationInstancesInput, fn func(*DescribeReplicationInstancesOutput, bool) bool, opts ...request.Option) error

DescribeReplicationInstancesPagesWithContext same as DescribeReplicationInstancesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeReplicationInstancesRequest Uses

func (c *DatabaseMigrationService) DescribeReplicationInstancesRequest(input *DescribeReplicationInstancesInput) (req *request.Request, output *DescribeReplicationInstancesOutput)

DescribeReplicationInstancesRequest generates a "aws/request.Request" representing the client's request for the DescribeReplicationInstances operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeReplicationInstances for more information on using the DescribeReplicationInstances API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeReplicationInstancesRequest method.
req, resp := client.DescribeReplicationInstancesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationInstances

func (*DatabaseMigrationService) DescribeReplicationInstancesWithContext Uses

func (c *DatabaseMigrationService) DescribeReplicationInstancesWithContext(ctx aws.Context, input *DescribeReplicationInstancesInput, opts ...request.Option) (*DescribeReplicationInstancesOutput, error)

DescribeReplicationInstancesWithContext is the same as DescribeReplicationInstances with the addition of the ability to pass a context and additional request options.

See DescribeReplicationInstances for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeReplicationSubnetGroups Uses

func (c *DatabaseMigrationService) DescribeReplicationSubnetGroups(input *DescribeReplicationSubnetGroupsInput) (*DescribeReplicationSubnetGroupsOutput, error)

DescribeReplicationSubnetGroups API operation for AWS Database Migration Service.

Returns information about the replication subnet groups.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation DescribeReplicationSubnetGroups for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationSubnetGroups

Describe replication subnet groups

Returns information about the replication subnet groups.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.DescribeReplicationSubnetGroupsInput{
    Filters: []*databasemigrationservice.Filter{
        {
            Name: aws.String("string"),
            Values: []*string{
                aws.String("string"),
                aws.String("string"),
            },
        },
    },
    Marker:     aws.String(""),
    MaxRecords: aws.Int64(123),
}

result, err := svc.DescribeReplicationSubnetGroups(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) DescribeReplicationSubnetGroupsPages Uses

func (c *DatabaseMigrationService) DescribeReplicationSubnetGroupsPages(input *DescribeReplicationSubnetGroupsInput, fn func(*DescribeReplicationSubnetGroupsOutput, bool) bool) error

DescribeReplicationSubnetGroupsPages iterates over the pages of a DescribeReplicationSubnetGroups operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeReplicationSubnetGroups method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeReplicationSubnetGroups operation.
pageNum := 0
err := client.DescribeReplicationSubnetGroupsPages(params,
    func(page *databasemigrationservice.DescribeReplicationSubnetGroupsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeReplicationSubnetGroupsPagesWithContext Uses

func (c *DatabaseMigrationService) DescribeReplicationSubnetGroupsPagesWithContext(ctx aws.Context, input *DescribeReplicationSubnetGroupsInput, fn func(*DescribeReplicationSubnetGroupsOutput, bool) bool, opts ...request.Option) error

DescribeReplicationSubnetGroupsPagesWithContext same as DescribeReplicationSubnetGroupsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeReplicationSubnetGroupsRequest Uses

func (c *DatabaseMigrationService) DescribeReplicationSubnetGroupsRequest(input *DescribeReplicationSubnetGroupsInput) (req *request.Request, output *DescribeReplicationSubnetGroupsOutput)

DescribeReplicationSubnetGroupsRequest generates a "aws/request.Request" representing the client's request for the DescribeReplicationSubnetGroups operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeReplicationSubnetGroups for more information on using the DescribeReplicationSubnetGroups API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeReplicationSubnetGroupsRequest method.
req, resp := client.DescribeReplicationSubnetGroupsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationSubnetGroups

func (*DatabaseMigrationService) DescribeReplicationSubnetGroupsWithContext Uses

func (c *DatabaseMigrationService) DescribeReplicationSubnetGroupsWithContext(ctx aws.Context, input *DescribeReplicationSubnetGroupsInput, opts ...request.Option) (*DescribeReplicationSubnetGroupsOutput, error)

DescribeReplicationSubnetGroupsWithContext is the same as DescribeReplicationSubnetGroups with the addition of the ability to pass a context and additional request options.

See DescribeReplicationSubnetGroups for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeReplicationTaskAssessmentResults Uses

func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentResults(input *DescribeReplicationTaskAssessmentResultsInput) (*DescribeReplicationTaskAssessmentResultsOutput, error)

DescribeReplicationTaskAssessmentResults API operation for AWS Database Migration Service.

Returns the task assessment results from Amazon S3. This action always returns the latest results.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation DescribeReplicationTaskAssessmentResults for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTaskAssessmentResults

func (*DatabaseMigrationService) DescribeReplicationTaskAssessmentResultsPages Uses

func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentResultsPages(input *DescribeReplicationTaskAssessmentResultsInput, fn func(*DescribeReplicationTaskAssessmentResultsOutput, bool) bool) error

DescribeReplicationTaskAssessmentResultsPages iterates over the pages of a DescribeReplicationTaskAssessmentResults operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeReplicationTaskAssessmentResults method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeReplicationTaskAssessmentResults operation.
pageNum := 0
err := client.DescribeReplicationTaskAssessmentResultsPages(params,
    func(page *databasemigrationservice.DescribeReplicationTaskAssessmentResultsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeReplicationTaskAssessmentResultsPagesWithContext Uses

func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentResultsPagesWithContext(ctx aws.Context, input *DescribeReplicationTaskAssessmentResultsInput, fn func(*DescribeReplicationTaskAssessmentResultsOutput, bool) bool, opts ...request.Option) error

DescribeReplicationTaskAssessmentResultsPagesWithContext same as DescribeReplicationTaskAssessmentResultsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeReplicationTaskAssessmentResultsRequest Uses

func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentResultsRequest(input *DescribeReplicationTaskAssessmentResultsInput) (req *request.Request, output *DescribeReplicationTaskAssessmentResultsOutput)

DescribeReplicationTaskAssessmentResultsRequest generates a "aws/request.Request" representing the client's request for the DescribeReplicationTaskAssessmentResults operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeReplicationTaskAssessmentResults for more information on using the DescribeReplicationTaskAssessmentResults API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeReplicationTaskAssessmentResultsRequest method.
req, resp := client.DescribeReplicationTaskAssessmentResultsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTaskAssessmentResults

func (*DatabaseMigrationService) DescribeReplicationTaskAssessmentResultsWithContext Uses

func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentResultsWithContext(ctx aws.Context, input *DescribeReplicationTaskAssessmentResultsInput, opts ...request.Option) (*DescribeReplicationTaskAssessmentResultsOutput, error)

DescribeReplicationTaskAssessmentResultsWithContext is the same as DescribeReplicationTaskAssessmentResults with the addition of the ability to pass a context and additional request options.

See DescribeReplicationTaskAssessmentResults for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeReplicationTasks Uses

func (c *DatabaseMigrationService) DescribeReplicationTasks(input *DescribeReplicationTasksInput) (*DescribeReplicationTasksOutput, error)

DescribeReplicationTasks API operation for AWS Database Migration Service.

Returns information about replication tasks for your account in the current region.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation DescribeReplicationTasks for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTasks

Describe replication tasks

Returns information about replication tasks for your account in the current region.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.DescribeReplicationTasksInput{
    Filters: []*databasemigrationservice.Filter{
        {
            Name: aws.String("string"),
            Values: []*string{
                aws.String("string"),
                aws.String("string"),
            },
        },
    },
    Marker:     aws.String(""),
    MaxRecords: aws.Int64(123),
}

result, err := svc.DescribeReplicationTasks(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) DescribeReplicationTasksPages Uses

func (c *DatabaseMigrationService) DescribeReplicationTasksPages(input *DescribeReplicationTasksInput, fn func(*DescribeReplicationTasksOutput, bool) bool) error

DescribeReplicationTasksPages iterates over the pages of a DescribeReplicationTasks operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeReplicationTasks method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeReplicationTasks operation.
pageNum := 0
err := client.DescribeReplicationTasksPages(params,
    func(page *databasemigrationservice.DescribeReplicationTasksOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeReplicationTasksPagesWithContext Uses

func (c *DatabaseMigrationService) DescribeReplicationTasksPagesWithContext(ctx aws.Context, input *DescribeReplicationTasksInput, fn func(*DescribeReplicationTasksOutput, bool) bool, opts ...request.Option) error

DescribeReplicationTasksPagesWithContext same as DescribeReplicationTasksPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeReplicationTasksRequest Uses

func (c *DatabaseMigrationService) DescribeReplicationTasksRequest(input *DescribeReplicationTasksInput) (req *request.Request, output *DescribeReplicationTasksOutput)

DescribeReplicationTasksRequest generates a "aws/request.Request" representing the client's request for the DescribeReplicationTasks operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeReplicationTasks for more information on using the DescribeReplicationTasks API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeReplicationTasksRequest method.
req, resp := client.DescribeReplicationTasksRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTasks

func (*DatabaseMigrationService) DescribeReplicationTasksWithContext Uses

func (c *DatabaseMigrationService) DescribeReplicationTasksWithContext(ctx aws.Context, input *DescribeReplicationTasksInput, opts ...request.Option) (*DescribeReplicationTasksOutput, error)

DescribeReplicationTasksWithContext is the same as DescribeReplicationTasks with the addition of the ability to pass a context and additional request options.

See DescribeReplicationTasks for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeSchemas Uses

func (c *DatabaseMigrationService) DescribeSchemas(input *DescribeSchemasInput) (*DescribeSchemasOutput, error)

DescribeSchemas API operation for AWS Database Migration Service.

Returns information about the schema for the specified endpoint.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation DescribeSchemas for usage and error information.

Returned Error Codes:

* ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
The resource is in a state that prevents it from being used for database
migration.

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeSchemas

Describe schemas

Returns information about the schema for the specified endpoint.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.DescribeSchemasInput{
    EndpointArn: aws.String(""),
    Marker:      aws.String(""),
    MaxRecords:  aws.Int64(123),
}

result, err := svc.DescribeSchemas(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeInvalidResourceStateFault:
            fmt.Println(databasemigrationservice.ErrCodeInvalidResourceStateFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) DescribeSchemasPages Uses

func (c *DatabaseMigrationService) DescribeSchemasPages(input *DescribeSchemasInput, fn func(*DescribeSchemasOutput, bool) bool) error

DescribeSchemasPages iterates over the pages of a DescribeSchemas operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeSchemas method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeSchemas operation.
pageNum := 0
err := client.DescribeSchemasPages(params,
    func(page *databasemigrationservice.DescribeSchemasOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeSchemasPagesWithContext Uses

func (c *DatabaseMigrationService) DescribeSchemasPagesWithContext(ctx aws.Context, input *DescribeSchemasInput, fn func(*DescribeSchemasOutput, bool) bool, opts ...request.Option) error

DescribeSchemasPagesWithContext same as DescribeSchemasPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeSchemasRequest Uses

func (c *DatabaseMigrationService) DescribeSchemasRequest(input *DescribeSchemasInput) (req *request.Request, output *DescribeSchemasOutput)

DescribeSchemasRequest generates a "aws/request.Request" representing the client's request for the DescribeSchemas operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeSchemas for more information on using the DescribeSchemas API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeSchemasRequest method.
req, resp := client.DescribeSchemasRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeSchemas

func (*DatabaseMigrationService) DescribeSchemasWithContext Uses

func (c *DatabaseMigrationService) DescribeSchemasWithContext(ctx aws.Context, input *DescribeSchemasInput, opts ...request.Option) (*DescribeSchemasOutput, error)

DescribeSchemasWithContext is the same as DescribeSchemas with the addition of the ability to pass a context and additional request options.

See DescribeSchemas for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeTableStatistics Uses

func (c *DatabaseMigrationService) DescribeTableStatistics(input *DescribeTableStatisticsInput) (*DescribeTableStatisticsOutput, error)

DescribeTableStatistics API operation for AWS Database Migration Service.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation DescribeTableStatistics for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

* ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
The resource is in a state that prevents it from being used for database
migration.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeTableStatistics

Describe table statistics

Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.DescribeTableStatisticsInput{
    Marker:             aws.String(""),
    MaxRecords:         aws.Int64(123),
    ReplicationTaskArn: aws.String(""),
}

result, err := svc.DescribeTableStatistics(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        case databasemigrationservice.ErrCodeInvalidResourceStateFault:
            fmt.Println(databasemigrationservice.ErrCodeInvalidResourceStateFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) DescribeTableStatisticsPages Uses

func (c *DatabaseMigrationService) DescribeTableStatisticsPages(input *DescribeTableStatisticsInput, fn func(*DescribeTableStatisticsOutput, bool) bool) error

DescribeTableStatisticsPages iterates over the pages of a DescribeTableStatistics operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeTableStatistics method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeTableStatistics operation.
pageNum := 0
err := client.DescribeTableStatisticsPages(params,
    func(page *databasemigrationservice.DescribeTableStatisticsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeTableStatisticsPagesWithContext Uses

func (c *DatabaseMigrationService) DescribeTableStatisticsPagesWithContext(ctx aws.Context, input *DescribeTableStatisticsInput, fn func(*DescribeTableStatisticsOutput, bool) bool, opts ...request.Option) error

DescribeTableStatisticsPagesWithContext same as DescribeTableStatisticsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) DescribeTableStatisticsRequest Uses

func (c *DatabaseMigrationService) DescribeTableStatisticsRequest(input *DescribeTableStatisticsInput) (req *request.Request, output *DescribeTableStatisticsOutput)

DescribeTableStatisticsRequest generates a "aws/request.Request" representing the client's request for the DescribeTableStatistics operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeTableStatistics for more information on using the DescribeTableStatistics API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeTableStatisticsRequest method.
req, resp := client.DescribeTableStatisticsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeTableStatistics

func (*DatabaseMigrationService) DescribeTableStatisticsWithContext Uses

func (c *DatabaseMigrationService) DescribeTableStatisticsWithContext(ctx aws.Context, input *DescribeTableStatisticsInput, opts ...request.Option) (*DescribeTableStatisticsOutput, error)

DescribeTableStatisticsWithContext is the same as DescribeTableStatistics with the addition of the ability to pass a context and additional request options.

See DescribeTableStatistics for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) ImportCertificate Uses

func (c *DatabaseMigrationService) ImportCertificate(input *ImportCertificateInput) (*ImportCertificateOutput, error)

ImportCertificate API operation for AWS Database Migration Service.

Uploads the specified certificate.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation ImportCertificate for usage and error information.

Returned Error Codes:

* ErrCodeResourceAlreadyExistsFault "ResourceAlreadyExistsFault"
The resource you are attempting to create already exists.

* ErrCodeInvalidCertificateFault "InvalidCertificateFault"
The certificate was not valid.

* ErrCodeResourceQuotaExceededFault "ResourceQuotaExceededFault"
The quota for this resource quota has been exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ImportCertificate

Import certificate

Uploads the specified certificate.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.ImportCertificateInput{
    CertificateIdentifier: aws.String(""),
    CertificatePem:        aws.String(""),
}

result, err := svc.ImportCertificate(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeResourceAlreadyExistsFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceAlreadyExistsFault, aerr.Error())
        case databasemigrationservice.ErrCodeInvalidCertificateFault:
            fmt.Println(databasemigrationservice.ErrCodeInvalidCertificateFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceQuotaExceededFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceQuotaExceededFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) ImportCertificateRequest Uses

func (c *DatabaseMigrationService) ImportCertificateRequest(input *ImportCertificateInput) (req *request.Request, output *ImportCertificateOutput)

ImportCertificateRequest generates a "aws/request.Request" representing the client's request for the ImportCertificate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ImportCertificate for more information on using the ImportCertificate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ImportCertificateRequest method.
req, resp := client.ImportCertificateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ImportCertificate

func (*DatabaseMigrationService) ImportCertificateWithContext Uses

func (c *DatabaseMigrationService) ImportCertificateWithContext(ctx aws.Context, input *ImportCertificateInput, opts ...request.Option) (*ImportCertificateOutput, error)

ImportCertificateWithContext is the same as ImportCertificate with the addition of the ability to pass a context and additional request options.

See ImportCertificate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) ListTagsForResource Uses

func (c *DatabaseMigrationService) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for AWS Database Migration Service.

Lists all tags for an AWS DMS resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation ListTagsForResource for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ListTagsForResource

List tags for resource

Lists all tags for an AWS DMS resource.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.ListTagsForResourceInput{
    ResourceArn: aws.String(""),
}

result, err := svc.ListTagsForResource(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) ListTagsForResourceRequest Uses

func (c *DatabaseMigrationService) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ListTagsForResource

func (*DatabaseMigrationService) ListTagsForResourceWithContext Uses

func (c *DatabaseMigrationService) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) ModifyEndpoint Uses

func (c *DatabaseMigrationService) ModifyEndpoint(input *ModifyEndpointInput) (*ModifyEndpointOutput, error)

ModifyEndpoint API operation for AWS Database Migration Service.

Modifies the specified endpoint.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation ModifyEndpoint for usage and error information.

Returned Error Codes:

* ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
The resource is in a state that prevents it from being used for database
migration.

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

* ErrCodeResourceAlreadyExistsFault "ResourceAlreadyExistsFault"
The resource you are attempting to create already exists.

* ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault"
AWS DMS cannot access the AWS KMS key.

* ErrCodeAccessDeniedFault "AccessDeniedFault"
AWS DMS was denied access to the endpoint. Check that the role is correctly
configured.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpoint

Modify endpoint

Modifies the specified endpoint.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.ModifyEndpointInput{
    CertificateArn:            aws.String(""),
    DatabaseName:              aws.String(""),
    EndpointArn:               aws.String(""),
    EndpointIdentifier:        aws.String(""),
    EndpointType:              aws.String("source"),
    EngineName:                aws.String(""),
    ExtraConnectionAttributes: aws.String(""),
    Password:                  aws.String(""),
    Port:                      aws.Int64(123),
    ServerName:                aws.String(""),
    SslMode:                   aws.String("require"),
    Username:                  aws.String(""),
}

result, err := svc.ModifyEndpoint(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeInvalidResourceStateFault:
            fmt.Println(databasemigrationservice.ErrCodeInvalidResourceStateFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceAlreadyExistsFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceAlreadyExistsFault, aerr.Error())
        case databasemigrationservice.ErrCodeKMSKeyNotAccessibleFault:
            fmt.Println(databasemigrationservice.ErrCodeKMSKeyNotAccessibleFault, aerr.Error())
        case databasemigrationservice.ErrCodeAccessDeniedFault:
            fmt.Println(databasemigrationservice.ErrCodeAccessDeniedFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) ModifyEndpointRequest Uses

func (c *DatabaseMigrationService) ModifyEndpointRequest(input *ModifyEndpointInput) (req *request.Request, output *ModifyEndpointOutput)

ModifyEndpointRequest generates a "aws/request.Request" representing the client's request for the ModifyEndpoint operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ModifyEndpoint for more information on using the ModifyEndpoint API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ModifyEndpointRequest method.
req, resp := client.ModifyEndpointRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpoint

func (*DatabaseMigrationService) ModifyEndpointWithContext Uses

func (c *DatabaseMigrationService) ModifyEndpointWithContext(ctx aws.Context, input *ModifyEndpointInput, opts ...request.Option) (*ModifyEndpointOutput, error)

ModifyEndpointWithContext is the same as ModifyEndpoint with the addition of the ability to pass a context and additional request options.

See ModifyEndpoint for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) ModifyEventSubscription Uses

func (c *DatabaseMigrationService) ModifyEventSubscription(input *ModifyEventSubscriptionInput) (*ModifyEventSubscriptionOutput, error)

ModifyEventSubscription API operation for AWS Database Migration Service.

Modifies an existing AWS DMS event notification subscription.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation ModifyEventSubscription for usage and error information.

Returned Error Codes:

* ErrCodeResourceQuotaExceededFault "ResourceQuotaExceededFault"
The quota for this resource quota has been exceeded.

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

* ErrCodeSNSInvalidTopicFault "SNSInvalidTopicFault"
The SNS topic is invalid.

* ErrCodeSNSNoAuthorizationFault "SNSNoAuthorizationFault"
You are not authorized for the SNS subscription.

* ErrCodeKMSAccessDeniedFault "KMSAccessDeniedFault"
The ciphertext references a key that doesn't exist or that the DMS account
doesn't have access to.

* ErrCodeKMSDisabledFault "KMSDisabledFault"
The specified master key (CMK) isn't enabled.

* ErrCodeKMSInvalidStateFault "KMSInvalidStateFault"
The state of the specified AWS KMS resource isn't valid for this request.

* ErrCodeKMSNotFoundFault "KMSNotFoundFault"
The specified AWS KMS entity or resource can't be found.

* ErrCodeKMSThrottlingFault "KMSThrottlingFault"
This request triggered AWS KMS request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEventSubscription

func (*DatabaseMigrationService) ModifyEventSubscriptionRequest Uses

func (c *DatabaseMigrationService) ModifyEventSubscriptionRequest(input *ModifyEventSubscriptionInput) (req *request.Request, output *ModifyEventSubscriptionOutput)

ModifyEventSubscriptionRequest generates a "aws/request.Request" representing the client's request for the ModifyEventSubscription operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ModifyEventSubscription for more information on using the ModifyEventSubscription API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ModifyEventSubscriptionRequest method.
req, resp := client.ModifyEventSubscriptionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEventSubscription

func (*DatabaseMigrationService) ModifyEventSubscriptionWithContext Uses

func (c *DatabaseMigrationService) ModifyEventSubscriptionWithContext(ctx aws.Context, input *ModifyEventSubscriptionInput, opts ...request.Option) (*ModifyEventSubscriptionOutput, error)

ModifyEventSubscriptionWithContext is the same as ModifyEventSubscription with the addition of the ability to pass a context and additional request options.

See ModifyEventSubscription for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) ModifyReplicationInstance Uses

func (c *DatabaseMigrationService) ModifyReplicationInstance(input *ModifyReplicationInstanceInput) (*ModifyReplicationInstanceOutput, error)

ModifyReplicationInstance API operation for AWS Database Migration Service.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation ModifyReplicationInstance for usage and error information.

Returned Error Codes:

* ErrCodeAccessDeniedFault "AccessDeniedFault"
AWS DMS was denied access to the endpoint. Check that the role is correctly
configured.

* ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
The resource is in a state that prevents it from being used for database
migration.

* ErrCodeResourceAlreadyExistsFault "ResourceAlreadyExistsFault"
The resource you are attempting to create already exists.

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

* ErrCodeInsufficientResourceCapacityFault "InsufficientResourceCapacityFault"
There are not enough resources allocated to the database migration.

* ErrCodeStorageQuotaExceededFault "StorageQuotaExceededFault"
The storage quota has been exceeded.

* ErrCodeUpgradeDependencyFailureFault "UpgradeDependencyFailureFault"
An upgrade dependency is preventing the database migration.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationInstance

Modify replication instance

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.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.ModifyReplicationInstanceInput{
    AllocatedStorage:              aws.Int64(123),
    AllowMajorVersionUpgrade:      aws.Bool(true),
    ApplyImmediately:              aws.Bool(true),
    AutoMinorVersionUpgrade:       aws.Bool(true),
    EngineVersion:                 aws.String("1.5.0"),
    MultiAZ:                       aws.Bool(true),
    PreferredMaintenanceWindow:    aws.String("sun:06:00-sun:14:00"),
    ReplicationInstanceArn:        aws.String("arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ"),
    ReplicationInstanceClass:      aws.String("dms.t2.micro"),
    ReplicationInstanceIdentifier: aws.String("test-rep-1"),
}

result, err := svc.ModifyReplicationInstance(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeAccessDeniedFault:
            fmt.Println(databasemigrationservice.ErrCodeAccessDeniedFault, aerr.Error())
        case databasemigrationservice.ErrCodeInvalidResourceStateFault:
            fmt.Println(databasemigrationservice.ErrCodeInvalidResourceStateFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceAlreadyExistsFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceAlreadyExistsFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        case databasemigrationservice.ErrCodeInsufficientResourceCapacityFault:
            fmt.Println(databasemigrationservice.ErrCodeInsufficientResourceCapacityFault, aerr.Error())
        case databasemigrationservice.ErrCodeStorageQuotaExceededFault:
            fmt.Println(databasemigrationservice.ErrCodeStorageQuotaExceededFault, aerr.Error())
        case databasemigrationservice.ErrCodeUpgradeDependencyFailureFault:
            fmt.Println(databasemigrationservice.ErrCodeUpgradeDependencyFailureFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) ModifyReplicationInstanceRequest Uses

func (c *DatabaseMigrationService) ModifyReplicationInstanceRequest(input *ModifyReplicationInstanceInput) (req *request.Request, output *ModifyReplicationInstanceOutput)

ModifyReplicationInstanceRequest generates a "aws/request.Request" representing the client's request for the ModifyReplicationInstance operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ModifyReplicationInstance for more information on using the ModifyReplicationInstance API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ModifyReplicationInstanceRequest method.
req, resp := client.ModifyReplicationInstanceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationInstance

func (*DatabaseMigrationService) ModifyReplicationInstanceWithContext Uses

func (c *DatabaseMigrationService) ModifyReplicationInstanceWithContext(ctx aws.Context, input *ModifyReplicationInstanceInput, opts ...request.Option) (*ModifyReplicationInstanceOutput, error)

ModifyReplicationInstanceWithContext is the same as ModifyReplicationInstance with the addition of the ability to pass a context and additional request options.

See ModifyReplicationInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) ModifyReplicationSubnetGroup Uses

func (c *DatabaseMigrationService) ModifyReplicationSubnetGroup(input *ModifyReplicationSubnetGroupInput) (*ModifyReplicationSubnetGroupOutput, error)

ModifyReplicationSubnetGroup API operation for AWS Database Migration Service.

Modifies the settings for the specified replication subnet group.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation ModifyReplicationSubnetGroup for usage and error information.

Returned Error Codes:

* ErrCodeAccessDeniedFault "AccessDeniedFault"
AWS DMS was denied access to the endpoint. Check that the role is correctly
configured.

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

* ErrCodeResourceQuotaExceededFault "ResourceQuotaExceededFault"
The quota for this resource quota has been exceeded.

* ErrCodeSubnetAlreadyInUse "SubnetAlreadyInUse"
The specified subnet is already in use.

* ErrCodeReplicationSubnetGroupDoesNotCoverEnoughAZs "ReplicationSubnetGroupDoesNotCoverEnoughAZs"
The replication subnet group does not cover enough Availability Zones (AZs).
Edit the replication subnet group and add more AZs.

* ErrCodeInvalidSubnet "InvalidSubnet"
The subnet provided is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationSubnetGroup

Modify replication subnet group

Modifies the settings for the specified replication subnet group.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.ModifyReplicationSubnetGroupInput{
    ReplicationSubnetGroupDescription: aws.String(""),
    ReplicationSubnetGroupIdentifier:  aws.String(""),
}

result, err := svc.ModifyReplicationSubnetGroup(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeAccessDeniedFault:
            fmt.Println(databasemigrationservice.ErrCodeAccessDeniedFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceQuotaExceededFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceQuotaExceededFault, aerr.Error())
        case databasemigrationservice.ErrCodeSubnetAlreadyInUse:
            fmt.Println(databasemigrationservice.ErrCodeSubnetAlreadyInUse, aerr.Error())
        case databasemigrationservice.ErrCodeReplicationSubnetGroupDoesNotCoverEnoughAZs:
            fmt.Println(databasemigrationservice.ErrCodeReplicationSubnetGroupDoesNotCoverEnoughAZs, aerr.Error())
        case databasemigrationservice.ErrCodeInvalidSubnet:
            fmt.Println(databasemigrationservice.ErrCodeInvalidSubnet, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) ModifyReplicationSubnetGroupRequest Uses

func (c *DatabaseMigrationService) ModifyReplicationSubnetGroupRequest(input *ModifyReplicationSubnetGroupInput) (req *request.Request, output *ModifyReplicationSubnetGroupOutput)

ModifyReplicationSubnetGroupRequest generates a "aws/request.Request" representing the client's request for the ModifyReplicationSubnetGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ModifyReplicationSubnetGroup for more information on using the ModifyReplicationSubnetGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ModifyReplicationSubnetGroupRequest method.
req, resp := client.ModifyReplicationSubnetGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationSubnetGroup

func (*DatabaseMigrationService) ModifyReplicationSubnetGroupWithContext Uses

func (c *DatabaseMigrationService) ModifyReplicationSubnetGroupWithContext(ctx aws.Context, input *ModifyReplicationSubnetGroupInput, opts ...request.Option) (*ModifyReplicationSubnetGroupOutput, error)

ModifyReplicationSubnetGroupWithContext is the same as ModifyReplicationSubnetGroup with the addition of the ability to pass a context and additional request options.

See ModifyReplicationSubnetGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) ModifyReplicationTask Uses

func (c *DatabaseMigrationService) ModifyReplicationTask(input *ModifyReplicationTaskInput) (*ModifyReplicationTaskOutput, error)

ModifyReplicationTask API operation for AWS Database Migration Service.

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 Working with Migration Tasks (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.html) in the AWS Database Migration Service User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation ModifyReplicationTask for usage and error information.

Returned Error Codes:

* ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
The resource is in a state that prevents it from being used for database
migration.

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

* ErrCodeResourceAlreadyExistsFault "ResourceAlreadyExistsFault"
The resource you are attempting to create already exists.

* ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault"
AWS DMS cannot access the AWS KMS key.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationTask

func (*DatabaseMigrationService) ModifyReplicationTaskRequest Uses

func (c *DatabaseMigrationService) ModifyReplicationTaskRequest(input *ModifyReplicationTaskInput) (req *request.Request, output *ModifyReplicationTaskOutput)

ModifyReplicationTaskRequest generates a "aws/request.Request" representing the client's request for the ModifyReplicationTask operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ModifyReplicationTask for more information on using the ModifyReplicationTask API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ModifyReplicationTaskRequest method.
req, resp := client.ModifyReplicationTaskRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationTask

func (*DatabaseMigrationService) ModifyReplicationTaskWithContext Uses

func (c *DatabaseMigrationService) ModifyReplicationTaskWithContext(ctx aws.Context, input *ModifyReplicationTaskInput, opts ...request.Option) (*ModifyReplicationTaskOutput, error)

ModifyReplicationTaskWithContext is the same as ModifyReplicationTask with the addition of the ability to pass a context and additional request options.

See ModifyReplicationTask for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) RebootReplicationInstance Uses

func (c *DatabaseMigrationService) RebootReplicationInstance(input *RebootReplicationInstanceInput) (*RebootReplicationInstanceOutput, error)

RebootReplicationInstance API operation for AWS Database Migration Service.

Reboots a replication instance. Rebooting results in a momentary outage, until the replication instance becomes available again.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation RebootReplicationInstance for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

* ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
The resource is in a state that prevents it from being used for database
migration.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RebootReplicationInstance

func (*DatabaseMigrationService) RebootReplicationInstanceRequest Uses

func (c *DatabaseMigrationService) RebootReplicationInstanceRequest(input *RebootReplicationInstanceInput) (req *request.Request, output *RebootReplicationInstanceOutput)

RebootReplicationInstanceRequest generates a "aws/request.Request" representing the client's request for the RebootReplicationInstance operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RebootReplicationInstance for more information on using the RebootReplicationInstance API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RebootReplicationInstanceRequest method.
req, resp := client.RebootReplicationInstanceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RebootReplicationInstance

func (*DatabaseMigrationService) RebootReplicationInstanceWithContext Uses

func (c *DatabaseMigrationService) RebootReplicationInstanceWithContext(ctx aws.Context, input *RebootReplicationInstanceInput, opts ...request.Option) (*RebootReplicationInstanceOutput, error)

RebootReplicationInstanceWithContext is the same as RebootReplicationInstance with the addition of the ability to pass a context and additional request options.

See RebootReplicationInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) RefreshSchemas Uses

func (c *DatabaseMigrationService) RefreshSchemas(input *RefreshSchemasInput) (*RefreshSchemasOutput, error)

RefreshSchemas API operation for AWS Database Migration Service.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation RefreshSchemas for usage and error information.

Returned Error Codes:

* ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
The resource is in a state that prevents it from being used for database
migration.

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

* ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault"
AWS DMS cannot access the AWS KMS key.

* ErrCodeResourceQuotaExceededFault "ResourceQuotaExceededFault"
The quota for this resource quota has been exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RefreshSchemas

Refresh schema

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 describe-refresh-schemas-status operation.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.RefreshSchemasInput{
    EndpointArn:            aws.String(""),
    ReplicationInstanceArn: aws.String(""),
}

result, err := svc.RefreshSchemas(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeInvalidResourceStateFault:
            fmt.Println(databasemigrationservice.ErrCodeInvalidResourceStateFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        case databasemigrationservice.ErrCodeKMSKeyNotAccessibleFault:
            fmt.Println(databasemigrationservice.ErrCodeKMSKeyNotAccessibleFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceQuotaExceededFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceQuotaExceededFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) RefreshSchemasRequest Uses

func (c *DatabaseMigrationService) RefreshSchemasRequest(input *RefreshSchemasInput) (req *request.Request, output *RefreshSchemasOutput)

RefreshSchemasRequest generates a "aws/request.Request" representing the client's request for the RefreshSchemas operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RefreshSchemas for more information on using the RefreshSchemas API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RefreshSchemasRequest method.
req, resp := client.RefreshSchemasRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RefreshSchemas

func (*DatabaseMigrationService) RefreshSchemasWithContext Uses

func (c *DatabaseMigrationService) RefreshSchemasWithContext(ctx aws.Context, input *RefreshSchemasInput, opts ...request.Option) (*RefreshSchemasOutput, error)

RefreshSchemasWithContext is the same as RefreshSchemas with the addition of the ability to pass a context and additional request options.

See RefreshSchemas for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) ReloadTables Uses

func (c *DatabaseMigrationService) ReloadTables(input *ReloadTablesInput) (*ReloadTablesOutput, error)

ReloadTables API operation for AWS Database Migration Service.

Reloads the target database table with the source data.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation ReloadTables for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

* ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
The resource is in a state that prevents it from being used for database
migration.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReloadTables

func (*DatabaseMigrationService) ReloadTablesRequest Uses

func (c *DatabaseMigrationService) ReloadTablesRequest(input *ReloadTablesInput) (req *request.Request, output *ReloadTablesOutput)

ReloadTablesRequest generates a "aws/request.Request" representing the client's request for the ReloadTables operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ReloadTables for more information on using the ReloadTables API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ReloadTablesRequest method.
req, resp := client.ReloadTablesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReloadTables

func (*DatabaseMigrationService) ReloadTablesWithContext Uses

func (c *DatabaseMigrationService) ReloadTablesWithContext(ctx aws.Context, input *ReloadTablesInput, opts ...request.Option) (*ReloadTablesOutput, error)

ReloadTablesWithContext is the same as ReloadTables with the addition of the ability to pass a context and additional request options.

See ReloadTables for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) RemoveTagsFromResource Uses

func (c *DatabaseMigrationService) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*RemoveTagsFromResourceOutput, error)

RemoveTagsFromResource API operation for AWS Database Migration Service.

Removes metadata tags from a DMS resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation RemoveTagsFromResource for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RemoveTagsFromResource

Remove tags from resource

Removes metadata tags from an AWS DMS resource.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.RemoveTagsFromResourceInput{
    ResourceArn: aws.String("arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E"),
}

result, err := svc.RemoveTagsFromResource(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) RemoveTagsFromResourceRequest Uses

func (c *DatabaseMigrationService) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *RemoveTagsFromResourceOutput)

RemoveTagsFromResourceRequest generates a "aws/request.Request" representing the client's request for the RemoveTagsFromResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RemoveTagsFromResource for more information on using the RemoveTagsFromResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RemoveTagsFromResourceRequest method.
req, resp := client.RemoveTagsFromResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RemoveTagsFromResource

func (*DatabaseMigrationService) RemoveTagsFromResourceWithContext Uses

func (c *DatabaseMigrationService) RemoveTagsFromResourceWithContext(ctx aws.Context, input *RemoveTagsFromResourceInput, opts ...request.Option) (*RemoveTagsFromResourceOutput, error)

RemoveTagsFromResourceWithContext is the same as RemoveTagsFromResource with the addition of the ability to pass a context and additional request options.

See RemoveTagsFromResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) StartReplicationTask Uses

func (c *DatabaseMigrationService) StartReplicationTask(input *StartReplicationTaskInput) (*StartReplicationTaskOutput, error)

StartReplicationTask API operation for AWS Database Migration Service.

Starts the replication task.

For more information about AWS DMS tasks, see Working with Migration Tasks (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.html) in the AWS Database Migration Service User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation StartReplicationTask for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

* ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
The resource is in a state that prevents it from being used for database
migration.

* ErrCodeAccessDeniedFault "AccessDeniedFault"
AWS DMS was denied access to the endpoint. Check that the role is correctly
configured.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTask

Start replication task

Starts the replication task.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.StartReplicationTaskInput{
    CdcStartTime:             parseTime("2006-01-02T15:04:05.999999999Z", "2016-12-14T13:33:20Z"),
    ReplicationTaskArn:       aws.String("arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ"),
    StartReplicationTaskType: aws.String("start-replication"),
}

result, err := svc.StartReplicationTask(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        case databasemigrationservice.ErrCodeInvalidResourceStateFault:
            fmt.Println(databasemigrationservice.ErrCodeInvalidResourceStateFault, aerr.Error())
        case databasemigrationservice.ErrCodeAccessDeniedFault:
            fmt.Println(databasemigrationservice.ErrCodeAccessDeniedFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) StartReplicationTaskAssessment Uses

func (c *DatabaseMigrationService) StartReplicationTaskAssessment(input *StartReplicationTaskAssessmentInput) (*StartReplicationTaskAssessmentOutput, error)

StartReplicationTaskAssessment API operation for AWS Database Migration Service.

Starts the replication task assessment for unsupported data types in the source database.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation StartReplicationTaskAssessment for usage and error information.

Returned Error Codes:

* ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
The resource is in a state that prevents it from being used for database
migration.

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskAssessment

func (*DatabaseMigrationService) StartReplicationTaskAssessmentRequest Uses

func (c *DatabaseMigrationService) StartReplicationTaskAssessmentRequest(input *StartReplicationTaskAssessmentInput) (req *request.Request, output *StartReplicationTaskAssessmentOutput)

StartReplicationTaskAssessmentRequest generates a "aws/request.Request" representing the client's request for the StartReplicationTaskAssessment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartReplicationTaskAssessment for more information on using the StartReplicationTaskAssessment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartReplicationTaskAssessmentRequest method.
req, resp := client.StartReplicationTaskAssessmentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskAssessment

func (*DatabaseMigrationService) StartReplicationTaskAssessmentWithContext Uses

func (c *DatabaseMigrationService) StartReplicationTaskAssessmentWithContext(ctx aws.Context, input *StartReplicationTaskAssessmentInput, opts ...request.Option) (*StartReplicationTaskAssessmentOutput, error)

StartReplicationTaskAssessmentWithContext is the same as StartReplicationTaskAssessment with the addition of the ability to pass a context and additional request options.

See StartReplicationTaskAssessment for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) StartReplicationTaskRequest Uses

func (c *DatabaseMigrationService) StartReplicationTaskRequest(input *StartReplicationTaskInput) (req *request.Request, output *StartReplicationTaskOutput)

StartReplicationTaskRequest generates a "aws/request.Request" representing the client's request for the StartReplicationTask operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartReplicationTask for more information on using the StartReplicationTask API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartReplicationTaskRequest method.
req, resp := client.StartReplicationTaskRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTask

func (*DatabaseMigrationService) StartReplicationTaskWithContext Uses

func (c *DatabaseMigrationService) StartReplicationTaskWithContext(ctx aws.Context, input *StartReplicationTaskInput, opts ...request.Option) (*StartReplicationTaskOutput, error)

StartReplicationTaskWithContext is the same as StartReplicationTask with the addition of the ability to pass a context and additional request options.

See StartReplicationTask for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) StopReplicationTask Uses

func (c *DatabaseMigrationService) StopReplicationTask(input *StopReplicationTaskInput) (*StopReplicationTaskOutput, error)

StopReplicationTask API operation for AWS Database Migration Service.

Stops the replication task.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation StopReplicationTask for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

* ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
The resource is in a state that prevents it from being used for database
migration.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StopReplicationTask

Stop replication task

Stops the replication task.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.StopReplicationTaskInput{
    ReplicationTaskArn: aws.String("arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E"),
}

result, err := svc.StopReplicationTask(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        case databasemigrationservice.ErrCodeInvalidResourceStateFault:
            fmt.Println(databasemigrationservice.ErrCodeInvalidResourceStateFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) StopReplicationTaskRequest Uses

func (c *DatabaseMigrationService) StopReplicationTaskRequest(input *StopReplicationTaskInput) (req *request.Request, output *StopReplicationTaskOutput)

StopReplicationTaskRequest generates a "aws/request.Request" representing the client's request for the StopReplicationTask operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StopReplicationTask for more information on using the StopReplicationTask API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StopReplicationTaskRequest method.
req, resp := client.StopReplicationTaskRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StopReplicationTask

func (*DatabaseMigrationService) StopReplicationTaskWithContext Uses

func (c *DatabaseMigrationService) StopReplicationTaskWithContext(ctx aws.Context, input *StopReplicationTaskInput, opts ...request.Option) (*StopReplicationTaskOutput, error)

StopReplicationTaskWithContext is the same as StopReplicationTask with the addition of the ability to pass a context and additional request options.

See StopReplicationTask for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) TestConnection Uses

func (c *DatabaseMigrationService) TestConnection(input *TestConnectionInput) (*TestConnectionOutput, error)

TestConnection API operation for AWS Database Migration Service.

Tests the connection between the replication instance and the endpoint.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Database Migration Service's API operation TestConnection for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
The resource could not be found.

* ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
The resource is in a state that prevents it from being used for database
migration.

* ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault"
AWS DMS cannot access the AWS KMS key.

* ErrCodeResourceQuotaExceededFault "ResourceQuotaExceededFault"
The quota for this resource quota has been exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TestConnection

Test conection

Tests the connection between the replication instance and the endpoint.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.TestConnectionInput{
    EndpointArn:            aws.String("arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM"),
    ReplicationInstanceArn: aws.String("arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ"),
}

result, err := svc.TestConnection(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case databasemigrationservice.ErrCodeResourceNotFoundFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
        case databasemigrationservice.ErrCodeInvalidResourceStateFault:
            fmt.Println(databasemigrationservice.ErrCodeInvalidResourceStateFault, aerr.Error())
        case databasemigrationservice.ErrCodeKMSKeyNotAccessibleFault:
            fmt.Println(databasemigrationservice.ErrCodeKMSKeyNotAccessibleFault, aerr.Error())
        case databasemigrationservice.ErrCodeResourceQuotaExceededFault:
            fmt.Println(databasemigrationservice.ErrCodeResourceQuotaExceededFault, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*DatabaseMigrationService) TestConnectionRequest Uses

func (c *DatabaseMigrationService) TestConnectionRequest(input *TestConnectionInput) (req *request.Request, output *TestConnectionOutput)

TestConnectionRequest generates a "aws/request.Request" representing the client's request for the TestConnection operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TestConnection for more information on using the TestConnection API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TestConnectionRequest method.
req, resp := client.TestConnectionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TestConnection

func (*DatabaseMigrationService) TestConnectionWithContext Uses

func (c *DatabaseMigrationService) TestConnectionWithContext(ctx aws.Context, input *TestConnectionInput, opts ...request.Option) (*TestConnectionOutput, error)

TestConnectionWithContext is the same as TestConnection with the addition of the ability to pass a context and additional request options.

See TestConnection for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) WaitUntilEndpointDeleted Uses

func (c *DatabaseMigrationService) WaitUntilEndpointDeleted(input *DescribeEndpointsInput) error

WaitUntilEndpointDeleted uses the AWS Database Migration Service API operation DescribeEndpoints to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*DatabaseMigrationService) WaitUntilEndpointDeletedWithContext Uses

func (c *DatabaseMigrationService) WaitUntilEndpointDeletedWithContext(ctx aws.Context, input *DescribeEndpointsInput, opts ...request.WaiterOption) error

WaitUntilEndpointDeletedWithContext is an extended version of WaitUntilEndpointDeleted. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) WaitUntilReplicationInstanceAvailable Uses

func (c *DatabaseMigrationService) WaitUntilReplicationInstanceAvailable(input *DescribeReplicationInstancesInput) error

WaitUntilReplicationInstanceAvailable uses the AWS Database Migration Service API operation DescribeReplicationInstances to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*DatabaseMigrationService) WaitUntilReplicationInstanceAvailableWithContext Uses

func (c *DatabaseMigrationService) WaitUntilReplicationInstanceAvailableWithContext(ctx aws.Context, input *DescribeReplicationInstancesInput, opts ...request.WaiterOption) error

WaitUntilReplicationInstanceAvailableWithContext is an extended version of WaitUntilReplicationInstanceAvailable. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) WaitUntilReplicationInstanceDeleted Uses

func (c *DatabaseMigrationService) WaitUntilReplicationInstanceDeleted(input *DescribeReplicationInstancesInput) error

WaitUntilReplicationInstanceDeleted uses the AWS Database Migration Service API operation DescribeReplicationInstances to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*DatabaseMigrationService) WaitUntilReplicationInstanceDeletedWithContext Uses

func (c *DatabaseMigrationService) WaitUntilReplicationInstanceDeletedWithContext(ctx aws.Context, input *DescribeReplicationInstancesInput, opts ...request.WaiterOption) error

WaitUntilReplicationInstanceDeletedWithContext is an extended version of WaitUntilReplicationInstanceDeleted. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) WaitUntilReplicationTaskDeleted Uses

func (c *DatabaseMigrationService) WaitUntilReplicationTaskDeleted(input *DescribeReplicationTasksInput) error

WaitUntilReplicationTaskDeleted uses the AWS Database Migration Service API operation DescribeReplicationTasks to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*DatabaseMigrationService) WaitUntilReplicationTaskDeletedWithContext Uses

func (c *DatabaseMigrationService) WaitUntilReplicationTaskDeletedWithContext(ctx aws.Context, input *DescribeReplicationTasksInput, opts ...request.WaiterOption) error

WaitUntilReplicationTaskDeletedWithContext is an extended version of WaitUntilReplicationTaskDeleted. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) WaitUntilReplicationTaskReady Uses

func (c *DatabaseMigrationService) WaitUntilReplicationTaskReady(input *DescribeReplicationTasksInput) error

WaitUntilReplicationTaskReady uses the AWS Database Migration Service API operation DescribeReplicationTasks to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*DatabaseMigrationService) WaitUntilReplicationTaskReadyWithContext Uses

func (c *DatabaseMigrationService) WaitUntilReplicationTaskReadyWithContext(ctx aws.Context, input *DescribeReplicationTasksInput, opts ...request.WaiterOption) error

WaitUntilReplicationTaskReadyWithContext is an extended version of WaitUntilReplicationTaskReady. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) WaitUntilReplicationTaskRunning Uses

func (c *DatabaseMigrationService) WaitUntilReplicationTaskRunning(input *DescribeReplicationTasksInput) error

WaitUntilReplicationTaskRunning uses the AWS Database Migration Service API operation DescribeReplicationTasks to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*DatabaseMigrationService) WaitUntilReplicationTaskRunningWithContext Uses

func (c *DatabaseMigrationService) WaitUntilReplicationTaskRunningWithContext(ctx aws.Context, input *DescribeReplicationTasksInput, opts ...request.WaiterOption) error

WaitUntilReplicationTaskRunningWithContext is an extended version of WaitUntilReplicationTaskRunning. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) WaitUntilReplicationTaskStopped Uses

func (c *DatabaseMigrationService) WaitUntilReplicationTaskStopped(input *DescribeReplicationTasksInput) error

WaitUntilReplicationTaskStopped uses the AWS Database Migration Service API operation DescribeReplicationTasks to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*DatabaseMigrationService) WaitUntilReplicationTaskStoppedWithContext Uses

func (c *DatabaseMigrationService) WaitUntilReplicationTaskStoppedWithContext(ctx aws.Context, input *DescribeReplicationTasksInput, opts ...request.WaiterOption) error

WaitUntilReplicationTaskStoppedWithContext is an extended version of WaitUntilReplicationTaskStopped. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DatabaseMigrationService) WaitUntilTestConnectionSucceeds Uses

func (c *DatabaseMigrationService) WaitUntilTestConnectionSucceeds(input *DescribeConnectionsInput) error

WaitUntilTestConnectionSucceeds uses the AWS Database Migration Service API operation DescribeConnections to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*DatabaseMigrationService) WaitUntilTestConnectionSucceedsWithContext Uses

func (c *DatabaseMigrationService) WaitUntilTestConnectionSucceedsWithContext(ctx aws.Context, input *DescribeConnectionsInput, opts ...request.WaiterOption) error

WaitUntilTestConnectionSucceedsWithContext is an extended version of WaitUntilTestConnectionSucceeds. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type DeleteCertificateInput Uses

type DeleteCertificateInput struct {

    // The Amazon Resource Name (ARN) of the deleted certificate.
    //
    // CertificateArn is a required field
    CertificateArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteCertificateInput) GoString Uses

func (s DeleteCertificateInput) GoString() string

GoString returns the string representation

func (*DeleteCertificateInput) SetCertificateArn Uses

func (s *DeleteCertificateInput) SetCertificateArn(v string) *DeleteCertificateInput

SetCertificateArn sets the CertificateArn field's value.

func (DeleteCertificateInput) String Uses

func (s DeleteCertificateInput) String() string

String returns the string representation

func (*DeleteCertificateInput) Validate Uses

func (s *DeleteCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteCertificateOutput Uses

type DeleteCertificateOutput struct {

    // The Secure Sockets Layer (SSL) certificate.
    Certificate *Certificate `type:"structure"`
    // contains filtered or unexported fields
}

func (DeleteCertificateOutput) GoString Uses

func (s DeleteCertificateOutput) GoString() string

GoString returns the string representation

func (*DeleteCertificateOutput) SetCertificate Uses

func (s *DeleteCertificateOutput) SetCertificate(v *Certificate) *DeleteCertificateOutput

SetCertificate sets the Certificate field's value.

func (DeleteCertificateOutput) String Uses

func (s DeleteCertificateOutput) String() string

String returns the string representation

type DeleteEndpointInput Uses

type DeleteEndpointInput struct {

    // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
    //
    // EndpointArn is a required field
    EndpointArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteEndpointInput) GoString Uses

func (s DeleteEndpointInput) GoString() string

GoString returns the string representation

func (*DeleteEndpointInput) SetEndpointArn Uses

func (s *DeleteEndpointInput) SetEndpointArn(v string) *DeleteEndpointInput

SetEndpointArn sets the EndpointArn field's value.

func (DeleteEndpointInput) String Uses

func (s DeleteEndpointInput) String() string

String returns the string representation

func (*DeleteEndpointInput) Validate Uses

func (s *DeleteEndpointInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteEndpointOutput Uses

type DeleteEndpointOutput struct {

    // The endpoint that was deleted.
    Endpoint *Endpoint `type:"structure"`
    // contains filtered or unexported fields
}

func (DeleteEndpointOutput) GoString Uses

func (s DeleteEndpointOutput) GoString() string

GoString returns the string representation

func (*DeleteEndpointOutput) SetEndpoint Uses

func (s *DeleteEndpointOutput) SetEndpoint(v *Endpoint) *DeleteEndpointOutput

SetEndpoint sets the Endpoint field's value.

func (DeleteEndpointOutput) String Uses

func (s DeleteEndpointOutput) String() string

String returns the string representation

type DeleteEventSubscriptionInput Uses

type DeleteEventSubscriptionInput struct {

    // The name of the DMS event notification subscription to be deleted.
    //
    // SubscriptionName is a required field
    SubscriptionName *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteEventSubscriptionInput) GoString Uses

func (s DeleteEventSubscriptionInput) GoString() string

GoString returns the string representation

func (*DeleteEventSubscriptionInput) SetSubscriptionName Uses

func (s *DeleteEventSubscriptionInput) SetSubscriptionName(v string) *DeleteEventSubscriptionInput

SetSubscriptionName sets the SubscriptionName field's value.

func (DeleteEventSubscriptionInput) String Uses

func (s DeleteEventSubscriptionInput) String() string

String returns the string representation

func (*DeleteEventSubscriptionInput) Validate Uses

func (s *DeleteEventSubscriptionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteEventSubscriptionOutput Uses

type DeleteEventSubscriptionOutput struct {

    // The event subscription that was deleted.
    EventSubscription *EventSubscription `type:"structure"`
    // contains filtered or unexported fields
}

func (DeleteEventSubscriptionOutput) GoString Uses

func (s DeleteEventSubscriptionOutput) GoString() string

GoString returns the string representation

func (*DeleteEventSubscriptionOutput) SetEventSubscription Uses

func (s *DeleteEventSubscriptionOutput) SetEventSubscription(v *EventSubscription) *DeleteEventSubscriptionOutput

SetEventSubscription sets the EventSubscription field's value.

func (DeleteEventSubscriptionOutput) String Uses

func (s DeleteEventSubscriptionOutput) String() string

String returns the string representation

type DeleteReplicationInstanceInput Uses

type DeleteReplicationInstanceInput struct {

    // The Amazon Resource Name (ARN) of the replication instance to be deleted.
    //
    // ReplicationInstanceArn is a required field
    ReplicationInstanceArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteReplicationInstanceInput) GoString Uses

func (s DeleteReplicationInstanceInput) GoString() string

GoString returns the string representation

func (*DeleteReplicationInstanceInput) SetReplicationInstanceArn Uses

func (s *DeleteReplicationInstanceInput) SetReplicationInstanceArn(v string) *DeleteReplicationInstanceInput

SetReplicationInstanceArn sets the ReplicationInstanceArn field's value.

func (DeleteReplicationInstanceInput) String Uses

func (s DeleteReplicationInstanceInput) String() string

String returns the string representation

func (*DeleteReplicationInstanceInput) Validate Uses

func (s *DeleteReplicationInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteReplicationInstanceOutput Uses

type DeleteReplicationInstanceOutput struct {

    // The replication instance that was deleted.
    ReplicationInstance *ReplicationInstance `type:"structure"`
    // contains filtered or unexported fields
}

func (DeleteReplicationInstanceOutput) GoString Uses

func (s DeleteReplicationInstanceOutput) GoString() string

GoString returns the string representation

func (*DeleteReplicationInstanceOutput) SetReplicationInstance Uses

func (s *DeleteReplicationInstanceOutput) SetReplicationInstance(v *ReplicationInstance) *DeleteReplicationInstanceOutput

SetReplicationInstance sets the ReplicationInstance field's value.

func (DeleteReplicationInstanceOutput) String Uses

func (s DeleteReplicationInstanceOutput) String() string

String returns the string representation

type DeleteReplicationSubnetGroupInput Uses

type DeleteReplicationSubnetGroupInput struct {

    // The subnet group name of the replication instance.
    //
    // ReplicationSubnetGroupIdentifier is a required field
    ReplicationSubnetGroupIdentifier *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteReplicationSubnetGroupInput) GoString Uses

func (s DeleteReplicationSubnetGroupInput) GoString() string

GoString returns the string representation

func (*DeleteReplicationSubnetGroupInput) SetReplicationSubnetGroupIdentifier Uses

func (s *DeleteReplicationSubnetGroupInput) SetReplicationSubnetGroupIdentifier(v string) *DeleteReplicationSubnetGroupInput

SetReplicationSubnetGroupIdentifier sets the ReplicationSubnetGroupIdentifier field's value.

func (DeleteReplicationSubnetGroupInput) String Uses

func (s DeleteReplicationSubnetGroupInput) String() string

String returns the string representation

func (*DeleteReplicationSubnetGroupInput) Validate Uses

func (s *DeleteReplicationSubnetGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteReplicationSubnetGroupOutput Uses

type DeleteReplicationSubnetGroupOutput struct {
    // contains filtered or unexported fields
}

func (DeleteReplicationSubnetGroupOutput) GoString Uses

func (s DeleteReplicationSubnetGroupOutput) GoString() string

GoString returns the string representation

func (DeleteReplicationSubnetGroupOutput) String Uses

func (s DeleteReplicationSubnetGroupOutput) String() string

String returns the string representation

type DeleteReplicationTaskInput Uses

type DeleteReplicationTaskInput struct {

    // The Amazon Resource Name (ARN) of the replication task to be deleted.
    //
    // ReplicationTaskArn is a required field
    ReplicationTaskArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteReplicationTaskInput) GoString Uses

func (s DeleteReplicationTaskInput) GoString() string

GoString returns the string representation

func (*DeleteReplicationTaskInput) SetReplicationTaskArn Uses

func (s *DeleteReplicationTaskInput) SetReplicationTaskArn(v string) *DeleteReplicationTaskInput

SetReplicationTaskArn sets the ReplicationTaskArn field's value.

func (DeleteReplicationTaskInput) String Uses

func (s DeleteReplicationTaskInput) String() string

String returns the string representation

func (*DeleteReplicationTaskInput) Validate Uses

func (s *DeleteReplicationTaskInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteReplicationTaskOutput Uses

type DeleteReplicationTaskOutput struct {

    // The deleted replication task.
    ReplicationTask *ReplicationTask `type:"structure"`
    // contains filtered or unexported fields
}

func (DeleteReplicationTaskOutput) GoString Uses

func (s DeleteReplicationTaskOutput) GoString() string

GoString returns the string representation

func (*DeleteReplicationTaskOutput) SetReplicationTask Uses

func (s *DeleteReplicationTaskOutput) SetReplicationTask(v *ReplicationTask) *DeleteReplicationTaskOutput

SetReplicationTask sets the ReplicationTask field's value.

func (DeleteReplicationTaskOutput) String Uses

func (s DeleteReplicationTaskOutput) String() string

String returns the string representation

type DescribeAccountAttributesInput Uses

type DescribeAccountAttributesInput struct {
    // contains filtered or unexported fields
}

func (DescribeAccountAttributesInput) GoString Uses

func (s DescribeAccountAttributesInput) GoString() string

GoString returns the string representation

func (DescribeAccountAttributesInput) String Uses

func (s DescribeAccountAttributesInput) String() string

String returns the string representation

type DescribeAccountAttributesOutput Uses

type DescribeAccountAttributesOutput struct {

    // Account quota information.
    AccountQuotas []*AccountQuota `type:"list"`

    // A unique AWS DMS identifier for an account in a particular AWS Region. The
    // value of this identifier has the following format: c99999999999. DMS uses
    // this identifier to name artifacts. For example, DMS uses this identifier
    // to name the default Amazon S3 bucket for storing task assessment reports
    // in a given AWS Region. The format of this S3 bucket name is the following:
    // dms-AccountNumber-UniqueAccountIdentifier. Here is an example name for this
    // default S3 bucket: dms-111122223333-c44445555666.
    //
    // AWS DMS supports UniqueAccountIdentifier in versions 3.1.4 and later.
    UniqueAccountIdentifier *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeAccountAttributesOutput) GoString Uses

func (s DescribeAccountAttributesOutput) GoString() string

GoString returns the string representation

func (*DescribeAccountAttributesOutput) SetAccountQuotas Uses

func (s *DescribeAccountAttributesOutput) SetAccountQuotas(v []*AccountQuota) *DescribeAccountAttributesOutput

SetAccountQuotas sets the AccountQuotas field's value.

func (*DescribeAccountAttributesOutput) SetUniqueAccountIdentifier Uses

func (s *DescribeAccountAttributesOutput) SetUniqueAccountIdentifier(v string) *DescribeAccountAttributesOutput

SetUniqueAccountIdentifier sets the UniqueAccountIdentifier field's value.

func (DescribeAccountAttributesOutput) String Uses

func (s DescribeAccountAttributesOutput) String() string

String returns the string representation

type DescribeCertificatesInput Uses

type DescribeCertificatesInput struct {

    // Filters applied to the certificate described in the form of key-value pairs.
    Filters []*Filter `type:"list"`

    // 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 vlue specified by MaxRecords.
    Marker *string `type:"string"`

    // The maximum number of records to include in the response. If more records
    // exist than the specified MaxRecords value, a pagination token called a marker
    // is included in the response so that the remaining results can be retrieved.
    //
    // Default: 10
    MaxRecords *int64 `type:"integer"`
    // contains filtered or unexported fields
}

func (DescribeCertificatesInput) GoString Uses

func (s DescribeCertificatesInput) GoString() string

GoString returns the string representation

func (*DescribeCertificatesInput) SetFilters Uses

func (s *DescribeCertificatesInput) SetFilters(v []*Filter) *DescribeCertificatesInput

SetFilters sets the Filters field's value.

func (*DescribeCertificatesInput) SetMarker Uses

func (s *DescribeCertificatesInput) SetMarker(v string) *DescribeCertificatesInput

SetMarker sets the Marker field's value.

func (*DescribeCertificatesInput) SetMaxRecords Uses

func (s *DescribeCertificatesInput) SetMaxRecords(v int64) *DescribeCertificatesInput

SetMaxRecords sets the MaxRecords field's value.

func (DescribeCertificatesInput) String Uses

func (s DescribeCertificatesInput) String() string

String returns the string representation

func (*DescribeCertificatesInput) Validate Uses

func (s *DescribeCertificatesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeCertificatesOutput Uses

type DescribeCertificatesOutput struct {

    // The Secure Sockets Layer (SSL) certificates associated with the replication
    // instance.
    Certificates []*Certificate `type:"list"`

    // The pagination token.
    Marker *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeCertificatesOutput) GoString Uses

func (s DescribeCertificatesOutput) GoString() string

GoString returns the string representation

func (*DescribeCertificatesOutput) SetCertificates Uses

func (s *DescribeCertificatesOutput) SetCertificates(v []*Certificate) *DescribeCertificatesOutput

SetCertificates sets the Certificates field's value.

func (*DescribeCertificatesOutput) SetMarker Uses

func (s *DescribeCertificatesOutput) SetMarker(v string) *DescribeCertificatesOutput

SetMarker sets the Marker field's value.

func (DescribeCertificatesOutput) String Uses

func (s DescribeCertificatesOutput) String() string

String returns the string representation

type DescribeConnectionsInput Uses

type DescribeConnectionsInput struct {

    // The filters applied to the connection.
    //
    // Valid filter names: endpoint-arn | replication-instance-arn
    Filters []*Filter `type:"list"`

    // 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 MaxRecords.
    Marker *string `type:"string"`

    // The maximum number of records to include in the response. If more records
    // exist than the specified MaxRecords 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.
    MaxRecords *int64 `type:"integer"`
    // contains filtered or unexported fields
}

func (DescribeConnectionsInput) GoString Uses

func (s DescribeConnectionsInput) GoString() string

GoString returns the string representation

func (*DescribeConnectionsInput) SetFilters Uses

func (s *DescribeConnectionsInput) SetFilters(v []*Filter) *DescribeConnectionsInput

SetFilters sets the Filters field's value.

func (*DescribeConnectionsInput) SetMarker Uses

func (s *DescribeConnectionsInput) SetMarker(v string) *DescribeConnectionsInput

SetMarker sets the Marker field's value.

func (*DescribeConnectionsInput) SetMaxRecords Uses

func (s *DescribeConnectionsInput) SetMaxRecords(v int64) *DescribeConnectionsInput

SetMaxRecords sets the MaxRecords field's value.

func (DescribeConnectionsInput) String Uses

func (s DescribeConnectionsInput) String() string

String returns the string representation

func (*DescribeConnectionsInput) Validate Uses

func (s *DescribeConnectionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeConnectionsOutput Uses

type DescribeConnectionsOutput struct {

    // A description of the connections.
    Connections []*Connection `type:"list"`

    // 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 MaxRecords.
    Marker *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeConnectionsOutput) GoString Uses

func (s DescribeConnectionsOutput) GoString() string

GoString returns the string representation

func (*DescribeConnectionsOutput) SetConnections Uses

func (s *DescribeConnectionsOutput) SetConnections(v []*Connection) *DescribeConnectionsOutput

SetConnections sets the Connections field's value.

func (*DescribeConnectionsOutput) SetMarker Uses

func (s *DescribeConnectionsOutput) SetMarker(v string) *DescribeConnectionsOutput

SetMarker sets the Marker field's value.

func (DescribeConnectionsOutput) String Uses

func (s DescribeConnectionsOutput) String() string

String returns the string representation

type DescribeEndpointTypesInput Uses

type DescribeEndpointTypesInput struct {

    // Filters applied to the describe action.
    //
    // Valid filter names: engine-name | endpoint-type
    Filters []*Filter `type:"list"`

    // 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 MaxRecords.
    Marker *string `type:"string"`

    // The maximum number of records to include in the response. If more records
    // exist than the specified MaxRecords 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.
    MaxRecords *int64 `type:"integer"`
    // contains filtered or unexported fields
}

func (DescribeEndpointTypesInput) GoString Uses

func (s DescribeEndpointTypesInput) GoString() string

GoString returns the string representation

func (*DescribeEndpointTypesInput) SetFilters Uses

func (s *DescribeEndpointTypesInput) SetFilters(v []*Filter) *DescribeEndpointTypesInput

SetFilters sets the Filters field's value.

func (*DescribeEndpointTypesInput) SetMarker Uses

func (s *DescribeEndpointTypesInput) SetMarker(v string) *DescribeEndpointTypesInput

SetMarker sets the Marker field's value.

func (*DescribeEndpointTypesInput) SetMaxRecords Uses

func (s *DescribeEndpointTypesInput) SetMaxRecords(v int64) *DescribeEndpointTypesInput

SetMaxRecords sets the MaxRecords field's value.

func (DescribeEndpointTypesInput) String Uses

func (s DescribeEndpointTypesInput) String() string

String returns the string representation

func (*DescribeEndpointTypesInput) Validate Uses

func (s *DescribeEndpointTypesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeEndpointTypesOutput Uses

type DescribeEndpointTypesOutput struct {

    // 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 MaxRecords.
    Marker *string `type:"string"`

    // The types of endpoints that are supported.
    SupportedEndpointTypes []*SupportedEndpointType `type:"list"`
    // contains filtered or unexported fields
}

func (DescribeEndpointTypesOutput) GoString Uses

func (s DescribeEndpointTypesOutput) GoString() string

GoString returns the string representation

func (*DescribeEndpointTypesOutput) SetMarker Uses

func (s *DescribeEndpointTypesOutput) SetMarker(v string) *DescribeEndpointTypesOutput

SetMarker sets the Marker field's value.

func (*DescribeEndpointTypesOutput) SetSupportedEndpointTypes Uses

func (s *DescribeEndpointTypesOutput) SetSupportedEndpointTypes(v []*SupportedEndpointType) *DescribeEndpointTypesOutput

SetSupportedEndpointTypes sets the SupportedEndpointTypes field's value.

func (DescribeEndpointTypesOutput) String Uses

func (s DescribeEndpointTypesOutput) String() string

String returns the string representation

type DescribeEndpointsInput Uses

type DescribeEndpointsInput struct {

    // Filters applied to the describe action.
    //
    // Valid filter names: endpoint-arn | endpoint-type | endpoint-id | engine-name
    Filters []*Filter `type:"list"`

    // 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 MaxRecords.
    Marker *string `type:"string"`

    // The maximum number of records to include in the response. If more records
    // exist than the specified MaxRecords 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.
    MaxRecords *int64 `type:"integer"`
    // contains filtered or unexported fields
}

func (DescribeEndpointsInput) GoString Uses

func (s DescribeEndpointsInput) GoString() string

GoString returns the string representation

func (*DescribeEndpointsInput) SetFilters Uses

func (s *DescribeEndpointsInput) SetFilters(v []*Filter) *DescribeEndpointsInput

SetFilters sets the Filters field's value.

func (*DescribeEndpointsInput) SetMarker Uses

func (s *DescribeEndpointsInput) SetMarker(v string) *DescribeEndpointsInput

SetMarker sets the Marker field's value.

func (*DescribeEndpointsInput) SetMaxRecords Uses

func (s *DescribeEndpointsInput) SetMaxRecords(v int64) *DescribeEndpointsInput

SetMaxRecords sets the MaxRecords field's value.

func (DescribeEndpointsInput) String Uses

func (s DescribeEndpointsInput) String() string

String returns the string representation

func (*DescribeEndpointsInput) Validate Uses

func (s *DescribeEndpointsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeEndpointsOutput Uses

type DescribeEndpointsOutput struct {

    // Endpoint description.
    Endpoints []*Endpoint `type:"list"`

    // 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 MaxRecords.
    Marker *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeEndpointsOutput) GoString Uses

func (s DescribeEndpointsOutput) GoString() string

GoString returns the string representation

func (*DescribeEndpointsOutput) SetEndpoints Uses

func (s *DescribeEndpointsOutput) SetEndpoints(v []*Endpoint) *DescribeEndpointsOutput

SetEndpoints sets the Endpoints field's value.

func (*DescribeEndpointsOutput) SetMarker Uses

func (s *DescribeEndpointsOutput) SetMarker(v string) *DescribeEndpointsOutput

SetMarker sets the Marker field's value.

func (DescribeEndpointsOutput) String Uses

func (s DescribeEndpointsOutput) String() string

String returns the string representation

type DescribeEventCategoriesInput Uses

type DescribeEventCategoriesInput struct {

    // Filters applied to the action.
    Filters []*Filter `type:"list"`

    // The type of AWS DMS resource that generates events.
    //
    // Valid values: replication-instance | replication-task
    SourceType *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeEventCategoriesInput) GoString Uses

func (s DescribeEventCategoriesInput) GoString() string

GoString returns the string representation

func (*DescribeEventCategoriesInput) SetFilters Uses

func (s *DescribeEventCategoriesInput) SetFilters(v []*Filter) *DescribeEventCategoriesInput

SetFilters sets the Filters field's value.

func (*DescribeEventCategoriesInput) SetSourceType Uses

func (s *DescribeEventCategoriesInput) SetSourceType(v string) *DescribeEventCategoriesInput

SetSourceType sets the SourceType field's value.

func (DescribeEventCategoriesInput) String Uses

func (s DescribeEventCategoriesInput) String() string

String returns the string representation

func (*DescribeEventCategoriesInput) Validate Uses

func (s *DescribeEventCategoriesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeEventCategoriesOutput Uses

type DescribeEventCategoriesOutput struct {

    // A list of event categories.
    EventCategoryGroupList []*EventCategoryGroup `type:"list"`
    // contains filtered or unexported fields
}

func (DescribeEventCategoriesOutput) GoString Uses

func (s DescribeEventCategoriesOutput) GoString() string

GoString returns the string representation

func (*DescribeEventCategoriesOutput) SetEventCategoryGroupList Uses

func (s *DescribeEventCategoriesOutput) SetEventCategoryGroupList(v []*EventCategoryGroup) *DescribeEventCategoriesOutput

SetEventCategoryGroupList sets the EventCategoryGroupList field's value.

func (DescribeEventCategoriesOutput) String Uses

func (s DescribeEventCategoriesOutput) String() string

String returns the string representation

type DescribeEventSubscriptionsInput Uses

type DescribeEventSubscriptionsInput struct {

    // Filters applied to the action.
    Filters []*Filter `type:"list"`

    // 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 MaxRecords.
    Marker *string `type:"string"`

    // The maximum number of records to include in the response. If more records
    // exist than the specified MaxRecords 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.
    MaxRecords *int64 `type:"integer"`

    // The name of the AWS DMS event subscription to be described.
    SubscriptionName *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeEventSubscriptionsInput) GoString Uses

func (s DescribeEventSubscriptionsInput) GoString() string

GoString returns the string representation

func (*DescribeEventSubscriptionsInput) SetFilters Uses

func (s *DescribeEventSubscriptionsInput) SetFilters(v []*Filter) *DescribeEventSubscriptionsInput

SetFilters sets the Filters field's value.

func (*DescribeEventSubscriptionsInput) SetMarker Uses

func (s *DescribeEventSubscriptionsInput) SetMarker(v string) *DescribeEventSubscriptionsInput

SetMarker sets the Marker field's value.

func (*DescribeEventSubscriptionsInput) SetMaxRecords Uses

func (s *DescribeEventSubscriptionsInput) SetMaxRecords(v int64) *DescribeEventSubscriptionsInput

SetMaxRecords sets the MaxRecords field's value.

func (*DescribeEventSubscriptionsInput) SetSubscriptionName Uses

func (s *DescribeEventSubscriptionsInput) SetSubscriptionName(v string) *DescribeEventSubscriptionsInput

SetSubscriptionName sets the SubscriptionName field's value.

func (DescribeEventSubscriptionsInput) String Uses

func (s DescribeEventSubscriptionsInput) String() string

String returns the string representation

func (*DescribeEventSubscriptionsInput) Validate Uses

func (s *DescribeEventSubscriptionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeEventSubscriptionsOutput Uses

type DescribeEventSubscriptionsOutput struct {

    // A list of event subscriptions.
    EventSubscriptionsList []*EventSubscription `type:"list"`

    // 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 MaxRecords.
    Marker *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeEventSubscriptionsOutput) GoString Uses

func (s DescribeEventSubscriptionsOutput) GoString() string

GoString returns the string representation

func (*DescribeEventSubscriptionsOutput) SetEventSubscriptionsList Uses

func (s *DescribeEventSubscriptionsOutput) SetEventSubscriptionsList(v []*EventSubscription) *DescribeEventSubscriptionsOutput

SetEventSubscriptionsList sets the EventSubscriptionsList field's value.

func (*DescribeEventSubscriptionsOutput) SetMarker Uses

func (s *DescribeEventSubscriptionsOutput) SetMarker(v string) *DescribeEventSubscriptionsOutput

SetMarker sets the Marker field's value.

func (DescribeEventSubscriptionsOutput) String Uses

func (s DescribeEventSubscriptionsOutput) String() string

String returns the string representation

type DescribeEventsInput Uses

type DescribeEventsInput struct {

    // The duration of the events to be listed.
    Duration *int64 `type:"integer"`

    // The end time for the events to be listed.
    EndTime *time.Time `type:"timestamp"`

    // A list of event categories for the source type that you've chosen.
    EventCategories []*string `type:"list"`

    // Filters applied to the action.
    Filters []*Filter `type:"list"`

    // 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 MaxRecords.
    Marker *string `type:"string"`

    // The maximum number of records to include in the response. If more records
    // exist than the specified MaxRecords 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.
    MaxRecords *int64 `type:"integer"`

    // The identifier of an event source.
    SourceIdentifier *string `type:"string"`

    // The type of AWS DMS resource that generates events.
    //
    // Valid values: replication-instance | replication-task
    SourceType *string `type:"string" enum:"SourceType"`

    // The start time for the events to be listed.
    StartTime *time.Time `type:"timestamp"`
    // contains filtered or unexported fields
}

func (DescribeEventsInput) GoString Uses

func (s DescribeEventsInput) GoString() string

GoString returns the string representation

func (*DescribeEventsInput) SetDuration Uses

func (s *DescribeEventsInput) SetDuration(v int64) *DescribeEventsInput

SetDuration sets the Duration field's value.

func (*DescribeEventsInput) SetEndTime Uses

func (s *DescribeEventsInput) SetEndTime(v time.Time) *DescribeEventsInput

SetEndTime sets the EndTime field's value.

func (*DescribeEventsInput) SetEventCategories Uses

func (s *DescribeEventsInput) SetEventCategories(v []*string) *DescribeEventsInput

SetEventCategories sets the EventCategories field's value.

func (*DescribeEventsInput) SetFilters Uses

func (s *DescribeEventsInput) SetFilters(v []*Filter) *DescribeEventsInput

SetFilters sets the Filters field's value.

func (*DescribeEventsInput) SetMarker Uses

func (s *DescribeEventsInput) SetMarker(v string) *DescribeEventsInput

SetMarker sets the Marker field's value.

func (*DescribeEventsInput) SetMaxRecords Uses

func (s *DescribeEventsInput) SetMaxRecords(v int64) *DescribeEventsInput

SetMaxRecords sets the MaxRecords field's value.

func (*DescribeEventsInput) SetSourceIdentifier Uses

func (s *DescribeEventsInput) SetSourceIdentifier(v string) *DescribeEventsInput

SetSourceIdentifier sets the SourceIdentifier field's value.

func (*DescribeEventsInput) SetSourceType Uses

func (s *DescribeEventsInput) SetSourceType(v string) *DescribeEventsInput

SetSourceType sets the SourceType field's value.

func (*DescribeEventsInput) SetStartTime Uses

func (s *DescribeEventsInput) SetStartTime(v time.Time) *DescribeEventsInput

SetStartTime sets the StartTime field's value.

func (DescribeEventsInput) String Uses

func (s DescribeEventsInput) String() string

String returns the string representation

func (*DescribeEventsInput) Validate Uses

func (s *DescribeEventsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeEventsOutput Uses

type DescribeEventsOutput struct {

    // The events described.
    Events []*Event `type:"list"`

    // 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 MaxRecords.
    Marker *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeEventsOutput) GoString Uses

func (s DescribeEventsOutput) GoString() string

GoString returns the string representation

func (*DescribeEventsOutput) SetEvents Uses

func (s *DescribeEventsOutput) SetEvents(v []*Event) *DescribeEventsOutput

SetEvents sets the Events field's value.

func (*DescribeEventsOutput) SetMarker Uses

func (s *DescribeEventsOutput) SetMarker(v string) *DescribeEventsOutput

SetMarker sets the Marker field's value.

func (DescribeEventsOutput) String Uses

func (s DescribeEventsOutput) String() string

String returns the string representation

type DescribeOrderableReplicationInstancesInput Uses

type DescribeOrderableReplicationInstancesInput struct {

    // 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 MaxRecords.
    Marker *string `type:"string"`

    // The maximum number of records to include in the response. If more records
    // exist than the specified MaxRecords 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.
    MaxRecords *int64 `type:"integer"`
    // contains filtered or unexported fields
}

func (DescribeOrderableReplicationInstancesInput) GoString Uses

func (s DescribeOrderableReplicationInstancesInput) GoString() string

GoString returns the string representation

func (*DescribeOrderableReplicationInstancesInput) SetMarker Uses

func (s *DescribeOrderableReplicationInstancesInput) SetMarker(v string) *DescribeOrderableReplicationInstancesInput

SetMarker sets the Marker field's value.

func (*DescribeOrderableReplicationInstancesInput) SetMaxRecords Uses

func (s *DescribeOrderableReplicationInstancesInput) SetMaxRecords(v int64) *DescribeOrderableReplicationInstancesInput

SetMaxRecords sets the MaxRecords field's value.

func (DescribeOrderableReplicationInstancesInput) String Uses

func (s DescribeOrderableReplicationInstancesInput) String() string

String returns the string representation

type DescribeOrderableReplicationInstancesOutput Uses

type DescribeOrderableReplicationInstancesOutput struct {

    // 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 MaxRecords.
    Marker *string `type:"string"`

    // The order-able replication instances available.
    OrderableReplicationInstances []*OrderableReplicationInstance `type:"list"`
    // contains filtered or unexported fields
}

func (DescribeOrderableReplicationInstancesOutput) GoString Uses

func (s DescribeOrderableReplicationInstancesOutput) GoString() string

GoString returns the string representation

func (*DescribeOrderableReplicationInstancesOutput) SetMarker Uses

func (s *DescribeOrderableReplicationInstancesOutput) SetMarker(v string) *DescribeOrderableReplicationInstancesOutput

SetMarker sets the Marker field's value.

func (*DescribeOrderableReplicationInstancesOutput) SetOrderableReplicationInstances Uses

func (s *DescribeOrderableReplicationInstancesOutput) SetOrderableReplicationInstances(v []*OrderableReplicationInstance) *DescribeOrderableReplicationInstancesOutput

SetOrderableReplicationInstances sets the OrderableReplicationInstances field's value.

func (DescribeOrderableReplicationInstancesOutput) String Uses

func (s DescribeOrderableReplicationInstancesOutput) String() string

String returns the string representation

type DescribePendingMaintenanceActionsInput Uses

type DescribePendingMaintenanceActionsInput struct {
    Filters []*Filter `type:"list"`

    // 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 MaxRecords.
    Marker *string `type:"string"`

    // The maximum number of records to include in the response. If more records
    // exist than the specified MaxRecords 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.
    MaxRecords *int64 `type:"integer"`

    // The Amazon Resource Name (ARN) of the replication instance.
    ReplicationInstanceArn *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribePendingMaintenanceActionsInput) GoString Uses

func (s DescribePendingMaintenanceActionsInput) GoString() string

GoString returns the string representation

func (*DescribePendingMaintenanceActionsInput) SetFilters Uses

func (s *DescribePendingMaintenanceActionsInput) SetFilters(v []*Filter) *DescribePendingMaintenanceActionsInput

SetFilters sets the Filters field's value.

func (*DescribePendingMaintenanceActionsInput) SetMarker Uses

func (s *DescribePendingMaintenanceActionsInput) SetMarker(v string) *DescribePendingMaintenanceActionsInput

SetMarker sets the Marker field's value.

func (*DescribePendingMaintenanceActionsInput) SetMaxRecords Uses

func (s *DescribePendingMaintenanceActionsInput) SetMaxRecords(v int64) *DescribePendingMaintenanceActionsInput

SetMaxRecords sets the MaxRecords field's value.

func (*DescribePendingMaintenanceActionsInput) SetReplicationInstanceArn Uses

func (s *DescribePendingMaintenanceActionsInput) SetReplicationInstanceArn(v string) *DescribePendingMaintenanceActionsInput

SetReplicationInstanceArn sets the ReplicationInstanceArn field's value.

func (DescribePendingMaintenanceActionsInput) String Uses

func (s DescribePendingMaintenanceActionsInput) String() string

String returns the string representation

func (*DescribePendingMaintenanceActionsInput) Validate Uses

func (s *DescribePendingMaintenanceActionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribePendingMaintenanceActionsOutput Uses

type DescribePendingMaintenanceActionsOutput struct {

    // 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 MaxRecords.
    Marker *string `type:"string"`

    // The pending maintenance action.
    PendingMaintenanceActions []*ResourcePendingMaintenanceActions `type:"list"`
    // contains filtered or unexported fields
}

func (DescribePendingMaintenanceActionsOutput) GoString Uses

func (s DescribePendingMaintenanceActionsOutput) GoString() string

GoString returns the string representation

func (*DescribePendingMaintenanceActionsOutput) SetMarker Uses

func (s *