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.

Fleet

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

type Fleet struct { Arn *string `type:"string" required:"true"` ComputeCapacityStatus *ComputeCapacityStatus `type:"structure" required:"true"` CreatedTime *time.Time `type:"timestamp"` Description *string `min:"1" type:"string"` DisconnectTimeoutInSeconds *int64 `type:"integer"` DisplayName *string `min:"1" type:"string"` DomainJoinInfo *DomainJoinInfo `type:"structure"` EnableDefaultInternetAccess *bool `type:"boolean"` FleetErrors []*FleetError `type:"list"` FleetType *string `type:"string" enum:"FleetType"` ImageArn *string `type:"string"` ImageName *string `min:"1" type:"string"` InstanceType *string `min:"1" type:"string" required:"true"` MaxUserDurationInSeconds *int64 `type:"integer"` Name *string `min:"1" type:"string" required:"true"` State *string `type:"string" required:"true" enum:"FleetState"` VpcConfig *VpcConfig `type:"structure"` }

Describes the parameters for a fleet.

Arn

Type: *string

The ARN for the fleet.

Arn is a required field

ComputeCapacityStatus

Describes the capacity status for a fleet.

CreatedTime

Type: *time.Time

The time the fleet was created.

Description

Type: *string

The description to display.

DisconnectTimeoutInSeconds

Type: *int64

The time after disconnection when a session is considered to have ended, in seconds. If a user who was disconnected reconnects within this time interval, the user is connected to their previous session. Specify a value between 60 and 360000. By default, this value is 900 seconds (15 minutes).

DisplayName

Type: *string

The fleet name to display.

DomainJoinInfo

Describes the configuration information required to join fleets and image builders to Microsoft Active Directory domains.

EnableDefaultInternetAccess

Type: *bool

Indicates whether default internet access is enabled for the fleet.

FleetErrors

Describes a fleet error.

FleetType

Type: *string

The fleet type.

ALWAYS_ONProvides users with instant-on access to their apps. You are charged for all running instances in your fleet, even if no users are streaming apps.

ON_DEMANDProvide users with access to applications after they connect, which takes one to two minutes. You are charged for instance streaming when users are connected and a small hourly fee for instances that are not streaming apps.

ImageArn

Type: *string

The ARN for the public, private, or shared image.

ImageName

Type: *string

The name of the image used to create the fleet.

InstanceType

Type: *string

The instance type to use when launching fleet instances.

InstanceType is a required field

MaxUserDurationInSeconds

Type: *int64

The maximum time that a streaming session can run, in seconds. Specify a value between 600 and 360000.

Name

Type: *string

The name of the fleet.

Name is a required field

State

Type: *string

The current state for the fleet.

State is a required field

VpcConfig

Describes VPC configuration information for fleets and image builders.

Method

GoString

func (s Fleet) GoString() string

GoString returns the string representation

SetArn

func (s *Fleet) SetArn(v string) *Fleet

SetArn sets the Arn field's value.

SetComputeCapacityStatus

func (s *Fleet) SetComputeCapacityStatus(v *ComputeCapacityStatus) *Fleet

SetComputeCapacityStatus sets the ComputeCapacityStatus field's value.

SetCreatedTime

func (s *Fleet) SetCreatedTime(v time.Time) *Fleet

SetCreatedTime sets the CreatedTime field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetDisconnectTimeoutInSeconds

func (s *Fleet) SetDisconnectTimeoutInSeconds(v int64) *Fleet

SetDisconnectTimeoutInSeconds sets the DisconnectTimeoutInSeconds field's value.

SetDisplayName

func (s *Fleet) SetDisplayName(v string) *Fleet

SetDisplayName sets the DisplayName field's value.

SetDomainJoinInfo

func (s *Fleet) SetDomainJoinInfo(v *DomainJoinInfo) *Fleet

SetDomainJoinInfo sets the DomainJoinInfo field's value.

SetEnableDefaultInternetAccess

func (s *Fleet) SetEnableDefaultInternetAccess(v bool) *Fleet

SetEnableDefaultInternetAccess sets the EnableDefaultInternetAccess field's value.

SetFleetErrors

func (s *Fleet) SetFleetErrors(v []*FleetError) *Fleet

SetFleetErrors sets the FleetErrors field's value.

SetFleetType

func (s *Fleet) SetFleetType(v string) *Fleet

SetFleetType sets the FleetType field's value.

SetImageArn

func (s *Fleet) SetImageArn(v string) *Fleet

SetImageArn sets the ImageArn field's value.

SetImageName

func (s *Fleet) SetImageName(v string) *Fleet

SetImageName sets the ImageName field's value.

SetInstanceType

func (s *Fleet) SetInstanceType(v string) *Fleet

SetInstanceType sets the InstanceType field's value.

SetMaxUserDurationInSeconds

func (s *Fleet) SetMaxUserDurationInSeconds(v int64) *Fleet

SetMaxUserDurationInSeconds sets the MaxUserDurationInSeconds field's value.

SetName

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

SetName sets the Name field's value.

SetState

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

SetState sets the State field's value.

SetVpcConfig

func (s *Fleet) SetVpcConfig(v *VpcConfig) *Fleet

SetVpcConfig sets the VpcConfig field's value.

String

func (s Fleet) String() string

String returns the string representation

On this page: