Documentation ¶
Overview ¶
Package migrationhub provides the client and types for making API requests to AWS Migration Hub.
The AWS Migration Hub API methods help to obtain server and application migration status and integrate your resource-specific migration tool by providing a programmatic interface to Migration Hub.
Remember that you must set your AWS Migration Hub home region before you call any of these APIs, or a HomeRegionNotSetException error will be returned. Also, you must make the API calls while in your home region.
See https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31 for more information on this service.
See migrationhub package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/migrationhub/
Using the Client ¶
To contact AWS Migration Hub 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 Migration Hub client MigrationHub for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/migrationhub/#New
Index ¶
- Constants
- func ApplicationStatus_Values() []string
- func ResourceAttributeType_Values() []string
- func Status_Values() []string
- type AccessDeniedException
- func (s *AccessDeniedException) Code() string
- func (s *AccessDeniedException) Error() string
- func (s AccessDeniedException) GoString() string
- func (s *AccessDeniedException) Message() string
- func (s *AccessDeniedException) OrigErr() error
- func (s *AccessDeniedException) RequestID() string
- func (s *AccessDeniedException) StatusCode() int
- func (s AccessDeniedException) String() string
- type ApplicationState
- func (s ApplicationState) GoString() string
- func (s *ApplicationState) SetApplicationId(v string) *ApplicationState
- func (s *ApplicationState) SetApplicationStatus(v string) *ApplicationState
- func (s *ApplicationState) SetLastUpdatedTime(v time.Time) *ApplicationState
- func (s ApplicationState) String() string
- type AssociateCreatedArtifactInput
- func (s AssociateCreatedArtifactInput) GoString() string
- func (s *AssociateCreatedArtifactInput) SetCreatedArtifact(v *CreatedArtifact) *AssociateCreatedArtifactInput
- func (s *AssociateCreatedArtifactInput) SetDryRun(v bool) *AssociateCreatedArtifactInput
- func (s *AssociateCreatedArtifactInput) SetMigrationTaskName(v string) *AssociateCreatedArtifactInput
- func (s *AssociateCreatedArtifactInput) SetProgressUpdateStream(v string) *AssociateCreatedArtifactInput
- func (s AssociateCreatedArtifactInput) String() string
- func (s *AssociateCreatedArtifactInput) Validate() error
- type AssociateCreatedArtifactOutput
- type AssociateDiscoveredResourceInput
- func (s AssociateDiscoveredResourceInput) GoString() string
- func (s *AssociateDiscoveredResourceInput) SetDiscoveredResource(v *DiscoveredResource) *AssociateDiscoveredResourceInput
- func (s *AssociateDiscoveredResourceInput) SetDryRun(v bool) *AssociateDiscoveredResourceInput
- func (s *AssociateDiscoveredResourceInput) SetMigrationTaskName(v string) *AssociateDiscoveredResourceInput
- func (s *AssociateDiscoveredResourceInput) SetProgressUpdateStream(v string) *AssociateDiscoveredResourceInput
- func (s AssociateDiscoveredResourceInput) String() string
- func (s *AssociateDiscoveredResourceInput) Validate() error
- type AssociateDiscoveredResourceOutput
- type CreateProgressUpdateStreamInput
- func (s CreateProgressUpdateStreamInput) GoString() string
- func (s *CreateProgressUpdateStreamInput) SetDryRun(v bool) *CreateProgressUpdateStreamInput
- func (s *CreateProgressUpdateStreamInput) SetProgressUpdateStreamName(v string) *CreateProgressUpdateStreamInput
- func (s CreateProgressUpdateStreamInput) String() string
- func (s *CreateProgressUpdateStreamInput) Validate() error
- type CreateProgressUpdateStreamOutput
- type CreatedArtifact
- type DeleteProgressUpdateStreamInput
- func (s DeleteProgressUpdateStreamInput) GoString() string
- func (s *DeleteProgressUpdateStreamInput) SetDryRun(v bool) *DeleteProgressUpdateStreamInput
- func (s *DeleteProgressUpdateStreamInput) SetProgressUpdateStreamName(v string) *DeleteProgressUpdateStreamInput
- func (s DeleteProgressUpdateStreamInput) String() string
- func (s *DeleteProgressUpdateStreamInput) Validate() error
- type DeleteProgressUpdateStreamOutput
- type DescribeApplicationStateInput
- type DescribeApplicationStateOutput
- func (s DescribeApplicationStateOutput) GoString() string
- func (s *DescribeApplicationStateOutput) SetApplicationStatus(v string) *DescribeApplicationStateOutput
- func (s *DescribeApplicationStateOutput) SetLastUpdatedTime(v time.Time) *DescribeApplicationStateOutput
- func (s DescribeApplicationStateOutput) String() string
- type DescribeMigrationTaskInput
- func (s DescribeMigrationTaskInput) GoString() string
- func (s *DescribeMigrationTaskInput) SetMigrationTaskName(v string) *DescribeMigrationTaskInput
- func (s *DescribeMigrationTaskInput) SetProgressUpdateStream(v string) *DescribeMigrationTaskInput
- func (s DescribeMigrationTaskInput) String() string
- func (s *DescribeMigrationTaskInput) Validate() error
- type DescribeMigrationTaskOutput
- type DisassociateCreatedArtifactInput
- func (s DisassociateCreatedArtifactInput) GoString() string
- func (s *DisassociateCreatedArtifactInput) SetCreatedArtifactName(v string) *DisassociateCreatedArtifactInput
- func (s *DisassociateCreatedArtifactInput) SetDryRun(v bool) *DisassociateCreatedArtifactInput
- func (s *DisassociateCreatedArtifactInput) SetMigrationTaskName(v string) *DisassociateCreatedArtifactInput
- func (s *DisassociateCreatedArtifactInput) SetProgressUpdateStream(v string) *DisassociateCreatedArtifactInput
- func (s DisassociateCreatedArtifactInput) String() string
- func (s *DisassociateCreatedArtifactInput) Validate() error
- type DisassociateCreatedArtifactOutput
- type DisassociateDiscoveredResourceInput
- func (s DisassociateDiscoveredResourceInput) GoString() string
- func (s *DisassociateDiscoveredResourceInput) SetConfigurationId(v string) *DisassociateDiscoveredResourceInput
- func (s *DisassociateDiscoveredResourceInput) SetDryRun(v bool) *DisassociateDiscoveredResourceInput
- func (s *DisassociateDiscoveredResourceInput) SetMigrationTaskName(v string) *DisassociateDiscoveredResourceInput
- func (s *DisassociateDiscoveredResourceInput) SetProgressUpdateStream(v string) *DisassociateDiscoveredResourceInput
- func (s DisassociateDiscoveredResourceInput) String() string
- func (s *DisassociateDiscoveredResourceInput) Validate() error
- type DisassociateDiscoveredResourceOutput
- type DiscoveredResource
- type DryRunOperation
- func (s *DryRunOperation) Code() string
- func (s *DryRunOperation) Error() string
- func (s DryRunOperation) GoString() string
- func (s *DryRunOperation) Message() string
- func (s *DryRunOperation) OrigErr() error
- func (s *DryRunOperation) RequestID() string
- func (s *DryRunOperation) StatusCode() int
- func (s DryRunOperation) String() string
- type HomeRegionNotSetException
- func (s *HomeRegionNotSetException) Code() string
- func (s *HomeRegionNotSetException) Error() string
- func (s HomeRegionNotSetException) GoString() string
- func (s *HomeRegionNotSetException) Message() string
- func (s *HomeRegionNotSetException) OrigErr() error
- func (s *HomeRegionNotSetException) RequestID() string
- func (s *HomeRegionNotSetException) StatusCode() int
- func (s HomeRegionNotSetException) String() string
- type ImportMigrationTaskInput
- func (s ImportMigrationTaskInput) GoString() string
- func (s *ImportMigrationTaskInput) SetDryRun(v bool) *ImportMigrationTaskInput
- func (s *ImportMigrationTaskInput) SetMigrationTaskName(v string) *ImportMigrationTaskInput
- func (s *ImportMigrationTaskInput) SetProgressUpdateStream(v string) *ImportMigrationTaskInput
- func (s ImportMigrationTaskInput) String() string
- func (s *ImportMigrationTaskInput) Validate() error
- type ImportMigrationTaskOutput
- type InternalServerError
- func (s *InternalServerError) Code() string
- func (s *InternalServerError) Error() string
- func (s InternalServerError) GoString() string
- func (s *InternalServerError) Message() string
- func (s *InternalServerError) OrigErr() error
- func (s *InternalServerError) RequestID() string
- func (s *InternalServerError) StatusCode() int
- func (s InternalServerError) String() string
- type InvalidInputException
- func (s *InvalidInputException) Code() string
- func (s *InvalidInputException) Error() string
- func (s InvalidInputException) GoString() string
- func (s *InvalidInputException) Message() string
- func (s *InvalidInputException) OrigErr() error
- func (s *InvalidInputException) RequestID() string
- func (s *InvalidInputException) StatusCode() int
- func (s InvalidInputException) String() string
- type ListApplicationStatesInput
- func (s ListApplicationStatesInput) GoString() string
- func (s *ListApplicationStatesInput) SetApplicationIds(v []*string) *ListApplicationStatesInput
- func (s *ListApplicationStatesInput) SetMaxResults(v int64) *ListApplicationStatesInput
- func (s *ListApplicationStatesInput) SetNextToken(v string) *ListApplicationStatesInput
- func (s ListApplicationStatesInput) String() string
- func (s *ListApplicationStatesInput) Validate() error
- type ListApplicationStatesOutput
- func (s ListApplicationStatesOutput) GoString() string
- func (s *ListApplicationStatesOutput) SetApplicationStateList(v []*ApplicationState) *ListApplicationStatesOutput
- func (s *ListApplicationStatesOutput) SetNextToken(v string) *ListApplicationStatesOutput
- func (s ListApplicationStatesOutput) String() string
- type ListCreatedArtifactsInput
- func (s ListCreatedArtifactsInput) GoString() string
- func (s *ListCreatedArtifactsInput) SetMaxResults(v int64) *ListCreatedArtifactsInput
- func (s *ListCreatedArtifactsInput) SetMigrationTaskName(v string) *ListCreatedArtifactsInput
- func (s *ListCreatedArtifactsInput) SetNextToken(v string) *ListCreatedArtifactsInput
- func (s *ListCreatedArtifactsInput) SetProgressUpdateStream(v string) *ListCreatedArtifactsInput
- func (s ListCreatedArtifactsInput) String() string
- func (s *ListCreatedArtifactsInput) Validate() error
- type ListCreatedArtifactsOutput
- func (s ListCreatedArtifactsOutput) GoString() string
- func (s *ListCreatedArtifactsOutput) SetCreatedArtifactList(v []*CreatedArtifact) *ListCreatedArtifactsOutput
- func (s *ListCreatedArtifactsOutput) SetNextToken(v string) *ListCreatedArtifactsOutput
- func (s ListCreatedArtifactsOutput) String() string
- type ListDiscoveredResourcesInput
- func (s ListDiscoveredResourcesInput) GoString() string
- func (s *ListDiscoveredResourcesInput) SetMaxResults(v int64) *ListDiscoveredResourcesInput
- func (s *ListDiscoveredResourcesInput) SetMigrationTaskName(v string) *ListDiscoveredResourcesInput
- func (s *ListDiscoveredResourcesInput) SetNextToken(v string) *ListDiscoveredResourcesInput
- func (s *ListDiscoveredResourcesInput) SetProgressUpdateStream(v string) *ListDiscoveredResourcesInput
- func (s ListDiscoveredResourcesInput) String() string
- func (s *ListDiscoveredResourcesInput) Validate() error
- type ListDiscoveredResourcesOutput
- func (s ListDiscoveredResourcesOutput) GoString() string
- func (s *ListDiscoveredResourcesOutput) SetDiscoveredResourceList(v []*DiscoveredResource) *ListDiscoveredResourcesOutput
- func (s *ListDiscoveredResourcesOutput) SetNextToken(v string) *ListDiscoveredResourcesOutput
- func (s ListDiscoveredResourcesOutput) String() string
- type ListMigrationTasksInput
- func (s ListMigrationTasksInput) GoString() string
- func (s *ListMigrationTasksInput) SetMaxResults(v int64) *ListMigrationTasksInput
- func (s *ListMigrationTasksInput) SetNextToken(v string) *ListMigrationTasksInput
- func (s *ListMigrationTasksInput) SetResourceName(v string) *ListMigrationTasksInput
- func (s ListMigrationTasksInput) String() string
- func (s *ListMigrationTasksInput) Validate() error
- type ListMigrationTasksOutput
- func (s ListMigrationTasksOutput) GoString() string
- func (s *ListMigrationTasksOutput) SetMigrationTaskSummaryList(v []*MigrationTaskSummary) *ListMigrationTasksOutput
- func (s *ListMigrationTasksOutput) SetNextToken(v string) *ListMigrationTasksOutput
- func (s ListMigrationTasksOutput) String() string
- type ListProgressUpdateStreamsInput
- func (s ListProgressUpdateStreamsInput) GoString() string
- func (s *ListProgressUpdateStreamsInput) SetMaxResults(v int64) *ListProgressUpdateStreamsInput
- func (s *ListProgressUpdateStreamsInput) SetNextToken(v string) *ListProgressUpdateStreamsInput
- func (s ListProgressUpdateStreamsInput) String() string
- func (s *ListProgressUpdateStreamsInput) Validate() error
- type ListProgressUpdateStreamsOutput
- func (s ListProgressUpdateStreamsOutput) GoString() string
- func (s *ListProgressUpdateStreamsOutput) SetNextToken(v string) *ListProgressUpdateStreamsOutput
- func (s *ListProgressUpdateStreamsOutput) SetProgressUpdateStreamSummaryList(v []*ProgressUpdateStreamSummary) *ListProgressUpdateStreamsOutput
- func (s ListProgressUpdateStreamsOutput) String() string
- type MigrationHub
- func (c *MigrationHub) AssociateCreatedArtifact(input *AssociateCreatedArtifactInput) (*AssociateCreatedArtifactOutput, error)
- func (c *MigrationHub) AssociateCreatedArtifactRequest(input *AssociateCreatedArtifactInput) (req *request.Request, output *AssociateCreatedArtifactOutput)
- func (c *MigrationHub) AssociateCreatedArtifactWithContext(ctx aws.Context, input *AssociateCreatedArtifactInput, opts ...request.Option) (*AssociateCreatedArtifactOutput, error)
- func (c *MigrationHub) AssociateDiscoveredResource(input *AssociateDiscoveredResourceInput) (*AssociateDiscoveredResourceOutput, error)
- func (c *MigrationHub) AssociateDiscoveredResourceRequest(input *AssociateDiscoveredResourceInput) (req *request.Request, output *AssociateDiscoveredResourceOutput)
- func (c *MigrationHub) AssociateDiscoveredResourceWithContext(ctx aws.Context, input *AssociateDiscoveredResourceInput, ...) (*AssociateDiscoveredResourceOutput, error)
- func (c *MigrationHub) CreateProgressUpdateStream(input *CreateProgressUpdateStreamInput) (*CreateProgressUpdateStreamOutput, error)
- func (c *MigrationHub) CreateProgressUpdateStreamRequest(input *CreateProgressUpdateStreamInput) (req *request.Request, output *CreateProgressUpdateStreamOutput)
- func (c *MigrationHub) CreateProgressUpdateStreamWithContext(ctx aws.Context, input *CreateProgressUpdateStreamInput, ...) (*CreateProgressUpdateStreamOutput, error)
- func (c *MigrationHub) DeleteProgressUpdateStream(input *DeleteProgressUpdateStreamInput) (*DeleteProgressUpdateStreamOutput, error)
- func (c *MigrationHub) DeleteProgressUpdateStreamRequest(input *DeleteProgressUpdateStreamInput) (req *request.Request, output *DeleteProgressUpdateStreamOutput)
- func (c *MigrationHub) DeleteProgressUpdateStreamWithContext(ctx aws.Context, input *DeleteProgressUpdateStreamInput, ...) (*DeleteProgressUpdateStreamOutput, error)
- func (c *MigrationHub) DescribeApplicationState(input *DescribeApplicationStateInput) (*DescribeApplicationStateOutput, error)
- func (c *MigrationHub) DescribeApplicationStateRequest(input *DescribeApplicationStateInput) (req *request.Request, output *DescribeApplicationStateOutput)
- func (c *MigrationHub) DescribeApplicationStateWithContext(ctx aws.Context, input *DescribeApplicationStateInput, opts ...request.Option) (*DescribeApplicationStateOutput, error)
- func (c *MigrationHub) DescribeMigrationTask(input *DescribeMigrationTaskInput) (*DescribeMigrationTaskOutput, error)
- func (c *MigrationHub) DescribeMigrationTaskRequest(input *DescribeMigrationTaskInput) (req *request.Request, output *DescribeMigrationTaskOutput)
- func (c *MigrationHub) DescribeMigrationTaskWithContext(ctx aws.Context, input *DescribeMigrationTaskInput, opts ...request.Option) (*DescribeMigrationTaskOutput, error)
- func (c *MigrationHub) DisassociateCreatedArtifact(input *DisassociateCreatedArtifactInput) (*DisassociateCreatedArtifactOutput, error)
- func (c *MigrationHub) DisassociateCreatedArtifactRequest(input *DisassociateCreatedArtifactInput) (req *request.Request, output *DisassociateCreatedArtifactOutput)
- func (c *MigrationHub) DisassociateCreatedArtifactWithContext(ctx aws.Context, input *DisassociateCreatedArtifactInput, ...) (*DisassociateCreatedArtifactOutput, error)
- func (c *MigrationHub) DisassociateDiscoveredResource(input *DisassociateDiscoveredResourceInput) (*DisassociateDiscoveredResourceOutput, error)
- func (c *MigrationHub) DisassociateDiscoveredResourceRequest(input *DisassociateDiscoveredResourceInput) (req *request.Request, output *DisassociateDiscoveredResourceOutput)
- func (c *MigrationHub) DisassociateDiscoveredResourceWithContext(ctx aws.Context, input *DisassociateDiscoveredResourceInput, ...) (*DisassociateDiscoveredResourceOutput, error)
- func (c *MigrationHub) ImportMigrationTask(input *ImportMigrationTaskInput) (*ImportMigrationTaskOutput, error)
- func (c *MigrationHub) ImportMigrationTaskRequest(input *ImportMigrationTaskInput) (req *request.Request, output *ImportMigrationTaskOutput)
- func (c *MigrationHub) ImportMigrationTaskWithContext(ctx aws.Context, input *ImportMigrationTaskInput, opts ...request.Option) (*ImportMigrationTaskOutput, error)
- func (c *MigrationHub) ListApplicationStates(input *ListApplicationStatesInput) (*ListApplicationStatesOutput, error)
- func (c *MigrationHub) ListApplicationStatesPages(input *ListApplicationStatesInput, ...) error
- func (c *MigrationHub) ListApplicationStatesPagesWithContext(ctx aws.Context, input *ListApplicationStatesInput, ...) error
- func (c *MigrationHub) ListApplicationStatesRequest(input *ListApplicationStatesInput) (req *request.Request, output *ListApplicationStatesOutput)
- func (c *MigrationHub) ListApplicationStatesWithContext(ctx aws.Context, input *ListApplicationStatesInput, opts ...request.Option) (*ListApplicationStatesOutput, error)
- func (c *MigrationHub) ListCreatedArtifacts(input *ListCreatedArtifactsInput) (*ListCreatedArtifactsOutput, error)
- func (c *MigrationHub) ListCreatedArtifactsPages(input *ListCreatedArtifactsInput, ...) error
- func (c *MigrationHub) ListCreatedArtifactsPagesWithContext(ctx aws.Context, input *ListCreatedArtifactsInput, ...) error
- func (c *MigrationHub) ListCreatedArtifactsRequest(input *ListCreatedArtifactsInput) (req *request.Request, output *ListCreatedArtifactsOutput)
- func (c *MigrationHub) ListCreatedArtifactsWithContext(ctx aws.Context, input *ListCreatedArtifactsInput, opts ...request.Option) (*ListCreatedArtifactsOutput, error)
- func (c *MigrationHub) ListDiscoveredResources(input *ListDiscoveredResourcesInput) (*ListDiscoveredResourcesOutput, error)
- func (c *MigrationHub) ListDiscoveredResourcesPages(input *ListDiscoveredResourcesInput, ...) error
- func (c *MigrationHub) ListDiscoveredResourcesPagesWithContext(ctx aws.Context, input *ListDiscoveredResourcesInput, ...) error
- func (c *MigrationHub) ListDiscoveredResourcesRequest(input *ListDiscoveredResourcesInput) (req *request.Request, output *ListDiscoveredResourcesOutput)
- func (c *MigrationHub) ListDiscoveredResourcesWithContext(ctx aws.Context, input *ListDiscoveredResourcesInput, opts ...request.Option) (*ListDiscoveredResourcesOutput, error)
- func (c *MigrationHub) ListMigrationTasks(input *ListMigrationTasksInput) (*ListMigrationTasksOutput, error)
- func (c *MigrationHub) ListMigrationTasksPages(input *ListMigrationTasksInput, fn func(*ListMigrationTasksOutput, bool) bool) error
- func (c *MigrationHub) ListMigrationTasksPagesWithContext(ctx aws.Context, input *ListMigrationTasksInput, ...) error
- func (c *MigrationHub) ListMigrationTasksRequest(input *ListMigrationTasksInput) (req *request.Request, output *ListMigrationTasksOutput)
- func (c *MigrationHub) ListMigrationTasksWithContext(ctx aws.Context, input *ListMigrationTasksInput, opts ...request.Option) (*ListMigrationTasksOutput, error)
- func (c *MigrationHub) ListProgressUpdateStreams(input *ListProgressUpdateStreamsInput) (*ListProgressUpdateStreamsOutput, error)
- func (c *MigrationHub) ListProgressUpdateStreamsPages(input *ListProgressUpdateStreamsInput, ...) error
- func (c *MigrationHub) ListProgressUpdateStreamsPagesWithContext(ctx aws.Context, input *ListProgressUpdateStreamsInput, ...) error
- func (c *MigrationHub) ListProgressUpdateStreamsRequest(input *ListProgressUpdateStreamsInput) (req *request.Request, output *ListProgressUpdateStreamsOutput)
- func (c *MigrationHub) ListProgressUpdateStreamsWithContext(ctx aws.Context, input *ListProgressUpdateStreamsInput, opts ...request.Option) (*ListProgressUpdateStreamsOutput, error)
- func (c *MigrationHub) NotifyApplicationState(input *NotifyApplicationStateInput) (*NotifyApplicationStateOutput, error)
- func (c *MigrationHub) NotifyApplicationStateRequest(input *NotifyApplicationStateInput) (req *request.Request, output *NotifyApplicationStateOutput)
- func (c *MigrationHub) NotifyApplicationStateWithContext(ctx aws.Context, input *NotifyApplicationStateInput, opts ...request.Option) (*NotifyApplicationStateOutput, error)
- func (c *MigrationHub) NotifyMigrationTaskState(input *NotifyMigrationTaskStateInput) (*NotifyMigrationTaskStateOutput, error)
- func (c *MigrationHub) NotifyMigrationTaskStateRequest(input *NotifyMigrationTaskStateInput) (req *request.Request, output *NotifyMigrationTaskStateOutput)
- func (c *MigrationHub) NotifyMigrationTaskStateWithContext(ctx aws.Context, input *NotifyMigrationTaskStateInput, opts ...request.Option) (*NotifyMigrationTaskStateOutput, error)
- func (c *MigrationHub) PutResourceAttributes(input *PutResourceAttributesInput) (*PutResourceAttributesOutput, error)
- func (c *MigrationHub) PutResourceAttributesRequest(input *PutResourceAttributesInput) (req *request.Request, output *PutResourceAttributesOutput)
- func (c *MigrationHub) PutResourceAttributesWithContext(ctx aws.Context, input *PutResourceAttributesInput, opts ...request.Option) (*PutResourceAttributesOutput, error)
- type MigrationTask
- func (s MigrationTask) GoString() string
- func (s *MigrationTask) SetMigrationTaskName(v string) *MigrationTask
- func (s *MigrationTask) SetProgressUpdateStream(v string) *MigrationTask
- func (s *MigrationTask) SetResourceAttributeList(v []*ResourceAttribute) *MigrationTask
- func (s *MigrationTask) SetTask(v *Task) *MigrationTask
- func (s *MigrationTask) SetUpdateDateTime(v time.Time) *MigrationTask
- func (s MigrationTask) String() string
- type MigrationTaskSummary
- func (s MigrationTaskSummary) GoString() string
- func (s *MigrationTaskSummary) SetMigrationTaskName(v string) *MigrationTaskSummary
- func (s *MigrationTaskSummary) SetProgressPercent(v int64) *MigrationTaskSummary
- func (s *MigrationTaskSummary) SetProgressUpdateStream(v string) *MigrationTaskSummary
- func (s *MigrationTaskSummary) SetStatus(v string) *MigrationTaskSummary
- func (s *MigrationTaskSummary) SetStatusDetail(v string) *MigrationTaskSummary
- func (s *MigrationTaskSummary) SetUpdateDateTime(v time.Time) *MigrationTaskSummary
- func (s MigrationTaskSummary) String() string
- type NotifyApplicationStateInput
- func (s NotifyApplicationStateInput) GoString() string
- func (s *NotifyApplicationStateInput) SetApplicationId(v string) *NotifyApplicationStateInput
- func (s *NotifyApplicationStateInput) SetDryRun(v bool) *NotifyApplicationStateInput
- func (s *NotifyApplicationStateInput) SetStatus(v string) *NotifyApplicationStateInput
- func (s *NotifyApplicationStateInput) SetUpdateDateTime(v time.Time) *NotifyApplicationStateInput
- func (s NotifyApplicationStateInput) String() string
- func (s *NotifyApplicationStateInput) Validate() error
- type NotifyApplicationStateOutput
- type NotifyMigrationTaskStateInput
- func (s NotifyMigrationTaskStateInput) GoString() string
- func (s *NotifyMigrationTaskStateInput) SetDryRun(v bool) *NotifyMigrationTaskStateInput
- func (s *NotifyMigrationTaskStateInput) SetMigrationTaskName(v string) *NotifyMigrationTaskStateInput
- func (s *NotifyMigrationTaskStateInput) SetNextUpdateSeconds(v int64) *NotifyMigrationTaskStateInput
- func (s *NotifyMigrationTaskStateInput) SetProgressUpdateStream(v string) *NotifyMigrationTaskStateInput
- func (s *NotifyMigrationTaskStateInput) SetTask(v *Task) *NotifyMigrationTaskStateInput
- func (s *NotifyMigrationTaskStateInput) SetUpdateDateTime(v time.Time) *NotifyMigrationTaskStateInput
- func (s NotifyMigrationTaskStateInput) String() string
- func (s *NotifyMigrationTaskStateInput) Validate() error
- type NotifyMigrationTaskStateOutput
- type PolicyErrorException
- func (s *PolicyErrorException) Code() string
- func (s *PolicyErrorException) Error() string
- func (s PolicyErrorException) GoString() string
- func (s *PolicyErrorException) Message() string
- func (s *PolicyErrorException) OrigErr() error
- func (s *PolicyErrorException) RequestID() string
- func (s *PolicyErrorException) StatusCode() int
- func (s PolicyErrorException) String() string
- type ProgressUpdateStreamSummary
- type PutResourceAttributesInput
- func (s PutResourceAttributesInput) GoString() string
- func (s *PutResourceAttributesInput) SetDryRun(v bool) *PutResourceAttributesInput
- func (s *PutResourceAttributesInput) SetMigrationTaskName(v string) *PutResourceAttributesInput
- func (s *PutResourceAttributesInput) SetProgressUpdateStream(v string) *PutResourceAttributesInput
- func (s *PutResourceAttributesInput) SetResourceAttributeList(v []*ResourceAttribute) *PutResourceAttributesInput
- func (s PutResourceAttributesInput) String() string
- func (s *PutResourceAttributesInput) Validate() error
- type PutResourceAttributesOutput
- type ResourceAttribute
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type ServiceUnavailableException
- func (s *ServiceUnavailableException) Code() string
- func (s *ServiceUnavailableException) Error() string
- func (s ServiceUnavailableException) GoString() string
- func (s *ServiceUnavailableException) Message() string
- func (s *ServiceUnavailableException) OrigErr() error
- func (s *ServiceUnavailableException) RequestID() string
- func (s *ServiceUnavailableException) StatusCode() int
- func (s ServiceUnavailableException) String() string
- type Task
- type ThrottlingException
- func (s *ThrottlingException) Code() string
- func (s *ThrottlingException) Error() string
- func (s ThrottlingException) GoString() string
- func (s *ThrottlingException) Message() string
- func (s *ThrottlingException) OrigErr() error
- func (s *ThrottlingException) RequestID() string
- func (s *ThrottlingException) StatusCode() int
- func (s ThrottlingException) String() string
- type UnauthorizedOperation
- func (s *UnauthorizedOperation) Code() string
- func (s *UnauthorizedOperation) Error() string
- func (s UnauthorizedOperation) GoString() string
- func (s *UnauthorizedOperation) Message() string
- func (s *UnauthorizedOperation) OrigErr() error
- func (s *UnauthorizedOperation) RequestID() string
- func (s *UnauthorizedOperation) StatusCode() int
- func (s UnauthorizedOperation) String() string
Constants ¶
const ( // ApplicationStatusNotStarted is a ApplicationStatus enum value ApplicationStatusNotStarted = "NOT_STARTED" // ApplicationStatusInProgress is a ApplicationStatus enum value ApplicationStatusInProgress = "IN_PROGRESS" // ApplicationStatusCompleted is a ApplicationStatus enum value ApplicationStatusCompleted = "COMPLETED" )
const ( // ResourceAttributeTypeIpv4Address is a ResourceAttributeType enum value ResourceAttributeTypeIpv4Address = "IPV4_ADDRESS" // ResourceAttributeTypeIpv6Address is a ResourceAttributeType enum value ResourceAttributeTypeIpv6Address = "IPV6_ADDRESS" // ResourceAttributeTypeMacAddress is a ResourceAttributeType enum value ResourceAttributeTypeMacAddress = "MAC_ADDRESS" // ResourceAttributeTypeFqdn is a ResourceAttributeType enum value ResourceAttributeTypeFqdn = "FQDN" // ResourceAttributeTypeVmManagerId is a ResourceAttributeType enum value ResourceAttributeTypeVmManagerId = "VM_MANAGER_ID" // ResourceAttributeTypeVmManagedObjectReference is a ResourceAttributeType enum value ResourceAttributeTypeVmManagedObjectReference = "VM_MANAGED_OBJECT_REFERENCE" // ResourceAttributeTypeVmName is a ResourceAttributeType enum value ResourceAttributeTypeVmName = "VM_NAME" // ResourceAttributeTypeVmPath is a ResourceAttributeType enum value ResourceAttributeTypeVmPath = "VM_PATH" // ResourceAttributeTypeBiosId is a ResourceAttributeType enum value ResourceAttributeTypeBiosId = "BIOS_ID" // ResourceAttributeTypeMotherboardSerialNumber is a ResourceAttributeType enum value ResourceAttributeTypeMotherboardSerialNumber = "MOTHERBOARD_SERIAL_NUMBER" )
const ( // StatusNotStarted is a Status enum value StatusNotStarted = "NOT_STARTED" // StatusInProgress is a Status enum value StatusInProgress = "IN_PROGRESS" // StatusFailed is a Status enum value StatusFailed = "FAILED" // StatusCompleted is a Status enum value StatusCompleted = "COMPLETED" )
const ( // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". // // You do not have sufficient access to perform this action. ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCodeDryRunOperation for service response error code // "DryRunOperation". // // Exception raised to indicate a successfully authorized action when the DryRun // flag is set to "true". ErrCodeDryRunOperation = "DryRunOperation" // ErrCodeHomeRegionNotSetException for service response error code // "HomeRegionNotSetException". // // The home region is not set. Set the home region to continue. ErrCodeHomeRegionNotSetException = "HomeRegionNotSetException" // ErrCodeInternalServerError for service response error code // "InternalServerError". // // Exception raised when an internal, configuration, or dependency error is // encountered. ErrCodeInternalServerError = "InternalServerError" // ErrCodeInvalidInputException for service response error code // "InvalidInputException". // // Exception raised when the provided input violates a policy constraint or // is entered in the wrong format or data type. ErrCodeInvalidInputException = "InvalidInputException" // ErrCodePolicyErrorException for service response error code // "PolicyErrorException". // // Exception raised when there are problems accessing Application Discovery // Service (Application Discovery Service); most likely due to a misconfigured // policy or the migrationhub-discovery role is missing or not configured correctly. ErrCodePolicyErrorException = "PolicyErrorException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // Exception raised when the request references a resource (Application Discovery // Service configuration, update stream, migration task, etc.) that does not // exist in Application Discovery Service (Application Discovery Service) or // in Migration Hub's repository. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // "ServiceUnavailableException". // // Exception raised when there is an internal, configuration, or dependency // error encountered. ErrCodeServiceUnavailableException = "ServiceUnavailableException" // ErrCodeThrottlingException for service response error code // "ThrottlingException". // // The request was denied due to request throttling. ErrCodeThrottlingException = "ThrottlingException" // "UnauthorizedOperation". // // Exception raised to indicate a request was not authorized when the DryRun // flag is set to "true". ErrCodeUnauthorizedOperation = "UnauthorizedOperation" )
const ( ServiceName = "mgh" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "Migration Hub" // ServiceID is a unique identifier of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
func ApplicationStatus_Values ¶
func ApplicationStatus_Values() []string
ApplicationStatus_Values returns all elements of the ApplicationStatus enum
func ResourceAttributeType_Values ¶
func ResourceAttributeType_Values() []string
ResourceAttributeType_Values returns all elements of the ResourceAttributeType enum
func Status_Values ¶
func Status_Values() []string
Status_Values returns all elements of the Status enum
Types ¶
type AccessDeniedException ¶
type AccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
You do not have sufficient access to perform this action.
func (*AccessDeniedException) Code ¶
func (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (*AccessDeniedException) Error ¶
func (s *AccessDeniedException) Error() string
func (AccessDeniedException) GoString ¶
func (s AccessDeniedException) 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 (*AccessDeniedException) Message ¶
func (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (*AccessDeniedException) OrigErr ¶
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AccessDeniedException) RequestID ¶
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AccessDeniedException) StatusCode ¶
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AccessDeniedException) String ¶
func (s AccessDeniedException) 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 ApplicationState ¶
type ApplicationState struct { // The configurationId from the Application Discovery Service that uniquely // identifies an application. ApplicationId *string `min:"1" type:"string"` // The current status of an application. ApplicationStatus *string `type:"string" enum:"ApplicationStatus"` // The timestamp when the application status was last updated. LastUpdatedTime *time.Time `type:"timestamp"` // contains filtered or unexported fields }
The state of an application discovered through Migration Hub import, the AWS Agentless Discovery Connector, or the AWS Application Discovery Agent.
func (ApplicationState) GoString ¶
func (s ApplicationState) 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 (*ApplicationState) SetApplicationId ¶
func (s *ApplicationState) SetApplicationId(v string) *ApplicationState
SetApplicationId sets the ApplicationId field's value.
func (*ApplicationState) SetApplicationStatus ¶
func (s *ApplicationState) SetApplicationStatus(v string) *ApplicationState
SetApplicationStatus sets the ApplicationStatus field's value.
func (*ApplicationState) SetLastUpdatedTime ¶
func (s *ApplicationState) SetLastUpdatedTime(v time.Time) *ApplicationState
SetLastUpdatedTime sets the LastUpdatedTime field's value.
func (ApplicationState) String ¶
func (s ApplicationState) 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 AssociateCreatedArtifactInput ¶
type AssociateCreatedArtifactInput struct { // An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, // RDS instance, etc.) // // CreatedArtifact is a required field CreatedArtifact *CreatedArtifact `type:"structure" required:"true"` // Optional boolean flag to indicate whether any effect should take place. Used // to test if the caller has permission to make the call. DryRun *bool `type:"boolean"` // Unique identifier that references the migration task. Do not store personal // data in this field. // // MigrationTaskName is a required field MigrationTaskName *string `min:"1" type:"string" required:"true"` // The name of the ProgressUpdateStream. // // ProgressUpdateStream is a required field ProgressUpdateStream *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (AssociateCreatedArtifactInput) GoString ¶
func (s AssociateCreatedArtifactInput) 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 (*AssociateCreatedArtifactInput) SetCreatedArtifact ¶
func (s *AssociateCreatedArtifactInput) SetCreatedArtifact(v *CreatedArtifact) *AssociateCreatedArtifactInput
SetCreatedArtifact sets the CreatedArtifact field's value.
func (*AssociateCreatedArtifactInput) SetDryRun ¶
func (s *AssociateCreatedArtifactInput) SetDryRun(v bool) *AssociateCreatedArtifactInput
SetDryRun sets the DryRun field's value.
func (*AssociateCreatedArtifactInput) SetMigrationTaskName ¶
func (s *AssociateCreatedArtifactInput) SetMigrationTaskName(v string) *AssociateCreatedArtifactInput
SetMigrationTaskName sets the MigrationTaskName field's value.
func (*AssociateCreatedArtifactInput) SetProgressUpdateStream ¶
func (s *AssociateCreatedArtifactInput) SetProgressUpdateStream(v string) *AssociateCreatedArtifactInput
SetProgressUpdateStream sets the ProgressUpdateStream field's value.
func (AssociateCreatedArtifactInput) String ¶
func (s AssociateCreatedArtifactInput) 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 (*AssociateCreatedArtifactInput) Validate ¶
func (s *AssociateCreatedArtifactInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateCreatedArtifactOutput ¶
type AssociateCreatedArtifactOutput struct {
// contains filtered or unexported fields
}
func (AssociateCreatedArtifactOutput) GoString ¶
func (s AssociateCreatedArtifactOutput) 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 (AssociateCreatedArtifactOutput) String ¶
func (s AssociateCreatedArtifactOutput) 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 AssociateDiscoveredResourceInput ¶
type AssociateDiscoveredResourceInput struct { // Object representing a Resource. // // DiscoveredResource is a required field DiscoveredResource *DiscoveredResource `type:"structure" required:"true"` // Optional boolean flag to indicate whether any effect should take place. Used // to test if the caller has permission to make the call. DryRun *bool `type:"boolean"` // The identifier given to the MigrationTask. Do not store personal data in // this field. // // MigrationTaskName is a required field MigrationTaskName *string `min:"1" type:"string" required:"true"` // The name of the ProgressUpdateStream. // // ProgressUpdateStream is a required field ProgressUpdateStream *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (AssociateDiscoveredResourceInput) GoString ¶
func (s AssociateDiscoveredResourceInput) 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 (*AssociateDiscoveredResourceInput) SetDiscoveredResource ¶
func (s *AssociateDiscoveredResourceInput) SetDiscoveredResource(v *DiscoveredResource) *AssociateDiscoveredResourceInput
SetDiscoveredResource sets the DiscoveredResource field's value.
func (*AssociateDiscoveredResourceInput) SetDryRun ¶
func (s *AssociateDiscoveredResourceInput) SetDryRun(v bool) *AssociateDiscoveredResourceInput
SetDryRun sets the DryRun field's value.
func (*AssociateDiscoveredResourceInput) SetMigrationTaskName ¶
func (s *AssociateDiscoveredResourceInput) SetMigrationTaskName(v string) *AssociateDiscoveredResourceInput
SetMigrationTaskName sets the MigrationTaskName field's value.
func (*AssociateDiscoveredResourceInput) SetProgressUpdateStream ¶
func (s *AssociateDiscoveredResourceInput) SetProgressUpdateStream(v string) *AssociateDiscoveredResourceInput
SetProgressUpdateStream sets the ProgressUpdateStream field's value.
func (AssociateDiscoveredResourceInput) String ¶
func (s AssociateDiscoveredResourceInput) 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 (*AssociateDiscoveredResourceInput) Validate ¶
func (s *AssociateDiscoveredResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateDiscoveredResourceOutput ¶
type AssociateDiscoveredResourceOutput struct {
// contains filtered or unexported fields
}
func (AssociateDiscoveredResourceOutput) GoString ¶
func (s AssociateDiscoveredResourceOutput) 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 (AssociateDiscoveredResourceOutput) String ¶
func (s AssociateDiscoveredResourceOutput) 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 CreateProgressUpdateStreamInput ¶
type CreateProgressUpdateStreamInput struct { // Optional boolean flag to indicate whether any effect should take place. Used // to test if the caller has permission to make the call. DryRun *bool `type:"boolean"` // The name of the ProgressUpdateStream. Do not store personal data in this // field. // // ProgressUpdateStreamName is a required field ProgressUpdateStreamName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateProgressUpdateStreamInput) GoString ¶
func (s CreateProgressUpdateStreamInput) 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 (*CreateProgressUpdateStreamInput) SetDryRun ¶
func (s *CreateProgressUpdateStreamInput) SetDryRun(v bool) *CreateProgressUpdateStreamInput
SetDryRun sets the DryRun field's value.
func (*CreateProgressUpdateStreamInput) SetProgressUpdateStreamName ¶
func (s *CreateProgressUpdateStreamInput) SetProgressUpdateStreamName(v string) *CreateProgressUpdateStreamInput
SetProgressUpdateStreamName sets the ProgressUpdateStreamName field's value.
func (CreateProgressUpdateStreamInput) String ¶
func (s CreateProgressUpdateStreamInput) 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 (*CreateProgressUpdateStreamInput) Validate ¶
func (s *CreateProgressUpdateStreamInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateProgressUpdateStreamOutput ¶
type CreateProgressUpdateStreamOutput struct {
// contains filtered or unexported fields
}
func (CreateProgressUpdateStreamOutput) GoString ¶
func (s CreateProgressUpdateStreamOutput) 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 (CreateProgressUpdateStreamOutput) String ¶
func (s CreateProgressUpdateStreamOutput) 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 CreatedArtifact ¶
type CreatedArtifact struct { // A description that can be free-form text to record additional detail about // the artifact for clarity or for later reference. Description *string `type:"string"` // An ARN that uniquely identifies the result of a migration task. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
An ARN of the AWS cloud resource target receiving the migration (e.g., AMI, EC2 instance, RDS instance, etc.).
func (CreatedArtifact) GoString ¶
func (s CreatedArtifact) 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 (*CreatedArtifact) SetDescription ¶
func (s *CreatedArtifact) SetDescription(v string) *CreatedArtifact
SetDescription sets the Description field's value.
func (*CreatedArtifact) SetName ¶
func (s *CreatedArtifact) SetName(v string) *CreatedArtifact
SetName sets the Name field's value.
func (CreatedArtifact) String ¶
func (s CreatedArtifact) 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 (*CreatedArtifact) Validate ¶
func (s *CreatedArtifact) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteProgressUpdateStreamInput ¶
type DeleteProgressUpdateStreamInput struct { // Optional boolean flag to indicate whether any effect should take place. Used // to test if the caller has permission to make the call. DryRun *bool `type:"boolean"` // The name of the ProgressUpdateStream. Do not store personal data in this // field. // // ProgressUpdateStreamName is a required field ProgressUpdateStreamName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteProgressUpdateStreamInput) GoString ¶
func (s DeleteProgressUpdateStreamInput) 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 (*DeleteProgressUpdateStreamInput) SetDryRun ¶
func (s *DeleteProgressUpdateStreamInput) SetDryRun(v bool) *DeleteProgressUpdateStreamInput
SetDryRun sets the DryRun field's value.
func (*DeleteProgressUpdateStreamInput) SetProgressUpdateStreamName ¶
func (s *DeleteProgressUpdateStreamInput) SetProgressUpdateStreamName(v string) *DeleteProgressUpdateStreamInput
SetProgressUpdateStreamName sets the ProgressUpdateStreamName field's value.
func (DeleteProgressUpdateStreamInput) String ¶
func (s DeleteProgressUpdateStreamInput) 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 (*DeleteProgressUpdateStreamInput) Validate ¶
func (s *DeleteProgressUpdateStreamInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteProgressUpdateStreamOutput ¶
type DeleteProgressUpdateStreamOutput struct {
// contains filtered or unexported fields
}
func (DeleteProgressUpdateStreamOutput) GoString ¶
func (s DeleteProgressUpdateStreamOutput) 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 (DeleteProgressUpdateStreamOutput) String ¶
func (s DeleteProgressUpdateStreamOutput) 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 DescribeApplicationStateInput ¶
type DescribeApplicationStateInput struct { // The configurationId in Application Discovery Service that uniquely identifies // the grouped application. // // ApplicationId is a required field ApplicationId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeApplicationStateInput) GoString ¶
func (s DescribeApplicationStateInput) 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 (*DescribeApplicationStateInput) SetApplicationId ¶
func (s *DescribeApplicationStateInput) SetApplicationId(v string) *DescribeApplicationStateInput
SetApplicationId sets the ApplicationId field's value.
func (DescribeApplicationStateInput) String ¶
func (s DescribeApplicationStateInput) 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 (*DescribeApplicationStateInput) Validate ¶
func (s *DescribeApplicationStateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeApplicationStateOutput ¶
type DescribeApplicationStateOutput struct { // Status of the application - Not Started, In-Progress, Complete. ApplicationStatus *string `type:"string" enum:"ApplicationStatus"` // The timestamp when the application status was last updated. LastUpdatedTime *time.Time `type:"timestamp"` // contains filtered or unexported fields }
func (DescribeApplicationStateOutput) GoString ¶
func (s DescribeApplicationStateOutput) 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 (*DescribeApplicationStateOutput) SetApplicationStatus ¶
func (s *DescribeApplicationStateOutput) SetApplicationStatus(v string) *DescribeApplicationStateOutput
SetApplicationStatus sets the ApplicationStatus field's value.
func (*DescribeApplicationStateOutput) SetLastUpdatedTime ¶
func (s *DescribeApplicationStateOutput) SetLastUpdatedTime(v time.Time) *DescribeApplicationStateOutput
SetLastUpdatedTime sets the LastUpdatedTime field's value.
func (DescribeApplicationStateOutput) String ¶
func (s DescribeApplicationStateOutput) 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 DescribeMigrationTaskInput ¶
type DescribeMigrationTaskInput struct { // The identifier given to the MigrationTask. Do not store personal data in // this field. // // MigrationTaskName is a required field MigrationTaskName *string `min:"1" type:"string" required:"true"` // The name of the ProgressUpdateStream. // // ProgressUpdateStream is a required field ProgressUpdateStream *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeMigrationTaskInput) GoString ¶
func (s DescribeMigrationTaskInput) 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 (*DescribeMigrationTaskInput) SetMigrationTaskName ¶
func (s *DescribeMigrationTaskInput) SetMigrationTaskName(v string) *DescribeMigrationTaskInput
SetMigrationTaskName sets the MigrationTaskName field's value.
func (*DescribeMigrationTaskInput) SetProgressUpdateStream ¶
func (s *DescribeMigrationTaskInput) SetProgressUpdateStream(v string) *DescribeMigrationTaskInput
SetProgressUpdateStream sets the ProgressUpdateStream field's value.
func (DescribeMigrationTaskInput) String ¶
func (s DescribeMigrationTaskInput) 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 (*DescribeMigrationTaskInput) Validate ¶
func (s *DescribeMigrationTaskInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeMigrationTaskOutput ¶
type DescribeMigrationTaskOutput struct { // Object encapsulating information about the migration task. MigrationTask *MigrationTask `type:"structure"` // contains filtered or unexported fields }
func (DescribeMigrationTaskOutput) GoString ¶
func (s DescribeMigrationTaskOutput) 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 (*DescribeMigrationTaskOutput) SetMigrationTask ¶
func (s *DescribeMigrationTaskOutput) SetMigrationTask(v *MigrationTask) *DescribeMigrationTaskOutput
SetMigrationTask sets the MigrationTask field's value.
func (DescribeMigrationTaskOutput) String ¶
func (s DescribeMigrationTaskOutput) 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 DisassociateCreatedArtifactInput ¶
type DisassociateCreatedArtifactInput struct { // An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, // RDS instance, etc.) // // CreatedArtifactName is a required field CreatedArtifactName *string `min:"1" type:"string" required:"true"` // Optional boolean flag to indicate whether any effect should take place. Used // to test if the caller has permission to make the call. DryRun *bool `type:"boolean"` // Unique identifier that references the migration task to be disassociated // with the artifact. Do not store personal data in this field. // // MigrationTaskName is a required field MigrationTaskName *string `min:"1" type:"string" required:"true"` // The name of the ProgressUpdateStream. // // ProgressUpdateStream is a required field ProgressUpdateStream *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DisassociateCreatedArtifactInput) GoString ¶
func (s DisassociateCreatedArtifactInput) 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 (*DisassociateCreatedArtifactInput) SetCreatedArtifactName ¶
func (s *DisassociateCreatedArtifactInput) SetCreatedArtifactName(v string) *DisassociateCreatedArtifactInput
SetCreatedArtifactName sets the CreatedArtifactName field's value.
func (*DisassociateCreatedArtifactInput) SetDryRun ¶
func (s *DisassociateCreatedArtifactInput) SetDryRun(v bool) *DisassociateCreatedArtifactInput
SetDryRun sets the DryRun field's value.
func (*DisassociateCreatedArtifactInput) SetMigrationTaskName ¶
func (s *DisassociateCreatedArtifactInput) SetMigrationTaskName(v string) *DisassociateCreatedArtifactInput
SetMigrationTaskName sets the MigrationTaskName field's value.
func (*DisassociateCreatedArtifactInput) SetProgressUpdateStream ¶
func (s *DisassociateCreatedArtifactInput) SetProgressUpdateStream(v string) *DisassociateCreatedArtifactInput
SetProgressUpdateStream sets the ProgressUpdateStream field's value.
func (DisassociateCreatedArtifactInput) String ¶
func (s DisassociateCreatedArtifactInput) 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 (*DisassociateCreatedArtifactInput) Validate ¶
func (s *DisassociateCreatedArtifactInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateCreatedArtifactOutput ¶
type DisassociateCreatedArtifactOutput struct {
// contains filtered or unexported fields
}
func (DisassociateCreatedArtifactOutput) GoString ¶
func (s DisassociateCreatedArtifactOutput) 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 (DisassociateCreatedArtifactOutput) String ¶
func (s DisassociateCreatedArtifactOutput) 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 DisassociateDiscoveredResourceInput ¶
type DisassociateDiscoveredResourceInput struct { // ConfigurationId of the Application Discovery Service resource to be disassociated. // // ConfigurationId is a required field ConfigurationId *string `min:"1" type:"string" required:"true"` // Optional boolean flag to indicate whether any effect should take place. Used // to test if the caller has permission to make the call. DryRun *bool `type:"boolean"` // The identifier given to the MigrationTask. Do not store personal data in // this field. // // MigrationTaskName is a required field MigrationTaskName *string `min:"1" type:"string" required:"true"` // The name of the ProgressUpdateStream. // // ProgressUpdateStream is a required field ProgressUpdateStream *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DisassociateDiscoveredResourceInput) GoString ¶
func (s DisassociateDiscoveredResourceInput) 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 (*DisassociateDiscoveredResourceInput) SetConfigurationId ¶
func (s *DisassociateDiscoveredResourceInput) SetConfigurationId(v string) *DisassociateDiscoveredResourceInput
SetConfigurationId sets the ConfigurationId field's value.
func (*DisassociateDiscoveredResourceInput) SetDryRun ¶
func (s *DisassociateDiscoveredResourceInput) SetDryRun(v bool) *DisassociateDiscoveredResourceInput
SetDryRun sets the DryRun field's value.
func (*DisassociateDiscoveredResourceInput) SetMigrationTaskName ¶
func (s *DisassociateDiscoveredResourceInput) SetMigrationTaskName(v string) *DisassociateDiscoveredResourceInput
SetMigrationTaskName sets the MigrationTaskName field's value.
func (*DisassociateDiscoveredResourceInput) SetProgressUpdateStream ¶
func (s *DisassociateDiscoveredResourceInput) SetProgressUpdateStream(v string) *DisassociateDiscoveredResourceInput
SetProgressUpdateStream sets the ProgressUpdateStream field's value.
func (DisassociateDiscoveredResourceInput) String ¶
func (s DisassociateDiscoveredResourceInput) 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 (*DisassociateDiscoveredResourceInput) Validate ¶
func (s *DisassociateDiscoveredResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateDiscoveredResourceOutput ¶
type DisassociateDiscoveredResourceOutput struct {
// contains filtered or unexported fields
}
func (DisassociateDiscoveredResourceOutput) GoString ¶
func (s DisassociateDiscoveredResourceOutput) 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 (DisassociateDiscoveredResourceOutput) String ¶
func (s DisassociateDiscoveredResourceOutput) 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 DiscoveredResource ¶
type DiscoveredResource struct { // The configurationId in Application Discovery Service that uniquely identifies // the on-premise resource. // // ConfigurationId is a required field ConfigurationId *string `min:"1" type:"string" required:"true"` // A description that can be free-form text to record additional detail about // the discovered resource for clarity or later reference. Description *string `type:"string"` // contains filtered or unexported fields }
Object representing the on-premises resource being migrated.
func (DiscoveredResource) GoString ¶
func (s DiscoveredResource) 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 (*DiscoveredResource) SetConfigurationId ¶
func (s *DiscoveredResource) SetConfigurationId(v string) *DiscoveredResource
SetConfigurationId sets the ConfigurationId field's value.
func (*DiscoveredResource) SetDescription ¶
func (s *DiscoveredResource) SetDescription(v string) *DiscoveredResource
SetDescription sets the Description field's value.
func (DiscoveredResource) String ¶
func (s DiscoveredResource) 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 (*DiscoveredResource) Validate ¶
func (s *DiscoveredResource) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DryRunOperation ¶
type DryRunOperation struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
Exception raised to indicate a successfully authorized action when the DryRun flag is set to "true".
func (*DryRunOperation) Code ¶
func (s *DryRunOperation) Code() string
Code returns the exception type name.
func (*DryRunOperation) Error ¶
func (s *DryRunOperation) Error() string
func (DryRunOperation) GoString ¶
func (s DryRunOperation) 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 (*DryRunOperation) Message ¶
func (s *DryRunOperation) Message() string
Message returns the exception's message.
func (*DryRunOperation) OrigErr ¶
func (s *DryRunOperation) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*DryRunOperation) RequestID ¶
func (s *DryRunOperation) RequestID() string
RequestID returns the service's response RequestID for request.
func (*DryRunOperation) StatusCode ¶
func (s *DryRunOperation) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (DryRunOperation) String ¶
func (s DryRunOperation) 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 HomeRegionNotSetException ¶
type HomeRegionNotSetException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The home region is not set. Set the home region to continue.
func (*HomeRegionNotSetException) Code ¶
func (s *HomeRegionNotSetException) Code() string
Code returns the exception type name.
func (*HomeRegionNotSetException) Error ¶
func (s *HomeRegionNotSetException) Error() string
func (HomeRegionNotSetException) GoString ¶
func (s HomeRegionNotSetException) 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 (*HomeRegionNotSetException) Message ¶
func (s *HomeRegionNotSetException) Message() string
Message returns the exception's message.
func (*HomeRegionNotSetException) OrigErr ¶
func (s *HomeRegionNotSetException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*HomeRegionNotSetException) RequestID ¶
func (s *HomeRegionNotSetException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*HomeRegionNotSetException) StatusCode ¶
func (s *HomeRegionNotSetException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (HomeRegionNotSetException) String ¶
func (s HomeRegionNotSetException) 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 ImportMigrationTaskInput ¶
type ImportMigrationTaskInput struct { // Optional boolean flag to indicate whether any effect should take place. Used // to test if the caller has permission to make the call. DryRun *bool `type:"boolean"` // Unique identifier that references the migration task. Do not store personal // data in this field. // // MigrationTaskName is a required field MigrationTaskName *string `min:"1" type:"string" required:"true"` // The name of the ProgressUpdateStream. > // // ProgressUpdateStream is a required field ProgressUpdateStream *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ImportMigrationTaskInput) GoString ¶
func (s ImportMigrationTaskInput) 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 (*ImportMigrationTaskInput) SetDryRun ¶
func (s *ImportMigrationTaskInput) SetDryRun(v bool) *ImportMigrationTaskInput
SetDryRun sets the DryRun field's value.
func (*ImportMigrationTaskInput) SetMigrationTaskName ¶
func (s *ImportMigrationTaskInput) SetMigrationTaskName(v string) *ImportMigrationTaskInput
SetMigrationTaskName sets the MigrationTaskName field's value.
func (*ImportMigrationTaskInput) SetProgressUpdateStream ¶
func (s *ImportMigrationTaskInput) SetProgressUpdateStream(v string) *ImportMigrationTaskInput
SetProgressUpdateStream sets the ProgressUpdateStream field's value.
func (ImportMigrationTaskInput) String ¶
func (s ImportMigrationTaskInput) 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 (*ImportMigrationTaskInput) Validate ¶
func (s *ImportMigrationTaskInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ImportMigrationTaskOutput ¶
type ImportMigrationTaskOutput struct {
// contains filtered or unexported fields
}
func (ImportMigrationTaskOutput) GoString ¶
func (s ImportMigrationTaskOutput) 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 (ImportMigrationTaskOutput) String ¶
func (s ImportMigrationTaskOutput) 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 InternalServerError ¶
type InternalServerError struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
Exception raised when an internal, configuration, or dependency error is encountered.
func (*InternalServerError) Code ¶
func (s *InternalServerError) Code() string
Code returns the exception type name.
func (*InternalServerError) Error ¶
func (s *InternalServerError) Error() string
func (InternalServerError) GoString ¶
func (s InternalServerError) 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 (*InternalServerError) Message ¶
func (s *InternalServerError) Message() string
Message returns the exception's message.
func (*InternalServerError) OrigErr ¶
func (s *InternalServerError) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InternalServerError) RequestID ¶
func (s *InternalServerError) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InternalServerError) StatusCode ¶
func (s *InternalServerError) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InternalServerError) String ¶
func (s InternalServerError) 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 InvalidInputException ¶
type InvalidInputException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
func (*InvalidInputException) Code ¶
func (s *InvalidInputException) Code() string
Code returns the exception type name.
func (*InvalidInputException) Error ¶
func (s *InvalidInputException) Error() string
func (InvalidInputException) GoString ¶
func (s InvalidInputException) 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 (*InvalidInputException) Message ¶
func (s *InvalidInputException) Message() string
Message returns the exception's message.
func (*InvalidInputException) OrigErr ¶
func (s *InvalidInputException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidInputException) RequestID ¶
func (s *InvalidInputException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidInputException) StatusCode ¶
func (s *InvalidInputException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidInputException) String ¶
func (s InvalidInputException) 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 ListApplicationStatesInput ¶
type ListApplicationStatesInput struct { // The configurationIds from the Application Discovery Service that uniquely // identifies your applications. ApplicationIds []*string `min:"1" type:"list"` // Maximum number of results to be returned per page. MaxResults *int64 `min:"1" type:"integer"` // If a NextToken was returned by a previous call, there are more results available. // To retrieve the next page of results, make the call again using the returned // token in NextToken. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListApplicationStatesInput) GoString ¶
func (s ListApplicationStatesInput) 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 (*ListApplicationStatesInput) SetApplicationIds ¶
func (s *ListApplicationStatesInput) SetApplicationIds(v []*string) *ListApplicationStatesInput
SetApplicationIds sets the ApplicationIds field's value.
func (*ListApplicationStatesInput) SetMaxResults ¶
func (s *ListApplicationStatesInput) SetMaxResults(v int64) *ListApplicationStatesInput
SetMaxResults sets the MaxResults field's value.
func (*ListApplicationStatesInput) SetNextToken ¶
func (s *ListApplicationStatesInput) SetNextToken(v string) *ListApplicationStatesInput
SetNextToken sets the NextToken field's value.
func (ListApplicationStatesInput) String ¶
func (s ListApplicationStatesInput) 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 (*ListApplicationStatesInput) Validate ¶
func (s *ListApplicationStatesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListApplicationStatesOutput ¶
type ListApplicationStatesOutput struct { // A list of Applications that exist in Application Discovery Service. ApplicationStateList []*ApplicationState `type:"list"` // If a NextToken was returned by a previous call, there are more results available. // To retrieve the next page of results, make the call again using the returned // token in NextToken. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListApplicationStatesOutput) GoString ¶
func (s ListApplicationStatesOutput) 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 (*ListApplicationStatesOutput) SetApplicationStateList ¶
func (s *ListApplicationStatesOutput) SetApplicationStateList(v []*ApplicationState) *ListApplicationStatesOutput
SetApplicationStateList sets the ApplicationStateList field's value.
func (*ListApplicationStatesOutput) SetNextToken ¶
func (s *ListApplicationStatesOutput) SetNextToken(v string) *ListApplicationStatesOutput
SetNextToken sets the NextToken field's value.
func (ListApplicationStatesOutput) String ¶
func (s ListApplicationStatesOutput) 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 ListCreatedArtifactsInput ¶
type ListCreatedArtifactsInput struct { // Maximum number of results to be returned per page. MaxResults *int64 `min:"1" type:"integer"` // Unique identifier that references the migration task. Do not store personal // data in this field. // // MigrationTaskName is a required field MigrationTaskName *string `min:"1" type:"string" required:"true"` // If a NextToken was returned by a previous call, there are more results available. // To retrieve the next page of results, make the call again using the returned // token in NextToken. NextToken *string `type:"string"` // The name of the ProgressUpdateStream. // // ProgressUpdateStream is a required field ProgressUpdateStream *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListCreatedArtifactsInput) GoString ¶
func (s ListCreatedArtifactsInput) 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 (*ListCreatedArtifactsInput) SetMaxResults ¶
func (s *ListCreatedArtifactsInput) SetMaxResults(v int64) *ListCreatedArtifactsInput
SetMaxResults sets the MaxResults field's value.
func (*ListCreatedArtifactsInput) SetMigrationTaskName ¶
func (s *ListCreatedArtifactsInput) SetMigrationTaskName(v string) *ListCreatedArtifactsInput
SetMigrationTaskName sets the MigrationTaskName field's value.
func (*ListCreatedArtifactsInput) SetNextToken ¶
func (s *ListCreatedArtifactsInput) SetNextToken(v string) *ListCreatedArtifactsInput
SetNextToken sets the NextToken field's value.
func (*ListCreatedArtifactsInput) SetProgressUpdateStream ¶
func (s *ListCreatedArtifactsInput) SetProgressUpdateStream(v string) *ListCreatedArtifactsInput
SetProgressUpdateStream sets the ProgressUpdateStream field's value.
func (ListCreatedArtifactsInput) String ¶
func (s ListCreatedArtifactsInput) 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 (*ListCreatedArtifactsInput) Validate ¶
func (s *ListCreatedArtifactsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListCreatedArtifactsOutput ¶
type ListCreatedArtifactsOutput struct { // List of created artifacts up to the maximum number of results specified in // the request. CreatedArtifactList []*CreatedArtifact `type:"list"` // If there are more created artifacts than the max result, return the next // token to be passed to the next call as a bookmark of where to start from. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListCreatedArtifactsOutput) GoString ¶
func (s ListCreatedArtifactsOutput) 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 (*ListCreatedArtifactsOutput) SetCreatedArtifactList ¶
func (s *ListCreatedArtifactsOutput) SetCreatedArtifactList(v []*CreatedArtifact) *ListCreatedArtifactsOutput
SetCreatedArtifactList sets the CreatedArtifactList field's value.
func (*ListCreatedArtifactsOutput) SetNextToken ¶
func (s *ListCreatedArtifactsOutput) SetNextToken(v string) *ListCreatedArtifactsOutput
SetNextToken sets the NextToken field's value.
func (ListCreatedArtifactsOutput) String ¶
func (s ListCreatedArtifactsOutput) 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 ListDiscoveredResourcesInput ¶
type ListDiscoveredResourcesInput struct { // The maximum number of results returned per page. MaxResults *int64 `min:"1" type:"integer"` // The name of the MigrationTask. Do not store personal data in this field. // // MigrationTaskName is a required field MigrationTaskName *string `min:"1" type:"string" required:"true"` // If a NextToken was returned by a previous call, there are more results available. // To retrieve the next page of results, make the call again using the returned // token in NextToken. NextToken *string `type:"string"` // The name of the ProgressUpdateStream. // // ProgressUpdateStream is a required field ProgressUpdateStream *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListDiscoveredResourcesInput) GoString ¶
func (s ListDiscoveredResourcesInput) 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 (*ListDiscoveredResourcesInput) SetMaxResults ¶
func (s *ListDiscoveredResourcesInput) SetMaxResults(v int64) *ListDiscoveredResourcesInput
SetMaxResults sets the MaxResults field's value.
func (*ListDiscoveredResourcesInput) SetMigrationTaskName ¶
func (s *ListDiscoveredResourcesInput) SetMigrationTaskName(v string) *ListDiscoveredResourcesInput
SetMigrationTaskName sets the MigrationTaskName field's value.
func (*ListDiscoveredResourcesInput) SetNextToken ¶
func (s *ListDiscoveredResourcesInput) SetNextToken(v string) *ListDiscoveredResourcesInput
SetNextToken sets the NextToken field's value.
func (*ListDiscoveredResourcesInput) SetProgressUpdateStream ¶
func (s *ListDiscoveredResourcesInput) SetProgressUpdateStream(v string) *ListDiscoveredResourcesInput
SetProgressUpdateStream sets the ProgressUpdateStream field's value.
func (ListDiscoveredResourcesInput) String ¶
func (s ListDiscoveredResourcesInput) 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 (*ListDiscoveredResourcesInput) Validate ¶
func (s *ListDiscoveredResourcesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListDiscoveredResourcesOutput ¶
type ListDiscoveredResourcesOutput struct { // Returned list of discovered resources associated with the given MigrationTask. DiscoveredResourceList []*DiscoveredResource `type:"list"` // If there are more discovered resources than the max result, return the next // token to be passed to the next call as a bookmark of where to start from. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListDiscoveredResourcesOutput) GoString ¶
func (s ListDiscoveredResourcesOutput) 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 (*ListDiscoveredResourcesOutput) SetDiscoveredResourceList ¶
func (s *ListDiscoveredResourcesOutput) SetDiscoveredResourceList(v []*DiscoveredResource) *ListDiscoveredResourcesOutput
SetDiscoveredResourceList sets the DiscoveredResourceList field's value.
func (*ListDiscoveredResourcesOutput) SetNextToken ¶
func (s *ListDiscoveredResourcesOutput) SetNextToken(v string) *ListDiscoveredResourcesOutput
SetNextToken sets the NextToken field's value.
func (ListDiscoveredResourcesOutput) String ¶
func (s ListDiscoveredResourcesOutput) 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 ListMigrationTasksInput ¶
type ListMigrationTasksInput struct { // Value to specify how many results are returned per page. MaxResults *int64 `min:"1" type:"integer"` // If a NextToken was returned by a previous call, there are more results available. // To retrieve the next page of results, make the call again using the returned // token in NextToken. NextToken *string `type:"string"` // Filter migration tasks by discovered resource name. ResourceName *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (ListMigrationTasksInput) GoString ¶
func (s ListMigrationTasksInput) 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 (*ListMigrationTasksInput) SetMaxResults ¶
func (s *ListMigrationTasksInput) SetMaxResults(v int64) *ListMigrationTasksInput
SetMaxResults sets the MaxResults field's value.
func (*ListMigrationTasksInput) SetNextToken ¶
func (s *ListMigrationTasksInput) SetNextToken(v string) *ListMigrationTasksInput
SetNextToken sets the NextToken field's value.
func (*ListMigrationTasksInput) SetResourceName ¶
func (s *ListMigrationTasksInput) SetResourceName(v string) *ListMigrationTasksInput
SetResourceName sets the ResourceName field's value.
func (ListMigrationTasksInput) String ¶
func (s ListMigrationTasksInput) 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 (*ListMigrationTasksInput) Validate ¶
func (s *ListMigrationTasksInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListMigrationTasksOutput ¶
type ListMigrationTasksOutput struct { // Lists the migration task's summary which includes: MigrationTaskName, ProgressPercent, // ProgressUpdateStream, Status, and the UpdateDateTime for each task. MigrationTaskSummaryList []*MigrationTaskSummary `type:"list"` // If there are more migration tasks than the max result, return the next token // to be passed to the next call as a bookmark of where to start from. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListMigrationTasksOutput) GoString ¶
func (s ListMigrationTasksOutput) 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 (*ListMigrationTasksOutput) SetMigrationTaskSummaryList ¶
func (s *ListMigrationTasksOutput) SetMigrationTaskSummaryList(v []*MigrationTaskSummary) *ListMigrationTasksOutput
SetMigrationTaskSummaryList sets the MigrationTaskSummaryList field's value.
func (*ListMigrationTasksOutput) SetNextToken ¶
func (s *ListMigrationTasksOutput) SetNextToken(v string) *ListMigrationTasksOutput
SetNextToken sets the NextToken field's value.
func (ListMigrationTasksOutput) String ¶
func (s ListMigrationTasksOutput) 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 ListProgressUpdateStreamsInput ¶
type ListProgressUpdateStreamsInput struct { // Filter to limit the maximum number of results to list per page. MaxResults *int64 `min:"1" type:"integer"` // If a NextToken was returned by a previous call, there are more results available. // To retrieve the next page of results, make the call again using the returned // token in NextToken. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListProgressUpdateStreamsInput) GoString ¶
func (s ListProgressUpdateStreamsInput) 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 (*ListProgressUpdateStreamsInput) SetMaxResults ¶
func (s *ListProgressUpdateStreamsInput) SetMaxResults(v int64) *ListProgressUpdateStreamsInput
SetMaxResults sets the MaxResults field's value.
func (*ListProgressUpdateStreamsInput) SetNextToken ¶
func (s *ListProgressUpdateStreamsInput) SetNextToken(v string) *ListProgressUpdateStreamsInput
SetNextToken sets the NextToken field's value.
func (ListProgressUpdateStreamsInput) String ¶
func (s ListProgressUpdateStreamsInput) 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 (*ListProgressUpdateStreamsInput) Validate ¶
func (s *ListProgressUpdateStreamsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListProgressUpdateStreamsOutput ¶
type ListProgressUpdateStreamsOutput struct { // If there are more streams created than the max result, return the next token // to be passed to the next call as a bookmark of where to start from. NextToken *string `type:"string"` // List of progress update streams up to the max number of results passed in // the input. ProgressUpdateStreamSummaryList []*ProgressUpdateStreamSummary `type:"list"` // contains filtered or unexported fields }
func (ListProgressUpdateStreamsOutput) GoString ¶
func (s ListProgressUpdateStreamsOutput) 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 (*ListProgressUpdateStreamsOutput) SetNextToken ¶
func (s *ListProgressUpdateStreamsOutput) SetNextToken(v string) *ListProgressUpdateStreamsOutput
SetNextToken sets the NextToken field's value.
func (*ListProgressUpdateStreamsOutput) SetProgressUpdateStreamSummaryList ¶
func (s *ListProgressUpdateStreamsOutput) SetProgressUpdateStreamSummaryList(v []*ProgressUpdateStreamSummary) *ListProgressUpdateStreamsOutput
SetProgressUpdateStreamSummaryList sets the ProgressUpdateStreamSummaryList field's value.
func (ListProgressUpdateStreamsOutput) String ¶
func (s ListProgressUpdateStreamsOutput) 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 MigrationHub ¶
MigrationHub provides the API operation methods for making requests to AWS Migration Hub. See this package's package overview docs for details on the service.
MigrationHub 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) *MigrationHub
New creates a new instance of the MigrationHub 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 MigrationHub client from just a session. svc := migrationhub.New(mySession) // Create a MigrationHub client with additional configuration svc := migrationhub.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*MigrationHub) AssociateCreatedArtifact ¶
func (c *MigrationHub) AssociateCreatedArtifact(input *AssociateCreatedArtifactInput) (*AssociateCreatedArtifactOutput, error)
AssociateCreatedArtifact API operation for AWS Migration Hub.
Associates a created artifact of an AWS cloud resource, the target receiving the migration, with the migration task performed by a migration tool. This API has the following traits:
Migration tools can call the AssociateCreatedArtifact operation to indicate which AWS artifact is associated with a migration task.
The created artifact name must be provided in ARN (Amazon Resource Name) format which will contain information about type and region; for example: arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b.
Examples of the AWS resource behind the created artifact are, AMI's, EC2 instance, or DMS endpoint, etc.
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 Migration Hub's API operation AssociateCreatedArtifact for usage and error information.
Returned Error Types:
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The request was denied due to request throttling.
InternalServerError Exception raised when an internal, configuration, or dependency error is encountered.
ServiceUnavailableException Exception raised when there is an internal, configuration, or dependency error encountered.
DryRunOperation Exception raised to indicate a successfully authorized action when the DryRun flag is set to "true".
UnauthorizedOperation Exception raised to indicate a request was not authorized when the DryRun flag is set to "true".
InvalidInputException Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
ResourceNotFoundException Exception raised when the request references a resource (Application Discovery Service configuration, update stream, migration task, etc.) that does not exist in Application Discovery Service (Application Discovery Service) or in Migration Hub's repository.
HomeRegionNotSetException The home region is not set. Set the home region to continue.
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateCreatedArtifact
func (*MigrationHub) AssociateCreatedArtifactRequest ¶
func (c *MigrationHub) AssociateCreatedArtifactRequest(input *AssociateCreatedArtifactInput) (req *request.Request, output *AssociateCreatedArtifactOutput)
AssociateCreatedArtifactRequest generates a "aws/request.Request" representing the client's request for the AssociateCreatedArtifact 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 AssociateCreatedArtifact for more information on using the AssociateCreatedArtifact 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 AssociateCreatedArtifactRequest method. req, resp := client.AssociateCreatedArtifactRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateCreatedArtifact
func (*MigrationHub) AssociateCreatedArtifactWithContext ¶
func (c *MigrationHub) AssociateCreatedArtifactWithContext(ctx aws.Context, input *AssociateCreatedArtifactInput, opts ...request.Option) (*AssociateCreatedArtifactOutput, error)
AssociateCreatedArtifactWithContext is the same as AssociateCreatedArtifact with the addition of the ability to pass a context and additional request options.
See AssociateCreatedArtifact 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 (*MigrationHub) AssociateDiscoveredResource ¶
func (c *MigrationHub) AssociateDiscoveredResource(input *AssociateDiscoveredResourceInput) (*AssociateDiscoveredResourceOutput, error)
AssociateDiscoveredResource API operation for AWS Migration Hub.
Associates a discovered resource ID from Application Discovery Service with a migration 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 Migration Hub's API operation AssociateDiscoveredResource for usage and error information.
Returned Error Types:
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The request was denied due to request throttling.
InternalServerError Exception raised when an internal, configuration, or dependency error is encountered.
ServiceUnavailableException Exception raised when there is an internal, configuration, or dependency error encountered.
DryRunOperation Exception raised to indicate a successfully authorized action when the DryRun flag is set to "true".
UnauthorizedOperation Exception raised to indicate a request was not authorized when the DryRun flag is set to "true".
InvalidInputException Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
PolicyErrorException Exception raised when there are problems accessing Application Discovery Service (Application Discovery Service); most likely due to a misconfigured policy or the migrationhub-discovery role is missing or not configured correctly.
ResourceNotFoundException Exception raised when the request references a resource (Application Discovery Service configuration, update stream, migration task, etc.) that does not exist in Application Discovery Service (Application Discovery Service) or in Migration Hub's repository.
HomeRegionNotSetException The home region is not set. Set the home region to continue.
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateDiscoveredResource
func (*MigrationHub) AssociateDiscoveredResourceRequest ¶
func (c *MigrationHub) AssociateDiscoveredResourceRequest(input *AssociateDiscoveredResourceInput) (req *request.Request, output *AssociateDiscoveredResourceOutput)
AssociateDiscoveredResourceRequest generates a "aws/request.Request" representing the client's request for the AssociateDiscoveredResource 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 AssociateDiscoveredResource for more information on using the AssociateDiscoveredResource 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 AssociateDiscoveredResourceRequest method. req, resp := client.AssociateDiscoveredResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateDiscoveredResource
func (*MigrationHub) AssociateDiscoveredResourceWithContext ¶
func (c *MigrationHub) AssociateDiscoveredResourceWithContext(ctx aws.Context, input *AssociateDiscoveredResourceInput, opts ...request.Option) (*AssociateDiscoveredResourceOutput, error)
AssociateDiscoveredResourceWithContext is the same as AssociateDiscoveredResource with the addition of the ability to pass a context and additional request options.
See AssociateDiscoveredResource 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 (*MigrationHub) CreateProgressUpdateStream ¶
func (c *MigrationHub) CreateProgressUpdateStream(input *CreateProgressUpdateStreamInput) (*CreateProgressUpdateStreamOutput, error)
CreateProgressUpdateStream API operation for AWS Migration Hub.
Creates a progress update stream which is an AWS resource used for access control as well as a namespace for migration task names that is implicitly linked to your AWS account. It must uniquely identify the migration tool as it is used for all updates made by the tool; however, it does not need to be unique for each AWS account because it is scoped to the AWS 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 Migration Hub's API operation CreateProgressUpdateStream for usage and error information.
Returned Error Types:
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The request was denied due to request throttling.
InternalServerError Exception raised when an internal, configuration, or dependency error is encountered.
ServiceUnavailableException Exception raised when there is an internal, configuration, or dependency error encountered.
DryRunOperation Exception raised to indicate a successfully authorized action when the DryRun flag is set to "true".
UnauthorizedOperation Exception raised to indicate a request was not authorized when the DryRun flag is set to "true".
InvalidInputException Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
HomeRegionNotSetException The home region is not set. Set the home region to continue.
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/CreateProgressUpdateStream
func (*MigrationHub) CreateProgressUpdateStreamRequest ¶
func (c *MigrationHub) CreateProgressUpdateStreamRequest(input *CreateProgressUpdateStreamInput) (req *request.Request, output *CreateProgressUpdateStreamOutput)
CreateProgressUpdateStreamRequest generates a "aws/request.Request" representing the client's request for the CreateProgressUpdateStream 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 CreateProgressUpdateStream for more information on using the CreateProgressUpdateStream 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 CreateProgressUpdateStreamRequest method. req, resp := client.CreateProgressUpdateStreamRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/CreateProgressUpdateStream
func (*MigrationHub) CreateProgressUpdateStreamWithContext ¶
func (c *MigrationHub) CreateProgressUpdateStreamWithContext(ctx aws.Context, input *CreateProgressUpdateStreamInput, opts ...request.Option) (*CreateProgressUpdateStreamOutput, error)
CreateProgressUpdateStreamWithContext is the same as CreateProgressUpdateStream with the addition of the ability to pass a context and additional request options.
See CreateProgressUpdateStream 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 (*MigrationHub) DeleteProgressUpdateStream ¶
func (c *MigrationHub) DeleteProgressUpdateStream(input *DeleteProgressUpdateStreamInput) (*DeleteProgressUpdateStreamOutput, error)
DeleteProgressUpdateStream API operation for AWS Migration Hub.
Deletes a progress update stream, including all of its tasks, which was previously created as an AWS resource used for access control. This API has the following traits:
The only parameter needed for DeleteProgressUpdateStream is the stream name (same as a CreateProgressUpdateStream call).
The call will return, and a background process will asynchronously delete the stream and all of its resources (tasks, associated resources, resource attributes, created artifacts).
If the stream takes time to be deleted, it might still show up on a ListProgressUpdateStreams call.
CreateProgressUpdateStream, ImportMigrationTask, NotifyMigrationTaskState, and all Associate[*] APIs related to the tasks belonging to the stream will throw "InvalidInputException" if the stream of the same name is in the process of being deleted.
Once the stream and all of its resources are deleted, CreateProgressUpdateStream for a stream of the same name will succeed, and that stream will be an entirely new logical resource (without any resources associated with the old stream).
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 Migration Hub's API operation DeleteProgressUpdateStream for usage and error information.
Returned Error Types:
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The request was denied due to request throttling.
InternalServerError Exception raised when an internal, configuration, or dependency error is encountered.
ServiceUnavailableException Exception raised when there is an internal, configuration, or dependency error encountered.
DryRunOperation Exception raised to indicate a successfully authorized action when the DryRun flag is set to "true".
UnauthorizedOperation Exception raised to indicate a request was not authorized when the DryRun flag is set to "true".
InvalidInputException Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
ResourceNotFoundException Exception raised when the request references a resource (Application Discovery Service configuration, update stream, migration task, etc.) that does not exist in Application Discovery Service (Application Discovery Service) or in Migration Hub's repository.
HomeRegionNotSetException The home region is not set. Set the home region to continue.
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DeleteProgressUpdateStream
func (*MigrationHub) DeleteProgressUpdateStreamRequest ¶
func (c *MigrationHub) DeleteProgressUpdateStreamRequest(input *DeleteProgressUpdateStreamInput) (req *request.Request, output *DeleteProgressUpdateStreamOutput)
DeleteProgressUpdateStreamRequest generates a "aws/request.Request" representing the client's request for the DeleteProgressUpdateStream 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 DeleteProgressUpdateStream for more information on using the DeleteProgressUpdateStream 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 DeleteProgressUpdateStreamRequest method. req, resp := client.DeleteProgressUpdateStreamRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DeleteProgressUpdateStream
func (*MigrationHub) DeleteProgressUpdateStreamWithContext ¶
func (c *MigrationHub) DeleteProgressUpdateStreamWithContext(ctx aws.Context, input *DeleteProgressUpdateStreamInput, opts ...request.Option) (*DeleteProgressUpdateStreamOutput, error)
DeleteProgressUpdateStreamWithContext is the same as DeleteProgressUpdateStream with the addition of the ability to pass a context and additional request options.
See DeleteProgressUpdateStream 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 (*MigrationHub) DescribeApplicationState ¶
func (c *MigrationHub) DescribeApplicationState(input *DescribeApplicationStateInput) (*DescribeApplicationStateOutput, error)
DescribeApplicationState API operation for AWS Migration Hub.
Gets the migration status of an application.
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 Migration Hub's API operation DescribeApplicationState for usage and error information.
Returned Error Types:
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The request was denied due to request throttling.
InternalServerError Exception raised when an internal, configuration, or dependency error is encountered.
ServiceUnavailableException Exception raised when there is an internal, configuration, or dependency error encountered.
InvalidInputException Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
PolicyErrorException Exception raised when there are problems accessing Application Discovery Service (Application Discovery Service); most likely due to a misconfigured policy or the migrationhub-discovery role is missing or not configured correctly.
ResourceNotFoundException Exception raised when the request references a resource (Application Discovery Service configuration, update stream, migration task, etc.) that does not exist in Application Discovery Service (Application Discovery Service) or in Migration Hub's repository.
HomeRegionNotSetException The home region is not set. Set the home region to continue.
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeApplicationState
func (*MigrationHub) DescribeApplicationStateRequest ¶
func (c *MigrationHub) DescribeApplicationStateRequest(input *DescribeApplicationStateInput) (req *request.Request, output *DescribeApplicationStateOutput)
DescribeApplicationStateRequest generates a "aws/request.Request" representing the client's request for the DescribeApplicationState 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 DescribeApplicationState for more information on using the DescribeApplicationState 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 DescribeApplicationStateRequest method. req, resp := client.DescribeApplicationStateRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeApplicationState
func (*MigrationHub) DescribeApplicationStateWithContext ¶
func (c *MigrationHub) DescribeApplicationStateWithContext(ctx aws.Context, input *DescribeApplicationStateInput, opts ...request.Option) (*DescribeApplicationStateOutput, error)
DescribeApplicationStateWithContext is the same as DescribeApplicationState with the addition of the ability to pass a context and additional request options.
See DescribeApplicationState 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 (*MigrationHub) DescribeMigrationTask ¶
func (c *MigrationHub) DescribeMigrationTask(input *DescribeMigrationTaskInput) (*DescribeMigrationTaskOutput, error)
DescribeMigrationTask API operation for AWS Migration Hub.
Retrieves a list of all attributes associated with a specific migration 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 Migration Hub's API operation DescribeMigrationTask for usage and error information.
Returned Error Types:
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The request was denied due to request throttling.
InternalServerError Exception raised when an internal, configuration, or dependency error is encountered.
ServiceUnavailableException Exception raised when there is an internal, configuration, or dependency error encountered.
InvalidInputException Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
ResourceNotFoundException Exception raised when the request references a resource (Application Discovery Service configuration, update stream, migration task, etc.) that does not exist in Application Discovery Service (Application Discovery Service) or in Migration Hub's repository.
HomeRegionNotSetException The home region is not set. Set the home region to continue.
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeMigrationTask
func (*MigrationHub) DescribeMigrationTaskRequest ¶
func (c *MigrationHub) DescribeMigrationTaskRequest(input *DescribeMigrationTaskInput) (req *request.Request, output *DescribeMigrationTaskOutput)
DescribeMigrationTaskRequest generates a "aws/request.Request" representing the client's request for the DescribeMigrationTask 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 DescribeMigrationTask for more information on using the DescribeMigrationTask 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 DescribeMigrationTaskRequest method. req, resp := client.DescribeMigrationTaskRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeMigrationTask
func (*MigrationHub) DescribeMigrationTaskWithContext ¶
func (c *MigrationHub) DescribeMigrationTaskWithContext(ctx aws.Context, input *DescribeMigrationTaskInput, opts ...request.Option) (*DescribeMigrationTaskOutput, error)
DescribeMigrationTaskWithContext is the same as DescribeMigrationTask with the addition of the ability to pass a context and additional request options.
See DescribeMigrationTask 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 (*MigrationHub) DisassociateCreatedArtifact ¶
func (c *MigrationHub) DisassociateCreatedArtifact(input *DisassociateCreatedArtifactInput) (*DisassociateCreatedArtifactOutput, error)
DisassociateCreatedArtifact API operation for AWS Migration Hub.
Disassociates a created artifact of an AWS resource with a migration task performed by a migration tool that was previously associated. This API has the following traits:
A migration user can call the DisassociateCreatedArtifacts operation to disassociate a created AWS Artifact from a migration task.
The created artifact name must be provided in ARN (Amazon Resource Name) format which will contain information about type and region; for example: arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b.
Examples of the AWS resource behind the created artifact are, AMI's, EC2 instance, or RDS instance, etc.
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 Migration Hub's API operation DisassociateCreatedArtifact for usage and error information.
Returned Error Types:
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The request was denied due to request throttling.
InternalServerError Exception raised when an internal, configuration, or dependency error is encountered.
ServiceUnavailableException Exception raised when there is an internal, configuration, or dependency error encountered.
DryRunOperation Exception raised to indicate a successfully authorized action when the DryRun flag is set to "true".
UnauthorizedOperation Exception raised to indicate a request was not authorized when the DryRun flag is set to "true".
InvalidInputException Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
ResourceNotFoundException Exception raised when the request references a resource (Application Discovery Service configuration, update stream, migration task, etc.) that does not exist in Application Discovery Service (Application Discovery Service) or in Migration Hub's repository.
HomeRegionNotSetException The home region is not set. Set the home region to continue.
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateCreatedArtifact
func (*MigrationHub) DisassociateCreatedArtifactRequest ¶
func (c *MigrationHub) DisassociateCreatedArtifactRequest(input *DisassociateCreatedArtifactInput) (req *request.Request, output *DisassociateCreatedArtifactOutput)
DisassociateCreatedArtifactRequest generates a "aws/request.Request" representing the client's request for the DisassociateCreatedArtifact 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 DisassociateCreatedArtifact for more information on using the DisassociateCreatedArtifact 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 DisassociateCreatedArtifactRequest method. req, resp := client.DisassociateCreatedArtifactRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateCreatedArtifact
func (*MigrationHub) DisassociateCreatedArtifactWithContext ¶
func (c *MigrationHub) DisassociateCreatedArtifactWithContext(ctx aws.Context, input *DisassociateCreatedArtifactInput, opts ...request.Option) (*DisassociateCreatedArtifactOutput, error)
DisassociateCreatedArtifactWithContext is the same as DisassociateCreatedArtifact with the addition of the ability to pass a context and additional request options.
See DisassociateCreatedArtifact 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 (*MigrationHub) DisassociateDiscoveredResource ¶
func (c *MigrationHub) DisassociateDiscoveredResource(input *DisassociateDiscoveredResourceInput) (*DisassociateDiscoveredResourceOutput, error)
DisassociateDiscoveredResource API operation for AWS Migration Hub.
Disassociate an Application Discovery Service discovered resource from a migration 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 Migration Hub's API operation DisassociateDiscoveredResource for usage and error information.
Returned Error Types:
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The request was denied due to request throttling.
InternalServerError Exception raised when an internal, configuration, or dependency error is encountered.
ServiceUnavailableException Exception raised when there is an internal, configuration, or dependency error encountered.
DryRunOperation Exception raised to indicate a successfully authorized action when the DryRun flag is set to "true".
UnauthorizedOperation Exception raised to indicate a request was not authorized when the DryRun flag is set to "true".
InvalidInputException Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
ResourceNotFoundException Exception raised when the request references a resource (Application Discovery Service configuration, update stream, migration task, etc.) that does not exist in Application Discovery Service (Application Discovery Service) or in Migration Hub's repository.
HomeRegionNotSetException The home region is not set. Set the home region to continue.
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateDiscoveredResource
func (*MigrationHub) DisassociateDiscoveredResourceRequest ¶
func (c *MigrationHub) DisassociateDiscoveredResourceRequest(input *DisassociateDiscoveredResourceInput) (req *request.Request, output *DisassociateDiscoveredResourceOutput)
DisassociateDiscoveredResourceRequest generates a "aws/request.Request" representing the client's request for the DisassociateDiscoveredResource 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 DisassociateDiscoveredResource for more information on using the DisassociateDiscoveredResource 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 DisassociateDiscoveredResourceRequest method. req, resp := client.DisassociateDiscoveredResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateDiscoveredResource
func (*MigrationHub) DisassociateDiscoveredResourceWithContext ¶
func (c *MigrationHub) DisassociateDiscoveredResourceWithContext(ctx aws.Context, input *DisassociateDiscoveredResourceInput, opts ...request.Option) (*DisassociateDiscoveredResourceOutput, error)
DisassociateDiscoveredResourceWithContext is the same as DisassociateDiscoveredResource with the addition of the ability to pass a context and additional request options.
See DisassociateDiscoveredResource 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 (*MigrationHub) ImportMigrationTask ¶
func (c *MigrationHub) ImportMigrationTask(input *ImportMigrationTaskInput) (*ImportMigrationTaskOutput, error)
ImportMigrationTask API operation for AWS Migration Hub.
Registers a new migration task which represents a server, database, etc., being migrated to AWS by a migration tool.
This API is a prerequisite to calling the NotifyMigrationTaskState API as the migration tool must first register the migration task with Migration Hub.
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 Migration Hub's API operation ImportMigrationTask for usage and error information.
Returned Error Types:
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The request was denied due to request throttling.
InternalServerError Exception raised when an internal, configuration, or dependency error is encountered.
ServiceUnavailableException Exception raised when there is an internal, configuration, or dependency error encountered.
DryRunOperation Exception raised to indicate a successfully authorized action when the DryRun flag is set to "true".
UnauthorizedOperation Exception raised to indicate a request was not authorized when the DryRun flag is set to "true".
InvalidInputException Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
ResourceNotFoundException Exception raised when the request references a resource (Application Discovery Service configuration, update stream, migration task, etc.) that does not exist in Application Discovery Service (Application Discovery Service) or in Migration Hub's repository.
HomeRegionNotSetException The home region is not set. Set the home region to continue.
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ImportMigrationTask
func (*MigrationHub) ImportMigrationTaskRequest ¶
func (c *MigrationHub) ImportMigrationTaskRequest(input *ImportMigrationTaskInput) (req *request.Request, output *ImportMigrationTaskOutput)
ImportMigrationTaskRequest generates a "aws/request.Request" representing the client's request for the ImportMigrationTask 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 ImportMigrationTask for more information on using the ImportMigrationTask 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 ImportMigrationTaskRequest method. req, resp := client.ImportMigrationTaskRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ImportMigrationTask
func (*MigrationHub) ImportMigrationTaskWithContext ¶
func (c *MigrationHub) ImportMigrationTaskWithContext(ctx aws.Context, input *ImportMigrationTaskInput, opts ...request.Option) (*ImportMigrationTaskOutput, error)
ImportMigrationTaskWithContext is the same as ImportMigrationTask with the addition of the ability to pass a context and additional request options.
See ImportMigrationTask 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 (*MigrationHub) ListApplicationStates ¶
func (c *MigrationHub) ListApplicationStates(input *ListApplicationStatesInput) (*ListApplicationStatesOutput, error)
ListApplicationStates API operation for AWS Migration Hub.
Lists all the migration statuses for your applications. If you use the optional ApplicationIds parameter, only the migration statuses for those applications will be returned.
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 Migration Hub's API operation ListApplicationStates for usage and error information.
Returned Error Types:
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The request was denied due to request throttling.
InternalServerError Exception raised when an internal, configuration, or dependency error is encountered.
ServiceUnavailableException Exception raised when there is an internal, configuration, or dependency error encountered.
InvalidInputException Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
HomeRegionNotSetException The home region is not set. Set the home region to continue.
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListApplicationStates
func (*MigrationHub) ListApplicationStatesPages ¶
func (c *MigrationHub) ListApplicationStatesPages(input *ListApplicationStatesInput, fn func(*ListApplicationStatesOutput, bool) bool) error
ListApplicationStatesPages iterates over the pages of a ListApplicationStates operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListApplicationStates 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 ListApplicationStates operation. pageNum := 0 err := client.ListApplicationStatesPages(params, func(page *migrationhub.ListApplicationStatesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*MigrationHub) ListApplicationStatesPagesWithContext ¶
func (c *MigrationHub) ListApplicationStatesPagesWithContext(ctx aws.Context, input *ListApplicationStatesInput, fn func(*ListApplicationStatesOutput, bool) bool, opts ...request.Option) error
ListApplicationStatesPagesWithContext same as ListApplicationStatesPages 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 (*MigrationHub) ListApplicationStatesRequest ¶
func (c *MigrationHub) ListApplicationStatesRequest(input *ListApplicationStatesInput) (req *request.Request, output *ListApplicationStatesOutput)
ListApplicationStatesRequest generates a "aws/request.Request" representing the client's request for the ListApplicationStates 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 ListApplicationStates for more information on using the ListApplicationStates 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 ListApplicationStatesRequest method. req, resp := client.ListApplicationStatesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListApplicationStates
func (*MigrationHub) ListApplicationStatesWithContext ¶
func (c *MigrationHub) ListApplicationStatesWithContext(ctx aws.Context, input *ListApplicationStatesInput, opts ...request.Option) (*ListApplicationStatesOutput, error)
ListApplicationStatesWithContext is the same as ListApplicationStates with the addition of the ability to pass a context and additional request options.
See ListApplicationStates 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 (*MigrationHub) ListCreatedArtifacts ¶
func (c *MigrationHub) ListCreatedArtifacts(input *ListCreatedArtifactsInput) (*ListCreatedArtifactsOutput, error)
ListCreatedArtifacts API operation for AWS Migration Hub.
Lists the created artifacts attached to a given migration task in an update stream. This API has the following traits:
Gets the list of the created artifacts while migration is taking place.
Shows the artifacts created by the migration tool that was associated by the AssociateCreatedArtifact API.
Lists created artifacts in a paginated interface.
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 Migration Hub's API operation ListCreatedArtifacts for usage and error information.
Returned Error Types:
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The request was denied due to request throttling.
InternalServerError Exception raised when an internal, configuration, or dependency error is encountered.
ServiceUnavailableException Exception raised when there is an internal, configuration, or dependency error encountered.
InvalidInputException Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
ResourceNotFoundException Exception raised when the request references a resource (Application Discovery Service configuration, update stream, migration task, etc.) that does not exist in Application Discovery Service (Application Discovery Service) or in Migration Hub's repository.
HomeRegionNotSetException The home region is not set. Set the home region to continue.
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListCreatedArtifacts
func (*MigrationHub) ListCreatedArtifactsPages ¶
func (c *MigrationHub) ListCreatedArtifactsPages(input *ListCreatedArtifactsInput, fn func(*ListCreatedArtifactsOutput, bool) bool) error
ListCreatedArtifactsPages iterates over the pages of a ListCreatedArtifacts operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListCreatedArtifacts 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 ListCreatedArtifacts operation. pageNum := 0 err := client.ListCreatedArtifactsPages(params, func(page *migrationhub.ListCreatedArtifactsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*MigrationHub) ListCreatedArtifactsPagesWithContext ¶
func (c *MigrationHub) ListCreatedArtifactsPagesWithContext(ctx aws.Context, input *ListCreatedArtifactsInput, fn func(*ListCreatedArtifactsOutput, bool) bool, opts ...request.Option) error
ListCreatedArtifactsPagesWithContext same as ListCreatedArtifactsPages 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 (*MigrationHub) ListCreatedArtifactsRequest ¶
func (c *MigrationHub) ListCreatedArtifactsRequest(input *ListCreatedArtifactsInput) (req *request.Request, output *ListCreatedArtifactsOutput)
ListCreatedArtifactsRequest generates a "aws/request.Request" representing the client's request for the ListCreatedArtifacts 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 ListCreatedArtifacts for more information on using the ListCreatedArtifacts 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 ListCreatedArtifactsRequest method. req, resp := client.ListCreatedArtifactsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListCreatedArtifacts
func (*MigrationHub) ListCreatedArtifactsWithContext ¶
func (c *MigrationHub) ListCreatedArtifactsWithContext(ctx aws.Context, input *ListCreatedArtifactsInput, opts ...request.Option) (*ListCreatedArtifactsOutput, error)
ListCreatedArtifactsWithContext is the same as ListCreatedArtifacts with the addition of the ability to pass a context and additional request options.
See ListCreatedArtifacts 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 (*MigrationHub) ListDiscoveredResources ¶
func (c *MigrationHub) ListDiscoveredResources(input *ListDiscoveredResourcesInput) (*ListDiscoveredResourcesOutput, error)
ListDiscoveredResources API operation for AWS Migration Hub.
Lists discovered resources associated with the given MigrationTask.
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 Migration Hub's API operation ListDiscoveredResources for usage and error information.
Returned Error Types:
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The request was denied due to request throttling.
InternalServerError Exception raised when an internal, configuration, or dependency error is encountered.
ServiceUnavailableException Exception raised when there is an internal, configuration, or dependency error encountered.
InvalidInputException Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
ResourceNotFoundException Exception raised when the request references a resource (Application Discovery Service configuration, update stream, migration task, etc.) that does not exist in Application Discovery Service (Application Discovery Service) or in Migration Hub's repository.
HomeRegionNotSetException The home region is not set. Set the home region to continue.
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListDiscoveredResources
func (*MigrationHub) ListDiscoveredResourcesPages ¶
func (c *MigrationHub) ListDiscoveredResourcesPages(input *ListDiscoveredResourcesInput, fn func(*ListDiscoveredResourcesOutput, bool) bool) error
ListDiscoveredResourcesPages iterates over the pages of a ListDiscoveredResources operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListDiscoveredResources 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 ListDiscoveredResources operation. pageNum := 0 err := client.ListDiscoveredResourcesPages(params, func(page *migrationhub.ListDiscoveredResourcesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*MigrationHub) ListDiscoveredResourcesPagesWithContext ¶
func (c *MigrationHub) ListDiscoveredResourcesPagesWithContext(ctx aws.Context, input *ListDiscoveredResourcesInput, fn func(*ListDiscoveredResourcesOutput, bool) bool, opts ...request.Option) error
ListDiscoveredResourcesPagesWithContext same as ListDiscoveredResourcesPages 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 (*MigrationHub) ListDiscoveredResourcesRequest ¶
func (c *MigrationHub) ListDiscoveredResourcesRequest(input *ListDiscoveredResourcesInput) (req *request.Request, output *ListDiscoveredResourcesOutput)
ListDiscoveredResourcesRequest generates a "aws/request.Request" representing the client's request for the ListDiscoveredResources 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 ListDiscoveredResources for more information on using the ListDiscoveredResources 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 ListDiscoveredResourcesRequest method. req, resp := client.ListDiscoveredResourcesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListDiscoveredResources
func (*MigrationHub) ListDiscoveredResourcesWithContext ¶
func (c *MigrationHub) ListDiscoveredResourcesWithContext(ctx aws.Context, input *ListDiscoveredResourcesInput, opts ...request.Option) (*ListDiscoveredResourcesOutput, error)
ListDiscoveredResourcesWithContext is the same as ListDiscoveredResources with the addition of the ability to pass a context and additional request options.
See ListDiscoveredResources 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 (*MigrationHub) ListMigrationTasks ¶
func (c *MigrationHub) ListMigrationTasks(input *ListMigrationTasksInput) (*ListMigrationTasksOutput, error)
ListMigrationTasks API operation for AWS Migration Hub.
Lists all, or filtered by resource name, migration tasks associated with the user account making this call. This API has the following traits:
Can show a summary list of the most recent migration tasks.
Can show a summary list of migration tasks associated with a given discovered resource.
Lists migration tasks in a paginated interface.
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 Migration Hub's API operation ListMigrationTasks for usage and error information.
Returned Error Types:
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The request was denied due to request throttling.
InternalServerError Exception raised when an internal, configuration, or dependency error is encountered.
ServiceUnavailableException Exception raised when there is an internal, configuration, or dependency error encountered.
InvalidInputException Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
PolicyErrorException Exception raised when there are problems accessing Application Discovery Service (Application Discovery Service); most likely due to a misconfigured policy or the migrationhub-discovery role is missing or not configured correctly.
ResourceNotFoundException Exception raised when the request references a resource (Application Discovery Service configuration, update stream, migration task, etc.) that does not exist in Application Discovery Service (Application Discovery Service) or in Migration Hub's repository.
HomeRegionNotSetException The home region is not set. Set the home region to continue.
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListMigrationTasks
func (*MigrationHub) ListMigrationTasksPages ¶
func (c *MigrationHub) ListMigrationTasksPages(input *ListMigrationTasksInput, fn func(*ListMigrationTasksOutput, bool) bool) error
ListMigrationTasksPages iterates over the pages of a ListMigrationTasks operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListMigrationTasks 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 ListMigrationTasks operation. pageNum := 0 err := client.ListMigrationTasksPages(params, func(page *migrationhub.ListMigrationTasksOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*MigrationHub) ListMigrationTasksPagesWithContext ¶
func (c *MigrationHub) ListMigrationTasksPagesWithContext(ctx aws.Context, input *ListMigrationTasksInput, fn func(*ListMigrationTasksOutput, bool) bool, opts ...request.Option) error
ListMigrationTasksPagesWithContext same as ListMigrationTasksPages 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 (*MigrationHub) ListMigrationTasksRequest ¶
func (c *MigrationHub) ListMigrationTasksRequest(input *ListMigrationTasksInput) (req *request.Request, output *ListMigrationTasksOutput)
ListMigrationTasksRequest generates a "aws/request.Request" representing the client's request for the ListMigrationTasks 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 ListMigrationTasks for more information on using the ListMigrationTasks 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 ListMigrationTasksRequest method. req, resp := client.ListMigrationTasksRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListMigrationTasks
func (*MigrationHub) ListMigrationTasksWithContext ¶
func (c *MigrationHub) ListMigrationTasksWithContext(ctx aws.Context, input *ListMigrationTasksInput, opts ...request.Option) (*ListMigrationTasksOutput, error)
ListMigrationTasksWithContext is the same as ListMigrationTasks with the addition of the ability to pass a context and additional request options.
See ListMigrationTasks 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 (*MigrationHub) ListProgressUpdateStreams ¶
func (c *MigrationHub) ListProgressUpdateStreams(input *ListProgressUpdateStreamsInput) (*ListProgressUpdateStreamsOutput, error)
ListProgressUpdateStreams API operation for AWS Migration Hub.
Lists progress update streams associated with the user account making this call.
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 Migration Hub's API operation ListProgressUpdateStreams for usage and error information.
Returned Error Types:
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The request was denied due to request throttling.
InternalServerError Exception raised when an internal, configuration, or dependency error is encountered.
ServiceUnavailableException Exception raised when there is an internal, configuration, or dependency error encountered.
InvalidInputException Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
HomeRegionNotSetException The home region is not set. Set the home region to continue.
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListProgressUpdateStreams
func (*MigrationHub) ListProgressUpdateStreamsPages ¶
func (c *MigrationHub) ListProgressUpdateStreamsPages(input *ListProgressUpdateStreamsInput, fn func(*ListProgressUpdateStreamsOutput, bool) bool) error
ListProgressUpdateStreamsPages iterates over the pages of a ListProgressUpdateStreams operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListProgressUpdateStreams 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 ListProgressUpdateStreams operation. pageNum := 0 err := client.ListProgressUpdateStreamsPages(params, func(page *migrationhub.ListProgressUpdateStreamsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*MigrationHub) ListProgressUpdateStreamsPagesWithContext ¶
func (c *MigrationHub) ListProgressUpdateStreamsPagesWithContext(ctx aws.Context, input *ListProgressUpdateStreamsInput, fn func(*ListProgressUpdateStreamsOutput, bool) bool, opts ...request.Option) error
ListProgressUpdateStreamsPagesWithContext same as ListProgressUpdateStreamsPages 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 (*MigrationHub) ListProgressUpdateStreamsRequest ¶
func (c *MigrationHub) ListProgressUpdateStreamsRequest(input *ListProgressUpdateStreamsInput) (req *request.Request, output *ListProgressUpdateStreamsOutput)
ListProgressUpdateStreamsRequest generates a "aws/request.Request" representing the client's request for the ListProgressUpdateStreams 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 ListProgressUpdateStreams for more information on using the ListProgressUpdateStreams 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 ListProgressUpdateStreamsRequest method. req, resp := client.ListProgressUpdateStreamsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListProgressUpdateStreams
func (*MigrationHub) ListProgressUpdateStreamsWithContext ¶
func (c *MigrationHub) ListProgressUpdateStreamsWithContext(ctx aws.Context, input *ListProgressUpdateStreamsInput, opts ...request.Option) (*ListProgressUpdateStreamsOutput, error)
ListProgressUpdateStreamsWithContext is the same as ListProgressUpdateStreams with the addition of the ability to pass a context and additional request options.
See ListProgressUpdateStreams 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 (*MigrationHub) NotifyApplicationState ¶
func (c *MigrationHub) NotifyApplicationState(input *NotifyApplicationStateInput) (*NotifyApplicationStateOutput, error)
NotifyApplicationState API operation for AWS Migration Hub.
Sets the migration state of an application. For a given application identified by the value passed to ApplicationId, its status is set or updated by passing one of three values to Status: NOT_STARTED | IN_PROGRESS | COMPLETED.
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 Migration Hub's API operation NotifyApplicationState for usage and error information.
Returned Error Types:
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The request was denied due to request throttling.
InternalServerError Exception raised when an internal, configuration, or dependency error is encountered.
ServiceUnavailableException Exception raised when there is an internal, configuration, or dependency error encountered.
DryRunOperation Exception raised to indicate a successfully authorized action when the DryRun flag is set to "true".
UnauthorizedOperation Exception raised to indicate a request was not authorized when the DryRun flag is set to "true".
InvalidInputException Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
PolicyErrorException Exception raised when there are problems accessing Application Discovery Service (Application Discovery Service); most likely due to a misconfigured policy or the migrationhub-discovery role is missing or not configured correctly.
ResourceNotFoundException Exception raised when the request references a resource (Application Discovery Service configuration, update stream, migration task, etc.) that does not exist in Application Discovery Service (Application Discovery Service) or in Migration Hub's repository.
HomeRegionNotSetException The home region is not set. Set the home region to continue.
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/NotifyApplicationState
func (*MigrationHub) NotifyApplicationStateRequest ¶
func (c *MigrationHub) NotifyApplicationStateRequest(input *NotifyApplicationStateInput) (req *request.Request, output *NotifyApplicationStateOutput)
NotifyApplicationStateRequest generates a "aws/request.Request" representing the client's request for the NotifyApplicationState 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 NotifyApplicationState for more information on using the NotifyApplicationState 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 NotifyApplicationStateRequest method. req, resp := client.NotifyApplicationStateRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/NotifyApplicationState
func (*MigrationHub) NotifyApplicationStateWithContext ¶
func (c *MigrationHub) NotifyApplicationStateWithContext(ctx aws.Context, input *NotifyApplicationStateInput, opts ...request.Option) (*NotifyApplicationStateOutput, error)
NotifyApplicationStateWithContext is the same as NotifyApplicationState with the addition of the ability to pass a context and additional request options.
See NotifyApplicationState 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 (*MigrationHub) NotifyMigrationTaskState ¶
func (c *MigrationHub) NotifyMigrationTaskState(input *NotifyMigrationTaskStateInput) (*NotifyMigrationTaskStateOutput, error)
NotifyMigrationTaskState API operation for AWS Migration Hub.
Notifies Migration Hub of the current status, progress, or other detail regarding a migration task. This API has the following traits:
Migration tools will call the NotifyMigrationTaskState API to share the latest progress and status.
MigrationTaskName is used for addressing updates to the correct target.
ProgressUpdateStream is used for access control and to provide a namespace for each migration tool.
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 Migration Hub's API operation NotifyMigrationTaskState for usage and error information.
Returned Error Types:
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The request was denied due to request throttling.
InternalServerError Exception raised when an internal, configuration, or dependency error is encountered.
ServiceUnavailableException Exception raised when there is an internal, configuration, or dependency error encountered.
DryRunOperation Exception raised to indicate a successfully authorized action when the DryRun flag is set to "true".
UnauthorizedOperation Exception raised to indicate a request was not authorized when the DryRun flag is set to "true".
InvalidInputException Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
ResourceNotFoundException Exception raised when the request references a resource (Application Discovery Service configuration, update stream, migration task, etc.) that does not exist in Application Discovery Service (Application Discovery Service) or in Migration Hub's repository.
HomeRegionNotSetException The home region is not set. Set the home region to continue.
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/NotifyMigrationTaskState
func (*MigrationHub) NotifyMigrationTaskStateRequest ¶
func (c *MigrationHub) NotifyMigrationTaskStateRequest(input *NotifyMigrationTaskStateInput) (req *request.Request, output *NotifyMigrationTaskStateOutput)
NotifyMigrationTaskStateRequest generates a "aws/request.Request" representing the client's request for the NotifyMigrationTaskState 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 NotifyMigrationTaskState for more information on using the NotifyMigrationTaskState 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 NotifyMigrationTaskStateRequest method. req, resp := client.NotifyMigrationTaskStateRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/NotifyMigrationTaskState
func (*MigrationHub) NotifyMigrationTaskStateWithContext ¶
func (c *MigrationHub) NotifyMigrationTaskStateWithContext(ctx aws.Context, input *NotifyMigrationTaskStateInput, opts ...request.Option) (*NotifyMigrationTaskStateOutput, error)
NotifyMigrationTaskStateWithContext is the same as NotifyMigrationTaskState with the addition of the ability to pass a context and additional request options.
See NotifyMigrationTaskState 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 (*MigrationHub) PutResourceAttributes ¶
func (c *MigrationHub) PutResourceAttributes(input *PutResourceAttributesInput) (*PutResourceAttributesOutput, error)
PutResourceAttributes API operation for AWS Migration Hub.
Provides identifying details of the resource being migrated so that it can be associated in the Application Discovery Service repository. This association occurs asynchronously after PutResourceAttributes returns.
Keep in mind that subsequent calls to PutResourceAttributes will override previously stored attributes. For example, if it is first called with a MAC address, but later, it is desired to add an IP address, it will then be required to call it with both the IP and MAC addresses to prevent overriding the MAC address.
Note the instructions regarding the special use case of the ResourceAttributeList (https://docs.aws.amazon.com/migrationhub/latest/ug/API_PutResourceAttributes.html#migrationhub-PutResourceAttributes-request-ResourceAttributeList) parameter when specifying any "VM" related value.
Because this is an asynchronous call, it will always return 200, whether an association occurs or not. To confirm if an association was found based on the provided details, call ListDiscoveredResources.
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 Migration Hub's API operation PutResourceAttributes for usage and error information.
Returned Error Types:
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The request was denied due to request throttling.
InternalServerError Exception raised when an internal, configuration, or dependency error is encountered.
ServiceUnavailableException Exception raised when there is an internal, configuration, or dependency error encountered.
DryRunOperation Exception raised to indicate a successfully authorized action when the DryRun flag is set to "true".
UnauthorizedOperation Exception raised to indicate a request was not authorized when the DryRun flag is set to "true".
InvalidInputException Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
ResourceNotFoundException Exception raised when the request references a resource (Application Discovery Service configuration, update stream, migration task, etc.) that does not exist in Application Discovery Service (Application Discovery Service) or in Migration Hub's repository.
HomeRegionNotSetException The home region is not set. Set the home region to continue.
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/PutResourceAttributes
func (*MigrationHub) PutResourceAttributesRequest ¶
func (c *MigrationHub) PutResourceAttributesRequest(input *PutResourceAttributesInput) (req *request.Request, output *PutResourceAttributesOutput)
PutResourceAttributesRequest generates a "aws/request.Request" representing the client's request for the PutResourceAttributes 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 PutResourceAttributes for more information on using the PutResourceAttributes 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 PutResourceAttributesRequest method. req, resp := client.PutResourceAttributesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/PutResourceAttributes
func (*MigrationHub) PutResourceAttributesWithContext ¶
func (c *MigrationHub) PutResourceAttributesWithContext(ctx aws.Context, input *PutResourceAttributesInput, opts ...request.Option) (*PutResourceAttributesOutput, error)
PutResourceAttributesWithContext is the same as PutResourceAttributes with the addition of the ability to pass a context and additional request options.
See PutResourceAttributes 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.
type MigrationTask ¶
type MigrationTask struct { // Unique identifier that references the migration task. Do not store personal // data in this field. MigrationTaskName *string `min:"1" type:"string"` // A name that identifies the vendor of the migration tool being used. ProgressUpdateStream *string `min:"1" type:"string"` // Information about the resource that is being migrated. This data will be // used to map the task to a resource in the Application Discovery Service repository. ResourceAttributeList []*ResourceAttribute `type:"list"` // Task object encapsulating task information. Task *Task `type:"structure"` // The timestamp when the task was gathered. UpdateDateTime *time.Time `type:"timestamp"` // contains filtered or unexported fields }
Represents a migration task in a migration tool.
func (MigrationTask) GoString ¶
func (s MigrationTask) 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 (*MigrationTask) SetMigrationTaskName ¶
func (s *MigrationTask) SetMigrationTaskName(v string) *MigrationTask
SetMigrationTaskName sets the MigrationTaskName field's value.
func (*MigrationTask) SetProgressUpdateStream ¶
func (s *MigrationTask) SetProgressUpdateStream(v string) *MigrationTask
SetProgressUpdateStream sets the ProgressUpdateStream field's value.
func (*MigrationTask) SetResourceAttributeList ¶
func (s *MigrationTask) SetResourceAttributeList(v []*ResourceAttribute) *MigrationTask
SetResourceAttributeList sets the ResourceAttributeList field's value.
func (*MigrationTask) SetTask ¶
func (s *MigrationTask) SetTask(v *Task) *MigrationTask
SetTask sets the Task field's value.
func (*MigrationTask) SetUpdateDateTime ¶
func (s *MigrationTask) SetUpdateDateTime(v time.Time) *MigrationTask
SetUpdateDateTime sets the UpdateDateTime field's value.
func (MigrationTask) String ¶
func (s MigrationTask) 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 MigrationTaskSummary ¶
type MigrationTaskSummary struct { // Unique identifier that references the migration task. Do not store personal // data in this field. MigrationTaskName *string `min:"1" type:"string"` // Indication of the percentage completion of the task. ProgressPercent *int64 `type:"integer"` // An AWS resource used for access control. It should uniquely identify the // migration tool as it is used for all updates made by the tool. ProgressUpdateStream *string `min:"1" type:"string"` // Status of the task. Status *string `type:"string" enum:"Status"` // Detail information of what is being done within the overall status state. StatusDetail *string `type:"string"` // The timestamp when the task was gathered. UpdateDateTime *time.Time `type:"timestamp"` // contains filtered or unexported fields }
MigrationTaskSummary includes MigrationTaskName, ProgressPercent, ProgressUpdateStream, Status, and UpdateDateTime for each task.
func (MigrationTaskSummary) GoString ¶
func (s MigrationTaskSummary) 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 (*MigrationTaskSummary) SetMigrationTaskName ¶
func (s *MigrationTaskSummary) SetMigrationTaskName(v string) *MigrationTaskSummary
SetMigrationTaskName sets the MigrationTaskName field's value.
func (*MigrationTaskSummary) SetProgressPercent ¶
func (s *MigrationTaskSummary) SetProgressPercent(v int64) *MigrationTaskSummary
SetProgressPercent sets the ProgressPercent field's value.
func (*MigrationTaskSummary) SetProgressUpdateStream ¶
func (s *MigrationTaskSummary) SetProgressUpdateStream(v string) *MigrationTaskSummary
SetProgressUpdateStream sets the ProgressUpdateStream field's value.
func (*MigrationTaskSummary) SetStatus ¶
func (s *MigrationTaskSummary) SetStatus(v string) *MigrationTaskSummary
SetStatus sets the Status field's value.
func (*MigrationTaskSummary) SetStatusDetail ¶
func (s *MigrationTaskSummary) SetStatusDetail(v string) *MigrationTaskSummary
SetStatusDetail sets the StatusDetail field's value.
func (*MigrationTaskSummary) SetUpdateDateTime ¶
func (s *MigrationTaskSummary) SetUpdateDateTime(v time.Time) *MigrationTaskSummary
SetUpdateDateTime sets the UpdateDateTime field's value.
func (MigrationTaskSummary) String ¶
func (s MigrationTaskSummary) 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 NotifyApplicationStateInput ¶
type NotifyApplicationStateInput struct { // The configurationId in Application Discovery Service that uniquely identifies // the grouped application. // // ApplicationId is a required field ApplicationId *string `min:"1" type:"string" required:"true"` // Optional boolean flag to indicate whether any effect should take place. Used // to test if the caller has permission to make the call. DryRun *bool `type:"boolean"` // Status of the application - Not Started, In-Progress, Complete. // // Status is a required field Status *string `type:"string" required:"true" enum:"ApplicationStatus"` // The timestamp when the application state changed. UpdateDateTime *time.Time `type:"timestamp"` // contains filtered or unexported fields }
func (NotifyApplicationStateInput) GoString ¶
func (s NotifyApplicationStateInput) 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 (*NotifyApplicationStateInput) SetApplicationId ¶
func (s *NotifyApplicationStateInput) SetApplicationId(v string) *NotifyApplicationStateInput
SetApplicationId sets the ApplicationId field's value.
func (*NotifyApplicationStateInput) SetDryRun ¶
func (s *NotifyApplicationStateInput) SetDryRun(v bool) *NotifyApplicationStateInput
SetDryRun sets the DryRun field's value.
func (*NotifyApplicationStateInput) SetStatus ¶
func (s *NotifyApplicationStateInput) SetStatus(v string) *NotifyApplicationStateInput
SetStatus sets the Status field's value.
func (*NotifyApplicationStateInput) SetUpdateDateTime ¶
func (s *NotifyApplicationStateInput) SetUpdateDateTime(v time.Time) *NotifyApplicationStateInput
SetUpdateDateTime sets the UpdateDateTime field's value.
func (NotifyApplicationStateInput) String ¶
func (s NotifyApplicationStateInput) 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 (*NotifyApplicationStateInput) Validate ¶
func (s *NotifyApplicationStateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NotifyApplicationStateOutput ¶
type NotifyApplicationStateOutput struct {
// contains filtered or unexported fields
}
func (NotifyApplicationStateOutput) GoString ¶
func (s NotifyApplicationStateOutput) 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 (NotifyApplicationStateOutput) String ¶
func (s NotifyApplicationStateOutput) 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 NotifyMigrationTaskStateInput ¶
type NotifyMigrationTaskStateInput struct { // Optional boolean flag to indicate whether any effect should take place. Used // to test if the caller has permission to make the call. DryRun *bool `type:"boolean"` // Unique identifier that references the migration task. Do not store personal // data in this field. // // MigrationTaskName is a required field MigrationTaskName *string `min:"1" type:"string" required:"true"` // Number of seconds after the UpdateDateTime within which the Migration Hub // can expect an update. If Migration Hub does not receive an update within // the specified interval, then the migration task will be considered stale. // // NextUpdateSeconds is a required field NextUpdateSeconds *int64 `type:"integer" required:"true"` // The name of the ProgressUpdateStream. // // ProgressUpdateStream is a required field ProgressUpdateStream *string `min:"1" type:"string" required:"true"` // Information about the task's progress and status. // // Task is a required field Task *Task `type:"structure" required:"true"` // The timestamp when the task was gathered. // // UpdateDateTime is a required field UpdateDateTime *time.Time `type:"timestamp" required:"true"` // contains filtered or unexported fields }
func (NotifyMigrationTaskStateInput) GoString ¶
func (s NotifyMigrationTaskStateInput) 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 (*NotifyMigrationTaskStateInput) SetDryRun ¶
func (s *NotifyMigrationTaskStateInput) SetDryRun(v bool) *NotifyMigrationTaskStateInput
SetDryRun sets the DryRun field's value.
func (*NotifyMigrationTaskStateInput) SetMigrationTaskName ¶
func (s *NotifyMigrationTaskStateInput) SetMigrationTaskName(v string) *NotifyMigrationTaskStateInput
SetMigrationTaskName sets the MigrationTaskName field's value.
func (*NotifyMigrationTaskStateInput) SetNextUpdateSeconds ¶
func (s *NotifyMigrationTaskStateInput) SetNextUpdateSeconds(v int64) *NotifyMigrationTaskStateInput
SetNextUpdateSeconds sets the NextUpdateSeconds field's value.
func (*NotifyMigrationTaskStateInput) SetProgressUpdateStream ¶
func (s *NotifyMigrationTaskStateInput) SetProgressUpdateStream(v string) *NotifyMigrationTaskStateInput
SetProgressUpdateStream sets the ProgressUpdateStream field's value.
func (*NotifyMigrationTaskStateInput) SetTask ¶
func (s *NotifyMigrationTaskStateInput) SetTask(v *Task) *NotifyMigrationTaskStateInput
SetTask sets the Task field's value.
func (*NotifyMigrationTaskStateInput) SetUpdateDateTime ¶
func (s *NotifyMigrationTaskStateInput) SetUpdateDateTime(v time.Time) *NotifyMigrationTaskStateInput
SetUpdateDateTime sets the UpdateDateTime field's value.
func (NotifyMigrationTaskStateInput) String ¶
func (s NotifyMigrationTaskStateInput) 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 (*NotifyMigrationTaskStateInput) Validate ¶
func (s *NotifyMigrationTaskStateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NotifyMigrationTaskStateOutput ¶
type NotifyMigrationTaskStateOutput struct {
// contains filtered or unexported fields
}
func (NotifyMigrationTaskStateOutput) GoString ¶
func (s NotifyMigrationTaskStateOutput) 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 (NotifyMigrationTaskStateOutput) String ¶
func (s NotifyMigrationTaskStateOutput) 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 PolicyErrorException ¶
type PolicyErrorException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
Exception raised when there are problems accessing Application Discovery Service (Application Discovery Service); most likely due to a misconfigured policy or the migrationhub-discovery role is missing or not configured correctly.
func (*PolicyErrorException) Code ¶
func (s *PolicyErrorException) Code() string
Code returns the exception type name.
func (*PolicyErrorException) Error ¶
func (s *PolicyErrorException) Error() string
func (PolicyErrorException) GoString ¶
func (s PolicyErrorException) 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 (*PolicyErrorException) Message ¶
func (s *PolicyErrorException) Message() string
Message returns the exception's message.
func (*PolicyErrorException) OrigErr ¶
func (s *PolicyErrorException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*PolicyErrorException) RequestID ¶
func (s *PolicyErrorException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*PolicyErrorException) StatusCode ¶
func (s *PolicyErrorException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (PolicyErrorException) String ¶
func (s PolicyErrorException) 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 ProgressUpdateStreamSummary ¶
type ProgressUpdateStreamSummary struct { // The name of the ProgressUpdateStream. Do not store personal data in this // field. ProgressUpdateStreamName *string `min:"1" type:"string"` // contains filtered or unexported fields }
Summary of the AWS resource used for access control that is implicitly linked to your AWS account.
func (ProgressUpdateStreamSummary) GoString ¶
func (s ProgressUpdateStreamSummary) 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 (*ProgressUpdateStreamSummary) SetProgressUpdateStreamName ¶
func (s *ProgressUpdateStreamSummary) SetProgressUpdateStreamName(v string) *ProgressUpdateStreamSummary
SetProgressUpdateStreamName sets the ProgressUpdateStreamName field's value.
func (ProgressUpdateStreamSummary) String ¶
func (s ProgressUpdateStreamSummary) 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 PutResourceAttributesInput ¶
type PutResourceAttributesInput struct { // Optional boolean flag to indicate whether any effect should take place. Used // to test if the caller has permission to make the call. DryRun *bool `type:"boolean"` // Unique identifier that references the migration task. Do not store personal // data in this field. // // MigrationTaskName is a required field MigrationTaskName *string `min:"1" type:"string" required:"true"` // The name of the ProgressUpdateStream. // // ProgressUpdateStream is a required field ProgressUpdateStream *string `min:"1" type:"string" required:"true"` // Information about the resource that is being migrated. This data will be // used to map the task to a resource in the Application Discovery Service repository. // // Takes the object array of ResourceAttribute where the Type field is reserved // for the following values: IPV4_ADDRESS | IPV6_ADDRESS | MAC_ADDRESS | FQDN // | VM_MANAGER_ID | VM_MANAGED_OBJECT_REFERENCE | VM_NAME | VM_PATH | BIOS_ID // | MOTHERBOARD_SERIAL_NUMBER where the identifying value can be a string up // to 256 characters. // // * If any "VM" related value is set for a ResourceAttribute object, it // is required that VM_MANAGER_ID, as a minimum, is always set. If VM_MANAGER_ID // is not set, then all "VM" fields will be discarded and "VM" fields will // not be used for matching the migration task to a server in Application // Discovery Service repository. See the Example (https://docs.aws.amazon.com/migrationhub/latest/ug/API_PutResourceAttributes.html#API_PutResourceAttributes_Examples) // section below for a use case of specifying "VM" related values. // // * If a server you are trying to match has multiple IP or MAC addresses, // you should provide as many as you know in separate type/value pairs passed // to the ResourceAttributeList parameter to maximize the chances of matching. // // ResourceAttributeList is a required field ResourceAttributeList []*ResourceAttribute `min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (PutResourceAttributesInput) GoString ¶
func (s PutResourceAttributesInput) 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 (*PutResourceAttributesInput) SetDryRun ¶
func (s *PutResourceAttributesInput) SetDryRun(v bool) *PutResourceAttributesInput
SetDryRun sets the DryRun field's value.
func (*PutResourceAttributesInput) SetMigrationTaskName ¶
func (s *PutResourceAttributesInput) SetMigrationTaskName(v string) *PutResourceAttributesInput
SetMigrationTaskName sets the MigrationTaskName field's value.
func (*PutResourceAttributesInput) SetProgressUpdateStream ¶
func (s *PutResourceAttributesInput) SetProgressUpdateStream(v string) *PutResourceAttributesInput
SetProgressUpdateStream sets the ProgressUpdateStream field's value.
func (*PutResourceAttributesInput) SetResourceAttributeList ¶
func (s *PutResourceAttributesInput) SetResourceAttributeList(v []*ResourceAttribute) *PutResourceAttributesInput
SetResourceAttributeList sets the ResourceAttributeList field's value.
func (PutResourceAttributesInput) String ¶
func (s PutResourceAttributesInput) 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 (*PutResourceAttributesInput) Validate ¶
func (s *PutResourceAttributesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutResourceAttributesOutput ¶
type PutResourceAttributesOutput struct {
// contains filtered or unexported fields
}
func (PutResourceAttributesOutput) GoString ¶
func (s PutResourceAttributesOutput) 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 (PutResourceAttributesOutput) String ¶
func (s PutResourceAttributesOutput) 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 ResourceAttribute ¶
type ResourceAttribute struct { // Type of resource. // // Type is a required field Type *string `type:"string" required:"true" enum:"ResourceAttributeType"` // Value of the resource type. // // Value is a required field Value *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Attribute associated with a resource.
Note the corresponding format required per type listed below:
IPV4 ¶
x.x.x.x
where x is an integer in the range [0,255]
IPV6 ¶
y : y : y : y : y : y : y : y
where y is a hexadecimal between 0 and FFFF. [0, FFFF]
MAC_ADDRESS
^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$
FQDN ¶
^[^<>{}\\\\/?,=\\p{Cntrl}]{1,256}$
func (ResourceAttribute) GoString ¶
func (s ResourceAttribute) 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 (*ResourceAttribute) SetType ¶
func (s *ResourceAttribute) SetType(v string) *ResourceAttribute
SetType sets the Type field's value.
func (*ResourceAttribute) SetValue ¶
func (s *ResourceAttribute) SetValue(v string) *ResourceAttribute
SetValue sets the Value field's value.
func (ResourceAttribute) String ¶
func (s ResourceAttribute) 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 (*ResourceAttribute) Validate ¶
func (s *ResourceAttribute) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
Exception raised when the request references a resource (Application Discovery Service configuration, update stream, migration task, etc.) that does not exist in Application Discovery Service (Application Discovery Service) or in Migration Hub's repository.
func (*ResourceNotFoundException) Code ¶
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (*ResourceNotFoundException) Error ¶
func (s *ResourceNotFoundException) Error() string
func (ResourceNotFoundException) GoString ¶
func (s ResourceNotFoundException) 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 (*ResourceNotFoundException) Message ¶
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (*ResourceNotFoundException) OrigErr ¶
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceNotFoundException) RequestID ¶
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceNotFoundException) StatusCode ¶
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceNotFoundException) String ¶
func (s ResourceNotFoundException) 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 ServiceUnavailableException ¶
type ServiceUnavailableException struct { // contains filtered or unexported fields }
Exception raised when there is an internal, configuration, or dependency error encountered.
func (*ServiceUnavailableException) Code ¶
func (s *ServiceUnavailableException) Code() string
Code returns the exception type name.
func (*ServiceUnavailableException) Error ¶
func (s *ServiceUnavailableException) Error() string
func (ServiceUnavailableException) GoString ¶
func (s ServiceUnavailableException) 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 (*ServiceUnavailableException) Message ¶
func (s *ServiceUnavailableException) Message() string
Message returns the exception's message.
func (*ServiceUnavailableException) OrigErr ¶
func (s *ServiceUnavailableException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ServiceUnavailableException) RequestID ¶
func (s *ServiceUnavailableException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ServiceUnavailableException) StatusCode ¶
func (s *ServiceUnavailableException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ServiceUnavailableException) String ¶
func (s ServiceUnavailableException) 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 Task ¶
type Task struct { // Indication of the percentage completion of the task. ProgressPercent *int64 `type:"integer"` // Status of the task - Not Started, In-Progress, Complete. // // Status is a required field Status *string `type:"string" required:"true" enum:"Status"` // Details of task status as notified by a migration tool. A tool might use // this field to provide clarifying information about the status that is unique // to that tool or that explains an error state. StatusDetail *string `type:"string"` // contains filtered or unexported fields }
Task object encapsulating task information.
func (Task) GoString ¶
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 (*Task) SetProgressPercent ¶
SetProgressPercent sets the ProgressPercent field's value.
func (*Task) SetStatusDetail ¶
SetStatusDetail sets the StatusDetail field's value.
type ThrottlingException ¶
type ThrottlingException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // A message that provides information about the exception. Message_ *string `locationName:"Message" type:"string"` // The number of seconds the caller should wait before retrying. RetryAfterSeconds *int64 `type:"integer"` // contains filtered or unexported fields }
The request was denied due to request throttling.
func (*ThrottlingException) Code ¶
func (s *ThrottlingException) Code() string
Code returns the exception type name.
func (*ThrottlingException) Error ¶
func (s *ThrottlingException) Error() string
func (ThrottlingException) GoString ¶
func (s ThrottlingException) 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 (*ThrottlingException) Message ¶
func (s *ThrottlingException) Message() string
Message returns the exception's message.
func (*ThrottlingException) OrigErr ¶
func (s *ThrottlingException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ThrottlingException) RequestID ¶
func (s *ThrottlingException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ThrottlingException) StatusCode ¶
func (s *ThrottlingException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ThrottlingException) String ¶
func (s ThrottlingException) 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 UnauthorizedOperation ¶
type UnauthorizedOperation struct { // contains filtered or unexported fields }
Exception raised to indicate a request was not authorized when the DryRun flag is set to "true".
func (*UnauthorizedOperation) Code ¶
func (s *UnauthorizedOperation) Code() string
Code returns the exception type name.
func (*UnauthorizedOperation) Error ¶
func (s *UnauthorizedOperation) Error() string
func (UnauthorizedOperation) GoString ¶
func (s UnauthorizedOperation) 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 (*UnauthorizedOperation) Message ¶
func (s *UnauthorizedOperation) Message() string
Message returns the exception's message.
func (*UnauthorizedOperation) OrigErr ¶
func (s *UnauthorizedOperation) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*UnauthorizedOperation) RequestID ¶
func (s *UnauthorizedOperation) RequestID() string
RequestID returns the service's response RequestID for request.
func (*UnauthorizedOperation) StatusCode ¶
func (s *UnauthorizedOperation) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (UnauthorizedOperation) String ¶
func (s UnauthorizedOperation) 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".
Directories ¶
Path | Synopsis |
---|---|
Package migrationhubiface provides an interface to enable mocking the AWS Migration Hub service client for testing your code.
|
Package migrationhubiface provides an interface to enable mocking the AWS Migration Hub service client for testing your code. |