Documentation ¶
Overview ¶
Package batch provides the client and types for making API requests to AWS Batch.
Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of the batch computing to remove the undifferentiated heavy lifting of configuring and managing required infrastructure. At the same time, it also adopts a familiar batch computing software approach. You can use Batch to efficiently provision resources d, and work toward eliminating capacity constraints, reducing your overall compute costs, and delivering results more quickly.
As a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific workloads. With Batch, there's no need to install or manage batch computing software. This means that you can focus on analyzing results and solving your specific problems instead.
See https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10 for more information on this service.
See batch package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/batch/
Using the Client ¶
To contact AWS Batch with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the AWS Batch client Batch for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/batch/#New
Index ¶
- Constants
- func ArrayJobDependency_Values() []string
- func AssignPublicIp_Values() []string
- func CEState_Values() []string
- func CEStatus_Values() []string
- func CEType_Values() []string
- func CRAllocationStrategy_Values() []string
- func CRType_Values() []string
- func CRUpdateAllocationStrategy_Values() []string
- func DeviceCgroupPermission_Values() []string
- func EFSAuthorizationConfigIAM_Values() []string
- func EFSTransitEncryption_Values() []string
- func JQState_Values() []string
- func JQStatus_Values() []string
- func JobDefinitionType_Values() []string
- func JobStatus_Values() []string
- func LogDriver_Values() []string
- func OrchestrationType_Values() []string
- func PlatformCapability_Values() []string
- func ResourceType_Values() []string
- func RetryAction_Values() []string
- type ArrayProperties
- type ArrayPropertiesDetail
- func (s ArrayPropertiesDetail) GoString() string
- func (s *ArrayPropertiesDetail) SetIndex(v int64) *ArrayPropertiesDetail
- func (s *ArrayPropertiesDetail) SetSize(v int64) *ArrayPropertiesDetail
- func (s *ArrayPropertiesDetail) SetStatusSummary(v map[string]*int64) *ArrayPropertiesDetail
- func (s ArrayPropertiesDetail) String() string
- type ArrayPropertiesSummary
- type AttemptContainerDetail
- func (s AttemptContainerDetail) GoString() string
- func (s *AttemptContainerDetail) SetContainerInstanceArn(v string) *AttemptContainerDetail
- func (s *AttemptContainerDetail) SetExitCode(v int64) *AttemptContainerDetail
- func (s *AttemptContainerDetail) SetLogStreamName(v string) *AttemptContainerDetail
- func (s *AttemptContainerDetail) SetNetworkInterfaces(v []*NetworkInterface) *AttemptContainerDetail
- func (s *AttemptContainerDetail) SetReason(v string) *AttemptContainerDetail
- func (s *AttemptContainerDetail) SetTaskArn(v string) *AttemptContainerDetail
- func (s AttemptContainerDetail) String() string
- type AttemptDetail
- func (s AttemptDetail) GoString() string
- func (s *AttemptDetail) SetContainer(v *AttemptContainerDetail) *AttemptDetail
- func (s *AttemptDetail) SetStartedAt(v int64) *AttemptDetail
- func (s *AttemptDetail) SetStatusReason(v string) *AttemptDetail
- func (s *AttemptDetail) SetStoppedAt(v int64) *AttemptDetail
- func (s AttemptDetail) String() string
- type Batch
- func (c *Batch) CancelJob(input *CancelJobInput) (*CancelJobOutput, error)
- func (c *Batch) CancelJobRequest(input *CancelJobInput) (req *request.Request, output *CancelJobOutput)
- func (c *Batch) CancelJobWithContext(ctx aws.Context, input *CancelJobInput, opts ...request.Option) (*CancelJobOutput, error)
- func (c *Batch) CreateComputeEnvironment(input *CreateComputeEnvironmentInput) (*CreateComputeEnvironmentOutput, error)
- func (c *Batch) CreateComputeEnvironmentRequest(input *CreateComputeEnvironmentInput) (req *request.Request, output *CreateComputeEnvironmentOutput)
- func (c *Batch) CreateComputeEnvironmentWithContext(ctx aws.Context, input *CreateComputeEnvironmentInput, opts ...request.Option) (*CreateComputeEnvironmentOutput, error)
- func (c *Batch) CreateJobQueue(input *CreateJobQueueInput) (*CreateJobQueueOutput, error)
- func (c *Batch) CreateJobQueueRequest(input *CreateJobQueueInput) (req *request.Request, output *CreateJobQueueOutput)
- func (c *Batch) CreateJobQueueWithContext(ctx aws.Context, input *CreateJobQueueInput, opts ...request.Option) (*CreateJobQueueOutput, error)
- func (c *Batch) CreateSchedulingPolicy(input *CreateSchedulingPolicyInput) (*CreateSchedulingPolicyOutput, error)
- func (c *Batch) CreateSchedulingPolicyRequest(input *CreateSchedulingPolicyInput) (req *request.Request, output *CreateSchedulingPolicyOutput)
- func (c *Batch) CreateSchedulingPolicyWithContext(ctx aws.Context, input *CreateSchedulingPolicyInput, opts ...request.Option) (*CreateSchedulingPolicyOutput, error)
- func (c *Batch) DeleteComputeEnvironment(input *DeleteComputeEnvironmentInput) (*DeleteComputeEnvironmentOutput, error)
- func (c *Batch) DeleteComputeEnvironmentRequest(input *DeleteComputeEnvironmentInput) (req *request.Request, output *DeleteComputeEnvironmentOutput)
- func (c *Batch) DeleteComputeEnvironmentWithContext(ctx aws.Context, input *DeleteComputeEnvironmentInput, opts ...request.Option) (*DeleteComputeEnvironmentOutput, error)
- func (c *Batch) DeleteJobQueue(input *DeleteJobQueueInput) (*DeleteJobQueueOutput, error)
- func (c *Batch) DeleteJobQueueRequest(input *DeleteJobQueueInput) (req *request.Request, output *DeleteJobQueueOutput)
- func (c *Batch) DeleteJobQueueWithContext(ctx aws.Context, input *DeleteJobQueueInput, opts ...request.Option) (*DeleteJobQueueOutput, error)
- func (c *Batch) DeleteSchedulingPolicy(input *DeleteSchedulingPolicyInput) (*DeleteSchedulingPolicyOutput, error)
- func (c *Batch) DeleteSchedulingPolicyRequest(input *DeleteSchedulingPolicyInput) (req *request.Request, output *DeleteSchedulingPolicyOutput)
- func (c *Batch) DeleteSchedulingPolicyWithContext(ctx aws.Context, input *DeleteSchedulingPolicyInput, opts ...request.Option) (*DeleteSchedulingPolicyOutput, error)
- func (c *Batch) DeregisterJobDefinition(input *DeregisterJobDefinitionInput) (*DeregisterJobDefinitionOutput, error)
- func (c *Batch) DeregisterJobDefinitionRequest(input *DeregisterJobDefinitionInput) (req *request.Request, output *DeregisterJobDefinitionOutput)
- func (c *Batch) DeregisterJobDefinitionWithContext(ctx aws.Context, input *DeregisterJobDefinitionInput, opts ...request.Option) (*DeregisterJobDefinitionOutput, error)
- func (c *Batch) DescribeComputeEnvironments(input *DescribeComputeEnvironmentsInput) (*DescribeComputeEnvironmentsOutput, error)
- func (c *Batch) DescribeComputeEnvironmentsPages(input *DescribeComputeEnvironmentsInput, ...) error
- func (c *Batch) DescribeComputeEnvironmentsPagesWithContext(ctx aws.Context, input *DescribeComputeEnvironmentsInput, ...) error
- func (c *Batch) DescribeComputeEnvironmentsRequest(input *DescribeComputeEnvironmentsInput) (req *request.Request, output *DescribeComputeEnvironmentsOutput)
- func (c *Batch) DescribeComputeEnvironmentsWithContext(ctx aws.Context, input *DescribeComputeEnvironmentsInput, ...) (*DescribeComputeEnvironmentsOutput, error)
- func (c *Batch) DescribeJobDefinitions(input *DescribeJobDefinitionsInput) (*DescribeJobDefinitionsOutput, error)
- func (c *Batch) DescribeJobDefinitionsPages(input *DescribeJobDefinitionsInput, ...) error
- func (c *Batch) DescribeJobDefinitionsPagesWithContext(ctx aws.Context, input *DescribeJobDefinitionsInput, ...) error
- func (c *Batch) DescribeJobDefinitionsRequest(input *DescribeJobDefinitionsInput) (req *request.Request, output *DescribeJobDefinitionsOutput)
- func (c *Batch) DescribeJobDefinitionsWithContext(ctx aws.Context, input *DescribeJobDefinitionsInput, opts ...request.Option) (*DescribeJobDefinitionsOutput, error)
- func (c *Batch) DescribeJobQueues(input *DescribeJobQueuesInput) (*DescribeJobQueuesOutput, error)
- func (c *Batch) DescribeJobQueuesPages(input *DescribeJobQueuesInput, fn func(*DescribeJobQueuesOutput, bool) bool) error
- func (c *Batch) DescribeJobQueuesPagesWithContext(ctx aws.Context, input *DescribeJobQueuesInput, ...) error
- func (c *Batch) DescribeJobQueuesRequest(input *DescribeJobQueuesInput) (req *request.Request, output *DescribeJobQueuesOutput)
- func (c *Batch) DescribeJobQueuesWithContext(ctx aws.Context, input *DescribeJobQueuesInput, opts ...request.Option) (*DescribeJobQueuesOutput, error)
- func (c *Batch) DescribeJobs(input *DescribeJobsInput) (*DescribeJobsOutput, error)
- func (c *Batch) DescribeJobsRequest(input *DescribeJobsInput) (req *request.Request, output *DescribeJobsOutput)
- func (c *Batch) DescribeJobsWithContext(ctx aws.Context, input *DescribeJobsInput, opts ...request.Option) (*DescribeJobsOutput, error)
- func (c *Batch) DescribeSchedulingPolicies(input *DescribeSchedulingPoliciesInput) (*DescribeSchedulingPoliciesOutput, error)
- func (c *Batch) DescribeSchedulingPoliciesRequest(input *DescribeSchedulingPoliciesInput) (req *request.Request, output *DescribeSchedulingPoliciesOutput)
- func (c *Batch) DescribeSchedulingPoliciesWithContext(ctx aws.Context, input *DescribeSchedulingPoliciesInput, ...) (*DescribeSchedulingPoliciesOutput, error)
- func (c *Batch) ListJobs(input *ListJobsInput) (*ListJobsOutput, error)
- func (c *Batch) ListJobsPages(input *ListJobsInput, fn func(*ListJobsOutput, bool) bool) error
- func (c *Batch) ListJobsPagesWithContext(ctx aws.Context, input *ListJobsInput, fn func(*ListJobsOutput, bool) bool, ...) error
- func (c *Batch) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput)
- func (c *Batch) ListJobsWithContext(ctx aws.Context, input *ListJobsInput, opts ...request.Option) (*ListJobsOutput, error)
- func (c *Batch) ListSchedulingPolicies(input *ListSchedulingPoliciesInput) (*ListSchedulingPoliciesOutput, error)
- func (c *Batch) ListSchedulingPoliciesPages(input *ListSchedulingPoliciesInput, ...) error
- func (c *Batch) ListSchedulingPoliciesPagesWithContext(ctx aws.Context, input *ListSchedulingPoliciesInput, ...) error
- func (c *Batch) ListSchedulingPoliciesRequest(input *ListSchedulingPoliciesInput) (req *request.Request, output *ListSchedulingPoliciesOutput)
- func (c *Batch) ListSchedulingPoliciesWithContext(ctx aws.Context, input *ListSchedulingPoliciesInput, opts ...request.Option) (*ListSchedulingPoliciesOutput, error)
- func (c *Batch) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
- func (c *Batch) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
- func (c *Batch) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
- func (c *Batch) RegisterJobDefinition(input *RegisterJobDefinitionInput) (*RegisterJobDefinitionOutput, error)
- func (c *Batch) RegisterJobDefinitionRequest(input *RegisterJobDefinitionInput) (req *request.Request, output *RegisterJobDefinitionOutput)
- func (c *Batch) RegisterJobDefinitionWithContext(ctx aws.Context, input *RegisterJobDefinitionInput, opts ...request.Option) (*RegisterJobDefinitionOutput, error)
- func (c *Batch) SubmitJob(input *SubmitJobInput) (*SubmitJobOutput, error)
- func (c *Batch) SubmitJobRequest(input *SubmitJobInput) (req *request.Request, output *SubmitJobOutput)
- func (c *Batch) SubmitJobWithContext(ctx aws.Context, input *SubmitJobInput, opts ...request.Option) (*SubmitJobOutput, error)
- func (c *Batch) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
- func (c *Batch) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
- func (c *Batch) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
- func (c *Batch) TerminateJob(input *TerminateJobInput) (*TerminateJobOutput, error)
- func (c *Batch) TerminateJobRequest(input *TerminateJobInput) (req *request.Request, output *TerminateJobOutput)
- func (c *Batch) TerminateJobWithContext(ctx aws.Context, input *TerminateJobInput, opts ...request.Option) (*TerminateJobOutput, error)
- func (c *Batch) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
- func (c *Batch) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
- func (c *Batch) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
- func (c *Batch) UpdateComputeEnvironment(input *UpdateComputeEnvironmentInput) (*UpdateComputeEnvironmentOutput, error)
- func (c *Batch) UpdateComputeEnvironmentRequest(input *UpdateComputeEnvironmentInput) (req *request.Request, output *UpdateComputeEnvironmentOutput)
- func (c *Batch) UpdateComputeEnvironmentWithContext(ctx aws.Context, input *UpdateComputeEnvironmentInput, opts ...request.Option) (*UpdateComputeEnvironmentOutput, error)
- func (c *Batch) UpdateJobQueue(input *UpdateJobQueueInput) (*UpdateJobQueueOutput, error)
- func (c *Batch) UpdateJobQueueRequest(input *UpdateJobQueueInput) (req *request.Request, output *UpdateJobQueueOutput)
- func (c *Batch) UpdateJobQueueWithContext(ctx aws.Context, input *UpdateJobQueueInput, opts ...request.Option) (*UpdateJobQueueOutput, error)
- func (c *Batch) UpdateSchedulingPolicy(input *UpdateSchedulingPolicyInput) (*UpdateSchedulingPolicyOutput, error)
- func (c *Batch) UpdateSchedulingPolicyRequest(input *UpdateSchedulingPolicyInput) (req *request.Request, output *UpdateSchedulingPolicyOutput)
- func (c *Batch) UpdateSchedulingPolicyWithContext(ctx aws.Context, input *UpdateSchedulingPolicyInput, opts ...request.Option) (*UpdateSchedulingPolicyOutput, error)
- type CancelJobInput
- type CancelJobOutput
- type ClientException
- func (s *ClientException) Code() string
- func (s *ClientException) Error() string
- func (s ClientException) GoString() string
- func (s *ClientException) Message() string
- func (s *ClientException) OrigErr() error
- func (s *ClientException) RequestID() string
- func (s *ClientException) StatusCode() int
- func (s ClientException) String() string
- type ComputeEnvironmentDetail
- func (s ComputeEnvironmentDetail) GoString() string
- func (s *ComputeEnvironmentDetail) SetComputeEnvironmentArn(v string) *ComputeEnvironmentDetail
- func (s *ComputeEnvironmentDetail) SetComputeEnvironmentName(v string) *ComputeEnvironmentDetail
- func (s *ComputeEnvironmentDetail) SetComputeResources(v *ComputeResource) *ComputeEnvironmentDetail
- func (s *ComputeEnvironmentDetail) SetContainerOrchestrationType(v string) *ComputeEnvironmentDetail
- func (s *ComputeEnvironmentDetail) SetEcsClusterArn(v string) *ComputeEnvironmentDetail
- func (s *ComputeEnvironmentDetail) SetEksConfiguration(v *EksConfiguration) *ComputeEnvironmentDetail
- func (s *ComputeEnvironmentDetail) SetServiceRole(v string) *ComputeEnvironmentDetail
- func (s *ComputeEnvironmentDetail) SetState(v string) *ComputeEnvironmentDetail
- func (s *ComputeEnvironmentDetail) SetStatus(v string) *ComputeEnvironmentDetail
- func (s *ComputeEnvironmentDetail) SetStatusReason(v string) *ComputeEnvironmentDetail
- func (s *ComputeEnvironmentDetail) SetTags(v map[string]*string) *ComputeEnvironmentDetail
- func (s *ComputeEnvironmentDetail) SetType(v string) *ComputeEnvironmentDetail
- func (s *ComputeEnvironmentDetail) SetUnmanagedvCpus(v int64) *ComputeEnvironmentDetail
- func (s *ComputeEnvironmentDetail) SetUpdatePolicy(v *UpdatePolicy) *ComputeEnvironmentDetail
- func (s *ComputeEnvironmentDetail) SetUuid(v string) *ComputeEnvironmentDetail
- func (s ComputeEnvironmentDetail) String() string
- type ComputeEnvironmentOrder
- func (s ComputeEnvironmentOrder) GoString() string
- func (s *ComputeEnvironmentOrder) SetComputeEnvironment(v string) *ComputeEnvironmentOrder
- func (s *ComputeEnvironmentOrder) SetOrder(v int64) *ComputeEnvironmentOrder
- func (s ComputeEnvironmentOrder) String() string
- func (s *ComputeEnvironmentOrder) Validate() error
- type ComputeResource
- func (s ComputeResource) GoString() string
- func (s *ComputeResource) SetAllocationStrategy(v string) *ComputeResource
- func (s *ComputeResource) SetBidPercentage(v int64) *ComputeResource
- func (s *ComputeResource) SetDesiredvCpus(v int64) *ComputeResource
- func (s *ComputeResource) SetEc2Configuration(v []*Ec2Configuration) *ComputeResource
- func (s *ComputeResource) SetEc2KeyPair(v string) *ComputeResource
- func (s *ComputeResource) SetImageId(v string) *ComputeResource
- func (s *ComputeResource) SetInstanceRole(v string) *ComputeResource
- func (s *ComputeResource) SetInstanceTypes(v []*string) *ComputeResource
- func (s *ComputeResource) SetLaunchTemplate(v *LaunchTemplateSpecification) *ComputeResource
- func (s *ComputeResource) SetMaxvCpus(v int64) *ComputeResource
- func (s *ComputeResource) SetMinvCpus(v int64) *ComputeResource
- func (s *ComputeResource) SetPlacementGroup(v string) *ComputeResource
- func (s *ComputeResource) SetSecurityGroupIds(v []*string) *ComputeResource
- func (s *ComputeResource) SetSpotIamFleetRole(v string) *ComputeResource
- func (s *ComputeResource) SetSubnets(v []*string) *ComputeResource
- func (s *ComputeResource) SetTags(v map[string]*string) *ComputeResource
- func (s *ComputeResource) SetType(v string) *ComputeResource
- func (s ComputeResource) String() string
- func (s *ComputeResource) Validate() error
- type ComputeResourceUpdate
- func (s ComputeResourceUpdate) GoString() string
- func (s *ComputeResourceUpdate) SetAllocationStrategy(v string) *ComputeResourceUpdate
- func (s *ComputeResourceUpdate) SetBidPercentage(v int64) *ComputeResourceUpdate
- func (s *ComputeResourceUpdate) SetDesiredvCpus(v int64) *ComputeResourceUpdate
- func (s *ComputeResourceUpdate) SetEc2Configuration(v []*Ec2Configuration) *ComputeResourceUpdate
- func (s *ComputeResourceUpdate) SetEc2KeyPair(v string) *ComputeResourceUpdate
- func (s *ComputeResourceUpdate) SetImageId(v string) *ComputeResourceUpdate
- func (s *ComputeResourceUpdate) SetInstanceRole(v string) *ComputeResourceUpdate
- func (s *ComputeResourceUpdate) SetInstanceTypes(v []*string) *ComputeResourceUpdate
- func (s *ComputeResourceUpdate) SetLaunchTemplate(v *LaunchTemplateSpecification) *ComputeResourceUpdate
- func (s *ComputeResourceUpdate) SetMaxvCpus(v int64) *ComputeResourceUpdate
- func (s *ComputeResourceUpdate) SetMinvCpus(v int64) *ComputeResourceUpdate
- func (s *ComputeResourceUpdate) SetPlacementGroup(v string) *ComputeResourceUpdate
- func (s *ComputeResourceUpdate) SetSecurityGroupIds(v []*string) *ComputeResourceUpdate
- func (s *ComputeResourceUpdate) SetSubnets(v []*string) *ComputeResourceUpdate
- func (s *ComputeResourceUpdate) SetTags(v map[string]*string) *ComputeResourceUpdate
- func (s *ComputeResourceUpdate) SetType(v string) *ComputeResourceUpdate
- func (s *ComputeResourceUpdate) SetUpdateToLatestImageVersion(v bool) *ComputeResourceUpdate
- func (s ComputeResourceUpdate) String() string
- func (s *ComputeResourceUpdate) Validate() error
- type ContainerDetail
- func (s ContainerDetail) GoString() string
- func (s *ContainerDetail) SetCommand(v []*string) *ContainerDetail
- func (s *ContainerDetail) SetContainerInstanceArn(v string) *ContainerDetail
- func (s *ContainerDetail) SetEnvironment(v []*KeyValuePair) *ContainerDetail
- func (s *ContainerDetail) SetEphemeralStorage(v *EphemeralStorage) *ContainerDetail
- func (s *ContainerDetail) SetExecutionRoleArn(v string) *ContainerDetail
- func (s *ContainerDetail) SetExitCode(v int64) *ContainerDetail
- func (s *ContainerDetail) SetFargatePlatformConfiguration(v *FargatePlatformConfiguration) *ContainerDetail
- func (s *ContainerDetail) SetImage(v string) *ContainerDetail
- func (s *ContainerDetail) SetInstanceType(v string) *ContainerDetail
- func (s *ContainerDetail) SetJobRoleArn(v string) *ContainerDetail
- func (s *ContainerDetail) SetLinuxParameters(v *LinuxParameters) *ContainerDetail
- func (s *ContainerDetail) SetLogConfiguration(v *LogConfiguration) *ContainerDetail
- func (s *ContainerDetail) SetLogStreamName(v string) *ContainerDetail
- func (s *ContainerDetail) SetMemory(v int64) *ContainerDetail
- func (s *ContainerDetail) SetMountPoints(v []*MountPoint) *ContainerDetail
- func (s *ContainerDetail) SetNetworkConfiguration(v *NetworkConfiguration) *ContainerDetail
- func (s *ContainerDetail) SetNetworkInterfaces(v []*NetworkInterface) *ContainerDetail
- func (s *ContainerDetail) SetPrivileged(v bool) *ContainerDetail
- func (s *ContainerDetail) SetReadonlyRootFilesystem(v bool) *ContainerDetail
- func (s *ContainerDetail) SetReason(v string) *ContainerDetail
- func (s *ContainerDetail) SetResourceRequirements(v []*ResourceRequirement) *ContainerDetail
- func (s *ContainerDetail) SetRuntimePlatform(v *RuntimePlatform) *ContainerDetail
- func (s *ContainerDetail) SetSecrets(v []*Secret) *ContainerDetail
- func (s *ContainerDetail) SetTaskArn(v string) *ContainerDetail
- func (s *ContainerDetail) SetUlimits(v []*Ulimit) *ContainerDetail
- func (s *ContainerDetail) SetUser(v string) *ContainerDetail
- func (s *ContainerDetail) SetVcpus(v int64) *ContainerDetail
- func (s *ContainerDetail) SetVolumes(v []*Volume) *ContainerDetail
- func (s ContainerDetail) String() string
- type ContainerOverrides
- func (s ContainerOverrides) GoString() string
- func (s *ContainerOverrides) SetCommand(v []*string) *ContainerOverrides
- func (s *ContainerOverrides) SetEnvironment(v []*KeyValuePair) *ContainerOverrides
- func (s *ContainerOverrides) SetInstanceType(v string) *ContainerOverrides
- func (s *ContainerOverrides) SetMemory(v int64) *ContainerOverrides
- func (s *ContainerOverrides) SetResourceRequirements(v []*ResourceRequirement) *ContainerOverrides
- func (s *ContainerOverrides) SetVcpus(v int64) *ContainerOverrides
- func (s ContainerOverrides) String() string
- func (s *ContainerOverrides) Validate() error
- type ContainerProperties
- func (s ContainerProperties) GoString() string
- func (s *ContainerProperties) SetCommand(v []*string) *ContainerProperties
- func (s *ContainerProperties) SetEnvironment(v []*KeyValuePair) *ContainerProperties
- func (s *ContainerProperties) SetEphemeralStorage(v *EphemeralStorage) *ContainerProperties
- func (s *ContainerProperties) SetExecutionRoleArn(v string) *ContainerProperties
- func (s *ContainerProperties) SetFargatePlatformConfiguration(v *FargatePlatformConfiguration) *ContainerProperties
- func (s *ContainerProperties) SetImage(v string) *ContainerProperties
- func (s *ContainerProperties) SetInstanceType(v string) *ContainerProperties
- func (s *ContainerProperties) SetJobRoleArn(v string) *ContainerProperties
- func (s *ContainerProperties) SetLinuxParameters(v *LinuxParameters) *ContainerProperties
- func (s *ContainerProperties) SetLogConfiguration(v *LogConfiguration) *ContainerProperties
- func (s *ContainerProperties) SetMemory(v int64) *ContainerProperties
- func (s *ContainerProperties) SetMountPoints(v []*MountPoint) *ContainerProperties
- func (s *ContainerProperties) SetNetworkConfiguration(v *NetworkConfiguration) *ContainerProperties
- func (s *ContainerProperties) SetPrivileged(v bool) *ContainerProperties
- func (s *ContainerProperties) SetReadonlyRootFilesystem(v bool) *ContainerProperties
- func (s *ContainerProperties) SetResourceRequirements(v []*ResourceRequirement) *ContainerProperties
- func (s *ContainerProperties) SetRuntimePlatform(v *RuntimePlatform) *ContainerProperties
- func (s *ContainerProperties) SetSecrets(v []*Secret) *ContainerProperties
- func (s *ContainerProperties) SetUlimits(v []*Ulimit) *ContainerProperties
- func (s *ContainerProperties) SetUser(v string) *ContainerProperties
- func (s *ContainerProperties) SetVcpus(v int64) *ContainerProperties
- func (s *ContainerProperties) SetVolumes(v []*Volume) *ContainerProperties
- func (s ContainerProperties) String() string
- func (s *ContainerProperties) Validate() error
- type ContainerSummary
- type CreateComputeEnvironmentInput
- func (s CreateComputeEnvironmentInput) GoString() string
- func (s *CreateComputeEnvironmentInput) SetComputeEnvironmentName(v string) *CreateComputeEnvironmentInput
- func (s *CreateComputeEnvironmentInput) SetComputeResources(v *ComputeResource) *CreateComputeEnvironmentInput
- func (s *CreateComputeEnvironmentInput) SetEksConfiguration(v *EksConfiguration) *CreateComputeEnvironmentInput
- func (s *CreateComputeEnvironmentInput) SetServiceRole(v string) *CreateComputeEnvironmentInput
- func (s *CreateComputeEnvironmentInput) SetState(v string) *CreateComputeEnvironmentInput
- func (s *CreateComputeEnvironmentInput) SetTags(v map[string]*string) *CreateComputeEnvironmentInput
- func (s *CreateComputeEnvironmentInput) SetType(v string) *CreateComputeEnvironmentInput
- func (s *CreateComputeEnvironmentInput) SetUnmanagedvCpus(v int64) *CreateComputeEnvironmentInput
- func (s CreateComputeEnvironmentInput) String() string
- func (s *CreateComputeEnvironmentInput) Validate() error
- type CreateComputeEnvironmentOutput
- func (s CreateComputeEnvironmentOutput) GoString() string
- func (s *CreateComputeEnvironmentOutput) SetComputeEnvironmentArn(v string) *CreateComputeEnvironmentOutput
- func (s *CreateComputeEnvironmentOutput) SetComputeEnvironmentName(v string) *CreateComputeEnvironmentOutput
- func (s CreateComputeEnvironmentOutput) String() string
- type CreateJobQueueInput
- func (s CreateJobQueueInput) GoString() string
- func (s *CreateJobQueueInput) SetComputeEnvironmentOrder(v []*ComputeEnvironmentOrder) *CreateJobQueueInput
- func (s *CreateJobQueueInput) SetJobQueueName(v string) *CreateJobQueueInput
- func (s *CreateJobQueueInput) SetPriority(v int64) *CreateJobQueueInput
- func (s *CreateJobQueueInput) SetSchedulingPolicyArn(v string) *CreateJobQueueInput
- func (s *CreateJobQueueInput) SetState(v string) *CreateJobQueueInput
- func (s *CreateJobQueueInput) SetTags(v map[string]*string) *CreateJobQueueInput
- func (s CreateJobQueueInput) String() string
- func (s *CreateJobQueueInput) Validate() error
- type CreateJobQueueOutput
- type CreateSchedulingPolicyInput
- func (s CreateSchedulingPolicyInput) GoString() string
- func (s *CreateSchedulingPolicyInput) SetFairsharePolicy(v *FairsharePolicy) *CreateSchedulingPolicyInput
- func (s *CreateSchedulingPolicyInput) SetName(v string) *CreateSchedulingPolicyInput
- func (s *CreateSchedulingPolicyInput) SetTags(v map[string]*string) *CreateSchedulingPolicyInput
- func (s CreateSchedulingPolicyInput) String() string
- func (s *CreateSchedulingPolicyInput) Validate() error
- type CreateSchedulingPolicyOutput
- type DeleteComputeEnvironmentInput
- type DeleteComputeEnvironmentOutput
- type DeleteJobQueueInput
- type DeleteJobQueueOutput
- type DeleteSchedulingPolicyInput
- type DeleteSchedulingPolicyOutput
- type DeregisterJobDefinitionInput
- type DeregisterJobDefinitionOutput
- type DescribeComputeEnvironmentsInput
- func (s DescribeComputeEnvironmentsInput) GoString() string
- func (s *DescribeComputeEnvironmentsInput) SetComputeEnvironments(v []*string) *DescribeComputeEnvironmentsInput
- func (s *DescribeComputeEnvironmentsInput) SetMaxResults(v int64) *DescribeComputeEnvironmentsInput
- func (s *DescribeComputeEnvironmentsInput) SetNextToken(v string) *DescribeComputeEnvironmentsInput
- func (s DescribeComputeEnvironmentsInput) String() string
- type DescribeComputeEnvironmentsOutput
- func (s DescribeComputeEnvironmentsOutput) GoString() string
- func (s *DescribeComputeEnvironmentsOutput) SetComputeEnvironments(v []*ComputeEnvironmentDetail) *DescribeComputeEnvironmentsOutput
- func (s *DescribeComputeEnvironmentsOutput) SetNextToken(v string) *DescribeComputeEnvironmentsOutput
- func (s DescribeComputeEnvironmentsOutput) String() string
- type DescribeJobDefinitionsInput
- func (s DescribeJobDefinitionsInput) GoString() string
- func (s *DescribeJobDefinitionsInput) SetJobDefinitionName(v string) *DescribeJobDefinitionsInput
- func (s *DescribeJobDefinitionsInput) SetJobDefinitions(v []*string) *DescribeJobDefinitionsInput
- func (s *DescribeJobDefinitionsInput) SetMaxResults(v int64) *DescribeJobDefinitionsInput
- func (s *DescribeJobDefinitionsInput) SetNextToken(v string) *DescribeJobDefinitionsInput
- func (s *DescribeJobDefinitionsInput) SetStatus(v string) *DescribeJobDefinitionsInput
- func (s DescribeJobDefinitionsInput) String() string
- type DescribeJobDefinitionsOutput
- func (s DescribeJobDefinitionsOutput) GoString() string
- func (s *DescribeJobDefinitionsOutput) SetJobDefinitions(v []*JobDefinition) *DescribeJobDefinitionsOutput
- func (s *DescribeJobDefinitionsOutput) SetNextToken(v string) *DescribeJobDefinitionsOutput
- func (s DescribeJobDefinitionsOutput) String() string
- type DescribeJobQueuesInput
- func (s DescribeJobQueuesInput) GoString() string
- func (s *DescribeJobQueuesInput) SetJobQueues(v []*string) *DescribeJobQueuesInput
- func (s *DescribeJobQueuesInput) SetMaxResults(v int64) *DescribeJobQueuesInput
- func (s *DescribeJobQueuesInput) SetNextToken(v string) *DescribeJobQueuesInput
- func (s DescribeJobQueuesInput) String() string
- type DescribeJobQueuesOutput
- type DescribeJobsInput
- type DescribeJobsOutput
- type DescribeSchedulingPoliciesInput
- type DescribeSchedulingPoliciesOutput
- type Device
- type EFSAuthorizationConfig
- type EFSVolumeConfiguration
- func (s EFSVolumeConfiguration) GoString() string
- func (s *EFSVolumeConfiguration) SetAuthorizationConfig(v *EFSAuthorizationConfig) *EFSVolumeConfiguration
- func (s *EFSVolumeConfiguration) SetFileSystemId(v string) *EFSVolumeConfiguration
- func (s *EFSVolumeConfiguration) SetRootDirectory(v string) *EFSVolumeConfiguration
- func (s *EFSVolumeConfiguration) SetTransitEncryption(v string) *EFSVolumeConfiguration
- func (s *EFSVolumeConfiguration) SetTransitEncryptionPort(v int64) *EFSVolumeConfiguration
- func (s EFSVolumeConfiguration) String() string
- func (s *EFSVolumeConfiguration) Validate() error
- type Ec2Configuration
- func (s Ec2Configuration) GoString() string
- func (s *Ec2Configuration) SetImageIdOverride(v string) *Ec2Configuration
- func (s *Ec2Configuration) SetImageKubernetesVersion(v string) *Ec2Configuration
- func (s *Ec2Configuration) SetImageType(v string) *Ec2Configuration
- func (s Ec2Configuration) String() string
- func (s *Ec2Configuration) Validate() error
- type EksAttemptContainerDetail
- type EksAttemptDetail
- func (s EksAttemptDetail) GoString() string
- func (s *EksAttemptDetail) SetContainers(v []*EksAttemptContainerDetail) *EksAttemptDetail
- func (s *EksAttemptDetail) SetNodeName(v string) *EksAttemptDetail
- func (s *EksAttemptDetail) SetPodName(v string) *EksAttemptDetail
- func (s *EksAttemptDetail) SetStartedAt(v int64) *EksAttemptDetail
- func (s *EksAttemptDetail) SetStatusReason(v string) *EksAttemptDetail
- func (s *EksAttemptDetail) SetStoppedAt(v int64) *EksAttemptDetail
- func (s EksAttemptDetail) String() string
- type EksConfiguration
- type EksContainer
- func (s EksContainer) GoString() string
- func (s *EksContainer) SetArgs(v []*string) *EksContainer
- func (s *EksContainer) SetCommand(v []*string) *EksContainer
- func (s *EksContainer) SetEnv(v []*EksContainerEnvironmentVariable) *EksContainer
- func (s *EksContainer) SetImage(v string) *EksContainer
- func (s *EksContainer) SetImagePullPolicy(v string) *EksContainer
- func (s *EksContainer) SetName(v string) *EksContainer
- func (s *EksContainer) SetResources(v *EksContainerResourceRequirements) *EksContainer
- func (s *EksContainer) SetSecurityContext(v *EksContainerSecurityContext) *EksContainer
- func (s *EksContainer) SetVolumeMounts(v []*EksContainerVolumeMount) *EksContainer
- func (s EksContainer) String() string
- func (s *EksContainer) Validate() error
- type EksContainerDetail
- func (s EksContainerDetail) GoString() string
- func (s *EksContainerDetail) SetArgs(v []*string) *EksContainerDetail
- func (s *EksContainerDetail) SetCommand(v []*string) *EksContainerDetail
- func (s *EksContainerDetail) SetEnv(v []*EksContainerEnvironmentVariable) *EksContainerDetail
- func (s *EksContainerDetail) SetExitCode(v int64) *EksContainerDetail
- func (s *EksContainerDetail) SetImage(v string) *EksContainerDetail
- func (s *EksContainerDetail) SetImagePullPolicy(v string) *EksContainerDetail
- func (s *EksContainerDetail) SetName(v string) *EksContainerDetail
- func (s *EksContainerDetail) SetReason(v string) *EksContainerDetail
- func (s *EksContainerDetail) SetResources(v *EksContainerResourceRequirements) *EksContainerDetail
- func (s *EksContainerDetail) SetSecurityContext(v *EksContainerSecurityContext) *EksContainerDetail
- func (s *EksContainerDetail) SetVolumeMounts(v []*EksContainerVolumeMount) *EksContainerDetail
- func (s EksContainerDetail) String() string
- type EksContainerEnvironmentVariable
- func (s EksContainerEnvironmentVariable) GoString() string
- func (s *EksContainerEnvironmentVariable) SetName(v string) *EksContainerEnvironmentVariable
- func (s *EksContainerEnvironmentVariable) SetValue(v string) *EksContainerEnvironmentVariable
- func (s EksContainerEnvironmentVariable) String() string
- func (s *EksContainerEnvironmentVariable) Validate() error
- type EksContainerOverride
- func (s EksContainerOverride) GoString() string
- func (s *EksContainerOverride) SetArgs(v []*string) *EksContainerOverride
- func (s *EksContainerOverride) SetCommand(v []*string) *EksContainerOverride
- func (s *EksContainerOverride) SetEnv(v []*EksContainerEnvironmentVariable) *EksContainerOverride
- func (s *EksContainerOverride) SetImage(v string) *EksContainerOverride
- func (s *EksContainerOverride) SetResources(v *EksContainerResourceRequirements) *EksContainerOverride
- func (s EksContainerOverride) String() string
- func (s *EksContainerOverride) Validate() error
- type EksContainerResourceRequirements
- func (s EksContainerResourceRequirements) GoString() string
- func (s *EksContainerResourceRequirements) SetLimits(v map[string]*string) *EksContainerResourceRequirements
- func (s *EksContainerResourceRequirements) SetRequests(v map[string]*string) *EksContainerResourceRequirements
- func (s EksContainerResourceRequirements) String() string
- type EksContainerSecurityContext
- func (s EksContainerSecurityContext) GoString() string
- func (s *EksContainerSecurityContext) SetPrivileged(v bool) *EksContainerSecurityContext
- func (s *EksContainerSecurityContext) SetReadOnlyRootFilesystem(v bool) *EksContainerSecurityContext
- func (s *EksContainerSecurityContext) SetRunAsGroup(v int64) *EksContainerSecurityContext
- func (s *EksContainerSecurityContext) SetRunAsNonRoot(v bool) *EksContainerSecurityContext
- func (s *EksContainerSecurityContext) SetRunAsUser(v int64) *EksContainerSecurityContext
- func (s EksContainerSecurityContext) String() string
- type EksContainerVolumeMount
- func (s EksContainerVolumeMount) GoString() string
- func (s *EksContainerVolumeMount) SetMountPath(v string) *EksContainerVolumeMount
- func (s *EksContainerVolumeMount) SetName(v string) *EksContainerVolumeMount
- func (s *EksContainerVolumeMount) SetReadOnly(v bool) *EksContainerVolumeMount
- func (s EksContainerVolumeMount) String() string
- type EksEmptyDir
- type EksHostPath
- type EksMetadata
- type EksPodProperties
- func (s EksPodProperties) GoString() string
- func (s *EksPodProperties) SetContainers(v []*EksContainer) *EksPodProperties
- func (s *EksPodProperties) SetDnsPolicy(v string) *EksPodProperties
- func (s *EksPodProperties) SetHostNetwork(v bool) *EksPodProperties
- func (s *EksPodProperties) SetMetadata(v *EksMetadata) *EksPodProperties
- func (s *EksPodProperties) SetServiceAccountName(v string) *EksPodProperties
- func (s *EksPodProperties) SetVolumes(v []*EksVolume) *EksPodProperties
- func (s EksPodProperties) String() string
- func (s *EksPodProperties) Validate() error
- type EksPodPropertiesDetail
- func (s EksPodPropertiesDetail) GoString() string
- func (s *EksPodPropertiesDetail) SetContainers(v []*EksContainerDetail) *EksPodPropertiesDetail
- func (s *EksPodPropertiesDetail) SetDnsPolicy(v string) *EksPodPropertiesDetail
- func (s *EksPodPropertiesDetail) SetHostNetwork(v bool) *EksPodPropertiesDetail
- func (s *EksPodPropertiesDetail) SetMetadata(v *EksMetadata) *EksPodPropertiesDetail
- func (s *EksPodPropertiesDetail) SetNodeName(v string) *EksPodPropertiesDetail
- func (s *EksPodPropertiesDetail) SetPodName(v string) *EksPodPropertiesDetail
- func (s *EksPodPropertiesDetail) SetServiceAccountName(v string) *EksPodPropertiesDetail
- func (s *EksPodPropertiesDetail) SetVolumes(v []*EksVolume) *EksPodPropertiesDetail
- func (s EksPodPropertiesDetail) String() string
- type EksPodPropertiesOverride
- func (s EksPodPropertiesOverride) GoString() string
- func (s *EksPodPropertiesOverride) SetContainers(v []*EksContainerOverride) *EksPodPropertiesOverride
- func (s *EksPodPropertiesOverride) SetMetadata(v *EksMetadata) *EksPodPropertiesOverride
- func (s EksPodPropertiesOverride) String() string
- func (s *EksPodPropertiesOverride) Validate() error
- type EksProperties
- type EksPropertiesDetail
- type EksPropertiesOverride
- type EksSecret
- type EksVolume
- func (s EksVolume) GoString() string
- func (s *EksVolume) SetEmptyDir(v *EksEmptyDir) *EksVolume
- func (s *EksVolume) SetHostPath(v *EksHostPath) *EksVolume
- func (s *EksVolume) SetName(v string) *EksVolume
- func (s *EksVolume) SetSecret(v *EksSecret) *EksVolume
- func (s EksVolume) String() string
- func (s *EksVolume) Validate() error
- type EphemeralStorage
- type EvaluateOnExit
- func (s EvaluateOnExit) GoString() string
- func (s *EvaluateOnExit) SetAction(v string) *EvaluateOnExit
- func (s *EvaluateOnExit) SetOnExitCode(v string) *EvaluateOnExit
- func (s *EvaluateOnExit) SetOnReason(v string) *EvaluateOnExit
- func (s *EvaluateOnExit) SetOnStatusReason(v string) *EvaluateOnExit
- func (s EvaluateOnExit) String() string
- func (s *EvaluateOnExit) Validate() error
- type FairsharePolicy
- func (s FairsharePolicy) GoString() string
- func (s *FairsharePolicy) SetComputeReservation(v int64) *FairsharePolicy
- func (s *FairsharePolicy) SetShareDecaySeconds(v int64) *FairsharePolicy
- func (s *FairsharePolicy) SetShareDistribution(v []*ShareAttributes) *FairsharePolicy
- func (s FairsharePolicy) String() string
- func (s *FairsharePolicy) Validate() error
- type FargatePlatformConfiguration
- type Host
- type JobDefinition
- func (s JobDefinition) GoString() string
- func (s *JobDefinition) SetContainerOrchestrationType(v string) *JobDefinition
- func (s *JobDefinition) SetContainerProperties(v *ContainerProperties) *JobDefinition
- func (s *JobDefinition) SetEksProperties(v *EksProperties) *JobDefinition
- func (s *JobDefinition) SetJobDefinitionArn(v string) *JobDefinition
- func (s *JobDefinition) SetJobDefinitionName(v string) *JobDefinition
- func (s *JobDefinition) SetNodeProperties(v *NodeProperties) *JobDefinition
- func (s *JobDefinition) SetParameters(v map[string]*string) *JobDefinition
- func (s *JobDefinition) SetPlatformCapabilities(v []*string) *JobDefinition
- func (s *JobDefinition) SetPropagateTags(v bool) *JobDefinition
- func (s *JobDefinition) SetRetryStrategy(v *RetryStrategy) *JobDefinition
- func (s *JobDefinition) SetRevision(v int64) *JobDefinition
- func (s *JobDefinition) SetSchedulingPriority(v int64) *JobDefinition
- func (s *JobDefinition) SetStatus(v string) *JobDefinition
- func (s *JobDefinition) SetTags(v map[string]*string) *JobDefinition
- func (s *JobDefinition) SetTimeout(v *JobTimeout) *JobDefinition
- func (s *JobDefinition) SetType(v string) *JobDefinition
- func (s JobDefinition) String() string
- type JobDependency
- type JobDetail
- func (s JobDetail) GoString() string
- func (s *JobDetail) SetArrayProperties(v *ArrayPropertiesDetail) *JobDetail
- func (s *JobDetail) SetAttempts(v []*AttemptDetail) *JobDetail
- func (s *JobDetail) SetContainer(v *ContainerDetail) *JobDetail
- func (s *JobDetail) SetCreatedAt(v int64) *JobDetail
- func (s *JobDetail) SetDependsOn(v []*JobDependency) *JobDetail
- func (s *JobDetail) SetEksAttempts(v []*EksAttemptDetail) *JobDetail
- func (s *JobDetail) SetEksProperties(v *EksPropertiesDetail) *JobDetail
- func (s *JobDetail) SetIsCancelled(v bool) *JobDetail
- func (s *JobDetail) SetIsTerminated(v bool) *JobDetail
- func (s *JobDetail) SetJobArn(v string) *JobDetail
- func (s *JobDetail) SetJobDefinition(v string) *JobDetail
- func (s *JobDetail) SetJobId(v string) *JobDetail
- func (s *JobDetail) SetJobName(v string) *JobDetail
- func (s *JobDetail) SetJobQueue(v string) *JobDetail
- func (s *JobDetail) SetNodeDetails(v *NodeDetails) *JobDetail
- func (s *JobDetail) SetNodeProperties(v *NodeProperties) *JobDetail
- func (s *JobDetail) SetParameters(v map[string]*string) *JobDetail
- func (s *JobDetail) SetPlatformCapabilities(v []*string) *JobDetail
- func (s *JobDetail) SetPropagateTags(v bool) *JobDetail
- func (s *JobDetail) SetRetryStrategy(v *RetryStrategy) *JobDetail
- func (s *JobDetail) SetSchedulingPriority(v int64) *JobDetail
- func (s *JobDetail) SetShareIdentifier(v string) *JobDetail
- func (s *JobDetail) SetStartedAt(v int64) *JobDetail
- func (s *JobDetail) SetStatus(v string) *JobDetail
- func (s *JobDetail) SetStatusReason(v string) *JobDetail
- func (s *JobDetail) SetStoppedAt(v int64) *JobDetail
- func (s *JobDetail) SetTags(v map[string]*string) *JobDetail
- func (s *JobDetail) SetTimeout(v *JobTimeout) *JobDetail
- func (s JobDetail) String() string
- type JobQueueDetail
- func (s JobQueueDetail) GoString() string
- func (s *JobQueueDetail) SetComputeEnvironmentOrder(v []*ComputeEnvironmentOrder) *JobQueueDetail
- func (s *JobQueueDetail) SetJobQueueArn(v string) *JobQueueDetail
- func (s *JobQueueDetail) SetJobQueueName(v string) *JobQueueDetail
- func (s *JobQueueDetail) SetPriority(v int64) *JobQueueDetail
- func (s *JobQueueDetail) SetSchedulingPolicyArn(v string) *JobQueueDetail
- func (s *JobQueueDetail) SetState(v string) *JobQueueDetail
- func (s *JobQueueDetail) SetStatus(v string) *JobQueueDetail
- func (s *JobQueueDetail) SetStatusReason(v string) *JobQueueDetail
- func (s *JobQueueDetail) SetTags(v map[string]*string) *JobQueueDetail
- func (s JobQueueDetail) String() string
- type JobSummary
- func (s JobSummary) GoString() string
- func (s *JobSummary) SetArrayProperties(v *ArrayPropertiesSummary) *JobSummary
- func (s *JobSummary) SetContainer(v *ContainerSummary) *JobSummary
- func (s *JobSummary) SetCreatedAt(v int64) *JobSummary
- func (s *JobSummary) SetJobArn(v string) *JobSummary
- func (s *JobSummary) SetJobDefinition(v string) *JobSummary
- func (s *JobSummary) SetJobId(v string) *JobSummary
- func (s *JobSummary) SetJobName(v string) *JobSummary
- func (s *JobSummary) SetNodeProperties(v *NodePropertiesSummary) *JobSummary
- func (s *JobSummary) SetStartedAt(v int64) *JobSummary
- func (s *JobSummary) SetStatus(v string) *JobSummary
- func (s *JobSummary) SetStatusReason(v string) *JobSummary
- func (s *JobSummary) SetStoppedAt(v int64) *JobSummary
- func (s JobSummary) String() string
- type JobTimeout
- type KeyValuePair
- type KeyValuesPair
- type LaunchTemplateSpecification
- func (s LaunchTemplateSpecification) GoString() string
- func (s *LaunchTemplateSpecification) SetLaunchTemplateId(v string) *LaunchTemplateSpecification
- func (s *LaunchTemplateSpecification) SetLaunchTemplateName(v string) *LaunchTemplateSpecification
- func (s *LaunchTemplateSpecification) SetVersion(v string) *LaunchTemplateSpecification
- func (s LaunchTemplateSpecification) String() string
- type LinuxParameters
- func (s LinuxParameters) GoString() string
- func (s *LinuxParameters) SetDevices(v []*Device) *LinuxParameters
- func (s *LinuxParameters) SetInitProcessEnabled(v bool) *LinuxParameters
- func (s *LinuxParameters) SetMaxSwap(v int64) *LinuxParameters
- func (s *LinuxParameters) SetSharedMemorySize(v int64) *LinuxParameters
- func (s *LinuxParameters) SetSwappiness(v int64) *LinuxParameters
- func (s *LinuxParameters) SetTmpfs(v []*Tmpfs) *LinuxParameters
- func (s LinuxParameters) String() string
- func (s *LinuxParameters) Validate() error
- type ListJobsInput
- func (s ListJobsInput) GoString() string
- func (s *ListJobsInput) SetArrayJobId(v string) *ListJobsInput
- func (s *ListJobsInput) SetFilters(v []*KeyValuesPair) *ListJobsInput
- func (s *ListJobsInput) SetJobQueue(v string) *ListJobsInput
- func (s *ListJobsInput) SetJobStatus(v string) *ListJobsInput
- func (s *ListJobsInput) SetMaxResults(v int64) *ListJobsInput
- func (s *ListJobsInput) SetMultiNodeJobId(v string) *ListJobsInput
- func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput
- func (s ListJobsInput) String() string
- type ListJobsOutput
- type ListSchedulingPoliciesInput
- type ListSchedulingPoliciesOutput
- func (s ListSchedulingPoliciesOutput) GoString() string
- func (s *ListSchedulingPoliciesOutput) SetNextToken(v string) *ListSchedulingPoliciesOutput
- func (s *ListSchedulingPoliciesOutput) SetSchedulingPolicies(v []*SchedulingPolicyListingDetail) *ListSchedulingPoliciesOutput
- func (s ListSchedulingPoliciesOutput) String() string
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type LogConfiguration
- func (s LogConfiguration) GoString() string
- func (s *LogConfiguration) SetLogDriver(v string) *LogConfiguration
- func (s *LogConfiguration) SetOptions(v map[string]*string) *LogConfiguration
- func (s *LogConfiguration) SetSecretOptions(v []*Secret) *LogConfiguration
- func (s LogConfiguration) String() string
- func (s *LogConfiguration) Validate() error
- type MountPoint
- type NetworkConfiguration
- type NetworkInterface
- func (s NetworkInterface) GoString() string
- func (s *NetworkInterface) SetAttachmentId(v string) *NetworkInterface
- func (s *NetworkInterface) SetIpv6Address(v string) *NetworkInterface
- func (s *NetworkInterface) SetPrivateIpv4Address(v string) *NetworkInterface
- func (s NetworkInterface) String() string
- type NodeDetails
- type NodeOverrides
- type NodeProperties
- func (s NodeProperties) GoString() string
- func (s *NodeProperties) SetMainNode(v int64) *NodeProperties
- func (s *NodeProperties) SetNodeRangeProperties(v []*NodeRangeProperty) *NodeProperties
- func (s *NodeProperties) SetNumNodes(v int64) *NodeProperties
- func (s NodeProperties) String() string
- func (s *NodeProperties) Validate() error
- type NodePropertiesSummary
- func (s NodePropertiesSummary) GoString() string
- func (s *NodePropertiesSummary) SetIsMainNode(v bool) *NodePropertiesSummary
- func (s *NodePropertiesSummary) SetNodeIndex(v int64) *NodePropertiesSummary
- func (s *NodePropertiesSummary) SetNumNodes(v int64) *NodePropertiesSummary
- func (s NodePropertiesSummary) String() string
- type NodePropertyOverride
- func (s NodePropertyOverride) GoString() string
- func (s *NodePropertyOverride) SetContainerOverrides(v *ContainerOverrides) *NodePropertyOverride
- func (s *NodePropertyOverride) SetTargetNodes(v string) *NodePropertyOverride
- func (s NodePropertyOverride) String() string
- func (s *NodePropertyOverride) Validate() error
- type NodeRangeProperty
- type RegisterJobDefinitionInput
- func (s RegisterJobDefinitionInput) GoString() string
- func (s *RegisterJobDefinitionInput) SetContainerProperties(v *ContainerProperties) *RegisterJobDefinitionInput
- func (s *RegisterJobDefinitionInput) SetEksProperties(v *EksProperties) *RegisterJobDefinitionInput
- func (s *RegisterJobDefinitionInput) SetJobDefinitionName(v string) *RegisterJobDefinitionInput
- func (s *RegisterJobDefinitionInput) SetNodeProperties(v *NodeProperties) *RegisterJobDefinitionInput
- func (s *RegisterJobDefinitionInput) SetParameters(v map[string]*string) *RegisterJobDefinitionInput
- func (s *RegisterJobDefinitionInput) SetPlatformCapabilities(v []*string) *RegisterJobDefinitionInput
- func (s *RegisterJobDefinitionInput) SetPropagateTags(v bool) *RegisterJobDefinitionInput
- func (s *RegisterJobDefinitionInput) SetRetryStrategy(v *RetryStrategy) *RegisterJobDefinitionInput
- func (s *RegisterJobDefinitionInput) SetSchedulingPriority(v int64) *RegisterJobDefinitionInput
- func (s *RegisterJobDefinitionInput) SetTags(v map[string]*string) *RegisterJobDefinitionInput
- func (s *RegisterJobDefinitionInput) SetTimeout(v *JobTimeout) *RegisterJobDefinitionInput
- func (s *RegisterJobDefinitionInput) SetType(v string) *RegisterJobDefinitionInput
- func (s RegisterJobDefinitionInput) String() string
- func (s *RegisterJobDefinitionInput) Validate() error
- type RegisterJobDefinitionOutput
- func (s RegisterJobDefinitionOutput) GoString() string
- func (s *RegisterJobDefinitionOutput) SetJobDefinitionArn(v string) *RegisterJobDefinitionOutput
- func (s *RegisterJobDefinitionOutput) SetJobDefinitionName(v string) *RegisterJobDefinitionOutput
- func (s *RegisterJobDefinitionOutput) SetRevision(v int64) *RegisterJobDefinitionOutput
- func (s RegisterJobDefinitionOutput) String() string
- type ResourceRequirement
- type RetryStrategy
- type RuntimePlatform
- type SchedulingPolicyDetail
- func (s SchedulingPolicyDetail) GoString() string
- func (s *SchedulingPolicyDetail) SetArn(v string) *SchedulingPolicyDetail
- func (s *SchedulingPolicyDetail) SetFairsharePolicy(v *FairsharePolicy) *SchedulingPolicyDetail
- func (s *SchedulingPolicyDetail) SetName(v string) *SchedulingPolicyDetail
- func (s *SchedulingPolicyDetail) SetTags(v map[string]*string) *SchedulingPolicyDetail
- func (s SchedulingPolicyDetail) String() string
- type SchedulingPolicyListingDetail
- type Secret
- type ServerException
- func (s *ServerException) Code() string
- func (s *ServerException) Error() string
- func (s ServerException) GoString() string
- func (s *ServerException) Message() string
- func (s *ServerException) OrigErr() error
- func (s *ServerException) RequestID() string
- func (s *ServerException) StatusCode() int
- func (s ServerException) String() string
- type ShareAttributes
- type SubmitJobInput
- func (s SubmitJobInput) GoString() string
- func (s *SubmitJobInput) SetArrayProperties(v *ArrayProperties) *SubmitJobInput
- func (s *SubmitJobInput) SetContainerOverrides(v *ContainerOverrides) *SubmitJobInput
- func (s *SubmitJobInput) SetDependsOn(v []*JobDependency) *SubmitJobInput
- func (s *SubmitJobInput) SetEksPropertiesOverride(v *EksPropertiesOverride) *SubmitJobInput
- func (s *SubmitJobInput) SetJobDefinition(v string) *SubmitJobInput
- func (s *SubmitJobInput) SetJobName(v string) *SubmitJobInput
- func (s *SubmitJobInput) SetJobQueue(v string) *SubmitJobInput
- func (s *SubmitJobInput) SetNodeOverrides(v *NodeOverrides) *SubmitJobInput
- func (s *SubmitJobInput) SetParameters(v map[string]*string) *SubmitJobInput
- func (s *SubmitJobInput) SetPropagateTags(v bool) *SubmitJobInput
- func (s *SubmitJobInput) SetRetryStrategy(v *RetryStrategy) *SubmitJobInput
- func (s *SubmitJobInput) SetSchedulingPriorityOverride(v int64) *SubmitJobInput
- func (s *SubmitJobInput) SetShareIdentifier(v string) *SubmitJobInput
- func (s *SubmitJobInput) SetTags(v map[string]*string) *SubmitJobInput
- func (s *SubmitJobInput) SetTimeout(v *JobTimeout) *SubmitJobInput
- func (s SubmitJobInput) String() string
- func (s *SubmitJobInput) Validate() error
- type SubmitJobOutput
- type TagResourceInput
- type TagResourceOutput
- type TerminateJobInput
- type TerminateJobOutput
- type Tmpfs
- type Ulimit
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateComputeEnvironmentInput
- func (s UpdateComputeEnvironmentInput) GoString() string
- func (s *UpdateComputeEnvironmentInput) SetComputeEnvironment(v string) *UpdateComputeEnvironmentInput
- func (s *UpdateComputeEnvironmentInput) SetComputeResources(v *ComputeResourceUpdate) *UpdateComputeEnvironmentInput
- func (s *UpdateComputeEnvironmentInput) SetServiceRole(v string) *UpdateComputeEnvironmentInput
- func (s *UpdateComputeEnvironmentInput) SetState(v string) *UpdateComputeEnvironmentInput
- func (s *UpdateComputeEnvironmentInput) SetUnmanagedvCpus(v int64) *UpdateComputeEnvironmentInput
- func (s *UpdateComputeEnvironmentInput) SetUpdatePolicy(v *UpdatePolicy) *UpdateComputeEnvironmentInput
- func (s UpdateComputeEnvironmentInput) String() string
- func (s *UpdateComputeEnvironmentInput) Validate() error
- type UpdateComputeEnvironmentOutput
- func (s UpdateComputeEnvironmentOutput) GoString() string
- func (s *UpdateComputeEnvironmentOutput) SetComputeEnvironmentArn(v string) *UpdateComputeEnvironmentOutput
- func (s *UpdateComputeEnvironmentOutput) SetComputeEnvironmentName(v string) *UpdateComputeEnvironmentOutput
- func (s UpdateComputeEnvironmentOutput) String() string
- type UpdateJobQueueInput
- func (s UpdateJobQueueInput) GoString() string
- func (s *UpdateJobQueueInput) SetComputeEnvironmentOrder(v []*ComputeEnvironmentOrder) *UpdateJobQueueInput
- func (s *UpdateJobQueueInput) SetJobQueue(v string) *UpdateJobQueueInput
- func (s *UpdateJobQueueInput) SetPriority(v int64) *UpdateJobQueueInput
- func (s *UpdateJobQueueInput) SetSchedulingPolicyArn(v string) *UpdateJobQueueInput
- func (s *UpdateJobQueueInput) SetState(v string) *UpdateJobQueueInput
- func (s UpdateJobQueueInput) String() string
- func (s *UpdateJobQueueInput) Validate() error
- type UpdateJobQueueOutput
- type UpdatePolicy
- type UpdateSchedulingPolicyInput
- func (s UpdateSchedulingPolicyInput) GoString() string
- func (s *UpdateSchedulingPolicyInput) SetArn(v string) *UpdateSchedulingPolicyInput
- func (s *UpdateSchedulingPolicyInput) SetFairsharePolicy(v *FairsharePolicy) *UpdateSchedulingPolicyInput
- func (s UpdateSchedulingPolicyInput) String() string
- func (s *UpdateSchedulingPolicyInput) Validate() error
- type UpdateSchedulingPolicyOutput
- type Volume
Constants ¶
const ( // ArrayJobDependencyNToN is a ArrayJobDependency enum value ArrayJobDependencyNToN = "N_TO_N" // ArrayJobDependencySequential is a ArrayJobDependency enum value ArrayJobDependencySequential = "SEQUENTIAL" )
const ( // AssignPublicIpEnabled is a AssignPublicIp enum value AssignPublicIpEnabled = "ENABLED" // AssignPublicIpDisabled is a AssignPublicIp enum value AssignPublicIpDisabled = "DISABLED" )
const ( // CEStateEnabled is a CEState enum value CEStateEnabled = "ENABLED" // CEStateDisabled is a CEState enum value CEStateDisabled = "DISABLED" )
const ( // CEStatusCreating is a CEStatus enum value CEStatusCreating = "CREATING" // CEStatusUpdating is a CEStatus enum value CEStatusUpdating = "UPDATING" // CEStatusDeleting is a CEStatus enum value CEStatusDeleting = "DELETING" // CEStatusDeleted is a CEStatus enum value CEStatusDeleted = "DELETED" // CEStatusValid is a CEStatus enum value CEStatusValid = "VALID" // CEStatusInvalid is a CEStatus enum value CEStatusInvalid = "INVALID" )
const ( // CETypeManaged is a CEType enum value CETypeManaged = "MANAGED" // CETypeUnmanaged is a CEType enum value CETypeUnmanaged = "UNMANAGED" )
const ( // CRAllocationStrategyBestFit is a CRAllocationStrategy enum value CRAllocationStrategyBestFit = "BEST_FIT" // CRAllocationStrategyBestFitProgressive is a CRAllocationStrategy enum value CRAllocationStrategyBestFitProgressive = "BEST_FIT_PROGRESSIVE" // CRAllocationStrategySpotCapacityOptimized is a CRAllocationStrategy enum value CRAllocationStrategySpotCapacityOptimized = "SPOT_CAPACITY_OPTIMIZED" // CRAllocationStrategySpotPriceCapacityOptimized is a CRAllocationStrategy enum value CRAllocationStrategySpotPriceCapacityOptimized = "SPOT_PRICE_CAPACITY_OPTIMIZED" )
const ( // CRTypeEc2 is a CRType enum value CRTypeEc2 = "EC2" // CRTypeSpot is a CRType enum value CRTypeSpot = "SPOT" // CRTypeFargate is a CRType enum value CRTypeFargate = "FARGATE" // CRTypeFargateSpot is a CRType enum value CRTypeFargateSpot = "FARGATE_SPOT" )
const ( // CRUpdateAllocationStrategyBestFitProgressive is a CRUpdateAllocationStrategy enum value CRUpdateAllocationStrategyBestFitProgressive = "BEST_FIT_PROGRESSIVE" // CRUpdateAllocationStrategySpotCapacityOptimized is a CRUpdateAllocationStrategy enum value CRUpdateAllocationStrategySpotCapacityOptimized = "SPOT_CAPACITY_OPTIMIZED" // CRUpdateAllocationStrategySpotPriceCapacityOptimized is a CRUpdateAllocationStrategy enum value CRUpdateAllocationStrategySpotPriceCapacityOptimized = "SPOT_PRICE_CAPACITY_OPTIMIZED" )
const ( // DeviceCgroupPermissionRead is a DeviceCgroupPermission enum value DeviceCgroupPermissionRead = "READ" // DeviceCgroupPermissionWrite is a DeviceCgroupPermission enum value DeviceCgroupPermissionWrite = "WRITE" // DeviceCgroupPermissionMknod is a DeviceCgroupPermission enum value DeviceCgroupPermissionMknod = "MKNOD" )
const ( // EFSAuthorizationConfigIAMEnabled is a EFSAuthorizationConfigIAM enum value EFSAuthorizationConfigIAMEnabled = "ENABLED" // EFSAuthorizationConfigIAMDisabled is a EFSAuthorizationConfigIAM enum value EFSAuthorizationConfigIAMDisabled = "DISABLED" )
const ( // EFSTransitEncryptionEnabled is a EFSTransitEncryption enum value EFSTransitEncryptionEnabled = "ENABLED" // EFSTransitEncryptionDisabled is a EFSTransitEncryption enum value EFSTransitEncryptionDisabled = "DISABLED" )
const ( // JQStateEnabled is a JQState enum value JQStateEnabled = "ENABLED" // JQStateDisabled is a JQState enum value JQStateDisabled = "DISABLED" )
const ( // JQStatusCreating is a JQStatus enum value JQStatusCreating = "CREATING" // JQStatusUpdating is a JQStatus enum value JQStatusUpdating = "UPDATING" // JQStatusDeleting is a JQStatus enum value JQStatusDeleting = "DELETING" // JQStatusDeleted is a JQStatus enum value JQStatusDeleted = "DELETED" // JQStatusValid is a JQStatus enum value JQStatusValid = "VALID" // JQStatusInvalid is a JQStatus enum value JQStatusInvalid = "INVALID" )
const ( // JobDefinitionTypeContainer is a JobDefinitionType enum value JobDefinitionTypeContainer = "container" // JobDefinitionTypeMultinode is a JobDefinitionType enum value JobDefinitionTypeMultinode = "multinode" )
const ( // JobStatusSubmitted is a JobStatus enum value JobStatusSubmitted = "SUBMITTED" // JobStatusPending is a JobStatus enum value JobStatusPending = "PENDING" // JobStatusRunnable is a JobStatus enum value JobStatusRunnable = "RUNNABLE" // JobStatusStarting is a JobStatus enum value JobStatusStarting = "STARTING" // JobStatusRunning is a JobStatus enum value JobStatusRunning = "RUNNING" // JobStatusSucceeded is a JobStatus enum value JobStatusSucceeded = "SUCCEEDED" // JobStatusFailed is a JobStatus enum value JobStatusFailed = "FAILED" )
const ( // LogDriverJsonFile is a LogDriver enum value LogDriverJsonFile = "json-file" // LogDriverSyslog is a LogDriver enum value LogDriverSyslog = "syslog" // LogDriverJournald is a LogDriver enum value LogDriverJournald = "journald" // LogDriverGelf is a LogDriver enum value LogDriverGelf = "gelf" // LogDriverFluentd is a LogDriver enum value LogDriverFluentd = "fluentd" // LogDriverAwslogs is a LogDriver enum value LogDriverAwslogs = "awslogs" // LogDriverSplunk is a LogDriver enum value LogDriverSplunk = "splunk" )
const ( // OrchestrationTypeEcs is a OrchestrationType enum value OrchestrationTypeEcs = "ECS" // OrchestrationTypeEks is a OrchestrationType enum value OrchestrationTypeEks = "EKS" )
const ( // PlatformCapabilityEc2 is a PlatformCapability enum value PlatformCapabilityEc2 = "EC2" // PlatformCapabilityFargate is a PlatformCapability enum value PlatformCapabilityFargate = "FARGATE" )
const ( // ResourceTypeGpu is a ResourceType enum value ResourceTypeGpu = "GPU" // ResourceTypeVcpu is a ResourceType enum value ResourceTypeVcpu = "VCPU" // ResourceTypeMemory is a ResourceType enum value ResourceTypeMemory = "MEMORY" )
const ( // RetryActionRetry is a RetryAction enum value RetryActionRetry = "RETRY" // RetryActionExit is a RetryAction enum value RetryActionExit = "EXIT" )
const ( // ErrCodeClientException for service response error code // "ClientException". // // These errors are usually caused by a client action. One example cause is // using an action or resource on behalf of a user that doesn't have permissions // to use the action or resource. Another cause is specifying an identifier // that's not valid. ErrCodeClientException = "ClientException" // ErrCodeServerException for service response error code // "ServerException". // // These errors are usually caused by a server issue. ErrCodeServerException = "ServerException" )
const ( ServiceName = "batch" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "Batch" // ServiceID is a unique identifier of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
func ArrayJobDependency_Values ¶
func ArrayJobDependency_Values() []string
ArrayJobDependency_Values returns all elements of the ArrayJobDependency enum
func AssignPublicIp_Values ¶
func AssignPublicIp_Values() []string
AssignPublicIp_Values returns all elements of the AssignPublicIp enum
func CEState_Values ¶
func CEState_Values() []string
CEState_Values returns all elements of the CEState enum
func CEStatus_Values ¶
func CEStatus_Values() []string
CEStatus_Values returns all elements of the CEStatus enum
func CEType_Values ¶
func CEType_Values() []string
CEType_Values returns all elements of the CEType enum
func CRAllocationStrategy_Values ¶
func CRAllocationStrategy_Values() []string
CRAllocationStrategy_Values returns all elements of the CRAllocationStrategy enum
func CRType_Values ¶
func CRType_Values() []string
CRType_Values returns all elements of the CRType enum
func CRUpdateAllocationStrategy_Values ¶
func CRUpdateAllocationStrategy_Values() []string
CRUpdateAllocationStrategy_Values returns all elements of the CRUpdateAllocationStrategy enum
func DeviceCgroupPermission_Values ¶
func DeviceCgroupPermission_Values() []string
DeviceCgroupPermission_Values returns all elements of the DeviceCgroupPermission enum
func EFSAuthorizationConfigIAM_Values ¶
func EFSAuthorizationConfigIAM_Values() []string
EFSAuthorizationConfigIAM_Values returns all elements of the EFSAuthorizationConfigIAM enum
func EFSTransitEncryption_Values ¶
func EFSTransitEncryption_Values() []string
EFSTransitEncryption_Values returns all elements of the EFSTransitEncryption enum
func JQState_Values ¶
func JQState_Values() []string
JQState_Values returns all elements of the JQState enum
func JQStatus_Values ¶
func JQStatus_Values() []string
JQStatus_Values returns all elements of the JQStatus enum
func JobDefinitionType_Values ¶
func JobDefinitionType_Values() []string
JobDefinitionType_Values returns all elements of the JobDefinitionType enum
func JobStatus_Values ¶
func JobStatus_Values() []string
JobStatus_Values returns all elements of the JobStatus enum
func LogDriver_Values ¶
func LogDriver_Values() []string
LogDriver_Values returns all elements of the LogDriver enum
func OrchestrationType_Values ¶
func OrchestrationType_Values() []string
OrchestrationType_Values returns all elements of the OrchestrationType enum
func PlatformCapability_Values ¶
func PlatformCapability_Values() []string
PlatformCapability_Values returns all elements of the PlatformCapability enum
func ResourceType_Values ¶
func ResourceType_Values() []string
ResourceType_Values returns all elements of the ResourceType enum
func RetryAction_Values ¶
func RetryAction_Values() []string
RetryAction_Values returns all elements of the RetryAction enum
Types ¶
type ArrayProperties ¶
type ArrayProperties struct { // The size of the array job. Size *int64 `locationName:"size" type:"integer"` // contains filtered or unexported fields }
An object that represents an Batch array job.
func (ArrayProperties) GoString ¶
func (s ArrayProperties) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ArrayProperties) SetSize ¶
func (s *ArrayProperties) SetSize(v int64) *ArrayProperties
SetSize sets the Size field's value.
func (ArrayProperties) String ¶
func (s ArrayProperties) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ArrayPropertiesDetail ¶
type ArrayPropertiesDetail struct { // The job index within the array that's associated with this job. This parameter // is returned for array job children. Index *int64 `locationName:"index" type:"integer"` // The size of the array job. This parameter is returned for parent array jobs. Size *int64 `locationName:"size" type:"integer"` // A summary of the number of array job children in each available job status. // This parameter is returned for parent array jobs. StatusSummary map[string]*int64 `locationName:"statusSummary" type:"map"` // contains filtered or unexported fields }
An object that represents the array properties of a job.
func (ArrayPropertiesDetail) GoString ¶
func (s ArrayPropertiesDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ArrayPropertiesDetail) SetIndex ¶
func (s *ArrayPropertiesDetail) SetIndex(v int64) *ArrayPropertiesDetail
SetIndex sets the Index field's value.
func (*ArrayPropertiesDetail) SetSize ¶
func (s *ArrayPropertiesDetail) SetSize(v int64) *ArrayPropertiesDetail
SetSize sets the Size field's value.
func (*ArrayPropertiesDetail) SetStatusSummary ¶
func (s *ArrayPropertiesDetail) SetStatusSummary(v map[string]*int64) *ArrayPropertiesDetail
SetStatusSummary sets the StatusSummary field's value.
func (ArrayPropertiesDetail) String ¶
func (s ArrayPropertiesDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ArrayPropertiesSummary ¶
type ArrayPropertiesSummary struct { // The job index within the array that's associated with this job. This parameter // is returned for children of array jobs. Index *int64 `locationName:"index" type:"integer"` // The size of the array job. This parameter is returned for parent array jobs. Size *int64 `locationName:"size" type:"integer"` // contains filtered or unexported fields }
An object that represents the array properties of a job.
func (ArrayPropertiesSummary) GoString ¶
func (s ArrayPropertiesSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ArrayPropertiesSummary) SetIndex ¶
func (s *ArrayPropertiesSummary) SetIndex(v int64) *ArrayPropertiesSummary
SetIndex sets the Index field's value.
func (*ArrayPropertiesSummary) SetSize ¶
func (s *ArrayPropertiesSummary) SetSize(v int64) *ArrayPropertiesSummary
SetSize sets the Size field's value.
func (ArrayPropertiesSummary) String ¶
func (s ArrayPropertiesSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AttemptContainerDetail ¶
type AttemptContainerDetail struct { // The Amazon Resource Name (ARN) of the Amazon ECS container instance that // hosts the job attempt. ContainerInstanceArn *string `locationName:"containerInstanceArn" type:"string"` // The exit code for the job attempt. A non-zero exit code is considered failed. ExitCode *int64 `locationName:"exitCode" type:"integer"` // The name of the CloudWatch Logs log stream that's associated with the container. // The log group for Batch jobs is /aws/batch/job. Each container attempt receives // a log stream name when they reach the RUNNING status. LogStreamName *string `locationName:"logStreamName" type:"string"` // The network interfaces that are associated with the job attempt. NetworkInterfaces []*NetworkInterface `locationName:"networkInterfaces" type:"list"` // A short (255 max characters) human-readable string to provide additional // details for a running or stopped container. Reason *string `locationName:"reason" type:"string"` // The Amazon Resource Name (ARN) of the Amazon ECS task that's associated with // the job attempt. Each container attempt receives a task ARN when they reach // the STARTING status. TaskArn *string `locationName:"taskArn" type:"string"` // contains filtered or unexported fields }
An object that represents the details of a container that's part of a job attempt.
func (AttemptContainerDetail) GoString ¶
func (s AttemptContainerDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AttemptContainerDetail) SetContainerInstanceArn ¶
func (s *AttemptContainerDetail) SetContainerInstanceArn(v string) *AttemptContainerDetail
SetContainerInstanceArn sets the ContainerInstanceArn field's value.
func (*AttemptContainerDetail) SetExitCode ¶
func (s *AttemptContainerDetail) SetExitCode(v int64) *AttemptContainerDetail
SetExitCode sets the ExitCode field's value.
func (*AttemptContainerDetail) SetLogStreamName ¶
func (s *AttemptContainerDetail) SetLogStreamName(v string) *AttemptContainerDetail
SetLogStreamName sets the LogStreamName field's value.
func (*AttemptContainerDetail) SetNetworkInterfaces ¶
func (s *AttemptContainerDetail) SetNetworkInterfaces(v []*NetworkInterface) *AttemptContainerDetail
SetNetworkInterfaces sets the NetworkInterfaces field's value.
func (*AttemptContainerDetail) SetReason ¶
func (s *AttemptContainerDetail) SetReason(v string) *AttemptContainerDetail
SetReason sets the Reason field's value.
func (*AttemptContainerDetail) SetTaskArn ¶
func (s *AttemptContainerDetail) SetTaskArn(v string) *AttemptContainerDetail
SetTaskArn sets the TaskArn field's value.
func (AttemptContainerDetail) String ¶
func (s AttemptContainerDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AttemptDetail ¶
type AttemptDetail struct { // The details for the container in this job attempt. Container *AttemptContainerDetail `locationName:"container" type:"structure"` // The Unix timestamp (in milliseconds) for when the attempt was started (when // the attempt transitioned from the STARTING state to the RUNNING state). StartedAt *int64 `locationName:"startedAt" type:"long"` // A short, human-readable string to provide additional details for the current // status of the job attempt. StatusReason *string `locationName:"statusReason" type:"string"` // The Unix timestamp (in milliseconds) for when the attempt was stopped (when // the attempt transitioned from the RUNNING state to a terminal state, such // as SUCCEEDED or FAILED). StoppedAt *int64 `locationName:"stoppedAt" type:"long"` // contains filtered or unexported fields }
An object that represents a job attempt.
func (AttemptDetail) GoString ¶
func (s AttemptDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AttemptDetail) SetContainer ¶
func (s *AttemptDetail) SetContainer(v *AttemptContainerDetail) *AttemptDetail
SetContainer sets the Container field's value.
func (*AttemptDetail) SetStartedAt ¶
func (s *AttemptDetail) SetStartedAt(v int64) *AttemptDetail
SetStartedAt sets the StartedAt field's value.
func (*AttemptDetail) SetStatusReason ¶
func (s *AttemptDetail) SetStatusReason(v string) *AttemptDetail
SetStatusReason sets the StatusReason field's value.
func (*AttemptDetail) SetStoppedAt ¶
func (s *AttemptDetail) SetStoppedAt(v int64) *AttemptDetail
SetStoppedAt sets the StoppedAt field's value.
func (AttemptDetail) String ¶
func (s AttemptDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Batch ¶
Batch provides the API operation methods for making requests to AWS Batch. See this package's package overview docs for details on the service.
Batch methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *Batch
New creates a new instance of the Batch client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a Batch client from just a session. svc := batch.New(mySession) // Create a Batch client with additional configuration svc := batch.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*Batch) CancelJob ¶
func (c *Batch) CancelJob(input *CancelJobInput) (*CancelJobOutput, error)
CancelJob API operation for AWS Batch.
Cancels a job in an Batch job queue. Jobs that are in the SUBMITTED or PENDING are canceled. A job inRUNNABLE remains in RUNNABLE until it reaches the head of the job queue. Then the job status is updated to FAILED.
A PENDING job is canceled after all dependency jobs are completed. Therefore, it may take longer than expected to cancel a job in PENDING status.
When you try to cancel an array parent job in PENDING, Batch attempts to cancel all child jobs. The array parent job is canceled when all child jobs are completed.
Jobs that progressed to the STARTING or RUNNING state aren't canceled. However, the API operation still succeeds, even if no job is canceled. These jobs must be terminated with the TerminateJob operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Batch's API operation CancelJob for usage and error information.
Returned Error Types:
ClientException These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
ServerException These errors are usually caused by a server issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CancelJob
func (*Batch) CancelJobRequest ¶
func (c *Batch) CancelJobRequest(input *CancelJobInput) (req *request.Request, output *CancelJobOutput)
CancelJobRequest generates a "aws/request.Request" representing the client's request for the CancelJob operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CancelJob for more information on using the CancelJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CancelJobRequest method. req, resp := client.CancelJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CancelJob
func (*Batch) CancelJobWithContext ¶
func (c *Batch) CancelJobWithContext(ctx aws.Context, input *CancelJobInput, opts ...request.Option) (*CancelJobOutput, error)
CancelJobWithContext is the same as CancelJob with the addition of the ability to pass a context and additional request options.
See CancelJob for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) CreateComputeEnvironment ¶
func (c *Batch) CreateComputeEnvironment(input *CreateComputeEnvironmentInput) (*CreateComputeEnvironmentOutput, error)
CreateComputeEnvironment API operation for AWS Batch.
Creates an Batch compute environment. You can create MANAGED or UNMANAGED compute environments. MANAGED compute environments can use Amazon EC2 or Fargate resources. UNMANAGED compute environments can only use EC2 resources.
In a managed compute environment, Batch manages the capacity and instance types of the compute resources within the environment. This is based on the compute resource specification that you define or the launch template (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) that you specify when you create the compute environment. Either, you can choose to use EC2 On-Demand Instances and EC2 Spot Instances. Or, you can use Fargate and Fargate Spot capacity in your managed compute environment. You can optionally set a maximum price so that Spot Instances only launch when the Spot Instance price is less than a specified percentage of the On-Demand price.
Multi-node parallel jobs aren't supported on Spot Instances.
In an unmanaged compute environment, you can manage your own EC2 compute resources and have flexibility with how you configure your compute resources. For example, you can use custom AMIs. However, you must verify that each of your AMIs meet the Amazon ECS container instance AMI specification. For more information, see container instance AMIs (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container_instance_AMIs.html) in the Amazon Elastic Container Service Developer Guide. After you created your unmanaged compute environment, you can use the DescribeComputeEnvironments operation to find the Amazon ECS cluster that's associated with it. Then, launch your container instances into that Amazon ECS cluster. For more information, see Launching an Amazon ECS container instance (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_container_instance.html) in the Amazon Elastic Container Service Developer Guide.
To create a compute environment that uses EKS resources, the caller must have permissions to call eks:DescribeCluster.
Batch doesn't automatically upgrade the AMIs in a compute environment after it's created. For example, it also doesn't update the AMIs in your compute environment when a newer version of the Amazon ECS optimized AMI is available. You're responsible for the management of the guest operating system. This includes any updates and security patches. You're also responsible for any additional application software or utilities that you install on the compute resources. There are two ways to use a new AMI for your Batch jobs. The original method is to complete these steps:
Create a new compute environment with the new AMI.
Add the compute environment to an existing job queue.
Remove the earlier compute environment from your job queue.
Delete the earlier compute environment.
In April 2022, Batch added enhanced support for updating compute environments. For more information, see Updating compute environments (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html). To use the enhanced updating of compute environments to update AMIs, follow these rules:
Either don't set the service role (serviceRole) parameter or set it to the AWSBatchServiceRole service-linked role.
Set the allocation strategy (allocationStrategy) parameter to BEST_FIT_PROGRESSIVE, SPOT_CAPACITY_OPTIMIZED, or SPOT_PRICE_CAPACITY_OPTIMIZED.
Set the update to latest image version (updateToLatestImageVersion) parameter to true. The updateToLatestImageVersion parameter is used when you update a compute environment. This parameter is ignored when you create a compute environment.
Don't specify an AMI ID in imageId, imageIdOverride (in ec2Configuration (https://docs.aws.amazon.com/batch/latest/APIReference/API_Ec2Configuration.html)), or in the launch template (launchTemplate). In that case, Batch selects the latest Amazon ECS optimized AMI that's supported by Batch at the time the infrastructure update is initiated. Alternatively, you can specify the AMI ID in the imageId or imageIdOverride parameters, or the launch template identified by the LaunchTemplate properties. Changing any of these properties starts an infrastructure update. If the AMI ID is specified in the launch template, it can't be replaced by specifying an AMI ID in either the imageId or imageIdOverride parameters. It can only be replaced by specifying a different launch template, or if the launch template version is set to $Default or $Latest, by setting either a new default version for the launch template (if $Default) or by adding a new version to the launch template (if $Latest).
If these rules are followed, any update that starts an infrastructure update causes the AMI ID to be re-selected. If the version setting in the launch template (launchTemplate) is set to $Latest or $Default, the latest or default version of the launch template is evaluated up at the time of the infrastructure update, even if the launchTemplate wasn't updated.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Batch's API operation CreateComputeEnvironment for usage and error information.
Returned Error Types:
ClientException These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
ServerException These errors are usually caused by a server issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateComputeEnvironment
func (*Batch) CreateComputeEnvironmentRequest ¶
func (c *Batch) CreateComputeEnvironmentRequest(input *CreateComputeEnvironmentInput) (req *request.Request, output *CreateComputeEnvironmentOutput)
CreateComputeEnvironmentRequest generates a "aws/request.Request" representing the client's request for the CreateComputeEnvironment operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateComputeEnvironment for more information on using the CreateComputeEnvironment API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateComputeEnvironmentRequest method. req, resp := client.CreateComputeEnvironmentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateComputeEnvironment
func (*Batch) CreateComputeEnvironmentWithContext ¶
func (c *Batch) CreateComputeEnvironmentWithContext(ctx aws.Context, input *CreateComputeEnvironmentInput, opts ...request.Option) (*CreateComputeEnvironmentOutput, error)
CreateComputeEnvironmentWithContext is the same as CreateComputeEnvironment with the addition of the ability to pass a context and additional request options.
See CreateComputeEnvironment for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) CreateJobQueue ¶
func (c *Batch) CreateJobQueue(input *CreateJobQueueInput) (*CreateJobQueueOutput, error)
CreateJobQueue API operation for AWS Batch.
Creates an Batch job queue. When you create a job queue, you associate one or more compute environments to the queue and assign an order of preference for the compute environments.
You also set a priority to the job queue that determines the order that the Batch scheduler places jobs onto its associated compute environments. For example, if a compute environment is associated with more than one job queue, the job queue with a higher priority is given preference for scheduling jobs to that compute environment.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Batch's API operation CreateJobQueue for usage and error information.
Returned Error Types:
ClientException These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
ServerException These errors are usually caused by a server issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateJobQueue
func (*Batch) CreateJobQueueRequest ¶
func (c *Batch) CreateJobQueueRequest(input *CreateJobQueueInput) (req *request.Request, output *CreateJobQueueOutput)
CreateJobQueueRequest generates a "aws/request.Request" representing the client's request for the CreateJobQueue operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateJobQueue for more information on using the CreateJobQueue API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateJobQueueRequest method. req, resp := client.CreateJobQueueRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateJobQueue
func (*Batch) CreateJobQueueWithContext ¶
func (c *Batch) CreateJobQueueWithContext(ctx aws.Context, input *CreateJobQueueInput, opts ...request.Option) (*CreateJobQueueOutput, error)
CreateJobQueueWithContext is the same as CreateJobQueue with the addition of the ability to pass a context and additional request options.
See CreateJobQueue for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) CreateSchedulingPolicy ¶
func (c *Batch) CreateSchedulingPolicy(input *CreateSchedulingPolicyInput) (*CreateSchedulingPolicyOutput, error)
CreateSchedulingPolicy API operation for AWS Batch.
Creates an Batch scheduling policy.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Batch's API operation CreateSchedulingPolicy for usage and error information.
Returned Error Types:
ClientException These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
ServerException These errors are usually caused by a server issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateSchedulingPolicy
func (*Batch) CreateSchedulingPolicyRequest ¶
func (c *Batch) CreateSchedulingPolicyRequest(input *CreateSchedulingPolicyInput) (req *request.Request, output *CreateSchedulingPolicyOutput)
CreateSchedulingPolicyRequest generates a "aws/request.Request" representing the client's request for the CreateSchedulingPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateSchedulingPolicy for more information on using the CreateSchedulingPolicy API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateSchedulingPolicyRequest method. req, resp := client.CreateSchedulingPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateSchedulingPolicy
func (*Batch) CreateSchedulingPolicyWithContext ¶
func (c *Batch) CreateSchedulingPolicyWithContext(ctx aws.Context, input *CreateSchedulingPolicyInput, opts ...request.Option) (*CreateSchedulingPolicyOutput, error)
CreateSchedulingPolicyWithContext is the same as CreateSchedulingPolicy with the addition of the ability to pass a context and additional request options.
See CreateSchedulingPolicy for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) DeleteComputeEnvironment ¶
func (c *Batch) DeleteComputeEnvironment(input *DeleteComputeEnvironmentInput) (*DeleteComputeEnvironmentOutput, error)
DeleteComputeEnvironment API operation for AWS Batch.
Deletes an Batch compute environment.
Before you can delete a compute environment, you must set its state to DISABLED with the UpdateComputeEnvironment API operation and disassociate it from any job queues with the UpdateJobQueue API operation. Compute environments that use Fargate resources must terminate all active jobs on that compute environment before deleting the compute environment. If this isn't done, the compute environment enters an invalid state.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Batch's API operation DeleteComputeEnvironment for usage and error information.
Returned Error Types:
ClientException These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
ServerException These errors are usually caused by a server issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteComputeEnvironment
func (*Batch) DeleteComputeEnvironmentRequest ¶
func (c *Batch) DeleteComputeEnvironmentRequest(input *DeleteComputeEnvironmentInput) (req *request.Request, output *DeleteComputeEnvironmentOutput)
DeleteComputeEnvironmentRequest generates a "aws/request.Request" representing the client's request for the DeleteComputeEnvironment operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteComputeEnvironment for more information on using the DeleteComputeEnvironment API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteComputeEnvironmentRequest method. req, resp := client.DeleteComputeEnvironmentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteComputeEnvironment
func (*Batch) DeleteComputeEnvironmentWithContext ¶
func (c *Batch) DeleteComputeEnvironmentWithContext(ctx aws.Context, input *DeleteComputeEnvironmentInput, opts ...request.Option) (*DeleteComputeEnvironmentOutput, error)
DeleteComputeEnvironmentWithContext is the same as DeleteComputeEnvironment with the addition of the ability to pass a context and additional request options.
See DeleteComputeEnvironment for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) DeleteJobQueue ¶
func (c *Batch) DeleteJobQueue(input *DeleteJobQueueInput) (*DeleteJobQueueOutput, error)
DeleteJobQueue API operation for AWS Batch.
Deletes the specified job queue. You must first disable submissions for a queue with the UpdateJobQueue operation. All jobs in the queue are eventually terminated when you delete a job queue. The jobs are terminated at a rate of about 16 jobs each second.
It's not necessary to disassociate compute environments from a queue before submitting a DeleteJobQueue request.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Batch's API operation DeleteJobQueue for usage and error information.
Returned Error Types:
ClientException These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
ServerException These errors are usually caused by a server issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteJobQueue
func (*Batch) DeleteJobQueueRequest ¶
func (c *Batch) DeleteJobQueueRequest(input *DeleteJobQueueInput) (req *request.Request, output *DeleteJobQueueOutput)
DeleteJobQueueRequest generates a "aws/request.Request" representing the client's request for the DeleteJobQueue operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteJobQueue for more information on using the DeleteJobQueue API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteJobQueueRequest method. req, resp := client.DeleteJobQueueRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteJobQueue
func (*Batch) DeleteJobQueueWithContext ¶
func (c *Batch) DeleteJobQueueWithContext(ctx aws.Context, input *DeleteJobQueueInput, opts ...request.Option) (*DeleteJobQueueOutput, error)
DeleteJobQueueWithContext is the same as DeleteJobQueue with the addition of the ability to pass a context and additional request options.
See DeleteJobQueue for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) DeleteSchedulingPolicy ¶
func (c *Batch) DeleteSchedulingPolicy(input *DeleteSchedulingPolicyInput) (*DeleteSchedulingPolicyOutput, error)
DeleteSchedulingPolicy API operation for AWS Batch.
Deletes the specified scheduling policy.
You can't delete a scheduling policy that's used in any job queues.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Batch's API operation DeleteSchedulingPolicy for usage and error information.
Returned Error Types:
ClientException These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
ServerException These errors are usually caused by a server issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteSchedulingPolicy
func (*Batch) DeleteSchedulingPolicyRequest ¶
func (c *Batch) DeleteSchedulingPolicyRequest(input *DeleteSchedulingPolicyInput) (req *request.Request, output *DeleteSchedulingPolicyOutput)
DeleteSchedulingPolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteSchedulingPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteSchedulingPolicy for more information on using the DeleteSchedulingPolicy API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteSchedulingPolicyRequest method. req, resp := client.DeleteSchedulingPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteSchedulingPolicy
func (*Batch) DeleteSchedulingPolicyWithContext ¶
func (c *Batch) DeleteSchedulingPolicyWithContext(ctx aws.Context, input *DeleteSchedulingPolicyInput, opts ...request.Option) (*DeleteSchedulingPolicyOutput, error)
DeleteSchedulingPolicyWithContext is the same as DeleteSchedulingPolicy with the addition of the ability to pass a context and additional request options.
See DeleteSchedulingPolicy for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) DeregisterJobDefinition ¶
func (c *Batch) DeregisterJobDefinition(input *DeregisterJobDefinitionInput) (*DeregisterJobDefinitionOutput, error)
DeregisterJobDefinition API operation for AWS Batch.
Deregisters an Batch job definition. Job definitions are permanently deleted after 180 days.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Batch's API operation DeregisterJobDefinition for usage and error information.
Returned Error Types:
ClientException These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
ServerException These errors are usually caused by a server issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeregisterJobDefinition
func (*Batch) DeregisterJobDefinitionRequest ¶
func (c *Batch) DeregisterJobDefinitionRequest(input *DeregisterJobDefinitionInput) (req *request.Request, output *DeregisterJobDefinitionOutput)
DeregisterJobDefinitionRequest generates a "aws/request.Request" representing the client's request for the DeregisterJobDefinition operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeregisterJobDefinition for more information on using the DeregisterJobDefinition API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeregisterJobDefinitionRequest method. req, resp := client.DeregisterJobDefinitionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeregisterJobDefinition
func (*Batch) DeregisterJobDefinitionWithContext ¶
func (c *Batch) DeregisterJobDefinitionWithContext(ctx aws.Context, input *DeregisterJobDefinitionInput, opts ...request.Option) (*DeregisterJobDefinitionOutput, error)
DeregisterJobDefinitionWithContext is the same as DeregisterJobDefinition with the addition of the ability to pass a context and additional request options.
See DeregisterJobDefinition for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) DescribeComputeEnvironments ¶
func (c *Batch) DescribeComputeEnvironments(input *DescribeComputeEnvironmentsInput) (*DescribeComputeEnvironmentsOutput, error)
DescribeComputeEnvironments API operation for AWS Batch.
Describes one or more of your compute environments.
If you're using an unmanaged compute environment, you can use the DescribeComputeEnvironment operation to determine the ecsClusterArn that you launch your Amazon ECS container instances into.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Batch's API operation DescribeComputeEnvironments for usage and error information.
Returned Error Types:
ClientException These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
ServerException These errors are usually caused by a server issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeComputeEnvironments
func (*Batch) DescribeComputeEnvironmentsPages ¶
func (c *Batch) DescribeComputeEnvironmentsPages(input *DescribeComputeEnvironmentsInput, fn func(*DescribeComputeEnvironmentsOutput, bool) bool) error
DescribeComputeEnvironmentsPages iterates over the pages of a DescribeComputeEnvironments operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeComputeEnvironments method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a DescribeComputeEnvironments operation. pageNum := 0 err := client.DescribeComputeEnvironmentsPages(params, func(page *batch.DescribeComputeEnvironmentsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Batch) DescribeComputeEnvironmentsPagesWithContext ¶
func (c *Batch) DescribeComputeEnvironmentsPagesWithContext(ctx aws.Context, input *DescribeComputeEnvironmentsInput, fn func(*DescribeComputeEnvironmentsOutput, bool) bool, opts ...request.Option) error
DescribeComputeEnvironmentsPagesWithContext same as DescribeComputeEnvironmentsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) DescribeComputeEnvironmentsRequest ¶
func (c *Batch) DescribeComputeEnvironmentsRequest(input *DescribeComputeEnvironmentsInput) (req *request.Request, output *DescribeComputeEnvironmentsOutput)
DescribeComputeEnvironmentsRequest generates a "aws/request.Request" representing the client's request for the DescribeComputeEnvironments operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeComputeEnvironments for more information on using the DescribeComputeEnvironments API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeComputeEnvironmentsRequest method. req, resp := client.DescribeComputeEnvironmentsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeComputeEnvironments
func (*Batch) DescribeComputeEnvironmentsWithContext ¶
func (c *Batch) DescribeComputeEnvironmentsWithContext(ctx aws.Context, input *DescribeComputeEnvironmentsInput, opts ...request.Option) (*DescribeComputeEnvironmentsOutput, error)
DescribeComputeEnvironmentsWithContext is the same as DescribeComputeEnvironments with the addition of the ability to pass a context and additional request options.
See DescribeComputeEnvironments for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) DescribeJobDefinitions ¶
func (c *Batch) DescribeJobDefinitions(input *DescribeJobDefinitionsInput) (*DescribeJobDefinitionsOutput, error)
DescribeJobDefinitions API operation for AWS Batch.
Describes a list of job definitions. You can specify a status (such as ACTIVE) to only return job definitions that match that status.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Batch's API operation DescribeJobDefinitions for usage and error information.
Returned Error Types:
ClientException These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
ServerException These errors are usually caused by a server issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobDefinitions
func (*Batch) DescribeJobDefinitionsPages ¶
func (c *Batch) DescribeJobDefinitionsPages(input *DescribeJobDefinitionsInput, fn func(*DescribeJobDefinitionsOutput, bool) bool) error
DescribeJobDefinitionsPages iterates over the pages of a DescribeJobDefinitions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeJobDefinitions method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a DescribeJobDefinitions operation. pageNum := 0 err := client.DescribeJobDefinitionsPages(params, func(page *batch.DescribeJobDefinitionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Batch) DescribeJobDefinitionsPagesWithContext ¶
func (c *Batch) DescribeJobDefinitionsPagesWithContext(ctx aws.Context, input *DescribeJobDefinitionsInput, fn func(*DescribeJobDefinitionsOutput, bool) bool, opts ...request.Option) error
DescribeJobDefinitionsPagesWithContext same as DescribeJobDefinitionsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) DescribeJobDefinitionsRequest ¶
func (c *Batch) DescribeJobDefinitionsRequest(input *DescribeJobDefinitionsInput) (req *request.Request, output *DescribeJobDefinitionsOutput)
DescribeJobDefinitionsRequest generates a "aws/request.Request" representing the client's request for the DescribeJobDefinitions operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeJobDefinitions for more information on using the DescribeJobDefinitions API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeJobDefinitionsRequest method. req, resp := client.DescribeJobDefinitionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobDefinitions
func (*Batch) DescribeJobDefinitionsWithContext ¶
func (c *Batch) DescribeJobDefinitionsWithContext(ctx aws.Context, input *DescribeJobDefinitionsInput, opts ...request.Option) (*DescribeJobDefinitionsOutput, error)
DescribeJobDefinitionsWithContext is the same as DescribeJobDefinitions with the addition of the ability to pass a context and additional request options.
See DescribeJobDefinitions for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) DescribeJobQueues ¶
func (c *Batch) DescribeJobQueues(input *DescribeJobQueuesInput) (*DescribeJobQueuesOutput, error)
DescribeJobQueues API operation for AWS Batch.
Describes one or more of your job queues.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Batch's API operation DescribeJobQueues for usage and error information.
Returned Error Types:
ClientException These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
ServerException These errors are usually caused by a server issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobQueues
func (*Batch) DescribeJobQueuesPages ¶
func (c *Batch) DescribeJobQueuesPages(input *DescribeJobQueuesInput, fn func(*DescribeJobQueuesOutput, bool) bool) error
DescribeJobQueuesPages iterates over the pages of a DescribeJobQueues operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeJobQueues method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a DescribeJobQueues operation. pageNum := 0 err := client.DescribeJobQueuesPages(params, func(page *batch.DescribeJobQueuesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Batch) DescribeJobQueuesPagesWithContext ¶
func (c *Batch) DescribeJobQueuesPagesWithContext(ctx aws.Context, input *DescribeJobQueuesInput, fn func(*DescribeJobQueuesOutput, bool) bool, opts ...request.Option) error
DescribeJobQueuesPagesWithContext same as DescribeJobQueuesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) DescribeJobQueuesRequest ¶
func (c *Batch) DescribeJobQueuesRequest(input *DescribeJobQueuesInput) (req *request.Request, output *DescribeJobQueuesOutput)
DescribeJobQueuesRequest generates a "aws/request.Request" representing the client's request for the DescribeJobQueues operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeJobQueues for more information on using the DescribeJobQueues API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeJobQueuesRequest method. req, resp := client.DescribeJobQueuesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobQueues
func (*Batch) DescribeJobQueuesWithContext ¶
func (c *Batch) DescribeJobQueuesWithContext(ctx aws.Context, input *DescribeJobQueuesInput, opts ...request.Option) (*DescribeJobQueuesOutput, error)
DescribeJobQueuesWithContext is the same as DescribeJobQueues with the addition of the ability to pass a context and additional request options.
See DescribeJobQueues for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) DescribeJobs ¶
func (c *Batch) DescribeJobs(input *DescribeJobsInput) (*DescribeJobsOutput, error)
DescribeJobs API operation for AWS Batch.
Describes a list of Batch jobs.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Batch's API operation DescribeJobs for usage and error information.
Returned Error Types:
ClientException These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
ServerException These errors are usually caused by a server issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobs
func (*Batch) DescribeJobsRequest ¶
func (c *Batch) DescribeJobsRequest(input *DescribeJobsInput) (req *request.Request, output *DescribeJobsOutput)
DescribeJobsRequest generates a "aws/request.Request" representing the client's request for the DescribeJobs operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeJobs for more information on using the DescribeJobs API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeJobsRequest method. req, resp := client.DescribeJobsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobs
func (*Batch) DescribeJobsWithContext ¶
func (c *Batch) DescribeJobsWithContext(ctx aws.Context, input *DescribeJobsInput, opts ...request.Option) (*DescribeJobsOutput, error)
DescribeJobsWithContext is the same as DescribeJobs with the addition of the ability to pass a context and additional request options.
See DescribeJobs for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) DescribeSchedulingPolicies ¶
func (c *Batch) DescribeSchedulingPolicies(input *DescribeSchedulingPoliciesInput) (*DescribeSchedulingPoliciesOutput, error)
DescribeSchedulingPolicies API operation for AWS Batch.
Describes one or more of your scheduling policies.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Batch's API operation DescribeSchedulingPolicies for usage and error information.
Returned Error Types:
ClientException These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
ServerException These errors are usually caused by a server issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeSchedulingPolicies
func (*Batch) DescribeSchedulingPoliciesRequest ¶
func (c *Batch) DescribeSchedulingPoliciesRequest(input *DescribeSchedulingPoliciesInput) (req *request.Request, output *DescribeSchedulingPoliciesOutput)
DescribeSchedulingPoliciesRequest generates a "aws/request.Request" representing the client's request for the DescribeSchedulingPolicies operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeSchedulingPolicies for more information on using the DescribeSchedulingPolicies API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeSchedulingPoliciesRequest method. req, resp := client.DescribeSchedulingPoliciesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeSchedulingPolicies
func (*Batch) DescribeSchedulingPoliciesWithContext ¶
func (c *Batch) DescribeSchedulingPoliciesWithContext(ctx aws.Context, input *DescribeSchedulingPoliciesInput, opts ...request.Option) (*DescribeSchedulingPoliciesOutput, error)
DescribeSchedulingPoliciesWithContext is the same as DescribeSchedulingPolicies with the addition of the ability to pass a context and additional request options.
See DescribeSchedulingPolicies for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) ListJobs ¶
func (c *Batch) ListJobs(input *ListJobsInput) (*ListJobsOutput, error)
ListJobs API operation for AWS Batch.
Returns a list of Batch jobs.
You must specify only one of the following items:
A job queue ID to return a list of jobs in that job queue
A multi-node parallel job ID to return a list of nodes for that job
An array job ID to return a list of the children for that job
You can filter the results by job status with the jobStatus parameter. If you don't specify a status, only RUNNING jobs are returned.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Batch's API operation ListJobs for usage and error information.
Returned Error Types:
ClientException These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
ServerException These errors are usually caused by a server issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListJobs
func (*Batch) ListJobsPages ¶
func (c *Batch) ListJobsPages(input *ListJobsInput, fn func(*ListJobsOutput, bool) bool) error
ListJobsPages iterates over the pages of a ListJobs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListJobs method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListJobs operation. pageNum := 0 err := client.ListJobsPages(params, func(page *batch.ListJobsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Batch) ListJobsPagesWithContext ¶
func (c *Batch) ListJobsPagesWithContext(ctx aws.Context, input *ListJobsInput, fn func(*ListJobsOutput, bool) bool, opts ...request.Option) error
ListJobsPagesWithContext same as ListJobsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) ListJobsRequest ¶
func (c *Batch) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput)
ListJobsRequest generates a "aws/request.Request" representing the client's request for the ListJobs operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListJobs for more information on using the ListJobs API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListJobsRequest method. req, resp := client.ListJobsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListJobs
func (*Batch) ListJobsWithContext ¶
func (c *Batch) ListJobsWithContext(ctx aws.Context, input *ListJobsInput, opts ...request.Option) (*ListJobsOutput, error)
ListJobsWithContext is the same as ListJobs with the addition of the ability to pass a context and additional request options.
See ListJobs for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) ListSchedulingPolicies ¶
func (c *Batch) ListSchedulingPolicies(input *ListSchedulingPoliciesInput) (*ListSchedulingPoliciesOutput, error)
ListSchedulingPolicies API operation for AWS Batch.
Returns a list of Batch scheduling policies.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Batch's API operation ListSchedulingPolicies for usage and error information.
Returned Error Types:
ClientException These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
ServerException These errors are usually caused by a server issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListSchedulingPolicies
func (*Batch) ListSchedulingPoliciesPages ¶
func (c *Batch) ListSchedulingPoliciesPages(input *ListSchedulingPoliciesInput, fn func(*ListSchedulingPoliciesOutput, bool) bool) error
ListSchedulingPoliciesPages iterates over the pages of a ListSchedulingPolicies operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListSchedulingPolicies method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListSchedulingPolicies operation. pageNum := 0 err := client.ListSchedulingPoliciesPages(params, func(page *batch.ListSchedulingPoliciesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Batch) ListSchedulingPoliciesPagesWithContext ¶
func (c *Batch) ListSchedulingPoliciesPagesWithContext(ctx aws.Context, input *ListSchedulingPoliciesInput, fn func(*ListSchedulingPoliciesOutput, bool) bool, opts ...request.Option) error
ListSchedulingPoliciesPagesWithContext same as ListSchedulingPoliciesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) ListSchedulingPoliciesRequest ¶
func (c *Batch) ListSchedulingPoliciesRequest(input *ListSchedulingPoliciesInput) (req *request.Request, output *ListSchedulingPoliciesOutput)
ListSchedulingPoliciesRequest generates a "aws/request.Request" representing the client's request for the ListSchedulingPolicies operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListSchedulingPolicies for more information on using the ListSchedulingPolicies API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListSchedulingPoliciesRequest method. req, resp := client.ListSchedulingPoliciesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListSchedulingPolicies
func (*Batch) ListSchedulingPoliciesWithContext ¶
func (c *Batch) ListSchedulingPoliciesWithContext(ctx aws.Context, input *ListSchedulingPoliciesInput, opts ...request.Option) (*ListSchedulingPoliciesOutput, error)
ListSchedulingPoliciesWithContext is the same as ListSchedulingPolicies with the addition of the ability to pass a context and additional request options.
See ListSchedulingPolicies for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) ListTagsForResource ¶
func (c *Batch) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for AWS Batch.
Lists the tags for an Batch resource. Batch resources that support tags are compute environments, jobs, job definitions, job queues, and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Batch's API operation ListTagsForResource for usage and error information.
Returned Error Types:
ClientException These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
ServerException These errors are usually caused by a server issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListTagsForResource
func (*Batch) ListTagsForResourceRequest ¶
func (c *Batch) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListTagsForResource
func (*Batch) ListTagsForResourceWithContext ¶
func (c *Batch) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.
See ListTagsForResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) RegisterJobDefinition ¶
func (c *Batch) RegisterJobDefinition(input *RegisterJobDefinitionInput) (*RegisterJobDefinitionOutput, error)
RegisterJobDefinition API operation for AWS Batch.
Registers an Batch job definition.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Batch's API operation RegisterJobDefinition for usage and error information.
Returned Error Types:
ClientException These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
ServerException These errors are usually caused by a server issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RegisterJobDefinition
func (*Batch) RegisterJobDefinitionRequest ¶
func (c *Batch) RegisterJobDefinitionRequest(input *RegisterJobDefinitionInput) (req *request.Request, output *RegisterJobDefinitionOutput)
RegisterJobDefinitionRequest generates a "aws/request.Request" representing the client's request for the RegisterJobDefinition operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See RegisterJobDefinition for more information on using the RegisterJobDefinition API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the RegisterJobDefinitionRequest method. req, resp := client.RegisterJobDefinitionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RegisterJobDefinition
func (*Batch) RegisterJobDefinitionWithContext ¶
func (c *Batch) RegisterJobDefinitionWithContext(ctx aws.Context, input *RegisterJobDefinitionInput, opts ...request.Option) (*RegisterJobDefinitionOutput, error)
RegisterJobDefinitionWithContext is the same as RegisterJobDefinition with the addition of the ability to pass a context and additional request options.
See RegisterJobDefinition for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) SubmitJob ¶
func (c *Batch) SubmitJob(input *SubmitJobInput) (*SubmitJobOutput, error)
SubmitJob API operation for AWS Batch.
Submits an Batch job from a job definition. Parameters that are specified during SubmitJob override parameters defined in the job definition. vCPU and memory requirements that are specified in the resourceRequirements objects in the job definition are the exception. They can't be overridden this way using the memory and vcpus parameters. Rather, you must specify updates to job definition parameters in a resourceRequirements object that's included in the containerOverrides parameter.
Job queues with a scheduling policy are limited to 500 active fair share identifiers at a time.
Jobs that run on Fargate resources can't be guaranteed to run for more than 14 days. This is because, after 14 days, Fargate resources might become unavailable and job might be terminated.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Batch's API operation SubmitJob for usage and error information.
Returned Error Types:
ClientException These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
ServerException These errors are usually caused by a server issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/SubmitJob
func (*Batch) SubmitJobRequest ¶
func (c *Batch) SubmitJobRequest(input *SubmitJobInput) (req *request.Request, output *SubmitJobOutput)
SubmitJobRequest generates a "aws/request.Request" representing the client's request for the SubmitJob operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See SubmitJob for more information on using the SubmitJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the SubmitJobRequest method. req, resp := client.SubmitJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/SubmitJob
func (*Batch) SubmitJobWithContext ¶
func (c *Batch) SubmitJobWithContext(ctx aws.Context, input *SubmitJobInput, opts ...request.Option) (*SubmitJobOutput, error)
SubmitJobWithContext is the same as SubmitJob with the addition of the ability to pass a context and additional request options.
See SubmitJob for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) TagResource ¶
func (c *Batch) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for AWS Batch.
Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags that are associated with that resource are deleted as well. Batch resources that support tags are compute environments, jobs, job definitions, job queues, and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Batch's API operation TagResource for usage and error information.
Returned Error Types:
ClientException These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
ServerException These errors are usually caused by a server issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TagResource
func (*Batch) TagResourceRequest ¶
func (c *Batch) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TagResource for more information on using the TagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TagResource
func (*Batch) TagResourceWithContext ¶
func (c *Batch) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.
See TagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) TerminateJob ¶
func (c *Batch) TerminateJob(input *TerminateJobInput) (*TerminateJobOutput, error)
TerminateJob API operation for AWS Batch.
Terminates a job in a job queue. Jobs that are in the STARTING or RUNNING state are terminated, which causes them to transition to FAILED. Jobs that have not progressed to the STARTING state are cancelled.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Batch's API operation TerminateJob for usage and error information.
Returned Error Types:
ClientException These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
ServerException These errors are usually caused by a server issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TerminateJob
func (*Batch) TerminateJobRequest ¶
func (c *Batch) TerminateJobRequest(input *TerminateJobInput) (req *request.Request, output *TerminateJobOutput)
TerminateJobRequest generates a "aws/request.Request" representing the client's request for the TerminateJob operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TerminateJob for more information on using the TerminateJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TerminateJobRequest method. req, resp := client.TerminateJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TerminateJob
func (*Batch) TerminateJobWithContext ¶
func (c *Batch) TerminateJobWithContext(ctx aws.Context, input *TerminateJobInput, opts ...request.Option) (*TerminateJobOutput, error)
TerminateJobWithContext is the same as TerminateJob with the addition of the ability to pass a context and additional request options.
See TerminateJob for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) UntagResource ¶
func (c *Batch) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for AWS Batch.
Deletes specified tags from an Batch resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Batch's API operation UntagResource for usage and error information.
Returned Error Types:
ClientException These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
ServerException These errors are usually caused by a server issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UntagResource
func (*Batch) UntagResourceRequest ¶
func (c *Batch) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UntagResource for more information on using the UntagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UntagResource
func (*Batch) UntagResourceWithContext ¶
func (c *Batch) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.
See UntagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) UpdateComputeEnvironment ¶
func (c *Batch) UpdateComputeEnvironment(input *UpdateComputeEnvironmentInput) (*UpdateComputeEnvironmentOutput, error)
UpdateComputeEnvironment API operation for AWS Batch.
Updates an Batch compute environment.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Batch's API operation UpdateComputeEnvironment for usage and error information.
Returned Error Types:
ClientException These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
ServerException These errors are usually caused by a server issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateComputeEnvironment
func (*Batch) UpdateComputeEnvironmentRequest ¶
func (c *Batch) UpdateComputeEnvironmentRequest(input *UpdateComputeEnvironmentInput) (req *request.Request, output *UpdateComputeEnvironmentOutput)
UpdateComputeEnvironmentRequest generates a "aws/request.Request" representing the client's request for the UpdateComputeEnvironment operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateComputeEnvironment for more information on using the UpdateComputeEnvironment API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateComputeEnvironmentRequest method. req, resp := client.UpdateComputeEnvironmentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateComputeEnvironment
func (*Batch) UpdateComputeEnvironmentWithContext ¶
func (c *Batch) UpdateComputeEnvironmentWithContext(ctx aws.Context, input *UpdateComputeEnvironmentInput, opts ...request.Option) (*UpdateComputeEnvironmentOutput, error)
UpdateComputeEnvironmentWithContext is the same as UpdateComputeEnvironment with the addition of the ability to pass a context and additional request options.
See UpdateComputeEnvironment for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) UpdateJobQueue ¶
func (c *Batch) UpdateJobQueue(input *UpdateJobQueueInput) (*UpdateJobQueueOutput, error)
UpdateJobQueue API operation for AWS Batch.
Updates a job queue.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Batch's API operation UpdateJobQueue for usage and error information.
Returned Error Types:
ClientException These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
ServerException These errors are usually caused by a server issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateJobQueue
func (*Batch) UpdateJobQueueRequest ¶
func (c *Batch) UpdateJobQueueRequest(input *UpdateJobQueueInput) (req *request.Request, output *UpdateJobQueueOutput)
UpdateJobQueueRequest generates a "aws/request.Request" representing the client's request for the UpdateJobQueue operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateJobQueue for more information on using the UpdateJobQueue API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateJobQueueRequest method. req, resp := client.UpdateJobQueueRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateJobQueue
func (*Batch) UpdateJobQueueWithContext ¶
func (c *Batch) UpdateJobQueueWithContext(ctx aws.Context, input *UpdateJobQueueInput, opts ...request.Option) (*UpdateJobQueueOutput, error)
UpdateJobQueueWithContext is the same as UpdateJobQueue with the addition of the ability to pass a context and additional request options.
See UpdateJobQueue for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Batch) UpdateSchedulingPolicy ¶
func (c *Batch) UpdateSchedulingPolicy(input *UpdateSchedulingPolicyInput) (*UpdateSchedulingPolicyOutput, error)
UpdateSchedulingPolicy API operation for AWS Batch.
Updates a scheduling policy.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Batch's API operation UpdateSchedulingPolicy for usage and error information.
Returned Error Types:
ClientException These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
ServerException These errors are usually caused by a server issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateSchedulingPolicy
func (*Batch) UpdateSchedulingPolicyRequest ¶
func (c *Batch) UpdateSchedulingPolicyRequest(input *UpdateSchedulingPolicyInput) (req *request.Request, output *UpdateSchedulingPolicyOutput)
UpdateSchedulingPolicyRequest generates a "aws/request.Request" representing the client's request for the UpdateSchedulingPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateSchedulingPolicy for more information on using the UpdateSchedulingPolicy API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateSchedulingPolicyRequest method. req, resp := client.UpdateSchedulingPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateSchedulingPolicy
func (*Batch) UpdateSchedulingPolicyWithContext ¶
func (c *Batch) UpdateSchedulingPolicyWithContext(ctx aws.Context, input *UpdateSchedulingPolicyInput, opts ...request.Option) (*UpdateSchedulingPolicyOutput, error)
UpdateSchedulingPolicyWithContext is the same as UpdateSchedulingPolicy with the addition of the ability to pass a context and additional request options.
See UpdateSchedulingPolicy for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type CancelJobInput ¶
type CancelJobInput struct { // The Batch job ID of the job to cancel. // // JobId is a required field JobId *string `locationName:"jobId" type:"string" required:"true"` // A message to attach to the job that explains the reason for canceling it. // This message is returned by future DescribeJobs operations on the job. This // message is also recorded in the Batch activity logs. // // Reason is a required field Reason *string `locationName:"reason" type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for CancelJob.
func (CancelJobInput) GoString ¶
func (s CancelJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CancelJobInput) SetJobId ¶
func (s *CancelJobInput) SetJobId(v string) *CancelJobInput
SetJobId sets the JobId field's value.
func (*CancelJobInput) SetReason ¶
func (s *CancelJobInput) SetReason(v string) *CancelJobInput
SetReason sets the Reason field's value.
func (CancelJobInput) String ¶
func (s CancelJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CancelJobInput) Validate ¶
func (s *CancelJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelJobOutput ¶
type CancelJobOutput struct {
// contains filtered or unexported fields
}
func (CancelJobOutput) GoString ¶
func (s CancelJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (CancelJobOutput) String ¶
func (s CancelJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ClientException ¶
type ClientException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
func (*ClientException) Code ¶
func (s *ClientException) Code() string
Code returns the exception type name.
func (*ClientException) Error ¶
func (s *ClientException) Error() string
func (ClientException) GoString ¶
func (s ClientException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ClientException) Message ¶
func (s *ClientException) Message() string
Message returns the exception's message.
func (*ClientException) OrigErr ¶
func (s *ClientException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ClientException) RequestID ¶
func (s *ClientException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ClientException) StatusCode ¶
func (s *ClientException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ClientException) String ¶
func (s ClientException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ComputeEnvironmentDetail ¶
type ComputeEnvironmentDetail struct { // The Amazon Resource Name (ARN) of the compute environment. // // ComputeEnvironmentArn is a required field ComputeEnvironmentArn *string `locationName:"computeEnvironmentArn" type:"string" required:"true"` // The name of the compute environment. It can be up to 128 characters long. // It can contain uppercase and lowercase letters, numbers, hyphens (-), and // underscores (_). // // ComputeEnvironmentName is a required field ComputeEnvironmentName *string `locationName:"computeEnvironmentName" type:"string" required:"true"` // The compute resources defined for the compute environment. For more information, // see Compute environments (https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) // in the Batch User Guide. ComputeResources *ComputeResource `locationName:"computeResources" type:"structure"` // The orchestration type of the compute environment. The valid values are ECS // (default) or EKS. ContainerOrchestrationType *string `locationName:"containerOrchestrationType" type:"string" enum:"OrchestrationType"` // The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster that // the compute environment uses. EcsClusterArn *string `locationName:"ecsClusterArn" type:"string"` // The configuration for the Amazon EKS cluster that supports the Batch compute // environment. Only specify this parameter if the containerOrchestrationType // is EKS. EksConfiguration *EksConfiguration `locationName:"eksConfiguration" type:"structure"` // The service role that's associated with the compute environment that allows // Batch to make calls to Amazon Web Services API operations on your behalf. // For more information, see Batch service IAM role (https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html) // in the Batch User Guide. ServiceRole *string `locationName:"serviceRole" type:"string"` // The state of the compute environment. The valid values are ENABLED or DISABLED. // // If the state is ENABLED, then the Batch scheduler can attempt to place jobs // from an associated job queue on the compute resources within the environment. // If the compute environment is managed, then it can scale its instances out // or in automatically based on the job queue demand. // // If the state is DISABLED, then the Batch scheduler doesn't attempt to place // jobs within the environment. Jobs in a STARTING or RUNNING state continue // to progress normally. Managed compute environments in the DISABLED state // don't scale out. // // Compute environments in a DISABLED state may continue to incur billing charges. // To prevent additional charges, turn off and then delete the compute environment. // For more information, see State (https://docs.aws.amazon.com/batch/latest/userguide/compute_environment_parameters.html#compute_environment_state) // in the Batch User Guide. // // When an instance is idle, the instance scales down to the minvCpus value. // However, the instance size doesn't change. For example, consider a c5.8xlarge // instance with a minvCpus value of 4 and a desiredvCpus value of 36. This // instance doesn't scale down to a c5.large instance. State *string `locationName:"state" type:"string" enum:"CEState"` // The current status of the compute environment (for example, CREATING or VALID). Status *string `locationName:"status" type:"string" enum:"CEStatus"` // A short, human-readable string to provide additional details for the current // status of the compute environment. StatusReason *string `locationName:"statusReason" type:"string"` // The tags applied to the compute environment. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` // The type of the compute environment: MANAGED or UNMANAGED. For more information, // see Compute environments (https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) // in the Batch User Guide. Type *string `locationName:"type" type:"string" enum:"CEType"` // The maximum number of VCPUs expected to be used for an unmanaged compute // environment. UnmanagedvCpus *int64 `locationName:"unmanagedvCpus" type:"integer"` // Specifies the infrastructure update policy for the compute environment. For // more information about infrastructure updates, see Updating compute environments // (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) // in the Batch User Guide. UpdatePolicy *UpdatePolicy `locationName:"updatePolicy" type:"structure"` // Unique identifier for the compute environment. Uuid *string `locationName:"uuid" type:"string"` // contains filtered or unexported fields }
An object that represents an Batch compute environment.
func (ComputeEnvironmentDetail) GoString ¶
func (s ComputeEnvironmentDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ComputeEnvironmentDetail) SetComputeEnvironmentArn ¶
func (s *ComputeEnvironmentDetail) SetComputeEnvironmentArn(v string) *ComputeEnvironmentDetail
SetComputeEnvironmentArn sets the ComputeEnvironmentArn field's value.
func (*ComputeEnvironmentDetail) SetComputeEnvironmentName ¶
func (s *ComputeEnvironmentDetail) SetComputeEnvironmentName(v string) *ComputeEnvironmentDetail
SetComputeEnvironmentName sets the ComputeEnvironmentName field's value.
func (*ComputeEnvironmentDetail) SetComputeResources ¶
func (s *ComputeEnvironmentDetail) SetComputeResources(v *ComputeResource) *ComputeEnvironmentDetail
SetComputeResources sets the ComputeResources field's value.
func (*ComputeEnvironmentDetail) SetContainerOrchestrationType ¶
func (s *ComputeEnvironmentDetail) SetContainerOrchestrationType(v string) *ComputeEnvironmentDetail
SetContainerOrchestrationType sets the ContainerOrchestrationType field's value.
func (*ComputeEnvironmentDetail) SetEcsClusterArn ¶
func (s *ComputeEnvironmentDetail) SetEcsClusterArn(v string) *ComputeEnvironmentDetail
SetEcsClusterArn sets the EcsClusterArn field's value.
func (*ComputeEnvironmentDetail) SetEksConfiguration ¶
func (s *ComputeEnvironmentDetail) SetEksConfiguration(v *EksConfiguration) *ComputeEnvironmentDetail
SetEksConfiguration sets the EksConfiguration field's value.
func (*ComputeEnvironmentDetail) SetServiceRole ¶
func (s *ComputeEnvironmentDetail) SetServiceRole(v string) *ComputeEnvironmentDetail
SetServiceRole sets the ServiceRole field's value.
func (*ComputeEnvironmentDetail) SetState ¶
func (s *ComputeEnvironmentDetail) SetState(v string) *ComputeEnvironmentDetail
SetState sets the State field's value.
func (*ComputeEnvironmentDetail) SetStatus ¶
func (s *ComputeEnvironmentDetail) SetStatus(v string) *ComputeEnvironmentDetail
SetStatus sets the Status field's value.
func (*ComputeEnvironmentDetail) SetStatusReason ¶
func (s *ComputeEnvironmentDetail) SetStatusReason(v string) *ComputeEnvironmentDetail
SetStatusReason sets the StatusReason field's value.
func (*ComputeEnvironmentDetail) SetTags ¶
func (s *ComputeEnvironmentDetail) SetTags(v map[string]*string) *ComputeEnvironmentDetail
SetTags sets the Tags field's value.
func (*ComputeEnvironmentDetail) SetType ¶
func (s *ComputeEnvironmentDetail) SetType(v string) *ComputeEnvironmentDetail
SetType sets the Type field's value.
func (*ComputeEnvironmentDetail) SetUnmanagedvCpus ¶
func (s *ComputeEnvironmentDetail) SetUnmanagedvCpus(v int64) *ComputeEnvironmentDetail
SetUnmanagedvCpus sets the UnmanagedvCpus field's value.
func (*ComputeEnvironmentDetail) SetUpdatePolicy ¶
func (s *ComputeEnvironmentDetail) SetUpdatePolicy(v *UpdatePolicy) *ComputeEnvironmentDetail
SetUpdatePolicy sets the UpdatePolicy field's value.
func (*ComputeEnvironmentDetail) SetUuid ¶
func (s *ComputeEnvironmentDetail) SetUuid(v string) *ComputeEnvironmentDetail
SetUuid sets the Uuid field's value.
func (ComputeEnvironmentDetail) String ¶
func (s ComputeEnvironmentDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ComputeEnvironmentOrder ¶
type ComputeEnvironmentOrder struct { // The Amazon Resource Name (ARN) of the compute environment. // // ComputeEnvironment is a required field ComputeEnvironment *string `locationName:"computeEnvironment" type:"string" required:"true"` // The order of the compute environment. Compute environments are tried in ascending // order. For example, if two compute environments are associated with a job // queue, the compute environment with a lower order integer value is tried // for job placement first. // // Order is a required field Order *int64 `locationName:"order" type:"integer" required:"true"` // contains filtered or unexported fields }
The order that compute environments are tried in for job placement within a queue. Compute environments are tried in ascending order. For example, if two compute environments are associated with a job queue, the compute environment with a lower order integer value is tried for job placement first. Compute environments must be in the VALID state before you can associate them with a job queue. All of the compute environments must be either EC2 (EC2 or SPOT) or Fargate (FARGATE or FARGATE_SPOT); EC2 and Fargate compute environments can't be mixed.
All compute environments that are associated with a job queue must share the same architecture. Batch doesn't support mixing compute environment architecture types in a single job queue.
func (ComputeEnvironmentOrder) GoString ¶
func (s ComputeEnvironmentOrder) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ComputeEnvironmentOrder) SetComputeEnvironment ¶
func (s *ComputeEnvironmentOrder) SetComputeEnvironment(v string) *ComputeEnvironmentOrder
SetComputeEnvironment sets the ComputeEnvironment field's value.
func (*ComputeEnvironmentOrder) SetOrder ¶
func (s *ComputeEnvironmentOrder) SetOrder(v int64) *ComputeEnvironmentOrder
SetOrder sets the Order field's value.
func (ComputeEnvironmentOrder) String ¶
func (s ComputeEnvironmentOrder) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ComputeEnvironmentOrder) Validate ¶
func (s *ComputeEnvironmentOrder) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ComputeResource ¶
type ComputeResource struct { // The allocation strategy to use for the compute resource if not enough instances // of the best fitting instance type can be allocated. This might be because // of availability of the instance type in the Region or Amazon EC2 service // limits (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html). // For more information, see Allocation strategies (https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html) // in the Batch User Guide. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. // // BEST_FIT (default) // // Batch selects an instance type that best fits the needs of the jobs with // a preference for the lowest-cost instance type. If additional instances of // the selected instance type aren't available, Batch waits for the additional // instances to be available. If there aren't enough instances available or // the user is reaching Amazon EC2 service limits (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html), // additional jobs aren't run until the currently running jobs are completed. // This allocation strategy keeps costs lower but can limit scaling. If you're // using Spot Fleets with BEST_FIT, the Spot Fleet IAM Role must be specified. // Compute resources that use a BEST_FIT allocation strategy don't support infrastructure // updates and can't update some parameters. For more information, see Updating // compute environments (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) // in the Batch User Guide. // // BEST_FIT_PROGRESSIVE // // Batch selects additional instance types that are large enough to meet the // requirements of the jobs in the queue. Its preference is for instance types // with lower cost vCPUs. If additional instances of the previously selected // instance types aren't available, Batch selects new instance types. // // SPOT_CAPACITY_OPTIMIZED // // Batch selects one or more instance types that are large enough to meet the // requirements of the jobs in the queue. Its preference is for instance types // that are less likely to be interrupted. This allocation strategy is only // available for Spot Instance compute resources. // // SPOT_PRICE_CAPACITY_OPTIMIZED // // The price and capacity optimized allocation strategy looks at both price // and capacity to select the Spot Instance pools that are the least likely // to be interrupted and have the lowest possible price. This allocation strategy // is only available for Spot Instance compute resources. // // With BEST_FIT_PROGRESSIVE,SPOT_CAPACITY_OPTIMIZED and SPOT_PRICE_CAPACITY_OPTIMIZED // strategies using On-Demand or Spot Instances, and the BEST_FIT strategy using // Spot Instances, Batch might need to exceed maxvCpus to meet your capacity // requirements. In this event, Batch never exceeds maxvCpus by more than a // single instance. AllocationStrategy *string `locationName:"allocationStrategy" type:"string" enum:"CRAllocationStrategy"` // The maximum percentage that a Spot Instance price can be when compared with // the On-Demand price for that instance type before instances are launched. // For example, if your maximum percentage is 20%, then the Spot price must // be less than 20% of the current On-Demand price for that Amazon EC2 instance. // You always pay the lowest (market) price and never more than your maximum // percentage. If you leave this field empty, the default value is 100% of the // On-Demand price. For most use cases, we recommend leaving this field empty. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. BidPercentage *int64 `locationName:"bidPercentage" type:"integer"` // The desired number of vCPUS in the compute environment. Batch modifies this // value between the minimum and maximum values based on job queue demand. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. DesiredvCpus *int64 `locationName:"desiredvCpus" type:"integer"` // Provides information that's used to select Amazon Machine Images (AMIs) for // EC2 instances in the compute environment. If Ec2Configuration isn't specified, // the default is ECS_AL2. // // One or two values can be provided. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. Ec2Configuration []*Ec2Configuration `locationName:"ec2Configuration" type:"list"` // The Amazon EC2 key pair that's used for instances launched in the compute // environment. You can use this key pair to log in to your instances with SSH. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. Ec2KeyPair *string `locationName:"ec2KeyPair" type:"string"` // The Amazon Machine Image (AMI) ID used for instances launched in the compute // environment. This parameter is overridden by the imageIdOverride member of // the Ec2Configuration structure. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. // // The AMI that you choose for a compute environment must match the architecture // of the instance types that you intend to use for that compute environment. // For example, if your compute environment uses A1 instance types, the compute // resource AMI that you choose must support ARM instances. Amazon ECS vends // both x86 and ARM versions of the Amazon ECS-optimized Amazon Linux 2 AMI. // For more information, see Amazon ECS-optimized Amazon Linux 2 AMI (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html) // in the Amazon Elastic Container Service Developer Guide. // // Deprecated: This field is deprecated, use ec2Configuration[].imageIdOverride instead. ImageId *string `locationName:"imageId" deprecated:"true" type:"string"` // The Amazon ECS instance profile applied to Amazon EC2 instances in a compute // environment. You can specify the short name or full Amazon Resource Name // (ARN) of an instance profile. For example, ecsInstanceRole or arn:aws:iam::<aws_account_id>:instance-profile/ecsInstanceRole // . For more information, see Amazon ECS instance role (https://docs.aws.amazon.com/batch/latest/userguide/instance_IAM_role.html) // in the Batch User Guide. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. InstanceRole *string `locationName:"instanceRole" type:"string"` // The instances types that can be launched. You can specify instance families // to launch any instance type within those families (for example, c5 or p3), // or you can specify specific sizes within a family (such as c5.8xlarge). You // can also choose optimal to select instance types (from the C4, M4, and R4 // instance families) that match the demand of your job queues. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. // // When you create a compute environment, the instance types that you select // for the compute environment must share the same architecture. For example, // you can't mix x86 and ARM instances in the same compute environment. // // Currently, optimal uses instance types from the C4, M4, and R4 instance families. // In Regions that don't have instance types from those instance families, instance // types from the C5, M5, and R5 instance families are used. InstanceTypes []*string `locationName:"instanceTypes" type:"list"` // The launch template to use for your compute resources. Any other compute // resource parameters that you specify in a CreateComputeEnvironment API operation // override the same parameters in the launch template. You must specify either // the launch template ID or launch template name in the request, but not both. // For more information, see Launch template support (https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html) // in the Batch User Guide. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. LaunchTemplate *LaunchTemplateSpecification `locationName:"launchTemplate" type:"structure"` // The maximum number of vCPUs that a compute environment can support. // // With BEST_FIT_PROGRESSIVE, SPOT_CAPACITY_OPTIMIZED and SPOT_PRICE_CAPACITY_OPTIMIZED // allocation strategies using On-Demand or Spot Instances, and the BEST_FIT // strategy using Spot Instances, Batch might need to exceed maxvCpus to meet // your capacity requirements. In this event, Batch never exceeds maxvCpus by // more than a single instance. For example, no more than a single instance // from among those specified in your compute environment is allocated. // // MaxvCpus is a required field MaxvCpus *int64 `locationName:"maxvCpus" type:"integer" required:"true"` // The minimum number of vCPUs that a compute environment should maintain (even // if the compute environment is DISABLED). // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. MinvCpus *int64 `locationName:"minvCpus" type:"integer"` // The Amazon EC2 placement group to associate with your compute resources. // If you intend to submit multi-node parallel jobs to your compute environment, // you should consider creating a cluster placement group and associate it with // your compute resources. This keeps your multi-node parallel job on a logical // grouping of instances within a single Availability Zone with high network // flow potential. For more information, see Placement groups (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) // in the Amazon EC2 User Guide for Linux Instances. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. PlacementGroup *string `locationName:"placementGroup" type:"string"` // The Amazon EC2 security groups that are associated with instances launched // in the compute environment. One or more security groups must be specified, // either in securityGroupIds or using a launch template referenced in launchTemplate. // This parameter is required for jobs that are running on Fargate resources // and must contain at least one security group. Fargate doesn't support launch // templates. If security groups are specified using both securityGroupIds and // launchTemplate, the values in securityGroupIds are used. SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"` // The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied // to a SPOT compute environment. This role is required if the allocation strategy // set to BEST_FIT or if the allocation strategy isn't specified. For more information, // see Amazon EC2 spot fleet role (https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html) // in the Batch User Guide. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. // // To tag your Spot Instances on creation, the Spot Fleet IAM role specified // here must use the newer AmazonEC2SpotFleetTaggingRole managed policy. The // previously recommended AmazonEC2SpotFleetRole managed policy doesn't have // the required permissions to tag Spot Instances. For more information, see // Spot instances not tagged on creation (https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#spot-instance-no-tag) // in the Batch User Guide. SpotIamFleetRole *string `locationName:"spotIamFleetRole" type:"string"` // The VPC subnets where the compute resources are launched. These subnets must // be within the same VPC. Fargate compute resources can contain up to 16 subnets. // For more information, see VPCs and subnets (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html) // in the Amazon VPC User Guide. // // Batch on Amazon EC2 and Batch on Amazon EKS support Local Zones. For more // information, see Local Zones (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-local-zones) // in the Amazon EC2 User Guide for Linux Instances, Amazon EKS and Amazon Web // Services Local Zones (https://docs.aws.amazon.com/eks/latest/userguide/local-zones.html) // in the Amazon EKS User Guide and Amazon ECS clusters in Local Zones, Wavelength // Zones, and Amazon Web Services Outposts (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-regions-zones.html#clusters-local-zones) // in the Amazon ECS Developer Guide. // // Batch on Fargate doesn't currently support Local Zones. // // Subnets is a required field Subnets []*string `locationName:"subnets" type:"list" required:"true"` // Key-value pair tags to be applied to EC2 resources that are launched in the // compute environment. For Batch, these take the form of "String1": "String2", // where String1 is the tag key and String2 is the tag value-for example, { // "Name": "Batch Instance - C4OnDemand" }. This is helpful for recognizing // your Batch instances in the Amazon EC2 console. Updating these tags requires // an infrastructure update to the compute environment. For more information, // see Updating compute environments (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) // in the Batch User Guide. These tags aren't seen when using the Batch ListTagsForResource // API operation. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. Tags map[string]*string `locationName:"tags" type:"map"` // The type of compute environment: EC2, SPOT, FARGATE, or FARGATE_SPOT. For // more information, see Compute environments (https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) // in the Batch User Guide. // // If you choose SPOT, you must also specify an Amazon EC2 Spot Fleet role with // the spotIamFleetRole parameter. For more information, see Amazon EC2 spot // fleet role (https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html) // in the Batch User Guide. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"CRType"` // contains filtered or unexported fields }
An object that represents an Batch compute resource. For more information, see Compute environments (https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) in the Batch User Guide.
func (ComputeResource) GoString ¶
func (s ComputeResource) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ComputeResource) SetAllocationStrategy ¶
func (s *ComputeResource) SetAllocationStrategy(v string) *ComputeResource
SetAllocationStrategy sets the AllocationStrategy field's value.
func (*ComputeResource) SetBidPercentage ¶
func (s *ComputeResource) SetBidPercentage(v int64) *ComputeResource
SetBidPercentage sets the BidPercentage field's value.
func (*ComputeResource) SetDesiredvCpus ¶
func (s *ComputeResource) SetDesiredvCpus(v int64) *ComputeResource
SetDesiredvCpus sets the DesiredvCpus field's value.
func (*ComputeResource) SetEc2Configuration ¶
func (s *ComputeResource) SetEc2Configuration(v []*Ec2Configuration) *ComputeResource
SetEc2Configuration sets the Ec2Configuration field's value.
func (*ComputeResource) SetEc2KeyPair ¶
func (s *ComputeResource) SetEc2KeyPair(v string) *ComputeResource
SetEc2KeyPair sets the Ec2KeyPair field's value.
func (*ComputeResource) SetImageId ¶
func (s *ComputeResource) SetImageId(v string) *ComputeResource
SetImageId sets the ImageId field's value.
func (*ComputeResource) SetInstanceRole ¶
func (s *ComputeResource) SetInstanceRole(v string) *ComputeResource
SetInstanceRole sets the InstanceRole field's value.
func (*ComputeResource) SetInstanceTypes ¶
func (s *ComputeResource) SetInstanceTypes(v []*string) *ComputeResource
SetInstanceTypes sets the InstanceTypes field's value.
func (*ComputeResource) SetLaunchTemplate ¶
func (s *ComputeResource) SetLaunchTemplate(v *LaunchTemplateSpecification) *ComputeResource
SetLaunchTemplate sets the LaunchTemplate field's value.
func (*ComputeResource) SetMaxvCpus ¶
func (s *ComputeResource) SetMaxvCpus(v int64) *ComputeResource
SetMaxvCpus sets the MaxvCpus field's value.
func (*ComputeResource) SetMinvCpus ¶
func (s *ComputeResource) SetMinvCpus(v int64) *ComputeResource
SetMinvCpus sets the MinvCpus field's value.
func (*ComputeResource) SetPlacementGroup ¶
func (s *ComputeResource) SetPlacementGroup(v string) *ComputeResource
SetPlacementGroup sets the PlacementGroup field's value.
func (*ComputeResource) SetSecurityGroupIds ¶
func (s *ComputeResource) SetSecurityGroupIds(v []*string) *ComputeResource
SetSecurityGroupIds sets the SecurityGroupIds field's value.
func (*ComputeResource) SetSpotIamFleetRole ¶
func (s *ComputeResource) SetSpotIamFleetRole(v string) *ComputeResource
SetSpotIamFleetRole sets the SpotIamFleetRole field's value.
func (*ComputeResource) SetSubnets ¶
func (s *ComputeResource) SetSubnets(v []*string) *ComputeResource
SetSubnets sets the Subnets field's value.
func (*ComputeResource) SetTags ¶
func (s *ComputeResource) SetTags(v map[string]*string) *ComputeResource
SetTags sets the Tags field's value.
func (*ComputeResource) SetType ¶
func (s *ComputeResource) SetType(v string) *ComputeResource
SetType sets the Type field's value.
func (ComputeResource) String ¶
func (s ComputeResource) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ComputeResource) Validate ¶
func (s *ComputeResource) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ComputeResourceUpdate ¶
type ComputeResourceUpdate struct { // The allocation strategy to use for the compute resource if there's not enough // instances of the best fitting instance type that can be allocated. This might // be because of availability of the instance type in the Region or Amazon EC2 // service limits (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html). // For more information, see Allocation strategies (https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html) // in the Batch User Guide. // // When updating a compute environment, changing the allocation strategy requires // an infrastructure update of the compute environment. For more information, // see Updating compute environments (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) // in the Batch User Guide. BEST_FIT isn't supported when updating a compute // environment. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. // // BEST_FIT_PROGRESSIVE // // Batch selects additional instance types that are large enough to meet the // requirements of the jobs in the queue. Its preference is for instance types // with lower cost vCPUs. If additional instances of the previously selected // instance types aren't available, Batch selects new instance types. // // SPOT_CAPACITY_OPTIMIZED // // Batch selects one or more instance types that are large enough to meet the // requirements of the jobs in the queue. Its preference is for instance types // that are less likely to be interrupted. This allocation strategy is only // available for Spot Instance compute resources. // // SPOT_PRICE_CAPACITY_OPTIMIZED // // The price and capacity optimized allocation strategy looks at both price // and capacity to select the Spot Instance pools that are the least likely // to be interrupted and have the lowest possible price. This allocation strategy // is only available for Spot Instance compute resources. // // With both BEST_FIT_PROGRESSIVE, SPOT_CAPACITY_OPTIMIZED, and SPOT_PRICE_CAPACITY_OPTIMIZED // strategies using On-Demand or Spot Instances, and the BEST_FIT strategy using // Spot Instances, Batch might need to exceed maxvCpus to meet your capacity // requirements. In this event, Batch never exceeds maxvCpus by more than a // single instance. AllocationStrategy *string `locationName:"allocationStrategy" type:"string" enum:"CRUpdateAllocationStrategy"` // The maximum percentage that a Spot Instance price can be when compared with // the On-Demand price for that instance type before instances are launched. // For example, if your maximum percentage is 20%, the Spot price must be less // than 20% of the current On-Demand price for that Amazon EC2 instance. You // always pay the lowest (market) price and never more than your maximum percentage. // For most use cases, we recommend leaving this field empty. // // When updating a compute environment, changing the bid percentage requires // an infrastructure update of the compute environment. For more information, // see Updating compute environments (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) // in the Batch User Guide. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. BidPercentage *int64 `locationName:"bidPercentage" type:"integer"` // The desired number of vCPUS in the compute environment. Batch modifies this // value between the minimum and maximum values based on job queue demand. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. // // Batch doesn't support changing the desired number of vCPUs of an existing // compute environment. Don't specify this parameter for compute environments // using Amazon EKS clusters. // // When you update the desiredvCpus setting, the value must be between the minvCpus // and maxvCpus values. // // Additionally, the updated desiredvCpus value must be greater than or equal // to the current desiredvCpus value. For more information, see Troubleshooting // Batch (https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#error-desired-vcpus-update) // in the Batch User Guide. DesiredvCpus *int64 `locationName:"desiredvCpus" type:"integer"` // Provides information used to select Amazon Machine Images (AMIs) for EC2 // instances in the compute environment. If Ec2Configuration isn't specified, // the default is ECS_AL2. // // When updating a compute environment, changing this setting requires an infrastructure // update of the compute environment. For more information, see Updating compute // environments (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) // in the Batch User Guide. To remove the EC2 configuration and any custom AMI // ID specified in imageIdOverride, set this value to an empty string. // // One or two values can be provided. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. Ec2Configuration []*Ec2Configuration `locationName:"ec2Configuration" type:"list"` // The Amazon EC2 key pair that's used for instances launched in the compute // environment. You can use this key pair to log in to your instances with SSH. // To remove the Amazon EC2 key pair, set this value to an empty string. // // When updating a compute environment, changing the EC2 key pair requires an // infrastructure update of the compute environment. For more information, see // Updating compute environments (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) // in the Batch User Guide. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. Ec2KeyPair *string `locationName:"ec2KeyPair" type:"string"` // The Amazon Machine Image (AMI) ID used for instances launched in the compute // environment. This parameter is overridden by the imageIdOverride member of // the Ec2Configuration structure. To remove the custom AMI ID and use the default // AMI ID, set this value to an empty string. // // When updating a compute environment, changing the AMI ID requires an infrastructure // update of the compute environment. For more information, see Updating compute // environments (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) // in the Batch User Guide. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. // // The AMI that you choose for a compute environment must match the architecture // of the instance types that you intend to use for that compute environment. // For example, if your compute environment uses A1 instance types, the compute // resource AMI that you choose must support ARM instances. Amazon ECS vends // both x86 and ARM versions of the Amazon ECS-optimized Amazon Linux 2 AMI. // For more information, see Amazon ECS-optimized Amazon Linux 2 AMI (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html) // in the Amazon Elastic Container Service Developer Guide. ImageId *string `locationName:"imageId" type:"string"` // The Amazon ECS instance profile applied to Amazon EC2 instances in a compute // environment. You can specify the short name or full Amazon Resource Name // (ARN) of an instance profile. For example, ecsInstanceRole or arn:aws:iam::<aws_account_id>:instance-profile/ecsInstanceRole // . For more information, see Amazon ECS instance role (https://docs.aws.amazon.com/batch/latest/userguide/instance_IAM_role.html) // in the Batch User Guide. // // When updating a compute environment, changing this setting requires an infrastructure // update of the compute environment. For more information, see Updating compute // environments (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) // in the Batch User Guide. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. InstanceRole *string `locationName:"instanceRole" type:"string"` // The instances types that can be launched. You can specify instance families // to launch any instance type within those families (for example, c5 or p3), // or you can specify specific sizes within a family (such as c5.8xlarge). You // can also choose optimal to select instance types (from the C4, M4, and R4 // instance families) that match the demand of your job queues. // // When updating a compute environment, changing this setting requires an infrastructure // update of the compute environment. For more information, see Updating compute // environments (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) // in the Batch User Guide. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. // // When you create a compute environment, the instance types that you select // for the compute environment must share the same architecture. For example, // you can't mix x86 and ARM instances in the same compute environment. // // Currently, optimal uses instance types from the C4, M4, and R4 instance families. // In Regions that don't have instance types from those instance families, instance // types from the C5, M5, and R5 instance families are used. InstanceTypes []*string `locationName:"instanceTypes" type:"list"` // The updated launch template to use for your compute resources. You must specify // either the launch template ID or launch template name in the request, but // not both. For more information, see Launch template support (https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html) // in the Batch User Guide. To remove the custom launch template and use the // default launch template, set launchTemplateId or launchTemplateName member // of the launch template specification to an empty string. Removing the launch // template from a compute environment will not remove the AMI specified in // the launch template. In order to update the AMI specified in a launch template, // the updateToLatestImageVersion parameter must be set to true. // // When updating a compute environment, changing the launch template requires // an infrastructure update of the compute environment. For more information, // see Updating compute environments (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) // in the Batch User Guide. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. LaunchTemplate *LaunchTemplateSpecification `locationName:"launchTemplate" type:"structure"` // The maximum number of Amazon EC2 vCPUs that an environment can reach. // // With BEST_FIT_PROGRESSIVE, SPOT_CAPACITY_OPTIMIZED, and SPOT_PRICE_CAPACITY_OPTIMIZED // allocation strategies using On-Demand or Spot Instances, and the BEST_FIT // strategy using Spot Instances, Batch might need to exceed maxvCpus to meet // your capacity requirements. In this event, Batch never exceeds maxvCpus by // more than a single instance. That is, no more than a single instance from // among those specified in your compute environment. MaxvCpus *int64 `locationName:"maxvCpus" type:"integer"` // The minimum number of vCPUs that an environment should maintain (even if // the compute environment is DISABLED). // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. MinvCpus *int64 `locationName:"minvCpus" type:"integer"` // The Amazon EC2 placement group to associate with your compute resources. // If you intend to submit multi-node parallel jobs to your compute environment, // you should consider creating a cluster placement group and associate it with // your compute resources. This keeps your multi-node parallel job on a logical // grouping of instances within a single Availability Zone with high network // flow potential. For more information, see Placement groups (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) // in the Amazon EC2 User Guide for Linux Instances. // // When updating a compute environment, changing the placement group requires // an infrastructure update of the compute environment. For more information, // see Updating compute environments (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) // in the Batch User Guide. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. PlacementGroup *string `locationName:"placementGroup" type:"string"` // The Amazon EC2 security groups that are associated with instances launched // in the compute environment. This parameter is required for Fargate compute // resources, where it can contain up to 5 security groups. For Fargate compute // resources, providing an empty list is handled as if this parameter wasn't // specified and no change is made. For EC2 compute resources, providing an // empty list removes the security groups from the compute resource. // // When updating a compute environment, changing the EC2 security groups requires // an infrastructure update of the compute environment. For more information, // see Updating compute environments (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) // in the Batch User Guide. SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"` // The VPC subnets where the compute resources are launched. Fargate compute // resources can contain up to 16 subnets. For Fargate compute resources, providing // an empty list will be handled as if this parameter wasn't specified and no // change is made. For EC2 compute resources, providing an empty list removes // the VPC subnets from the compute resource. For more information, see VPCs // and subnets (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html) // in the Amazon VPC User Guide. // // When updating a compute environment, changing the VPC subnets requires an // infrastructure update of the compute environment. For more information, see // Updating compute environments (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) // in the Batch User Guide. // // Batch on Amazon EC2 and Batch on Amazon EKS support Local Zones. For more // information, see Local Zones (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-local-zones) // in the Amazon EC2 User Guide for Linux Instances, Amazon EKS and Amazon Web // Services Local Zones (https://docs.aws.amazon.com/eks/latest/userguide/local-zones.html) // in the Amazon EKS User Guide and Amazon ECS clusters in Local Zones, Wavelength // Zones, and Amazon Web Services Outposts (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-regions-zones.html#clusters-local-zones) // in the Amazon ECS Developer Guide. // // Batch on Fargate doesn't currently support Local Zones. Subnets []*string `locationName:"subnets" type:"list"` // Key-value pair tags to be applied to EC2 resources that are launched in the // compute environment. For Batch, these take the form of "String1": "String2", // where String1 is the tag key and String2 is the tag value-for example, { // "Name": "Batch Instance - C4OnDemand" }. This is helpful for recognizing // your Batch instances in the Amazon EC2 console. These tags aren't seen when // using the Batch ListTagsForResource API operation. // // When updating a compute environment, changing this setting requires an infrastructure // update of the compute environment. For more information, see Updating compute // environments (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) // in the Batch User Guide. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. Tags map[string]*string `locationName:"tags" type:"map"` // The type of compute environment: EC2, SPOT, FARGATE, or FARGATE_SPOT. For // more information, see Compute environments (https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) // in the Batch User Guide. // // If you choose SPOT, you must also specify an Amazon EC2 Spot Fleet role with // the spotIamFleetRole parameter. For more information, see Amazon EC2 spot // fleet role (https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html) // in the Batch User Guide. // // When updating a compute environment, changing the type of a compute environment // requires an infrastructure update of the compute environment. For more information, // see Updating compute environments (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) // in the Batch User Guide. Type *string `locationName:"type" type:"string" enum:"CRType"` // Specifies whether the AMI ID is updated to the latest one that's supported // by Batch when the compute environment has an infrastructure update. The default // value is false. // // An AMI ID can either be specified in the imageId or imageIdOverride parameters // or be determined by the launch template that's specified in the launchTemplate // parameter. If an AMI ID is specified any of these ways, this parameter is // ignored. For more information about to update AMI IDs during an infrastructure // update, see Updating the AMI ID (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html#updating-compute-environments-ami) // in the Batch User Guide. // // When updating a compute environment, changing this setting requires an infrastructure // update of the compute environment. For more information, see Updating compute // environments (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) // in the Batch User Guide. UpdateToLatestImageVersion *bool `locationName:"updateToLatestImageVersion" type:"boolean"` // contains filtered or unexported fields }
An object that represents the attributes of a compute environment that can be updated. For more information, see Updating compute environments (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the Batch User Guide.
func (ComputeResourceUpdate) GoString ¶
func (s ComputeResourceUpdate) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ComputeResourceUpdate) SetAllocationStrategy ¶
func (s *ComputeResourceUpdate) SetAllocationStrategy(v string) *ComputeResourceUpdate
SetAllocationStrategy sets the AllocationStrategy field's value.
func (*ComputeResourceUpdate) SetBidPercentage ¶
func (s *ComputeResourceUpdate) SetBidPercentage(v int64) *ComputeResourceUpdate
SetBidPercentage sets the BidPercentage field's value.
func (*ComputeResourceUpdate) SetDesiredvCpus ¶
func (s *ComputeResourceUpdate) SetDesiredvCpus(v int64) *ComputeResourceUpdate
SetDesiredvCpus sets the DesiredvCpus field's value.
func (*ComputeResourceUpdate) SetEc2Configuration ¶
func (s *ComputeResourceUpdate) SetEc2Configuration(v []*Ec2Configuration) *ComputeResourceUpdate
SetEc2Configuration sets the Ec2Configuration field's value.
func (*ComputeResourceUpdate) SetEc2KeyPair ¶
func (s *ComputeResourceUpdate) SetEc2KeyPair(v string) *ComputeResourceUpdate
SetEc2KeyPair sets the Ec2KeyPair field's value.
func (*ComputeResourceUpdate) SetImageId ¶
func (s *ComputeResourceUpdate) SetImageId(v string) *ComputeResourceUpdate
SetImageId sets the ImageId field's value.
func (*ComputeResourceUpdate) SetInstanceRole ¶
func (s *ComputeResourceUpdate) SetInstanceRole(v string) *ComputeResourceUpdate
SetInstanceRole sets the InstanceRole field's value.
func (*ComputeResourceUpdate) SetInstanceTypes ¶
func (s *ComputeResourceUpdate) SetInstanceTypes(v []*string) *ComputeResourceUpdate
SetInstanceTypes sets the InstanceTypes field's value.
func (*ComputeResourceUpdate) SetLaunchTemplate ¶
func (s *ComputeResourceUpdate) SetLaunchTemplate(v *LaunchTemplateSpecification) *ComputeResourceUpdate
SetLaunchTemplate sets the LaunchTemplate field's value.
func (*ComputeResourceUpdate) SetMaxvCpus ¶
func (s *ComputeResourceUpdate) SetMaxvCpus(v int64) *ComputeResourceUpdate
SetMaxvCpus sets the MaxvCpus field's value.
func (*ComputeResourceUpdate) SetMinvCpus ¶
func (s *ComputeResourceUpdate) SetMinvCpus(v int64) *ComputeResourceUpdate
SetMinvCpus sets the MinvCpus field's value.
func (*ComputeResourceUpdate) SetPlacementGroup ¶
func (s *ComputeResourceUpdate) SetPlacementGroup(v string) *ComputeResourceUpdate
SetPlacementGroup sets the PlacementGroup field's value.
func (*ComputeResourceUpdate) SetSecurityGroupIds ¶
func (s *ComputeResourceUpdate) SetSecurityGroupIds(v []*string) *ComputeResourceUpdate
SetSecurityGroupIds sets the SecurityGroupIds field's value.
func (*ComputeResourceUpdate) SetSubnets ¶
func (s *ComputeResourceUpdate) SetSubnets(v []*string) *ComputeResourceUpdate
SetSubnets sets the Subnets field's value.
func (*ComputeResourceUpdate) SetTags ¶
func (s *ComputeResourceUpdate) SetTags(v map[string]*string) *ComputeResourceUpdate
SetTags sets the Tags field's value.
func (*ComputeResourceUpdate) SetType ¶
func (s *ComputeResourceUpdate) SetType(v string) *ComputeResourceUpdate
SetType sets the Type field's value.
func (*ComputeResourceUpdate) SetUpdateToLatestImageVersion ¶
func (s *ComputeResourceUpdate) SetUpdateToLatestImageVersion(v bool) *ComputeResourceUpdate
SetUpdateToLatestImageVersion sets the UpdateToLatestImageVersion field's value.
func (ComputeResourceUpdate) String ¶
func (s ComputeResourceUpdate) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ComputeResourceUpdate) Validate ¶
func (s *ComputeResourceUpdate) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ContainerDetail ¶
type ContainerDetail struct { // The command that's passed to the container. Command []*string `locationName:"command" type:"list"` // The Amazon Resource Name (ARN) of the container instance that the container // is running on. ContainerInstanceArn *string `locationName:"containerInstanceArn" type:"string"` // The environment variables to pass to a container. // // Environment variables cannot start with "AWS_BATCH". This naming convention // is reserved for variables that Batch sets. Environment []*KeyValuePair `locationName:"environment" type:"list"` // The amount of ephemeral storage allocated for the task. This parameter is // used to expand the total amount of ephemeral storage available, beyond the // default amount, for tasks hosted on Fargate. EphemeralStorage *EphemeralStorage `locationName:"ephemeralStorage" type:"structure"` // The Amazon Resource Name (ARN) of the execution role that Batch can assume. // For more information, see Batch execution IAM role (https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html) // in the Batch User Guide. ExecutionRoleArn *string `locationName:"executionRoleArn" type:"string"` // The exit code to return upon completion. ExitCode *int64 `locationName:"exitCode" type:"integer"` // The platform configuration for jobs that are running on Fargate resources. // Jobs that are running on EC2 resources must not specify this parameter. FargatePlatformConfiguration *FargatePlatformConfiguration `locationName:"fargatePlatformConfiguration" type:"structure"` // The image used to start the container. Image *string `locationName:"image" type:"string"` // The instance type of the underlying host infrastructure of a multi-node parallel // job. // // This parameter isn't applicable to jobs that are running on Fargate resources. InstanceType *string `locationName:"instanceType" type:"string"` // The Amazon Resource Name (ARN) that's associated with the job when run. JobRoleArn *string `locationName:"jobRoleArn" type:"string"` // Linux-specific modifications that are applied to the container, such as details // for device mappings. LinuxParameters *LinuxParameters `locationName:"linuxParameters" type:"structure"` // The log configuration specification for the container. // // This parameter maps to LogConfig in the Create a container (https://docs.docker.com/engine/api/v1.23/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/api/v1.23/) // and the --log-driver option to docker run (https://docs.docker.com/engine/reference/run/). // By default, containers use the same logging driver that the Docker daemon // uses. However, the container might use a different logging driver than the // Docker daemon by specifying a log driver with this parameter in the container // definition. To use a different logging driver for a container, the log system // must be configured properly on the container instance. Or, alternatively, // it must be configured on a different log server for remote logging options. // For more information on the options for different supported log drivers, // see Configure logging drivers (https://docs.docker.com/engine/admin/logging/overview/) // in the Docker documentation. // // Batch currently supports a subset of the logging drivers available to the // Docker daemon (shown in the LogConfiguration data type). Additional log drivers // might be available in future releases of the Amazon ECS container agent. // // This parameter requires version 1.18 of the Docker Remote API or greater // on your container instance. To check the Docker Remote API version on your // container instance, log in to your container instance and run the following // command: sudo docker version | grep "Server API version" // // The Amazon ECS container agent running on a container instance must register // the logging drivers available on that instance with the ECS_AVAILABLE_LOGGING_DRIVERS // environment variable before containers placed on that instance can use these // log configuration options. For more information, see Amazon ECS container // agent configuration (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) // in the Amazon Elastic Container Service Developer Guide. LogConfiguration *LogConfiguration `locationName:"logConfiguration" type:"structure"` // The name of the Amazon CloudWatch Logs log stream that's associated with // the container. The log group for Batch jobs is /aws/batch/job. Each container // attempt receives a log stream name when they reach the RUNNING status. LogStreamName *string `locationName:"logStreamName" type:"string"` // For jobs running on EC2 resources that didn't specify memory requirements // using resourceRequirements, the number of MiB of memory reserved for the // job. For other jobs, including all run on Fargate resources, see resourceRequirements. Memory *int64 `locationName:"memory" type:"integer"` // The mount points for data volumes in your container. MountPoints []*MountPoint `locationName:"mountPoints" type:"list"` // The network configuration for jobs that are running on Fargate resources. // Jobs that are running on EC2 resources must not specify this parameter. NetworkConfiguration *NetworkConfiguration `locationName:"networkConfiguration" type:"structure"` // The network interfaces that are associated with the job. NetworkInterfaces []*NetworkInterface `locationName:"networkInterfaces" type:"list"` // When this parameter is true, the container is given elevated permissions // on the host container instance (similar to the root user). The default value // is false. // // This parameter isn't applicable to jobs that are running on Fargate resources // and shouldn't be provided, or specified as false. Privileged *bool `locationName:"privileged" type:"boolean"` // When this parameter is true, the container is given read-only access to its // root file system. This parameter maps to ReadonlyRootfs in the Create a container // (https://docs.docker.com/engine/api/v1.23/#create-a-container) section of // the Docker Remote API (https://docs.docker.com/engine/api/v1.23/) and the // --read-only option to docker run (https://docs.docker.com/engine/reference/commandline/run/). ReadonlyRootFilesystem *bool `locationName:"readonlyRootFilesystem" type:"boolean"` // A short (255 max characters) human-readable string to provide additional // details for a running or stopped container. Reason *string `locationName:"reason" type:"string"` // The type and amount of resources to assign to a container. The supported // resources include GPU, MEMORY, and VCPU. ResourceRequirements []*ResourceRequirement `locationName:"resourceRequirements" type:"list"` // An object that represents the compute environment architecture for Batch // jobs on Fargate. RuntimePlatform *RuntimePlatform `locationName:"runtimePlatform" type:"structure"` // The secrets to pass to the container. For more information, see Specifying // sensitive data (https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html) // in the Batch User Guide. Secrets []*Secret `locationName:"secrets" type:"list"` // The Amazon Resource Name (ARN) of the Amazon ECS task that's associated with // the container job. Each container attempt receives a task ARN when they reach // the STARTING status. TaskArn *string `locationName:"taskArn" type:"string"` // A list of ulimit values to set in the container. This parameter maps to Ulimits // in the Create a container (https://docs.docker.com/engine/api/v1.23/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/api/v1.23/) // and the --ulimit option to docker run (https://docs.docker.com/engine/reference/run/). // // This parameter isn't applicable to jobs that are running on Fargate resources. Ulimits []*Ulimit `locationName:"ulimits" type:"list"` // The user name to use inside the container. This parameter maps to User in // the Create a container (https://docs.docker.com/engine/api/v1.23/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/api/v1.23/) // and the --user option to docker run (https://docs.docker.com/engine/reference/run/). User *string `locationName:"user" type:"string"` // The number of vCPUs reserved for the container. For jobs that run on EC2 // resources, you can specify the vCPU requirement for the job using resourceRequirements, // but you can't specify the vCPU requirements in both the vcpus and resourceRequirements // object. This parameter maps to CpuShares in the Create a container (https://docs.docker.com/engine/api/v1.23/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/api/v1.23/) // and the --cpu-shares option to docker run (https://docs.docker.com/engine/reference/run/). // Each vCPU is equivalent to 1,024 CPU shares. You must specify at least one // vCPU. This is required but can be specified in several places. It must be // specified for each node at least once. // // This parameter isn't applicable to jobs that run on Fargate resources. For // jobs that run on Fargate resources, you must specify the vCPU requirement // for the job using resourceRequirements. Vcpus *int64 `locationName:"vcpus" type:"integer"` // A list of volumes that are associated with the job. Volumes []*Volume `locationName:"volumes" type:"list"` // contains filtered or unexported fields }
An object that represents the details of a container that's part of a job.
func (ContainerDetail) GoString ¶
func (s ContainerDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ContainerDetail) SetCommand ¶
func (s *ContainerDetail) SetCommand(v []*string) *ContainerDetail
SetCommand sets the Command field's value.
func (*ContainerDetail) SetContainerInstanceArn ¶
func (s *ContainerDetail) SetContainerInstanceArn(v string) *ContainerDetail
SetContainerInstanceArn sets the ContainerInstanceArn field's value.
func (*ContainerDetail) SetEnvironment ¶
func (s *ContainerDetail) SetEnvironment(v []*KeyValuePair) *ContainerDetail
SetEnvironment sets the Environment field's value.
func (*ContainerDetail) SetEphemeralStorage ¶
func (s *ContainerDetail) SetEphemeralStorage(v *EphemeralStorage) *ContainerDetail
SetEphemeralStorage sets the EphemeralStorage field's value.
func (*ContainerDetail) SetExecutionRoleArn ¶
func (s *ContainerDetail) SetExecutionRoleArn(v string) *ContainerDetail
SetExecutionRoleArn sets the ExecutionRoleArn field's value.
func (*ContainerDetail) SetExitCode ¶
func (s *ContainerDetail) SetExitCode(v int64) *ContainerDetail
SetExitCode sets the ExitCode field's value.
func (*ContainerDetail) SetFargatePlatformConfiguration ¶
func (s *ContainerDetail) SetFargatePlatformConfiguration(v *FargatePlatformConfiguration) *ContainerDetail
SetFargatePlatformConfiguration sets the FargatePlatformConfiguration field's value.
func (*ContainerDetail) SetImage ¶
func (s *ContainerDetail) SetImage(v string) *ContainerDetail
SetImage sets the Image field's value.
func (*ContainerDetail) SetInstanceType ¶
func (s *ContainerDetail) SetInstanceType(v string) *ContainerDetail
SetInstanceType sets the InstanceType field's value.
func (*ContainerDetail) SetJobRoleArn ¶
func (s *ContainerDetail) SetJobRoleArn(v string) *ContainerDetail
SetJobRoleArn sets the JobRoleArn field's value.
func (*ContainerDetail) SetLinuxParameters ¶
func (s *ContainerDetail) SetLinuxParameters(v *LinuxParameters) *ContainerDetail
SetLinuxParameters sets the LinuxParameters field's value.
func (*ContainerDetail) SetLogConfiguration ¶
func (s *ContainerDetail) SetLogConfiguration(v *LogConfiguration) *ContainerDetail
SetLogConfiguration sets the LogConfiguration field's value.
func (*ContainerDetail) SetLogStreamName ¶
func (s *ContainerDetail) SetLogStreamName(v string) *ContainerDetail
SetLogStreamName sets the LogStreamName field's value.
func (*ContainerDetail) SetMemory ¶
func (s *ContainerDetail) SetMemory(v int64) *ContainerDetail
SetMemory sets the Memory field's value.
func (*ContainerDetail) SetMountPoints ¶
func (s *ContainerDetail) SetMountPoints(v []*MountPoint) *ContainerDetail
SetMountPoints sets the MountPoints field's value.
func (*ContainerDetail) SetNetworkConfiguration ¶
func (s *ContainerDetail) SetNetworkConfiguration(v *NetworkConfiguration) *ContainerDetail
SetNetworkConfiguration sets the NetworkConfiguration field's value.
func (*ContainerDetail) SetNetworkInterfaces ¶
func (s *ContainerDetail) SetNetworkInterfaces(v []*NetworkInterface) *ContainerDetail
SetNetworkInterfaces sets the NetworkInterfaces field's value.
func (*ContainerDetail) SetPrivileged ¶
func (s *ContainerDetail) SetPrivileged(v bool) *ContainerDetail
SetPrivileged sets the Privileged field's value.
func (*ContainerDetail) SetReadonlyRootFilesystem ¶
func (s *ContainerDetail) SetReadonlyRootFilesystem(v bool) *ContainerDetail
SetReadonlyRootFilesystem sets the ReadonlyRootFilesystem field's value.
func (*ContainerDetail) SetReason ¶
func (s *ContainerDetail) SetReason(v string) *ContainerDetail
SetReason sets the Reason field's value.
func (*ContainerDetail) SetResourceRequirements ¶
func (s *ContainerDetail) SetResourceRequirements(v []*ResourceRequirement) *ContainerDetail
SetResourceRequirements sets the ResourceRequirements field's value.
func (*ContainerDetail) SetRuntimePlatform ¶
func (s *ContainerDetail) SetRuntimePlatform(v *RuntimePlatform) *ContainerDetail
SetRuntimePlatform sets the RuntimePlatform field's value.
func (*ContainerDetail) SetSecrets ¶
func (s *ContainerDetail) SetSecrets(v []*Secret) *ContainerDetail
SetSecrets sets the Secrets field's value.
func (*ContainerDetail) SetTaskArn ¶
func (s *ContainerDetail) SetTaskArn(v string) *ContainerDetail
SetTaskArn sets the TaskArn field's value.
func (*ContainerDetail) SetUlimits ¶
func (s *ContainerDetail) SetUlimits(v []*Ulimit) *ContainerDetail
SetUlimits sets the Ulimits field's value.
func (*ContainerDetail) SetUser ¶
func (s *ContainerDetail) SetUser(v string) *ContainerDetail
SetUser sets the User field's value.
func (*ContainerDetail) SetVcpus ¶
func (s *ContainerDetail) SetVcpus(v int64) *ContainerDetail
SetVcpus sets the Vcpus field's value.
func (*ContainerDetail) SetVolumes ¶
func (s *ContainerDetail) SetVolumes(v []*Volume) *ContainerDetail
SetVolumes sets the Volumes field's value.
func (ContainerDetail) String ¶
func (s ContainerDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ContainerOverrides ¶
type ContainerOverrides struct { // The command to send to the container that overrides the default command from // the Docker image or the job definition. // // This parameter can't contain an empty string. Command []*string `locationName:"command" type:"list"` // The environment variables to send to the container. You can add new environment // variables, which are added to the container at launch, or you can override // the existing environment variables from the Docker image or the job definition. // // Environment variables cannot start with "AWS_BATCH". This naming convention // is reserved for variables that Batch sets. Environment []*KeyValuePair `locationName:"environment" type:"list"` // The instance type to use for a multi-node parallel job. // // This parameter isn't applicable to single-node container jobs or jobs that // run on Fargate resources, and shouldn't be provided. InstanceType *string `locationName:"instanceType" type:"string"` // This parameter is deprecated, use resourceRequirements to override the memory // requirements specified in the job definition. It's not supported for jobs // running on Fargate resources. For jobs that run on EC2 resources, it overrides // the memory parameter set in the job definition, but doesn't override any // memory requirement that's specified in the resourceRequirements structure // in the job definition. To override memory requirements that are specified // in the resourceRequirements structure in the job definition, resourceRequirements // must be specified in the SubmitJob request, with type set to MEMORY and value // set to the new value. For more information, see Can't override job definition // resource requirements (https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#override-resource-requirements) // in the Batch User Guide. // // Deprecated: This field is deprecated, use resourceRequirements instead. Memory *int64 `locationName:"memory" deprecated:"true" type:"integer"` // The type and amount of resources to assign to a container. This overrides // the settings in the job definition. The supported resources include GPU, // MEMORY, and VCPU. ResourceRequirements []*ResourceRequirement `locationName:"resourceRequirements" type:"list"` // This parameter is deprecated, use resourceRequirements to override the vcpus // parameter that's set in the job definition. It's not supported for jobs running // on Fargate resources. For jobs that run on EC2 resources, it overrides the // vcpus parameter set in the job definition, but doesn't override any vCPU // requirement specified in the resourceRequirements structure in the job definition. // To override vCPU requirements that are specified in the resourceRequirements // structure in the job definition, resourceRequirements must be specified in // the SubmitJob request, with type set to VCPU and value set to the new value. // For more information, see Can't override job definition resource requirements // (https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#override-resource-requirements) // in the Batch User Guide. // // Deprecated: This field is deprecated, use resourceRequirements instead. Vcpus *int64 `locationName:"vcpus" deprecated:"true" type:"integer"` // contains filtered or unexported fields }
The overrides that should be sent to a container.
For information about using Batch overrides when you connect event sources to targets, see BatchContainerOverrides (https://docs.aws.amazon.com/eventbridge/latest/pipes-reference/API_BatchContainerOverrides.html).
func (ContainerOverrides) GoString ¶
func (s ContainerOverrides) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ContainerOverrides) SetCommand ¶
func (s *ContainerOverrides) SetCommand(v []*string) *ContainerOverrides
SetCommand sets the Command field's value.
func (*ContainerOverrides) SetEnvironment ¶
func (s *ContainerOverrides) SetEnvironment(v []*KeyValuePair) *ContainerOverrides
SetEnvironment sets the Environment field's value.
func (*ContainerOverrides) SetInstanceType ¶
func (s *ContainerOverrides) SetInstanceType(v string) *ContainerOverrides
SetInstanceType sets the InstanceType field's value.
func (*ContainerOverrides) SetMemory ¶
func (s *ContainerOverrides) SetMemory(v int64) *ContainerOverrides
SetMemory sets the Memory field's value.
func (*ContainerOverrides) SetResourceRequirements ¶
func (s *ContainerOverrides) SetResourceRequirements(v []*ResourceRequirement) *ContainerOverrides
SetResourceRequirements sets the ResourceRequirements field's value.
func (*ContainerOverrides) SetVcpus ¶
func (s *ContainerOverrides) SetVcpus(v int64) *ContainerOverrides
SetVcpus sets the Vcpus field's value.
func (ContainerOverrides) String ¶
func (s ContainerOverrides) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ContainerOverrides) Validate ¶
func (s *ContainerOverrides) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ContainerProperties ¶
type ContainerProperties struct { // The command that's passed to the container. This parameter maps to Cmd in // the Create a container (https://docs.docker.com/engine/api/v1.23/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/api/v1.23/) // and the COMMAND parameter to docker run (https://docs.docker.com/engine/reference/run/). // For more information, see https://docs.docker.com/engine/reference/builder/#cmd // (https://docs.docker.com/engine/reference/builder/#cmd). Command []*string `locationName:"command" type:"list"` // The environment variables to pass to a container. This parameter maps to // Env in the Create a container (https://docs.docker.com/engine/api/v1.23/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/api/v1.23/) // and the --env option to docker run (https://docs.docker.com/engine/reference/run/). // // We don't recommend using plaintext environment variables for sensitive information, // such as credential data. // // Environment variables cannot start with "AWS_BATCH". This naming convention // is reserved for variables that Batch sets. Environment []*KeyValuePair `locationName:"environment" type:"list"` // The amount of ephemeral storage to allocate for the task. This parameter // is used to expand the total amount of ephemeral storage available, beyond // the default amount, for tasks hosted on Fargate. EphemeralStorage *EphemeralStorage `locationName:"ephemeralStorage" type:"structure"` // The Amazon Resource Name (ARN) of the execution role that Batch can assume. // For jobs that run on Fargate resources, you must provide an execution role. // For more information, see Batch execution IAM role (https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html) // in the Batch User Guide. ExecutionRoleArn *string `locationName:"executionRoleArn" type:"string"` // The platform configuration for jobs that are running on Fargate resources. // Jobs that are running on EC2 resources must not specify this parameter. FargatePlatformConfiguration *FargatePlatformConfiguration `locationName:"fargatePlatformConfiguration" type:"structure"` // The image used to start a container. This string is passed directly to the // Docker daemon. Images in the Docker Hub registry are available by default. // Other repositories are specified with repository-url/image:tag . It can be // 255 characters long. It can contain uppercase and lowercase letters, numbers, // hyphens (-), underscores (_), colons (:), periods (.), forward slashes (/), // and number signs (#). This parameter maps to Image in the Create a container // (https://docs.docker.com/engine/api/v1.23/#create-a-container) section of // the Docker Remote API (https://docs.docker.com/engine/api/v1.23/) and the // IMAGE parameter of docker run (https://docs.docker.com/engine/reference/run/). // // Docker image architecture must match the processor architecture of the compute // resources that they're scheduled on. For example, ARM-based Docker images // can only run on ARM-based compute resources. // // * Images in Amazon ECR Public repositories use the full registry/repository[:tag] // or registry/repository[@digest] naming conventions. For example, public.ecr.aws/registry_alias/my-web-app:latest . // // * Images in Amazon ECR repositories use the full registry and repository // URI (for example, 123456789012.dkr.ecr.<region-name>.amazonaws.com/<repository-name>). // // * Images in official repositories on Docker Hub use a single name (for // example, ubuntu or mongo). // // * Images in other repositories on Docker Hub are qualified with an organization // name (for example, amazon/amazon-ecs-agent). // // * Images in other online repositories are qualified further by a domain // name (for example, quay.io/assemblyline/ubuntu). Image *string `locationName:"image" type:"string"` // The instance type to use for a multi-node parallel job. All node groups in // a multi-node parallel job must use the same instance type. // // This parameter isn't applicable to single-node container jobs or jobs that // run on Fargate resources, and shouldn't be provided. InstanceType *string `locationName:"instanceType" type:"string"` // The Amazon Resource Name (ARN) of the IAM role that the container can assume // for Amazon Web Services permissions. For more information, see IAM roles // for tasks (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html) // in the Amazon Elastic Container Service Developer Guide. JobRoleArn *string `locationName:"jobRoleArn" type:"string"` // Linux-specific modifications that are applied to the container, such as details // for device mappings. LinuxParameters *LinuxParameters `locationName:"linuxParameters" type:"structure"` // The log configuration specification for the container. // // This parameter maps to LogConfig in the Create a container (https://docs.docker.com/engine/api/v1.23/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/api/v1.23/) // and the --log-driver option to docker run (https://docs.docker.com/engine/reference/run/). // By default, containers use the same logging driver that the Docker daemon // uses. However the container might use a different logging driver than the // Docker daemon by specifying a log driver with this parameter in the container // definition. To use a different logging driver for a container, the log system // must be configured properly on the container instance (or on a different // log server for remote logging options). For more information on the options // for different supported log drivers, see Configure logging drivers (https://docs.docker.com/engine/admin/logging/overview/) // in the Docker documentation. // // Batch currently supports a subset of the logging drivers available to the // Docker daemon (shown in the LogConfiguration data type). // // This parameter requires version 1.18 of the Docker Remote API or greater // on your container instance. To check the Docker Remote API version on your // container instance, log in to your container instance and run the following // command: sudo docker version | grep "Server API version" // // The Amazon ECS container agent running on a container instance must register // the logging drivers available on that instance with the ECS_AVAILABLE_LOGGING_DRIVERS // environment variable before containers placed on that instance can use these // log configuration options. For more information, see Amazon ECS container // agent configuration (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) // in the Amazon Elastic Container Service Developer Guide. LogConfiguration *LogConfiguration `locationName:"logConfiguration" type:"structure"` // This parameter is deprecated, use resourceRequirements to specify the memory // requirements for the job definition. It's not supported for jobs running // on Fargate resources. For jobs that run on EC2 resources, it specifies the // memory hard limit (in MiB) for a container. If your container attempts to // exceed the specified number, it's terminated. You must specify at least 4 // MiB of memory for a job using this parameter. The memory hard limit can be // specified in several places. It must be specified for each node at least // once. // // Deprecated: This field is deprecated, use resourceRequirements instead. Memory *int64 `locationName:"memory" deprecated:"true" type:"integer"` // The mount points for data volumes in your container. This parameter maps // to Volumes in the Create a container (https://docs.docker.com/engine/api/v1.23/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/api/v1.23/) // and the --volume option to docker run (https://docs.docker.com/engine/reference/run/). MountPoints []*MountPoint `locationName:"mountPoints" type:"list"` // The network configuration for jobs that are running on Fargate resources. // Jobs that are running on EC2 resources must not specify this parameter. NetworkConfiguration *NetworkConfiguration `locationName:"networkConfiguration" type:"structure"` // When this parameter is true, the container is given elevated permissions // on the host container instance (similar to the root user). This parameter // maps to Privileged in the Create a container (https://docs.docker.com/engine/api/v1.23/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/api/v1.23/) // and the --privileged option to docker run (https://docs.docker.com/engine/reference/run/). // The default value is false. // // This parameter isn't applicable to jobs that are running on Fargate resources // and shouldn't be provided, or specified as false. Privileged *bool `locationName:"privileged" type:"boolean"` // When this parameter is true, the container is given read-only access to its // root file system. This parameter maps to ReadonlyRootfs in the Create a container // (https://docs.docker.com/engine/api/v1.23/#create-a-container) section of // the Docker Remote API (https://docs.docker.com/engine/api/v1.23/) and the // --read-only option to docker run. ReadonlyRootFilesystem *bool `locationName:"readonlyRootFilesystem" type:"boolean"` // The type and amount of resources to assign to a container. The supported // resources include GPU, MEMORY, and VCPU. ResourceRequirements []*ResourceRequirement `locationName:"resourceRequirements" type:"list"` // An object that represents the compute environment architecture for Batch // jobs on Fargate. RuntimePlatform *RuntimePlatform `locationName:"runtimePlatform" type:"structure"` // The secrets for the container. For more information, see Specifying sensitive // data (https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html) // in the Batch User Guide. Secrets []*Secret `locationName:"secrets" type:"list"` // A list of ulimits to set in the container. This parameter maps to Ulimits // in the Create a container (https://docs.docker.com/engine/api/v1.23/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/api/v1.23/) // and the --ulimit option to docker run (https://docs.docker.com/engine/reference/run/). // // This parameter isn't applicable to jobs that are running on Fargate resources // and shouldn't be provided. Ulimits []*Ulimit `locationName:"ulimits" type:"list"` // The user name to use inside the container. This parameter maps to User in // the Create a container (https://docs.docker.com/engine/api/v1.23/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/api/v1.23/) // and the --user option to docker run (https://docs.docker.com/engine/reference/run/). User *string `locationName:"user" type:"string"` // This parameter is deprecated, use resourceRequirements to specify the vCPU // requirements for the job definition. It's not supported for jobs running // on Fargate resources. For jobs running on EC2 resources, it specifies the // number of vCPUs reserved for the job. // // Each vCPU is equivalent to 1,024 CPU shares. This parameter maps to CpuShares // in the Create a container (https://docs.docker.com/engine/api/v1.23/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/api/v1.23/) // and the --cpu-shares option to docker run (https://docs.docker.com/engine/reference/run/). // The number of vCPUs must be specified but can be specified in several places. // You must specify it at least once for each node. // // Deprecated: This field is deprecated, use resourceRequirements instead. Vcpus *int64 `locationName:"vcpus" deprecated:"true" type:"integer"` // A list of data volumes used in a job. Volumes []*Volume `locationName:"volumes" type:"list"` // contains filtered or unexported fields }
Container properties are used for Amazon ECS based job definitions. These properties to describe the container that's launched as part of a job.
func (ContainerProperties) GoString ¶
func (s ContainerProperties) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ContainerProperties) SetCommand ¶
func (s *ContainerProperties) SetCommand(v []*string) *ContainerProperties
SetCommand sets the Command field's value.
func (*ContainerProperties) SetEnvironment ¶
func (s *ContainerProperties) SetEnvironment(v []*KeyValuePair) *ContainerProperties
SetEnvironment sets the Environment field's value.
func (*ContainerProperties) SetEphemeralStorage ¶
func (s *ContainerProperties) SetEphemeralStorage(v *EphemeralStorage) *ContainerProperties
SetEphemeralStorage sets the EphemeralStorage field's value.
func (*ContainerProperties) SetExecutionRoleArn ¶
func (s *ContainerProperties) SetExecutionRoleArn(v string) *ContainerProperties
SetExecutionRoleArn sets the ExecutionRoleArn field's value.
func (*ContainerProperties) SetFargatePlatformConfiguration ¶
func (s *ContainerProperties) SetFargatePlatformConfiguration(v *FargatePlatformConfiguration) *ContainerProperties
SetFargatePlatformConfiguration sets the FargatePlatformConfiguration field's value.
func (*ContainerProperties) SetImage ¶
func (s *ContainerProperties) SetImage(v string) *ContainerProperties
SetImage sets the Image field's value.
func (*ContainerProperties) SetInstanceType ¶
func (s *ContainerProperties) SetInstanceType(v string) *ContainerProperties
SetInstanceType sets the InstanceType field's value.
func (*ContainerProperties) SetJobRoleArn ¶
func (s *ContainerProperties) SetJobRoleArn(v string) *ContainerProperties
SetJobRoleArn sets the JobRoleArn field's value.
func (*ContainerProperties) SetLinuxParameters ¶
func (s *ContainerProperties) SetLinuxParameters(v *LinuxParameters) *ContainerProperties
SetLinuxParameters sets the LinuxParameters field's value.
func (*ContainerProperties) SetLogConfiguration ¶
func (s *ContainerProperties) SetLogConfiguration(v *LogConfiguration) *ContainerProperties
SetLogConfiguration sets the LogConfiguration field's value.
func (*ContainerProperties) SetMemory ¶
func (s *ContainerProperties) SetMemory(v int64) *ContainerProperties
SetMemory sets the Memory field's value.
func (*ContainerProperties) SetMountPoints ¶
func (s *ContainerProperties) SetMountPoints(v []*MountPoint) *ContainerProperties
SetMountPoints sets the MountPoints field's value.
func (*ContainerProperties) SetNetworkConfiguration ¶
func (s *ContainerProperties) SetNetworkConfiguration(v *NetworkConfiguration) *ContainerProperties
SetNetworkConfiguration sets the NetworkConfiguration field's value.
func (*ContainerProperties) SetPrivileged ¶
func (s *ContainerProperties) SetPrivileged(v bool) *ContainerProperties
SetPrivileged sets the Privileged field's value.
func (*ContainerProperties) SetReadonlyRootFilesystem ¶
func (s *ContainerProperties) SetReadonlyRootFilesystem(v bool) *ContainerProperties
SetReadonlyRootFilesystem sets the ReadonlyRootFilesystem field's value.
func (*ContainerProperties) SetResourceRequirements ¶
func (s *ContainerProperties) SetResourceRequirements(v []*ResourceRequirement) *ContainerProperties
SetResourceRequirements sets the ResourceRequirements field's value.
func (*ContainerProperties) SetRuntimePlatform ¶
func (s *ContainerProperties) SetRuntimePlatform(v *RuntimePlatform) *ContainerProperties
SetRuntimePlatform sets the RuntimePlatform field's value.
func (*ContainerProperties) SetSecrets ¶
func (s *ContainerProperties) SetSecrets(v []*Secret) *ContainerProperties
SetSecrets sets the Secrets field's value.
func (*ContainerProperties) SetUlimits ¶
func (s *ContainerProperties) SetUlimits(v []*Ulimit) *ContainerProperties
SetUlimits sets the Ulimits field's value.
func (*ContainerProperties) SetUser ¶
func (s *ContainerProperties) SetUser(v string) *ContainerProperties
SetUser sets the User field's value.
func (*ContainerProperties) SetVcpus ¶
func (s *ContainerProperties) SetVcpus(v int64) *ContainerProperties
SetVcpus sets the Vcpus field's value.
func (*ContainerProperties) SetVolumes ¶
func (s *ContainerProperties) SetVolumes(v []*Volume) *ContainerProperties
SetVolumes sets the Volumes field's value.
func (ContainerProperties) String ¶
func (s ContainerProperties) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ContainerProperties) Validate ¶
func (s *ContainerProperties) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ContainerSummary ¶
type ContainerSummary struct { // The exit code to return upon completion. ExitCode *int64 `locationName:"exitCode" type:"integer"` // A short (255 max characters) human-readable string to provide additional // details for a running or stopped container. Reason *string `locationName:"reason" type:"string"` // contains filtered or unexported fields }
An object that represents summary details of a container within a job.
func (ContainerSummary) GoString ¶
func (s ContainerSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ContainerSummary) SetExitCode ¶
func (s *ContainerSummary) SetExitCode(v int64) *ContainerSummary
SetExitCode sets the ExitCode field's value.
func (*ContainerSummary) SetReason ¶
func (s *ContainerSummary) SetReason(v string) *ContainerSummary
SetReason sets the Reason field's value.
func (ContainerSummary) String ¶
func (s ContainerSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateComputeEnvironmentInput ¶
type CreateComputeEnvironmentInput struct { // The name for your compute environment. It can be up to 128 characters long. // It can contain uppercase and lowercase letters, numbers, hyphens (-), and // underscores (_). // // ComputeEnvironmentName is a required field ComputeEnvironmentName *string `locationName:"computeEnvironmentName" type:"string" required:"true"` // Details about the compute resources managed by the compute environment. This // parameter is required for managed compute environments. For more information, // see Compute Environments (https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) // in the Batch User Guide. ComputeResources *ComputeResource `locationName:"computeResources" type:"structure"` // The details for the Amazon EKS cluster that supports the compute environment. EksConfiguration *EksConfiguration `locationName:"eksConfiguration" type:"structure"` // The full Amazon Resource Name (ARN) of the IAM role that allows Batch to // make calls to other Amazon Web Services services on your behalf. For more // information, see Batch service IAM role (https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html) // in the Batch User Guide. // // If your account already created the Batch service-linked role, that role // is used by default for your compute environment unless you specify a different // role here. If the Batch service-linked role doesn't exist in your account, // and no role is specified here, the service attempts to create the Batch service-linked // role in your account. // // If your specified role has a path other than /, then you must specify either // the full role ARN (recommended) or prefix the role name with the path. For // example, if a role with the name bar has a path of /foo/, specify /foo/bar // as the role name. For more information, see Friendly names and paths (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names) // in the IAM User Guide. // // Depending on how you created your Batch service role, its ARN might contain // the service-role path prefix. When you only specify the name of the service // role, Batch assumes that your ARN doesn't use the service-role path prefix. // Because of this, we recommend that you specify the full ARN of your service // role when you create compute environments. ServiceRole *string `locationName:"serviceRole" type:"string"` // The state of the compute environment. If the state is ENABLED, then the compute // environment accepts jobs from a queue and can scale out automatically based // on queues. // // If the state is ENABLED, then the Batch scheduler can attempt to place jobs // from an associated job queue on the compute resources within the environment. // If the compute environment is managed, then it can scale its instances out // or in automatically, based on the job queue demand. // // If the state is DISABLED, then the Batch scheduler doesn't attempt to place // jobs within the environment. Jobs in a STARTING or RUNNING state continue // to progress normally. Managed compute environments in the DISABLED state // don't scale out. // // Compute environments in a DISABLED state may continue to incur billing charges. // To prevent additional charges, turn off and then delete the compute environment. // For more information, see State (https://docs.aws.amazon.com/batch/latest/userguide/compute_environment_parameters.html#compute_environment_state) // in the Batch User Guide. // // When an instance is idle, the instance scales down to the minvCpus value. // However, the instance size doesn't change. For example, consider a c5.8xlarge // instance with a minvCpus value of 4 and a desiredvCpus value of 36. This // instance doesn't scale down to a c5.large instance. State *string `locationName:"state" type:"string" enum:"CEState"` // The tags that you apply to the compute environment to help you categorize // and organize your resources. Each tag consists of a key and an optional value. // For more information, see Tagging Amazon Web Services Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) // in Amazon Web Services General Reference. // // These tags can be updated or removed using the TagResource (https://docs.aws.amazon.com/batch/latest/APIReference/API_TagResource.html) // and UntagResource (https://docs.aws.amazon.com/batch/latest/APIReference/API_UntagResource.html) // API operations. These tags don't propagate to the underlying compute resources. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` // The type of the compute environment: MANAGED or UNMANAGED. For more information, // see Compute Environments (https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) // in the Batch User Guide. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"CEType"` // The maximum number of vCPUs for an unmanaged compute environment. This parameter // is only used for fair share scheduling to reserve vCPU capacity for new share // identifiers. If this parameter isn't provided for a fair share job queue, // no vCPU capacity is reserved. // // This parameter is only supported when the type parameter is set to UNMANAGED. UnmanagedvCpus *int64 `locationName:"unmanagedvCpus" type:"integer"` // contains filtered or unexported fields }
Contains the parameters for CreateComputeEnvironment.
func (CreateComputeEnvironmentInput) GoString ¶
func (s CreateComputeEnvironmentInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateComputeEnvironmentInput) SetComputeEnvironmentName ¶
func (s *CreateComputeEnvironmentInput) SetComputeEnvironmentName(v string) *CreateComputeEnvironmentInput
SetComputeEnvironmentName sets the ComputeEnvironmentName field's value.
func (*CreateComputeEnvironmentInput) SetComputeResources ¶
func (s *CreateComputeEnvironmentInput) SetComputeResources(v *ComputeResource) *CreateComputeEnvironmentInput
SetComputeResources sets the ComputeResources field's value.
func (*CreateComputeEnvironmentInput) SetEksConfiguration ¶
func (s *CreateComputeEnvironmentInput) SetEksConfiguration(v *EksConfiguration) *CreateComputeEnvironmentInput
SetEksConfiguration sets the EksConfiguration field's value.
func (*CreateComputeEnvironmentInput) SetServiceRole ¶
func (s *CreateComputeEnvironmentInput) SetServiceRole(v string) *CreateComputeEnvironmentInput
SetServiceRole sets the ServiceRole field's value.
func (*CreateComputeEnvironmentInput) SetState ¶
func (s *CreateComputeEnvironmentInput) SetState(v string) *CreateComputeEnvironmentInput
SetState sets the State field's value.
func (*CreateComputeEnvironmentInput) SetTags ¶
func (s *CreateComputeEnvironmentInput) SetTags(v map[string]*string) *CreateComputeEnvironmentInput
SetTags sets the Tags field's value.
func (*CreateComputeEnvironmentInput) SetType ¶
func (s *CreateComputeEnvironmentInput) SetType(v string) *CreateComputeEnvironmentInput
SetType sets the Type field's value.
func (*CreateComputeEnvironmentInput) SetUnmanagedvCpus ¶
func (s *CreateComputeEnvironmentInput) SetUnmanagedvCpus(v int64) *CreateComputeEnvironmentInput
SetUnmanagedvCpus sets the UnmanagedvCpus field's value.
func (CreateComputeEnvironmentInput) String ¶
func (s CreateComputeEnvironmentInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateComputeEnvironmentInput) Validate ¶
func (s *CreateComputeEnvironmentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateComputeEnvironmentOutput ¶
type CreateComputeEnvironmentOutput struct { // The Amazon Resource Name (ARN) of the compute environment. ComputeEnvironmentArn *string `locationName:"computeEnvironmentArn" type:"string"` // The name of the compute environment. It can be up to 128 characters long. // It can contain uppercase and lowercase letters, numbers, hyphens (-), and // underscores (_). ComputeEnvironmentName *string `locationName:"computeEnvironmentName" type:"string"` // contains filtered or unexported fields }
func (CreateComputeEnvironmentOutput) GoString ¶
func (s CreateComputeEnvironmentOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateComputeEnvironmentOutput) SetComputeEnvironmentArn ¶
func (s *CreateComputeEnvironmentOutput) SetComputeEnvironmentArn(v string) *CreateComputeEnvironmentOutput
SetComputeEnvironmentArn sets the ComputeEnvironmentArn field's value.
func (*CreateComputeEnvironmentOutput) SetComputeEnvironmentName ¶
func (s *CreateComputeEnvironmentOutput) SetComputeEnvironmentName(v string) *CreateComputeEnvironmentOutput
SetComputeEnvironmentName sets the ComputeEnvironmentName field's value.
func (CreateComputeEnvironmentOutput) String ¶
func (s CreateComputeEnvironmentOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateJobQueueInput ¶
type CreateJobQueueInput struct { // The set of compute environments mapped to a job queue and their order relative // to each other. The job scheduler uses this parameter to determine which compute // environment runs a specific job. Compute environments must be in the VALID // state before you can associate them with a job queue. You can associate up // to three compute environments with a job queue. All of the compute environments // must be either EC2 (EC2 or SPOT) or Fargate (FARGATE or FARGATE_SPOT); EC2 // and Fargate compute environments can't be mixed. // // All compute environments that are associated with a job queue must share // the same architecture. Batch doesn't support mixing compute environment architecture // types in a single job queue. // // ComputeEnvironmentOrder is a required field ComputeEnvironmentOrder []*ComputeEnvironmentOrder `locationName:"computeEnvironmentOrder" type:"list" required:"true"` // The name of the job queue. It can be up to 128 letters long. It can contain // uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). // // JobQueueName is a required field JobQueueName *string `locationName:"jobQueueName" type:"string" required:"true"` // The priority of the job queue. Job queues with a higher priority (or a higher // integer value for the priority parameter) are evaluated first when associated // with the same compute environment. Priority is determined in descending order. // For example, a job queue with a priority value of 10 is given scheduling // preference over a job queue with a priority value of 1. All of the compute // environments must be either EC2 (EC2 or SPOT) or Fargate (FARGATE or FARGATE_SPOT); // EC2 and Fargate compute environments can't be mixed. // // Priority is a required field Priority *int64 `locationName:"priority" type:"integer" required:"true"` // The Amazon Resource Name (ARN) of the fair share scheduling policy. If this // parameter is specified, the job queue uses a fair share scheduling policy. // If this parameter isn't specified, the job queue uses a first in, first out // (FIFO) scheduling policy. After a job queue is created, you can replace but // can't remove the fair share scheduling policy. The format is aws:Partition:batch:Region:Account:scheduling-policy/Name // . An example is aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy. SchedulingPolicyArn *string `locationName:"schedulingPolicyArn" type:"string"` // The state of the job queue. If the job queue state is ENABLED, it is able // to accept jobs. If the job queue state is DISABLED, new jobs can't be added // to the queue, but jobs already in the queue can finish. State *string `locationName:"state" type:"string" enum:"JQState"` // The tags that you apply to the job queue to help you categorize and organize // your resources. Each tag consists of a key and an optional value. For more // information, see Tagging your Batch resources (https://docs.aws.amazon.com/batch/latest/userguide/using-tags.html) // in Batch User Guide. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
Contains the parameters for CreateJobQueue.
func (CreateJobQueueInput) GoString ¶
func (s CreateJobQueueInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateJobQueueInput) SetComputeEnvironmentOrder ¶
func (s *CreateJobQueueInput) SetComputeEnvironmentOrder(v []*ComputeEnvironmentOrder) *CreateJobQueueInput
SetComputeEnvironmentOrder sets the ComputeEnvironmentOrder field's value.
func (*CreateJobQueueInput) SetJobQueueName ¶
func (s *CreateJobQueueInput) SetJobQueueName(v string) *CreateJobQueueInput
SetJobQueueName sets the JobQueueName field's value.
func (*CreateJobQueueInput) SetPriority ¶
func (s *CreateJobQueueInput) SetPriority(v int64) *CreateJobQueueInput
SetPriority sets the Priority field's value.
func (*CreateJobQueueInput) SetSchedulingPolicyArn ¶
func (s *CreateJobQueueInput) SetSchedulingPolicyArn(v string) *CreateJobQueueInput
SetSchedulingPolicyArn sets the SchedulingPolicyArn field's value.
func (*CreateJobQueueInput) SetState ¶
func (s *CreateJobQueueInput) SetState(v string) *CreateJobQueueInput
SetState sets the State field's value.
func (*CreateJobQueueInput) SetTags ¶
func (s *CreateJobQueueInput) SetTags(v map[string]*string) *CreateJobQueueInput
SetTags sets the Tags field's value.
func (CreateJobQueueInput) String ¶
func (s CreateJobQueueInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateJobQueueInput) Validate ¶
func (s *CreateJobQueueInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateJobQueueOutput ¶
type CreateJobQueueOutput struct { // The Amazon Resource Name (ARN) of the job queue. // // JobQueueArn is a required field JobQueueArn *string `locationName:"jobQueueArn" type:"string" required:"true"` // The name of the job queue. // // JobQueueName is a required field JobQueueName *string `locationName:"jobQueueName" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateJobQueueOutput) GoString ¶
func (s CreateJobQueueOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateJobQueueOutput) SetJobQueueArn ¶
func (s *CreateJobQueueOutput) SetJobQueueArn(v string) *CreateJobQueueOutput
SetJobQueueArn sets the JobQueueArn field's value.
func (*CreateJobQueueOutput) SetJobQueueName ¶
func (s *CreateJobQueueOutput) SetJobQueueName(v string) *CreateJobQueueOutput
SetJobQueueName sets the JobQueueName field's value.
func (CreateJobQueueOutput) String ¶
func (s CreateJobQueueOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateSchedulingPolicyInput ¶
type CreateSchedulingPolicyInput struct { FairsharePolicy `locationName:"fairsharePolicy" type:"structure"` // The name of the scheduling policy. It can be up to 128 letters long. It can // contain uppercase and lowercase letters, numbers, hyphens (-), and underscores // (_). // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The tags that you apply to the scheduling policy to help you categorize and // organize your resources. Each tag consists of a key and an optional value. // For more information, see Tagging Amazon Web Services Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) // in Amazon Web Services General Reference. // // These tags can be updated or removed using the TagResource (https://docs.aws.amazon.com/batch/latest/APIReference/API_TagResource.html) // and UntagResource (https://docs.aws.amazon.com/batch/latest/APIReference/API_UntagResource.html) // API operations. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }FairsharePolicy *
Contains the parameters for CreateSchedulingPolicy.
func (CreateSchedulingPolicyInput) GoString ¶
func (s CreateSchedulingPolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateSchedulingPolicyInput) SetFairsharePolicy ¶
func (s *CreateSchedulingPolicyInput) SetFairsharePolicy(v *FairsharePolicy) *CreateSchedulingPolicyInput
SetFairsharePolicy sets the FairsharePolicy field's value.
func (*CreateSchedulingPolicyInput) SetName ¶
func (s *CreateSchedulingPolicyInput) SetName(v string) *CreateSchedulingPolicyInput
SetName sets the Name field's value.
func (*CreateSchedulingPolicyInput) SetTags ¶
func (s *CreateSchedulingPolicyInput) SetTags(v map[string]*string) *CreateSchedulingPolicyInput
SetTags sets the Tags field's value.
func (CreateSchedulingPolicyInput) String ¶
func (s CreateSchedulingPolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateSchedulingPolicyInput) Validate ¶
func (s *CreateSchedulingPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateSchedulingPolicyOutput ¶
type CreateSchedulingPolicyOutput struct { // The Amazon Resource Name (ARN) of the scheduling policy. The format is aws:Partition:batch:Region:Account:scheduling-policy/Name // . For example, aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The name of the scheduling policy. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateSchedulingPolicyOutput) GoString ¶
func (s CreateSchedulingPolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateSchedulingPolicyOutput) SetArn ¶
func (s *CreateSchedulingPolicyOutput) SetArn(v string) *CreateSchedulingPolicyOutput
SetArn sets the Arn field's value.
func (*CreateSchedulingPolicyOutput) SetName ¶
func (s *CreateSchedulingPolicyOutput) SetName(v string) *CreateSchedulingPolicyOutput
SetName sets the Name field's value.
func (CreateSchedulingPolicyOutput) String ¶
func (s CreateSchedulingPolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteComputeEnvironmentInput ¶
type DeleteComputeEnvironmentInput struct { // The name or Amazon Resource Name (ARN) of the compute environment to delete. // // ComputeEnvironment is a required field ComputeEnvironment *string `locationName:"computeEnvironment" type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DeleteComputeEnvironment.
func (DeleteComputeEnvironmentInput) GoString ¶
func (s DeleteComputeEnvironmentInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteComputeEnvironmentInput) SetComputeEnvironment ¶
func (s *DeleteComputeEnvironmentInput) SetComputeEnvironment(v string) *DeleteComputeEnvironmentInput
SetComputeEnvironment sets the ComputeEnvironment field's value.
func (DeleteComputeEnvironmentInput) String ¶
func (s DeleteComputeEnvironmentInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteComputeEnvironmentInput) Validate ¶
func (s *DeleteComputeEnvironmentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteComputeEnvironmentOutput ¶
type DeleteComputeEnvironmentOutput struct {
// contains filtered or unexported fields
}
func (DeleteComputeEnvironmentOutput) GoString ¶
func (s DeleteComputeEnvironmentOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteComputeEnvironmentOutput) String ¶
func (s DeleteComputeEnvironmentOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteJobQueueInput ¶
type DeleteJobQueueInput struct { // The short name or full Amazon Resource Name (ARN) of the queue to delete. // // JobQueue is a required field JobQueue *string `locationName:"jobQueue" type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DeleteJobQueue.
func (DeleteJobQueueInput) GoString ¶
func (s DeleteJobQueueInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteJobQueueInput) SetJobQueue ¶
func (s *DeleteJobQueueInput) SetJobQueue(v string) *DeleteJobQueueInput
SetJobQueue sets the JobQueue field's value.
func (DeleteJobQueueInput) String ¶
func (s DeleteJobQueueInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteJobQueueInput) Validate ¶
func (s *DeleteJobQueueInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteJobQueueOutput ¶
type DeleteJobQueueOutput struct {
// contains filtered or unexported fields
}
func (DeleteJobQueueOutput) GoString ¶
func (s DeleteJobQueueOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteJobQueueOutput) String ¶
func (s DeleteJobQueueOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteSchedulingPolicyInput ¶
type DeleteSchedulingPolicyInput struct { // The Amazon Resource Name (ARN) of the scheduling policy to delete. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DeleteSchedulingPolicy.
func (DeleteSchedulingPolicyInput) GoString ¶
func (s DeleteSchedulingPolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteSchedulingPolicyInput) SetArn ¶
func (s *DeleteSchedulingPolicyInput) SetArn(v string) *DeleteSchedulingPolicyInput
SetArn sets the Arn field's value.
func (DeleteSchedulingPolicyInput) String ¶
func (s DeleteSchedulingPolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteSchedulingPolicyInput) Validate ¶
func (s *DeleteSchedulingPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteSchedulingPolicyOutput ¶
type DeleteSchedulingPolicyOutput struct {
// contains filtered or unexported fields
}
func (DeleteSchedulingPolicyOutput) GoString ¶
func (s DeleteSchedulingPolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteSchedulingPolicyOutput) String ¶
func (s DeleteSchedulingPolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeregisterJobDefinitionInput ¶
type DeregisterJobDefinitionInput struct { // The name and revision (name:revision) or full Amazon Resource Name (ARN) // of the job definition to deregister. // // JobDefinition is a required field JobDefinition *string `locationName:"jobDefinition" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeregisterJobDefinitionInput) GoString ¶
func (s DeregisterJobDefinitionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeregisterJobDefinitionInput) SetJobDefinition ¶
func (s *DeregisterJobDefinitionInput) SetJobDefinition(v string) *DeregisterJobDefinitionInput
SetJobDefinition sets the JobDefinition field's value.
func (DeregisterJobDefinitionInput) String ¶
func (s DeregisterJobDefinitionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeregisterJobDefinitionInput) Validate ¶
func (s *DeregisterJobDefinitionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeregisterJobDefinitionOutput ¶
type DeregisterJobDefinitionOutput struct {
// contains filtered or unexported fields
}
func (DeregisterJobDefinitionOutput) GoString ¶
func (s DeregisterJobDefinitionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeregisterJobDefinitionOutput) String ¶
func (s DeregisterJobDefinitionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeComputeEnvironmentsInput ¶
type DescribeComputeEnvironmentsInput struct { // A list of up to 100 compute environment names or full Amazon Resource Name // (ARN) entries. ComputeEnvironments []*string `locationName:"computeEnvironments" type:"list"` // The maximum number of cluster results returned by DescribeComputeEnvironments // in paginated output. When this parameter is used, DescribeComputeEnvironments // only returns maxResults results in a single page along with a nextToken response // element. The remaining results of the initial request can be seen by sending // another DescribeComputeEnvironments request with the returned nextToken value. // This value can be between 1 and 100. If this parameter isn't used, then DescribeComputeEnvironments // returns up to 100 results and a nextToken value if applicable. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The nextToken value returned from a previous paginated DescribeComputeEnvironments // request where maxResults was used and the results exceeded the value of that // parameter. Pagination continues from the end of the previous results that // returned the nextToken value. This value is null when there are no more results // to return. // // Treat this token as an opaque identifier that's only used to retrieve the // next items in a list and not for other programmatic purposes. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Contains the parameters for DescribeComputeEnvironments.
func (DescribeComputeEnvironmentsInput) GoString ¶
func (s DescribeComputeEnvironmentsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeComputeEnvironmentsInput) SetComputeEnvironments ¶
func (s *DescribeComputeEnvironmentsInput) SetComputeEnvironments(v []*string) *DescribeComputeEnvironmentsInput
SetComputeEnvironments sets the ComputeEnvironments field's value.
func (*DescribeComputeEnvironmentsInput) SetMaxResults ¶
func (s *DescribeComputeEnvironmentsInput) SetMaxResults(v int64) *DescribeComputeEnvironmentsInput
SetMaxResults sets the MaxResults field's value.
func (*DescribeComputeEnvironmentsInput) SetNextToken ¶
func (s *DescribeComputeEnvironmentsInput) SetNextToken(v string) *DescribeComputeEnvironmentsInput
SetNextToken sets the NextToken field's value.
func (DescribeComputeEnvironmentsInput) String ¶
func (s DescribeComputeEnvironmentsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeComputeEnvironmentsOutput ¶
type DescribeComputeEnvironmentsOutput struct { // The list of compute environments. ComputeEnvironments []*ComputeEnvironmentDetail `locationName:"computeEnvironments" type:"list"` // The nextToken value to include in a future DescribeComputeEnvironments request. // When the results of a DescribeComputeEnvironments request exceed maxResults, // this value can be used to retrieve the next page of results. This value is // null when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeComputeEnvironmentsOutput) GoString ¶
func (s DescribeComputeEnvironmentsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeComputeEnvironmentsOutput) SetComputeEnvironments ¶
func (s *DescribeComputeEnvironmentsOutput) SetComputeEnvironments(v []*ComputeEnvironmentDetail) *DescribeComputeEnvironmentsOutput
SetComputeEnvironments sets the ComputeEnvironments field's value.
func (*DescribeComputeEnvironmentsOutput) SetNextToken ¶
func (s *DescribeComputeEnvironmentsOutput) SetNextToken(v string) *DescribeComputeEnvironmentsOutput
SetNextToken sets the NextToken field's value.
func (DescribeComputeEnvironmentsOutput) String ¶
func (s DescribeComputeEnvironmentsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeJobDefinitionsInput ¶
type DescribeJobDefinitionsInput struct { // The name of the job definition to describe. JobDefinitionName *string `locationName:"jobDefinitionName" type:"string"` // A list of up to 100 job definitions. Each entry in the list can either be // an ARN in the format arn:aws:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision} // or a short version using the form ${JobDefinitionName}:${Revision}. JobDefinitions []*string `locationName:"jobDefinitions" type:"list"` // The maximum number of results returned by DescribeJobDefinitions in paginated // output. When this parameter is used, DescribeJobDefinitions only returns // maxResults results in a single page and a nextToken response element. The // remaining results of the initial request can be seen by sending another DescribeJobDefinitions // request with the returned nextToken value. This value can be between 1 and // 100. If this parameter isn't used, then DescribeJobDefinitions returns up // to 100 results and a nextToken value if applicable. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The nextToken value returned from a previous paginated DescribeJobDefinitions // request where maxResults was used and the results exceeded the value of that // parameter. Pagination continues from the end of the previous results that // returned the nextToken value. This value is null when there are no more results // to return. // // Treat this token as an opaque identifier that's only used to retrieve the // next items in a list and not for other programmatic purposes. NextToken *string `locationName:"nextToken" type:"string"` // The status used to filter job definitions. Status *string `locationName:"status" type:"string"` // contains filtered or unexported fields }
Contains the parameters for DescribeJobDefinitions.
func (DescribeJobDefinitionsInput) GoString ¶
func (s DescribeJobDefinitionsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeJobDefinitionsInput) SetJobDefinitionName ¶
func (s *DescribeJobDefinitionsInput) SetJobDefinitionName(v string) *DescribeJobDefinitionsInput
SetJobDefinitionName sets the JobDefinitionName field's value.
func (*DescribeJobDefinitionsInput) SetJobDefinitions ¶
func (s *DescribeJobDefinitionsInput) SetJobDefinitions(v []*string) *DescribeJobDefinitionsInput
SetJobDefinitions sets the JobDefinitions field's value.
func (*DescribeJobDefinitionsInput) SetMaxResults ¶
func (s *DescribeJobDefinitionsInput) SetMaxResults(v int64) *DescribeJobDefinitionsInput
SetMaxResults sets the MaxResults field's value.
func (*DescribeJobDefinitionsInput) SetNextToken ¶
func (s *DescribeJobDefinitionsInput) SetNextToken(v string) *DescribeJobDefinitionsInput
SetNextToken sets the NextToken field's value.
func (*DescribeJobDefinitionsInput) SetStatus ¶
func (s *DescribeJobDefinitionsInput) SetStatus(v string) *DescribeJobDefinitionsInput
SetStatus sets the Status field's value.
func (DescribeJobDefinitionsInput) String ¶
func (s DescribeJobDefinitionsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeJobDefinitionsOutput ¶
type DescribeJobDefinitionsOutput struct { // The list of job definitions. JobDefinitions []*JobDefinition `locationName:"jobDefinitions" type:"list"` // The nextToken value to include in a future DescribeJobDefinitions request. // When the results of a DescribeJobDefinitions request exceed maxResults, this // value can be used to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeJobDefinitionsOutput) GoString ¶
func (s DescribeJobDefinitionsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeJobDefinitionsOutput) SetJobDefinitions ¶
func (s *DescribeJobDefinitionsOutput) SetJobDefinitions(v []*JobDefinition) *DescribeJobDefinitionsOutput
SetJobDefinitions sets the JobDefinitions field's value.
func (*DescribeJobDefinitionsOutput) SetNextToken ¶
func (s *DescribeJobDefinitionsOutput) SetNextToken(v string) *DescribeJobDefinitionsOutput
SetNextToken sets the NextToken field's value.
func (DescribeJobDefinitionsOutput) String ¶
func (s DescribeJobDefinitionsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeJobQueuesInput ¶
type DescribeJobQueuesInput struct { // A list of up to 100 queue names or full queue Amazon Resource Name (ARN) // entries. JobQueues []*string `locationName:"jobQueues" type:"list"` // The maximum number of results returned by DescribeJobQueues in paginated // output. When this parameter is used, DescribeJobQueues only returns maxResults // results in a single page and a nextToken response element. The remaining // results of the initial request can be seen by sending another DescribeJobQueues // request with the returned nextToken value. This value can be between 1 and // 100. If this parameter isn't used, then DescribeJobQueues returns up to 100 // results and a nextToken value if applicable. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The nextToken value returned from a previous paginated DescribeJobQueues // request where maxResults was used and the results exceeded the value of that // parameter. Pagination continues from the end of the previous results that // returned the nextToken value. This value is null when there are no more results // to return. // // Treat this token as an opaque identifier that's only used to retrieve the // next items in a list and not for other programmatic purposes. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Contains the parameters for DescribeJobQueues.
func (DescribeJobQueuesInput) GoString ¶
func (s DescribeJobQueuesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeJobQueuesInput) SetJobQueues ¶
func (s *DescribeJobQueuesInput) SetJobQueues(v []*string) *DescribeJobQueuesInput
SetJobQueues sets the JobQueues field's value.
func (*DescribeJobQueuesInput) SetMaxResults ¶
func (s *DescribeJobQueuesInput) SetMaxResults(v int64) *DescribeJobQueuesInput
SetMaxResults sets the MaxResults field's value.
func (*DescribeJobQueuesInput) SetNextToken ¶
func (s *DescribeJobQueuesInput) SetNextToken(v string) *DescribeJobQueuesInput
SetNextToken sets the NextToken field's value.
func (DescribeJobQueuesInput) String ¶
func (s DescribeJobQueuesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeJobQueuesOutput ¶
type DescribeJobQueuesOutput struct { // The list of job queues. JobQueues []*JobQueueDetail `locationName:"jobQueues" type:"list"` // The nextToken value to include in a future DescribeJobQueues request. When // the results of a DescribeJobQueues request exceed maxResults, this value // can be used to retrieve the next page of results. This value is null when // there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeJobQueuesOutput) GoString ¶
func (s DescribeJobQueuesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeJobQueuesOutput) SetJobQueues ¶
func (s *DescribeJobQueuesOutput) SetJobQueues(v []*JobQueueDetail) *DescribeJobQueuesOutput
SetJobQueues sets the JobQueues field's value.
func (*DescribeJobQueuesOutput) SetNextToken ¶
func (s *DescribeJobQueuesOutput) SetNextToken(v string) *DescribeJobQueuesOutput
SetNextToken sets the NextToken field's value.
func (DescribeJobQueuesOutput) String ¶
func (s DescribeJobQueuesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeJobsInput ¶
type DescribeJobsInput struct { // A list of up to 100 job IDs. // // Jobs is a required field Jobs []*string `locationName:"jobs" type:"list" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DescribeJobs.
func (DescribeJobsInput) GoString ¶
func (s DescribeJobsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeJobsInput) SetJobs ¶
func (s *DescribeJobsInput) SetJobs(v []*string) *DescribeJobsInput
SetJobs sets the Jobs field's value.
func (DescribeJobsInput) String ¶
func (s DescribeJobsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeJobsInput) Validate ¶
func (s *DescribeJobsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeJobsOutput ¶
type DescribeJobsOutput struct { // The list of jobs. Jobs []*JobDetail `locationName:"jobs" type:"list"` // contains filtered or unexported fields }
func (DescribeJobsOutput) GoString ¶
func (s DescribeJobsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeJobsOutput) SetJobs ¶
func (s *DescribeJobsOutput) SetJobs(v []*JobDetail) *DescribeJobsOutput
SetJobs sets the Jobs field's value.
func (DescribeJobsOutput) String ¶
func (s DescribeJobsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeSchedulingPoliciesInput ¶
type DescribeSchedulingPoliciesInput struct { // A list of up to 100 scheduling policy Amazon Resource Name (ARN) entries. // // Arns is a required field Arns []*string `locationName:"arns" type:"list" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DescribeSchedulingPolicies.
func (DescribeSchedulingPoliciesInput) GoString ¶
func (s DescribeSchedulingPoliciesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeSchedulingPoliciesInput) SetArns ¶
func (s *DescribeSchedulingPoliciesInput) SetArns(v []*string) *DescribeSchedulingPoliciesInput
SetArns sets the Arns field's value.
func (DescribeSchedulingPoliciesInput) String ¶
func (s DescribeSchedulingPoliciesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeSchedulingPoliciesInput) Validate ¶
func (s *DescribeSchedulingPoliciesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeSchedulingPoliciesOutput ¶
type DescribeSchedulingPoliciesOutput struct { // The list of scheduling policies. SchedulingPolicies []*SchedulingPolicyDetail `locationName:"schedulingPolicies" type:"list"` // contains filtered or unexported fields }
func (DescribeSchedulingPoliciesOutput) GoString ¶
func (s DescribeSchedulingPoliciesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeSchedulingPoliciesOutput) SetSchedulingPolicies ¶
func (s *DescribeSchedulingPoliciesOutput) SetSchedulingPolicies(v []*SchedulingPolicyDetail) *DescribeSchedulingPoliciesOutput
SetSchedulingPolicies sets the SchedulingPolicies field's value.
func (DescribeSchedulingPoliciesOutput) String ¶
func (s DescribeSchedulingPoliciesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Device ¶
type Device struct { // The path inside the container that's used to expose the host device. By default, // the hostPath value is used. ContainerPath *string `locationName:"containerPath" type:"string"` // The path for the device on the host container instance. // // HostPath is a required field HostPath *string `locationName:"hostPath" type:"string" required:"true"` // The explicit permissions to provide to the container for the device. By default, // the container has permissions for read, write, and mknod for the device. Permissions []*string `locationName:"permissions" type:"list" enum:"DeviceCgroupPermission"` // contains filtered or unexported fields }
An object that represents a container instance host device.
This object isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.
func (Device) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Device) SetContainerPath ¶
SetContainerPath sets the ContainerPath field's value.
func (*Device) SetHostPath ¶
SetHostPath sets the HostPath field's value.
func (*Device) SetPermissions ¶
SetPermissions sets the Permissions field's value.
type EFSAuthorizationConfig ¶
type EFSAuthorizationConfig struct { // The Amazon EFS access point ID to use. If an access point is specified, the // root directory value specified in the EFSVolumeConfiguration must either // be omitted or set to / which enforces the path set on the EFS access point. // If an access point is used, transit encryption must be enabled in the EFSVolumeConfiguration. // For more information, see Working with Amazon EFS access points (https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html) // in the Amazon Elastic File System User Guide. AccessPointId *string `locationName:"accessPointId" type:"string"` // Whether or not to use the Batch job IAM role defined in a job definition // when mounting the Amazon EFS file system. If enabled, transit encryption // must be enabled in the EFSVolumeConfiguration. If this parameter is omitted, // the default value of DISABLED is used. For more information, see Using Amazon // EFS access points (https://docs.aws.amazon.com/batch/latest/userguide/efs-volumes.html#efs-volume-accesspoints) // in the Batch User Guide. EFS IAM authorization requires that TransitEncryption // be ENABLED and that a JobRoleArn is specified. Iam *string `locationName:"iam" type:"string" enum:"EFSAuthorizationConfigIAM"` // contains filtered or unexported fields }
The authorization configuration details for the Amazon EFS file system.
func (EFSAuthorizationConfig) GoString ¶
func (s EFSAuthorizationConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EFSAuthorizationConfig) SetAccessPointId ¶
func (s *EFSAuthorizationConfig) SetAccessPointId(v string) *EFSAuthorizationConfig
SetAccessPointId sets the AccessPointId field's value.
func (*EFSAuthorizationConfig) SetIam ¶
func (s *EFSAuthorizationConfig) SetIam(v string) *EFSAuthorizationConfig
SetIam sets the Iam field's value.
func (EFSAuthorizationConfig) String ¶
func (s EFSAuthorizationConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EFSVolumeConfiguration ¶
type EFSVolumeConfiguration struct { // The authorization configuration details for the Amazon EFS file system. AuthorizationConfig *EFSAuthorizationConfig `locationName:"authorizationConfig" type:"structure"` // The Amazon EFS file system ID to use. // // FileSystemId is a required field FileSystemId *string `locationName:"fileSystemId" type:"string" required:"true"` // The directory within the Amazon EFS file system to mount as the root directory // inside the host. If this parameter is omitted, the root of the Amazon EFS // volume is used instead. Specifying / has the same effect as omitting this // parameter. The maximum length is 4,096 characters. // // If an EFS access point is specified in the authorizationConfig, the root // directory parameter must either be omitted or set to /, which enforces the // path set on the Amazon EFS access point. RootDirectory *string `locationName:"rootDirectory" type:"string"` // Determines whether to enable encryption for Amazon EFS data in transit between // the Amazon ECS host and the Amazon EFS server. Transit encryption must be // enabled if Amazon EFS IAM authorization is used. If this parameter is omitted, // the default value of DISABLED is used. For more information, see Encrypting // data in transit (https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html) // in the Amazon Elastic File System User Guide. TransitEncryption *string `locationName:"transitEncryption" type:"string" enum:"EFSTransitEncryption"` // The port to use when sending encrypted data between the Amazon ECS host and // the Amazon EFS server. If you don't specify a transit encryption port, it // uses the port selection strategy that the Amazon EFS mount helper uses. The // value must be between 0 and 65,535. For more information, see EFS mount helper // (https://docs.aws.amazon.com/efs/latest/ug/efs-mount-helper.html) in the // Amazon Elastic File System User Guide. TransitEncryptionPort *int64 `locationName:"transitEncryptionPort" type:"integer"` // contains filtered or unexported fields }
This is used when you're using an Amazon Elastic File System file system for job storage. For more information, see Amazon EFS Volumes (https://docs.aws.amazon.com/batch/latest/userguide/efs-volumes.html) in the Batch User Guide.
func (EFSVolumeConfiguration) GoString ¶
func (s EFSVolumeConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EFSVolumeConfiguration) SetAuthorizationConfig ¶
func (s *EFSVolumeConfiguration) SetAuthorizationConfig(v *EFSAuthorizationConfig) *EFSVolumeConfiguration
SetAuthorizationConfig sets the AuthorizationConfig field's value.
func (*EFSVolumeConfiguration) SetFileSystemId ¶
func (s *EFSVolumeConfiguration) SetFileSystemId(v string) *EFSVolumeConfiguration
SetFileSystemId sets the FileSystemId field's value.
func (*EFSVolumeConfiguration) SetRootDirectory ¶
func (s *EFSVolumeConfiguration) SetRootDirectory(v string) *EFSVolumeConfiguration
SetRootDirectory sets the RootDirectory field's value.
func (*EFSVolumeConfiguration) SetTransitEncryption ¶
func (s *EFSVolumeConfiguration) SetTransitEncryption(v string) *EFSVolumeConfiguration
SetTransitEncryption sets the TransitEncryption field's value.
func (*EFSVolumeConfiguration) SetTransitEncryptionPort ¶
func (s *EFSVolumeConfiguration) SetTransitEncryptionPort(v int64) *EFSVolumeConfiguration
SetTransitEncryptionPort sets the TransitEncryptionPort field's value.
func (EFSVolumeConfiguration) String ¶
func (s EFSVolumeConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EFSVolumeConfiguration) Validate ¶
func (s *EFSVolumeConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Ec2Configuration ¶
type Ec2Configuration struct { // The AMI ID used for instances launched in the compute environment that match // the image type. This setting overrides the imageId set in the computeResource // object. // // The AMI that you choose for a compute environment must match the architecture // of the instance types that you intend to use for that compute environment. // For example, if your compute environment uses A1 instance types, the compute // resource AMI that you choose must support ARM instances. Amazon ECS vends // both x86 and ARM versions of the Amazon ECS-optimized Amazon Linux 2 AMI. // For more information, see Amazon ECS-optimized Amazon Linux 2 AMI (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html) // in the Amazon Elastic Container Service Developer Guide. ImageIdOverride *string `locationName:"imageIdOverride" min:"1" type:"string"` // The Kubernetes version for the compute environment. If you don't specify // a value, the latest version that Batch supports is used. ImageKubernetesVersion *string `locationName:"imageKubernetesVersion" min:"1" type:"string"` // The image type to match with the instance type to select an AMI. The supported // values are different for ECS and EKS resources. // // ECS // // If the imageIdOverride parameter isn't specified, then a recent Amazon ECS-optimized // Amazon Linux 2 AMI (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami) // (ECS_AL2) is used. If a new image type is specified in an update, but neither // an imageId nor a imageIdOverride parameter is specified, then the latest // Amazon ECS optimized AMI for that image type that's supported by Batch is // used. // // ECS_AL2 // // Amazon Linux 2 (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami): // Default for all non-GPU instance families. // // ECS_AL2_NVIDIA // // Amazon Linux 2 (GPU) (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami): // Default for all GPU instance families (for example P4 and G4) and can be // used for all non Amazon Web Services Graviton-based instance types. // // ECS_AL1 // // Amazon Linux (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#alami). // Amazon Linux has reached the end-of-life of standard support. For more information, // see Amazon Linux AMI (http://aws.amazon.com/amazon-linux-ami/). // // EKS // // If the imageIdOverride parameter isn't specified, then a recent Amazon EKS-optimized // Amazon Linux AMI (https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html) // (EKS_AL2) is used. If a new image type is specified in an update, but neither // an imageId nor a imageIdOverride parameter is specified, then the latest // Amazon EKS optimized AMI for that image type that Batch supports is used. // // EKS_AL2 // // Amazon Linux 2 (https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html): // Default for all non-GPU instance families. // // EKS_AL2_NVIDIA // // Amazon Linux 2 (accelerated) (https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html): // Default for all GPU instance families (for example, P4 and G4) and can be // used for all non Amazon Web Services Graviton-based instance types. // // ImageType is a required field ImageType *string `locationName:"imageType" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Provides information used to select Amazon Machine Images (AMIs) for instances in the compute environment. If Ec2Configuration isn't specified, the default is ECS_AL2 (Amazon Linux 2 (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami)).
This object isn't applicable to jobs that are running on Fargate resources.
func (Ec2Configuration) GoString ¶
func (s Ec2Configuration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Ec2Configuration) SetImageIdOverride ¶
func (s *Ec2Configuration) SetImageIdOverride(v string) *Ec2Configuration
SetImageIdOverride sets the ImageIdOverride field's value.
func (*Ec2Configuration) SetImageKubernetesVersion ¶
func (s *Ec2Configuration) SetImageKubernetesVersion(v string) *Ec2Configuration
SetImageKubernetesVersion sets the ImageKubernetesVersion field's value.
func (*Ec2Configuration) SetImageType ¶
func (s *Ec2Configuration) SetImageType(v string) *Ec2Configuration
SetImageType sets the ImageType field's value.
func (Ec2Configuration) String ¶
func (s Ec2Configuration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Ec2Configuration) Validate ¶
func (s *Ec2Configuration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EksAttemptContainerDetail ¶
type EksAttemptContainerDetail struct { // The exit code for the job attempt. A non-zero exit code is considered failed. ExitCode *int64 `locationName:"exitCode" type:"integer"` // A short (255 max characters) human-readable string to provide additional // details for a running or stopped container. Reason *string `locationName:"reason" type:"string"` // contains filtered or unexported fields }
An object that represents the details for an attempt for a job attempt that an Amazon EKS container runs.
func (EksAttemptContainerDetail) GoString ¶
func (s EksAttemptContainerDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksAttemptContainerDetail) SetExitCode ¶
func (s *EksAttemptContainerDetail) SetExitCode(v int64) *EksAttemptContainerDetail
SetExitCode sets the ExitCode field's value.
func (*EksAttemptContainerDetail) SetReason ¶
func (s *EksAttemptContainerDetail) SetReason(v string) *EksAttemptContainerDetail
SetReason sets the Reason field's value.
func (EksAttemptContainerDetail) String ¶
func (s EksAttemptContainerDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EksAttemptDetail ¶
type EksAttemptDetail struct { // The details for the final status of the containers for this job attempt. Containers []*EksAttemptContainerDetail `locationName:"containers" type:"list"` // The name of the node for this job attempt. NodeName *string `locationName:"nodeName" type:"string"` // The name of the pod for this job attempt. PodName *string `locationName:"podName" type:"string"` // The Unix timestamp (in milliseconds) for when the attempt was started (when // the attempt transitioned from the STARTING state to the RUNNING state). StartedAt *int64 `locationName:"startedAt" type:"long"` // A short, human-readable string to provide additional details for the current // status of the job attempt. StatusReason *string `locationName:"statusReason" type:"string"` // The Unix timestamp (in milliseconds) for when the attempt was stopped. This // happens when the attempt transitioned from the RUNNING state to a terminal // state, such as SUCCEEDED or FAILED. StoppedAt *int64 `locationName:"stoppedAt" type:"long"` // contains filtered or unexported fields }
An object that represents the details of a job attempt for a job attempt by an Amazon EKS container.
func (EksAttemptDetail) GoString ¶
func (s EksAttemptDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksAttemptDetail) SetContainers ¶
func (s *EksAttemptDetail) SetContainers(v []*EksAttemptContainerDetail) *EksAttemptDetail
SetContainers sets the Containers field's value.
func (*EksAttemptDetail) SetNodeName ¶
func (s *EksAttemptDetail) SetNodeName(v string) *EksAttemptDetail
SetNodeName sets the NodeName field's value.
func (*EksAttemptDetail) SetPodName ¶
func (s *EksAttemptDetail) SetPodName(v string) *EksAttemptDetail
SetPodName sets the PodName field's value.
func (*EksAttemptDetail) SetStartedAt ¶
func (s *EksAttemptDetail) SetStartedAt(v int64) *EksAttemptDetail
SetStartedAt sets the StartedAt field's value.
func (*EksAttemptDetail) SetStatusReason ¶
func (s *EksAttemptDetail) SetStatusReason(v string) *EksAttemptDetail
SetStatusReason sets the StatusReason field's value.
func (*EksAttemptDetail) SetStoppedAt ¶
func (s *EksAttemptDetail) SetStoppedAt(v int64) *EksAttemptDetail
SetStoppedAt sets the StoppedAt field's value.
func (EksAttemptDetail) String ¶
func (s EksAttemptDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EksConfiguration ¶
type EksConfiguration struct { // The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example is arn:aws:eks:us-east-1:123456789012:cluster/ClusterForBatch . // // EksClusterArn is a required field EksClusterArn *string `locationName:"eksClusterArn" type:"string" required:"true"` // The namespace of the Amazon EKS cluster. Batch manages pods in this namespace. // The value can't left empty or null. It must be fewer than 64 characters long, // can't be set to default, can't start with "kube-," and must match this regular // expression: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$. For more information, see Namespaces // (https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/) // in the Kubernetes documentation. // // KubernetesNamespace is a required field KubernetesNamespace *string `locationName:"kubernetesNamespace" type:"string" required:"true"` // contains filtered or unexported fields }
Configuration for the Amazon EKS cluster that supports the Batch compute environment. The cluster must exist before the compute environment can be created.
func (EksConfiguration) GoString ¶
func (s EksConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksConfiguration) SetEksClusterArn ¶
func (s *EksConfiguration) SetEksClusterArn(v string) *EksConfiguration
SetEksClusterArn sets the EksClusterArn field's value.
func (*EksConfiguration) SetKubernetesNamespace ¶
func (s *EksConfiguration) SetKubernetesNamespace(v string) *EksConfiguration
SetKubernetesNamespace sets the KubernetesNamespace field's value.
func (EksConfiguration) String ¶
func (s EksConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksConfiguration) Validate ¶
func (s *EksConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EksContainer ¶
type EksContainer struct { // An array of arguments to the entrypoint. If this isn't specified, the CMD // of the container image is used. This corresponds to the args member in the // Entrypoint (https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint) // portion of the Pod (https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/) // in Kubernetes. Environment variable references are expanded using the container's // environment. // // If the referenced environment variable doesn't exist, the reference in the // command isn't changed. For example, if the reference is to "$(NAME1)" and // the NAME1 environment variable doesn't exist, the command string will remain // "$(NAME1)." $$ is replaced with $, and the resulting string isn't expanded. // For example, $$(VAR_NAME) is passed as $(VAR_NAME) whether or not the VAR_NAME // environment variable exists. For more information, see CMD (https://docs.docker.com/engine/reference/builder/#cmd) // in the Dockerfile reference and Define a command and arguments for a pod // (https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/) // in the Kubernetes documentation. Args []*string `locationName:"args" type:"list"` // The entrypoint for the container. This isn't run within a shell. If this // isn't specified, the ENTRYPOINT of the container image is used. Environment // variable references are expanded using the container's environment. // // If the referenced environment variable doesn't exist, the reference in the // command isn't changed. For example, if the reference is to "$(NAME1)" and // the NAME1 environment variable doesn't exist, the command string will remain // "$(NAME1)." $$ is replaced with $ and the resulting string isn't expanded. // For example, $$(VAR_NAME) will be passed as $(VAR_NAME) whether or not the // VAR_NAME environment variable exists. The entrypoint can't be updated. For // more information, see ENTRYPOINT (https://docs.docker.com/engine/reference/builder/#entrypoint) // in the Dockerfile reference and Define a command and arguments for a container // (https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/) // and Entrypoint (https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint) // in the Kubernetes documentation. Command []*string `locationName:"command" type:"list"` // The environment variables to pass to a container. // // Environment variables cannot start with "AWS_BATCH". This naming convention // is reserved for variables that Batch sets. Env []*EksContainerEnvironmentVariable `locationName:"env" type:"list"` // The Docker image used to start the container. // // Image is a required field Image *string `locationName:"image" type:"string" required:"true"` // The image pull policy for the container. Supported values are Always, IfNotPresent, // and Never. This parameter defaults to IfNotPresent. However, if the :latest // tag is specified, it defaults to Always. For more information, see Updating // images (https://kubernetes.io/docs/concepts/containers/images/#updating-images) // in the Kubernetes documentation. ImagePullPolicy *string `locationName:"imagePullPolicy" type:"string"` // The name of the container. If the name isn't specified, the default name // "Default" is used. Each container in a pod must have a unique name. Name *string `locationName:"name" type:"string"` // The type and amount of resources to assign to a container. The supported // resources include memory, cpu, and nvidia.com/gpu. For more information, // see Resource management for pods and containers (https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) // in the Kubernetes documentation. Resources *EksContainerResourceRequirements `locationName:"resources" type:"structure"` // The security context for a job. For more information, see Configure a security // context for a pod or container (https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) // in the Kubernetes documentation. SecurityContext *EksContainerSecurityContext `locationName:"securityContext" type:"structure"` // The volume mounts for the container. Batch supports emptyDir, hostPath, and // secret volume types. For more information about volumes and volume mounts // in Kubernetes, see Volumes (https://kubernetes.io/docs/concepts/storage/volumes/) // in the Kubernetes documentation. VolumeMounts []*EksContainerVolumeMount `locationName:"volumeMounts" type:"list"` // contains filtered or unexported fields }
EKS container properties are used in job definitions for Amazon EKS based job definitions to describe the properties for a container node in the pod that's launched as part of a job. This can't be specified for Amazon ECS based job definitions.
func (EksContainer) GoString ¶
func (s EksContainer) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksContainer) SetArgs ¶
func (s *EksContainer) SetArgs(v []*string) *EksContainer
SetArgs sets the Args field's value.
func (*EksContainer) SetCommand ¶
func (s *EksContainer) SetCommand(v []*string) *EksContainer
SetCommand sets the Command field's value.
func (*EksContainer) SetEnv ¶
func (s *EksContainer) SetEnv(v []*EksContainerEnvironmentVariable) *EksContainer
SetEnv sets the Env field's value.
func (*EksContainer) SetImage ¶
func (s *EksContainer) SetImage(v string) *EksContainer
SetImage sets the Image field's value.
func (*EksContainer) SetImagePullPolicy ¶
func (s *EksContainer) SetImagePullPolicy(v string) *EksContainer
SetImagePullPolicy sets the ImagePullPolicy field's value.
func (*EksContainer) SetName ¶
func (s *EksContainer) SetName(v string) *EksContainer
SetName sets the Name field's value.
func (*EksContainer) SetResources ¶
func (s *EksContainer) SetResources(v *EksContainerResourceRequirements) *EksContainer
SetResources sets the Resources field's value.
func (*EksContainer) SetSecurityContext ¶
func (s *EksContainer) SetSecurityContext(v *EksContainerSecurityContext) *EksContainer
SetSecurityContext sets the SecurityContext field's value.
func (*EksContainer) SetVolumeMounts ¶
func (s *EksContainer) SetVolumeMounts(v []*EksContainerVolumeMount) *EksContainer
SetVolumeMounts sets the VolumeMounts field's value.
func (EksContainer) String ¶
func (s EksContainer) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksContainer) Validate ¶
func (s *EksContainer) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EksContainerDetail ¶
type EksContainerDetail struct { // An array of arguments to the entrypoint. If this isn't specified, the CMD // of the container image is used. This corresponds to the args member in the // Entrypoint (https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint) // portion of the Pod (https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/) // in Kubernetes. Environment variable references are expanded using the container's // environment. // // If the referenced environment variable doesn't exist, the reference in the // command isn't changed. For example, if the reference is to "$(NAME1)" and // the NAME1 environment variable doesn't exist, the command string will remain // "$(NAME1)". $$ is replaced with $ and the resulting string isn't expanded. // For example, $$(VAR_NAME) is passed as $(VAR_NAME) whether or not the VAR_NAME // environment variable exists. For more information, see CMD (https://docs.docker.com/engine/reference/builder/#cmd) // in the Dockerfile reference and Define a command and arguments for a pod // (https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/) // in the Kubernetes documentation. Args []*string `locationName:"args" type:"list"` // The entrypoint for the container. For more information, see Entrypoint (https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint) // in the Kubernetes documentation. Command []*string `locationName:"command" type:"list"` // The environment variables to pass to a container. // // Environment variables cannot start with "AWS_BATCH". This naming convention // is reserved for variables that Batch sets. Env []*EksContainerEnvironmentVariable `locationName:"env" type:"list"` // The exit code for the job attempt. A non-zero exit code is considered failed. ExitCode *int64 `locationName:"exitCode" type:"integer"` // The Docker image used to start the container. Image *string `locationName:"image" type:"string"` // The image pull policy for the container. Supported values are Always, IfNotPresent, // and Never. This parameter defaults to Always if the :latest tag is specified, // IfNotPresent otherwise. For more information, see Updating images (https://kubernetes.io/docs/concepts/containers/images/#updating-images) // in the Kubernetes documentation. ImagePullPolicy *string `locationName:"imagePullPolicy" type:"string"` // The name of the container. If the name isn't specified, the default name // "Default" is used. Each container in a pod must have a unique name. Name *string `locationName:"name" type:"string"` // A short human-readable string to provide additional details for a running // or stopped container. It can be up to 255 characters long. Reason *string `locationName:"reason" type:"string"` // The type and amount of resources to assign to a container. The supported // resources include memory, cpu, and nvidia.com/gpu. For more information, // see Resource management for pods and containers (https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) // in the Kubernetes documentation. Resources *EksContainerResourceRequirements `locationName:"resources" type:"structure"` // The security context for a job. For more information, see Configure a security // context for a pod or container (https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) // in the Kubernetes documentation. SecurityContext *EksContainerSecurityContext `locationName:"securityContext" type:"structure"` // The volume mounts for the container. Batch supports emptyDir, hostPath, and // secret volume types. For more information about volumes and volume mounts // in Kubernetes, see Volumes (https://kubernetes.io/docs/concepts/storage/volumes/) // in the Kubernetes documentation. VolumeMounts []*EksContainerVolumeMount `locationName:"volumeMounts" type:"list"` // contains filtered or unexported fields }
The details for container properties that are returned by DescribeJobs for jobs that use Amazon EKS.
func (EksContainerDetail) GoString ¶
func (s EksContainerDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksContainerDetail) SetArgs ¶
func (s *EksContainerDetail) SetArgs(v []*string) *EksContainerDetail
SetArgs sets the Args field's value.
func (*EksContainerDetail) SetCommand ¶
func (s *EksContainerDetail) SetCommand(v []*string) *EksContainerDetail
SetCommand sets the Command field's value.
func (*EksContainerDetail) SetEnv ¶
func (s *EksContainerDetail) SetEnv(v []*EksContainerEnvironmentVariable) *EksContainerDetail
SetEnv sets the Env field's value.
func (*EksContainerDetail) SetExitCode ¶
func (s *EksContainerDetail) SetExitCode(v int64) *EksContainerDetail
SetExitCode sets the ExitCode field's value.
func (*EksContainerDetail) SetImage ¶
func (s *EksContainerDetail) SetImage(v string) *EksContainerDetail
SetImage sets the Image field's value.
func (*EksContainerDetail) SetImagePullPolicy ¶
func (s *EksContainerDetail) SetImagePullPolicy(v string) *EksContainerDetail
SetImagePullPolicy sets the ImagePullPolicy field's value.
func (*EksContainerDetail) SetName ¶
func (s *EksContainerDetail) SetName(v string) *EksContainerDetail
SetName sets the Name field's value.
func (*EksContainerDetail) SetReason ¶
func (s *EksContainerDetail) SetReason(v string) *EksContainerDetail
SetReason sets the Reason field's value.
func (*EksContainerDetail) SetResources ¶
func (s *EksContainerDetail) SetResources(v *EksContainerResourceRequirements) *EksContainerDetail
SetResources sets the Resources field's value.
func (*EksContainerDetail) SetSecurityContext ¶
func (s *EksContainerDetail) SetSecurityContext(v *EksContainerSecurityContext) *EksContainerDetail
SetSecurityContext sets the SecurityContext field's value.
func (*EksContainerDetail) SetVolumeMounts ¶
func (s *EksContainerDetail) SetVolumeMounts(v []*EksContainerVolumeMount) *EksContainerDetail
SetVolumeMounts sets the VolumeMounts field's value.
func (EksContainerDetail) String ¶
func (s EksContainerDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EksContainerEnvironmentVariable ¶
type EksContainerEnvironmentVariable struct { // The name of the environment variable. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The value of the environment variable. Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
An environment variable.
func (EksContainerEnvironmentVariable) GoString ¶
func (s EksContainerEnvironmentVariable) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksContainerEnvironmentVariable) SetName ¶
func (s *EksContainerEnvironmentVariable) SetName(v string) *EksContainerEnvironmentVariable
SetName sets the Name field's value.
func (*EksContainerEnvironmentVariable) SetValue ¶
func (s *EksContainerEnvironmentVariable) SetValue(v string) *EksContainerEnvironmentVariable
SetValue sets the Value field's value.
func (EksContainerEnvironmentVariable) String ¶
func (s EksContainerEnvironmentVariable) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksContainerEnvironmentVariable) Validate ¶
func (s *EksContainerEnvironmentVariable) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EksContainerOverride ¶
type EksContainerOverride struct { // The arguments to the entrypoint to send to the container that overrides the // default arguments from the Docker image or the job definition. For more information, // see CMD (https://docs.docker.com/engine/reference/builder/#cmd) in the Dockerfile // reference and Define a command an arguments for a pod (https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/) // in the Kubernetes documentation. Args []*string `locationName:"args" type:"list"` // The command to send to the container that overrides the default command from // the Docker image or the job definition. Command []*string `locationName:"command" type:"list"` // The environment variables to send to the container. You can add new environment // variables, which are added to the container at launch. Or, you can override // the existing environment variables from the Docker image or the job definition. // // Environment variables cannot start with "AWS_BATCH". This naming convention // is reserved for variables that Batch sets. Env []*EksContainerEnvironmentVariable `locationName:"env" type:"list"` // The override of the Docker image that's used to start the container. Image *string `locationName:"image" type:"string"` // The type and amount of resources to assign to a container. These override // the settings in the job definition. The supported resources include memory, // cpu, and nvidia.com/gpu. For more information, see Resource management for // pods and containers (https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) // in the Kubernetes documentation. Resources *EksContainerResourceRequirements `locationName:"resources" type:"structure"` // contains filtered or unexported fields }
Object representing any Kubernetes overrides to a job definition that's used in a SubmitJob API operation.
func (EksContainerOverride) GoString ¶
func (s EksContainerOverride) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksContainerOverride) SetArgs ¶
func (s *EksContainerOverride) SetArgs(v []*string) *EksContainerOverride
SetArgs sets the Args field's value.
func (*EksContainerOverride) SetCommand ¶
func (s *EksContainerOverride) SetCommand(v []*string) *EksContainerOverride
SetCommand sets the Command field's value.
func (*EksContainerOverride) SetEnv ¶
func (s *EksContainerOverride) SetEnv(v []*EksContainerEnvironmentVariable) *EksContainerOverride
SetEnv sets the Env field's value.
func (*EksContainerOverride) SetImage ¶
func (s *EksContainerOverride) SetImage(v string) *EksContainerOverride
SetImage sets the Image field's value.
func (*EksContainerOverride) SetResources ¶
func (s *EksContainerOverride) SetResources(v *EksContainerResourceRequirements) *EksContainerOverride
SetResources sets the Resources field's value.
func (EksContainerOverride) String ¶
func (s EksContainerOverride) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksContainerOverride) Validate ¶
func (s *EksContainerOverride) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EksContainerResourceRequirements ¶
type EksContainerResourceRequirements struct { // The type and quantity of the resources to reserve for the container. The // values vary based on the name that's specified. Resources can be requested // using either the limits or the requests objects. // // memory // // The memory hard limit (in MiB) for the container, using whole integers, with // a "Mi" suffix. If your container attempts to exceed the memory specified, // the container is terminated. You must specify at least 4 MiB of memory for // a job. memory can be specified in limits, requests, or both. If memory is // specified in both places, then the value that's specified in limits must // be equal to the value that's specified in requests. // // To maximize your resource utilization, provide your jobs with as much memory // as possible for the specific instance type that you are using. To learn how, // see Memory management (https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html) // in the Batch User Guide. // // cpu // // The number of CPUs that's reserved for the container. Values must be an even // multiple of 0.25. cpu can be specified in limits, requests, or both. If cpu // is specified in both places, then the value that's specified in limits must // be at least as large as the value that's specified in requests. // // nvidia.com/gpu // // The number of GPUs that's reserved for the container. Values must be a whole // integer. memory can be specified in limits, requests, or both. If memory // is specified in both places, then the value that's specified in limits must // be equal to the value that's specified in requests. Limits map[string]*string `locationName:"limits" type:"map"` // The type and quantity of the resources to request for the container. The // values vary based on the name that's specified. Resources can be requested // by using either the limits or the requests objects. // // memory // // The memory hard limit (in MiB) for the container, using whole integers, with // a "Mi" suffix. If your container attempts to exceed the memory specified, // the container is terminated. You must specify at least 4 MiB of memory for // a job. memory can be specified in limits, requests, or both. If memory is // specified in both, then the value that's specified in limits must be equal // to the value that's specified in requests. // // If you're trying to maximize your resource utilization by providing your // jobs as much memory as possible for a particular instance type, see Memory // management (https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html) // in the Batch User Guide. // // cpu // // The number of CPUs that are reserved for the container. Values must be an // even multiple of 0.25. cpu can be specified in limits, requests, or both. // If cpu is specified in both, then the value that's specified in limits must // be at least as large as the value that's specified in requests. // // nvidia.com/gpu // // The number of GPUs that are reserved for the container. Values must be a // whole integer. nvidia.com/gpu can be specified in limits, requests, or both. // If nvidia.com/gpu is specified in both, then the value that's specified in // limits must be equal to the value that's specified in requests. Requests map[string]*string `locationName:"requests" type:"map"` // contains filtered or unexported fields }
The type and amount of resources to assign to a container. The supported resources include memory, cpu, and nvidia.com/gpu. For more information, see Resource management for pods and containers (https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) in the Kubernetes documentation.
func (EksContainerResourceRequirements) GoString ¶
func (s EksContainerResourceRequirements) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksContainerResourceRequirements) SetLimits ¶
func (s *EksContainerResourceRequirements) SetLimits(v map[string]*string) *EksContainerResourceRequirements
SetLimits sets the Limits field's value.
func (*EksContainerResourceRequirements) SetRequests ¶
func (s *EksContainerResourceRequirements) SetRequests(v map[string]*string) *EksContainerResourceRequirements
SetRequests sets the Requests field's value.
func (EksContainerResourceRequirements) String ¶
func (s EksContainerResourceRequirements) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EksContainerSecurityContext ¶
type EksContainerSecurityContext struct { // When this parameter is true, the container is given elevated permissions // on the host container instance. The level of permissions are similar to the // root user permissions. The default value is false. This parameter maps to // privileged policy in the Privileged pod security policies (https://kubernetes.io/docs/concepts/security/pod-security-policy/#privileged) // in the Kubernetes documentation. Privileged *bool `locationName:"privileged" type:"boolean"` // When this parameter is true, the container is given read-only access to its // root file system. The default value is false. This parameter maps to ReadOnlyRootFilesystem // policy in the Volumes and file systems pod security policies (https://kubernetes.io/docs/concepts/security/pod-security-policy/#volumes-and-file-systems) // in the Kubernetes documentation. ReadOnlyRootFilesystem *bool `locationName:"readOnlyRootFilesystem" type:"boolean"` // When this parameter is specified, the container is run as the specified group // ID (gid). If this parameter isn't specified, the default is the group that's // specified in the image metadata. This parameter maps to RunAsGroup and MustRunAs // policy in the Users and groups pod security policies (https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups) // in the Kubernetes documentation. RunAsGroup *int64 `locationName:"runAsGroup" type:"long"` // When this parameter is specified, the container is run as a user with a uid // other than 0. If this parameter isn't specified, so such rule is enforced. // This parameter maps to RunAsUser and MustRunAsNonRoot policy in the Users // and groups pod security policies (https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups) // in the Kubernetes documentation. RunAsNonRoot *bool `locationName:"runAsNonRoot" type:"boolean"` // When this parameter is specified, the container is run as the specified user // ID (uid). If this parameter isn't specified, the default is the user that's // specified in the image metadata. This parameter maps to RunAsUser and MustRanAs // policy in the Users and groups pod security policies (https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups) // in the Kubernetes documentation. RunAsUser *int64 `locationName:"runAsUser" type:"long"` // contains filtered or unexported fields }
The security context for a job. For more information, see Configure a security context for a pod or container (https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) in the Kubernetes documentation.
func (EksContainerSecurityContext) GoString ¶
func (s EksContainerSecurityContext) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksContainerSecurityContext) SetPrivileged ¶
func (s *EksContainerSecurityContext) SetPrivileged(v bool) *EksContainerSecurityContext
SetPrivileged sets the Privileged field's value.
func (*EksContainerSecurityContext) SetReadOnlyRootFilesystem ¶
func (s *EksContainerSecurityContext) SetReadOnlyRootFilesystem(v bool) *EksContainerSecurityContext
SetReadOnlyRootFilesystem sets the ReadOnlyRootFilesystem field's value.
func (*EksContainerSecurityContext) SetRunAsGroup ¶
func (s *EksContainerSecurityContext) SetRunAsGroup(v int64) *EksContainerSecurityContext
SetRunAsGroup sets the RunAsGroup field's value.
func (*EksContainerSecurityContext) SetRunAsNonRoot ¶
func (s *EksContainerSecurityContext) SetRunAsNonRoot(v bool) *EksContainerSecurityContext
SetRunAsNonRoot sets the RunAsNonRoot field's value.
func (*EksContainerSecurityContext) SetRunAsUser ¶
func (s *EksContainerSecurityContext) SetRunAsUser(v int64) *EksContainerSecurityContext
SetRunAsUser sets the RunAsUser field's value.
func (EksContainerSecurityContext) String ¶
func (s EksContainerSecurityContext) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EksContainerVolumeMount ¶
type EksContainerVolumeMount struct { // The path on the container where the volume is mounted. MountPath *string `locationName:"mountPath" type:"string"` // The name the volume mount. This must match the name of one of the volumes // in the pod. Name *string `locationName:"name" type:"string"` // If this value is true, the container has read-only access to the volume. // Otherwise, the container can write to the volume. The default value is false. ReadOnly *bool `locationName:"readOnly" type:"boolean"` // contains filtered or unexported fields }
The volume mounts for a container for an Amazon EKS job. For more information about volumes and volume mounts in Kubernetes, see Volumes (https://kubernetes.io/docs/concepts/storage/volumes/) in the Kubernetes documentation.
func (EksContainerVolumeMount) GoString ¶
func (s EksContainerVolumeMount) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksContainerVolumeMount) SetMountPath ¶
func (s *EksContainerVolumeMount) SetMountPath(v string) *EksContainerVolumeMount
SetMountPath sets the MountPath field's value.
func (*EksContainerVolumeMount) SetName ¶
func (s *EksContainerVolumeMount) SetName(v string) *EksContainerVolumeMount
SetName sets the Name field's value.
func (*EksContainerVolumeMount) SetReadOnly ¶
func (s *EksContainerVolumeMount) SetReadOnly(v bool) *EksContainerVolumeMount
SetReadOnly sets the ReadOnly field's value.
func (EksContainerVolumeMount) String ¶
func (s EksContainerVolumeMount) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EksEmptyDir ¶
type EksEmptyDir struct { // The medium to store the volume. The default value is an empty string, which // uses the storage of the node. // // "" // // (Default) Use the disk storage of the node. // // "Memory" // // Use the tmpfs volume that's backed by the RAM of the node. Contents of the // volume are lost when the node reboots, and any storage on the volume counts // against the container's memory limit. Medium *string `locationName:"medium" type:"string"` // The maximum size of the volume. By default, there's no maximum size defined. SizeLimit *string `locationName:"sizeLimit" min:"1" type:"string"` // contains filtered or unexported fields }
Specifies the configuration of a Kubernetes emptyDir volume. An emptyDir volume is first created when a pod is assigned to a node. It exists as long as that pod is running on that node. The emptyDir volume is initially empty. All containers in the pod can read and write the files in the emptyDir volume. However, the emptyDir volume can be mounted at the same or different paths in each container. When a pod is removed from a node for any reason, the data in the emptyDir is deleted permanently. For more information, see emptyDir (https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) in the Kubernetes documentation.
func (EksEmptyDir) GoString ¶
func (s EksEmptyDir) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksEmptyDir) SetMedium ¶
func (s *EksEmptyDir) SetMedium(v string) *EksEmptyDir
SetMedium sets the Medium field's value.
func (*EksEmptyDir) SetSizeLimit ¶
func (s *EksEmptyDir) SetSizeLimit(v string) *EksEmptyDir
SetSizeLimit sets the SizeLimit field's value.
func (EksEmptyDir) String ¶
func (s EksEmptyDir) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksEmptyDir) Validate ¶
func (s *EksEmptyDir) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EksHostPath ¶
type EksHostPath struct { // The path of the file or directory on the host to mount into containers on // the pod. Path *string `locationName:"path" type:"string"` // contains filtered or unexported fields }
Specifies the configuration of a Kubernetes hostPath volume. A hostPath volume mounts an existing file or directory from the host node's filesystem into your pod. For more information, see hostPath (https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) in the Kubernetes documentation.
func (EksHostPath) GoString ¶
func (s EksHostPath) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksHostPath) SetPath ¶
func (s *EksHostPath) SetPath(v string) *EksHostPath
SetPath sets the Path field's value.
func (EksHostPath) String ¶
func (s EksHostPath) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EksMetadata ¶
type EksMetadata struct { // Key-value pairs used to identify, sort, and organize cube resources. Can // contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), // and underscores (_). Labels can be added or modified at any time. Each resource // can have multiple labels, but each key must be unique for a given object. Labels map[string]*string `locationName:"labels" type:"map"` // contains filtered or unexported fields }
Describes and uniquely identifies Kubernetes resources. For example, the compute environment that a pod runs in or the jobID for a job running in the pod. For more information, see Understanding Kubernetes Objects (https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/) in the Kubernetes documentation.
func (EksMetadata) GoString ¶
func (s EksMetadata) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksMetadata) SetLabels ¶
func (s *EksMetadata) SetLabels(v map[string]*string) *EksMetadata
SetLabels sets the Labels field's value.
func (EksMetadata) String ¶
func (s EksMetadata) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EksPodProperties ¶
type EksPodProperties struct { // The properties of the container that's used on the Amazon EKS pod. Containers []*EksContainer `locationName:"containers" type:"list"` // The DNS policy for the pod. The default value is ClusterFirst. If the hostNetwork // parameter is not specified, the default is ClusterFirstWithHostNet. ClusterFirst // indicates that any DNS query that does not match the configured cluster domain // suffix is forwarded to the upstream nameserver inherited from the node. For // more information, see Pod's DNS policy (https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy) // in the Kubernetes documentation. // // Valid values: Default | ClusterFirst | ClusterFirstWithHostNet DnsPolicy *string `locationName:"dnsPolicy" type:"string"` // Indicates if the pod uses the hosts' network IP address. The default value // is true. Setting this to false enables the Kubernetes pod networking model. // Most Batch workloads are egress-only and don't require the overhead of IP // allocation for each pod for incoming connections. For more information, see // Host namespaces (https://kubernetes.io/docs/concepts/security/pod-security-policy/#host-namespaces) // and Pod networking (https://kubernetes.io/docs/concepts/workloads/pods/#pod-networking) // in the Kubernetes documentation. HostNetwork *bool `locationName:"hostNetwork" type:"boolean"` // Metadata about the Kubernetes pod. For more information, see Understanding // Kubernetes Objects (https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/) // in the Kubernetes documentation. Metadata *EksMetadata `locationName:"metadata" type:"structure"` // The name of the service account that's used to run the pod. For more information, // see Kubernetes service accounts (https://docs.aws.amazon.com/eks/latest/userguide/service-accounts.html) // and Configure a Kubernetes service account to assume an IAM role (https://docs.aws.amazon.com/eks/latest/userguide/associate-service-account-role.html) // in the Amazon EKS User Guide and Configure service accounts for pods (https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/) // in the Kubernetes documentation. ServiceAccountName *string `locationName:"serviceAccountName" type:"string"` // Specifies the volumes for a job definition that uses Amazon EKS resources. Volumes []*EksVolume `locationName:"volumes" type:"list"` // contains filtered or unexported fields }
The properties for the pod.
func (EksPodProperties) GoString ¶
func (s EksPodProperties) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksPodProperties) SetContainers ¶
func (s *EksPodProperties) SetContainers(v []*EksContainer) *EksPodProperties
SetContainers sets the Containers field's value.
func (*EksPodProperties) SetDnsPolicy ¶
func (s *EksPodProperties) SetDnsPolicy(v string) *EksPodProperties
SetDnsPolicy sets the DnsPolicy field's value.
func (*EksPodProperties) SetHostNetwork ¶
func (s *EksPodProperties) SetHostNetwork(v bool) *EksPodProperties
SetHostNetwork sets the HostNetwork field's value.
func (*EksPodProperties) SetMetadata ¶
func (s *EksPodProperties) SetMetadata(v *EksMetadata) *EksPodProperties
SetMetadata sets the Metadata field's value.
func (*EksPodProperties) SetServiceAccountName ¶
func (s *EksPodProperties) SetServiceAccountName(v string) *EksPodProperties
SetServiceAccountName sets the ServiceAccountName field's value.
func (*EksPodProperties) SetVolumes ¶
func (s *EksPodProperties) SetVolumes(v []*EksVolume) *EksPodProperties
SetVolumes sets the Volumes field's value.
func (EksPodProperties) String ¶
func (s EksPodProperties) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksPodProperties) Validate ¶
func (s *EksPodProperties) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EksPodPropertiesDetail ¶
type EksPodPropertiesDetail struct { // The properties of the container that's used on the Amazon EKS pod. Containers []*EksContainerDetail `locationName:"containers" type:"list"` // The DNS policy for the pod. The default value is ClusterFirst. If the hostNetwork // parameter is not specified, the default is ClusterFirstWithHostNet. ClusterFirst // indicates that any DNS query that does not match the configured cluster domain // suffix is forwarded to the upstream nameserver inherited from the node. If // no value was specified for dnsPolicy in the RegisterJobDefinition (https://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html) // API operation, then no value will be returned for dnsPolicy by either of // DescribeJobDefinitions (https://docs.aws.amazon.com/batch/latest/APIReference/API_DescribeJobDefinitions.html) // or DescribeJobs (https://docs.aws.amazon.com/batch/latest/APIReference/API_DescribeJobs.html) // API operations. The pod spec setting will contain either ClusterFirst or // ClusterFirstWithHostNet, depending on the value of the hostNetwork parameter. // For more information, see Pod's DNS policy (https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy) // in the Kubernetes documentation. // // Valid values: Default | ClusterFirst | ClusterFirstWithHostNet DnsPolicy *string `locationName:"dnsPolicy" type:"string"` // Indicates if the pod uses the hosts' network IP address. The default value // is true. Setting this to false enables the Kubernetes pod networking model. // Most Batch workloads are egress-only and don't require the overhead of IP // allocation for each pod for incoming connections. For more information, see // Host namespaces (https://kubernetes.io/docs/concepts/security/pod-security-policy/#host-namespaces) // and Pod networking (https://kubernetes.io/docs/concepts/workloads/pods/#pod-networking) // in the Kubernetes documentation. HostNetwork *bool `locationName:"hostNetwork" type:"boolean"` // Describes and uniquely identifies Kubernetes resources. For example, the // compute environment that a pod runs in or the jobID for a job running in // the pod. For more information, see Understanding Kubernetes Objects (https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/) // in the Kubernetes documentation. Metadata *EksMetadata `locationName:"metadata" type:"structure"` // The name of the node for this job. NodeName *string `locationName:"nodeName" type:"string"` // The name of the pod for this job. PodName *string `locationName:"podName" type:"string"` // The name of the service account that's used to run the pod. For more information, // see Kubernetes service accounts (https://docs.aws.amazon.com/eks/latest/userguide/service-accounts.html) // and Configure a Kubernetes service account to assume an IAM role (https://docs.aws.amazon.com/eks/latest/userguide/associate-service-account-role.html) // in the Amazon EKS User Guide and Configure service accounts for pods (https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/) // in the Kubernetes documentation. ServiceAccountName *string `locationName:"serviceAccountName" type:"string"` // Specifies the volumes for a job definition using Amazon EKS resources. Volumes []*EksVolume `locationName:"volumes" type:"list"` // contains filtered or unexported fields }
The details for the pod.
func (EksPodPropertiesDetail) GoString ¶
func (s EksPodPropertiesDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksPodPropertiesDetail) SetContainers ¶
func (s *EksPodPropertiesDetail) SetContainers(v []*EksContainerDetail) *EksPodPropertiesDetail
SetContainers sets the Containers field's value.
func (*EksPodPropertiesDetail) SetDnsPolicy ¶
func (s *EksPodPropertiesDetail) SetDnsPolicy(v string) *EksPodPropertiesDetail
SetDnsPolicy sets the DnsPolicy field's value.
func (*EksPodPropertiesDetail) SetHostNetwork ¶
func (s *EksPodPropertiesDetail) SetHostNetwork(v bool) *EksPodPropertiesDetail
SetHostNetwork sets the HostNetwork field's value.
func (*EksPodPropertiesDetail) SetMetadata ¶
func (s *EksPodPropertiesDetail) SetMetadata(v *EksMetadata) *EksPodPropertiesDetail
SetMetadata sets the Metadata field's value.
func (*EksPodPropertiesDetail) SetNodeName ¶
func (s *EksPodPropertiesDetail) SetNodeName(v string) *EksPodPropertiesDetail
SetNodeName sets the NodeName field's value.
func (*EksPodPropertiesDetail) SetPodName ¶
func (s *EksPodPropertiesDetail) SetPodName(v string) *EksPodPropertiesDetail
SetPodName sets the PodName field's value.
func (*EksPodPropertiesDetail) SetServiceAccountName ¶
func (s *EksPodPropertiesDetail) SetServiceAccountName(v string) *EksPodPropertiesDetail
SetServiceAccountName sets the ServiceAccountName field's value.
func (*EksPodPropertiesDetail) SetVolumes ¶
func (s *EksPodPropertiesDetail) SetVolumes(v []*EksVolume) *EksPodPropertiesDetail
SetVolumes sets the Volumes field's value.
func (EksPodPropertiesDetail) String ¶
func (s EksPodPropertiesDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EksPodPropertiesOverride ¶
type EksPodPropertiesOverride struct { // The overrides for the container that's used on the Amazon EKS pod. Containers []*EksContainerOverride `locationName:"containers" type:"list"` // Metadata about the overrides for the container that's used on the Amazon // EKS pod. Metadata *EksMetadata `locationName:"metadata" type:"structure"` // contains filtered or unexported fields }
An object that contains overrides for the Kubernetes pod properties of a job.
func (EksPodPropertiesOverride) GoString ¶
func (s EksPodPropertiesOverride) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksPodPropertiesOverride) SetContainers ¶
func (s *EksPodPropertiesOverride) SetContainers(v []*EksContainerOverride) *EksPodPropertiesOverride
SetContainers sets the Containers field's value.
func (*EksPodPropertiesOverride) SetMetadata ¶
func (s *EksPodPropertiesOverride) SetMetadata(v *EksMetadata) *EksPodPropertiesOverride
SetMetadata sets the Metadata field's value.
func (EksPodPropertiesOverride) String ¶
func (s EksPodPropertiesOverride) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksPodPropertiesOverride) Validate ¶
func (s *EksPodPropertiesOverride) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EksProperties ¶
type EksProperties struct { // The properties for the Kubernetes pod resources of a job. PodProperties *EksPodProperties `locationName:"podProperties" type:"structure"` // contains filtered or unexported fields }
An object that contains the properties for the Kubernetes resources of a job.
func (EksProperties) GoString ¶
func (s EksProperties) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksProperties) SetPodProperties ¶
func (s *EksProperties) SetPodProperties(v *EksPodProperties) *EksProperties
SetPodProperties sets the PodProperties field's value.
func (EksProperties) String ¶
func (s EksProperties) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksProperties) Validate ¶
func (s *EksProperties) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EksPropertiesDetail ¶
type EksPropertiesDetail struct { // The properties for the Kubernetes pod resources of a job. PodProperties *EksPodPropertiesDetail `locationName:"podProperties" type:"structure"` // contains filtered or unexported fields }
An object that contains the details for the Kubernetes resources of a job.
func (EksPropertiesDetail) GoString ¶
func (s EksPropertiesDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksPropertiesDetail) SetPodProperties ¶
func (s *EksPropertiesDetail) SetPodProperties(v *EksPodPropertiesDetail) *EksPropertiesDetail
SetPodProperties sets the PodProperties field's value.
func (EksPropertiesDetail) String ¶
func (s EksPropertiesDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EksPropertiesOverride ¶
type EksPropertiesOverride struct { // The overrides for the Kubernetes pod resources of a job. PodProperties *EksPodPropertiesOverride `locationName:"podProperties" type:"structure"` // contains filtered or unexported fields }
An object that contains overrides for the Kubernetes resources of a job.
func (EksPropertiesOverride) GoString ¶
func (s EksPropertiesOverride) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksPropertiesOverride) SetPodProperties ¶
func (s *EksPropertiesOverride) SetPodProperties(v *EksPodPropertiesOverride) *EksPropertiesOverride
SetPodProperties sets the PodProperties field's value.
func (EksPropertiesOverride) String ¶
func (s EksPropertiesOverride) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksPropertiesOverride) Validate ¶
func (s *EksPropertiesOverride) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EksSecret ¶
type EksSecret struct { // Specifies whether the secret or the secret's keys must be defined. Optional *bool `locationName:"optional" type:"boolean"` // The name of the secret. The name must be allowed as a DNS subdomain name. // For more information, see DNS subdomain names (https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) // in the Kubernetes documentation. // // SecretName is a required field SecretName *string `locationName:"secretName" type:"string" required:"true"` // contains filtered or unexported fields }
Specifies the configuration of a Kubernetes secret volume. For more information, see secret (https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the Kubernetes documentation.
func (EksSecret) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksSecret) SetOptional ¶
SetOptional sets the Optional field's value.
func (*EksSecret) SetSecretName ¶
SetSecretName sets the SecretName field's value.
type EksVolume ¶
type EksVolume struct { // Specifies the configuration of a Kubernetes emptyDir volume. For more information, // see emptyDir (https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) // in the Kubernetes documentation. EmptyDir *EksEmptyDir `locationName:"emptyDir" type:"structure"` // Specifies the configuration of a Kubernetes hostPath volume. For more information, // see hostPath (https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) // in the Kubernetes documentation. HostPath *EksHostPath `locationName:"hostPath" type:"structure"` // The name of the volume. The name must be allowed as a DNS subdomain name. // For more information, see DNS subdomain names (https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) // in the Kubernetes documentation. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // Specifies the configuration of a Kubernetes secret volume. For more information, // see secret (https://kubernetes.io/docs/concepts/storage/volumes/#secret) // in the Kubernetes documentation. Secret *EksSecret `locationName:"secret" type:"structure"` // contains filtered or unexported fields }
Specifies an Amazon EKS volume for a job definition.
func (EksVolume) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksVolume) SetEmptyDir ¶
func (s *EksVolume) SetEmptyDir(v *EksEmptyDir) *EksVolume
SetEmptyDir sets the EmptyDir field's value.
func (*EksVolume) SetHostPath ¶
func (s *EksVolume) SetHostPath(v *EksHostPath) *EksVolume
SetHostPath sets the HostPath field's value.
type EphemeralStorage ¶
type EphemeralStorage struct { // The total amount, in GiB, of ephemeral storage to set for the task. The minimum // supported value is 21 GiB and the maximum supported value is 200 GiB. // // SizeInGiB is a required field SizeInGiB *int64 `locationName:"sizeInGiB" type:"integer" required:"true"` // contains filtered or unexported fields }
The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on Fargate.
func (EphemeralStorage) GoString ¶
func (s EphemeralStorage) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EphemeralStorage) SetSizeInGiB ¶
func (s *EphemeralStorage) SetSizeInGiB(v int64) *EphemeralStorage
SetSizeInGiB sets the SizeInGiB field's value.
func (EphemeralStorage) String ¶
func (s EphemeralStorage) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EphemeralStorage) Validate ¶
func (s *EphemeralStorage) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EvaluateOnExit ¶
type EvaluateOnExit struct { // Specifies the action to take if all of the specified conditions (onStatusReason, // onReason, and onExitCode) are met. The values aren't case sensitive. // // Action is a required field Action *string `locationName:"action" type:"string" required:"true" enum:"RetryAction"` // Contains a glob pattern to match against the decimal representation of the // ExitCode returned for a job. The pattern can be up to 512 characters long. // It can contain only numbers, and can end with an asterisk (*) so that only // the start of the string needs to be an exact match. // // The string can contain up to 512 characters. OnExitCode *string `locationName:"onExitCode" type:"string"` // Contains a glob pattern to match against the Reason returned for a job. The // pattern can contain up to 512 characters. It can contain letters, numbers, // periods (.), colons (:), and white space (including spaces and tabs). It // can optionally end with an asterisk (*) so that only the start of the string // needs to be an exact match. OnReason *string `locationName:"onReason" type:"string"` // Contains a glob pattern to match against the StatusReason returned for a // job. The pattern can contain up to 512 characters. It can contain letters, // numbers, periods (.), colons (:), and white spaces (including spaces or tabs). // It can optionally end with an asterisk (*) so that only the start of the // string needs to be an exact match. OnStatusReason *string `locationName:"onStatusReason" type:"string"` // contains filtered or unexported fields }
Specifies an array of up to 5 conditions to be met, and an action to take (RETRY or EXIT) if all conditions are met. If none of the EvaluateOnExit conditions in a RetryStrategy match, then the job is retried.
func (EvaluateOnExit) GoString ¶
func (s EvaluateOnExit) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EvaluateOnExit) SetAction ¶
func (s *EvaluateOnExit) SetAction(v string) *EvaluateOnExit
SetAction sets the Action field's value.
func (*EvaluateOnExit) SetOnExitCode ¶
func (s *EvaluateOnExit) SetOnExitCode(v string) *EvaluateOnExit
SetOnExitCode sets the OnExitCode field's value.
func (*EvaluateOnExit) SetOnReason ¶
func (s *EvaluateOnExit) SetOnReason(v string) *EvaluateOnExit
SetOnReason sets the OnReason field's value.
func (*EvaluateOnExit) SetOnStatusReason ¶
func (s *EvaluateOnExit) SetOnStatusReason(v string) *EvaluateOnExit
SetOnStatusReason sets the OnStatusReason field's value.
func (EvaluateOnExit) String ¶
func (s EvaluateOnExit) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EvaluateOnExit) Validate ¶
func (s *EvaluateOnExit) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type FairsharePolicy ¶
type FairsharePolicy struct { // identifiers that aren't already used. // // The reserved ratio is (computeReservation/100)^ActiveFairShares where ActiveFairShares // is the number of active fair share identifiers. // // For example, a computeReservation value of 50 indicates that Batchreserves // 50% of the maximum available vCPU if there's only one fair share identifier. // It reserves 25% if there are two fair share identifiers. It reserves 12.5% // if there are three fair share identifiers. A computeReservation value of // 25 indicates that Batch should reserve 25% of the maximum available vCPU // if there's only one fair share identifier, 6.25% if there are two fair share // identifiers, and 1.56% if there are three fair share identifiers. // // The minimum value is 0 and the maximum value is 99. ComputeReservation *int64 `locationName:"computeReservation" type:"integer"` // for each fair share identifier in use. A value of zero (0) indicates that // only current usage is measured. The decay allows for more recently run jobs // to have more weight than jobs that ran earlier. The maximum supported value // is 604800 (1 week). ShareDecaySeconds *int64 `locationName:"shareDecaySeconds" type:"integer"` // share identifiers for the fair share policy. Fair share identifiers that // aren't included have a default weight of 1.0. ShareDistribution []*ShareAttributes `locationName:"shareDistribution" type:"list"` // contains filtered or unexported fields }
The fair share policy for a scheduling policy.
func (FairsharePolicy) GoString ¶
func (s FairsharePolicy) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*FairsharePolicy) SetComputeReservation ¶
func (s *FairsharePolicy) SetComputeReservation(v int64) *FairsharePolicy
SetComputeReservation sets the ComputeReservation field's value.
func (*FairsharePolicy) SetShareDecaySeconds ¶
func (s *FairsharePolicy) SetShareDecaySeconds(v int64) *FairsharePolicy
SetShareDecaySeconds sets the ShareDecaySeconds field's value.
func (*FairsharePolicy) SetShareDistribution ¶
func (s *FairsharePolicy) SetShareDistribution(v []*ShareAttributes) *FairsharePolicy
SetShareDistribution sets the ShareDistribution field's value.
func (FairsharePolicy) String ¶
func (s FairsharePolicy) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*FairsharePolicy) Validate ¶
func (s *FairsharePolicy) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type FargatePlatformConfiguration ¶
type FargatePlatformConfiguration struct { // The Fargate platform version where the jobs are running. A platform version // is specified only for jobs that are running on Fargate resources. If one // isn't specified, the LATEST platform version is used by default. This uses // a recent, approved version of the Fargate platform for compute resources. // For more information, see Fargate platform versions (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) // in the Amazon Elastic Container Service Developer Guide. PlatformVersion *string `locationName:"platformVersion" type:"string"` // contains filtered or unexported fields }
The platform configuration for jobs that are running on Fargate resources. Jobs that run on EC2 resources must not specify this parameter.
func (FargatePlatformConfiguration) GoString ¶
func (s FargatePlatformConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*FargatePlatformConfiguration) SetPlatformVersion ¶
func (s *FargatePlatformConfiguration) SetPlatformVersion(v string) *FargatePlatformConfiguration
SetPlatformVersion sets the PlatformVersion field's value.
func (FargatePlatformConfiguration) String ¶
func (s FargatePlatformConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Host ¶
type Host struct { // The path on the host container instance that's presented to the container. // If this parameter is empty, then the Docker daemon has assigned a host path // for you. If this parameter contains a file location, then the data volume // persists at the specified location on the host container instance until you // delete it manually. If the source path location doesn't exist on the host // container instance, the Docker daemon creates it. If the location does exist, // the contents of the source path folder are exported. // // This parameter isn't applicable to jobs that run on Fargate resources. Don't // provide this for these jobs. SourcePath *string `locationName:"sourcePath" type:"string"` // contains filtered or unexported fields }
Determine whether your data volume persists on the host container instance and where it's stored. If this parameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data isn't guaranteed to persist after the containers that are associated with it stop running.
func (Host) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Host) SetSourcePath ¶
SetSourcePath sets the SourcePath field's value.
type JobDefinition ¶
type JobDefinition struct { // The orchestration type of the compute environment. The valid values are ECS // (default) or EKS. ContainerOrchestrationType *string `locationName:"containerOrchestrationType" type:"string" enum:"OrchestrationType"` // An object with various properties specific to Amazon ECS based jobs. Valid // values are containerProperties, eksProperties, and nodeProperties. Only one // can be specified. ContainerProperties *ContainerProperties `locationName:"containerProperties" type:"structure"` // An object with various properties that are specific to Amazon EKS based jobs. // Valid values are containerProperties, eksProperties, and nodeProperties. // Only one can be specified. EksProperties *EksProperties `locationName:"eksProperties" type:"structure"` // The Amazon Resource Name (ARN) for the job definition. // // JobDefinitionArn is a required field JobDefinitionArn *string `locationName:"jobDefinitionArn" type:"string" required:"true"` // The name of the job definition. // // JobDefinitionName is a required field JobDefinitionName *string `locationName:"jobDefinitionName" type:"string" required:"true"` // An object with various properties that are specific to multi-node parallel // jobs. Valid values are containerProperties, eksProperties, and nodeProperties. // Only one can be specified. // // If the job runs on Fargate resources, don't specify nodeProperties. Use containerProperties // instead. NodeProperties *NodeProperties `locationName:"nodeProperties" type:"structure"` // Default parameters or parameter substitution placeholders that are set in // the job definition. Parameters are specified as a key-value pair mapping. // Parameters in a SubmitJob request override any corresponding parameter defaults // from the job definition. For more information about specifying parameters, // see Job definition parameters (https://docs.aws.amazon.com/batch/latest/userguide/job_definition_parameters.html) // in the Batch User Guide. Parameters map[string]*string `locationName:"parameters" type:"map"` // The platform capabilities required by the job definition. If no value is // specified, it defaults to EC2. Jobs run on Fargate resources specify FARGATE. PlatformCapabilities []*string `locationName:"platformCapabilities" type:"list" enum:"PlatformCapability"` // Specifies whether to propagate the tags from the job or job definition to // the corresponding Amazon ECS task. If no value is specified, the tags aren't // propagated. Tags can only be propagated to the tasks when the tasks are created. // For tags with the same name, job tags are given priority over job definitions // tags. If the total number of combined tags from the job and job definition // is over 50, the job is moved to the FAILED state. PropagateTags *bool `locationName:"propagateTags" type:"boolean"` // The retry strategy to use for failed jobs that are submitted with this job // definition. RetryStrategy *RetryStrategy `locationName:"retryStrategy" type:"structure"` // The revision of the job definition. // // Revision is a required field Revision *int64 `locationName:"revision" type:"integer" required:"true"` // The scheduling priority of the job definition. This only affects jobs in // job queues with a fair share policy. Jobs with a higher scheduling priority // are scheduled before jobs with a lower scheduling priority. SchedulingPriority *int64 `locationName:"schedulingPriority" type:"integer"` // The status of the job definition. Status *string `locationName:"status" type:"string"` // The tags that are applied to the job definition. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` // The timeout time for jobs that are submitted with this job definition. After // the amount of time you specify passes, Batch terminates your jobs if they // aren't finished. Timeout *JobTimeout `locationName:"timeout" type:"structure"` // The type of job definition. It's either container or multinode. If the job // is run on Fargate resources, then multinode isn't supported. For more information // about multi-node parallel jobs, see Creating a multi-node parallel job definition // (https://docs.aws.amazon.com/batch/latest/userguide/multi-node-job-def.html) // in the Batch User Guide. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents an Batch job definition.
func (JobDefinition) GoString ¶
func (s JobDefinition) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*JobDefinition) SetContainerOrchestrationType ¶
func (s *JobDefinition) SetContainerOrchestrationType(v string) *JobDefinition
SetContainerOrchestrationType sets the ContainerOrchestrationType field's value.
func (*JobDefinition) SetContainerProperties ¶
func (s *JobDefinition) SetContainerProperties(v *ContainerProperties) *JobDefinition
SetContainerProperties sets the ContainerProperties field's value.
func (*JobDefinition) SetEksProperties ¶
func (s *JobDefinition) SetEksProperties(v *EksProperties) *JobDefinition
SetEksProperties sets the EksProperties field's value.
func (*JobDefinition) SetJobDefinitionArn ¶
func (s *JobDefinition) SetJobDefinitionArn(v string) *JobDefinition
SetJobDefinitionArn sets the JobDefinitionArn field's value.
func (*JobDefinition) SetJobDefinitionName ¶
func (s *JobDefinition) SetJobDefinitionName(v string) *JobDefinition
SetJobDefinitionName sets the JobDefinitionName field's value.
func (*JobDefinition) SetNodeProperties ¶
func (s *JobDefinition) SetNodeProperties(v *NodeProperties) *JobDefinition
SetNodeProperties sets the NodeProperties field's value.
func (*JobDefinition) SetParameters ¶
func (s *JobDefinition) SetParameters(v map[string]*string) *JobDefinition
SetParameters sets the Parameters field's value.
func (*JobDefinition) SetPlatformCapabilities ¶
func (s *JobDefinition) SetPlatformCapabilities(v []*string) *JobDefinition
SetPlatformCapabilities sets the PlatformCapabilities field's value.
func (*JobDefinition) SetPropagateTags ¶
func (s *JobDefinition) SetPropagateTags(v bool) *JobDefinition
SetPropagateTags sets the PropagateTags field's value.
func (*JobDefinition) SetRetryStrategy ¶
func (s *JobDefinition) SetRetryStrategy(v *RetryStrategy) *JobDefinition
SetRetryStrategy sets the RetryStrategy field's value.
func (*JobDefinition) SetRevision ¶
func (s *JobDefinition) SetRevision(v int64) *JobDefinition
SetRevision sets the Revision field's value.
func (*JobDefinition) SetSchedulingPriority ¶
func (s *JobDefinition) SetSchedulingPriority(v int64) *JobDefinition
SetSchedulingPriority sets the SchedulingPriority field's value.
func (*JobDefinition) SetStatus ¶
func (s *JobDefinition) SetStatus(v string) *JobDefinition
SetStatus sets the Status field's value.
func (*JobDefinition) SetTags ¶
func (s *JobDefinition) SetTags(v map[string]*string) *JobDefinition
SetTags sets the Tags field's value.
func (*JobDefinition) SetTimeout ¶
func (s *JobDefinition) SetTimeout(v *JobTimeout) *JobDefinition
SetTimeout sets the Timeout field's value.
func (*JobDefinition) SetType ¶
func (s *JobDefinition) SetType(v string) *JobDefinition
SetType sets the Type field's value.
func (JobDefinition) String ¶
func (s JobDefinition) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type JobDependency ¶
type JobDependency struct { // The job ID of the Batch job that's associated with this dependency. JobId *string `locationName:"jobId" type:"string"` // The type of the job dependency. Type *string `locationName:"type" type:"string" enum:"ArrayJobDependency"` // contains filtered or unexported fields }
An object that represents an Batch job dependency.
func (JobDependency) GoString ¶
func (s JobDependency) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*JobDependency) SetJobId ¶
func (s *JobDependency) SetJobId(v string) *JobDependency
SetJobId sets the JobId field's value.
func (*JobDependency) SetType ¶
func (s *JobDependency) SetType(v string) *JobDependency
SetType sets the Type field's value.
func (JobDependency) String ¶
func (s JobDependency) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type JobDetail ¶
type JobDetail struct { // The array properties of the job, if it's an array job. ArrayProperties *ArrayPropertiesDetail `locationName:"arrayProperties" type:"structure"` // A list of job attempts that are associated with this job. Attempts []*AttemptDetail `locationName:"attempts" type:"list"` // An object that represents the details for the container that's associated // with the job. Container *ContainerDetail `locationName:"container" type:"structure"` // The Unix timestamp (in milliseconds) for when the job was created. For non-array // jobs and parent array jobs, this is when the job entered the SUBMITTED state. // This is specifically at the time SubmitJob was called. For array child jobs, // this is when the child job was spawned by its parent and entered the PENDING // state. CreatedAt *int64 `locationName:"createdAt" type:"long"` // A list of job IDs that this job depends on. DependsOn []*JobDependency `locationName:"dependsOn" type:"list"` // A list of job attempts that are associated with this job. EksAttempts []*EksAttemptDetail `locationName:"eksAttempts" type:"list"` // An object with various properties that are specific to Amazon EKS based jobs. // Only one of container, eksProperties, or nodeDetails is specified. EksProperties *EksPropertiesDetail `locationName:"eksProperties" type:"structure"` // Indicates whether the job is canceled. IsCancelled *bool `locationName:"isCancelled" type:"boolean"` // Indicates whether the job is terminated. IsTerminated *bool `locationName:"isTerminated" type:"boolean"` // The Amazon Resource Name (ARN) of the job. JobArn *string `locationName:"jobArn" type:"string"` // The Amazon Resource Name (ARN) of the job definition that this job uses. // // JobDefinition is a required field JobDefinition *string `locationName:"jobDefinition" type:"string" required:"true"` // The job ID. // // JobId is a required field JobId *string `locationName:"jobId" type:"string" required:"true"` // The job name. // // JobName is a required field JobName *string `locationName:"jobName" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the job queue that the job is associated // with. // // JobQueue is a required field JobQueue *string `locationName:"jobQueue" type:"string" required:"true"` // An object that represents the details of a node that's associated with a // multi-node parallel job. NodeDetails *NodeDetails `locationName:"nodeDetails" type:"structure"` // An object that represents the node properties of a multi-node parallel job. // // This isn't applicable to jobs that are running on Fargate resources. NodeProperties *NodeProperties `locationName:"nodeProperties" type:"structure"` // Additional parameters that are passed to the job that replace parameter substitution // placeholders or override any corresponding parameter defaults from the job // definition. Parameters map[string]*string `locationName:"parameters" type:"map"` // The platform capabilities required by the job definition. If no value is // specified, it defaults to EC2. Jobs run on Fargate resources specify FARGATE. PlatformCapabilities []*string `locationName:"platformCapabilities" type:"list" enum:"PlatformCapability"` // Specifies whether to propagate the tags from the job or job definition to // the corresponding Amazon ECS task. If no value is specified, the tags aren't // propagated. Tags can only be propagated to the tasks when the tasks are created. // For tags with the same name, job tags are given priority over job definitions // tags. If the total number of combined tags from the job and job definition // is over 50, the job is moved to the FAILED state. PropagateTags *bool `locationName:"propagateTags" type:"boolean"` // The retry strategy to use for this job if an attempt fails. RetryStrategy *RetryStrategy `locationName:"retryStrategy" type:"structure"` // The scheduling policy of the job definition. This only affects jobs in job // queues with a fair share policy. Jobs with a higher scheduling priority are // scheduled before jobs with a lower scheduling priority. SchedulingPriority *int64 `locationName:"schedulingPriority" type:"integer"` ShareIdentifier *string `locationName:"shareIdentifier" type:"string"` // The Unix timestamp (in milliseconds) for when the job was started. More specifically, // it's when the job transitioned from the STARTING state to the RUNNING state. // This parameter isn't provided for child jobs of array jobs or multi-node // parallel jobs. // // StartedAt is a required field StartedAt *int64 `locationName:"startedAt" type:"long" required:"true"` // The current status for the job. // // If your jobs don't progress to STARTING, see Jobs stuck in RUNNABLE status // (https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#job_stuck_in_runnable) // in the troubleshooting section of the Batch User Guide. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"JobStatus"` // A short, human-readable string to provide more details for the current status // of the job. StatusReason *string `locationName:"statusReason" type:"string"` // The Unix timestamp (in milliseconds) for when the job was stopped. More specifically, // it's when the job transitioned from the RUNNING state to a terminal state, // such as SUCCEEDED or FAILED. StoppedAt *int64 `locationName:"stoppedAt" type:"long"` // The tags that are applied to the job. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` // The timeout configuration for the job. Timeout *JobTimeout `locationName:"timeout" type:"structure"` // contains filtered or unexported fields }
An object that represents an Batch job.
func (JobDetail) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*JobDetail) SetArrayProperties ¶
func (s *JobDetail) SetArrayProperties(v *ArrayPropertiesDetail) *JobDetail
SetArrayProperties sets the ArrayProperties field's value.
func (*JobDetail) SetAttempts ¶
func (s *JobDetail) SetAttempts(v []*AttemptDetail) *JobDetail
SetAttempts sets the Attempts field's value.
func (*JobDetail) SetContainer ¶
func (s *JobDetail) SetContainer(v *ContainerDetail) *JobDetail
SetContainer sets the Container field's value.
func (*JobDetail) SetCreatedAt ¶
SetCreatedAt sets the CreatedAt field's value.
func (*JobDetail) SetDependsOn ¶
func (s *JobDetail) SetDependsOn(v []*JobDependency) *JobDetail
SetDependsOn sets the DependsOn field's value.
func (*JobDetail) SetEksAttempts ¶
func (s *JobDetail) SetEksAttempts(v []*EksAttemptDetail) *JobDetail
SetEksAttempts sets the EksAttempts field's value.
func (*JobDetail) SetEksProperties ¶
func (s *JobDetail) SetEksProperties(v *EksPropertiesDetail) *JobDetail
SetEksProperties sets the EksProperties field's value.
func (*JobDetail) SetIsCancelled ¶
SetIsCancelled sets the IsCancelled field's value.
func (*JobDetail) SetIsTerminated ¶
SetIsTerminated sets the IsTerminated field's value.
func (*JobDetail) SetJobDefinition ¶
SetJobDefinition sets the JobDefinition field's value.
func (*JobDetail) SetJobName ¶
SetJobName sets the JobName field's value.
func (*JobDetail) SetJobQueue ¶
SetJobQueue sets the JobQueue field's value.
func (*JobDetail) SetNodeDetails ¶
func (s *JobDetail) SetNodeDetails(v *NodeDetails) *JobDetail
SetNodeDetails sets the NodeDetails field's value.
func (*JobDetail) SetNodeProperties ¶
func (s *JobDetail) SetNodeProperties(v *NodeProperties) *JobDetail
SetNodeProperties sets the NodeProperties field's value.
func (*JobDetail) SetParameters ¶
SetParameters sets the Parameters field's value.
func (*JobDetail) SetPlatformCapabilities ¶
SetPlatformCapabilities sets the PlatformCapabilities field's value.
func (*JobDetail) SetPropagateTags ¶
SetPropagateTags sets the PropagateTags field's value.
func (*JobDetail) SetRetryStrategy ¶
func (s *JobDetail) SetRetryStrategy(v *RetryStrategy) *JobDetail
SetRetryStrategy sets the RetryStrategy field's value.
func (*JobDetail) SetSchedulingPriority ¶
SetSchedulingPriority sets the SchedulingPriority field's value.
func (*JobDetail) SetShareIdentifier ¶
SetShareIdentifier sets the ShareIdentifier field's value.
func (*JobDetail) SetStartedAt ¶
SetStartedAt sets the StartedAt field's value.
func (*JobDetail) SetStatusReason ¶
SetStatusReason sets the StatusReason field's value.
func (*JobDetail) SetStoppedAt ¶
SetStoppedAt sets the StoppedAt field's value.
func (*JobDetail) SetTimeout ¶
func (s *JobDetail) SetTimeout(v *JobTimeout) *JobDetail
SetTimeout sets the Timeout field's value.
type JobQueueDetail ¶
type JobQueueDetail struct { // The compute environments that are attached to the job queue and the order // that job placement is preferred. Compute environments are selected for job // placement in ascending order. // // ComputeEnvironmentOrder is a required field ComputeEnvironmentOrder []*ComputeEnvironmentOrder `locationName:"computeEnvironmentOrder" type:"list" required:"true"` // The Amazon Resource Name (ARN) of the job queue. // // JobQueueArn is a required field JobQueueArn *string `locationName:"jobQueueArn" type:"string" required:"true"` // The job queue name. // // JobQueueName is a required field JobQueueName *string `locationName:"jobQueueName" type:"string" required:"true"` // The priority of the job queue. Job queues with a higher priority (or a higher // integer value for the priority parameter) are evaluated first when associated // with the same compute environment. Priority is determined in descending order. // For example, a job queue with a priority value of 10 is given scheduling // preference over a job queue with a priority value of 1. All of the compute // environments must be either EC2 (EC2 or SPOT) or Fargate (FARGATE or FARGATE_SPOT). // EC2 and Fargate compute environments can't be mixed. // // Priority is a required field Priority *int64 `locationName:"priority" type:"integer" required:"true"` // The Amazon Resource Name (ARN) of the scheduling policy. The format is aws:Partition:batch:Region:Account:scheduling-policy/Name // . For example, aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy. SchedulingPolicyArn *string `locationName:"schedulingPolicyArn" type:"string"` // Describes the ability of the queue to accept new jobs. If the job queue state // is ENABLED, it can accept jobs. If the job queue state is DISABLED, new jobs // can't be added to the queue, but jobs already in the queue can finish. // // State is a required field State *string `locationName:"state" type:"string" required:"true" enum:"JQState"` // The status of the job queue (for example, CREATING or VALID). Status *string `locationName:"status" type:"string" enum:"JQStatus"` // A short, human-readable string to provide additional details for the current // status of the job queue. StatusReason *string `locationName:"statusReason" type:"string"` // The tags that are applied to the job queue. For more information, see Tagging // your Batch resources (https://docs.aws.amazon.com/batch/latest/userguide/using-tags.html) // in Batch User Guide. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
An object that represents the details for an Batch job queue.
func (JobQueueDetail) GoString ¶
func (s JobQueueDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*JobQueueDetail) SetComputeEnvironmentOrder ¶
func (s *JobQueueDetail) SetComputeEnvironmentOrder(v []*ComputeEnvironmentOrder) *JobQueueDetail
SetComputeEnvironmentOrder sets the ComputeEnvironmentOrder field's value.
func (*JobQueueDetail) SetJobQueueArn ¶
func (s *JobQueueDetail) SetJobQueueArn(v string) *JobQueueDetail
SetJobQueueArn sets the JobQueueArn field's value.
func (*JobQueueDetail) SetJobQueueName ¶
func (s *JobQueueDetail) SetJobQueueName(v string) *JobQueueDetail
SetJobQueueName sets the JobQueueName field's value.
func (*JobQueueDetail) SetPriority ¶
func (s *JobQueueDetail) SetPriority(v int64) *JobQueueDetail
SetPriority sets the Priority field's value.
func (*JobQueueDetail) SetSchedulingPolicyArn ¶
func (s *JobQueueDetail) SetSchedulingPolicyArn(v string) *JobQueueDetail
SetSchedulingPolicyArn sets the SchedulingPolicyArn field's value.
func (*JobQueueDetail) SetState ¶
func (s *JobQueueDetail) SetState(v string) *JobQueueDetail
SetState sets the State field's value.
func (*JobQueueDetail) SetStatus ¶
func (s *JobQueueDetail) SetStatus(v string) *JobQueueDetail
SetStatus sets the Status field's value.
func (*JobQueueDetail) SetStatusReason ¶
func (s *JobQueueDetail) SetStatusReason(v string) *JobQueueDetail
SetStatusReason sets the StatusReason field's value.
func (*JobQueueDetail) SetTags ¶
func (s *JobQueueDetail) SetTags(v map[string]*string) *JobQueueDetail
SetTags sets the Tags field's value.
func (JobQueueDetail) String ¶
func (s JobQueueDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type JobSummary ¶
type JobSummary struct { // The array properties of the job, if it's an array job. ArrayProperties *ArrayPropertiesSummary `locationName:"arrayProperties" type:"structure"` // An object that represents the details of the container that's associated // with the job. Container *ContainerSummary `locationName:"container" type:"structure"` // The Unix timestamp (in milliseconds) for when the job was created. For non-array // jobs and parent array jobs, this is when the job entered the SUBMITTED state // (at the time SubmitJob was called). For array child jobs, this is when the // child job was spawned by its parent and entered the PENDING state. CreatedAt *int64 `locationName:"createdAt" type:"long"` // The Amazon Resource Name (ARN) of the job. JobArn *string `locationName:"jobArn" type:"string"` // The Amazon Resource Name (ARN) of the job definition. JobDefinition *string `locationName:"jobDefinition" type:"string"` // The job ID. // // JobId is a required field JobId *string `locationName:"jobId" type:"string" required:"true"` // The job name. // // JobName is a required field JobName *string `locationName:"jobName" type:"string" required:"true"` // The node properties for a single node in a job summary list. // // This isn't applicable to jobs that are running on Fargate resources. NodeProperties *NodePropertiesSummary `locationName:"nodeProperties" type:"structure"` // The Unix timestamp for when the job was started. More specifically, it's // when the job transitioned from the STARTING state to the RUNNING state. StartedAt *int64 `locationName:"startedAt" type:"long"` // The current status for the job. Status *string `locationName:"status" type:"string" enum:"JobStatus"` // A short, human-readable string to provide more details for the current status // of the job. StatusReason *string `locationName:"statusReason" type:"string"` // The Unix timestamp for when the job was stopped. More specifically, it's // when the job transitioned from the RUNNING state to a terminal state, such // as SUCCEEDED or FAILED. StoppedAt *int64 `locationName:"stoppedAt" type:"long"` // contains filtered or unexported fields }
An object that represents summary details of a job.
func (JobSummary) GoString ¶
func (s JobSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*JobSummary) SetArrayProperties ¶
func (s *JobSummary) SetArrayProperties(v *ArrayPropertiesSummary) *JobSummary
SetArrayProperties sets the ArrayProperties field's value.
func (*JobSummary) SetContainer ¶
func (s *JobSummary) SetContainer(v *ContainerSummary) *JobSummary
SetContainer sets the Container field's value.
func (*JobSummary) SetCreatedAt ¶
func (s *JobSummary) SetCreatedAt(v int64) *JobSummary
SetCreatedAt sets the CreatedAt field's value.
func (*JobSummary) SetJobArn ¶
func (s *JobSummary) SetJobArn(v string) *JobSummary
SetJobArn sets the JobArn field's value.
func (*JobSummary) SetJobDefinition ¶
func (s *JobSummary) SetJobDefinition(v string) *JobSummary
SetJobDefinition sets the JobDefinition field's value.
func (*JobSummary) SetJobId ¶
func (s *JobSummary) SetJobId(v string) *JobSummary
SetJobId sets the JobId field's value.
func (*JobSummary) SetJobName ¶
func (s *JobSummary) SetJobName(v string) *JobSummary
SetJobName sets the JobName field's value.
func (*JobSummary) SetNodeProperties ¶
func (s *JobSummary) SetNodeProperties(v *NodePropertiesSummary) *JobSummary
SetNodeProperties sets the NodeProperties field's value.
func (*JobSummary) SetStartedAt ¶
func (s *JobSummary) SetStartedAt(v int64) *JobSummary
SetStartedAt sets the StartedAt field's value.
func (*JobSummary) SetStatus ¶
func (s *JobSummary) SetStatus(v string) *JobSummary
SetStatus sets the Status field's value.
func (*JobSummary) SetStatusReason ¶
func (s *JobSummary) SetStatusReason(v string) *JobSummary
SetStatusReason sets the StatusReason field's value.
func (*JobSummary) SetStoppedAt ¶
func (s *JobSummary) SetStoppedAt(v int64) *JobSummary
SetStoppedAt sets the StoppedAt field's value.
func (JobSummary) String ¶
func (s JobSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type JobTimeout ¶
type JobTimeout struct { // The job timeout time (in seconds) that's measured from the job attempt's // startedAt timestamp. After this time passes, Batch terminates your jobs if // they aren't finished. The minimum value for the timeout is 60 seconds. // // For array jobs, the timeout applies to the child jobs, not to the parent // array job. // // For multi-node parallel (MNP) jobs, the timeout applies to the whole job, // not to the individual nodes. AttemptDurationSeconds *int64 `locationName:"attemptDurationSeconds" type:"integer"` // contains filtered or unexported fields }
An object that represents a job timeout configuration.
func (JobTimeout) GoString ¶
func (s JobTimeout) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*JobTimeout) SetAttemptDurationSeconds ¶
func (s *JobTimeout) SetAttemptDurationSeconds(v int64) *JobTimeout
SetAttemptDurationSeconds sets the AttemptDurationSeconds field's value.
func (JobTimeout) String ¶
func (s JobTimeout) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type KeyValuePair ¶
type KeyValuePair struct { // The name of the key-value pair. For environment variables, this is the name // of the environment variable. Name *string `locationName:"name" type:"string"` // The value of the key-value pair. For environment variables, this is the value // of the environment variable. Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
A key-value pair object.
func (KeyValuePair) GoString ¶
func (s KeyValuePair) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*KeyValuePair) SetName ¶
func (s *KeyValuePair) SetName(v string) *KeyValuePair
SetName sets the Name field's value.
func (*KeyValuePair) SetValue ¶
func (s *KeyValuePair) SetValue(v string) *KeyValuePair
SetValue sets the Value field's value.
func (KeyValuePair) String ¶
func (s KeyValuePair) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type KeyValuesPair ¶
type KeyValuesPair struct { // The name of the filter. Filter names are case sensitive. Name *string `locationName:"name" type:"string"` // The filter values. Values []*string `locationName:"values" type:"list"` // contains filtered or unexported fields }
A filter name and value pair that's used to return a more specific list of results from a ListJobs API operation.
func (KeyValuesPair) GoString ¶
func (s KeyValuesPair) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*KeyValuesPair) SetName ¶
func (s *KeyValuesPair) SetName(v string) *KeyValuesPair
SetName sets the Name field's value.
func (*KeyValuesPair) SetValues ¶
func (s *KeyValuesPair) SetValues(v []*string) *KeyValuesPair
SetValues sets the Values field's value.
func (KeyValuesPair) String ¶
func (s KeyValuesPair) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LaunchTemplateSpecification ¶
type LaunchTemplateSpecification struct { // The ID of the launch template. LaunchTemplateId *string `locationName:"launchTemplateId" type:"string"` // The name of the launch template. LaunchTemplateName *string `locationName:"launchTemplateName" type:"string"` // The version number of the launch template, $Latest, or $Default. // // If the value is $Latest, the latest version of the launch template is used. // If the value is $Default, the default version of the launch template is used. // // If the AMI ID that's used in a compute environment is from the launch template, // the AMI isn't changed when the compute environment is updated. It's only // changed if the updateToLatestImageVersion parameter for the compute environment // is set to true. During an infrastructure update, if either $Latest or $Default // is specified, Batch re-evaluates the launch template version, and it might // use a different version of the launch template. This is the case even if // the launch template isn't specified in the update. When updating a compute // environment, changing the launch template requires an infrastructure update // of the compute environment. For more information, see Updating compute environments // (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) // in the Batch User Guide. // // Default: $Default. Version *string `locationName:"version" type:"string"` // contains filtered or unexported fields }
An object that represents a launch template that's associated with a compute resource. You must specify either the launch template ID or launch template name in the request, but not both.
If security groups are specified using both the securityGroupIds parameter of CreateComputeEnvironment and the launch template, the values in the securityGroupIds parameter of CreateComputeEnvironment will be used.
This object isn't applicable to jobs that are running on Fargate resources.
func (LaunchTemplateSpecification) GoString ¶
func (s LaunchTemplateSpecification) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LaunchTemplateSpecification) SetLaunchTemplateId ¶
func (s *LaunchTemplateSpecification) SetLaunchTemplateId(v string) *LaunchTemplateSpecification
SetLaunchTemplateId sets the LaunchTemplateId field's value.
func (*LaunchTemplateSpecification) SetLaunchTemplateName ¶
func (s *LaunchTemplateSpecification) SetLaunchTemplateName(v string) *LaunchTemplateSpecification
SetLaunchTemplateName sets the LaunchTemplateName field's value.
func (*LaunchTemplateSpecification) SetVersion ¶
func (s *LaunchTemplateSpecification) SetVersion(v string) *LaunchTemplateSpecification
SetVersion sets the Version field's value.
func (LaunchTemplateSpecification) String ¶
func (s LaunchTemplateSpecification) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LinuxParameters ¶
type LinuxParameters struct { // Any of the host devices to expose to the container. This parameter maps to // Devices in the Create a container (https://docs.docker.com/engine/api/v1.23/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/api/v1.23/) // and the --device option to docker run (https://docs.docker.com/engine/reference/run/). // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't provide it for these jobs. Devices []*Device `locationName:"devices" type:"list"` // If true, run an init process inside the container that forwards signals and // reaps processes. This parameter maps to the --init option to docker run (https://docs.docker.com/engine/reference/run/). // This parameter requires version 1.25 of the Docker Remote API or greater // on your container instance. To check the Docker Remote API version on your // container instance, log in to your container instance and run the following // command: sudo docker version | grep "Server API version" InitProcessEnabled *bool `locationName:"initProcessEnabled" type:"boolean"` // The total amount of swap memory (in MiB) a container can use. This parameter // is translated to the --memory-swap option to docker run (https://docs.docker.com/engine/reference/run/) // where the value is the sum of the container memory plus the maxSwap value. // For more information, see --memory-swap details (https://docs.docker.com/config/containers/resource_constraints/#--memory-swap-details) // in the Docker documentation. // // If a maxSwap value of 0 is specified, the container doesn't use swap. Accepted // values are 0 or any positive integer. If the maxSwap parameter is omitted, // the container doesn't use the swap configuration for the container instance // that it's running on. A maxSwap value must be set for the swappiness parameter // to be used. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't provide it for these jobs. MaxSwap *int64 `locationName:"maxSwap" type:"integer"` // to the --shm-size option to docker run (https://docs.docker.com/engine/reference/run/). // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't provide it for these jobs. SharedMemorySize *int64 `locationName:"sharedMemorySize" type:"integer"` // You can use this parameter to tune a container's memory swappiness behavior. // A swappiness value of 0 causes swapping to not occur unless absolutely necessary. // A swappiness value of 100 causes pages to be swapped aggressively. Valid // values are whole numbers between 0 and 100. If the swappiness parameter isn't // specified, a default value of 60 is used. If a value isn't specified for // maxSwap, then this parameter is ignored. If maxSwap is set to 0, the container // doesn't use swap. This parameter maps to the --memory-swappiness option to // docker run (https://docs.docker.com/engine/reference/run/). // // Consider the following when you use a per-container swap configuration. // // * Swap space must be enabled and allocated on the container instance for // the containers to use. By default, the Amazon ECS optimized AMIs don't // have swap enabled. You must enable swap on the instance to use this feature. // For more information, see Instance store swap volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-store-swap-volumes.html) // in the Amazon EC2 User Guide for Linux Instances or How do I allocate // memory to work as swap space in an Amazon EC2 instance by using a swap // file? (http://aws.amazon.com/premiumsupport/knowledge-center/ec2-memory-swap-file/) // // * The swap space parameters are only supported for job definitions using // EC2 resources. // // * If the maxSwap and swappiness parameters are omitted from a job definition, // each container has a default swappiness value of 60. Moreover, the total // swap usage is limited to two times the memory reservation of the container. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't provide it for these jobs. Swappiness *int64 `locationName:"swappiness" type:"integer"` // The container path, mount options, and size (in MiB) of the tmpfs mount. // This parameter maps to the --tmpfs option to docker run (https://docs.docker.com/engine/reference/run/). // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't provide this parameter for this resource type. Tmpfs []*Tmpfs `locationName:"tmpfs" type:"list"` // contains filtered or unexported fields }
Linux-specific modifications that are applied to the container, such as details for device mappings.
func (LinuxParameters) GoString ¶
func (s LinuxParameters) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LinuxParameters) SetDevices ¶
func (s *LinuxParameters) SetDevices(v []*Device) *LinuxParameters
SetDevices sets the Devices field's value.
func (*LinuxParameters) SetInitProcessEnabled ¶
func (s *LinuxParameters) SetInitProcessEnabled(v bool) *LinuxParameters
SetInitProcessEnabled sets the InitProcessEnabled field's value.
func (*LinuxParameters) SetMaxSwap ¶
func (s *LinuxParameters) SetMaxSwap(v int64) *LinuxParameters
SetMaxSwap sets the MaxSwap field's value.
func (*LinuxParameters) SetSharedMemorySize ¶
func (s *LinuxParameters) SetSharedMemorySize(v int64) *LinuxParameters
SetSharedMemorySize sets the SharedMemorySize field's value.
func (*LinuxParameters) SetSwappiness ¶
func (s *LinuxParameters) SetSwappiness(v int64) *LinuxParameters
SetSwappiness sets the Swappiness field's value.
func (*LinuxParameters) SetTmpfs ¶
func (s *LinuxParameters) SetTmpfs(v []*Tmpfs) *LinuxParameters
SetTmpfs sets the Tmpfs field's value.
func (LinuxParameters) String ¶
func (s LinuxParameters) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LinuxParameters) Validate ¶
func (s *LinuxParameters) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListJobsInput ¶
type ListJobsInput struct { // The job ID for an array job. Specifying an array job ID with this parameter // lists all child jobs from within the specified array. ArrayJobId *string `locationName:"arrayJobId" type:"string"` // The filter to apply to the query. Only one filter can be used at a time. // When the filter is used, jobStatus is ignored. The filter doesn't apply to // child jobs in an array or multi-node parallel (MNP) jobs. The results are // sorted by the createdAt field, with the most recent jobs being first. // // JOB_NAME // // The value of the filter is a case-insensitive match for the job name. If // the value ends with an asterisk (*), the filter matches any job name that // begins with the string before the '*'. This corresponds to the jobName value. // For example, test1 matches both Test1 and test1, and test1* matches both // test1 and Test10. When the JOB_NAME filter is used, the results are grouped // by the job name and version. // // JOB_DEFINITION // // The value for the filter is the name or Amazon Resource Name (ARN) of the // job definition. This corresponds to the jobDefinition value. The value is // case sensitive. When the value for the filter is the job definition name, // the results include all the jobs that used any revision of that job definition // name. If the value ends with an asterisk (*), the filter matches any job // definition name that begins with the string before the '*'. For example, // jd1 matches only jd1, and jd1* matches both jd1 and jd1A. The version of // the job definition that's used doesn't affect the sort order. When the JOB_DEFINITION // filter is used and the ARN is used (which is in the form arn:${Partition}:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision}), // the results include jobs that used the specified revision of the job definition. // Asterisk (*) isn't supported when the ARN is used. // // BEFORE_CREATED_AT // // The value for the filter is the time that's before the job was created. This // corresponds to the createdAt value. The value is a string representation // of the number of milliseconds since 00:00:00 UTC (midnight) on January 1, // 1970. // // AFTER_CREATED_AT // // The value for the filter is the time that's after the job was created. This // corresponds to the createdAt value. The value is a string representation // of the number of milliseconds since 00:00:00 UTC (midnight) on January 1, // 1970. Filters []*KeyValuesPair `locationName:"filters" type:"list"` // The name or full Amazon Resource Name (ARN) of the job queue used to list // jobs. JobQueue *string `locationName:"jobQueue" type:"string"` // The job status used to filter jobs in the specified queue. If the filters // parameter is specified, the jobStatus parameter is ignored and jobs with // any status are returned. If you don't specify a status, only RUNNING jobs // are returned. JobStatus *string `locationName:"jobStatus" type:"string" enum:"JobStatus"` // The maximum number of results returned by ListJobs in paginated output. When // this parameter is used, ListJobs only returns maxResults results in a single // page and a nextToken response element. The remaining results of the initial // request can be seen by sending another ListJobs request with the returned // nextToken value. This value can be between 1 and 100. If this parameter isn't // used, then ListJobs returns up to 100 results and a nextToken value if applicable. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The job ID for a multi-node parallel job. Specifying a multi-node parallel // job ID with this parameter lists all nodes that are associated with the specified // job. MultiNodeJobId *string `locationName:"multiNodeJobId" type:"string"` // The nextToken value returned from a previous paginated ListJobs request where // maxResults was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. This value is null when there are no more results to return. // // Treat this token as an opaque identifier that's only used to retrieve the // next items in a list and not for other programmatic purposes. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Contains the parameters for ListJobs.
func (ListJobsInput) GoString ¶
func (s ListJobsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListJobsInput) SetArrayJobId ¶
func (s *ListJobsInput) SetArrayJobId(v string) *ListJobsInput
SetArrayJobId sets the ArrayJobId field's value.
func (*ListJobsInput) SetFilters ¶
func (s *ListJobsInput) SetFilters(v []*KeyValuesPair) *ListJobsInput
SetFilters sets the Filters field's value.
func (*ListJobsInput) SetJobQueue ¶
func (s *ListJobsInput) SetJobQueue(v string) *ListJobsInput
SetJobQueue sets the JobQueue field's value.
func (*ListJobsInput) SetJobStatus ¶
func (s *ListJobsInput) SetJobStatus(v string) *ListJobsInput
SetJobStatus sets the JobStatus field's value.
func (*ListJobsInput) SetMaxResults ¶
func (s *ListJobsInput) SetMaxResults(v int64) *ListJobsInput
SetMaxResults sets the MaxResults field's value.
func (*ListJobsInput) SetMultiNodeJobId ¶
func (s *ListJobsInput) SetMultiNodeJobId(v string) *ListJobsInput
SetMultiNodeJobId sets the MultiNodeJobId field's value.
func (*ListJobsInput) SetNextToken ¶
func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput
SetNextToken sets the NextToken field's value.
func (ListJobsInput) String ¶
func (s ListJobsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListJobsOutput ¶
type ListJobsOutput struct { // A list of job summaries that match the request. // // JobSummaryList is a required field JobSummaryList []*JobSummary `locationName:"jobSummaryList" type:"list" required:"true"` // The nextToken value to include in a future ListJobs request. When the results // of a ListJobs request exceed maxResults, this value can be used to retrieve // the next page of results. This value is null when there are no more results // to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListJobsOutput) GoString ¶
func (s ListJobsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListJobsOutput) SetJobSummaryList ¶
func (s *ListJobsOutput) SetJobSummaryList(v []*JobSummary) *ListJobsOutput
SetJobSummaryList sets the JobSummaryList field's value.
func (*ListJobsOutput) SetNextToken ¶
func (s *ListJobsOutput) SetNextToken(v string) *ListJobsOutput
SetNextToken sets the NextToken field's value.
func (ListJobsOutput) String ¶
func (s ListJobsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListSchedulingPoliciesInput ¶
type ListSchedulingPoliciesInput struct { // The maximum number of results that's returned by ListSchedulingPolicies in // paginated output. When this parameter is used, ListSchedulingPolicies only // returns maxResults results in a single page and a nextToken response element. // You can see the remaining results of the initial request by sending another // ListSchedulingPolicies request with the returned nextToken value. This value // can be between 1 and 100. If this parameter isn't used, ListSchedulingPolicies // returns up to 100 results and a nextToken value if applicable. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The nextToken value that's returned from a previous paginated ListSchedulingPolicies // request where maxResults was used and the results exceeded the value of that // parameter. Pagination continues from the end of the previous results that // returned the nextToken value. This value is null when there are no more results // to return. // // Treat this token as an opaque identifier that's only used to retrieve the // next items in a list and not for other programmatic purposes. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Contains the parameters for ListSchedulingPolicies.
func (ListSchedulingPoliciesInput) GoString ¶
func (s ListSchedulingPoliciesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListSchedulingPoliciesInput) SetMaxResults ¶
func (s *ListSchedulingPoliciesInput) SetMaxResults(v int64) *ListSchedulingPoliciesInput
SetMaxResults sets the MaxResults field's value.
func (*ListSchedulingPoliciesInput) SetNextToken ¶
func (s *ListSchedulingPoliciesInput) SetNextToken(v string) *ListSchedulingPoliciesInput
SetNextToken sets the NextToken field's value.
func (ListSchedulingPoliciesInput) String ¶
func (s ListSchedulingPoliciesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListSchedulingPoliciesOutput ¶
type ListSchedulingPoliciesOutput struct { // The nextToken value to include in a future ListSchedulingPolicies request. // When the results of a ListSchedulingPolicies request exceed maxResults, this // value can be used to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // A list of scheduling policies that match the request. SchedulingPolicies []*SchedulingPolicyListingDetail `locationName:"schedulingPolicies" type:"list"` // contains filtered or unexported fields }
func (ListSchedulingPoliciesOutput) GoString ¶
func (s ListSchedulingPoliciesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListSchedulingPoliciesOutput) SetNextToken ¶
func (s *ListSchedulingPoliciesOutput) SetNextToken(v string) *ListSchedulingPoliciesOutput
SetNextToken sets the NextToken field's value.
func (*ListSchedulingPoliciesOutput) SetSchedulingPolicies ¶
func (s *ListSchedulingPoliciesOutput) SetSchedulingPolicies(v []*SchedulingPolicyListingDetail) *ListSchedulingPoliciesOutput
SetSchedulingPolicies sets the SchedulingPolicies field's value.
func (ListSchedulingPoliciesOutput) String ¶
func (s ListSchedulingPoliciesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) that identifies the resource that tags are // listed for. Batch resources that support tags are compute environments, jobs, // job definitions, job queues, and scheduling policies. ARNs for child jobs // of array and multi-node parallel (MNP) jobs aren't supported. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for ListTagsForResource.
func (ListTagsForResourceInput) GoString ¶
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsForResourceInput) SetResourceArn ¶
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
func (ListTagsForResourceInput) String ¶
func (s ListTagsForResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsForResourceInput) Validate ¶
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // The tags for the resource. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
func (ListTagsForResourceOutput) GoString ¶
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsForResourceOutput) SetTags ¶
func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (ListTagsForResourceOutput) String ¶
func (s ListTagsForResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LogConfiguration ¶
type LogConfiguration struct { // The log driver to use for the container. The valid values that are listed // for this parameter are log drivers that the Amazon ECS container agent can // communicate with by default. // // The supported log drivers are awslogs, fluentd, gelf, json-file, journald, // logentries, syslog, and splunk. // // Jobs that are running on Fargate resources are restricted to the awslogs // and splunk log drivers. // // awslogs // // Specifies the Amazon CloudWatch Logs logging driver. For more information, // see Using the awslogs log driver (https://docs.aws.amazon.com/batch/latest/userguide/using_awslogs.html) // in the Batch User Guide and Amazon CloudWatch Logs logging driver (https://docs.docker.com/config/containers/logging/awslogs/) // in the Docker documentation. // // fluentd // // Specifies the Fluentd logging driver. For more information including usage // and options, see Fluentd logging driver (https://docs.docker.com/config/containers/logging/fluentd/) // in the Docker documentation. // // gelf // // Specifies the Graylog Extended Format (GELF) logging driver. For more information // including usage and options, see Graylog Extended Format logging driver (https://docs.docker.com/config/containers/logging/gelf/) // in the Docker documentation. // // journald // // Specifies the journald logging driver. For more information including usage // and options, see Journald logging driver (https://docs.docker.com/config/containers/logging/journald/) // in the Docker documentation. // // json-file // // Specifies the JSON file logging driver. For more information including usage // and options, see JSON File logging driver (https://docs.docker.com/config/containers/logging/json-file/) // in the Docker documentation. // // splunk // // Specifies the Splunk logging driver. For more information including usage // and options, see Splunk logging driver (https://docs.docker.com/config/containers/logging/splunk/) // in the Docker documentation. // // syslog // // Specifies the syslog logging driver. For more information including usage // and options, see Syslog logging driver (https://docs.docker.com/config/containers/logging/syslog/) // in the Docker documentation. // // If you have a custom driver that's not listed earlier that you want to work // with the Amazon ECS container agent, you can fork the Amazon ECS container // agent project that's available on GitHub (https://github.com/aws/amazon-ecs-agent) // and customize it to work with that driver. We encourage you to submit pull // requests for changes that you want to have included. However, Amazon Web // Services doesn't currently support running modified copies of this software. // // This parameter requires version 1.18 of the Docker Remote API or greater // on your container instance. To check the Docker Remote API version on your // container instance, log in to your container instance and run the following // command: sudo docker version | grep "Server API version" // // LogDriver is a required field LogDriver *string `locationName:"logDriver" type:"string" required:"true" enum:"LogDriver"` // The configuration options to send to the log driver. This parameter requires // version 1.19 of the Docker Remote API or greater on your container instance. // To check the Docker Remote API version on your container instance, log in // to your container instance and run the following command: sudo docker version // | grep "Server API version" Options map[string]*string `locationName:"options" type:"map"` // The secrets to pass to the log configuration. For more information, see Specifying // sensitive data (https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html) // in the Batch User Guide. SecretOptions []*Secret `locationName:"secretOptions" type:"list"` // contains filtered or unexported fields }
Log configuration options to send to a custom log driver for the container.
func (LogConfiguration) GoString ¶
func (s LogConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LogConfiguration) SetLogDriver ¶
func (s *LogConfiguration) SetLogDriver(v string) *LogConfiguration
SetLogDriver sets the LogDriver field's value.
func (*LogConfiguration) SetOptions ¶
func (s *LogConfiguration) SetOptions(v map[string]*string) *LogConfiguration
SetOptions sets the Options field's value.
func (*LogConfiguration) SetSecretOptions ¶
func (s *LogConfiguration) SetSecretOptions(v []*Secret) *LogConfiguration
SetSecretOptions sets the SecretOptions field's value.
func (LogConfiguration) String ¶
func (s LogConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LogConfiguration) Validate ¶
func (s *LogConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type MountPoint ¶
type MountPoint struct { // The path on the container where the host volume is mounted. ContainerPath *string `locationName:"containerPath" type:"string"` // If this value is true, the container has read-only access to the volume. // Otherwise, the container can write to the volume. The default value is false. ReadOnly *bool `locationName:"readOnly" type:"boolean"` // The name of the volume to mount. SourceVolume *string `locationName:"sourceVolume" type:"string"` // contains filtered or unexported fields }
Details for a Docker volume mount point that's used in a job's container properties. This parameter maps to Volumes in the Create a container (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.19/#create-a-container) section of the Docker Remote API and the --volume option to docker run.
func (MountPoint) GoString ¶
func (s MountPoint) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*MountPoint) SetContainerPath ¶
func (s *MountPoint) SetContainerPath(v string) *MountPoint
SetContainerPath sets the ContainerPath field's value.
func (*MountPoint) SetReadOnly ¶
func (s *MountPoint) SetReadOnly(v bool) *MountPoint
SetReadOnly sets the ReadOnly field's value.
func (*MountPoint) SetSourceVolume ¶
func (s *MountPoint) SetSourceVolume(v string) *MountPoint
SetSourceVolume sets the SourceVolume field's value.
func (MountPoint) String ¶
func (s MountPoint) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NetworkConfiguration ¶
type NetworkConfiguration struct { // Indicates whether the job has a public IP address. For a job that's running // on Fargate resources in a private subnet to send outbound traffic to the // internet (for example, to pull container images), the private subnet requires // a NAT gateway be attached to route requests to the internet. For more information, // see Amazon ECS task networking (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html) // in the Amazon Elastic Container Service Developer Guide. The default value // is "DISABLED". AssignPublicIp *string `locationName:"assignPublicIp" type:"string" enum:"AssignPublicIp"` // contains filtered or unexported fields }
The network configuration for jobs that are running on Fargate resources. Jobs that are running on EC2 resources must not specify this parameter.
func (NetworkConfiguration) GoString ¶
func (s NetworkConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*NetworkConfiguration) SetAssignPublicIp ¶
func (s *NetworkConfiguration) SetAssignPublicIp(v string) *NetworkConfiguration
SetAssignPublicIp sets the AssignPublicIp field's value.
func (NetworkConfiguration) String ¶
func (s NetworkConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NetworkInterface ¶
type NetworkInterface struct { // The attachment ID for the network interface. AttachmentId *string `locationName:"attachmentId" type:"string"` // The private IPv6 address for the network interface. Ipv6Address *string `locationName:"ipv6Address" type:"string"` // The private IPv4 address for the network interface. PrivateIpv4Address *string `locationName:"privateIpv4Address" type:"string"` // contains filtered or unexported fields }
An object that represents the elastic network interface for a multi-node parallel job node.
func (NetworkInterface) GoString ¶
func (s NetworkInterface) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*NetworkInterface) SetAttachmentId ¶
func (s *NetworkInterface) SetAttachmentId(v string) *NetworkInterface
SetAttachmentId sets the AttachmentId field's value.
func (*NetworkInterface) SetIpv6Address ¶
func (s *NetworkInterface) SetIpv6Address(v string) *NetworkInterface
SetIpv6Address sets the Ipv6Address field's value.
func (*NetworkInterface) SetPrivateIpv4Address ¶
func (s *NetworkInterface) SetPrivateIpv4Address(v string) *NetworkInterface
SetPrivateIpv4Address sets the PrivateIpv4Address field's value.
func (NetworkInterface) String ¶
func (s NetworkInterface) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NodeDetails ¶
type NodeDetails struct { // Specifies whether the current node is the main node for a multi-node parallel // job. IsMainNode *bool `locationName:"isMainNode" type:"boolean"` // The node index for the node. Node index numbering starts at zero. This index // is also available on the node with the AWS_BATCH_JOB_NODE_INDEX environment // variable. NodeIndex *int64 `locationName:"nodeIndex" type:"integer"` // contains filtered or unexported fields }
An object that represents the details of a multi-node parallel job node.
func (NodeDetails) GoString ¶
func (s NodeDetails) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*NodeDetails) SetIsMainNode ¶
func (s *NodeDetails) SetIsMainNode(v bool) *NodeDetails
SetIsMainNode sets the IsMainNode field's value.
func (*NodeDetails) SetNodeIndex ¶
func (s *NodeDetails) SetNodeIndex(v int64) *NodeDetails
SetNodeIndex sets the NodeIndex field's value.
func (NodeDetails) String ¶
func (s NodeDetails) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NodeOverrides ¶
type NodeOverrides struct { // The node property overrides for the job. NodePropertyOverrides []*NodePropertyOverride `locationName:"nodePropertyOverrides" type:"list"` // The number of nodes to use with a multi-node parallel job. This value overrides // the number of nodes that are specified in the job definition. To use this // override, you must meet the following conditions: // // * There must be at least one node range in your job definition that has // an open upper boundary, such as : or n:. // // * The lower boundary of the node range that's specified in the job definition // must be fewer than the number of nodes specified in the override. // // * The main node index that's specified in the job definition must be fewer // than the number of nodes specified in the override. NumNodes *int64 `locationName:"numNodes" type:"integer"` // contains filtered or unexported fields }
An object that represents any node overrides to a job definition that's used in a SubmitJob API operation.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs. Rather, use containerOverrides instead.
func (NodeOverrides) GoString ¶
func (s NodeOverrides) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*NodeOverrides) SetNodePropertyOverrides ¶
func (s *NodeOverrides) SetNodePropertyOverrides(v []*NodePropertyOverride) *NodeOverrides
SetNodePropertyOverrides sets the NodePropertyOverrides field's value.
func (*NodeOverrides) SetNumNodes ¶
func (s *NodeOverrides) SetNumNodes(v int64) *NodeOverrides
SetNumNodes sets the NumNodes field's value.
func (NodeOverrides) String ¶
func (s NodeOverrides) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*NodeOverrides) Validate ¶
func (s *NodeOverrides) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NodeProperties ¶
type NodeProperties struct { // Specifies the node index for the main node of a multi-node parallel job. // This node index value must be fewer than the number of nodes. // // MainNode is a required field MainNode *int64 `locationName:"mainNode" type:"integer" required:"true"` // A list of node ranges and their properties that are associated with a multi-node // parallel job. // // NodeRangeProperties is a required field NodeRangeProperties []*NodeRangeProperty `locationName:"nodeRangeProperties" type:"list" required:"true"` // The number of nodes that are associated with a multi-node parallel job. // // NumNodes is a required field NumNodes *int64 `locationName:"numNodes" type:"integer" required:"true"` // contains filtered or unexported fields }
An object that represents the node properties of a multi-node parallel job.
Node properties can't be specified for Amazon EKS based job definitions.
func (NodeProperties) GoString ¶
func (s NodeProperties) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*NodeProperties) SetMainNode ¶
func (s *NodeProperties) SetMainNode(v int64) *NodeProperties
SetMainNode sets the MainNode field's value.
func (*NodeProperties) SetNodeRangeProperties ¶
func (s *NodeProperties) SetNodeRangeProperties(v []*NodeRangeProperty) *NodeProperties
SetNodeRangeProperties sets the NodeRangeProperties field's value.
func (*NodeProperties) SetNumNodes ¶
func (s *NodeProperties) SetNumNodes(v int64) *NodeProperties
SetNumNodes sets the NumNodes field's value.
func (NodeProperties) String ¶
func (s NodeProperties) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*NodeProperties) Validate ¶
func (s *NodeProperties) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NodePropertiesSummary ¶
type NodePropertiesSummary struct { // Specifies whether the current node is the main node for a multi-node parallel // job. IsMainNode *bool `locationName:"isMainNode" type:"boolean"` // The node index for the node. Node index numbering begins at zero. This index // is also available on the node with the AWS_BATCH_JOB_NODE_INDEX environment // variable. NodeIndex *int64 `locationName:"nodeIndex" type:"integer"` // The number of nodes that are associated with a multi-node parallel job. NumNodes *int64 `locationName:"numNodes" type:"integer"` // contains filtered or unexported fields }
An object that represents the properties of a node that's associated with a multi-node parallel job.
func (NodePropertiesSummary) GoString ¶
func (s NodePropertiesSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*NodePropertiesSummary) SetIsMainNode ¶
func (s *NodePropertiesSummary) SetIsMainNode(v bool) *NodePropertiesSummary
SetIsMainNode sets the IsMainNode field's value.
func (*NodePropertiesSummary) SetNodeIndex ¶
func (s *NodePropertiesSummary) SetNodeIndex(v int64) *NodePropertiesSummary
SetNodeIndex sets the NodeIndex field's value.
func (*NodePropertiesSummary) SetNumNodes ¶
func (s *NodePropertiesSummary) SetNumNodes(v int64) *NodePropertiesSummary
SetNumNodes sets the NumNodes field's value.
func (NodePropertiesSummary) String ¶
func (s NodePropertiesSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NodePropertyOverride ¶
type NodePropertyOverride struct { // The overrides that are sent to a node range. ContainerOverrides *ContainerOverrides `locationName:"containerOverrides" type:"structure"` // The range of nodes, using node index values, that's used to override. A range // of 0:3 indicates nodes with index values of 0 through 3. If the starting // range value is omitted (:n), then 0 is used to start the range. If the ending // range value is omitted (n:), then the highest possible node index is used // to end the range. // // TargetNodes is a required field TargetNodes *string `locationName:"targetNodes" type:"string" required:"true"` // contains filtered or unexported fields }
The object that represents any node overrides to a job definition that's used in a SubmitJob API operation.
func (NodePropertyOverride) GoString ¶
func (s NodePropertyOverride) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*NodePropertyOverride) SetContainerOverrides ¶
func (s *NodePropertyOverride) SetContainerOverrides(v *ContainerOverrides) *NodePropertyOverride
SetContainerOverrides sets the ContainerOverrides field's value.
func (*NodePropertyOverride) SetTargetNodes ¶
func (s *NodePropertyOverride) SetTargetNodes(v string) *NodePropertyOverride
SetTargetNodes sets the TargetNodes field's value.
func (NodePropertyOverride) String ¶
func (s NodePropertyOverride) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*NodePropertyOverride) Validate ¶
func (s *NodePropertyOverride) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NodeRangeProperty ¶
type NodeRangeProperty struct { // The container details for the node range. Container *ContainerProperties `locationName:"container" type:"structure"` // The range of nodes, using node index values. A range of 0:3 indicates nodes // with index values of 0 through 3. If the starting range value is omitted // (:n), then 0 is used to start the range. If the ending range value is omitted // (n:), then the highest possible node index is used to end the range. Your // accumulative node ranges must account for all nodes (0:n). You can nest node // ranges (for example, 0:10 and 4:5). In this case, the 4:5 range properties // override the 0:10 properties. // // TargetNodes is a required field TargetNodes *string `locationName:"targetNodes" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents the properties of the node range for a multi-node parallel job.
func (NodeRangeProperty) GoString ¶
func (s NodeRangeProperty) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*NodeRangeProperty) SetContainer ¶
func (s *NodeRangeProperty) SetContainer(v *ContainerProperties) *NodeRangeProperty
SetContainer sets the Container field's value.
func (*NodeRangeProperty) SetTargetNodes ¶
func (s *NodeRangeProperty) SetTargetNodes(v string) *NodeRangeProperty
SetTargetNodes sets the TargetNodes field's value.
func (NodeRangeProperty) String ¶
func (s NodeRangeProperty) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*NodeRangeProperty) Validate ¶
func (s *NodeRangeProperty) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RegisterJobDefinitionInput ¶
type RegisterJobDefinitionInput struct { // An object with various properties specific to Amazon ECS based single-node // container-based jobs. If the job definition's type parameter is container, // then you must specify either containerProperties or nodeProperties. This // must not be specified for Amazon EKS based job definitions. // // If the job runs on Fargate resources, then you must not specify nodeProperties; // use only containerProperties. ContainerProperties *ContainerProperties `locationName:"containerProperties" type:"structure"` // An object with various properties that are specific to Amazon EKS based jobs. // This must not be specified for Amazon ECS based job definitions. EksProperties *EksProperties `locationName:"eksProperties" type:"structure"` // The name of the job definition to register. It can be up to 128 letters long. // It can contain uppercase and lowercase letters, numbers, hyphens (-), and // underscores (_). // // JobDefinitionName is a required field JobDefinitionName *string `locationName:"jobDefinitionName" type:"string" required:"true"` // An object with various properties specific to multi-node parallel jobs. If // you specify node properties for a job, it becomes a multi-node parallel job. // For more information, see Multi-node Parallel Jobs (https://docs.aws.amazon.com/batch/latest/userguide/multi-node-parallel-jobs.html) // in the Batch User Guide. If the job definition's type parameter is container, // then you must specify either containerProperties or nodeProperties. // // If the job runs on Fargate resources, then you must not specify nodeProperties; // use containerProperties instead. // // If the job runs on Amazon EKS resources, then you must not specify nodeProperties. NodeProperties *NodeProperties `locationName:"nodeProperties" type:"structure"` // Default parameter substitution placeholders to set in the job definition. // Parameters are specified as a key-value pair mapping. Parameters in a SubmitJob // request override any corresponding parameter defaults from the job definition. Parameters map[string]*string `locationName:"parameters" type:"map"` // The platform capabilities required by the job definition. If no value is // specified, it defaults to EC2. To run the job on Fargate resources, specify // FARGATE. // // If the job runs on Amazon EKS resources, then you must not specify platformCapabilities. PlatformCapabilities []*string `locationName:"platformCapabilities" type:"list" enum:"PlatformCapability"` // Specifies whether to propagate the tags from the job or job definition to // the corresponding Amazon ECS task. If no value is specified, the tags are // not propagated. Tags can only be propagated to the tasks during task creation. // For tags with the same name, job tags are given priority over job definitions // tags. If the total number of combined tags from the job and job definition // is over 50, the job is moved to the FAILED state. // // If the job runs on Amazon EKS resources, then you must not specify propagateTags. PropagateTags *bool `locationName:"propagateTags" type:"boolean"` // The retry strategy to use for failed jobs that are submitted with this job // definition. Any retry strategy that's specified during a SubmitJob operation // overrides the retry strategy defined here. If a job is terminated due to // a timeout, it isn't retried. RetryStrategy *RetryStrategy `locationName:"retryStrategy" type:"structure"` // The scheduling priority for jobs that are submitted with this job definition. // This only affects jobs in job queues with a fair share policy. Jobs with // a higher scheduling priority are scheduled before jobs with a lower scheduling // priority. // // The minimum supported value is 0 and the maximum supported value is 9999. SchedulingPriority *int64 `locationName:"schedulingPriority" type:"integer"` // The tags that you apply to the job definition to help you categorize and // organize your resources. Each tag consists of a key and an optional value. // For more information, see Tagging Amazon Web Services Resources (https://docs.aws.amazon.com/batch/latest/userguide/using-tags.html) // in Batch User Guide. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` // The timeout configuration for jobs that are submitted with this job definition, // after which Batch terminates your jobs if they have not finished. If a job // is terminated due to a timeout, it isn't retried. The minimum value for the // timeout is 60 seconds. Any timeout configuration that's specified during // a SubmitJob operation overrides the timeout configuration defined here. For // more information, see Job Timeouts (https://docs.aws.amazon.com/batch/latest/userguide/job_timeouts.html) // in the Batch User Guide. Timeout *JobTimeout `locationName:"timeout" type:"structure"` // The type of job definition. For more information about multi-node parallel // jobs, see Creating a multi-node parallel job definition (https://docs.aws.amazon.com/batch/latest/userguide/multi-node-job-def.html) // in the Batch User Guide. // // If the job is run on Fargate resources, then multinode isn't supported. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"JobDefinitionType"` // contains filtered or unexported fields }
Contains the parameters for RegisterJobDefinition.
func (RegisterJobDefinitionInput) GoString ¶
func (s RegisterJobDefinitionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RegisterJobDefinitionInput) SetContainerProperties ¶
func (s *RegisterJobDefinitionInput) SetContainerProperties(v *ContainerProperties) *RegisterJobDefinitionInput
SetContainerProperties sets the ContainerProperties field's value.
func (*RegisterJobDefinitionInput) SetEksProperties ¶
func (s *RegisterJobDefinitionInput) SetEksProperties(v *EksProperties) *RegisterJobDefinitionInput
SetEksProperties sets the EksProperties field's value.
func (*RegisterJobDefinitionInput) SetJobDefinitionName ¶
func (s *RegisterJobDefinitionInput) SetJobDefinitionName(v string) *RegisterJobDefinitionInput
SetJobDefinitionName sets the JobDefinitionName field's value.
func (*RegisterJobDefinitionInput) SetNodeProperties ¶
func (s *RegisterJobDefinitionInput) SetNodeProperties(v *NodeProperties) *RegisterJobDefinitionInput
SetNodeProperties sets the NodeProperties field's value.
func (*RegisterJobDefinitionInput) SetParameters ¶
func (s *RegisterJobDefinitionInput) SetParameters(v map[string]*string) *RegisterJobDefinitionInput
SetParameters sets the Parameters field's value.
func (*RegisterJobDefinitionInput) SetPlatformCapabilities ¶
func (s *RegisterJobDefinitionInput) SetPlatformCapabilities(v []*string) *RegisterJobDefinitionInput
SetPlatformCapabilities sets the PlatformCapabilities field's value.
func (*RegisterJobDefinitionInput) SetPropagateTags ¶
func (s *RegisterJobDefinitionInput) SetPropagateTags(v bool) *RegisterJobDefinitionInput
SetPropagateTags sets the PropagateTags field's value.
func (*RegisterJobDefinitionInput) SetRetryStrategy ¶
func (s *RegisterJobDefinitionInput) SetRetryStrategy(v *RetryStrategy) *RegisterJobDefinitionInput
SetRetryStrategy sets the RetryStrategy field's value.
func (*RegisterJobDefinitionInput) SetSchedulingPriority ¶
func (s *RegisterJobDefinitionInput) SetSchedulingPriority(v int64) *RegisterJobDefinitionInput
SetSchedulingPriority sets the SchedulingPriority field's value.
func (*RegisterJobDefinitionInput) SetTags ¶
func (s *RegisterJobDefinitionInput) SetTags(v map[string]*string) *RegisterJobDefinitionInput
SetTags sets the Tags field's value.
func (*RegisterJobDefinitionInput) SetTimeout ¶
func (s *RegisterJobDefinitionInput) SetTimeout(v *JobTimeout) *RegisterJobDefinitionInput
SetTimeout sets the Timeout field's value.
func (*RegisterJobDefinitionInput) SetType ¶
func (s *RegisterJobDefinitionInput) SetType(v string) *RegisterJobDefinitionInput
SetType sets the Type field's value.
func (RegisterJobDefinitionInput) String ¶
func (s RegisterJobDefinitionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RegisterJobDefinitionInput) Validate ¶
func (s *RegisterJobDefinitionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RegisterJobDefinitionOutput ¶
type RegisterJobDefinitionOutput struct { // The Amazon Resource Name (ARN) of the job definition. // // JobDefinitionArn is a required field JobDefinitionArn *string `locationName:"jobDefinitionArn" type:"string" required:"true"` // The name of the job definition. // // JobDefinitionName is a required field JobDefinitionName *string `locationName:"jobDefinitionName" type:"string" required:"true"` // The revision of the job definition. // // Revision is a required field Revision *int64 `locationName:"revision" type:"integer" required:"true"` // contains filtered or unexported fields }
func (RegisterJobDefinitionOutput) GoString ¶
func (s RegisterJobDefinitionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RegisterJobDefinitionOutput) SetJobDefinitionArn ¶
func (s *RegisterJobDefinitionOutput) SetJobDefinitionArn(v string) *RegisterJobDefinitionOutput
SetJobDefinitionArn sets the JobDefinitionArn field's value.
func (*RegisterJobDefinitionOutput) SetJobDefinitionName ¶
func (s *RegisterJobDefinitionOutput) SetJobDefinitionName(v string) *RegisterJobDefinitionOutput
SetJobDefinitionName sets the JobDefinitionName field's value.
func (*RegisterJobDefinitionOutput) SetRevision ¶
func (s *RegisterJobDefinitionOutput) SetRevision(v int64) *RegisterJobDefinitionOutput
SetRevision sets the Revision field's value.
func (RegisterJobDefinitionOutput) String ¶
func (s RegisterJobDefinitionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceRequirement ¶
type ResourceRequirement struct { // The type of resource to assign to a container. The supported resources include // GPU, MEMORY, and VCPU. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"ResourceType"` // The quantity of the specified resource to reserve for the container. The // values vary based on the type specified. // // type="GPU" // // The number of physical GPUs to reserve for the container. Make sure that // the number of GPUs reserved for all containers in a job doesn't exceed the // number of available GPUs on the compute resource that the job is launched // on. // // GPUs aren't available for jobs that are running on Fargate resources. // // type="MEMORY" // // The memory hard limit (in MiB) present to the container. This parameter is // supported for jobs that are running on EC2 resources. If your container attempts // to exceed the memory specified, the container is terminated. This parameter // maps to Memory in the Create a container (https://docs.docker.com/engine/api/v1.23/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/api/v1.23/) // and the --memory option to docker run (https://docs.docker.com/engine/reference/run/). // You must specify at least 4 MiB of memory for a job. This is required but // can be specified in several places for multi-node parallel (MNP) jobs. It // must be specified for each node at least once. This parameter maps to Memory // in the Create a container (https://docs.docker.com/engine/api/v1.23/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/api/v1.23/) // and the --memory option to docker run (https://docs.docker.com/engine/reference/run/). // // If you're trying to maximize your resource utilization by providing your // jobs as much memory as possible for a particular instance type, see Memory // management (https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html) // in the Batch User Guide. // // For jobs that are running on Fargate resources, then value is the hard limit // (in MiB), and must match one of the supported values and the VCPU values // must be one of the values supported for that memory value. // // value = 512 // // VCPU = 0.25 // // value = 1024 // // VCPU = 0.25 or 0.5 // // value = 2048 // // VCPU = 0.25, 0.5, or 1 // // value = 3072 // // VCPU = 0.5, or 1 // // value = 4096 // // VCPU = 0.5, 1, or 2 // // value = 5120, 6144, or 7168 // // VCPU = 1 or 2 // // value = 8192 // // VCPU = 1, 2, or 4 // // value = 9216, 10240, 11264, 12288, 13312, 14336, or 15360 // // VCPU = 2 or 4 // // value = 16384 // // VCPU = 2, 4, or 8 // // value = 17408, 18432, 19456, 21504, 22528, 23552, 25600, 26624, 27648, 29696, // or 30720 // // VCPU = 4 // // value = 20480, 24576, or 28672 // // VCPU = 4 or 8 // // value = 36864, 45056, 53248, or 61440 // // VCPU = 8 // // value = 32768, 40960, 49152, or 57344 // // VCPU = 8 or 16 // // value = 65536, 73728, 81920, 90112, 98304, 106496, 114688, or 122880 // // VCPU = 16 // // type="VCPU" // // The number of vCPUs reserved for the container. This parameter maps to CpuShares // in the Create a container (https://docs.docker.com/engine/api/v1.23/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/api/v1.23/) // and the --cpu-shares option to docker run (https://docs.docker.com/engine/reference/run/). // Each vCPU is equivalent to 1,024 CPU shares. For EC2 resources, you must // specify at least one vCPU. This is required but can be specified in several // places; it must be specified for each node at least once. // // The default for the Fargate On-Demand vCPU resource count quota is 6 vCPUs. // For more information about Fargate quotas, see Fargate quotas (https://docs.aws.amazon.com/general/latest/gr/ecs-service.html#service-quotas-fargate) // in the Amazon Web Services General Reference. // // For jobs that are running on Fargate resources, then value must match one // of the supported values and the MEMORY values must be one of the values supported // for that VCPU value. The supported values are 0.25, 0.5, 1, 2, 4, 8, and // 16 // // value = 0.25 // // MEMORY = 512, 1024, or 2048 // // value = 0.5 // // MEMORY = 1024, 2048, 3072, or 4096 // // value = 1 // // MEMORY = 2048, 3072, 4096, 5120, 6144, 7168, or 8192 // // value = 2 // // MEMORY = 4096, 5120, 6144, 7168, 8192, 9216, 10240, 11264, 12288, 13312, // 14336, 15360, or 16384 // // value = 4 // // MEMORY = 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, 16384, 17408, // 18432, 19456, 20480, 21504, 22528, 23552, 24576, 25600, 26624, 27648, 28672, // 29696, or 30720 // // value = 8 // // MEMORY = 16384, 20480, 24576, 28672, 32768, 36864, 40960, 45056, 49152, 53248, // 57344, or 61440 // // value = 16 // // MEMORY = 32768, 40960, 49152, 57344, 65536, 73728, 81920, 90112, 98304, 106496, // 114688, or 122880 // // Value is a required field Value *string `locationName:"value" type:"string" required:"true"` // contains filtered or unexported fields }
The type and amount of a resource to assign to a container. The supported resources include GPU, MEMORY, and VCPU.
func (ResourceRequirement) GoString ¶
func (s ResourceRequirement) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceRequirement) SetType ¶
func (s *ResourceRequirement) SetType(v string) *ResourceRequirement
SetType sets the Type field's value.
func (*ResourceRequirement) SetValue ¶
func (s *ResourceRequirement) SetValue(v string) *ResourceRequirement
SetValue sets the Value field's value.
func (ResourceRequirement) String ¶
func (s ResourceRequirement) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceRequirement) Validate ¶
func (s *ResourceRequirement) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RetryStrategy ¶
type RetryStrategy struct { // The number of times to move a job to the RUNNABLE status. You can specify // between 1 and 10 attempts. If the value of attempts is greater than one, // the job is retried on failure the same number of attempts as the value. Attempts *int64 `locationName:"attempts" type:"integer"` // Array of up to 5 objects that specify the conditions where jobs are retried // or failed. If this parameter is specified, then the attempts parameter must // also be specified. If none of the listed conditions match, then the job is // retried. EvaluateOnExit []*EvaluateOnExit `locationName:"evaluateOnExit" type:"list"` // contains filtered or unexported fields }
The retry strategy that's associated with a job. For more information, see Automated job retries (https://docs.aws.amazon.com/batch/latest/userguide/job_retries.html) in the Batch User Guide.
func (RetryStrategy) GoString ¶
func (s RetryStrategy) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RetryStrategy) SetAttempts ¶
func (s *RetryStrategy) SetAttempts(v int64) *RetryStrategy
SetAttempts sets the Attempts field's value.
func (*RetryStrategy) SetEvaluateOnExit ¶
func (s *RetryStrategy) SetEvaluateOnExit(v []*EvaluateOnExit) *RetryStrategy
SetEvaluateOnExit sets the EvaluateOnExit field's value.
func (RetryStrategy) String ¶
func (s RetryStrategy) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RetryStrategy) Validate ¶
func (s *RetryStrategy) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RuntimePlatform ¶
type RuntimePlatform struct { // The vCPU architecture. The default value is X86_64. Valid values are X86_64 // and ARM64. // // This parameter must be set to X86_64 for Windows containers. CpuArchitecture *string `locationName:"cpuArchitecture" type:"string"` // The operating system for the compute environment. Valid values are: LINUX // (default), WINDOWS_SERVER_2019_CORE, WINDOWS_SERVER_2019_FULL, WINDOWS_SERVER_2022_CORE, // and WINDOWS_SERVER_2022_FULL. // // The following parameters can’t be set for Windows containers: linuxParameters, // privileged, user, ulimits, readonlyRootFilesystem, and efsVolumeConfiguration. // // The Batch Scheduler checks before registering a task definition with Fargate. // If the job requires a Windows container and the first compute environment // is LINUX, the compute environment is skipped and the next is checked until // a Windows-based compute environment is found. // // Fargate Spot is not supported for Windows-based containers on Fargate. A // job queue will be blocked if a Fargate Windows job is submitted to a job // queue with only Fargate Spot compute environments. However, you can attach // both FARGATE and FARGATE_SPOT compute environments to the same job queue. OperatingSystemFamily *string `locationName:"operatingSystemFamily" type:"string"` // contains filtered or unexported fields }
An object that represents the compute environment architecture for Batch jobs on Fargate.
func (RuntimePlatform) GoString ¶
func (s RuntimePlatform) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RuntimePlatform) SetCpuArchitecture ¶
func (s *RuntimePlatform) SetCpuArchitecture(v string) *RuntimePlatform
SetCpuArchitecture sets the CpuArchitecture field's value.
func (*RuntimePlatform) SetOperatingSystemFamily ¶
func (s *RuntimePlatform) SetOperatingSystemFamily(v string) *RuntimePlatform
SetOperatingSystemFamily sets the OperatingSystemFamily field's value.
func (RuntimePlatform) String ¶
func (s RuntimePlatform) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type SchedulingPolicyDetail ¶
type SchedulingPolicyDetail struct { // The Amazon Resource Name (ARN) of the scheduling policy. An example is arn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority . // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` FairsharePolicy *FairsharePolicy `locationName:"fairsharePolicy" type:"structure"` // The name of the scheduling policy. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The tags that you apply to the scheduling policy to categorize and organize // your resources. Each tag consists of a key and an optional value. For more // information, see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) // in Amazon Web Services General Reference. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
An object that represents a scheduling policy.
func (SchedulingPolicyDetail) GoString ¶
func (s SchedulingPolicyDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SchedulingPolicyDetail) SetArn ¶
func (s *SchedulingPolicyDetail) SetArn(v string) *SchedulingPolicyDetail
SetArn sets the Arn field's value.
func (*SchedulingPolicyDetail) SetFairsharePolicy ¶
func (s *SchedulingPolicyDetail) SetFairsharePolicy(v *FairsharePolicy) *SchedulingPolicyDetail
SetFairsharePolicy sets the FairsharePolicy field's value.
func (*SchedulingPolicyDetail) SetName ¶
func (s *SchedulingPolicyDetail) SetName(v string) *SchedulingPolicyDetail
SetName sets the Name field's value.
func (*SchedulingPolicyDetail) SetTags ¶
func (s *SchedulingPolicyDetail) SetTags(v map[string]*string) *SchedulingPolicyDetail
SetTags sets the Tags field's value.
func (SchedulingPolicyDetail) String ¶
func (s SchedulingPolicyDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type SchedulingPolicyListingDetail ¶
type SchedulingPolicyListingDetail struct { // Amazon Resource Name (ARN) of the scheduling policy. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // contains filtered or unexported fields }
An object that contains the details of a scheduling policy that's returned in a ListSchedulingPolicy action.
func (SchedulingPolicyListingDetail) GoString ¶
func (s SchedulingPolicyListingDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SchedulingPolicyListingDetail) SetArn ¶
func (s *SchedulingPolicyListingDetail) SetArn(v string) *SchedulingPolicyListingDetail
SetArn sets the Arn field's value.
func (SchedulingPolicyListingDetail) String ¶
func (s SchedulingPolicyListingDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Secret ¶
type Secret struct { // The name of the secret. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The secret to expose to the container. The supported values are either the // full Amazon Resource Name (ARN) of the Secrets Manager secret or the full // ARN of the parameter in the Amazon Web Services Systems Manager Parameter // Store. // // If the Amazon Web Services Systems Manager Parameter Store parameter exists // in the same Region as the job you're launching, then you can use either the // full Amazon Resource Name (ARN) or name of the parameter. If the parameter // exists in a different Region, then the full ARN must be specified. // // ValueFrom is a required field ValueFrom *string `locationName:"valueFrom" type:"string" required:"true"` // contains filtered or unexported fields }
An object that represents the secret to expose to your container. Secrets can be exposed to a container in the following ways:
To inject sensitive data into your containers as environment variables, use the secrets container definition parameter.
To reference sensitive information in the log configuration of a container, use the secretOptions container definition parameter.
For more information, see Specifying sensitive data (https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html) in the Batch User Guide.
func (Secret) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Secret) SetValueFrom ¶
SetValueFrom sets the ValueFrom field's value.
type ServerException ¶
type ServerException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
These errors are usually caused by a server issue.
func (*ServerException) Code ¶
func (s *ServerException) Code() string
Code returns the exception type name.
func (*ServerException) Error ¶
func (s *ServerException) Error() string
func (ServerException) GoString ¶
func (s ServerException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ServerException) Message ¶
func (s *ServerException) Message() string
Message returns the exception's message.
func (*ServerException) OrigErr ¶
func (s *ServerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ServerException) RequestID ¶
func (s *ServerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ServerException) StatusCode ¶
func (s *ServerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ServerException) String ¶
func (s ServerException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ShareAttributes ¶
type ShareAttributes struct { // with an asterisk (*), this entry specifies the weight factor to use for fair // share identifiers that start with that prefix. The list of fair share identifiers // in a fair share policy can't overlap. For example, you can't have one that // specifies a shareIdentifier of UserA* and another that specifies a shareIdentifier // of UserA-1. // // There can be no more than 500 fair share identifiers active in a job queue. // // The string is limited to 255 alphanumeric characters, and can be followed // by an asterisk (*). // // ShareIdentifier is a required field ShareIdentifier *string `locationName:"shareIdentifier" type:"string" required:"true"` // A lower value has a higher priority for compute resources. For example, jobs // that use a share identifier with a weight factor of 0.125 (1/8) get 8 times // the compute resources of jobs that use a share identifier with a weight factor // of 1. // // The smallest supported value is 0.0001, and the largest supported value is // 999.9999. WeightFactor *float64 `locationName:"weightFactor" type:"float"` // contains filtered or unexported fields }
Specifies the weights for the fair share identifiers for the fair share policy. Fair share identifiers that aren't included have a default weight of 1.0.
func (ShareAttributes) GoString ¶
func (s ShareAttributes) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ShareAttributes) SetShareIdentifier ¶
func (s *ShareAttributes) SetShareIdentifier(v string) *ShareAttributes
SetShareIdentifier sets the ShareIdentifier field's value.
func (*ShareAttributes) SetWeightFactor ¶
func (s *ShareAttributes) SetWeightFactor(v float64) *ShareAttributes
SetWeightFactor sets the WeightFactor field's value.
func (ShareAttributes) String ¶
func (s ShareAttributes) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ShareAttributes) Validate ¶
func (s *ShareAttributes) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SubmitJobInput ¶
type SubmitJobInput struct { // The array properties for the submitted job, such as the size of the array. // The array size can be between 2 and 10,000. If you specify array properties // for a job, it becomes an array job. For more information, see Array Jobs // (https://docs.aws.amazon.com/batch/latest/userguide/array_jobs.html) in the // Batch User Guide. ArrayProperties *ArrayProperties `locationName:"arrayProperties" type:"structure"` // An object with various properties that override the defaults for the job // definition that specify the name of a container in the specified job definition // and the overrides it should receive. You can override the default command // for a container, which is specified in the job definition or the Docker image, // with a command override. You can also override existing environment variables // on a container or add new environment variables to it with an environment // override. ContainerOverrides *ContainerOverrides `locationName:"containerOverrides" type:"structure"` // A list of dependencies for the job. A job can depend upon a maximum of 20 // jobs. You can specify a SEQUENTIAL type dependency without specifying a job // ID for array jobs so that each child array job completes sequentially, starting // at index 0. You can also specify an N_TO_N type dependency with a job ID // for array jobs. In that case, each index child of this job must wait for // the corresponding index child of each dependency to complete before it can // begin. DependsOn []*JobDependency `locationName:"dependsOn" type:"list"` // An object that can only be specified for jobs that are run on Amazon EKS // resources with various properties that override defaults for the job definition. EksPropertiesOverride *EksPropertiesOverride `locationName:"eksPropertiesOverride" type:"structure"` // The job definition used by this job. This value can be one of definition-name, // definition-name:revision, or the Amazon Resource Name (ARN) for the job definition, // with or without the revision (arn:aws:batch:region:account:job-definition/definition-name:revision // , or arn:aws:batch:region:account:job-definition/definition-name ). // // If the revision is not specified, then the latest active revision is used. // // JobDefinition is a required field JobDefinition *string `locationName:"jobDefinition" type:"string" required:"true"` // The name of the job. It can be up to 128 letters long. The first character // must be alphanumeric, can contain uppercase and lowercase letters, numbers, // hyphens (-), and underscores (_). // // JobName is a required field JobName *string `locationName:"jobName" type:"string" required:"true"` // The job queue where the job is submitted. You can specify either the name // or the Amazon Resource Name (ARN) of the queue. // // JobQueue is a required field JobQueue *string `locationName:"jobQueue" type:"string" required:"true"` // A list of node overrides in JSON format that specify the node range to target // and the container overrides for that node range. // // This parameter isn't applicable to jobs that are running on Fargate resources; // use containerOverrides instead. NodeOverrides *NodeOverrides `locationName:"nodeOverrides" type:"structure"` // Additional parameters passed to the job that replace parameter substitution // placeholders that are set in the job definition. Parameters are specified // as a key and value pair mapping. Parameters in a SubmitJob request override // any corresponding parameter defaults from the job definition. Parameters map[string]*string `locationName:"parameters" type:"map"` // Specifies whether to propagate the tags from the job or job definition to // the corresponding Amazon ECS task. If no value is specified, the tags aren't // propagated. Tags can only be propagated to the tasks during task creation. // For tags with the same name, job tags are given priority over job definitions // tags. If the total number of combined tags from the job and job definition // is over 50, the job is moved to the FAILED state. When specified, this overrides // the tag propagation setting in the job definition. PropagateTags *bool `locationName:"propagateTags" type:"boolean"` // The retry strategy to use for failed jobs from this SubmitJob operation. // When a retry strategy is specified here, it overrides the retry strategy // defined in the job definition. RetryStrategy *RetryStrategy `locationName:"retryStrategy" type:"structure"` // The scheduling priority for the job. This only affects jobs in job queues // with a fair share policy. Jobs with a higher scheduling priority are scheduled // before jobs with a lower scheduling priority. This overrides any scheduling // priority in the job definition. // // The minimum supported value is 0 and the maximum supported value is 9999. SchedulingPriorityOverride *int64 `locationName:"schedulingPriorityOverride" type:"integer"` // queue doesn't have a scheduling policy. If the job queue has a scheduling // policy, then this parameter must be specified. // // This string is limited to 255 alphanumeric characters, and can be followed // by an asterisk (*). ShareIdentifier *string `locationName:"shareIdentifier" type:"string"` // The tags that you apply to the job request to help you categorize and organize // your resources. Each tag consists of a key and an optional value. For more // information, see Tagging Amazon Web Services Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) // in Amazon Web Services General Reference. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` // The timeout configuration for this SubmitJob operation. You can specify a // timeout duration after which Batch terminates your jobs if they haven't finished. // If a job is terminated due to a timeout, it isn't retried. The minimum value // for the timeout is 60 seconds. This configuration overrides any timeout configuration // specified in the job definition. For array jobs, child jobs have the same // timeout configuration as the parent job. For more information, see Job Timeouts // (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/job_timeouts.html) // in the Amazon Elastic Container Service Developer Guide. Timeout *JobTimeout `locationName:"timeout" type:"structure"` // contains filtered or unexported fields }
Contains the parameters for SubmitJob.
func (SubmitJobInput) GoString ¶
func (s SubmitJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SubmitJobInput) SetArrayProperties ¶
func (s *SubmitJobInput) SetArrayProperties(v *ArrayProperties) *SubmitJobInput
SetArrayProperties sets the ArrayProperties field's value.
func (*SubmitJobInput) SetContainerOverrides ¶
func (s *SubmitJobInput) SetContainerOverrides(v *ContainerOverrides) *SubmitJobInput
SetContainerOverrides sets the ContainerOverrides field's value.
func (*SubmitJobInput) SetDependsOn ¶
func (s *SubmitJobInput) SetDependsOn(v []*JobDependency) *SubmitJobInput
SetDependsOn sets the DependsOn field's value.
func (*SubmitJobInput) SetEksPropertiesOverride ¶
func (s *SubmitJobInput) SetEksPropertiesOverride(v *EksPropertiesOverride) *SubmitJobInput
SetEksPropertiesOverride sets the EksPropertiesOverride field's value.
func (*SubmitJobInput) SetJobDefinition ¶
func (s *SubmitJobInput) SetJobDefinition(v string) *SubmitJobInput
SetJobDefinition sets the JobDefinition field's value.
func (*SubmitJobInput) SetJobName ¶
func (s *SubmitJobInput) SetJobName(v string) *SubmitJobInput
SetJobName sets the JobName field's value.
func (*SubmitJobInput) SetJobQueue ¶
func (s *SubmitJobInput) SetJobQueue(v string) *SubmitJobInput
SetJobQueue sets the JobQueue field's value.
func (*SubmitJobInput) SetNodeOverrides ¶
func (s *SubmitJobInput) SetNodeOverrides(v *NodeOverrides) *SubmitJobInput
SetNodeOverrides sets the NodeOverrides field's value.
func (*SubmitJobInput) SetParameters ¶
func (s *SubmitJobInput) SetParameters(v map[string]*string) *SubmitJobInput
SetParameters sets the Parameters field's value.
func (*SubmitJobInput) SetPropagateTags ¶
func (s *SubmitJobInput) SetPropagateTags(v bool) *SubmitJobInput
SetPropagateTags sets the PropagateTags field's value.
func (*SubmitJobInput) SetRetryStrategy ¶
func (s *SubmitJobInput) SetRetryStrategy(v *RetryStrategy) *SubmitJobInput
SetRetryStrategy sets the RetryStrategy field's value.
func (*SubmitJobInput) SetSchedulingPriorityOverride ¶
func (s *SubmitJobInput) SetSchedulingPriorityOverride(v int64) *SubmitJobInput
SetSchedulingPriorityOverride sets the SchedulingPriorityOverride field's value.
func (*SubmitJobInput) SetShareIdentifier ¶
func (s *SubmitJobInput) SetShareIdentifier(v string) *SubmitJobInput
SetShareIdentifier sets the ShareIdentifier field's value.
func (*SubmitJobInput) SetTags ¶
func (s *SubmitJobInput) SetTags(v map[string]*string) *SubmitJobInput
SetTags sets the Tags field's value.
func (*SubmitJobInput) SetTimeout ¶
func (s *SubmitJobInput) SetTimeout(v *JobTimeout) *SubmitJobInput
SetTimeout sets the Timeout field's value.
func (SubmitJobInput) String ¶
func (s SubmitJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SubmitJobInput) Validate ¶
func (s *SubmitJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SubmitJobOutput ¶
type SubmitJobOutput struct { // The Amazon Resource Name (ARN) for the job. JobArn *string `locationName:"jobArn" type:"string"` // The unique identifier for the job. // // JobId is a required field JobId *string `locationName:"jobId" type:"string" required:"true"` // The name of the job. // // JobName is a required field JobName *string `locationName:"jobName" type:"string" required:"true"` // contains filtered or unexported fields }
func (SubmitJobOutput) GoString ¶
func (s SubmitJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SubmitJobOutput) SetJobArn ¶
func (s *SubmitJobOutput) SetJobArn(v string) *SubmitJobOutput
SetJobArn sets the JobArn field's value.
func (*SubmitJobOutput) SetJobId ¶
func (s *SubmitJobOutput) SetJobId(v string) *SubmitJobOutput
SetJobId sets the JobId field's value.
func (*SubmitJobOutput) SetJobName ¶
func (s *SubmitJobOutput) SetJobName(v string) *SubmitJobOutput
SetJobName sets the JobName field's value.
func (SubmitJobOutput) String ¶
func (s SubmitJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the resource that tags are added to. Batch // resources that support tags are compute environments, jobs, job definitions, // job queues, and scheduling policies. ARNs for child jobs of array and multi-node // parallel (MNP) jobs aren't supported. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // The tags that you apply to the resource to help you categorize and organize // your resources. Each tag consists of a key and an optional value. For more // information, see Tagging Amazon Web Services Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) // in Amazon Web Services General Reference. // // Tags is a required field Tags map[string]*string `locationName:"tags" min:"1" type:"map" required:"true"` // contains filtered or unexported fields }
Contains the parameters for TagResource.
func (TagResourceInput) GoString ¶
func (s TagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagResourceInput) SetResourceArn ¶
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*TagResourceInput) SetTags ¶
func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput
SetTags sets the Tags field's value.
func (TagResourceInput) String ¶
func (s TagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagResourceInput) Validate ¶
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) GoString ¶
func (s TagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (TagResourceOutput) String ¶
func (s TagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TerminateJobInput ¶
type TerminateJobInput struct { // The Batch job ID of the job to terminate. // // JobId is a required field JobId *string `locationName:"jobId" type:"string" required:"true"` // A message to attach to the job that explains the reason for canceling it. // This message is returned by future DescribeJobs operations on the job. This // message is also recorded in the Batch activity logs. // // Reason is a required field Reason *string `locationName:"reason" type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for TerminateJob.
func (TerminateJobInput) GoString ¶
func (s TerminateJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TerminateJobInput) SetJobId ¶
func (s *TerminateJobInput) SetJobId(v string) *TerminateJobInput
SetJobId sets the JobId field's value.
func (*TerminateJobInput) SetReason ¶
func (s *TerminateJobInput) SetReason(v string) *TerminateJobInput
SetReason sets the Reason field's value.
func (TerminateJobInput) String ¶
func (s TerminateJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TerminateJobInput) Validate ¶
func (s *TerminateJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TerminateJobOutput ¶
type TerminateJobOutput struct {
// contains filtered or unexported fields
}
func (TerminateJobOutput) GoString ¶
func (s TerminateJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (TerminateJobOutput) String ¶
func (s TerminateJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Tmpfs ¶
type Tmpfs struct { // The absolute file path in the container where the tmpfs volume is mounted. // // ContainerPath is a required field ContainerPath *string `locationName:"containerPath" type:"string" required:"true"` // The list of tmpfs volume mount options. // // Valid values: "defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" // | "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | // "nomand" | "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" // | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" // | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime" // | "mode" | "uid" | "gid" | "nr_inodes" | "nr_blocks" | "mpol" MountOptions []*string `locationName:"mountOptions" type:"list"` // The size (in MiB) of the tmpfs volume. // // Size is a required field Size *int64 `locationName:"size" type:"integer" required:"true"` // contains filtered or unexported fields }
The container path, mount options, and size of the tmpfs mount.
This object isn't applicable to jobs that are running on Fargate resources.
func (Tmpfs) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Tmpfs) SetContainerPath ¶
SetContainerPath sets the ContainerPath field's value.
func (*Tmpfs) SetMountOptions ¶
SetMountOptions sets the MountOptions field's value.
type Ulimit ¶
type Ulimit struct { // The hard limit for the ulimit type. // // HardLimit is a required field HardLimit *int64 `locationName:"hardLimit" type:"integer" required:"true"` // The type of the ulimit. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The soft limit for the ulimit type. // // SoftLimit is a required field SoftLimit *int64 `locationName:"softLimit" type:"integer" required:"true"` // contains filtered or unexported fields }
The ulimit settings to pass to the container.
This object isn't applicable to jobs that are running on Fargate resources.
func (Ulimit) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Ulimit) SetHardLimit ¶
SetHardLimit sets the HardLimit field's value.
func (*Ulimit) SetSoftLimit ¶
SetSoftLimit sets the SoftLimit field's value.
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the resource from which to delete tags. // Batch resources that support tags are compute environments, jobs, job definitions, // job queues, and scheduling policies. ARNs for child jobs of array and multi-node // parallel (MNP) jobs aren't supported. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // The keys of the tags to be removed. // // TagKeys is a required field TagKeys []*string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
Contains the parameters for UntagResource.
func (UntagResourceInput) GoString ¶
func (s UntagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UntagResourceInput) SetResourceArn ¶
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*UntagResourceInput) SetTagKeys ¶
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (UntagResourceInput) String ¶
func (s UntagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UntagResourceInput) Validate ¶
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) GoString ¶
func (s UntagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateComputeEnvironmentInput ¶
type UpdateComputeEnvironmentInput struct { // The name or full Amazon Resource Name (ARN) of the compute environment to // update. // // ComputeEnvironment is a required field ComputeEnvironment *string `locationName:"computeEnvironment" type:"string" required:"true"` // Details of the compute resources managed by the compute environment. Required // for a managed compute environment. For more information, see Compute Environments // (https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) // in the Batch User Guide. ComputeResources *ComputeResourceUpdate `locationName:"computeResources" type:"structure"` // The full Amazon Resource Name (ARN) of the IAM role that allows Batch to // make calls to other Amazon Web Services services on your behalf. For more // information, see Batch service IAM role (https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html) // in the Batch User Guide. // // If the compute environment has a service-linked role, it can't be changed // to use a regular IAM role. Likewise, if the compute environment has a regular // IAM role, it can't be changed to use a service-linked role. To update the // parameters for the compute environment that require an infrastructure update // to change, the AWSServiceRoleForBatch service-linked role must be used. For // more information, see Updating compute environments (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) // in the Batch User Guide. // // If your specified role has a path other than /, then you must either specify // the full role ARN (recommended) or prefix the role name with the path. // // Depending on how you created your Batch service role, its ARN might contain // the service-role path prefix. When you only specify the name of the service // role, Batch assumes that your ARN doesn't use the service-role path prefix. // Because of this, we recommend that you specify the full ARN of your service // role when you create compute environments. ServiceRole *string `locationName:"serviceRole" type:"string"` // The state of the compute environment. Compute environments in the ENABLED // state can accept jobs from a queue and scale in or out automatically based // on the workload demand of its associated queues. // // If the state is ENABLED, then the Batch scheduler can attempt to place jobs // from an associated job queue on the compute resources within the environment. // If the compute environment is managed, then it can scale its instances out // or in automatically, based on the job queue demand. // // If the state is DISABLED, then the Batch scheduler doesn't attempt to place // jobs within the environment. Jobs in a STARTING or RUNNING state continue // to progress normally. Managed compute environments in the DISABLED state // don't scale out. // // Compute environments in a DISABLED state may continue to incur billing charges. // To prevent additional charges, turn off and then delete the compute environment. // For more information, see State (https://docs.aws.amazon.com/batch/latest/userguide/compute_environment_parameters.html#compute_environment_state) // in the Batch User Guide. // // When an instance is idle, the instance scales down to the minvCpus value. // However, the instance size doesn't change. For example, consider a c5.8xlarge // instance with a minvCpus value of 4 and a desiredvCpus value of 36. This // instance doesn't scale down to a c5.large instance. State *string `locationName:"state" type:"string" enum:"CEState"` // The maximum number of vCPUs expected to be used for an unmanaged compute // environment. Don't specify this parameter for a managed compute environment. // This parameter is only used for fair share scheduling to reserve vCPU capacity // for new share identifiers. If this parameter isn't provided for a fair share // job queue, no vCPU capacity is reserved. UnmanagedvCpus *int64 `locationName:"unmanagedvCpus" type:"integer"` // Specifies the updated infrastructure update policy for the compute environment. // For more information about infrastructure updates, see Updating compute environments // (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) // in the Batch User Guide. UpdatePolicy *UpdatePolicy `locationName:"updatePolicy" type:"structure"` // contains filtered or unexported fields }
Contains the parameters for UpdateComputeEnvironment.
func (UpdateComputeEnvironmentInput) GoString ¶
func (s UpdateComputeEnvironmentInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateComputeEnvironmentInput) SetComputeEnvironment ¶
func (s *UpdateComputeEnvironmentInput) SetComputeEnvironment(v string) *UpdateComputeEnvironmentInput
SetComputeEnvironment sets the ComputeEnvironment field's value.
func (*UpdateComputeEnvironmentInput) SetComputeResources ¶
func (s *UpdateComputeEnvironmentInput) SetComputeResources(v *ComputeResourceUpdate) *UpdateComputeEnvironmentInput
SetComputeResources sets the ComputeResources field's value.
func (*UpdateComputeEnvironmentInput) SetServiceRole ¶
func (s *UpdateComputeEnvironmentInput) SetServiceRole(v string) *UpdateComputeEnvironmentInput
SetServiceRole sets the ServiceRole field's value.
func (*UpdateComputeEnvironmentInput) SetState ¶
func (s *UpdateComputeEnvironmentInput) SetState(v string) *UpdateComputeEnvironmentInput
SetState sets the State field's value.
func (*UpdateComputeEnvironmentInput) SetUnmanagedvCpus ¶
func (s *UpdateComputeEnvironmentInput) SetUnmanagedvCpus(v int64) *UpdateComputeEnvironmentInput
SetUnmanagedvCpus sets the UnmanagedvCpus field's value.
func (*UpdateComputeEnvironmentInput) SetUpdatePolicy ¶
func (s *UpdateComputeEnvironmentInput) SetUpdatePolicy(v *UpdatePolicy) *UpdateComputeEnvironmentInput
SetUpdatePolicy sets the UpdatePolicy field's value.
func (UpdateComputeEnvironmentInput) String ¶
func (s UpdateComputeEnvironmentInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateComputeEnvironmentInput) Validate ¶
func (s *UpdateComputeEnvironmentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateComputeEnvironmentOutput ¶
type UpdateComputeEnvironmentOutput struct { // The Amazon Resource Name (ARN) of the compute environment. ComputeEnvironmentArn *string `locationName:"computeEnvironmentArn" type:"string"` // The name of the compute environment. It can be up to 128 characters long. // It can contain uppercase and lowercase letters, numbers, hyphens (-), and // underscores (_). ComputeEnvironmentName *string `locationName:"computeEnvironmentName" type:"string"` // contains filtered or unexported fields }
func (UpdateComputeEnvironmentOutput) GoString ¶
func (s UpdateComputeEnvironmentOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateComputeEnvironmentOutput) SetComputeEnvironmentArn ¶
func (s *UpdateComputeEnvironmentOutput) SetComputeEnvironmentArn(v string) *UpdateComputeEnvironmentOutput
SetComputeEnvironmentArn sets the ComputeEnvironmentArn field's value.
func (*UpdateComputeEnvironmentOutput) SetComputeEnvironmentName ¶
func (s *UpdateComputeEnvironmentOutput) SetComputeEnvironmentName(v string) *UpdateComputeEnvironmentOutput
SetComputeEnvironmentName sets the ComputeEnvironmentName field's value.
func (UpdateComputeEnvironmentOutput) String ¶
func (s UpdateComputeEnvironmentOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateJobQueueInput ¶
type UpdateJobQueueInput struct { // Details the set of compute environments mapped to a job queue and their order // relative to each other. This is one of the parameters used by the job scheduler // to determine which compute environment runs a given job. Compute environments // must be in the VALID state before you can associate them with a job queue. // All of the compute environments must be either EC2 (EC2 or SPOT) or Fargate // (FARGATE or FARGATE_SPOT). EC2 and Fargate compute environments can't be // mixed. // // All compute environments that are associated with a job queue must share // the same architecture. Batch doesn't support mixing compute environment architecture // types in a single job queue. ComputeEnvironmentOrder []*ComputeEnvironmentOrder `locationName:"computeEnvironmentOrder" type:"list"` // The name or the Amazon Resource Name (ARN) of the job queue. // // JobQueue is a required field JobQueue *string `locationName:"jobQueue" type:"string" required:"true"` // The priority of the job queue. Job queues with a higher priority (or a higher // integer value for the priority parameter) are evaluated first when associated // with the same compute environment. Priority is determined in descending order. // For example, a job queue with a priority value of 10 is given scheduling // preference over a job queue with a priority value of 1. All of the compute // environments must be either EC2 (EC2 or SPOT) or Fargate (FARGATE or FARGATE_SPOT). // EC2 and Fargate compute environments can't be mixed. Priority *int64 `locationName:"priority" type:"integer"` // Amazon Resource Name (ARN) of the fair share scheduling policy. Once a job // queue is created, the fair share scheduling policy can be replaced but not // removed. The format is aws:Partition:batch:Region:Account:scheduling-policy/Name // . For example, aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy. SchedulingPolicyArn *string `locationName:"schedulingPolicyArn" type:"string"` // Describes the queue's ability to accept new jobs. If the job queue state // is ENABLED, it can accept jobs. If the job queue state is DISABLED, new jobs // can't be added to the queue, but jobs already in the queue can finish. State *string `locationName:"state" type:"string" enum:"JQState"` // contains filtered or unexported fields }
Contains the parameters for UpdateJobQueue.
func (UpdateJobQueueInput) GoString ¶
func (s UpdateJobQueueInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateJobQueueInput) SetComputeEnvironmentOrder ¶
func (s *UpdateJobQueueInput) SetComputeEnvironmentOrder(v []*ComputeEnvironmentOrder) *UpdateJobQueueInput
SetComputeEnvironmentOrder sets the ComputeEnvironmentOrder field's value.
func (*UpdateJobQueueInput) SetJobQueue ¶
func (s *UpdateJobQueueInput) SetJobQueue(v string) *UpdateJobQueueInput
SetJobQueue sets the JobQueue field's value.
func (*UpdateJobQueueInput) SetPriority ¶
func (s *UpdateJobQueueInput) SetPriority(v int64) *UpdateJobQueueInput
SetPriority sets the Priority field's value.
func (*UpdateJobQueueInput) SetSchedulingPolicyArn ¶
func (s *UpdateJobQueueInput) SetSchedulingPolicyArn(v string) *UpdateJobQueueInput
SetSchedulingPolicyArn sets the SchedulingPolicyArn field's value.
func (*UpdateJobQueueInput) SetState ¶
func (s *UpdateJobQueueInput) SetState(v string) *UpdateJobQueueInput
SetState sets the State field's value.
func (UpdateJobQueueInput) String ¶
func (s UpdateJobQueueInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateJobQueueInput) Validate ¶
func (s *UpdateJobQueueInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateJobQueueOutput ¶
type UpdateJobQueueOutput struct { // The Amazon Resource Name (ARN) of the job queue. JobQueueArn *string `locationName:"jobQueueArn" type:"string"` // The name of the job queue. JobQueueName *string `locationName:"jobQueueName" type:"string"` // contains filtered or unexported fields }
func (UpdateJobQueueOutput) GoString ¶
func (s UpdateJobQueueOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateJobQueueOutput) SetJobQueueArn ¶
func (s *UpdateJobQueueOutput) SetJobQueueArn(v string) *UpdateJobQueueOutput
SetJobQueueArn sets the JobQueueArn field's value.
func (*UpdateJobQueueOutput) SetJobQueueName ¶
func (s *UpdateJobQueueOutput) SetJobQueueName(v string) *UpdateJobQueueOutput
SetJobQueueName sets the JobQueueName field's value.
func (UpdateJobQueueOutput) String ¶
func (s UpdateJobQueueOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdatePolicy ¶
type UpdatePolicy struct { // Specifies the job timeout (in minutes) when the compute environment infrastructure // is updated. The default value is 30. JobExecutionTimeoutMinutes *int64 `locationName:"jobExecutionTimeoutMinutes" min:"1" type:"long"` // Specifies whether jobs are automatically terminated when the computer environment // infrastructure is updated. The default value is false. TerminateJobsOnUpdate *bool `locationName:"terminateJobsOnUpdate" type:"boolean"` // contains filtered or unexported fields }
Specifies the infrastructure update policy for the compute environment. For more information about infrastructure updates, see Updating compute environments (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the Batch User Guide.
func (UpdatePolicy) GoString ¶
func (s UpdatePolicy) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdatePolicy) SetJobExecutionTimeoutMinutes ¶
func (s *UpdatePolicy) SetJobExecutionTimeoutMinutes(v int64) *UpdatePolicy
SetJobExecutionTimeoutMinutes sets the JobExecutionTimeoutMinutes field's value.
func (*UpdatePolicy) SetTerminateJobsOnUpdate ¶
func (s *UpdatePolicy) SetTerminateJobsOnUpdate(v bool) *UpdatePolicy
SetTerminateJobsOnUpdate sets the TerminateJobsOnUpdate field's value.
func (UpdatePolicy) String ¶
func (s UpdatePolicy) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdatePolicy) Validate ¶
func (s *UpdatePolicy) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateSchedulingPolicyInput ¶
type UpdateSchedulingPolicyInput struct { // The Amazon Resource Name (ARN) of the scheduling policy to update. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` FairsharePolicy *FairsharePolicy `locationName:"fairsharePolicy" type:"structure"` // contains filtered or unexported fields }
Contains the parameters for UpdateSchedulingPolicy.
func (UpdateSchedulingPolicyInput) GoString ¶
func (s UpdateSchedulingPolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateSchedulingPolicyInput) SetArn ¶
func (s *UpdateSchedulingPolicyInput) SetArn(v string) *UpdateSchedulingPolicyInput
SetArn sets the Arn field's value.
func (*UpdateSchedulingPolicyInput) SetFairsharePolicy ¶
func (s *UpdateSchedulingPolicyInput) SetFairsharePolicy(v *FairsharePolicy) *UpdateSchedulingPolicyInput
SetFairsharePolicy sets the FairsharePolicy field's value.
func (UpdateSchedulingPolicyInput) String ¶
func (s UpdateSchedulingPolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateSchedulingPolicyInput) Validate ¶
func (s *UpdateSchedulingPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateSchedulingPolicyOutput ¶
type UpdateSchedulingPolicyOutput struct {
// contains filtered or unexported fields
}
func (UpdateSchedulingPolicyOutput) GoString ¶
func (s UpdateSchedulingPolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (UpdateSchedulingPolicyOutput) String ¶
func (s UpdateSchedulingPolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Volume ¶
type Volume struct { // This parameter is specified when you're using an Amazon Elastic File System // file system for job storage. Jobs that are running on Fargate resources must // specify a platformVersion of at least 1.4.0. EfsVolumeConfiguration *EFSVolumeConfiguration `locationName:"efsVolumeConfiguration" type:"structure"` // The contents of the host parameter determine whether your data volume persists // on the host container instance and where it's stored. If the host parameter // is empty, then the Docker daemon assigns a host path for your data volume. // However, the data isn't guaranteed to persist after the containers that are // associated with it stop running. // // This parameter isn't applicable to jobs that are running on Fargate resources // and shouldn't be provided. Host *Host `locationName:"host" type:"structure"` // The name of the volume. It can be up to 255 characters long. It can contain // uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). // This name is referenced in the sourceVolume parameter of container definition // mountPoints. Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
A data volume that's used in a job's container properties.
func (Volume) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Volume) SetEfsVolumeConfiguration ¶
func (s *Volume) SetEfsVolumeConfiguration(v *EFSVolumeConfiguration) *Volume
SetEfsVolumeConfiguration sets the EfsVolumeConfiguration field's value.
Directories ¶
Path | Synopsis |
---|---|
Package batchiface provides an interface to enable mocking the AWS Batch service client for testing your code.
|
Package batchiface provides an interface to enable mocking the AWS Batch service client for testing your code. |