...
AWS SDK for Go API Reference
import "github.com/aws/aws-sdk-go/service/databasemigrationservice"
Overview
Examples
Constants

Overview ▾

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

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

The stub package, databasemigrationserviceiface, can be used to provide alternative implementations of service clients, such as mocking the client for testing.

Operations ▾

AddTagsToResource
ApplyPendingMaintenanceAction
BatchStartRecommendations
CancelReplicationTaskAssessmentRun
CreateEndpoint
CreateEventSubscription
CreateFleetAdvisorCollector
CreateReplicationInstance
CreateReplicationSubnetGroup
CreateReplicationTask
DeleteCertificate
DeleteConnection
DeleteEndpoint
DeleteEventSubscription
DeleteFleetAdvisorCollector
DeleteFleetAdvisorDatabases
DeleteReplicationInstance
DeleteReplicationSubnetGroup
DeleteReplicationTask
DeleteReplicationTaskAssessmentRun
DescribeAccountAttributes
DescribeApplicableIndividualAssessments ( Paginator )
DescribeCertificates ( Paginator )
DescribeConnections ( Paginator )
DescribeEndpointSettings ( Paginator )
DescribeEndpointTypes ( Paginator )
DescribeEndpoints ( Paginator )
DescribeEventCategories
DescribeEventSubscriptions ( Paginator )
DescribeEvents ( Paginator )
DescribeFleetAdvisorCollectors ( Paginator )
DescribeFleetAdvisorDatabases ( Paginator )
DescribeFleetAdvisorLsaAnalysis ( Paginator )
DescribeFleetAdvisorSchemaObjectSummary ( Paginator )
DescribeFleetAdvisorSchemas ( Paginator )
DescribeOrderableReplicationInstances ( Paginator )
DescribePendingMaintenanceActions ( Paginator )
DescribeRecommendationLimitations ( Paginator )
DescribeRecommendations ( Paginator )
DescribeRefreshSchemasStatus
DescribeReplicationInstanceTaskLogs ( Paginator )
DescribeReplicationInstances ( Paginator )
DescribeReplicationSubnetGroups ( Paginator )
DescribeReplicationTaskAssessmentResults ( Paginator )
DescribeReplicationTaskAssessmentRuns ( Paginator )
DescribeReplicationTaskIndividualAssessments ( Paginator )
DescribeReplicationTasks ( Paginator )
DescribeSchemas ( Paginator )
DescribeTableStatistics ( Paginator )
ImportCertificate
ListTagsForResource
ModifyEndpoint
ModifyEventSubscription
ModifyReplicationInstance
ModifyReplicationSubnetGroup
ModifyReplicationTask
MoveReplicationTask
RebootReplicationInstance
RefreshSchemas
ReloadTables
RemoveTagsFromResource
RunFleetAdvisorLsaAnalysis
StartRecommendations
StartReplicationTask
StartReplicationTaskAssessment
StartReplicationTaskAssessmentRun
StopReplicationTask
TestConnection
UpdateSubscriptionsToEventBridge

Types ▾

type DatabaseMigrationService
func New(p client.ConfigProvider, cfgs ...*aws.Config) *DatabaseMigrationService
func (c *DatabaseMigrationService) AddTagsToResource(input *AddTagsToResourceInput) (*AddTagsToResourceOutput, error)
func (c *DatabaseMigrationService) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *AddTagsToResourceOutput)
func (c *DatabaseMigrationService) AddTagsToResourceWithContext(ctx aws.Context, input *AddTagsToResourceInput, opts ...request.Option) (*AddTagsToResourceOutput, error)
func (c *DatabaseMigrationService) ApplyPendingMaintenanceAction(input *ApplyPendingMaintenanceActionInput) (*ApplyPendingMaintenanceActionOutput, error)
func (c *DatabaseMigrationService) ApplyPendingMaintenanceActionRequest(input *ApplyPendingMaintenanceActionInput) (req *request.Request, output *ApplyPendingMaintenanceActionOutput)
func (c *DatabaseMigrationService) ApplyPendingMaintenanceActionWithContext(ctx aws.Context, input *ApplyPendingMaintenanceActionInput, opts ...request.Option) (*ApplyPendingMaintenanceActionOutput, error)
func (c *DatabaseMigrationService) BatchStartRecommendations(input *BatchStartRecommendationsInput) (*BatchStartRecommendationsOutput, error)
func (c *DatabaseMigrationService) BatchStartRecommendationsRequest(input *BatchStartRecommendationsInput) (req *request.Request, output *BatchStartRecommendationsOutput)
func (c *DatabaseMigrationService) BatchStartRecommendationsWithContext(ctx aws.Context, input *BatchStartRecommendationsInput, opts ...request.Option) (*BatchStartRecommendationsOutput, error)
func (c *DatabaseMigrationService) CancelReplicationTaskAssessmentRun(input *CancelReplicationTaskAssessmentRunInput) (*CancelReplicationTaskAssessmentRunOutput, error)
func (c *DatabaseMigrationService) CancelReplicationTaskAssessmentRunRequest(input *CancelReplicationTaskAssessmentRunInput) (req *request.Request, output *CancelReplicationTaskAssessmentRunOutput)
func (c *DatabaseMigrationService) CancelReplicationTaskAssessmentRunWithContext(ctx aws.Context, input *CancelReplicationTaskAssessmentRunInput, opts ...request.Option) (*CancelReplicationTaskAssessmentRunOutput, error)
func (c *DatabaseMigrationService) CreateEndpoint(input *CreateEndpointInput) (*CreateEndpointOutput, error)
func (c *DatabaseMigrationService) CreateEndpointRequest(input *CreateEndpointInput) (req *request.Request, output *CreateEndpointOutput)
func (c *DatabaseMigrationService) CreateEndpointWithContext(ctx aws.Context, input *CreateEndpointInput, opts ...request.Option) (*CreateEndpointOutput, error)
func (c *DatabaseMigrationService) CreateEventSubscription(input *CreateEventSubscriptionInput) (*CreateEventSubscriptionOutput, error)
func (c *DatabaseMigrationService) CreateEventSubscriptionRequest(input *CreateEventSubscriptionInput) (req *request.Request, output *CreateEventSubscriptionOutput)
func (c *DatabaseMigrationService) CreateEventSubscriptionWithContext(ctx aws.Context, input *CreateEventSubscriptionInput, opts ...request.Option) (*CreateEventSubscriptionOutput, error)
func (c *DatabaseMigrationService) CreateFleetAdvisorCollector(input *CreateFleetAdvisorCollectorInput) (*CreateFleetAdvisorCollectorOutput, error)
func (c *DatabaseMigrationService) CreateFleetAdvisorCollectorRequest(input *CreateFleetAdvisorCollectorInput) (req *request.Request, output *CreateFleetAdvisorCollectorOutput)
func (c *DatabaseMigrationService) CreateFleetAdvisorCollectorWithContext(ctx aws.Context, input *CreateFleetAdvisorCollectorInput, opts ...request.Option) (*CreateFleetAdvisorCollectorOutput, error)
func (c *DatabaseMigrationService) CreateReplicationInstance(input *CreateReplicationInstanceInput) (*CreateReplicationInstanceOutput, error)
func (c *DatabaseMigrationService) CreateReplicationInstanceRequest(input *CreateReplicationInstanceInput) (req *request.Request, output *CreateReplicationInstanceOutput)
func (c *DatabaseMigrationService) CreateReplicationInstanceWithContext(ctx aws.Context, input *CreateReplicationInstanceInput, opts ...request.Option) (*CreateReplicationInstanceOutput, error)
func (c *DatabaseMigrationService) CreateReplicationSubnetGroup(input *CreateReplicationSubnetGroupInput) (*CreateReplicationSubnetGroupOutput, error)
func (c *DatabaseMigrationService) CreateReplicationSubnetGroupRequest(input *CreateReplicationSubnetGroupInput) (req *request.Request, output *CreateReplicationSubnetGroupOutput)
func (c *DatabaseMigrationService) CreateReplicationSubnetGroupWithContext(ctx aws.Context, input *CreateReplicationSubnetGroupInput, opts ...request.Option) (*CreateReplicationSubnetGroupOutput, error)
func (c *DatabaseMigrationService) CreateReplicationTask(input *CreateReplicationTaskInput) (*CreateReplicationTaskOutput, error)
func (c *DatabaseMigrationService) CreateReplicationTaskRequest(input *CreateReplicationTaskInput) (req *request.Request, output *CreateReplicationTaskOutput)
func (c *DatabaseMigrationService) CreateReplicationTaskWithContext(ctx aws.Context, input *CreateReplicationTaskInput, opts ...request.Option) (*CreateReplicationTaskOutput, error)
func (c *DatabaseMigrationService) DeleteCertificate(input *DeleteCertificateInput) (*DeleteCertificateOutput, error)
func (c *DatabaseMigrationService) DeleteCertificateRequest(input *DeleteCertificateInput) (req *request.Request, output *DeleteCertificateOutput)
func (c *DatabaseMigrationService) DeleteCertificateWithContext(ctx aws.Context, input *DeleteCertificateInput, opts ...request.Option) (*DeleteCertificateOutput, error)
func (c *DatabaseMigrationService) DeleteConnection(input *DeleteConnectionInput) (*DeleteConnectionOutput, error)
func (c *DatabaseMigrationService) DeleteConnectionRequest(input *DeleteConnectionInput) (req *request.Request, output *DeleteConnectionOutput)
func (c *DatabaseMigrationService) DeleteConnectionWithContext(ctx aws.Context, input *DeleteConnectionInput, opts ...request.Option) (*DeleteConnectionOutput, error)
func (c *DatabaseMigrationService) DeleteEndpoint(input *DeleteEndpointInput) (*DeleteEndpointOutput, error)
func (c *DatabaseMigrationService) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Request, output *DeleteEndpointOutput)
func (c *DatabaseMigrationService) DeleteEndpointWithContext(ctx aws.Context, input *DeleteEndpointInput, opts ...request.Option) (*DeleteEndpointOutput, error)
func (c *DatabaseMigrationService) DeleteEventSubscription(input *DeleteEventSubscriptionInput) (*DeleteEventSubscriptionOutput, error)
func (c *DatabaseMigrationService) DeleteEventSubscriptionRequest(input *DeleteEventSubscriptionInput) (req *request.Request, output *DeleteEventSubscriptionOutput)
func (c *DatabaseMigrationService) DeleteEventSubscriptionWithContext(ctx aws.Context, input *DeleteEventSubscriptionInput, opts ...request.Option) (*DeleteEventSubscriptionOutput, error)
func (c *DatabaseMigrationService) DeleteFleetAdvisorCollector(input *DeleteFleetAdvisorCollectorInput) (*DeleteFleetAdvisorCollectorOutput, error)
func (c *DatabaseMigrationService) DeleteFleetAdvisorCollectorRequest(input *DeleteFleetAdvisorCollectorInput) (req *request.Request, output *DeleteFleetAdvisorCollectorOutput)
func (c *DatabaseMigrationService) DeleteFleetAdvisorCollectorWithContext(ctx aws.Context, input *DeleteFleetAdvisorCollectorInput, opts ...request.Option) (*DeleteFleetAdvisorCollectorOutput, error)
func (c *DatabaseMigrationService) DeleteFleetAdvisorDatabases(input *DeleteFleetAdvisorDatabasesInput) (*DeleteFleetAdvisorDatabasesOutput, error)
func (c *DatabaseMigrationService) DeleteFleetAdvisorDatabasesRequest(input *DeleteFleetAdvisorDatabasesInput) (req *request.Request, output *DeleteFleetAdvisorDatabasesOutput)
func (c *DatabaseMigrationService) DeleteFleetAdvisorDatabasesWithContext(ctx aws.Context, input *DeleteFleetAdvisorDatabasesInput, opts ...request.Option) (*DeleteFleetAdvisorDatabasesOutput, error)
func (c *DatabaseMigrationService) DeleteReplicationInstance(input *DeleteReplicationInstanceInput) (*DeleteReplicationInstanceOutput, error)
func (c *DatabaseMigrationService) DeleteReplicationInstanceRequest(input *DeleteReplicationInstanceInput) (req *request.Request, output *DeleteReplicationInstanceOutput)
func (c *DatabaseMigrationService) DeleteReplicationInstanceWithContext(ctx aws.Context, input *DeleteReplicationInstanceInput, opts ...request.Option) (*DeleteReplicationInstanceOutput, error)
func (c *DatabaseMigrationService) DeleteReplicationSubnetGroup(input *DeleteReplicationSubnetGroupInput) (*DeleteReplicationSubnetGroupOutput, error)
func (c *DatabaseMigrationService) DeleteReplicationSubnetGroupRequest(input *DeleteReplicationSubnetGroupInput) (req *request.Request, output *DeleteReplicationSubnetGroupOutput)
func (c *DatabaseMigrationService) DeleteReplicationSubnetGroupWithContext(ctx aws.Context, input *DeleteReplicationSubnetGroupInput, opts ...request.Option) (*DeleteReplicationSubnetGroupOutput, error)
func (c *DatabaseMigrationService) DeleteReplicationTask(input *DeleteReplicationTaskInput) (*DeleteReplicationTaskOutput, error)
func (c *DatabaseMigrationService) DeleteReplicationTaskAssessmentRun(input *DeleteReplicationTaskAssessmentRunInput) (*DeleteReplicationTaskAssessmentRunOutput, error)
func (c *DatabaseMigrationService) DeleteReplicationTaskAssessmentRunRequest(input *DeleteReplicationTaskAssessmentRunInput) (req *request.Request, output *DeleteReplicationTaskAssessmentRunOutput)
func (c *DatabaseMigrationService) DeleteReplicationTaskAssessmentRunWithContext(ctx aws.Context, input *DeleteReplicationTaskAssessmentRunInput, opts ...request.Option) (*DeleteReplicationTaskAssessmentRunOutput, error)
func (c *DatabaseMigrationService) DeleteReplicationTaskRequest(input *DeleteReplicationTaskInput) (req *request.Request, output *DeleteReplicationTaskOutput)
func (c *DatabaseMigrationService) DeleteReplicationTaskWithContext(ctx aws.Context, input *DeleteReplicationTaskInput, opts ...request.Option) (*DeleteReplicationTaskOutput, error)
func (c *DatabaseMigrationService) DescribeAccountAttributes(input *DescribeAccountAttributesInput) (*DescribeAccountAttributesOutput, error)
func (c *DatabaseMigrationService) DescribeAccountAttributesRequest(input *DescribeAccountAttributesInput) (req *request.Request, output *DescribeAccountAttributesOutput)
func (c *DatabaseMigrationService) DescribeAccountAttributesWithContext(ctx aws.Context, input *DescribeAccountAttributesInput, opts ...request.Option) (*DescribeAccountAttributesOutput, error)
func (c *DatabaseMigrationService) DescribeApplicableIndividualAssessments(input *DescribeApplicableIndividualAssessmentsInput) (*DescribeApplicableIndividualAssessmentsOutput, error)
func (c *DatabaseMigrationService) DescribeApplicableIndividualAssessmentsPages(input *DescribeApplicableIndividualAssessmentsInput, fn func(*DescribeApplicableIndividualAssessmentsOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeApplicableIndividualAssessmentsPagesWithContext(ctx aws.Context, input *DescribeApplicableIndividualAssessmentsInput, fn func(*DescribeApplicableIndividualAssessmentsOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeApplicableIndividualAssessmentsRequest(input *DescribeApplicableIndividualAssessmentsInput) (req *request.Request, output *DescribeApplicableIndividualAssessmentsOutput)
func (c *DatabaseMigrationService) DescribeApplicableIndividualAssessmentsWithContext(ctx aws.Context, input *DescribeApplicableIndividualAssessmentsInput, opts ...request.Option) (*DescribeApplicableIndividualAssessmentsOutput, error)
func (c *DatabaseMigrationService) DescribeCertificates(input *DescribeCertificatesInput) (*DescribeCertificatesOutput, error)
func (c *DatabaseMigrationService) DescribeCertificatesPages(input *DescribeCertificatesInput, fn func(*DescribeCertificatesOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeCertificatesPagesWithContext(ctx aws.Context, input *DescribeCertificatesInput, fn func(*DescribeCertificatesOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeCertificatesRequest(input *DescribeCertificatesInput) (req *request.Request, output *DescribeCertificatesOutput)
func (c *DatabaseMigrationService) DescribeCertificatesWithContext(ctx aws.Context, input *DescribeCertificatesInput, opts ...request.Option) (*DescribeCertificatesOutput, error)
func (c *DatabaseMigrationService) DescribeConnections(input *DescribeConnectionsInput) (*DescribeConnectionsOutput, error)
func (c *DatabaseMigrationService) DescribeConnectionsPages(input *DescribeConnectionsInput, fn func(*DescribeConnectionsOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeConnectionsPagesWithContext(ctx aws.Context, input *DescribeConnectionsInput, fn func(*DescribeConnectionsOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeConnectionsRequest(input *DescribeConnectionsInput) (req *request.Request, output *DescribeConnectionsOutput)
func (c *DatabaseMigrationService) DescribeConnectionsWithContext(ctx aws.Context, input *DescribeConnectionsInput, opts ...request.Option) (*DescribeConnectionsOutput, error)
func (c *DatabaseMigrationService) DescribeEndpointSettings(input *DescribeEndpointSettingsInput) (*DescribeEndpointSettingsOutput, error)
func (c *DatabaseMigrationService) DescribeEndpointSettingsPages(input *DescribeEndpointSettingsInput, fn func(*DescribeEndpointSettingsOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeEndpointSettingsPagesWithContext(ctx aws.Context, input *DescribeEndpointSettingsInput, fn func(*DescribeEndpointSettingsOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeEndpointSettingsRequest(input *DescribeEndpointSettingsInput) (req *request.Request, output *DescribeEndpointSettingsOutput)
func (c *DatabaseMigrationService) DescribeEndpointSettingsWithContext(ctx aws.Context, input *DescribeEndpointSettingsInput, opts ...request.Option) (*DescribeEndpointSettingsOutput, error)
func (c *DatabaseMigrationService) DescribeEndpointTypes(input *DescribeEndpointTypesInput) (*DescribeEndpointTypesOutput, error)
func (c *DatabaseMigrationService) DescribeEndpointTypesPages(input *DescribeEndpointTypesInput, fn func(*DescribeEndpointTypesOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeEndpointTypesPagesWithContext(ctx aws.Context, input *DescribeEndpointTypesInput, fn func(*DescribeEndpointTypesOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeEndpointTypesRequest(input *DescribeEndpointTypesInput) (req *request.Request, output *DescribeEndpointTypesOutput)
func (c *DatabaseMigrationService) DescribeEndpointTypesWithContext(ctx aws.Context, input *DescribeEndpointTypesInput, opts ...request.Option) (*DescribeEndpointTypesOutput, error)
func (c *DatabaseMigrationService) DescribeEndpoints(input *DescribeEndpointsInput) (*DescribeEndpointsOutput, error)
func (c *DatabaseMigrationService) DescribeEndpointsPages(input *DescribeEndpointsInput, fn func(*DescribeEndpointsOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeEndpointsPagesWithContext(ctx aws.Context, input *DescribeEndpointsInput, fn func(*DescribeEndpointsOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeEndpointsRequest(input *DescribeEndpointsInput) (req *request.Request, output *DescribeEndpointsOutput)
func (c *DatabaseMigrationService) DescribeEndpointsWithContext(ctx aws.Context, input *DescribeEndpointsInput, opts ...request.Option) (*DescribeEndpointsOutput, error)
func (c *DatabaseMigrationService) DescribeEventCategories(input *DescribeEventCategoriesInput) (*DescribeEventCategoriesOutput, error)
func (c *DatabaseMigrationService) DescribeEventCategoriesRequest(input *DescribeEventCategoriesInput) (req *request.Request, output *DescribeEventCategoriesOutput)
func (c *DatabaseMigrationService) DescribeEventCategoriesWithContext(ctx aws.Context, input *DescribeEventCategoriesInput, opts ...request.Option) (*DescribeEventCategoriesOutput, error)
func (c *DatabaseMigrationService) DescribeEventSubscriptions(input *DescribeEventSubscriptionsInput) (*DescribeEventSubscriptionsOutput, error)
func (c *DatabaseMigrationService) DescribeEventSubscriptionsPages(input *DescribeEventSubscriptionsInput, fn func(*DescribeEventSubscriptionsOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeEventSubscriptionsPagesWithContext(ctx aws.Context, input *DescribeEventSubscriptionsInput, fn func(*DescribeEventSubscriptionsOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeEventSubscriptionsRequest(input *DescribeEventSubscriptionsInput) (req *request.Request, output *DescribeEventSubscriptionsOutput)
func (c *DatabaseMigrationService) DescribeEventSubscriptionsWithContext(ctx aws.Context, input *DescribeEventSubscriptionsInput, opts ...request.Option) (*DescribeEventSubscriptionsOutput, error)
func (c *DatabaseMigrationService) DescribeEvents(input *DescribeEventsInput) (*DescribeEventsOutput, error)
func (c *DatabaseMigrationService) DescribeEventsPages(input *DescribeEventsInput, fn func(*DescribeEventsOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeEventsPagesWithContext(ctx aws.Context, input *DescribeEventsInput, fn func(*DescribeEventsOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput)
func (c *DatabaseMigrationService) DescribeEventsWithContext(ctx aws.Context, input *DescribeEventsInput, opts ...request.Option) (*DescribeEventsOutput, error)
func (c *DatabaseMigrationService) DescribeFleetAdvisorCollectors(input *DescribeFleetAdvisorCollectorsInput) (*DescribeFleetAdvisorCollectorsOutput, error)
func (c *DatabaseMigrationService) DescribeFleetAdvisorCollectorsPages(input *DescribeFleetAdvisorCollectorsInput, fn func(*DescribeFleetAdvisorCollectorsOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeFleetAdvisorCollectorsPagesWithContext(ctx aws.Context, input *DescribeFleetAdvisorCollectorsInput, fn func(*DescribeFleetAdvisorCollectorsOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeFleetAdvisorCollectorsRequest(input *DescribeFleetAdvisorCollectorsInput) (req *request.Request, output *DescribeFleetAdvisorCollectorsOutput)
func (c *DatabaseMigrationService) DescribeFleetAdvisorCollectorsWithContext(ctx aws.Context, input *DescribeFleetAdvisorCollectorsInput, opts ...request.Option) (*DescribeFleetAdvisorCollectorsOutput, error)
func (c *DatabaseMigrationService) DescribeFleetAdvisorDatabases(input *DescribeFleetAdvisorDatabasesInput) (*DescribeFleetAdvisorDatabasesOutput, error)
func (c *DatabaseMigrationService) DescribeFleetAdvisorDatabasesPages(input *DescribeFleetAdvisorDatabasesInput, fn func(*DescribeFleetAdvisorDatabasesOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeFleetAdvisorDatabasesPagesWithContext(ctx aws.Context, input *DescribeFleetAdvisorDatabasesInput, fn func(*DescribeFleetAdvisorDatabasesOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeFleetAdvisorDatabasesRequest(input *DescribeFleetAdvisorDatabasesInput) (req *request.Request, output *DescribeFleetAdvisorDatabasesOutput)
func (c *DatabaseMigrationService) DescribeFleetAdvisorDatabasesWithContext(ctx aws.Context, input *DescribeFleetAdvisorDatabasesInput, opts ...request.Option) (*DescribeFleetAdvisorDatabasesOutput, error)
func (c *DatabaseMigrationService) DescribeFleetAdvisorLsaAnalysis(input *DescribeFleetAdvisorLsaAnalysisInput) (*DescribeFleetAdvisorLsaAnalysisOutput, error)
func (c *DatabaseMigrationService) DescribeFleetAdvisorLsaAnalysisPages(input *DescribeFleetAdvisorLsaAnalysisInput, fn func(*DescribeFleetAdvisorLsaAnalysisOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeFleetAdvisorLsaAnalysisPagesWithContext(ctx aws.Context, input *DescribeFleetAdvisorLsaAnalysisInput, fn func(*DescribeFleetAdvisorLsaAnalysisOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeFleetAdvisorLsaAnalysisRequest(input *DescribeFleetAdvisorLsaAnalysisInput) (req *request.Request, output *DescribeFleetAdvisorLsaAnalysisOutput)
func (c *DatabaseMigrationService) DescribeFleetAdvisorLsaAnalysisWithContext(ctx aws.Context, input *DescribeFleetAdvisorLsaAnalysisInput, opts ...request.Option) (*DescribeFleetAdvisorLsaAnalysisOutput, error)
func (c *DatabaseMigrationService) DescribeFleetAdvisorSchemaObjectSummary(input *DescribeFleetAdvisorSchemaObjectSummaryInput) (*DescribeFleetAdvisorSchemaObjectSummaryOutput, error)
func (c *DatabaseMigrationService) DescribeFleetAdvisorSchemaObjectSummaryPages(input *DescribeFleetAdvisorSchemaObjectSummaryInput, fn func(*DescribeFleetAdvisorSchemaObjectSummaryOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeFleetAdvisorSchemaObjectSummaryPagesWithContext(ctx aws.Context, input *DescribeFleetAdvisorSchemaObjectSummaryInput, fn func(*DescribeFleetAdvisorSchemaObjectSummaryOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeFleetAdvisorSchemaObjectSummaryRequest(input *DescribeFleetAdvisorSchemaObjectSummaryInput) (req *request.Request, output *DescribeFleetAdvisorSchemaObjectSummaryOutput)
func (c *DatabaseMigrationService) DescribeFleetAdvisorSchemaObjectSummaryWithContext(ctx aws.Context, input *DescribeFleetAdvisorSchemaObjectSummaryInput, opts ...request.Option) (*DescribeFleetAdvisorSchemaObjectSummaryOutput, error)
func (c *DatabaseMigrationService) DescribeFleetAdvisorSchemas(input *DescribeFleetAdvisorSchemasInput) (*DescribeFleetAdvisorSchemasOutput, error)
func (c *DatabaseMigrationService) DescribeFleetAdvisorSchemasPages(input *DescribeFleetAdvisorSchemasInput, fn func(*DescribeFleetAdvisorSchemasOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeFleetAdvisorSchemasPagesWithContext(ctx aws.Context, input *DescribeFleetAdvisorSchemasInput, fn func(*DescribeFleetAdvisorSchemasOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeFleetAdvisorSchemasRequest(input *DescribeFleetAdvisorSchemasInput) (req *request.Request, output *DescribeFleetAdvisorSchemasOutput)
func (c *DatabaseMigrationService) DescribeFleetAdvisorSchemasWithContext(ctx aws.Context, input *DescribeFleetAdvisorSchemasInput, opts ...request.Option) (*DescribeFleetAdvisorSchemasOutput, error)
func (c *DatabaseMigrationService) DescribeOrderableReplicationInstances(input *DescribeOrderableReplicationInstancesInput) (*DescribeOrderableReplicationInstancesOutput, error)
func (c *DatabaseMigrationService) DescribeOrderableReplicationInstancesPages(input *DescribeOrderableReplicationInstancesInput, fn func(*DescribeOrderableReplicationInstancesOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeOrderableReplicationInstancesPagesWithContext(ctx aws.Context, input *DescribeOrderableReplicationInstancesInput, fn func(*DescribeOrderableReplicationInstancesOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeOrderableReplicationInstancesRequest(input *DescribeOrderableReplicationInstancesInput) (req *request.Request, output *DescribeOrderableReplicationInstancesOutput)
func (c *DatabaseMigrationService) DescribeOrderableReplicationInstancesWithContext(ctx aws.Context, input *DescribeOrderableReplicationInstancesInput, opts ...request.Option) (*DescribeOrderableReplicationInstancesOutput, error)
func (c *DatabaseMigrationService) DescribePendingMaintenanceActions(input *DescribePendingMaintenanceActionsInput) (*DescribePendingMaintenanceActionsOutput, error)
func (c *DatabaseMigrationService) DescribePendingMaintenanceActionsPages(input *DescribePendingMaintenanceActionsInput, fn func(*DescribePendingMaintenanceActionsOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribePendingMaintenanceActionsPagesWithContext(ctx aws.Context, input *DescribePendingMaintenanceActionsInput, fn func(*DescribePendingMaintenanceActionsOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribePendingMaintenanceActionsRequest(input *DescribePendingMaintenanceActionsInput) (req *request.Request, output *DescribePendingMaintenanceActionsOutput)
func (c *DatabaseMigrationService) DescribePendingMaintenanceActionsWithContext(ctx aws.Context, input *DescribePendingMaintenanceActionsInput, opts ...request.Option) (*DescribePendingMaintenanceActionsOutput, error)
func (c *DatabaseMigrationService) DescribeRecommendationLimitations(input *DescribeRecommendationLimitationsInput) (*DescribeRecommendationLimitationsOutput, error)
func (c *DatabaseMigrationService) DescribeRecommendationLimitationsPages(input *DescribeRecommendationLimitationsInput, fn func(*DescribeRecommendationLimitationsOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeRecommendationLimitationsPagesWithContext(ctx aws.Context, input *DescribeRecommendationLimitationsInput, fn func(*DescribeRecommendationLimitationsOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeRecommendationLimitationsRequest(input *DescribeRecommendationLimitationsInput) (req *request.Request, output *DescribeRecommendationLimitationsOutput)
func (c *DatabaseMigrationService) DescribeRecommendationLimitationsWithContext(ctx aws.Context, input *DescribeRecommendationLimitationsInput, opts ...request.Option) (*DescribeRecommendationLimitationsOutput, error)
func (c *DatabaseMigrationService) DescribeRecommendations(input *DescribeRecommendationsInput) (*DescribeRecommendationsOutput, error)
func (c *DatabaseMigrationService) DescribeRecommendationsPages(input *DescribeRecommendationsInput, fn func(*DescribeRecommendationsOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeRecommendationsPagesWithContext(ctx aws.Context, input *DescribeRecommendationsInput, fn func(*DescribeRecommendationsOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeRecommendationsRequest(input *DescribeRecommendationsInput) (req *request.Request, output *DescribeRecommendationsOutput)
func (c *DatabaseMigrationService) DescribeRecommendationsWithContext(ctx aws.Context, input *DescribeRecommendationsInput, opts ...request.Option) (*DescribeRecommendationsOutput, error)
func (c *DatabaseMigrationService) DescribeRefreshSchemasStatus(input *DescribeRefreshSchemasStatusInput) (*DescribeRefreshSchemasStatusOutput, error)
func (c *DatabaseMigrationService) DescribeRefreshSchemasStatusRequest(input *DescribeRefreshSchemasStatusInput) (req *request.Request, output *DescribeRefreshSchemasStatusOutput)
func (c *DatabaseMigrationService) DescribeRefreshSchemasStatusWithContext(ctx aws.Context, input *DescribeRefreshSchemasStatusInput, opts ...request.Option) (*DescribeRefreshSchemasStatusOutput, error)
func (c *DatabaseMigrationService) DescribeReplicationInstanceTaskLogs(input *DescribeReplicationInstanceTaskLogsInput) (*DescribeReplicationInstanceTaskLogsOutput, error)
func (c *DatabaseMigrationService) DescribeReplicationInstanceTaskLogsPages(input *DescribeReplicationInstanceTaskLogsInput, fn func(*DescribeReplicationInstanceTaskLogsOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeReplicationInstanceTaskLogsPagesWithContext(ctx aws.Context, input *DescribeReplicationInstanceTaskLogsInput, fn func(*DescribeReplicationInstanceTaskLogsOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeReplicationInstanceTaskLogsRequest(input *DescribeReplicationInstanceTaskLogsInput) (req *request.Request, output *DescribeReplicationInstanceTaskLogsOutput)
func (c *DatabaseMigrationService) DescribeReplicationInstanceTaskLogsWithContext(ctx aws.Context, input *DescribeReplicationInstanceTaskLogsInput, opts ...request.Option) (*DescribeReplicationInstanceTaskLogsOutput, error)
func (c *DatabaseMigrationService) DescribeReplicationInstances(input *DescribeReplicationInstancesInput) (*DescribeReplicationInstancesOutput, error)
func (c *DatabaseMigrationService) DescribeReplicationInstancesPages(input *DescribeReplicationInstancesInput, fn func(*DescribeReplicationInstancesOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeReplicationInstancesPagesWithContext(ctx aws.Context, input *DescribeReplicationInstancesInput, fn func(*DescribeReplicationInstancesOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeReplicationInstancesRequest(input *DescribeReplicationInstancesInput) (req *request.Request, output *DescribeReplicationInstancesOutput)
func (c *DatabaseMigrationService) DescribeReplicationInstancesWithContext(ctx aws.Context, input *DescribeReplicationInstancesInput, opts ...request.Option) (*DescribeReplicationInstancesOutput, error)
func (c *DatabaseMigrationService) DescribeReplicationSubnetGroups(input *DescribeReplicationSubnetGroupsInput) (*DescribeReplicationSubnetGroupsOutput, error)
func (c *DatabaseMigrationService) DescribeReplicationSubnetGroupsPages(input *DescribeReplicationSubnetGroupsInput, fn func(*DescribeReplicationSubnetGroupsOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeReplicationSubnetGroupsPagesWithContext(ctx aws.Context, input *DescribeReplicationSubnetGroupsInput, fn func(*DescribeReplicationSubnetGroupsOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeReplicationSubnetGroupsRequest(input *DescribeReplicationSubnetGroupsInput) (req *request.Request, output *DescribeReplicationSubnetGroupsOutput)
func (c *DatabaseMigrationService) DescribeReplicationSubnetGroupsWithContext(ctx aws.Context, input *DescribeReplicationSubnetGroupsInput, opts ...request.Option) (*DescribeReplicationSubnetGroupsOutput, error)
func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentResults(input *DescribeReplicationTaskAssessmentResultsInput) (*DescribeReplicationTaskAssessmentResultsOutput, error)
func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentResultsPages(input *DescribeReplicationTaskAssessmentResultsInput, fn func(*DescribeReplicationTaskAssessmentResultsOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentResultsPagesWithContext(ctx aws.Context, input *DescribeReplicationTaskAssessmentResultsInput, fn func(*DescribeReplicationTaskAssessmentResultsOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentResultsRequest(input *DescribeReplicationTaskAssessmentResultsInput) (req *request.Request, output *DescribeReplicationTaskAssessmentResultsOutput)
func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentResultsWithContext(ctx aws.Context, input *DescribeReplicationTaskAssessmentResultsInput, opts ...request.Option) (*DescribeReplicationTaskAssessmentResultsOutput, error)
func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentRuns(input *DescribeReplicationTaskAssessmentRunsInput) (*DescribeReplicationTaskAssessmentRunsOutput, error)
func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentRunsPages(input *DescribeReplicationTaskAssessmentRunsInput, fn func(*DescribeReplicationTaskAssessmentRunsOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentRunsPagesWithContext(ctx aws.Context, input *DescribeReplicationTaskAssessmentRunsInput, fn func(*DescribeReplicationTaskAssessmentRunsOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentRunsRequest(input *DescribeReplicationTaskAssessmentRunsInput) (req *request.Request, output *DescribeReplicationTaskAssessmentRunsOutput)
func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentRunsWithContext(ctx aws.Context, input *DescribeReplicationTaskAssessmentRunsInput, opts ...request.Option) (*DescribeReplicationTaskAssessmentRunsOutput, error)
func (c *DatabaseMigrationService) DescribeReplicationTaskIndividualAssessments(input *DescribeReplicationTaskIndividualAssessmentsInput) (*DescribeReplicationTaskIndividualAssessmentsOutput, error)
func (c *DatabaseMigrationService) DescribeReplicationTaskIndividualAssessmentsPages(input *DescribeReplicationTaskIndividualAssessmentsInput, fn func(*DescribeReplicationTaskIndividualAssessmentsOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeReplicationTaskIndividualAssessmentsPagesWithContext(ctx aws.Context, input *DescribeReplicationTaskIndividualAssessmentsInput, fn func(*DescribeReplicationTaskIndividualAssessmentsOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeReplicationTaskIndividualAssessmentsRequest(input *DescribeReplicationTaskIndividualAssessmentsInput) (req *request.Request, output *DescribeReplicationTaskIndividualAssessmentsOutput)
func (c *DatabaseMigrationService) DescribeReplicationTaskIndividualAssessmentsWithContext(ctx aws.Context, input *DescribeReplicationTaskIndividualAssessmentsInput, opts ...request.Option) (*DescribeReplicationTaskIndividualAssessmentsOutput, error)
func (c *DatabaseMigrationService) DescribeReplicationTasks(input *DescribeReplicationTasksInput) (*DescribeReplicationTasksOutput, error)
func (c *DatabaseMigrationService) DescribeReplicationTasksPages(input *DescribeReplicationTasksInput, fn func(*DescribeReplicationTasksOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeReplicationTasksPagesWithContext(ctx aws.Context, input *DescribeReplicationTasksInput, fn func(*DescribeReplicationTasksOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeReplicationTasksRequest(input *DescribeReplicationTasksInput) (req *request.Request, output *DescribeReplicationTasksOutput)
func (c *DatabaseMigrationService) DescribeReplicationTasksWithContext(ctx aws.Context, input *DescribeReplicationTasksInput, opts ...request.Option) (*DescribeReplicationTasksOutput, error)
func (c *DatabaseMigrationService) DescribeSchemas(input *DescribeSchemasInput) (*DescribeSchemasOutput, error)
func (c *DatabaseMigrationService) DescribeSchemasPages(input *DescribeSchemasInput, fn func(*DescribeSchemasOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeSchemasPagesWithContext(ctx aws.Context, input *DescribeSchemasInput, fn func(*DescribeSchemasOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeSchemasRequest(input *DescribeSchemasInput) (req *request.Request, output *DescribeSchemasOutput)
func (c *DatabaseMigrationService) DescribeSchemasWithContext(ctx aws.Context, input *DescribeSchemasInput, opts ...request.Option) (*DescribeSchemasOutput, error)
func (c *DatabaseMigrationService) DescribeTableStatistics(input *DescribeTableStatisticsInput) (*DescribeTableStatisticsOutput, error)
func (c *DatabaseMigrationService) DescribeTableStatisticsPages(input *DescribeTableStatisticsInput, fn func(*DescribeTableStatisticsOutput, bool) bool) error
func (c *DatabaseMigrationService) DescribeTableStatisticsPagesWithContext(ctx aws.Context, input *DescribeTableStatisticsInput, fn func(*DescribeTableStatisticsOutput, bool) bool, opts ...request.Option) error
func (c *DatabaseMigrationService) DescribeTableStatisticsRequest(input *DescribeTableStatisticsInput) (req *request.Request, output *DescribeTableStatisticsOutput)
func (c *DatabaseMigrationService) DescribeTableStatisticsWithContext(ctx aws.Context, input *DescribeTableStatisticsInput, opts ...request.Option) (*DescribeTableStatisticsOutput, error)
func (c *DatabaseMigrationService) ImportCertificate(input *ImportCertificateInput) (*ImportCertificateOutput, error)
func (c *DatabaseMigrationService) ImportCertificateRequest(input *ImportCertificateInput) (req *request.Request, output *ImportCertificateOutput)
func (c *DatabaseMigrationService) ImportCertificateWithContext(ctx aws.Context, input *ImportCertificateInput, opts ...request.Option) (*ImportCertificateOutput, error)
func (c *DatabaseMigrationService) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
func (c *DatabaseMigrationService) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
func (c *DatabaseMigrationService) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
func (c *DatabaseMigrationService) ModifyEndpoint(input *ModifyEndpointInput) (*ModifyEndpointOutput, error)
func (c *DatabaseMigrationService) ModifyEndpointRequest(input *ModifyEndpointInput) (req *request.Request, output *ModifyEndpointOutput)
func (c *DatabaseMigrationService) ModifyEndpointWithContext(ctx aws.Context, input *ModifyEndpointInput, opts ...request.Option) (*ModifyEndpointOutput, error)
func (c *DatabaseMigrationService) ModifyEventSubscription(input *ModifyEventSubscriptionInput) (*ModifyEventSubscriptionOutput, error)
func (c *DatabaseMigrationService) ModifyEventSubscriptionRequest(input *ModifyEventSubscriptionInput) (req *request.Request, output *ModifyEventSubscriptionOutput)
func (c *DatabaseMigrationService) ModifyEventSubscriptionWithContext(ctx aws.Context, input *ModifyEventSubscriptionInput, opts ...request.Option) (*ModifyEventSubscriptionOutput, error)
func (c *DatabaseMigrationService) ModifyReplicationInstance(input *ModifyReplicationInstanceInput) (*ModifyReplicationInstanceOutput, error)
func (c *DatabaseMigrationService) ModifyReplicationInstanceRequest(input *ModifyReplicationInstanceInput) (req *request.Request, output *ModifyReplicationInstanceOutput)
func (c *DatabaseMigrationService) ModifyReplicationInstanceWithContext(ctx aws.Context, input *ModifyReplicationInstanceInput, opts ...request.Option) (*ModifyReplicationInstanceOutput, error)
func (c *DatabaseMigrationService) ModifyReplicationSubnetGroup(input *ModifyReplicationSubnetGroupInput) (*ModifyReplicationSubnetGroupOutput, error)
func (c *DatabaseMigrationService) ModifyReplicationSubnetGroupRequest(input *ModifyReplicationSubnetGroupInput) (req *request.Request, output *ModifyReplicationSubnetGroupOutput)
func (c *DatabaseMigrationService) ModifyReplicationSubnetGroupWithContext(ctx aws.Context, input *ModifyReplicationSubnetGroupInput, opts ...request.Option) (*ModifyReplicationSubnetGroupOutput, error)
func (c *DatabaseMigrationService) ModifyReplicationTask(input *ModifyReplicationTaskInput) (*ModifyReplicationTaskOutput, error)
func (c *DatabaseMigrationService) ModifyReplicationTaskRequest(input *ModifyReplicationTaskInput) (req *request.Request, output *ModifyReplicationTaskOutput)
func (c *DatabaseMigrationService) ModifyReplicationTaskWithContext(ctx aws.Context, input *ModifyReplicationTaskInput, opts ...request.Option) (*ModifyReplicationTaskOutput, error)
func (c *DatabaseMigrationService) MoveReplicationTask(input *MoveReplicationTaskInput) (*MoveReplicationTaskOutput, error)
func (c *DatabaseMigrationService) MoveReplicationTaskRequest(input *MoveReplicationTaskInput) (req *request.Request, output *MoveReplicationTaskOutput)
func (c *DatabaseMigrationService) MoveReplicationTaskWithContext(ctx aws.Context, input *MoveReplicationTaskInput, opts ...request.Option) (*MoveReplicationTaskOutput, error)
func (c *DatabaseMigrationService) RebootReplicationInstance(input *RebootReplicationInstanceInput) (*RebootReplicationInstanceOutput, error)
func (c *DatabaseMigrationService) RebootReplicationInstanceRequest(input *RebootReplicationInstanceInput) (req *request.Request, output *RebootReplicationInstanceOutput)
func (c *DatabaseMigrationService) RebootReplicationInstanceWithContext(ctx aws.Context, input *RebootReplicationInstanceInput, opts ...request.Option) (*RebootReplicationInstanceOutput, error)
func (c *DatabaseMigrationService) RefreshSchemas(input *RefreshSchemasInput) (*RefreshSchemasOutput, error)
func (c *DatabaseMigrationService) RefreshSchemasRequest(input *RefreshSchemasInput) (req *request.Request, output *RefreshSchemasOutput)
func (c *DatabaseMigrationService) RefreshSchemasWithContext(ctx aws.Context, input *RefreshSchemasInput, opts ...request.Option) (*RefreshSchemasOutput, error)
func (c *DatabaseMigrationService) ReloadTables(input *ReloadTablesInput) (*ReloadTablesOutput, error)
func (c *DatabaseMigrationService) ReloadTablesRequest(input *ReloadTablesInput) (req *request.Request, output *ReloadTablesOutput)
func (c *DatabaseMigrationService) ReloadTablesWithContext(ctx aws.Context, input *ReloadTablesInput, opts ...request.Option) (*ReloadTablesOutput, error)
func (c *DatabaseMigrationService) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*RemoveTagsFromResourceOutput, error)
func (c *DatabaseMigrationService) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *RemoveTagsFromResourceOutput)
func (c *DatabaseMigrationService) RemoveTagsFromResourceWithContext(ctx aws.Context, input *RemoveTagsFromResourceInput, opts ...request.Option) (*RemoveTagsFromResourceOutput, error)
func (c *DatabaseMigrationService) RunFleetAdvisorLsaAnalysis(input *RunFleetAdvisorLsaAnalysisInput) (*RunFleetAdvisorLsaAnalysisOutput, error)
func (c *DatabaseMigrationService) RunFleetAdvisorLsaAnalysisRequest(input *RunFleetAdvisorLsaAnalysisInput) (req *request.Request, output *RunFleetAdvisorLsaAnalysisOutput)
func (c *DatabaseMigrationService) RunFleetAdvisorLsaAnalysisWithContext(ctx aws.Context, input *RunFleetAdvisorLsaAnalysisInput, opts ...request.Option) (*RunFleetAdvisorLsaAnalysisOutput, error)
func (c *DatabaseMigrationService) StartRecommendations(input *StartRecommendationsInput) (*StartRecommendationsOutput, error)
func (c *DatabaseMigrationService) StartRecommendationsRequest(input *StartRecommendationsInput) (req *request.Request, output *StartRecommendationsOutput)
func (c *DatabaseMigrationService) StartRecommendationsWithContext(ctx aws.Context, input *StartRecommendationsInput, opts ...request.Option) (*StartRecommendationsOutput, error)
func (c *DatabaseMigrationService) StartReplicationTask(input *StartReplicationTaskInput) (*StartReplicationTaskOutput, error)
func (c *DatabaseMigrationService) StartReplicationTaskAssessment(input *StartReplicationTaskAssessmentInput) (*StartReplicationTaskAssessmentOutput, error)
func (c *DatabaseMigrationService) StartReplicationTaskAssessmentRequest(input *StartReplicationTaskAssessmentInput) (req *request.Request, output *StartReplicationTaskAssessmentOutput)
func (c *DatabaseMigrationService) StartReplicationTaskAssessmentRun(input *StartReplicationTaskAssessmentRunInput) (*StartReplicationTaskAssessmentRunOutput, error)
func (c *DatabaseMigrationService) StartReplicationTaskAssessmentRunRequest(input *StartReplicationTaskAssessmentRunInput) (req *request.Request, output *StartReplicationTaskAssessmentRunOutput)
func (c *DatabaseMigrationService) StartReplicationTaskAssessmentRunWithContext(ctx aws.Context, input *StartReplicationTaskAssessmentRunInput, opts ...request.Option) (*StartReplicationTaskAssessmentRunOutput, error)
func (c *DatabaseMigrationService) StartReplicationTaskAssessmentWithContext(ctx aws.Context, input *StartReplicationTaskAssessmentInput, opts ...request.Option) (*StartReplicationTaskAssessmentOutput, error)
func (c *DatabaseMigrationService) StartReplicationTaskRequest(input *StartReplicationTaskInput) (req *request.Request, output *StartReplicationTaskOutput)
func (c *DatabaseMigrationService) StartReplicationTaskWithContext(ctx aws.Context, input *StartReplicationTaskInput, opts ...request.Option) (*StartReplicationTaskOutput, error)
func (c *DatabaseMigrationService) StopReplicationTask(input *StopReplicationTaskInput) (*StopReplicationTaskOutput, error)
func (c *DatabaseMigrationService) StopReplicationTaskRequest(input *StopReplicationTaskInput) (req *request.Request, output *StopReplicationTaskOutput)
func (c *DatabaseMigrationService) StopReplicationTaskWithContext(ctx aws.Context, input *StopReplicationTaskInput, opts ...request.Option) (*StopReplicationTaskOutput, error)
func (c *DatabaseMigrationService) TestConnection(input *TestConnectionInput) (*TestConnectionOutput, error)
func (c *DatabaseMigrationService) TestConnectionRequest(input *TestConnectionInput) (req *request.Request, output *TestConnectionOutput)
func (c *DatabaseMigrationService) TestConnectionWithContext(ctx aws.Context, input *TestConnectionInput, opts ...request.Option) (*TestConnectionOutput, error)
func (c *DatabaseMigrationService) UpdateSubscriptionsToEventBridge(input *UpdateSubscriptionsToEventBridgeInput) (*UpdateSubscriptionsToEventBridgeOutput, error)
func (c *DatabaseMigrationService) UpdateSubscriptionsToEventBridgeRequest(input *UpdateSubscriptionsToEventBridgeInput) (req *request.Request, output *UpdateSubscriptionsToEventBridgeOutput)
func (c *DatabaseMigrationService) UpdateSubscriptionsToEventBridgeWithContext(ctx aws.Context, input *UpdateSubscriptionsToEventBridgeInput, opts ...request.Option) (*UpdateSubscriptionsToEventBridgeOutput, error)
func (c *DatabaseMigrationService) WaitUntilEndpointDeleted(input *DescribeEndpointsInput) error
func (c *DatabaseMigrationService) WaitUntilEndpointDeletedWithContext(ctx aws.Context, input *DescribeEndpointsInput, opts ...request.WaiterOption) error
func (c *DatabaseMigrationService) WaitUntilReplicationInstanceAvailable(input *DescribeReplicationInstancesInput) error
func (c *DatabaseMigrationService) WaitUntilReplicationInstanceAvailableWithContext(ctx aws.Context, input *DescribeReplicationInstancesInput, opts ...request.WaiterOption) error
func (c *DatabaseMigrationService) WaitUntilReplicationInstanceDeleted(input *DescribeReplicationInstancesInput) error
func (c *DatabaseMigrationService) WaitUntilReplicationInstanceDeletedWithContext(ctx aws.Context, input *DescribeReplicationInstancesInput, opts ...request.WaiterOption) error
func (c *DatabaseMigrationService) WaitUntilReplicationTaskDeleted(input *DescribeReplicationTasksInput) error
func (c *DatabaseMigrationService) WaitUntilReplicationTaskDeletedWithContext(ctx aws.Context, input *DescribeReplicationTasksInput, opts ...request.WaiterOption) error
func (c *DatabaseMigrationService) WaitUntilReplicationTaskReady(input *DescribeReplicationTasksInput) error
func (c *DatabaseMigrationService) WaitUntilReplicationTaskReadyWithContext(ctx aws.Context, input *DescribeReplicationTasksInput, opts ...request.WaiterOption) error
func (c *DatabaseMigrationService) WaitUntilReplicationTaskRunning(input *DescribeReplicationTasksInput) error
func (c *DatabaseMigrationService) WaitUntilReplicationTaskRunningWithContext(ctx aws.Context, input *DescribeReplicationTasksInput, opts ...request.WaiterOption) error
func (c *DatabaseMigrationService) WaitUntilReplicationTaskStopped(input *DescribeReplicationTasksInput) error
func (c *DatabaseMigrationService) WaitUntilReplicationTaskStoppedWithContext(ctx aws.Context, input *DescribeReplicationTasksInput, opts ...request.WaiterOption) error
func (c *DatabaseMigrationService) WaitUntilTestConnectionSucceeds(input *DescribeConnectionsInput) error
func (c *DatabaseMigrationService) WaitUntilTestConnectionSucceedsWithContext(ctx aws.Context, input *DescribeConnectionsInput, opts ...request.WaiterOption) error
func AuthMechanismValue_Values() []string
func AuthTypeValue_Values() []string
func CannedAclForObjectsValue_Values() []string
func CharLengthSemantics_Values() []string
func CollectorStatus_Values() []string
func CompressionTypeValue_Values() []string
func DataFormatValue_Values() []string
func DatePartitionDelimiterValue_Values() []string
func DatePartitionSequenceValue_Values() []string
func DmsSslModeValue_Values() []string
func EncodingTypeValue_Values() []string
func EncryptionModeValue_Values() []string
func EndpointSettingTypeValue_Values() []string
func KafkaSaslMechanism_Values() []string
func KafkaSecurityProtocol_Values() []string
func MessageFormatValue_Values() []string
func MigrationTypeValue_Values() []string
func NestingLevelValue_Values() []string
func ParquetVersionValue_Values() []string
func PluginNameValue_Values() []string
func RedisAuthTypeValue_Values() []string
func RefreshSchemasStatusTypeValue_Values() []string
func ReleaseStatusValues_Values() []string
func ReloadOptionValue_Values() []string
func ReplicationEndpointTypeValue_Values() []string
func SafeguardPolicy_Values() []string
func SourceType_Values() []string
func SslSecurityProtocolValue_Values() []string
func StartReplicationTaskTypeValue_Values() []string
func TargetDbType_Values() []string
func TlogAccessMode_Values() []string
func VersionStatus_Values() []string
type AccessDeniedFault
type AccountQuota
type AddTagsToResourceInput
type AddTagsToResourceOutput
type ApplyPendingMaintenanceActionInput
type ApplyPendingMaintenanceActionOutput
type AvailabilityZone
type BatchStartRecommendationsErrorEntry
type BatchStartRecommendationsInput
type BatchStartRecommendationsOutput
type CancelReplicationTaskAssessmentRunInput
type CancelReplicationTaskAssessmentRunOutput
type Certificate
type CollectorHealthCheck
type CollectorNotFoundFault
type CollectorResponse
type CollectorShortInfoResponse
type Connection
type CreateEndpointInput
type CreateEndpointOutput
type CreateEventSubscriptionInput
type CreateEventSubscriptionOutput
type CreateFleetAdvisorCollectorInput
type CreateFleetAdvisorCollectorOutput
type CreateReplicationInstanceInput
type CreateReplicationInstanceOutput
type CreateReplicationSubnetGroupInput
type CreateReplicationSubnetGroupOutput
type CreateReplicationTaskInput
type CreateReplicationTaskOutput
type DatabaseInstanceSoftwareDetailsResponse
type DatabaseResponse
type DatabaseShortInfoResponse
type DeleteCertificateInput
type DeleteCertificateOutput
type DeleteConnectionInput
type DeleteConnectionOutput
type DeleteEndpointInput
type DeleteEndpointOutput
type DeleteEventSubscriptionInput
type DeleteEventSubscriptionOutput
type DeleteFleetAdvisorCollectorInput
type DeleteFleetAdvisorCollectorOutput
type DeleteFleetAdvisorDatabasesInput
type DeleteFleetAdvisorDatabasesOutput
type DeleteReplicationInstanceInput
type DeleteReplicationInstanceOutput
type DeleteReplicationSubnetGroupInput
type DeleteReplicationSubnetGroupOutput
type DeleteReplicationTaskAssessmentRunInput
type DeleteReplicationTaskAssessmentRunOutput
type DeleteReplicationTaskInput
type DeleteReplicationTaskOutput
type DescribeAccountAttributesInput
type DescribeAccountAttributesOutput
type DescribeApplicableIndividualAssessmentsInput
type DescribeApplicableIndividualAssessmentsOutput
type DescribeCertificatesInput
type DescribeCertificatesOutput
type DescribeConnectionsInput
type DescribeConnectionsOutput
type DescribeEndpointSettingsInput
type DescribeEndpointSettingsOutput
type DescribeEndpointTypesInput
type DescribeEndpointTypesOutput
type DescribeEndpointsInput
type DescribeEndpointsOutput
type DescribeEventCategoriesInput
type DescribeEventCategoriesOutput
type DescribeEventSubscriptionsInput
type DescribeEventSubscriptionsOutput
type DescribeEventsInput
type DescribeEventsOutput
type DescribeFleetAdvisorCollectorsInput
type DescribeFleetAdvisorCollectorsOutput
type DescribeFleetAdvisorDatabasesInput
type DescribeFleetAdvisorDatabasesOutput
type DescribeFleetAdvisorLsaAnalysisInput
type DescribeFleetAdvisorLsaAnalysisOutput
type DescribeFleetAdvisorSchemaObjectSummaryInput
type DescribeFleetAdvisorSchemaObjectSummaryOutput
type DescribeFleetAdvisorSchemasInput
type DescribeFleetAdvisorSchemasOutput
type DescribeOrderableReplicationInstancesInput
type DescribeOrderableReplicationInstancesOutput
type DescribePendingMaintenanceActionsInput
type DescribePendingMaintenanceActionsOutput
type DescribeRecommendationLimitationsInput
type DescribeRecommendationLimitationsOutput
type DescribeRecommendationsInput
type DescribeRecommendationsOutput
type DescribeRefreshSchemasStatusInput
type DescribeRefreshSchemasStatusOutput
type DescribeReplicationInstanceTaskLogsInput
type DescribeReplicationInstanceTaskLogsOutput
type DescribeReplicationInstancesInput
type DescribeReplicationInstancesOutput
type DescribeReplicationSubnetGroupsInput
type DescribeReplicationSubnetGroupsOutput
type DescribeReplicationTaskAssessmentResultsInput
type DescribeReplicationTaskAssessmentResultsOutput
type DescribeReplicationTaskAssessmentRunsInput
type DescribeReplicationTaskAssessmentRunsOutput
type DescribeReplicationTaskIndividualAssessmentsInput
type DescribeReplicationTaskIndividualAssessmentsOutput
type DescribeReplicationTasksInput
type DescribeReplicationTasksOutput
type DescribeSchemasInput
type DescribeSchemasOutput
type DescribeTableStatisticsInput
type DescribeTableStatisticsOutput
type DmsTransferSettings
type DocDbSettings
type DynamoDbSettings
type ElasticsearchSettings
type Endpoint
type EndpointSetting
type Event
type EventCategoryGroup
type EventSubscription
type Filter
type FleetAdvisorLsaAnalysisResponse
type FleetAdvisorSchemaObjectResponse
type GcpMySQLSettings
type IBMDb2Settings
type ImportCertificateInput
type ImportCertificateOutput
type InsufficientResourceCapacityFault
type InvalidCertificateFault
type InvalidOperationFault
type InvalidResourceStateFault
type InvalidSubnet
type InventoryData
type KMSAccessDeniedFault
type KMSDisabledFault
type KMSFault
type KMSInvalidStateFault
type KMSKeyNotAccessibleFault
type KMSNotFoundFault
type KMSThrottlingFault
type KafkaSettings
type KinesisSettings
type Limitation
type ListTagsForResourceInput
type ListTagsForResourceOutput
type MicrosoftSQLServerSettings
type ModifyEndpointInput
type ModifyEndpointOutput
type ModifyEventSubscriptionInput
type ModifyEventSubscriptionOutput
type ModifyReplicationInstanceInput
type ModifyReplicationInstanceOutput
type ModifyReplicationSubnetGroupInput
type ModifyReplicationSubnetGroupOutput
type ModifyReplicationTaskInput
type ModifyReplicationTaskOutput
type MongoDbSettings
type MoveReplicationTaskInput
type MoveReplicationTaskOutput
type MySQLSettings
type NeptuneSettings
type OracleSettings
type OrderableReplicationInstance
type PendingMaintenanceAction
type PostgreSQLSettings
type RdsConfiguration
type RdsRecommendation
type RdsRequirements
type RebootReplicationInstanceInput
type RebootReplicationInstanceOutput
type Recommendation
type RecommendationData
type RecommendationSettings
type RedisSettings
type RedshiftSettings
type RefreshSchemasInput
type RefreshSchemasOutput
type RefreshSchemasStatus
type ReloadTablesInput
type ReloadTablesOutput
type RemoveTagsFromResourceInput
type RemoveTagsFromResourceOutput
type ReplicationInstance
type ReplicationInstanceTaskLog
type ReplicationPendingModifiedValues
type ReplicationSubnetGroup
type ReplicationSubnetGroupDoesNotCoverEnoughAZs
type ReplicationTask
type ReplicationTaskAssessmentResult
type ReplicationTaskAssessmentRun
type ReplicationTaskAssessmentRunProgress
type ReplicationTaskIndividualAssessment
type ReplicationTaskStats
type ResourceAlreadyExistsFault
type ResourceNotFoundFault
type ResourcePendingMaintenanceActions
type ResourceQuotaExceededFault
type RunFleetAdvisorLsaAnalysisInput
type RunFleetAdvisorLsaAnalysisOutput
type S3AccessDeniedFault
type S3ResourceNotFoundFault
type S3Settings
type SNSInvalidTopicFault
type SNSNoAuthorizationFault
type SchemaResponse
type SchemaShortInfoResponse
type ServerShortInfoResponse
type StartRecommendationsInput
type StartRecommendationsOutput
type StartRecommendationsRequestEntry
type StartReplicationTaskAssessmentInput
type StartReplicationTaskAssessmentOutput
type StartReplicationTaskAssessmentRunInput
type StartReplicationTaskAssessmentRunOutput
type StartReplicationTaskInput
type StartReplicationTaskOutput
type StopReplicationTaskInput
type StopReplicationTaskOutput
type StorageQuotaExceededFault
type Subnet
type SubnetAlreadyInUse
type SupportedEndpointType
type SybaseSettings
type TableStatistics
type TableToReload
type Tag
type TestConnectionInput
type TestConnectionOutput
type UpdateSubscriptionsToEventBridgeInput
type UpdateSubscriptionsToEventBridgeOutput
type UpgradeDependencyFailureFault
type VpcSecurityGroupMembership

Examples ▾

DatabaseMigrationService.AddTagsToResource (Shared00)
DatabaseMigrationService.CreateEndpoint (Shared00)
DatabaseMigrationService.CreateReplicationInstance (Shared00)
DatabaseMigrationService.CreateReplicationSubnetGroup (Shared00)
DatabaseMigrationService.CreateReplicationTask (Shared00)
DatabaseMigrationService.DeleteCertificate (Shared00)
DatabaseMigrationService.DeleteConnection (Shared00)
DatabaseMigrationService.DeleteEndpoint (Shared00)
DatabaseMigrationService.DeleteReplicationInstance (Shared00)
DatabaseMigrationService.DeleteReplicationSubnetGroup (Shared00)
DatabaseMigrationService.DeleteReplicationTask (Shared00)
DatabaseMigrationService.DescribeAccountAttributes (Shared00)
DatabaseMigrationService.DescribeCertificates (Shared00)
DatabaseMigrationService.DescribeConnections (Shared00)
DatabaseMigrationService.DescribeEndpointTypes (Shared00)
DatabaseMigrationService.DescribeEndpoints (Shared00)
DatabaseMigrationService.DescribeOrderableReplicationInstances (Shared00)
DatabaseMigrationService.DescribeRefreshSchemasStatus (Shared00)
DatabaseMigrationService.DescribeReplicationInstances (Shared00)
DatabaseMigrationService.DescribeReplicationSubnetGroups (Shared00)
DatabaseMigrationService.DescribeReplicationTasks (Shared00)
DatabaseMigrationService.DescribeSchemas (Shared00)
DatabaseMigrationService.DescribeTableStatistics (Shared00)
DatabaseMigrationService.ImportCertificate (Shared00)
DatabaseMigrationService.ListTagsForResource (Shared00)
DatabaseMigrationService.ModifyEndpoint (Shared00)
DatabaseMigrationService.ModifyReplicationInstance (Shared00)
DatabaseMigrationService.ModifyReplicationSubnetGroup (Shared00)
DatabaseMigrationService.RefreshSchemas (Shared00)
DatabaseMigrationService.RemoveTagsFromResource (Shared00)
DatabaseMigrationService.StartReplicationTask (Shared00)
DatabaseMigrationService.StopReplicationTask (Shared00)
DatabaseMigrationService.TestConnection (Shared00)

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 (
    // CannedAclForObjectsValueNone is a CannedAclForObjectsValue enum value
    CannedAclForObjectsValueNone = "none"

    // CannedAclForObjectsValuePrivate is a CannedAclForObjectsValue enum value
    CannedAclForObjectsValuePrivate = "private"

    // CannedAclForObjectsValuePublicRead is a CannedAclForObjectsValue enum value
    CannedAclForObjectsValuePublicRead = "public-read"

    // CannedAclForObjectsValuePublicReadWrite is a CannedAclForObjectsValue enum value
    CannedAclForObjectsValuePublicReadWrite = "public-read-write"

    // CannedAclForObjectsValueAuthenticatedRead is a CannedAclForObjectsValue enum value
    CannedAclForObjectsValueAuthenticatedRead = "authenticated-read"

    // CannedAclForObjectsValueAwsExecRead is a CannedAclForObjectsValue enum value
    CannedAclForObjectsValueAwsExecRead = "aws-exec-read"

    // CannedAclForObjectsValueBucketOwnerRead is a CannedAclForObjectsValue enum value
    CannedAclForObjectsValueBucketOwnerRead = "bucket-owner-read"

    // CannedAclForObjectsValueBucketOwnerFullControl is a CannedAclForObjectsValue enum value
    CannedAclForObjectsValueBucketOwnerFullControl = "bucket-owner-full-control"
)
const (
    // CharLengthSemanticsDefault is a CharLengthSemantics enum value
    CharLengthSemanticsDefault = "default"

    // CharLengthSemanticsChar is a CharLengthSemantics enum value
    CharLengthSemanticsChar = "char"

    // CharLengthSemanticsByte is a CharLengthSemantics enum value
    CharLengthSemanticsByte = "byte"
)
const (
    // CollectorStatusUnregistered is a CollectorStatus enum value
    CollectorStatusUnregistered = "UNREGISTERED"

    // CollectorStatusActive is a CollectorStatus enum value
    CollectorStatusActive = "ACTIVE"
)
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 (
    // DatePartitionDelimiterValueSlash is a DatePartitionDelimiterValue enum value
    DatePartitionDelimiterValueSlash = "SLASH"

    // DatePartitionDelimiterValueUnderscore is a DatePartitionDelimiterValue enum value
    DatePartitionDelimiterValueUnderscore = "UNDERSCORE"

    // DatePartitionDelimiterValueDash is a DatePartitionDelimiterValue enum value
    DatePartitionDelimiterValueDash = "DASH"

    // DatePartitionDelimiterValueNone is a DatePartitionDelimiterValue enum value
    DatePartitionDelimiterValueNone = "NONE"
)
const (
    // DatePartitionSequenceValueYyyymmdd is a DatePartitionSequenceValue enum value
    DatePartitionSequenceValueYyyymmdd = "YYYYMMDD"

    // DatePartitionSequenceValueYyyymmddhh is a DatePartitionSequenceValue enum value
    DatePartitionSequenceValueYyyymmddhh = "YYYYMMDDHH"

    // DatePartitionSequenceValueYyyymm is a DatePartitionSequenceValue enum value
    DatePartitionSequenceValueYyyymm = "YYYYMM"

    // DatePartitionSequenceValueMmyyyydd is a DatePartitionSequenceValue enum value
    DatePartitionSequenceValueMmyyyydd = "MMYYYYDD"

    // DatePartitionSequenceValueDdmmyyyy is a DatePartitionSequenceValue enum value
    DatePartitionSequenceValueDdmmyyyy = "DDMMYYYY"
)
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 (
    // EndpointSettingTypeValueString is a EndpointSettingTypeValue enum value
    EndpointSettingTypeValueString = "string"

    // EndpointSettingTypeValueBoolean is a EndpointSettingTypeValue enum value
    EndpointSettingTypeValueBoolean = "boolean"

    // EndpointSettingTypeValueInteger is a EndpointSettingTypeValue enum value
    EndpointSettingTypeValueInteger = "integer"

    // EndpointSettingTypeValueEnum is a EndpointSettingTypeValue enum value
    EndpointSettingTypeValueEnum = "enum"
)
const (
    // KafkaSaslMechanismScramSha512 is a KafkaSaslMechanism enum value
    KafkaSaslMechanismScramSha512 = "scram-sha-512"

    // KafkaSaslMechanismPlain is a KafkaSaslMechanism enum value
    KafkaSaslMechanismPlain = "plain"
)
const (
    // KafkaSecurityProtocolPlaintext is a KafkaSecurityProtocol enum value
    KafkaSecurityProtocolPlaintext = "plaintext"

    // KafkaSecurityProtocolSslAuthentication is a KafkaSecurityProtocol enum value
    KafkaSecurityProtocolSslAuthentication = "ssl-authentication"

    // KafkaSecurityProtocolSslEncryption is a KafkaSecurityProtocol enum value
    KafkaSecurityProtocolSslEncryption = "ssl-encryption"

    // KafkaSecurityProtocolSaslSsl is a KafkaSecurityProtocol enum value
    KafkaSecurityProtocolSaslSsl = "sasl-ssl"
)
const (
    // MessageFormatValueJson is a MessageFormatValue enum value
    MessageFormatValueJson = "json"

    // MessageFormatValueJsonUnformatted is a MessageFormatValue enum value
    MessageFormatValueJsonUnformatted = "json-unformatted"
)
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 (
    // PluginNameValueNoPreference is a PluginNameValue enum value
    PluginNameValueNoPreference = "no-preference"

    // PluginNameValueTestDecoding is a PluginNameValue enum value
    PluginNameValueTestDecoding = "test-decoding"

    // PluginNameValuePglogical is a PluginNameValue enum value
    PluginNameValuePglogical = "pglogical"
)
const (
    // RedisAuthTypeValueNone is a RedisAuthTypeValue enum value
    RedisAuthTypeValueNone = "none"

    // RedisAuthTypeValueAuthRole is a RedisAuthTypeValue enum value
    RedisAuthTypeValueAuthRole = "auth-role"

    // RedisAuthTypeValueAuthToken is a RedisAuthTypeValue enum value
    RedisAuthTypeValueAuthToken = "auth-token"
)
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 (
    // ReleaseStatusValuesBeta is a ReleaseStatusValues enum value
    ReleaseStatusValuesBeta = "beta"

    // ReleaseStatusValuesProd is a ReleaseStatusValues enum value
    ReleaseStatusValuesProd = "prod"
)
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 (
    // SafeguardPolicyRelyOnSqlServerReplicationAgent is a SafeguardPolicy enum value
    SafeguardPolicyRelyOnSqlServerReplicationAgent = "rely-on-sql-server-replication-agent"

    // SafeguardPolicyExclusiveAutomaticTruncation is a SafeguardPolicy enum value
    SafeguardPolicyExclusiveAutomaticTruncation = "exclusive-automatic-truncation"

    // SafeguardPolicySharedAutomaticTruncation is a SafeguardPolicy enum value
    SafeguardPolicySharedAutomaticTruncation = "shared-automatic-truncation"
)
const (
    // SslSecurityProtocolValuePlaintext is a SslSecurityProtocolValue enum value
    SslSecurityProtocolValuePlaintext = "plaintext"

    // SslSecurityProtocolValueSslEncryption is a SslSecurityProtocolValue enum value
    SslSecurityProtocolValueSslEncryption = "ssl-encryption"
)
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 (
    // TargetDbTypeSpecificDatabase is a TargetDbType enum value
    TargetDbTypeSpecificDatabase = "specific-database"

    // TargetDbTypeMultipleDatabases is a TargetDbType enum value
    TargetDbTypeMultipleDatabases = "multiple-databases"
)
const (
    // TlogAccessModeBackupOnly is a TlogAccessMode enum value
    TlogAccessModeBackupOnly = "BackupOnly"

    // TlogAccessModePreferBackup is a TlogAccessMode enum value
    TlogAccessModePreferBackup = "PreferBackup"

    // TlogAccessModePreferTlog is a TlogAccessMode enum value
    TlogAccessModePreferTlog = "PreferTlog"

    // TlogAccessModeTlogOnly is a TlogAccessMode enum value
    TlogAccessModeTlogOnly = "TlogOnly"
)
const (
    // VersionStatusUpToDate is a VersionStatus enum value
    VersionStatusUpToDate = "UP_TO_DATE"

    // VersionStatusOutdated is a VersionStatus enum value
    VersionStatusOutdated = "OUTDATED"

    // VersionStatusUnsupported is a VersionStatus enum value
    VersionStatusUnsupported = "UNSUPPORTED"
)
const (

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

    // ErrCodeCollectorNotFoundFault for service response error code
    // "CollectorNotFoundFault".
    //
    // The specified collector doesn't exist.
    ErrCodeCollectorNotFoundFault = "CollectorNotFoundFault"

    // 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"

    // ErrCodeInvalidOperationFault for service response error code
    // "InvalidOperationFault".
    //
    // The action or operation requested isn't valid.
    ErrCodeInvalidOperationFault = "InvalidOperationFault"

    // 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 KMS key isn't enabled.
    ErrCodeKMSDisabledFault = "KMSDisabledFault"

    // ErrCodeKMSFault for service response error code
    // "KMSFault".
    //
    // An Key Management Service (KMS) error is preventing access to KMS.
    ErrCodeKMSFault = "KMSFault"

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

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

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

    // ErrCodeKMSThrottlingFault for service response error code
    // "KMSThrottlingFault".
    //
    // This request triggered 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"

    // ErrCodeS3AccessDeniedFault for service response error code
    // "S3AccessDeniedFault".
    //
    // Insufficient privileges are preventing access to an Amazon S3 object.
    ErrCodeS3AccessDeniedFault = "S3AccessDeniedFault"

    // ErrCodeS3ResourceNotFoundFault for service response error code
    // "S3ResourceNotFoundFault".
    //
    // A specified Amazon S3 bucket, bucket folder, or other object can't be found.
    ErrCodeS3ResourceNotFoundFault = "S3ResourceNotFoundFault"

    // 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 identifier of a specific service.
)

Service information constants

const (
    // SourceTypeReplicationInstance is a SourceType enum value
    SourceTypeReplicationInstance = "replication-instance"
)

func AuthMechanismValue_Values

func AuthMechanismValue_Values() []string

AuthMechanismValue_Values returns all elements of the AuthMechanismValue enum

func AuthTypeValue_Values

func AuthTypeValue_Values() []string

AuthTypeValue_Values returns all elements of the AuthTypeValue enum

func CannedAclForObjectsValue_Values

func CannedAclForObjectsValue_Values() []string

CannedAclForObjectsValue_Values returns all elements of the CannedAclForObjectsValue enum

func CharLengthSemantics_Values

func CharLengthSemantics_Values() []string

CharLengthSemantics_Values returns all elements of the CharLengthSemantics enum

func CollectorStatus_Values

func CollectorStatus_Values() []string

CollectorStatus_Values returns all elements of the CollectorStatus enum

func CompressionTypeValue_Values

func CompressionTypeValue_Values() []string

CompressionTypeValue_Values returns all elements of the CompressionTypeValue enum

func DataFormatValue_Values

func DataFormatValue_Values() []string

DataFormatValue_Values returns all elements of the DataFormatValue enum

func DatePartitionDelimiterValue_Values

func DatePartitionDelimiterValue_Values() []string

DatePartitionDelimiterValue_Values returns all elements of the DatePartitionDelimiterValue enum

func DatePartitionSequenceValue_Values

func DatePartitionSequenceValue_Values() []string

DatePartitionSequenceValue_Values returns all elements of the DatePartitionSequenceValue enum

func DmsSslModeValue_Values

func DmsSslModeValue_Values() []string

DmsSslModeValue_Values returns all elements of the DmsSslModeValue enum

func EncodingTypeValue_Values

func EncodingTypeValue_Values() []string

EncodingTypeValue_Values returns all elements of the EncodingTypeValue enum

func EncryptionModeValue_Values

func EncryptionModeValue_Values() []string

EncryptionModeValue_Values returns all elements of the EncryptionModeValue enum

func EndpointSettingTypeValue_Values

func EndpointSettingTypeValue_Values() []string

EndpointSettingTypeValue_Values returns all elements of the EndpointSettingTypeValue enum

func KafkaSaslMechanism_Values

func KafkaSaslMechanism_Values() []string

KafkaSaslMechanism_Values returns all elements of the KafkaSaslMechanism enum

func KafkaSecurityProtocol_Values

func KafkaSecurityProtocol_Values() []string

KafkaSecurityProtocol_Values returns all elements of the KafkaSecurityProtocol enum

func MessageFormatValue_Values

func MessageFormatValue_Values() []string

MessageFormatValue_Values returns all elements of the MessageFormatValue enum

func MigrationTypeValue_Values

func MigrationTypeValue_Values() []string

MigrationTypeValue_Values returns all elements of the MigrationTypeValue enum

func NestingLevelValue_Values

func NestingLevelValue_Values() []string

NestingLevelValue_Values returns all elements of the NestingLevelValue enum

func ParquetVersionValue_Values

func ParquetVersionValue_Values() []string

ParquetVersionValue_Values returns all elements of the ParquetVersionValue enum

func PluginNameValue_Values

func PluginNameValue_Values() []string

PluginNameValue_Values returns all elements of the PluginNameValue enum

func RedisAuthTypeValue_Values

func RedisAuthTypeValue_Values() []string

RedisAuthTypeValue_Values returns all elements of the RedisAuthTypeValue enum

func RefreshSchemasStatusTypeValue_Values

func RefreshSchemasStatusTypeValue_Values() []string

RefreshSchemasStatusTypeValue_Values returns all elements of the RefreshSchemasStatusTypeValue enum

func ReleaseStatusValues_Values

func ReleaseStatusValues_Values() []string

ReleaseStatusValues_Values returns all elements of the ReleaseStatusValues enum

func ReloadOptionValue_Values

func ReloadOptionValue_Values() []string

ReloadOptionValue_Values returns all elements of the ReloadOptionValue enum

func ReplicationEndpointTypeValue_Values

func ReplicationEndpointTypeValue_Values() []string

ReplicationEndpointTypeValue_Values returns all elements of the ReplicationEndpointTypeValue enum

func SafeguardPolicy_Values

func SafeguardPolicy_Values() []string

SafeguardPolicy_Values returns all elements of the SafeguardPolicy enum

func SourceType_Values

func SourceType_Values() []string

SourceType_Values returns all elements of the SourceType enum

func SslSecurityProtocolValue_Values

func SslSecurityProtocolValue_Values() []string

SslSecurityProtocolValue_Values returns all elements of the SslSecurityProtocolValue enum

func StartReplicationTaskTypeValue_Values

func StartReplicationTaskTypeValue_Values() []string

StartReplicationTaskTypeValue_Values returns all elements of the StartReplicationTaskTypeValue enum

func TargetDbType_Values

func TargetDbType_Values() []string

TargetDbType_Values returns all elements of the TargetDbType enum

func TlogAccessMode_Values

func TlogAccessMode_Values() []string

TlogAccessMode_Values returns all elements of the TlogAccessMode enum

func VersionStatus_Values

func VersionStatus_Values() []string

VersionStatus_Values returns all elements of the VersionStatus enum

type AccessDeniedFault

type AccessDeniedFault struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

DMS was denied access to the endpoint. Check that the role is correctly configured.

func (*AccessDeniedFault) Code

func (s *AccessDeniedFault) Code() string

Code returns the exception type name.

func (*AccessDeniedFault) Error

func (s *AccessDeniedFault) Error() string

func (AccessDeniedFault) GoString

func (s AccessDeniedFault) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessDeniedFault) Message

func (s *AccessDeniedFault) Message() string

Message returns the exception's message.

func (*AccessDeniedFault) OrigErr

func (s *AccessDeniedFault) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedFault) RequestID

func (s *AccessDeniedFault) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedFault) StatusCode

func (s *AccessDeniedFault) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedFault) String

func (s AccessDeniedFault) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AccountQuota

type AccountQuota struct {

    // The name of the DMS quota for this Amazon Web Services 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 Amazon Web Services account, for example the number of replication instances allowed.

func (AccountQuota) GoString

func (s AccountQuota) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccountQuota) SetAccountQuotaName

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

SetAccountQuotaName sets the AccountQuotaName field's value.

func (*AccountQuota) SetMax

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

SetMax sets the Max field's value.

func (*AccountQuota) SetUsed

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

SetUsed sets the Used field's value.

func (AccountQuota) String

func (s AccountQuota) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AddTagsToResourceInput

type AddTagsToResourceInput struct {

    // Identifies the DMS resource to which tags should be added. The value for
    // this parameter is an Amazon Resource Name (ARN).
    //
    // For 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 DMS resource.

func (AddTagsToResourceInput) GoString

func (s AddTagsToResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddTagsToResourceInput) SetResourceArn

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

SetResourceArn sets the ResourceArn field's value.

func (*AddTagsToResourceInput) SetTags

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

SetTags sets the Tags field's value.

func (AddTagsToResourceInput) String

func (s AddTagsToResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddTagsToResourceInput) Validate

func (s *AddTagsToResourceInput) Validate() error

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

type AddTagsToResourceOutput

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

func (AddTagsToResourceOutput) GoString

func (s AddTagsToResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (AddTagsToResourceOutput) String

func (s AddTagsToResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ApplyPendingMaintenanceActionInput

type ApplyPendingMaintenanceActionInput struct {

    // The pending maintenance action to apply to this resource.
    //
    // Valid values: os-upgrade, system-update, db-upgrade
    //
    // 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 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

func (s ApplyPendingMaintenanceActionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApplyPendingMaintenanceActionInput) SetApplyAction

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

SetApplyAction sets the ApplyAction field's value.

func (*ApplyPendingMaintenanceActionInput) SetOptInType

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

SetOptInType sets the OptInType field's value.

func (*ApplyPendingMaintenanceActionInput) SetReplicationInstanceArn

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

SetReplicationInstanceArn sets the ReplicationInstanceArn field's value.

func (ApplyPendingMaintenanceActionInput) String

func (s ApplyPendingMaintenanceActionInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApplyPendingMaintenanceActionInput) Validate

func (s *ApplyPendingMaintenanceActionInput) Validate() error

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

type ApplyPendingMaintenanceActionOutput

type ApplyPendingMaintenanceActionOutput struct {

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

func (ApplyPendingMaintenanceActionOutput) GoString

func (s ApplyPendingMaintenanceActionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApplyPendingMaintenanceActionOutput) SetResourcePendingMaintenanceActions

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

SetResourcePendingMaintenanceActions sets the ResourcePendingMaintenanceActions field's value.

func (ApplyPendingMaintenanceActionOutput) String

func (s ApplyPendingMaintenanceActionOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AvailabilityZone

type AvailabilityZone struct {

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

The name of an Availability Zone for use during database migration. AvailabilityZone is an optional parameter to the CreateReplicationInstance (https://docs.aws.amazon.com/dms/latest/APIReference/API_CreateReplicationInstance.html) operation, and it’s value relates to the Amazon Web Services Region of an endpoint. For example, the availability zone of an endpoint in the us-east-1 region might be us-east-1a, us-east-1b, us-east-1c, or us-east-1d.

func (AvailabilityZone) GoString

func (s AvailabilityZone) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AvailabilityZone) SetName

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

SetName sets the Name field's value.

func (AvailabilityZone) String

func (s AvailabilityZone) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchStartRecommendationsErrorEntry

type BatchStartRecommendationsErrorEntry struct {

    // The code of an error that occurred during the analysis of the source database.
    Code *string `type:"string"`

    // The identifier of the source database.
    DatabaseId *string `type:"string"`

    // The information about the error.
    Message *string `type:"string"`
    // contains filtered or unexported fields
}

Provides information about the errors that occurred during the analysis of the source database.

func (BatchStartRecommendationsErrorEntry) GoString

func (s BatchStartRecommendationsErrorEntry) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchStartRecommendationsErrorEntry) SetCode

func (s *BatchStartRecommendationsErrorEntry) SetCode(v string) *BatchStartRecommendationsErrorEntry

SetCode sets the Code field's value.

func (*BatchStartRecommendationsErrorEntry) SetDatabaseId

func (s *BatchStartRecommendationsErrorEntry) SetDatabaseId(v string) *BatchStartRecommendationsErrorEntry

SetDatabaseId sets the DatabaseId field's value.

func (*BatchStartRecommendationsErrorEntry) SetMessage

func (s *BatchStartRecommendationsErrorEntry) SetMessage(v string) *BatchStartRecommendationsErrorEntry

SetMessage sets the Message field's value.

func (BatchStartRecommendationsErrorEntry) String

func (s BatchStartRecommendationsErrorEntry) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchStartRecommendationsInput

type BatchStartRecommendationsInput struct {

    // Provides information about source databases to analyze. After this analysis,
    // Fleet Advisor recommends target engines for each source database.
    Data []*StartRecommendationsRequestEntry `type:"list"`
    // contains filtered or unexported fields
}

func (BatchStartRecommendationsInput) GoString

func (s BatchStartRecommendationsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchStartRecommendationsInput) SetData

func (s *BatchStartRecommendationsInput) SetData(v []*StartRecommendationsRequestEntry) *BatchStartRecommendationsInput

SetData sets the Data field's value.

func (BatchStartRecommendationsInput) String

func (s BatchStartRecommendationsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchStartRecommendationsInput) Validate

func (s *BatchStartRecommendationsInput) Validate() error

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

type BatchStartRecommendationsOutput

type BatchStartRecommendationsOutput struct {

    // A list with error details about the analysis of each source database.
    ErrorEntries []*BatchStartRecommendationsErrorEntry `type:"list"`
    // contains filtered or unexported fields
}

func (BatchStartRecommendationsOutput) GoString

func (s BatchStartRecommendationsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchStartRecommendationsOutput) SetErrorEntries

func (s *BatchStartRecommendationsOutput) SetErrorEntries(v []*BatchStartRecommendationsErrorEntry) *BatchStartRecommendationsOutput

SetErrorEntries sets the ErrorEntries field's value.

func (BatchStartRecommendationsOutput) String

func (s BatchStartRecommendationsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CancelReplicationTaskAssessmentRunInput

type CancelReplicationTaskAssessmentRunInput struct {

    // Amazon Resource Name (ARN) of the premigration assessment run to be canceled.
    //
    // ReplicationTaskAssessmentRunArn is a required field
    ReplicationTaskAssessmentRunArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CancelReplicationTaskAssessmentRunInput) GoString

func (s CancelReplicationTaskAssessmentRunInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CancelReplicationTaskAssessmentRunInput) SetReplicationTaskAssessmentRunArn

func (s *CancelReplicationTaskAssessmentRunInput) SetReplicationTaskAssessmentRunArn(v string) *CancelReplicationTaskAssessmentRunInput

SetReplicationTaskAssessmentRunArn sets the ReplicationTaskAssessmentRunArn field's value.

func (CancelReplicationTaskAssessmentRunInput) String

func (s CancelReplicationTaskAssessmentRunInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CancelReplicationTaskAssessmentRunInput) Validate

func (s *CancelReplicationTaskAssessmentRunInput) Validate() error

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

type CancelReplicationTaskAssessmentRunOutput

type CancelReplicationTaskAssessmentRunOutput struct {

    // The ReplicationTaskAssessmentRun object for the canceled assessment run.
    ReplicationTaskAssessmentRun *ReplicationTaskAssessmentRun `type:"structure"`
    // contains filtered or unexported fields
}

func (CancelReplicationTaskAssessmentRunOutput) GoString

func (s CancelReplicationTaskAssessmentRunOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CancelReplicationTaskAssessmentRunOutput) SetReplicationTaskAssessmentRun

func (s *CancelReplicationTaskAssessmentRunOutput) SetReplicationTaskAssessmentRun(v *ReplicationTaskAssessmentRun) *CancelReplicationTaskAssessmentRunOutput

SetReplicationTaskAssessmentRun sets the ReplicationTaskAssessmentRun field's value.

func (CancelReplicationTaskAssessmentRunOutput) String

func (s CancelReplicationTaskAssessmentRunOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Certificate

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 and must contain only ASCII letters, digits, and hyphens. They can't
    // 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. Example:
    // filebase64("${path.root}/rds-ca-2019-root.sso")
    // 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

func (s Certificate) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Certificate) SetCertificateArn

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

SetCertificateArn sets the CertificateArn field's value.

func (*Certificate) SetCertificateCreationDate

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

SetCertificateCreationDate sets the CertificateCreationDate field's value.

func (*Certificate) SetCertificateIdentifier

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

SetCertificateIdentifier sets the CertificateIdentifier field's value.

func (*Certificate) SetCertificateOwner

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

SetCertificateOwner sets the CertificateOwner field's value.

func (*Certificate) SetCertificatePem

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

SetCertificatePem sets the CertificatePem field's value.

func (*Certificate) SetCertificateWallet

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

SetCertificateWallet sets the CertificateWallet field's value.

func (*Certificate) SetKeyLength

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

SetKeyLength sets the KeyLength field's value.

func (*Certificate) SetSigningAlgorithm

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

SetSigningAlgorithm sets the SigningAlgorithm field's value.

func (*Certificate) SetValidFromDate

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

SetValidFromDate sets the ValidFromDate field's value.

func (*Certificate) SetValidToDate

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

SetValidToDate sets the ValidToDate field's value.

func (Certificate) String

func (s Certificate) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CollectorHealthCheck

type CollectorHealthCheck struct {

    // The status of the Fleet Advisor collector.
    CollectorStatus *string `type:"string" enum:"CollectorStatus"`

    // Whether the local collector can access its Amazon S3 bucket.
    LocalCollectorS3Access *bool `type:"boolean"`

    // Whether the role that you provided when creating the Fleet Advisor collector
    // has sufficient permissions to access the Fleet Advisor web collector.
    WebCollectorGrantedRoleBasedAccess *bool `type:"boolean"`

    // Whether the web collector can access its Amazon S3 bucket.
    WebCollectorS3Access *bool `type:"boolean"`
    // contains filtered or unexported fields
}

Describes the last Fleet Advisor collector health check.

func (CollectorHealthCheck) GoString

func (s CollectorHealthCheck) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CollectorHealthCheck) SetCollectorStatus

func (s *CollectorHealthCheck) SetCollectorStatus(v string) *CollectorHealthCheck

SetCollectorStatus sets the CollectorStatus field's value.

func (*CollectorHealthCheck) SetLocalCollectorS3Access

func (s *CollectorHealthCheck) SetLocalCollectorS3Access(v bool) *CollectorHealthCheck

SetLocalCollectorS3Access sets the LocalCollectorS3Access field's value.

func (*CollectorHealthCheck) SetWebCollectorGrantedRoleBasedAccess

func (s *CollectorHealthCheck) SetWebCollectorGrantedRoleBasedAccess(v bool) *CollectorHealthCheck

SetWebCollectorGrantedRoleBasedAccess sets the WebCollectorGrantedRoleBasedAccess field's value.

func (*CollectorHealthCheck) SetWebCollectorS3Access

func (s *CollectorHealthCheck) SetWebCollectorS3Access(v bool) *CollectorHealthCheck

SetWebCollectorS3Access sets the WebCollectorS3Access field's value.

func (CollectorHealthCheck) String

func (s CollectorHealthCheck) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CollectorNotFoundFault

type CollectorNotFoundFault struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The specified collector doesn't exist.

func (*CollectorNotFoundFault) Code

func (s *CollectorNotFoundFault) Code() string

Code returns the exception type name.

func (*CollectorNotFoundFault) Error

func (s *CollectorNotFoundFault) Error() string

func (CollectorNotFoundFault) GoString

func (s CollectorNotFoundFault) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CollectorNotFoundFault) Message

func (s *CollectorNotFoundFault) Message() string

Message returns the exception's message.

func (*CollectorNotFoundFault) OrigErr

func (s *CollectorNotFoundFault) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*CollectorNotFoundFault) RequestID

func (s *CollectorNotFoundFault) RequestID() string

RequestID returns the service's response RequestID for request.

func (*CollectorNotFoundFault) StatusCode

func (s *CollectorNotFoundFault) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (CollectorNotFoundFault) String

func (s CollectorNotFoundFault) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CollectorResponse

type CollectorResponse struct {

    // Describes the last Fleet Advisor collector health check.
    CollectorHealthCheck *CollectorHealthCheck `type:"structure"`

    // The name of the Fleet Advisor collector .
    CollectorName *string `type:"string"`

    // The reference ID of the Fleet Advisor collector.
    CollectorReferencedId *string `type:"string"`

    // The version of your Fleet Advisor collector, in semantic versioning format,
    // for example 1.0.2
    CollectorVersion *string `type:"string"`

    // The timestamp when you created the collector, in the following format: 2022-01-24T19:04:02.596113Z
    CreatedDate *string `type:"string"`

    // A summary description of the Fleet Advisor collector.
    Description *string `type:"string"`

    // Describes a Fleet Advisor collector inventory.
    InventoryData *InventoryData `type:"structure"`

    // The timestamp of the last time the collector received data, in the following
    // format: 2022-01-24T19:04:02.596113Z
    LastDataReceived *string `type:"string"`

    // The timestamp when DMS last modified the collector, in the following format:
    // 2022-01-24T19:04:02.596113Z
    ModifiedDate *string `type:"string"`

    // The timestamp when DMS registered the collector, in the following format:
    // 2022-01-24T19:04:02.596113Z
    RegisteredDate *string `type:"string"`

    // The Amazon S3 bucket that the Fleet Advisor collector uses to store inventory
    // metadata.
    S3BucketName *string `type:"string"`

    // The IAM role that grants permissions to access the specified Amazon S3 bucket.
    ServiceAccessRoleArn *string `type:"string"`

    // Whether the collector version is up to date.
    VersionStatus *string `type:"string" enum:"VersionStatus"`
    // contains filtered or unexported fields
}

Describes a Fleet Advisor collector.

func (CollectorResponse) GoString

func (s CollectorResponse) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CollectorResponse) SetCollectorHealthCheck

func (s *CollectorResponse) SetCollectorHealthCheck(v *CollectorHealthCheck) *CollectorResponse

SetCollectorHealthCheck sets the CollectorHealthCheck field's value.

func (*CollectorResponse) SetCollectorName

func (s *CollectorResponse) SetCollectorName(v string) *CollectorResponse

SetCollectorName sets the CollectorName field's value.

func (*CollectorResponse) SetCollectorReferencedId

func (s *CollectorResponse) SetCollectorReferencedId(v string) *CollectorResponse

SetCollectorReferencedId sets the CollectorReferencedId field's value.

func (*CollectorResponse) SetCollectorVersion

func (s *CollectorResponse) SetCollectorVersion(v string) *CollectorResponse

SetCollectorVersion sets the CollectorVersion field's value.

func (*CollectorResponse) SetCreatedDate

func (s *CollectorResponse) SetCreatedDate(v string) *CollectorResponse

SetCreatedDate sets the CreatedDate field's value.

func (*CollectorResponse) SetDescription

func (s *CollectorResponse) SetDescription(v string) *CollectorResponse

SetDescription sets the Description field's value.

func (*CollectorResponse) SetInventoryData

func (s *CollectorResponse) SetInventoryData(v *InventoryData) *CollectorResponse

SetInventoryData sets the InventoryData field's value.

func (*CollectorResponse) SetLastDataReceived

func (s *CollectorResponse) SetLastDataReceived(v string) *CollectorResponse

SetLastDataReceived sets the LastDataReceived field's value.

func (*CollectorResponse) SetModifiedDate

func (s *CollectorResponse) SetModifiedDate(v string) *CollectorResponse

SetModifiedDate sets the ModifiedDate field's value.

func (*CollectorResponse) SetRegisteredDate

func (s *CollectorResponse) SetRegisteredDate(v string) *CollectorResponse

SetRegisteredDate sets the RegisteredDate field's value.

func (*CollectorResponse) SetS3BucketName

func (s *CollectorResponse) SetS3BucketName(v string) *CollectorResponse

SetS3BucketName sets the S3BucketName field's value.

func (*CollectorResponse) SetServiceAccessRoleArn

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

SetServiceAccessRoleArn sets the ServiceAccessRoleArn field's value.

func (*CollectorResponse) SetVersionStatus

func (s *CollectorResponse) SetVersionStatus(v string) *CollectorResponse

SetVersionStatus sets the VersionStatus field's value.

func (CollectorResponse) String

func (s CollectorResponse) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CollectorShortInfoResponse

type CollectorShortInfoResponse struct {

    // The name of the Fleet Advisor collector.
    CollectorName *string `type:"string"`

    // The reference ID of the Fleet Advisor collector.
    CollectorReferencedId *string `type:"string"`
    // contains filtered or unexported fields
}

Briefly describes a Fleet Advisor collector.

func (CollectorShortInfoResponse) GoString

func (s CollectorShortInfoResponse) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CollectorShortInfoResponse) SetCollectorName

func (s *CollectorShortInfoResponse) SetCollectorName(v string) *CollectorShortInfoResponse

SetCollectorName sets the CollectorName field's value.

func (*CollectorShortInfoResponse) SetCollectorReferencedId

func (s *CollectorShortInfoResponse) SetCollectorReferencedId(v string) *CollectorShortInfoResponse

SetCollectorReferencedId sets the CollectorReferencedId field's value.

func (CollectorShortInfoResponse) String

func (s CollectorShortInfoResponse) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Connection

type Connection struct {

    // The ARN string that uniquely identifies the endpoint.
    EndpointArn *string `type:"string"`

    // The identifier of the endpoint. Identifiers must begin with a letter and
    // must contain only ASCII letters, digits, and hyphens. They can't 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 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. This parameter can return one of the following values:
    //
    //    * "successful"
    //
    //    * "testing"
    //
    //    * "failed"
    //
    //    * "deleting"
    Status *string `type:"string"`
    // contains filtered or unexported fields
}

Status of the connection between an endpoint and a replication instance, including Amazon Resource Names (ARNs) and the last error message issued.

func (Connection) GoString

func (s Connection) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Connection) SetEndpointArn

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

SetEndpointArn sets the EndpointArn field's value.

func (*Connection) SetEndpointIdentifier

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

SetEndpointIdentifier sets the EndpointIdentifier field's value.

func (*Connection) SetLastFailureMessage

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

SetLastFailureMessage sets the LastFailureMessage field's value.

func (*Connection) SetReplicationInstanceArn

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

SetReplicationInstanceArn sets the ReplicationInstanceArn field's value.

func (*Connection) SetReplicationInstanceIdentifier

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

SetReplicationInstanceIdentifier sets the ReplicationInstanceIdentifier field's value.

func (*Connection) SetStatus

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

SetStatus sets the Status field's value.

func (Connection) String

func (s Connection) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateEndpointInput

type CreateEndpointInput struct {

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

    // The name of the endpoint database. For a MySQL source or target endpoint,
    // do not specify DatabaseName. To migrate to a specific database, use this
    // setting and targetDbType.
    DatabaseName *string `type:"string"`

    // The settings in JSON format for the DMS transfer type of source endpoint.
    //
    // Possible settings include the following:
    //
    //    * ServiceAccessRoleArn - The Amazon Resource Name (ARN) used by the service
    //    access IAM role. The role must allow the iam:PassRole action.
    //
    //    * BucketName - The name of the S3 bucket to use.
    //
    // Shorthand syntax for these settings is as follows: ServiceAccessRoleArn=string,BucketName=string
    //
    // JSON syntax for these settings is as follows: { "ServiceAccessRoleArn": "string",
    // "BucketName": "string", }
    DmsTransferSettings *DmsTransferSettings `type:"structure"`

    // Provides information that defines a DocumentDB endpoint.
    DocDbSettings *DocDbSettings `type:"structure"`

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

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

    // The database endpoint identifier. Identifiers must begin with a letter and
    // must contain only ASCII letters, digits, and hyphens. They can't 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",
    // "opensearch", "redshift", "s3", "db2", "db2-zos", "azuredb", "sybase", "dynamodb",
    // "mongodb", "kinesis", "kafka", "elasticsearch", "docdb", "sqlserver", "neptune",
    // and "babelfish".
    //
    // 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 DMS Endpoints (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Endpoints.html)
    // in the Database Migration Service User Guide.
    ExtraConnectionAttributes *string `type:"string"`

    // Settings in JSON format for the source GCP MySQL endpoint.
    GcpMySQLSettings *GcpMySQLSettings `type:"structure"`

    // Settings in JSON format for the source IBM Db2 LUW endpoint. For information
    // about other available settings, see Extra connection attributes when using
    // Db2 LUW as a source for DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.DB2.html#CHAP_Source.DB2.ConnectionAttrib)
    // in the Database Migration Service User Guide.
    IBMDb2Settings *IBMDb2Settings `type:"structure"`

    // Settings in JSON format for the target Apache Kafka endpoint. For more information
    // about the available settings, see Using object mapping to migrate data to
    // a Kafka topic (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Kafka.html#CHAP_Target.Kafka.ObjectMapping)
    // in the Database Migration Service User Guide.
    KafkaSettings *KafkaSettings `type:"structure"`

    // Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams.
    // 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 Database Migration Service User Guide.
    KinesisSettings *KinesisSettings `type:"structure"`

    // An 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 DMS uses your
    // default encryption key.
    //
    // KMS creates the default encryption key for your Amazon Web Services account.
    // Your Amazon Web Services account has a different default encryption key for
    // each Amazon Web Services Region.
    KmsKeyId *string `type:"string"`

    // Settings in JSON format for the source and target Microsoft SQL Server endpoint.
    // For information about other available settings, see Extra connection attributes
    // when using SQL Server as a source for DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.SQLServer.html#CHAP_Source.SQLServer.ConnectionAttrib)
    // and Extra connection attributes when using SQL Server as a target for DMS
    // (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.SQLServer.html#CHAP_Target.SQLServer.ConnectionAttrib)
    // in the Database Migration Service User Guide.
    MicrosoftSQLServerSettings *MicrosoftSQLServerSettings `type:"structure"`

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

    // Settings in JSON format for the source and target MySQL endpoint. For information
    // about other available settings, see Extra connection attributes when using
    // MySQL as a source for DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MySQL.html#CHAP_Source.MySQL.ConnectionAttrib)
    // and Extra connection attributes when using a MySQL-compatible database as
    // a target for DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.MySQL.html#CHAP_Target.MySQL.ConnectionAttrib)
    // in the Database Migration Service User Guide.
    MySQLSettings *MySQLSettings `type:"structure"`

    // Settings in JSON format for the target Amazon Neptune endpoint. For more
    // information about the available settings, see Specifying graph-mapping rules
    // using Gremlin and R2RML for Amazon Neptune as a target (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Neptune.html#CHAP_Target.Neptune.EndpointSettings)
    // in the Database Migration Service User Guide.
    NeptuneSettings *NeptuneSettings `type:"structure"`

    // Settings in JSON format for the source and target Oracle endpoint. For information
    // about other available settings, see Extra connection attributes when using
    // Oracle as a source for DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.html#CHAP_Source.Oracle.ConnectionAttrib)
    // and Extra connection attributes when using Oracle as a target for DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Oracle.html#CHAP_Target.Oracle.ConnectionAttrib)
    // in the Database Migration Service User Guide.
    OracleSettings *OracleSettings `type:"structure"`

    // The password to be used to log in to the endpoint database.
    //
    // Password is a sensitive parameter and its value will be
    // replaced with "sensitive" in string returned by CreateEndpointInput's
    // String and GoString methods.
    Password *string `type:"string" sensitive:"true"`

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

    // Settings in JSON format for the source and target PostgreSQL endpoint. For
    // information about other available settings, see Extra connection attributes
    // when using PostgreSQL as a source for DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.html#CHAP_Source.PostgreSQL.ConnectionAttrib)
    // and Extra connection attributes when using PostgreSQL as a target for DMS
    // (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.PostgreSQL.html#CHAP_Target.PostgreSQL.ConnectionAttrib)
    // in the Database Migration Service User Guide.
    PostgreSQLSettings *PostgreSQLSettings `type:"structure"`

    // Settings in JSON format for the target Redis endpoint.
    RedisSettings *RedisSettings `type:"structure"`

    // Provides information that defines an Amazon Redshift endpoint.
    RedshiftSettings *RedshiftSettings `type:"structure"`

    // A friendly name for the resource identifier at the end of the EndpointArn
    // response parameter that is returned in the created Endpoint object. The value
    // for this parameter can have up to 31 characters. It can contain only ASCII
    // letters, digits, and hyphen ('-'). Also, it can't end with a hyphen or contain
    // two consecutive hyphens, and can only begin with a letter, such as Example-App-ARN1.
    // For example, this value might result in the EndpointArn value arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1.
    // If you don't specify a ResourceIdentifier value, DMS generates a default
    // identifier value for the end of EndpointArn.
    ResourceIdentifier *string `type:"string"`

    // 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 DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html#CHAP_Target.S3.Configuring)
    // in the 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. The role must allow the iam:PassRole action.
    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"`

    // Settings in JSON format for the source and target SAP ASE endpoint. For information
    // about other available settings, see Extra connection attributes when using
    // SAP ASE as a source for DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.SAP.html#CHAP_Source.SAP.ConnectionAttrib)
    // and Extra connection attributes when using SAP ASE as a target for DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.SAP.html#CHAP_Target.SAP.ConnectionAttrib)
    // in the Database Migration Service User Guide.
    SybaseSettings *SybaseSettings `type:"structure"`

    // 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

func (s CreateEndpointInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateEndpointInput) SetCertificateArn

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

SetCertificateArn sets the CertificateArn field's value.

func (*CreateEndpointInput) SetDatabaseName

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

SetDatabaseName sets the DatabaseName field's value.

func (*CreateEndpointInput) SetDmsTransferSettings

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

SetDmsTransferSettings sets the DmsTransferSettings field's value.

func (*CreateEndpointInput) SetDocDbSettings

func (s *CreateEndpointInput) SetDocDbSettings(v *DocDbSettings) *CreateEndpointInput

SetDocDbSettings sets the DocDbSettings field's value.

func (*CreateEndpointInput) SetDynamoDbSettings

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

SetDynamoDbSettings sets the DynamoDbSettings field's value.

func (*CreateEndpointInput) SetElasticsearchSettings

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

SetElasticsearchSettings sets the ElasticsearchSettings field's value.

func (*CreateEndpointInput) SetEndpointIdentifier

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

SetEndpointIdentifier sets the EndpointIdentifier field's value.

func (*CreateEndpointInput) SetEndpointType

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

SetEndpointType sets the EndpointType field's value.

func (*CreateEndpointInput) SetEngineName

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

SetEngineName sets the EngineName field's value.

func (*CreateEndpointInput) SetExternalTableDefinition

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

SetExternalTableDefinition sets the ExternalTableDefinition field's value.

func (*CreateEndpointInput) SetExtraConnectionAttributes

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

SetExtraConnectionAttributes sets the ExtraConnectionAttributes field's value.

func (*CreateEndpointInput) SetGcpMySQLSettings

func (s *CreateEndpointInput) SetGcpMySQLSettings(v *GcpMySQLSettings) *CreateEndpointInput

SetGcpMySQLSettings sets the GcpMySQLSettings field's value.

func (*CreateEndpointInput) SetIBMDb2Settings

func (s *CreateEndpointInput) SetIBMDb2Settings(v *IBMDb2Settings) *CreateEndpointInput

SetIBMDb2Settings sets the IBMDb2Settings field's value.

func (*CreateEndpointInput) SetKafkaSettings

func (s *CreateEndpointInput) SetKafkaSettings(v *KafkaSettings) *CreateEndpointInput

SetKafkaSettings sets the KafkaSettings field's value.

func (*CreateEndpointInput) SetKinesisSettings

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

SetKinesisSettings sets the KinesisSettings field's value.

func (*CreateEndpointInput) SetKmsKeyId

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

SetKmsKeyId sets the KmsKeyId field's value.

func (*CreateEndpointInput) SetMicrosoftSQLServerSettings

func (s *CreateEndpointInput) SetMicrosoftSQLServerSettings(v *MicrosoftSQLServerSettings) *CreateEndpointInput

SetMicrosoftSQLServerSettings sets the MicrosoftSQLServerSettings field's value.

func (*CreateEndpointInput) SetMongoDbSettings

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

SetMongoDbSettings sets the MongoDbSettings field's value.

func (*CreateEndpointInput) SetMySQLSettings

func (s *CreateEndpointInput) SetMySQLSettings(v *MySQLSettings) *CreateEndpointInput

SetMySQLSettings sets the MySQLSettings field's value.

func (*CreateEndpointInput) SetNeptuneSettings

func (s *CreateEndpointInput) SetNeptuneSettings(v *NeptuneSettings) *CreateEndpointInput

SetNeptuneSettings sets the NeptuneSettings field's value.

func (*CreateEndpointInput) SetOracleSettings

func (s *CreateEndpointInput) SetOracleSettings(v *OracleSettings) *CreateEndpointInput

SetOracleSettings sets the OracleSettings field's value.

func (*CreateEndpointInput) SetPassword

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

SetPassword sets the Password field's value.

func (*CreateEndpointInput) SetPort

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

SetPort sets the Port field's value.

func (*CreateEndpointInput) SetPostgreSQLSettings

func (s *CreateEndpointInput) SetPostgreSQLSettings(v *PostgreSQLSettings) *CreateEndpointInput

SetPostgreSQLSettings sets the PostgreSQLSettings field's value.

func (*CreateEndpointInput) SetRedisSettings

func (s *CreateEndpointInput) SetRedisSettings(v *RedisSettings) *CreateEndpointInput

SetRedisSettings sets the RedisSettings field's value.

func (*CreateEndpointInput) SetRedshiftSettings

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

SetRedshiftSettings sets the RedshiftSettings field's value.

func (*CreateEndpointInput) SetResourceIdentifier

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

SetResourceIdentifier sets the ResourceIdentifier field's value.

func (*CreateEndpointInput) SetS3Settings

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

SetS3Settings sets the S3Settings field's value.

func (*CreateEndpointInput) SetServerName

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

SetServerName sets the ServerName field's value.

func (*CreateEndpointInput) SetServiceAccessRoleArn

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

SetServiceAccessRoleArn sets the ServiceAccessRoleArn field's value.

func (*CreateEndpointInput) SetSslMode

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

SetSslMode sets the SslMode field's value.

func (*CreateEndpointInput) SetSybaseSettings

func (s *CreateEndpointInput) SetSybaseSettings(v *SybaseSettings) *CreateEndpointInput

SetSybaseSettings sets the SybaseSettings field's value.

func (*CreateEndpointInput) SetTags

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

SetTags sets the Tags field's value.

func (*CreateEndpointInput) SetUsername

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

SetUsername sets the Username field's value.

func (CreateEndpointInput) String

func (s CreateEndpointInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateEndpointInput) Validate

func (s *CreateEndpointInput) Validate() error

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

type CreateEndpointOutput

type CreateEndpointOutput struct {

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

func (CreateEndpointOutput) GoString

func (s CreateEndpointOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateEndpointOutput) SetEndpoint

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

SetEndpoint sets the Endpoint field's value.

func (CreateEndpointOutput) String

func (s CreateEndpointOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateEventSubscriptionInput

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 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 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 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 isn't specified, all events
    // are returned.
    //
    // Valid values: replication-instance | replication-task
    SourceType *string `type:"string"`

    // The name of the 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

func (s CreateEventSubscriptionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateEventSubscriptionInput) SetEnabled

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

SetEnabled sets the Enabled field's value.

func (*CreateEventSubscriptionInput) SetEventCategories

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

SetEventCategories sets the EventCategories field's value.

func (*CreateEventSubscriptionInput) SetSnsTopicArn

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

SetSnsTopicArn sets the SnsTopicArn field's value.

func (*CreateEventSubscriptionInput) SetSourceIds

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

SetSourceIds sets the SourceIds field's value.

func (*CreateEventSubscriptionInput) SetSourceType

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

SetSourceType sets the SourceType field's value.

func (*CreateEventSubscriptionInput) SetSubscriptionName

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

SetSubscriptionName sets the SubscriptionName field's value.

func (*CreateEventSubscriptionInput) SetTags

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

SetTags sets the Tags field's value.

func (CreateEventSubscriptionInput) String

func (s CreateEventSubscriptionInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateEventSubscriptionInput) Validate

func (s *CreateEventSubscriptionInput) Validate() error

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

type CreateEventSubscriptionOutput

type CreateEventSubscriptionOutput struct {

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

func (CreateEventSubscriptionOutput) GoString

func (s CreateEventSubscriptionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateEventSubscriptionOutput) SetEventSubscription

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

SetEventSubscription sets the EventSubscription field's value.

func (CreateEventSubscriptionOutput) String

func (s CreateEventSubscriptionOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateFleetAdvisorCollectorInput

type CreateFleetAdvisorCollectorInput struct {

    // The name of your Fleet Advisor collector (for example, sample-collector).
    //
    // CollectorName is a required field
    CollectorName *string `type:"string" required:"true"`

    // A summary description of your Fleet Advisor collector.
    Description *string `type:"string"`

    // The Amazon S3 bucket that the Fleet Advisor collector uses to store inventory
    // metadata.
    //
    // S3BucketName is a required field
    S3BucketName *string `type:"string" required:"true"`

    // The IAM role that grants permissions to access the specified Amazon S3 bucket.
    //
    // ServiceAccessRoleArn is a required field
    ServiceAccessRoleArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateFleetAdvisorCollectorInput) GoString

func (s CreateFleetAdvisorCollectorInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateFleetAdvisorCollectorInput) SetCollectorName

func (s *CreateFleetAdvisorCollectorInput) SetCollectorName(v string) *CreateFleetAdvisorCollectorInput

SetCollectorName sets the CollectorName field's value.

func (*CreateFleetAdvisorCollectorInput) SetDescription

func (s *CreateFleetAdvisorCollectorInput) SetDescription(v string) *CreateFleetAdvisorCollectorInput

SetDescription sets the Description field's value.

func (*CreateFleetAdvisorCollectorInput) SetS3BucketName

func (s *CreateFleetAdvisorCollectorInput) SetS3BucketName(v string) *CreateFleetAdvisorCollectorInput

SetS3BucketName sets the S3BucketName field's value.

func (*CreateFleetAdvisorCollectorInput) SetServiceAccessRoleArn

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

SetServiceAccessRoleArn sets the ServiceAccessRoleArn field's value.

func (CreateFleetAdvisorCollectorInput) String

func (s CreateFleetAdvisorCollectorInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateFleetAdvisorCollectorInput) Validate

func (s *CreateFleetAdvisorCollectorInput) Validate() error

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

type CreateFleetAdvisorCollectorOutput

type CreateFleetAdvisorCollectorOutput struct {

    // The name of the new Fleet Advisor collector.
    CollectorName *string `type:"string"`

    // The unique ID of the new Fleet Advisor collector, for example: 22fda70c-40d5-4acf-b233-a495bd8eb7f5
    CollectorReferencedId *string `type:"string"`

    // A summary description of the Fleet Advisor collector.
    Description *string `type:"string"`

    // The Amazon S3 bucket that the collector uses to store inventory metadata.
    S3BucketName *string `type:"string"`

    // The IAM role that grants permissions to access the specified Amazon S3 bucket.
    ServiceAccessRoleArn *string `type:"string"`
    // contains filtered or unexported fields
}

func (CreateFleetAdvisorCollectorOutput) GoString

func (s CreateFleetAdvisorCollectorOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateFleetAdvisorCollectorOutput) SetCollectorName

func (s *CreateFleetAdvisorCollectorOutput) SetCollectorName(v string) *CreateFleetAdvisorCollectorOutput

SetCollectorName sets the CollectorName field's value.

func (*CreateFleetAdvisorCollectorOutput) SetCollectorReferencedId

func (s *CreateFleetAdvisorCollectorOutput) SetCollectorReferencedId(v string) *CreateFleetAdvisorCollectorOutput

SetCollectorReferencedId sets the CollectorReferencedId field's value.

func (*CreateFleetAdvisorCollectorOutput) SetDescription

func (s *CreateFleetAdvisorCollectorOutput) SetDescription(v string) *CreateFleetAdvisorCollectorOutput

SetDescription sets the Description field's value.

func (*CreateFleetAdvisorCollectorOutput) SetS3BucketName

func (s *CreateFleetAdvisorCollectorOutput) SetS3BucketName(v string) *CreateFleetAdvisorCollectorOutput

SetS3BucketName sets the S3BucketName field's value.

func (*CreateFleetAdvisorCollectorOutput) SetServiceAccessRoleArn

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

SetServiceAccessRoleArn sets the ServiceAccessRoleArn field's value.

func (CreateFleetAdvisorCollectorOutput) String

func (s CreateFleetAdvisorCollectorOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateReplicationInstanceInput

type CreateReplicationInstanceInput struct {

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

    // A value that indicates whether minor engine upgrades are applied automatically
    // to the replication instance during the maintenance window. This parameter
    // defaults to true.
    //
    // Default: true
    //
    // When AutoMinorVersionUpgrade is enabled, DMS uses the current default engine
    // version when you create a replication instance. For example, if you set EngineVersion
    // to a lower version number than the current default version, DMS uses the
    // default version.
    //
    // If AutoMinorVersionUpgrade isn’t enabled when you create a replication
    // instance, DMS uses the engine version specified by the EngineVersion parameter.
    AutoMinorVersionUpgrade *bool `type:"boolean"`

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

    // A list of custom DNS name servers supported for the replication instance
    // to access your on-premise source or target database. This list overrides
    // the default name servers supported by the replication instance. You can specify
    // a comma-separated list of internet addresses for up to four on-premise DNS
    // name servers. For example: "1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"
    DnsNameServers *string `type:"string"`

    // The engine version number of the replication instance.
    //
    // If an engine version number is not specified when a replication instance
    // is created, the default is the latest engine version available.
    EngineVersion *string `type:"string"`

    // An 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 DMS uses your
    // default encryption key.
    //
    // KMS creates the default encryption key for your Amazon Web Services account.
    // Your Amazon Web Services account has a different default encryption key for
    // each Amazon Web Services Region.
    KmsKeyId *string `type:"string"`

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

    // The type of IP address protocol used by a replication instance, such as IPv4
    // only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only
    // is not yet supported.
    NetworkType *string `type:"string"`

    // 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 Amazon Web Services 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 defined for
    // the specified replication instance class. For example to specify the instance
    // class dms.c4.large, set this parameter to "dms.c4.large".
    //
    // For more information on the settings and capacities for the available replication
    // instance classes, see Selecting the right DMS replication instance for your
    // migration (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_ReplicationInstance.html#CHAP_ReplicationInstance.InDepth).
    //
    // 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 1-63 alphanumeric characters or hyphens.
    //
    //    * First character must be a letter.
    //
    //    * Can't 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"`

    // A friendly name for the resource identifier at the end of the EndpointArn
    // response parameter that is returned in the created Endpoint object. The value
    // for this parameter can have up to 31 characters. It can contain only ASCII
    // letters, digits, and hyphen ('-'). Also, it can't end with a hyphen or contain
    // two consecutive hyphens, and can only begin with a letter, such as Example-App-ARN1.
    // For example, this value might result in the EndpointArn value arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1.
    // If you don't specify a ResourceIdentifier value, DMS generates a default
    // identifier value for the end of EndpointArn.
    ResourceIdentifier *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

func (s CreateReplicationInstanceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateReplicationInstanceInput) SetAllocatedStorage

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

SetAllocatedStorage sets the AllocatedStorage field's value.

func (*CreateReplicationInstanceInput) SetAutoMinorVersionUpgrade

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

SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.

func (*CreateReplicationInstanceInput) SetAvailabilityZone

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

SetAvailabilityZone sets the AvailabilityZone field's value.

func (*CreateReplicationInstanceInput) SetDnsNameServers

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

SetDnsNameServers sets the DnsNameServers field's value.

func (*CreateReplicationInstanceInput) SetEngineVersion

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

SetEngineVersion sets the EngineVersion field's value.

func (*CreateReplicationInstanceInput) SetKmsKeyId

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

SetKmsKeyId sets the KmsKeyId field's value.

func (*CreateReplicationInstanceInput) SetMultiAZ

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

SetMultiAZ sets the MultiAZ field's value.

func (*CreateReplicationInstanceInput) SetNetworkType

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

SetNetworkType sets the NetworkType field's value.

func (*CreateReplicationInstanceInput) SetPreferredMaintenanceWindow

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

SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.

func (*CreateReplicationInstanceInput) SetPubliclyAccessible

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

SetPubliclyAccessible sets the PubliclyAccessible field's value.

func (*CreateReplicationInstanceInput) SetReplicationInstanceClass

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

SetReplicationInstanceClass sets the ReplicationInstanceClass field's value.

func (*CreateReplicationInstanceInput) SetReplicationInstanceIdentifier

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

SetReplicationInstanceIdentifier sets the ReplicationInstanceIdentifier field's value.

func (*CreateReplicationInstanceInput) SetReplicationSubnetGroupIdentifier

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

SetReplicationSubnetGroupIdentifier sets the ReplicationSubnetGroupIdentifier field's value.

func (*CreateReplicationInstanceInput) SetResourceIdentifier

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

SetResourceIdentifier sets the ResourceIdentifier field's value.

func (*CreateReplicationInstanceInput) SetTags

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

SetTags sets the Tags field's value.

func (*CreateReplicationInstanceInput) SetVpcSecurityGroupIds

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

SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.

func (CreateReplicationInstanceInput) String

func (s CreateReplicationInstanceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateReplicationInstanceInput) Validate

func (s *CreateReplicationInstanceInput) Validate() error

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

type CreateReplicationInstanceOutput

type CreateReplicationInstanceOutput struct {

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

func (CreateReplicationInstanceOutput) GoString

func (s CreateReplicationInstanceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateReplicationInstanceOutput) SetReplicationInstance

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

SetReplicationInstance sets the ReplicationInstance field's value.

func (CreateReplicationInstanceOutput) String

func (s CreateReplicationInstanceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateReplicationSubnetGroupInput

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

func (s CreateReplicationSubnetGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateReplicationSubnetGroupInput) SetReplicationSubnetGroupDescription

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

SetReplicationSubnetGroupDescription sets the ReplicationSubnetGroupDescription field's value.

func (*CreateReplicationSubnetGroupInput) SetReplicationSubnetGroupIdentifier

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

SetReplicationSubnetGroupIdentifier sets the ReplicationSubnetGroupIdentifier field's value.

func (*CreateReplicationSubnetGroupInput) SetSubnetIds

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

SetSubnetIds sets the SubnetIds field's value.

func (*CreateReplicationSubnetGroupInput) SetTags

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

SetTags sets the Tags field's value.

func (CreateReplicationSubnetGroupInput) String

func (s CreateReplicationSubnetGroupInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateReplicationSubnetGroupInput) Validate

func (s *CreateReplicationSubnetGroupInput) Validate() error

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

type CreateReplicationSubnetGroupOutput

type CreateReplicationSubnetGroupOutput struct {

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

func (CreateReplicationSubnetGroupOutput) GoString

func (s CreateReplicationSubnetGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateReplicationSubnetGroupOutput) SetReplicationSubnetGroup

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

SetReplicationSubnetGroup sets the ReplicationSubnetGroup field's value.

func (CreateReplicationSubnetGroupOutput) String

func (s CreateReplicationSubnetGroupOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateReplicationTaskInput

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”
    //
    // When you use this task setting with a source PostgreSQL database, a logical
    // replication slot should already be created and associated with the source
    // endpoint. You can verify this by setting the slotName extra connection attribute
    // to the name of this logical replication slot. For more information, see Extra
    // Connection Attributes When Using PostgreSQL as a Source for DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.html#CHAP_Source.PostgreSQL.ConnectionAttrib).
    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:2018-02-09T12:12:12”
    //
    // Commit time example: --cdc-stop-position “commit_time: 2018-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 1-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
    // Specifying Task Settings for Database Migration Service Tasks (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.html)
    // in the Database Migration Service User Guide.
    ReplicationTaskSettings *string `type:"string"`

    // A friendly name for the resource identifier at the end of the EndpointArn
    // response parameter that is returned in the created Endpoint object. The value
    // for this parameter can have up to 31 characters. It can contain only ASCII
    // letters, digits, and hyphen ('-'). Also, it can't end with a hyphen or contain
    // two consecutive hyphens, and can only begin with a letter, such as Example-App-ARN1.
    // For example, this value might result in the EndpointArn value arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1.
    // If you don't specify a ResourceIdentifier value, DMS generates a default
    // identifier value for the end of EndpointArn.
    ResourceIdentifier *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
    // Using Table Mapping to Specify Task Settings (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TableMapping.html)
    // in the Database Migration Service 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"`

    // Supplemental information that the task requires to migrate the data for certain
    // source and target endpoints. For more information, see Specifying Supplemental
    // Data for Task Settings (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.TaskData.html)
    // in the Database Migration Service User Guide.
    TaskData *string `type:"string"`
    // contains filtered or unexported fields
}

func (CreateReplicationTaskInput) GoString

func (s CreateReplicationTaskInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateReplicationTaskInput) SetCdcStartPosition

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

SetCdcStartPosition sets the CdcStartPosition field's value.

func (*CreateReplicationTaskInput) SetCdcStartTime

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

SetCdcStartTime sets the CdcStartTime field's value.

func (*CreateReplicationTaskInput) SetCdcStopPosition

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

SetCdcStopPosition sets the CdcStopPosition field's value.

func (*CreateReplicationTaskInput) SetMigrationType

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

SetMigrationType sets the MigrationType field's value.

func (*CreateReplicationTaskInput) SetReplicationInstanceArn

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

SetReplicationInstanceArn sets the ReplicationInstanceArn field's value.

func (*CreateReplicationTaskInput) SetReplicationTaskIdentifier

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

SetReplicationTaskIdentifier sets the ReplicationTaskIdentifier field's value.

func (*CreateReplicationTaskInput) SetReplicationTaskSettings

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

SetReplicationTaskSettings sets the ReplicationTaskSettings field's value.

func (*CreateReplicationTaskInput) SetResourceIdentifier

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

SetResourceIdentifier sets the ResourceIdentifier field's value.

func (*CreateReplicationTaskInput) SetSourceEndpointArn

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

SetSourceEndpointArn sets the SourceEndpointArn field's value.

func (*CreateReplicationTaskInput) SetTableMappings

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

SetTableMappings sets the TableMappings field's value.

func (*CreateReplicationTaskInput) SetTags

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

SetTags sets the Tags field's value.

func (*CreateReplicationTaskInput) SetTargetEndpointArn

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

SetTargetEndpointArn sets the TargetEndpointArn field's value.

func (*CreateReplicationTaskInput) SetTaskData

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

SetTaskData sets the TaskData field's value.

func (CreateReplicationTaskInput) String

func (s CreateReplicationTaskInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateReplicationTaskInput) Validate

func (s *CreateReplicationTaskInput) Validate() error

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

type CreateReplicationTaskOutput

type CreateReplicationTaskOutput struct {

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

func (CreateReplicationTaskOutput) GoString

func (s CreateReplicationTaskOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateReplicationTaskOutput) SetReplicationTask

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

SetReplicationTask sets the ReplicationTask field's value.

func (CreateReplicationTaskOutput) String

func (s CreateReplicationTaskOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DatabaseInstanceSoftwareDetailsResponse

type DatabaseInstanceSoftwareDetailsResponse struct {

    // The database engine of a database in a Fleet Advisor collector inventory,
    // for example Microsoft SQL Server.
    Engine *string `type:"string"`

    // The database engine edition of a database in a Fleet Advisor collector inventory,
    // for example Express.
    EngineEdition *string `type:"string"`

    // The database engine version of a database in a Fleet Advisor collector inventory,
    // for example 2019.
    EngineVersion *string `type:"string"`

    // The operating system architecture of the database.
    OsArchitecture *int64 `type:"integer"`

    // The service pack level of the database.
    ServicePack *string `type:"string"`

    // The support level of the database, for example Mainstream support.
    SupportLevel *string `type:"string"`

    // Information about the database engine software, for example Mainstream support
    // ends on November 14th, 2024.
    Tooltip *string `type:"string"`
    // contains filtered or unexported fields
}

Describes an inventory database instance for a Fleet Advisor collector.

func (DatabaseInstanceSoftwareDetailsResponse) GoString

func (s DatabaseInstanceSoftwareDetailsResponse) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DatabaseInstanceSoftwareDetailsResponse) SetEngine

func (s *DatabaseInstanceSoftwareDetailsResponse) SetEngine(v string) *DatabaseInstanceSoftwareDetailsResponse

SetEngine sets the Engine field's value.

func (*DatabaseInstanceSoftwareDetailsResponse) SetEngineEdition

func (s *DatabaseInstanceSoftwareDetailsResponse) SetEngineEdition(v string) *DatabaseInstanceSoftwareDetailsResponse

SetEngineEdition sets the EngineEdition field's value.

func (*DatabaseInstanceSoftwareDetailsResponse) SetEngineVersion

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

SetEngineVersion sets the EngineVersion field's value.

func (*DatabaseInstanceSoftwareDetailsResponse) SetOsArchitecture

func (s *DatabaseInstanceSoftwareDetailsResponse) SetOsArchitecture(v int64) *DatabaseInstanceSoftwareDetailsResponse

SetOsArchitecture sets the OsArchitecture field's value.

func (*DatabaseInstanceSoftwareDetailsResponse) SetServicePack

func (s *DatabaseInstanceSoftwareDetailsResponse) SetServicePack(v string) *DatabaseInstanceSoftwareDetailsResponse

SetServicePack sets the ServicePack field's value.

func (*DatabaseInstanceSoftwareDetailsResponse) SetSupportLevel

func (s *DatabaseInstanceSoftwareDetailsResponse) SetSupportLevel(v string) *DatabaseInstanceSoftwareDetailsResponse

SetSupportLevel sets the SupportLevel field's value.

func (*DatabaseInstanceSoftwareDetailsResponse) SetTooltip

func (s *DatabaseInstanceSoftwareDetailsResponse) SetTooltip(v string) *DatabaseInstanceSoftwareDetailsResponse

SetTooltip sets the Tooltip field's value.

func (DatabaseInstanceSoftwareDetailsResponse) String

func (s DatabaseInstanceSoftwareDetailsResponse) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DatabaseMigrationService

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

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:

mySession := session.Must(session.NewSession())

// 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

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

AddTagsToResource API operation for AWS Database Migration Service.

Adds metadata tags to an DMS resource, including replication instance, endpoint, subnet 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. For more information, see Tag (https://docs.aws.amazon.com/dms/latest/APIReference/API_Tag.html) data type description.

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 Types:

  • ResourceNotFoundFault The resource could not be found.

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

Example (Shared00)

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

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

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

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 Types:

  • ResourceNotFoundFault The resource could not be found.

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

func (*DatabaseMigrationService) ApplyPendingMaintenanceActionRequest

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

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) BatchStartRecommendations

func (c *DatabaseMigrationService) BatchStartRecommendations(input *BatchStartRecommendationsInput) (*BatchStartRecommendationsOutput, error)

BatchStartRecommendations API operation for AWS Database Migration Service.

Starts the analysis of up to 20 source databases to recommend target engines for each source database. This is a batch version of StartRecommendations (https://docs.aws.amazon.com/dms/latest/APIReference/API_StartRecommendations.html).

The result of analysis of each source database is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.

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 BatchStartRecommendations for usage and error information.

Returned Error Types:

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

  • AccessDeniedFault DMS was denied access to the endpoint. Check that the role is correctly configured.

  • ResourceNotFoundFault The resource could not be found.

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

func (*DatabaseMigrationService) BatchStartRecommendationsRequest

func (c *DatabaseMigrationService) BatchStartRecommendationsRequest(input *BatchStartRecommendationsInput) (req *request.Request, output *BatchStartRecommendationsOutput)

BatchStartRecommendationsRequest generates a "aws/request.Request" representing the client's request for the BatchStartRecommendations 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 BatchStartRecommendations for more information on using the BatchStartRecommendations 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 BatchStartRecommendationsRequest method.
req, resp := client.BatchStartRecommendationsRequest(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/BatchStartRecommendations

func (*DatabaseMigrationService) BatchStartRecommendationsWithContext

func (c *DatabaseMigrationService) BatchStartRecommendationsWithContext(ctx aws.Context, input *BatchStartRecommendationsInput, opts ...request.Option) (*BatchStartRecommendationsOutput, error)

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

See BatchStartRecommendations 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) CancelReplicationTaskAssessmentRun

func (c *DatabaseMigrationService) CancelReplicationTaskAssessmentRun(input *CancelReplicationTaskAssessmentRunInput) (*CancelReplicationTaskAssessmentRunOutput, error)

CancelReplicationTaskAssessmentRun API operation for AWS Database Migration Service.

Cancels a single premigration assessment run.

This operation prevents any individual assessments from running if they haven't started running. It also attempts to cancel any individual assessments that are currently running.

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 CancelReplicationTaskAssessmentRun for usage and error information.

Returned Error Types:

  • AccessDeniedFault DMS was denied access to the endpoint. Check that the role is correctly configured.

  • ResourceNotFoundFault The resource could not be found.

  • 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/CancelReplicationTaskAssessmentRun

func (*DatabaseMigrationService) CancelReplicationTaskAssessmentRunRequest

func (c *DatabaseMigrationService) CancelReplicationTaskAssessmentRunRequest(input *CancelReplicationTaskAssessmentRunInput) (req *request.Request, output *CancelReplicationTaskAssessmentRunOutput)

CancelReplicationTaskAssessmentRunRequest generates a "aws/request.Request" representing the client's request for the CancelReplicationTaskAssessmentRun 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 CancelReplicationTaskAssessmentRun for more information on using the CancelReplicationTaskAssessmentRun 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 CancelReplicationTaskAssessmentRunRequest method.
req, resp := client.CancelReplicationTaskAssessmentRunRequest(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/CancelReplicationTaskAssessmentRun

func (*DatabaseMigrationService) CancelReplicationTaskAssessmentRunWithContext

func (c *DatabaseMigrationService) CancelReplicationTaskAssessmentRunWithContext(ctx aws.Context, input *CancelReplicationTaskAssessmentRunInput, opts ...request.Option) (*CancelReplicationTaskAssessmentRunOutput, error)

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

See CancelReplicationTaskAssessmentRun 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

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

CreateEndpoint API operation for AWS Database Migration Service.

Creates an endpoint using the provided settings.

For a MySQL source or target endpoint, don't explicitly specify the database using the DatabaseName request parameter on the CreateEndpoint API call. Specifying DatabaseName when you create a MySQL endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify the database only when you specify the schema in the table-mapping rules of the DMS 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 CreateEndpoint for usage and error information.

Returned Error Types:

  • KMSKeyNotAccessibleFault DMS cannot access the KMS key.

  • ResourceAlreadyExistsFault The resource you are attempting to create already exists.

  • ResourceQuotaExceededFault The quota for this resource quota has been exceeded.

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

  • ResourceNotFoundFault The resource could not be found.

  • AccessDeniedFault DMS was denied access to the endpoint. Check that the role is correctly configured.

  • S3AccessDeniedFault Insufficient privileges are preventing access to an Amazon S3 object.

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

Example (Shared00)

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())
        case databasemigrationservice.ErrCodeS3AccessDeniedFault:
            fmt.Println(databasemigrationservice.ErrCodeS3AccessDeniedFault, 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

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

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

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

CreateEventSubscription API operation for AWS Database Migration Service.

Creates an DMS event notification subscription.

You can specify the type of source (SourceType) you want to be notified of, provide a list of 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 DMS sources. If you don't specify either SourceType nor SourceIdentifier, you will be notified of events generated from all DMS sources belonging to your customer account.

For more information about DMS events, see Working with Events and Notifications (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html) in the 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 Types:

  • ResourceQuotaExceededFault The quota for this resource quota has been exceeded.

  • ResourceNotFoundFault The resource could not be found.

  • ResourceAlreadyExistsFault The resource you are attempting to create already exists.

  • SNSInvalidTopicFault The SNS topic is invalid.

  • SNSNoAuthorizationFault You are not authorized for the SNS subscription.

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

  • KMSDisabledFault The specified KMS key isn't enabled.

  • KMSInvalidStateFault The state of the specified KMS resource isn't valid for this request.

  • KMSNotFoundFault The specified KMS entity or resource can't be found.

  • KMSThrottlingFault This request triggered KMS request throttling.

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

func (*DatabaseMigrationService) CreateEventSubscriptionRequest

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

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) CreateFleetAdvisorCollector

func (c *DatabaseMigrationService) CreateFleetAdvisorCollector(input *CreateFleetAdvisorCollectorInput) (*CreateFleetAdvisorCollectorOutput, error)

CreateFleetAdvisorCollector API operation for AWS Database Migration Service.

Creates a Fleet Advisor collector 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 CreateFleetAdvisorCollector for usage and error information.

Returned Error Types:

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

  • AccessDeniedFault DMS was denied access to the endpoint. Check that the role is correctly configured.

  • S3AccessDeniedFault Insufficient privileges are preventing access to an Amazon S3 object.

  • S3ResourceNotFoundFault A specified Amazon S3 bucket, bucket folder, or other object can't be found.

  • ResourceQuotaExceededFault The quota for this resource quota has been exceeded.

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

func (*DatabaseMigrationService) CreateFleetAdvisorCollectorRequest

func (c *DatabaseMigrationService) CreateFleetAdvisorCollectorRequest(input *CreateFleetAdvisorCollectorInput) (req *request.Request, output *CreateFleetAdvisorCollectorOutput)

CreateFleetAdvisorCollectorRequest generates a "aws/request.Request" representing the client's request for the CreateFleetAdvisorCollector 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 CreateFleetAdvisorCollector for more information on using the CreateFleetAdvisorCollector 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 CreateFleetAdvisorCollectorRequest method.
req, resp := client.CreateFleetAdvisorCollectorRequest(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/CreateFleetAdvisorCollector

func (*DatabaseMigrationService) CreateFleetAdvisorCollectorWithContext

func (c *DatabaseMigrationService) CreateFleetAdvisorCollectorWithContext(ctx aws.Context, input *CreateFleetAdvisorCollectorInput, opts ...request.Option) (*CreateFleetAdvisorCollectorOutput, error)

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

See CreateFleetAdvisorCollector 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

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

CreateReplicationInstance API operation for AWS Database Migration Service.

Creates the replication instance using the specified parameters.

DMS requires that your account have certain roles with appropriate permissions before you can create a replication instance. For information on the required roles, see Creating the IAM Roles to Use With the CLI and DMS API (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.APIRole). For information on the required permissions, see IAM Permissions Needed to Use DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.IAMPermissions).

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 Types:

  • AccessDeniedFault DMS was denied access to the endpoint. Check that the role is correctly configured.

  • ResourceAlreadyExistsFault The resource you are attempting to create already exists.

  • InsufficientResourceCapacityFault There are not enough resources allocated to the database migration.

  • ResourceQuotaExceededFault The quota for this resource quota has been exceeded.

  • StorageQuotaExceededFault The storage quota has been exceeded.

  • ResourceNotFoundFault The resource could not be found.

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

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

  • InvalidSubnet The subnet provided is invalid.

  • KMSKeyNotAccessibleFault DMS cannot access the KMS key.

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

Example (Shared00)

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

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

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

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.

The VPC needs to have at least one subnet in at least two availability zones in the Amazon Web Services Region, otherwise the service will throw a ReplicationSubnetGroupDoesNotCoverEnoughAZs exception.

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 Types:

  • AccessDeniedFault DMS was denied access to the endpoint. Check that the role is correctly configured.

  • ResourceAlreadyExistsFault The resource you are attempting to create already exists.

  • ResourceNotFoundFault The resource could not be found.

  • ResourceQuotaExceededFault The quota for this resource quota has been exceeded.

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

  • InvalidSubnet The subnet provided is invalid.

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

Example (Shared00)

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

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

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

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 Types:

  • AccessDeniedFault DMS was denied access to the endpoint. Check that the role is correctly configured.

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

  • ResourceAlreadyExistsFault The resource you are attempting to create already exists.

  • ResourceNotFoundFault The resource could not be found.

  • KMSKeyNotAccessibleFault DMS cannot access the KMS key.

  • ResourceQuotaExceededFault The quota for this resource quota has been exceeded.

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

Example (Shared00)

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

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

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

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 Types:

  • ResourceNotFoundFault The resource could not be found.

  • 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

Example (Shared00)

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

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

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) DeleteConnection

func (c *DatabaseMigrationService) DeleteConnection(input *DeleteConnectionInput) (*DeleteConnectionOutput, error)

DeleteConnection API operation for AWS Database Migration Service.

Deletes the connection between a replication instance and 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 DeleteConnection for usage and error information.

Returned Error Types:

  • AccessDeniedFault DMS was denied access to the endpoint. Check that the role is correctly configured.

  • ResourceNotFoundFault The resource could not be found.

  • 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/DeleteConnection

Example (Shared00)

Delete Connection Deletes the connection between the replication instance and the endpoint.

Code:

svc := databasemigrationservice.New(session.New())
input := &databasemigrationservice.DeleteConnectionInput{
    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.DeleteConnection(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.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) DeleteConnectionRequest

func (c *DatabaseMigrationService) DeleteConnectionRequest(input *DeleteConnectionInput) (req *request.Request, output *DeleteConnectionOutput)

DeleteConnectionRequest generates a "aws/request.Request" representing the client's request for the DeleteConnection 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 DeleteConnection for more information on using the DeleteConnection 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 DeleteConnectionRequest method.
req, resp := client.DeleteConnectionRequest(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/DeleteConnection

func (*DatabaseMigrationService) DeleteConnectionWithContext

func (c *DatabaseMigrationService) DeleteConnectionWithContext(ctx aws.Context, input *DeleteConnectionInput, opts ...request.Option) (*DeleteConnectionOutput, error)

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

See DeleteConnection 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

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 Types:

  • ResourceNotFoundFault The resource could not be found.

  • 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

Example (Shared00)

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

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

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

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

DeleteEventSubscription API operation for AWS Database Migration Service.

Deletes an 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 Types:

  • ResourceNotFoundFault The resource could not be found.

  • 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

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

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) DeleteFleetAdvisorCollector

func (c *DatabaseMigrationService) DeleteFleetAdvisorCollector(input *DeleteFleetAdvisorCollectorInput) (*DeleteFleetAdvisorCollectorOutput, error)

DeleteFleetAdvisorCollector API operation for AWS Database Migration Service.

Deletes the specified Fleet Advisor collector.

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 DeleteFleetAdvisorCollector for usage and error information.

Returned Error Types:

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

  • CollectorNotFoundFault The specified collector doesn't exist.

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

func (*DatabaseMigrationService) DeleteFleetAdvisorCollectorRequest

func (c *DatabaseMigrationService) DeleteFleetAdvisorCollectorRequest(input *DeleteFleetAdvisorCollectorInput) (req *request.Request, output *DeleteFleetAdvisorCollectorOutput)

DeleteFleetAdvisorCollectorRequest generates a "aws/request.Request" representing the client's request for the DeleteFleetAdvisorCollector 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 DeleteFleetAdvisorCollector for more information on using the DeleteFleetAdvisorCollector 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 DeleteFleetAdvisorCollectorRequest method.
req, resp := client.DeleteFleetAdvisorCollectorRequest(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/DeleteFleetAdvisorCollector

func (*DatabaseMigrationService) DeleteFleetAdvisorCollectorWithContext

func (c *DatabaseMigrationService) DeleteFleetAdvisorCollectorWithContext(ctx aws.Context, input *DeleteFleetAdvisorCollectorInput, opts ...request.Option) (*DeleteFleetAdvisorCollectorOutput, error)

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

See DeleteFleetAdvisorCollector 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) DeleteFleetAdvisorDatabases

func (c *DatabaseMigrationService) DeleteFleetAdvisorDatabases(input *DeleteFleetAdvisorDatabasesInput) (*DeleteFleetAdvisorDatabasesOutput, error)

DeleteFleetAdvisorDatabases API operation for AWS Database Migration Service.

Deletes the specified Fleet Advisor collector databases.

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 DeleteFleetAdvisorDatabases for usage and error information.

Returned Error Types:

  • ResourceNotFoundFault The resource could not be found.

  • InvalidOperationFault The action or operation requested isn't valid.

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

func (*DatabaseMigrationService) DeleteFleetAdvisorDatabasesRequest

func (c *DatabaseMigrationService) DeleteFleetAdvisorDatabasesRequest(input *DeleteFleetAdvisorDatabasesInput) (req *request.Request, output *DeleteFleetAdvisorDatabasesOutput)

DeleteFleetAdvisorDatabasesRequest generates a "aws/request.Request" representing the client's request for the DeleteFleetAdvisorDatabases 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 DeleteFleetAdvisorDatabases for more information on using the DeleteFleetAdvisorDatabases 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 DeleteFleetAdvisorDatabasesRequest method.
req, resp := client.DeleteFleetAdvisorDatabasesRequest(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/DeleteFleetAdvisorDatabases

func (*DatabaseMigrationService) DeleteFleetAdvisorDatabasesWithContext

func (c *DatabaseMigrationService) DeleteFleetAdvisorDatabasesWithContext(ctx aws.Context, input *DeleteFleetAdvisorDatabasesInput, opts ...request.Option) (*DeleteFleetAdvisorDatabasesOutput, error)

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

See DeleteFleetAdvisorDatabases 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

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 Types:

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

  • ResourceNotFoundFault The resource could not be found.

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

Example (Shared00)

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

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

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

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 Types:

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

  • ResourceNotFoundFault The resource could not be found.

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

Example (Shared00)

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

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

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

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 Types:

  • ResourceNotFoundFault The resource could not be found.

  • 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

Example (Shared00)

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) DeleteReplicationTaskAssessmentRun

func (c *DatabaseMigrationService) DeleteReplicationTaskAssessmentRun(input *DeleteReplicationTaskAssessmentRunInput) (*DeleteReplicationTaskAssessmentRunOutput, error)

DeleteReplicationTaskAssessmentRun API operation for AWS Database Migration Service.

Deletes the record of a single premigration assessment run.

This operation removes all metadata that DMS maintains about this assessment run. However, the operation leaves untouched all information about this assessment run that is stored in your Amazon S3 bucket.

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 DeleteReplicationTaskAssessmentRun for usage and error information.

Returned Error Types:

  • AccessDeniedFault DMS was denied access to the endpoint. Check that the role is correctly configured.

  • ResourceNotFoundFault The resource could not be found.

  • 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/DeleteReplicationTaskAssessmentRun

func (*DatabaseMigrationService) DeleteReplicationTaskAssessmentRunRequest

func (c *DatabaseMigrationService) DeleteReplicationTaskAssessmentRunRequest(input *DeleteReplicationTaskAssessmentRunInput) (req *request.Request, output *DeleteReplicationTaskAssessmentRunOutput)

DeleteReplicationTaskAssessmentRunRequest generates a "aws/request.Request" representing the client's request for the DeleteReplicationTaskAssessmentRun 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 DeleteReplicationTaskAssessmentRun for more information on using the DeleteReplicationTaskAssessmentRun 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 DeleteReplicationTaskAssessmentRunRequest method.
req, resp := client.DeleteReplicationTaskAssessmentRunRequest(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/DeleteReplicationTaskAssessmentRun

func (*DatabaseMigrationService) DeleteReplicationTaskAssessmentRunWithContext

func (c *DatabaseMigrationService) DeleteReplicationTaskAssessmentRunWithContext(ctx aws.Context, input *DeleteReplicationTaskAssessmentRunInput, opts ...request.Option) (*DeleteReplicationTaskAssessmentRunOutput, error)

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

See DeleteReplicationTaskAssessmentRun 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) DeleteReplicationTaskRequest

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

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

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

DescribeAccountAttributes API operation for AWS Database Migration Service.

Lists all of the DMS attributes for a customer account. These attributes include 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

Example (Shared00)

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

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

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) DescribeApplicableIndividualAssessments

func (c *DatabaseMigrationService) DescribeApplicableIndividualAssessments(input *DescribeApplicableIndividualAssessmentsInput) (*DescribeApplicableIndividualAssessmentsOutput, error)

DescribeApplicableIndividualAssessments API operation for AWS Database Migration Service.

Provides a list of individual assessments that you can specify for a new premigration assessment run, given one or more parameters.

If you specify an existing migration task, this operation provides the default individual assessments you can specify for that task. Otherwise, the specified parameters model elements of a possible migration task on which to base a premigration assessment run.

To use these migration task modeling parameters, you must specify an existing replication instance, a source database engine, a target database engine, and a migration type. This combination of parameters potentially limits the default individual assessments available for an assessment run created for a corresponding migration task.

If you specify no parameters, this operation provides a list of all possible individual assessments that you can specify for an assessment run. If you specify any one of the task modeling parameters, you must specify all of them or the operation cannot provide a list of individual assessments. The only parameter that you can specify alone is for an existing migration task. The specified task definition then determines the default list of individual assessments that you can specify in an assessment run for the 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 DescribeApplicableIndividualAssessments for usage and error information.

Returned Error Types:

  • AccessDeniedFault DMS was denied access to the endpoint. Check that the role is correctly configured.

  • ResourceNotFoundFault The resource could not be found.

  • 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/DescribeApplicableIndividualAssessments

func (*DatabaseMigrationService) DescribeApplicableIndividualAssessmentsPages

func (c *DatabaseMigrationService) DescribeApplicableIndividualAssessmentsPages(input *DescribeApplicableIndividualAssessmentsInput, fn func(*DescribeApplicableIndividualAssessmentsOutput, bool) bool) error

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

See DescribeApplicableIndividualAssessments 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 DescribeApplicableIndividualAssessments operation.
pageNum := 0
err := client.DescribeApplicableIndividualAssessmentsPages(params,
    func(page *databasemigrationservice.DescribeApplicableIndividualAssessmentsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeApplicableIndividualAssessmentsPagesWithContext

func (c *DatabaseMigrationService) DescribeApplicableIndividualAssessmentsPagesWithContext(ctx aws.Context, input *DescribeApplicableIndividualAssessmentsInput, fn func(*DescribeApplicableIndividualAssessmentsOutput, bool) bool, opts ...request.Option) error

DescribeApplicableIndividualAssessmentsPagesWithContext same as DescribeApplicableIndividualAssessmentsPages 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) DescribeApplicableIndividualAssessmentsRequest

func (c *DatabaseMigrationService) DescribeApplicableIndividualAssessmentsRequest(input *DescribeApplicableIndividualAssessmentsInput) (req *request.Request, output *DescribeApplicableIndividualAssessmentsOutput)

DescribeApplicableIndividualAssessmentsRequest generates a "aws/request.Request" representing the client's request for the DescribeApplicableIndividualAssessments 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 DescribeApplicableIndividualAssessments for more information on using the DescribeApplicableIndividualAssessments 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 DescribeApplicableIndividualAssessmentsRequest method.
req, resp := client.DescribeApplicableIndividualAssessmentsRequest(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/DescribeApplicableIndividualAssessments

func (*DatabaseMigrationService) DescribeApplicableIndividualAssessmentsWithContext

func (c *DatabaseMigrationService) DescribeApplicableIndividualAssessmentsWithContext(ctx aws.Context, input *DescribeApplicableIndividualAssessmentsInput, opts ...request.Option) (*DescribeApplicableIndividualAssessmentsOutput, error)

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

See DescribeApplicableIndividualAssessments 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

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 Types:

  • ResourceNotFoundFault The resource could not be found.

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

Example (Shared00)

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

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

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

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

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

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 Types:

  • ResourceNotFoundFault The resource could not be found.

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

Example (Shared00)

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

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

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

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

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) DescribeEndpointSettings

func (c *DatabaseMigrationService) DescribeEndpointSettings(input *DescribeEndpointSettingsInput) (*DescribeEndpointSettingsOutput, error)

DescribeEndpointSettings API operation for AWS Database Migration Service.

Returns information about the possible endpoint settings available when you create an endpoint for a specific database engine.

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 DescribeEndpointSettings for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointSettings

func (*DatabaseMigrationService) DescribeEndpointSettingsPages

func (c *DatabaseMigrationService) DescribeEndpointSettingsPages(input *DescribeEndpointSettingsInput, fn func(*DescribeEndpointSettingsOutput, bool) bool) error

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

See DescribeEndpointSettings 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 DescribeEndpointSettings operation.
pageNum := 0
err := client.DescribeEndpointSettingsPages(params,
    func(page *databasemigrationservice.DescribeEndpointSettingsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeEndpointSettingsPagesWithContext

func (c *DatabaseMigrationService) DescribeEndpointSettingsPagesWithContext(ctx aws.Context, input *DescribeEndpointSettingsInput, fn func(*DescribeEndpointSettingsOutput, bool) bool, opts ...request.Option) error

DescribeEndpointSettingsPagesWithContext same as DescribeEndpointSettingsPages 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) DescribeEndpointSettingsRequest

func (c *DatabaseMigrationService) DescribeEndpointSettingsRequest(input *DescribeEndpointSettingsInput) (req *request.Request, output *DescribeEndpointSettingsOutput)

DescribeEndpointSettingsRequest generates a "aws/request.Request" representing the client's request for the DescribeEndpointSettings 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 DescribeEndpointSettings for more information on using the DescribeEndpointSettings 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 DescribeEndpointSettingsRequest method.
req, resp := client.DescribeEndpointSettingsRequest(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/DescribeEndpointSettings

func (*DatabaseMigrationService) DescribeEndpointSettingsWithContext

func (c *DatabaseMigrationService) DescribeEndpointSettingsWithContext(ctx aws.Context, input *DescribeEndpointSettingsInput, opts ...request.Option) (*DescribeEndpointSettingsOutput, error)

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

See DescribeEndpointSettings 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

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

Example (Shared00)

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

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

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

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

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

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 Types:

  • ResourceNotFoundFault The resource could not be found.

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

Example (Shared00)

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

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

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

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

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

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

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

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

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 Types:

  • ResourceNotFoundFault The resource could not be found.

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

func (*DatabaseMigrationService) DescribeEventSubscriptionsPages

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

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

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

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

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 DMS events, see Working with Events and Notifications (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html) in the 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 DescribeEvents for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEvents

func (*DatabaseMigrationService) DescribeEventsPages

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

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

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

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) DescribeFleetAdvisorCollectors

func (c *DatabaseMigrationService) DescribeFleetAdvisorCollectors(input *DescribeFleetAdvisorCollectorsInput) (*DescribeFleetAdvisorCollectorsOutput, error)

DescribeFleetAdvisorCollectors API operation for AWS Database Migration Service.

Returns a list of the Fleet Advisor collectors in your account.

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 DescribeFleetAdvisorCollectors for usage and error information.

Returned Error Types:

  • 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/DescribeFleetAdvisorCollectors

func (*DatabaseMigrationService) DescribeFleetAdvisorCollectorsPages

func (c *DatabaseMigrationService) DescribeFleetAdvisorCollectorsPages(input *DescribeFleetAdvisorCollectorsInput, fn func(*DescribeFleetAdvisorCollectorsOutput, bool) bool) error

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

See DescribeFleetAdvisorCollectors 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 DescribeFleetAdvisorCollectors operation.
pageNum := 0
err := client.DescribeFleetAdvisorCollectorsPages(params,
    func(page *databasemigrationservice.DescribeFleetAdvisorCollectorsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeFleetAdvisorCollectorsPagesWithContext

func (c *DatabaseMigrationService) DescribeFleetAdvisorCollectorsPagesWithContext(ctx aws.Context, input *DescribeFleetAdvisorCollectorsInput, fn func(*DescribeFleetAdvisorCollectorsOutput, bool) bool, opts ...request.Option) error

DescribeFleetAdvisorCollectorsPagesWithContext same as DescribeFleetAdvisorCollectorsPages 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) DescribeFleetAdvisorCollectorsRequest

func (c *DatabaseMigrationService) DescribeFleetAdvisorCollectorsRequest(input *DescribeFleetAdvisorCollectorsInput) (req *request.Request, output *DescribeFleetAdvisorCollectorsOutput)

DescribeFleetAdvisorCollectorsRequest generates a "aws/request.Request" representing the client's request for the DescribeFleetAdvisorCollectors 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 DescribeFleetAdvisorCollectors for more information on using the DescribeFleetAdvisorCollectors 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 DescribeFleetAdvisorCollectorsRequest method.
req, resp := client.DescribeFleetAdvisorCollectorsRequest(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/DescribeFleetAdvisorCollectors

func (*DatabaseMigrationService) DescribeFleetAdvisorCollectorsWithContext

func (c *DatabaseMigrationService) DescribeFleetAdvisorCollectorsWithContext(ctx aws.Context, input *DescribeFleetAdvisorCollectorsInput, opts ...request.Option) (*DescribeFleetAdvisorCollectorsOutput, error)

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

See DescribeFleetAdvisorCollectors 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) DescribeFleetAdvisorDatabases

func (c *DatabaseMigrationService) DescribeFleetAdvisorDatabases(input *DescribeFleetAdvisorDatabasesInput) (*DescribeFleetAdvisorDatabasesOutput, error)

DescribeFleetAdvisorDatabases API operation for AWS Database Migration Service.

Returns a list of Fleet Advisor databases in your account.

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 DescribeFleetAdvisorDatabases for usage and error information.

Returned Error Types:

  • 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/DescribeFleetAdvisorDatabases

func (*DatabaseMigrationService) DescribeFleetAdvisorDatabasesPages

func (c *DatabaseMigrationService) DescribeFleetAdvisorDatabasesPages(input *DescribeFleetAdvisorDatabasesInput, fn func(*DescribeFleetAdvisorDatabasesOutput, bool) bool) error

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

See DescribeFleetAdvisorDatabases 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 DescribeFleetAdvisorDatabases operation.
pageNum := 0
err := client.DescribeFleetAdvisorDatabasesPages(params,
    func(page *databasemigrationservice.DescribeFleetAdvisorDatabasesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeFleetAdvisorDatabasesPagesWithContext

func (c *DatabaseMigrationService) DescribeFleetAdvisorDatabasesPagesWithContext(ctx aws.Context, input *DescribeFleetAdvisorDatabasesInput, fn func(*DescribeFleetAdvisorDatabasesOutput, bool) bool, opts ...request.Option) error

DescribeFleetAdvisorDatabasesPagesWithContext same as DescribeFleetAdvisorDatabasesPages 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) DescribeFleetAdvisorDatabasesRequest

func (c *DatabaseMigrationService) DescribeFleetAdvisorDatabasesRequest(input *DescribeFleetAdvisorDatabasesInput) (req *request.Request, output *DescribeFleetAdvisorDatabasesOutput)

DescribeFleetAdvisorDatabasesRequest generates a "aws/request.Request" representing the client's request for the DescribeFleetAdvisorDatabases 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 DescribeFleetAdvisorDatabases for more information on using the DescribeFleetAdvisorDatabases 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 DescribeFleetAdvisorDatabasesRequest method.
req, resp := client.DescribeFleetAdvisorDatabasesRequest(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/DescribeFleetAdvisorDatabases

func (*DatabaseMigrationService) DescribeFleetAdvisorDatabasesWithContext

func (c *DatabaseMigrationService) DescribeFleetAdvisorDatabasesWithContext(ctx aws.Context, input *DescribeFleetAdvisorDatabasesInput, opts ...request.Option) (*DescribeFleetAdvisorDatabasesOutput, error)

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

See DescribeFleetAdvisorDatabases 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) DescribeFleetAdvisorLsaAnalysis

func (c *DatabaseMigrationService) DescribeFleetAdvisorLsaAnalysis(input *DescribeFleetAdvisorLsaAnalysisInput) (*DescribeFleetAdvisorLsaAnalysisOutput, error)

DescribeFleetAdvisorLsaAnalysis API operation for AWS Database Migration Service.

Provides descriptions of large-scale assessment (LSA) analyses produced by your Fleet Advisor collectors.

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 DescribeFleetAdvisorLsaAnalysis for usage and error information.

Returned Error Types:

  • 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/DescribeFleetAdvisorLsaAnalysis

func (*DatabaseMigrationService) DescribeFleetAdvisorLsaAnalysisPages

func (c *DatabaseMigrationService) DescribeFleetAdvisorLsaAnalysisPages(input *DescribeFleetAdvisorLsaAnalysisInput, fn func(*DescribeFleetAdvisorLsaAnalysisOutput, bool) bool) error

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

See DescribeFleetAdvisorLsaAnalysis 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 DescribeFleetAdvisorLsaAnalysis operation.
pageNum := 0
err := client.DescribeFleetAdvisorLsaAnalysisPages(params,
    func(page *databasemigrationservice.DescribeFleetAdvisorLsaAnalysisOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeFleetAdvisorLsaAnalysisPagesWithContext

func (c *DatabaseMigrationService) DescribeFleetAdvisorLsaAnalysisPagesWithContext(ctx aws.Context, input *DescribeFleetAdvisorLsaAnalysisInput, fn func(*DescribeFleetAdvisorLsaAnalysisOutput, bool) bool, opts ...request.Option) error

DescribeFleetAdvisorLsaAnalysisPagesWithContext same as DescribeFleetAdvisorLsaAnalysisPages 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) DescribeFleetAdvisorLsaAnalysisRequest

func (c *DatabaseMigrationService) DescribeFleetAdvisorLsaAnalysisRequest(input *DescribeFleetAdvisorLsaAnalysisInput) (req *request.Request, output *DescribeFleetAdvisorLsaAnalysisOutput)

DescribeFleetAdvisorLsaAnalysisRequest generates a "aws/request.Request" representing the client's request for the DescribeFleetAdvisorLsaAnalysis 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 DescribeFleetAdvisorLsaAnalysis for more information on using the DescribeFleetAdvisorLsaAnalysis 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 DescribeFleetAdvisorLsaAnalysisRequest method.
req, resp := client.DescribeFleetAdvisorLsaAnalysisRequest(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/DescribeFleetAdvisorLsaAnalysis

func (*DatabaseMigrationService) DescribeFleetAdvisorLsaAnalysisWithContext

func (c *DatabaseMigrationService) DescribeFleetAdvisorLsaAnalysisWithContext(ctx aws.Context, input *DescribeFleetAdvisorLsaAnalysisInput, opts ...request.Option) (*DescribeFleetAdvisorLsaAnalysisOutput, error)

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

See DescribeFleetAdvisorLsaAnalysis 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) DescribeFleetAdvisorSchemaObjectSummary

func (c *DatabaseMigrationService) DescribeFleetAdvisorSchemaObjectSummary(input *DescribeFleetAdvisorSchemaObjectSummaryInput) (*DescribeFleetAdvisorSchemaObjectSummaryOutput, error)

DescribeFleetAdvisorSchemaObjectSummary API operation for AWS Database Migration Service.

Provides descriptions of the schemas discovered by your Fleet Advisor collectors.

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 DescribeFleetAdvisorSchemaObjectSummary for usage and error information.

Returned Error Types:

  • 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/DescribeFleetAdvisorSchemaObjectSummary

func (*DatabaseMigrationService) DescribeFleetAdvisorSchemaObjectSummaryPages

func (c *DatabaseMigrationService) DescribeFleetAdvisorSchemaObjectSummaryPages(input *DescribeFleetAdvisorSchemaObjectSummaryInput, fn func(*DescribeFleetAdvisorSchemaObjectSummaryOutput, bool) bool) error

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

See DescribeFleetAdvisorSchemaObjectSummary 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 DescribeFleetAdvisorSchemaObjectSummary operation.
pageNum := 0
err := client.DescribeFleetAdvisorSchemaObjectSummaryPages(params,
    func(page *databasemigrationservice.DescribeFleetAdvisorSchemaObjectSummaryOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeFleetAdvisorSchemaObjectSummaryPagesWithContext

func (c *DatabaseMigrationService) DescribeFleetAdvisorSchemaObjectSummaryPagesWithContext(ctx aws.Context, input *DescribeFleetAdvisorSchemaObjectSummaryInput, fn func(*DescribeFleetAdvisorSchemaObjectSummaryOutput, bool) bool, opts ...request.Option) error

DescribeFleetAdvisorSchemaObjectSummaryPagesWithContext same as DescribeFleetAdvisorSchemaObjectSummaryPages 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) DescribeFleetAdvisorSchemaObjectSummaryRequest

func (c *DatabaseMigrationService) DescribeFleetAdvisorSchemaObjectSummaryRequest(input *DescribeFleetAdvisorSchemaObjectSummaryInput) (req *request.Request, output *DescribeFleetAdvisorSchemaObjectSummaryOutput)

DescribeFleetAdvisorSchemaObjectSummaryRequest generates a "aws/request.Request" representing the client's request for the DescribeFleetAdvisorSchemaObjectSummary 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 DescribeFleetAdvisorSchemaObjectSummary for more information on using the DescribeFleetAdvisorSchemaObjectSummary 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 DescribeFleetAdvisorSchemaObjectSummaryRequest method.
req, resp := client.DescribeFleetAdvisorSchemaObjectSummaryRequest(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/DescribeFleetAdvisorSchemaObjectSummary

func (*DatabaseMigrationService) DescribeFleetAdvisorSchemaObjectSummaryWithContext

func (c *DatabaseMigrationService) DescribeFleetAdvisorSchemaObjectSummaryWithContext(ctx aws.Context, input *DescribeFleetAdvisorSchemaObjectSummaryInput, opts ...request.Option) (*DescribeFleetAdvisorSchemaObjectSummaryOutput, error)

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

See DescribeFleetAdvisorSchemaObjectSummary 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) DescribeFleetAdvisorSchemas

func (c *DatabaseMigrationService) DescribeFleetAdvisorSchemas(input *DescribeFleetAdvisorSchemasInput) (*DescribeFleetAdvisorSchemasOutput, error)

DescribeFleetAdvisorSchemas API operation for AWS Database Migration Service.

Returns a list of schemas detected by Fleet Advisor Collectors in your account.

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 DescribeFleetAdvisorSchemas for usage and error information.

Returned Error Types:

  • 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/DescribeFleetAdvisorSchemas

func (*DatabaseMigrationService) DescribeFleetAdvisorSchemasPages

func (c *DatabaseMigrationService) DescribeFleetAdvisorSchemasPages(input *DescribeFleetAdvisorSchemasInput, fn func(*DescribeFleetAdvisorSchemasOutput, bool) bool) error

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

See DescribeFleetAdvisorSchemas 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 DescribeFleetAdvisorSchemas operation.
pageNum := 0
err := client.DescribeFleetAdvisorSchemasPages(params,
    func(page *databasemigrationservice.DescribeFleetAdvisorSchemasOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeFleetAdvisorSchemasPagesWithContext

func (c *DatabaseMigrationService) DescribeFleetAdvisorSchemasPagesWithContext(ctx aws.Context, input *DescribeFleetAdvisorSchemasInput, fn func(*DescribeFleetAdvisorSchemasOutput, bool) bool, opts ...request.Option) error

DescribeFleetAdvisorSchemasPagesWithContext same as DescribeFleetAdvisorSchemasPages 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) DescribeFleetAdvisorSchemasRequest

func (c *DatabaseMigrationService) DescribeFleetAdvisorSchemasRequest(input *DescribeFleetAdvisorSchemasInput) (req *request.Request, output *DescribeFleetAdvisorSchemasOutput)

DescribeFleetAdvisorSchemasRequest generates a "aws/request.Request" representing the client's request for the DescribeFleetAdvisorSchemas 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 DescribeFleetAdvisorSchemas for more information on using the DescribeFleetAdvisorSchemas 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 DescribeFleetAdvisorSchemasRequest method.
req, resp := client.DescribeFleetAdvisorSchemasRequest(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/DescribeFleetAdvisorSchemas

func (*DatabaseMigrationService) DescribeFleetAdvisorSchemasWithContext

func (c *DatabaseMigrationService) DescribeFleetAdvisorSchemasWithContext(ctx aws.Context, input *DescribeFleetAdvisorSchemasInput, opts ...request.Option) (*DescribeFleetAdvisorSchemasOutput, error)

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

See DescribeFleetAdvisorSchemas 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

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

Example (Shared00)

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

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

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

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

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

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 Types:

  • ResourceNotFoundFault The resource could not be found.

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

func (*DatabaseMigrationService) DescribePendingMaintenanceActionsPages

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

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

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

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) DescribeRecommendationLimitations

func (c *DatabaseMigrationService) DescribeRecommendationLimitations(input *DescribeRecommendationLimitationsInput) (*DescribeRecommendationLimitationsOutput, error)

DescribeRecommendationLimitations API operation for AWS Database Migration Service.

Returns a paginated list of limitations for recommendations of target Amazon Web Services engines.

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 DescribeRecommendationLimitations for usage and error information.

Returned Error Types:

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

  • AccessDeniedFault 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/DescribeRecommendationLimitations

func (*DatabaseMigrationService) DescribeRecommendationLimitationsPages

func (c *DatabaseMigrationService) DescribeRecommendationLimitationsPages(input *DescribeRecommendationLimitationsInput, fn func(*DescribeRecommendationLimitationsOutput, bool) bool) error

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

See DescribeRecommendationLimitations 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 DescribeRecommendationLimitations operation.
pageNum := 0
err := client.DescribeRecommendationLimitationsPages(params,
    func(page *databasemigrationservice.DescribeRecommendationLimitationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeRecommendationLimitationsPagesWithContext

func (c *DatabaseMigrationService) DescribeRecommendationLimitationsPagesWithContext(ctx aws.Context, input *DescribeRecommendationLimitationsInput, fn func(*DescribeRecommendationLimitationsOutput, bool) bool, opts ...request.Option) error

DescribeRecommendationLimitationsPagesWithContext same as DescribeRecommendationLimitationsPages 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) DescribeRecommendationLimitationsRequest

func (c *DatabaseMigrationService) DescribeRecommendationLimitationsRequest(input *DescribeRecommendationLimitationsInput) (req *request.Request, output *DescribeRecommendationLimitationsOutput)

DescribeRecommendationLimitationsRequest generates a "aws/request.Request" representing the client's request for the DescribeRecommendationLimitations 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 DescribeRecommendationLimitations for more information on using the DescribeRecommendationLimitations 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 DescribeRecommendationLimitationsRequest method.
req, resp := client.DescribeRecommendationLimitationsRequest(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/DescribeRecommendationLimitations

func (*DatabaseMigrationService) DescribeRecommendationLimitationsWithContext

func (c *DatabaseMigrationService) DescribeRecommendationLimitationsWithContext(ctx aws.Context, input *DescribeRecommendationLimitationsInput, opts ...request.Option) (*DescribeRecommendationLimitationsOutput, error)

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

See DescribeRecommendationLimitations 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) DescribeRecommendations

func (c *DatabaseMigrationService) DescribeRecommendations(input *DescribeRecommendationsInput) (*DescribeRecommendationsOutput, error)

DescribeRecommendations API operation for AWS Database Migration Service.

Returns a paginated list of target engine recommendations for your source databases.

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 DescribeRecommendations for usage and error information.

Returned Error Types:

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

  • AccessDeniedFault 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/DescribeRecommendations

func (*DatabaseMigrationService) DescribeRecommendationsPages

func (c *DatabaseMigrationService) DescribeRecommendationsPages(input *DescribeRecommendationsInput, fn func(*DescribeRecommendationsOutput, bool) bool) error

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

See DescribeRecommendations 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 DescribeRecommendations operation.
pageNum := 0
err := client.DescribeRecommendationsPages(params,
    func(page *databasemigrationservice.DescribeRecommendationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeRecommendationsPagesWithContext

func (c *DatabaseMigrationService) DescribeRecommendationsPagesWithContext(ctx aws.Context, input *DescribeRecommendationsInput, fn func(*DescribeRecommendationsOutput, bool) bool, opts ...request.Option) error

DescribeRecommendationsPagesWithContext same as DescribeRecommendationsPages 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) DescribeRecommendationsRequest

func (c *DatabaseMigrationService) DescribeRecommendationsRequest(input *DescribeRecommendationsInput) (req *request.Request, output *DescribeRecommendationsOutput)

DescribeRecommendationsRequest generates a "aws/request.Request" representing the client's request for the DescribeRecommendations 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 DescribeRecommendations for more information on using the DescribeRecommendations 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 DescribeRecommendationsRequest method.
req, resp := client.DescribeRecommendationsRequest(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/DescribeRecommendations

func (*DatabaseMigrationService) DescribeRecommendationsWithContext

func (c *DatabaseMigrationService) DescribeRecommendationsWithContext(ctx aws.Context, input *DescribeRecommendationsInput, opts ...request.Option) (*DescribeRecommendationsOutput, error)

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

See DescribeRecommendations 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

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 Types:

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

  • ResourceNotFoundFault The resource could not be found.

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

Example (Shared00)

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

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

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

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 Types:

  • ResourceNotFoundFault The resource could not be found.

  • 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

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

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

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

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

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 Types:

  • ResourceNotFoundFault The resource could not be found.

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

Example (Shared00)

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

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

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

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

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

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 Types:

  • ResourceNotFoundFault The resource could not be found.

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

Example (Shared00)

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

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

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

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

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

func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentResults(input *DescribeReplicationTaskAssessmentResultsInput) (*DescribeReplicationTaskAssessmentResultsOutput, error)

DescribeReplicationTaskAssessmentResults API operation for AWS Database Migration Service.

Returns the task assessment results from the Amazon S3 bucket that DMS creates in your Amazon Web Services account. This action always returns the latest results.

For more information about DMS task assessments, see Creating a task assessment report (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.AssessmentReport.html) in the 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 DescribeReplicationTaskAssessmentResults for usage and error information.

Returned Error Types:

  • ResourceNotFoundFault The resource could not be found.

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

func (*DatabaseMigrationService) DescribeReplicationTaskAssessmentResultsPages

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

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

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

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) DescribeReplicationTaskAssessmentRuns

func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentRuns(input *DescribeReplicationTaskAssessmentRunsInput) (*DescribeReplicationTaskAssessmentRunsOutput, error)

DescribeReplicationTaskAssessmentRuns API operation for AWS Database Migration Service.

Returns a paginated list of premigration assessment runs based on filter settings.

These filter settings can specify a combination of premigration assessment runs, migration tasks, replication instances, and assessment run status values.

This operation doesn't return information about individual assessments. For this information, see the DescribeReplicationTaskIndividualAssessments 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 DescribeReplicationTaskAssessmentRuns for usage and error information.

Returned Error Types:

  • ResourceNotFoundFault The resource could not be found.

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

func (*DatabaseMigrationService) DescribeReplicationTaskAssessmentRunsPages

func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentRunsPages(input *DescribeReplicationTaskAssessmentRunsInput, fn func(*DescribeReplicationTaskAssessmentRunsOutput, bool) bool) error

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

See DescribeReplicationTaskAssessmentRuns 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 DescribeReplicationTaskAssessmentRuns operation.
pageNum := 0
err := client.DescribeReplicationTaskAssessmentRunsPages(params,
    func(page *databasemigrationservice.DescribeReplicationTaskAssessmentRunsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeReplicationTaskAssessmentRunsPagesWithContext

func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentRunsPagesWithContext(ctx aws.Context, input *DescribeReplicationTaskAssessmentRunsInput, fn func(*DescribeReplicationTaskAssessmentRunsOutput, bool) bool, opts ...request.Option) error

DescribeReplicationTaskAssessmentRunsPagesWithContext same as DescribeReplicationTaskAssessmentRunsPages 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) DescribeReplicationTaskAssessmentRunsRequest

func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentRunsRequest(input *DescribeReplicationTaskAssessmentRunsInput) (req *request.Request, output *DescribeReplicationTaskAssessmentRunsOutput)

DescribeReplicationTaskAssessmentRunsRequest generates a "aws/request.Request" representing the client's request for the DescribeReplicationTaskAssessmentRuns 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 DescribeReplicationTaskAssessmentRuns for more information on using the DescribeReplicationTaskAssessmentRuns 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 DescribeReplicationTaskAssessmentRunsRequest method.
req, resp := client.DescribeReplicationTaskAssessmentRunsRequest(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/DescribeReplicationTaskAssessmentRuns

func (*DatabaseMigrationService) DescribeReplicationTaskAssessmentRunsWithContext

func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentRunsWithContext(ctx aws.Context, input *DescribeReplicationTaskAssessmentRunsInput, opts ...request.Option) (*DescribeReplicationTaskAssessmentRunsOutput, error)

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

See DescribeReplicationTaskAssessmentRuns 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) DescribeReplicationTaskIndividualAssessments

func (c *DatabaseMigrationService) DescribeReplicationTaskIndividualAssessments(input *DescribeReplicationTaskIndividualAssessmentsInput) (*DescribeReplicationTaskIndividualAssessmentsOutput, error)

DescribeReplicationTaskIndividualAssessments API operation for AWS Database Migration Service.

Returns a paginated list of individual assessments based on filter settings.

These filter settings can specify a combination of premigration assessment runs, migration tasks, and assessment status values.

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 DescribeReplicationTaskIndividualAssessments for usage and error information.

Returned Error Types:

  • ResourceNotFoundFault The resource could not be found.

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

func (*DatabaseMigrationService) DescribeReplicationTaskIndividualAssessmentsPages

func (c *DatabaseMigrationService) DescribeReplicationTaskIndividualAssessmentsPages(input *DescribeReplicationTaskIndividualAssessmentsInput, fn func(*DescribeReplicationTaskIndividualAssessmentsOutput, bool) bool) error

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

See DescribeReplicationTaskIndividualAssessments 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 DescribeReplicationTaskIndividualAssessments operation.
pageNum := 0
err := client.DescribeReplicationTaskIndividualAssessmentsPages(params,
    func(page *databasemigrationservice.DescribeReplicationTaskIndividualAssessmentsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DatabaseMigrationService) DescribeReplicationTaskIndividualAssessmentsPagesWithContext

func (c *DatabaseMigrationService) DescribeReplicationTaskIndividualAssessmentsPagesWithContext(ctx aws.Context, input *DescribeReplicationTaskIndividualAssessmentsInput, fn func(*DescribeReplicationTaskIndividualAssessmentsOutput, bool) bool, opts ...request.Option) error

DescribeReplicationTaskIndividualAssessmentsPagesWithContext same as DescribeReplicationTaskIndividualAssessmentsPages 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) DescribeReplicationTaskIndividualAssessmentsRequest

func (c *DatabaseMigrationService) DescribeReplicationTaskIndividualAssessmentsRequest(input *DescribeReplicationTaskIndividualAssessmentsInput) (req *request.Request, output *DescribeReplicationTaskIndividualAssessmentsOutput)

DescribeReplicationTaskIndividualAssessmentsRequest generates a "aws/request.Request" representing the client's request for the DescribeReplicationTaskIndividualAssessments 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 DescribeReplicationTaskIndividualAssessments for more information on using the DescribeReplicationTaskIndividualAssessments 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 DescribeReplicationTaskIndividualAssessmentsRequest method.
req, resp := client.DescribeReplicationTaskIndividualAssessmentsRequest(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/DescribeReplicationTaskIndividualAssessments

func (*DatabaseMigrationService) DescribeReplicationTaskIndividualAssessmentsWithContext

func (c *DatabaseMigrationService) DescribeReplicationTaskIndividualAssessmentsWithContext(ctx aws.Context, input *DescribeReplicationTaskIndividualAssessmentsInput, opts ...request.Option) (*DescribeReplicationTaskIndividualAssessmentsOutput, error)

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

See DescribeReplicationTaskIndividualAssessments 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

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 Types:

  • ResourceNotFoundFault The resource could not be found.

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

Example (Shared00)

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

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

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

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

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

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 Types:

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

  • ResourceNotFoundFault The resource could not be found.

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

Example (Shared00)

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

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

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

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

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

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 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 Types:

  • ResourceNotFoundFault The resource could not be found.

  • 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

Example (Shared00)

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

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

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

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

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

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 Types:

  • ResourceAlreadyExistsFault The resource you are attempting to create already exists.

  • InvalidCertificateFault The certificate was not valid.

  • ResourceQuotaExceededFault The quota for this resource quota has been exceeded.

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

Example (Shared00)

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

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

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

func (c *DatabaseMigrationService) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for AWS Database Migration Service.

Lists all metadata tags attached to an DMS resource, including replication instance, endpoint, subnet group, and migration task. For more information, see Tag (https://docs.aws.amazon.com/dms/latest/APIReference/API_Tag.html) data type description.

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 Types:

  • ResourceNotFoundFault The resource could not be found.

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

Example (Shared00)

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

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

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

func (c *DatabaseMigrationService) ModifyEndpoint(input *ModifyEndpointInput) (*ModifyEndpointOutput, error)

ModifyEndpoint API operation for AWS Database Migration Service.

Modifies the specified endpoint.

For a MySQL source or target endpoint, don't explicitly specify the database using the DatabaseName request parameter on the ModifyEndpoint API call. Specifying DatabaseName when you modify a MySQL endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify the database only when you specify the schema in the table-mapping rules of the DMS 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 ModifyEndpoint for usage and error information.

Returned Error Types:

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

  • ResourceNotFoundFault The resource could not be found.

  • ResourceAlreadyExistsFault The resource you are attempting to create already exists.

  • KMSKeyNotAccessibleFault DMS cannot access the KMS key.

  • AccessDeniedFault 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

Example (Shared00)

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

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

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

func (c *DatabaseMigrationService) ModifyEventSubscription(input *ModifyEventSubscriptionInput) (*ModifyEventSubscriptionOutput, error)

ModifyEventSubscription API operation for AWS Database Migration Service.

Modifies an existing 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 Types:

  • ResourceQuotaExceededFault The quota for this resource quota has been exceeded.

  • ResourceNotFoundFault The resource could not be found.

  • SNSInvalidTopicFault The SNS topic is invalid.

  • SNSNoAuthorizationFault You are not authorized for the SNS subscription.

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

  • KMSDisabledFault The specified KMS key isn't enabled.

  • KMSInvalidStateFault The state of the specified KMS resource isn't valid for this request.

  • KMSNotFoundFault The specified KMS entity or resource can't be found.

  • KMSThrottlingFault This request triggered KMS request throttling.

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

func (*DatabaseMigrationService) ModifyEventSubscriptionRequest

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

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

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 Types:

  • AccessDeniedFault DMS was denied access to the endpoint. Check that the role is correctly configured.

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

  • ResourceAlreadyExistsFault The resource you are attempting to create already exists.

  • ResourceNotFoundFault The resource could not be found.

  • InsufficientResourceCapacityFault There are not enough resources allocated to the database migration.

  • StorageQuotaExceededFault The storage quota has been exceeded.

  • UpgradeDependencyFailureFault An upgrade dependency is preventing the database migration.

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

Example (Shared00)

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

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

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

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 Types:

  • AccessDeniedFault DMS was denied access to the endpoint. Check that the role is correctly configured.

  • ResourceNotFoundFault The resource could not be found.

  • ResourceQuotaExceededFault The quota for this resource quota has been exceeded.

  • SubnetAlreadyInUse The specified subnet is already in use.

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

  • InvalidSubnet The subnet provided is invalid.

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

Example (Shared00)

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

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

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

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 DMS tasks, see Working with Migration Tasks (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.html) in the 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 Types:

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

  • ResourceNotFoundFault The resource could not be found.

  • ResourceAlreadyExistsFault The resource you are attempting to create already exists.

  • KMSKeyNotAccessibleFault DMS cannot access the KMS key.

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

func (*DatabaseMigrationService) ModifyReplicationTaskRequest

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

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) MoveReplicationTask

func (c *DatabaseMigrationService) MoveReplicationTask(input *MoveReplicationTaskInput) (*MoveReplicationTaskOutput, error)

MoveReplicationTask API operation for AWS Database Migration Service.

Moves a replication task from its current replication instance to a different target replication instance using the specified parameters. The target replication instance must be created with the same or later DMS version as the current 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 MoveReplicationTask for usage and error information.

Returned Error Types:

  • AccessDeniedFault DMS was denied access to the endpoint. Check that the role is correctly configured.

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

  • ResourceNotFoundFault The resource could not be found.

  • KMSKeyNotAccessibleFault DMS cannot access the KMS key.

  • ResourceQuotaExceededFault The quota for this resource quota has been exceeded.

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

func (*DatabaseMigrationService) MoveReplicationTaskRequest

func (c *DatabaseMigrationService) MoveReplicationTaskRequest(input *MoveReplicationTaskInput) (req *request.Request, output *MoveReplicationTaskOutput)

MoveReplicationTaskRequest generates a "aws/request.Request" representing the client's request for the MoveReplicationTask 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 MoveReplicationTask for more information on using the MoveReplicationTask 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 MoveReplicationTaskRequest method.
req, resp := client.MoveReplicationTaskRequest(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/MoveReplicationTask

func (*DatabaseMigrationService) MoveReplicationTaskWithContext

func (c *DatabaseMigrationService) MoveReplicationTaskWithContext(ctx aws.Context, input *MoveReplicationTaskInput, opts ...request.Option) (*MoveReplicationTaskOutput, error)

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

See MoveReplicationTask 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

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 Types:

  • ResourceNotFoundFault The resource could not be found.

  • 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

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

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

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 Types:

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

  • ResourceNotFoundFault The resource could not be found.

  • KMSKeyNotAccessibleFault DMS cannot access the KMS key.

  • ResourceQuotaExceededFault The quota for this resource quota has been exceeded.

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

Example (Shared00)

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

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

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

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.

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

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 Types:

  • ResourceNotFoundFault The resource could not be found.

  • 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

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

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

func (c *DatabaseMigrationService) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*RemoveTagsFromResourceOutput, error)

RemoveTagsFromResource API operation for AWS Database Migration Service.

Removes metadata tags from an DMS resource, including replication instance, endpoint, subnet group, and migration task. For more information, see Tag (https://docs.aws.amazon.com/dms/latest/APIReference/API_Tag.html) data type description.

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 Types:

  • ResourceNotFoundFault The resource could not be found.

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

Example (Shared00)

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

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

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) RunFleetAdvisorLsaAnalysis

func (c *DatabaseMigrationService) RunFleetAdvisorLsaAnalysis(input *RunFleetAdvisorLsaAnalysisInput) (*RunFleetAdvisorLsaAnalysisOutput, error)

RunFleetAdvisorLsaAnalysis API operation for AWS Database Migration Service.

Runs large-scale assessment (LSA) analysis on every Fleet Advisor collector in your account.

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 RunFleetAdvisorLsaAnalysis for usage and error information.

Returned Error Types:

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

  • ResourceNotFoundFault The resource could not be found.

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

func (*DatabaseMigrationService) RunFleetAdvisorLsaAnalysisRequest

func (c *DatabaseMigrationService) RunFleetAdvisorLsaAnalysisRequest(input *RunFleetAdvisorLsaAnalysisInput) (req *request.Request, output *RunFleetAdvisorLsaAnalysisOutput)

RunFleetAdvisorLsaAnalysisRequest generates a "aws/request.Request" representing the client's request for the RunFleetAdvisorLsaAnalysis 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 RunFleetAdvisorLsaAnalysis for more information on using the RunFleetAdvisorLsaAnalysis 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 RunFleetAdvisorLsaAnalysisRequest method.
req, resp := client.RunFleetAdvisorLsaAnalysisRequest(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/RunFleetAdvisorLsaAnalysis

func (*DatabaseMigrationService) RunFleetAdvisorLsaAnalysisWithContext

func (c *DatabaseMigrationService) RunFleetAdvisorLsaAnalysisWithContext(ctx aws.Context, input *RunFleetAdvisorLsaAnalysisInput, opts ...request.Option) (*RunFleetAdvisorLsaAnalysisOutput, error)

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

See RunFleetAdvisorLsaAnalysis 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) StartRecommendations

func (c *DatabaseMigrationService) StartRecommendations(input *StartRecommendationsInput) (*StartRecommendationsOutput, error)

StartRecommendations API operation for AWS Database Migration Service.

Starts the analysis of your source database to provide recommendations of target engines.

You can create recommendations for multiple source databases using BatchStartRecommendations (https://docs.aws.amazon.com/dms/latest/APIReference/API_BatchStartRecommendations.html).

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 StartRecommendations for usage and error information.

Returned Error Types:

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

  • AccessDeniedFault DMS was denied access to the endpoint. Check that the role is correctly configured.

  • ResourceNotFoundFault The resource could not be found.

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

func (*DatabaseMigrationService) StartRecommendationsRequest

func (c *DatabaseMigrationService) StartRecommendationsRequest(input *StartRecommendationsInput) (req *request.Request, output *StartRecommendationsOutput)

StartRecommendationsRequest generates a "aws/request.Request" representing the client's request for the StartRecommendations 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 StartRecommendations for more information on using the StartRecommendations 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 StartRecommendationsRequest method.
req, resp := client.StartRecommendationsRequest(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/StartRecommendations

func (*DatabaseMigrationService) StartRecommendationsWithContext

func (c *DatabaseMigrationService) StartRecommendationsWithContext(ctx aws.Context, input *StartRecommendationsInput, opts ...request.Option) (*StartRecommendationsOutput, error)

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

See StartRecommendations 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

func (c *DatabaseMigrationService) StartReplicationTask(input *StartReplicationTaskInput) (*StartReplicationTaskOutput, error)

StartReplicationTask API operation for AWS Database Migration Service.

Starts the replication task.

For more information about DMS tasks, see Working with Migration Tasks (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.html) in the 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 Types:

  • ResourceNotFoundFault The resource could not be found.

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

  • AccessDeniedFault 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

Example (Shared00)

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

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.

You can only use this operation for a task if the following conditions are true:

  • The task must be in the stopped state.

  • The task must have successful connections to the source and target.

If either of these conditions are not met, an InvalidResourceStateFault error will result.

For information about DMS task assessments, see Creating a task assessment report (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.AssessmentReport.html) in the 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 StartReplicationTaskAssessment for usage and error information.

Returned Error Types:

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

  • ResourceNotFoundFault The resource could not be found.

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

func (*DatabaseMigrationService) StartReplicationTaskAssessmentRequest

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) StartReplicationTaskAssessmentRun

func (c *DatabaseMigrationService) StartReplicationTaskAssessmentRun(input *StartReplicationTaskAssessmentRunInput) (*StartReplicationTaskAssessmentRunOutput, error)

StartReplicationTaskAssessmentRun API operation for AWS Database Migration Service.

Starts a new premigration assessment run for one or more individual assessments of a migration task.

The assessments that you can specify depend on the source and target database engine and the migration type defined for the given task. To run this operation, your migration task must already be created. After you run this operation, you can review the status of each individual assessment. You can also run the migration task manually after the assessment run and its individual assessments complete.

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 StartReplicationTaskAssessmentRun for usage and error information.

Returned Error Types:

  • AccessDeniedFault DMS was denied access to the endpoint. Check that the role is correctly configured.

  • ResourceNotFoundFault The resource could not be found.

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

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

  • KMSDisabledFault The specified KMS key isn't enabled.

  • KMSFault An Key Management Service (KMS) error is preventing access to KMS.

  • KMSInvalidStateFault The state of the specified KMS resource isn't valid for this request.

  • KMSNotFoundFault The specified KMS entity or resource can't be found.

  • KMSKeyNotAccessibleFault DMS cannot access the KMS key.

  • S3AccessDeniedFault Insufficient privileges are preventing access to an Amazon S3 object.

  • S3ResourceNotFoundFault A specified Amazon S3 bucket, bucket folder, or other object can't be found.

  • ResourceAlreadyExistsFault The resource you are attempting to create already exists.

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

func (*DatabaseMigrationService) StartReplicationTaskAssessmentRunRequest

func (c *DatabaseMigrationService) StartReplicationTaskAssessmentRunRequest(input *StartReplicationTaskAssessmentRunInput) (req *request.Request, output *StartReplicationTaskAssessmentRunOutput)

StartReplicationTaskAssessmentRunRequest generates a "aws/request.Request" representing the client's request for the StartReplicationTaskAssessmentRun 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 StartReplicationTaskAssessmentRun for more information on using the StartReplicationTaskAssessmentRun 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 StartReplicationTaskAssessmentRunRequest method.
req, resp := client.StartReplicationTaskAssessmentRunRequest(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/StartReplicationTaskAssessmentRun

func (*DatabaseMigrationService) StartReplicationTaskAssessmentRunWithContext

func (c *DatabaseMigrationService) StartReplicationTaskAssessmentRunWithContext(ctx aws.Context, input *StartReplicationTaskAssessmentRunInput, opts ...request.Option) (*StartReplicationTaskAssessmentRunOutput, error)

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

See StartReplicationTaskAssessmentRun 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) StartReplicationTaskAssessmentWithContext

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

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

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

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 Types:

  • ResourceNotFoundFault The resource could not be found.

  • 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

Example (Shared00)

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

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

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

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 Types:

  • ResourceNotFoundFault The resource could not be found.

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

  • KMSKeyNotAccessibleFault DMS cannot access the KMS key.

  • ResourceQuotaExceededFault The quota for this resource quota has been exceeded.

  • AccessDeniedFault 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/TestConnection

Example (Shared00)

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())
        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) TestConnectionRequest

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

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) UpdateSubscriptionsToEventBridge

func (c *DatabaseMigrationService) UpdateSubscriptionsToEventBridge(input *UpdateSubscriptionsToEventBridgeInput) (*UpdateSubscriptionsToEventBridgeOutput, error)

UpdateSubscriptionsToEventBridge API operation for AWS Database Migration Service.

Migrates 10 active and enabled Amazon SNS subscriptions at a time and converts them to corresponding Amazon EventBridge rules. By default, this operation migrates subscriptions only when all your replication instance versions are 3.4.6 or higher. If any replication instances are from versions earlier than 3.4.6, the operation raises an error and tells you to upgrade these instances to version 3.4.6 or higher. To enable migration regardless of version, set the Force option to true. However, if you don't upgrade instances earlier than version 3.4.6, some types of events might not be available when you use Amazon EventBridge.

To call this operation, make sure that you have certain permissions added to your user account. For more information, see Migrating event subscriptions to Amazon EventBridge (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html#CHAP_Events-migrate-to-eventbridge) in the Amazon Web Services 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 UpdateSubscriptionsToEventBridge for usage and error information.

Returned Error Types:

  • AccessDeniedFault DMS was denied access to the endpoint. Check that the role is correctly configured.

  • 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/UpdateSubscriptionsToEventBridge

func (*DatabaseMigrationService) UpdateSubscriptionsToEventBridgeRequest

func (c *DatabaseMigrationService) UpdateSubscriptionsToEventBridgeRequest(input *UpdateSubscriptionsToEventBridgeInput) (req *request.Request, output *UpdateSubscriptionsToEventBridgeOutput)

UpdateSubscriptionsToEventBridgeRequest generates a "aws/request.Request" representing the client's request for the UpdateSubscriptionsToEventBridge 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 UpdateSubscriptionsToEventBridge for more information on using the UpdateSubscriptionsToEventBridge 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 UpdateSubscriptionsToEventBridgeRequest method.
req, resp := client.UpdateSubscriptionsToEventBridgeRequest(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/UpdateSubscriptionsToEventBridge

func (*DatabaseMigrationService) UpdateSubscriptionsToEventBridgeWithContext

func (c *DatabaseMigrationService) UpdateSubscriptionsToEventBridgeWithContext(ctx aws.Context, input *UpdateSubscriptionsToEventBridgeInput, opts ...request.Option) (*UpdateSubscriptionsToEventBridgeOutput, error)

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

See UpdateSubscriptionsToEventBridge 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 DatabaseResponse

type DatabaseResponse struct {

    // A list of collectors associated with the database.
    Collectors []*CollectorShortInfoResponse `type:"list"`

    // The ID of a database in a Fleet Advisor collector inventory.
    DatabaseId *string `type:"string"`

    // The name of a database in a Fleet Advisor collector inventory.
    DatabaseName *string `type:"string"`

    // The IP address of a database in a Fleet Advisor collector inventory.
    IpAddress *string `type:"string"`

    // The number of schemas in a Fleet Advisor collector inventory database.
    NumberOfSchemas *int64 `type:"long"`

    // The server name of a database in a Fleet Advisor collector inventory.
    Server *ServerShortInfoResponse `type:"structure"`

    // The software details of a database in a Fleet Advisor collector inventory,
    // such as database engine and version.
    SoftwareDetails *DatabaseInstanceSoftwareDetailsResponse `type:"structure"`
    // contains filtered or unexported fields
}

Describes a database in a Fleet Advisor collector inventory.

func (DatabaseResponse) GoString

func (s DatabaseResponse) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DatabaseResponse) SetCollectors

func (s *DatabaseResponse) SetCollectors(v []*CollectorShortInfoResponse) *DatabaseResponse

SetCollectors sets the Collectors field's value.

func (*DatabaseResponse) SetDatabaseId

func (s *DatabaseResponse) SetDatabaseId(v string) *DatabaseResponse

SetDatabaseId sets the DatabaseId field's value.

func (*DatabaseResponse) SetDatabaseName

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

SetDatabaseName sets the DatabaseName field's value.

func (*DatabaseResponse) SetIpAddress

func (s *DatabaseResponse) SetIpAddress(v string) *DatabaseResponse

SetIpAddress sets the IpAddress field's value.

func (*DatabaseResponse) SetNumberOfSchemas

func (s *DatabaseResponse) SetNumberOfSchemas(v int64) *DatabaseResponse

SetNumberOfSchemas sets the NumberOfSchemas field's value.

func (*DatabaseResponse) SetServer

func (s *DatabaseResponse) SetServer(v *ServerShortInfoResponse) *DatabaseResponse

SetServer sets the Server field's value.

func (*DatabaseResponse) SetSoftwareDetails

func (s *DatabaseResponse) SetSoftwareDetails(v *DatabaseInstanceSoftwareDetailsResponse) *DatabaseResponse

SetSoftwareDetails sets the SoftwareDetails field's value.

func (DatabaseResponse) String

func (s DatabaseResponse) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DatabaseShortInfoResponse

type DatabaseShortInfoResponse struct {

    // The database engine of a database in a Fleet Advisor collector inventory,
    // for example PostgreSQL.
    DatabaseEngine *string `type:"string"`

    // The ID of a database in a Fleet Advisor collector inventory.
    DatabaseId *string `type:"string"`

    // The IP address of a database in a Fleet Advisor collector inventory.
    DatabaseIpAddress *string `type:"string"`

    // The name of a database in a Fleet Advisor collector inventory.
    DatabaseName *string `type:"string"`
    // contains filtered or unexported fields
}

Describes a database in a Fleet Advisor collector inventory.

func (DatabaseShortInfoResponse) GoString

func (s DatabaseShortInfoResponse) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DatabaseShortInfoResponse) SetDatabaseEngine

func (s *DatabaseShortInfoResponse) SetDatabaseEngine(v string) *DatabaseShortInfoResponse

SetDatabaseEngine sets the DatabaseEngine field's value.

func (*DatabaseShortInfoResponse) SetDatabaseId

func (s *DatabaseShortInfoResponse) SetDatabaseId(v string) *DatabaseShortInfoResponse

SetDatabaseId sets the DatabaseId field's value.

func (*DatabaseShortInfoResponse) SetDatabaseIpAddress

func (s *DatabaseShortInfoResponse) SetDatabaseIpAddress(v string) *DatabaseShortInfoResponse

SetDatabaseIpAddress sets the DatabaseIpAddress field's value.

func (*DatabaseShortInfoResponse) SetDatabaseName

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

SetDatabaseName sets the DatabaseName field's value.

func (DatabaseShortInfoResponse) String

func (s DatabaseShortInfoResponse) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteCertificateInput

type DeleteCertificateInput struct {

    // The Amazon Resource Name (ARN) of the certificate.
    //
    // CertificateArn is a required field
    CertificateArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteCertificateInput) GoString

func (s DeleteCertificateInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteCertificateInput) SetCertificateArn

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

SetCertificateArn sets the CertificateArn field's value.

func (DeleteCertificateInput) String

func (s DeleteCertificateInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteCertificateInput) Validate

func (s *DeleteCertificateInput) Validate() error

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

type DeleteCertificateOutput

type DeleteCertificateOutput struct {

    // The Secure Sockets Layer (SSL) certificate.
    Certificate *Certificate `type:"structure"`
    // contains filtered or unexported fields
}

func (DeleteCertificateOutput) GoString

func (s DeleteCertificateOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteCertificateOutput) SetCertificate

func (s *DeleteCertificateOutput) SetCertificate(v *Certificate) *DeleteCertificateOutput

SetCertificate sets the Certificate field's value.

func (DeleteCertificateOutput) String

func (s DeleteCertificateOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteConnectionInput

type DeleteConnectionInput struct {

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

    // The Amazon Resource Name (ARN) of the replication instance.
    //
    // ReplicationInstanceArn is a required field
    ReplicationInstanceArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteConnectionInput) GoString

func (s DeleteConnectionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteConnectionInput) SetEndpointArn

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

SetEndpointArn sets the EndpointArn field's value.

func (*DeleteConnectionInput) SetReplicationInstanceArn

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

SetReplicationInstanceArn sets the ReplicationInstanceArn field's value.

func (DeleteConnectionInput) String

func (s DeleteConnectionInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteConnectionInput) Validate

func (s *DeleteConnectionInput) Validate() error

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

type DeleteConnectionOutput

type DeleteConnectionOutput struct {

    // The connection that is being deleted.
    Connection *Connection `type:"structure"`
    // contains filtered or unexported fields
}

func (DeleteConnectionOutput) GoString

func (s DeleteConnectionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteConnectionOutput) SetConnection

func (s *DeleteConnectionOutput) SetConnection(v *Connection) *DeleteConnectionOutput

SetConnection sets the Connection field's value.

func (DeleteConnectionOutput) String

func (s DeleteConnectionOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteEndpointInput

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

func (s DeleteEndpointInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteEndpointInput) SetEndpointArn

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

SetEndpointArn sets the EndpointArn field's value.

func (DeleteEndpointInput) String

func (s DeleteEndpointInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteEndpointInput) Validate

func (s *DeleteEndpointInput) Validate() error

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

type DeleteEndpointOutput

type DeleteEndpointOutput struct {

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

func (DeleteEndpointOutput) GoString

func (s DeleteEndpointOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteEndpointOutput) SetEndpoint

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

SetEndpoint sets the Endpoint field's value.

func (DeleteEndpointOutput) String

func (s DeleteEndpointOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteEventSubscriptionInput

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

func (s DeleteEventSubscriptionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteEventSubscriptionInput) SetSubscriptionName

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

SetSubscriptionName sets the SubscriptionName field's value.

func (DeleteEventSubscriptionInput) String

func (s DeleteEventSubscriptionInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteEventSubscriptionInput) Validate

func (s *DeleteEventSubscriptionInput) Validate() error

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

type DeleteEventSubscriptionOutput

type DeleteEventSubscriptionOutput struct {

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

func (DeleteEventSubscriptionOutput) GoString

func (s DeleteEventSubscriptionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteEventSubscriptionOutput) SetEventSubscription

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

SetEventSubscription sets the EventSubscription field's value.

func (DeleteEventSubscriptionOutput) String

func (s DeleteEventSubscriptionOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteFleetAdvisorCollectorInput

type DeleteFleetAdvisorCollectorInput struct {

    // The reference ID of the Fleet Advisor collector to delete.
    //
    // CollectorReferencedId is a required field
    CollectorReferencedId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteFleetAdvisorCollectorInput) GoString

func (s DeleteFleetAdvisorCollectorInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteFleetAdvisorCollectorInput) SetCollectorReferencedId

func (s *DeleteFleetAdvisorCollectorInput) SetCollectorReferencedId(v string) *DeleteFleetAdvisorCollectorInput

SetCollectorReferencedId sets the CollectorReferencedId field's value.

func (DeleteFleetAdvisorCollectorInput) String

func (s DeleteFleetAdvisorCollectorInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteFleetAdvisorCollectorInput) Validate

func (s *DeleteFleetAdvisorCollectorInput) Validate() error

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

type DeleteFleetAdvisorCollectorOutput

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

func (DeleteFleetAdvisorCollectorOutput) GoString

func (s DeleteFleetAdvisorCollectorOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteFleetAdvisorCollectorOutput) String

func (s DeleteFleetAdvisorCollectorOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteFleetAdvisorDatabasesInput

type DeleteFleetAdvisorDatabasesInput struct {

    // The IDs of the Fleet Advisor collector databases to delete.
    //
    // DatabaseIds is a required field
    DatabaseIds []*string `type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteFleetAdvisorDatabasesInput) GoString

func (s DeleteFleetAdvisorDatabasesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteFleetAdvisorDatabasesInput) SetDatabaseIds

func (s *DeleteFleetAdvisorDatabasesInput) SetDatabaseIds(v []*string) *DeleteFleetAdvisorDatabasesInput

SetDatabaseIds sets the DatabaseIds field's value.

func (DeleteFleetAdvisorDatabasesInput) String

func (s DeleteFleetAdvisorDatabasesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteFleetAdvisorDatabasesInput) Validate

func (s *DeleteFleetAdvisorDatabasesInput) Validate() error

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

type DeleteFleetAdvisorDatabasesOutput

type DeleteFleetAdvisorDatabasesOutput struct {

    // The IDs of the databases that the operation deleted.
    DatabaseIds []*string `type:"list"`
    // contains filtered or unexported fields
}

func (DeleteFleetAdvisorDatabasesOutput) GoString

func (s DeleteFleetAdvisorDatabasesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteFleetAdvisorDatabasesOutput) SetDatabaseIds

func (s *DeleteFleetAdvisorDatabasesOutput) SetDatabaseIds(v []*string) *DeleteFleetAdvisorDatabasesOutput

SetDatabaseIds sets the DatabaseIds field's value.

func (DeleteFleetAdvisorDatabasesOutput) String

func (s DeleteFleetAdvisorDatabasesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteReplicationInstanceInput

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

func (s DeleteReplicationInstanceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteReplicationInstanceInput) SetReplicationInstanceArn

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

SetReplicationInstanceArn sets the ReplicationInstanceArn field's value.

func (DeleteReplicationInstanceInput) String

func (s DeleteReplicationInstanceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteReplicationInstanceInput) Validate

func (s *DeleteReplicationInstanceInput) Validate() error

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

type DeleteReplicationInstanceOutput

type DeleteReplicationInstanceOutput struct {

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

func (DeleteReplicationInstanceOutput) GoString

func (s DeleteReplicationInstanceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteReplicationInstanceOutput) SetReplicationInstance

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

SetReplicationInstance sets the ReplicationInstance field's value.

func (DeleteReplicationInstanceOutput) String

func (s DeleteReplicationInstanceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteReplicationSubnetGroupInput

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

func (s DeleteReplicationSubnetGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteReplicationSubnetGroupInput) SetReplicationSubnetGroupIdentifier

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

SetReplicationSubnetGroupIdentifier sets the ReplicationSubnetGroupIdentifier field's value.

func (DeleteReplicationSubnetGroupInput) String

func (s DeleteReplicationSubnetGroupInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteReplicationSubnetGroupInput) Validate

func (s *DeleteReplicationSubnetGroupInput) Validate() error

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

type DeleteReplicationSubnetGroupOutput

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

func (DeleteReplicationSubnetGroupOutput) GoString

func (s DeleteReplicationSubnetGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteReplicationSubnetGroupOutput) String

func (s DeleteReplicationSubnetGroupOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteReplicationTaskAssessmentRunInput

type DeleteReplicationTaskAssessmentRunInput struct {

    // Amazon Resource Name (ARN) of the premigration assessment run to be deleted.
    //
    // ReplicationTaskAssessmentRunArn is a required field
    ReplicationTaskAssessmentRunArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteReplicationTaskAssessmentRunInput) GoString

func (s DeleteReplicationTaskAssessmentRunInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteReplicationTaskAssessmentRunInput) SetReplicationTaskAssessmentRunArn

func (s *DeleteReplicationTaskAssessmentRunInput) SetReplicationTaskAssessmentRunArn(v string) *DeleteReplicationTaskAssessmentRunInput

SetReplicationTaskAssessmentRunArn sets the ReplicationTaskAssessmentRunArn field's value.

func (DeleteReplicationTaskAssessmentRunInput) String

func (s DeleteReplicationTaskAssessmentRunInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteReplicationTaskAssessmentRunInput) Validate

func (s *DeleteReplicationTaskAssessmentRunInput) Validate() error

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

type DeleteReplicationTaskAssessmentRunOutput

type DeleteReplicationTaskAssessmentRunOutput struct {

    // The ReplicationTaskAssessmentRun object for the deleted assessment run.
    ReplicationTaskAssessmentRun *ReplicationTaskAssessmentRun `type:"structure"`
    // contains filtered or unexported fields
}

func (DeleteReplicationTaskAssessmentRunOutput) GoString

func (s DeleteReplicationTaskAssessmentRunOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteReplicationTaskAssessmentRunOutput) SetReplicationTaskAssessmentRun

func (s *DeleteReplicationTaskAssessmentRunOutput) SetReplicationTaskAssessmentRun(v *ReplicationTaskAssessmentRun) *DeleteReplicationTaskAssessmentRunOutput

SetReplicationTaskAssessmentRun sets the ReplicationTaskAssessmentRun field's value.

func (DeleteReplicationTaskAssessmentRunOutput) String

func (s DeleteReplicationTaskAssessmentRunOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteReplicationTaskInput

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

func (s DeleteReplicationTaskInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteReplicationTaskInput) SetReplicationTaskArn

func (s *DeleteReplicationTaskInput) SetReplicationTaskArn(v string) *DeleteReplicationTaskInput

SetReplicationTaskArn sets the ReplicationTaskArn field's value.

func (DeleteReplicationTaskInput) String

func (s DeleteReplicationTaskInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteReplicationTaskInput) Validate

func (s *DeleteReplicationTaskInput) Validate() error

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

type DeleteReplicationTaskOutput

type DeleteReplicationTaskOutput struct {

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

func (DeleteReplicationTaskOutput) GoString

func (s DeleteReplicationTaskOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteReplicationTaskOutput) SetReplicationTask

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

SetReplicationTask sets the ReplicationTask field's value.

func (DeleteReplicationTaskOutput) String

func (s DeleteReplicationTaskOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeAccountAttributesInput

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

func (DescribeAccountAttributesInput) GoString

func (s DescribeAccountAttributesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DescribeAccountAttributesInput) String

func (s DescribeAccountAttributesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeAccountAttributesOutput

type DescribeAccountAttributesOutput struct {

    // Account quota information.
    AccountQuotas []*AccountQuota `type:"list"`

    // A unique DMS identifier for an account in a particular Amazon Web Services
    // 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 Amazon Web Services 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.
    //
    // DMS supports the UniqueAccountIdentifier parameter in versions 3.1.4 and
    // later.
    UniqueAccountIdentifier *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeAccountAttributesOutput) GoString

func (s DescribeAccountAttributesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeAccountAttributesOutput) SetAccountQuotas

func (s *DescribeAccountAttributesOutput) SetAccountQuotas(v []*AccountQuota) *DescribeAccountAttributesOutput

SetAccountQuotas sets the AccountQuotas field's value.

func (*DescribeAccountAttributesOutput) SetUniqueAccountIdentifier

func (s *DescribeAccountAttributesOutput) SetUniqueAccountIdentifier(v string) *DescribeAccountAttributesOutput

SetUniqueAccountIdentifier sets the UniqueAccountIdentifier field's value.

func (DescribeAccountAttributesOutput) String

func (s DescribeAccountAttributesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeApplicableIndividualAssessmentsInput

type DescribeApplicableIndividualAssessmentsInput struct {

    // 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"`

    // 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.
    MaxRecords *int64 `type:"integer"`

    // Name of the migration type that each provided individual assessment must
    // support.
    MigrationType *string `type:"string" enum:"MigrationTypeValue"`

    // ARN of a replication instance on which you want to base the default list
    // of individual assessments.
    ReplicationInstanceArn *string `type:"string"`

    // Amazon Resource Name (ARN) of a migration task on which you want to base
    // the default list of individual assessments.
    ReplicationTaskArn *string `type:"string"`

    // Name of a database engine that the specified replication instance supports
    // as a source.
    SourceEngineName *string `type:"string"`

    // Name of a database engine that the specified replication instance supports
    // as a target.
    TargetEngineName *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeApplicableIndividualAssessmentsInput) GoString

func (s DescribeApplicableIndividualAssessmentsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeApplicableIndividualAssessmentsInput) SetMarker

func (s *DescribeApplicableIndividualAssessmentsInput) SetMarker(v string) *DescribeApplicableIndividualAssessmentsInput

SetMarker sets the Marker field's value.

func (*DescribeApplicableIndividualAssessmentsInput) SetMaxRecords

func (s *DescribeApplicableIndividualAssessmentsInput) SetMaxRecords(v int64) *DescribeApplicableIndividualAssessmentsInput

SetMaxRecords sets the MaxRecords field's value.

func (*DescribeApplicableIndividualAssessmentsInput) SetMigrationType

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

SetMigrationType sets the MigrationType field's value.

func (*DescribeApplicableIndividualAssessmentsInput) SetReplicationInstanceArn

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

SetReplicationInstanceArn sets the ReplicationInstanceArn field's value.

func (*DescribeApplicableIndividualAssessmentsInput) SetReplicationTaskArn

func (s *DescribeApplicableIndividualAssessmentsInput) SetReplicationTaskArn(v string) *DescribeApplicableIndividualAssessmentsInput

SetReplicationTaskArn sets the ReplicationTaskArn field's value.

func (*DescribeApplicableIndividualAssessmentsInput) SetSourceEngineName

func (s *DescribeApplicableIndividualAssessmentsInput) SetSourceEngineName(v string) *DescribeApplicableIndividualAssessmentsInput

SetSourceEngineName sets the SourceEngineName field's value.

func (*DescribeApplicableIndividualAssessmentsInput) SetTargetEngineName

func (s *DescribeApplicableIndividualAssessmentsInput) SetTargetEngineName(v string) *DescribeApplicableIndividualAssessmentsInput

SetTargetEngineName sets the TargetEngineName field's value.

func (DescribeApplicableIndividualAssessmentsInput) String

func (s DescribeApplicableIndividualAssessmentsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeApplicableIndividualAssessmentsOutput

type DescribeApplicableIndividualAssessmentsOutput struct {

    // List of names for the individual assessments supported by the premigration
    // assessment run that you start based on the specified request parameters.
    // For more information on the available individual assessments, including compatibility
    // with different migration task configurations, see Working with premigration
    // assessment runs (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.AssessmentReport.html)
    // in the Database Migration Service User Guide.
    IndividualAssessmentNames []*string `type:"list"`

    // Pagination token returned for you to pass to a subsequent request. If you
    // pass this token as the Marker value in a subsequent request, the response
    // includes only records beyond the marker, up to the value specified in the
    // request by MaxRecords.
    Marker *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeApplicableIndividualAssessmentsOutput) GoString

func (s DescribeApplicableIndividualAssessmentsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeApplicableIndividualAssessmentsOutput) SetIndividualAssessmentNames

func (s *DescribeApplicableIndividualAssessmentsOutput) SetIndividualAssessmentNames(v []*string) *DescribeApplicableIndividualAssessmentsOutput

SetIndividualAssessmentNames sets the IndividualAssessmentNames field's value.

func (*DescribeApplicableIndividualAssessmentsOutput) SetMarker

func (s *DescribeApplicableIndividualAssessmentsOutput) SetMarker(v string) *DescribeApplicableIndividualAssessmentsOutput

SetMarker sets the Marker field's value.

func (DescribeApplicableIndividualAssessmentsOutput) String

func (s DescribeApplicableIndividualAssessmentsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeCertificatesInput

type DescribeCertificatesInput struct {

    // Filters applied to the certificates described in the form of key-value pairs.
    // Valid values are certificate-arn and certificate-id.
    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: 10
    MaxRecords *int64 `type:"integer"`
    // contains filtered or unexported fields
}

func (DescribeCertificatesInput) GoString

func (s DescribeCertificatesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeCertificatesInput) SetFilters

func (s *DescribeCertificatesInput) SetFilters(v []*Filter) *DescribeCertificatesInput

SetFilters sets the Filters field's value.

func (*DescribeCertificatesInput) SetMarker

func (s *DescribeCertificatesInput) SetMarker(v string) *DescribeCertificatesInput

SetMarker sets the Marker field's value.

func (*DescribeCertificatesInput) SetMaxRecords

func (s *DescribeCertificatesInput) SetMaxRecords(v int64) *DescribeCertificatesInput

SetMaxRecords sets the MaxRecords field's value.

func (DescribeCertificatesInput) String

func (s DescribeCertificatesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeCertificatesInput) Validate

func (s *DescribeCertificatesInput) Validate() error

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

type DescribeCertificatesOutput

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

func (s DescribeCertificatesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeCertificatesOutput) SetCertificates

func (s *DescribeCertificatesOutput) SetCertificates(v []*Certificate) *DescribeCertificatesOutput

SetCertificates sets the Certificates field's value.

func (*DescribeCertificatesOutput) SetMarker

func (s *DescribeCertificatesOutput) SetMarker(v string) *DescribeCertificatesOutput

SetMarker sets the Marker field's value.

func (DescribeCertificatesOutput) String

func (s DescribeCertificatesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeConnectionsInput

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

func (s DescribeConnectionsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeConnectionsInput) SetFilters

func (s *DescribeConnectionsInput) SetFilters(v []*Filter) *DescribeConnectionsInput

SetFilters sets the Filters field's value.

func (*DescribeConnectionsInput) SetMarker

func (s *DescribeConnectionsInput) SetMarker(v string) *DescribeConnectionsInput

SetMarker sets the Marker field's value.

func (*DescribeConnectionsInput) SetMaxRecords

func (s *DescribeConnectionsInput) SetMaxRecords(v int64) *DescribeConnectionsInput

SetMaxRecords sets the MaxRecords field's value.

func (DescribeConnectionsInput) String

func (s DescribeConnectionsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeConnectionsInput) Validate

func (s *DescribeConnectionsInput) Validate() error

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

type DescribeConnectionsOutput

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

func (s DescribeConnectionsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeConnectionsOutput) SetConnections

func (s *DescribeConnectionsOutput) SetConnections(v []*Connection) *DescribeConnectionsOutput

SetConnections sets the Connections field's value.

func (*DescribeConnectionsOutput) SetMarker

func (s *DescribeConnectionsOutput) SetMarker(v string) *DescribeConnectionsOutput

SetMarker sets the Marker field's value.

func (DescribeConnectionsOutput) String

func (s DescribeConnectionsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeEndpointSettingsInput

type DescribeEndpointSettingsInput struct {

    // The databse engine used for your source or target endpoint.
    //
    // EngineName is a required field
    EngineName *string `type:"string" required:"true"`

    // 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.
    MaxRecords *int64 `type:"integer"`
    // contains filtered or unexported fields
}

func (DescribeEndpointSettingsInput) GoString

func (s DescribeEndpointSettingsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEndpointSettingsInput) SetEngineName

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

SetEngineName sets the EngineName field's value.

func (*DescribeEndpointSettingsInput) SetMarker

func (s *DescribeEndpointSettingsInput) SetMarker(v string) *DescribeEndpointSettingsInput

SetMarker sets the Marker field's value.

func (*DescribeEndpointSettingsInput) SetMaxRecords

func (s *DescribeEndpointSettingsInput) SetMaxRecords(v int64) *DescribeEndpointSettingsInput

SetMaxRecords sets the MaxRecords field's value.

func (DescribeEndpointSettingsInput) String

func (s DescribeEndpointSettingsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEndpointSettingsInput) Validate

func (s *DescribeEndpointSettingsInput) Validate() error

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

type DescribeEndpointSettingsOutput

type DescribeEndpointSettingsOutput struct {

    // Descriptions of the endpoint settings available for your source or target
    // database engine.
    EndpointSettings []*EndpointSetting `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 (DescribeEndpointSettingsOutput) GoString

func (s DescribeEndpointSettingsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEndpointSettingsOutput) SetEndpointSettings

func (s *DescribeEndpointSettingsOutput) SetEndpointSettings(v []*EndpointSetting) *DescribeEndpointSettingsOutput

SetEndpointSettings sets the EndpointSettings field's value.

func (*DescribeEndpointSettingsOutput) SetMarker

func (s *DescribeEndpointSettingsOutput) SetMarker(v string) *DescribeEndpointSettingsOutput

SetMarker sets the Marker field's value.

func (DescribeEndpointSettingsOutput) String

func (s DescribeEndpointSettingsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeEndpointTypesInput

type DescribeEndpointTypesInput struct {

    // Filters applied to the endpoint types.
    //
    // 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

func (s DescribeEndpointTypesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEndpointTypesInput) SetFilters

func (s *DescribeEndpointTypesInput) SetFilters(v []*Filter) *DescribeEndpointTypesInput

SetFilters sets the Filters field's value.

func (*DescribeEndpointTypesInput) SetMarker

func (s *DescribeEndpointTypesInput) SetMarker(v string) *DescribeEndpointTypesInput

SetMarker sets the Marker field's value.

func (*DescribeEndpointTypesInput) SetMaxRecords

func (s *DescribeEndpointTypesInput) SetMaxRecords(v int64) *DescribeEndpointTypesInput

SetMaxRecords sets the MaxRecords field's value.

func (DescribeEndpointTypesInput) String

func (s DescribeEndpointTypesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEndpointTypesInput) Validate

func (s *DescribeEndpointTypesInput) Validate() error

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

type DescribeEndpointTypesOutput

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

func (s DescribeEndpointTypesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEndpointTypesOutput) SetMarker

func (s *DescribeEndpointTypesOutput) SetMarker(v string) *DescribeEndpointTypesOutput

SetMarker sets the Marker field's value.

func (*DescribeEndpointTypesOutput) SetSupportedEndpointTypes

func (s *DescribeEndpointTypesOutput) SetSupportedEndpointTypes(v []*SupportedEndpointType) *DescribeEndpointTypesOutput

SetSupportedEndpointTypes sets the SupportedEndpointTypes field's value.

func (DescribeEndpointTypesOutput) String

func (s DescribeEndpointTypesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeEndpointsInput

type DescribeEndpointsInput struct {

    // Filters applied to the endpoints.
    //
    // 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

func (s DescribeEndpointsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEndpointsInput) SetFilters

func (s *DescribeEndpointsInput) SetFilters(v []*Filter) *DescribeEndpointsInput

SetFilters sets the Filters field's value.

func (*DescribeEndpointsInput) SetMarker

func (s *DescribeEndpointsInput) SetMarker(v string) *DescribeEndpointsInput

SetMarker sets the Marker field's value.

func (*DescribeEndpointsInput) SetMaxRecords

func (s *DescribeEndpointsInput) SetMaxRecords(v int64) *DescribeEndpointsInput

SetMaxRecords sets the MaxRecords field's value.

func (DescribeEndpointsInput) String

func (s DescribeEndpointsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEndpointsInput) Validate

func (s *DescribeEndpointsInput) Validate() error

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

type DescribeEndpointsOutput

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

func (s DescribeEndpointsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEndpointsOutput) SetEndpoints

func (s *DescribeEndpointsOutput) SetEndpoints(v []*Endpoint) *DescribeEndpointsOutput

SetEndpoints sets the Endpoints field's value.

func (*DescribeEndpointsOutput) SetMarker

func (s *DescribeEndpointsOutput) SetMarker(v string) *DescribeEndpointsOutput

SetMarker sets the Marker field's value.

func (DescribeEndpointsOutput) String

func (s DescribeEndpointsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeEventCategoriesInput

type DescribeEventCategoriesInput struct {

    // Filters applied to the event categories.
    Filters []*Filter `type:"list"`

    // The type of DMS resource that generates events.
    //
    // Valid values: replication-instance | replication-task
    SourceType *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeEventCategoriesInput) GoString

func (s DescribeEventCategoriesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEventCategoriesInput) SetFilters

func (s *DescribeEventCategoriesInput) SetFilters(v []*Filter) *DescribeEventCategoriesInput

SetFilters sets the Filters field's value.

func (*DescribeEventCategoriesInput) SetSourceType

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

SetSourceType sets the SourceType field's value.

func (DescribeEventCategoriesInput) String

func (s DescribeEventCategoriesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEventCategoriesInput) Validate

func (s *DescribeEventCategoriesInput) Validate() error

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

type DescribeEventCategoriesOutput

type DescribeEventCategoriesOutput struct {

    // A list of event categories.
    EventCategoryGroupList []*EventCategoryGroup `type:"list"`
    // contains filtered or unexported fields
}

func (DescribeEventCategoriesOutput) GoString

func (s DescribeEventCategoriesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEventCategoriesOutput) SetEventCategoryGroupList

func (s *DescribeEventCategoriesOutput) SetEventCategoryGroupList(v []*EventCategoryGroup) *DescribeEventCategoriesOutput

SetEventCategoryGroupList sets the EventCategoryGroupList field's value.

func (DescribeEventCategoriesOutput) String

func (s DescribeEventCategoriesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeEventSubscriptionsInput

type DescribeEventSubscriptionsInput struct {

    // Filters applied to event subscriptions.
    //
    // Valid filter names: event-subscription-arn | event-subscription-id
    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 DMS event subscription to be described.
    SubscriptionName *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeEventSubscriptionsInput) GoString

func (s DescribeEventSubscriptionsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEventSubscriptionsInput) SetFilters

func (s *DescribeEventSubscriptionsInput) SetFilters(v []*Filter) *DescribeEventSubscriptionsInput

SetFilters sets the Filters field's value.

func (*DescribeEventSubscriptionsInput) SetMarker

func (s *DescribeEventSubscriptionsInput) SetMarker(v string) *DescribeEventSubscriptionsInput

SetMarker sets the Marker field's value.

func (*DescribeEventSubscriptionsInput) SetMaxRecords

func (s *DescribeEventSubscriptionsInput) SetMaxRecords(v int64) *DescribeEventSubscriptionsInput

SetMaxRecords sets the MaxRecords field's value.

func (*DescribeEventSubscriptionsInput) SetSubscriptionName

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

SetSubscriptionName sets the SubscriptionName field's value.

func (DescribeEventSubscriptionsInput) String

func (s DescribeEventSubscriptionsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEventSubscriptionsInput) Validate

func (s *DescribeEventSubscriptionsInput) Validate() error

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

type DescribeEventSubscriptionsOutput

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

func (s DescribeEventSubscriptionsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEventSubscriptionsOutput) SetEventSubscriptionsList

func (s *DescribeEventSubscriptionsOutput) SetEventSubscriptionsList(v []*EventSubscription) *DescribeEventSubscriptionsOutput

SetEventSubscriptionsList sets the EventSubscriptionsList field's value.

func (*DescribeEventSubscriptionsOutput) SetMarker

func (s *DescribeEventSubscriptionsOutput) SetMarker(v string) *DescribeEventSubscriptionsOutput

SetMarker sets the Marker field's value.

func (DescribeEventSubscriptionsOutput) String

func (s DescribeEventSubscriptionsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeEventsInput

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 events. The only valid filter is replication-instance-id.
    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 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

func (s DescribeEventsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEventsInput) SetDuration

func (s *DescribeEventsInput) SetDuration(v int64) *DescribeEventsInput

SetDuration sets the Duration field's value.

func (*DescribeEventsInput) SetEndTime

func (s *DescribeEventsInput) SetEndTime(v time.Time) *DescribeEventsInput

SetEndTime sets the EndTime field's value.

func (*DescribeEventsInput) SetEventCategories

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

SetEventCategories sets the EventCategories field's value.

func (*DescribeEventsInput) SetFilters

func (s *DescribeEventsInput) SetFilters(v []*Filter) *DescribeEventsInput

SetFilters sets the Filters field's value.

func (*DescribeEventsInput) SetMarker

func (s *DescribeEventsInput) SetMarker(v string) *DescribeEventsInput

SetMarker sets the Marker field's value.

func (*DescribeEventsInput) SetMaxRecords

func (s *DescribeEventsInput) SetMaxRecords(v int64) *DescribeEventsInput

SetMaxRecords sets the MaxRecords field's value.

func (*DescribeEventsInput) SetSourceIdentifier

func (s *DescribeEventsInput) SetSourceIdentifier(v string) *DescribeEventsInput

SetSourceIdentifier sets the SourceIdentifier field's value.

func (*DescribeEventsInput) SetSourceType

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

SetSourceType sets the SourceType field's value.

func (*DescribeEventsInput) SetStartTime

func (s *DescribeEventsInput) SetStartTime(v time.Time) *DescribeEventsInput

SetStartTime sets the StartTime field's value.

func (DescribeEventsInput) String

func (s DescribeEventsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEventsInput) Validate

func (s *DescribeEventsInput) Validate() error

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

type DescribeEventsOutput

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

func (s DescribeEventsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeEventsOutput) SetEvents

func (s *DescribeEventsOutput) SetEvents(v []*Event) *DescribeEventsOutput

SetEvents sets the Events field's value.

func (*DescribeEventsOutput) SetMarker

func (s *DescribeEventsOutput) SetMarker(v string) *DescribeEventsOutput

SetMarker sets the Marker field's value.

func (DescribeEventsOutput) String

func (s DescribeEventsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeFleetAdvisorCollectorsInput

type DescribeFleetAdvisorCollectorsInput struct {

    // If you specify any of the following filters, the output includes information
    // for only those collectors that meet the filter criteria:
    //
    //    * collector-referenced-id – The ID of the collector agent, for example
    //    d4610ac5-e323-4ad9-bc50-eaf7249dfe9d.
    //
    //    * collector-name – The name of the collector agent.
    //
    // An example is: describe-fleet-advisor-collectors --filter Name="collector-referenced-id",Values="d4610ac5-e323-4ad9-bc50-eaf7249dfe9d"
    Filters []*Filter `type:"list"`

    // Sets the maximum number of records returned in the response.
    MaxRecords *int64 `type:"integer"`

    // If NextToken is returned by a previous response, there are more results available.
    // The value of NextToken is a unique pagination token for each page. Make the
    // call again using the returned token to retrieve the next page. Keep all other
    // arguments unchanged.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeFleetAdvisorCollectorsInput) GoString

func (s DescribeFleetAdvisorCollectorsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeFleetAdvisorCollectorsInput) SetFilters

func (s *DescribeFleetAdvisorCollectorsInput) SetFilters(v []*Filter) *DescribeFleetAdvisorCollectorsInput

SetFilters sets the Filters field's value.

func (*DescribeFleetAdvisorCollectorsInput) SetMaxRecords

func (s *DescribeFleetAdvisorCollectorsInput) SetMaxRecords(v int64) *DescribeFleetAdvisorCollectorsInput

SetMaxRecords sets the MaxRecords field's value.

func (*DescribeFleetAdvisorCollectorsInput) SetNextToken

func (s *DescribeFleetAdvisorCollectorsInput) SetNextToken(v string) *DescribeFleetAdvisorCollectorsInput

SetNextToken sets the NextToken field's value.

func (DescribeFleetAdvisorCollectorsInput) String

func (s DescribeFleetAdvisorCollectorsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeFleetAdvisorCollectorsInput) Validate

func (s *DescribeFleetAdvisorCollectorsInput) Validate() error

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

type DescribeFleetAdvisorCollectorsOutput

type DescribeFleetAdvisorCollectorsOutput struct {

    // Provides descriptions of the Fleet Advisor collectors, including the collectors'
    // name and ID, and the latest inventory data.
    Collectors []*CollectorResponse `type:"list"`

    // If NextToken is returned, there are more results available. The value of
    // NextToken is a unique pagination token for each page. Make the call again
    // using the returned token to retrieve the next page. Keep all other arguments
    // unchanged.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeFleetAdvisorCollectorsOutput) GoString

func (s DescribeFleetAdvisorCollectorsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeFleetAdvisorCollectorsOutput) SetCollectors

func (s *DescribeFleetAdvisorCollectorsOutput) SetCollectors(v []*CollectorResponse) *DescribeFleetAdvisorCollectorsOutput

SetCollectors sets the Collectors field's value.

func (*DescribeFleetAdvisorCollectorsOutput) SetNextToken

func (s *DescribeFleetAdvisorCollectorsOutput) SetNextToken(v string) *DescribeFleetAdvisorCollectorsOutput

SetNextToken sets the NextToken field's value.

func (DescribeFleetAdvisorCollectorsOutput) Stri