migrationhub

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2019 License: Apache-2.0 Imports: 7 Imported by: 18

Documentation

Overview

Package migrationhub provides the client and types for making API requests to AWS Migration Hub.

The AWS Migration Hub API methods help to obtain server and application migration status and integrate your resource-specific migration tool by providing a programmatic interface to Migration Hub.

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 use 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 for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/migrationhub/#New

Index

Constants

View Source
const (
	ServiceName = "AWS Migration Hub" // Service's name
	ServiceID   = "MigrationHub"      // Service's identifier
	EndpointsID = "mgh"               // Service's Endpoint identifier
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// You do not have sufficient access to perform this action.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeDryRunOperation for service response error code
	// "DryRunOperation".
	//
	// Exception raised to indicate a successfully authorized action when the DryRun
	// flag is set to "true".
	ErrCodeDryRunOperation = "DryRunOperation"

	// 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 migrationhub-discovery
	// role is missing or not configured correctly.
	ErrCodePolicyErrorException = "PolicyErrorException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// Exception raised when the request references a resource (ADS configuration,
	// update stream, migration task, etc.) that does not exist in ADS (Application
	// Discovery Service) or in Migration Hub's repository.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceUnavailableException for service response error code
	// "ServiceUnavailableException".
	//
	// Exception raised when there is an internal, configuration, or dependency
	// error encountered.
	ErrCodeServiceUnavailableException = "ServiceUnavailableException"

	// ErrCodeUnauthorizedOperation for service response error code
	// "UnauthorizedOperation".
	//
	// Exception raised to indicate a request was not authorized when the DryRun
	// flag is set to "true".
	ErrCodeUnauthorizedOperation = "UnauthorizedOperation"
)

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

func (ApplicationStatus) MarshalValue added in v0.3.0

func (enum ApplicationStatus) MarshalValue() (string, error)

func (ApplicationStatus) MarshalValueBuf added in v0.3.0

func (enum ApplicationStatus) MarshalValueBuf(b []byte) ([]byte, error)

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

String returns the string representation

type AssociateCreatedArtifactRequest

type AssociateCreatedArtifactRequest struct {
	*aws.Request
	Input *AssociateCreatedArtifactInput
	Copy  func(*AssociateCreatedArtifactInput) AssociateCreatedArtifactRequest
}

AssociateCreatedArtifactRequest is the request type for the AssociateCreatedArtifact API operation.

func (AssociateCreatedArtifactRequest) Send

Send marshals and sends the AssociateCreatedArtifact API request.

type AssociateCreatedArtifactResponse added in v0.9.0

type AssociateCreatedArtifactResponse struct {
	*AssociateCreatedArtifactOutput
	// contains filtered or unexported fields
}

AssociateCreatedArtifactResponse is the response type for the AssociateCreatedArtifact API operation.

func (*AssociateCreatedArtifactResponse) SDKResponseMetdata added in v0.9.0

func (r *AssociateCreatedArtifactResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AssociateCreatedArtifact 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) String

String returns the string representation

func (*AssociateDiscoveredResourceInput) Validate

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

String returns the string representation

type AssociateDiscoveredResourceRequest

type AssociateDiscoveredResourceRequest struct {
	*aws.Request
	Input *AssociateDiscoveredResourceInput
	Copy  func(*AssociateDiscoveredResourceInput) AssociateDiscoveredResourceRequest
}

AssociateDiscoveredResourceRequest is the request type for the AssociateDiscoveredResource API operation.

func (AssociateDiscoveredResourceRequest) Send

Send marshals and sends the AssociateDiscoveredResource API request.

type AssociateDiscoveredResourceResponse added in v0.9.0

type AssociateDiscoveredResourceResponse struct {
	*AssociateDiscoveredResourceOutput
	// contains filtered or unexported fields
}

AssociateDiscoveredResourceResponse is the response type for the AssociateDiscoveredResource API operation.

func (*AssociateDiscoveredResourceResponse) SDKResponseMetdata added in v0.9.0

func (r *AssociateDiscoveredResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AssociateDiscoveredResource request.

type Client added in v0.9.0

type Client struct {
	*aws.Client
}

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

The client's 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) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := migrationhub.New(myConfig)

func (*Client) AssociateCreatedArtifactRequest added in v0.9.0

func (c *Client) 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 AssociateCreatedArtifactRequest. req := client.AssociateCreatedArtifactRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }

Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateCreatedArtifact

func (*Client) AssociateDiscoveredResourceRequest added in v0.9.0

func (c *Client) 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 AssociateDiscoveredResourceRequest.
req := client.AssociateDiscoveredResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateDiscoveredResource

func (*Client) CreateProgressUpdateStreamRequest added in v0.9.0

func (c *Client) 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 CreateProgressUpdateStreamRequest.
req := client.CreateProgressUpdateStreamRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/CreateProgressUpdateStream

func (*Client) DeleteProgressUpdateStreamRequest added in v0.9.0

func (c *Client) 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 delete the stream and all of its resources (tasks, associated resources, resource attributes, created artifacts).

  • If the stream takes time to be deleted, it might still show up on a ListProgressUpdateStreams call.

  • CreateProgressUpdateStream, ImportMigrationTask, NotifyMigrationTaskState, and all Associate[*] APIs 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 DeleteProgressUpdateStreamRequest. req := client.DeleteProgressUpdateStreamRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }

Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DeleteProgressUpdateStream

func (*Client) DescribeApplicationStateRequest added in v0.9.0

func (c *Client) 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 DescribeApplicationStateRequest.
req := client.DescribeApplicationStateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeApplicationState

func (*Client) DescribeMigrationTaskRequest added in v0.9.0

func (c *Client) 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 DescribeMigrationTaskRequest.
req := client.DescribeMigrationTaskRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeMigrationTask

func (*Client) DisassociateCreatedArtifactRequest added in v0.9.0

func (c *Client) 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 DisassociateCreatedArtifactRequest. req := client.DisassociateCreatedArtifactRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }

Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateCreatedArtifact

func (*Client) DisassociateDiscoveredResourceRequest added in v0.9.0

func (c *Client) 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 DisassociateDiscoveredResourceRequest.
req := client.DisassociateDiscoveredResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateDiscoveredResource

func (*Client) ImportMigrationTaskRequest added in v0.9.0

func (c *Client) 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 ImportMigrationTaskRequest.
req := client.ImportMigrationTaskRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ImportMigrationTask

func (*Client) ListCreatedArtifactsRequest added in v0.9.0

func (c *Client) 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 ListCreatedArtifactsRequest. req := client.ListCreatedArtifactsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }

Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListCreatedArtifacts

func (*Client) ListDiscoveredResourcesRequest added in v0.9.0

func (c *Client) 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 ListDiscoveredResourcesRequest.
req := client.ListDiscoveredResourcesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListDiscoveredResources

func (*Client) ListMigrationTasksRequest added in v0.9.0

func (c *Client) 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 ListMigrationTasksRequest. req := client.ListMigrationTasksRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }

Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListMigrationTasks

func (*Client) ListProgressUpdateStreamsRequest added in v0.9.0

func (c *Client) 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 ListProgressUpdateStreamsRequest.
req := client.ListProgressUpdateStreamsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListProgressUpdateStreams

func (*Client) NotifyApplicationStateRequest added in v0.9.0

func (c *Client) 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 NotifyApplicationStateRequest.
req := client.NotifyApplicationStateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/NotifyApplicationState

func (*Client) NotifyMigrationTaskStateRequest added in v0.9.0

func (c *Client) 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 NotifyMigrationTaskStateRequest. req := client.NotifyMigrationTaskStateRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }

Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/NotifyMigrationTaskState

func (*Client) PutResourceAttributesRequest added in v0.9.0

func (c *Client) 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.

Because this is an asynchronous call, it will always return 200, whether an association occurs or not. To confirm if an association was found based on the provided details, call ListDiscoveredResources.

// Example sending a request using PutResourceAttributesRequest.
req := client.PutResourceAttributesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/PutResourceAttributes

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

String returns the string representation

type CreateProgressUpdateStreamRequest

type CreateProgressUpdateStreamRequest struct {
	*aws.Request
	Input *CreateProgressUpdateStreamInput
	Copy  func(*CreateProgressUpdateStreamInput) CreateProgressUpdateStreamRequest
}

CreateProgressUpdateStreamRequest is the request type for the CreateProgressUpdateStream API operation.

func (CreateProgressUpdateStreamRequest) Send

Send marshals and sends the CreateProgressUpdateStream API request.

type CreateProgressUpdateStreamResponse added in v0.9.0

type CreateProgressUpdateStreamResponse struct {
	*CreateProgressUpdateStreamOutput
	// contains filtered or unexported fields
}

CreateProgressUpdateStreamResponse is the response type for the CreateProgressUpdateStream API operation.

func (*CreateProgressUpdateStreamResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateProgressUpdateStreamResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateProgressUpdateStream 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) 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) 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) String

String returns the string representation

type DeleteProgressUpdateStreamRequest

type DeleteProgressUpdateStreamRequest struct {
	*aws.Request
	Input *DeleteProgressUpdateStreamInput
	Copy  func(*DeleteProgressUpdateStreamInput) DeleteProgressUpdateStreamRequest
}

DeleteProgressUpdateStreamRequest is the request type for the DeleteProgressUpdateStream API operation.

func (DeleteProgressUpdateStreamRequest) Send

Send marshals and sends the DeleteProgressUpdateStream API request.

type DeleteProgressUpdateStreamResponse added in v0.9.0

type DeleteProgressUpdateStreamResponse struct {
	*DeleteProgressUpdateStreamOutput
	// contains filtered or unexported fields
}

DeleteProgressUpdateStreamResponse is the response type for the DeleteProgressUpdateStream API operation.

func (*DeleteProgressUpdateStreamResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteProgressUpdateStreamResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteProgressUpdateStream 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) 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"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeApplicationStateResult

func (DescribeApplicationStateOutput) String

String returns the string representation

type DescribeApplicationStateRequest

type DescribeApplicationStateRequest struct {
	*aws.Request
	Input *DescribeApplicationStateInput
	Copy  func(*DescribeApplicationStateInput) DescribeApplicationStateRequest
}

DescribeApplicationStateRequest is the request type for the DescribeApplicationState API operation.

func (DescribeApplicationStateRequest) Send

Send marshals and sends the DescribeApplicationState API request.

type DescribeApplicationStateResponse added in v0.9.0

type DescribeApplicationStateResponse struct {
	*DescribeApplicationStateOutput
	// contains filtered or unexported fields
}

DescribeApplicationStateResponse is the response type for the DescribeApplicationState API operation.

func (*DescribeApplicationStateResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeApplicationStateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeApplicationState 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) 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) String

String returns the string representation

type DescribeMigrationTaskRequest

type DescribeMigrationTaskRequest struct {
	*aws.Request
	Input *DescribeMigrationTaskInput
	Copy  func(*DescribeMigrationTaskInput) DescribeMigrationTaskRequest
}

DescribeMigrationTaskRequest is the request type for the DescribeMigrationTask API operation.

func (DescribeMigrationTaskRequest) Send

Send marshals and sends the DescribeMigrationTask API request.

type DescribeMigrationTaskResponse added in v0.9.0

type DescribeMigrationTaskResponse struct {
	*DescribeMigrationTaskOutput
	// contains filtered or unexported fields
}

DescribeMigrationTaskResponse is the response type for the DescribeMigrationTask API operation.

func (*DescribeMigrationTaskResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeMigrationTaskResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeMigrationTask 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) String

String returns the string representation

func (*DisassociateCreatedArtifactInput) Validate

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

String returns the string representation

type DisassociateCreatedArtifactRequest

type DisassociateCreatedArtifactRequest struct {
	*aws.Request
	Input *DisassociateCreatedArtifactInput
	Copy  func(*DisassociateCreatedArtifactInput) DisassociateCreatedArtifactRequest
}

DisassociateCreatedArtifactRequest is the request type for the DisassociateCreatedArtifact API operation.

func (DisassociateCreatedArtifactRequest) Send

Send marshals and sends the DisassociateCreatedArtifact API request.

type DisassociateCreatedArtifactResponse added in v0.9.0

type DisassociateCreatedArtifactResponse struct {
	*DisassociateCreatedArtifactOutput
	// contains filtered or unexported fields
}

DisassociateCreatedArtifactResponse is the response type for the DisassociateCreatedArtifact API operation.

func (*DisassociateCreatedArtifactResponse) SDKResponseMetdata added in v0.9.0

func (r *DisassociateCreatedArtifactResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DisassociateCreatedArtifact 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) String

String returns the string representation

func (*DisassociateDiscoveredResourceInput) Validate

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

String returns the string representation

type DisassociateDiscoveredResourceRequest

type DisassociateDiscoveredResourceRequest struct {
	*aws.Request
	Input *DisassociateDiscoveredResourceInput
	Copy  func(*DisassociateDiscoveredResourceInput) DisassociateDiscoveredResourceRequest
}

DisassociateDiscoveredResourceRequest is the request type for the DisassociateDiscoveredResource API operation.

func (DisassociateDiscoveredResourceRequest) Send

Send marshals and sends the DisassociateDiscoveredResource API request.

type DisassociateDiscoveredResourceResponse added in v0.9.0

type DisassociateDiscoveredResourceResponse struct {
	*DisassociateDiscoveredResourceOutput
	// contains filtered or unexported fields
}

DisassociateDiscoveredResourceResponse is the response type for the DisassociateDiscoveredResource API operation.

func (*DisassociateDiscoveredResourceResponse) SDKResponseMetdata added in v0.9.0

func (r *DisassociateDiscoveredResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DisassociateDiscoveredResource request.

type DiscoveredResource

type DiscoveredResource struct {

	// The configurationId in ADS that uniquely identifies the on-premise resource.
	//
	// ConfigurationId is a required field
	ConfigurationId *string `min:"1" type:"string" required:"true"`

	// A description that can be free-form text to record additional detail about
	// the discovered resource for clarity or later reference.
	Description *string `type:"string"`
	// contains filtered or unexported fields
}

Object representing the on-premises resource being migrated. Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DiscoveredResource

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

func (s ImportMigrationTaskOutput) String() string

String returns the string representation

type ImportMigrationTaskRequest

type ImportMigrationTaskRequest struct {
	*aws.Request
	Input *ImportMigrationTaskInput
	Copy  func(*ImportMigrationTaskInput) ImportMigrationTaskRequest
}

ImportMigrationTaskRequest is the request type for the ImportMigrationTask API operation.

func (ImportMigrationTaskRequest) Send

Send marshals and sends the ImportMigrationTask API request.

type ImportMigrationTaskResponse added in v0.9.0

type ImportMigrationTaskResponse struct {
	*ImportMigrationTaskOutput
	// contains filtered or unexported fields
}

ImportMigrationTaskResponse is the response type for the ImportMigrationTask API operation.

func (*ImportMigrationTaskResponse) SDKResponseMetdata added in v0.9.0

func (r *ImportMigrationTaskResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ImportMigrationTask 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) 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) String

String returns the string representation

type ListCreatedArtifactsRequest

type ListCreatedArtifactsRequest struct {
	*aws.Request
	Input *ListCreatedArtifactsInput
	Copy  func(*ListCreatedArtifactsInput) ListCreatedArtifactsRequest
}

ListCreatedArtifactsRequest is the request type for the ListCreatedArtifacts API operation.

func (ListCreatedArtifactsRequest) Send

Send marshals and sends the ListCreatedArtifacts API request.

type ListCreatedArtifactsResponse added in v0.9.0

type ListCreatedArtifactsResponse struct {
	*ListCreatedArtifactsOutput
	// contains filtered or unexported fields
}

ListCreatedArtifactsResponse is the response type for the ListCreatedArtifacts API operation.

func (*ListCreatedArtifactsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListCreatedArtifactsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListCreatedArtifacts 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) 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) String

String returns the string representation

type ListDiscoveredResourcesRequest

type ListDiscoveredResourcesRequest struct {
	*aws.Request
	Input *ListDiscoveredResourcesInput
	Copy  func(*ListDiscoveredResourcesInput) ListDiscoveredResourcesRequest
}

ListDiscoveredResourcesRequest is the request type for the ListDiscoveredResources API operation.

func (ListDiscoveredResourcesRequest) Send

Send marshals and sends the ListDiscoveredResources API request.

type ListDiscoveredResourcesResponse added in v0.9.0

type ListDiscoveredResourcesResponse struct {
	*ListDiscoveredResourcesOutput
	// contains filtered or unexported fields
}

ListDiscoveredResourcesResponse is the response type for the ListDiscoveredResources API operation.

func (*ListDiscoveredResourcesResponse) SDKResponseMetdata added in v0.9.0

func (r *ListDiscoveredResourcesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListDiscoveredResources 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) 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) String

func (s ListMigrationTasksOutput) String() string

String returns the string representation

type ListMigrationTasksRequest

type ListMigrationTasksRequest struct {
	*aws.Request
	Input *ListMigrationTasksInput
	Copy  func(*ListMigrationTasksInput) ListMigrationTasksRequest
}

ListMigrationTasksRequest is the request type for the ListMigrationTasks API operation.

func (ListMigrationTasksRequest) Send

Send marshals and sends the ListMigrationTasks API request.

type ListMigrationTasksResponse added in v0.9.0

type ListMigrationTasksResponse struct {
	*ListMigrationTasksOutput
	// contains filtered or unexported fields
}

ListMigrationTasksResponse is the response type for the ListMigrationTasks API operation.

func (*ListMigrationTasksResponse) SDKResponseMetdata added in v0.9.0

func (r *ListMigrationTasksResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListMigrationTasks 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) 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) String

String returns the string representation

type ListProgressUpdateStreamsRequest

type ListProgressUpdateStreamsRequest struct {
	*aws.Request
	Input *ListProgressUpdateStreamsInput
	Copy  func(*ListProgressUpdateStreamsInput) ListProgressUpdateStreamsRequest
}

ListProgressUpdateStreamsRequest is the request type for the ListProgressUpdateStreams API operation.

func (ListProgressUpdateStreamsRequest) Send

Send marshals and sends the ListProgressUpdateStreams API request.

type ListProgressUpdateStreamsResponse added in v0.9.0

type ListProgressUpdateStreamsResponse struct {
	*ListProgressUpdateStreamsOutput
	// contains filtered or unexported fields
}

ListProgressUpdateStreamsResponse is the response type for the ListProgressUpdateStreams API operation.

func (*ListProgressUpdateStreamsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListProgressUpdateStreamsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListProgressUpdateStreams request.

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"`
	// 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) 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"`
	// 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) 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) 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) String

String returns the string representation

type NotifyApplicationStateRequest

type NotifyApplicationStateRequest struct {
	*aws.Request
	Input *NotifyApplicationStateInput
	Copy  func(*NotifyApplicationStateInput) NotifyApplicationStateRequest
}

NotifyApplicationStateRequest is the request type for the NotifyApplicationState API operation.

func (NotifyApplicationStateRequest) Send

Send marshals and sends the NotifyApplicationState API request.

type NotifyApplicationStateResponse added in v0.9.0

type NotifyApplicationStateResponse struct {
	*NotifyApplicationStateOutput
	// contains filtered or unexported fields
}

NotifyApplicationStateResponse is the response type for the NotifyApplicationState API operation.

func (*NotifyApplicationStateResponse) SDKResponseMetdata added in v0.9.0

func (r *NotifyApplicationStateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the NotifyApplicationState 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" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/NotifyMigrationTaskStateRequest

func (NotifyMigrationTaskStateInput) 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) String

String returns the string representation

type NotifyMigrationTaskStateRequest

type NotifyMigrationTaskStateRequest struct {
	*aws.Request
	Input *NotifyMigrationTaskStateInput
	Copy  func(*NotifyMigrationTaskStateInput) NotifyMigrationTaskStateRequest
}

NotifyMigrationTaskStateRequest is the request type for the NotifyMigrationTaskState API operation.

func (NotifyMigrationTaskStateRequest) Send

Send marshals and sends the NotifyMigrationTaskState API request.

type NotifyMigrationTaskStateResponse added in v0.9.0

type NotifyMigrationTaskStateResponse struct {
	*NotifyMigrationTaskStateOutput
	// contains filtered or unexported fields
}

NotifyMigrationTaskStateResponse is the response type for the NotifyMigrationTaskState API operation.

func (*NotifyMigrationTaskStateResponse) SDKResponseMetdata added in v0.9.0

func (r *NotifyMigrationTaskStateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the NotifyMigrationTaskState 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) 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.
	//
	// Takes the object array of ResourceAttribute where the Type field is reserved
	// for the following values: IPV4_ADDRESS | IPV6_ADDRESS | MAC_ADDRESS | FQDN
	// | VM_MANAGER_ID | VM_MANAGED_OBJECT_REFERENCE | VM_NAME | VM_PATH | BIOS_ID
	// | MOTHERBOARD_SERIAL_NUMBER where the identifying value can be a string up
	// to 256 characters.
	//
	//    * If any "VM" related value is set for a ResourceAttribute object, it
	//    is required that VM_MANAGER_ID, as a minimum, is always set. If VM_MANAGER_ID
	//    is not set, then all "VM" fields will be discarded and "VM" fields will
	//    not be used for matching the migration task to a server in Application
	//    Discovery Service (ADS)'s repository. See the Example (https://docs.aws.amazon.com/migrationhub/latest/ug/API_PutResourceAttributes.html#API_PutResourceAttributes_Examples)
	//    section below for a use case of specifying "VM" related values.
	//
	//    * If a server you are trying to match has multiple IP or MAC addresses,
	//    you should provide as many as you know in separate type/value pairs passed
	//    to the ResourceAttributeList parameter to maximize the chances of matching.
	//
	// ResourceAttributeList is a required field
	ResourceAttributeList []ResourceAttribute `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/PutResourceAttributesRequest

func (PutResourceAttributesInput) 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) String

String returns the string representation

type PutResourceAttributesRequest

type PutResourceAttributesRequest struct {
	*aws.Request
	Input *PutResourceAttributesInput
	Copy  func(*PutResourceAttributesInput) PutResourceAttributesRequest
}

PutResourceAttributesRequest is the request type for the PutResourceAttributes API operation.

func (PutResourceAttributesRequest) Send

Send marshals and sends the PutResourceAttributes API request.

type PutResourceAttributesResponse added in v0.9.0

type PutResourceAttributesResponse struct {
	*PutResourceAttributesOutput
	// contains filtered or unexported fields
}

PutResourceAttributesResponse is the response type for the PutResourceAttributes API operation.

func (*PutResourceAttributesResponse) SDKResponseMetdata added in v0.9.0

func (r *PutResourceAttributesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the PutResourceAttributes 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.

Note the corresponding format required per type listed below:

IPV4

x.x.x.x

where x is an integer in the range [0,255]

IPV6

y : y : y : y : y : y : y : y

where y is a hexadecimal between 0 and FFFF. [0, FFFF]

MAC_ADDRESS

^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$

FQDN

^[^<>{}\\\\/?,=\\p{Cntrl}]{1,256}$ Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ResourceAttribute

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

Enum values for ResourceAttributeType

func (ResourceAttributeType) MarshalValue added in v0.3.0

func (enum ResourceAttributeType) MarshalValue() (string, error)

func (ResourceAttributeType) MarshalValueBuf added in v0.3.0

func (enum ResourceAttributeType) MarshalValueBuf(b []byte) ([]byte, error)

type Status

type Status string
const (
	StatusNotStarted Status = "NOT_STARTED"
	StatusInProgress Status = "IN_PROGRESS"
	StatusFailed     Status = "FAILED"
	StatusCompleted  Status = "COMPLETED"
)

Enum values for Status

func (Status) MarshalValue added in v0.3.0

func (enum Status) MarshalValue() (string, error)

func (Status) MarshalValueBuf added in v0.3.0

func (enum Status) MarshalValueBuf(b []byte) ([]byte, error)

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

func (s Task) String() string

String returns the string representation

func (*Task) Validate

func (s *Task) Validate() error

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL