Documentation ¶
Overview ¶
Package sms provides the client and types for making API requests to SMS.
This is the AWS Sever Migration Service API Reference. It provides descriptions, syntax, and usage examples for each of the actions and data types for the AWS Sever Migration Service (AWS SMS). The topic for each action shows the Query API request parameters and the XML response. You can also view the XML request elements in the WSDL.
Alternatively, you can use one of the AWS SDKs to access an API that's tailored to the programming language or platform that you're using. For more information, see AWS SDKs (http://aws.amazon.com/tools/#SDKs).
To learn more about the Server Migration Service, see the following resources:
AWS Sever Migration Service product page (https://aws.amazon.com/server-migration-service/)
AWS Sever Migration Service User Guide (https://docs.aws.amazon.com/server-migration-service/latest/userguide/server-migration.html)
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 use SMS 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 SMS client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/sms/#New
Index ¶
- Constants
- type AppLaunchStatus
- type AppReplicationStatus
- type AppStatus
- type AppSummary
- type Client
- func (c *Client) CreateAppRequest(input *CreateAppInput) CreateAppRequest
- func (c *Client) CreateReplicationJobRequest(input *CreateReplicationJobInput) CreateReplicationJobRequest
- func (c *Client) DeleteAppLaunchConfigurationRequest(input *DeleteAppLaunchConfigurationInput) DeleteAppLaunchConfigurationRequest
- func (c *Client) DeleteAppReplicationConfigurationRequest(input *DeleteAppReplicationConfigurationInput) DeleteAppReplicationConfigurationRequest
- func (c *Client) DeleteAppRequest(input *DeleteAppInput) DeleteAppRequest
- func (c *Client) DeleteReplicationJobRequest(input *DeleteReplicationJobInput) DeleteReplicationJobRequest
- func (c *Client) DeleteServerCatalogRequest(input *DeleteServerCatalogInput) DeleteServerCatalogRequest
- func (c *Client) DisassociateConnectorRequest(input *DisassociateConnectorInput) DisassociateConnectorRequest
- func (c *Client) GenerateChangeSetRequest(input *GenerateChangeSetInput) GenerateChangeSetRequest
- func (c *Client) GenerateTemplateRequest(input *GenerateTemplateInput) GenerateTemplateRequest
- func (c *Client) GetAppLaunchConfigurationRequest(input *GetAppLaunchConfigurationInput) GetAppLaunchConfigurationRequest
- func (c *Client) GetAppReplicationConfigurationRequest(input *GetAppReplicationConfigurationInput) GetAppReplicationConfigurationRequest
- func (c *Client) GetAppRequest(input *GetAppInput) GetAppRequest
- func (c *Client) GetConnectorsRequest(input *GetConnectorsInput) GetConnectorsRequest
- func (c *Client) GetReplicationJobsRequest(input *GetReplicationJobsInput) GetReplicationJobsRequest
- func (c *Client) GetReplicationRunsRequest(input *GetReplicationRunsInput) GetReplicationRunsRequest
- func (c *Client) GetServersRequest(input *GetServersInput) GetServersRequest
- func (c *Client) ImportServerCatalogRequest(input *ImportServerCatalogInput) ImportServerCatalogRequest
- func (c *Client) LaunchAppRequest(input *LaunchAppInput) LaunchAppRequest
- func (c *Client) ListAppsRequest(input *ListAppsInput) ListAppsRequest
- func (c *Client) PutAppLaunchConfigurationRequest(input *PutAppLaunchConfigurationInput) PutAppLaunchConfigurationRequest
- func (c *Client) PutAppReplicationConfigurationRequest(input *PutAppReplicationConfigurationInput) PutAppReplicationConfigurationRequest
- func (c *Client) StartAppReplicationRequest(input *StartAppReplicationInput) StartAppReplicationRequest
- func (c *Client) StartOnDemandReplicationRunRequest(input *StartOnDemandReplicationRunInput) StartOnDemandReplicationRunRequest
- func (c *Client) StopAppReplicationRequest(input *StopAppReplicationInput) StopAppReplicationRequest
- func (c *Client) TerminateAppRequest(input *TerminateAppInput) TerminateAppRequest
- func (c *Client) UpdateAppRequest(input *UpdateAppInput) UpdateAppRequest
- func (c *Client) UpdateReplicationJobRequest(input *UpdateReplicationJobInput) UpdateReplicationJobRequest
- type Connector
- type ConnectorCapability
- type ConnectorStatus
- type CreateAppInput
- type CreateAppOutput
- type CreateAppRequest
- type CreateAppResponse
- type CreateReplicationJobInput
- type CreateReplicationJobOutput
- type CreateReplicationJobRequest
- type CreateReplicationJobResponse
- type DeleteAppInput
- type DeleteAppLaunchConfigurationInput
- type DeleteAppLaunchConfigurationOutput
- type DeleteAppLaunchConfigurationRequest
- type DeleteAppLaunchConfigurationResponse
- type DeleteAppOutput
- type DeleteAppReplicationConfigurationInput
- type DeleteAppReplicationConfigurationOutput
- type DeleteAppReplicationConfigurationRequest
- type DeleteAppReplicationConfigurationResponse
- type DeleteAppRequest
- type DeleteAppResponse
- type DeleteReplicationJobInput
- type DeleteReplicationJobOutput
- type DeleteReplicationJobRequest
- type DeleteReplicationJobResponse
- type DeleteServerCatalogInput
- type DeleteServerCatalogOutput
- type DeleteServerCatalogRequest
- type DeleteServerCatalogResponse
- type DisassociateConnectorInput
- type DisassociateConnectorOutput
- type DisassociateConnectorRequest
- type DisassociateConnectorResponse
- type GenerateChangeSetInput
- type GenerateChangeSetOutput
- type GenerateChangeSetRequest
- type GenerateChangeSetResponse
- type GenerateTemplateInput
- type GenerateTemplateOutput
- type GenerateTemplateRequest
- type GenerateTemplateResponse
- type GetAppInput
- type GetAppLaunchConfigurationInput
- type GetAppLaunchConfigurationOutput
- type GetAppLaunchConfigurationRequest
- type GetAppLaunchConfigurationResponse
- type GetAppOutput
- type GetAppReplicationConfigurationInput
- type GetAppReplicationConfigurationOutput
- type GetAppReplicationConfigurationRequest
- type GetAppReplicationConfigurationResponse
- type GetAppRequest
- type GetAppResponse
- type GetConnectorsInput
- type GetConnectorsOutput
- type GetConnectorsPaginator
- type GetConnectorsRequest
- type GetConnectorsResponse
- type GetReplicationJobsInput
- type GetReplicationJobsOutput
- type GetReplicationJobsPaginator
- type GetReplicationJobsRequest
- type GetReplicationJobsResponse
- type GetReplicationRunsInput
- type GetReplicationRunsOutput
- type GetReplicationRunsPaginator
- type GetReplicationRunsRequest
- type GetReplicationRunsResponse
- type GetServersInput
- type GetServersOutput
- type GetServersPaginator
- type GetServersRequest
- type GetServersResponse
- type ImportServerCatalogInput
- type ImportServerCatalogOutput
- type ImportServerCatalogRequest
- type ImportServerCatalogResponse
- type LaunchAppInput
- type LaunchAppOutput
- type LaunchAppRequest
- type LaunchAppResponse
- type LaunchDetails
- type LicenseType
- type ListAppsInput
- type ListAppsOutput
- type ListAppsRequest
- type ListAppsResponse
- type OutputFormat
- type PutAppLaunchConfigurationInput
- type PutAppLaunchConfigurationOutput
- type PutAppLaunchConfigurationRequest
- type PutAppLaunchConfigurationResponse
- type PutAppReplicationConfigurationInput
- type PutAppReplicationConfigurationOutput
- type PutAppReplicationConfigurationRequest
- type PutAppReplicationConfigurationResponse
- type ReplicationJob
- type ReplicationJobState
- type ReplicationRun
- type ReplicationRunStageDetails
- type ReplicationRunState
- type ReplicationRunType
- type S3Location
- type Server
- type ServerCatalogStatus
- type ServerGroup
- type ServerGroupLaunchConfiguration
- type ServerGroupReplicationConfiguration
- type ServerLaunchConfiguration
- type ServerReplicationConfiguration
- type ServerReplicationParameters
- type ServerType
- type StartAppReplicationInput
- type StartAppReplicationOutput
- type StartAppReplicationRequest
- type StartAppReplicationResponse
- type StartOnDemandReplicationRunInput
- type StartOnDemandReplicationRunOutput
- type StartOnDemandReplicationRunRequest
- type StartOnDemandReplicationRunResponse
- type StopAppReplicationInput
- type StopAppReplicationOutput
- type StopAppReplicationRequest
- type StopAppReplicationResponse
- type Tag
- type TerminateAppInput
- type TerminateAppOutput
- type TerminateAppRequest
- type TerminateAppResponse
- type UpdateAppInput
- type UpdateAppOutput
- type UpdateAppRequest
- type UpdateAppResponse
- type UpdateReplicationJobInput
- type UpdateReplicationJobOutput
- type UpdateReplicationJobRequest
- type UpdateReplicationJobResponse
- type UserData
- type VmManagerType
- type VmServer
- type VmServerAddress
Constants ¶
const ( ServiceName = "SMS" // Service's name ServiceID = "SMS" // Service's identifier EndpointsID = "sms" // Service's Endpoint identifier )
const ( // ErrCodeInternalError for service response error code // "InternalError". // // An internal error occurred. ErrCodeInternalError = "InternalError" // ErrCodeInvalidParameterException for service response error code // "InvalidParameterException". // // A specified parameter is not valid. ErrCodeInvalidParameterException = "InvalidParameterException" // ErrCodeMissingRequiredParameterException for service response error code // "MissingRequiredParameterException". // // A required parameter is missing. ErrCodeMissingRequiredParameterException = "MissingRequiredParameterException" // ErrCodeNoConnectorsAvailableException for service response error code // "NoConnectorsAvailableException". // // There are no connectors available. ErrCodeNoConnectorsAvailableException = "NoConnectorsAvailableException" // ErrCodeOperationNotPermittedException for service response error code // "OperationNotPermittedException". // // This operation is not allowed. ErrCodeOperationNotPermittedException = "OperationNotPermittedException" // ErrCodeReplicationJobAlreadyExistsException for service response error code // "ReplicationJobAlreadyExistsException". // // The specified replication job already exists. ErrCodeReplicationJobAlreadyExistsException = "ReplicationJobAlreadyExistsException" // ErrCodeReplicationJobNotFoundException for service response error code // "ReplicationJobNotFoundException". // // The specified replication job does not exist. ErrCodeReplicationJobNotFoundException = "ReplicationJobNotFoundException" // ErrCodeReplicationRunLimitExceededException for service response error code // "ReplicationRunLimitExceededException". // // You have exceeded the number of on-demand replication runs you can request // in a 24-hour period. ErrCodeReplicationRunLimitExceededException = "ReplicationRunLimitExceededException" // ErrCodeServerCannotBeReplicatedException for service response error code // "ServerCannotBeReplicatedException". // // The specified server cannot be replicated. ErrCodeServerCannotBeReplicatedException = "ServerCannotBeReplicatedException" // "TemporarilyUnavailableException". // // The service is temporarily unavailable. ErrCodeTemporarilyUnavailableException = "TemporarilyUnavailableException" // "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" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppLaunchStatus ¶ added in v0.6.0
type AppLaunchStatus string
const ( AppLaunchStatusReadyForConfiguration AppLaunchStatus = "READY_FOR_CONFIGURATION" AppLaunchStatusConfigurationInProgress AppLaunchStatus = "CONFIGURATION_IN_PROGRESS" AppLaunchStatusConfigurationInvalid AppLaunchStatus = "CONFIGURATION_INVALID" AppLaunchStatusReadyForLaunch AppLaunchStatus = "READY_FOR_LAUNCH" AppLaunchStatusValidationInProgress AppLaunchStatus = "VALIDATION_IN_PROGRESS" AppLaunchStatusLaunchPending AppLaunchStatus = "LAUNCH_PENDING" AppLaunchStatusLaunchInProgress AppLaunchStatus = "LAUNCH_IN_PROGRESS" AppLaunchStatusLaunched AppLaunchStatus = "LAUNCHED" AppLaunchStatusDeltaLaunchInProgress AppLaunchStatus = "DELTA_LAUNCH_IN_PROGRESS" AppLaunchStatusDeltaLaunchFailed AppLaunchStatus = "DELTA_LAUNCH_FAILED" AppLaunchStatusLaunchFailed AppLaunchStatus = "LAUNCH_FAILED" AppLaunchStatusTerminateInProgress AppLaunchStatus = "TERMINATE_IN_PROGRESS" AppLaunchStatusTerminateFailed AppLaunchStatus = "TERMINATE_FAILED" AppLaunchStatusTerminated AppLaunchStatus = "TERMINATED" )
Enum values for AppLaunchStatus
func (AppLaunchStatus) MarshalValue ¶ added in v0.6.0
func (enum AppLaunchStatus) MarshalValue() (string, error)
func (AppLaunchStatus) MarshalValueBuf ¶ added in v0.6.0
func (enum AppLaunchStatus) MarshalValueBuf(b []byte) ([]byte, error)
type AppReplicationStatus ¶ added in v0.6.0
type AppReplicationStatus string
const ( AppReplicationStatusReadyForConfiguration AppReplicationStatus = "READY_FOR_CONFIGURATION" AppReplicationStatusConfigurationInProgress AppReplicationStatus = "CONFIGURATION_IN_PROGRESS" AppReplicationStatusConfigurationInvalid AppReplicationStatus = "CONFIGURATION_INVALID" AppReplicationStatusReadyForReplication AppReplicationStatus = "READY_FOR_REPLICATION" AppReplicationStatusValidationInProgress AppReplicationStatus = "VALIDATION_IN_PROGRESS" AppReplicationStatusReplicationPending AppReplicationStatus = "REPLICATION_PENDING" AppReplicationStatusReplicationInProgress AppReplicationStatus = "REPLICATION_IN_PROGRESS" AppReplicationStatusReplicated AppReplicationStatus = "REPLICATED" AppReplicationStatusDeltaReplicationInProgress AppReplicationStatus = "DELTA_REPLICATION_IN_PROGRESS" AppReplicationStatusDeltaReplicated AppReplicationStatus = "DELTA_REPLICATED" AppReplicationStatusDeltaReplicationFailed AppReplicationStatus = "DELTA_REPLICATION_FAILED" AppReplicationStatusReplicationFailed AppReplicationStatus = "REPLICATION_FAILED" AppReplicationStatusReplicationStopping AppReplicationStatus = "REPLICATION_STOPPING" AppReplicationStatusReplicationStopFailed AppReplicationStatus = "REPLICATION_STOP_FAILED" AppReplicationStatusReplicationStopped AppReplicationStatus = "REPLICATION_STOPPED" )
Enum values for AppReplicationStatus
func (AppReplicationStatus) MarshalValue ¶ added in v0.6.0
func (enum AppReplicationStatus) MarshalValue() (string, error)
func (AppReplicationStatus) MarshalValueBuf ¶ added in v0.6.0
func (enum AppReplicationStatus) MarshalValueBuf(b []byte) ([]byte, error)
type AppStatus ¶ added in v0.6.0
type AppStatus string
const ( AppStatusCreating AppStatus = "CREATING" AppStatusActive AppStatus = "ACTIVE" AppStatusUpdating AppStatus = "UPDATING" AppStatusDeleting AppStatus = "DELETING" AppStatusDeleted AppStatus = "DELETED" AppStatusDeleteFailed AppStatus = "DELETE_FAILED" )
Enum values for AppStatus
func (AppStatus) MarshalValue ¶ added in v0.6.0
type AppSummary ¶ added in v0.6.0
type AppSummary struct { // Unique ID of the application. AppId *string `locationName:"appId" type:"string"` // Time of creation of this application. CreationTime *time.Time `locationName:"creationTime" type:"timestamp"` // Description of the application. Description *string `locationName:"description" type:"string"` // Timestamp of the application's creation. LastModified *time.Time `locationName:"lastModified" type:"timestamp"` // Timestamp of the application's most recent successful replication. LatestReplicationTime *time.Time `locationName:"latestReplicationTime" type:"timestamp"` // Details about the latest launch of the application. LaunchDetails *LaunchDetails `locationName:"launchDetails" type:"structure"` // Launch status of the application. LaunchStatus AppLaunchStatus `locationName:"launchStatus" type:"string" enum:"true"` // A message related to the launch status of the application. LaunchStatusMessage *string `locationName:"launchStatusMessage" type:"string"` // Name of the application. Name *string `locationName:"name" type:"string"` // Replication status of the application. ReplicationStatus AppReplicationStatus `locationName:"replicationStatus" type:"string" enum:"true"` // A message related to the replication status of the application. ReplicationStatusMessage *string `locationName:"replicationStatusMessage" type:"string"` // Name of the service role in the customer's account used by AWS SMS. RoleName *string `locationName:"roleName" type:"string"` // Status of the application. Status AppStatus `locationName:"status" type:"string" enum:"true"` // A message related to the status of the application StatusMessage *string `locationName:"statusMessage" type:"string"` // Number of server groups present in the application. TotalServerGroups *int64 `locationName:"totalServerGroups" type:"integer"` // Number of servers present in the application. TotalServers *int64 `locationName:"totalServers" type:"integer"` // contains filtered or unexported fields }
Information about the application.
func (AppSummary) String ¶ added in v0.6.0
func (s AppSummary) String() string
String returns the string representation
type Client ¶ added in v0.9.0
Client provides the API operation methods for making requests to SMS. See this package's package overview docs for details on the service.
The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
New creates a new instance of the client from the provided Config.
Example:
// Create a client from just a config. svc := sms.New(myConfig)
func (*Client) CreateAppRequest ¶ added in v0.9.0
func (c *Client) CreateAppRequest(input *CreateAppInput) CreateAppRequest
CreateAppRequest returns a request value for making API operation for AWS Server Migration Service.
Creates an application. An application consists of one or more server groups. Each server group contain one or more servers.
// Example sending a request using CreateAppRequest. req := client.CreateAppRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/CreateApp
func (*Client) CreateReplicationJobRequest ¶ added in v0.9.0
func (c *Client) CreateReplicationJobRequest(input *CreateReplicationJobInput) CreateReplicationJobRequest
CreateReplicationJobRequest returns a request value for making API operation for AWS Server Migration Service.
Creates a replication job. The replication job schedules periodic replication runs to replicate your server to AWS. Each replication run creates an Amazon Machine Image (AMI).
// Example sending a request using CreateReplicationJobRequest. req := client.CreateReplicationJobRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/CreateReplicationJob
func (*Client) DeleteAppLaunchConfigurationRequest ¶ added in v0.9.0
func (c *Client) DeleteAppLaunchConfigurationRequest(input *DeleteAppLaunchConfigurationInput) DeleteAppLaunchConfigurationRequest
DeleteAppLaunchConfigurationRequest returns a request value for making API operation for AWS Server Migration Service.
Deletes existing launch configuration for an application.
// Example sending a request using DeleteAppLaunchConfigurationRequest. req := client.DeleteAppLaunchConfigurationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteAppLaunchConfiguration
func (*Client) DeleteAppReplicationConfigurationRequest ¶ added in v0.9.0
func (c *Client) DeleteAppReplicationConfigurationRequest(input *DeleteAppReplicationConfigurationInput) DeleteAppReplicationConfigurationRequest
DeleteAppReplicationConfigurationRequest returns a request value for making API operation for AWS Server Migration Service.
Deletes existing replication configuration for an application.
// Example sending a request using DeleteAppReplicationConfigurationRequest. req := client.DeleteAppReplicationConfigurationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteAppReplicationConfiguration
func (*Client) DeleteAppRequest ¶ added in v0.9.0
func (c *Client) DeleteAppRequest(input *DeleteAppInput) DeleteAppRequest
DeleteAppRequest returns a request value for making API operation for AWS Server Migration Service.
Deletes an existing application. Optionally deletes the launched stack associated with the application and all AWS SMS replication jobs for servers in the application.
// Example sending a request using DeleteAppRequest. req := client.DeleteAppRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteApp
func (*Client) DeleteReplicationJobRequest ¶ added in v0.9.0
func (c *Client) DeleteReplicationJobRequest(input *DeleteReplicationJobInput) DeleteReplicationJobRequest
DeleteReplicationJobRequest returns a request value for making API operation for AWS Server Migration Service.
Deletes the specified replication job.
After you delete a replication job, there are no further replication runs. AWS deletes the contents of the Amazon S3 bucket used to store AWS SMS artifacts. The AMIs created by the replication runs are not deleted.
// Example sending a request using DeleteReplicationJobRequest. req := client.DeleteReplicationJobRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteReplicationJob
func (*Client) DeleteServerCatalogRequest ¶ added in v0.9.0
func (c *Client) DeleteServerCatalogRequest(input *DeleteServerCatalogInput) DeleteServerCatalogRequest
DeleteServerCatalogRequest returns a request value for making API operation for AWS Server Migration Service.
Deletes all servers from your server catalog.
// Example sending a request using DeleteServerCatalogRequest. req := client.DeleteServerCatalogRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteServerCatalog
func (*Client) DisassociateConnectorRequest ¶ added in v0.9.0
func (c *Client) DisassociateConnectorRequest(input *DisassociateConnectorInput) DisassociateConnectorRequest
DisassociateConnectorRequest returns a request value for making API operation for AWS Server Migration Service.
Disassociates the specified connector from AWS SMS.
After you disassociate a connector, it is no longer available to support replication jobs.
// Example sending a request using DisassociateConnectorRequest. req := client.DisassociateConnectorRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DisassociateConnector
func (*Client) GenerateChangeSetRequest ¶ added in v0.9.0
func (c *Client) GenerateChangeSetRequest(input *GenerateChangeSetInput) GenerateChangeSetRequest
GenerateChangeSetRequest returns a request value for making API operation for AWS Server Migration Service.
Generates a target change set for a currently launched stack and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
// Example sending a request using GenerateChangeSetRequest. req := client.GenerateChangeSetRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GenerateChangeSet
func (*Client) GenerateTemplateRequest ¶ added in v0.9.0
func (c *Client) GenerateTemplateRequest(input *GenerateTemplateInput) GenerateTemplateRequest
GenerateTemplateRequest returns a request value for making API operation for AWS Server Migration Service.
Generates an Amazon CloudFormation template based on the current launch configuration and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
// Example sending a request using GenerateTemplateRequest. req := client.GenerateTemplateRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GenerateTemplate
func (*Client) GetAppLaunchConfigurationRequest ¶ added in v0.9.0
func (c *Client) GetAppLaunchConfigurationRequest(input *GetAppLaunchConfigurationInput) GetAppLaunchConfigurationRequest
GetAppLaunchConfigurationRequest returns a request value for making API operation for AWS Server Migration Service.
Retrieves the application launch configuration associated with an application.
// Example sending a request using GetAppLaunchConfigurationRequest. req := client.GetAppLaunchConfigurationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppLaunchConfiguration
func (*Client) GetAppReplicationConfigurationRequest ¶ added in v0.9.0
func (c *Client) GetAppReplicationConfigurationRequest(input *GetAppReplicationConfigurationInput) GetAppReplicationConfigurationRequest
GetAppReplicationConfigurationRequest returns a request value for making API operation for AWS Server Migration Service.
Retrieves an application replication configuration associatd with an application.
// Example sending a request using GetAppReplicationConfigurationRequest. req := client.GetAppReplicationConfigurationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppReplicationConfiguration
func (*Client) GetAppRequest ¶ added in v0.9.0
func (c *Client) GetAppRequest(input *GetAppInput) GetAppRequest
GetAppRequest returns a request value for making API operation for AWS Server Migration Service.
Retrieve information about an application.
// Example sending a request using GetAppRequest. req := client.GetAppRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetApp
func (*Client) GetConnectorsRequest ¶ added in v0.9.0
func (c *Client) GetConnectorsRequest(input *GetConnectorsInput) GetConnectorsRequest
GetConnectorsRequest returns a request value for making API operation for AWS Server Migration Service.
Describes the connectors registered with the AWS SMS.
// Example sending a request using GetConnectorsRequest. req := client.GetConnectorsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetConnectors
func (*Client) GetReplicationJobsRequest ¶ added in v0.9.0
func (c *Client) GetReplicationJobsRequest(input *GetReplicationJobsInput) GetReplicationJobsRequest
GetReplicationJobsRequest returns a request value for making API operation for AWS Server Migration Service.
Describes the specified replication job or all of your replication jobs.
// Example sending a request using GetReplicationJobsRequest. req := client.GetReplicationJobsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetReplicationJobs
func (*Client) GetReplicationRunsRequest ¶ added in v0.9.0
func (c *Client) GetReplicationRunsRequest(input *GetReplicationRunsInput) GetReplicationRunsRequest
GetReplicationRunsRequest returns a request value for making API operation for AWS Server Migration Service.
Describes the replication runs for the specified replication job.
// Example sending a request using GetReplicationRunsRequest. req := client.GetReplicationRunsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetReplicationRuns
func (*Client) GetServersRequest ¶ added in v0.9.0
func (c *Client) GetServersRequest(input *GetServersInput) GetServersRequest
GetServersRequest returns a request value for making API operation for AWS Server Migration Service.
Describes the servers in your server catalog.
Before you can describe your servers, you must import them using ImportServerCatalog.
// Example sending a request using GetServersRequest. req := client.GetServersRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetServers
func (*Client) ImportServerCatalogRequest ¶ added in v0.9.0
func (c *Client) ImportServerCatalogRequest(input *ImportServerCatalogInput) ImportServerCatalogRequest
ImportServerCatalogRequest returns a request value for making API operation for AWS Server Migration Service.
Gathers a complete list of on-premises servers. Connectors must be installed and monitoring all servers that you want to import.
This call returns immediately, but might take additional time to retrieve all the servers.
// Example sending a request using ImportServerCatalogRequest. req := client.ImportServerCatalogRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ImportServerCatalog
func (*Client) LaunchAppRequest ¶ added in v0.9.0
func (c *Client) LaunchAppRequest(input *LaunchAppInput) LaunchAppRequest
LaunchAppRequest returns a request value for making API operation for AWS Server Migration Service.
Launches an application stack.
// Example sending a request using LaunchAppRequest. req := client.LaunchAppRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/LaunchApp
func (*Client) ListAppsRequest ¶ added in v0.9.0
func (c *Client) ListAppsRequest(input *ListAppsInput) ListAppsRequest
ListAppsRequest returns a request value for making API operation for AWS Server Migration Service.
Returns a list of summaries for all applications.
// Example sending a request using ListAppsRequest. req := client.ListAppsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ListApps
func (*Client) PutAppLaunchConfigurationRequest ¶ added in v0.9.0
func (c *Client) PutAppLaunchConfigurationRequest(input *PutAppLaunchConfigurationInput) PutAppLaunchConfigurationRequest
PutAppLaunchConfigurationRequest returns a request value for making API operation for AWS Server Migration Service.
Creates a launch configuration for an application.
// Example sending a request using PutAppLaunchConfigurationRequest. req := client.PutAppLaunchConfigurationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/PutAppLaunchConfiguration
func (*Client) PutAppReplicationConfigurationRequest ¶ added in v0.9.0
func (c *Client) PutAppReplicationConfigurationRequest(input *PutAppReplicationConfigurationInput) PutAppReplicationConfigurationRequest
PutAppReplicationConfigurationRequest returns a request value for making API operation for AWS Server Migration Service.
Creates or updates a replication configuration for an application.
// Example sending a request using PutAppReplicationConfigurationRequest. req := client.PutAppReplicationConfigurationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/PutAppReplicationConfiguration
func (*Client) StartAppReplicationRequest ¶ added in v0.9.0
func (c *Client) StartAppReplicationRequest(input *StartAppReplicationInput) StartAppReplicationRequest
StartAppReplicationRequest returns a request value for making API operation for AWS Server Migration Service.
Starts replicating an application.
// Example sending a request using StartAppReplicationRequest. req := client.StartAppReplicationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartAppReplication
func (*Client) StartOnDemandReplicationRunRequest ¶ added in v0.9.0
func (c *Client) StartOnDemandReplicationRunRequest(input *StartOnDemandReplicationRunInput) StartOnDemandReplicationRunRequest
StartOnDemandReplicationRunRequest returns a request value for making API operation for AWS Server Migration Service.
Starts an on-demand replication run for the specified replication job. This replication run starts immediately. This replication run is in addition to the ones already scheduled.
There is a limit on the number of on-demand replications runs you can request in a 24-hour period.
// Example sending a request using StartOnDemandReplicationRunRequest. req := client.StartOnDemandReplicationRunRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartOnDemandReplicationRun
func (*Client) StopAppReplicationRequest ¶ added in v0.9.0
func (c *Client) StopAppReplicationRequest(input *StopAppReplicationInput) StopAppReplicationRequest
StopAppReplicationRequest returns a request value for making API operation for AWS Server Migration Service.
Stops replicating an application.
// Example sending a request using StopAppReplicationRequest. req := client.StopAppReplicationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StopAppReplication
func (*Client) TerminateAppRequest ¶ added in v0.9.0
func (c *Client) TerminateAppRequest(input *TerminateAppInput) TerminateAppRequest
TerminateAppRequest returns a request value for making API operation for AWS Server Migration Service.
Terminates the stack for an application.
// Example sending a request using TerminateAppRequest. req := client.TerminateAppRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/TerminateApp
func (*Client) UpdateAppRequest ¶ added in v0.9.0
func (c *Client) UpdateAppRequest(input *UpdateAppInput) UpdateAppRequest
UpdateAppRequest returns a request value for making API operation for AWS Server Migration Service.
Updates an application.
// Example sending a request using UpdateAppRequest. req := client.UpdateAppRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/UpdateApp
func (*Client) UpdateReplicationJobRequest ¶ added in v0.9.0
func (c *Client) UpdateReplicationJobRequest(input *UpdateReplicationJobInput) UpdateReplicationJobRequest
UpdateReplicationJobRequest returns a request value for making API operation for AWS Server Migration Service.
Updates the specified settings for the specified replication job.
// Example sending a request using UpdateReplicationJobRequest. req := client.UpdateReplicationJobRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/UpdateReplicationJob
type Connector ¶
type Connector struct { // The time the connector was associated. AssociatedOn *time.Time `locationName:"associatedOn" type:"timestamp"` // The capabilities of the connector. CapabilityList []ConnectorCapability `locationName:"capabilityList" type:"list"` // The identifier of the connector. ConnectorId *string `locationName:"connectorId" type:"string"` // The IP address of the connector. IpAddress *string `locationName:"ipAddress" type:"string"` // The MAC address of the connector. MacAddress *string `locationName:"macAddress" type:"string"` // The status of the connector. Status ConnectorStatus `locationName:"status" type:"string" enum:"true"` // The connector version. Version *string `locationName:"version" type:"string"` // The identifier of the VM manager. VmManagerId *string `locationName:"vmManagerId" type:"string"` // The name of the VM manager. VmManagerName *string `locationName:"vmManagerName" type:"string"` // The VM management product. VmManagerType VmManagerType `locationName:"vmManagerType" type:"string" enum:"true"` // contains filtered or unexported fields }
Represents a connector.
type ConnectorCapability ¶
type ConnectorCapability string
const ( ConnectorCapabilityVsphere ConnectorCapability = "VSPHERE" ConnectorCapabilityScvmm ConnectorCapability = "SCVMM" ConnectorCapabilityHypervManager ConnectorCapability = "HYPERV-MANAGER" ConnectorCapabilitySnapshotBatching ConnectorCapability = "SNAPSHOT_BATCHING" )
Enum values for ConnectorCapability
func (ConnectorCapability) MarshalValue ¶ added in v0.3.0
func (enum ConnectorCapability) MarshalValue() (string, error)
func (ConnectorCapability) MarshalValueBuf ¶ added in v0.3.0
func (enum ConnectorCapability) MarshalValueBuf(b []byte) ([]byte, error)
type ConnectorStatus ¶
type ConnectorStatus string
const ( ConnectorStatusHealthy ConnectorStatus = "HEALTHY" ConnectorStatusUnhealthy ConnectorStatus = "UNHEALTHY" )
Enum values for ConnectorStatus
func (ConnectorStatus) MarshalValue ¶ added in v0.3.0
func (enum ConnectorStatus) MarshalValue() (string, error)
func (ConnectorStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum ConnectorStatus) MarshalValueBuf(b []byte) ([]byte, error)
type CreateAppInput ¶ added in v0.6.0
type CreateAppInput struct { // A unique, case-sensitive identifier you provide to ensure idempotency of // application creation. ClientToken *string `locationName:"clientToken" type:"string"` // Description of the new application Description *string `locationName:"description" type:"string"` // Name of the new application. Name *string `locationName:"name" type:"string"` // Name of service role in customer's account to be used by AWS SMS. RoleName *string `locationName:"roleName" type:"string"` // List of server groups to include in the application. ServerGroups []ServerGroup `locationName:"serverGroups" type:"list"` // List of tags to be associated with the application. Tags []Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (CreateAppInput) String ¶ added in v0.6.0
func (s CreateAppInput) String() string
String returns the string representation
type CreateAppOutput ¶ added in v0.6.0
type CreateAppOutput struct { // Summary description of the application. AppSummary *AppSummary `locationName:"appSummary" type:"structure"` // List of server groups included in the application. ServerGroups []ServerGroup `locationName:"serverGroups" type:"list"` // List of taags associated with the application. Tags []Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (CreateAppOutput) String ¶ added in v0.6.0
func (s CreateAppOutput) String() string
String returns the string representation
type CreateAppRequest ¶ added in v0.6.0
type CreateAppRequest struct { *aws.Request Input *CreateAppInput Copy func(*CreateAppInput) CreateAppRequest }
CreateAppRequest is the request type for the CreateApp API operation.
func (CreateAppRequest) Send ¶ added in v0.6.0
func (r CreateAppRequest) Send(ctx context.Context) (*CreateAppResponse, error)
Send marshals and sends the CreateApp API request.
type CreateAppResponse ¶ added in v0.9.0
type CreateAppResponse struct { *CreateAppOutput // contains filtered or unexported fields }
CreateAppResponse is the response type for the CreateApp API operation.
func (*CreateAppResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateAppResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateApp request.
type CreateReplicationJobInput ¶
type CreateReplicationJobInput struct { // The description of the replication job. Description *string `locationName:"description" type:"string"` // When true, the replication job produces encrypted AMIs. See also KmsKeyId // below. Encrypted *bool `locationName:"encrypted" type:"boolean"` // The time between consecutive replication runs, in hours. Frequency *int64 `locationName:"frequency" type:"integer"` // KMS key ID for replication jobs that produce encrypted AMIs. Can be any of // the following: // // * KMS key ID // // * KMS key alias // // * ARN referring to KMS key ID // // * ARN referring to KMS key alias // // If encrypted is true but a KMS key id is not specified, the customer's default // KMS key for EBS is used. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` // The license type to be used for the AMI created by a successful replication // run. LicenseType LicenseType `locationName:"licenseType" type:"string" enum:"true"` // The maximum number of SMS-created AMIs to retain. The oldest will be deleted // once the maximum number is reached and a new AMI is created. NumberOfRecentAmisToKeep *int64 `locationName:"numberOfRecentAmisToKeep" type:"integer"` // The name of the IAM role to be used by the AWS SMS. RoleName *string `locationName:"roleName" type:"string"` RunOnce *bool `locationName:"runOnce" type:"boolean"` // The seed replication time. // // SeedReplicationTime is a required field SeedReplicationTime *time.Time `locationName:"seedReplicationTime" type:"timestamp" required:"true"` // The identifier of the server. // // ServerId is a required field ServerId *string `locationName:"serverId" type:"string" required:"true"` // contains filtered or unexported fields }
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) String ¶
func (s CreateReplicationJobOutput) String() string
String returns the string representation
type CreateReplicationJobRequest ¶
type CreateReplicationJobRequest struct { *aws.Request Input *CreateReplicationJobInput Copy func(*CreateReplicationJobInput) CreateReplicationJobRequest }
CreateReplicationJobRequest is the request type for the CreateReplicationJob API operation.
func (CreateReplicationJobRequest) Send ¶
func (r CreateReplicationJobRequest) Send(ctx context.Context) (*CreateReplicationJobResponse, error)
Send marshals and sends the CreateReplicationJob API request.
type CreateReplicationJobResponse ¶ added in v0.9.0
type CreateReplicationJobResponse struct { *CreateReplicationJobOutput // contains filtered or unexported fields }
CreateReplicationJobResponse is the response type for the CreateReplicationJob API operation.
func (*CreateReplicationJobResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateReplicationJobResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateReplicationJob request.
type DeleteAppInput ¶ added in v0.6.0
type DeleteAppInput struct { // ID of the application to delete. AppId *string `locationName:"appId" type:"string"` // While deleting the application, stop all replication jobs corresponding to // the servers in the application. ForceStopAppReplication *bool `locationName:"forceStopAppReplication" type:"boolean"` // While deleting the application, terminate the stack corresponding to the // application. ForceTerminateApp *bool `locationName:"forceTerminateApp" type:"boolean"` // contains filtered or unexported fields }
func (DeleteAppInput) String ¶ added in v0.6.0
func (s DeleteAppInput) String() string
String returns the string representation
type DeleteAppLaunchConfigurationInput ¶ added in v0.6.0
type DeleteAppLaunchConfigurationInput struct { // ID of the application associated with the launch configuration. AppId *string `locationName:"appId" type:"string"` // contains filtered or unexported fields }
func (DeleteAppLaunchConfigurationInput) String ¶ added in v0.6.0
func (s DeleteAppLaunchConfigurationInput) String() string
String returns the string representation
type DeleteAppLaunchConfigurationOutput ¶ added in v0.6.0
type DeleteAppLaunchConfigurationOutput struct {
// contains filtered or unexported fields
}
func (DeleteAppLaunchConfigurationOutput) String ¶ added in v0.6.0
func (s DeleteAppLaunchConfigurationOutput) String() string
String returns the string representation
type DeleteAppLaunchConfigurationRequest ¶ added in v0.6.0
type DeleteAppLaunchConfigurationRequest struct { *aws.Request Input *DeleteAppLaunchConfigurationInput Copy func(*DeleteAppLaunchConfigurationInput) DeleteAppLaunchConfigurationRequest }
DeleteAppLaunchConfigurationRequest is the request type for the DeleteAppLaunchConfiguration API operation.
func (DeleteAppLaunchConfigurationRequest) Send ¶ added in v0.6.0
func (r DeleteAppLaunchConfigurationRequest) Send(ctx context.Context) (*DeleteAppLaunchConfigurationResponse, error)
Send marshals and sends the DeleteAppLaunchConfiguration API request.
type DeleteAppLaunchConfigurationResponse ¶ added in v0.9.0
type DeleteAppLaunchConfigurationResponse struct { *DeleteAppLaunchConfigurationOutput // contains filtered or unexported fields }
DeleteAppLaunchConfigurationResponse is the response type for the DeleteAppLaunchConfiguration API operation.
func (*DeleteAppLaunchConfigurationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteAppLaunchConfigurationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteAppLaunchConfiguration request.
type DeleteAppOutput ¶ added in v0.6.0
type DeleteAppOutput struct {
// contains filtered or unexported fields
}
func (DeleteAppOutput) String ¶ added in v0.6.0
func (s DeleteAppOutput) String() string
String returns the string representation
type DeleteAppReplicationConfigurationInput ¶ added in v0.6.0
type DeleteAppReplicationConfigurationInput struct { // ID of the application associated with the replication configuration. AppId *string `locationName:"appId" type:"string"` // contains filtered or unexported fields }
func (DeleteAppReplicationConfigurationInput) String ¶ added in v0.6.0
func (s DeleteAppReplicationConfigurationInput) String() string
String returns the string representation
type DeleteAppReplicationConfigurationOutput ¶ added in v0.6.0
type DeleteAppReplicationConfigurationOutput struct {
// contains filtered or unexported fields
}
func (DeleteAppReplicationConfigurationOutput) String ¶ added in v0.6.0
func (s DeleteAppReplicationConfigurationOutput) String() string
String returns the string representation
type DeleteAppReplicationConfigurationRequest ¶ added in v0.6.0
type DeleteAppReplicationConfigurationRequest struct { *aws.Request Input *DeleteAppReplicationConfigurationInput Copy func(*DeleteAppReplicationConfigurationInput) DeleteAppReplicationConfigurationRequest }
DeleteAppReplicationConfigurationRequest is the request type for the DeleteAppReplicationConfiguration API operation.
func (DeleteAppReplicationConfigurationRequest) Send ¶ added in v0.6.0
func (r DeleteAppReplicationConfigurationRequest) Send(ctx context.Context) (*DeleteAppReplicationConfigurationResponse, error)
Send marshals and sends the DeleteAppReplicationConfiguration API request.
type DeleteAppReplicationConfigurationResponse ¶ added in v0.9.0
type DeleteAppReplicationConfigurationResponse struct { *DeleteAppReplicationConfigurationOutput // contains filtered or unexported fields }
DeleteAppReplicationConfigurationResponse is the response type for the DeleteAppReplicationConfiguration API operation.
func (*DeleteAppReplicationConfigurationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteAppReplicationConfigurationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteAppReplicationConfiguration request.
type DeleteAppRequest ¶ added in v0.6.0
type DeleteAppRequest struct { *aws.Request Input *DeleteAppInput Copy func(*DeleteAppInput) DeleteAppRequest }
DeleteAppRequest is the request type for the DeleteApp API operation.
func (DeleteAppRequest) Send ¶ added in v0.6.0
func (r DeleteAppRequest) Send(ctx context.Context) (*DeleteAppResponse, error)
Send marshals and sends the DeleteApp API request.
type DeleteAppResponse ¶ added in v0.9.0
type DeleteAppResponse struct { *DeleteAppOutput // contains filtered or unexported fields }
DeleteAppResponse is the response type for the DeleteApp API operation.
func (*DeleteAppResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteAppResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteApp request.
type DeleteReplicationJobInput ¶
type DeleteReplicationJobInput struct { // The identifier of the replication job. // // ReplicationJobId is a required field ReplicationJobId *string `locationName:"replicationJobId" type:"string" required:"true"` // contains filtered or unexported fields }
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) String ¶
func (s DeleteReplicationJobOutput) String() string
String returns the string representation
type DeleteReplicationJobRequest ¶
type DeleteReplicationJobRequest struct { *aws.Request Input *DeleteReplicationJobInput Copy func(*DeleteReplicationJobInput) DeleteReplicationJobRequest }
DeleteReplicationJobRequest is the request type for the DeleteReplicationJob API operation.
func (DeleteReplicationJobRequest) Send ¶
func (r DeleteReplicationJobRequest) Send(ctx context.Context) (*DeleteReplicationJobResponse, error)
Send marshals and sends the DeleteReplicationJob API request.
type DeleteReplicationJobResponse ¶ added in v0.9.0
type DeleteReplicationJobResponse struct { *DeleteReplicationJobOutput // contains filtered or unexported fields }
DeleteReplicationJobResponse is the response type for the DeleteReplicationJob API operation.
func (*DeleteReplicationJobResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteReplicationJobResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteReplicationJob request.
type DeleteServerCatalogInput ¶
type DeleteServerCatalogInput struct {
// contains filtered or unexported fields
}
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) String ¶
func (s DeleteServerCatalogOutput) String() string
String returns the string representation
type DeleteServerCatalogRequest ¶
type DeleteServerCatalogRequest struct { *aws.Request Input *DeleteServerCatalogInput Copy func(*DeleteServerCatalogInput) DeleteServerCatalogRequest }
DeleteServerCatalogRequest is the request type for the DeleteServerCatalog API operation.
func (DeleteServerCatalogRequest) Send ¶
func (r DeleteServerCatalogRequest) Send(ctx context.Context) (*DeleteServerCatalogResponse, error)
Send marshals and sends the DeleteServerCatalog API request.
type DeleteServerCatalogResponse ¶ added in v0.9.0
type DeleteServerCatalogResponse struct { *DeleteServerCatalogOutput // contains filtered or unexported fields }
DeleteServerCatalogResponse is the response type for the DeleteServerCatalog API operation.
func (*DeleteServerCatalogResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteServerCatalogResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteServerCatalog request.
type DisassociateConnectorInput ¶
type DisassociateConnectorInput struct { // The identifier of the connector. // // ConnectorId is a required field ConnectorId *string `locationName:"connectorId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DisassociateConnectorInput) String ¶
func (s DisassociateConnectorInput) String() 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) String ¶
func (s DisassociateConnectorOutput) String() string
String returns the string representation
type DisassociateConnectorRequest ¶
type DisassociateConnectorRequest struct { *aws.Request Input *DisassociateConnectorInput Copy func(*DisassociateConnectorInput) DisassociateConnectorRequest }
DisassociateConnectorRequest is the request type for the DisassociateConnector API operation.
func (DisassociateConnectorRequest) Send ¶
func (r DisassociateConnectorRequest) Send(ctx context.Context) (*DisassociateConnectorResponse, error)
Send marshals and sends the DisassociateConnector API request.
type DisassociateConnectorResponse ¶ added in v0.9.0
type DisassociateConnectorResponse struct { *DisassociateConnectorOutput // contains filtered or unexported fields }
DisassociateConnectorResponse is the response type for the DisassociateConnector API operation.
func (*DisassociateConnectorResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DisassociateConnectorResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DisassociateConnector request.
type GenerateChangeSetInput ¶ added in v0.6.0
type GenerateChangeSetInput struct { // ID of the application associated with the change set. AppId *string `locationName:"appId" type:"string"` // Format for the change set. ChangesetFormat OutputFormat `locationName:"changesetFormat" type:"string" enum:"true"` // contains filtered or unexported fields }
func (GenerateChangeSetInput) String ¶ added in v0.6.0
func (s GenerateChangeSetInput) String() string
String returns the string representation
type GenerateChangeSetOutput ¶ added in v0.6.0
type GenerateChangeSetOutput struct { // Location of the Amazon S3 object. S3Location *S3Location `locationName:"s3Location" type:"structure"` // contains filtered or unexported fields }
func (GenerateChangeSetOutput) String ¶ added in v0.6.0
func (s GenerateChangeSetOutput) String() string
String returns the string representation
type GenerateChangeSetRequest ¶ added in v0.6.0
type GenerateChangeSetRequest struct { *aws.Request Input *GenerateChangeSetInput Copy func(*GenerateChangeSetInput) GenerateChangeSetRequest }
GenerateChangeSetRequest is the request type for the GenerateChangeSet API operation.
func (GenerateChangeSetRequest) Send ¶ added in v0.6.0
func (r GenerateChangeSetRequest) Send(ctx context.Context) (*GenerateChangeSetResponse, error)
Send marshals and sends the GenerateChangeSet API request.
type GenerateChangeSetResponse ¶ added in v0.9.0
type GenerateChangeSetResponse struct { *GenerateChangeSetOutput // contains filtered or unexported fields }
GenerateChangeSetResponse is the response type for the GenerateChangeSet API operation.
func (*GenerateChangeSetResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GenerateChangeSetResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GenerateChangeSet request.
type GenerateTemplateInput ¶ added in v0.6.0
type GenerateTemplateInput struct { // ID of the application associated with the Amazon CloudFormation template. AppId *string `locationName:"appId" type:"string"` // Format for generating the Amazon CloudFormation template. TemplateFormat OutputFormat `locationName:"templateFormat" type:"string" enum:"true"` // contains filtered or unexported fields }
func (GenerateTemplateInput) String ¶ added in v0.6.0
func (s GenerateTemplateInput) String() string
String returns the string representation
type GenerateTemplateOutput ¶ added in v0.6.0
type GenerateTemplateOutput struct { // Location of the Amazon S3 object. S3Location *S3Location `locationName:"s3Location" type:"structure"` // contains filtered or unexported fields }
func (GenerateTemplateOutput) String ¶ added in v0.6.0
func (s GenerateTemplateOutput) String() string
String returns the string representation
type GenerateTemplateRequest ¶ added in v0.6.0
type GenerateTemplateRequest struct { *aws.Request Input *GenerateTemplateInput Copy func(*GenerateTemplateInput) GenerateTemplateRequest }
GenerateTemplateRequest is the request type for the GenerateTemplate API operation.
func (GenerateTemplateRequest) Send ¶ added in v0.6.0
func (r GenerateTemplateRequest) Send(ctx context.Context) (*GenerateTemplateResponse, error)
Send marshals and sends the GenerateTemplate API request.
type GenerateTemplateResponse ¶ added in v0.9.0
type GenerateTemplateResponse struct { *GenerateTemplateOutput // contains filtered or unexported fields }
GenerateTemplateResponse is the response type for the GenerateTemplate API operation.
func (*GenerateTemplateResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GenerateTemplateResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GenerateTemplate request.
type GetAppInput ¶ added in v0.6.0
type GetAppInput struct { // ID of the application whose information is being retrieved. AppId *string `locationName:"appId" type:"string"` // contains filtered or unexported fields }
func (GetAppInput) String ¶ added in v0.6.0
func (s GetAppInput) String() string
String returns the string representation
type GetAppLaunchConfigurationInput ¶ added in v0.6.0
type GetAppLaunchConfigurationInput struct { // ID of the application launch configuration. AppId *string `locationName:"appId" type:"string"` // contains filtered or unexported fields }
func (GetAppLaunchConfigurationInput) String ¶ added in v0.6.0
func (s GetAppLaunchConfigurationInput) String() string
String returns the string representation
type GetAppLaunchConfigurationOutput ¶ added in v0.6.0
type GetAppLaunchConfigurationOutput struct { // ID of the application associated with the launch configuration. AppId *string `locationName:"appId" type:"string"` // Name of the service role in the customer's account that Amazon CloudFormation // uses to launch the application. RoleName *string `locationName:"roleName" type:"string"` // List of launch configurations for server groups in this application. ServerGroupLaunchConfigurations []ServerGroupLaunchConfiguration `locationName:"serverGroupLaunchConfigurations" type:"list"` // contains filtered or unexported fields }
func (GetAppLaunchConfigurationOutput) String ¶ added in v0.6.0
func (s GetAppLaunchConfigurationOutput) String() string
String returns the string representation
type GetAppLaunchConfigurationRequest ¶ added in v0.6.0
type GetAppLaunchConfigurationRequest struct { *aws.Request Input *GetAppLaunchConfigurationInput Copy func(*GetAppLaunchConfigurationInput) GetAppLaunchConfigurationRequest }
GetAppLaunchConfigurationRequest is the request type for the GetAppLaunchConfiguration API operation.
func (GetAppLaunchConfigurationRequest) Send ¶ added in v0.6.0
func (r GetAppLaunchConfigurationRequest) Send(ctx context.Context) (*GetAppLaunchConfigurationResponse, error)
Send marshals and sends the GetAppLaunchConfiguration API request.
type GetAppLaunchConfigurationResponse ¶ added in v0.9.0
type GetAppLaunchConfigurationResponse struct { *GetAppLaunchConfigurationOutput // contains filtered or unexported fields }
GetAppLaunchConfigurationResponse is the response type for the GetAppLaunchConfiguration API operation.
func (*GetAppLaunchConfigurationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetAppLaunchConfigurationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetAppLaunchConfiguration request.
type GetAppOutput ¶ added in v0.6.0
type GetAppOutput struct { // Information about the application. AppSummary *AppSummary `locationName:"appSummary" type:"structure"` // List of server groups belonging to the application. ServerGroups []ServerGroup `locationName:"serverGroups" type:"list"` // List of tags associated with the application. Tags []Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (GetAppOutput) String ¶ added in v0.6.0
func (s GetAppOutput) String() string
String returns the string representation
type GetAppReplicationConfigurationInput ¶ added in v0.6.0
type GetAppReplicationConfigurationInput struct { // ID of the application associated with the replication configuration. AppId *string `locationName:"appId" type:"string"` // contains filtered or unexported fields }
func (GetAppReplicationConfigurationInput) String ¶ added in v0.6.0
func (s GetAppReplicationConfigurationInput) String() string
String returns the string representation
type GetAppReplicationConfigurationOutput ¶ added in v0.6.0
type GetAppReplicationConfigurationOutput struct { // Replication configurations associated with server groups in this application. ServerGroupReplicationConfigurations []ServerGroupReplicationConfiguration `locationName:"serverGroupReplicationConfigurations" type:"list"` // contains filtered or unexported fields }
func (GetAppReplicationConfigurationOutput) String ¶ added in v0.6.0
func (s GetAppReplicationConfigurationOutput) String() string
String returns the string representation
type GetAppReplicationConfigurationRequest ¶ added in v0.6.0
type GetAppReplicationConfigurationRequest struct { *aws.Request Input *GetAppReplicationConfigurationInput Copy func(*GetAppReplicationConfigurationInput) GetAppReplicationConfigurationRequest }
GetAppReplicationConfigurationRequest is the request type for the GetAppReplicationConfiguration API operation.
func (GetAppReplicationConfigurationRequest) Send ¶ added in v0.6.0
func (r GetAppReplicationConfigurationRequest) Send(ctx context.Context) (*GetAppReplicationConfigurationResponse, error)
Send marshals and sends the GetAppReplicationConfiguration API request.
type GetAppReplicationConfigurationResponse ¶ added in v0.9.0
type GetAppReplicationConfigurationResponse struct { *GetAppReplicationConfigurationOutput // contains filtered or unexported fields }
GetAppReplicationConfigurationResponse is the response type for the GetAppReplicationConfiguration API operation.
func (*GetAppReplicationConfigurationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetAppReplicationConfigurationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetAppReplicationConfiguration request.
type GetAppRequest ¶ added in v0.6.0
type GetAppRequest struct { *aws.Request Input *GetAppInput Copy func(*GetAppInput) GetAppRequest }
GetAppRequest is the request type for the GetApp API operation.
func (GetAppRequest) Send ¶ added in v0.6.0
func (r GetAppRequest) Send(ctx context.Context) (*GetAppResponse, error)
Send marshals and sends the GetApp API request.
type GetAppResponse ¶ added in v0.9.0
type GetAppResponse struct { *GetAppOutput // contains filtered or unexported fields }
GetAppResponse is the response type for the GetApp API operation.
func (*GetAppResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetAppResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetApp request.
type GetConnectorsInput ¶
type GetConnectorsInput struct { // The maximum number of results to return in a single call. The default value // is 50. To retrieve the remaining results, make another call with the returned // NextToken value. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token for the next set of results. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
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) String ¶
func (s GetConnectorsOutput) String() string
String returns the string representation
type GetConnectorsPaginator ¶ added in v0.9.0
GetConnectorsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewGetConnectorsPaginator ¶ added in v0.9.0
func NewGetConnectorsPaginator(req GetConnectorsRequest) GetConnectorsPaginator
NewGetConnectorsRequestPaginator returns a paginator for GetConnectors. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.GetConnectorsRequest(input) p := sms.NewGetConnectorsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*GetConnectorsPaginator) CurrentPage ¶ added in v0.9.0
func (p *GetConnectorsPaginator) CurrentPage() *GetConnectorsOutput
type GetConnectorsRequest ¶
type GetConnectorsRequest struct { *aws.Request Input *GetConnectorsInput Copy func(*GetConnectorsInput) GetConnectorsRequest }
GetConnectorsRequest is the request type for the GetConnectors API operation.
func (GetConnectorsRequest) Send ¶
func (r GetConnectorsRequest) Send(ctx context.Context) (*GetConnectorsResponse, error)
Send marshals and sends the GetConnectors API request.
type GetConnectorsResponse ¶ added in v0.9.0
type GetConnectorsResponse struct { *GetConnectorsOutput // contains filtered or unexported fields }
GetConnectorsResponse is the response type for the GetConnectors API operation.
func (*GetConnectorsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetConnectorsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetConnectors request.
type GetReplicationJobsInput ¶
type GetReplicationJobsInput struct { // The maximum number of results to return in a single call. The default value // is 50. To retrieve the remaining results, make another call with the returned // NextToken value. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token for the next set of results. NextToken *string `locationName:"nextToken" type:"string"` // The identifier of the replication job. ReplicationJobId *string `locationName:"replicationJobId" type:"string"` // contains filtered or unexported fields }
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) String ¶
func (s GetReplicationJobsOutput) String() string
String returns the string representation
type GetReplicationJobsPaginator ¶ added in v0.9.0
GetReplicationJobsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewGetReplicationJobsPaginator ¶ added in v0.9.0
func NewGetReplicationJobsPaginator(req GetReplicationJobsRequest) GetReplicationJobsPaginator
NewGetReplicationJobsRequestPaginator returns a paginator for GetReplicationJobs. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.GetReplicationJobsRequest(input) p := sms.NewGetReplicationJobsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*GetReplicationJobsPaginator) CurrentPage ¶ added in v0.9.0
func (p *GetReplicationJobsPaginator) CurrentPage() *GetReplicationJobsOutput
type GetReplicationJobsRequest ¶
type GetReplicationJobsRequest struct { *aws.Request Input *GetReplicationJobsInput Copy func(*GetReplicationJobsInput) GetReplicationJobsRequest }
GetReplicationJobsRequest is the request type for the GetReplicationJobs API operation.
func (GetReplicationJobsRequest) Send ¶
func (r GetReplicationJobsRequest) Send(ctx context.Context) (*GetReplicationJobsResponse, error)
Send marshals and sends the GetReplicationJobs API request.
type GetReplicationJobsResponse ¶ added in v0.9.0
type GetReplicationJobsResponse struct { *GetReplicationJobsOutput // contains filtered or unexported fields }
GetReplicationJobsResponse is the response type for the GetReplicationJobs API operation.
func (*GetReplicationJobsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetReplicationJobsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetReplicationJobs request.
type GetReplicationRunsInput ¶
type GetReplicationRunsInput struct { // The maximum number of results to return in a single call. The default value // is 50. To retrieve the remaining results, make another call with the returned // NextToken value. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token for the next set of results. NextToken *string `locationName:"nextToken" type:"string"` // The identifier of the replication job. // // ReplicationJobId is a required field ReplicationJobId *string `locationName:"replicationJobId" type:"string" required:"true"` // contains filtered or unexported fields }
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) String ¶
func (s GetReplicationRunsOutput) String() string
String returns the string representation
type GetReplicationRunsPaginator ¶ added in v0.9.0
GetReplicationRunsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewGetReplicationRunsPaginator ¶ added in v0.9.0
func NewGetReplicationRunsPaginator(req GetReplicationRunsRequest) GetReplicationRunsPaginator
NewGetReplicationRunsRequestPaginator returns a paginator for GetReplicationRuns. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.GetReplicationRunsRequest(input) p := sms.NewGetReplicationRunsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*GetReplicationRunsPaginator) CurrentPage ¶ added in v0.9.0
func (p *GetReplicationRunsPaginator) CurrentPage() *GetReplicationRunsOutput
type GetReplicationRunsRequest ¶
type GetReplicationRunsRequest struct { *aws.Request Input *GetReplicationRunsInput Copy func(*GetReplicationRunsInput) GetReplicationRunsRequest }
GetReplicationRunsRequest is the request type for the GetReplicationRuns API operation.
func (GetReplicationRunsRequest) Send ¶
func (r GetReplicationRunsRequest) Send(ctx context.Context) (*GetReplicationRunsResponse, error)
Send marshals and sends the GetReplicationRuns API request.
type GetReplicationRunsResponse ¶ added in v0.9.0
type GetReplicationRunsResponse struct { *GetReplicationRunsOutput // contains filtered or unexported fields }
GetReplicationRunsResponse is the response type for the GetReplicationRuns API operation.
func (*GetReplicationRunsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetReplicationRunsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetReplicationRuns request.
type GetServersInput ¶
type GetServersInput struct { // The maximum number of results to return in a single call. The default value // is 50. To retrieve the remaining results, make another call with the returned // NextToken value. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token for the next set of results. NextToken *string `locationName:"nextToken" type:"string"` // List of VmServerAddress objects VmServerAddressList []VmServerAddress `locationName:"vmServerAddressList" type:"list"` // contains filtered or unexported fields }
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 ServerCatalogStatus `locationName:"serverCatalogStatus" type:"string" enum:"true"` // Information about the servers. ServerList []Server `locationName:"serverList" type:"list"` // contains filtered or unexported fields }
func (GetServersOutput) String ¶
func (s GetServersOutput) String() string
String returns the string representation
type GetServersPaginator ¶ added in v0.9.0
GetServersPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewGetServersPaginator ¶ added in v0.9.0
func NewGetServersPaginator(req GetServersRequest) GetServersPaginator
NewGetServersRequestPaginator returns a paginator for GetServers. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.GetServersRequest(input) p := sms.NewGetServersRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*GetServersPaginator) CurrentPage ¶ added in v0.9.0
func (p *GetServersPaginator) CurrentPage() *GetServersOutput
type GetServersRequest ¶
type GetServersRequest struct { *aws.Request Input *GetServersInput Copy func(*GetServersInput) GetServersRequest }
GetServersRequest is the request type for the GetServers API operation.
func (GetServersRequest) Send ¶
func (r GetServersRequest) Send(ctx context.Context) (*GetServersResponse, error)
Send marshals and sends the GetServers API request.
type GetServersResponse ¶ added in v0.9.0
type GetServersResponse struct { *GetServersOutput // contains filtered or unexported fields }
GetServersResponse is the response type for the GetServers API operation.
func (*GetServersResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetServersResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetServers request.
type ImportServerCatalogInput ¶
type ImportServerCatalogInput struct {
// contains filtered or unexported fields
}
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) String ¶
func (s ImportServerCatalogOutput) String() string
String returns the string representation
type ImportServerCatalogRequest ¶
type ImportServerCatalogRequest struct { *aws.Request Input *ImportServerCatalogInput Copy func(*ImportServerCatalogInput) ImportServerCatalogRequest }
ImportServerCatalogRequest is the request type for the ImportServerCatalog API operation.
func (ImportServerCatalogRequest) Send ¶
func (r ImportServerCatalogRequest) Send(ctx context.Context) (*ImportServerCatalogResponse, error)
Send marshals and sends the ImportServerCatalog API request.
type ImportServerCatalogResponse ¶ added in v0.9.0
type ImportServerCatalogResponse struct { *ImportServerCatalogOutput // contains filtered or unexported fields }
ImportServerCatalogResponse is the response type for the ImportServerCatalog API operation.
func (*ImportServerCatalogResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ImportServerCatalogResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ImportServerCatalog request.
type LaunchAppInput ¶ added in v0.6.0
type LaunchAppInput struct { // ID of the application to launch. AppId *string `locationName:"appId" type:"string"` // contains filtered or unexported fields }
func (LaunchAppInput) String ¶ added in v0.6.0
func (s LaunchAppInput) String() string
String returns the string representation
type LaunchAppOutput ¶ added in v0.6.0
type LaunchAppOutput struct {
// contains filtered or unexported fields
}
func (LaunchAppOutput) String ¶ added in v0.6.0
func (s LaunchAppOutput) String() string
String returns the string representation
type LaunchAppRequest ¶ added in v0.6.0
type LaunchAppRequest struct { *aws.Request Input *LaunchAppInput Copy func(*LaunchAppInput) LaunchAppRequest }
LaunchAppRequest is the request type for the LaunchApp API operation.
func (LaunchAppRequest) Send ¶ added in v0.6.0
func (r LaunchAppRequest) Send(ctx context.Context) (*LaunchAppResponse, error)
Send marshals and sends the LaunchApp API request.
type LaunchAppResponse ¶ added in v0.9.0
type LaunchAppResponse struct { *LaunchAppOutput // contains filtered or unexported fields }
LaunchAppResponse is the response type for the LaunchApp API operation.
func (*LaunchAppResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *LaunchAppResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the LaunchApp request.
type LaunchDetails ¶ added in v0.6.0
type LaunchDetails struct { // Latest time this application was launched successfully. LatestLaunchTime *time.Time `locationName:"latestLaunchTime" type:"timestamp"` // Identifier of the latest stack launched for this application. StackId *string `locationName:"stackId" type:"string"` // Name of the latest stack launched for this application. StackName *string `locationName:"stackName" type:"string"` // contains filtered or unexported fields }
Details about the latest launch of an application.
func (LaunchDetails) String ¶ added in v0.6.0
func (s LaunchDetails) String() string
String returns the string representation
type LicenseType ¶
type LicenseType string
const ( LicenseTypeAws LicenseType = "AWS" LicenseTypeByol LicenseType = "BYOL" )
Enum values for LicenseType
func (LicenseType) MarshalValue ¶ added in v0.3.0
func (enum LicenseType) MarshalValue() (string, error)
func (LicenseType) MarshalValueBuf ¶ added in v0.3.0
func (enum LicenseType) MarshalValueBuf(b []byte) ([]byte, error)
type ListAppsInput ¶ added in v0.6.0
type ListAppsInput struct { AppIds []string `locationName:"appIds" type:"list"` // The maximum number of results to return in a single call. The default value // is 50. To retrieve the remaining results, make another call with the returned // NextToken value. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token for the next set of results. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListAppsInput) String ¶ added in v0.6.0
func (s ListAppsInput) String() string
String returns the string representation
type ListAppsOutput ¶ added in v0.6.0
type ListAppsOutput struct { // A list of application summaries. Apps []AppSummary `locationName:"apps" type:"list"` // The token required to retrieve the next set of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListAppsOutput) String ¶ added in v0.6.0
func (s ListAppsOutput) String() string
String returns the string representation
type ListAppsRequest ¶ added in v0.6.0
type ListAppsRequest struct { *aws.Request Input *ListAppsInput Copy func(*ListAppsInput) ListAppsRequest }
ListAppsRequest is the request type for the ListApps API operation.
func (ListAppsRequest) Send ¶ added in v0.6.0
func (r ListAppsRequest) Send(ctx context.Context) (*ListAppsResponse, error)
Send marshals and sends the ListApps API request.
type ListAppsResponse ¶ added in v0.9.0
type ListAppsResponse struct { *ListAppsOutput // contains filtered or unexported fields }
ListAppsResponse is the response type for the ListApps API operation.
func (*ListAppsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListAppsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListApps request.
type OutputFormat ¶ added in v0.6.0
type OutputFormat string
const ( OutputFormatJson OutputFormat = "JSON" OutputFormatYaml OutputFormat = "YAML" )
Enum values for OutputFormat
func (OutputFormat) MarshalValue ¶ added in v0.6.0
func (enum OutputFormat) MarshalValue() (string, error)
func (OutputFormat) MarshalValueBuf ¶ added in v0.6.0
func (enum OutputFormat) MarshalValueBuf(b []byte) ([]byte, error)
type PutAppLaunchConfigurationInput ¶ added in v0.6.0
type PutAppLaunchConfigurationInput struct { // ID of the application associated with the launch configuration. AppId *string `locationName:"appId" type:"string"` // Name of service role in the customer's account that Amazon CloudFormation // uses to launch the application. RoleName *string `locationName:"roleName" type:"string"` // Launch configurations for server groups in the application. ServerGroupLaunchConfigurations []ServerGroupLaunchConfiguration `locationName:"serverGroupLaunchConfigurations" type:"list"` // contains filtered or unexported fields }
func (PutAppLaunchConfigurationInput) String ¶ added in v0.6.0
func (s PutAppLaunchConfigurationInput) String() string
String returns the string representation
type PutAppLaunchConfigurationOutput ¶ added in v0.6.0
type PutAppLaunchConfigurationOutput struct {
// contains filtered or unexported fields
}
func (PutAppLaunchConfigurationOutput) String ¶ added in v0.6.0
func (s PutAppLaunchConfigurationOutput) String() string
String returns the string representation
type PutAppLaunchConfigurationRequest ¶ added in v0.6.0
type PutAppLaunchConfigurationRequest struct { *aws.Request Input *PutAppLaunchConfigurationInput Copy func(*PutAppLaunchConfigurationInput) PutAppLaunchConfigurationRequest }
PutAppLaunchConfigurationRequest is the request type for the PutAppLaunchConfiguration API operation.
func (PutAppLaunchConfigurationRequest) Send ¶ added in v0.6.0
func (r PutAppLaunchConfigurationRequest) Send(ctx context.Context) (*PutAppLaunchConfigurationResponse, error)
Send marshals and sends the PutAppLaunchConfiguration API request.
type PutAppLaunchConfigurationResponse ¶ added in v0.9.0
type PutAppLaunchConfigurationResponse struct { *PutAppLaunchConfigurationOutput // contains filtered or unexported fields }
PutAppLaunchConfigurationResponse is the response type for the PutAppLaunchConfiguration API operation.
func (*PutAppLaunchConfigurationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *PutAppLaunchConfigurationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the PutAppLaunchConfiguration request.
type PutAppReplicationConfigurationInput ¶ added in v0.6.0
type PutAppReplicationConfigurationInput struct { // ID of the application tassociated with the replication configuration. AppId *string `locationName:"appId" type:"string"` // Replication configurations for server groups in the application. ServerGroupReplicationConfigurations []ServerGroupReplicationConfiguration `locationName:"serverGroupReplicationConfigurations" type:"list"` // contains filtered or unexported fields }
func (PutAppReplicationConfigurationInput) String ¶ added in v0.6.0
func (s PutAppReplicationConfigurationInput) String() string
String returns the string representation
type PutAppReplicationConfigurationOutput ¶ added in v0.6.0
type PutAppReplicationConfigurationOutput struct {
// contains filtered or unexported fields
}
func (PutAppReplicationConfigurationOutput) String ¶ added in v0.6.0
func (s PutAppReplicationConfigurationOutput) String() string
String returns the string representation
type PutAppReplicationConfigurationRequest ¶ added in v0.6.0
type PutAppReplicationConfigurationRequest struct { *aws.Request Input *PutAppReplicationConfigurationInput Copy func(*PutAppReplicationConfigurationInput) PutAppReplicationConfigurationRequest }
PutAppReplicationConfigurationRequest is the request type for the PutAppReplicationConfiguration API operation.
func (PutAppReplicationConfigurationRequest) Send ¶ added in v0.6.0
func (r PutAppReplicationConfigurationRequest) Send(ctx context.Context) (*PutAppReplicationConfigurationResponse, error)
Send marshals and sends the PutAppReplicationConfiguration API request.
type PutAppReplicationConfigurationResponse ¶ added in v0.9.0
type PutAppReplicationConfigurationResponse struct { *PutAppReplicationConfigurationOutput // contains filtered or unexported fields }
PutAppReplicationConfigurationResponse is the response type for the PutAppReplicationConfiguration API operation.
func (*PutAppReplicationConfigurationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *PutAppReplicationConfigurationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the PutAppReplicationConfiguration request.
type ReplicationJob ¶
type ReplicationJob struct { // The description of the replication job. Description *string `locationName:"description" type:"string"` // Whether the replication job should produce encrypted AMIs or not. See also // KmsKeyId below. Encrypted *bool `locationName:"encrypted" type:"boolean"` // The time between consecutive replication runs, in hours. Frequency *int64 `locationName:"frequency" type:"integer"` // KMS key ID for replication jobs that produce encrypted AMIs. Can be any of // the following: // // * KMS key ID // // * KMS key alias // // * ARN referring to KMS key ID // // * ARN referring to KMS key alias // // If encrypted is true but a KMS key id is not specified, the customer's default // KMS key for EBS is used. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` // The ID of the latest Amazon Machine Image (AMI). LatestAmiId *string `locationName:"latestAmiId" type:"string"` // The license type to be used for the AMI created by a successful replication // run. LicenseType LicenseType `locationName:"licenseType" type:"string" enum:"true"` // The start time of the next replication run. NextReplicationRunStartTime *time.Time `locationName:"nextReplicationRunStartTime" type:"timestamp"` // Number of recent AMIs to keep in the customer's account for a replication // job. By default the value is set to zero, meaning that all AMIs are kept. NumberOfRecentAmisToKeep *int64 `locationName:"numberOfRecentAmisToKeep" type:"integer"` // The identifier of the replication job. ReplicationJobId *string `locationName:"replicationJobId" type:"string"` // Information about the replication runs. ReplicationRunList []ReplicationRun `locationName:"replicationRunList" type:"list"` // The name of the IAM role to be used by the Server Migration Service. RoleName *string `locationName:"roleName" type:"string"` RunOnce *bool `locationName:"runOnce" type:"boolean"` // The seed replication time. SeedReplicationTime *time.Time `locationName:"seedReplicationTime" type:"timestamp"` // The identifier of the server. ServerId *string `locationName:"serverId" type:"string"` // The type of server. ServerType ServerType `locationName:"serverType" type:"string" enum:"true"` // The state of the replication job. State ReplicationJobState `locationName:"state" type:"string" enum:"true"` // The description of the current status of the replication job. StatusMessage *string `locationName:"statusMessage" type:"string"` // Information about the VM server. VmServer *VmServer `locationName:"vmServer" type:"structure"` // contains filtered or unexported fields }
Represents a replication job.
func (ReplicationJob) String ¶
func (s ReplicationJob) String() string
String returns the string representation
type ReplicationJobState ¶
type ReplicationJobState string
const ( ReplicationJobStatePending ReplicationJobState = "PENDING" ReplicationJobStateActive ReplicationJobState = "ACTIVE" ReplicationJobStateFailed ReplicationJobState = "FAILED" ReplicationJobStateDeleting ReplicationJobState = "DELETING" ReplicationJobStateDeleted ReplicationJobState = "DELETED" ReplicationJobStateCompleted ReplicationJobState = "COMPLETED" ReplicationJobStatePausedOnFailure ReplicationJobState = "PAUSED_ON_FAILURE" ReplicationJobStateFailing ReplicationJobState = "FAILING" )
Enum values for ReplicationJobState
func (ReplicationJobState) MarshalValue ¶ added in v0.3.0
func (enum ReplicationJobState) MarshalValue() (string, error)
func (ReplicationJobState) MarshalValueBuf ¶ added in v0.3.0
func (enum ReplicationJobState) MarshalValueBuf(b []byte) ([]byte, error)
type ReplicationRun ¶
type ReplicationRun struct { // The identifier of the Amazon Machine Image (AMI) from the replication run. AmiId *string `locationName:"amiId" type:"string"` // The completion time of the last replication run. CompletedTime *time.Time `locationName:"completedTime" type:"timestamp"` // The description of the replication run. Description *string `locationName:"description" type:"string"` // Whether the replication run should produce encrypted AMI or not. See also // KmsKeyId below. Encrypted *bool `locationName:"encrypted" type:"boolean"` // KMS key ID for replication jobs that produce encrypted AMIs. Can be any of // the following: // // * KMS key ID // // * KMS key alias // // * ARN referring to KMS key ID // // * ARN referring to KMS key alias // // If encrypted is true but a KMS key id is not specified, the customer's default // KMS key for EBS is used. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` // The identifier of the replication run. ReplicationRunId *string `locationName:"replicationRunId" type:"string"` // The start time of the next replication run. ScheduledStartTime *time.Time `locationName:"scheduledStartTime" type:"timestamp"` // Details of the current stage of the replication run. StageDetails *ReplicationRunStageDetails `locationName:"stageDetails" type:"structure"` // The state of the replication run. State ReplicationRunState `locationName:"state" type:"string" enum:"true"` // The description of the current status of the replication job. StatusMessage *string `locationName:"statusMessage" type:"string"` // The type of replication run. Type ReplicationRunType `locationName:"type" type:"string" enum:"true"` // contains filtered or unexported fields }
Represents a replication run.
func (ReplicationRun) String ¶
func (s ReplicationRun) String() string
String returns the string representation
type ReplicationRunStageDetails ¶ added in v0.6.0
type ReplicationRunStageDetails struct { // String describing the current stage of a replication run. Stage *string `locationName:"stage" type:"string"` // String describing the progress of the current stage of a replication run. StageProgress *string `locationName:"stageProgress" type:"string"` // contains filtered or unexported fields }
Details of the current stage of a replication run.
func (ReplicationRunStageDetails) String ¶ added in v0.6.0
func (s ReplicationRunStageDetails) String() string
String returns the string representation
type ReplicationRunState ¶
type ReplicationRunState string
const ( ReplicationRunStatePending ReplicationRunState = "PENDING" ReplicationRunStateMissed ReplicationRunState = "MISSED" ReplicationRunStateActive ReplicationRunState = "ACTIVE" ReplicationRunStateFailed ReplicationRunState = "FAILED" ReplicationRunStateCompleted ReplicationRunState = "COMPLETED" ReplicationRunStateDeleting ReplicationRunState = "DELETING" ReplicationRunStateDeleted ReplicationRunState = "DELETED" )
Enum values for ReplicationRunState
func (ReplicationRunState) MarshalValue ¶ added in v0.3.0
func (enum ReplicationRunState) MarshalValue() (string, error)
func (ReplicationRunState) MarshalValueBuf ¶ added in v0.3.0
func (enum ReplicationRunState) MarshalValueBuf(b []byte) ([]byte, error)
type ReplicationRunType ¶
type ReplicationRunType string
const ( ReplicationRunTypeOnDemand ReplicationRunType = "ON_DEMAND" ReplicationRunTypeAutomatic ReplicationRunType = "AUTOMATIC" )
Enum values for ReplicationRunType
func (ReplicationRunType) MarshalValue ¶ added in v0.3.0
func (enum ReplicationRunType) MarshalValue() (string, error)
func (ReplicationRunType) MarshalValueBuf ¶ added in v0.3.0
func (enum ReplicationRunType) MarshalValueBuf(b []byte) ([]byte, error)
type S3Location ¶ added in v0.6.0
type S3Location struct { // Amazon S3 bucket name. Bucket *string `locationName:"bucket" type:"string"` // Amazon S3 bucket key. Key *string `locationName:"key" type:"string"` // contains filtered or unexported fields }
Location of the Amazon S3 object in the customer's account.
func (S3Location) String ¶ added in v0.6.0
func (s S3Location) String() string
String returns the string representation
type Server ¶
type Server struct { // The identifier of the replication job. ReplicationJobId *string `locationName:"replicationJobId" type:"string"` // Indicates whether the replication job is deleted or failed. ReplicationJobTerminated *bool `locationName:"replicationJobTerminated" type:"boolean"` // The identifier of the server. ServerId *string `locationName:"serverId" type:"string"` // The type of server. ServerType ServerType `locationName:"serverType" type:"string" enum:"true"` // Information about the VM server. VmServer *VmServer `locationName:"vmServer" type:"structure"` // contains filtered or unexported fields }
Represents a server.
type ServerCatalogStatus ¶
type ServerCatalogStatus string
const ( ServerCatalogStatusNotImported ServerCatalogStatus = "NOT_IMPORTED" ServerCatalogStatusImporting ServerCatalogStatus = "IMPORTING" ServerCatalogStatusAvailable ServerCatalogStatus = "AVAILABLE" ServerCatalogStatusDeleted ServerCatalogStatus = "DELETED" ServerCatalogStatusExpired ServerCatalogStatus = "EXPIRED" )
Enum values for ServerCatalogStatus
func (ServerCatalogStatus) MarshalValue ¶ added in v0.3.0
func (enum ServerCatalogStatus) MarshalValue() (string, error)
func (ServerCatalogStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum ServerCatalogStatus) MarshalValueBuf(b []byte) ([]byte, error)
type ServerGroup ¶ added in v0.6.0
type ServerGroup struct { // Name of a server group. Name *string `locationName:"name" type:"string"` // Identifier of a server group. ServerGroupId *string `locationName:"serverGroupId" type:"string"` // List of servers belonging to a server group. ServerList []Server `locationName:"serverList" type:"list"` // contains filtered or unexported fields }
A logical grouping of servers.
func (ServerGroup) String ¶ added in v0.6.0
func (s ServerGroup) String() string
String returns the string representation
type ServerGroupLaunchConfiguration ¶ added in v0.6.0
type ServerGroupLaunchConfiguration struct { // Launch order of servers in the server group. LaunchOrder *int64 `locationName:"launchOrder" type:"integer"` // Identifier of the server group the launch configuration is associated with. ServerGroupId *string `locationName:"serverGroupId" type:"string"` // Launch configuration for servers in the server group. ServerLaunchConfigurations []ServerLaunchConfiguration `locationName:"serverLaunchConfigurations" type:"list"` // contains filtered or unexported fields }
Launch configuration for a server group.
func (ServerGroupLaunchConfiguration) String ¶ added in v0.6.0
func (s ServerGroupLaunchConfiguration) String() string
String returns the string representation
type ServerGroupReplicationConfiguration ¶ added in v0.6.0
type ServerGroupReplicationConfiguration struct { // Identifier of the server group this replication configuration is associated // with. ServerGroupId *string `locationName:"serverGroupId" type:"string"` // Replication configuration for servers in the server group. ServerReplicationConfigurations []ServerReplicationConfiguration `locationName:"serverReplicationConfigurations" type:"list"` // contains filtered or unexported fields }
Replication configuration for a server group.
func (ServerGroupReplicationConfiguration) String ¶ added in v0.6.0
func (s ServerGroupReplicationConfiguration) String() string
String returns the string representation
type ServerLaunchConfiguration ¶ added in v0.6.0
type ServerLaunchConfiguration struct { // If true, a publicly accessible IP address is created when launching the server. AssociatePublicIpAddress *bool `locationName:"associatePublicIpAddress" type:"boolean"` // Name of the EC2 SSH Key to be used for connecting to the launched server. Ec2KeyName *string `locationName:"ec2KeyName" type:"string"` // Instance type to be used for launching the server. InstanceType *string `locationName:"instanceType" type:"string"` // Logical ID of the server in the Amazon CloudFormation template. LogicalId *string `locationName:"logicalId" type:"string"` // Identifier of the security group that applies to the launched server. SecurityGroup *string `locationName:"securityGroup" type:"string"` // Identifier of the server the launch configuration is associated with. Server *Server `locationName:"server" type:"structure"` // Identifier of the subnet the server should be launched into. Subnet *string `locationName:"subnet" type:"string"` // Location of the user-data script to be executed when launching the server. UserData *UserData `locationName:"userData" type:"structure"` // Identifier of the VPC the server should be launched into. Vpc *string `locationName:"vpc" type:"string"` // contains filtered or unexported fields }
Launch configuration for a server.
func (ServerLaunchConfiguration) String ¶ added in v0.6.0
func (s ServerLaunchConfiguration) String() string
String returns the string representation
type ServerReplicationConfiguration ¶ added in v0.6.0
type ServerReplicationConfiguration struct { // Identifier of the server this replication configuration is associated with. Server *Server `locationName:"server" type:"structure"` // Parameters for replicating the server. ServerReplicationParameters *ServerReplicationParameters `locationName:"serverReplicationParameters" type:"structure"` // contains filtered or unexported fields }
Replication configuration of a server.
func (ServerReplicationConfiguration) String ¶ added in v0.6.0
func (s ServerReplicationConfiguration) String() string
String returns the string representation
type ServerReplicationParameters ¶ added in v0.6.0
type ServerReplicationParameters struct { // When true, the replication job produces encrypted AMIs. See also KmsKeyId // below. Encrypted *bool `locationName:"encrypted" type:"boolean"` // Frequency of creating replication jobs for the server. Frequency *int64 `locationName:"frequency" type:"integer"` // KMS key ID for replication jobs that produce encrypted AMIs. Can be any of // the following: // // * KMS key ID // // * KMS key alias // // * ARN referring to KMS key ID // // * ARN referring to KMS key alias // // If encrypted is true but a KMS key id is not specified, the customer's default // KMS key for EBS is used. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` // License type for creating a replication job for the server. LicenseType LicenseType `locationName:"licenseType" type:"string" enum:"true"` // Number of recent AMIs to keep when creating a replication job for this server. NumberOfRecentAmisToKeep *int64 `locationName:"numberOfRecentAmisToKeep" type:"integer"` RunOnce *bool `locationName:"runOnce" type:"boolean"` // Seed time for creating a replication job for the server. SeedTime *time.Time `locationName:"seedTime" type:"timestamp"` // contains filtered or unexported fields }
Replication parameters for replicating a server.
func (ServerReplicationParameters) String ¶ added in v0.6.0
func (s ServerReplicationParameters) String() string
String returns the string representation
type ServerType ¶
type ServerType string
const (
ServerTypeVirtualMachine ServerType = "VIRTUAL_MACHINE"
)
Enum values for ServerType
func (ServerType) MarshalValue ¶ added in v0.3.0
func (enum ServerType) MarshalValue() (string, error)
func (ServerType) MarshalValueBuf ¶ added in v0.3.0
func (enum ServerType) MarshalValueBuf(b []byte) ([]byte, error)
type StartAppReplicationInput ¶ added in v0.6.0
type StartAppReplicationInput struct { // ID of the application to replicate. AppId *string `locationName:"appId" type:"string"` // contains filtered or unexported fields }
func (StartAppReplicationInput) String ¶ added in v0.6.0
func (s StartAppReplicationInput) String() string
String returns the string representation
type StartAppReplicationOutput ¶ added in v0.6.0
type StartAppReplicationOutput struct {
// contains filtered or unexported fields
}
func (StartAppReplicationOutput) String ¶ added in v0.6.0
func (s StartAppReplicationOutput) String() string
String returns the string representation
type StartAppReplicationRequest ¶ added in v0.6.0
type StartAppReplicationRequest struct { *aws.Request Input *StartAppReplicationInput Copy func(*StartAppReplicationInput) StartAppReplicationRequest }
StartAppReplicationRequest is the request type for the StartAppReplication API operation.
func (StartAppReplicationRequest) Send ¶ added in v0.6.0
func (r StartAppReplicationRequest) Send(ctx context.Context) (*StartAppReplicationResponse, error)
Send marshals and sends the StartAppReplication API request.
type StartAppReplicationResponse ¶ added in v0.9.0
type StartAppReplicationResponse struct { *StartAppReplicationOutput // contains filtered or unexported fields }
StartAppReplicationResponse is the response type for the StartAppReplication API operation.
func (*StartAppReplicationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *StartAppReplicationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StartAppReplication request.
type StartOnDemandReplicationRunInput ¶
type StartOnDemandReplicationRunInput struct { // The description of the replication run. Description *string `locationName:"description" type:"string"` // The identifier of the replication job. // // ReplicationJobId is a required field ReplicationJobId *string `locationName:"replicationJobId" type:"string" required:"true"` // contains filtered or unexported fields }
func (StartOnDemandReplicationRunInput) String ¶
func (s StartOnDemandReplicationRunInput) String() string
String returns the string representation
func (*StartOnDemandReplicationRunInput) Validate ¶
func (s *StartOnDemandReplicationRunInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartOnDemandReplicationRunOutput ¶
type StartOnDemandReplicationRunOutput struct { // The identifier of the replication run. ReplicationRunId *string `locationName:"replicationRunId" type:"string"` // contains filtered or unexported fields }
func (StartOnDemandReplicationRunOutput) String ¶
func (s StartOnDemandReplicationRunOutput) String() string
String returns the string representation
type StartOnDemandReplicationRunRequest ¶
type StartOnDemandReplicationRunRequest struct { *aws.Request Input *StartOnDemandReplicationRunInput Copy func(*StartOnDemandReplicationRunInput) StartOnDemandReplicationRunRequest }
StartOnDemandReplicationRunRequest is the request type for the StartOnDemandReplicationRun API operation.
func (StartOnDemandReplicationRunRequest) Send ¶
func (r StartOnDemandReplicationRunRequest) Send(ctx context.Context) (*StartOnDemandReplicationRunResponse, error)
Send marshals and sends the StartOnDemandReplicationRun API request.
type StartOnDemandReplicationRunResponse ¶ added in v0.9.0
type StartOnDemandReplicationRunResponse struct { *StartOnDemandReplicationRunOutput // contains filtered or unexported fields }
StartOnDemandReplicationRunResponse is the response type for the StartOnDemandReplicationRun API operation.
func (*StartOnDemandReplicationRunResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *StartOnDemandReplicationRunResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StartOnDemandReplicationRun request.
type StopAppReplicationInput ¶ added in v0.6.0
type StopAppReplicationInput struct { // ID of the application to stop replicating. AppId *string `locationName:"appId" type:"string"` // contains filtered or unexported fields }
func (StopAppReplicationInput) String ¶ added in v0.6.0
func (s StopAppReplicationInput) String() string
String returns the string representation
type StopAppReplicationOutput ¶ added in v0.6.0
type StopAppReplicationOutput struct {
// contains filtered or unexported fields
}
func (StopAppReplicationOutput) String ¶ added in v0.6.0
func (s StopAppReplicationOutput) String() string
String returns the string representation
type StopAppReplicationRequest ¶ added in v0.6.0
type StopAppReplicationRequest struct { *aws.Request Input *StopAppReplicationInput Copy func(*StopAppReplicationInput) StopAppReplicationRequest }
StopAppReplicationRequest is the request type for the StopAppReplication API operation.
func (StopAppReplicationRequest) Send ¶ added in v0.6.0
func (r StopAppReplicationRequest) Send(ctx context.Context) (*StopAppReplicationResponse, error)
Send marshals and sends the StopAppReplication API request.
type StopAppReplicationResponse ¶ added in v0.9.0
type StopAppReplicationResponse struct { *StopAppReplicationOutput // contains filtered or unexported fields }
StopAppReplicationResponse is the response type for the StopAppReplication API operation.
func (*StopAppReplicationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *StopAppReplicationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StopAppReplication request.
type Tag ¶ added in v0.6.0
type Tag struct { // Tag key. Key *string `locationName:"key" type:"string"` // Tag value. Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
A label that can be assigned to an application.
type TerminateAppInput ¶ added in v0.6.0
type TerminateAppInput struct { // ID of the application to terminate. AppId *string `locationName:"appId" type:"string"` // contains filtered or unexported fields }
func (TerminateAppInput) String ¶ added in v0.6.0
func (s TerminateAppInput) String() string
String returns the string representation
type TerminateAppOutput ¶ added in v0.6.0
type TerminateAppOutput struct {
// contains filtered or unexported fields
}
func (TerminateAppOutput) String ¶ added in v0.6.0
func (s TerminateAppOutput) String() string
String returns the string representation
type TerminateAppRequest ¶ added in v0.6.0
type TerminateAppRequest struct { *aws.Request Input *TerminateAppInput Copy func(*TerminateAppInput) TerminateAppRequest }
TerminateAppRequest is the request type for the TerminateApp API operation.
func (TerminateAppRequest) Send ¶ added in v0.6.0
func (r TerminateAppRequest) Send(ctx context.Context) (*TerminateAppResponse, error)
Send marshals and sends the TerminateApp API request.
type TerminateAppResponse ¶ added in v0.9.0
type TerminateAppResponse struct { *TerminateAppOutput // contains filtered or unexported fields }
TerminateAppResponse is the response type for the TerminateApp API operation.
func (*TerminateAppResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *TerminateAppResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the TerminateApp request.
type UpdateAppInput ¶ added in v0.6.0
type UpdateAppInput struct { // ID of the application to update. AppId *string `locationName:"appId" type:"string"` // New description of the application. Description *string `locationName:"description" type:"string"` // New name of the application. Name *string `locationName:"name" type:"string"` // Name of the service role in the customer's account used by AWS SMS. RoleName *string `locationName:"roleName" type:"string"` // List of server groups in the application to update. ServerGroups []ServerGroup `locationName:"serverGroups" type:"list"` // List of tags to associate with the application. Tags []Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (UpdateAppInput) String ¶ added in v0.6.0
func (s UpdateAppInput) String() string
String returns the string representation
type UpdateAppOutput ¶ added in v0.6.0
type UpdateAppOutput struct { // Summary description of the application. AppSummary *AppSummary `locationName:"appSummary" type:"structure"` // List of updated server groups in the application. ServerGroups []ServerGroup `locationName:"serverGroups" type:"list"` // List of tags associated with the application. Tags []Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (UpdateAppOutput) String ¶ added in v0.6.0
func (s UpdateAppOutput) String() string
String returns the string representation
type UpdateAppRequest ¶ added in v0.6.0
type UpdateAppRequest struct { *aws.Request Input *UpdateAppInput Copy func(*UpdateAppInput) UpdateAppRequest }
UpdateAppRequest is the request type for the UpdateApp API operation.
func (UpdateAppRequest) Send ¶ added in v0.6.0
func (r UpdateAppRequest) Send(ctx context.Context) (*UpdateAppResponse, error)
Send marshals and sends the UpdateApp API request.
type UpdateAppResponse ¶ added in v0.9.0
type UpdateAppResponse struct { *UpdateAppOutput // contains filtered or unexported fields }
UpdateAppResponse is the response type for the UpdateApp API operation.
func (*UpdateAppResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *UpdateAppResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateApp request.
type UpdateReplicationJobInput ¶
type UpdateReplicationJobInput struct { // The description of the replication job. Description *string `locationName:"description" type:"string"` // When true, the replication job produces encrypted AMIs . See also KmsKeyId // below. Encrypted *bool `locationName:"encrypted" type:"boolean"` // The time between consecutive replication runs, in hours. Frequency *int64 `locationName:"frequency" type:"integer"` // KMS key ID for replication jobs that produce encrypted AMIs. Can be any of // the following: // // * KMS key ID // // * KMS key alias // // * ARN referring to KMS key ID // // * ARN referring to KMS key alias // // If encrypted is true but a KMS key id is not specified, the customer's default // KMS key for EBS is used. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` // The license type to be used for the AMI created by a successful replication // run. LicenseType LicenseType `locationName:"licenseType" type:"string" enum:"true"` // The 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 will be deleted // once the maximum number is reached and a new AMI is created. NumberOfRecentAmisToKeep *int64 `locationName:"numberOfRecentAmisToKeep" type:"integer"` // The identifier of the replication job. // // ReplicationJobId is a required field ReplicationJobId *string `locationName:"replicationJobId" type:"string" required:"true"` // The name of the IAM role to be used by AWS SMS. RoleName *string `locationName:"roleName" type:"string"` // contains filtered or unexported fields }
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) String ¶
func (s UpdateReplicationJobOutput) String() string
String returns the string representation
type UpdateReplicationJobRequest ¶
type UpdateReplicationJobRequest struct { *aws.Request Input *UpdateReplicationJobInput Copy func(*UpdateReplicationJobInput) UpdateReplicationJobRequest }
UpdateReplicationJobRequest is the request type for the UpdateReplicationJob API operation.
func (UpdateReplicationJobRequest) Send ¶
func (r UpdateReplicationJobRequest) Send(ctx context.Context) (*UpdateReplicationJobResponse, error)
Send marshals and sends the UpdateReplicationJob API request.
type UpdateReplicationJobResponse ¶ added in v0.9.0
type UpdateReplicationJobResponse struct { *UpdateReplicationJobOutput // contains filtered or unexported fields }
UpdateReplicationJobResponse is the response type for the UpdateReplicationJob API operation.
func (*UpdateReplicationJobResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *UpdateReplicationJobResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateReplicationJob request.
type UserData ¶ added in v0.6.0
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.
type VmManagerType ¶
type VmManagerType string
const ( VmManagerTypeVsphere VmManagerType = "VSPHERE" VmManagerTypeScvmm VmManagerType = "SCVMM" VmManagerTypeHypervManager VmManagerType = "HYPERV-MANAGER" )
Enum values for VmManagerType
func (VmManagerType) MarshalValue ¶ added in v0.3.0
func (enum VmManagerType) MarshalValue() (string, error)
func (VmManagerType) MarshalValueBuf ¶ added in v0.3.0
func (enum VmManagerType) MarshalValueBuf(b []byte) ([]byte, error)
type VmServer ¶
type VmServer struct { // The name of the VM manager. VmManagerName *string `locationName:"vmManagerName" type:"string"` // The type of VM management product. VmManagerType VmManagerType `locationName:"vmManagerType" type:"string" enum:"true"` // The name of the VM. VmName *string `locationName:"vmName" type:"string"` // The VM folder path in the vCenter Server virtual machine inventory tree. VmPath *string `locationName:"vmPath" type:"string"` // Information about the VM server location. VmServerAddress *VmServerAddress `locationName:"vmServerAddress" type:"structure"` // contains filtered or unexported fields }
Represents a VM server.
type VmServerAddress ¶
type VmServerAddress struct { // The identifier of the VM. VmId *string `locationName:"vmId" type:"string"` // The identifier of the VM manager. VmManagerId *string `locationName:"vmManagerId" type:"string"` // contains filtered or unexported fields }
Represents a VM server location.
func (VmServerAddress) String ¶
func (s VmServerAddress) String() string
String returns the string representation
Source Files ¶
- api_client.go
- api_doc.go
- api_enums.go
- api_errors.go
- api_op_CreateApp.go
- api_op_CreateReplicationJob.go
- api_op_DeleteApp.go
- api_op_DeleteAppLaunchConfiguration.go
- api_op_DeleteAppReplicationConfiguration.go
- api_op_DeleteReplicationJob.go
- api_op_DeleteServerCatalog.go
- api_op_DisassociateConnector.go
- api_op_GenerateChangeSet.go
- api_op_GenerateTemplate.go
- api_op_GetApp.go
- api_op_GetAppLaunchConfiguration.go
- api_op_GetAppReplicationConfiguration.go
- api_op_GetConnectors.go
- api_op_GetReplicationJobs.go
- api_op_GetReplicationRuns.go
- api_op_GetServers.go
- api_op_ImportServerCatalog.go
- api_op_LaunchApp.go
- api_op_ListApps.go
- api_op_PutAppLaunchConfiguration.go
- api_op_PutAppReplicationConfiguration.go
- api_op_StartAppReplication.go
- api_op_StartOnDemandReplicationRun.go
- api_op_StopAppReplication.go
- api_op_TerminateApp.go
- api_op_UpdateApp.go
- api_op_UpdateReplicationJob.go
- api_types.go