AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

SpotFleetRequestConfig

import "github.com/aws/aws-sdk-go/service/ec2"

type SpotFleetRequestConfig struct { ActivityStatus *string `locationName:"activityStatus" type:"string" enum:"ActivityStatus"` CreateTime *time.Time `locationName:"createTime" type:"timestamp"` SpotFleetRequestConfig *SpotFleetRequestConfigData `locationName:"spotFleetRequestConfig" type:"structure"` SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string"` SpotFleetRequestState *string `locationName:"spotFleetRequestState" type:"string" enum:"BatchState"` }

Describes a Spot Fleet request.

ActivityStatus

Type: *string

The progress of the Spot Fleet request. If there is an error, the status is error. After all requests are placed, the status is pending_fulfillment. If the size of the fleet is equal to or greater than its target capacity, the status is fulfilled. If the size of the fleet is decreased, the status is pending_termination while Spot Instances are terminating.

CreateTime

Type: *time.Time

The creation date and time of the request.

SpotFleetRequestConfig

Describes the configuration of a Spot Fleet request.

SpotFleetRequestId

Type: *string

The ID of the Spot Fleet request.

SpotFleetRequestState

Type: *string

The state of the Spot Fleet request.

Method

GoString

func (s SpotFleetRequestConfig) GoString() string

GoString returns the string representation

SetActivityStatus

func (s *SpotFleetRequestConfig) SetActivityStatus(v string) *SpotFleetRequestConfig

SetActivityStatus sets the ActivityStatus field's value.

SetCreateTime

func (s *SpotFleetRequestConfig) SetCreateTime(v time.Time) *SpotFleetRequestConfig

SetCreateTime sets the CreateTime field's value.

SetSpotFleetRequestConfig

func (s *SpotFleetRequestConfig) SetSpotFleetRequestConfig(v *SpotFleetRequestConfigData) *SpotFleetRequestConfig

SetSpotFleetRequestConfig sets the SpotFleetRequestConfig field's value.

SetSpotFleetRequestId

func (s *SpotFleetRequestConfig) SetSpotFleetRequestId(v string) *SpotFleetRequestConfig

SetSpotFleetRequestId sets the SpotFleetRequestId field's value.

SetSpotFleetRequestState

func (s *SpotFleetRequestConfig) SetSpotFleetRequestState(v string) *SpotFleetRequestConfig

SetSpotFleetRequestState sets the SpotFleetRequestState field's value.

String

func (s SpotFleetRequestConfig) String() string

String returns the string representation

On this page: