Documentation ¶
Overview ¶
Package migrationhub provides the client and types for making API requests to AWS Migration Hub.
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 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
- type ApplicationStatus
- 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 AssociateCreatedArtifactRequest
- 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 AssociateDiscoveredResourceRequest
- 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 CreateProgressUpdateStreamRequest
- 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 DeleteProgressUpdateStreamRequest
- type DescribeApplicationStateInput
- type DescribeApplicationStateOutput
- func (s DescribeApplicationStateOutput) GoString() string
- func (s DescribeApplicationStateOutput) SDKResponseMetadata() aws.Response
- func (s *DescribeApplicationStateOutput) SetApplicationStatus(v ApplicationStatus) *DescribeApplicationStateOutput
- func (s *DescribeApplicationStateOutput) SetLastUpdatedTime(v time.Time) *DescribeApplicationStateOutput
- func (s DescribeApplicationStateOutput) String() string
- type DescribeApplicationStateRequest
- 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 DescribeMigrationTaskRequest
- 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 DisassociateCreatedArtifactRequest
- 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 DisassociateDiscoveredResourceRequest
- type DiscoveredResource
- 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 ImportMigrationTaskRequest
- 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) SDKResponseMetadata() aws.Response
- func (s *ListCreatedArtifactsOutput) SetCreatedArtifactList(v []CreatedArtifact) *ListCreatedArtifactsOutput
- func (s *ListCreatedArtifactsOutput) SetNextToken(v string) *ListCreatedArtifactsOutput
- func (s ListCreatedArtifactsOutput) String() string
- type ListCreatedArtifactsRequest
- 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) SDKResponseMetadata() aws.Response
- func (s *ListDiscoveredResourcesOutput) SetDiscoveredResourceList(v []DiscoveredResource) *ListDiscoveredResourcesOutput
- func (s *ListDiscoveredResourcesOutput) SetNextToken(v string) *ListDiscoveredResourcesOutput
- func (s ListDiscoveredResourcesOutput) String() string
- type ListDiscoveredResourcesRequest
- 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) SDKResponseMetadata() aws.Response
- func (s *ListMigrationTasksOutput) SetMigrationTaskSummaryList(v []MigrationTaskSummary) *ListMigrationTasksOutput
- func (s *ListMigrationTasksOutput) SetNextToken(v string) *ListMigrationTasksOutput
- func (s ListMigrationTasksOutput) String() string
- type ListMigrationTasksRequest
- 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) SDKResponseMetadata() aws.Response
- func (s *ListProgressUpdateStreamsOutput) SetNextToken(v string) *ListProgressUpdateStreamsOutput
- func (s *ListProgressUpdateStreamsOutput) SetProgressUpdateStreamSummaryList(v []ProgressUpdateStreamSummary) *ListProgressUpdateStreamsOutput
- func (s ListProgressUpdateStreamsOutput) String() string
- type ListProgressUpdateStreamsRequest
- type MigrationHub
- func (c *MigrationHub) AssociateCreatedArtifactRequest(input *AssociateCreatedArtifactInput) AssociateCreatedArtifactRequest
- func (c *MigrationHub) AssociateDiscoveredResourceRequest(input *AssociateDiscoveredResourceInput) AssociateDiscoveredResourceRequest
- func (c *MigrationHub) CreateProgressUpdateStreamRequest(input *CreateProgressUpdateStreamInput) CreateProgressUpdateStreamRequest
- func (c *MigrationHub) DeleteProgressUpdateStreamRequest(input *DeleteProgressUpdateStreamInput) DeleteProgressUpdateStreamRequest
- func (c *MigrationHub) DescribeApplicationStateRequest(input *DescribeApplicationStateInput) DescribeApplicationStateRequest
- func (c *MigrationHub) DescribeMigrationTaskRequest(input *DescribeMigrationTaskInput) DescribeMigrationTaskRequest
- func (c *MigrationHub) DisassociateCreatedArtifactRequest(input *DisassociateCreatedArtifactInput) DisassociateCreatedArtifactRequest
- func (c *MigrationHub) DisassociateDiscoveredResourceRequest(input *DisassociateDiscoveredResourceInput) DisassociateDiscoveredResourceRequest
- func (c *MigrationHub) ImportMigrationTaskRequest(input *ImportMigrationTaskInput) ImportMigrationTaskRequest
- func (c *MigrationHub) ListCreatedArtifactsRequest(input *ListCreatedArtifactsInput) ListCreatedArtifactsRequest
- func (c *MigrationHub) ListDiscoveredResourcesRequest(input *ListDiscoveredResourcesInput) ListDiscoveredResourcesRequest
- func (c *MigrationHub) ListMigrationTasksRequest(input *ListMigrationTasksInput) ListMigrationTasksRequest
- func (c *MigrationHub) ListProgressUpdateStreamsRequest(input *ListProgressUpdateStreamsInput) ListProgressUpdateStreamsRequest
- func (c *MigrationHub) NotifyApplicationStateRequest(input *NotifyApplicationStateInput) NotifyApplicationStateRequest
- func (c *MigrationHub) NotifyMigrationTaskStateRequest(input *NotifyMigrationTaskStateInput) NotifyMigrationTaskStateRequest
- func (c *MigrationHub) PutResourceAttributesRequest(input *PutResourceAttributesInput) PutResourceAttributesRequest
- 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 Status) *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 ApplicationStatus) *NotifyApplicationStateInput
- func (s NotifyApplicationStateInput) String() string
- func (s *NotifyApplicationStateInput) Validate() error
- type NotifyApplicationStateOutput
- type NotifyApplicationStateRequest
- 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 NotifyMigrationTaskStateRequest
- 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 PutResourceAttributesRequest
- type ResourceAttribute
- type ResourceAttributeType
- type Status
- type Task
Constants ¶
const ( // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". // // Exception raised when the account making the call is not whitelisted or there // are other authentication errors. 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" // ErrCodeInternalServerError for service response error code // "InternalServerError". // // Exception raised when there is an internal, configuration, or dependency // error 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 ADS (Application Discovery // Service); most likely due to a misconfigured policy or the ADSCaller role // is missing or not configured correctly. ErrCodePolicyErrorException = "PolicyErrorException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // Exception raised when the request references a resource (ADS configuration, // update stream, migration task, etc.) that does not exist in ADS (Application // Discovery Service) or in Migration Hub's repository. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // "ServiceUnavailableException". // // Exception raised when the service encounters throttled communication with // upstream dependencies or is overloaded with requests. ErrCodeServiceUnavailableException = "ServiceUnavailableException" // "UnauthorizedOperation". // // Exception raised to indicate a request was not authorized when the DryRun // flag is set to "true". ErrCodeUnauthorizedOperation = "UnauthorizedOperation" )
const ( ServiceName = "mgh" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationStatus ¶
type ApplicationStatus string
const ( ApplicationStatusNotStarted ApplicationStatus = "NOT_STARTED" ApplicationStatusInProgress ApplicationStatus = "IN_PROGRESS" ApplicationStatusCompleted ApplicationStatus = "COMPLETED" )
Enum values for ApplicationStatus
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. // // 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateCreatedArtifactRequest
func (AssociateCreatedArtifactInput) GoString ¶
func (s AssociateCreatedArtifactInput) GoString() string
GoString returns the string representation
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
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateCreatedArtifactResult
func (AssociateCreatedArtifactOutput) GoString ¶
func (s AssociateCreatedArtifactOutput) GoString() string
GoString returns the string representation
func (AssociateCreatedArtifactOutput) SDKResponseMetadata ¶
func (s AssociateCreatedArtifactOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (AssociateCreatedArtifactOutput) String ¶
func (s AssociateCreatedArtifactOutput) String() string
String returns the string representation
type AssociateCreatedArtifactRequest ¶
type AssociateCreatedArtifactRequest struct { *aws.Request Input *AssociateCreatedArtifactInput }
AssociateCreatedArtifactRequest is a API request type for the AssociateCreatedArtifact API operation.
func (AssociateCreatedArtifactRequest) Send ¶
func (r AssociateCreatedArtifactRequest) Send() (*AssociateCreatedArtifactOutput, error)
Send marshals and sends the AssociateCreatedArtifact API request.
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. // // 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateDiscoveredResourceRequest
func (AssociateDiscoveredResourceInput) GoString ¶
func (s AssociateDiscoveredResourceInput) GoString() string
GoString returns the string representation
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
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateDiscoveredResourceResult
func (AssociateDiscoveredResourceOutput) GoString ¶
func (s AssociateDiscoveredResourceOutput) GoString() string
GoString returns the string representation
func (AssociateDiscoveredResourceOutput) SDKResponseMetadata ¶
func (s AssociateDiscoveredResourceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (AssociateDiscoveredResourceOutput) String ¶
func (s AssociateDiscoveredResourceOutput) String() string
String returns the string representation
type AssociateDiscoveredResourceRequest ¶
type AssociateDiscoveredResourceRequest struct { *aws.Request Input *AssociateDiscoveredResourceInput }
AssociateDiscoveredResourceRequest is a API request type for the AssociateDiscoveredResource API operation.
func (AssociateDiscoveredResourceRequest) Send ¶
func (r AssociateDiscoveredResourceRequest) Send() (*AssociateDiscoveredResourceOutput, error)
Send marshals and sends the AssociateDiscoveredResource API request.
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. // // ProgressUpdateStreamName is a required field ProgressUpdateStreamName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/CreateProgressUpdateStreamRequest
func (CreateProgressUpdateStreamInput) GoString ¶
func (s CreateProgressUpdateStreamInput) GoString() string
GoString returns the string representation
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
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/CreateProgressUpdateStreamResult
func (CreateProgressUpdateStreamOutput) GoString ¶
func (s CreateProgressUpdateStreamOutput) GoString() string
GoString returns the string representation
func (CreateProgressUpdateStreamOutput) SDKResponseMetadata ¶
func (s CreateProgressUpdateStreamOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateProgressUpdateStreamOutput) String ¶
func (s CreateProgressUpdateStreamOutput) String() string
String returns the string representation
type CreateProgressUpdateStreamRequest ¶
type CreateProgressUpdateStreamRequest struct { *aws.Request Input *CreateProgressUpdateStreamInput }
CreateProgressUpdateStreamRequest is a API request type for the CreateProgressUpdateStream API operation.
func (CreateProgressUpdateStreamRequest) Send ¶
func (r CreateProgressUpdateStreamRequest) Send() (*CreateProgressUpdateStreamOutput, error)
Send marshals and sends the CreateProgressUpdateStream API request.
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.). Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/CreatedArtifact
func (CreatedArtifact) GoString ¶
func (s CreatedArtifact) GoString() string
GoString returns the string representation
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
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. // // ProgressUpdateStreamName is a required field ProgressUpdateStreamName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DeleteProgressUpdateStreamRequest
func (DeleteProgressUpdateStreamInput) GoString ¶
func (s DeleteProgressUpdateStreamInput) GoString() string
GoString returns the string representation
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
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DeleteProgressUpdateStreamResult
func (DeleteProgressUpdateStreamOutput) GoString ¶
func (s DeleteProgressUpdateStreamOutput) GoString() string
GoString returns the string representation
func (DeleteProgressUpdateStreamOutput) SDKResponseMetadata ¶
func (s DeleteProgressUpdateStreamOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteProgressUpdateStreamOutput) String ¶
func (s DeleteProgressUpdateStreamOutput) String() string
String returns the string representation
type DeleteProgressUpdateStreamRequest ¶
type DeleteProgressUpdateStreamRequest struct { *aws.Request Input *DeleteProgressUpdateStreamInput }
DeleteProgressUpdateStreamRequest is a API request type for the DeleteProgressUpdateStream API operation.
func (DeleteProgressUpdateStreamRequest) Send ¶
func (r DeleteProgressUpdateStreamRequest) Send() (*DeleteProgressUpdateStreamOutput, error)
Send marshals and sends the DeleteProgressUpdateStream API request.
type DescribeApplicationStateInput ¶
type DescribeApplicationStateInput struct { // The configurationId in ADS that uniquely identifies the grouped application. // // ApplicationId is a required field ApplicationId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeApplicationStateRequest
func (DescribeApplicationStateInput) GoString ¶
func (s DescribeApplicationStateInput) GoString() string
GoString returns the string representation
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
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 ApplicationStatus `type:"string" enum:"true"` // The timestamp when the application status was last updated. LastUpdatedTime *time.Time `type:"timestamp" timestampFormat:"unix"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeApplicationStateResult
func (DescribeApplicationStateOutput) GoString ¶
func (s DescribeApplicationStateOutput) GoString() string
GoString returns the string representation
func (DescribeApplicationStateOutput) SDKResponseMetadata ¶
func (s DescribeApplicationStateOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeApplicationStateOutput) SetApplicationStatus ¶
func (s *DescribeApplicationStateOutput) SetApplicationStatus(v ApplicationStatus) *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
type DescribeApplicationStateRequest ¶
type DescribeApplicationStateRequest struct { *aws.Request Input *DescribeApplicationStateInput }
DescribeApplicationStateRequest is a API request type for the DescribeApplicationState API operation.
func (DescribeApplicationStateRequest) Send ¶
func (r DescribeApplicationStateRequest) Send() (*DescribeApplicationStateOutput, error)
Send marshals and sends the DescribeApplicationState API request.
type DescribeMigrationTaskInput ¶
type DescribeMigrationTaskInput struct { // The identifier given to the MigrationTask. // // 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeMigrationTaskRequest
func (DescribeMigrationTaskInput) GoString ¶
func (s DescribeMigrationTaskInput) GoString() string
GoString returns the string representation
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
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeMigrationTaskResult
func (DescribeMigrationTaskOutput) GoString ¶
func (s DescribeMigrationTaskOutput) GoString() string
GoString returns the string representation
func (DescribeMigrationTaskOutput) SDKResponseMetadata ¶
func (s DescribeMigrationTaskOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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
type DescribeMigrationTaskRequest ¶
type DescribeMigrationTaskRequest struct { *aws.Request Input *DescribeMigrationTaskInput }
DescribeMigrationTaskRequest is a API request type for the DescribeMigrationTask API operation.
func (DescribeMigrationTaskRequest) Send ¶
func (r DescribeMigrationTaskRequest) Send() (*DescribeMigrationTaskOutput, error)
Send marshals and sends the DescribeMigrationTask API request.
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. // // 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateCreatedArtifactRequest
func (DisassociateCreatedArtifactInput) GoString ¶
func (s DisassociateCreatedArtifactInput) GoString() string
GoString returns the string representation
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
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateCreatedArtifactResult
func (DisassociateCreatedArtifactOutput) GoString ¶
func (s DisassociateCreatedArtifactOutput) GoString() string
GoString returns the string representation
func (DisassociateCreatedArtifactOutput) SDKResponseMetadata ¶
func (s DisassociateCreatedArtifactOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DisassociateCreatedArtifactOutput) String ¶
func (s DisassociateCreatedArtifactOutput) String() string
String returns the string representation
type DisassociateCreatedArtifactRequest ¶
type DisassociateCreatedArtifactRequest struct { *aws.Request Input *DisassociateCreatedArtifactInput }
DisassociateCreatedArtifactRequest is a API request type for the DisassociateCreatedArtifact API operation.
func (DisassociateCreatedArtifactRequest) Send ¶
func (r DisassociateCreatedArtifactRequest) Send() (*DisassociateCreatedArtifactOutput, error)
Send marshals and sends the DisassociateCreatedArtifact API request.
type DisassociateDiscoveredResourceInput ¶
type DisassociateDiscoveredResourceInput struct { // ConfigurationId of the ADS 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. // // 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateDiscoveredResourceRequest
func (DisassociateDiscoveredResourceInput) GoString ¶
func (s DisassociateDiscoveredResourceInput) GoString() string
GoString returns the string representation
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
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateDiscoveredResourceResult
func (DisassociateDiscoveredResourceOutput) GoString ¶
func (s DisassociateDiscoveredResourceOutput) GoString() string
GoString returns the string representation
func (DisassociateDiscoveredResourceOutput) SDKResponseMetadata ¶
func (s DisassociateDiscoveredResourceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DisassociateDiscoveredResourceOutput) String ¶
func (s DisassociateDiscoveredResourceOutput) String() string
String returns the string representation
type DisassociateDiscoveredResourceRequest ¶
type DisassociateDiscoveredResourceRequest struct { *aws.Request Input *DisassociateDiscoveredResourceInput }
DisassociateDiscoveredResourceRequest is a API request type for the DisassociateDiscoveredResource API operation.
func (DisassociateDiscoveredResourceRequest) Send ¶
func (r DisassociateDiscoveredResourceRequest) Send() (*DisassociateDiscoveredResourceOutput, error)
Send marshals and sends the DisassociateDiscoveredResource API request.
type DiscoveredResource ¶
type DiscoveredResource struct { // The configurationId in ADS that uniquely identifies the on-premises 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DiscoveredResource
func (DiscoveredResource) GoString ¶
func (s DiscoveredResource) GoString() string
GoString returns the string representation
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
func (*DiscoveredResource) Validate ¶
func (s *DiscoveredResource) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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. // // 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ImportMigrationTaskRequest
func (ImportMigrationTaskInput) GoString ¶
func (s ImportMigrationTaskInput) GoString() string
GoString returns the string representation
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
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ImportMigrationTaskResult
func (ImportMigrationTaskOutput) GoString ¶
func (s ImportMigrationTaskOutput) GoString() string
GoString returns the string representation
func (ImportMigrationTaskOutput) SDKResponseMetadata ¶
func (s ImportMigrationTaskOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ImportMigrationTaskOutput) String ¶
func (s ImportMigrationTaskOutput) String() string
String returns the string representation
type ImportMigrationTaskRequest ¶
type ImportMigrationTaskRequest struct { *aws.Request Input *ImportMigrationTaskInput }
ImportMigrationTaskRequest is a API request type for the ImportMigrationTask API operation.
func (ImportMigrationTaskRequest) Send ¶
func (r ImportMigrationTaskRequest) Send() (*ImportMigrationTaskOutput, error)
Send marshals and sends the ImportMigrationTask API request.
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. // // 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListCreatedArtifactsRequest
func (ListCreatedArtifactsInput) GoString ¶
func (s ListCreatedArtifactsInput) GoString() string
GoString returns the string representation
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
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListCreatedArtifactsResult
func (ListCreatedArtifactsOutput) GoString ¶
func (s ListCreatedArtifactsOutput) GoString() string
GoString returns the string representation
func (ListCreatedArtifactsOutput) SDKResponseMetadata ¶
func (s ListCreatedArtifactsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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
type ListCreatedArtifactsRequest ¶
type ListCreatedArtifactsRequest struct { *aws.Request Input *ListCreatedArtifactsInput }
ListCreatedArtifactsRequest is a API request type for the ListCreatedArtifacts API operation.
func (ListCreatedArtifactsRequest) Send ¶
func (r ListCreatedArtifactsRequest) Send() (*ListCreatedArtifactsOutput, error)
Send marshals and sends the ListCreatedArtifacts API request.
type ListDiscoveredResourcesInput ¶
type ListDiscoveredResourcesInput struct { // The maximum number of results returned per page. MaxResults *int64 `min:"1" type:"integer"` // The name of the MigrationTask. // // 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListDiscoveredResourcesRequest
func (ListDiscoveredResourcesInput) GoString ¶
func (s ListDiscoveredResourcesInput) GoString() string
GoString returns the string representation
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
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListDiscoveredResourcesResult
func (ListDiscoveredResourcesOutput) GoString ¶
func (s ListDiscoveredResourcesOutput) GoString() string
GoString returns the string representation
func (ListDiscoveredResourcesOutput) SDKResponseMetadata ¶
func (s ListDiscoveredResourcesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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
type ListDiscoveredResourcesRequest ¶
type ListDiscoveredResourcesRequest struct { *aws.Request Input *ListDiscoveredResourcesInput }
ListDiscoveredResourcesRequest is a API request type for the ListDiscoveredResources API operation.
func (ListDiscoveredResourcesRequest) Send ¶
func (r ListDiscoveredResourcesRequest) Send() (*ListDiscoveredResourcesOutput, error)
Send marshals and sends the ListDiscoveredResources API request.
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListMigrationTasksRequest
func (ListMigrationTasksInput) GoString ¶
func (s ListMigrationTasksInput) GoString() string
GoString returns the string representation
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
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListMigrationTasksResult
func (ListMigrationTasksOutput) GoString ¶
func (s ListMigrationTasksOutput) GoString() string
GoString returns the string representation
func (ListMigrationTasksOutput) SDKResponseMetadata ¶
func (s ListMigrationTasksOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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
type ListMigrationTasksRequest ¶
type ListMigrationTasksRequest struct { *aws.Request Input *ListMigrationTasksInput }
ListMigrationTasksRequest is a API request type for the ListMigrationTasks API operation.
func (ListMigrationTasksRequest) Send ¶
func (r ListMigrationTasksRequest) Send() (*ListMigrationTasksOutput, error)
Send marshals and sends the ListMigrationTasks API request.
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListProgressUpdateStreamsRequest
func (ListProgressUpdateStreamsInput) GoString ¶
func (s ListProgressUpdateStreamsInput) GoString() string
GoString returns the string representation
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
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListProgressUpdateStreamsResult
func (ListProgressUpdateStreamsOutput) GoString ¶
func (s ListProgressUpdateStreamsOutput) GoString() string
GoString returns the string representation
func (ListProgressUpdateStreamsOutput) SDKResponseMetadata ¶
func (s ListProgressUpdateStreamsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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
type ListProgressUpdateStreamsRequest ¶
type ListProgressUpdateStreamsRequest struct { *aws.Request Input *ListProgressUpdateStreamsInput }
ListProgressUpdateStreamsRequest is a API request type for the ListProgressUpdateStreams API operation.
func (ListProgressUpdateStreamsRequest) Send ¶
func (r ListProgressUpdateStreamsRequest) Send() (*ListProgressUpdateStreamsOutput, error)
Send marshals and sends the ListProgressUpdateStreams API request.
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(config aws.Config) *MigrationHub
New creates a new instance of the MigrationHub client with a config. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
// Create a MigrationHub client from just a config. svc := migrationhub.New(myConfig) // Create a MigrationHub client with additional configuration svc := migrationhub.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func (*MigrationHub) AssociateCreatedArtifactRequest ¶
func (c *MigrationHub) AssociateCreatedArtifactRequest(input *AssociateCreatedArtifactInput) AssociateCreatedArtifactRequest
AssociateCreatedArtifactRequest returns a request value for making 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.
// Example sending a request using the AssociateCreatedArtifactRequest method. req := client.AssociateCreatedArtifactRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateCreatedArtifact
func (*MigrationHub) AssociateDiscoveredResourceRequest ¶
func (c *MigrationHub) AssociateDiscoveredResourceRequest(input *AssociateDiscoveredResourceInput) AssociateDiscoveredResourceRequest
AssociateDiscoveredResourceRequest returns a request value for making API operation for AWS Migration Hub.
Associates a discovered resource ID from Application Discovery Service (ADS) with a migration task.
// Example sending a request using the AssociateDiscoveredResourceRequest method. req := client.AssociateDiscoveredResourceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateDiscoveredResource
func (*MigrationHub) CreateProgressUpdateStreamRequest ¶
func (c *MigrationHub) CreateProgressUpdateStreamRequest(input *CreateProgressUpdateStreamInput) CreateProgressUpdateStreamRequest
CreateProgressUpdateStreamRequest returns a request value for making 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.
// Example sending a request using the CreateProgressUpdateStreamRequest method. req := client.CreateProgressUpdateStreamRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/CreateProgressUpdateStream
func (*MigrationHub) DeleteProgressUpdateStreamRequest ¶
func (c *MigrationHub) DeleteProgressUpdateStreamRequest(input *DeleteProgressUpdateStreamInput) DeleteProgressUpdateStreamRequest
DeleteProgressUpdateStreamRequest returns a request value for making 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 be doing the actual delete of 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 realted 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).
// Example sending a request using the DeleteProgressUpdateStreamRequest method. req := client.DeleteProgressUpdateStreamRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DeleteProgressUpdateStream
func (*MigrationHub) DescribeApplicationStateRequest ¶
func (c *MigrationHub) DescribeApplicationStateRequest(input *DescribeApplicationStateInput) DescribeApplicationStateRequest
DescribeApplicationStateRequest returns a request value for making API operation for AWS Migration Hub.
Gets the migration status of an application.
// Example sending a request using the DescribeApplicationStateRequest method. req := client.DescribeApplicationStateRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeApplicationState
func (*MigrationHub) DescribeMigrationTaskRequest ¶
func (c *MigrationHub) DescribeMigrationTaskRequest(input *DescribeMigrationTaskInput) DescribeMigrationTaskRequest
DescribeMigrationTaskRequest returns a request value for making API operation for AWS Migration Hub.
Retrieves a list of all attributes associated with a specific migration task.
// Example sending a request using the DescribeMigrationTaskRequest method. req := client.DescribeMigrationTaskRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeMigrationTask
func (*MigrationHub) DisassociateCreatedArtifactRequest ¶
func (c *MigrationHub) DisassociateCreatedArtifactRequest(input *DisassociateCreatedArtifactInput) DisassociateCreatedArtifactRequest
DisassociateCreatedArtifactRequest returns a request value for making 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.
// Example sending a request using the DisassociateCreatedArtifactRequest method. req := client.DisassociateCreatedArtifactRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateCreatedArtifact
func (*MigrationHub) DisassociateDiscoveredResourceRequest ¶
func (c *MigrationHub) DisassociateDiscoveredResourceRequest(input *DisassociateDiscoveredResourceInput) DisassociateDiscoveredResourceRequest
DisassociateDiscoveredResourceRequest returns a request value for making API operation for AWS Migration Hub.
Disassociate an Application Discovery Service (ADS) discovered resource from a migration task.
// Example sending a request using the DisassociateDiscoveredResourceRequest method. req := client.DisassociateDiscoveredResourceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateDiscoveredResource
func (*MigrationHub) ImportMigrationTaskRequest ¶
func (c *MigrationHub) ImportMigrationTaskRequest(input *ImportMigrationTaskInput) ImportMigrationTaskRequest
ImportMigrationTaskRequest returns a request value for making 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.
// Example sending a request using the ImportMigrationTaskRequest method. req := client.ImportMigrationTaskRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ImportMigrationTask
func (*MigrationHub) ListCreatedArtifactsRequest ¶
func (c *MigrationHub) ListCreatedArtifactsRequest(input *ListCreatedArtifactsInput) ListCreatedArtifactsRequest
ListCreatedArtifactsRequest returns a request value for making 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.
// Example sending a request using the ListCreatedArtifactsRequest method. req := client.ListCreatedArtifactsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListCreatedArtifacts
func (*MigrationHub) ListDiscoveredResourcesRequest ¶
func (c *MigrationHub) ListDiscoveredResourcesRequest(input *ListDiscoveredResourcesInput) ListDiscoveredResourcesRequest
ListDiscoveredResourcesRequest returns a request value for making API operation for AWS Migration Hub.
Lists discovered resources associated with the given MigrationTask.
// Example sending a request using the ListDiscoveredResourcesRequest method. req := client.ListDiscoveredResourcesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListDiscoveredResources
func (*MigrationHub) ListMigrationTasksRequest ¶
func (c *MigrationHub) ListMigrationTasksRequest(input *ListMigrationTasksInput) ListMigrationTasksRequest
ListMigrationTasksRequest returns a request value for making 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.
// Example sending a request using the ListMigrationTasksRequest method. req := client.ListMigrationTasksRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListMigrationTasks
func (*MigrationHub) ListProgressUpdateStreamsRequest ¶
func (c *MigrationHub) ListProgressUpdateStreamsRequest(input *ListProgressUpdateStreamsInput) ListProgressUpdateStreamsRequest
ListProgressUpdateStreamsRequest returns a request value for making API operation for AWS Migration Hub.
Lists progress update streams associated with the user account making this call.
// Example sending a request using the ListProgressUpdateStreamsRequest method. req := client.ListProgressUpdateStreamsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListProgressUpdateStreams
func (*MigrationHub) NotifyApplicationStateRequest ¶
func (c *MigrationHub) NotifyApplicationStateRequest(input *NotifyApplicationStateInput) NotifyApplicationStateRequest
NotifyApplicationStateRequest returns a request value for making 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.
// Example sending a request using the NotifyApplicationStateRequest method. req := client.NotifyApplicationStateRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/NotifyApplicationState
func (*MigrationHub) NotifyMigrationTaskStateRequest ¶
func (c *MigrationHub) NotifyMigrationTaskStateRequest(input *NotifyMigrationTaskStateInput) NotifyMigrationTaskStateRequest
NotifyMigrationTaskStateRequest returns a request value for making 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.
// Example sending a request using the NotifyMigrationTaskStateRequest method. req := client.NotifyMigrationTaskStateRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/NotifyMigrationTaskState
func (*MigrationHub) PutResourceAttributesRequest ¶
func (c *MigrationHub) PutResourceAttributesRequest(input *PutResourceAttributesInput) PutResourceAttributesRequest
PutResourceAttributesRequest returns a request value for making 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 (ADS)'s 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 overiding the MAC address.
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 ListAssociatedResource.
// Example sending a request using the PutResourceAttributesRequest method. req := client.PutResourceAttributesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/PutResourceAttributes
type MigrationTask ¶
type MigrationTask struct { // Unique identifier that references the migration task. MigrationTaskName *string `min:"1" type:"string"` // A name that identifies the vendor of the migration tool being used. ProgressUpdateStream *string `min:"1" type:"string"` 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" timestampFormat:"unix"` // contains filtered or unexported fields }
Represents a migration task in a migration tool. Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/MigrationTask
func (MigrationTask) GoString ¶
func (s MigrationTask) GoString() string
GoString returns the string representation
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
type MigrationTaskSummary ¶
type MigrationTaskSummary struct { // Unique identifier that references the migration task. MigrationTaskName *string `min:"1" type:"string"` 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 Status `type:"string" enum:"true"` // 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" timestampFormat:"unix"` // contains filtered or unexported fields }
MigrationTaskSummary includes MigrationTaskName, ProgressPercent, ProgressUpdateStream, Status, and UpdateDateTime for each task. Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/MigrationTaskSummary
func (MigrationTaskSummary) GoString ¶
func (s MigrationTaskSummary) GoString() string
GoString returns the string representation
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 Status) *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
type NotifyApplicationStateInput ¶
type NotifyApplicationStateInput struct { // The configurationId in ADS 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 ApplicationStatus `type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/NotifyApplicationStateRequest
func (NotifyApplicationStateInput) GoString ¶
func (s NotifyApplicationStateInput) GoString() string
GoString returns the string representation
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 ApplicationStatus) *NotifyApplicationStateInput
SetStatus sets the Status field's value.
func (NotifyApplicationStateInput) String ¶
func (s NotifyApplicationStateInput) String() string
String returns the string representation
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/NotifyApplicationStateResult
func (NotifyApplicationStateOutput) GoString ¶
func (s NotifyApplicationStateOutput) GoString() string
GoString returns the string representation
func (NotifyApplicationStateOutput) SDKResponseMetadata ¶
func (s NotifyApplicationStateOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (NotifyApplicationStateOutput) String ¶
func (s NotifyApplicationStateOutput) String() string
String returns the string representation
type NotifyApplicationStateRequest ¶
type NotifyApplicationStateRequest struct { *aws.Request Input *NotifyApplicationStateInput }
NotifyApplicationStateRequest is a API request type for the NotifyApplicationState API operation.
func (NotifyApplicationStateRequest) Send ¶
func (r NotifyApplicationStateRequest) Send() (*NotifyApplicationStateOutput, error)
Send marshals and sends the NotifyApplicationState API request.
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. // // 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" timestampFormat:"unix" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/NotifyMigrationTaskStateRequest
func (NotifyMigrationTaskStateInput) GoString ¶
func (s NotifyMigrationTaskStateInput) GoString() string
GoString returns the string representation
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
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/NotifyMigrationTaskStateResult
func (NotifyMigrationTaskStateOutput) GoString ¶
func (s NotifyMigrationTaskStateOutput) GoString() string
GoString returns the string representation
func (NotifyMigrationTaskStateOutput) SDKResponseMetadata ¶
func (s NotifyMigrationTaskStateOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (NotifyMigrationTaskStateOutput) String ¶
func (s NotifyMigrationTaskStateOutput) String() string
String returns the string representation
type NotifyMigrationTaskStateRequest ¶
type NotifyMigrationTaskStateRequest struct { *aws.Request Input *NotifyMigrationTaskStateInput }
NotifyMigrationTaskStateRequest is a API request type for the NotifyMigrationTaskState API operation.
func (NotifyMigrationTaskStateRequest) Send ¶
func (r NotifyMigrationTaskStateRequest) Send() (*NotifyMigrationTaskStateOutput, error)
Send marshals and sends the NotifyMigrationTaskState API request.
type ProgressUpdateStreamSummary ¶
type ProgressUpdateStreamSummary struct { // The name of the ProgressUpdateStream. 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ProgressUpdateStreamSummary
func (ProgressUpdateStreamSummary) GoString ¶
func (s ProgressUpdateStreamSummary) GoString() string
GoString returns the string representation
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
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. // // 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 (ADS)'s // repository. // // ResourceAttributeList is a required field ResourceAttributeList []ResourceAttribute `min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/PutResourceAttributesRequest
func (PutResourceAttributesInput) GoString ¶
func (s PutResourceAttributesInput) GoString() string
GoString returns the string representation
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
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/PutResourceAttributesResult
func (PutResourceAttributesOutput) GoString ¶
func (s PutResourceAttributesOutput) GoString() string
GoString returns the string representation
func (PutResourceAttributesOutput) SDKResponseMetadata ¶
func (s PutResourceAttributesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutResourceAttributesOutput) String ¶
func (s PutResourceAttributesOutput) String() string
String returns the string representation
type PutResourceAttributesRequest ¶
type PutResourceAttributesRequest struct { *aws.Request Input *PutResourceAttributesInput }
PutResourceAttributesRequest is a API request type for the PutResourceAttributes API operation.
func (PutResourceAttributesRequest) Send ¶
func (r PutResourceAttributesRequest) Send() (*PutResourceAttributesOutput, error)
Send marshals and sends the PutResourceAttributes API request.
type ResourceAttribute ¶
type ResourceAttribute struct { // Type of resource. // // Type is a required field Type ResourceAttributeType `type:"string" required:"true" enum:"true"` // 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ResourceAttribute
func (ResourceAttribute) GoString ¶
func (s ResourceAttribute) GoString() string
GoString returns the string representation
func (*ResourceAttribute) SetType ¶
func (s *ResourceAttribute) SetType(v ResourceAttributeType) *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
func (*ResourceAttribute) Validate ¶
func (s *ResourceAttribute) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResourceAttributeType ¶
type ResourceAttributeType string
const ( ResourceAttributeTypeIpv4Address ResourceAttributeType = "IPV4_ADDRESS" ResourceAttributeTypeIpv6Address ResourceAttributeType = "IPV6_ADDRESS" ResourceAttributeTypeMacAddress ResourceAttributeType = "MAC_ADDRESS" ResourceAttributeTypeFqdn ResourceAttributeType = "FQDN" ResourceAttributeTypeVmManagerId ResourceAttributeType = "VM_MANAGER_ID" ResourceAttributeTypeVmManagedObjectReference ResourceAttributeType = "VM_MANAGED_OBJECT_REFERENCE" ResourceAttributeTypeVmName ResourceAttributeType = "VM_NAME" ResourceAttributeTypeVmPath ResourceAttributeType = "VM_PATH" ResourceAttributeTypeBiosId ResourceAttributeType = "BIOS_ID" ResourceAttributeTypeMotherboardSerialNumber ResourceAttributeType = "MOTHERBOARD_SERIAL_NUMBER" ResourceAttributeTypeLabel ResourceAttributeType = "LABEL" )
Enum values for ResourceAttributeType
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 Status `type:"string" required:"true" enum:"true"` // 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/Task
func (*Task) SetProgressPercent ¶
SetProgressPercent sets the ProgressPercent field's value.
func (*Task) SetStatusDetail ¶
SetStatusDetail sets the StatusDetail field's value.
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. |