aws

package
v1.369.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 56

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregatedClusterCost added in v1.122.0

type AggregatedClusterCost struct {
	Result *Result `json:"result,omitempty"`
}

type AggregatedCompute added in v1.122.0

type AggregatedCompute struct {
	Headroom  *Headroom  `json:"headroom,omitempty"`
	Total     *float64   `json:"total,omitempty"`
	Workloads *Workloads `json:"workloads,omitempty"`
}

type AggregatedCostResource added in v1.122.0

type AggregatedCostResource struct {
	Compute  *AggregatedCompute `json:"compute,omitempty"`
	Storage  *AggregatedStorage `json:"storage,omitempty"`
	MetaData *MetaData          `json:"metaData,omitempty"`
	Total    *float64           `json:"total,omitempty"`
}

type AggregatedFilter added in v1.122.0

type AggregatedFilter struct {
	Scope      *string     `json:"scope,omitempty"`
	Conditions *Conditions `json:"conditions,omitempty"`
}

type AggregatedStorage added in v1.122.0

type AggregatedStorage struct {
	Block *Block   `json:"block,omitempty"`
	File  *File    `json:"file,omitempty"`
	Total *float64 `json:"total,omitempty"`
}

type AggressiveScaleDown added in v1.193.0

type AggressiveScaleDown struct {
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// contains filtered or unexported fields
}

func (AggressiveScaleDown) MarshalJSON added in v1.193.0

func (o AggressiveScaleDown) MarshalJSON() ([]byte, error)

func (*AggressiveScaleDown) SetIsEnabled added in v1.193.0

func (o *AggressiveScaleDown) SetIsEnabled(v *bool) *AggressiveScaleDown

type AllMatch added in v1.122.0

type AllMatch struct {
	AllMatches []*AllMatchInner `json:"allMatch,omitempty"`
}

type AllMatchInner added in v1.122.0

type AllMatchInner struct {
	Type     *string `json:"type,omitempty"`
	Key      *string `json:"key,omitempty"`
	Operator *string `json:"operator,omitempty"`
	Value    *string `json:"value,omitempty"`
}

type AmiAutoUpdate added in v1.191.0

type AmiAutoUpdate struct {
	ApplyRoll                *bool                     `json:"applyRoll,omitempty"`
	AmiAutoUpdateClusterRoll *AmiAutoUpdateClusterRoll `json:"clusterRoll,omitempty"`
	MinorVersion             *bool                     `json:"minorVersion,omitempty"`
	Patch                    *bool                     `json:"patch,omitempty"`
	// contains filtered or unexported fields
}

func (*AmiAutoUpdate) SetApplyRoll added in v1.191.0

func (o *AmiAutoUpdate) SetApplyRoll(v *bool) *AmiAutoUpdate

func (*AmiAutoUpdate) SetClusterRoll added in v1.191.0

func (o *AmiAutoUpdate) SetClusterRoll(v *AmiAutoUpdateClusterRoll) *AmiAutoUpdate

func (*AmiAutoUpdate) SetMinorVersion added in v1.191.0

func (o *AmiAutoUpdate) SetMinorVersion(v *bool) *AmiAutoUpdate

func (*AmiAutoUpdate) SetPatch added in v1.191.0

func (o *AmiAutoUpdate) SetPatch(v *bool) *AmiAutoUpdate

type AmiAutoUpdateClusterRoll added in v1.191.0

type AmiAutoUpdateClusterRoll struct {
	BatchMinHealthyPercentage *int    `json:"batchMinHealthyPercentage,omitempty"`
	BatchSizePercentage       *int    `json:"batchSizePercentage,omitempty"`
	Comment                   *string `json:"comment,omitempty"`
	RespectPdb                *bool   `json:"respectPdb,omitempty"`
	// contains filtered or unexported fields
}

func (*AmiAutoUpdateClusterRoll) SetBatchMinHealthyPercentage added in v1.191.0

func (o *AmiAutoUpdateClusterRoll) SetBatchMinHealthyPercentage(v *int) *AmiAutoUpdateClusterRoll

func (*AmiAutoUpdateClusterRoll) SetBatchSizePercentage added in v1.191.0

func (o *AmiAutoUpdateClusterRoll) SetBatchSizePercentage(v *int) *AmiAutoUpdateClusterRoll

func (*AmiAutoUpdateClusterRoll) SetComment added in v1.191.0

func (*AmiAutoUpdateClusterRoll) SetRespectPdb added in v1.191.0

type AttachLoadbalancerInput added in v1.345.0

type AttachLoadbalancerInput struct {
	LoadBalancers []*LoadBalancers `json:"loadBalancers,omitempty"`
	ID            *string          `json:"id,omitempty"`
}

type AttachLoadbalancerOutput added in v1.345.0

type AttachLoadbalancerOutput struct{}

type Attribute added in v1.108.0

type Attribute struct {
	Key      *string `json:"key,omitempty"`
	Operator *string `json:"operator,omitempty"`
	Type     *string `json:"type,omitempty"`
	Value    *string `json:"value,omitempty"`
	// contains filtered or unexported fields
}

type AutoScale

type AutoScale struct {
	Headrooms              []*AutoScaleHeadroom `json:"headrooms,omitempty"`
	AutoHeadroomPercentage *int                 `json:"autoHeadroomPercentage,omitempty"`
	Down                   *AutoScalerDownVNG   `json:"down,omitempty"`
	// contains filtered or unexported fields
}

func (AutoScale) MarshalJSON

func (o AutoScale) MarshalJSON() ([]byte, error)

func (*AutoScale) SetAutoHeadroomPercentage added in v1.112.0

func (o *AutoScale) SetAutoHeadroomPercentage(v *int) *AutoScale

func (*AutoScale) SetAutoScalerDownVNG added in v1.140.0

func (o *AutoScale) SetAutoScalerDownVNG(v *AutoScalerDownVNG) *AutoScale

func (*AutoScale) SetHeadrooms

func (o *AutoScale) SetHeadrooms(v []*AutoScaleHeadroom) *AutoScale

type AutoScaleHeadroom

type AutoScaleHeadroom struct {
	CPUPerUnit    *int `json:"cpuPerUnit,omitempty"`
	GPUPerUnit    *int `json:"gpuPerUnit,omitempty"`
	MemoryPerUnit *int `json:"memoryPerUnit,omitempty"`
	NumOfUnits    *int `json:"numOfUnits,omitempty"`
	// contains filtered or unexported fields
}

func (AutoScaleHeadroom) MarshalJSON

func (o AutoScaleHeadroom) MarshalJSON() ([]byte, error)

func (*AutoScaleHeadroom) SetCPUPerUnit

func (o *AutoScaleHeadroom) SetCPUPerUnit(v *int) *AutoScaleHeadroom

func (*AutoScaleHeadroom) SetGPUPerUnit

func (o *AutoScaleHeadroom) SetGPUPerUnit(v *int) *AutoScaleHeadroom

func (*AutoScaleHeadroom) SetMemoryPerUnit

func (o *AutoScaleHeadroom) SetMemoryPerUnit(v *int) *AutoScaleHeadroom

func (*AutoScaleHeadroom) SetNumOfUnits

func (o *AutoScaleHeadroom) SetNumOfUnits(v *int) *AutoScaleHeadroom

type AutoScaler

type AutoScaler struct {
	IsEnabled                        *bool                     `json:"isEnabled,omitempty"`
	IsAutoConfig                     *bool                     `json:"isAutoConfig,omitempty"`
	Cooldown                         *int                      `json:"cooldown,omitempty"`
	AutoHeadroomPercentage           *int                      `json:"autoHeadroomPercentage,omitempty"`
	Headroom                         *AutoScalerHeadroom       `json:"headroom,omitempty"`
	ResourceLimits                   *AutoScalerResourceLimits `json:"resourceLimits,omitempty"`
	Down                             *AutoScalerDown           `json:"down,omitempty"`
	EnableAutomaticAndManualHeadroom *bool                     `json:"enableAutomaticAndManualHeadroom,omitempty"`
	ExtendedResourceDefinitions      []string                  `json:"extendedResourceDefinitions,omitempty"`
	// contains filtered or unexported fields
}

func (AutoScaler) MarshalJSON

func (o AutoScaler) MarshalJSON() ([]byte, error)

func (*AutoScaler) SetAutoHeadroomPercentage added in v1.42.0

func (o *AutoScaler) SetAutoHeadroomPercentage(v *int) *AutoScaler

func (*AutoScaler) SetCooldown

func (o *AutoScaler) SetCooldown(v *int) *AutoScaler

func (*AutoScaler) SetDown

func (o *AutoScaler) SetDown(v *AutoScalerDown) *AutoScaler

func (*AutoScaler) SetEnableAutomaticAndManualHeadroom added in v1.108.0

func (o *AutoScaler) SetEnableAutomaticAndManualHeadroom(v *bool) *AutoScaler

func (*AutoScaler) SetExtendedResourceDefinitions added in v1.110.0

func (o *AutoScaler) SetExtendedResourceDefinitions(v []string) *AutoScaler

func (*AutoScaler) SetHeadroom

func (o *AutoScaler) SetHeadroom(v *AutoScalerHeadroom) *AutoScaler

func (*AutoScaler) SetIsAutoConfig

func (o *AutoScaler) SetIsAutoConfig(v *bool) *AutoScaler

func (*AutoScaler) SetIsEnabled

func (o *AutoScaler) SetIsEnabled(v *bool) *AutoScaler

func (*AutoScaler) SetResourceLimits

func (o *AutoScaler) SetResourceLimits(v *AutoScalerResourceLimits) *AutoScaler

type AutoScalerDown

type AutoScalerDown struct {
	EvaluationPeriods      *int                 `json:"evaluationPeriods,omitempty"`
	MaxScaleDownPercentage *float64             `json:"maxScaleDownPercentage,omitempty"`
	AggressiveScaleDown    *AggressiveScaleDown `json:"aggressiveScaleDown,omitempty"`
	// contains filtered or unexported fields
}

func (AutoScalerDown) MarshalJSON

func (o AutoScalerDown) MarshalJSON() ([]byte, error)

func (*AutoScalerDown) SetAggressiveScaleDown added in v1.193.0

func (o *AutoScalerDown) SetAggressiveScaleDown(v *AggressiveScaleDown) *AutoScalerDown

func (*AutoScalerDown) SetEvaluationPeriods

func (o *AutoScalerDown) SetEvaluationPeriods(v *int) *AutoScalerDown

func (*AutoScalerDown) SetMaxScaleDownPercentage added in v1.37.0

func (o *AutoScalerDown) SetMaxScaleDownPercentage(v *float64) *AutoScalerDown

type AutoScalerDownVNG added in v1.140.0

type AutoScalerDownVNG struct {
	MaxScaleDownPercentage *float64 `json:"maxScaleDownPercentage,omitempty"`
	// contains filtered or unexported fields
}

func (AutoScalerDownVNG) MarshalJSON added in v1.140.0

func (o AutoScalerDownVNG) MarshalJSON() ([]byte, error)

func (*AutoScalerDownVNG) SetMaxScaleDownPercentage added in v1.140.0

func (o *AutoScalerDownVNG) SetMaxScaleDownPercentage(v *float64) *AutoScalerDownVNG

type AutoScalerHeadroom

type AutoScalerHeadroom struct {
	CPUPerUnit    *int `json:"cpuPerUnit,omitempty"`
	GPUPerUnit    *int `json:"gpuPerUnit,omitempty"`
	MemoryPerUnit *int `json:"memoryPerUnit,omitempty"`
	NumOfUnits    *int `json:"numOfUnits,omitempty"`
	// contains filtered or unexported fields
}

func (AutoScalerHeadroom) MarshalJSON

func (o AutoScalerHeadroom) MarshalJSON() ([]byte, error)

func (*AutoScalerHeadroom) SetCPUPerUnit

func (o *AutoScalerHeadroom) SetCPUPerUnit(v *int) *AutoScalerHeadroom

func (*AutoScalerHeadroom) SetGPUPerUnit

func (o *AutoScalerHeadroom) SetGPUPerUnit(v *int) *AutoScalerHeadroom

func (*AutoScalerHeadroom) SetMemoryPerUnit

func (o *AutoScalerHeadroom) SetMemoryPerUnit(v *int) *AutoScalerHeadroom

func (*AutoScalerHeadroom) SetNumOfUnits

func (o *AutoScalerHeadroom) SetNumOfUnits(v *int) *AutoScalerHeadroom

type AutoScalerResourceLimits

type AutoScalerResourceLimits struct {
	MaxVCPU      *int `json:"maxVCpu,omitempty"`
	MaxMemoryGiB *int `json:"maxMemoryGib,omitempty"`
	// contains filtered or unexported fields
}

func (AutoScalerResourceLimits) MarshalJSON

func (o AutoScalerResourceLimits) MarshalJSON() ([]byte, error)

func (*AutoScalerResourceLimits) SetMaxMemoryGiB

func (o *AutoScalerResourceLimits) SetMaxMemoryGiB(v *int) *AutoScalerResourceLimits

func (*AutoScalerResourceLimits) SetMaxVCPU

type Block added in v1.122.0

type Block struct {
	EbsPv *EbsPv   `json:"ebsPv,omitempty"`
	NonPv *NonPv   `json:"nonPv,omitempty"`
	Total *float64 `json:"total,omitempty"`
}

type BlockDeviceMapping added in v1.54.0

type BlockDeviceMapping struct {
	DeviceName  *string `json:"deviceName,omitempty"`
	NoDevice    *string `json:"noDevice,omitempty"`
	VirtualName *string `json:"virtualName,omitempty"`
	EBS         *EBS    `json:"ebs,omitempty"`
	// contains filtered or unexported fields
}

func (BlockDeviceMapping) MarshalJSON added in v1.54.0

func (o BlockDeviceMapping) MarshalJSON() ([]byte, error)

func (*BlockDeviceMapping) SetDeviceName added in v1.54.0

func (o *BlockDeviceMapping) SetDeviceName(v *string) *BlockDeviceMapping

func (*BlockDeviceMapping) SetEBS added in v1.54.0

func (o *BlockDeviceMapping) SetEBS(v *EBS) *BlockDeviceMapping

func (*BlockDeviceMapping) SetNoDevice added in v1.54.0

func (o *BlockDeviceMapping) SetNoDevice(v *string) *BlockDeviceMapping

func (*BlockDeviceMapping) SetVirtualName added in v1.54.0

func (o *BlockDeviceMapping) SetVirtualName(v *string) *BlockDeviceMapping

type Capacity

type Capacity struct {
	Minimum *int `json:"minimum,omitempty"`
	Maximum *int `json:"maximum,omitempty"`
	Target  *int `json:"target,omitempty"`
	// contains filtered or unexported fields
}

func (Capacity) MarshalJSON

func (o Capacity) MarshalJSON() ([]byte, error)

func (*Capacity) SetMaximum

func (o *Capacity) SetMaximum(v *int) *Capacity

func (*Capacity) SetMinimum

func (o *Capacity) SetMinimum(v *int) *Capacity

func (*Capacity) SetTarget

func (o *Capacity) SetTarget(v *int) *Capacity

type Cluster

type Cluster struct {
	ID                  *string     `json:"id,omitempty"`
	ControllerClusterID *string     `json:"controllerClusterId,omitempty"`
	Name                *string     `json:"name,omitempty"`
	Region              *string     `json:"region,omitempty"`
	Strategy            *Strategy   `json:"strategy,omitempty"`
	Capacity            *Capacity   `json:"capacity,omitempty"`
	Compute             *Compute    `json:"compute,omitempty"`
	Scheduling          *Scheduling `json:"scheduling,omitempty"`
	AutoScaler          *AutoScaler `json:"autoScaler,omitempty"`
	Logging             *Logging    `json:"logging,omitempty"`

	// Read-only fields.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (Cluster) MarshalJSON

func (o Cluster) MarshalJSON() ([]byte, error)

func (*Cluster) SetAutoScaler

func (o *Cluster) SetAutoScaler(v *AutoScaler) *Cluster

func (*Cluster) SetCapacity

func (o *Cluster) SetCapacity(v *Capacity) *Cluster

func (*Cluster) SetCompute

func (o *Cluster) SetCompute(v *Compute) *Cluster

func (*Cluster) SetControllerClusterId

func (o *Cluster) SetControllerClusterId(v *string) *Cluster

func (*Cluster) SetId

func (o *Cluster) SetId(v *string) *Cluster

func (*Cluster) SetLogging added in v1.107.0

func (o *Cluster) SetLogging(v *Logging) *Cluster

func (*Cluster) SetName

func (o *Cluster) SetName(v *string) *Cluster

func (*Cluster) SetRegion

func (o *Cluster) SetRegion(v *string) *Cluster

func (*Cluster) SetScheduling added in v1.40.0

func (o *Cluster) SetScheduling(v *Scheduling) *Cluster

func (*Cluster) SetStrategy

func (o *Cluster) SetStrategy(v *Strategy) *Cluster

type ClusterAggregatedCostInput added in v1.122.0

type ClusterAggregatedCostInput struct {
	OceanId   *string           `json:"oceanId,omitempty"`
	StartTime *string           `json:"startTime,omitempty"`
	EndTime   *string           `json:"endTime,omitempty"`
	GroupBy   *string           `json:"groupBy,omitempty"`
	Filter    *AggregatedFilter `json:"filter,omitempty"`
}

type ClusterAggregatedCostOutput added in v1.122.0

type ClusterAggregatedCostOutput struct {
	AggregatedClusterCosts []*AggregatedClusterCost `json:"aggregatedClusterCosts,omitempty"`
}

type ClusterBlockDeviceMappings added in v1.155.0

type ClusterBlockDeviceMappings struct {
	DeviceName *string     `json:"deviceName,omitempty"`
	EBS        *ClusterEBS `json:"ebs,omitempty"`
	// contains filtered or unexported fields
}

func (ClusterBlockDeviceMappings) MarshalJSON added in v1.155.0

func (o ClusterBlockDeviceMappings) MarshalJSON() ([]byte, error)

func (*ClusterBlockDeviceMappings) SetDeviceName added in v1.155.0

func (*ClusterBlockDeviceMappings) SetEBS added in v1.155.0

type ClusterDynamicIops added in v1.174.0

type ClusterDynamicIops struct {
	BaseSize            *int    `json:"baseSize,omitempty"`
	SizePerResourceUnit *int    `json:"sizePerResourceUnit,omitempty"`
	Resource            *string `json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (ClusterDynamicIops) MarshalJSON added in v1.174.0

func (o ClusterDynamicIops) MarshalJSON() ([]byte, error)

func (*ClusterDynamicIops) SetBaseSize added in v1.174.0

func (o *ClusterDynamicIops) SetBaseSize(v *int) *ClusterDynamicIops

func (*ClusterDynamicIops) SetResource added in v1.174.0

func (o *ClusterDynamicIops) SetResource(v *string) *ClusterDynamicIops

func (*ClusterDynamicIops) SetSizePerResourceUnit added in v1.174.0

func (o *ClusterDynamicIops) SetSizePerResourceUnit(v *int) *ClusterDynamicIops

type ClusterDynamicVolumeSize added in v1.155.0

type ClusterDynamicVolumeSize struct {
	BaseSize            *int    `json:"baseSize,omitempty"`
	SizePerResourceUnit *int    `json:"sizePerResourceUnit,omitempty"`
	Resource            *string `json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (ClusterDynamicVolumeSize) MarshalJSON added in v1.155.0

func (o ClusterDynamicVolumeSize) MarshalJSON() ([]byte, error)

func (*ClusterDynamicVolumeSize) SetBaseSize added in v1.155.0

func (*ClusterDynamicVolumeSize) SetResource added in v1.155.0

func (*ClusterDynamicVolumeSize) SetSizePerResourceUnit added in v1.155.0

func (o *ClusterDynamicVolumeSize) SetSizePerResourceUnit(v *int) *ClusterDynamicVolumeSize

type ClusterEBS added in v1.155.0

type ClusterEBS struct {
	DeleteOnTermination *bool                     `json:"deleteOnTermination,omitempty"`
	Encrypted           *bool                     `json:"encrypted,omitempty"`
	KMSKeyID            *string                   `json:"kmsKeyId,omitempty"`
	SnapshotID          *string                   `json:"snapshotId,omitempty"`
	VolumeType          *string                   `json:"volumeType,omitempty"`
	IOPS                *int                      `json:"iops,omitempty"`
	VolumeSize          *int                      `json:"volumeSize,omitempty"`
	Throughput          *int                      `json:"throughput,omitempty"`
	DynamicVolumeSize   *ClusterDynamicVolumeSize `json:"dynamicVolumeSize,omitempty"`
	DynamicIops         *ClusterDynamicIops       `json:"dynamicIops,omitempty"`
	// contains filtered or unexported fields
}

func (ClusterEBS) MarshalJSON added in v1.155.0

func (o ClusterEBS) MarshalJSON() ([]byte, error)

func (*ClusterEBS) SetDeleteOnTermination added in v1.155.0

func (o *ClusterEBS) SetDeleteOnTermination(v *bool) *ClusterEBS

func (*ClusterEBS) SetDynamicIops added in v1.174.0

func (o *ClusterEBS) SetDynamicIops(v *ClusterDynamicIops) *ClusterEBS

func (*ClusterEBS) SetDynamicVolumeSize added in v1.155.0

func (o *ClusterEBS) SetDynamicVolumeSize(v *ClusterDynamicVolumeSize) *ClusterEBS

func (*ClusterEBS) SetEncrypted added in v1.155.0

func (o *ClusterEBS) SetEncrypted(v *bool) *ClusterEBS

func (*ClusterEBS) SetIOPS added in v1.155.0

func (o *ClusterEBS) SetIOPS(v *int) *ClusterEBS

func (*ClusterEBS) SetKMSKeyId added in v1.155.0

func (o *ClusterEBS) SetKMSKeyId(v *string) *ClusterEBS

func (*ClusterEBS) SetSnapshotId added in v1.155.0

func (o *ClusterEBS) SetSnapshotId(v *string) *ClusterEBS

func (*ClusterEBS) SetThroughput added in v1.155.0

func (o *ClusterEBS) SetThroughput(v *int) *ClusterEBS

func (*ClusterEBS) SetVolumeSize added in v1.155.0

func (o *ClusterEBS) SetVolumeSize(v *int) *ClusterEBS

func (*ClusterEBS) SetVolumeType added in v1.155.0

func (o *ClusterEBS) SetVolumeType(v *string) *ClusterEBS

type ClusterNodes added in v1.189.0

type ClusterNodes struct {
	InstanceId                   *string  `json:"instanceId,omitempty"`
	InstanceType                 *string  `json:"instanceType,omitempty"`
	AvailabilityZone             *string  `json:"availabilityZone,omitempty"`
	LaunchSpecId                 *string  `json:"launchSpecId,omitempty"`
	LaunchSpecName               *string  `json:"launchSpecName,omitempty"`
	LifeCycle                    *string  `json:"lifeCycle,omitempty"`
	PublicIp                     *string  `json:"publicIp,omitempty"`
	NodeName                     *string  `json:"nodeName,omitempty"`
	RegistrationStatus           *string  `json:"registrationStatus,omitempty"`
	WorkloadRequestedMilliCpu    *int     `json:"workloadRequestedMilliCpu,omitempty"`
	WorkloadRequestedMemoryInMiB *int     `json:"workloadRequestedMemoryInMiB,omitempty"`
	WorkloadRequestedGpu         *int     `json:"workloadRequestedGpu,omitempty"`
	HeadroomRequestedMilliCpu    *int     `json:"headroomRequestedMilliCpu,omitempty"`
	HeadroomRequestedMemoryInMiB *int     `json:"headroomRequestedMemoryInMiB,omitempty"`
	HeadroomRequestedGpu         *int     `json:"headroomRequestedGpu,omitempty"`
	AllocatableMilliCpu          *int     `json:"allocatableMilliCpu,omitempty"`
	AllocatableMemoryInMiB       *float64 `json:"allocatableMemoryInMiB,omitempty"`
	AllocatableGpu               *int     `json:"allocatableGpu,omitempty"`

	// Read-only fields.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// contains filtered or unexported fields
}

type ClusterOrientation added in v1.137.0

type ClusterOrientation struct {
	AvailabilityVsCost *string `json:"availabilityVsCost,omitempty"`
	// contains filtered or unexported fields
}

func (ClusterOrientation) MarshalJSON added in v1.137.0

func (o ClusterOrientation) MarshalJSON() ([]byte, error)

func (*ClusterOrientation) SetAvailabilityVsCost added in v1.137.0

func (o *ClusterOrientation) SetAvailabilityVsCost(v *string) *ClusterOrientation

type Compute

type Compute struct {
	InstanceTypes       *InstanceTypes       `json:"instanceTypes,omitempty"`
	LaunchSpecification *LaunchSpecification `json:"launchSpecification,omitempty"`
	SubnetIDs           []string             `json:"subnetIds,omitempty"`
	// contains filtered or unexported fields
}

func (Compute) MarshalJSON

func (o Compute) MarshalJSON() ([]byte, error)

func (*Compute) SetInstanceTypes

func (o *Compute) SetInstanceTypes(v *InstanceTypes) *Compute

func (*Compute) SetLaunchSpecification

func (o *Compute) SetLaunchSpecification(v *LaunchSpecification) *Compute

func (*Compute) SetSubnetIDs

func (o *Compute) SetSubnetIDs(v []string) *Compute

type Conditions added in v1.122.0

type Conditions struct {
	AnyMatch []*AllMatch `json:"anyMatch,omitempty"`
}

type ContainerResourceSuggestion added in v1.83.0

type ContainerResourceSuggestion struct {
	Name            *string  `json:"name,omitempty"`
	SuggestedCPU    *float64 `json:"suggestedCpu,omitempty"`
	RequestedCPU    *float64 `json:"requestedCpu,omitempty"`
	SuggestedMemory *float64 `json:"suggestedMemory,omitempty"`
	RequestedMemory *float64 `json:"requestedMemory,omitempty"`
}

ContainerResourceSuggestion represents a resource suggestion for a single container.

type CreateClusterInput

type CreateClusterInput struct {
	Cluster *Cluster `json:"cluster,omitempty"`
}

type CreateClusterOutput

type CreateClusterOutput struct {
	Cluster *Cluster `json:"cluster,omitempty"`
}

type CreateECSClusterInput

type CreateECSClusterInput struct {
	Cluster *ECSCluster `json:"cluster,omitempty"`
}

type CreateECSClusterOutput

type CreateECSClusterOutput struct {
	Cluster *ECSCluster `json:"cluster,omitempty"`
}

type CreateECSLaunchSpecInput

type CreateECSLaunchSpecInput struct {
	LaunchSpec *ECSLaunchSpec `json:"launchSpec,omitempty"`
}

type CreateECSLaunchSpecOutput

type CreateECSLaunchSpecOutput struct {
	LaunchSpec *ECSLaunchSpec `json:"launchSpec,omitempty"`
}

type CreateExtendedResourceDefinitionInput added in v1.112.0

type CreateExtendedResourceDefinitionInput struct {
	ExtendedResourceDefinition *ExtendedResourceDefinition `json:"extendedResourceDefinition,omitempty"`
}

type CreateExtendedResourceDefinitionOutput added in v1.112.0

type CreateExtendedResourceDefinitionOutput struct {
	ExtendedResourceDefinition *ExtendedResourceDefinition `json:"extendedResourceDefinition,omitempty"`
}

type CreateLaunchSpecInput

type CreateLaunchSpecInput struct {
	LaunchSpec   *LaunchSpec `json:"launchSpec,omitempty"`
	InitialNodes *int        `json:"-"`
}

type CreateLaunchSpecOutput

type CreateLaunchSpecOutput struct {
	LaunchSpec *LaunchSpec `json:"launchSpec,omitempty"`
}

type CreateRollInput added in v1.55.0

type CreateRollInput struct {
	Roll *RollSpec `json:"roll,omitempty"`
}

type CreateRollOutput added in v1.55.0

type CreateRollOutput struct {
	Roll *RollStatus `json:"roll,omitempty"`
}

type DeleteClusterInput

type DeleteClusterInput struct {
	ClusterID *string `json:"clusterId,omitempty"`
}

type DeleteClusterOutput

type DeleteClusterOutput struct{}

type DeleteECSClusterInput

type DeleteECSClusterInput struct {
	ClusterID *string `json:"clusterId,omitempty"`
}

type DeleteECSClusterOutput

type DeleteECSClusterOutput struct{}

type DeleteECSLaunchSpecInput

type DeleteECSLaunchSpecInput struct {
	LaunchSpecID *string `json:"launchSpecId,omitempty"`
}

type DeleteECSLaunchSpecOutput

type DeleteECSLaunchSpecOutput struct{}

type DeleteExtendedResourceDefinitionInput added in v1.112.0

type DeleteExtendedResourceDefinitionInput struct {
	ExtendedResourceDefinitionID *string `json:"extendedResourceDefinitionId,omitempty"`
}

type DeleteExtendedResourceDefinitionOutput added in v1.112.0

type DeleteExtendedResourceDefinitionOutput struct{}

type DeleteLaunchSpecInput

type DeleteLaunchSpecInput struct {
	LaunchSpecID *string `json:"launchSpecId,omitempty"`
	ForceDelete  *bool   `json:"-"`
	DeleteNodes  *bool   `json:"-"`
}

type DeleteLaunchSpecOutput

type DeleteLaunchSpecOutput struct{}

type DetachClusterInstancesInput

type DetachClusterInstancesInput struct {
	ClusterID                     *string  `json:"clusterId,omitempty"`
	InstanceIDs                   []string `json:"instancesToDetach,omitempty"`
	ShouldDecrementTargetCapacity *bool    `json:"shouldDecrementTargetCapacity,omitempty"`
	ShouldTerminateInstances      *bool    `json:"shouldTerminateInstances,omitempty"`
}

type DetachClusterInstancesOutput

type DetachClusterInstancesOutput struct{}

type DetachLoadbalancerInput added in v1.345.0

type DetachLoadbalancerInput struct {
	LoadBalancers []*LoadBalancers `json:"loadBalancers,omitempty"`
	ID            *string          `json:"id,omitempty"`
}

type DetachLoadbalancerOutput added in v1.345.0

type DetachLoadbalancerOutput struct{}

type DetailedCosts added in v1.122.0

type DetailedCosts struct {
	Aggregations map[string]Property `json:"aggregations,omitempty"`
	GroupedBy    *string             `json:"groupedBy,omitempty"`
}

type DynamicVolumeSize added in v1.54.0

type DynamicVolumeSize struct {
	BaseSize            *int    `json:"baseSize,omitempty"`
	SizePerResourceUnit *int    `json:"sizePerResourceUnit,omitempty"`
	Resource            *string `json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (DynamicVolumeSize) MarshalJSON added in v1.54.0

func (o DynamicVolumeSize) MarshalJSON() ([]byte, error)

func (*DynamicVolumeSize) SetBaseSize added in v1.54.0

func (o *DynamicVolumeSize) SetBaseSize(v *int) *DynamicVolumeSize

func (*DynamicVolumeSize) SetResource added in v1.54.0

func (o *DynamicVolumeSize) SetResource(v *string) *DynamicVolumeSize

func (*DynamicVolumeSize) SetSizePerResourceUnit added in v1.54.0

func (o *DynamicVolumeSize) SetSizePerResourceUnit(v *int) *DynamicVolumeSize

type EBS added in v1.54.0

type EBS struct {
	DeleteOnTermination *bool              `json:"deleteOnTermination,omitempty"`
	Encrypted           *bool              `json:"encrypted,omitempty"`
	KMSKeyID            *string            `json:"kmsKeyId,omitempty"`
	SnapshotID          *string            `json:"snapshotId,omitempty"`
	VolumeType          *string            `json:"volumeType,omitempty"`
	IOPS                *int               `json:"iops,omitempty"`
	VolumeSize          *int               `json:"volumeSize,omitempty"`
	Throughput          *int               `json:"throughput,omitempty"`
	DynamicVolumeSize   *DynamicVolumeSize `json:"dynamicVolumeSize,omitempty"`
	// contains filtered or unexported fields
}

func (EBS) MarshalJSON added in v1.54.0

func (o EBS) MarshalJSON() ([]byte, error)

func (*EBS) SetDeleteOnTermination added in v1.54.0

func (o *EBS) SetDeleteOnTermination(v *bool) *EBS

func (*EBS) SetDynamicVolumeSize added in v1.54.0

func (o *EBS) SetDynamicVolumeSize(v *DynamicVolumeSize) *EBS

func (*EBS) SetEncrypted added in v1.54.0

func (o *EBS) SetEncrypted(v *bool) *EBS

func (*EBS) SetIOPS added in v1.54.0

func (o *EBS) SetIOPS(v *int) *EBS

func (*EBS) SetKMSKeyId added in v1.54.0

func (o *EBS) SetKMSKeyId(v *string) *EBS

func (*EBS) SetSnapshotId added in v1.54.0

func (o *EBS) SetSnapshotId(v *string) *EBS

func (*EBS) SetThroughput added in v1.72.0

func (o *EBS) SetThroughput(v *int) *EBS

func (*EBS) SetVolumeSize added in v1.54.0

func (o *EBS) SetVolumeSize(v *int) *EBS

func (*EBS) SetVolumeType added in v1.54.0

func (o *EBS) SetVolumeType(v *string) *EBS

type ECSAttribute

type ECSAttribute struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (ECSAttribute) MarshalJSON

func (o ECSAttribute) MarshalJSON() ([]byte, error)

func (*ECSAttribute) SetKey

func (o *ECSAttribute) SetKey(v *string) *ECSAttribute

func (*ECSAttribute) SetValue

func (o *ECSAttribute) SetValue(v *string) *ECSAttribute

type ECSAutoScale

type ECSAutoScale struct {
	Headrooms []*ECSAutoScaleHeadroom `json:"headrooms,omitempty"`
	// contains filtered or unexported fields
}

func (ECSAutoScale) MarshalJSON

func (o ECSAutoScale) MarshalJSON() ([]byte, error)

func (*ECSAutoScale) SetHeadrooms

func (o *ECSAutoScale) SetHeadrooms(v []*ECSAutoScaleHeadroom) *ECSAutoScale

type ECSAutoScaleHeadroom

type ECSAutoScaleHeadroom struct {
	CPUPerUnit    *int `json:"cpuPerUnit,omitempty"`
	MemoryPerUnit *int `json:"memoryPerUnit,omitempty"`
	NumOfUnits    *int `json:"numOfUnits,omitempty"`
	// contains filtered or unexported fields
}

func (ECSAutoScaleHeadroom) MarshalJSON

func (o ECSAutoScaleHeadroom) MarshalJSON() ([]byte, error)

func (*ECSAutoScaleHeadroom) SetCPUPerUnit

func (o *ECSAutoScaleHeadroom) SetCPUPerUnit(v *int) *ECSAutoScaleHeadroom

func (*ECSAutoScaleHeadroom) SetMemoryPerUnit

func (o *ECSAutoScaleHeadroom) SetMemoryPerUnit(v *int) *ECSAutoScaleHeadroom

func (*ECSAutoScaleHeadroom) SetNumOfUnits

func (o *ECSAutoScaleHeadroom) SetNumOfUnits(v *int) *ECSAutoScaleHeadroom

type ECSAutoScaler

type ECSAutoScaler struct {
	IsEnabled                        *bool                        `json:"isEnabled,omitempty"`
	IsAutoConfig                     *bool                        `json:"isAutoConfig,omitempty"`
	Cooldown                         *int                         `json:"cooldown,omitempty"`
	Headroom                         *ECSAutoScalerHeadroom       `json:"headroom,omitempty"`
	ResourceLimits                   *ECSAutoScalerResourceLimits `json:"resourceLimits,omitempty"`
	Down                             *ECSAutoScalerDown           `json:"down,omitempty"`
	AutoHeadroomPercentage           *int                         `json:"autoHeadroomPercentage,omitempty"`
	ShouldScaleDownNonServiceTasks   *bool                        `json:"shouldScaleDownNonServiceTasks,omitempty"`
	EnableAutomaticAndManualHeadroom *bool                        `json:"enableAutomaticAndManualHeadroom,omitempty"`
	// contains filtered or unexported fields
}

func (ECSAutoScaler) MarshalJSON

func (o ECSAutoScaler) MarshalJSON() ([]byte, error)

func (*ECSAutoScaler) SetAutoHeadroomPercentage added in v1.102.0

func (o *ECSAutoScaler) SetAutoHeadroomPercentage(v *int) *ECSAutoScaler

func (*ECSAutoScaler) SetCooldown

func (o *ECSAutoScaler) SetCooldown(v *int) *ECSAutoScaler

func (*ECSAutoScaler) SetDown

func (*ECSAutoScaler) SetEnableAutomaticAndManualHeadroom added in v1.158.0

func (o *ECSAutoScaler) SetEnableAutomaticAndManualHeadroom(v *bool) *ECSAutoScaler

func (*ECSAutoScaler) SetHeadroom

func (*ECSAutoScaler) SetIsAutoConfig

func (o *ECSAutoScaler) SetIsAutoConfig(v *bool) *ECSAutoScaler

func (*ECSAutoScaler) SetIsEnabled

func (o *ECSAutoScaler) SetIsEnabled(v *bool) *ECSAutoScaler

func (*ECSAutoScaler) SetResourceLimits

func (o *ECSAutoScaler) SetResourceLimits(v *ECSAutoScalerResourceLimits) *ECSAutoScaler

func (*ECSAutoScaler) SetShouldScaleDownNonServiceTasks added in v1.144.0

func (o *ECSAutoScaler) SetShouldScaleDownNonServiceTasks(v *bool) *ECSAutoScaler

type ECSAutoScalerDown

type ECSAutoScalerDown struct {
	MaxScaleDownPercentage *float64 `json:"maxScaleDownPercentage,omitempty"`
	// contains filtered or unexported fields
}

func (ECSAutoScalerDown) MarshalJSON

func (o ECSAutoScalerDown) MarshalJSON() ([]byte, error)

func (*ECSAutoScalerDown) SetMaxScaleDownPercentage

func (o *ECSAutoScalerDown) SetMaxScaleDownPercentage(v *float64) *ECSAutoScalerDown

type ECSAutoScalerHeadroom

type ECSAutoScalerHeadroom struct {
	CPUPerUnit    *int `json:"cpuPerUnit,omitempty"`
	MemoryPerUnit *int `json:"memoryPerUnit,omitempty"`
	NumOfUnits    *int `json:"numOfUnits,omitempty"`
	// contains filtered or unexported fields
}

func (ECSAutoScalerHeadroom) MarshalJSON

func (o ECSAutoScalerHeadroom) MarshalJSON() ([]byte, error)

func (*ECSAutoScalerHeadroom) SetCPUPerUnit

func (o *ECSAutoScalerHeadroom) SetCPUPerUnit(v *int) *ECSAutoScalerHeadroom

func (*ECSAutoScalerHeadroom) SetMemoryPerUnit

func (o *ECSAutoScalerHeadroom) SetMemoryPerUnit(v *int) *ECSAutoScalerHeadroom

func (*ECSAutoScalerHeadroom) SetNumOfUnits

func (o *ECSAutoScalerHeadroom) SetNumOfUnits(v *int) *ECSAutoScalerHeadroom

type ECSAutoScalerResourceLimits

type ECSAutoScalerResourceLimits struct {
	MaxVCPU      *int `json:"maxVCpu,omitempty"`
	MaxMemoryGiB *int `json:"maxMemoryGib,omitempty"`
	// contains filtered or unexported fields
}

func (ECSAutoScalerResourceLimits) MarshalJSON

func (o ECSAutoScalerResourceLimits) MarshalJSON() ([]byte, error)

func (*ECSAutoScalerResourceLimits) SetMaxMemoryGiB

func (*ECSAutoScalerResourceLimits) SetMaxVCPU

type ECSBlockDeviceMapping added in v1.62.0

type ECSBlockDeviceMapping struct {
	DeviceName  *string `json:"deviceName,omitempty"`
	NoDevice    *string `json:"noDevice,omitempty"`
	VirtualName *string `json:"virtualName,omitempty"`
	EBS         *ECSEBS `json:"ebs,omitempty"`
	// contains filtered or unexported fields
}

func (ECSBlockDeviceMapping) MarshalJSON added in v1.62.0

func (o ECSBlockDeviceMapping) MarshalJSON() ([]byte, error)

func (*ECSBlockDeviceMapping) SetDeviceName added in v1.62.0

func (o *ECSBlockDeviceMapping) SetDeviceName(v *string) *ECSBlockDeviceMapping

func (*ECSBlockDeviceMapping) SetEBS added in v1.62.0

func (*ECSBlockDeviceMapping) SetNoDevice added in v1.62.0

func (*ECSBlockDeviceMapping) SetVirtualName added in v1.62.0

func (o *ECSBlockDeviceMapping) SetVirtualName(v *string) *ECSBlockDeviceMapping

type ECSCapacity

type ECSCapacity struct {
	Minimum *int `json:"minimum,omitempty"`
	Maximum *int `json:"maximum,omitempty"`
	Target  *int `json:"target,omitempty"`
	// contains filtered or unexported fields
}

func (ECSCapacity) MarshalJSON

func (o ECSCapacity) MarshalJSON() ([]byte, error)

func (*ECSCapacity) SetMaximum

func (o *ECSCapacity) SetMaximum(v *int) *ECSCapacity

func (*ECSCapacity) SetMinimum

func (o *ECSCapacity) SetMinimum(v *int) *ECSCapacity

func (*ECSCapacity) SetTarget

func (o *ECSCapacity) SetTarget(v *int) *ECSCapacity

type ECSCluster

type ECSCluster struct {
	ID          *string        `json:"id,omitempty"`
	Name        *string        `json:"name,omitempty"`
	ClusterName *string        `json:"clusterName,omitempty"`
	Region      *string        `json:"region,omitempty"`
	Capacity    *ECSCapacity   `json:"capacity,omitempty"`
	Compute     *ECSCompute    `json:"compute,omitempty"`
	AutoScaler  *ECSAutoScaler `json:"autoScaler,omitempty"`
	Strategy    *ECSStrategy   `json:"strategy,omitempty"`
	Scheduling  *ECSScheduling `json:"scheduling,omitempty"`
	Logging     *ECSLogging    `json:"logging,omitempty"`

	// Read-only fields.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (ECSCluster) MarshalJSON

func (o ECSCluster) MarshalJSON() ([]byte, error)

func (*ECSCluster) SetAutoScaler

func (o *ECSCluster) SetAutoScaler(v *ECSAutoScaler) *ECSCluster

func (*ECSCluster) SetCapacity

func (o *ECSCluster) SetCapacity(v *ECSCapacity) *ECSCluster

func (*ECSCluster) SetClusterName

func (o *ECSCluster) SetClusterName(v *string) *ECSCluster

func (*ECSCluster) SetCompute

func (o *ECSCluster) SetCompute(v *ECSCompute) *ECSCluster

func (*ECSCluster) SetECSStrategy

func (o *ECSCluster) SetECSStrategy(v *ECSStrategy) *ECSCluster

func (*ECSCluster) SetId

func (o *ECSCluster) SetId(v *string) *ECSCluster

func (*ECSCluster) SetLogging added in v1.120.0

func (o *ECSCluster) SetLogging(v *ECSLogging) *ECSCluster

func (*ECSCluster) SetName

func (o *ECSCluster) SetName(v *string) *ECSCluster

func (*ECSCluster) SetRegion

func (o *ECSCluster) SetRegion(v *string) *ECSCluster

func (*ECSCluster) SetScheduling added in v1.41.0

func (o *ECSCluster) SetScheduling(v *ECSScheduling) *ECSCluster

type ECSClusterOrientation added in v1.141.0

type ECSClusterOrientation struct {
	AvailabilityVsCost *string `json:"availabilityVsCost,omitempty"`
	// contains filtered or unexported fields
}

func (ECSClusterOrientation) MarshalJSON added in v1.141.0

func (o ECSClusterOrientation) MarshalJSON() ([]byte, error)

func (*ECSClusterOrientation) SetECSAvailabilityVsCost added in v1.141.0

func (o *ECSClusterOrientation) SetECSAvailabilityVsCost(v *string) *ECSClusterOrientation

type ECSCompute

type ECSCompute struct {
	InstanceTypes       *ECSInstanceTypes       `json:"instanceTypes,omitempty"`
	LaunchSpecification *ECSLaunchSpecification `json:"launchSpecification,omitempty"`
	OptimizeImages      *ECSOptimizeImages      `json:"optimizeImages,omitempty"`
	SubnetIDs           []string                `json:"subnetIds,omitempty"`
	// contains filtered or unexported fields
}

func (ECSCompute) MarshalJSON

func (o ECSCompute) MarshalJSON() ([]byte, error)

func (*ECSCompute) SetInstanceTypes

func (o *ECSCompute) SetInstanceTypes(v *ECSInstanceTypes) *ECSCompute

func (*ECSCompute) SetLaunchSpecification

func (o *ECSCompute) SetLaunchSpecification(v *ECSLaunchSpecification) *ECSCompute

func (*ECSCompute) SetOptimizeImages added in v1.73.0

func (o *ECSCompute) SetOptimizeImages(v *ECSOptimizeImages) *ECSCompute

func (*ECSCompute) SetSubnetIDs

func (o *ECSCompute) SetSubnetIDs(v []string) *ECSCompute

type ECSDynamicVolumeSize added in v1.62.0

type ECSDynamicVolumeSize struct {
	BaseSize            *int    `json:"baseSize,omitempty"`
	SizePerResourceUnit *int    `json:"sizePerResourceUnit,omitempty"`
	Resource            *string `json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (ECSDynamicVolumeSize) MarshalJSON added in v1.62.0

func (o ECSDynamicVolumeSize) MarshalJSON() ([]byte, error)

func (*ECSDynamicVolumeSize) SetBaseSize added in v1.62.0

func (o *ECSDynamicVolumeSize) SetBaseSize(v *int) *ECSDynamicVolumeSize

func (*ECSDynamicVolumeSize) SetResource added in v1.62.0

func (o *ECSDynamicVolumeSize) SetResource(v *string) *ECSDynamicVolumeSize

func (*ECSDynamicVolumeSize) SetSizePerResourceUnit added in v1.62.0

func (o *ECSDynamicVolumeSize) SetSizePerResourceUnit(v *int) *ECSDynamicVolumeSize

type ECSEBS added in v1.62.0

type ECSEBS struct {
	DeleteOnTermination *bool                 `json:"deleteOnTermination,omitempty"`
	Encrypted           *bool                 `json:"encrypted,omitempty"`
	KMSKeyID            *string               `json:"kmsKeyId,omitempty"`
	SnapshotID          *string               `json:"snapshotId,omitempty"`
	VolumeType          *string               `json:"volumeType,omitempty"`
	IOPS                *int                  `json:"iops,omitempty"`
	VolumeSize          *int                  `json:"volumeSize,omitempty"`
	Throughput          *int                  `json:"throughput,omitempty"`
	DynamicVolumeSize   *ECSDynamicVolumeSize `json:"dynamicVolumeSize,omitempty"`
	// contains filtered or unexported fields
}

func (ECSEBS) MarshalJSON added in v1.62.0

func (o ECSEBS) MarshalJSON() ([]byte, error)

func (*ECSEBS) SetDeleteOnTermination added in v1.62.0

func (o *ECSEBS) SetDeleteOnTermination(v *bool) *ECSEBS

func (*ECSEBS) SetDynamicVolumeSize added in v1.62.0

func (o *ECSEBS) SetDynamicVolumeSize(v *ECSDynamicVolumeSize) *ECSEBS

func (*ECSEBS) SetEncrypted added in v1.62.0

func (o *ECSEBS) SetEncrypted(v *bool) *ECSEBS

func (*ECSEBS) SetIOPS added in v1.62.0

func (o *ECSEBS) SetIOPS(v *int) *ECSEBS

func (*ECSEBS) SetKMSKeyId added in v1.62.0

func (o *ECSEBS) SetKMSKeyId(v *string) *ECSEBS

func (*ECSEBS) SetSnapshotId added in v1.62.0

func (o *ECSEBS) SetSnapshotId(v *string) *ECSEBS

func (*ECSEBS) SetThroughput added in v1.72.0

func (o *ECSEBS) SetThroughput(v *int) *ECSEBS

func (*ECSEBS) SetVolumeSize added in v1.62.0

func (o *ECSEBS) SetVolumeSize(v *int) *ECSEBS

func (*ECSEBS) SetVolumeType added in v1.62.0

func (o *ECSEBS) SetVolumeType(v *string) *ECSEBS

type ECSExport added in v1.120.0

type ECSExport struct {
	S3 *ECSS3 `json:"s3,omitempty"`
	// contains filtered or unexported fields
}

func (ECSExport) MarshalJSON added in v1.120.0

func (o ECSExport) MarshalJSON() ([]byte, error)

func (*ECSExport) SetS3 added in v1.120.0

func (o *ECSExport) SetS3(v *ECSS3) *ECSExport

type ECSFilters added in v1.139.0

type ECSFilters struct {
	Architectures         []string `json:"architectures,omitempty"`
	Categories            []string `json:"categories,omitempty"`
	DiskTypes             []string `json:"diskTypes,omitempty"`
	ExcludeFamilies       []string `json:"excludeFamilies,omitempty"`
	ExcludeMetal          *bool    `json:"excludeMetal,omitempty"`
	Hypervisor            []string `json:"hypervisor,omitempty"`
	IncludeFamilies       []string `json:"includeFamilies,omitempty"`
	IsEnaSupported        *bool    `json:"isEnaSupported,omitempty"`
	MaxGpu                *int     `json:"maxGpu,omitempty"`
	MaxMemoryGiB          *float64 `json:"maxMemoryGiB,omitempty"`
	MaxNetworkPerformance *int     `json:"maxNetworkPerformance,omitempty"`
	MaxVcpu               *int     `json:"maxVcpu,omitempty"`
	MinEnis               *int     `json:"minEnis,omitempty"`
	MinGpu                *int     `json:"minGpu,omitempty"`
	MinMemoryGiB          *float64 `json:"minMemoryGiB,omitempty"`
	MinNetworkPerformance *int     `json:"minNetworkPerformance,omitempty"`
	MinVcpu               *int     `json:"minVcpu,omitempty"`
	RootDeviceTypes       []string `json:"rootDeviceTypes,omitempty"`
	VirtualizationTypes   []string `json:"virtualizationTypes,omitempty"`
	// contains filtered or unexported fields
}

func (ECSFilters) MarshalJSON added in v1.139.0

func (o ECSFilters) MarshalJSON() ([]byte, error)

func (*ECSFilters) SetArchitectures added in v1.139.0

func (o *ECSFilters) SetArchitectures(v []string) *ECSFilters

func (*ECSFilters) SetCategories added in v1.139.0

func (o *ECSFilters) SetCategories(v []string) *ECSFilters

func (*ECSFilters) SetDiskTypes added in v1.139.0

func (o *ECSFilters) SetDiskTypes(v []string) *ECSFilters

func (*ECSFilters) SetExcludeFamilies added in v1.139.0

func (o *ECSFilters) SetExcludeFamilies(v []string) *ECSFilters

func (*ECSFilters) SetExcludeMetal added in v1.139.0

func (o *ECSFilters) SetExcludeMetal(v *bool) *ECSFilters

func (*ECSFilters) SetHypervisor added in v1.139.0

func (o *ECSFilters) SetHypervisor(v []string) *ECSFilters

func (*ECSFilters) SetIncludeFamilies added in v1.139.0

func (o *ECSFilters) SetIncludeFamilies(v []string) *ECSFilters

func (*ECSFilters) SetIsEnaSupported added in v1.139.0

func (o *ECSFilters) SetIsEnaSupported(v *bool) *ECSFilters

func (*ECSFilters) SetMaxGpu added in v1.139.0

func (o *ECSFilters) SetMaxGpu(v *int) *ECSFilters

func (*ECSFilters) SetMaxMemoryGiB added in v1.139.0

func (o *ECSFilters) SetMaxMemoryGiB(v *float64) *ECSFilters

func (*ECSFilters) SetMaxNetworkPerformance added in v1.139.0

func (o *ECSFilters) SetMaxNetworkPerformance(v *int) *ECSFilters

func (*ECSFilters) SetMaxVcpu added in v1.139.0

func (o *ECSFilters) SetMaxVcpu(v *int) *ECSFilters

func (*ECSFilters) SetMinEnis added in v1.139.0

func (o *ECSFilters) SetMinEnis(v *int) *ECSFilters

func (*ECSFilters) SetMinGpu added in v1.139.0

func (o *ECSFilters) SetMinGpu(v *int) *ECSFilters

func (*ECSFilters) SetMinMemoryGiB added in v1.139.0

func (o *ECSFilters) SetMinMemoryGiB(v *float64) *ECSFilters

func (*ECSFilters) SetMinNetworkPerformance added in v1.139.0

func (o *ECSFilters) SetMinNetworkPerformance(v *int) *ECSFilters

func (*ECSFilters) SetMinVcpu added in v1.139.0

func (o *ECSFilters) SetMinVcpu(v *int) *ECSFilters

func (*ECSFilters) SetRootDeviceTypes added in v1.139.0

func (o *ECSFilters) SetRootDeviceTypes(v []string) *ECSFilters

func (*ECSFilters) SetVirtualizationTypes added in v1.139.0

func (o *ECSFilters) SetVirtualizationTypes(v []string) *ECSFilters

type ECSIAMInstanceProfile

type ECSIAMInstanceProfile struct {
	ARN  *string `json:"arn,omitempty"`
	Name *string `json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (ECSIAMInstanceProfile) MarshalJSON

func (o ECSIAMInstanceProfile) MarshalJSON() ([]byte, error)

func (*ECSIAMInstanceProfile) SetArn

func (*ECSIAMInstanceProfile) SetName

type ECSImages added in v1.184.0

type ECSImages struct {
	ImageId *string `json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (ECSImages) MarshalJSON added in v1.184.0

func (o ECSImages) MarshalJSON() ([]byte, error)

func (*ECSImages) SetImageId added in v1.184.0

func (o *ECSImages) SetImageId(v *string) *ECSImages

type ECSInstanceMetadataOptions added in v1.98.1

type ECSInstanceMetadataOptions struct {
	HTTPTokens              *string `json:"httpTokens,omitempty"`
	HTTPPutResponseHopLimit *int    `json:"httpPutResponseHopLimit,omitempty"`
	// contains filtered or unexported fields
}

func (ECSInstanceMetadataOptions) MarshalJSON added in v1.98.1

func (o ECSInstanceMetadataOptions) MarshalJSON() ([]byte, error)

func (*ECSInstanceMetadataOptions) SetHTTPPutResponseHopLimit added in v1.98.1

func (o *ECSInstanceMetadataOptions) SetHTTPPutResponseHopLimit(v *int) *ECSInstanceMetadataOptions

func (*ECSInstanceMetadataOptions) SetHTTPTokens added in v1.98.1

type ECSInstanceTypes

type ECSInstanceTypes struct {
	Whitelist []string    `json:"whitelist,omitempty"`
	Blacklist []string    `json:"blacklist,omitempty"`
	Filters   *ECSFilters `json:"filters,omitempty"`
	// contains filtered or unexported fields
}

func (ECSInstanceTypes) MarshalJSON

func (o ECSInstanceTypes) MarshalJSON() ([]byte, error)

func (*ECSInstanceTypes) SetBlacklist added in v1.139.0

func (o *ECSInstanceTypes) SetBlacklist(v []string) *ECSInstanceTypes

func (*ECSInstanceTypes) SetFilters added in v1.139.0

func (o *ECSInstanceTypes) SetFilters(v *ECSFilters) *ECSInstanceTypes

func (*ECSInstanceTypes) SetWhitelist

func (o *ECSInstanceTypes) SetWhitelist(v []string) *ECSInstanceTypes

type ECSLaunchSpec

type ECSLaunchSpec struct {
	ID                      *string                               `json:"id,omitempty"`
	Name                    *string                               `json:"name,omitempty"`
	OceanID                 *string                               `json:"oceanId,omitempty"`
	ImageID                 *string                               `json:"imageId,omitempty"`
	UserData                *string                               `json:"userData,omitempty"`
	SecurityGroupIDs        []string                              `json:"securityGroupIds,omitempty"`
	AutoScale               *ECSAutoScale                         `json:"autoScale,omitempty"`
	IAMInstanceProfile      *ECSIAMInstanceProfile                `json:"iamInstanceProfile,omitempty"`
	Attributes              []*ECSAttribute                       `json:"attributes,omitempty"`
	BlockDeviceMappings     []*ECSBlockDeviceMapping              `json:"blockDeviceMappings,omitempty"`
	Tags                    []*Tag                                `json:"tags,omitempty"`
	InstanceTypes           []string                              `json:"instanceTypes,omitempty"`
	PreferredSpotTypes      []string                              `json:"preferredSpotTypes,omitempty"`
	Strategy                *ECSLaunchSpecStrategy                `json:"strategy,omitempty"`
	RestrictScaleDown       *bool                                 `json:"restrictScaleDown,omitempty"`
	SubnetIDs               []string                              `json:"subnetIds,omitempty"`
	LaunchSpecScheduling    *ECSLaunchSpecScheduling              `json:"scheduling,omitempty"`
	InstanceMetadataOptions *ECSLaunchspecInstanceMetadataOptions `json:"instanceMetadataOptions,omitempty"`
	Images                  []*ECSImages                          `json:"images,omitempty"`

	// Read-only fields.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (ECSLaunchSpec) MarshalJSON

func (o ECSLaunchSpec) MarshalJSON() ([]byte, error)

func (*ECSLaunchSpec) SetAttributes

func (o *ECSLaunchSpec) SetAttributes(v []*ECSAttribute) *ECSLaunchSpec

func (*ECSLaunchSpec) SetAutoScale

func (o *ECSLaunchSpec) SetAutoScale(v *ECSAutoScale) *ECSLaunchSpec

func (*ECSLaunchSpec) SetBlockDeviceMappings added in v1.62.0

func (o *ECSLaunchSpec) SetBlockDeviceMappings(v []*ECSBlockDeviceMapping) *ECSLaunchSpec

func (*ECSLaunchSpec) SetECSImages added in v1.184.0

func (o *ECSLaunchSpec) SetECSImages(v []*ECSImages) *ECSLaunchSpec

func (*ECSLaunchSpec) SetECSLaunchspecInstanceMetadataOptions added in v1.143.0

func (o *ECSLaunchSpec) SetECSLaunchspecInstanceMetadataOptions(v *ECSLaunchspecInstanceMetadataOptions) *ECSLaunchSpec

func (*ECSLaunchSpec) SetIAMInstanceProfile

func (o *ECSLaunchSpec) SetIAMInstanceProfile(v *ECSIAMInstanceProfile) *ECSLaunchSpec

func (*ECSLaunchSpec) SetId

func (o *ECSLaunchSpec) SetId(v *string) *ECSLaunchSpec

func (*ECSLaunchSpec) SetImageId

func (o *ECSLaunchSpec) SetImageId(v *string) *ECSLaunchSpec

func (*ECSLaunchSpec) SetInstanceTypes added in v1.67.0

func (o *ECSLaunchSpec) SetInstanceTypes(v []string) *ECSLaunchSpec

func (*ECSLaunchSpec) SetName

func (o *ECSLaunchSpec) SetName(v *string) *ECSLaunchSpec

func (*ECSLaunchSpec) SetOceanId

func (o *ECSLaunchSpec) SetOceanId(v *string) *ECSLaunchSpec

func (*ECSLaunchSpec) SetPreferredSpotTypes added in v1.129.0

func (o *ECSLaunchSpec) SetPreferredSpotTypes(v []string) *ECSLaunchSpec

func (*ECSLaunchSpec) SetRestrictScaleDown added in v1.77.0

func (o *ECSLaunchSpec) SetRestrictScaleDown(v *bool) *ECSLaunchSpec

func (*ECSLaunchSpec) SetScheduling added in v1.105.0

func (o *ECSLaunchSpec) SetScheduling(v *ECSLaunchSpecScheduling) *ECSLaunchSpec

func (*ECSLaunchSpec) SetSecurityGroupIDs

func (o *ECSLaunchSpec) SetSecurityGroupIDs(v []string) *ECSLaunchSpec

func (*ECSLaunchSpec) SetStrategy added in v1.131.1

func (*ECSLaunchSpec) SetSubnetIDs added in v1.93.0

func (o *ECSLaunchSpec) SetSubnetIDs(v []string) *ECSLaunchSpec

func (*ECSLaunchSpec) SetTags added in v1.43.0

func (o *ECSLaunchSpec) SetTags(v []*Tag) *ECSLaunchSpec

func (*ECSLaunchSpec) SetUserData

func (o *ECSLaunchSpec) SetUserData(v *string) *ECSLaunchSpec

type ECSLaunchSpecScheduling added in v1.105.0

type ECSLaunchSpecScheduling struct {
	Tasks []*ECSLaunchSpecTask `json:"tasks,omitempty"`
	// contains filtered or unexported fields
}

func (ECSLaunchSpecScheduling) MarshalJSON added in v1.105.0

func (o ECSLaunchSpecScheduling) MarshalJSON() ([]byte, error)

func (*ECSLaunchSpecScheduling) SetTasks added in v1.105.0

type ECSLaunchSpecStrategy added in v1.130.0

type ECSLaunchSpecStrategy struct {
	SpotPercentage *int `json:"spotPercentage,omitempty"`
	// contains filtered or unexported fields
}

func (ECSLaunchSpecStrategy) MarshalJSON added in v1.130.0

func (o ECSLaunchSpecStrategy) MarshalJSON() ([]byte, error)

func (*ECSLaunchSpecStrategy) SetSpotPercentage added in v1.130.0

func (o *ECSLaunchSpecStrategy) SetSpotPercentage(v *int) *ECSLaunchSpecStrategy

type ECSLaunchSpecTask added in v1.105.0

type ECSLaunchSpecTask struct {
	IsEnabled      *bool          `json:"isEnabled,omitempty"`
	CronExpression *string        `json:"cronExpression,omitempty"`
	TaskType       *string        `json:"taskType,omitempty"`
	Config         *ECSTaskConfig `json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (ECSLaunchSpecTask) MarshalJSON added in v1.105.0

func (o ECSLaunchSpecTask) MarshalJSON() ([]byte, error)

func (*ECSLaunchSpecTask) SetCronExpression added in v1.105.0

func (o *ECSLaunchSpecTask) SetCronExpression(v *string) *ECSLaunchSpecTask

func (*ECSLaunchSpecTask) SetIsEnabled added in v1.105.0

func (o *ECSLaunchSpecTask) SetIsEnabled(v *bool) *ECSLaunchSpecTask

func (*ECSLaunchSpecTask) SetTaskConfig added in v1.105.0

func (o *ECSLaunchSpecTask) SetTaskConfig(v *ECSTaskConfig) *ECSLaunchSpecTask

func (*ECSLaunchSpecTask) SetTaskType added in v1.105.0

func (o *ECSLaunchSpecTask) SetTaskType(v *string) *ECSLaunchSpecTask

type ECSLaunchSpecTaskHeadroom added in v1.105.0

type ECSLaunchSpecTaskHeadroom struct {
	CPUPerUnit    *int `json:"cpuPerUnit,omitempty"`
	MemoryPerUnit *int `json:"memoryPerUnit,omitempty"`
	NumOfUnits    *int `json:"numOfUnits,omitempty"`
	// contains filtered or unexported fields
}

func (ECSLaunchSpecTaskHeadroom) MarshalJSON added in v1.105.0

func (o ECSLaunchSpecTaskHeadroom) MarshalJSON() ([]byte, error)

func (*ECSLaunchSpecTaskHeadroom) SetCPUPerUnit added in v1.105.0

func (*ECSLaunchSpecTaskHeadroom) SetMemoryPerUnit added in v1.105.0

func (o *ECSLaunchSpecTaskHeadroom) SetMemoryPerUnit(v *int) *ECSLaunchSpecTaskHeadroom

func (*ECSLaunchSpecTaskHeadroom) SetNumOfUnits added in v1.105.0

type ECSLaunchSpecification

type ECSLaunchSpecification struct {
	AssociatePublicIPAddress *bool                       `json:"associatePublicIpAddress,omitempty"`
	SecurityGroupIDs         []string                    `json:"securityGroupIds,omitempty"`
	ImageID                  *string                     `json:"imageId,omitempty"`
	KeyPair                  *string                     `json:"keyPair,omitempty"`
	UserData                 *string                     `json:"userData,omitempty"`
	IAMInstanceProfile       *ECSIAMInstanceProfile      `json:"iamInstanceProfile,omitempty"`
	Tags                     []*Tag                      `json:"tags,omitempty"`
	Monitoring               *bool                       `json:"monitoring,omitempty"`
	EBSOptimized             *bool                       `json:"ebsOptimized,omitempty"`
	BlockDeviceMappings      []*ECSBlockDeviceMapping    `json:"blockDeviceMappings,omitempty"`
	InstanceMetadataOptions  *ECSInstanceMetadataOptions `json:"instanceMetadataOptions,omitempty"`
	UseAsTemplateOnly        *bool                       `json:"useAsTemplateOnly,omitempty"`
	// contains filtered or unexported fields
}

func (ECSLaunchSpecification) MarshalJSON

func (o ECSLaunchSpecification) MarshalJSON() ([]byte, error)

func (*ECSLaunchSpecification) SetAssociatePublicIPAddress

func (o *ECSLaunchSpecification) SetAssociatePublicIPAddress(v *bool) *ECSLaunchSpecification

func (*ECSLaunchSpecification) SetBlockDeviceMappings added in v1.67.0

func (o *ECSLaunchSpecification) SetBlockDeviceMappings(v []*ECSBlockDeviceMapping) *ECSLaunchSpecification

func (*ECSLaunchSpecification) SetEBSOptimized

func (o *ECSLaunchSpecification) SetEBSOptimized(v *bool) *ECSLaunchSpecification

func (*ECSLaunchSpecification) SetIAMInstanceProfile

func (*ECSLaunchSpecification) SetImageId

func (*ECSLaunchSpecification) SetInstanceMetadataOptions added in v1.98.1

func (*ECSLaunchSpecification) SetKeyPair

func (*ECSLaunchSpecification) SetMonitoring

func (o *ECSLaunchSpecification) SetMonitoring(v *bool) *ECSLaunchSpecification

func (*ECSLaunchSpecification) SetSecurityGroupIDs

func (o *ECSLaunchSpecification) SetSecurityGroupIDs(v []string) *ECSLaunchSpecification

func (*ECSLaunchSpecification) SetTags

func (*ECSLaunchSpecification) SetUseAsTemplateOnly added in v1.121.0

func (o *ECSLaunchSpecification) SetUseAsTemplateOnly(v *bool) *ECSLaunchSpecification

func (*ECSLaunchSpecification) SetUserData

type ECSLaunchspecInstanceMetadataOptions added in v1.143.0

type ECSLaunchspecInstanceMetadataOptions struct {
	HTTPTokens              *string `json:"httpTokens,omitempty"`
	HTTPPutResponseHopLimit *int    `json:"httpPutResponseHopLimit,omitempty"`
	// contains filtered or unexported fields
}

func (ECSLaunchspecInstanceMetadataOptions) MarshalJSON added in v1.143.0

func (o ECSLaunchspecInstanceMetadataOptions) MarshalJSON() ([]byte, error)

func (*ECSLaunchspecInstanceMetadataOptions) SetHTTPPutResponseHopLimit added in v1.143.0

func (*ECSLaunchspecInstanceMetadataOptions) SetHTTPTokens added in v1.143.0

type ECSLogging added in v1.120.0

type ECSLogging struct {
	Export *ECSExport `json:"export,omitempty"`
	// contains filtered or unexported fields
}

func (ECSLogging) MarshalJSON added in v1.120.0

func (o ECSLogging) MarshalJSON() ([]byte, error)

func (*ECSLogging) SetExport added in v1.120.0

func (o *ECSLogging) SetExport(v *ECSExport) *ECSLogging

type ECSOptimizeImages added in v1.73.0

type ECSOptimizeImages struct {
	PerformAt            *string  `json:"performAt,omitempty"`
	TimeWindows          []string `json:"timeWindows,omitempty"`
	ShouldOptimizeECSAMI *bool    `json:"shouldOptimizeEcsAmi,omitempty"`
	// contains filtered or unexported fields
}

func (ECSOptimizeImages) MarshalJSON added in v1.73.0

func (o ECSOptimizeImages) MarshalJSON() ([]byte, error)

func (*ECSOptimizeImages) SetPerformAt added in v1.73.0

func (o *ECSOptimizeImages) SetPerformAt(v *string) *ECSOptimizeImages

func (*ECSOptimizeImages) SetShouldOptimizeECSAMI added in v1.73.0

func (o *ECSOptimizeImages) SetShouldOptimizeECSAMI(v *bool) *ECSOptimizeImages

func (*ECSOptimizeImages) SetTimeWindows added in v1.73.0

func (o *ECSOptimizeImages) SetTimeWindows(v []string) *ECSOptimizeImages

type ECSProgress

type ECSProgress struct {
	Unit  *string `json:"unit,omitempty"`
	Value *int    `json:"value,omitempty"`
}

type ECSRoll

type ECSRoll struct {
	ClusterID                 *string  `json:"clusterId,omitempty"`
	Comment                   *string  `json:"comment,omitempty"`
	BatchSizePercentage       *int     `json:"batchSizePercentage,omitempty"`
	BatchMinHealthyPercentage *int     `json:"batchMinHealthyPercentage,omitempty"`
	LaunchSpecIDs             []string `json:"launchSpecIds,omitempty"`
	InstanceIDs               []string `json:"instanceIds,omitempty"`
	// contains filtered or unexported fields
}

func (ECSRoll) MarshalJSON added in v1.55.0

func (o ECSRoll) MarshalJSON() ([]byte, error)

func (*ECSRoll) SetBatchMinHealthyPercentage added in v1.115.0

func (o *ECSRoll) SetBatchMinHealthyPercentage(v *int) *ECSRoll

func (*ECSRoll) SetBatchSizePercentage added in v1.55.0

func (o *ECSRoll) SetBatchSizePercentage(v *int) *ECSRoll

func (*ECSRoll) SetComment added in v1.55.0

func (o *ECSRoll) SetComment(v *string) *ECSRoll

func (*ECSRoll) SetInstanceIDs added in v1.55.0

func (o *ECSRoll) SetInstanceIDs(v []string) *ECSRoll

func (*ECSRoll) SetLaunchSpecIDs added in v1.55.0

func (o *ECSRoll) SetLaunchSpecIDs(v []string) *ECSRoll

type ECSRollClusterInput

type ECSRollClusterInput struct {
	Roll *ECSRoll `json:"roll,omitempty"`
}

type ECSRollClusterOutput

type ECSRollClusterOutput struct {
	RollClusterStatus *ECSRollClusterStatus `json:"clusterDeploymentStatus,omitempty"`
}

type ECSRollClusterStatus

type ECSRollClusterStatus struct {
	OceanID      *string      `json:"oceanId,omitempty"`
	RollID       *string      `json:"id,omitempty"`
	RollStatus   *string      `json:"status,omitempty"`
	Progress     *ECSProgress `json:"progress,omitempty"`
	CurrentBatch *int         `json:"currentBatch,omitempty"`
	NumOfBatches *int         `json:"numOfBatches,omitempty"`
	CreatedAt    *string      `json:"createdAt,omitempty"`
	UpdatedAt    *string      `json:"updatedAt,omitempty"`
}

type ECSS3 added in v1.120.0

type ECSS3 struct {
	ID *string `json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (ECSS3) MarshalJSON added in v1.120.0

func (o ECSS3) MarshalJSON() ([]byte, error)

func (*ECSS3) SetId added in v1.120.0

func (o *ECSS3) SetId(v *string) *ECSS3

type ECSScheduling added in v1.41.0

type ECSScheduling struct {
	Tasks         []*ECSTask        `json:"tasks,omitempty"`
	ShutdownHours *ECSShutdownHours `json:"shutdownHours,omitempty"`
	// contains filtered or unexported fields
}

func (ECSScheduling) MarshalJSON added in v1.41.0

func (o ECSScheduling) MarshalJSON() ([]byte, error)

func (*ECSScheduling) SetShutdownHours added in v1.41.0

func (o *ECSScheduling) SetShutdownHours(v *ECSShutdownHours) *ECSScheduling

func (*ECSScheduling) SetTasks added in v1.41.0

func (o *ECSScheduling) SetTasks(v []*ECSTask) *ECSScheduling

type ECSShutdownHours added in v1.41.0

type ECSShutdownHours struct {
	IsEnabled   *bool    `json:"isEnabled,omitempty"`
	TimeWindows []string `json:"timeWindows,omitempty"`
	// contains filtered or unexported fields
}

func (ECSShutdownHours) MarshalJSON added in v1.41.0

func (o ECSShutdownHours) MarshalJSON() ([]byte, error)

func (*ECSShutdownHours) SetIsEnabled added in v1.41.0

func (o *ECSShutdownHours) SetIsEnabled(v *bool) *ECSShutdownHours

func (*ECSShutdownHours) SetTimeWindows added in v1.41.0

func (o *ECSShutdownHours) SetTimeWindows(v []string) *ECSShutdownHours

type ECSStrategy

type ECSStrategy struct {
	DrainingTimeout          *int                   `json:"drainingTimeout,omitempty"`
	UtilizeReservedInstances *bool                  `json:"utilizeReservedInstances,omitempty"`
	UtilizeCommitments       *bool                  `json:"utilizeCommitments,omitempty"`
	SpotPercentage           *int                   `json:"spotPercentage,omitempty"`
	ClusterOrientation       *ECSClusterOrientation `json:"clusterOrientation,omitempty"`
	// contains filtered or unexported fields
}

func (ECSStrategy) MarshalJSON

func (o ECSStrategy) MarshalJSON() ([]byte, error)

func (*ECSStrategy) SetDrainingTimeout

func (o *ECSStrategy) SetDrainingTimeout(v *int) *ECSStrategy

func (*ECSStrategy) SetECSClusterOrientation added in v1.141.0

func (o *ECSStrategy) SetECSClusterOrientation(v *ECSClusterOrientation) *ECSStrategy

func (*ECSStrategy) SetSpotPercentage added in v1.98.1

func (o *ECSStrategy) SetSpotPercentage(v *int) *ECSStrategy

func (*ECSStrategy) SetUtilizeCommitments added in v1.75.0

func (o *ECSStrategy) SetUtilizeCommitments(v *bool) *ECSStrategy

func (*ECSStrategy) SetUtilizeReservedInstances

func (o *ECSStrategy) SetUtilizeReservedInstances(v *bool) *ECSStrategy

type ECSTask added in v1.41.0

type ECSTask struct {
	IsEnabled      *bool   `json:"isEnabled,omitempty"`
	Type           *string `json:"taskType,omitempty"`
	CronExpression *string `json:"cronExpression,omitempty"`
	// contains filtered or unexported fields
}

func (ECSTask) MarshalJSON added in v1.41.0

func (o ECSTask) MarshalJSON() ([]byte, error)

func (*ECSTask) SetCronExpression added in v1.41.0

func (o *ECSTask) SetCronExpression(v *string) *ECSTask

func (*ECSTask) SetIsEnabled added in v1.41.0

func (o *ECSTask) SetIsEnabled(v *bool) *ECSTask

func (*ECSTask) SetType added in v1.41.0

func (o *ECSTask) SetType(v *string) *ECSTask

type ECSTaskConfig added in v1.105.0

type ECSTaskConfig struct {
	TaskHeadrooms []*ECSLaunchSpecTaskHeadroom `json:"headrooms,omitempty"`
	// contains filtered or unexported fields
}

func (ECSTaskConfig) MarshalJSON added in v1.105.0

func (o ECSTaskConfig) MarshalJSON() ([]byte, error)

func (*ECSTaskConfig) SetHeadrooms added in v1.105.0

func (o *ECSTaskConfig) SetHeadrooms(v []*ECSLaunchSpecTaskHeadroom) *ECSTaskConfig

type EbsPv added in v1.122.0

type EbsPv struct {
	Total *float64 `json:"total,omitempty"`
}

type EfsPv added in v1.122.0

type EfsPv struct {
	Total *float64 `json:"total,omitempty"`
}

type ElasticIPPool added in v1.50.0

type ElasticIPPool struct {
	TagSelector *TagSelector `json:"tagSelector,omitempty"`
	// contains filtered or unexported fields
}

func (ElasticIPPool) MarshalJSON added in v1.50.0

func (o ElasticIPPool) MarshalJSON() ([]byte, error)

func (*ElasticIPPool) SetTagSelector added in v1.50.0

func (o *ElasticIPPool) SetTagSelector(v *TagSelector) *ElasticIPPool

type EphemeralStorage added in v1.339.0

type EphemeralStorage struct {
	DeviceName *string `json:"deviceName,omitempty"`
	// contains filtered or unexported fields
}

func (EphemeralStorage) MarshalJSON added in v1.339.0

func (o EphemeralStorage) MarshalJSON() ([]byte, error)

func (*EphemeralStorage) SetDeviceName added in v1.339.0

func (o *EphemeralStorage) SetDeviceName(v *string) *EphemeralStorage

type Export added in v1.107.0

type Export struct {
	S3 *S3 `json:"s3,omitempty"`
	// contains filtered or unexported fields
}

func (Export) MarshalJSON added in v1.107.0

func (o Export) MarshalJSON() ([]byte, error)

func (*Export) SetS3 added in v1.107.0

func (o *Export) SetS3(v *S3) *Export

type ExtendedResourceDefinition added in v1.112.0

type ExtendedResourceDefinition struct {
	ID      *string                `json:"id,omitempty"`
	Name    *string                `json:"name,omitempty"`
	Mapping map[string]interface{} `json:"mapping,omitempty"`
	// contains filtered or unexported fields
}

func (ExtendedResourceDefinition) MarshalJSON added in v1.112.0

func (o ExtendedResourceDefinition) MarshalJSON() ([]byte, error)

func (*ExtendedResourceDefinition) SetId added in v1.112.0

func (*ExtendedResourceDefinition) SetMapping added in v1.112.0

func (o *ExtendedResourceDefinition) SetMapping(v map[string]interface{}) *ExtendedResourceDefinition

func (*ExtendedResourceDefinition) SetName added in v1.112.0

type File added in v1.122.0

type File struct {
	EfsPv *EfsPv   `json:"efsPv,omitempty"`
	Total *float64 `json:"total,omitempty"`
}

type Filter added in v1.108.0

type Filter struct {
	Attribute  *Attribute `json:"attribute,omitempty"`
	Namespaces []string   `json:"namespaces,omitempty"`
	// contains filtered or unexported fields
}

type Filters added in v1.134.0

type Filters struct {
	Architectures         []string `json:"architectures,omitempty"`
	Categories            []string `json:"categories,omitempty"`
	DiskTypes             []string `json:"diskTypes,omitempty"`
	ExcludeFamilies       []string `json:"excludeFamilies,omitempty"`
	ExcludeMetal          *bool    `json:"excludeMetal,omitempty"`
	Hypervisor            []string `json:"hypervisor,omitempty"`
	IncludeFamilies       []string `json:"includeFamilies,omitempty"`
	IsEnaSupported        *bool    `json:"isEnaSupported,omitempty"`
	MaxGpu                *int     `json:"maxGpu,omitempty"`
	MaxMemoryGiB          *float64 `json:"maxMemoryGiB,omitempty"`
	MaxNetworkPerformance *int     `json:"maxNetworkPerformance,omitempty"`
	MaxVcpu               *int     `json:"maxVcpu,omitempty"`
	MinEnis               *int     `json:"minEnis,omitempty"`
	MinGpu                *int     `json:"minGpu,omitempty"`
	MinMemoryGiB          *float64 `json:"minMemoryGiB,omitempty"`
	MinNetworkPerformance *int     `json:"minNetworkPerformance,omitempty"`
	MinVcpu               *int     `json:"minVcpu,omitempty"`
	RootDeviceTypes       []string `json:"rootDeviceTypes,omitempty"`
	VirtualizationTypes   []string `json:"virtualizationTypes,omitempty"`
	// contains filtered or unexported fields
}

func (Filters) MarshalJSON added in v1.134.0

func (o Filters) MarshalJSON() ([]byte, error)

func (*Filters) SetArchitectures added in v1.134.0

func (o *Filters) SetArchitectures(v []string) *Filters

func (*Filters) SetCategories added in v1.134.0

func (o *Filters) SetCategories(v []string) *Filters

func (*Filters) SetDiskTypes added in v1.134.0

func (o *Filters) SetDiskTypes(v []string) *Filters

func (*Filters) SetExcludeFamilies added in v1.134.0

func (o *Filters) SetExcludeFamilies(v []string) *Filters

func (*Filters) SetExcludeMetal added in v1.134.0

func (o *Filters) SetExcludeMetal(v *bool) *Filters

func (*Filters) SetHypervisor added in v1.134.0

func (o *Filters) SetHypervisor(v []string) *Filters

func (*Filters) SetIncludeFamilies added in v1.134.0

func (o *Filters) SetIncludeFamilies(v []string) *Filters

func (*Filters) SetIsEnaSupported added in v1.134.0

func (o *Filters) SetIsEnaSupported(v *bool) *Filters

func (*Filters) SetMaxGpu added in v1.134.0

func (o *Filters) SetMaxGpu(v *int) *Filters

func (*Filters) SetMaxMemoryGiB added in v1.134.0

func (o *Filters) SetMaxMemoryGiB(v *float64) *Filters

func (*Filters) SetMaxNetworkPerformance added in v1.134.0

func (o *Filters) SetMaxNetworkPerformance(v *int) *Filters

func (*Filters) SetMaxVcpu added in v1.134.0

func (o *Filters) SetMaxVcpu(v *int) *Filters

func (*Filters) SetMinEnis added in v1.134.0

func (o *Filters) SetMinEnis(v *int) *Filters

func (*Filters) SetMinGpu added in v1.134.0

func (o *Filters) SetMinGpu(v *int) *Filters

func (*Filters) SetMinMemoryGiB added in v1.134.0

func (o *Filters) SetMinMemoryGiB(v *float64) *Filters

func (*Filters) SetMinNetworkPerformance added in v1.134.0

func (o *Filters) SetMinNetworkPerformance(v *int) *Filters

func (*Filters) SetMinVcpu added in v1.134.0

func (o *Filters) SetMinVcpu(v *int) *Filters

func (*Filters) SetRootDeviceTypes added in v1.134.0

func (o *Filters) SetRootDeviceTypes(v []string) *Filters

func (*Filters) SetVirtualizationTypes added in v1.134.0

func (o *Filters) SetVirtualizationTypes(v []string) *Filters

type GetLogEventsInput added in v1.81.0

type GetLogEventsInput struct {
	ClusterID  *string `json:"clusterId,omitempty"`
	FromDate   *string `json:"fromDate,omitempty"`
	ToDate     *string `json:"toDate,omitempty"`
	ResourceID *string `json:"resourceId,omitempty"`
	Severity   *string `json:"severity,omitempty"`
	Limit      *int    `json:"limit,omitempty"`
}

type GetLogEventsOutput added in v1.81.0

type GetLogEventsOutput struct {
	Events []*LogEvent `json:"events,omitempty"`
}

type Headroom added in v1.122.0

type Headroom struct {
	Total *float64 `json:"total,omitempty"`
}

type IAMInstanceProfile

type IAMInstanceProfile struct {
	ARN  *string `json:"arn,omitempty"`
	Name *string `json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (IAMInstanceProfile) MarshalJSON

func (o IAMInstanceProfile) MarshalJSON() ([]byte, error)

func (*IAMInstanceProfile) SetArn

func (*IAMInstanceProfile) SetName

type Images added in v1.157.0

type Images struct {
	ImageId *string `json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (Images) MarshalJSON added in v1.157.0

func (o Images) MarshalJSON() ([]byte, error)

func (*Images) SetImageId added in v1.157.0

func (o *Images) SetImageId(v *string) *Images

type Instance

type Instance struct {
	ID               *string    `json:"instanceId,omitempty"`
	SpotRequestID    *string    `json:"spotInstanceRequestId,omitempty"`
	InstanceType     *string    `json:"instanceType,omitempty"`
	Status           *string    `json:"status,omitempty"`
	Product          *string    `json:"product,omitempty"`
	AvailabilityZone *string    `json:"availabilityZone,omitempty"`
	PrivateIP        *string    `json:"privateIp,omitempty"`
	PublicIP         *string    `json:"publicIp,omitempty"`
	CreatedAt        *time.Time `json:"createdAt,omitempty"`
}

type InstanceDetails added in v1.189.0

type InstanceDetails struct {
	InstanceId  *string       `json:"instanceId,omitempty"`
	K8sNodeName *string       `json:"k8sNodeName,omitempty"`
	AsgName     *string       `json:"asgName,omitempty"`
	State       *string       `json:"state,omitempty"`
	RunningPods *int64        `json:"runningPods,omitempty"`
	PodDetails  []*PodDetails `json:"podDetails,omitempty"`
	// contains filtered or unexported fields
}

type InstanceMetadataOptions added in v1.98.1

type InstanceMetadataOptions struct {
	HTTPTokens              *string `json:"httpTokens,omitempty"`
	HTTPPutResponseHopLimit *int    `json:"httpPutResponseHopLimit,omitempty"`
	// contains filtered or unexported fields
}

func (InstanceMetadataOptions) MarshalJSON added in v1.98.1

func (o InstanceMetadataOptions) MarshalJSON() ([]byte, error)

func (*InstanceMetadataOptions) SetHTTPPutResponseHopLimit added in v1.98.1

func (o *InstanceMetadataOptions) SetHTTPPutResponseHopLimit(v *int) *InstanceMetadataOptions

func (*InstanceMetadataOptions) SetHTTPTokens added in v1.98.1

type InstanceTypes

type InstanceTypes struct {
	Whitelist []string `json:"whitelist,omitempty"`
	Blacklist []string `json:"blacklist,omitempty"`
	Filters   *Filters `json:"filters,omitempty"`
	// contains filtered or unexported fields
}

func (InstanceTypes) MarshalJSON

func (o InstanceTypes) MarshalJSON() ([]byte, error)

func (*InstanceTypes) SetBlacklist

func (o *InstanceTypes) SetBlacklist(v []string) *InstanceTypes

func (*InstanceTypes) SetFilters added in v1.134.0

func (o *InstanceTypes) SetFilters(v *Filters) *InstanceTypes

func (*InstanceTypes) SetWhitelist

func (o *InstanceTypes) SetWhitelist(v []string) *InstanceTypes

type InstanceTypesFilters added in v1.179.0

type InstanceTypesFilters struct {
	Categories            []string `json:"categories,omitempty"`
	DiskTypes             []string `json:"diskTypes,omitempty"`
	ExcludeFamilies       []string `json:"excludeFamilies,omitempty"`
	ExcludeMetal          *bool    `json:"excludeMetal,omitempty"`
	Hypervisor            []string `json:"hypervisor,omitempty"`
	IncludeFamilies       []string `json:"includeFamilies,omitempty"`
	IsEnaSupported        *bool    `json:"isEnaSupported,omitempty"`
	MaxGpu                *int     `json:"maxGpu,omitempty"`
	MaxMemoryGiB          *float64 `json:"maxMemoryGiB,omitempty"`
	MaxNetworkPerformance *int     `json:"maxNetworkPerformance,omitempty"`
	MaxVcpu               *int     `json:"maxVcpu,omitempty"`
	MinEnis               *int     `json:"minEnis,omitempty"`
	MinGpu                *int     `json:"minGpu,omitempty"`
	MinMemoryGiB          *float64 `json:"minMemoryGiB,omitempty"`
	MinNetworkPerformance *int     `json:"minNetworkPerformance,omitempty"`
	MinVcpu               *int     `json:"minVcpu,omitempty"`
	RootDeviceTypes       []string `json:"rootDeviceTypes,omitempty"`
	VirtualizationTypes   []string `json:"virtualizationTypes,omitempty"`
	// contains filtered or unexported fields
}

func (InstanceTypesFilters) MarshalJSON added in v1.179.0

func (o InstanceTypesFilters) MarshalJSON() ([]byte, error)

func (*InstanceTypesFilters) SetCategories added in v1.179.0

func (o *InstanceTypesFilters) SetCategories(v []string) *InstanceTypesFilters

func (*InstanceTypesFilters) SetDiskTypes added in v1.179.0

func (o *InstanceTypesFilters) SetDiskTypes(v []string) *InstanceTypesFilters

func (*InstanceTypesFilters) SetExcludeFamilies added in v1.179.0

func (o *InstanceTypesFilters) SetExcludeFamilies(v []string) *InstanceTypesFilters

func (*InstanceTypesFilters) SetExcludeMetal added in v1.179.0

func (o *InstanceTypesFilters) SetExcludeMetal(v *bool) *InstanceTypesFilters

func (*InstanceTypesFilters) SetHypervisor added in v1.179.0

func (o *InstanceTypesFilters) SetHypervisor(v []string) *InstanceTypesFilters

func (*InstanceTypesFilters) SetIncludeFamilies added in v1.179.0

func (o *InstanceTypesFilters) SetIncludeFamilies(v []string) *InstanceTypesFilters

func (*InstanceTypesFilters) SetIsEnaSupported added in v1.179.0

func (o *InstanceTypesFilters) SetIsEnaSupported(v *bool) *InstanceTypesFilters

func (*InstanceTypesFilters) SetMaxGpu added in v1.179.0

func (o *InstanceTypesFilters) SetMaxGpu(v *int) *InstanceTypesFilters

func (*InstanceTypesFilters) SetMaxMemoryGiB added in v1.179.0

func (o *InstanceTypesFilters) SetMaxMemoryGiB(v *float64) *InstanceTypesFilters

func (*InstanceTypesFilters) SetMaxNetworkPerformance added in v1.179.0

func (o *InstanceTypesFilters) SetMaxNetworkPerformance(v *int) *InstanceTypesFilters

func (*InstanceTypesFilters) SetMaxVcpu added in v1.179.0

func (o *InstanceTypesFilters) SetMaxVcpu(v *int) *InstanceTypesFilters

func (*InstanceTypesFilters) SetMinEnis added in v1.179.0

func (o *InstanceTypesFilters) SetMinEnis(v *int) *InstanceTypesFilters

func (*InstanceTypesFilters) SetMinGpu added in v1.179.0

func (o *InstanceTypesFilters) SetMinGpu(v *int) *InstanceTypesFilters

func (*InstanceTypesFilters) SetMinMemoryGiB added in v1.179.0

func (o *InstanceTypesFilters) SetMinMemoryGiB(v *float64) *InstanceTypesFilters

func (*InstanceTypesFilters) SetMinNetworkPerformance added in v1.179.0

func (o *InstanceTypesFilters) SetMinNetworkPerformance(v *int) *InstanceTypesFilters

func (*InstanceTypesFilters) SetMinVcpu added in v1.179.0

func (o *InstanceTypesFilters) SetMinVcpu(v *int) *InstanceTypesFilters

func (*InstanceTypesFilters) SetRootDeviceTypes added in v1.179.0

func (o *InstanceTypesFilters) SetRootDeviceTypes(v []string) *InstanceTypesFilters

func (*InstanceTypesFilters) SetVirtualizationTypes added in v1.179.0

func (o *InstanceTypesFilters) SetVirtualizationTypes(v []string) *InstanceTypesFilters

type Label

type Label struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (Label) MarshalJSON

func (o Label) MarshalJSON() ([]byte, error)

func (*Label) SetKey

func (o *Label) SetKey(v *string) *Label

func (*Label) SetValue

func (o *Label) SetValue(v *string) *Label

type LaunchSpec

type LaunchSpec struct {
	ID                       *string                            `json:"id,omitempty"`
	Name                     *string                            `json:"name,omitempty"`
	OceanID                  *string                            `json:"oceanId,omitempty"`
	ImageID                  *string                            `json:"imageId,omitempty"`
	UserData                 *string                            `json:"userData,omitempty"`
	RootVolumeSize           *int                               `json:"rootVolumeSize,omitempty"`
	SecurityGroupIDs         []string                           `json:"securityGroupIds,omitempty"`
	SubnetIDs                []string                           `json:"subnetIds,omitempty"`
	InstanceTypes            []string                           `json:"instanceTypes,omitempty"`
	PreferredSpotTypes       []string                           `json:"preferredSpotTypes,omitempty"`
	Strategy                 *LaunchSpecStrategy                `json:"strategy,omitempty"`
	ResourceLimits           *ResourceLimits                    `json:"resourceLimits,omitempty"`
	IAMInstanceProfile       *IAMInstanceProfile                `json:"iamInstanceProfile,omitempty"`
	AutoScale                *AutoScale                         `json:"autoScale,omitempty"`
	ElasticIPPool            *ElasticIPPool                     `json:"elasticIpPool,omitempty"`
	BlockDeviceMappings      []*BlockDeviceMapping              `json:"blockDeviceMappings,omitempty"`
	EphemeralStorage         *EphemeralStorage                  `json:"ephemeralStorage,omitempty"`
	Labels                   []*Label                           `json:"labels,omitempty"`
	Taints                   []*Taint                           `json:"taints,omitempty"`
	Tags                     []*Tag                             `json:"tags,omitempty"`
	AssociatePublicIPAddress *bool                              `json:"associatePublicIpAddress,omitempty"`
	RestrictScaleDown        *bool                              `json:"restrictScaleDown,omitempty"`
	LaunchSpecScheduling     *LaunchSpecScheduling              `json:"scheduling,omitempty"`
	InstanceMetadataOptions  *LaunchspecInstanceMetadataOptions `json:"instanceMetadataOptions,omitempty"`
	Images                   []*Images                          `json:"images,omitempty"`
	InstanceTypesFilters     *InstanceTypesFilters              `json:"instanceTypesFilters,omitempty"`
	PreferredOnDemandTypes   []string                           `json:"preferredOnDemandTypes,omitempty"`

	// Read-only fields.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (LaunchSpec) MarshalJSON

func (o LaunchSpec) MarshalJSON() ([]byte, error)

func (*LaunchSpec) SetAssociatePublicIPAddress added in v1.71.0

func (o *LaunchSpec) SetAssociatePublicIPAddress(v *bool) *LaunchSpec

func (*LaunchSpec) SetAutoScale

func (o *LaunchSpec) SetAutoScale(v *AutoScale) *LaunchSpec

func (*LaunchSpec) SetBlockDeviceMappings added in v1.54.0

func (o *LaunchSpec) SetBlockDeviceMappings(v []*BlockDeviceMapping) *LaunchSpec

func (*LaunchSpec) SetElasticIPPool added in v1.50.0

func (o *LaunchSpec) SetElasticIPPool(v *ElasticIPPool) *LaunchSpec

func (*LaunchSpec) SetEphemeralStorage added in v1.339.0

func (o *LaunchSpec) SetEphemeralStorage(v *EphemeralStorage) *LaunchSpec

func (*LaunchSpec) SetIAMInstanceProfile

func (o *LaunchSpec) SetIAMInstanceProfile(v *IAMInstanceProfile) *LaunchSpec

func (*LaunchSpec) SetId

func (o *LaunchSpec) SetId(v *string) *LaunchSpec

func (*LaunchSpec) SetImageId

func (o *LaunchSpec) SetImageId(v *string) *LaunchSpec

func (*LaunchSpec) SetImages added in v1.157.0

func (o *LaunchSpec) SetImages(v []*Images) *LaunchSpec

func (*LaunchSpec) SetInstanceTypes added in v1.58.0

func (o *LaunchSpec) SetInstanceTypes(v []string) *LaunchSpec

func (*LaunchSpec) SetInstanceTypesFilters added in v1.179.0

func (o *LaunchSpec) SetInstanceTypesFilters(v *InstanceTypesFilters) *LaunchSpec

func (*LaunchSpec) SetLabels

func (o *LaunchSpec) SetLabels(v []*Label) *LaunchSpec

func (*LaunchSpec) SetLaunchspecInstanceMetadataOptions added in v1.143.0

func (o *LaunchSpec) SetLaunchspecInstanceMetadataOptions(v *LaunchspecInstanceMetadataOptions) *LaunchSpec

func (*LaunchSpec) SetName

func (o *LaunchSpec) SetName(v *string) *LaunchSpec

func (*LaunchSpec) SetOceanId

func (o *LaunchSpec) SetOceanId(v *string) *LaunchSpec

func (*LaunchSpec) SetPreferredOnDemandTypes added in v1.356.0

func (o *LaunchSpec) SetPreferredOnDemandTypes(v []string) *LaunchSpec

func (*LaunchSpec) SetPreferredSpotTypes added in v1.94.0

func (o *LaunchSpec) SetPreferredSpotTypes(v []string) *LaunchSpec

func (*LaunchSpec) SetResourceLimits added in v1.51.0

func (o *LaunchSpec) SetResourceLimits(v *ResourceLimits) *LaunchSpec

func (*LaunchSpec) SetRestrictScaleDown added in v1.76.0

func (o *LaunchSpec) SetRestrictScaleDown(v *bool) *LaunchSpec

func (*LaunchSpec) SetRootVolumeSize added in v1.38.2

func (o *LaunchSpec) SetRootVolumeSize(v *int) *LaunchSpec

func (*LaunchSpec) SetScheduling added in v1.105.0

func (o *LaunchSpec) SetScheduling(v *LaunchSpecScheduling) *LaunchSpec

func (*LaunchSpec) SetSecurityGroupIDs

func (o *LaunchSpec) SetSecurityGroupIDs(v []string) *LaunchSpec

func (*LaunchSpec) SetStrategy added in v1.63.0

func (o *LaunchSpec) SetStrategy(v *LaunchSpecStrategy) *LaunchSpec

func (*LaunchSpec) SetSubnetIDs added in v1.36.0

func (o *LaunchSpec) SetSubnetIDs(v []string) *LaunchSpec

func (*LaunchSpec) SetTags added in v1.43.0

func (o *LaunchSpec) SetTags(v []*Tag) *LaunchSpec

func (*LaunchSpec) SetTaints

func (o *LaunchSpec) SetTaints(v []*Taint) *LaunchSpec

func (*LaunchSpec) SetUserData

func (o *LaunchSpec) SetUserData(v *string) *LaunchSpec

type LaunchSpecScheduling added in v1.105.0

type LaunchSpecScheduling struct {
	Tasks         []*LaunchSpecTask        `json:"tasks,omitempty"`
	ShutdownHours *LaunchSpecShutdownHours `json:"shutdownHours,omitempty"`
	// contains filtered or unexported fields
}

func (LaunchSpecScheduling) MarshalJSON added in v1.105.0

func (o LaunchSpecScheduling) MarshalJSON() ([]byte, error)

func (*LaunchSpecScheduling) SetShutdownHours added in v1.109.0

func (*LaunchSpecScheduling) SetTasks added in v1.105.0

type LaunchSpecShutdownHours added in v1.109.0

type LaunchSpecShutdownHours struct {
	IsEnabled   *bool    `json:"isEnabled,omitempty"`
	TimeWindows []string `json:"timeWindows,omitempty"`
	// contains filtered or unexported fields
}

func (LaunchSpecShutdownHours) MarshalJSON added in v1.109.0

func (o LaunchSpecShutdownHours) MarshalJSON() ([]byte, error)

func (*LaunchSpecShutdownHours) SetIsEnabled added in v1.109.0

func (*LaunchSpecShutdownHours) SetTimeWindows added in v1.109.0

func (o *LaunchSpecShutdownHours) SetTimeWindows(v []string) *LaunchSpecShutdownHours

type LaunchSpecStrategy added in v1.63.0

type LaunchSpecStrategy struct {
	SpotPercentage           *int  `json:"spotPercentage,omitempty"`
	DrainingTimeout          *int  `json:"drainingTimeout,omitempty"`
	UtilizeCommitments       *bool `json:"utilizeCommitments,omitempty"`
	UtilizeReservedInstances *bool `json:"utilizeReservedInstances,omitempty"`
	// contains filtered or unexported fields
}

func (LaunchSpecStrategy) MarshalJSON added in v1.63.0

func (o LaunchSpecStrategy) MarshalJSON() ([]byte, error)

func (*LaunchSpecStrategy) SetDrainingTimeout added in v1.362.0

func (o *LaunchSpecStrategy) SetDrainingTimeout(v *int) *LaunchSpecStrategy

func (*LaunchSpecStrategy) SetSpotPercentage added in v1.63.0

func (o *LaunchSpecStrategy) SetSpotPercentage(v *int) *LaunchSpecStrategy

func (*LaunchSpecStrategy) SetUtilizeCommitments added in v1.368.0

func (o *LaunchSpecStrategy) SetUtilizeCommitments(v *bool) *LaunchSpecStrategy

func (*LaunchSpecStrategy) SetUtilizeReservedInstances added in v1.368.0

func (o *LaunchSpecStrategy) SetUtilizeReservedInstances(v *bool) *LaunchSpecStrategy

type LaunchSpecTask added in v1.105.0

type LaunchSpecTask struct {
	IsEnabled      *bool       `json:"isEnabled,omitempty"`
	CronExpression *string     `json:"cronExpression,omitempty"`
	TaskType       *string     `json:"taskType,omitempty"`
	Config         *TaskConfig `json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (LaunchSpecTask) MarshalJSON added in v1.105.0

func (o LaunchSpecTask) MarshalJSON() ([]byte, error)

func (*LaunchSpecTask) SetCronExpression added in v1.105.0

func (o *LaunchSpecTask) SetCronExpression(v *string) *LaunchSpecTask

func (*LaunchSpecTask) SetIsEnabled added in v1.105.0

func (o *LaunchSpecTask) SetIsEnabled(v *bool) *LaunchSpecTask

func (*LaunchSpecTask) SetTaskConfig added in v1.105.0

func (o *LaunchSpecTask) SetTaskConfig(v *TaskConfig) *LaunchSpecTask

func (*LaunchSpecTask) SetTaskType added in v1.105.0

func (o *LaunchSpecTask) SetTaskType(v *string) *LaunchSpecTask

type LaunchSpecTaskHeadroom added in v1.105.0

type LaunchSpecTaskHeadroom struct {
	CPUPerUnit    *int `json:"cpuPerUnit,omitempty"`
	GPUPerUnit    *int `json:"gpuPerUnit,omitempty"`
	MemoryPerUnit *int `json:"memoryPerUnit,omitempty"`
	NumOfUnits    *int `json:"numOfUnits,omitempty"`
	// contains filtered or unexported fields
}

func (LaunchSpecTaskHeadroom) MarshalJSON added in v1.105.0

func (o LaunchSpecTaskHeadroom) MarshalJSON() ([]byte, error)

func (*LaunchSpecTaskHeadroom) SetCPUPerUnit added in v1.105.0

func (o *LaunchSpecTaskHeadroom) SetCPUPerUnit(v *int) *LaunchSpecTaskHeadroom

func (*LaunchSpecTaskHeadroom) SetGPUPerUnit added in v1.105.0

func (o *LaunchSpecTaskHeadroom) SetGPUPerUnit(v *int) *LaunchSpecTaskHeadroom

func (*LaunchSpecTaskHeadroom) SetMemoryPerUnit added in v1.105.0

func (o *LaunchSpecTaskHeadroom) SetMemoryPerUnit(v *int) *LaunchSpecTaskHeadroom

func (*LaunchSpecTaskHeadroom) SetNumOfUnits added in v1.105.0

func (o *LaunchSpecTaskHeadroom) SetNumOfUnits(v *int) *LaunchSpecTaskHeadroom

type LaunchSpecification

type LaunchSpecification struct {
	AssociatePublicIPAddress                      *bool                         `json:"associatePublicIpAddress,omitempty"`
	AssociateIPv6Address                          *bool                         `json:"associateIpv6Address,omitempty"`
	SecurityGroupIDs                              []string                      `json:"securityGroupIds,omitempty"`
	ImageID                                       *string                       `json:"imageId,omitempty"`
	KeyPair                                       *string                       `json:"keyPair,omitempty"`
	UserData                                      *string                       `json:"userData,omitempty"`
	IAMInstanceProfile                            *IAMInstanceProfile           `json:"iamInstanceProfile,omitempty"`
	Tags                                          []*Tag                        `json:"tags,omitempty"`
	LoadBalancers                                 []*LoadBalancer               `json:"loadBalancers,omitempty"`
	RootVolumeSize                                *int                          `json:"rootVolumeSize,omitempty"`
	HealthCheckUnhealthyDurationBeforeReplacement *int                          `json:"healthCheckUnhealthyDurationBeforeReplacement,omitempty"`
	Monitoring                                    *bool                         `json:"monitoring,omitempty"`
	EBSOptimized                                  *bool                         `json:"ebsOptimized,omitempty"`
	UseAsTemplateOnly                             *bool                         `json:"useAsTemplateOnly,omitempty"`
	InstanceMetadataOptions                       *InstanceMetadataOptions      `json:"instanceMetadataOptions,omitempty"`
	BlockDeviceMappings                           []*ClusterBlockDeviceMappings `json:"blockDeviceMappings,omitempty"`
	LaunchSpecScheduling                          *LaunchSpecScheduling         `json:"scheduling,omitempty"`
	ResourceTagSpecification                      *ResourceTagSpecification     `json:"resourceTagSpecification,omitempty"`
	// contains filtered or unexported fields
}

func (LaunchSpecification) MarshalJSON

func (o LaunchSpecification) MarshalJSON() ([]byte, error)

func (*LaunchSpecification) SetAssociateIPv6Address added in v1.151.0

func (o *LaunchSpecification) SetAssociateIPv6Address(v *bool) *LaunchSpecification

func (*LaunchSpecification) SetAssociatePublicIPAddress

func (o *LaunchSpecification) SetAssociatePublicIPAddress(v *bool) *LaunchSpecification

func (*LaunchSpecification) SetClusterBlockDeviceMappings added in v1.155.0

func (o *LaunchSpecification) SetClusterBlockDeviceMappings(v []*ClusterBlockDeviceMappings) *LaunchSpecification

func (*LaunchSpecification) SetEBSOptimized

func (o *LaunchSpecification) SetEBSOptimized(v *bool) *LaunchSpecification

func (*LaunchSpecification) SetHealthCheckUnhealthyDurationBeforeReplacement added in v1.337.0

func (o *LaunchSpecification) SetHealthCheckUnhealthyDurationBeforeReplacement(v *int) *LaunchSpecification

func (*LaunchSpecification) SetIAMInstanceProfile

func (o *LaunchSpecification) SetIAMInstanceProfile(v *IAMInstanceProfile) *LaunchSpecification

func (*LaunchSpecification) SetImageId

func (o *LaunchSpecification) SetImageId(v *string) *LaunchSpecification

func (*LaunchSpecification) SetInstanceMetadataOptions added in v1.98.1

func (o *LaunchSpecification) SetInstanceMetadataOptions(v *InstanceMetadataOptions) *LaunchSpecification

func (*LaunchSpecification) SetKeyPair

func (o *LaunchSpecification) SetKeyPair(v *string) *LaunchSpecification

func (*LaunchSpecification) SetLoadBalancers

func (o *LaunchSpecification) SetLoadBalancers(v []*LoadBalancer) *LaunchSpecification

func (*LaunchSpecification) SetMonitoring

func (o *LaunchSpecification) SetMonitoring(v *bool) *LaunchSpecification

func (*LaunchSpecification) SetResourceTagSpecification added in v1.167.0

func (o *LaunchSpecification) SetResourceTagSpecification(v *ResourceTagSpecification) *LaunchSpecification

func (*LaunchSpecification) SetRootVolumeSize

func (o *LaunchSpecification) SetRootVolumeSize(v *int) *LaunchSpecification

func (*LaunchSpecification) SetSecurityGroupIDs

func (o *LaunchSpecification) SetSecurityGroupIDs(v []string) *LaunchSpecification

func (*LaunchSpecification) SetTags

func (o *LaunchSpecification) SetTags(v []*Tag) *LaunchSpecification

func (*LaunchSpecification) SetUseAsTemplateOnly added in v1.70.0

func (o *LaunchSpecification) SetUseAsTemplateOnly(v *bool) *LaunchSpecification

func (*LaunchSpecification) SetUserData

func (o *LaunchSpecification) SetUserData(v *string) *LaunchSpecification

type LaunchspecInstanceMetadataOptions added in v1.143.0

type LaunchspecInstanceMetadataOptions struct {
	HTTPTokens              *string `json:"httpTokens,omitempty"`
	HTTPPutResponseHopLimit *int    `json:"httpPutResponseHopLimit,omitempty"`
	// contains filtered or unexported fields
}

func (LaunchspecInstanceMetadataOptions) MarshalJSON added in v1.143.0

func (o LaunchspecInstanceMetadataOptions) MarshalJSON() ([]byte, error)

func (*LaunchspecInstanceMetadataOptions) SetHTTPPutResponseHopLimit added in v1.143.0

func (o *LaunchspecInstanceMetadataOptions) SetHTTPPutResponseHopLimit(v *int) *LaunchspecInstanceMetadataOptions

func (*LaunchspecInstanceMetadataOptions) SetHTTPTokens added in v1.143.0

type ListClusterInstancesInput

type ListClusterInstancesInput struct {
	ClusterID *string `json:"clusterId,omitempty"`
}

type ListClusterInstancesOutput

type ListClusterInstancesOutput struct {
	Instances []*Instance `json:"instances,omitempty"`
}

type ListClustersInput

type ListClustersInput struct{}

type ListClustersOutput

type ListClustersOutput struct {
	Clusters []*Cluster `json:"clusters,omitempty"`
}

type ListECSClustersInput

type ListECSClustersInput struct{}

type ListECSClustersOutput

type ListECSClustersOutput struct {
	Clusters []*ECSCluster `json:"clusters,omitempty"`
}

type ListECSLaunchSpecsInput

type ListECSLaunchSpecsInput struct {
	OceanID *string `json:"oceanId,omitempty"`
}

type ListECSLaunchSpecsOutput

type ListECSLaunchSpecsOutput struct {
	LaunchSpecs []*ECSLaunchSpec `json:"launchSpecs,omitempty"`
}

type ListExtendedResourceDefinitionsInput added in v1.112.0

type ListExtendedResourceDefinitionsInput struct{}

type ListExtendedResourceDefinitionsOutput added in v1.112.0

type ListExtendedResourceDefinitionsOutput struct {
	ExtendedResourceDefinitions []*ExtendedResourceDefinition `json:"extendedResourceDefinitions,omitempty"`
}

type ListLaunchSpecsInput

type ListLaunchSpecsInput struct {
	OceanID *string `json:"oceanId,omitempty"`
}

type ListLaunchSpecsOutput

type ListLaunchSpecsOutput struct {
	LaunchSpecs []*LaunchSpec `json:"launchSpecs,omitempty"`
}

type ListOceanResourceSuggestionsInput added in v1.108.0

type ListOceanResourceSuggestionsInput struct {
	OceanID *string `json:"oceanId,omitempty"`
	Filter  *Filter `json:"filter,omitempty"`
}

ListOceanResourceSuggestionsInput represents the input of `ListOceanResourceSuggestions` function.

type ListOceanResourceSuggestionsOutput added in v1.108.0

type ListOceanResourceSuggestionsOutput struct {
	Suggestions []*ResourceSuggestion `json:"suggestions,omitempty"`
}

ListOceanResourceSuggestionsOutput represents the output of `ListOceanResourceSuggestions` function.

type ListResourceSuggestionsInput deprecated added in v1.41.0

type ListResourceSuggestionsInput struct {
	OceanID   *string `json:"oceanId,omitempty"`
	Namespace *string `json:"namespace,omitempty"`
}

Deprecated: Use ListOceanResourceSuggestionsInput instead.

type ListResourceSuggestionsOutput deprecated added in v1.41.0

type ListResourceSuggestionsOutput struct {
	Suggestions []*ResourceSuggestion `json:"suggestions,omitempty"`
}

Deprecated: Use ListOceanResourceSuggestionsOutput instead.

type ListRollsInput added in v1.55.0

type ListRollsInput struct {
	ClusterID *string `json:"clusterId,omitempty"`
}

type ListRollsOutput added in v1.55.0

type ListRollsOutput struct {
	Rolls []*RollStatus `json:"rolls,omitempty"`
}

type LoadBalancer

type LoadBalancer struct {
	Name *string `json:"name,omitempty"`
	Arn  *string `json:"arn,omitempty"`
	Type *string `json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadBalancer) SetArn

func (o *LoadBalancer) SetArn(v *string) *LoadBalancer

func (*LoadBalancer) SetName

func (o *LoadBalancer) SetName(v *string) *LoadBalancer

func (*LoadBalancer) SetType

func (o *LoadBalancer) SetType(v *string) *LoadBalancer

type LoadBalancers added in v1.345.0

type LoadBalancers struct {
	Arn  *string `json:"arn,omitempty"`
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

type LogEvent added in v1.81.0

type LogEvent struct {
	Message   *string    `json:"message,omitempty"`
	Severity  *string    `json:"severity,omitempty"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
}

type Logging added in v1.107.0

type Logging struct {
	Export *Export `json:"export,omitempty"`
	// contains filtered or unexported fields
}

func (Logging) MarshalJSON added in v1.107.0

func (o Logging) MarshalJSON() ([]byte, error)

func (*Logging) SetExport added in v1.107.0

func (o *Logging) SetExport(v *Export) *Logging

type MetaData added in v1.122.0

type MetaData struct {
	Name       *string `json:"name,omitempty"`
	Namespace  *string `json:"namespace,omitempty"`
	Type       *string `json:"type,omitempty"`
	CustomType *string `json:"customType,omitempty"`
}

type Migration added in v1.189.0

type Migration struct {
	ID          *string `json:"Id,omitempty"`
	State       *string `json:"state,omitempty"`
	CreatedAt   *string `json:"createdAt,omitempty"`
	CompletedAt *string `json:"completedAt,omitempty"`
	// contains filtered or unexported fields
}

type MigrationConfig added in v1.189.0

type MigrationConfig struct {
	ShouldTerminateDrainedNodes *bool `json:"shouldTerminateDrainedNodes,omitempty"`
	ShouldEvictStandAlonePods   *bool `json:"shouldEvictStandAlonePods,omitempty"`
	// contains filtered or unexported fields
}

type MigrationStatus added in v1.189.0

type MigrationStatus struct {
	ID                   *string            `json:"Id,omitempty"`
	OceanId              *string            `json:"oceanId,omitempty"`
	Status               *string            `json:"status,omitempty"`
	NewInstances         []*InstanceDetails `json:"newInstances,omitempty"`
	OldInstances         []*InstanceDetails `json:"oldInstances,omitempty"`
	UnscheduledPodIds    *string            `json:"unscheduledPodIds,omitempty"`
	NewUnscheduledPodIds *string            `json:"newUnscheduledPodIds,omitempty"`
	MigrationConfig      *MigrationConfig   `json:"migrationConfig,omitempty"`
	CreatedAt            *string            `json:"createdAt,omitempty"`
	ErroredAt            *string            `json:"erroredAt,omitempty"`
	StoppedAt            *string            `json:"stoppedAt,omitempty"`
	CompletedAt          *string            `json:"completedAt,omitempty"`
	// contains filtered or unexported fields
}

type NonPv added in v1.122.0

type NonPv struct {
	Total *float64 `json:"total,omitempty"`
}

type Parameter added in v1.191.0

type Parameter struct {
	AmiAutoUpdate *AmiAutoUpdate        `json:"amiAutoUpdate,omitempty"`
	ClusterRoll   *ParameterClusterRoll `json:"clusterRoll,omitempty"`
	// contains filtered or unexported fields
}

func (*Parameter) SetAmiAutoUpdate added in v1.191.0

func (o *Parameter) SetAmiAutoUpdate(v *AmiAutoUpdate) *Parameter

func (*Parameter) SetClusterRoll added in v1.191.0

func (o *Parameter) SetClusterRoll(v *ParameterClusterRoll) *Parameter

type ParameterClusterRoll added in v1.191.0

type ParameterClusterRoll struct {
	BatchMinHealthyPercentage *int    `json:"batchMinHealthyPercentage,omitempty"`
	BatchSizePercentage       *int    `json:"batchSizePercentage,omitempty"`
	Comment                   *string `json:"comment,omitempty"`
	RespectPdb                *bool   `json:"respectPdb,omitempty"`
	// contains filtered or unexported fields
}

func (*ParameterClusterRoll) SetBatchMinHealthyPercentage added in v1.191.0

func (o *ParameterClusterRoll) SetBatchMinHealthyPercentage(v *int) *ParameterClusterRoll

func (*ParameterClusterRoll) SetBatchSizePercentage added in v1.191.0

func (o *ParameterClusterRoll) SetBatchSizePercentage(v *int) *ParameterClusterRoll

func (*ParameterClusterRoll) SetComment added in v1.191.0

func (*ParameterClusterRoll) SetRespectPdb added in v1.191.0

func (o *ParameterClusterRoll) SetRespectPdb(v *bool) *ParameterClusterRoll

type PodDetails added in v1.189.0

type PodDetails struct {
	ID   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
	Kind *string `json:"kind,omitempty"`
	// contains filtered or unexported fields
}

type Progress

type Progress struct {
	Unit  *string  `json:"unit,omitempty"`
	Value *float64 `json:"value,omitempty"`
}

type Property added in v1.122.0

type Property struct {
	Resources []AggregatedCostResource `json:"resources,omitempty"`
	Summary   *Summary                 `json:"summary,omitempty"`
}

type ReadClusterInput

type ReadClusterInput struct {
	ClusterID *string `json:"clusterId,omitempty"`
}

type ReadClusterNodeInput added in v1.189.0

type ReadClusterNodeInput struct {
	ClusterID    *string `json:"clusterId,omitempty"`
	LaunchSpecId *string `json:"launchSpecId,omitempty"`
	InstanceId   *string `json:"instanceId,omitempty"`
}

type ReadClusterNodeOutput added in v1.189.0

type ReadClusterNodeOutput struct {
	ClusterNode []*ClusterNodes `json:"clusterNode,omitempty"`
}

type ReadClusterOutput

type ReadClusterOutput struct {
	Cluster *Cluster `json:"cluster,omitempty"`
}

type ReadECSClusterInput

type ReadECSClusterInput struct {
	ClusterID *string `json:"clusterId,omitempty"`
}

type ReadECSClusterOutput

type ReadECSClusterOutput struct {
	Cluster *ECSCluster `json:"cluster,omitempty"`
}

type ReadECSLaunchSpecInput

type ReadECSLaunchSpecInput struct {
	LaunchSpecID *string `json:"launchSpecId,omitempty"`
}

type ReadECSLaunchSpecOutput

type ReadECSLaunchSpecOutput struct {
	LaunchSpec *ECSLaunchSpec `json:"launchSpec,omitempty"`
}

type ReadExtendedResourceDefinitionInput added in v1.112.0

type ReadExtendedResourceDefinitionInput struct {
	ExtendedResourceDefinitionID *string `json:"oceanExtendedResourceDefinitionId,omitempty"`
}

type ReadExtendedResourceDefinitionOutput added in v1.112.0

type ReadExtendedResourceDefinitionOutput struct {
	ExtendedResourceDefinition *ExtendedResourceDefinition `json:"extendedResourceDefinition,omitempty"`
}

type ReadLaunchSpecInput

type ReadLaunchSpecInput struct {
	LaunchSpecID *string `json:"launchSpecId,omitempty"`
}

type ReadLaunchSpecOutput

type ReadLaunchSpecOutput struct {
	LaunchSpec *LaunchSpec `json:"launchSpec,omitempty"`
}

type ReadMigrationInput added in v1.189.0

type ReadMigrationInput struct {
	ClusterID *string `json:"clusterId,omitempty"`
}

type ReadMigrationOutput added in v1.189.0

type ReadMigrationOutput struct {
	Migration []*Migration `json:"migration,omitempty"`
}

type ReadMigrationStatusInput added in v1.189.0

type ReadMigrationStatusInput struct {
	ClusterID   *string `json:"clusterId,omitempty"`
	MigrationID *string `json:"migrationId,omitempty"`
}

type ReadMigrationStatusOutput added in v1.189.0

type ReadMigrationStatusOutput struct {
	MigrationStatus []*MigrationStatus `json:"migrationStatus,omitempty"`
}

type ReadRollInput added in v1.55.0

type ReadRollInput struct {
	RollID    *string `json:"rollId,omitempty"`
	ClusterID *string `json:"clusterId,omitempty"`
}

type ReadRollOutput added in v1.55.0

type ReadRollOutput struct {
	Roll *RollStatus `json:"roll,omitempty"`
}

type ResourceLimits added in v1.51.0

type ResourceLimits struct {
	MaxInstanceCount *int `json:"maxInstanceCount,omitempty"`
	MinInstanceCount *int `json:"minInstanceCount,omitempty"`
	// contains filtered or unexported fields
}

func (ResourceLimits) MarshalJSON added in v1.51.0

func (o ResourceLimits) MarshalJSON() ([]byte, error)

func (*ResourceLimits) SetMaxInstanceCount added in v1.51.0

func (o *ResourceLimits) SetMaxInstanceCount(v *int) *ResourceLimits

func (*ResourceLimits) SetMinInstanceCount added in v1.102.0

func (o *ResourceLimits) SetMinInstanceCount(v *int) *ResourceLimits

type ResourceSuggestion added in v1.41.0

type ResourceSuggestion struct {
	ResourceName    *string                        `json:"resourceName,omitempty"`
	ResourceType    *string                        `json:"resourceType,omitempty"`
	DeploymentName  *string                        `json:"deploymentName,omitempty"`
	Namespace       *string                        `json:"namespace,omitempty"`
	SuggestedCPU    *float64                       `json:"suggestedCPU,omitempty"`
	RequestedCPU    *float64                       `json:"requestedCPU,omitempty"`
	SuggestedMemory *float64                       `json:"suggestedMemory,omitempty"`
	RequestedMemory *float64                       `json:"requestedMemory,omitempty"`
	Containers      []*ContainerResourceSuggestion `json:"containers,omitempty"`
}

ResourceSuggestion represents a single resource suggestion.

type ResourceTagSpecification added in v1.167.0

type ResourceTagSpecification struct {
	Volumes *Volumes `json:"volumes,omitempty"`
	// contains filtered or unexported fields
}

func (ResourceTagSpecification) MarshalJSON added in v1.167.0

func (o ResourceTagSpecification) MarshalJSON() ([]byte, error)

func (*ResourceTagSpecification) SetVolumes added in v1.167.0

type Result added in v1.122.0

type Result struct {
	TotalForDuration *TotalForDuration `json:"totalForDuration,omitempty"`
}

type Roll deprecated

type Roll struct {
	ClusterID                    *string  `json:"clusterId,omitempty"`
	Comment                      *string  `json:"comment,omitempty"`
	BatchSizePercentage          *int     `json:"batchSizePercentage,omitempty"`
	DisableLaunchSpecAutoscaling *bool    `json:"disableLaunchSpecAutoscaling,omitempty"`
	LaunchSpecIDs                []string `json:"launchSpecIds,omitempty"`
	InstanceIDs                  []string `json:"instanceIds,omitempty"`
	// contains filtered or unexported fields
}

Deprecated: Use RollSpec instead.

func (Roll) MarshalJSON added in v1.55.0

func (o Roll) MarshalJSON() ([]byte, error)

func (*Roll) SetBatchSizePercentage added in v1.55.0

func (o *Roll) SetBatchSizePercentage(v *int) *Roll

func (*Roll) SetComment added in v1.55.0

func (o *Roll) SetComment(v *string) *Roll

func (*Roll) SetDisableLaunchSpecAutoscaling added in v1.55.0

func (o *Roll) SetDisableLaunchSpecAutoscaling(v *bool) *Roll

func (*Roll) SetInstanceIDs added in v1.55.0

func (o *Roll) SetInstanceIDs(v []string) *Roll

func (*Roll) SetLaunchSpecIDs added in v1.55.0

func (o *Roll) SetLaunchSpecIDs(v []string) *Roll

type RollClusterInput deprecated

type RollClusterInput struct {
	Roll *Roll `json:"roll,omitempty"`
}

Deprecated: Use CreateRollInput instead.

type RollClusterOutput deprecated

type RollClusterOutput struct {
	RollClusterStatus *RollClusterStatus `json:"clusterDeploymentStatus,omitempty"`
}

Deprecated: Use CreateRollOutput instead.

type RollClusterStatus deprecated

type RollClusterStatus struct {
	OceanID      *string   `json:"oceanId,omitempty"`
	RollID       *string   `json:"id,omitempty"`
	RollStatus   *string   `json:"status,omitempty"`
	Progress     *Progress `json:"progress,omitempty"`
	CurrentBatch *int      `json:"currentBatch,omitempty"`
	NumOfBatches *int      `json:"numOfBatches,omitempty"`
	CreatedAt    *string   `json:"createdAt,omitempty"`
	UpdatedAt    *string   `json:"updatedAt,omitempty"`
}

Deprecated: Use RollStatus instead.

type RollSpec added in v1.55.0

type RollSpec struct {
	ID                           *string  `json:"id,omitempty"`
	ClusterID                    *string  `json:"clusterId,omitempty"`
	Comment                      *string  `json:"comment,omitempty"`
	Status                       *string  `json:"status,omitempty"`
	BatchSizePercentage          *int     `json:"batchSizePercentage,omitempty"`
	BatchMinHealthyPercentage    *int     `json:"batchMinHealthyPercentage,omitempty"`
	RespectPDB                   *bool    `json:"respectPdb,omitempty"`
	DisableLaunchSpecAutoScaling *bool    `json:"disableLaunchSpecAutoScaling,omitempty"`
	LaunchSpecIDs                []string `json:"launchSpecIds,omitempty"`
	InstanceIDs                  []string `json:"instanceIds,omitempty"`
	// contains filtered or unexported fields
}

func (RollSpec) MarshalJSON added in v1.66.0

func (o RollSpec) MarshalJSON() ([]byte, error)

func (*RollSpec) SetBatchMinHealthyPercentage added in v1.115.0

func (o *RollSpec) SetBatchMinHealthyPercentage(v *int) *RollSpec

func (*RollSpec) SetBatchSizePercentage added in v1.66.0

func (o *RollSpec) SetBatchSizePercentage(v *int) *RollSpec

func (*RollSpec) SetComment added in v1.66.0

func (o *RollSpec) SetComment(v *string) *RollSpec

func (*RollSpec) SetDisableLaunchSpecAutoScaling added in v1.66.0

func (o *RollSpec) SetDisableLaunchSpecAutoScaling(v *bool) *RollSpec

func (*RollSpec) SetInstanceIDs added in v1.66.0

func (o *RollSpec) SetInstanceIDs(v []string) *RollSpec

func (*RollSpec) SetLaunchSpecIDs added in v1.66.0

func (o *RollSpec) SetLaunchSpecIDs(v []string) *RollSpec

func (*RollSpec) SetRespectPDB added in v1.123.0

func (o *RollSpec) SetRespectPDB(v *bool) *RollSpec

func (*RollSpec) SetStatus added in v1.66.0

func (o *RollSpec) SetStatus(v *string) *RollSpec

type RollStatus added in v1.55.0

type RollStatus struct {
	ID            *string    `json:"id,omitempty"`
	ClusterID     *string    `json:"oceanId,omitempty"`
	Comment       *string    `json:"comment,omitempty"`
	Status        *string    `json:"status,omitempty"`
	Progress      *Progress  `json:"progress,omitempty"`
	CurrentBatch  *int       `json:"currentBatch,omitempty"`
	NumOfBatches  *int       `json:"numOfBatches,omitempty"`
	LaunchSpecIDs []string   `json:"launchSpecIds,omitempty"`
	InstanceIDs   []string   `json:"instanceIds,omitempty"`
	CreatedAt     *time.Time `json:"createdAt,omitempty"`
	UpdatedAt     *time.Time `json:"updatedAt,omitempty"`
}

type S3 added in v1.107.0

type S3 struct {
	ID *string `json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (S3) MarshalJSON added in v1.107.0

func (o S3) MarshalJSON() ([]byte, error)

func (*S3) SetId added in v1.107.0

func (o *S3) SetId(v *string) *S3

type Scheduling added in v1.40.0

type Scheduling struct {
	ShutdownHours *ShutdownHours `json:"shutdownHours,omitempty"`
	Tasks         []*Task        `json:"tasks,omitempty"`
	// contains filtered or unexported fields
}

func (Scheduling) MarshalJSON added in v1.40.0

func (o Scheduling) MarshalJSON() ([]byte, error)

func (*Scheduling) SetShutdownHours added in v1.40.0

func (o *Scheduling) SetShutdownHours(v *ShutdownHours) *Scheduling

func (*Scheduling) SetTasks added in v1.40.0

func (o *Scheduling) SetTasks(v []*Task) *Scheduling

type Service

type Service interface {
	// contains filtered or unexported methods
}

Service provides the API operation methods for making requests to endpoints of the Spotinst API. See this package's package overview docs for details on the service.

type ServiceOp

type ServiceOp struct {
	Client *client.Client
}

func New

func New(sess *session.Session, cfgs ...*spotinst.Config) *ServiceOp

func (*ServiceOp) AttachLoadBalancer added in v1.345.0

func (s *ServiceOp) AttachLoadBalancer(ctx context.Context,
	input *AttachLoadbalancerInput) (*AttachLoadbalancerOutput, error)

func (*ServiceOp) CreateCluster

func (s *ServiceOp) CreateCluster(ctx context.Context, input *CreateClusterInput) (*CreateClusterOutput, error)

func (*ServiceOp) CreateECSCluster

func (s *ServiceOp) CreateECSCluster(ctx context.Context, input *CreateECSClusterInput) (*CreateECSClusterOutput, error)

func (*ServiceOp) CreateECSLaunchSpec

func (s *ServiceOp) CreateECSLaunchSpec(ctx context.Context, input *CreateECSLaunchSpecInput) (*CreateECSLaunchSpecOutput, error)

func (*ServiceOp) CreateExtendedResourceDefinition added in v1.112.0

func (*ServiceOp) CreateLaunchSpec

func (s *ServiceOp) CreateLaunchSpec(ctx context.Context, input *CreateLaunchSpecInput) (*CreateLaunchSpecOutput, error)

func (*ServiceOp) CreateRoll added in v1.55.0

func (s *ServiceOp) CreateRoll(ctx context.Context, input *CreateRollInput) (*CreateRollOutput, error)

func (*ServiceOp) DeleteCluster

func (s *ServiceOp) DeleteCluster(ctx context.Context, input *DeleteClusterInput) (*DeleteClusterOutput, error)

func (*ServiceOp) DeleteECSCluster

func (s *ServiceOp) DeleteECSCluster(ctx context.Context, input *DeleteECSClusterInput) (*DeleteECSClusterOutput, error)

func (*ServiceOp) DeleteECSLaunchSpec

func (s *ServiceOp) DeleteECSLaunchSpec(ctx context.Context, input *DeleteECSLaunchSpecInput) (*DeleteECSLaunchSpecOutput, error)

func (*ServiceOp) DeleteExtendedResourceDefinition added in v1.112.0

func (*ServiceOp) DeleteLaunchSpec

func (s *ServiceOp) DeleteLaunchSpec(ctx context.Context, input *DeleteLaunchSpecInput) (*DeleteLaunchSpecOutput, error)

func (*ServiceOp) DetachClusterInstances

func (s *ServiceOp) DetachClusterInstances(ctx context.Context, input *DetachClusterInstancesInput) (*DetachClusterInstancesOutput, error)

func (*ServiceOp) DetachLoadBalancer added in v1.345.0

func (s *ServiceOp) DetachLoadBalancer(ctx context.Context,
	input *DetachLoadbalancerInput) (*DetachLoadbalancerOutput, error)

func (*ServiceOp) GetClusterAggregatedCosts added in v1.122.0

func (s *ServiceOp) GetClusterAggregatedCosts(ctx context.Context, input *ClusterAggregatedCostInput) (*ClusterAggregatedCostOutput, error)

func (*ServiceOp) GetLogEvents added in v1.81.0

func (s *ServiceOp) GetLogEvents(ctx context.Context, input *GetLogEventsInput) (*GetLogEventsOutput, error)

func (*ServiceOp) ListClusterInstances

func (s *ServiceOp) ListClusterInstances(ctx context.Context, input *ListClusterInstancesInput) (*ListClusterInstancesOutput, error)

func (*ServiceOp) ListClusters

func (s *ServiceOp) ListClusters(ctx context.Context, input *ListClustersInput) (*ListClustersOutput, error)

func (*ServiceOp) ListECSClusters

func (s *ServiceOp) ListECSClusters(ctx context.Context, input *ListECSClustersInput) (*ListECSClustersOutput, error)

func (*ServiceOp) ListECSLaunchSpecs

func (s *ServiceOp) ListECSLaunchSpecs(ctx context.Context, input *ListECSLaunchSpecsInput) (*ListECSLaunchSpecsOutput, error)

func (*ServiceOp) ListExtendedResourceDefinition added in v1.112.0

func (*ServiceOp) ListLaunchSpecs

func (s *ServiceOp) ListLaunchSpecs(ctx context.Context, input *ListLaunchSpecsInput) (*ListLaunchSpecsOutput, error)

func (*ServiceOp) ListMigrations added in v1.189.0

func (s *ServiceOp) ListMigrations(ctx context.Context, input *ReadMigrationInput) (*ReadMigrationOutput, error)

func (*ServiceOp) ListOceanResourceSuggestions added in v1.108.0

ListOceanResourceSuggestions returns a list of right-sizing resource suggestions for an Ocean cluster.

func (*ServiceOp) ListResourceSuggestions deprecated added in v1.41.0

func (s *ServiceOp) ListResourceSuggestions(ctx context.Context, input *ListResourceSuggestionsInput) (*ListResourceSuggestionsOutput, error)

Deprecated: Use ListOceanResourceSuggestions instead.

func (*ServiceOp) ListRolls added in v1.55.0

func (s *ServiceOp) ListRolls(ctx context.Context, input *ListRollsInput) (*ListRollsOutput, error)

func (*ServiceOp) MigrationStatus added in v1.189.0

func (*ServiceOp) ReadCluster

func (s *ServiceOp) ReadCluster(ctx context.Context, input *ReadClusterInput) (*ReadClusterOutput, error)

func (*ServiceOp) ReadClusterNodes added in v1.189.0

func (s *ServiceOp) ReadClusterNodes(ctx context.Context, input *ReadClusterNodeInput) (*ReadClusterNodeOutput, error)

func (*ServiceOp) ReadECSCluster

func (s *ServiceOp) ReadECSCluster(ctx context.Context, input *ReadECSClusterInput) (*ReadECSClusterOutput, error)

func (*ServiceOp) ReadECSLaunchSpec

func (s *ServiceOp) ReadECSLaunchSpec(ctx context.Context, input *ReadECSLaunchSpecInput) (*ReadECSLaunchSpecOutput, error)

func (*ServiceOp) ReadExtendedResourceDefinition added in v1.112.0

func (*ServiceOp) ReadLaunchSpec

func (s *ServiceOp) ReadLaunchSpec(ctx context.Context, input *ReadLaunchSpecInput) (*ReadLaunchSpecOutput, error)

func (*ServiceOp) ReadRoll added in v1.55.0

func (s *ServiceOp) ReadRoll(ctx context.Context, input *ReadRollInput) (*ReadRollOutput, error)

func (*ServiceOp) Roll deprecated

Deprecated: Use CreateRoll instead.

func (*ServiceOp) RollECS

func (*ServiceOp) UpdateCluster

func (s *ServiceOp) UpdateCluster(ctx context.Context, input *UpdateClusterInput) (*UpdateClusterOutput, error)

func (*ServiceOp) UpdateECSCluster

func (s *ServiceOp) UpdateECSCluster(ctx context.Context, input *UpdateECSClusterInput) (*UpdateECSClusterOutput, error)

func (*ServiceOp) UpdateECSLaunchSpec

func (s *ServiceOp) UpdateECSLaunchSpec(ctx context.Context, input *UpdateECSLaunchSpecInput) (*UpdateECSLaunchSpecOutput, error)

func (*ServiceOp) UpdateExtendedResourceDefinition added in v1.112.0

func (*ServiceOp) UpdateLaunchSpec

func (s *ServiceOp) UpdateLaunchSpec(ctx context.Context, input *UpdateLaunchSpecInput) (*UpdateLaunchSpecOutput, error)

func (*ServiceOp) UpdateRoll added in v1.55.0

func (s *ServiceOp) UpdateRoll(ctx context.Context, input *UpdateRollInput) (*UpdateRollOutput, error)

type ShutdownHours added in v1.40.0

type ShutdownHours struct {
	IsEnabled   *bool    `json:"isEnabled,omitempty"`
	TimeWindows []string `json:"timeWindows,omitempty"`
	// contains filtered or unexported fields
}

func (ShutdownHours) MarshalJSON added in v1.40.0

func (o ShutdownHours) MarshalJSON() ([]byte, error)

func (*ShutdownHours) SetIsEnabled added in v1.40.0

func (o *ShutdownHours) SetIsEnabled(v *bool) *ShutdownHours

func (*ShutdownHours) SetTimeWindows added in v1.40.0

func (o *ShutdownHours) SetTimeWindows(v []string) *ShutdownHours

type Strategy

type Strategy struct {
	SpotPercentage           *float64            `json:"spotPercentage,omitempty"`
	UtilizeReservedInstances *bool               `json:"utilizeReservedInstances,omitempty"`
	FallbackToOnDemand       *bool               `json:"fallbackToOd,omitempty"`
	DrainingTimeout          *int                `json:"drainingTimeout,omitempty"`
	GracePeriod              *int                `json:"gracePeriod,omitempty"`
	UtilizeCommitments       *bool               `json:"utilizeCommitments,omitempty"`
	ClusterOrientation       *ClusterOrientation `json:"clusterOrientation,omitempty"`
	SpreadNodesBy            *string             `json:"spreadNodesBy,omitempty"`
	// contains filtered or unexported fields
}

func (Strategy) MarshalJSON

func (o Strategy) MarshalJSON() ([]byte, error)

func (*Strategy) SetClusterOrientation added in v1.137.0

func (o *Strategy) SetClusterOrientation(v *ClusterOrientation) *Strategy

func (*Strategy) SetDrainingTimeout

func (o *Strategy) SetDrainingTimeout(v *int) *Strategy

func (*Strategy) SetFallbackToOnDemand

func (o *Strategy) SetFallbackToOnDemand(v *bool) *Strategy

func (*Strategy) SetGracePeriod added in v1.44.0

func (o *Strategy) SetGracePeriod(v *int) *Strategy

func (*Strategy) SetSpotPercentage

func (o *Strategy) SetSpotPercentage(v *float64) *Strategy

func (*Strategy) SetSpreadNodesBy added in v1.145.0

func (o *Strategy) SetSpreadNodesBy(v *string) *Strategy

func (*Strategy) SetUtilizeCommitments added in v1.75.0

func (o *Strategy) SetUtilizeCommitments(v *bool) *Strategy

func (*Strategy) SetUtilizeReservedInstances

func (o *Strategy) SetUtilizeReservedInstances(v *bool) *Strategy

type Summary added in v1.122.0

type Summary struct {
	Compute *AggregatedCompute `json:"compute,omitempty"`
	Storage *AggregatedStorage `json:"storage,omitempty"`
	Total   *float64           `json:"total,omitempty"`
}

type Tag

type Tag struct {
	Key   *string `json:"tagKey,omitempty"`
	Value *string `json:"tagValue,omitempty"`
	// contains filtered or unexported fields
}

func (Tag) MarshalJSON

func (o Tag) MarshalJSON() ([]byte, error)

func (*Tag) SetKey

func (o *Tag) SetKey(v *string) *Tag

func (*Tag) SetValue

func (o *Tag) SetValue(v *string) *Tag

type TagSelector added in v1.50.0

type TagSelector struct {
	Key   *string `json:"tagKey,omitempty"`
	Value *string `json:"tagValue,omitempty"`
	// contains filtered or unexported fields
}

func (TagSelector) MarshalJSON added in v1.50.0

func (o TagSelector) MarshalJSON() ([]byte, error)

func (*TagSelector) SetTagKey added in v1.50.0

func (o *TagSelector) SetTagKey(v *string) *TagSelector

func (*TagSelector) SetTagValue added in v1.50.0

func (o *TagSelector) SetTagValue(v *string) *TagSelector

type Taint

type Taint struct {
	Key    *string `json:"key,omitempty"`
	Value  *string `json:"value,omitempty"`
	Effect *string `json:"effect,omitempty"`
	// contains filtered or unexported fields
}

func (Taint) MarshalJSON

func (o Taint) MarshalJSON() ([]byte, error)

func (*Taint) SetEffect

func (o *Taint) SetEffect(v *string) *Taint

func (*Taint) SetKey

func (o *Taint) SetKey(v *string) *Taint

func (*Taint) SetValue

func (o *Taint) SetValue(v *string) *Taint

type Task added in v1.40.0

type Task struct {
	IsEnabled      *bool      `json:"isEnabled,omitempty"`
	Type           *string    `json:"taskType,omitempty"`
	CronExpression *string    `json:"cronExpression,omitempty"`
	Parameter      *Parameter `json:"parameters,omitempty"`
	// contains filtered or unexported fields
}

func (Task) MarshalJSON added in v1.40.0

func (o Task) MarshalJSON() ([]byte, error)

func (*Task) SetCronExpression added in v1.40.0

func (o *Task) SetCronExpression(v *string) *Task

func (*Task) SetIsEnabled added in v1.40.0

func (o *Task) SetIsEnabled(v *bool) *Task

func (*Task) SetParameter added in v1.191.0

func (o *Task) SetParameter(v *Parameter) *Task

func (*Task) SetType added in v1.40.0

func (o *Task) SetType(v *string) *Task

type TaskConfig added in v1.105.0

type TaskConfig struct {
	TaskHeadrooms []*LaunchSpecTaskHeadroom `json:"headrooms,omitempty"`
	// contains filtered or unexported fields
}

func (TaskConfig) MarshalJSON added in v1.105.0

func (o TaskConfig) MarshalJSON() ([]byte, error)

func (*TaskConfig) SetHeadrooms added in v1.105.0

func (o *TaskConfig) SetHeadrooms(v []*LaunchSpecTaskHeadroom) *TaskConfig

type TotalForDuration added in v1.122.0

type TotalForDuration struct {
	Summary       *Summary       `json:"summary,omitempty"`
	StartTime     *string        `json:"startTime,omitempty"`
	EndTime       *string        `json:"endTime,omitempty"`
	DetailedCosts *DetailedCosts `json:"detailedCosts,omitempty"`
}

type UpdateClusterInput

type UpdateClusterInput struct {
	Cluster *Cluster `json:"cluster,omitempty"`
}

type UpdateClusterOutput

type UpdateClusterOutput struct {
	Cluster *Cluster `json:"cluster,omitempty"`
}

type UpdateECSClusterInput

type UpdateECSClusterInput struct {
	Cluster *ECSCluster `json:"cluster,omitempty"`
}

type UpdateECSClusterOutput

type UpdateECSClusterOutput struct {
	Cluster *ECSCluster `json:"cluster,omitempty"`
}

type UpdateECSLaunchSpecInput

type UpdateECSLaunchSpecInput struct {
	LaunchSpec *ECSLaunchSpec `json:"launchSpec,omitempty"`
}

type UpdateECSLaunchSpecOutput

type UpdateECSLaunchSpecOutput struct {
	LaunchSpec *ECSLaunchSpec `json:"launchSpec,omitempty"`
}

type UpdateExtendedResourceDefinitionInput added in v1.112.0

type UpdateExtendedResourceDefinitionInput struct {
	ExtendedResourceDefinition *ExtendedResourceDefinition `json:"extendedResourceDefinition,omitempty"`
}

type UpdateExtendedResourceDefinitionOutput added in v1.112.0

type UpdateExtendedResourceDefinitionOutput struct {
	ExtendedResourceDefinition *ExtendedResourceDefinition `json:"extendedResourceDefinition,omitempty"`
}

type UpdateLaunchSpecInput

type UpdateLaunchSpecInput struct {
	LaunchSpec *LaunchSpec `json:"launchSpec,omitempty"`
}

type UpdateLaunchSpecOutput

type UpdateLaunchSpecOutput struct {
	LaunchSpec *LaunchSpec `json:"launchSpec,omitempty"`
}

type UpdateRollInput added in v1.55.0

type UpdateRollInput struct {
	Roll *RollSpec `json:"roll,omitempty"`
}

type UpdateRollOutput added in v1.55.0

type UpdateRollOutput struct {
	Roll *RollStatus `json:"roll,omitempty"`
}

type Volumes added in v1.167.0

type Volumes struct {
	ShouldTag *bool `json:"shouldTag,omitempty"`
	// contains filtered or unexported fields
}

func (Volumes) MarshalJSON added in v1.167.0

func (o Volumes) MarshalJSON() ([]byte, error)

func (*Volumes) SetShouldTag added in v1.167.0

func (o *Volumes) SetShouldTag(v *bool) *Volumes

type Workloads added in v1.122.0

type Workloads struct {
	Total *float64 `json:"total,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL