sms

package
v2.0.0-preview.3+incom... Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package sms provides the client and types for making API requests to AWS Server Migration Service.

Amazon Server Migration Service automates the process of migrating servers to EC2.

See https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24 for more information on this service.

See sms package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/sms/

Using the Client

To AWS Server Migration Service with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS Server Migration Service client SMS for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/sms/#New

Index

Constants

View Source
const (

	// ErrCodeInternalError for service response error code
	// "InternalError".
	//
	// An internal error has occured.
	ErrCodeInternalError = "InternalError"

	// ErrCodeInvalidParameterException for service response error code
	// "InvalidParameterException".
	//
	// A parameter specified in the request is not valid, is unsupported, or cannot
	// be used.
	ErrCodeInvalidParameterException = "InvalidParameterException"

	// ErrCodeMissingRequiredParameterException for service response error code
	// "MissingRequiredParameterException".
	//
	// The request is missing a required parameter. Ensure that you have supplied
	// all the required parameters for the request.
	ErrCodeMissingRequiredParameterException = "MissingRequiredParameterException"

	// ErrCodeNoConnectorsAvailableException for service response error code
	// "NoConnectorsAvailableException".
	//
	// No connectors are available to handle this request. Please associate connector(s)
	// and verify any existing connectors are healthy and can respond to requests.
	ErrCodeNoConnectorsAvailableException = "NoConnectorsAvailableException"

	// ErrCodeOperationNotPermittedException for service response error code
	// "OperationNotPermittedException".
	//
	// The specified operation is not allowed. This error can occur for a number
	// of reasons; for example, you might be trying to start a Replication Run before
	// seed Replication Run.
	ErrCodeOperationNotPermittedException = "OperationNotPermittedException"

	// ErrCodeReplicationJobAlreadyExistsException for service response error code
	// "ReplicationJobAlreadyExistsException".
	//
	// An active Replication Job already exists for the specified server.
	ErrCodeReplicationJobAlreadyExistsException = "ReplicationJobAlreadyExistsException"

	// ErrCodeReplicationJobNotFoundException for service response error code
	// "ReplicationJobNotFoundException".
	//
	// The specified Replication Job cannot be found.
	ErrCodeReplicationJobNotFoundException = "ReplicationJobNotFoundException"

	// ErrCodeReplicationRunLimitExceededException for service response error code
	// "ReplicationRunLimitExceededException".
	//
	// This user has exceeded the maximum allowed Replication Run limit.
	ErrCodeReplicationRunLimitExceededException = "ReplicationRunLimitExceededException"

	// ErrCodeServerCannotBeReplicatedException for service response error code
	// "ServerCannotBeReplicatedException".
	//
	// The provided server cannot be replicated.
	ErrCodeServerCannotBeReplicatedException = "ServerCannotBeReplicatedException"

	// ErrCodeUnauthorizedOperationException for service response error code
	// "UnauthorizedOperationException".
	//
	// This user does not have permissions to perform this operation.
	ErrCodeUnauthorizedOperationException = "UnauthorizedOperationException"
)
View Source
const (
	ServiceName = "sms"       // Service endpoint prefix API calls made to.
	EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Connector

type Connector struct {

	// Timestamp of an operation
	AssociatedOn *time.Time `locationName:"associatedOn" type:"timestamp" timestampFormat:"unix"`

	// List of Connector Capabilities
	CapabilityList []ConnectorCapability `locationName:"capabilityList" locationNameList:"item" type:"list"`

	// Unique Identifier for Connector
	ConnectorId *string `locationName:"connectorId" type:"string"`

	// Internet Protocol (IP) Address
	IpAddress *string `locationName:"ipAddress" type:"string"`

	// Hardware (MAC) address
	MacAddress *string `locationName:"macAddress" type:"string"`

	// Status of on-premises Connector
	Status ConnectorStatus `locationName:"status" type:"string" enum:"true"`

	// Connector version string
	Version *string `locationName:"version" type:"string"`

	// Unique Identifier for VM Manager
	VmManagerId *string `locationName:"vmManagerId" type:"string"`

	// VM Manager Name
	VmManagerName *string `locationName:"vmManagerName" type:"string"`

	// VM Management Product
	VmManagerType VmManagerType `locationName:"vmManagerType" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Object representing a Connector Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/Connector

func (Connector) GoString

func (s Connector) GoString() string

GoString returns the string representation

func (Connector) String

func (s Connector) String() string

String returns the string representation

type ConnectorCapability

type ConnectorCapability string

Capabilities for a Connector

const (
	ConnectorCapabilityVsphere ConnectorCapability = "VSPHERE"
)

Enum values for ConnectorCapability

func (ConnectorCapability) MarshalValue

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

func (ConnectorCapability) MarshalValueBuf

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

type ConnectorStatus

type ConnectorStatus string

Status of on-premises Connector

const (
	ConnectorStatusHealthy   ConnectorStatus = "HEALTHY"
	ConnectorStatusUnhealthy ConnectorStatus = "UNHEALTHY"
)

Enum values for ConnectorStatus

func (ConnectorStatus) MarshalValue

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

func (ConnectorStatus) MarshalValueBuf

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

type CreateReplicationJobInput

type CreateReplicationJobInput struct {

	// The description for a Replication Job/Run.
	Description *string `locationName:"description" type:"string"`

	// Interval between Replication Runs. This value is specified in hours, and
	// represents the time between consecutive Replication Runs.
	//
	// Frequency is a required field
	Frequency *int64 `locationName:"frequency" type:"integer" required:"true"`

	// The license type to be used for the Amazon Machine Image (AMI) created after
	// a successful ReplicationRun.
	LicenseType LicenseType `locationName:"licenseType" type:"string" enum:"true"`

	// Name of service role in customer's account to be used by SMS service.
	RoleName *string `locationName:"roleName" type:"string"`

	// Timestamp of an operation
	//
	// SeedReplicationTime is a required field
	SeedReplicationTime *time.Time `locationName:"seedReplicationTime" type:"timestamp" timestampFormat:"unix" required:"true"`

	// Unique Identifier for a server
	//
	// ServerId is a required field
	ServerId *string `locationName:"serverId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/CreateReplicationJobRequest

func (CreateReplicationJobInput) GoString

func (s CreateReplicationJobInput) GoString() string

GoString returns the string representation

func (CreateReplicationJobInput) String

func (s CreateReplicationJobInput) String() string

String returns the string representation

func (*CreateReplicationJobInput) Validate

func (s *CreateReplicationJobInput) Validate() error

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

type CreateReplicationJobOutput

type CreateReplicationJobOutput struct {

	// The unique identifier for a Replication Job.
	ReplicationJobId *string `locationName:"replicationJobId" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/CreateReplicationJobResponse

func (CreateReplicationJobOutput) GoString

func (s CreateReplicationJobOutput) GoString() string

GoString returns the string representation

func (CreateReplicationJobOutput) SDKResponseMetadata

func (s CreateReplicationJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateReplicationJobOutput) String

String returns the string representation

type CreateReplicationJobRequest

type CreateReplicationJobRequest struct {
	*aws.Request
	Input *CreateReplicationJobInput
	Copy  func(*CreateReplicationJobInput) CreateReplicationJobRequest
}

CreateReplicationJobRequest is a API request type for the CreateReplicationJob API operation.

func (CreateReplicationJobRequest) Send

Send marshals and sends the CreateReplicationJob API request.

type DeleteReplicationJobInput

type DeleteReplicationJobInput struct {

	// The unique identifier for a Replication Job.
	//
	// ReplicationJobId is a required field
	ReplicationJobId *string `locationName:"replicationJobId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteReplicationJobRequest

func (DeleteReplicationJobInput) GoString

func (s DeleteReplicationJobInput) GoString() string

GoString returns the string representation

func (DeleteReplicationJobInput) String

func (s DeleteReplicationJobInput) String() string

String returns the string representation

func (*DeleteReplicationJobInput) Validate

func (s *DeleteReplicationJobInput) Validate() error

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

type DeleteReplicationJobOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteReplicationJobResponse

func (DeleteReplicationJobOutput) GoString

func (s DeleteReplicationJobOutput) GoString() string

GoString returns the string representation

func (DeleteReplicationJobOutput) SDKResponseMetadata

func (s DeleteReplicationJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteReplicationJobOutput) String

String returns the string representation

type DeleteReplicationJobRequest

type DeleteReplicationJobRequest struct {
	*aws.Request
	Input *DeleteReplicationJobInput
	Copy  func(*DeleteReplicationJobInput) DeleteReplicationJobRequest
}

DeleteReplicationJobRequest is a API request type for the DeleteReplicationJob API operation.

func (DeleteReplicationJobRequest) Send

Send marshals and sends the DeleteReplicationJob API request.

type DeleteServerCatalogInput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteServerCatalogRequest

func (DeleteServerCatalogInput) GoString

func (s DeleteServerCatalogInput) GoString() string

GoString returns the string representation

func (DeleteServerCatalogInput) String

func (s DeleteServerCatalogInput) String() string

String returns the string representation

type DeleteServerCatalogOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteServerCatalogResponse

func (DeleteServerCatalogOutput) GoString

func (s DeleteServerCatalogOutput) GoString() string

GoString returns the string representation

func (DeleteServerCatalogOutput) SDKResponseMetadata

func (s DeleteServerCatalogOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteServerCatalogOutput) String

func (s DeleteServerCatalogOutput) String() string

String returns the string representation

type DeleteServerCatalogRequest

type DeleteServerCatalogRequest struct {
	*aws.Request
	Input *DeleteServerCatalogInput
	Copy  func(*DeleteServerCatalogInput) DeleteServerCatalogRequest
}

DeleteServerCatalogRequest is a API request type for the DeleteServerCatalog API operation.

func (DeleteServerCatalogRequest) Send

Send marshals and sends the DeleteServerCatalog API request.

type DisassociateConnectorInput

type DisassociateConnectorInput struct {

	// Unique Identifier for Connector
	//
	// ConnectorId is a required field
	ConnectorId *string `locationName:"connectorId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DisassociateConnectorRequest

func (DisassociateConnectorInput) GoString

func (s DisassociateConnectorInput) GoString() string

GoString returns the string representation

func (DisassociateConnectorInput) String

String returns the string representation

func (*DisassociateConnectorInput) Validate

func (s *DisassociateConnectorInput) Validate() error

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

type DisassociateConnectorOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DisassociateConnectorResponse

func (DisassociateConnectorOutput) GoString

func (s DisassociateConnectorOutput) GoString() string

GoString returns the string representation

func (DisassociateConnectorOutput) SDKResponseMetadata

func (s DisassociateConnectorOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DisassociateConnectorOutput) String

String returns the string representation

type DisassociateConnectorRequest

type DisassociateConnectorRequest struct {
	*aws.Request
	Input *DisassociateConnectorInput
	Copy  func(*DisassociateConnectorInput) DisassociateConnectorRequest
}

DisassociateConnectorRequest is a API request type for the DisassociateConnector API operation.

func (DisassociateConnectorRequest) Send

Send marshals and sends the DisassociateConnector API request.

type GetConnectorsInput

type GetConnectorsInput struct {

	// The maximum number of results to return in one API call. If left empty, this
	// will default to 50.
	MaxResults *int64 `locationName:"maxResults" type:"integer"`

	// Pagination token to pass as input to API call
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetConnectorsRequest

func (GetConnectorsInput) GoString

func (s GetConnectorsInput) GoString() string

GoString returns the string representation

func (GetConnectorsInput) String

func (s GetConnectorsInput) String() string

String returns the string representation

type GetConnectorsOutput

type GetConnectorsOutput struct {

	// List of connectors
	ConnectorList []Connector `locationName:"connectorList" locationNameList:"item" type:"list"`

	// Pagination token to pass as input to API call
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetConnectorsResponse

func (GetConnectorsOutput) GoString

func (s GetConnectorsOutput) GoString() string

GoString returns the string representation

func (GetConnectorsOutput) SDKResponseMetadata

func (s GetConnectorsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetConnectorsOutput) String

func (s GetConnectorsOutput) String() string

String returns the string representation

type GetConnectorsPager

type GetConnectorsPager struct {
	aws.Pager
}

GetConnectorsPager is used to paginate the request. This can be done by calling Next and CurrentPage.

func (*GetConnectorsPager) CurrentPage

func (p *GetConnectorsPager) CurrentPage() *GetConnectorsOutput

type GetConnectorsRequest

type GetConnectorsRequest struct {
	*aws.Request
	Input *GetConnectorsInput
	Copy  func(*GetConnectorsInput) GetConnectorsRequest
}

GetConnectorsRequest is a API request type for the GetConnectors API operation.

func (*GetConnectorsRequest) Paginate

func (p *GetConnectorsRequest) Paginate(opts ...aws.Option) GetConnectorsPager

Paginate pages iterates over the pages of a GetConnectorsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a GetConnectors operation.
		req := client.GetConnectorsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (GetConnectorsRequest) Send

Send marshals and sends the GetConnectors API request.

type GetReplicationJobsInput

type GetReplicationJobsInput struct {

	// The maximum number of results to return in one API call. If left empty, this
	// will default to 50.
	MaxResults *int64 `locationName:"maxResults" type:"integer"`

	// Pagination token to pass as input to API call
	NextToken *string `locationName:"nextToken" type:"string"`

	// The unique identifier for a Replication Job.
	ReplicationJobId *string `locationName:"replicationJobId" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetReplicationJobsRequest

func (GetReplicationJobsInput) GoString

func (s GetReplicationJobsInput) GoString() string

GoString returns the string representation

func (GetReplicationJobsInput) String

func (s GetReplicationJobsInput) String() string

String returns the string representation

type GetReplicationJobsOutput

type GetReplicationJobsOutput struct {

	// Pagination token to pass as input to API call
	NextToken *string `locationName:"nextToken" type:"string"`

	// List of Replication Jobs
	ReplicationJobList []ReplicationJob `locationName:"replicationJobList" locationNameList:"item" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetReplicationJobsResponse

func (GetReplicationJobsOutput) GoString

func (s GetReplicationJobsOutput) GoString() string

GoString returns the string representation

func (GetReplicationJobsOutput) SDKResponseMetadata

func (s GetReplicationJobsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetReplicationJobsOutput) String

func (s GetReplicationJobsOutput) String() string

String returns the string representation

type GetReplicationJobsPager

type GetReplicationJobsPager struct {
	aws.Pager
}

GetReplicationJobsPager is used to paginate the request. This can be done by calling Next and CurrentPage.

func (*GetReplicationJobsPager) CurrentPage

type GetReplicationJobsRequest

type GetReplicationJobsRequest struct {
	*aws.Request
	Input *GetReplicationJobsInput
	Copy  func(*GetReplicationJobsInput) GetReplicationJobsRequest
}

GetReplicationJobsRequest is a API request type for the GetReplicationJobs API operation.

func (*GetReplicationJobsRequest) Paginate

Paginate pages iterates over the pages of a GetReplicationJobsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a GetReplicationJobs operation.
		req := client.GetReplicationJobsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (GetReplicationJobsRequest) Send

Send marshals and sends the GetReplicationJobs API request.

type GetReplicationRunsInput

type GetReplicationRunsInput struct {

	// The maximum number of results to return in one API call. If left empty, this
	// will default to 50.
	MaxResults *int64 `locationName:"maxResults" type:"integer"`

	// Pagination token to pass as input to API call
	NextToken *string `locationName:"nextToken" type:"string"`

	// The unique identifier for a Replication Job.
	//
	// ReplicationJobId is a required field
	ReplicationJobId *string `locationName:"replicationJobId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetReplicationRunsRequest

func (GetReplicationRunsInput) GoString

func (s GetReplicationRunsInput) GoString() string

GoString returns the string representation

func (GetReplicationRunsInput) String

func (s GetReplicationRunsInput) String() string

String returns the string representation

func (*GetReplicationRunsInput) Validate

func (s *GetReplicationRunsInput) Validate() error

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

type GetReplicationRunsOutput

type GetReplicationRunsOutput struct {

	// Pagination token to pass as input to API call
	NextToken *string `locationName:"nextToken" type:"string"`

	// Object representing a Replication Job
	ReplicationJob *ReplicationJob `locationName:"replicationJob" type:"structure"`

	// List of Replication Runs
	ReplicationRunList []ReplicationRun `locationName:"replicationRunList" locationNameList:"item" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetReplicationRunsResponse

func (GetReplicationRunsOutput) GoString

func (s GetReplicationRunsOutput) GoString() string

GoString returns the string representation

func (GetReplicationRunsOutput) SDKResponseMetadata

func (s GetReplicationRunsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetReplicationRunsOutput) String

func (s GetReplicationRunsOutput) String() string

String returns the string representation

type GetReplicationRunsPager

type GetReplicationRunsPager struct {
	aws.Pager
}

GetReplicationRunsPager is used to paginate the request. This can be done by calling Next and CurrentPage.

func (*GetReplicationRunsPager) CurrentPage

type GetReplicationRunsRequest

type GetReplicationRunsRequest struct {
	*aws.Request
	Input *GetReplicationRunsInput
	Copy  func(*GetReplicationRunsInput) GetReplicationRunsRequest
}

GetReplicationRunsRequest is a API request type for the GetReplicationRuns API operation.

func (*GetReplicationRunsRequest) Paginate

Paginate pages iterates over the pages of a GetReplicationRunsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a GetReplicationRuns operation.
		req := client.GetReplicationRunsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (GetReplicationRunsRequest) Send

Send marshals and sends the GetReplicationRuns API request.

type GetServersInput

type GetServersInput struct {

	// The maximum number of results to return in one API call. If left empty, this
	// will default to 50.
	MaxResults *int64 `locationName:"maxResults" type:"integer"`

	// Pagination token to pass as input to API call
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetServersRequest

func (GetServersInput) GoString

func (s GetServersInput) GoString() string

GoString returns the string representation

func (GetServersInput) String

func (s GetServersInput) String() string

String returns the string representation

type GetServersOutput

type GetServersOutput struct {

	// Timestamp of an operation
	LastModifiedOn *time.Time `locationName:"lastModifiedOn" type:"timestamp" timestampFormat:"unix"`

	// Pagination token to pass as input to API call
	NextToken *string `locationName:"nextToken" type:"string"`

	// Status of Server catalog
	ServerCatalogStatus ServerCatalogStatus `locationName:"serverCatalogStatus" type:"string" enum:"true"`

	// List of servers from catalog
	ServerList []Server `locationName:"serverList" locationNameList:"item" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetServersResponse

func (GetServersOutput) GoString

func (s GetServersOutput) GoString() string

GoString returns the string representation

func (GetServersOutput) SDKResponseMetadata

func (s GetServersOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetServersOutput) String

func (s GetServersOutput) String() string

String returns the string representation

type GetServersPager

type GetServersPager struct {
	aws.Pager
}

GetServersPager is used to paginate the request. This can be done by calling Next and CurrentPage.

func (*GetServersPager) CurrentPage

func (p *GetServersPager) CurrentPage() *GetServersOutput

type GetServersRequest

type GetServersRequest struct {
	*aws.Request
	Input *GetServersInput
	Copy  func(*GetServersInput) GetServersRequest
}

GetServersRequest is a API request type for the GetServers API operation.

func (*GetServersRequest) Paginate

func (p *GetServersRequest) Paginate(opts ...aws.Option) GetServersPager

Paginate pages iterates over the pages of a GetServersRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a GetServers operation.
		req := client.GetServersRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (GetServersRequest) Send

Send marshals and sends the GetServers API request.

type ImportServerCatalogInput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ImportServerCatalogRequest

func (ImportServerCatalogInput) GoString

func (s ImportServerCatalogInput) GoString() string

GoString returns the string representation

func (ImportServerCatalogInput) String

func (s ImportServerCatalogInput) String() string

String returns the string representation

type ImportServerCatalogOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ImportServerCatalogResponse

func (ImportServerCatalogOutput) GoString

func (s ImportServerCatalogOutput) GoString() string

GoString returns the string representation

func (ImportServerCatalogOutput) SDKResponseMetadata

func (s ImportServerCatalogOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ImportServerCatalogOutput) String

func (s ImportServerCatalogOutput) String() string

String returns the string representation

type ImportServerCatalogRequest

type ImportServerCatalogRequest struct {
	*aws.Request
	Input *ImportServerCatalogInput
	Copy  func(*ImportServerCatalogInput) ImportServerCatalogRequest
}

ImportServerCatalogRequest is a API request type for the ImportServerCatalog API operation.

func (ImportServerCatalogRequest) Send

Send marshals and sends the ImportServerCatalog API request.

type LicenseType

type LicenseType string

The license type to be used for the Amazon Machine Image (AMI) created after a successful ReplicationRun.

const (
	LicenseTypeAws  LicenseType = "AWS"
	LicenseTypeByol LicenseType = "BYOL"
)

Enum values for LicenseType

func (LicenseType) MarshalValue

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

func (LicenseType) MarshalValueBuf

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

type ReplicationJob

type ReplicationJob struct {

	// The description for a Replication Job/Run.
	Description *string `locationName:"description" type:"string"`

	// Interval between Replication Runs. This value is specified in hours, and
	// represents the time between consecutive Replication Runs.
	Frequency *int64 `locationName:"frequency" type:"integer"`

	// The AMI id for the image resulting from a Replication Run.
	LatestAmiId *string `locationName:"latestAmiId" type:"string"`

	// The license type to be used for the Amazon Machine Image (AMI) created after
	// a successful ReplicationRun.
	LicenseType LicenseType `locationName:"licenseType" type:"string" enum:"true"`

	// Timestamp of an operation
	NextReplicationRunStartTime *time.Time `locationName:"nextReplicationRunStartTime" type:"timestamp" timestampFormat:"unix"`

	// The unique identifier for a Replication Job.
	ReplicationJobId *string `locationName:"replicationJobId" type:"string"`

	// List of Replication Runs
	ReplicationRunList []ReplicationRun `locationName:"replicationRunList" locationNameList:"item" type:"list"`

	// Name of service role in customer's account to be used by SMS service.
	RoleName *string `locationName:"roleName" type:"string"`

	// Timestamp of an operation
	SeedReplicationTime *time.Time `locationName:"seedReplicationTime" type:"timestamp" timestampFormat:"unix"`

	// Unique Identifier for a server
	ServerId *string `locationName:"serverId" type:"string"`

	// Type of server.
	ServerType ServerType `locationName:"serverType" type:"string" enum:"true"`

	// Current state of Replication Job
	State ReplicationJobState `locationName:"state" type:"string" enum:"true"`

	// String describing current status of Replication Job
	StatusMessage *string `locationName:"statusMessage" type:"string"`

	// Object representing a VM server
	VmServer *VmServer `locationName:"vmServer" type:"structure"`
	// contains filtered or unexported fields
}

Object representing a Replication Job Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ReplicationJob

func (ReplicationJob) GoString

func (s ReplicationJob) GoString() string

GoString returns the string representation

func (ReplicationJob) String

func (s ReplicationJob) String() string

String returns the string representation

type ReplicationJobState

type ReplicationJobState string

Current state of Replication Job

const (
	ReplicationJobStatePending  ReplicationJobState = "PENDING"
	ReplicationJobStateActive   ReplicationJobState = "ACTIVE"
	ReplicationJobStateFailed   ReplicationJobState = "FAILED"
	ReplicationJobStateDeleting ReplicationJobState = "DELETING"
	ReplicationJobStateDeleted  ReplicationJobState = "DELETED"
)

Enum values for ReplicationJobState

func (ReplicationJobState) MarshalValue

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

func (ReplicationJobState) MarshalValueBuf

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

type ReplicationRun

type ReplicationRun struct {

	// The AMI id for the image resulting from a Replication Run.
	AmiId *string `locationName:"amiId" type:"string"`

	// Timestamp of an operation
	CompletedTime *time.Time `locationName:"completedTime" type:"timestamp" timestampFormat:"unix"`

	// The description for a Replication Job/Run.
	Description *string `locationName:"description" type:"string"`

	// The unique identifier for a Replication Run.
	ReplicationRunId *string `locationName:"replicationRunId" type:"string"`

	// Timestamp of an operation
	ScheduledStartTime *time.Time `locationName:"scheduledStartTime" type:"timestamp" timestampFormat:"unix"`

	// Current state of Replication Run
	State ReplicationRunState `locationName:"state" type:"string" enum:"true"`

	// String describing current status of Replication Run
	StatusMessage *string `locationName:"statusMessage" type:"string"`

	// Type of Replication Run
	Type ReplicationRunType `locationName:"type" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Object representing a Replication Run Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ReplicationRun

func (ReplicationRun) GoString

func (s ReplicationRun) GoString() string

GoString returns the string representation

func (ReplicationRun) String

func (s ReplicationRun) String() string

String returns the string representation

type ReplicationRunState

type ReplicationRunState string

Current state of Replication Run

const (
	ReplicationRunStatePending   ReplicationRunState = "PENDING"
	ReplicationRunStateMissed    ReplicationRunState = "MISSED"
	ReplicationRunStateActive    ReplicationRunState = "ACTIVE"
	ReplicationRunStateFailed    ReplicationRunState = "FAILED"
	ReplicationRunStateCompleted ReplicationRunState = "COMPLETED"
	ReplicationRunStateDeleting  ReplicationRunState = "DELETING"
	ReplicationRunStateDeleted   ReplicationRunState = "DELETED"
)

Enum values for ReplicationRunState

func (ReplicationRunState) MarshalValue

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

func (ReplicationRunState) MarshalValueBuf

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

type ReplicationRunType

type ReplicationRunType string

Type of Replication Run

const (
	ReplicationRunTypeOnDemand  ReplicationRunType = "ON_DEMAND"
	ReplicationRunTypeAutomatic ReplicationRunType = "AUTOMATIC"
)

Enum values for ReplicationRunType

func (ReplicationRunType) MarshalValue

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

func (ReplicationRunType) MarshalValueBuf

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

type SMS

type SMS struct {
	*aws.Client
}

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

SMS 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) *SMS

New creates a new instance of the SMS client with a config.

Example:

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

func (*SMS) CreateReplicationJobRequest

func (c *SMS) CreateReplicationJobRequest(input *CreateReplicationJobInput) CreateReplicationJobRequest

CreateReplicationJobRequest returns a request value for making API operation for AWS Server Migration Service.

The CreateReplicationJob API is used to create a ReplicationJob to replicate a server on AWS. Call this API to first create a ReplicationJob, which will then schedule periodic ReplicationRuns to replicate your server to AWS. Each ReplicationRun will result in the creation of an AWS AMI.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/CreateReplicationJob

func (*SMS) DeleteReplicationJobRequest

func (c *SMS) DeleteReplicationJobRequest(input *DeleteReplicationJobInput) DeleteReplicationJobRequest

DeleteReplicationJobRequest returns a request value for making API operation for AWS Server Migration Service.

The DeleteReplicationJob API is used to delete a ReplicationJob, resulting in no further ReplicationRuns. This will delete the contents of the S3 bucket used to store SMS artifacts, but will not delete any AMIs created by the SMS service.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteReplicationJob

func (*SMS) DeleteServerCatalogRequest

func (c *SMS) DeleteServerCatalogRequest(input *DeleteServerCatalogInput) DeleteServerCatalogRequest

DeleteServerCatalogRequest returns a request value for making API operation for AWS Server Migration Service.

The DeleteServerCatalog API clears all servers from your server catalog. This means that these servers will no longer be accessible to the Server Migration Service.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteServerCatalog

func (*SMS) DisassociateConnectorRequest

func (c *SMS) DisassociateConnectorRequest(input *DisassociateConnectorInput) DisassociateConnectorRequest

DisassociateConnectorRequest returns a request value for making API operation for AWS Server Migration Service.

The DisassociateConnector API will disassociate a connector from the Server Migration Service, rendering it unavailable to support replication jobs.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DisassociateConnector

func (*SMS) GetConnectorsRequest

func (c *SMS) GetConnectorsRequest(input *GetConnectorsInput) GetConnectorsRequest

GetConnectorsRequest returns a request value for making API operation for AWS Server Migration Service.

The GetConnectors API returns a list of connectors that are registered with the Server Migration Service.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetConnectors

func (*SMS) GetReplicationJobsRequest

func (c *SMS) GetReplicationJobsRequest(input *GetReplicationJobsInput) GetReplicationJobsRequest

GetReplicationJobsRequest returns a request value for making API operation for AWS Server Migration Service.

The GetReplicationJobs API will return all of your ReplicationJobs and their details. This API returns a paginated list, that may be consecutively called with nextToken to retrieve all ReplicationJobs.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetReplicationJobs

func (*SMS) GetReplicationRunsRequest

func (c *SMS) GetReplicationRunsRequest(input *GetReplicationRunsInput) GetReplicationRunsRequest

GetReplicationRunsRequest returns a request value for making API operation for AWS Server Migration Service.

The GetReplicationRuns API will return all ReplicationRuns for a given ReplicationJob. This API returns a paginated list, that may be consecutively called with nextToken to retrieve all ReplicationRuns for a ReplicationJob.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetReplicationRuns

func (*SMS) GetServersRequest

func (c *SMS) GetServersRequest(input *GetServersInput) GetServersRequest

GetServersRequest returns a request value for making API operation for AWS Server Migration Service.

The GetServers API returns a list of all servers in your server catalog. For this call to succeed, you must previously have called ImportServerCatalog.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetServers

func (*SMS) ImportServerCatalogRequest

func (c *SMS) ImportServerCatalogRequest(input *ImportServerCatalogInput) ImportServerCatalogRequest

ImportServerCatalogRequest returns a request value for making API operation for AWS Server Migration Service.

The ImportServerCatalog API is used to gather the complete list of on-premises servers on your premises. This API call requires connectors to be installed and monitoring all servers you would like imported. This API call returns immediately, but may take some time to retrieve all of the servers.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ImportServerCatalog

func (*SMS) StartOnDemandReplicationRunRequest

func (c *SMS) StartOnDemandReplicationRunRequest(input *StartOnDemandReplicationRunInput) StartOnDemandReplicationRunRequest

StartOnDemandReplicationRunRequest returns a request value for making API operation for AWS Server Migration Service.

The StartOnDemandReplicationRun API is used to start a ReplicationRun on demand (in addition to those that are scheduled based on your frequency). This ReplicationRun will start immediately. StartOnDemandReplicationRun is subject to limits on how many on demand ReplicationRuns you may call per 24-hour period.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartOnDemandReplicationRun

func (*SMS) UpdateReplicationJobRequest

func (c *SMS) UpdateReplicationJobRequest(input *UpdateReplicationJobInput) UpdateReplicationJobRequest

UpdateReplicationJobRequest returns a request value for making API operation for AWS Server Migration Service.

The UpdateReplicationJob API is used to change the settings of your existing ReplicationJob created using CreateReplicationJob. Calling this API will affect the next scheduled ReplicationRun.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/UpdateReplicationJob

type Server

type Server struct {

	// The unique identifier for a Replication Job.
	ReplicationJobId *string `locationName:"replicationJobId" type:"string"`

	// An indicator of the Replication Job being deleted or failed.
	ReplicationJobTerminated *bool `locationName:"replicationJobTerminated" type:"boolean"`

	// Unique Identifier for a server
	ServerId *string `locationName:"serverId" type:"string"`

	// Type of server.
	ServerType ServerType `locationName:"serverType" type:"string" enum:"true"`

	// Object representing a VM server
	VmServer *VmServer `locationName:"vmServer" type:"structure"`
	// contains filtered or unexported fields
}

Object representing a server Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/Server

func (Server) GoString

func (s Server) GoString() string

GoString returns the string representation

func (Server) String

func (s Server) String() string

String returns the string representation

type ServerCatalogStatus

type ServerCatalogStatus string

Status of Server catalog

const (
	ServerCatalogStatusNotImported ServerCatalogStatus = "NOT_IMPORTED"
	ServerCatalogStatusImporting   ServerCatalogStatus = "IMPORTING"
	ServerCatalogStatusAvailable   ServerCatalogStatus = "AVAILABLE"
	ServerCatalogStatusDeleted     ServerCatalogStatus = "DELETED"
	ServerCatalogStatusExpired     ServerCatalogStatus = "EXPIRED"
)

Enum values for ServerCatalogStatus

func (ServerCatalogStatus) MarshalValue

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

func (ServerCatalogStatus) MarshalValueBuf

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

type ServerType

type ServerType string

Type of server.

const (
	ServerTypeVirtualMachine ServerType = "VIRTUAL_MACHINE"
)

Enum values for ServerType

func (ServerType) MarshalValue

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

func (ServerType) MarshalValueBuf

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

type StartOnDemandReplicationRunInput

type StartOnDemandReplicationRunInput struct {

	// The description for a Replication Job/Run.
	Description *string `locationName:"description" type:"string"`

	// The unique identifier for a Replication Job.
	//
	// ReplicationJobId is a required field
	ReplicationJobId *string `locationName:"replicationJobId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartOnDemandReplicationRunRequest

func (StartOnDemandReplicationRunInput) GoString

GoString returns the string representation

func (StartOnDemandReplicationRunInput) String

String returns the string representation

func (*StartOnDemandReplicationRunInput) Validate

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

type StartOnDemandReplicationRunOutput

type StartOnDemandReplicationRunOutput struct {

	// The unique identifier for a Replication Run.
	ReplicationRunId *string `locationName:"replicationRunId" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartOnDemandReplicationRunResponse

func (StartOnDemandReplicationRunOutput) GoString

GoString returns the string representation

func (StartOnDemandReplicationRunOutput) SDKResponseMetadata

func (s StartOnDemandReplicationRunOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (StartOnDemandReplicationRunOutput) String

String returns the string representation

type StartOnDemandReplicationRunRequest

type StartOnDemandReplicationRunRequest struct {
	*aws.Request
	Input *StartOnDemandReplicationRunInput
	Copy  func(*StartOnDemandReplicationRunInput) StartOnDemandReplicationRunRequest
}

StartOnDemandReplicationRunRequest is a API request type for the StartOnDemandReplicationRun API operation.

func (StartOnDemandReplicationRunRequest) Send

Send marshals and sends the StartOnDemandReplicationRun API request.

type UpdateReplicationJobInput

type UpdateReplicationJobInput struct {

	// The description for a Replication Job/Run.
	Description *string `locationName:"description" type:"string"`

	// Interval between Replication Runs. This value is specified in hours, and
	// represents the time between consecutive Replication Runs.
	Frequency *int64 `locationName:"frequency" type:"integer"`

	// The license type to be used for the Amazon Machine Image (AMI) created after
	// a successful ReplicationRun.
	LicenseType LicenseType `locationName:"licenseType" type:"string" enum:"true"`

	// Timestamp of an operation
	NextReplicationRunStartTime *time.Time `locationName:"nextReplicationRunStartTime" type:"timestamp" timestampFormat:"unix"`

	// The unique identifier for a Replication Job.
	//
	// ReplicationJobId is a required field
	ReplicationJobId *string `locationName:"replicationJobId" type:"string" required:"true"`

	// Name of service role in customer's account to be used by SMS service.
	RoleName *string `locationName:"roleName" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/UpdateReplicationJobRequest

func (UpdateReplicationJobInput) GoString

func (s UpdateReplicationJobInput) GoString() string

GoString returns the string representation

func (UpdateReplicationJobInput) String

func (s UpdateReplicationJobInput) String() string

String returns the string representation

func (*UpdateReplicationJobInput) Validate

func (s *UpdateReplicationJobInput) Validate() error

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

type UpdateReplicationJobOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/UpdateReplicationJobResponse

func (UpdateReplicationJobOutput) GoString

func (s UpdateReplicationJobOutput) GoString() string

GoString returns the string representation

func (UpdateReplicationJobOutput) SDKResponseMetadata

func (s UpdateReplicationJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateReplicationJobOutput) String

String returns the string representation

type UpdateReplicationJobRequest

type UpdateReplicationJobRequest struct {
	*aws.Request
	Input *UpdateReplicationJobInput
	Copy  func(*UpdateReplicationJobInput) UpdateReplicationJobRequest
}

UpdateReplicationJobRequest is a API request type for the UpdateReplicationJob API operation.

func (UpdateReplicationJobRequest) Send

Send marshals and sends the UpdateReplicationJob API request.

type VmManagerType

type VmManagerType string

VM Management Product

const (
	VmManagerTypeVsphere VmManagerType = "VSPHERE"
)

Enum values for VmManagerType

func (VmManagerType) MarshalValue

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

func (VmManagerType) MarshalValueBuf

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

type VmServer

type VmServer struct {

	// VM Manager Name
	VmManagerName *string `locationName:"vmManagerName" type:"string"`

	// VM Management Product
	VmManagerType VmManagerType `locationName:"vmManagerType" type:"string" enum:"true"`

	// Name of Virtual Machine
	VmName *string `locationName:"vmName" type:"string"`

	// Path to VM
	VmPath *string `locationName:"vmPath" type:"string"`

	// Object representing a server's location
	VmServerAddress *VmServerAddress `locationName:"vmServerAddress" type:"structure"`
	// contains filtered or unexported fields
}

Object representing a VM server Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/VmServer

func (VmServer) GoString

func (s VmServer) GoString() string

GoString returns the string representation

func (VmServer) String

func (s VmServer) String() string

String returns the string representation

type VmServerAddress

type VmServerAddress struct {

	// Unique Identifier for a VM
	VmId *string `locationName:"vmId" type:"string"`

	// Unique Identifier for VM Manager
	VmManagerId *string `locationName:"vmManagerId" type:"string"`
	// contains filtered or unexported fields
}

Object representing a server's location Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/VmServerAddress

func (VmServerAddress) GoString

func (s VmServerAddress) GoString() string

GoString returns the string representation

func (VmServerAddress) String

func (s VmServerAddress) String() string

String returns the string representation

Directories

Path Synopsis
Package smsiface provides an interface to enable mocking the AWS Server Migration Service service client for testing your code.
Package smsiface provides an interface to enable mocking the AWS Server Migration Service service client for testing your code.

Jump to

Keyboard shortcuts

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