sms

package
v1.38.10 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: Apache-2.0 Imports: 10 Imported by: 30

Documentation

Overview

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

AWS Server Migration Service (AWS SMS) makes it easier and faster for you to migrate your on-premises workloads to AWS. To learn more about AWS SMS, 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 contact AWS Server Migration Service with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

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

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

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

Index

Constants

View Source
const (
	// AppLaunchConfigurationStatusNotConfigured is a AppLaunchConfigurationStatus enum value
	AppLaunchConfigurationStatusNotConfigured = "NOT_CONFIGURED"

	// AppLaunchConfigurationStatusConfigured is a AppLaunchConfigurationStatus enum value
	AppLaunchConfigurationStatusConfigured = "CONFIGURED"
)
View Source
const (
	// AppLaunchStatusReadyForConfiguration is a AppLaunchStatus enum value
	AppLaunchStatusReadyForConfiguration = "READY_FOR_CONFIGURATION"

	// AppLaunchStatusConfigurationInProgress is a AppLaunchStatus enum value
	AppLaunchStatusConfigurationInProgress = "CONFIGURATION_IN_PROGRESS"

	// AppLaunchStatusConfigurationInvalid is a AppLaunchStatus enum value
	AppLaunchStatusConfigurationInvalid = "CONFIGURATION_INVALID"

	// AppLaunchStatusReadyForLaunch is a AppLaunchStatus enum value
	AppLaunchStatusReadyForLaunch = "READY_FOR_LAUNCH"

	// AppLaunchStatusValidationInProgress is a AppLaunchStatus enum value
	AppLaunchStatusValidationInProgress = "VALIDATION_IN_PROGRESS"

	// AppLaunchStatusLaunchPending is a AppLaunchStatus enum value
	AppLaunchStatusLaunchPending = "LAUNCH_PENDING"

	// AppLaunchStatusLaunchInProgress is a AppLaunchStatus enum value
	AppLaunchStatusLaunchInProgress = "LAUNCH_IN_PROGRESS"

	// AppLaunchStatusLaunched is a AppLaunchStatus enum value
	AppLaunchStatusLaunched = "LAUNCHED"

	// AppLaunchStatusPartiallyLaunched is a AppLaunchStatus enum value
	AppLaunchStatusPartiallyLaunched = "PARTIALLY_LAUNCHED"

	// AppLaunchStatusDeltaLaunchInProgress is a AppLaunchStatus enum value
	AppLaunchStatusDeltaLaunchInProgress = "DELTA_LAUNCH_IN_PROGRESS"

	// AppLaunchStatusDeltaLaunchFailed is a AppLaunchStatus enum value
	AppLaunchStatusDeltaLaunchFailed = "DELTA_LAUNCH_FAILED"

	// AppLaunchStatusLaunchFailed is a AppLaunchStatus enum value
	AppLaunchStatusLaunchFailed = "LAUNCH_FAILED"

	// AppLaunchStatusTerminateInProgress is a AppLaunchStatus enum value
	AppLaunchStatusTerminateInProgress = "TERMINATE_IN_PROGRESS"

	// AppLaunchStatusTerminateFailed is a AppLaunchStatus enum value
	AppLaunchStatusTerminateFailed = "TERMINATE_FAILED"

	// AppLaunchStatusTerminated is a AppLaunchStatus enum value
	AppLaunchStatusTerminated = "TERMINATED"
)
View Source
const (
	// AppReplicationConfigurationStatusNotConfigured is a AppReplicationConfigurationStatus enum value
	AppReplicationConfigurationStatusNotConfigured = "NOT_CONFIGURED"

	// AppReplicationConfigurationStatusConfigured is a AppReplicationConfigurationStatus enum value
	AppReplicationConfigurationStatusConfigured = "CONFIGURED"
)
View Source
const (
	// AppReplicationStatusReadyForConfiguration is a AppReplicationStatus enum value
	AppReplicationStatusReadyForConfiguration = "READY_FOR_CONFIGURATION"

	// AppReplicationStatusConfigurationInProgress is a AppReplicationStatus enum value
	AppReplicationStatusConfigurationInProgress = "CONFIGURATION_IN_PROGRESS"

	// AppReplicationStatusConfigurationInvalid is a AppReplicationStatus enum value
	AppReplicationStatusConfigurationInvalid = "CONFIGURATION_INVALID"

	// AppReplicationStatusReadyForReplication is a AppReplicationStatus enum value
	AppReplicationStatusReadyForReplication = "READY_FOR_REPLICATION"

	// AppReplicationStatusValidationInProgress is a AppReplicationStatus enum value
	AppReplicationStatusValidationInProgress = "VALIDATION_IN_PROGRESS"

	// AppReplicationStatusReplicationPending is a AppReplicationStatus enum value
	AppReplicationStatusReplicationPending = "REPLICATION_PENDING"

	// AppReplicationStatusReplicationInProgress is a AppReplicationStatus enum value
	AppReplicationStatusReplicationInProgress = "REPLICATION_IN_PROGRESS"

	// AppReplicationStatusReplicated is a AppReplicationStatus enum value
	AppReplicationStatusReplicated = "REPLICATED"

	// AppReplicationStatusPartiallyReplicated is a AppReplicationStatus enum value
	AppReplicationStatusPartiallyReplicated = "PARTIALLY_REPLICATED"

	// AppReplicationStatusDeltaReplicationInProgress is a AppReplicationStatus enum value
	AppReplicationStatusDeltaReplicationInProgress = "DELTA_REPLICATION_IN_PROGRESS"

	// AppReplicationStatusDeltaReplicated is a AppReplicationStatus enum value
	AppReplicationStatusDeltaReplicated = "DELTA_REPLICATED"

	// AppReplicationStatusDeltaReplicationFailed is a AppReplicationStatus enum value
	AppReplicationStatusDeltaReplicationFailed = "DELTA_REPLICATION_FAILED"

	// AppReplicationStatusReplicationFailed is a AppReplicationStatus enum value
	AppReplicationStatusReplicationFailed = "REPLICATION_FAILED"

	// AppReplicationStatusReplicationStopping is a AppReplicationStatus enum value
	AppReplicationStatusReplicationStopping = "REPLICATION_STOPPING"

	// AppReplicationStatusReplicationStopFailed is a AppReplicationStatus enum value
	AppReplicationStatusReplicationStopFailed = "REPLICATION_STOP_FAILED"

	// AppReplicationStatusReplicationStopped is a AppReplicationStatus enum value
	AppReplicationStatusReplicationStopped = "REPLICATION_STOPPED"
)
View Source
const (
	// AppStatusCreating is a AppStatus enum value
	AppStatusCreating = "CREATING"

	// AppStatusActive is a AppStatus enum value
	AppStatusActive = "ACTIVE"

	// AppStatusUpdating is a AppStatus enum value
	AppStatusUpdating = "UPDATING"

	// AppStatusDeleting is a AppStatus enum value
	AppStatusDeleting = "DELETING"

	// AppStatusDeleted is a AppStatus enum value
	AppStatusDeleted = "DELETED"

	// AppStatusDeleteFailed is a AppStatus enum value
	AppStatusDeleteFailed = "DELETE_FAILED"
)
View Source
const (
	// ConnectorCapabilityVsphere is a ConnectorCapability enum value
	ConnectorCapabilityVsphere = "VSPHERE"

	// ConnectorCapabilityScvmm is a ConnectorCapability enum value
	ConnectorCapabilityScvmm = "SCVMM"

	// ConnectorCapabilityHypervManager is a ConnectorCapability enum value
	ConnectorCapabilityHypervManager = "HYPERV-MANAGER"

	// ConnectorCapabilitySnapshotBatching is a ConnectorCapability enum value
	ConnectorCapabilitySnapshotBatching = "SNAPSHOT_BATCHING"

	// ConnectorCapabilitySmsOptimized is a ConnectorCapability enum value
	ConnectorCapabilitySmsOptimized = "SMS_OPTIMIZED"
)
View Source
const (
	// ConnectorStatusHealthy is a ConnectorStatus enum value
	ConnectorStatusHealthy = "HEALTHY"

	// ConnectorStatusUnhealthy is a ConnectorStatus enum value
	ConnectorStatusUnhealthy = "UNHEALTHY"
)
View Source
const (
	// LicenseTypeAws is a LicenseType enum value
	LicenseTypeAws = "AWS"

	// LicenseTypeByol is a LicenseType enum value
	LicenseTypeByol = "BYOL"
)
View Source
const (
	// OutputFormatJson is a OutputFormat enum value
	OutputFormatJson = "JSON"

	// OutputFormatYaml is a OutputFormat enum value
	OutputFormatYaml = "YAML"
)
View Source
const (
	// ReplicationJobStatePending is a ReplicationJobState enum value
	ReplicationJobStatePending = "PENDING"

	// ReplicationJobStateActive is a ReplicationJobState enum value
	ReplicationJobStateActive = "ACTIVE"

	// ReplicationJobStateFailed is a ReplicationJobState enum value
	ReplicationJobStateFailed = "FAILED"

	// ReplicationJobStateDeleting is a ReplicationJobState enum value
	ReplicationJobStateDeleting = "DELETING"

	// ReplicationJobStateDeleted is a ReplicationJobState enum value
	ReplicationJobStateDeleted = "DELETED"

	// ReplicationJobStateCompleted is a ReplicationJobState enum value
	ReplicationJobStateCompleted = "COMPLETED"

	// ReplicationJobStatePausedOnFailure is a ReplicationJobState enum value
	ReplicationJobStatePausedOnFailure = "PAUSED_ON_FAILURE"

	// ReplicationJobStateFailing is a ReplicationJobState enum value
	ReplicationJobStateFailing = "FAILING"
)
View Source
const (
	// ReplicationRunStatePending is a ReplicationRunState enum value
	ReplicationRunStatePending = "PENDING"

	// ReplicationRunStateMissed is a ReplicationRunState enum value
	ReplicationRunStateMissed = "MISSED"

	// ReplicationRunStateActive is a ReplicationRunState enum value
	ReplicationRunStateActive = "ACTIVE"

	// ReplicationRunStateFailed is a ReplicationRunState enum value
	ReplicationRunStateFailed = "FAILED"

	// ReplicationRunStateCompleted is a ReplicationRunState enum value
	ReplicationRunStateCompleted = "COMPLETED"

	// ReplicationRunStateDeleting is a ReplicationRunState enum value
	ReplicationRunStateDeleting = "DELETING"

	// ReplicationRunStateDeleted is a ReplicationRunState enum value
	ReplicationRunStateDeleted = "DELETED"
)
View Source
const (
	// ReplicationRunTypeOnDemand is a ReplicationRunType enum value
	ReplicationRunTypeOnDemand = "ON_DEMAND"

	// ReplicationRunTypeAutomatic is a ReplicationRunType enum value
	ReplicationRunTypeAutomatic = "AUTOMATIC"
)
View Source
const (
	// ScriptTypeShellScript is a ScriptType enum value
	ScriptTypeShellScript = "SHELL_SCRIPT"

	// ScriptTypePowershellScript is a ScriptType enum value
	ScriptTypePowershellScript = "POWERSHELL_SCRIPT"
)
View Source
const (
	// ServerCatalogStatusNotImported is a ServerCatalogStatus enum value
	ServerCatalogStatusNotImported = "NOT_IMPORTED"

	// ServerCatalogStatusImporting is a ServerCatalogStatus enum value
	ServerCatalogStatusImporting = "IMPORTING"

	// ServerCatalogStatusAvailable is a ServerCatalogStatus enum value
	ServerCatalogStatusAvailable = "AVAILABLE"

	// ServerCatalogStatusDeleted is a ServerCatalogStatus enum value
	ServerCatalogStatusDeleted = "DELETED"

	// ServerCatalogStatusExpired is a ServerCatalogStatus enum value
	ServerCatalogStatusExpired = "EXPIRED"
)
View Source
const (
	// ValidationStatusReadyForValidation is a ValidationStatus enum value
	ValidationStatusReadyForValidation = "READY_FOR_VALIDATION"

	// ValidationStatusPending is a ValidationStatus enum value
	ValidationStatusPending = "PENDING"

	// ValidationStatusInProgress is a ValidationStatus enum value
	ValidationStatusInProgress = "IN_PROGRESS"

	// ValidationStatusSucceeded is a ValidationStatus enum value
	ValidationStatusSucceeded = "SUCCEEDED"

	// ValidationStatusFailed is a ValidationStatus enum value
	ValidationStatusFailed = "FAILED"
)
View Source
const (
	// VmManagerTypeVsphere is a VmManagerType enum value
	VmManagerTypeVsphere = "VSPHERE"

	// VmManagerTypeScvmm is a VmManagerType enum value
	VmManagerTypeScvmm = "SCVMM"

	// VmManagerTypeHypervManager is a VmManagerType enum value
	VmManagerTypeHypervManager = "HYPERV-MANAGER"
)
View Source
const (

	// ErrCodeDryRunOperationException for service response error code
	// "DryRunOperationException".
	//
	// The user has the required permissions, so the request would have succeeded,
	// but a dry run was performed.
	ErrCodeDryRunOperationException = "DryRunOperationException"

	// 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"
)
View Source
const (
	ServiceName = "sms"       // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "SMS"       // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// AppValidationStrategySsm is a AppValidationStrategy enum value
	AppValidationStrategySsm = "SSM"
)
View Source
const (
	// ServerTypeVirtualMachine is a ServerType enum value
	ServerTypeVirtualMachine = "VIRTUAL_MACHINE"
)
View Source
const (
	// ServerValidationStrategyUserdata is a ServerValidationStrategy enum value
	ServerValidationStrategyUserdata = "USERDATA"
)

Variables

This section is empty.

Functions

func AppLaunchConfigurationStatus_Values added in v1.34.3

func AppLaunchConfigurationStatus_Values() []string

AppLaunchConfigurationStatus_Values returns all elements of the AppLaunchConfigurationStatus enum

func AppLaunchStatus_Values added in v1.34.3

func AppLaunchStatus_Values() []string

AppLaunchStatus_Values returns all elements of the AppLaunchStatus enum

func AppReplicationConfigurationStatus_Values added in v1.34.3

func AppReplicationConfigurationStatus_Values() []string

AppReplicationConfigurationStatus_Values returns all elements of the AppReplicationConfigurationStatus enum

func AppReplicationStatus_Values added in v1.34.3

func AppReplicationStatus_Values() []string

AppReplicationStatus_Values returns all elements of the AppReplicationStatus enum

func AppStatus_Values added in v1.34.3

func AppStatus_Values() []string

AppStatus_Values returns all elements of the AppStatus enum

func AppValidationStrategy_Values added in v1.34.3

func AppValidationStrategy_Values() []string

AppValidationStrategy_Values returns all elements of the AppValidationStrategy enum

func ConnectorCapability_Values added in v1.34.3

func ConnectorCapability_Values() []string

ConnectorCapability_Values returns all elements of the ConnectorCapability enum

func ConnectorStatus_Values added in v1.34.3

func ConnectorStatus_Values() []string

ConnectorStatus_Values returns all elements of the ConnectorStatus enum

func LicenseType_Values added in v1.34.3

func LicenseType_Values() []string

LicenseType_Values returns all elements of the LicenseType enum

func OutputFormat_Values added in v1.34.3

func OutputFormat_Values() []string

OutputFormat_Values returns all elements of the OutputFormat enum

func ReplicationJobState_Values added in v1.34.3

func ReplicationJobState_Values() []string

ReplicationJobState_Values returns all elements of the ReplicationJobState enum

func ReplicationRunState_Values added in v1.34.3

func ReplicationRunState_Values() []string

ReplicationRunState_Values returns all elements of the ReplicationRunState enum

func ReplicationRunType_Values added in v1.34.3

func ReplicationRunType_Values() []string

ReplicationRunType_Values returns all elements of the ReplicationRunType enum

func ScriptType_Values added in v1.34.3

func ScriptType_Values() []string

ScriptType_Values returns all elements of the ScriptType enum

func ServerCatalogStatus_Values added in v1.34.3

func ServerCatalogStatus_Values() []string

ServerCatalogStatus_Values returns all elements of the ServerCatalogStatus enum

func ServerType_Values added in v1.34.3

func ServerType_Values() []string

ServerType_Values returns all elements of the ServerType enum

func ServerValidationStrategy_Values added in v1.34.3

func ServerValidationStrategy_Values() []string

ServerValidationStrategy_Values returns all elements of the ServerValidationStrategy enum

func ValidationStatus_Values added in v1.34.3

func ValidationStatus_Values() []string

ValidationStatus_Values returns all elements of the ValidationStatus enum

func VmManagerType_Values added in v1.34.3

func VmManagerType_Values() []string

VmManagerType_Values returns all elements of the VmManagerType enum

Types

type AppSummary added in v1.15.83

type AppSummary struct {

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

	// The creation time of the application.
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`

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

	// The ID of the application.
	ImportedAppId *string `locationName:"importedAppId" type:"string"`

	// The last modified time of the application.
	LastModified *time.Time `locationName:"lastModified" type:"timestamp"`

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

	// Status of the launch configuration.
	LaunchConfigurationStatus *string `locationName:"launchConfigurationStatus" type:"string" enum:"AppLaunchConfigurationStatus"`

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

	// The launch status of the application.
	LaunchStatus *string `locationName:"launchStatus" type:"string" enum:"AppLaunchStatus"`

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

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

	// Status of the replication configuration.
	ReplicationConfigurationStatus *string `locationName:"replicationConfigurationStatus" type:"string" enum:"AppReplicationConfigurationStatus"`

	// The replication status of the application.
	ReplicationStatus *string `locationName:"replicationStatus" type:"string" enum:"AppReplicationStatus"`

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

	// The 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 *string `locationName:"status" type:"string" enum:"AppStatus"`

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

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

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

Information about the application.

func (AppSummary) GoString added in v1.15.83

func (s AppSummary) GoString() string

GoString returns the string representation

func (*AppSummary) SetAppId added in v1.15.83

func (s *AppSummary) SetAppId(v string) *AppSummary

SetAppId sets the AppId field's value.

func (*AppSummary) SetCreationTime added in v1.15.83

func (s *AppSummary) SetCreationTime(v time.Time) *AppSummary

SetCreationTime sets the CreationTime field's value.

func (*AppSummary) SetDescription added in v1.15.83

func (s *AppSummary) SetDescription(v string) *AppSummary

SetDescription sets the Description field's value.

func (*AppSummary) SetImportedAppId added in v1.34.0

func (s *AppSummary) SetImportedAppId(v string) *AppSummary

SetImportedAppId sets the ImportedAppId field's value.

func (*AppSummary) SetLastModified added in v1.15.83

func (s *AppSummary) SetLastModified(v time.Time) *AppSummary

SetLastModified sets the LastModified field's value.

func (*AppSummary) SetLatestReplicationTime added in v1.15.83

func (s *AppSummary) SetLatestReplicationTime(v time.Time) *AppSummary

SetLatestReplicationTime sets the LatestReplicationTime field's value.

func (*AppSummary) SetLaunchConfigurationStatus added in v1.34.0

func (s *AppSummary) SetLaunchConfigurationStatus(v string) *AppSummary

SetLaunchConfigurationStatus sets the LaunchConfigurationStatus field's value.

func (*AppSummary) SetLaunchDetails added in v1.15.83

func (s *AppSummary) SetLaunchDetails(v *LaunchDetails) *AppSummary

SetLaunchDetails sets the LaunchDetails field's value.

func (*AppSummary) SetLaunchStatus added in v1.15.83

func (s *AppSummary) SetLaunchStatus(v string) *AppSummary

SetLaunchStatus sets the LaunchStatus field's value.

func (*AppSummary) SetLaunchStatusMessage added in v1.15.83

func (s *AppSummary) SetLaunchStatusMessage(v string) *AppSummary

SetLaunchStatusMessage sets the LaunchStatusMessage field's value.

func (*AppSummary) SetName added in v1.15.83

func (s *AppSummary) SetName(v string) *AppSummary

SetName sets the Name field's value.

func (*AppSummary) SetReplicationConfigurationStatus added in v1.34.0

func (s *AppSummary) SetReplicationConfigurationStatus(v string) *AppSummary

SetReplicationConfigurationStatus sets the ReplicationConfigurationStatus field's value.

func (*AppSummary) SetReplicationStatus added in v1.15.83

func (s *AppSummary) SetReplicationStatus(v string) *AppSummary

SetReplicationStatus sets the ReplicationStatus field's value.

func (*AppSummary) SetReplicationStatusMessage added in v1.15.83

func (s *AppSummary) SetReplicationStatusMessage(v string) *AppSummary

SetReplicationStatusMessage sets the ReplicationStatusMessage field's value.

func (*AppSummary) SetRoleName added in v1.15.83

func (s *AppSummary) SetRoleName(v string) *AppSummary

SetRoleName sets the RoleName field's value.

func (*AppSummary) SetStatus added in v1.15.83

func (s *AppSummary) SetStatus(v string) *AppSummary

SetStatus sets the Status field's value.

func (*AppSummary) SetStatusMessage added in v1.15.83

func (s *AppSummary) SetStatusMessage(v string) *AppSummary

SetStatusMessage sets the StatusMessage field's value.

func (*AppSummary) SetTotalServerGroups added in v1.15.83

func (s *AppSummary) SetTotalServerGroups(v int64) *AppSummary

SetTotalServerGroups sets the TotalServerGroups field's value.

func (*AppSummary) SetTotalServers added in v1.15.83

func (s *AppSummary) SetTotalServers(v int64) *AppSummary

SetTotalServers sets the TotalServers field's value.

func (AppSummary) String added in v1.15.83

func (s AppSummary) String() string

String returns the string representation

type AppValidationConfiguration added in v1.34.0

type AppValidationConfiguration struct {

	// The validation strategy.
	AppValidationStrategy *string `locationName:"appValidationStrategy" type:"string" enum:"AppValidationStrategy"`

	// The name of the configuration.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The validation parameters.
	SsmValidationParameters *SSMValidationParameters `locationName:"ssmValidationParameters" type:"structure"`

	// The ID of the validation.
	ValidationId *string `locationName:"validationId" type:"string"`
	// contains filtered or unexported fields
}

Configuration for validating an application.

func (AppValidationConfiguration) GoString added in v1.34.0

func (s AppValidationConfiguration) GoString() string

GoString returns the string representation

func (*AppValidationConfiguration) SetAppValidationStrategy added in v1.34.0

func (s *AppValidationConfiguration) SetAppValidationStrategy(v string) *AppValidationConfiguration

SetAppValidationStrategy sets the AppValidationStrategy field's value.

func (*AppValidationConfiguration) SetName added in v1.34.0

SetName sets the Name field's value.

func (*AppValidationConfiguration) SetSsmValidationParameters added in v1.34.0

SetSsmValidationParameters sets the SsmValidationParameters field's value.

func (*AppValidationConfiguration) SetValidationId added in v1.34.0

SetValidationId sets the ValidationId field's value.

func (AppValidationConfiguration) String added in v1.34.0

String returns the string representation

func (*AppValidationConfiguration) Validate added in v1.34.0

func (s *AppValidationConfiguration) Validate() error

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

type AppValidationOutput added in v1.34.0

type AppValidationOutput struct {

	// Output from using SSM to validate the application.
	SsmOutput *SSMOutput `locationName:"ssmOutput" type:"structure"`
	// contains filtered or unexported fields
}

Output from validating an application.

func (AppValidationOutput) GoString added in v1.34.0

func (s AppValidationOutput) GoString() string

GoString returns the string representation

func (*AppValidationOutput) SetSsmOutput added in v1.34.0

func (s *AppValidationOutput) SetSsmOutput(v *SSMOutput) *AppValidationOutput

SetSsmOutput sets the SsmOutput field's value.

func (AppValidationOutput) String added in v1.34.0

func (s AppValidationOutput) 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"`

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

	// The ID 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 *string `locationName:"status" type:"string" enum:"ConnectorStatus"`

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

	// The ID 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 *string `locationName:"vmManagerType" type:"string" enum:"VmManagerType"`
	// contains filtered or unexported fields
}

Represents a connector.

func (Connector) GoString

func (s Connector) GoString() string

GoString returns the string representation

func (*Connector) SetAssociatedOn added in v1.5.0

func (s *Connector) SetAssociatedOn(v time.Time) *Connector

SetAssociatedOn sets the AssociatedOn field's value.

func (*Connector) SetCapabilityList added in v1.5.0

func (s *Connector) SetCapabilityList(v []*string) *Connector

SetCapabilityList sets the CapabilityList field's value.

func (*Connector) SetConnectorId added in v1.5.0

func (s *Connector) SetConnectorId(v string) *Connector

SetConnectorId sets the ConnectorId field's value.

func (*Connector) SetIpAddress added in v1.5.0

func (s *Connector) SetIpAddress(v string) *Connector

SetIpAddress sets the IpAddress field's value.

func (*Connector) SetMacAddress added in v1.5.0

func (s *Connector) SetMacAddress(v string) *Connector

SetMacAddress sets the MacAddress field's value.

func (*Connector) SetStatus added in v1.5.0

func (s *Connector) SetStatus(v string) *Connector

SetStatus sets the Status field's value.

func (*Connector) SetVersion added in v1.5.0

func (s *Connector) SetVersion(v string) *Connector

SetVersion sets the Version field's value.

func (*Connector) SetVmManagerId added in v1.5.0

func (s *Connector) SetVmManagerId(v string) *Connector

SetVmManagerId sets the VmManagerId field's value.

func (*Connector) SetVmManagerName added in v1.5.0

func (s *Connector) SetVmManagerName(v string) *Connector

SetVmManagerName sets the VmManagerName field's value.

func (*Connector) SetVmManagerType added in v1.5.0

func (s *Connector) SetVmManagerType(v string) *Connector

SetVmManagerType sets the VmManagerType field's value.

func (Connector) String

func (s Connector) String() string

String returns the string representation

type CreateAppInput added in v1.15.83

type CreateAppInput struct {

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

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

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

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

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

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

func (CreateAppInput) GoString added in v1.15.83

func (s CreateAppInput) GoString() string

GoString returns the string representation

func (*CreateAppInput) SetClientToken added in v1.15.83

func (s *CreateAppInput) SetClientToken(v string) *CreateAppInput

SetClientToken sets the ClientToken field's value.

func (*CreateAppInput) SetDescription added in v1.15.83

func (s *CreateAppInput) SetDescription(v string) *CreateAppInput

SetDescription sets the Description field's value.

func (*CreateAppInput) SetName added in v1.15.83

func (s *CreateAppInput) SetName(v string) *CreateAppInput

SetName sets the Name field's value.

func (*CreateAppInput) SetRoleName added in v1.15.83

func (s *CreateAppInput) SetRoleName(v string) *CreateAppInput

SetRoleName sets the RoleName field's value.

func (*CreateAppInput) SetServerGroups added in v1.15.83

func (s *CreateAppInput) SetServerGroups(v []*ServerGroup) *CreateAppInput

SetServerGroups sets the ServerGroups field's value.

func (*CreateAppInput) SetTags added in v1.15.83

func (s *CreateAppInput) SetTags(v []*Tag) *CreateAppInput

SetTags sets the Tags field's value.

func (CreateAppInput) String added in v1.15.83

func (s CreateAppInput) String() string

String returns the string representation

type CreateAppOutput added in v1.15.83

type CreateAppOutput struct {

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

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

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

func (CreateAppOutput) GoString added in v1.15.83

func (s CreateAppOutput) GoString() string

GoString returns the string representation

func (*CreateAppOutput) SetAppSummary added in v1.15.83

func (s *CreateAppOutput) SetAppSummary(v *AppSummary) *CreateAppOutput

SetAppSummary sets the AppSummary field's value.

func (*CreateAppOutput) SetServerGroups added in v1.15.83

func (s *CreateAppOutput) SetServerGroups(v []*ServerGroup) *CreateAppOutput

SetServerGroups sets the ServerGroups field's value.

func (*CreateAppOutput) SetTags added in v1.15.83

func (s *CreateAppOutput) SetTags(v []*Tag) *CreateAppOutput

SetTags sets the Tags field's value.

func (CreateAppOutput) String added in v1.15.83

func (s CreateAppOutput) String() string

String returns the string representation

type CreateReplicationJobInput

type CreateReplicationJobInput struct {

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

	// Indicates whether the replication job produces encrypted AMIs.
	Encrypted *bool `locationName:"encrypted" type:"boolean"`

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

	// The ID of the KMS key for replication jobs that produce encrypted AMIs. This
	// value can be any of the following:
	//
	//    * KMS key ID
	//
	//    * KMS key alias
	//
	//    * ARN referring to the KMS key ID
	//
	//    * ARN referring to the KMS key alias
	//
	// If encrypted is true but a KMS key ID is not specified, the customer's default
	// KMS key for Amazon 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 *string `locationName:"licenseType" type:"string" enum:"LicenseType"`

	// The maximum number of SMS-created AMIs to retain. The oldest is deleted after
	// 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"`

	// Indicates whether to run the replication job one time.
	RunOnce *bool `locationName:"runOnce" type:"boolean"`

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

	// The ID of the server.
	//
	// ServerId is a required field
	ServerId *string `locationName:"serverId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateReplicationJobInput) GoString

func (s CreateReplicationJobInput) GoString() string

GoString returns the string representation

func (*CreateReplicationJobInput) SetDescription added in v1.5.0

SetDescription sets the Description field's value.

func (*CreateReplicationJobInput) SetEncrypted added in v1.15.83

SetEncrypted sets the Encrypted field's value.

func (*CreateReplicationJobInput) SetFrequency added in v1.5.0

SetFrequency sets the Frequency field's value.

func (*CreateReplicationJobInput) SetKmsKeyId added in v1.15.83

SetKmsKeyId sets the KmsKeyId field's value.

func (*CreateReplicationJobInput) SetLicenseType added in v1.5.0

SetLicenseType sets the LicenseType field's value.

func (*CreateReplicationJobInput) SetNumberOfRecentAmisToKeep added in v1.15.83

func (s *CreateReplicationJobInput) SetNumberOfRecentAmisToKeep(v int64) *CreateReplicationJobInput

SetNumberOfRecentAmisToKeep sets the NumberOfRecentAmisToKeep field's value.

func (*CreateReplicationJobInput) SetRoleName added in v1.5.0

SetRoleName sets the RoleName field's value.

func (*CreateReplicationJobInput) SetRunOnce added in v1.15.83

SetRunOnce sets the RunOnce field's value.

func (*CreateReplicationJobInput) SetSeedReplicationTime added in v1.5.0

func (s *CreateReplicationJobInput) SetSeedReplicationTime(v time.Time) *CreateReplicationJobInput

SetSeedReplicationTime sets the SeedReplicationTime field's value.

func (*CreateReplicationJobInput) SetServerId added in v1.5.0

SetServerId sets the ServerId field's value.

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
}

func (CreateReplicationJobOutput) GoString

func (s CreateReplicationJobOutput) GoString() string

GoString returns the string representation

func (*CreateReplicationJobOutput) SetReplicationJobId added in v1.5.0

SetReplicationJobId sets the ReplicationJobId field's value.

func (CreateReplicationJobOutput) String

String returns the string representation

type DeleteAppInput added in v1.15.83

type DeleteAppInput struct {

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

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

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

func (DeleteAppInput) GoString added in v1.15.83

func (s DeleteAppInput) GoString() string

GoString returns the string representation

func (*DeleteAppInput) SetAppId added in v1.15.83

func (s *DeleteAppInput) SetAppId(v string) *DeleteAppInput

SetAppId sets the AppId field's value.

func (*DeleteAppInput) SetForceStopAppReplication added in v1.15.83

func (s *DeleteAppInput) SetForceStopAppReplication(v bool) *DeleteAppInput

SetForceStopAppReplication sets the ForceStopAppReplication field's value.

func (*DeleteAppInput) SetForceTerminateApp added in v1.15.83

func (s *DeleteAppInput) SetForceTerminateApp(v bool) *DeleteAppInput

SetForceTerminateApp sets the ForceTerminateApp field's value.

func (DeleteAppInput) String added in v1.15.83

func (s DeleteAppInput) String() string

String returns the string representation

type DeleteAppLaunchConfigurationInput added in v1.15.83

type DeleteAppLaunchConfigurationInput struct {

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

func (DeleteAppLaunchConfigurationInput) GoString added in v1.15.83

GoString returns the string representation

func (*DeleteAppLaunchConfigurationInput) SetAppId added in v1.15.83

SetAppId sets the AppId field's value.

func (DeleteAppLaunchConfigurationInput) String added in v1.15.83

String returns the string representation

type DeleteAppLaunchConfigurationOutput added in v1.15.83

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

func (DeleteAppLaunchConfigurationOutput) GoString added in v1.15.83

GoString returns the string representation

func (DeleteAppLaunchConfigurationOutput) String added in v1.15.83

String returns the string representation

type DeleteAppOutput added in v1.15.83

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

func (DeleteAppOutput) GoString added in v1.15.83

func (s DeleteAppOutput) GoString() string

GoString returns the string representation

func (DeleteAppOutput) String added in v1.15.83

func (s DeleteAppOutput) String() string

String returns the string representation

type DeleteAppReplicationConfigurationInput added in v1.15.83

type DeleteAppReplicationConfigurationInput struct {

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

func (DeleteAppReplicationConfigurationInput) GoString added in v1.15.83

GoString returns the string representation

func (*DeleteAppReplicationConfigurationInput) SetAppId added in v1.15.83

SetAppId sets the AppId field's value.

func (DeleteAppReplicationConfigurationInput) String added in v1.15.83

String returns the string representation

type DeleteAppReplicationConfigurationOutput added in v1.15.83

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

func (DeleteAppReplicationConfigurationOutput) GoString added in v1.15.83

GoString returns the string representation

func (DeleteAppReplicationConfigurationOutput) String added in v1.15.83

String returns the string representation

type DeleteAppValidationConfigurationInput added in v1.34.0

type DeleteAppValidationConfigurationInput struct {

	// The ID of the application.
	//
	// AppId is a required field
	AppId *string `locationName:"appId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteAppValidationConfigurationInput) GoString added in v1.34.0

GoString returns the string representation

func (*DeleteAppValidationConfigurationInput) SetAppId added in v1.34.0

SetAppId sets the AppId field's value.

func (DeleteAppValidationConfigurationInput) String added in v1.34.0

String returns the string representation

func (*DeleteAppValidationConfigurationInput) Validate added in v1.34.0

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

type DeleteAppValidationConfigurationOutput added in v1.34.0

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

func (DeleteAppValidationConfigurationOutput) GoString added in v1.34.0

GoString returns the string representation

func (DeleteAppValidationConfigurationOutput) String added in v1.34.0

String returns the string representation

type DeleteReplicationJobInput

type DeleteReplicationJobInput struct {

	// The ID of the replication job.
	//
	// ReplicationJobId is a required field
	ReplicationJobId *string `locationName:"replicationJobId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteReplicationJobInput) GoString

func (s DeleteReplicationJobInput) GoString() string

GoString returns the string representation

func (*DeleteReplicationJobInput) SetReplicationJobId added in v1.5.0

func (s *DeleteReplicationJobInput) SetReplicationJobId(v string) *DeleteReplicationJobInput

SetReplicationJobId sets the ReplicationJobId field's value.

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
}

func (DeleteReplicationJobOutput) GoString

func (s DeleteReplicationJobOutput) GoString() string

GoString returns the string representation

func (DeleteReplicationJobOutput) String

String returns the string representation

type DeleteServerCatalogInput

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

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
}

func (DeleteServerCatalogOutput) GoString

func (s DeleteServerCatalogOutput) GoString() string

GoString returns the string representation

func (DeleteServerCatalogOutput) String

func (s DeleteServerCatalogOutput) String() string

String returns the string representation

type DisassociateConnectorInput

type DisassociateConnectorInput struct {

	// The ID of the connector.
	//
	// ConnectorId is a required field
	ConnectorId *string `locationName:"connectorId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociateConnectorInput) GoString

func (s DisassociateConnectorInput) GoString() string

GoString returns the string representation

func (*DisassociateConnectorInput) SetConnectorId added in v1.5.0

SetConnectorId sets the ConnectorId field's value.

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
}

func (DisassociateConnectorOutput) GoString

func (s DisassociateConnectorOutput) GoString() string

GoString returns the string representation

func (DisassociateConnectorOutput) String

String returns the string representation

type DryRunOperationException added in v1.34.0

type DryRunOperationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The user has the required permissions, so the request would have succeeded, but a dry run was performed.

func (*DryRunOperationException) Code added in v1.34.0

func (s *DryRunOperationException) Code() string

Code returns the exception type name.

func (*DryRunOperationException) Error added in v1.34.0

func (s *DryRunOperationException) Error() string

func (DryRunOperationException) GoString added in v1.34.0

func (s DryRunOperationException) GoString() string

GoString returns the string representation

func (*DryRunOperationException) Message added in v1.34.0

func (s *DryRunOperationException) Message() string

Message returns the exception's message.

func (*DryRunOperationException) OrigErr added in v1.34.0

func (s *DryRunOperationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*DryRunOperationException) RequestID added in v1.34.0

func (s *DryRunOperationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*DryRunOperationException) StatusCode added in v1.34.0

func (s *DryRunOperationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (DryRunOperationException) String added in v1.34.0

func (s DryRunOperationException) String() string

String returns the string representation

type GenerateChangeSetInput added in v1.15.83

type GenerateChangeSetInput struct {

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

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

func (GenerateChangeSetInput) GoString added in v1.15.83

func (s GenerateChangeSetInput) GoString() string

GoString returns the string representation

func (*GenerateChangeSetInput) SetAppId added in v1.15.83

SetAppId sets the AppId field's value.

func (*GenerateChangeSetInput) SetChangesetFormat added in v1.15.83

func (s *GenerateChangeSetInput) SetChangesetFormat(v string) *GenerateChangeSetInput

SetChangesetFormat sets the ChangesetFormat field's value.

func (GenerateChangeSetInput) String added in v1.15.83

func (s GenerateChangeSetInput) String() string

String returns the string representation

type GenerateChangeSetOutput added in v1.15.83

type GenerateChangeSetOutput struct {

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

func (GenerateChangeSetOutput) GoString added in v1.15.83

func (s GenerateChangeSetOutput) GoString() string

GoString returns the string representation

func (*GenerateChangeSetOutput) SetS3Location added in v1.15.83

SetS3Location sets the S3Location field's value.

func (GenerateChangeSetOutput) String added in v1.15.83

func (s GenerateChangeSetOutput) String() string

String returns the string representation

type GenerateTemplateInput added in v1.15.83

type GenerateTemplateInput struct {

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

	// The format for generating the AWS CloudFormation template.
	TemplateFormat *string `locationName:"templateFormat" type:"string" enum:"OutputFormat"`
	// contains filtered or unexported fields
}

func (GenerateTemplateInput) GoString added in v1.15.83

func (s GenerateTemplateInput) GoString() string

GoString returns the string representation

func (*GenerateTemplateInput) SetAppId added in v1.15.83

SetAppId sets the AppId field's value.

func (*GenerateTemplateInput) SetTemplateFormat added in v1.15.83

func (s *GenerateTemplateInput) SetTemplateFormat(v string) *GenerateTemplateInput

SetTemplateFormat sets the TemplateFormat field's value.

func (GenerateTemplateInput) String added in v1.15.83

func (s GenerateTemplateInput) String() string

String returns the string representation

type GenerateTemplateOutput added in v1.15.83

type GenerateTemplateOutput struct {

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

func (GenerateTemplateOutput) GoString added in v1.15.83

func (s GenerateTemplateOutput) GoString() string

GoString returns the string representation

func (*GenerateTemplateOutput) SetS3Location added in v1.15.83

SetS3Location sets the S3Location field's value.

func (GenerateTemplateOutput) String added in v1.15.83

func (s GenerateTemplateOutput) String() string

String returns the string representation

type GetAppInput added in v1.15.83

type GetAppInput struct {

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

func (GetAppInput) GoString added in v1.15.83

func (s GetAppInput) GoString() string

GoString returns the string representation

func (*GetAppInput) SetAppId added in v1.15.83

func (s *GetAppInput) SetAppId(v string) *GetAppInput

SetAppId sets the AppId field's value.

func (GetAppInput) String added in v1.15.83

func (s GetAppInput) String() string

String returns the string representation

type GetAppLaunchConfigurationInput added in v1.15.83

type GetAppLaunchConfigurationInput struct {

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

func (GetAppLaunchConfigurationInput) GoString added in v1.15.83

GoString returns the string representation

func (*GetAppLaunchConfigurationInput) SetAppId added in v1.15.83

SetAppId sets the AppId field's value.

func (GetAppLaunchConfigurationInput) String added in v1.15.83

String returns the string representation

type GetAppLaunchConfigurationOutput added in v1.15.83

type GetAppLaunchConfigurationOutput struct {

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

	// Indicates whether the application is configured to launch automatically after
	// replication is complete.
	AutoLaunch *bool `locationName:"autoLaunch" type:"boolean"`

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

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

func (GetAppLaunchConfigurationOutput) GoString added in v1.15.83

GoString returns the string representation

func (*GetAppLaunchConfigurationOutput) SetAppId added in v1.15.83

SetAppId sets the AppId field's value.

func (*GetAppLaunchConfigurationOutput) SetAutoLaunch added in v1.34.0

SetAutoLaunch sets the AutoLaunch field's value.

func (*GetAppLaunchConfigurationOutput) SetRoleName added in v1.15.83

SetRoleName sets the RoleName field's value.

func (*GetAppLaunchConfigurationOutput) SetServerGroupLaunchConfigurations added in v1.15.83

SetServerGroupLaunchConfigurations sets the ServerGroupLaunchConfigurations field's value.

func (GetAppLaunchConfigurationOutput) String added in v1.15.83

String returns the string representation

type GetAppOutput added in v1.15.83

type GetAppOutput struct {

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

	// The server groups that belong to the application.
	ServerGroups []*ServerGroup `locationName:"serverGroups" type:"list"`

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

func (GetAppOutput) GoString added in v1.15.83

func (s GetAppOutput) GoString() string

GoString returns the string representation

func (*GetAppOutput) SetAppSummary added in v1.15.83

func (s *GetAppOutput) SetAppSummary(v *AppSummary) *GetAppOutput

SetAppSummary sets the AppSummary field's value.

func (*GetAppOutput) SetServerGroups added in v1.15.83

func (s *GetAppOutput) SetServerGroups(v []*ServerGroup) *GetAppOutput

SetServerGroups sets the ServerGroups field's value.

func (*GetAppOutput) SetTags added in v1.15.83

func (s *GetAppOutput) SetTags(v []*Tag) *GetAppOutput

SetTags sets the Tags field's value.

func (GetAppOutput) String added in v1.15.83

func (s GetAppOutput) String() string

String returns the string representation

type GetAppReplicationConfigurationInput added in v1.15.83

type GetAppReplicationConfigurationInput struct {

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

func (GetAppReplicationConfigurationInput) GoString added in v1.15.83

GoString returns the string representation

func (*GetAppReplicationConfigurationInput) SetAppId added in v1.15.83

SetAppId sets the AppId field's value.

func (GetAppReplicationConfigurationInput) String added in v1.15.83

String returns the string representation

type GetAppReplicationConfigurationOutput added in v1.15.83

type GetAppReplicationConfigurationOutput struct {

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

func (GetAppReplicationConfigurationOutput) GoString added in v1.15.83

GoString returns the string representation

func (*GetAppReplicationConfigurationOutput) SetServerGroupReplicationConfigurations added in v1.15.83

SetServerGroupReplicationConfigurations sets the ServerGroupReplicationConfigurations field's value.

func (GetAppReplicationConfigurationOutput) String added in v1.15.83

String returns the string representation

type GetAppValidationConfigurationInput added in v1.34.0

type GetAppValidationConfigurationInput struct {

	// The ID of the application.
	//
	// AppId is a required field
	AppId *string `locationName:"appId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetAppValidationConfigurationInput) GoString added in v1.34.0

GoString returns the string representation

func (*GetAppValidationConfigurationInput) SetAppId added in v1.34.0

SetAppId sets the AppId field's value.

func (GetAppValidationConfigurationInput) String added in v1.34.0

String returns the string representation

func (*GetAppValidationConfigurationInput) Validate added in v1.34.0

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

type GetAppValidationConfigurationOutput added in v1.34.0

type GetAppValidationConfigurationOutput struct {

	// The configuration for application validation.
	AppValidationConfigurations []*AppValidationConfiguration `locationName:"appValidationConfigurations" type:"list"`

	// The configuration for instance validation.
	ServerGroupValidationConfigurations []*ServerGroupValidationConfiguration `locationName:"serverGroupValidationConfigurations" type:"list"`
	// contains filtered or unexported fields
}

func (GetAppValidationConfigurationOutput) GoString added in v1.34.0

GoString returns the string representation

func (*GetAppValidationConfigurationOutput) SetAppValidationConfigurations added in v1.34.0

SetAppValidationConfigurations sets the AppValidationConfigurations field's value.

func (*GetAppValidationConfigurationOutput) SetServerGroupValidationConfigurations added in v1.34.0

SetServerGroupValidationConfigurations sets the ServerGroupValidationConfigurations field's value.

func (GetAppValidationConfigurationOutput) String added in v1.34.0

String returns the string representation

type GetAppValidationOutputInput added in v1.34.0

type GetAppValidationOutputInput struct {

	// The ID of the application.
	//
	// AppId is a required field
	AppId *string `locationName:"appId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetAppValidationOutputInput) GoString added in v1.34.0

func (s GetAppValidationOutputInput) GoString() string

GoString returns the string representation

func (*GetAppValidationOutputInput) SetAppId added in v1.34.0

SetAppId sets the AppId field's value.

func (GetAppValidationOutputInput) String added in v1.34.0

String returns the string representation

func (*GetAppValidationOutputInput) Validate added in v1.34.0

func (s *GetAppValidationOutputInput) Validate() error

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

type GetAppValidationOutputOutput added in v1.34.0

type GetAppValidationOutputOutput struct {

	// The validation output.
	ValidationOutputList []*ValidationOutput `locationName:"validationOutputList" type:"list"`
	// contains filtered or unexported fields
}

func (GetAppValidationOutputOutput) GoString added in v1.34.0

func (s GetAppValidationOutputOutput) GoString() string

GoString returns the string representation

func (*GetAppValidationOutputOutput) SetValidationOutputList added in v1.34.0

SetValidationOutputList sets the ValidationOutputList field's value.

func (GetAppValidationOutputOutput) String added in v1.34.0

String returns the string representation

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
}

func (GetConnectorsInput) GoString

func (s GetConnectorsInput) GoString() string

GoString returns the string representation

func (*GetConnectorsInput) SetMaxResults added in v1.5.0

func (s *GetConnectorsInput) SetMaxResults(v int64) *GetConnectorsInput

SetMaxResults sets the MaxResults field's value.

func (*GetConnectorsInput) SetNextToken added in v1.5.0

func (s *GetConnectorsInput) SetNextToken(v string) *GetConnectorsInput

SetNextToken sets the NextToken field's value.

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
}

func (GetConnectorsOutput) GoString

func (s GetConnectorsOutput) GoString() string

GoString returns the string representation

func (*GetConnectorsOutput) SetConnectorList added in v1.5.0

func (s *GetConnectorsOutput) SetConnectorList(v []*Connector) *GetConnectorsOutput

SetConnectorList sets the ConnectorList field's value.

func (*GetConnectorsOutput) SetNextToken added in v1.5.0

func (s *GetConnectorsOutput) SetNextToken(v string) *GetConnectorsOutput

SetNextToken sets the NextToken field's value.

func (GetConnectorsOutput) String

func (s GetConnectorsOutput) String() string

String returns the string representation

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 ID of the replication job.
	ReplicationJobId *string `locationName:"replicationJobId" type:"string"`
	// contains filtered or unexported fields
}

func (GetReplicationJobsInput) GoString

func (s GetReplicationJobsInput) GoString() string

GoString returns the string representation

func (*GetReplicationJobsInput) SetMaxResults added in v1.5.0

SetMaxResults sets the MaxResults field's value.

func (*GetReplicationJobsInput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (*GetReplicationJobsInput) SetReplicationJobId added in v1.5.0

func (s *GetReplicationJobsInput) SetReplicationJobId(v string) *GetReplicationJobsInput

SetReplicationJobId sets the ReplicationJobId field's value.

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
}

func (GetReplicationJobsOutput) GoString

func (s GetReplicationJobsOutput) GoString() string

GoString returns the string representation

func (*GetReplicationJobsOutput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (*GetReplicationJobsOutput) SetReplicationJobList added in v1.5.0

func (s *GetReplicationJobsOutput) SetReplicationJobList(v []*ReplicationJob) *GetReplicationJobsOutput

SetReplicationJobList sets the ReplicationJobList field's value.

func (GetReplicationJobsOutput) String

func (s GetReplicationJobsOutput) String() string

String returns the string representation

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 ID of the replication job.
	//
	// ReplicationJobId is a required field
	ReplicationJobId *string `locationName:"replicationJobId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetReplicationRunsInput) GoString

func (s GetReplicationRunsInput) GoString() string

GoString returns the string representation

func (*GetReplicationRunsInput) SetMaxResults added in v1.5.0

SetMaxResults sets the MaxResults field's value.

func (*GetReplicationRunsInput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (*GetReplicationRunsInput) SetReplicationJobId added in v1.5.0

func (s *GetReplicationRunsInput) SetReplicationJobId(v string) *GetReplicationRunsInput

SetReplicationJobId sets the ReplicationJobId field's value.

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
}

func (GetReplicationRunsOutput) GoString

func (s GetReplicationRunsOutput) GoString() string

GoString returns the string representation

func (*GetReplicationRunsOutput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (*GetReplicationRunsOutput) SetReplicationJob added in v1.5.0

SetReplicationJob sets the ReplicationJob field's value.

func (*GetReplicationRunsOutput) SetReplicationRunList added in v1.5.0

func (s *GetReplicationRunsOutput) SetReplicationRunList(v []*ReplicationRun) *GetReplicationRunsOutput

SetReplicationRunList sets the ReplicationRunList field's value.

func (GetReplicationRunsOutput) String

func (s GetReplicationRunsOutput) String() string

String returns the string representation

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

	// The server addresses.
	VmServerAddressList []*VmServerAddress `locationName:"vmServerAddressList" type:"list"`
	// contains filtered or unexported fields
}

func (GetServersInput) GoString

func (s GetServersInput) GoString() string

GoString returns the string representation

func (*GetServersInput) SetMaxResults added in v1.5.0

func (s *GetServersInput) SetMaxResults(v int64) *GetServersInput

SetMaxResults sets the MaxResults field's value.

func (*GetServersInput) SetNextToken added in v1.5.0

func (s *GetServersInput) SetNextToken(v string) *GetServersInput

SetNextToken sets the NextToken field's value.

func (*GetServersInput) SetVmServerAddressList added in v1.15.83

func (s *GetServersInput) SetVmServerAddressList(v []*VmServerAddress) *GetServersInput

SetVmServerAddressList sets the VmServerAddressList field's value.

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

	// 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 *string `locationName:"serverCatalogStatus" type:"string" enum:"ServerCatalogStatus"`

	// Information about the servers.
	ServerList []*Server `locationName:"serverList" type:"list"`
	// contains filtered or unexported fields
}

func (GetServersOutput) GoString

func (s GetServersOutput) GoString() string

GoString returns the string representation

func (*GetServersOutput) SetLastModifiedOn added in v1.5.0

func (s *GetServersOutput) SetLastModifiedOn(v time.Time) *GetServersOutput

SetLastModifiedOn sets the LastModifiedOn field's value.

func (*GetServersOutput) SetNextToken added in v1.5.0

func (s *GetServersOutput) SetNextToken(v string) *GetServersOutput

SetNextToken sets the NextToken field's value.

func (*GetServersOutput) SetServerCatalogStatus added in v1.5.0

func (s *GetServersOutput) SetServerCatalogStatus(v string) *GetServersOutput

SetServerCatalogStatus sets the ServerCatalogStatus field's value.

func (*GetServersOutput) SetServerList added in v1.5.0

func (s *GetServersOutput) SetServerList(v []*Server) *GetServersOutput

SetServerList sets the ServerList field's value.

func (GetServersOutput) String

func (s GetServersOutput) String() string

String returns the string representation

type ImportAppCatalogInput added in v1.34.0

type ImportAppCatalogInput struct {

	// The name of the service role. If you omit this parameter, we create a service-linked
	// role for AWS Migration Hub in your account. Otherwise, the role that you
	// provide must have the policy and trust policy (https://docs.aws.amazon.com/migrationhub/latest/ug/new-customer-setup.html#sms-managed)
	// described in the AWS Migration Hub User Guide.
	RoleName *string `locationName:"roleName" type:"string"`
	// contains filtered or unexported fields
}

func (ImportAppCatalogInput) GoString added in v1.34.0

func (s ImportAppCatalogInput) GoString() string

GoString returns the string representation

func (*ImportAppCatalogInput) SetRoleName added in v1.34.0

SetRoleName sets the RoleName field's value.

func (ImportAppCatalogInput) String added in v1.34.0

func (s ImportAppCatalogInput) String() string

String returns the string representation

type ImportAppCatalogOutput added in v1.34.0

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

func (ImportAppCatalogOutput) GoString added in v1.34.0

func (s ImportAppCatalogOutput) GoString() string

GoString returns the string representation

func (ImportAppCatalogOutput) String added in v1.34.0

func (s ImportAppCatalogOutput) String() string

String returns the string representation

type ImportServerCatalogInput

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

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
}

func (ImportServerCatalogOutput) GoString

func (s ImportServerCatalogOutput) GoString() string

GoString returns the string representation

func (ImportServerCatalogOutput) String

func (s ImportServerCatalogOutput) String() string

String returns the string representation

type InternalError added in v1.28.0

type InternalError struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

An internal error occurred.

func (*InternalError) Code added in v1.28.0

func (s *InternalError) Code() string

Code returns the exception type name.

func (*InternalError) Error added in v1.28.0

func (s *InternalError) Error() string

func (InternalError) GoString added in v1.28.0

func (s InternalError) GoString() string

GoString returns the string representation

func (*InternalError) Message added in v1.28.0

func (s *InternalError) Message() string

Message returns the exception's message.

func (*InternalError) OrigErr added in v1.28.0

func (s *InternalError) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalError) RequestID added in v1.28.0

func (s *InternalError) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalError) StatusCode added in v1.28.0

func (s *InternalError) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalError) String added in v1.28.0

func (s InternalError) String() string

String returns the string representation

type InvalidParameterException added in v1.28.0

type InvalidParameterException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

A specified parameter is not valid.

func (*InvalidParameterException) Code added in v1.28.0

Code returns the exception type name.

func (*InvalidParameterException) Error added in v1.28.0

func (s *InvalidParameterException) Error() string

func (InvalidParameterException) GoString added in v1.28.0

func (s InvalidParameterException) GoString() string

GoString returns the string representation

func (*InvalidParameterException) Message added in v1.28.0

func (s *InvalidParameterException) Message() string

Message returns the exception's message.

func (*InvalidParameterException) OrigErr added in v1.28.0

func (s *InvalidParameterException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidParameterException) RequestID added in v1.28.0

func (s *InvalidParameterException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidParameterException) StatusCode added in v1.28.0

func (s *InvalidParameterException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidParameterException) String added in v1.28.0

func (s InvalidParameterException) String() string

String returns the string representation

type LaunchAppInput added in v1.15.83

type LaunchAppInput struct {

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

func (LaunchAppInput) GoString added in v1.15.83

func (s LaunchAppInput) GoString() string

GoString returns the string representation

func (*LaunchAppInput) SetAppId added in v1.15.83

func (s *LaunchAppInput) SetAppId(v string) *LaunchAppInput

SetAppId sets the AppId field's value.

func (LaunchAppInput) String added in v1.15.83

func (s LaunchAppInput) String() string

String returns the string representation

type LaunchAppOutput added in v1.15.83

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

func (LaunchAppOutput) GoString added in v1.15.83

func (s LaunchAppOutput) GoString() string

GoString returns the string representation

func (LaunchAppOutput) String added in v1.15.83

func (s LaunchAppOutput) String() string

String returns the string representation

type LaunchDetails added in v1.15.83

type LaunchDetails struct {

	// The latest time that this application was launched successfully.
	LatestLaunchTime *time.Time `locationName:"latestLaunchTime" type:"timestamp"`

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

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

func (LaunchDetails) GoString added in v1.15.83

func (s LaunchDetails) GoString() string

GoString returns the string representation

func (*LaunchDetails) SetLatestLaunchTime added in v1.15.83

func (s *LaunchDetails) SetLatestLaunchTime(v time.Time) *LaunchDetails

SetLatestLaunchTime sets the LatestLaunchTime field's value.

func (*LaunchDetails) SetStackId added in v1.15.83

func (s *LaunchDetails) SetStackId(v string) *LaunchDetails

SetStackId sets the StackId field's value.

func (*LaunchDetails) SetStackName added in v1.15.83

func (s *LaunchDetails) SetStackName(v string) *LaunchDetails

SetStackName sets the StackName field's value.

func (LaunchDetails) String added in v1.15.83

func (s LaunchDetails) String() string

String returns the string representation

type ListAppsInput added in v1.15.83

type ListAppsInput struct {

	// The unique application IDs.
	AppIds []*string `locationName:"appIds" type:"list"`

	// The maximum number of results to return in a single call. The default value
	// is 100. 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
}

func (ListAppsInput) GoString added in v1.15.83

func (s ListAppsInput) GoString() string

GoString returns the string representation

func (*ListAppsInput) SetAppIds added in v1.15.83

func (s *ListAppsInput) SetAppIds(v []*string) *ListAppsInput

SetAppIds sets the AppIds field's value.

func (*ListAppsInput) SetMaxResults added in v1.15.83

func (s *ListAppsInput) SetMaxResults(v int64) *ListAppsInput

SetMaxResults sets the MaxResults field's value.

func (*ListAppsInput) SetNextToken added in v1.15.83

func (s *ListAppsInput) SetNextToken(v string) *ListAppsInput

SetNextToken sets the NextToken field's value.

func (ListAppsInput) String added in v1.15.83

func (s ListAppsInput) String() string

String returns the string representation

type ListAppsOutput added in v1.15.83

type ListAppsOutput struct {

	// The 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
}

func (ListAppsOutput) GoString added in v1.15.83

func (s ListAppsOutput) GoString() string

GoString returns the string representation

func (*ListAppsOutput) SetApps added in v1.15.83

func (s *ListAppsOutput) SetApps(v []*AppSummary) *ListAppsOutput

SetApps sets the Apps field's value.

func (*ListAppsOutput) SetNextToken added in v1.15.83

func (s *ListAppsOutput) SetNextToken(v string) *ListAppsOutput

SetNextToken sets the NextToken field's value.

func (ListAppsOutput) String added in v1.15.83

func (s ListAppsOutput) String() string

String returns the string representation

type MissingRequiredParameterException added in v1.28.0

type MissingRequiredParameterException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

A required parameter is missing.

func (*MissingRequiredParameterException) Code added in v1.28.0

Code returns the exception type name.

func (*MissingRequiredParameterException) Error added in v1.28.0

func (MissingRequiredParameterException) GoString added in v1.28.0

GoString returns the string representation

func (*MissingRequiredParameterException) Message added in v1.28.0

Message returns the exception's message.

func (*MissingRequiredParameterException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MissingRequiredParameterException) RequestID added in v1.28.0

RequestID returns the service's response RequestID for request.

func (*MissingRequiredParameterException) StatusCode added in v1.28.0

func (s *MissingRequiredParameterException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (MissingRequiredParameterException) String added in v1.28.0

String returns the string representation

type NoConnectorsAvailableException added in v1.28.0

type NoConnectorsAvailableException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

There are no connectors available.

func (*NoConnectorsAvailableException) Code added in v1.28.0

Code returns the exception type name.

func (*NoConnectorsAvailableException) Error added in v1.28.0

func (NoConnectorsAvailableException) GoString added in v1.28.0

GoString returns the string representation

func (*NoConnectorsAvailableException) Message added in v1.28.0

Message returns the exception's message.

func (*NoConnectorsAvailableException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*NoConnectorsAvailableException) RequestID added in v1.28.0

func (s *NoConnectorsAvailableException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*NoConnectorsAvailableException) StatusCode added in v1.28.0

func (s *NoConnectorsAvailableException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (NoConnectorsAvailableException) String added in v1.28.0

String returns the string representation

type NotificationContext added in v1.34.0

type NotificationContext struct {

	// The status of the validation.
	Status *string `locationName:"status" type:"string" enum:"ValidationStatus"`

	// The status message.
	StatusMessage *string `locationName:"statusMessage" type:"string"`

	// The ID of the validation.
	ValidationId *string `locationName:"validationId" type:"string"`
	// contains filtered or unexported fields
}

Contains the status of validating an application.

func (NotificationContext) GoString added in v1.34.0

func (s NotificationContext) GoString() string

GoString returns the string representation

func (*NotificationContext) SetStatus added in v1.34.0

SetStatus sets the Status field's value.

func (*NotificationContext) SetStatusMessage added in v1.34.0

func (s *NotificationContext) SetStatusMessage(v string) *NotificationContext

SetStatusMessage sets the StatusMessage field's value.

func (*NotificationContext) SetValidationId added in v1.34.0

func (s *NotificationContext) SetValidationId(v string) *NotificationContext

SetValidationId sets the ValidationId field's value.

func (NotificationContext) String added in v1.34.0

func (s NotificationContext) String() string

String returns the string representation

type NotifyAppValidationOutputInput added in v1.34.0

type NotifyAppValidationOutputInput struct {

	// The ID of the application.
	//
	// AppId is a required field
	AppId *string `locationName:"appId" type:"string" required:"true"`

	// The notification information.
	NotificationContext *NotificationContext `locationName:"notificationContext" type:"structure"`
	// contains filtered or unexported fields
}

func (NotifyAppValidationOutputInput) GoString added in v1.34.0

GoString returns the string representation

func (*NotifyAppValidationOutputInput) SetAppId added in v1.34.0

SetAppId sets the AppId field's value.

func (*NotifyAppValidationOutputInput) SetNotificationContext added in v1.34.0

SetNotificationContext sets the NotificationContext field's value.

func (NotifyAppValidationOutputInput) String added in v1.34.0

String returns the string representation

func (*NotifyAppValidationOutputInput) Validate added in v1.34.0

func (s *NotifyAppValidationOutputInput) Validate() error

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

type NotifyAppValidationOutputOutput added in v1.34.0

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

func (NotifyAppValidationOutputOutput) GoString added in v1.34.0

GoString returns the string representation

func (NotifyAppValidationOutputOutput) String added in v1.34.0

String returns the string representation

type OperationNotPermittedException added in v1.28.0

type OperationNotPermittedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

This operation is not allowed.

func (*OperationNotPermittedException) Code added in v1.28.0

Code returns the exception type name.

func (*OperationNotPermittedException) Error added in v1.28.0

func (OperationNotPermittedException) GoString added in v1.28.0

GoString returns the string representation

func (*OperationNotPermittedException) Message added in v1.28.0

Message returns the exception's message.

func (*OperationNotPermittedException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*OperationNotPermittedException) RequestID added in v1.28.0

func (s *OperationNotPermittedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*OperationNotPermittedException) StatusCode added in v1.28.0

func (s *OperationNotPermittedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (OperationNotPermittedException) String added in v1.28.0

String returns the string representation

type PutAppLaunchConfigurationInput added in v1.15.83

type PutAppLaunchConfigurationInput struct {

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

	// Indicates whether the application is configured to launch automatically after
	// replication is complete.
	AutoLaunch *bool `locationName:"autoLaunch" type:"boolean"`

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

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

func (PutAppLaunchConfigurationInput) GoString added in v1.15.83

GoString returns the string representation

func (*PutAppLaunchConfigurationInput) SetAppId added in v1.15.83

SetAppId sets the AppId field's value.

func (*PutAppLaunchConfigurationInput) SetAutoLaunch added in v1.34.0

SetAutoLaunch sets the AutoLaunch field's value.

func (*PutAppLaunchConfigurationInput) SetRoleName added in v1.15.83

SetRoleName sets the RoleName field's value.

func (*PutAppLaunchConfigurationInput) SetServerGroupLaunchConfigurations added in v1.15.83

SetServerGroupLaunchConfigurations sets the ServerGroupLaunchConfigurations field's value.

func (PutAppLaunchConfigurationInput) String added in v1.15.83

String returns the string representation

func (*PutAppLaunchConfigurationInput) Validate added in v1.34.0

func (s *PutAppLaunchConfigurationInput) Validate() error

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

type PutAppLaunchConfigurationOutput added in v1.15.83

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

func (PutAppLaunchConfigurationOutput) GoString added in v1.15.83

GoString returns the string representation

func (PutAppLaunchConfigurationOutput) String added in v1.15.83

String returns the string representation

type PutAppReplicationConfigurationInput added in v1.15.83

type PutAppReplicationConfigurationInput struct {

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

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

func (PutAppReplicationConfigurationInput) GoString added in v1.15.83

GoString returns the string representation

func (*PutAppReplicationConfigurationInput) SetAppId added in v1.15.83

SetAppId sets the AppId field's value.

func (*PutAppReplicationConfigurationInput) SetServerGroupReplicationConfigurations added in v1.15.83

SetServerGroupReplicationConfigurations sets the ServerGroupReplicationConfigurations field's value.

func (PutAppReplicationConfigurationInput) String added in v1.15.83

String returns the string representation

type PutAppReplicationConfigurationOutput added in v1.15.83

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

func (PutAppReplicationConfigurationOutput) GoString added in v1.15.83

GoString returns the string representation

func (PutAppReplicationConfigurationOutput) String added in v1.15.83

String returns the string representation

type PutAppValidationConfigurationInput added in v1.34.0

type PutAppValidationConfigurationInput struct {

	// The ID of the application.
	//
	// AppId is a required field
	AppId *string `locationName:"appId" type:"string" required:"true"`

	// The configuration for application validation.
	AppValidationConfigurations []*AppValidationConfiguration `locationName:"appValidationConfigurations" type:"list"`

	// The configuration for instance validation.
	ServerGroupValidationConfigurations []*ServerGroupValidationConfiguration `locationName:"serverGroupValidationConfigurations" type:"list"`
	// contains filtered or unexported fields
}

func (PutAppValidationConfigurationInput) GoString added in v1.34.0

GoString returns the string representation

func (*PutAppValidationConfigurationInput) SetAppId added in v1.34.0

SetAppId sets the AppId field's value.

func (*PutAppValidationConfigurationInput) SetAppValidationConfigurations added in v1.34.0

SetAppValidationConfigurations sets the AppValidationConfigurations field's value.

func (*PutAppValidationConfigurationInput) SetServerGroupValidationConfigurations added in v1.34.0

SetServerGroupValidationConfigurations sets the ServerGroupValidationConfigurations field's value.

func (PutAppValidationConfigurationInput) String added in v1.34.0

String returns the string representation

func (*PutAppValidationConfigurationInput) Validate added in v1.34.0

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

type PutAppValidationConfigurationOutput added in v1.34.0

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

func (PutAppValidationConfigurationOutput) GoString added in v1.34.0

GoString returns the string representation

func (PutAppValidationConfigurationOutput) String added in v1.34.0

String returns the string representation

type ReplicationJob

type ReplicationJob struct {

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

	// Indicates whether the replication job should produce encrypted AMIs.
	Encrypted *bool `locationName:"encrypted" type:"boolean"`

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

	// The ID of the KMS key for replication jobs that produce encrypted AMIs. This
	// value can be any of the following:
	//
	//    * KMS key ID
	//
	//    * KMS key alias
	//
	//    * ARN referring to the KMS key ID
	//
	//    * ARN referring to the KMS key alias
	//
	// If encrypted is enabled but a KMS key ID is not specified, the customer's
	// default KMS key for Amazon 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 *string `locationName:"licenseType" type:"string" enum:"LicenseType"`

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

	// The 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 ID 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 AWS SMS.
	RoleName *string `locationName:"roleName" type:"string"`

	// Indicates whether to run the replication job one time.
	RunOnce *bool `locationName:"runOnce" type:"boolean"`

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

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

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

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

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

func (ReplicationJob) GoString

func (s ReplicationJob) GoString() string

GoString returns the string representation

func (*ReplicationJob) SetDescription added in v1.5.0

func (s *ReplicationJob) SetDescription(v string) *ReplicationJob

SetDescription sets the Description field's value.

func (*ReplicationJob) SetEncrypted added in v1.15.83

func (s *ReplicationJob) SetEncrypted(v bool) *ReplicationJob

SetEncrypted sets the Encrypted field's value.

func (*ReplicationJob) SetFrequency added in v1.5.0

func (s *ReplicationJob) SetFrequency(v int64) *ReplicationJob

SetFrequency sets the Frequency field's value.

func (*ReplicationJob) SetKmsKeyId added in v1.15.83

func (s *ReplicationJob) SetKmsKeyId(v string) *ReplicationJob

SetKmsKeyId sets the KmsKeyId field's value.

func (*ReplicationJob) SetLatestAmiId added in v1.5.0

func (s *ReplicationJob) SetLatestAmiId(v string) *ReplicationJob

SetLatestAmiId sets the LatestAmiId field's value.

func (*ReplicationJob) SetLicenseType added in v1.5.0

func (s *ReplicationJob) SetLicenseType(v string) *ReplicationJob

SetLicenseType sets the LicenseType field's value.

func (*ReplicationJob) SetNextReplicationRunStartTime added in v1.5.0

func (s *ReplicationJob) SetNextReplicationRunStartTime(v time.Time) *ReplicationJob

SetNextReplicationRunStartTime sets the NextReplicationRunStartTime field's value.

func (*ReplicationJob) SetNumberOfRecentAmisToKeep added in v1.15.83

func (s *ReplicationJob) SetNumberOfRecentAmisToKeep(v int64) *ReplicationJob

SetNumberOfRecentAmisToKeep sets the NumberOfRecentAmisToKeep field's value.

func (*ReplicationJob) SetReplicationJobId added in v1.5.0

func (s *ReplicationJob) SetReplicationJobId(v string) *ReplicationJob

SetReplicationJobId sets the ReplicationJobId field's value.

func (*ReplicationJob) SetReplicationRunList added in v1.5.0

func (s *ReplicationJob) SetReplicationRunList(v []*ReplicationRun) *ReplicationJob

SetReplicationRunList sets the ReplicationRunList field's value.

func (*ReplicationJob) SetRoleName added in v1.5.0

func (s *ReplicationJob) SetRoleName(v string) *ReplicationJob

SetRoleName sets the RoleName field's value.

func (*ReplicationJob) SetRunOnce added in v1.15.83

func (s *ReplicationJob) SetRunOnce(v bool) *ReplicationJob

SetRunOnce sets the RunOnce field's value.

func (*ReplicationJob) SetSeedReplicationTime added in v1.5.0

func (s *ReplicationJob) SetSeedReplicationTime(v time.Time) *ReplicationJob

SetSeedReplicationTime sets the SeedReplicationTime field's value.

func (*ReplicationJob) SetServerId added in v1.5.0

func (s *ReplicationJob) SetServerId(v string) *ReplicationJob

SetServerId sets the ServerId field's value.

func (*ReplicationJob) SetServerType added in v1.5.0

func (s *ReplicationJob) SetServerType(v string) *ReplicationJob

SetServerType sets the ServerType field's value.

func (*ReplicationJob) SetState added in v1.5.0

func (s *ReplicationJob) SetState(v string) *ReplicationJob

SetState sets the State field's value.

func (*ReplicationJob) SetStatusMessage added in v1.5.0

func (s *ReplicationJob) SetStatusMessage(v string) *ReplicationJob

SetStatusMessage sets the StatusMessage field's value.

func (*ReplicationJob) SetVmServer added in v1.5.0

func (s *ReplicationJob) SetVmServer(v *VmServer) *ReplicationJob

SetVmServer sets the VmServer field's value.

func (ReplicationJob) String

func (s ReplicationJob) String() string

String returns the string representation

type ReplicationJobAlreadyExistsException added in v1.28.0

type ReplicationJobAlreadyExistsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified replication job already exists.

func (*ReplicationJobAlreadyExistsException) Code added in v1.28.0

Code returns the exception type name.

func (*ReplicationJobAlreadyExistsException) Error added in v1.28.0

func (ReplicationJobAlreadyExistsException) GoString added in v1.28.0

GoString returns the string representation

func (*ReplicationJobAlreadyExistsException) Message added in v1.28.0

Message returns the exception's message.

func (*ReplicationJobAlreadyExistsException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ReplicationJobAlreadyExistsException) RequestID added in v1.28.0

RequestID returns the service's response RequestID for request.

func (*ReplicationJobAlreadyExistsException) StatusCode added in v1.28.0

func (s *ReplicationJobAlreadyExistsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ReplicationJobAlreadyExistsException) String added in v1.28.0

String returns the string representation

type ReplicationJobNotFoundException added in v1.28.0

type ReplicationJobNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified replication job does not exist.

func (*ReplicationJobNotFoundException) Code added in v1.28.0

Code returns the exception type name.

func (*ReplicationJobNotFoundException) Error added in v1.28.0

func (ReplicationJobNotFoundException) GoString added in v1.28.0

GoString returns the string representation

func (*ReplicationJobNotFoundException) Message added in v1.28.0

Message returns the exception's message.

func (*ReplicationJobNotFoundException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ReplicationJobNotFoundException) RequestID added in v1.28.0

func (s *ReplicationJobNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ReplicationJobNotFoundException) StatusCode added in v1.28.0

func (s *ReplicationJobNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ReplicationJobNotFoundException) String added in v1.28.0

String returns the string representation

type ReplicationRun

type ReplicationRun struct {

	// The ID 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"`

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

	// Indicates whether the replication run should produce an encrypted AMI.
	Encrypted *bool `locationName:"encrypted" type:"boolean"`

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

	// The ID 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"`

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

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

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

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

Represents a replication run.

func (ReplicationRun) GoString

func (s ReplicationRun) GoString() string

GoString returns the string representation

func (*ReplicationRun) SetAmiId added in v1.5.0

func (s *ReplicationRun) SetAmiId(v string) *ReplicationRun

SetAmiId sets the AmiId field's value.

func (*ReplicationRun) SetCompletedTime added in v1.5.0

func (s *ReplicationRun) SetCompletedTime(v time.Time) *ReplicationRun

SetCompletedTime sets the CompletedTime field's value.

func (*ReplicationRun) SetDescription added in v1.5.0

func (s *ReplicationRun) SetDescription(v string) *ReplicationRun

SetDescription sets the Description field's value.

func (*ReplicationRun) SetEncrypted added in v1.15.83

func (s *ReplicationRun) SetEncrypted(v bool) *ReplicationRun

SetEncrypted sets the Encrypted field's value.

func (*ReplicationRun) SetKmsKeyId added in v1.15.83

func (s *ReplicationRun) SetKmsKeyId(v string) *ReplicationRun

SetKmsKeyId sets the KmsKeyId field's value.

func (*ReplicationRun) SetReplicationRunId added in v1.5.0

func (s *ReplicationRun) SetReplicationRunId(v string) *ReplicationRun

SetReplicationRunId sets the ReplicationRunId field's value.

func (*ReplicationRun) SetScheduledStartTime added in v1.5.0

func (s *ReplicationRun) SetScheduledStartTime(v time.Time) *ReplicationRun

SetScheduledStartTime sets the ScheduledStartTime field's value.

func (*ReplicationRun) SetStageDetails added in v1.15.83

SetStageDetails sets the StageDetails field's value.

func (*ReplicationRun) SetState added in v1.5.0

func (s *ReplicationRun) SetState(v string) *ReplicationRun

SetState sets the State field's value.

func (*ReplicationRun) SetStatusMessage added in v1.5.0

func (s *ReplicationRun) SetStatusMessage(v string) *ReplicationRun

SetStatusMessage sets the StatusMessage field's value.

func (*ReplicationRun) SetType added in v1.5.0

func (s *ReplicationRun) SetType(v string) *ReplicationRun

SetType sets the Type field's value.

func (ReplicationRun) String

func (s ReplicationRun) String() string

String returns the string representation

type ReplicationRunLimitExceededException added in v1.28.0

type ReplicationRunLimitExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

You have exceeded the number of on-demand replication runs you can request in a 24-hour period.

func (*ReplicationRunLimitExceededException) Code added in v1.28.0

Code returns the exception type name.

func (*ReplicationRunLimitExceededException) Error added in v1.28.0

func (ReplicationRunLimitExceededException) GoString added in v1.28.0

GoString returns the string representation

func (*ReplicationRunLimitExceededException) Message added in v1.28.0

Message returns the exception's message.

func (*ReplicationRunLimitExceededException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ReplicationRunLimitExceededException) RequestID added in v1.28.0

RequestID returns the service's response RequestID for request.

func (*ReplicationRunLimitExceededException) StatusCode added in v1.28.0

func (s *ReplicationRunLimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ReplicationRunLimitExceededException) String added in v1.28.0

String returns the string representation

type ReplicationRunStageDetails added in v1.15.83

type ReplicationRunStageDetails struct {

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

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

func (ReplicationRunStageDetails) GoString added in v1.15.83

func (s ReplicationRunStageDetails) GoString() string

GoString returns the string representation

func (*ReplicationRunStageDetails) SetStage added in v1.15.83

SetStage sets the Stage field's value.

func (*ReplicationRunStageDetails) SetStageProgress added in v1.15.83

SetStageProgress sets the StageProgress field's value.

func (ReplicationRunStageDetails) String added in v1.15.83

String returns the string representation

type S3Location added in v1.15.83

type S3Location struct {

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

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

Location of an Amazon S3 object.

func (S3Location) GoString added in v1.15.83

func (s S3Location) GoString() string

GoString returns the string representation

func (*S3Location) SetBucket added in v1.15.83

func (s *S3Location) SetBucket(v string) *S3Location

SetBucket sets the Bucket field's value.

func (*S3Location) SetKey added in v1.15.83

func (s *S3Location) SetKey(v string) *S3Location

SetKey sets the Key field's value.

func (S3Location) String added in v1.15.83

func (s S3Location) String() string

String returns the string representation

func (*S3Location) Validate added in v1.34.0

func (s *S3Location) Validate() error

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

type SMS

type SMS struct {
	*client.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(p client.ConfigProvider, cfgs ...*aws.Config) *SMS

New creates a new instance of the SMS client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a SMS client from just a session.
svc := sms.New(mySession)

// Create a SMS client with additional configuration
svc := sms.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*SMS) CreateApp added in v1.15.83

func (c *SMS) CreateApp(input *CreateAppInput) (*CreateAppOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation CreateApp for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

  • OperationNotPermittedException This operation is not allowed.

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/CreateApp

func (*SMS) CreateAppRequest added in v1.15.83

func (c *SMS) CreateAppRequest(input *CreateAppInput) (req *request.Request, output *CreateAppOutput)

CreateAppRequest generates a "aws/request.Request" representing the client's request for the CreateApp operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateApp for more information on using the CreateApp API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateAppRequest method.
req, resp := client.CreateAppRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/CreateApp

func (*SMS) CreateAppWithContext added in v1.15.83

func (c *SMS) CreateAppWithContext(ctx aws.Context, input *CreateAppInput, opts ...request.Option) (*CreateAppOutput, error)

CreateAppWithContext is the same as CreateApp with the addition of the ability to pass a context and additional request options.

See CreateApp for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) CreateReplicationJob

func (c *SMS) CreateReplicationJob(input *CreateReplicationJobInput) (*CreateReplicationJobOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation CreateReplicationJob for usage and error information.

Returned Error Types:

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • OperationNotPermittedException This operation is not allowed.

  • ServerCannotBeReplicatedException The specified server cannot be replicated.

  • ReplicationJobAlreadyExistsException The specified replication job already exists.

  • NoConnectorsAvailableException There are no connectors available.

  • InternalError An internal error occurred.

  • TemporarilyUnavailableException The service is temporarily unavailable.

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

func (*SMS) CreateReplicationJobRequest

func (c *SMS) CreateReplicationJobRequest(input *CreateReplicationJobInput) (req *request.Request, output *CreateReplicationJobOutput)

CreateReplicationJobRequest generates a "aws/request.Request" representing the client's request for the CreateReplicationJob operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateReplicationJob for more information on using the CreateReplicationJob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateReplicationJobRequest method.
req, resp := client.CreateReplicationJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*SMS) CreateReplicationJobWithContext added in v1.8.0

func (c *SMS) CreateReplicationJobWithContext(ctx aws.Context, input *CreateReplicationJobInput, opts ...request.Option) (*CreateReplicationJobOutput, error)

CreateReplicationJobWithContext is the same as CreateReplicationJob with the addition of the ability to pass a context and additional request options.

See CreateReplicationJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) DeleteApp added in v1.15.83

func (c *SMS) DeleteApp(input *DeleteAppInput) (*DeleteAppOutput, error)

DeleteApp API operation for AWS Server Migration Service.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation DeleteApp for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

  • OperationNotPermittedException This operation is not allowed.

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteApp

func (*SMS) DeleteAppLaunchConfiguration added in v1.15.83

func (c *SMS) DeleteAppLaunchConfiguration(input *DeleteAppLaunchConfigurationInput) (*DeleteAppLaunchConfigurationOutput, error)

DeleteAppLaunchConfiguration API operation for AWS Server Migration Service.

Deletes the launch configuration for the specified application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation DeleteAppLaunchConfiguration for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

  • OperationNotPermittedException This operation is not allowed.

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteAppLaunchConfiguration

func (*SMS) DeleteAppLaunchConfigurationRequest added in v1.15.83

func (c *SMS) DeleteAppLaunchConfigurationRequest(input *DeleteAppLaunchConfigurationInput) (req *request.Request, output *DeleteAppLaunchConfigurationOutput)

DeleteAppLaunchConfigurationRequest generates a "aws/request.Request" representing the client's request for the DeleteAppLaunchConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteAppLaunchConfiguration for more information on using the DeleteAppLaunchConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteAppLaunchConfigurationRequest method.
req, resp := client.DeleteAppLaunchConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteAppLaunchConfiguration

func (*SMS) DeleteAppLaunchConfigurationWithContext added in v1.15.83

func (c *SMS) DeleteAppLaunchConfigurationWithContext(ctx aws.Context, input *DeleteAppLaunchConfigurationInput, opts ...request.Option) (*DeleteAppLaunchConfigurationOutput, error)

DeleteAppLaunchConfigurationWithContext is the same as DeleteAppLaunchConfiguration with the addition of the ability to pass a context and additional request options.

See DeleteAppLaunchConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) DeleteAppReplicationConfiguration added in v1.15.83

func (c *SMS) DeleteAppReplicationConfiguration(input *DeleteAppReplicationConfigurationInput) (*DeleteAppReplicationConfigurationOutput, error)

DeleteAppReplicationConfiguration API operation for AWS Server Migration Service.

Deletes the replication configuration for the specified application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation DeleteAppReplicationConfiguration for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

  • OperationNotPermittedException This operation is not allowed.

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteAppReplicationConfiguration

func (*SMS) DeleteAppReplicationConfigurationRequest added in v1.15.83

func (c *SMS) DeleteAppReplicationConfigurationRequest(input *DeleteAppReplicationConfigurationInput) (req *request.Request, output *DeleteAppReplicationConfigurationOutput)

DeleteAppReplicationConfigurationRequest generates a "aws/request.Request" representing the client's request for the DeleteAppReplicationConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteAppReplicationConfiguration for more information on using the DeleteAppReplicationConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteAppReplicationConfigurationRequest method.
req, resp := client.DeleteAppReplicationConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteAppReplicationConfiguration

func (*SMS) DeleteAppReplicationConfigurationWithContext added in v1.15.83

func (c *SMS) DeleteAppReplicationConfigurationWithContext(ctx aws.Context, input *DeleteAppReplicationConfigurationInput, opts ...request.Option) (*DeleteAppReplicationConfigurationOutput, error)

DeleteAppReplicationConfigurationWithContext is the same as DeleteAppReplicationConfiguration with the addition of the ability to pass a context and additional request options.

See DeleteAppReplicationConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) DeleteAppRequest added in v1.15.83

func (c *SMS) DeleteAppRequest(input *DeleteAppInput) (req *request.Request, output *DeleteAppOutput)

DeleteAppRequest generates a "aws/request.Request" representing the client's request for the DeleteApp operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteApp for more information on using the DeleteApp API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteAppRequest method.
req, resp := client.DeleteAppRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteApp

func (*SMS) DeleteAppValidationConfiguration added in v1.34.0

func (c *SMS) DeleteAppValidationConfiguration(input *DeleteAppValidationConfigurationInput) (*DeleteAppValidationConfigurationOutput, error)

DeleteAppValidationConfiguration API operation for AWS Server Migration Service.

Deletes the validation configuration for the specified application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation DeleteAppValidationConfiguration for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

  • OperationNotPermittedException This operation is not allowed.

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteAppValidationConfiguration

func (*SMS) DeleteAppValidationConfigurationRequest added in v1.34.0

func (c *SMS) DeleteAppValidationConfigurationRequest(input *DeleteAppValidationConfigurationInput) (req *request.Request, output *DeleteAppValidationConfigurationOutput)

DeleteAppValidationConfigurationRequest generates a "aws/request.Request" representing the client's request for the DeleteAppValidationConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteAppValidationConfiguration for more information on using the DeleteAppValidationConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteAppValidationConfigurationRequest method.
req, resp := client.DeleteAppValidationConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteAppValidationConfiguration

func (*SMS) DeleteAppValidationConfigurationWithContext added in v1.34.0

func (c *SMS) DeleteAppValidationConfigurationWithContext(ctx aws.Context, input *DeleteAppValidationConfigurationInput, opts ...request.Option) (*DeleteAppValidationConfigurationOutput, error)

DeleteAppValidationConfigurationWithContext is the same as DeleteAppValidationConfiguration with the addition of the ability to pass a context and additional request options.

See DeleteAppValidationConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) DeleteAppWithContext added in v1.15.83

func (c *SMS) DeleteAppWithContext(ctx aws.Context, input *DeleteAppInput, opts ...request.Option) (*DeleteAppOutput, error)

DeleteAppWithContext is the same as DeleteApp with the addition of the ability to pass a context and additional request options.

See DeleteApp for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) DeleteReplicationJob

func (c *SMS) DeleteReplicationJob(input *DeleteReplicationJobInput) (*DeleteReplicationJobOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation DeleteReplicationJob for usage and error information.

Returned Error Types:

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • OperationNotPermittedException This operation is not allowed.

  • ReplicationJobNotFoundException The specified replication job does not exist.

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

func (*SMS) DeleteReplicationJobRequest

func (c *SMS) DeleteReplicationJobRequest(input *DeleteReplicationJobInput) (req *request.Request, output *DeleteReplicationJobOutput)

DeleteReplicationJobRequest generates a "aws/request.Request" representing the client's request for the DeleteReplicationJob operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteReplicationJob for more information on using the DeleteReplicationJob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteReplicationJobRequest method.
req, resp := client.DeleteReplicationJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*SMS) DeleteReplicationJobWithContext added in v1.8.0

func (c *SMS) DeleteReplicationJobWithContext(ctx aws.Context, input *DeleteReplicationJobInput, opts ...request.Option) (*DeleteReplicationJobOutput, error)

DeleteReplicationJobWithContext is the same as DeleteReplicationJob with the addition of the ability to pass a context and additional request options.

See DeleteReplicationJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) DeleteServerCatalog

func (c *SMS) DeleteServerCatalog(input *DeleteServerCatalogInput) (*DeleteServerCatalogOutput, error)

DeleteServerCatalog API operation for AWS Server Migration Service.

Deletes all servers from your server catalog.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation DeleteServerCatalog for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • OperationNotPermittedException This operation is not allowed.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

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

func (*SMS) DeleteServerCatalogRequest

func (c *SMS) DeleteServerCatalogRequest(input *DeleteServerCatalogInput) (req *request.Request, output *DeleteServerCatalogOutput)

DeleteServerCatalogRequest generates a "aws/request.Request" representing the client's request for the DeleteServerCatalog operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteServerCatalog for more information on using the DeleteServerCatalog API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteServerCatalogRequest method.
req, resp := client.DeleteServerCatalogRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*SMS) DeleteServerCatalogWithContext added in v1.8.0

func (c *SMS) DeleteServerCatalogWithContext(ctx aws.Context, input *DeleteServerCatalogInput, opts ...request.Option) (*DeleteServerCatalogOutput, error)

DeleteServerCatalogWithContext is the same as DeleteServerCatalog with the addition of the ability to pass a context and additional request options.

See DeleteServerCatalog for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) DisassociateConnector

func (c *SMS) DisassociateConnector(input *DisassociateConnectorInput) (*DisassociateConnectorOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation DisassociateConnector for usage and error information.

Returned Error Types:

  • MissingRequiredParameterException A required parameter is missing.

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • OperationNotPermittedException This operation is not allowed.

  • InvalidParameterException A specified parameter is not valid.

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

func (*SMS) DisassociateConnectorRequest

func (c *SMS) DisassociateConnectorRequest(input *DisassociateConnectorInput) (req *request.Request, output *DisassociateConnectorOutput)

DisassociateConnectorRequest generates a "aws/request.Request" representing the client's request for the DisassociateConnector operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateConnector for more information on using the DisassociateConnector API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateConnectorRequest method.
req, resp := client.DisassociateConnectorRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*SMS) DisassociateConnectorWithContext added in v1.8.0

func (c *SMS) DisassociateConnectorWithContext(ctx aws.Context, input *DisassociateConnectorInput, opts ...request.Option) (*DisassociateConnectorOutput, error)

DisassociateConnectorWithContext is the same as DisassociateConnector with the addition of the ability to pass a context and additional request options.

See DisassociateConnector for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) GenerateChangeSet added in v1.15.83

func (c *SMS) GenerateChangeSet(input *GenerateChangeSetInput) (*GenerateChangeSetOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation GenerateChangeSet for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

  • OperationNotPermittedException This operation is not allowed.

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GenerateChangeSet

func (*SMS) GenerateChangeSetRequest added in v1.15.83

func (c *SMS) GenerateChangeSetRequest(input *GenerateChangeSetInput) (req *request.Request, output *GenerateChangeSetOutput)

GenerateChangeSetRequest generates a "aws/request.Request" representing the client's request for the GenerateChangeSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GenerateChangeSet for more information on using the GenerateChangeSet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GenerateChangeSetRequest method.
req, resp := client.GenerateChangeSetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GenerateChangeSet

func (*SMS) GenerateChangeSetWithContext added in v1.15.83

func (c *SMS) GenerateChangeSetWithContext(ctx aws.Context, input *GenerateChangeSetInput, opts ...request.Option) (*GenerateChangeSetOutput, error)

GenerateChangeSetWithContext is the same as GenerateChangeSet with the addition of the ability to pass a context and additional request options.

See GenerateChangeSet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) GenerateTemplate added in v1.15.83

func (c *SMS) GenerateTemplate(input *GenerateTemplateInput) (*GenerateTemplateOutput, error)

GenerateTemplate API operation for AWS Server Migration Service.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation GenerateTemplate for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

  • OperationNotPermittedException This operation is not allowed.

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GenerateTemplate

func (*SMS) GenerateTemplateRequest added in v1.15.83

func (c *SMS) GenerateTemplateRequest(input *GenerateTemplateInput) (req *request.Request, output *GenerateTemplateOutput)

GenerateTemplateRequest generates a "aws/request.Request" representing the client's request for the GenerateTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GenerateTemplate for more information on using the GenerateTemplate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GenerateTemplateRequest method.
req, resp := client.GenerateTemplateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GenerateTemplate

func (*SMS) GenerateTemplateWithContext added in v1.15.83

func (c *SMS) GenerateTemplateWithContext(ctx aws.Context, input *GenerateTemplateInput, opts ...request.Option) (*GenerateTemplateOutput, error)

GenerateTemplateWithContext is the same as GenerateTemplate with the addition of the ability to pass a context and additional request options.

See GenerateTemplate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) GetApp added in v1.15.83

func (c *SMS) GetApp(input *GetAppInput) (*GetAppOutput, error)

GetApp API operation for AWS Server Migration Service.

Retrieve information about the specified application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation GetApp for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

  • OperationNotPermittedException This operation is not allowed.

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetApp

func (*SMS) GetAppLaunchConfiguration added in v1.15.83

func (c *SMS) GetAppLaunchConfiguration(input *GetAppLaunchConfigurationInput) (*GetAppLaunchConfigurationOutput, error)

GetAppLaunchConfiguration API operation for AWS Server Migration Service.

Retrieves the application launch configuration associated with the specified application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation GetAppLaunchConfiguration for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

  • OperationNotPermittedException This operation is not allowed.

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppLaunchConfiguration

func (*SMS) GetAppLaunchConfigurationRequest added in v1.15.83

func (c *SMS) GetAppLaunchConfigurationRequest(input *GetAppLaunchConfigurationInput) (req *request.Request, output *GetAppLaunchConfigurationOutput)

GetAppLaunchConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetAppLaunchConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAppLaunchConfiguration for more information on using the GetAppLaunchConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAppLaunchConfigurationRequest method.
req, resp := client.GetAppLaunchConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppLaunchConfiguration

func (*SMS) GetAppLaunchConfigurationWithContext added in v1.15.83

func (c *SMS) GetAppLaunchConfigurationWithContext(ctx aws.Context, input *GetAppLaunchConfigurationInput, opts ...request.Option) (*GetAppLaunchConfigurationOutput, error)

GetAppLaunchConfigurationWithContext is the same as GetAppLaunchConfiguration with the addition of the ability to pass a context and additional request options.

See GetAppLaunchConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) GetAppReplicationConfiguration added in v1.15.83

func (c *SMS) GetAppReplicationConfiguration(input *GetAppReplicationConfigurationInput) (*GetAppReplicationConfigurationOutput, error)

GetAppReplicationConfiguration API operation for AWS Server Migration Service.

Retrieves the application replication configuration associated with the specified application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation GetAppReplicationConfiguration for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

  • OperationNotPermittedException This operation is not allowed.

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppReplicationConfiguration

func (*SMS) GetAppReplicationConfigurationRequest added in v1.15.83

func (c *SMS) GetAppReplicationConfigurationRequest(input *GetAppReplicationConfigurationInput) (req *request.Request, output *GetAppReplicationConfigurationOutput)

GetAppReplicationConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetAppReplicationConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAppReplicationConfiguration for more information on using the GetAppReplicationConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAppReplicationConfigurationRequest method.
req, resp := client.GetAppReplicationConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppReplicationConfiguration

func (*SMS) GetAppReplicationConfigurationWithContext added in v1.15.83

func (c *SMS) GetAppReplicationConfigurationWithContext(ctx aws.Context, input *GetAppReplicationConfigurationInput, opts ...request.Option) (*GetAppReplicationConfigurationOutput, error)

GetAppReplicationConfigurationWithContext is the same as GetAppReplicationConfiguration with the addition of the ability to pass a context and additional request options.

See GetAppReplicationConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) GetAppRequest added in v1.15.83

func (c *SMS) GetAppRequest(input *GetAppInput) (req *request.Request, output *GetAppOutput)

GetAppRequest generates a "aws/request.Request" representing the client's request for the GetApp operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetApp for more information on using the GetApp API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAppRequest method.
req, resp := client.GetAppRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetApp

func (*SMS) GetAppValidationConfiguration added in v1.34.0

func (c *SMS) GetAppValidationConfiguration(input *GetAppValidationConfigurationInput) (*GetAppValidationConfigurationOutput, error)

GetAppValidationConfiguration API operation for AWS Server Migration Service.

Retrieves information about a configuration for validating an application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation GetAppValidationConfiguration for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

  • OperationNotPermittedException This operation is not allowed.

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppValidationConfiguration

func (*SMS) GetAppValidationConfigurationRequest added in v1.34.0

func (c *SMS) GetAppValidationConfigurationRequest(input *GetAppValidationConfigurationInput) (req *request.Request, output *GetAppValidationConfigurationOutput)

GetAppValidationConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetAppValidationConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAppValidationConfiguration for more information on using the GetAppValidationConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAppValidationConfigurationRequest method.
req, resp := client.GetAppValidationConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppValidationConfiguration

func (*SMS) GetAppValidationConfigurationWithContext added in v1.34.0

func (c *SMS) GetAppValidationConfigurationWithContext(ctx aws.Context, input *GetAppValidationConfigurationInput, opts ...request.Option) (*GetAppValidationConfigurationOutput, error)

GetAppValidationConfigurationWithContext is the same as GetAppValidationConfiguration with the addition of the ability to pass a context and additional request options.

See GetAppValidationConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) GetAppValidationOutput added in v1.34.0

func (c *SMS) GetAppValidationOutput(input *GetAppValidationOutputInput) (*GetAppValidationOutputOutput, error)

GetAppValidationOutput API operation for AWS Server Migration Service.

Retrieves output from validating an application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation GetAppValidationOutput for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

  • OperationNotPermittedException This operation is not allowed.

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppValidationOutput

func (*SMS) GetAppValidationOutputRequest added in v1.34.0

func (c *SMS) GetAppValidationOutputRequest(input *GetAppValidationOutputInput) (req *request.Request, output *GetAppValidationOutputOutput)

GetAppValidationOutputRequest generates a "aws/request.Request" representing the client's request for the GetAppValidationOutput operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAppValidationOutput for more information on using the GetAppValidationOutput API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAppValidationOutputRequest method.
req, resp := client.GetAppValidationOutputRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppValidationOutput

func (*SMS) GetAppValidationOutputWithContext added in v1.34.0

func (c *SMS) GetAppValidationOutputWithContext(ctx aws.Context, input *GetAppValidationOutputInput, opts ...request.Option) (*GetAppValidationOutputOutput, error)

GetAppValidationOutputWithContext is the same as GetAppValidationOutput with the addition of the ability to pass a context and additional request options.

See GetAppValidationOutput for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) GetAppWithContext added in v1.15.83

func (c *SMS) GetAppWithContext(ctx aws.Context, input *GetAppInput, opts ...request.Option) (*GetAppOutput, error)

GetAppWithContext is the same as GetApp with the addition of the ability to pass a context and additional request options.

See GetApp for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) GetConnectors

func (c *SMS) GetConnectors(input *GetConnectorsInput) (*GetConnectorsOutput, error)

GetConnectors API operation for AWS Server Migration Service.

Describes the connectors registered with the AWS SMS.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation GetConnectors for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

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

func (*SMS) GetConnectorsPages

func (c *SMS) GetConnectorsPages(input *GetConnectorsInput, fn func(*GetConnectorsOutput, bool) bool) error

GetConnectorsPages iterates over the pages of a GetConnectors operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetConnectors method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a GetConnectors operation.
pageNum := 0
err := client.GetConnectorsPages(params,
    func(page *sms.GetConnectorsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SMS) GetConnectorsPagesWithContext added in v1.8.0

func (c *SMS) GetConnectorsPagesWithContext(ctx aws.Context, input *GetConnectorsInput, fn func(*GetConnectorsOutput, bool) bool, opts ...request.Option) error

GetConnectorsPagesWithContext same as GetConnectorsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) GetConnectorsRequest

func (c *SMS) GetConnectorsRequest(input *GetConnectorsInput) (req *request.Request, output *GetConnectorsOutput)

GetConnectorsRequest generates a "aws/request.Request" representing the client's request for the GetConnectors operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetConnectors for more information on using the GetConnectors API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetConnectorsRequest method.
req, resp := client.GetConnectorsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*SMS) GetConnectorsWithContext added in v1.8.0

func (c *SMS) GetConnectorsWithContext(ctx aws.Context, input *GetConnectorsInput, opts ...request.Option) (*GetConnectorsOutput, error)

GetConnectorsWithContext is the same as GetConnectors with the addition of the ability to pass a context and additional request options.

See GetConnectors for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) GetReplicationJobs

func (c *SMS) GetReplicationJobs(input *GetReplicationJobsInput) (*GetReplicationJobsOutput, error)

GetReplicationJobs API operation for AWS Server Migration Service.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation GetReplicationJobs for usage and error information.

Returned Error Types:

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

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

func (*SMS) GetReplicationJobsPages

func (c *SMS) GetReplicationJobsPages(input *GetReplicationJobsInput, fn func(*GetReplicationJobsOutput, bool) bool) error

GetReplicationJobsPages iterates over the pages of a GetReplicationJobs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetReplicationJobs method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a GetReplicationJobs operation.
pageNum := 0
err := client.GetReplicationJobsPages(params,
    func(page *sms.GetReplicationJobsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SMS) GetReplicationJobsPagesWithContext added in v1.8.0

func (c *SMS) GetReplicationJobsPagesWithContext(ctx aws.Context, input *GetReplicationJobsInput, fn func(*GetReplicationJobsOutput, bool) bool, opts ...request.Option) error

GetReplicationJobsPagesWithContext same as GetReplicationJobsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) GetReplicationJobsRequest

func (c *SMS) GetReplicationJobsRequest(input *GetReplicationJobsInput) (req *request.Request, output *GetReplicationJobsOutput)

GetReplicationJobsRequest generates a "aws/request.Request" representing the client's request for the GetReplicationJobs operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetReplicationJobs for more information on using the GetReplicationJobs API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetReplicationJobsRequest method.
req, resp := client.GetReplicationJobsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*SMS) GetReplicationJobsWithContext added in v1.8.0

func (c *SMS) GetReplicationJobsWithContext(ctx aws.Context, input *GetReplicationJobsInput, opts ...request.Option) (*GetReplicationJobsOutput, error)

GetReplicationJobsWithContext is the same as GetReplicationJobs with the addition of the ability to pass a context and additional request options.

See GetReplicationJobs for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) GetReplicationRuns

func (c *SMS) GetReplicationRuns(input *GetReplicationRunsInput) (*GetReplicationRunsOutput, error)

GetReplicationRuns API operation for AWS Server Migration Service.

Describes the replication runs for the specified replication job.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation GetReplicationRuns for usage and error information.

Returned Error Types:

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

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

func (*SMS) GetReplicationRunsPages

func (c *SMS) GetReplicationRunsPages(input *GetReplicationRunsInput, fn func(*GetReplicationRunsOutput, bool) bool) error

GetReplicationRunsPages iterates over the pages of a GetReplicationRuns operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetReplicationRuns method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a GetReplicationRuns operation.
pageNum := 0
err := client.GetReplicationRunsPages(params,
    func(page *sms.GetReplicationRunsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SMS) GetReplicationRunsPagesWithContext added in v1.8.0

func (c *SMS) GetReplicationRunsPagesWithContext(ctx aws.Context, input *GetReplicationRunsInput, fn func(*GetReplicationRunsOutput, bool) bool, opts ...request.Option) error

GetReplicationRunsPagesWithContext same as GetReplicationRunsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) GetReplicationRunsRequest

func (c *SMS) GetReplicationRunsRequest(input *GetReplicationRunsInput) (req *request.Request, output *GetReplicationRunsOutput)

GetReplicationRunsRequest generates a "aws/request.Request" representing the client's request for the GetReplicationRuns operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetReplicationRuns for more information on using the GetReplicationRuns API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetReplicationRunsRequest method.
req, resp := client.GetReplicationRunsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*SMS) GetReplicationRunsWithContext added in v1.8.0

func (c *SMS) GetReplicationRunsWithContext(ctx aws.Context, input *GetReplicationRunsInput, opts ...request.Option) (*GetReplicationRunsOutput, error)

GetReplicationRunsWithContext is the same as GetReplicationRuns with the addition of the ability to pass a context and additional request options.

See GetReplicationRuns for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) GetServers

func (c *SMS) GetServers(input *GetServersInput) (*GetServersOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation GetServers for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

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

func (*SMS) GetServersPages

func (c *SMS) GetServersPages(input *GetServersInput, fn func(*GetServersOutput, bool) bool) error

GetServersPages iterates over the pages of a GetServers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetServers method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a GetServers operation.
pageNum := 0
err := client.GetServersPages(params,
    func(page *sms.GetServersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SMS) GetServersPagesWithContext added in v1.8.0

func (c *SMS) GetServersPagesWithContext(ctx aws.Context, input *GetServersInput, fn func(*GetServersOutput, bool) bool, opts ...request.Option) error

GetServersPagesWithContext same as GetServersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) GetServersRequest

func (c *SMS) GetServersRequest(input *GetServersInput) (req *request.Request, output *GetServersOutput)

GetServersRequest generates a "aws/request.Request" representing the client's request for the GetServers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetServers for more information on using the GetServers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetServersRequest method.
req, resp := client.GetServersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*SMS) GetServersWithContext added in v1.8.0

func (c *SMS) GetServersWithContext(ctx aws.Context, input *GetServersInput, opts ...request.Option) (*GetServersOutput, error)

GetServersWithContext is the same as GetServers with the addition of the ability to pass a context and additional request options.

See GetServers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) ImportAppCatalog added in v1.34.0

func (c *SMS) ImportAppCatalog(input *ImportAppCatalogInput) (*ImportAppCatalogOutput, error)

ImportAppCatalog API operation for AWS Server Migration Service.

Allows application import from AWS Migration Hub.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation ImportAppCatalog for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

  • OperationNotPermittedException This operation is not allowed.

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ImportAppCatalog

func (*SMS) ImportAppCatalogRequest added in v1.34.0

func (c *SMS) ImportAppCatalogRequest(input *ImportAppCatalogInput) (req *request.Request, output *ImportAppCatalogOutput)

ImportAppCatalogRequest generates a "aws/request.Request" representing the client's request for the ImportAppCatalog operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ImportAppCatalog for more information on using the ImportAppCatalog API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ImportAppCatalogRequest method.
req, resp := client.ImportAppCatalogRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ImportAppCatalog

func (*SMS) ImportAppCatalogWithContext added in v1.34.0

func (c *SMS) ImportAppCatalogWithContext(ctx aws.Context, input *ImportAppCatalogInput, opts ...request.Option) (*ImportAppCatalogOutput, error)

ImportAppCatalogWithContext is the same as ImportAppCatalog with the addition of the ability to pass a context and additional request options.

See ImportAppCatalog for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) ImportServerCatalog

func (c *SMS) ImportServerCatalog(input *ImportServerCatalogInput) (*ImportServerCatalogOutput, error)

ImportServerCatalog API operation for AWS Server Migration Service.

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

This call returns immediately, but might take additional time to retrieve all the servers.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation ImportServerCatalog for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • OperationNotPermittedException This operation is not allowed.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • NoConnectorsAvailableException There are no connectors available.

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

func (*SMS) ImportServerCatalogRequest

func (c *SMS) ImportServerCatalogRequest(input *ImportServerCatalogInput) (req *request.Request, output *ImportServerCatalogOutput)

ImportServerCatalogRequest generates a "aws/request.Request" representing the client's request for the ImportServerCatalog operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ImportServerCatalog for more information on using the ImportServerCatalog API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ImportServerCatalogRequest method.
req, resp := client.ImportServerCatalogRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*SMS) ImportServerCatalogWithContext added in v1.8.0

func (c *SMS) ImportServerCatalogWithContext(ctx aws.Context, input *ImportServerCatalogInput, opts ...request.Option) (*ImportServerCatalogOutput, error)

ImportServerCatalogWithContext is the same as ImportServerCatalog with the addition of the ability to pass a context and additional request options.

See ImportServerCatalog for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) LaunchApp added in v1.15.83

func (c *SMS) LaunchApp(input *LaunchAppInput) (*LaunchAppOutput, error)

LaunchApp API operation for AWS Server Migration Service.

Launches the specified application as a stack in AWS CloudFormation.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation LaunchApp for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

  • OperationNotPermittedException This operation is not allowed.

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/LaunchApp

func (*SMS) LaunchAppRequest added in v1.15.83

func (c *SMS) LaunchAppRequest(input *LaunchAppInput) (req *request.Request, output *LaunchAppOutput)

LaunchAppRequest generates a "aws/request.Request" representing the client's request for the LaunchApp operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See LaunchApp for more information on using the LaunchApp API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the LaunchAppRequest method.
req, resp := client.LaunchAppRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/LaunchApp

func (*SMS) LaunchAppWithContext added in v1.15.83

func (c *SMS) LaunchAppWithContext(ctx aws.Context, input *LaunchAppInput, opts ...request.Option) (*LaunchAppOutput, error)

LaunchAppWithContext is the same as LaunchApp with the addition of the ability to pass a context and additional request options.

See LaunchApp for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) ListApps added in v1.15.83

func (c *SMS) ListApps(input *ListAppsInput) (*ListAppsOutput, error)

ListApps API operation for AWS Server Migration Service.

Retrieves summaries for all applications.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation ListApps for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

  • OperationNotPermittedException This operation is not allowed.

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ListApps

func (*SMS) ListAppsRequest added in v1.15.83

func (c *SMS) ListAppsRequest(input *ListAppsInput) (req *request.Request, output *ListAppsOutput)

ListAppsRequest generates a "aws/request.Request" representing the client's request for the ListApps operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListApps for more information on using the ListApps API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListAppsRequest method.
req, resp := client.ListAppsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ListApps

func (*SMS) ListAppsWithContext added in v1.15.83

func (c *SMS) ListAppsWithContext(ctx aws.Context, input *ListAppsInput, opts ...request.Option) (*ListAppsOutput, error)

ListAppsWithContext is the same as ListApps with the addition of the ability to pass a context and additional request options.

See ListApps for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) NotifyAppValidationOutput added in v1.34.0

func (c *SMS) NotifyAppValidationOutput(input *NotifyAppValidationOutputInput) (*NotifyAppValidationOutputOutput, error)

NotifyAppValidationOutput API operation for AWS Server Migration Service.

Provides information to AWS SMS about whether application validation is successful.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation NotifyAppValidationOutput for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

  • OperationNotPermittedException This operation is not allowed.

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/NotifyAppValidationOutput

func (*SMS) NotifyAppValidationOutputRequest added in v1.34.0

func (c *SMS) NotifyAppValidationOutputRequest(input *NotifyAppValidationOutputInput) (req *request.Request, output *NotifyAppValidationOutputOutput)

NotifyAppValidationOutputRequest generates a "aws/request.Request" representing the client's request for the NotifyAppValidationOutput operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See NotifyAppValidationOutput for more information on using the NotifyAppValidationOutput API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the NotifyAppValidationOutputRequest method.
req, resp := client.NotifyAppValidationOutputRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/NotifyAppValidationOutput

func (*SMS) NotifyAppValidationOutputWithContext added in v1.34.0

func (c *SMS) NotifyAppValidationOutputWithContext(ctx aws.Context, input *NotifyAppValidationOutputInput, opts ...request.Option) (*NotifyAppValidationOutputOutput, error)

NotifyAppValidationOutputWithContext is the same as NotifyAppValidationOutput with the addition of the ability to pass a context and additional request options.

See NotifyAppValidationOutput for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) PutAppLaunchConfiguration added in v1.15.83

func (c *SMS) PutAppLaunchConfiguration(input *PutAppLaunchConfigurationInput) (*PutAppLaunchConfigurationOutput, error)

PutAppLaunchConfiguration API operation for AWS Server Migration Service.

Creates or updates the launch configuration for the specified application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation PutAppLaunchConfiguration for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

  • OperationNotPermittedException This operation is not allowed.

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/PutAppLaunchConfiguration

func (*SMS) PutAppLaunchConfigurationRequest added in v1.15.83

func (c *SMS) PutAppLaunchConfigurationRequest(input *PutAppLaunchConfigurationInput) (req *request.Request, output *PutAppLaunchConfigurationOutput)

PutAppLaunchConfigurationRequest generates a "aws/request.Request" representing the client's request for the PutAppLaunchConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutAppLaunchConfiguration for more information on using the PutAppLaunchConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutAppLaunchConfigurationRequest method.
req, resp := client.PutAppLaunchConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/PutAppLaunchConfiguration

func (*SMS) PutAppLaunchConfigurationWithContext added in v1.15.83

func (c *SMS) PutAppLaunchConfigurationWithContext(ctx aws.Context, input *PutAppLaunchConfigurationInput, opts ...request.Option) (*PutAppLaunchConfigurationOutput, error)

PutAppLaunchConfigurationWithContext is the same as PutAppLaunchConfiguration with the addition of the ability to pass a context and additional request options.

See PutAppLaunchConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) PutAppReplicationConfiguration added in v1.15.83

func (c *SMS) PutAppReplicationConfiguration(input *PutAppReplicationConfigurationInput) (*PutAppReplicationConfigurationOutput, error)

PutAppReplicationConfiguration API operation for AWS Server Migration Service.

Creates or updates the replication configuration for the specified application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation PutAppReplicationConfiguration for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

  • OperationNotPermittedException This operation is not allowed.

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/PutAppReplicationConfiguration

func (*SMS) PutAppReplicationConfigurationRequest added in v1.15.83

func (c *SMS) PutAppReplicationConfigurationRequest(input *PutAppReplicationConfigurationInput) (req *request.Request, output *PutAppReplicationConfigurationOutput)

PutAppReplicationConfigurationRequest generates a "aws/request.Request" representing the client's request for the PutAppReplicationConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutAppReplicationConfiguration for more information on using the PutAppReplicationConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutAppReplicationConfigurationRequest method.
req, resp := client.PutAppReplicationConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/PutAppReplicationConfiguration

func (*SMS) PutAppReplicationConfigurationWithContext added in v1.15.83

func (c *SMS) PutAppReplicationConfigurationWithContext(ctx aws.Context, input *PutAppReplicationConfigurationInput, opts ...request.Option) (*PutAppReplicationConfigurationOutput, error)

PutAppReplicationConfigurationWithContext is the same as PutAppReplicationConfiguration with the addition of the ability to pass a context and additional request options.

See PutAppReplicationConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) PutAppValidationConfiguration added in v1.34.0

func (c *SMS) PutAppValidationConfiguration(input *PutAppValidationConfigurationInput) (*PutAppValidationConfigurationOutput, error)

PutAppValidationConfiguration API operation for AWS Server Migration Service.

Creates or updates a validation configuration for the specified application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation PutAppValidationConfiguration for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

  • OperationNotPermittedException This operation is not allowed.

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/PutAppValidationConfiguration

func (*SMS) PutAppValidationConfigurationRequest added in v1.34.0

func (c *SMS) PutAppValidationConfigurationRequest(input *PutAppValidationConfigurationInput) (req *request.Request, output *PutAppValidationConfigurationOutput)

PutAppValidationConfigurationRequest generates a "aws/request.Request" representing the client's request for the PutAppValidationConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutAppValidationConfiguration for more information on using the PutAppValidationConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutAppValidationConfigurationRequest method.
req, resp := client.PutAppValidationConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/PutAppValidationConfiguration

func (*SMS) PutAppValidationConfigurationWithContext added in v1.34.0

func (c *SMS) PutAppValidationConfigurationWithContext(ctx aws.Context, input *PutAppValidationConfigurationInput, opts ...request.Option) (*PutAppValidationConfigurationOutput, error)

PutAppValidationConfigurationWithContext is the same as PutAppValidationConfiguration with the addition of the ability to pass a context and additional request options.

See PutAppValidationConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) StartAppReplication added in v1.15.83

func (c *SMS) StartAppReplication(input *StartAppReplicationInput) (*StartAppReplicationOutput, error)

StartAppReplication API operation for AWS Server Migration Service.

Starts replicating the specified application by creating replication jobs for each server in the application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation StartAppReplication for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

  • OperationNotPermittedException This operation is not allowed.

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartAppReplication

func (*SMS) StartAppReplicationRequest added in v1.15.83

func (c *SMS) StartAppReplicationRequest(input *StartAppReplicationInput) (req *request.Request, output *StartAppReplicationOutput)

StartAppReplicationRequest generates a "aws/request.Request" representing the client's request for the StartAppReplication operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartAppReplication for more information on using the StartAppReplication API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartAppReplicationRequest method.
req, resp := client.StartAppReplicationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartAppReplication

func (*SMS) StartAppReplicationWithContext added in v1.15.83

func (c *SMS) StartAppReplicationWithContext(ctx aws.Context, input *StartAppReplicationInput, opts ...request.Option) (*StartAppReplicationOutput, error)

StartAppReplicationWithContext is the same as StartAppReplication with the addition of the ability to pass a context and additional request options.

See StartAppReplication for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) StartOnDemandAppReplication added in v1.34.0

func (c *SMS) StartOnDemandAppReplication(input *StartOnDemandAppReplicationInput) (*StartOnDemandAppReplicationOutput, error)

StartOnDemandAppReplication API operation for AWS Server Migration Service.

Starts an on-demand replication run for the specified application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation StartOnDemandAppReplication for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

  • OperationNotPermittedException This operation is not allowed.

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartOnDemandAppReplication

func (*SMS) StartOnDemandAppReplicationRequest added in v1.34.0

func (c *SMS) StartOnDemandAppReplicationRequest(input *StartOnDemandAppReplicationInput) (req *request.Request, output *StartOnDemandAppReplicationOutput)

StartOnDemandAppReplicationRequest generates a "aws/request.Request" representing the client's request for the StartOnDemandAppReplication operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartOnDemandAppReplication for more information on using the StartOnDemandAppReplication API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartOnDemandAppReplicationRequest method.
req, resp := client.StartOnDemandAppReplicationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartOnDemandAppReplication

func (*SMS) StartOnDemandAppReplicationWithContext added in v1.34.0

func (c *SMS) StartOnDemandAppReplicationWithContext(ctx aws.Context, input *StartOnDemandAppReplicationInput, opts ...request.Option) (*StartOnDemandAppReplicationOutput, error)

StartOnDemandAppReplicationWithContext is the same as StartOnDemandAppReplication with the addition of the ability to pass a context and additional request options.

See StartOnDemandAppReplication for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) StartOnDemandReplicationRun

func (c *SMS) StartOnDemandReplicationRun(input *StartOnDemandReplicationRunInput) (*StartOnDemandReplicationRunOutput, error)

StartOnDemandReplicationRun 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 that you can request in a 24-hour period.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation StartOnDemandReplicationRun for usage and error information.

Returned Error Types:

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • OperationNotPermittedException This operation is not allowed.

  • ReplicationRunLimitExceededException You have exceeded the number of on-demand replication runs you can request in a 24-hour period.

  • DryRunOperationException The user has the required permissions, so the request would have succeeded, but a dry run was performed.

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

func (*SMS) StartOnDemandReplicationRunRequest

func (c *SMS) StartOnDemandReplicationRunRequest(input *StartOnDemandReplicationRunInput) (req *request.Request, output *StartOnDemandReplicationRunOutput)

StartOnDemandReplicationRunRequest generates a "aws/request.Request" representing the client's request for the StartOnDemandReplicationRun operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartOnDemandReplicationRun for more information on using the StartOnDemandReplicationRun API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartOnDemandReplicationRunRequest method.
req, resp := client.StartOnDemandReplicationRunRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*SMS) StartOnDemandReplicationRunWithContext added in v1.8.0

func (c *SMS) StartOnDemandReplicationRunWithContext(ctx aws.Context, input *StartOnDemandReplicationRunInput, opts ...request.Option) (*StartOnDemandReplicationRunOutput, error)

StartOnDemandReplicationRunWithContext is the same as StartOnDemandReplicationRun with the addition of the ability to pass a context and additional request options.

See StartOnDemandReplicationRun for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) StopAppReplication added in v1.15.83

func (c *SMS) StopAppReplication(input *StopAppReplicationInput) (*StopAppReplicationOutput, error)

StopAppReplication API operation for AWS Server Migration Service.

Stops replicating the specified application by deleting the replication job for each server in the application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation StopAppReplication for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

  • OperationNotPermittedException This operation is not allowed.

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StopAppReplication

func (*SMS) StopAppReplicationRequest added in v1.15.83

func (c *SMS) StopAppReplicationRequest(input *StopAppReplicationInput) (req *request.Request, output *StopAppReplicationOutput)

StopAppReplicationRequest generates a "aws/request.Request" representing the client's request for the StopAppReplication operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StopAppReplication for more information on using the StopAppReplication API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StopAppReplicationRequest method.
req, resp := client.StopAppReplicationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StopAppReplication

func (*SMS) StopAppReplicationWithContext added in v1.15.83

func (c *SMS) StopAppReplicationWithContext(ctx aws.Context, input *StopAppReplicationInput, opts ...request.Option) (*StopAppReplicationOutput, error)

StopAppReplicationWithContext is the same as StopAppReplication with the addition of the ability to pass a context and additional request options.

See StopAppReplication for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) TerminateApp added in v1.15.83

func (c *SMS) TerminateApp(input *TerminateAppInput) (*TerminateAppOutput, error)

TerminateApp API operation for AWS Server Migration Service.

Terminates the stack for the specified application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation TerminateApp for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

  • OperationNotPermittedException This operation is not allowed.

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/TerminateApp

func (*SMS) TerminateAppRequest added in v1.15.83

func (c *SMS) TerminateAppRequest(input *TerminateAppInput) (req *request.Request, output *TerminateAppOutput)

TerminateAppRequest generates a "aws/request.Request" representing the client's request for the TerminateApp operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TerminateApp for more information on using the TerminateApp API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TerminateAppRequest method.
req, resp := client.TerminateAppRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/TerminateApp

func (*SMS) TerminateAppWithContext added in v1.15.83

func (c *SMS) TerminateAppWithContext(ctx aws.Context, input *TerminateAppInput, opts ...request.Option) (*TerminateAppOutput, error)

TerminateAppWithContext is the same as TerminateApp with the addition of the ability to pass a context and additional request options.

See TerminateApp for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) UpdateApp added in v1.15.83

func (c *SMS) UpdateApp(input *UpdateAppInput) (*UpdateAppOutput, error)

UpdateApp API operation for AWS Server Migration Service.

Updates the specified application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation UpdateApp for usage and error information.

Returned Error Types:

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • InternalError An internal error occurred.

  • OperationNotPermittedException This operation is not allowed.

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/UpdateApp

func (*SMS) UpdateAppRequest added in v1.15.83

func (c *SMS) UpdateAppRequest(input *UpdateAppInput) (req *request.Request, output *UpdateAppOutput)

UpdateAppRequest generates a "aws/request.Request" representing the client's request for the UpdateApp operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateApp for more information on using the UpdateApp API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateAppRequest method.
req, resp := client.UpdateAppRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/UpdateApp

func (*SMS) UpdateAppWithContext added in v1.15.83

func (c *SMS) UpdateAppWithContext(ctx aws.Context, input *UpdateAppInput, opts ...request.Option) (*UpdateAppOutput, error)

UpdateAppWithContext is the same as UpdateApp with the addition of the ability to pass a context and additional request options.

See UpdateApp for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SMS) UpdateReplicationJob

func (c *SMS) UpdateReplicationJob(input *UpdateReplicationJobInput) (*UpdateReplicationJobOutput, error)

UpdateReplicationJob API operation for AWS Server Migration Service.

Updates the specified settings for the specified replication job.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Server Migration Service's API operation UpdateReplicationJob for usage and error information.

Returned Error Types:

  • InvalidParameterException A specified parameter is not valid.

  • MissingRequiredParameterException A required parameter is missing.

  • OperationNotPermittedException This operation is not allowed.

  • UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

  • ServerCannotBeReplicatedException The specified server cannot be replicated.

  • ReplicationJobNotFoundException The specified replication job does not exist.

  • InternalError An internal error occurred.

  • TemporarilyUnavailableException The service is temporarily unavailable.

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

func (*SMS) UpdateReplicationJobRequest

func (c *SMS) UpdateReplicationJobRequest(input *UpdateReplicationJobInput) (req *request.Request, output *UpdateReplicationJobOutput)

UpdateReplicationJobRequest generates a "aws/request.Request" representing the client's request for the UpdateReplicationJob operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateReplicationJob for more information on using the UpdateReplicationJob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateReplicationJobRequest method.
req, resp := client.UpdateReplicationJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*SMS) UpdateReplicationJobWithContext added in v1.8.0

func (c *SMS) UpdateReplicationJobWithContext(ctx aws.Context, input *UpdateReplicationJobInput, opts ...request.Option) (*UpdateReplicationJobOutput, error)

UpdateReplicationJobWithContext is the same as UpdateReplicationJob with the addition of the ability to pass a context and additional request options.

See UpdateReplicationJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type SSMOutput added in v1.34.0

type SSMOutput struct {

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

Contains the location of validation output.

func (SSMOutput) GoString added in v1.34.0

func (s SSMOutput) GoString() string

GoString returns the string representation

func (*SSMOutput) SetS3Location added in v1.34.0

func (s *SSMOutput) SetS3Location(v *S3Location) *SSMOutput

SetS3Location sets the S3Location field's value.

func (SSMOutput) String added in v1.34.0

func (s SSMOutput) String() string

String returns the string representation

type SSMValidationParameters added in v1.34.0

type SSMValidationParameters struct {

	// The command to run the validation script
	Command *string `locationName:"command" min:"1" type:"string"`

	// The timeout interval, in seconds.
	ExecutionTimeoutSeconds *int64 `locationName:"executionTimeoutSeconds" min:"60" type:"integer"`

	// The ID of the instance. The instance must have the following tag: UserForSMSApplicationValidation=true.
	InstanceId *string `locationName:"instanceId" type:"string"`

	// The name of the S3 bucket for output.
	OutputS3BucketName *string `locationName:"outputS3BucketName" type:"string"`

	// The type of validation script.
	ScriptType *string `locationName:"scriptType" type:"string" enum:"ScriptType"`

	// The location of the validation script.
	Source *Source `locationName:"source" type:"structure"`
	// contains filtered or unexported fields
}

Contains validation parameters.

func (SSMValidationParameters) GoString added in v1.34.0

func (s SSMValidationParameters) GoString() string

GoString returns the string representation

func (*SSMValidationParameters) SetCommand added in v1.34.0

SetCommand sets the Command field's value.

func (*SSMValidationParameters) SetExecutionTimeoutSeconds added in v1.34.0

func (s *SSMValidationParameters) SetExecutionTimeoutSeconds(v int64) *SSMValidationParameters

SetExecutionTimeoutSeconds sets the ExecutionTimeoutSeconds field's value.

func (*SSMValidationParameters) SetInstanceId added in v1.34.0

SetInstanceId sets the InstanceId field's value.

func (*SSMValidationParameters) SetOutputS3BucketName added in v1.34.0

func (s *SSMValidationParameters) SetOutputS3BucketName(v string) *SSMValidationParameters

SetOutputS3BucketName sets the OutputS3BucketName field's value.

func (*SSMValidationParameters) SetScriptType added in v1.34.0

SetScriptType sets the ScriptType field's value.

func (*SSMValidationParameters) SetSource added in v1.34.0

SetSource sets the Source field's value.

func (SSMValidationParameters) String added in v1.34.0

func (s SSMValidationParameters) String() string

String returns the string representation

func (*SSMValidationParameters) Validate added in v1.34.0

func (s *SSMValidationParameters) Validate() error

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

type Server

type Server struct {

	// The ID 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 ID of the server.
	ServerId *string `locationName:"serverId" type:"string"`

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

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

Represents a server.

func (Server) GoString

func (s Server) GoString() string

GoString returns the string representation

func (*Server) SetReplicationJobId added in v1.5.0

func (s *Server) SetReplicationJobId(v string) *Server

SetReplicationJobId sets the ReplicationJobId field's value.

func (*Server) SetReplicationJobTerminated added in v1.5.0

func (s *Server) SetReplicationJobTerminated(v bool) *Server

SetReplicationJobTerminated sets the ReplicationJobTerminated field's value.

func (*Server) SetServerId added in v1.5.0

func (s *Server) SetServerId(v string) *Server

SetServerId sets the ServerId field's value.

func (*Server) SetServerType added in v1.5.0

func (s *Server) SetServerType(v string) *Server

SetServerType sets the ServerType field's value.

func (*Server) SetVmServer added in v1.5.0

func (s *Server) SetVmServer(v *VmServer) *Server

SetVmServer sets the VmServer field's value.

func (Server) String

func (s Server) String() string

String returns the string representation

type ServerCannotBeReplicatedException added in v1.28.0

type ServerCannotBeReplicatedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified server cannot be replicated.

func (*ServerCannotBeReplicatedException) Code added in v1.28.0

Code returns the exception type name.

func (*ServerCannotBeReplicatedException) Error added in v1.28.0

func (ServerCannotBeReplicatedException) GoString added in v1.28.0

GoString returns the string representation

func (*ServerCannotBeReplicatedException) Message added in v1.28.0

Message returns the exception's message.

func (*ServerCannotBeReplicatedException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServerCannotBeReplicatedException) RequestID added in v1.28.0

RequestID returns the service's response RequestID for request.

func (*ServerCannotBeReplicatedException) StatusCode added in v1.28.0

func (s *ServerCannotBeReplicatedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServerCannotBeReplicatedException) String added in v1.28.0

String returns the string representation

type ServerGroup added in v1.15.83

type ServerGroup struct {

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

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

	// The servers that belong to a server group.
	ServerList []*Server `locationName:"serverList" type:"list"`
	// contains filtered or unexported fields
}

Logical grouping of servers.

func (ServerGroup) GoString added in v1.15.83

func (s ServerGroup) GoString() string

GoString returns the string representation

func (*ServerGroup) SetName added in v1.15.83

func (s *ServerGroup) SetName(v string) *ServerGroup

SetName sets the Name field's value.

func (*ServerGroup) SetServerGroupId added in v1.15.83

func (s *ServerGroup) SetServerGroupId(v string) *ServerGroup

SetServerGroupId sets the ServerGroupId field's value.

func (*ServerGroup) SetServerList added in v1.15.83

func (s *ServerGroup) SetServerList(v []*Server) *ServerGroup

SetServerList sets the ServerList field's value.

func (ServerGroup) String added in v1.15.83

func (s ServerGroup) String() string

String returns the string representation

type ServerGroupLaunchConfiguration added in v1.15.83

type ServerGroupLaunchConfiguration struct {

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

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

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

func (ServerGroupLaunchConfiguration) GoString added in v1.15.83

GoString returns the string representation

func (*ServerGroupLaunchConfiguration) SetLaunchOrder added in v1.15.83

SetLaunchOrder sets the LaunchOrder field's value.

func (*ServerGroupLaunchConfiguration) SetServerGroupId added in v1.15.83

SetServerGroupId sets the ServerGroupId field's value.

func (*ServerGroupLaunchConfiguration) SetServerLaunchConfigurations added in v1.15.83

SetServerLaunchConfigurations sets the ServerLaunchConfigurations field's value.

func (ServerGroupLaunchConfiguration) String added in v1.15.83

String returns the string representation

func (*ServerGroupLaunchConfiguration) Validate added in v1.34.0

func (s *ServerGroupLaunchConfiguration) Validate() error

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

type ServerGroupReplicationConfiguration added in v1.15.83

type ServerGroupReplicationConfiguration struct {

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

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

func (ServerGroupReplicationConfiguration) GoString added in v1.15.83

GoString returns the string representation

func (*ServerGroupReplicationConfiguration) SetServerGroupId added in v1.15.83

SetServerGroupId sets the ServerGroupId field's value.

func (*ServerGroupReplicationConfiguration) SetServerReplicationConfigurations added in v1.15.83

SetServerReplicationConfigurations sets the ServerReplicationConfigurations field's value.

func (ServerGroupReplicationConfiguration) String added in v1.15.83

String returns the string representation

type ServerGroupValidationConfiguration added in v1.34.0

type ServerGroupValidationConfiguration struct {

	// The ID of the server group.
	ServerGroupId *string `locationName:"serverGroupId" type:"string"`

	// The validation configuration.
	ServerValidationConfigurations []*ServerValidationConfiguration `locationName:"serverValidationConfigurations" type:"list"`
	// contains filtered or unexported fields
}

Configuration for validating an instance.

func (ServerGroupValidationConfiguration) GoString added in v1.34.0

GoString returns the string representation

func (*ServerGroupValidationConfiguration) SetServerGroupId added in v1.34.0

SetServerGroupId sets the ServerGroupId field's value.

func (*ServerGroupValidationConfiguration) SetServerValidationConfigurations added in v1.34.0

SetServerValidationConfigurations sets the ServerValidationConfigurations field's value.

func (ServerGroupValidationConfiguration) String added in v1.34.0

String returns the string representation

func (*ServerGroupValidationConfiguration) Validate added in v1.34.0

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

type ServerLaunchConfiguration added in v1.15.83

type ServerLaunchConfiguration struct {

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

	// Location of an Amazon S3 object.
	ConfigureScript *S3Location `locationName:"configureScript" type:"structure"`

	// The type of configuration script.
	ConfigureScriptType *string `locationName:"configureScriptType" type:"string" enum:"ScriptType"`

	// The name of the Amazon EC2 SSH key to be used for connecting to the launched
	// server.
	Ec2KeyName *string `locationName:"ec2KeyName" type:"string"`

	// The name of the IAM instance profile.
	IamInstanceProfileName *string `locationName:"iamInstanceProfileName" type:"string"`

	// The instance type to use when launching the server.
	InstanceType *string `locationName:"instanceType" type:"string"`

	// The logical ID of the server in the AWS CloudFormation template.
	LogicalId *string `locationName:"logicalId" type:"string"`

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

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

	// The ID 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"`

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

Launch configuration for a server.

func (ServerLaunchConfiguration) GoString added in v1.15.83

func (s ServerLaunchConfiguration) GoString() string

GoString returns the string representation

func (*ServerLaunchConfiguration) SetAssociatePublicIpAddress added in v1.15.83

func (s *ServerLaunchConfiguration) SetAssociatePublicIpAddress(v bool) *ServerLaunchConfiguration

SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value.

func (*ServerLaunchConfiguration) SetConfigureScript added in v1.34.0

SetConfigureScript sets the ConfigureScript field's value.

func (*ServerLaunchConfiguration) SetConfigureScriptType added in v1.34.0

func (s *ServerLaunchConfiguration) SetConfigureScriptType(v string) *ServerLaunchConfiguration

SetConfigureScriptType sets the ConfigureScriptType field's value.

func (*ServerLaunchConfiguration) SetEc2KeyName added in v1.15.83

SetEc2KeyName sets the Ec2KeyName field's value.

func (*ServerLaunchConfiguration) SetIamInstanceProfileName added in v1.34.0

func (s *ServerLaunchConfiguration) SetIamInstanceProfileName(v string) *ServerLaunchConfiguration

SetIamInstanceProfileName sets the IamInstanceProfileName field's value.

func (*ServerLaunchConfiguration) SetInstanceType added in v1.15.83

SetInstanceType sets the InstanceType field's value.

func (*ServerLaunchConfiguration) SetLogicalId added in v1.15.83

SetLogicalId sets the LogicalId field's value.

func (*ServerLaunchConfiguration) SetSecurityGroup added in v1.15.83

SetSecurityGroup sets the SecurityGroup field's value.

func (*ServerLaunchConfiguration) SetServer added in v1.15.83

SetServer sets the Server field's value.

func (*ServerLaunchConfiguration) SetSubnet added in v1.15.83

SetSubnet sets the Subnet field's value.

func (*ServerLaunchConfiguration) SetUserData added in v1.15.83

SetUserData sets the UserData field's value.

func (*ServerLaunchConfiguration) SetVpc added in v1.15.83

SetVpc sets the Vpc field's value.

func (ServerLaunchConfiguration) String added in v1.15.83

func (s ServerLaunchConfiguration) String() string

String returns the string representation

func (*ServerLaunchConfiguration) Validate added in v1.34.0

func (s *ServerLaunchConfiguration) Validate() error

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

type ServerReplicationConfiguration added in v1.15.83

type ServerReplicationConfiguration struct {

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

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

Replication configuration of a server.

func (ServerReplicationConfiguration) GoString added in v1.15.83

GoString returns the string representation

func (*ServerReplicationConfiguration) SetServer added in v1.15.83

SetServer sets the Server field's value.

func (*ServerReplicationConfiguration) SetServerReplicationParameters added in v1.15.83

SetServerReplicationParameters sets the ServerReplicationParameters field's value.

func (ServerReplicationConfiguration) String added in v1.15.83

String returns the string representation

type ServerReplicationParameters added in v1.15.83

type ServerReplicationParameters struct {

	// Indicates whether the replication job produces encrypted AMIs.
	Encrypted *bool `locationName:"encrypted" type:"boolean"`

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

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

	// The license type for creating a replication job for the server.
	LicenseType *string `locationName:"licenseType" type:"string" enum:"LicenseType"`

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

	// Indicates whether to run the replication job one time.
	RunOnce *bool `locationName:"runOnce" type:"boolean"`

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

The replication parameters for replicating a server.

func (ServerReplicationParameters) GoString added in v1.15.83

func (s ServerReplicationParameters) GoString() string

GoString returns the string representation

func (*ServerReplicationParameters) SetEncrypted added in v1.15.83

SetEncrypted sets the Encrypted field's value.

func (*ServerReplicationParameters) SetFrequency added in v1.15.83

SetFrequency sets the Frequency field's value.

func (*ServerReplicationParameters) SetKmsKeyId added in v1.15.83

SetKmsKeyId sets the KmsKeyId field's value.

func (*ServerReplicationParameters) SetLicenseType added in v1.15.83

SetLicenseType sets the LicenseType field's value.

func (*ServerReplicationParameters) SetNumberOfRecentAmisToKeep added in v1.15.83

func (s *ServerReplicationParameters) SetNumberOfRecentAmisToKeep(v int64) *ServerReplicationParameters

SetNumberOfRecentAmisToKeep sets the NumberOfRecentAmisToKeep field's value.

func (*ServerReplicationParameters) SetRunOnce added in v1.15.83

SetRunOnce sets the RunOnce field's value.

func (*ServerReplicationParameters) SetSeedTime added in v1.15.83

SetSeedTime sets the SeedTime field's value.

func (ServerReplicationParameters) String added in v1.15.83

String returns the string representation

type ServerValidationConfiguration added in v1.34.0

type ServerValidationConfiguration struct {

	// The name of the configuration.
	Name *string `locationName:"name" min:"1" type:"string"`

	// Represents a server.
	Server *Server `locationName:"server" type:"structure"`

	// The validation strategy.
	ServerValidationStrategy *string `locationName:"serverValidationStrategy" type:"string" enum:"ServerValidationStrategy"`

	// The validation parameters.
	UserDataValidationParameters *UserDataValidationParameters `locationName:"userDataValidationParameters" type:"structure"`

	// The ID of the validation.
	ValidationId *string `locationName:"validationId" type:"string"`
	// contains filtered or unexported fields
}

Configuration for validating an instance.

func (ServerValidationConfiguration) GoString added in v1.34.0

GoString returns the string representation

func (*ServerValidationConfiguration) SetName added in v1.34.0

SetName sets the Name field's value.

func (*ServerValidationConfiguration) SetServer added in v1.34.0

SetServer sets the Server field's value.

func (*ServerValidationConfiguration) SetServerValidationStrategy added in v1.34.0

func (s *ServerValidationConfiguration) SetServerValidationStrategy(v string) *ServerValidationConfiguration

SetServerValidationStrategy sets the ServerValidationStrategy field's value.

func (*ServerValidationConfiguration) SetUserDataValidationParameters added in v1.34.0

SetUserDataValidationParameters sets the UserDataValidationParameters field's value.

func (*ServerValidationConfiguration) SetValidationId added in v1.34.0

SetValidationId sets the ValidationId field's value.

func (ServerValidationConfiguration) String added in v1.34.0

String returns the string representation

func (*ServerValidationConfiguration) Validate added in v1.34.0

func (s *ServerValidationConfiguration) Validate() error

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

type ServerValidationOutput added in v1.34.0

type ServerValidationOutput struct {

	// Represents a server.
	Server *Server `locationName:"server" type:"structure"`
	// contains filtered or unexported fields
}

Contains output from validating an instance.

func (ServerValidationOutput) GoString added in v1.34.0

func (s ServerValidationOutput) GoString() string

GoString returns the string representation

func (*ServerValidationOutput) SetServer added in v1.34.0

SetServer sets the Server field's value.

func (ServerValidationOutput) String added in v1.34.0

func (s ServerValidationOutput) String() string

String returns the string representation

type Source added in v1.34.0

type Source struct {

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

Contains the location of a validation script.

func (Source) GoString added in v1.34.0

func (s Source) GoString() string

GoString returns the string representation

func (*Source) SetS3Location added in v1.34.0

func (s *Source) SetS3Location(v *S3Location) *Source

SetS3Location sets the S3Location field's value.

func (Source) String added in v1.34.0

func (s Source) String() string

String returns the string representation

func (*Source) Validate added in v1.34.0

func (s *Source) Validate() error

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

type StartAppReplicationInput added in v1.15.83

type StartAppReplicationInput struct {

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

func (StartAppReplicationInput) GoString added in v1.15.83

func (s StartAppReplicationInput) GoString() string

GoString returns the string representation

func (*StartAppReplicationInput) SetAppId added in v1.15.83

SetAppId sets the AppId field's value.

func (StartAppReplicationInput) String added in v1.15.83

func (s StartAppReplicationInput) String() string

String returns the string representation

type StartAppReplicationOutput added in v1.15.83

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

func (StartAppReplicationOutput) GoString added in v1.15.83

func (s StartAppReplicationOutput) GoString() string

GoString returns the string representation

func (StartAppReplicationOutput) String added in v1.15.83

func (s StartAppReplicationOutput) String() string

String returns the string representation

type StartOnDemandAppReplicationInput added in v1.34.0

type StartOnDemandAppReplicationInput struct {

	// The ID of the application.
	//
	// AppId is a required field
	AppId *string `locationName:"appId" type:"string" required:"true"`

	// The description of the replication run.
	Description *string `locationName:"description" type:"string"`
	// contains filtered or unexported fields
}

func (StartOnDemandAppReplicationInput) GoString added in v1.34.0

GoString returns the string representation

func (*StartOnDemandAppReplicationInput) SetAppId added in v1.34.0

SetAppId sets the AppId field's value.

func (*StartOnDemandAppReplicationInput) SetDescription added in v1.34.0

SetDescription sets the Description field's value.

func (StartOnDemandAppReplicationInput) String added in v1.34.0

String returns the string representation

func (*StartOnDemandAppReplicationInput) Validate added in v1.34.0

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

type StartOnDemandAppReplicationOutput added in v1.34.0

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

func (StartOnDemandAppReplicationOutput) GoString added in v1.34.0

GoString returns the string representation

func (StartOnDemandAppReplicationOutput) String added in v1.34.0

String returns the string representation

type StartOnDemandReplicationRunInput

type StartOnDemandReplicationRunInput struct {

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

	// The ID of the replication job.
	//
	// ReplicationJobId is a required field
	ReplicationJobId *string `locationName:"replicationJobId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StartOnDemandReplicationRunInput) GoString

GoString returns the string representation

func (*StartOnDemandReplicationRunInput) SetDescription added in v1.5.0

SetDescription sets the Description field's value.

func (*StartOnDemandReplicationRunInput) SetReplicationJobId added in v1.5.0

SetReplicationJobId sets the ReplicationJobId field's value.

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 ID of the replication run.
	ReplicationRunId *string `locationName:"replicationRunId" type:"string"`
	// contains filtered or unexported fields
}

func (StartOnDemandReplicationRunOutput) GoString

GoString returns the string representation

func (*StartOnDemandReplicationRunOutput) SetReplicationRunId added in v1.5.0

SetReplicationRunId sets the ReplicationRunId field's value.

func (StartOnDemandReplicationRunOutput) String

String returns the string representation

type StopAppReplicationInput added in v1.15.83

type StopAppReplicationInput struct {

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

func (StopAppReplicationInput) GoString added in v1.15.83

func (s StopAppReplicationInput) GoString() string

GoString returns the string representation

func (*StopAppReplicationInput) SetAppId added in v1.15.83

SetAppId sets the AppId field's value.

func (StopAppReplicationInput) String added in v1.15.83

func (s StopAppReplicationInput) String() string

String returns the string representation

type StopAppReplicationOutput added in v1.15.83

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

func (StopAppReplicationOutput) GoString added in v1.15.83

func (s StopAppReplicationOutput) GoString() string

GoString returns the string representation

func (StopAppReplicationOutput) String added in v1.15.83

func (s StopAppReplicationOutput) String() string

String returns the string representation

type Tag added in v1.15.83

type Tag struct {

	// The tag key.
	Key *string `locationName:"key" type:"string"`

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

Key/value pair that can be assigned to an application.

func (Tag) GoString added in v1.15.83

func (s Tag) GoString() string

GoString returns the string representation

func (*Tag) SetKey added in v1.15.83

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue added in v1.15.83

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String added in v1.15.83

func (s Tag) String() string

String returns the string representation

type TemporarilyUnavailableException added in v1.28.0

type TemporarilyUnavailableException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The service is temporarily unavailable.

func (*TemporarilyUnavailableException) Code added in v1.28.0

Code returns the exception type name.

func (*TemporarilyUnavailableException) Error added in v1.28.0

func (TemporarilyUnavailableException) GoString added in v1.28.0

GoString returns the string representation

func (*TemporarilyUnavailableException) Message added in v1.28.0

Message returns the exception's message.

func (*TemporarilyUnavailableException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TemporarilyUnavailableException) RequestID added in v1.28.0

func (s *TemporarilyUnavailableException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TemporarilyUnavailableException) StatusCode added in v1.28.0

func (s *TemporarilyUnavailableException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (TemporarilyUnavailableException) String added in v1.28.0

String returns the string representation

type TerminateAppInput added in v1.15.83

type TerminateAppInput struct {

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

func (TerminateAppInput) GoString added in v1.15.83

func (s TerminateAppInput) GoString() string

GoString returns the string representation

func (*TerminateAppInput) SetAppId added in v1.15.83

func (s *TerminateAppInput) SetAppId(v string) *TerminateAppInput

SetAppId sets the AppId field's value.

func (TerminateAppInput) String added in v1.15.83

func (s TerminateAppInput) String() string

String returns the string representation

type TerminateAppOutput added in v1.15.83

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

func (TerminateAppOutput) GoString added in v1.15.83

func (s TerminateAppOutput) GoString() string

GoString returns the string representation

func (TerminateAppOutput) String added in v1.15.83

func (s TerminateAppOutput) String() string

String returns the string representation

type UnauthorizedOperationException added in v1.28.0

type UnauthorizedOperationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

func (*UnauthorizedOperationException) Code added in v1.28.0

Code returns the exception type name.

func (*UnauthorizedOperationException) Error added in v1.28.0

func (UnauthorizedOperationException) GoString added in v1.28.0

GoString returns the string representation

func (*UnauthorizedOperationException) Message added in v1.28.0

Message returns the exception's message.

func (*UnauthorizedOperationException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*UnauthorizedOperationException) RequestID added in v1.28.0

func (s *UnauthorizedOperationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*UnauthorizedOperationException) StatusCode added in v1.28.0

func (s *UnauthorizedOperationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (UnauthorizedOperationException) String added in v1.28.0

String returns the string representation

type UpdateAppInput added in v1.15.83

type UpdateAppInput struct {

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

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

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

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

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

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

func (UpdateAppInput) GoString added in v1.15.83

func (s UpdateAppInput) GoString() string

GoString returns the string representation

func (*UpdateAppInput) SetAppId added in v1.15.83

func (s *UpdateAppInput) SetAppId(v string) *UpdateAppInput

SetAppId sets the AppId field's value.

func (*UpdateAppInput) SetDescription added in v1.15.83

func (s *UpdateAppInput) SetDescription(v string) *UpdateAppInput

SetDescription sets the Description field's value.

func (*UpdateAppInput) SetName added in v1.15.83

func (s *UpdateAppInput) SetName(v string) *UpdateAppInput

SetName sets the Name field's value.

func (*UpdateAppInput) SetRoleName added in v1.15.83

func (s *UpdateAppInput) SetRoleName(v string) *UpdateAppInput

SetRoleName sets the RoleName field's value.

func (*UpdateAppInput) SetServerGroups added in v1.15.83

func (s *UpdateAppInput) SetServerGroups(v []*ServerGroup) *UpdateAppInput

SetServerGroups sets the ServerGroups field's value.

func (*UpdateAppInput) SetTags added in v1.15.83

func (s *UpdateAppInput) SetTags(v []*Tag) *UpdateAppInput

SetTags sets the Tags field's value.

func (UpdateAppInput) String added in v1.15.83

func (s UpdateAppInput) String() string

String returns the string representation

type UpdateAppOutput added in v1.15.83

type UpdateAppOutput struct {

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

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

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

func (UpdateAppOutput) GoString added in v1.15.83

func (s UpdateAppOutput) GoString() string

GoString returns the string representation

func (*UpdateAppOutput) SetAppSummary added in v1.15.83

func (s *UpdateAppOutput) SetAppSummary(v *AppSummary) *UpdateAppOutput

SetAppSummary sets the AppSummary field's value.

func (*UpdateAppOutput) SetServerGroups added in v1.15.83

func (s *UpdateAppOutput) SetServerGroups(v []*ServerGroup) *UpdateAppOutput

SetServerGroups sets the ServerGroups field's value.

func (*UpdateAppOutput) SetTags added in v1.15.83

func (s *UpdateAppOutput) SetTags(v []*Tag) *UpdateAppOutput

SetTags sets the Tags field's value.

func (UpdateAppOutput) String added in v1.15.83

func (s UpdateAppOutput) String() string

String returns the string representation

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. For more information,
	// KmsKeyId.
	Encrypted *bool `locationName:"encrypted" type:"boolean"`

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

	// The ID of the KMS key for replication jobs that produce encrypted AMIs. This
	// value can be any of the following:
	//
	//    * KMS key ID
	//
	//    * KMS key alias
	//
	//    * ARN referring to the KMS key ID
	//
	//    * ARN referring to the KMS key alias
	//
	// If encrypted is enabled but a KMS key ID is not specified, the customer's
	// default KMS key for Amazon 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 *string `locationName:"licenseType" type:"string" enum:"LicenseType"`

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

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

	// The ID 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
}

func (UpdateReplicationJobInput) GoString

func (s UpdateReplicationJobInput) GoString() string

GoString returns the string representation

func (*UpdateReplicationJobInput) SetDescription added in v1.5.0

SetDescription sets the Description field's value.

func (*UpdateReplicationJobInput) SetEncrypted added in v1.15.83

SetEncrypted sets the Encrypted field's value.

func (*UpdateReplicationJobInput) SetFrequency added in v1.5.0

SetFrequency sets the Frequency field's value.

func (*UpdateReplicationJobInput) SetKmsKeyId added in v1.15.83

SetKmsKeyId sets the KmsKeyId field's value.

func (*UpdateReplicationJobInput) SetLicenseType added in v1.5.0

SetLicenseType sets the LicenseType field's value.

func (*UpdateReplicationJobInput) SetNextReplicationRunStartTime added in v1.5.0

func (s *UpdateReplicationJobInput) SetNextReplicationRunStartTime(v time.Time) *UpdateReplicationJobInput

SetNextReplicationRunStartTime sets the NextReplicationRunStartTime field's value.

func (*UpdateReplicationJobInput) SetNumberOfRecentAmisToKeep added in v1.15.83

func (s *UpdateReplicationJobInput) SetNumberOfRecentAmisToKeep(v int64) *UpdateReplicationJobInput

SetNumberOfRecentAmisToKeep sets the NumberOfRecentAmisToKeep field's value.

func (*UpdateReplicationJobInput) SetReplicationJobId added in v1.5.0

func (s *UpdateReplicationJobInput) SetReplicationJobId(v string) *UpdateReplicationJobInput

SetReplicationJobId sets the ReplicationJobId field's value.

func (*UpdateReplicationJobInput) SetRoleName added in v1.5.0

SetRoleName sets the RoleName field's value.

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
}

func (UpdateReplicationJobOutput) GoString

func (s UpdateReplicationJobOutput) GoString() string

GoString returns the string representation

func (UpdateReplicationJobOutput) String

String returns the string representation

type UserData added in v1.15.83

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.

func (UserData) GoString added in v1.15.83

func (s UserData) GoString() string

GoString returns the string representation

func (*UserData) SetS3Location added in v1.15.83

func (s *UserData) SetS3Location(v *S3Location) *UserData

SetS3Location sets the S3Location field's value.

func (UserData) String added in v1.15.83

func (s UserData) String() string

String returns the string representation

func (*UserData) Validate added in v1.34.0

func (s *UserData) Validate() error

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

type UserDataValidationParameters added in v1.34.0

type UserDataValidationParameters struct {

	// The type of validation script.
	ScriptType *string `locationName:"scriptType" type:"string" enum:"ScriptType"`

	// The location of the validation script.
	Source *Source `locationName:"source" type:"structure"`
	// contains filtered or unexported fields
}

Contains validation parameters.

func (UserDataValidationParameters) GoString added in v1.34.0

func (s UserDataValidationParameters) GoString() string

GoString returns the string representation

func (*UserDataValidationParameters) SetScriptType added in v1.34.0

SetScriptType sets the ScriptType field's value.

func (*UserDataValidationParameters) SetSource added in v1.34.0

SetSource sets the Source field's value.

func (UserDataValidationParameters) String added in v1.34.0

String returns the string representation

func (*UserDataValidationParameters) Validate added in v1.34.0

func (s *UserDataValidationParameters) Validate() error

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

type ValidationOutput added in v1.34.0

type ValidationOutput struct {

	// The output from validating an application.
	AppValidationOutput *AppValidationOutput `locationName:"appValidationOutput" type:"structure"`

	// The latest time that the validation was performed.
	LatestValidationTime *time.Time `locationName:"latestValidationTime" type:"timestamp"`

	// The name of the validation.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The output from validation an instance.
	ServerValidationOutput *ServerValidationOutput `locationName:"serverValidationOutput" type:"structure"`

	// The status of the validation.
	Status *string `locationName:"status" type:"string" enum:"ValidationStatus"`

	// The status message.
	StatusMessage *string `locationName:"statusMessage" type:"string"`

	// The ID of the validation.
	ValidationId *string `locationName:"validationId" type:"string"`
	// contains filtered or unexported fields
}

Contains validation output.

func (ValidationOutput) GoString added in v1.34.0

func (s ValidationOutput) GoString() string

GoString returns the string representation

func (*ValidationOutput) SetAppValidationOutput added in v1.34.0

func (s *ValidationOutput) SetAppValidationOutput(v *AppValidationOutput) *ValidationOutput

SetAppValidationOutput sets the AppValidationOutput field's value.

func (*ValidationOutput) SetLatestValidationTime added in v1.34.0

func (s *ValidationOutput) SetLatestValidationTime(v time.Time) *ValidationOutput

SetLatestValidationTime sets the LatestValidationTime field's value.

func (*ValidationOutput) SetName added in v1.34.0

func (s *ValidationOutput) SetName(v string) *ValidationOutput

SetName sets the Name field's value.

func (*ValidationOutput) SetServerValidationOutput added in v1.34.0

func (s *ValidationOutput) SetServerValidationOutput(v *ServerValidationOutput) *ValidationOutput

SetServerValidationOutput sets the ServerValidationOutput field's value.

func (*ValidationOutput) SetStatus added in v1.34.0

func (s *ValidationOutput) SetStatus(v string) *ValidationOutput

SetStatus sets the Status field's value.

func (*ValidationOutput) SetStatusMessage added in v1.34.0

func (s *ValidationOutput) SetStatusMessage(v string) *ValidationOutput

SetStatusMessage sets the StatusMessage field's value.

func (*ValidationOutput) SetValidationId added in v1.34.0

func (s *ValidationOutput) SetValidationId(v string) *ValidationOutput

SetValidationId sets the ValidationId field's value.

func (ValidationOutput) String added in v1.34.0

func (s ValidationOutput) String() string

String returns the string representation

type VmServer

type VmServer struct {

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

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

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

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

Represents a VM server.

func (VmServer) GoString

func (s VmServer) GoString() string

GoString returns the string representation

func (*VmServer) SetVmManagerName added in v1.5.0

func (s *VmServer) SetVmManagerName(v string) *VmServer

SetVmManagerName sets the VmManagerName field's value.

func (*VmServer) SetVmManagerType added in v1.5.0

func (s *VmServer) SetVmManagerType(v string) *VmServer

SetVmManagerType sets the VmManagerType field's value.

func (*VmServer) SetVmName added in v1.5.0

func (s *VmServer) SetVmName(v string) *VmServer

SetVmName sets the VmName field's value.

func (*VmServer) SetVmPath added in v1.5.0

func (s *VmServer) SetVmPath(v string) *VmServer

SetVmPath sets the VmPath field's value.

func (*VmServer) SetVmServerAddress added in v1.5.0

func (s *VmServer) SetVmServerAddress(v *VmServerAddress) *VmServer

SetVmServerAddress sets the VmServerAddress field's value.

func (VmServer) String

func (s VmServer) String() string

String returns the string representation

type VmServerAddress

type VmServerAddress struct {

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

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

Represents a VM server location.

func (VmServerAddress) GoString

func (s VmServerAddress) GoString() string

GoString returns the string representation

func (*VmServerAddress) SetVmId added in v1.5.0

func (s *VmServerAddress) SetVmId(v string) *VmServerAddress

SetVmId sets the VmId field's value.

func (*VmServerAddress) SetVmManagerId added in v1.5.0

func (s *VmServerAddress) SetVmManagerId(v string) *VmServerAddress

SetVmManagerId sets the VmManagerId field's value.

func (VmServerAddress) String

func (s VmServerAddress) String() string

String returns the string representation

Directories

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

Jump to

Keyboard shortcuts

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