migrationhub – github.com/aws/aws-sdk-go-v2/service/migrationhub Index | Files | Directories

package migrationhub

import "github.com/aws/aws-sdk-go-v2/service/migrationhub"

Index

Constants

const ServiceAPIVersion = "2017-05-31"
const ServiceID = "Migration Hub"

Functions

func AddResolveEndpointMiddleware

func AddResolveEndpointMiddleware(stack *middleware.Stack, options ResolveEndpointMiddlewareOptions)

func NewDefaultEndpointResolver

func NewDefaultEndpointResolver() *internalendpoints.Resolver

NewDefaultEndpointResolver constructs a new service endpoint resolver

func RemoveResolveEndpointMiddleware

func RemoveResolveEndpointMiddleware(stack *middleware.Stack) error

Types

type AssociateCreatedArtifactInput

type AssociateCreatedArtifactInput struct {
	// Unique identifier that references the migration task. Do not store personal data
	// in this field.
	MigrationTaskName *string
	// The name of the ProgressUpdateStream.
	ProgressUpdateStream *string
	// 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
	// An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance,
	// RDS instance, etc.)
	CreatedArtifact *types.CreatedArtifact
}

type AssociateCreatedArtifactOutput

type AssociateCreatedArtifactOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type AssociateDiscoveredResourceInput

type AssociateDiscoveredResourceInput struct {
	// Object representing a Resource.
	DiscoveredResource *types.DiscoveredResource
	// The identifier given to the MigrationTask. Do not store personal data in this
	// field.
	MigrationTaskName *string
	// 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
	// The name of the ProgressUpdateStream.
	ProgressUpdateStream *string
}

type AssociateDiscoveredResourceOutput

type AssociateDiscoveredResourceOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type Client

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

The AWS Migration Hub API methods help to obtain server and application migration status and integrate your resource-specific migration tool by providing a programmatic interface to Migration Hub. Remember that you must set your AWS Migration Hub home region before you call any of these APIs, or a HomeRegionNotSetException error will be returned. Also, you must make the API calls while in your home region.

func New

func New(options Options, optFns ...func(*Options)) *Client

New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.

func NewFromConfig

func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client

NewFromConfig returns a new client from the provided config.

func (*Client) AssociateCreatedArtifact

func (c *Client) AssociateCreatedArtifact(ctx context.Context, params *AssociateCreatedArtifactInput, optFns ...func(*Options)) (*AssociateCreatedArtifactOutput, error)

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:

AssociateCreatedArtifact operation to indicate which AWS artifact is associated with a migration task.

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

func (*Client) AssociateDiscoveredResource

func (c *Client) AssociateDiscoveredResource(ctx context.Context, params *AssociateDiscoveredResourceInput, optFns ...func(*Options)) (*AssociateDiscoveredResourceOutput, error)

Associates a discovered resource ID from Application Discovery Service with a migration task.

func (*Client) CreateProgressUpdateStream

func (c *Client) CreateProgressUpdateStream(ctx context.Context, params *CreateProgressUpdateStreamInput, optFns ...func(*Options)) (*CreateProgressUpdateStreamOutput, error)

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.

func (*Client) DeleteProgressUpdateStream

func (c *Client) DeleteProgressUpdateStream(ctx context.Context, params *DeleteProgressUpdateStreamInput, optFns ...func(*Options)) (*DeleteProgressUpdateStreamOutput, error)

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:

DeleteProgressUpdateStream is the stream name (same as a CreateProgressUpdateStream call).

process will asynchronously delete the stream and all of its resources (tasks, associated resources, resource attributes, created artifacts).

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

ImportMigrationTask, NotifyMigrationTaskState, and all Associate[*] APIs related to the tasks belonging to the stream will throw "InvalidInputException" if the stream of the same name is in the process of being deleted.

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

func (*Client) DescribeApplicationState

func (c *Client) DescribeApplicationState(ctx context.Context, params *DescribeApplicationStateInput, optFns ...func(*Options)) (*DescribeApplicationStateOutput, error)

Gets the migration status of an application.

func (*Client) DescribeMigrationTask

func (c *Client) DescribeMigrationTask(ctx context.Context, params *DescribeMigrationTaskInput, optFns ...func(*Options)) (*DescribeMigrationTaskOutput, error)

Retrieves a list of all attributes associated with a specific migration task.

func (*Client) DisassociateCreatedArtifact

func (c *Client) DisassociateCreatedArtifact(ctx context.Context, params *DisassociateCreatedArtifactInput, optFns ...func(*Options)) (*DisassociateCreatedArtifactOutput, error)

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:

DisassociateCreatedArtifacts operation to disassociate a created AWS Artifact from a migration task.

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

func (*Client) DisassociateDiscoveredResource

func (c *Client) DisassociateDiscoveredResource(ctx context.Context, params *DisassociateDiscoveredResourceInput, optFns ...func(*Options)) (*DisassociateDiscoveredResourceOutput, error)

Disassociate an Application Discovery Service discovered resource from a migration task.

func (*Client) ImportMigrationTask

func (c *Client) ImportMigrationTask(ctx context.Context, params *ImportMigrationTaskInput, optFns ...func(*Options)) (*ImportMigrationTaskOutput, error)

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.

func (*Client) ListApplicationStates

func (c *Client) ListApplicationStates(ctx context.Context, params *ListApplicationStatesInput, optFns ...func(*Options)) (*ListApplicationStatesOutput, error)

Lists all the migration statuses for your applications. If you use the optional ApplicationIds parameter, only the migration statuses for those applications will be returned.

func (*Client) ListCreatedArtifacts

func (c *Client) ListCreatedArtifacts(ctx context.Context, params *ListCreatedArtifactsInput, optFns ...func(*Options)) (*ListCreatedArtifactsOutput, error)

Lists the created artifacts attached to a given migration task in an update stream. This API has the following traits:

artifacts while migration is taking place.

the migration tool that was associated by the AssociateCreatedArtifact API.

* Lists created artifacts in a paginated interface.

func (*Client) ListDiscoveredResources

func (c *Client) ListDiscoveredResources(ctx context.Context, params *ListDiscoveredResourcesInput, optFns ...func(*Options)) (*ListDiscoveredResourcesOutput, error)

Lists discovered resources associated with the given MigrationTask.

func (*Client) ListMigrationTasks

func (c *Client) ListMigrationTasks(ctx context.Context, params *ListMigrationTasksInput, optFns ...func(*Options)) (*ListMigrationTasksOutput, error)

Lists all, or filtered by resource name, migration tasks associated with the user account making this call. This API has the following traits:

show a summary list of the most recent migration tasks.

summary list of migration tasks associated with a given discovered resource.

* Lists migration tasks in a paginated interface.

func (*Client) ListProgressUpdateStreams

func (c *Client) ListProgressUpdateStreams(ctx context.Context, params *ListProgressUpdateStreamsInput, optFns ...func(*Options)) (*ListProgressUpdateStreamsOutput, error)

Lists progress update streams associated with the user account making this call.

func (*Client) NotifyApplicationState

func (c *Client) NotifyApplicationState(ctx context.Context, params *NotifyApplicationStateInput, optFns ...func(*Options)) (*NotifyApplicationStateOutput, error)

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.

func (*Client) NotifyMigrationTaskState

func (c *Client) NotifyMigrationTaskState(ctx context.Context, params *NotifyMigrationTaskStateInput, optFns ...func(*Options)) (*NotifyMigrationTaskStateOutput, error)

Notifies Migration Hub of the current status, progress, or other detail regarding a migration task. This API has the following traits:

tools will call the NotifyMigrationTaskState API to share the latest progress and status.

correct target.

provide a namespace for each migration tool.

func (*Client) PutResourceAttributes

func (c *Client) PutResourceAttributes(ctx context.Context, params *PutResourceAttributesInput, optFns ...func(*Options)) (*PutResourceAttributesOutput, error)

Provides identifying details of the resource being migrated so that it can be associated in the Application Discovery Service repository. This association occurs asynchronously after PutResourceAttributes returns.

that subsequent calls to PutResourceAttributes will override previously stored attributes. For example, if it is first called with a MAC address, but later, it is desired to add an IP address, it will then be required to call it with both the IP and MAC addresses to prevent overriding the MAC address.

instructions regarding the special use case of the ResourceAttributeList (https://docs.aws.amazon.com/migrationhub/latest/ug/API_PutResourceAttributes.html#migrationhub-PutResourceAttributes-request-ResourceAttributeList) parameter when specifying any "VM" related value.

<note> <p>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 <code>ListDiscoveredResources</code>.</p> </note>

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
	// The name of the ProgressUpdateStream. Do not store personal data in this field.
	ProgressUpdateStreamName *string
}

type CreateProgressUpdateStreamOutput

type CreateProgressUpdateStreamOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

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
	// The name of the ProgressUpdateStream. Do not store personal data in this field.
	ProgressUpdateStreamName *string
}

type DeleteProgressUpdateStreamOutput

type DeleteProgressUpdateStreamOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeApplicationStateInput

type DescribeApplicationStateInput struct {
	// The configurationId in Application Discovery Service that uniquely identifies
	// the grouped application.
	ApplicationId *string
}

type DescribeApplicationStateOutput

type DescribeApplicationStateOutput struct {
	// Status of the application - Not Started, In-Progress, Complete.
	ApplicationStatus types.ApplicationStatus
	// The timestamp when the application status was last updated.
	LastUpdatedTime *time.Time

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeMigrationTaskInput

type DescribeMigrationTaskInput struct {
	// The identifier given to the MigrationTask. Do not store personal data in this
	// field.
	MigrationTaskName *string
	// The name of the ProgressUpdateStream.
	ProgressUpdateStream *string
}

type DescribeMigrationTaskOutput

type DescribeMigrationTaskOutput struct {
	// Object encapsulating information about the migration task.
	MigrationTask *types.MigrationTask

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DisassociateCreatedArtifactInput

type DisassociateCreatedArtifactInput struct {
	// Unique identifier that references the migration task to be disassociated with
	// the artifact. Do not store personal data in this field.
	MigrationTaskName *string
	// 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
	// The name of the ProgressUpdateStream.
	ProgressUpdateStream *string
	// An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance,
	// RDS instance, etc.)
	CreatedArtifactName *string
}

type DisassociateCreatedArtifactOutput

type DisassociateCreatedArtifactOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DisassociateDiscoveredResourceInput

type DisassociateDiscoveredResourceInput struct {
	// The name of the ProgressUpdateStream.
	ProgressUpdateStream *string
	// 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
	// ConfigurationId of the Application Discovery Service resource to be
	// disassociated.
	ConfigurationId *string
	// The identifier given to the MigrationTask. Do not store personal data in this
	// field.
	MigrationTaskName *string
}

type DisassociateDiscoveredResourceOutput

type DisassociateDiscoveredResourceOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type EndpointResolver

type EndpointResolver interface {
	ResolveEndpoint(region string, options ResolverOptions) (aws.Endpoint, error)
}

EndpointResolver interface for resolving service endpoints.

func WithEndpointResolver

func WithEndpointResolver(awsResolver aws.EndpointResolver, fallbackResolver EndpointResolver) EndpointResolver

WithEndpointResolver returns an EndpointResolver that first delegates endpoint resolution to the awsResolver. If awsResolver returns aws.EndpointNotFoundError error, the resolver will use the the provided fallbackResolver for resolution. awsResolver and fallbackResolver must not be nil

type EndpointResolverFunc

type EndpointResolverFunc func(region string, options ResolverOptions) (aws.Endpoint, error)

EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.

func (EndpointResolverFunc) ResolveEndpoint

func (fn EndpointResolverFunc) ResolveEndpoint(region string, options ResolverOptions) (endpoint aws.Endpoint, err error)

type HTTPClient

type HTTPClient interface {
	Do(*http.Request) (*http.Response, error)
}

type HTTPSignerV4

type HTTPSignerV4 interface {
	SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time) error
}

type ImportMigrationTaskInput

type ImportMigrationTaskInput struct {
	// Unique identifier that references the migration task. Do not store personal data
	// in this field.
	MigrationTaskName *string
	// The name of the ProgressUpdateStream. >
	ProgressUpdateStream *string
	// 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 ImportMigrationTaskOutput

type ImportMigrationTaskOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListApplicationStatesInput

type ListApplicationStatesInput struct {
	// 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
	// Maximum number of results to be returned per page.
	MaxResults *int32
	// The configurationIds from the Application Discovery Service that uniquely
	// identifies your applications.
	ApplicationIds []*string
}

type ListApplicationStatesOutput

type ListApplicationStatesOutput struct {
	// 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
	// A list of Applications that exist in Application Discovery Service.
	ApplicationStateList []*types.ApplicationState

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListCreatedArtifactsInput

type ListCreatedArtifactsInput struct {
	// Unique identifier that references the migration task. Do not store personal data
	// in this field.
	MigrationTaskName *string
	// 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
	// Maximum number of results to be returned per page.
	MaxResults *int32
	// The name of the ProgressUpdateStream.
	ProgressUpdateStream *string
}

type ListCreatedArtifactsOutput

type ListCreatedArtifactsOutput struct {
	// List of created artifacts up to the maximum number of results specified in the
	// request.
	CreatedArtifactList []*types.CreatedArtifact
	// 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

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListDiscoveredResourcesInput

type ListDiscoveredResourcesInput struct {
	// The name of the MigrationTask. Do not store personal data in this field.
	MigrationTaskName *string
	// 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
	// The maximum number of results returned per page.
	MaxResults *int32
	// The name of the ProgressUpdateStream.
	ProgressUpdateStream *string
}

type ListDiscoveredResourcesOutput

type ListDiscoveredResourcesOutput struct {
	// Returned list of discovered resources associated with the given MigrationTask.
	DiscoveredResourceList []*types.DiscoveredResource
	// 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

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListMigrationTasksInput

type ListMigrationTasksInput struct {
	// Value to specify how many results are returned per page.
	MaxResults *int32
	// 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
	// Filter migration tasks by discovered resource name.
	ResourceName *string
}

type ListMigrationTasksOutput

type ListMigrationTasksOutput struct {
	// Lists the migration task's summary which includes: MigrationTaskName,
	// ProgressPercent, ProgressUpdateStream, Status, and the UpdateDateTime for each
	// task.
	MigrationTaskSummaryList []*types.MigrationTaskSummary
	// 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

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListProgressUpdateStreamsInput

type ListProgressUpdateStreamsInput struct {
	// 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
	// Filter to limit the maximum number of results to list per page.
	MaxResults *int32
}

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
	// List of progress update streams up to the max number of results passed in the
	// input.
	ProgressUpdateStreamSummaryList []*types.ProgressUpdateStreamSummary

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type NotifyApplicationStateInput

type NotifyApplicationStateInput struct {
	// Status of the application - Not Started, In-Progress, Complete.
	Status types.ApplicationStatus
	// 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
	// The configurationId in Application Discovery Service that uniquely identifies
	// the grouped application.
	ApplicationId *string
	// The timestamp when the application state changed.
	UpdateDateTime *time.Time
}

type NotifyApplicationStateOutput

type NotifyApplicationStateOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type NotifyMigrationTaskStateInput

type NotifyMigrationTaskStateInput struct {
	// The timestamp when the task was gathered.
	UpdateDateTime *time.Time
	// The name of the ProgressUpdateStream.
	ProgressUpdateStream *string
	// 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
	// Unique identifier that references the migration task. Do not store personal data
	// in this field.
	MigrationTaskName *string
	// 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 *int32
	// Information about the task's progress and status.
	Task *types.Task
}

type NotifyMigrationTaskStateOutput

type NotifyMigrationTaskStateOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type Options

type Options struct {
	// Set of options to modify how an operation is invoked. These apply to all
	// operations invoked for this client. Use functional options on operation call to
	// modify this list for per operation behavior.
	APIOptions []func(*middleware.Stack) error

	// The credentials object to use when signing requests.
	Credentials aws.CredentialsProvider

	// The endpoint options to be used when attempting to resolve an endpoint.
	EndpointOptions ResolverOptions

	// The service endpoint resolver.
	EndpointResolver EndpointResolver

	// Signature Version 4 (SigV4) Signer
	HTTPSignerV4 HTTPSignerV4

	// The region to send requests to. (Required)
	Region string

	// Retryer guides how HTTP requests should be retried in case of recoverable
	// failures. When nil the API client will use a default retryer.
	Retryer retry.Retryer

	// The HTTP client to invoke API calls with. Defaults to client's default HTTP
	// implementation if nil.
	HTTPClient HTTPClient
}

func (Options) Copy

func (o Options) Copy() Options

Copy creates a clone where the APIOptions list is deep copied.

func (Options) GetCredentials

func (o Options) GetCredentials() aws.CredentialsProvider

func (Options) GetEndpointOptions

func (o Options) GetEndpointOptions() ResolverOptions

func (Options) GetEndpointResolver

func (o Options) GetEndpointResolver() EndpointResolver

func (Options) GetHTTPSignerV4

func (o Options) GetHTTPSignerV4() HTTPSignerV4

func (Options) GetRegion

func (o Options) GetRegion() string

func (Options) GetRetryer

func (o Options) GetRetryer() retry.Retryer

type PutResourceAttributesInput

type PutResourceAttributesInput struct {
	// The name of the ProgressUpdateStream.
	ProgressUpdateStream *string
	// Unique identifier that references the migration task. Do not store personal data
	// in this field.
	MigrationTaskName *string
	// Information about the resource that is being migrated. This data will be used to
	// map the task to a resource in the Application Discovery Service repository.
	// 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.
	//
	//     * <p>If any "VM" related value is set for a
	// <code>ResourceAttribute</code> object, it is required that
	// <code>VM_MANAGER_ID</code>, as a minimum, is always set. If
	// <code>VM_MANAGER_ID</code> is not set, then all "VM" fields will be discarded
	// and "VM" fields will not be used for matching the migration task to a server in
	// Application Discovery Service repository. See the <a
	// href="https://docs.aws.amazon.com/migrationhub/latest/ug/API_PutResourceAttributes.html#API_PutResourceAttributes_Examples">Example</a>
	// section below for a use case of specifying "VM" related values.</p> </li> <li>
	// <p> 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
	// <code>ResourceAttributeList</code> parameter to maximize the chances of
	// matching.</p> </li> </ul> </important>
	ResourceAttributeList []*types.ResourceAttribute
	// 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 PutResourceAttributesOutput

type PutResourceAttributesOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ResolveEndpoint

type ResolveEndpoint struct {
	Resolver EndpointResolver
	Options  ResolverOptions
}

func (*ResolveEndpoint) HandleSerialize

func (*ResolveEndpoint) ID

func (*ResolveEndpoint) ID() string

type ResolveEndpointMiddlewareOptions

type ResolveEndpointMiddlewareOptions interface {
	GetEndpointResolver() EndpointResolver
	GetEndpointOptions() ResolverOptions
}

type ResolverOptions

type ResolverOptions = internalendpoints.Options

ResolverOptions is the service endpoint resolver options

Source Files

api_client.go api_op_AssociateCreatedArtifact.go api_op_AssociateDiscoveredResource.go api_op_CreateProgressUpdateStream.go api_op_DeleteProgressUpdateStream.go api_op_DescribeApplicationState.go api_op_DescribeMigrationTask.go api_op_DisassociateCreatedArtifact.go api_op_DisassociateDiscoveredResource.go api_op_ImportMigrationTask.go api_op_ListApplicationStates.go api_op_ListCreatedArtifacts.go api_op_ListDiscoveredResources.go api_op_ListMigrationTasks.go api_op_ListProgressUpdateStreams.go api_op_NotifyApplicationState.go api_op_NotifyMigrationTaskState.go api_op_PutResourceAttributes.go deserializers.go endpoints.go serializers.go validators.go

Directories

PathSynopsis
internal
types
Version
v0.1.0
Published
Sep 29, 2020
Platform
js/wasm
Imports
26 packages
Last checked
now

Tools for package owners.