package sms

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

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

This is the AWS Sever Migration Service API Reference. It provides descriptions, syntax, and usage examples for each of the actions and data types for the AWS Sever Migration Service (AWS SMS). The topic for each action shows the Query API request parameters and the XML response. You can also view the XML request elements in the WSDL.

Alternatively, you can use one of the AWS SDKs to access an API that's tailored to the programming language or platform that you're using. For more information, see AWS SDKs (http://aws.amazon.com/tools/#SDKs).

To learn more about the Server Migration Service, see the following resources:

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

const (

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

	// ErrCodeInvalidParameterException for service response error code
	// "InvalidParameterException".
	//
	// A specified parameter is not valid.
	ErrCodeInvalidParameterException = "InvalidParameterException"

	// ErrCodeMissingRequiredParameterException for service response error code
	// "MissingRequiredParameterException".
	//
	// A required parameter is missing.
	ErrCodeMissingRequiredParameterException = "MissingRequiredParameterException"

	// ErrCodeNoConnectorsAvailableException for service response error code
	// "NoConnectorsAvailableException".
	//
	// There are no connectors available.
	ErrCodeNoConnectorsAvailableException = "NoConnectorsAvailableException"

	// ErrCodeOperationNotPermittedException for service response error code
	// "OperationNotPermittedException".
	//
	// This operation is not allowed.
	ErrCodeOperationNotPermittedException = "OperationNotPermittedException"

	// ErrCodeReplicationJobAlreadyExistsException for service response error code
	// "ReplicationJobAlreadyExistsException".
	//
	// The specified replication job already exists.
	ErrCodeReplicationJobAlreadyExistsException = "ReplicationJobAlreadyExistsException"

	// ErrCodeReplicationJobNotFoundException for service response error code
	// "ReplicationJobNotFoundException".
	//
	// The specified replication job does not exist.
	ErrCodeReplicationJobNotFoundException = "ReplicationJobNotFoundException"

	// ErrCodeReplicationRunLimitExceededException for service response error code
	// "ReplicationRunLimitExceededException".
	//
	// You have exceeded the number of on-demand replication runs you can request
	// in a 24-hour period.
	ErrCodeReplicationRunLimitExceededException = "ReplicationRunLimitExceededException"

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

	// ErrCodeTemporarilyUnavailableException for service response error code
	// "TemporarilyUnavailableException".
	//
	// The service is temporarily unavailable.
	ErrCodeTemporarilyUnavailableException = "TemporarilyUnavailableException"

	// ErrCodeUnauthorizedOperationException for service response error code
	// "UnauthorizedOperationException".
	//
	// You lack permissions needed to perform this operation. Check your IAM policies,
	// and ensure that you are using the correct access keys.
	ErrCodeUnauthorizedOperationException = "UnauthorizedOperationException"
)
const (
	ServiceName = "sms"       // Service endpoint prefix API calls made to.
	EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
)

Service information constants

Types

type AppLaunchStatus

type AppLaunchStatus string
const (
	AppLaunchStatusReadyForConfiguration   AppLaunchStatus = "READY_FOR_CONFIGURATION"
	AppLaunchStatusConfigurationInProgress AppLaunchStatus = "CONFIGURATION_IN_PROGRESS"
	AppLaunchStatusConfigurationInvalid    AppLaunchStatus = "CONFIGURATION_INVALID"
	AppLaunchStatusReadyForLaunch          AppLaunchStatus = "READY_FOR_LAUNCH"
	AppLaunchStatusValidationInProgress    AppLaunchStatus = "VALIDATION_IN_PROGRESS"
	AppLaunchStatusLaunchPending           AppLaunchStatus = "LAUNCH_PENDING"
	AppLaunchStatusLaunchInProgress        AppLaunchStatus = "LAUNCH_IN_PROGRESS"
	AppLaunchStatusLaunched                AppLaunchStatus = "LAUNCHED"
	AppLaunchStatusDeltaLaunchInProgress   AppLaunchStatus = "DELTA_LAUNCH_IN_PROGRESS"
	AppLaunchStatusDeltaLaunchFailed       AppLaunchStatus = "DELTA_LAUNCH_FAILED"
	AppLaunchStatusLaunchFailed            AppLaunchStatus = "LAUNCH_FAILED"
	AppLaunchStatusTerminateInProgress     AppLaunchStatus = "TERMINATE_IN_PROGRESS"
	AppLaunchStatusTerminateFailed         AppLaunchStatus = "TERMINATE_FAILED"
	AppLaunchStatusTerminated              AppLaunchStatus = "TERMINATED"
)

Enum values for AppLaunchStatus

func (AppLaunchStatus) MarshalValue

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

func (AppLaunchStatus) MarshalValueBuf

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

type AppReplicationStatus

type AppReplicationStatus string
const (
	AppReplicationStatusReadyForConfiguration      AppReplicationStatus = "READY_FOR_CONFIGURATION"
	AppReplicationStatusConfigurationInProgress    AppReplicationStatus = "CONFIGURATION_IN_PROGRESS"
	AppReplicationStatusConfigurationInvalid       AppReplicationStatus = "CONFIGURATION_INVALID"
	AppReplicationStatusReadyForReplication        AppReplicationStatus = "READY_FOR_REPLICATION"
	AppReplicationStatusValidationInProgress       AppReplicationStatus = "VALIDATION_IN_PROGRESS"
	AppReplicationStatusReplicationPending         AppReplicationStatus = "REPLICATION_PENDING"
	AppReplicationStatusReplicationInProgress      AppReplicationStatus = "REPLICATION_IN_PROGRESS"
	AppReplicationStatusReplicated                 AppReplicationStatus = "REPLICATED"
	AppReplicationStatusDeltaReplicationInProgress AppReplicationStatus = "DELTA_REPLICATION_IN_PROGRESS"
	AppReplicationStatusDeltaReplicated            AppReplicationStatus = "DELTA_REPLICATED"
	AppReplicationStatusDeltaReplicationFailed     AppReplicationStatus = "DELTA_REPLICATION_FAILED"
	AppReplicationStatusReplicationFailed          AppReplicationStatus = "REPLICATION_FAILED"
	AppReplicationStatusReplicationStopping        AppReplicationStatus = "REPLICATION_STOPPING"
	AppReplicationStatusReplicationStopFailed      AppReplicationStatus = "REPLICATION_STOP_FAILED"
	AppReplicationStatusReplicationStopped         AppReplicationStatus = "REPLICATION_STOPPED"
)

Enum values for AppReplicationStatus

func (AppReplicationStatus) MarshalValue

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

func (AppReplicationStatus) MarshalValueBuf

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

type AppStatus

type AppStatus string
const (
	AppStatusCreating     AppStatus = "CREATING"
	AppStatusActive       AppStatus = "ACTIVE"
	AppStatusUpdating     AppStatus = "UPDATING"
	AppStatusDeleting     AppStatus = "DELETING"
	AppStatusDeleted      AppStatus = "DELETED"
	AppStatusDeleteFailed AppStatus = "DELETE_FAILED"
)

Enum values for AppStatus

func (AppStatus) MarshalValue

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

func (AppStatus) MarshalValueBuf

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

type AppSummary

type AppSummary struct {

	// Unique ID of the application.
	AppId *string `locationName:"appId" type:"string"`

	// Time of creation of this application.
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"unix"`

	// Description of the application.
	Description *string `locationName:"description" type:"string"`

	// Timestamp of the application's creation.
	LastModified *time.Time `locationName:"lastModified" type:"timestamp" timestampFormat:"unix"`

	// Timestamp of the application's most recent successful replication.
	LatestReplicationTime *time.Time `locationName:"latestReplicationTime" type:"timestamp" timestampFormat:"unix"`

	// Details about the latest launch of the application.
	LaunchDetails *LaunchDetails `locationName:"launchDetails" type:"structure"`

	// Launch status of the application.
	LaunchStatus AppLaunchStatus `locationName:"launchStatus" type:"string" enum:"true"`

	// A message related to the launch status of the application.
	LaunchStatusMessage *string `locationName:"launchStatusMessage" type:"string"`

	// Name of the application.
	Name *string `locationName:"name" type:"string"`

	// Replication status of the application.
	ReplicationStatus AppReplicationStatus `locationName:"replicationStatus" type:"string" enum:"true"`

	// A message related to the replication status of the application.
	ReplicationStatusMessage *string `locationName:"replicationStatusMessage" type:"string"`

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

	// Status of the application.
	Status AppStatus `locationName:"status" type:"string" enum:"true"`

	// A message related to the status of the application
	StatusMessage *string `locationName:"statusMessage" type:"string"`

	// Number of server groups present in the application.
	TotalServerGroups *int64 `locationName:"totalServerGroups" type:"integer"`

	// Number of servers present in the application.
	TotalServers *int64 `locationName:"totalServers" type:"integer"`
	// contains filtered or unexported fields
}

Information about the application. Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/AppSummary

func (AppSummary) GoString

func (s AppSummary) GoString() string

GoString returns the string representation

func (AppSummary) String

func (s AppSummary) String() string

String returns the string representation

type Connector

type Connector struct {

	// The time the connector was associated.
	AssociatedOn *time.Time `locationName:"associatedOn" type:"timestamp" timestampFormat:"unix"`

	// The capabilities of the connector.
	CapabilityList []ConnectorCapability `locationName:"capabilityList" type:"list"`

	// The identifier of the connector.
	ConnectorId *string `locationName:"connectorId" type:"string"`

	// The IP address of the connector.
	IpAddress *string `locationName:"ipAddress" type:"string"`

	// The MAC address of the connector.
	MacAddress *string `locationName:"macAddress" type:"string"`

	// The status of the connector.
	Status ConnectorStatus `locationName:"status" type:"string" enum:"true"`

	// The connector version.
	Version *string `locationName:"version" type:"string"`

	// The identifier of the VM manager.
	VmManagerId *string `locationName:"vmManagerId" type:"string"`

	// The name of the VM manager.
	VmManagerName *string `locationName:"vmManagerName" type:"string"`

	// The VM management product.
	VmManagerType VmManagerType `locationName:"vmManagerType" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Represents 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
const (
	ConnectorCapabilityVsphere          ConnectorCapability = "VSPHERE"
	ConnectorCapabilityScvmm            ConnectorCapability = "SCVMM"
	ConnectorCapabilityHypervManager    ConnectorCapability = "HYPERV-MANAGER"
	ConnectorCapabilitySnapshotBatching ConnectorCapability = "SNAPSHOT_BATCHING"
)

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
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 CreateAppInput

type CreateAppInput struct {

	// A unique, case-sensitive identifier you provide to ensure idempotency of
	// application creation.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// Description of the new application
	Description *string `locationName:"description" type:"string"`

	// Name of the new application.
	Name *string `locationName:"name" type:"string"`

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

	// List of server groups to include in the application.
	ServerGroups []ServerGroup `locationName:"serverGroups" type:"list"`

	// List of tags to be associated with the application.
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

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

func (CreateAppInput) GoString

func (s CreateAppInput) GoString() string

GoString returns the string representation

func (CreateAppInput) String

func (s CreateAppInput) String() string

String returns the string representation

type CreateAppOutput

type CreateAppOutput struct {

	// Summary description of the application.
	AppSummary *AppSummary `locationName:"appSummary" type:"structure"`

	// List of server groups included in the application.
	ServerGroups []ServerGroup `locationName:"serverGroups" type:"list"`

	// List of taags associated with the application.
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

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

func (CreateAppOutput) GoString

func (s CreateAppOutput) GoString() string

GoString returns the string representation

func (CreateAppOutput) SDKResponseMetadata

func (s CreateAppOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateAppOutput) String

func (s CreateAppOutput) String() string

String returns the string representation

type CreateAppRequest

type CreateAppRequest struct {
	*aws.Request
	Input *CreateAppInput
	Copy  func(*CreateAppInput) CreateAppRequest
}

CreateAppRequest is a API request type for the CreateApp API operation.

func (CreateAppRequest) Send

func (r CreateAppRequest) Send() (*CreateAppOutput, error)

Send marshals and sends the CreateApp API request.

type CreateReplicationJobInput

type CreateReplicationJobInput struct {

	// The description of the replication job.
	Description *string `locationName:"description" type:"string"`

	// When true, the replication job produces encrypted AMIs. See also KmsKeyId
	// below.
	Encrypted *bool `locationName:"encrypted" type:"boolean"`

	// The time between consecutive replication runs, in hours.
	Frequency *int64 `locationName:"frequency" type:"integer"`

	// KMS key ID for replication jobs that produce encrypted AMIs. Can be any of
	// the following:
	//
	//    * KMS key ID
	//
	//    * KMS key alias
	//
	//    * ARN referring to KMS key ID
	//
	//    * ARN referring to KMS key alias
	//
	// If encrypted is true but a KMS key id is not specified, the customer's default
	// KMS key for EBS is used.
	KmsKeyId *string `locationName:"kmsKeyId" type:"string"`

	// The license type to be used for the AMI created by a successful replication
	// run.
	LicenseType LicenseType `locationName:"licenseType" type:"string" enum:"true"`

	// The maximum number of SMS-created AMIs to retain. The oldest will be deleted
	// once the maximum number is reached and a new AMI is created.
	NumberOfRecentAmisToKeep *int64 `locationName:"numberOfRecentAmisToKeep" type:"integer"`

	// The name of the IAM role to be used by the AWS SMS.
	RoleName *string `locationName:"roleName" type:"string"`

	RunOnce *bool `locationName:"runOnce" type:"boolean"`

	// The seed replication time.
	//
	// SeedReplicationTime is a required field
	SeedReplicationTime *time.Time `locationName:"seedReplicationTime" type:"timestamp" timestampFormat:"unix" required:"true"`

	// The identifier of the 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 of the 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 DeleteAppInput

type DeleteAppInput struct {

	// ID of the application to delete.
	AppId *string `locationName:"appId" type:"string"`

	// While deleting the application, stop all replication jobs corresponding to
	// the servers in the application.
	ForceStopAppReplication *bool `locationName:"forceStopAppReplication" type:"boolean"`

	// While deleting the application, terminate the stack corresponding to the
	// application.
	ForceTerminateApp *bool `locationName:"forceTerminateApp" type:"boolean"`
	// contains filtered or unexported fields
}

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

func (DeleteAppInput) GoString

func (s DeleteAppInput) GoString() string

GoString returns the string representation

func (DeleteAppInput) String

func (s DeleteAppInput) String() string

String returns the string representation

type DeleteAppLaunchConfigurationInput

type DeleteAppLaunchConfigurationInput struct {

	// ID of the application associated with the launch configuration.
	AppId *string `locationName:"appId" type:"string"`
	// contains filtered or unexported fields
}

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

func (DeleteAppLaunchConfigurationInput) GoString

GoString returns the string representation

func (DeleteAppLaunchConfigurationInput) String

String returns the string representation

type DeleteAppLaunchConfigurationOutput

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

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

func (DeleteAppLaunchConfigurationOutput) GoString

GoString returns the string representation

func (DeleteAppLaunchConfigurationOutput) SDKResponseMetadata

func (s DeleteAppLaunchConfigurationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteAppLaunchConfigurationOutput) String

String returns the string representation

type DeleteAppLaunchConfigurationRequest

type DeleteAppLaunchConfigurationRequest struct {
	*aws.Request
	Input *DeleteAppLaunchConfigurationInput
	Copy  func(*DeleteAppLaunchConfigurationInput) DeleteAppLaunchConfigurationRequest
}

DeleteAppLaunchConfigurationRequest is a API request type for the DeleteAppLaunchConfiguration API operation.

func (DeleteAppLaunchConfigurationRequest) Send

Send marshals and sends the DeleteAppLaunchConfiguration API request.

type DeleteAppOutput

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

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

func (DeleteAppOutput) GoString

func (s DeleteAppOutput) GoString() string

GoString returns the string representation

func (DeleteAppOutput) SDKResponseMetadata

func (s DeleteAppOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteAppOutput) String

func (s DeleteAppOutput) String() string

String returns the string representation

type DeleteAppReplicationConfigurationInput

type DeleteAppReplicationConfigurationInput struct {

	// ID of the application associated with the replication configuration.
	AppId *string `locationName:"appId" type:"string"`
	// contains filtered or unexported fields
}

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

func (DeleteAppReplicationConfigurationInput) GoString

GoString returns the string representation

func (DeleteAppReplicationConfigurationInput) String

String returns the string representation

type DeleteAppReplicationConfigurationOutput

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

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

func (DeleteAppReplicationConfigurationOutput) GoString

GoString returns the string representation

func (DeleteAppReplicationConfigurationOutput) SDKResponseMetadata

func (s DeleteAppReplicationConfigurationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteAppReplicationConfigurationOutput) String

String returns the string representation

type DeleteAppReplicationConfigurationRequest

DeleteAppReplicationConfigurationRequest is a API request type for the DeleteAppReplicationConfiguration API operation.

func (DeleteAppReplicationConfigurationRequest) Send

Send marshals and sends the DeleteAppReplicationConfiguration API request.

type DeleteAppRequest

type DeleteAppRequest struct {
	*aws.Request
	Input *DeleteAppInput
	Copy  func(*DeleteAppInput) DeleteAppRequest
}

DeleteAppRequest is a API request type for the DeleteApp API operation.

func (DeleteAppRequest) Send

func (r DeleteAppRequest) Send() (*DeleteAppOutput, error)

Send marshals and sends the DeleteApp API request.

type DeleteReplicationJobInput

type DeleteReplicationJobInput struct {

	// The identifier of the 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 {

	// The identifier of the 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 GenerateChangeSetInput

type GenerateChangeSetInput struct {

	// ID of the application associated with the change set.
	AppId *string `locationName:"appId" type:"string"`

	// Format for the change set.
	ChangesetFormat OutputFormat `locationName:"changesetFormat" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

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

func (GenerateChangeSetInput) GoString

func (s GenerateChangeSetInput) GoString() string

GoString returns the string representation

func (GenerateChangeSetInput) String

func (s GenerateChangeSetInput) String() string

String returns the string representation

type GenerateChangeSetOutput

type GenerateChangeSetOutput struct {

	// Location of the Amazon S3 object.
	S3Location *S3Location `locationName:"s3Location" type:"structure"`
	// contains filtered or unexported fields
}

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

func (GenerateChangeSetOutput) GoString

func (s GenerateChangeSetOutput) GoString() string

GoString returns the string representation

func (GenerateChangeSetOutput) SDKResponseMetadata

func (s GenerateChangeSetOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GenerateChangeSetOutput) String

func (s GenerateChangeSetOutput) String() string

String returns the string representation

type GenerateChangeSetRequest

type GenerateChangeSetRequest struct {
	*aws.Request
	Input *GenerateChangeSetInput
	Copy  func(*GenerateChangeSetInput) GenerateChangeSetRequest
}

GenerateChangeSetRequest is a API request type for the GenerateChangeSet API operation.

func (GenerateChangeSetRequest) Send

Send marshals and sends the GenerateChangeSet API request.

type GenerateTemplateInput

type GenerateTemplateInput struct {

	// ID of the application associated with the Amazon CloudFormation template.
	AppId *string `locationName:"appId" type:"string"`

	// Format for generating the Amazon CloudFormation template.
	TemplateFormat OutputFormat `locationName:"templateFormat" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

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

func (GenerateTemplateInput) GoString

func (s GenerateTemplateInput) GoString() string

GoString returns the string representation

func (GenerateTemplateInput) String

func (s GenerateTemplateInput) String() string

String returns the string representation

type GenerateTemplateOutput

type GenerateTemplateOutput struct {

	// Location of the Amazon S3 object.
	S3Location *S3Location `locationName:"s3Location" type:"structure"`
	// contains filtered or unexported fields
}

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

func (GenerateTemplateOutput) GoString

func (s GenerateTemplateOutput) GoString() string

GoString returns the string representation

func (GenerateTemplateOutput) SDKResponseMetadata

func (s GenerateTemplateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GenerateTemplateOutput) String

func (s GenerateTemplateOutput) String() string

String returns the string representation

type GenerateTemplateRequest

type GenerateTemplateRequest struct {
	*aws.Request
	Input *GenerateTemplateInput
	Copy  func(*GenerateTemplateInput) GenerateTemplateRequest
}

GenerateTemplateRequest is a API request type for the GenerateTemplate API operation.

func (GenerateTemplateRequest) Send

Send marshals and sends the GenerateTemplate API request.

type GetAppInput

type GetAppInput struct {

	// ID of the application whose information is being retrieved.
	AppId *string `locationName:"appId" type:"string"`
	// contains filtered or unexported fields
}

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

func (GetAppInput) GoString

func (s GetAppInput) GoString() string

GoString returns the string representation

func (GetAppInput) String

func (s GetAppInput) String() string

String returns the string representation

type GetAppLaunchConfigurationInput

type GetAppLaunchConfigurationInput struct {

	// ID of the application launch configuration.
	AppId *string `locationName:"appId" type:"string"`
	// contains filtered or unexported fields
}

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

func (GetAppLaunchConfigurationInput) GoString

GoString returns the string representation

func (GetAppLaunchConfigurationInput) String

String returns the string representation

type GetAppLaunchConfigurationOutput

type GetAppLaunchConfigurationOutput struct {

	// ID of the application associated with the launch configuration.
	AppId *string `locationName:"appId" type:"string"`

	// Name of the service role in the customer's account that Amazon CloudFormation
	// uses to launch the application.
	RoleName *string `locationName:"roleName" type:"string"`

	// List of launch configurations for server groups in this application.
	ServerGroupLaunchConfigurations []ServerGroupLaunchConfiguration `locationName:"serverGroupLaunchConfigurations" type:"list"`
	// contains filtered or unexported fields
}

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

func (GetAppLaunchConfigurationOutput) GoString

GoString returns the string representation

func (GetAppLaunchConfigurationOutput) SDKResponseMetadata

func (s GetAppLaunchConfigurationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetAppLaunchConfigurationOutput) String

String returns the string representation

type GetAppLaunchConfigurationRequest

type GetAppLaunchConfigurationRequest struct {
	*aws.Request
	Input *GetAppLaunchConfigurationInput
	Copy  func(*GetAppLaunchConfigurationInput) GetAppLaunchConfigurationRequest
}

GetAppLaunchConfigurationRequest is a API request type for the GetAppLaunchConfiguration API operation.

func (GetAppLaunchConfigurationRequest) Send

Send marshals and sends the GetAppLaunchConfiguration API request.

type GetAppOutput

type GetAppOutput struct {

	// Information about the application.
	AppSummary *AppSummary `locationName:"appSummary" type:"structure"`

	// List of server groups belonging to the application.
	ServerGroups []ServerGroup `locationName:"serverGroups" type:"list"`

	// List of tags associated with the application.
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

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

func (GetAppOutput) GoString

func (s GetAppOutput) GoString() string

GoString returns the string representation

func (GetAppOutput) SDKResponseMetadata

func (s GetAppOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetAppOutput) String

func (s GetAppOutput) String() string

String returns the string representation

type GetAppReplicationConfigurationInput

type GetAppReplicationConfigurationInput struct {

	// ID of the application associated with the replication configuration.
	AppId *string `locationName:"appId" type:"string"`
	// contains filtered or unexported fields
}

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

func (GetAppReplicationConfigurationInput) GoString

GoString returns the string representation

func (GetAppReplicationConfigurationInput) String

String returns the string representation

type GetAppReplicationConfigurationOutput

type GetAppReplicationConfigurationOutput struct {

	// Replication configurations associated with server groups in this application.
	ServerGroupReplicationConfigurations []ServerGroupReplicationConfiguration `locationName:"serverGroupReplicationConfigurations" type:"list"`
	// contains filtered or unexported fields
}

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

func (GetAppReplicationConfigurationOutput) GoString

GoString returns the string representation

func (GetAppReplicationConfigurationOutput) SDKResponseMetadata

func (s GetAppReplicationConfigurationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetAppReplicationConfigurationOutput) String

String returns the string representation

type GetAppReplicationConfigurationRequest

type GetAppReplicationConfigurationRequest struct {
	*aws.Request
	Input *GetAppReplicationConfigurationInput
	Copy  func(*GetAppReplicationConfigurationInput) GetAppReplicationConfigurationRequest
}

GetAppReplicationConfigurationRequest is a API request type for the GetAppReplicationConfiguration API operation.

func (GetAppReplicationConfigurationRequest) Send

Send marshals and sends the GetAppReplicationConfiguration API request.

type GetAppRequest

type GetAppRequest struct {
	*aws.Request
	Input *GetAppInput
	Copy  func(*GetAppInput) GetAppRequest
}

GetAppRequest is a API request type for the GetApp API operation.

func (GetAppRequest) Send

func (r GetAppRequest) Send() (*GetAppOutput, error)

Send marshals and sends the GetApp API request.

type GetConnectorsInput

type GetConnectorsInput struct {

	// The maximum number of results to return in a single call. The default value
	// is 50. To retrieve the remaining results, make another call with the returned
	// NextToken value.
	MaxResults *int64 `locationName:"maxResults" type:"integer"`

	// The token for the next set of results.
	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 {

	// Information about the registered connectors.
	ConnectorList []Connector `locationName:"connectorList" type:"list"`

	// The token required to retrieve the next set of results. This value is null
	// when there are no more results to return.
	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 a single call. The default value
	// is 50. To retrieve the remaining results, make another call with the returned
	// NextToken value.
	MaxResults *int64 `locationName:"maxResults" type:"integer"`

	// The token for the next set of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The identifier of the 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 {

	// The token required to retrieve the next set of results. This value is null
	// when there are no more results to return.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Information about the replication jobs.
	ReplicationJobList []ReplicationJob `locationName:"replicationJobList" 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 a single call. The default value
	// is 50. To retrieve the remaining results, make another call with the returned
	// NextToken value.
	MaxResults *int64 `locationName:"maxResults" type:"integer"`

	// The token for the next set of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The identifier of the 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 {

	// The token required to retrieve the next set of results. This value is null
	// when there are no more results to return.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Information about the replication job.
	ReplicationJob *ReplicationJob `locationName:"replicationJob" type:"structure"`

	// Information about the replication runs.
	ReplicationRunList []ReplicationRun `locationName:"replicationRunList" 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 a single call. The default value
	// is 50. To retrieve the remaining results, make another call with the returned
	// NextToken value.
	MaxResults *int64 `locationName:"maxResults" type:"integer"`

	// The token for the next set of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// List of VmServerAddress objects
	VmServerAddressList []VmServerAddress `locationName:"vmServerAddressList" type:"list"`
	// 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 {

	// The time when the server was last modified.
	LastModifiedOn *time.Time `locationName:"lastModifiedOn" type:"timestamp" timestampFormat:"unix"`

	// The token required to retrieve the next set of results. This value is null
	// when there are no more results to return.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The status of the server catalog.
	ServerCatalogStatus ServerCatalogStatus `locationName:"serverCatalogStatus" type:"string" enum:"true"`

	// Information about the servers.
	ServerList []Server `locationName:"serverList" 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 LaunchAppInput

type LaunchAppInput struct {

	// ID of the application to launch.
	AppId *string `locationName:"appId" type:"string"`
	// contains filtered or unexported fields
}

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

func (LaunchAppInput) GoString

func (s LaunchAppInput) GoString() string

GoString returns the string representation

func (LaunchAppInput) String

func (s LaunchAppInput) String() string

String returns the string representation

type LaunchAppOutput

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

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

func (LaunchAppOutput) GoString

func (s LaunchAppOutput) GoString() string

GoString returns the string representation

func (LaunchAppOutput) SDKResponseMetadata

func (s LaunchAppOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (LaunchAppOutput) String

func (s LaunchAppOutput) String() string

String returns the string representation

type LaunchAppRequest

type LaunchAppRequest struct {
	*aws.Request
	Input *LaunchAppInput
	Copy  func(*LaunchAppInput) LaunchAppRequest
}

LaunchAppRequest is a API request type for the LaunchApp API operation.

func (LaunchAppRequest) Send

func (r LaunchAppRequest) Send() (*LaunchAppOutput, error)

Send marshals and sends the LaunchApp API request.

type LaunchDetails

type LaunchDetails struct {

	// Latest time this application was launched successfully.
	LatestLaunchTime *time.Time `locationName:"latestLaunchTime" type:"timestamp" timestampFormat:"unix"`

	// Identifier of the latest stack launched for this application.
	StackId *string `locationName:"stackId" type:"string"`

	// Name of the latest stack launched for this application.
	StackName *string `locationName:"stackName" type:"string"`
	// contains filtered or unexported fields
}

Details about the latest launch of an application. Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/LaunchDetails

func (LaunchDetails) GoString

func (s LaunchDetails) GoString() string

GoString returns the string representation

func (LaunchDetails) String

func (s LaunchDetails) String() string

String returns the string representation

type LicenseType

type LicenseType string
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 ListAppsInput

type ListAppsInput struct {
	AppIds []string `locationName:"appIds" type:"list"`

	// The maximum number of results to return in a single call. The default value
	// is 50. To retrieve the remaining results, make another call with the returned
	// NextToken value.
	MaxResults *int64 `locationName:"maxResults" type:"integer"`

	// The token for the next set of results.
	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/ListAppsRequest

func (ListAppsInput) GoString

func (s ListAppsInput) GoString() string

GoString returns the string representation

func (ListAppsInput) String

func (s ListAppsInput) String() string

String returns the string representation

type ListAppsOutput

type ListAppsOutput struct {

	// A list of application summaries.
	Apps []AppSummary `locationName:"apps" type:"list"`

	// The token required to retrieve the next set of results. This value is null
	// when there are no more results to return.
	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/ListAppsResponse

func (ListAppsOutput) GoString

func (s ListAppsOutput) GoString() string

GoString returns the string representation

func (ListAppsOutput) SDKResponseMetadata

func (s ListAppsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListAppsOutput) String

func (s ListAppsOutput) String() string

String returns the string representation

type ListAppsRequest

type ListAppsRequest struct {
	*aws.Request
	Input *ListAppsInput
	Copy  func(*ListAppsInput) ListAppsRequest
}

ListAppsRequest is a API request type for the ListApps API operation.

func (ListAppsRequest) Send

func (r ListAppsRequest) Send() (*ListAppsOutput, error)

Send marshals and sends the ListApps API request.

type OutputFormat

type OutputFormat string
const (
	OutputFormatJson OutputFormat = "JSON"
	OutputFormatYaml OutputFormat = "YAML"
)

Enum values for OutputFormat

func (OutputFormat) MarshalValue

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

func (OutputFormat) MarshalValueBuf

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

type PutAppLaunchConfigurationInput

type PutAppLaunchConfigurationInput struct {

	// ID of the application associated with the launch configuration.
	AppId *string `locationName:"appId" type:"string"`

	// Name of service role in the customer's account that Amazon CloudFormation
	// uses to launch the application.
	RoleName *string `locationName:"roleName" type:"string"`

	// Launch configurations for server groups in the application.
	ServerGroupLaunchConfigurations []ServerGroupLaunchConfiguration `locationName:"serverGroupLaunchConfigurations" type:"list"`
	// contains filtered or unexported fields
}

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

func (PutAppLaunchConfigurationInput) GoString

GoString returns the string representation

func (PutAppLaunchConfigurationInput) String

String returns the string representation

type PutAppLaunchConfigurationOutput

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

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

func (PutAppLaunchConfigurationOutput) GoString

GoString returns the string representation

func (PutAppLaunchConfigurationOutput) SDKResponseMetadata

func (s PutAppLaunchConfigurationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (PutAppLaunchConfigurationOutput) String

String returns the string representation

type PutAppLaunchConfigurationRequest

type PutAppLaunchConfigurationRequest struct {
	*aws.Request
	Input *PutAppLaunchConfigurationInput
	Copy  func(*PutAppLaunchConfigurationInput) PutAppLaunchConfigurationRequest
}

PutAppLaunchConfigurationRequest is a API request type for the PutAppLaunchConfiguration API operation.

func (PutAppLaunchConfigurationRequest) Send

Send marshals and sends the PutAppLaunchConfiguration API request.

type PutAppReplicationConfigurationInput

type PutAppReplicationConfigurationInput struct {

	// ID of the application tassociated with the replication configuration.
	AppId *string `locationName:"appId" type:"string"`

	// Replication configurations for server groups in the application.
	ServerGroupReplicationConfigurations []ServerGroupReplicationConfiguration `locationName:"serverGroupReplicationConfigurations" type:"list"`
	// contains filtered or unexported fields
}

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

func (PutAppReplicationConfigurationInput) GoString

GoString returns the string representation

func (PutAppReplicationConfigurationInput) String

String returns the string representation

type PutAppReplicationConfigurationOutput

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

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

func (PutAppReplicationConfigurationOutput) GoString

GoString returns the string representation

func (PutAppReplicationConfigurationOutput) SDKResponseMetadata

func (s PutAppReplicationConfigurationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (PutAppReplicationConfigurationOutput) String

String returns the string representation

type PutAppReplicationConfigurationRequest

type PutAppReplicationConfigurationRequest struct {
	*aws.Request
	Input *PutAppReplicationConfigurationInput
	Copy  func(*PutAppReplicationConfigurationInput) PutAppReplicationConfigurationRequest
}

PutAppReplicationConfigurationRequest is a API request type for the PutAppReplicationConfiguration API operation.

func (PutAppReplicationConfigurationRequest) Send

Send marshals and sends the PutAppReplicationConfiguration API request.

type ReplicationJob

type ReplicationJob struct {

	// The description of the replication job.
	Description *string `locationName:"description" type:"string"`

	// Whether the replication job should produce encrypted AMIs or not. See also
	// KmsKeyId below.
	Encrypted *bool `locationName:"encrypted" type:"boolean"`

	// The time between consecutive replication runs, in hours.
	Frequency *int64 `locationName:"frequency" type:"integer"`

	// KMS key ID for replication jobs that produce encrypted AMIs. Can be any of
	// the following:
	//
	//    * KMS key ID
	//
	//    * KMS key alias
	//
	//    * ARN referring to KMS key ID
	//
	//    * ARN referring to KMS key alias
	//
	// If encrypted is true but a KMS key id is not specified, the customer's default
	// KMS key for EBS is used.
	KmsKeyId *string `locationName:"kmsKeyId" type:"string"`

	// The ID of the latest Amazon Machine Image (AMI).
	LatestAmiId *string `locationName:"latestAmiId" type:"string"`

	// The license type to be used for the AMI created by a successful replication
	// run.
	LicenseType LicenseType `locationName:"licenseType" type:"string" enum:"true"`

	// The start time of the next replication run.
	NextReplicationRunStartTime *time.Time `locationName:"nextReplicationRunStartTime" type:"timestamp" timestampFormat:"unix"`

	// Number of recent AMIs to keep in the customer's account for a replication
	// job. By default the value is set to zero, meaning that all AMIs are kept.
	NumberOfRecentAmisToKeep *int64 `locationName:"numberOfRecentAmisToKeep" type:"integer"`

	// The identifier of the replication job.
	ReplicationJobId *string `locationName:"replicationJobId" type:"string"`

	// Information about the replication runs.
	ReplicationRunList []ReplicationRun `locationName:"replicationRunList" type:"list"`

	// The name of the IAM role to be used by the Server Migration Service.
	RoleName *string `locationName:"roleName" type:"string"`

	RunOnce *bool `locationName:"runOnce" type:"boolean"`

	// The seed replication time.
	SeedReplicationTime *time.Time `locationName:"seedReplicationTime" type:"timestamp" timestampFormat:"unix"`

	// The identifier of the server.
	ServerId *string `locationName:"serverId" type:"string"`

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

	// The state of the replication job.
	State ReplicationJobState `locationName:"state" type:"string" enum:"true"`

	// The description of the current status of the replication job.
	StatusMessage *string `locationName:"statusMessage" type:"string"`

	// Information about the VM server.
	VmServer *VmServer `locationName:"vmServer" type:"structure"`
	// contains filtered or unexported fields
}

Represents 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
const (
	ReplicationJobStatePending         ReplicationJobState = "PENDING"
	ReplicationJobStateActive          ReplicationJobState = "ACTIVE"
	ReplicationJobStateFailed          ReplicationJobState = "FAILED"
	ReplicationJobStateDeleting        ReplicationJobState = "DELETING"
	ReplicationJobStateDeleted         ReplicationJobState = "DELETED"
	ReplicationJobStateCompleted       ReplicationJobState = "COMPLETED"
	ReplicationJobStatePausedOnFailure ReplicationJobState = "PAUSED_ON_FAILURE"
	ReplicationJobStateFailing         ReplicationJobState = "FAILING"
)

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 identifier of the Amazon Machine Image (AMI) from the replication run.
	AmiId *string `locationName:"amiId" type:"string"`

	// The completion time of the last replication run.
	CompletedTime *time.Time `locationName:"completedTime" type:"timestamp" timestampFormat:"unix"`

	// The description of the replication run.
	Description *string `locationName:"description" type:"string"`

	// Whether the replication run should produce encrypted AMI or not. See also
	// KmsKeyId below.
	Encrypted *bool `locationName:"encrypted" type:"boolean"`

	// KMS key ID for replication jobs that produce encrypted AMIs. Can be any of
	// the following:
	//
	//    * KMS key ID
	//
	//    * KMS key alias
	//
	//    * ARN referring to KMS key ID
	//
	//    * ARN referring to KMS key alias
	//
	// If encrypted is true but a KMS key id is not specified, the customer's default
	// KMS key for EBS is used.
	KmsKeyId *string `locationName:"kmsKeyId" type:"string"`

	// The identifier of the replication run.
	ReplicationRunId *string `locationName:"replicationRunId" type:"string"`

	// The start time of the next replication run.
	ScheduledStartTime *time.Time `locationName:"scheduledStartTime" type:"timestamp" timestampFormat:"unix"`

	// Details of the current stage of the replication run.
	StageDetails *ReplicationRunStageDetails `locationName:"stageDetails" type:"structure"`

	// The state of the replication run.
	State ReplicationRunState `locationName:"state" type:"string" enum:"true"`

	// The description of the current status of the replication job.
	StatusMessage *string `locationName:"statusMessage" type:"string"`

	// The type of replication run.
	Type ReplicationRunType `locationName:"type" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Represents 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 ReplicationRunStageDetails

type ReplicationRunStageDetails struct {

	// String describing the current stage of a replication run.
	Stage *string `locationName:"stage" type:"string"`

	// String describing the progress of the current stage of a replication run.
	StageProgress *string `locationName:"stageProgress" type:"string"`
	// contains filtered or unexported fields
}

Details of the current stage of a replication run. Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ReplicationRunStageDetails

func (ReplicationRunStageDetails) GoString

func (s ReplicationRunStageDetails) GoString() string

GoString returns the string representation

func (ReplicationRunStageDetails) String

String returns the string representation

type ReplicationRunState

type ReplicationRunState string
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
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 S3Location

type S3Location struct {

	// Amazon S3 bucket name.
	Bucket *string `locationName:"bucket" type:"string"`

	// Amazon S3 bucket key.
	Key *string `locationName:"key" type:"string"`
	// contains filtered or unexported fields
}

Location of the Amazon S3 object in the customer's account. Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/S3Location

func (S3Location) GoString

func (s S3Location) GoString() string

GoString returns the string representation

func (S3Location) String

func (s S3Location) String() string

String returns the string representation

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

func (c *SMS) CreateAppRequest(input *CreateAppInput) CreateAppRequest

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

Creates an application. An application consists of one or more server groups. Each server group contain one or more servers.

// Example sending a request using the CreateAppRequest method.
req := client.CreateAppRequest(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/CreateApp

func (*SMS) CreateReplicationJobRequest

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

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

Creates a replication job. The replication job schedules periodic replication runs to replicate your server to AWS. Each replication run creates an Amazon Machine Image (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) DeleteAppLaunchConfigurationRequest

func (c *SMS) DeleteAppLaunchConfigurationRequest(input *DeleteAppLaunchConfigurationInput) DeleteAppLaunchConfigurationRequest

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

Deletes existing launch configuration for an application.

// Example sending a request using the DeleteAppLaunchConfigurationRequest method.
req := client.DeleteAppLaunchConfigurationRequest(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/DeleteAppLaunchConfiguration

func (*SMS) DeleteAppReplicationConfigurationRequest

func (c *SMS) DeleteAppReplicationConfigurationRequest(input *DeleteAppReplicationConfigurationInput) DeleteAppReplicationConfigurationRequest

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

Deletes existing replication configuration for an application.

// Example sending a request using the DeleteAppReplicationConfigurationRequest method.
req := client.DeleteAppReplicationConfigurationRequest(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/DeleteAppReplicationConfiguration

func (*SMS) DeleteAppRequest

func (c *SMS) DeleteAppRequest(input *DeleteAppInput) DeleteAppRequest

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

Deletes an existing application. Optionally deletes the launched stack associated with the application and all AWS SMS replication jobs for servers in the application.

// Example sending a request using the DeleteAppRequest method.
req := client.DeleteAppRequest(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/DeleteApp

func (*SMS) DeleteReplicationJobRequest

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

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

Deletes the specified replication job.

After you delete a replication job, there are no further replication runs. AWS deletes the contents of the Amazon S3 bucket used to store AWS SMS artifacts. The AMIs created by the replication runs are not deleted.

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

Deletes all servers from your server catalog.

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

Disassociates the specified connector from AWS SMS.

After you disassociate a connector, it is no longer available 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) GenerateChangeSetRequest

func (c *SMS) GenerateChangeSetRequest(input *GenerateChangeSetInput) GenerateChangeSetRequest

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

Generates a target change set for a currently launched stack and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.

// Example sending a request using the GenerateChangeSetRequest method.
req := client.GenerateChangeSetRequest(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/GenerateChangeSet

func (*SMS) GenerateTemplateRequest

func (c *SMS) GenerateTemplateRequest(input *GenerateTemplateInput) GenerateTemplateRequest

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

Generates an Amazon CloudFormation template based on the current launch configuration and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.

// Example sending a request using the GenerateTemplateRequest method.
req := client.GenerateTemplateRequest(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/GenerateTemplate

func (*SMS) GetAppLaunchConfigurationRequest

func (c *SMS) GetAppLaunchConfigurationRequest(input *GetAppLaunchConfigurationInput) GetAppLaunchConfigurationRequest

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

Retrieves the application launch configuration associated with an application.

// Example sending a request using the GetAppLaunchConfigurationRequest method.
req := client.GetAppLaunchConfigurationRequest(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/GetAppLaunchConfiguration

func (*SMS) GetAppReplicationConfigurationRequest

func (c *SMS) GetAppReplicationConfigurationRequest(input *GetAppReplicationConfigurationInput) GetAppReplicationConfigurationRequest

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

Retrieves an application replication configuration associatd with an application.

// Example sending a request using the GetAppReplicationConfigurationRequest method.
req := client.GetAppReplicationConfigurationRequest(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/GetAppReplicationConfiguration

func (*SMS) GetAppRequest

func (c *SMS) GetAppRequest(input *GetAppInput) GetAppRequest

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

Retrieve information about an application.

// Example sending a request using the GetAppRequest method.
req := client.GetAppRequest(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/GetApp

func (*SMS) GetConnectorsRequest

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

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

Describes the connectors registered with the AWS SMS.

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

Describes the specified replication job or all of your replication jobs.

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

Describes the replication runs for the specified replication job.

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

Describes the servers in your server catalog.

Before you can describe your servers, you must import them using 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.

Gathers a complete list of on-premises servers. Connectors must be installed and monitoring all servers that you want to import.

This call returns immediately, but might take additional time to retrieve all 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) LaunchAppRequest

func (c *SMS) LaunchAppRequest(input *LaunchAppInput) LaunchAppRequest

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

Launches an application stack.

// Example sending a request using the LaunchAppRequest method.
req := client.LaunchAppRequest(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/LaunchApp

func (*SMS) ListAppsRequest

func (c *SMS) ListAppsRequest(input *ListAppsInput) ListAppsRequest

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

Returns a list of summaries for all applications.

// Example sending a request using the ListAppsRequest method.
req := client.ListAppsRequest(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/ListApps

func (*SMS) PutAppLaunchConfigurationRequest

func (c *SMS) PutAppLaunchConfigurationRequest(input *PutAppLaunchConfigurationInput) PutAppLaunchConfigurationRequest

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

Creates a launch configuration for an application.

// Example sending a request using the PutAppLaunchConfigurationRequest method.
req := client.PutAppLaunchConfigurationRequest(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/PutAppLaunchConfiguration

func (*SMS) PutAppReplicationConfigurationRequest

func (c *SMS) PutAppReplicationConfigurationRequest(input *PutAppReplicationConfigurationInput) PutAppReplicationConfigurationRequest

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

Creates or updates a replication configuration for an application.

// Example sending a request using the PutAppReplicationConfigurationRequest method.
req := client.PutAppReplicationConfigurationRequest(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/PutAppReplicationConfiguration

func (*SMS) StartAppReplicationRequest

func (c *SMS) StartAppReplicationRequest(input *StartAppReplicationInput) StartAppReplicationRequest

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

Starts replicating an application.

// Example sending a request using the StartAppReplicationRequest method.
req := client.StartAppReplicationRequest(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/StartAppReplication

func (*SMS) StartOnDemandReplicationRunRequest

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

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

Starts an on-demand replication run for the specified replication job. This replication run starts immediately. This replication run is in addition to the ones already scheduled.

There is a limit on the number of on-demand replications runs you can request in a 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) StopAppReplicationRequest

func (c *SMS) StopAppReplicationRequest(input *StopAppReplicationInput) StopAppReplicationRequest

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

Stops replicating an application.

// Example sending a request using the StopAppReplicationRequest method.
req := client.StopAppReplicationRequest(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/StopAppReplication

func (*SMS) TerminateAppRequest

func (c *SMS) TerminateAppRequest(input *TerminateAppInput) TerminateAppRequest

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

Terminates the stack for an application.

// Example sending a request using the TerminateAppRequest method.
req := client.TerminateAppRequest(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/TerminateApp

func (*SMS) UpdateAppRequest

func (c *SMS) UpdateAppRequest(input *UpdateAppInput) UpdateAppRequest

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

Updates an application.

// Example sending a request using the UpdateAppRequest method.
req := client.UpdateAppRequest(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/UpdateApp

func (*SMS) UpdateReplicationJobRequest

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

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

Updates the specified settings for the specified replication job.

// 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 identifier of the replication job.
	ReplicationJobId *string `locationName:"replicationJobId" type:"string"`

	// Indicates whether the replication job is deleted or failed.
	ReplicationJobTerminated *bool `locationName:"replicationJobTerminated" type:"boolean"`

	// The identifier of the server.
	ServerId *string `locationName:"serverId" type:"string"`

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

	// Information about the VM server.
	VmServer *VmServer `locationName:"vmServer" type:"structure"`
	// contains filtered or unexported fields
}

Represents 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
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 ServerGroup

type ServerGroup struct {

	// Name of a server group.
	Name *string `locationName:"name" type:"string"`

	// Identifier of a server group.
	ServerGroupId *string `locationName:"serverGroupId" type:"string"`

	// List of servers belonging to a server group.
	ServerList []Server `locationName:"serverList" type:"list"`
	// contains filtered or unexported fields
}

A logical grouping of servers. Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ServerGroup

func (ServerGroup) GoString

func (s ServerGroup) GoString() string

GoString returns the string representation

func (ServerGroup) String

func (s ServerGroup) String() string

String returns the string representation

type ServerGroupLaunchConfiguration

type ServerGroupLaunchConfiguration struct {

	// Launch order of servers in the server group.
	LaunchOrder *int64 `locationName:"launchOrder" type:"integer"`

	// Identifier of the server group the launch configuration is associated with.
	ServerGroupId *string `locationName:"serverGroupId" type:"string"`

	// Launch configuration for servers in the server group.
	ServerLaunchConfigurations []ServerLaunchConfiguration `locationName:"serverLaunchConfigurations" type:"list"`
	// contains filtered or unexported fields
}

Launch configuration for a server group. Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ServerGroupLaunchConfiguration

func (ServerGroupLaunchConfiguration) GoString

GoString returns the string representation

func (ServerGroupLaunchConfiguration) String

String returns the string representation

type ServerGroupReplicationConfiguration

type ServerGroupReplicationConfiguration struct {

	// Identifier of the server group this replication configuration is associated
	// with.
	ServerGroupId *string `locationName:"serverGroupId" type:"string"`

	// Replication configuration for servers in the server group.
	ServerReplicationConfigurations []ServerReplicationConfiguration `locationName:"serverReplicationConfigurations" type:"list"`
	// contains filtered or unexported fields
}

Replication configuration for a server group. Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ServerGroupReplicationConfiguration

func (ServerGroupReplicationConfiguration) GoString

GoString returns the string representation

func (ServerGroupReplicationConfiguration) String

String returns the string representation

type ServerLaunchConfiguration

type ServerLaunchConfiguration struct {

	// If true, a publicly accessible IP address is created when launching the server.
	AssociatePublicIpAddress *bool `locationName:"associatePublicIpAddress" type:"boolean"`

	// Name of the EC2 SSH Key to be used for connecting to the launched server.
	Ec2KeyName *string `locationName:"ec2KeyName" type:"string"`

	// Instance type to be used for launching the server.
	InstanceType *string `locationName:"instanceType" type:"string"`

	// Logical ID of the server in the Amazon CloudFormation template.
	LogicalId *string `locationName:"logicalId" type:"string"`

	// Identifier of the security group that applies to the launched server.
	SecurityGroup *string `locationName:"securityGroup" type:"string"`

	// Identifier of the server the launch configuration is associated with.
	Server *Server `locationName:"server" type:"structure"`

	// Identifier of the subnet the server should be launched into.
	Subnet *string `locationName:"subnet" type:"string"`

	// Location of the user-data script to be executed when launching the server.
	UserData *UserData `locationName:"userData" type:"structure"`

	// Identifier of the VPC the server should be launched into.
	Vpc *string `locationName:"vpc" type:"string"`
	// contains filtered or unexported fields
}

Launch configuration for a server. Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ServerLaunchConfiguration

func (ServerLaunchConfiguration) GoString

func (s ServerLaunchConfiguration) GoString() string

GoString returns the string representation

func (ServerLaunchConfiguration) String

func (s ServerLaunchConfiguration) String() string

String returns the string representation

type ServerReplicationConfiguration

type ServerReplicationConfiguration struct {

	// Identifier of the server this replication configuration is associated with.
	Server *Server `locationName:"server" type:"structure"`

	// Parameters for replicating the server.
	ServerReplicationParameters *ServerReplicationParameters `locationName:"serverReplicationParameters" type:"structure"`
	// contains filtered or unexported fields
}

Replication configuration of a server. Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ServerReplicationConfiguration

func (ServerReplicationConfiguration) GoString

GoString returns the string representation

func (ServerReplicationConfiguration) String

String returns the string representation

type ServerReplicationParameters

type ServerReplicationParameters struct {

	// When true, the replication job produces encrypted AMIs. See also KmsKeyId
	// below.
	Encrypted *bool `locationName:"encrypted" type:"boolean"`

	// Frequency of creating replication jobs for the server.
	Frequency *int64 `locationName:"frequency" type:"integer"`

	// KMS key ID for replication jobs that produce encrypted AMIs. Can be any of
	// the following:
	//
	// KMS key ID
	//
	//    * KMS key alias
	//
	//    * ARN referring to KMS key ID
	//
	//    * ARN referring to KMS key alias
	//
	//  If encrypted is true
	KmsKeyId *string `locationName:"kmsKeyId" type:"string"`

	// License type for creating a replication job for the server.
	LicenseType LicenseType `locationName:"licenseType" type:"string" enum:"true"`

	// Number of recent AMIs to keep when creating a replication job for this server.
	NumberOfRecentAmisToKeep *int64 `locationName:"numberOfRecentAmisToKeep" type:"integer"`

	RunOnce *bool `locationName:"runOnce" type:"boolean"`

	// Seed time for creating a replication job for the server.
	SeedTime *time.Time `locationName:"seedTime" type:"timestamp" timestampFormat:"unix"`
	// contains filtered or unexported fields
}

Replication parameters for replicating a server. Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ServerReplicationParameters

func (ServerReplicationParameters) GoString

func (s ServerReplicationParameters) GoString() string

GoString returns the string representation

func (ServerReplicationParameters) String

String returns the string representation

type ServerType

type ServerType string
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 StartAppReplicationInput

type StartAppReplicationInput struct {

	// ID of the application to replicate.
	AppId *string `locationName:"appId" type:"string"`
	// contains filtered or unexported fields
}

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

func (StartAppReplicationInput) GoString

func (s StartAppReplicationInput) GoString() string

GoString returns the string representation

func (StartAppReplicationInput) String

func (s StartAppReplicationInput) String() string

String returns the string representation

type StartAppReplicationOutput

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

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

func (StartAppReplicationOutput) GoString

func (s StartAppReplicationOutput) GoString() string

GoString returns the string representation

func (StartAppReplicationOutput) SDKResponseMetadata

func (s StartAppReplicationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (StartAppReplicationOutput) String

func (s StartAppReplicationOutput) String() string

String returns the string representation

type StartAppReplicationRequest

type StartAppReplicationRequest struct {
	*aws.Request
	Input *StartAppReplicationInput
	Copy  func(*StartAppReplicationInput) StartAppReplicationRequest
}

StartAppReplicationRequest is a API request type for the StartAppReplication API operation.

func (StartAppReplicationRequest) Send

Send marshals and sends the StartAppReplication API request.

type StartOnDemandReplicationRunInput

type StartOnDemandReplicationRunInput struct {

	// The description of the replication run.
	Description *string `locationName:"description" type:"string"`

	// The identifier of the 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 identifier of the 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 StopAppReplicationInput

type StopAppReplicationInput struct {

	// ID of the application to stop replicating.
	AppId *string `locationName:"appId" type:"string"`
	// contains filtered or unexported fields
}

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

func (StopAppReplicationInput) GoString

func (s StopAppReplicationInput) GoString() string

GoString returns the string representation

func (StopAppReplicationInput) String

func (s StopAppReplicationInput) String() string

String returns the string representation

type StopAppReplicationOutput

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

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

func (StopAppReplicationOutput) GoString

func (s StopAppReplicationOutput) GoString() string

GoString returns the string representation

func (StopAppReplicationOutput) SDKResponseMetadata

func (s StopAppReplicationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (StopAppReplicationOutput) String

func (s StopAppReplicationOutput) String() string

String returns the string representation

type StopAppReplicationRequest

type StopAppReplicationRequest struct {
	*aws.Request
	Input *StopAppReplicationInput
	Copy  func(*StopAppReplicationInput) StopAppReplicationRequest
}

StopAppReplicationRequest is a API request type for the StopAppReplication API operation.

func (StopAppReplicationRequest) Send

Send marshals and sends the StopAppReplication API request.

type Tag

type Tag struct {

	// Tag key.
	Key *string `locationName:"key" type:"string"`

	// Tag value.
	Value *string `locationName:"value" type:"string"`
	// contains filtered or unexported fields
}

A label that can be assigned to an application. Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/Tag

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation

func (Tag) String

func (s Tag) String() string

String returns the string representation

type TerminateAppInput

type TerminateAppInput struct {

	// ID of the application to terminate.
	AppId *string `locationName:"appId" type:"string"`
	// contains filtered or unexported fields
}

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

func (TerminateAppInput) GoString

func (s TerminateAppInput) GoString() string

GoString returns the string representation

func (TerminateAppInput) String

func (s TerminateAppInput) String() string

String returns the string representation

type TerminateAppOutput

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

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

func (TerminateAppOutput) GoString

func (s TerminateAppOutput) GoString() string

GoString returns the string representation

func (TerminateAppOutput) SDKResponseMetadata

func (s TerminateAppOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (TerminateAppOutput) String

func (s TerminateAppOutput) String() string

String returns the string representation

type TerminateAppRequest

type TerminateAppRequest struct {
	*aws.Request
	Input *TerminateAppInput
	Copy  func(*TerminateAppInput) TerminateAppRequest
}

TerminateAppRequest is a API request type for the TerminateApp API operation.

func (TerminateAppRequest) Send

Send marshals and sends the TerminateApp API request.

type UpdateAppInput

type UpdateAppInput struct {

	// ID of the application to update.
	AppId *string `locationName:"appId" type:"string"`

	// New description of the application.
	Description *string `locationName:"description" type:"string"`

	// New name of the application.
	Name *string `locationName:"name" type:"string"`

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

	// List of server groups in the application to update.
	ServerGroups []ServerGroup `locationName:"serverGroups" type:"list"`

	// List of tags to associate with the application.
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

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

func (UpdateAppInput) GoString

func (s UpdateAppInput) GoString() string

GoString returns the string representation

func (UpdateAppInput) String

func (s UpdateAppInput) String() string

String returns the string representation

type UpdateAppOutput

type UpdateAppOutput struct {

	// Summary description of the application.
	AppSummary *AppSummary `locationName:"appSummary" type:"structure"`

	// List of updated server groups in the application.
	ServerGroups []ServerGroup `locationName:"serverGroups" type:"list"`

	// List of tags associated with the application.
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

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

func (UpdateAppOutput) GoString

func (s UpdateAppOutput) GoString() string

GoString returns the string representation

func (UpdateAppOutput) SDKResponseMetadata

func (s UpdateAppOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateAppOutput) String

func (s UpdateAppOutput) String() string

String returns the string representation

type UpdateAppRequest

type UpdateAppRequest struct {
	*aws.Request
	Input *UpdateAppInput
	Copy  func(*UpdateAppInput) UpdateAppRequest
}

UpdateAppRequest is a API request type for the UpdateApp API operation.

func (UpdateAppRequest) Send

func (r UpdateAppRequest) Send() (*UpdateAppOutput, error)

Send marshals and sends the UpdateApp API request.

type UpdateReplicationJobInput

type UpdateReplicationJobInput struct {

	// The description of the replication job.
	Description *string `locationName:"description" type:"string"`

	// When true, the replication job produces encrypted AMIs . See also KmsKeyId
	// below.
	Encrypted *bool `locationName:"encrypted" type:"boolean"`

	// The time between consecutive replication runs, in hours.
	Frequency *int64 `locationName:"frequency" type:"integer"`

	// KMS key ID for replication jobs that produce encrypted AMIs. Can be any of
	// the following:
	//
	// KMS key ID
	//
	//    * KMS key alias
	//
	//    * ARN referring to KMS key ID
	//
	//    * ARN referring to KMS key alias
	//
	//  If encrypted is true
	KmsKeyId *string `locationName:"kmsKeyId" type:"string"`

	// The license type to be used for the AMI created by a successful replication
	// run.
	LicenseType LicenseType `locationName:"licenseType" type:"string" enum:"true"`

	// The start time of the next replication run.
	NextReplicationRunStartTime *time.Time `locationName:"nextReplicationRunStartTime" type:"timestamp" timestampFormat:"unix"`

	// The maximum number of SMS-created AMIs to retain. The oldest will be deleted
	// once the maximum number is reached and a new AMI is created.
	NumberOfRecentAmisToKeep *int64 `locationName:"numberOfRecentAmisToKeep" type:"integer"`

	// The identifier of the replication job.
	//
	// ReplicationJobId is a required field
	ReplicationJobId *string `locationName:"replicationJobId" type:"string" required:"true"`

	// The name of the IAM role to be used by AWS SMS.
	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 UserData

type UserData struct {

	// Amazon S3 location of the user-data script.
	S3Location *S3Location `locationName:"s3Location" type:"structure"`
	// contains filtered or unexported fields
}

A script that runs on first launch of an Amazon EC2 instance. Used for configuring the server during launch. Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/UserData

func (UserData) GoString

func (s UserData) GoString() string

GoString returns the string representation

func (UserData) String

func (s UserData) String() string

String returns the string representation

type VmManagerType

type VmManagerType string
const (
	VmManagerTypeVsphere       VmManagerType = "VSPHERE"
	VmManagerTypeScvmm         VmManagerType = "SCVMM"
	VmManagerTypeHypervManager VmManagerType = "HYPERV-MANAGER"
)

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 {

	// The name of the VM manager.
	VmManagerName *string `locationName:"vmManagerName" type:"string"`

	// The type of VM management product.
	VmManagerType VmManagerType `locationName:"vmManagerType" type:"string" enum:"true"`

	// The name of the VM.
	VmName *string `locationName:"vmName" type:"string"`

	// The VM folder path in the vCenter Server virtual machine inventory tree.
	VmPath *string `locationName:"vmPath" type:"string"`

	// Information about the VM server location.
	VmServerAddress *VmServerAddress `locationName:"vmServerAddress" type:"structure"`
	// contains filtered or unexported fields
}

Represents 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 {

	// The identifier of the VM.
	VmId *string `locationName:"vmId" type:"string"`

	// The identifier of the VM manager.
	VmManagerId *string `locationName:"vmManagerId" type:"string"`
	// contains filtered or unexported fields
}

Represents a VM server 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

Source Files

api.go doc.go errors.go service.go

Directories

PathSynopsis
service/sms/smsifacePackage smsiface provides an interface to enable mocking the AWS Server Migration Service service client for testing your code.
Version
v0.6.0
Published
Dec 3, 2018
Platform
linux/amd64
Imports
5 packages
Last checked
6 seconds ago

Tools for package owners.