amazonka-batch 1.6.1 → 2.0
raw patch · 166 files changed
+26147/−6170 lines, 166 filesdep +case-insensitivedep ~amazonka-coredep ~amazonka-testdep ~basesetup-changedPVP ok
version bump matches the API change (PVP)
Dependencies added: case-insensitive
Dependency ranges changed: amazonka-core, amazonka-test, base
API changes (from Hackage documentation)
- Network.AWS.Batch: CESCreating :: CEStatus
- Network.AWS.Batch: CESDeleted :: CEStatus
- Network.AWS.Batch: CESDeleting :: CEStatus
- Network.AWS.Batch: CESInvalid :: CEStatus
- Network.AWS.Batch: CESUpdating :: CEStatus
- Network.AWS.Batch: CESValid :: CEStatus
- Network.AWS.Batch: Container :: JobDefinitionType
- Network.AWS.Batch: Creating :: JQStatus
- Network.AWS.Batch: Deleted :: JQStatus
- Network.AWS.Batch: Deleting :: JQStatus
- Network.AWS.Batch: Disabled :: CEState
- Network.AWS.Batch: EC2 :: CRType
- Network.AWS.Batch: Enabled :: CEState
- Network.AWS.Batch: Failed :: JobStatus
- Network.AWS.Batch: Invalid :: JQStatus
- Network.AWS.Batch: JQSDisabled :: JQState
- Network.AWS.Batch: JQSEnabled :: JQState
- Network.AWS.Batch: Managed :: CEType
- Network.AWS.Batch: NToN :: ArrayJobDependency
- Network.AWS.Batch: Pending :: JobStatus
- Network.AWS.Batch: Runnable :: JobStatus
- Network.AWS.Batch: Running :: JobStatus
- Network.AWS.Batch: Sequential :: ArrayJobDependency
- Network.AWS.Batch: Spot :: CRType
- Network.AWS.Batch: Starting :: JobStatus
- Network.AWS.Batch: Submitted :: JobStatus
- Network.AWS.Batch: Succeeded :: JobStatus
- Network.AWS.Batch: Unmanaged :: CEType
- Network.AWS.Batch: Updating :: JQStatus
- Network.AWS.Batch: Valid :: JQStatus
- Network.AWS.Batch: _ClientException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Batch: _ServerException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Batch: acdContainerInstanceARN :: Lens' AttemptContainerDetail (Maybe Text)
- Network.AWS.Batch: acdExitCode :: Lens' AttemptContainerDetail (Maybe Int)
- Network.AWS.Batch: acdLogStreamName :: Lens' AttemptContainerDetail (Maybe Text)
- Network.AWS.Batch: acdReason :: Lens' AttemptContainerDetail (Maybe Text)
- Network.AWS.Batch: acdTaskARN :: Lens' AttemptContainerDetail (Maybe Text)
- Network.AWS.Batch: adContainer :: Lens' AttemptDetail (Maybe AttemptContainerDetail)
- Network.AWS.Batch: adStartedAt :: Lens' AttemptDetail (Maybe Integer)
- Network.AWS.Batch: adStatusReason :: Lens' AttemptDetail (Maybe Text)
- Network.AWS.Batch: adStoppedAt :: Lens' AttemptDetail (Maybe Integer)
- Network.AWS.Batch: apSize :: Lens' ArrayProperties (Maybe Int)
- Network.AWS.Batch: apdIndex :: Lens' ArrayPropertiesDetail (Maybe Int)
- Network.AWS.Batch: apdSize :: Lens' ArrayPropertiesDetail (Maybe Int)
- Network.AWS.Batch: apdStatusSummary :: Lens' ArrayPropertiesDetail (HashMap Text Int)
- Network.AWS.Batch: apsIndex :: Lens' ArrayPropertiesSummary (Maybe Int)
- Network.AWS.Batch: apsSize :: Lens' ArrayPropertiesSummary (Maybe Int)
- Network.AWS.Batch: arrayProperties :: ArrayProperties
- Network.AWS.Batch: arrayPropertiesDetail :: ArrayPropertiesDetail
- Network.AWS.Batch: arrayPropertiesSummary :: ArrayPropertiesSummary
- Network.AWS.Batch: attemptContainerDetail :: AttemptContainerDetail
- Network.AWS.Batch: attemptDetail :: AttemptDetail
- Network.AWS.Batch: batch :: Service
- Network.AWS.Batch: cdCommand :: Lens' ContainerDetail [Text]
- Network.AWS.Batch: cdContainerInstanceARN :: Lens' ContainerDetail (Maybe Text)
- Network.AWS.Batch: cdEnvironment :: Lens' ContainerDetail [KeyValuePair]
- Network.AWS.Batch: cdExitCode :: Lens' ContainerDetail (Maybe Int)
- Network.AWS.Batch: cdImage :: Lens' ContainerDetail (Maybe Text)
- Network.AWS.Batch: cdJobRoleARN :: Lens' ContainerDetail (Maybe Text)
- Network.AWS.Batch: cdLogStreamName :: Lens' ContainerDetail (Maybe Text)
- Network.AWS.Batch: cdMemory :: Lens' ContainerDetail (Maybe Int)
- Network.AWS.Batch: cdMountPoints :: Lens' ContainerDetail [MountPoint]
- Network.AWS.Batch: cdPrivileged :: Lens' ContainerDetail (Maybe Bool)
- Network.AWS.Batch: cdReadonlyRootFilesystem :: Lens' ContainerDetail (Maybe Bool)
- Network.AWS.Batch: cdReason :: Lens' ContainerDetail (Maybe Text)
- Network.AWS.Batch: cdTaskARN :: Lens' ContainerDetail (Maybe Text)
- Network.AWS.Batch: cdUlimits :: Lens' ContainerDetail [Ulimit]
- Network.AWS.Batch: cdUser :: Lens' ContainerDetail (Maybe Text)
- Network.AWS.Batch: cdVcpus :: Lens' ContainerDetail (Maybe Int)
- Network.AWS.Batch: cdVolumes :: Lens' ContainerDetail [Volume]
- Network.AWS.Batch: cedComputeEnvironmentARN :: Lens' ComputeEnvironmentDetail Text
- Network.AWS.Batch: cedComputeEnvironmentName :: Lens' ComputeEnvironmentDetail Text
- Network.AWS.Batch: cedComputeResources :: Lens' ComputeEnvironmentDetail (Maybe ComputeResource)
- Network.AWS.Batch: cedEcsClusterARN :: Lens' ComputeEnvironmentDetail Text
- Network.AWS.Batch: cedServiceRole :: Lens' ComputeEnvironmentDetail (Maybe Text)
- Network.AWS.Batch: cedState :: Lens' ComputeEnvironmentDetail (Maybe CEState)
- Network.AWS.Batch: cedStatus :: Lens' ComputeEnvironmentDetail (Maybe CEStatus)
- Network.AWS.Batch: cedStatusReason :: Lens' ComputeEnvironmentDetail (Maybe Text)
- Network.AWS.Batch: cedType :: Lens' ComputeEnvironmentDetail (Maybe CEType)
- Network.AWS.Batch: ceoComputeEnvironment :: Lens' ComputeEnvironmentOrder Text
- Network.AWS.Batch: ceoOrder :: Lens' ComputeEnvironmentOrder Int
- Network.AWS.Batch: coCommand :: Lens' ContainerOverrides [Text]
- Network.AWS.Batch: coEnvironment :: Lens' ContainerOverrides [KeyValuePair]
- Network.AWS.Batch: coMemory :: Lens' ContainerOverrides (Maybe Int)
- Network.AWS.Batch: coVcpus :: Lens' ContainerOverrides (Maybe Int)
- Network.AWS.Batch: computeEnvironmentDetail :: Text -> Text -> Text -> ComputeEnvironmentDetail
- Network.AWS.Batch: computeEnvironmentOrder :: Int -> Text -> ComputeEnvironmentOrder
- Network.AWS.Batch: computeResource :: CRType -> Int -> Int -> Text -> ComputeResource
- Network.AWS.Batch: computeResourceUpdate :: ComputeResourceUpdate
- Network.AWS.Batch: containerDetail :: ContainerDetail
- Network.AWS.Batch: containerOverrides :: ContainerOverrides
- Network.AWS.Batch: containerProperties :: Text -> Int -> Int -> ContainerProperties
- Network.AWS.Batch: containerSummary :: ContainerSummary
- Network.AWS.Batch: cpCommand :: Lens' ContainerProperties [Text]
- Network.AWS.Batch: cpEnvironment :: Lens' ContainerProperties [KeyValuePair]
- Network.AWS.Batch: cpImage :: Lens' ContainerProperties Text
- Network.AWS.Batch: cpJobRoleARN :: Lens' ContainerProperties (Maybe Text)
- Network.AWS.Batch: cpMemory :: Lens' ContainerProperties Int
- Network.AWS.Batch: cpMountPoints :: Lens' ContainerProperties [MountPoint]
- Network.AWS.Batch: cpPrivileged :: Lens' ContainerProperties (Maybe Bool)
- Network.AWS.Batch: cpReadonlyRootFilesystem :: Lens' ContainerProperties (Maybe Bool)
- Network.AWS.Batch: cpUlimits :: Lens' ContainerProperties [Ulimit]
- Network.AWS.Batch: cpUser :: Lens' ContainerProperties (Maybe Text)
- Network.AWS.Batch: cpVcpus :: Lens' ContainerProperties Int
- Network.AWS.Batch: cpVolumes :: Lens' ContainerProperties [Volume]
- Network.AWS.Batch: crBidPercentage :: Lens' ComputeResource (Maybe Int)
- Network.AWS.Batch: crDesiredvCPUs :: Lens' ComputeResource (Maybe Int)
- Network.AWS.Batch: crEc2KeyPair :: Lens' ComputeResource (Maybe Text)
- Network.AWS.Batch: crImageId :: Lens' ComputeResource (Maybe Text)
- Network.AWS.Batch: crInstanceRole :: Lens' ComputeResource Text
- Network.AWS.Batch: crInstanceTypes :: Lens' ComputeResource [Text]
- Network.AWS.Batch: crMaxvCPUs :: Lens' ComputeResource Int
- Network.AWS.Batch: crMinvCPUs :: Lens' ComputeResource Int
- Network.AWS.Batch: crSecurityGroupIds :: Lens' ComputeResource [Text]
- Network.AWS.Batch: crSpotIAMFleetRole :: Lens' ComputeResource (Maybe Text)
- Network.AWS.Batch: crSubnets :: Lens' ComputeResource [Text]
- Network.AWS.Batch: crTags :: Lens' ComputeResource (HashMap Text Text)
- Network.AWS.Batch: crType :: Lens' ComputeResource CRType
- Network.AWS.Batch: cruDesiredvCPUs :: Lens' ComputeResourceUpdate (Maybe Int)
- Network.AWS.Batch: cruMaxvCPUs :: Lens' ComputeResourceUpdate (Maybe Int)
- Network.AWS.Batch: cruMinvCPUs :: Lens' ComputeResourceUpdate (Maybe Int)
- Network.AWS.Batch: csExitCode :: Lens' ContainerSummary (Maybe Int)
- Network.AWS.Batch: csReason :: Lens' ContainerSummary (Maybe Text)
- Network.AWS.Batch: data ArrayJobDependency
- Network.AWS.Batch: data ArrayProperties
- Network.AWS.Batch: data ArrayPropertiesDetail
- Network.AWS.Batch: data ArrayPropertiesSummary
- Network.AWS.Batch: data AttemptContainerDetail
- Network.AWS.Batch: data AttemptDetail
- Network.AWS.Batch: data CEState
- Network.AWS.Batch: data CEStatus
- Network.AWS.Batch: data CEType
- Network.AWS.Batch: data CRType
- Network.AWS.Batch: data ComputeEnvironmentDetail
- Network.AWS.Batch: data ComputeEnvironmentOrder
- Network.AWS.Batch: data ComputeResource
- Network.AWS.Batch: data ComputeResourceUpdate
- Network.AWS.Batch: data ContainerDetail
- Network.AWS.Batch: data ContainerOverrides
- Network.AWS.Batch: data ContainerProperties
- Network.AWS.Batch: data ContainerSummary
- Network.AWS.Batch: data Host
- Network.AWS.Batch: data JQState
- Network.AWS.Batch: data JQStatus
- Network.AWS.Batch: data JobDefinition
- Network.AWS.Batch: data JobDefinitionType
- Network.AWS.Batch: data JobDependency
- Network.AWS.Batch: data JobDetail
- Network.AWS.Batch: data JobQueueDetail
- Network.AWS.Batch: data JobStatus
- Network.AWS.Batch: data JobSummary
- Network.AWS.Batch: data JobTimeout
- Network.AWS.Batch: data KeyValuePair
- Network.AWS.Batch: data MountPoint
- Network.AWS.Batch: data RetryStrategy
- Network.AWS.Batch: data Ulimit
- Network.AWS.Batch: data Volume
- Network.AWS.Batch: hSourcePath :: Lens' Host (Maybe Text)
- Network.AWS.Batch: host :: Host
- Network.AWS.Batch: jJobId :: Lens' JobDependency (Maybe Text)
- Network.AWS.Batch: jType :: Lens' JobDependency (Maybe ArrayJobDependency)
- Network.AWS.Batch: jdArrayProperties :: Lens' JobDetail (Maybe ArrayPropertiesDetail)
- Network.AWS.Batch: jdAttempts :: Lens' JobDetail [AttemptDetail]
- Network.AWS.Batch: jdContainer :: Lens' JobDetail (Maybe ContainerDetail)
- Network.AWS.Batch: jdCreatedAt :: Lens' JobDetail (Maybe Integer)
- Network.AWS.Batch: jdDependsOn :: Lens' JobDetail [JobDependency]
- Network.AWS.Batch: jdJobDefinition :: Lens' JobDetail Text
- Network.AWS.Batch: jdJobId :: Lens' JobDetail Text
- Network.AWS.Batch: jdJobName :: Lens' JobDetail Text
- Network.AWS.Batch: jdJobQueue :: Lens' JobDetail Text
- Network.AWS.Batch: jdParameters :: Lens' JobDetail (HashMap Text Text)
- Network.AWS.Batch: jdRetryStrategy :: Lens' JobDetail (Maybe RetryStrategy)
- Network.AWS.Batch: jdStartedAt :: Lens' JobDetail Integer
- Network.AWS.Batch: jdStatus :: Lens' JobDetail JobStatus
- Network.AWS.Batch: jdStatusReason :: Lens' JobDetail (Maybe Text)
- Network.AWS.Batch: jdStoppedAt :: Lens' JobDetail (Maybe Integer)
- Network.AWS.Batch: jdTimeout :: Lens' JobDetail (Maybe JobTimeout)
- Network.AWS.Batch: jddContainerProperties :: Lens' JobDefinition (Maybe ContainerProperties)
- Network.AWS.Batch: jddJobDefinitionARN :: Lens' JobDefinition Text
- Network.AWS.Batch: jddJobDefinitionName :: Lens' JobDefinition Text
- Network.AWS.Batch: jddParameters :: Lens' JobDefinition (HashMap Text Text)
- Network.AWS.Batch: jddRetryStrategy :: Lens' JobDefinition (Maybe RetryStrategy)
- Network.AWS.Batch: jddRevision :: Lens' JobDefinition Int
- Network.AWS.Batch: jddStatus :: Lens' JobDefinition (Maybe Text)
- Network.AWS.Batch: jddTimeout :: Lens' JobDefinition (Maybe JobTimeout)
- Network.AWS.Batch: jddType :: Lens' JobDefinition Text
- Network.AWS.Batch: jobDefinition :: Text -> Text -> Int -> Text -> JobDefinition
- Network.AWS.Batch: jobDependency :: JobDependency
- Network.AWS.Batch: jobDetail :: Text -> Text -> Text -> JobStatus -> Integer -> Text -> JobDetail
- Network.AWS.Batch: jobQueueDetail :: Text -> Text -> JQState -> Int -> JobQueueDetail
- Network.AWS.Batch: jobSummary :: Text -> Text -> JobSummary
- Network.AWS.Batch: jobTimeout :: JobTimeout
- Network.AWS.Batch: jqdComputeEnvironmentOrder :: Lens' JobQueueDetail [ComputeEnvironmentOrder]
- Network.AWS.Batch: jqdJobQueueARN :: Lens' JobQueueDetail Text
- Network.AWS.Batch: jqdJobQueueName :: Lens' JobQueueDetail Text
- Network.AWS.Batch: jqdPriority :: Lens' JobQueueDetail Int
- Network.AWS.Batch: jqdState :: Lens' JobQueueDetail JQState
- Network.AWS.Batch: jqdStatus :: Lens' JobQueueDetail (Maybe JQStatus)
- Network.AWS.Batch: jqdStatusReason :: Lens' JobQueueDetail (Maybe Text)
- Network.AWS.Batch: jsArrayProperties :: Lens' JobSummary (Maybe ArrayPropertiesSummary)
- Network.AWS.Batch: jsContainer :: Lens' JobSummary (Maybe ContainerSummary)
- Network.AWS.Batch: jsCreatedAt :: Lens' JobSummary (Maybe Integer)
- Network.AWS.Batch: jsJobId :: Lens' JobSummary Text
- Network.AWS.Batch: jsJobName :: Lens' JobSummary Text
- Network.AWS.Batch: jsStartedAt :: Lens' JobSummary (Maybe Integer)
- Network.AWS.Batch: jsStatus :: Lens' JobSummary (Maybe JobStatus)
- Network.AWS.Batch: jsStatusReason :: Lens' JobSummary (Maybe Text)
- Network.AWS.Batch: jsStoppedAt :: Lens' JobSummary (Maybe Integer)
- Network.AWS.Batch: jtAttemptDurationSeconds :: Lens' JobTimeout (Maybe Int)
- Network.AWS.Batch: keyValuePair :: KeyValuePair
- Network.AWS.Batch: kvpName :: Lens' KeyValuePair (Maybe Text)
- Network.AWS.Batch: kvpValue :: Lens' KeyValuePair (Maybe Text)
- Network.AWS.Batch: mountPoint :: MountPoint
- Network.AWS.Batch: mpContainerPath :: Lens' MountPoint (Maybe Text)
- Network.AWS.Batch: mpReadOnly :: Lens' MountPoint (Maybe Bool)
- Network.AWS.Batch: mpSourceVolume :: Lens' MountPoint (Maybe Text)
- Network.AWS.Batch: retryStrategy :: RetryStrategy
- Network.AWS.Batch: rsAttempts :: Lens' RetryStrategy (Maybe Int)
- Network.AWS.Batch: uHardLimit :: Lens' Ulimit Int
- Network.AWS.Batch: uName :: Lens' Ulimit Text
- Network.AWS.Batch: uSoftLimit :: Lens' Ulimit Int
- Network.AWS.Batch: ulimit :: Int -> Text -> Int -> Ulimit
- Network.AWS.Batch: vHost :: Lens' Volume (Maybe Host)
- Network.AWS.Batch: vName :: Lens' Volume (Maybe Text)
- Network.AWS.Batch: volume :: Volume
- Network.AWS.Batch.CancelJob: cancelJob :: Text -> Text -> CancelJob
- Network.AWS.Batch.CancelJob: cancelJobResponse :: Int -> CancelJobResponse
- Network.AWS.Batch.CancelJob: cjJobId :: Lens' CancelJob Text
- Network.AWS.Batch.CancelJob: cjReason :: Lens' CancelJob Text
- Network.AWS.Batch.CancelJob: cjrsResponseStatus :: Lens' CancelJobResponse Int
- Network.AWS.Batch.CancelJob: data CancelJob
- Network.AWS.Batch.CancelJob: data CancelJobResponse
- Network.AWS.Batch.CancelJob: instance Control.DeepSeq.NFData Network.AWS.Batch.CancelJob.CancelJob
- Network.AWS.Batch.CancelJob: instance Control.DeepSeq.NFData Network.AWS.Batch.CancelJob.CancelJobResponse
- Network.AWS.Batch.CancelJob: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Batch.CancelJob.CancelJob
- Network.AWS.Batch.CancelJob: instance Data.Data.Data Network.AWS.Batch.CancelJob.CancelJob
- Network.AWS.Batch.CancelJob: instance Data.Data.Data Network.AWS.Batch.CancelJob.CancelJobResponse
- Network.AWS.Batch.CancelJob: instance Data.Hashable.Class.Hashable Network.AWS.Batch.CancelJob.CancelJob
- Network.AWS.Batch.CancelJob: instance GHC.Classes.Eq Network.AWS.Batch.CancelJob.CancelJob
- Network.AWS.Batch.CancelJob: instance GHC.Classes.Eq Network.AWS.Batch.CancelJob.CancelJobResponse
- Network.AWS.Batch.CancelJob: instance GHC.Generics.Generic Network.AWS.Batch.CancelJob.CancelJob
- Network.AWS.Batch.CancelJob: instance GHC.Generics.Generic Network.AWS.Batch.CancelJob.CancelJobResponse
- Network.AWS.Batch.CancelJob: instance GHC.Read.Read Network.AWS.Batch.CancelJob.CancelJob
- Network.AWS.Batch.CancelJob: instance GHC.Read.Read Network.AWS.Batch.CancelJob.CancelJobResponse
- Network.AWS.Batch.CancelJob: instance GHC.Show.Show Network.AWS.Batch.CancelJob.CancelJob
- Network.AWS.Batch.CancelJob: instance GHC.Show.Show Network.AWS.Batch.CancelJob.CancelJobResponse
- Network.AWS.Batch.CancelJob: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Batch.CancelJob.CancelJob
- Network.AWS.Batch.CancelJob: instance Network.AWS.Data.Path.ToPath Network.AWS.Batch.CancelJob.CancelJob
- Network.AWS.Batch.CancelJob: instance Network.AWS.Data.Query.ToQuery Network.AWS.Batch.CancelJob.CancelJob
- Network.AWS.Batch.CancelJob: instance Network.AWS.Types.AWSRequest Network.AWS.Batch.CancelJob.CancelJob
- Network.AWS.Batch.CreateComputeEnvironment: cceComputeEnvironmentName :: Lens' CreateComputeEnvironment Text
- Network.AWS.Batch.CreateComputeEnvironment: cceComputeResources :: Lens' CreateComputeEnvironment (Maybe ComputeResource)
- Network.AWS.Batch.CreateComputeEnvironment: cceServiceRole :: Lens' CreateComputeEnvironment Text
- Network.AWS.Batch.CreateComputeEnvironment: cceState :: Lens' CreateComputeEnvironment (Maybe CEState)
- Network.AWS.Batch.CreateComputeEnvironment: cceType :: Lens' CreateComputeEnvironment CEType
- Network.AWS.Batch.CreateComputeEnvironment: ccersComputeEnvironmentARN :: Lens' CreateComputeEnvironmentResponse (Maybe Text)
- Network.AWS.Batch.CreateComputeEnvironment: ccersComputeEnvironmentName :: Lens' CreateComputeEnvironmentResponse (Maybe Text)
- Network.AWS.Batch.CreateComputeEnvironment: ccersResponseStatus :: Lens' CreateComputeEnvironmentResponse Int
- Network.AWS.Batch.CreateComputeEnvironment: createComputeEnvironment :: Text -> CEType -> Text -> CreateComputeEnvironment
- Network.AWS.Batch.CreateComputeEnvironment: createComputeEnvironmentResponse :: Int -> CreateComputeEnvironmentResponse
- Network.AWS.Batch.CreateComputeEnvironment: data CreateComputeEnvironment
- Network.AWS.Batch.CreateComputeEnvironment: data CreateComputeEnvironmentResponse
- Network.AWS.Batch.CreateComputeEnvironment: instance Control.DeepSeq.NFData Network.AWS.Batch.CreateComputeEnvironment.CreateComputeEnvironment
- Network.AWS.Batch.CreateComputeEnvironment: instance Control.DeepSeq.NFData Network.AWS.Batch.CreateComputeEnvironment.CreateComputeEnvironmentResponse
- Network.AWS.Batch.CreateComputeEnvironment: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Batch.CreateComputeEnvironment.CreateComputeEnvironment
- Network.AWS.Batch.CreateComputeEnvironment: instance Data.Data.Data Network.AWS.Batch.CreateComputeEnvironment.CreateComputeEnvironment
- Network.AWS.Batch.CreateComputeEnvironment: instance Data.Data.Data Network.AWS.Batch.CreateComputeEnvironment.CreateComputeEnvironmentResponse
- Network.AWS.Batch.CreateComputeEnvironment: instance Data.Hashable.Class.Hashable Network.AWS.Batch.CreateComputeEnvironment.CreateComputeEnvironment
- Network.AWS.Batch.CreateComputeEnvironment: instance GHC.Classes.Eq Network.AWS.Batch.CreateComputeEnvironment.CreateComputeEnvironment
- Network.AWS.Batch.CreateComputeEnvironment: instance GHC.Classes.Eq Network.AWS.Batch.CreateComputeEnvironment.CreateComputeEnvironmentResponse
- Network.AWS.Batch.CreateComputeEnvironment: instance GHC.Generics.Generic Network.AWS.Batch.CreateComputeEnvironment.CreateComputeEnvironment
- Network.AWS.Batch.CreateComputeEnvironment: instance GHC.Generics.Generic Network.AWS.Batch.CreateComputeEnvironment.CreateComputeEnvironmentResponse
- Network.AWS.Batch.CreateComputeEnvironment: instance GHC.Read.Read Network.AWS.Batch.CreateComputeEnvironment.CreateComputeEnvironment
- Network.AWS.Batch.CreateComputeEnvironment: instance GHC.Read.Read Network.AWS.Batch.CreateComputeEnvironment.CreateComputeEnvironmentResponse
- Network.AWS.Batch.CreateComputeEnvironment: instance GHC.Show.Show Network.AWS.Batch.CreateComputeEnvironment.CreateComputeEnvironment
- Network.AWS.Batch.CreateComputeEnvironment: instance GHC.Show.Show Network.AWS.Batch.CreateComputeEnvironment.CreateComputeEnvironmentResponse
- Network.AWS.Batch.CreateComputeEnvironment: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Batch.CreateComputeEnvironment.CreateComputeEnvironment
- Network.AWS.Batch.CreateComputeEnvironment: instance Network.AWS.Data.Path.ToPath Network.AWS.Batch.CreateComputeEnvironment.CreateComputeEnvironment
- Network.AWS.Batch.CreateComputeEnvironment: instance Network.AWS.Data.Query.ToQuery Network.AWS.Batch.CreateComputeEnvironment.CreateComputeEnvironment
- Network.AWS.Batch.CreateComputeEnvironment: instance Network.AWS.Types.AWSRequest Network.AWS.Batch.CreateComputeEnvironment.CreateComputeEnvironment
- Network.AWS.Batch.CreateJobQueue: cjqComputeEnvironmentOrder :: Lens' CreateJobQueue [ComputeEnvironmentOrder]
- Network.AWS.Batch.CreateJobQueue: cjqJobQueueName :: Lens' CreateJobQueue Text
- Network.AWS.Batch.CreateJobQueue: cjqPriority :: Lens' CreateJobQueue Int
- Network.AWS.Batch.CreateJobQueue: cjqState :: Lens' CreateJobQueue (Maybe JQState)
- Network.AWS.Batch.CreateJobQueue: cjqrsJobQueueARN :: Lens' CreateJobQueueResponse Text
- Network.AWS.Batch.CreateJobQueue: cjqrsJobQueueName :: Lens' CreateJobQueueResponse Text
- Network.AWS.Batch.CreateJobQueue: cjqrsResponseStatus :: Lens' CreateJobQueueResponse Int
- Network.AWS.Batch.CreateJobQueue: createJobQueue :: Text -> Int -> CreateJobQueue
- Network.AWS.Batch.CreateJobQueue: createJobQueueResponse :: Int -> Text -> Text -> CreateJobQueueResponse
- Network.AWS.Batch.CreateJobQueue: data CreateJobQueue
- Network.AWS.Batch.CreateJobQueue: data CreateJobQueueResponse
- Network.AWS.Batch.CreateJobQueue: instance Control.DeepSeq.NFData Network.AWS.Batch.CreateJobQueue.CreateJobQueue
- Network.AWS.Batch.CreateJobQueue: instance Control.DeepSeq.NFData Network.AWS.Batch.CreateJobQueue.CreateJobQueueResponse
- Network.AWS.Batch.CreateJobQueue: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Batch.CreateJobQueue.CreateJobQueue
- Network.AWS.Batch.CreateJobQueue: instance Data.Data.Data Network.AWS.Batch.CreateJobQueue.CreateJobQueue
- Network.AWS.Batch.CreateJobQueue: instance Data.Data.Data Network.AWS.Batch.CreateJobQueue.CreateJobQueueResponse
- Network.AWS.Batch.CreateJobQueue: instance Data.Hashable.Class.Hashable Network.AWS.Batch.CreateJobQueue.CreateJobQueue
- Network.AWS.Batch.CreateJobQueue: instance GHC.Classes.Eq Network.AWS.Batch.CreateJobQueue.CreateJobQueue
- Network.AWS.Batch.CreateJobQueue: instance GHC.Classes.Eq Network.AWS.Batch.CreateJobQueue.CreateJobQueueResponse
- Network.AWS.Batch.CreateJobQueue: instance GHC.Generics.Generic Network.AWS.Batch.CreateJobQueue.CreateJobQueue
- Network.AWS.Batch.CreateJobQueue: instance GHC.Generics.Generic Network.AWS.Batch.CreateJobQueue.CreateJobQueueResponse
- Network.AWS.Batch.CreateJobQueue: instance GHC.Read.Read Network.AWS.Batch.CreateJobQueue.CreateJobQueue
- Network.AWS.Batch.CreateJobQueue: instance GHC.Read.Read Network.AWS.Batch.CreateJobQueue.CreateJobQueueResponse
- Network.AWS.Batch.CreateJobQueue: instance GHC.Show.Show Network.AWS.Batch.CreateJobQueue.CreateJobQueue
- Network.AWS.Batch.CreateJobQueue: instance GHC.Show.Show Network.AWS.Batch.CreateJobQueue.CreateJobQueueResponse
- Network.AWS.Batch.CreateJobQueue: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Batch.CreateJobQueue.CreateJobQueue
- Network.AWS.Batch.CreateJobQueue: instance Network.AWS.Data.Path.ToPath Network.AWS.Batch.CreateJobQueue.CreateJobQueue
- Network.AWS.Batch.CreateJobQueue: instance Network.AWS.Data.Query.ToQuery Network.AWS.Batch.CreateJobQueue.CreateJobQueue
- Network.AWS.Batch.CreateJobQueue: instance Network.AWS.Types.AWSRequest Network.AWS.Batch.CreateJobQueue.CreateJobQueue
- Network.AWS.Batch.DeleteComputeEnvironment: data DeleteComputeEnvironment
- Network.AWS.Batch.DeleteComputeEnvironment: data DeleteComputeEnvironmentResponse
- Network.AWS.Batch.DeleteComputeEnvironment: dceComputeEnvironment :: Lens' DeleteComputeEnvironment Text
- Network.AWS.Batch.DeleteComputeEnvironment: dcersResponseStatus :: Lens' DeleteComputeEnvironmentResponse Int
- Network.AWS.Batch.DeleteComputeEnvironment: deleteComputeEnvironment :: Text -> DeleteComputeEnvironment
- Network.AWS.Batch.DeleteComputeEnvironment: deleteComputeEnvironmentResponse :: Int -> DeleteComputeEnvironmentResponse
- Network.AWS.Batch.DeleteComputeEnvironment: instance Control.DeepSeq.NFData Network.AWS.Batch.DeleteComputeEnvironment.DeleteComputeEnvironment
- Network.AWS.Batch.DeleteComputeEnvironment: instance Control.DeepSeq.NFData Network.AWS.Batch.DeleteComputeEnvironment.DeleteComputeEnvironmentResponse
- Network.AWS.Batch.DeleteComputeEnvironment: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Batch.DeleteComputeEnvironment.DeleteComputeEnvironment
- Network.AWS.Batch.DeleteComputeEnvironment: instance Data.Data.Data Network.AWS.Batch.DeleteComputeEnvironment.DeleteComputeEnvironment
- Network.AWS.Batch.DeleteComputeEnvironment: instance Data.Data.Data Network.AWS.Batch.DeleteComputeEnvironment.DeleteComputeEnvironmentResponse
- Network.AWS.Batch.DeleteComputeEnvironment: instance Data.Hashable.Class.Hashable Network.AWS.Batch.DeleteComputeEnvironment.DeleteComputeEnvironment
- Network.AWS.Batch.DeleteComputeEnvironment: instance GHC.Classes.Eq Network.AWS.Batch.DeleteComputeEnvironment.DeleteComputeEnvironment
- Network.AWS.Batch.DeleteComputeEnvironment: instance GHC.Classes.Eq Network.AWS.Batch.DeleteComputeEnvironment.DeleteComputeEnvironmentResponse
- Network.AWS.Batch.DeleteComputeEnvironment: instance GHC.Generics.Generic Network.AWS.Batch.DeleteComputeEnvironment.DeleteComputeEnvironment
- Network.AWS.Batch.DeleteComputeEnvironment: instance GHC.Generics.Generic Network.AWS.Batch.DeleteComputeEnvironment.DeleteComputeEnvironmentResponse
- Network.AWS.Batch.DeleteComputeEnvironment: instance GHC.Read.Read Network.AWS.Batch.DeleteComputeEnvironment.DeleteComputeEnvironment
- Network.AWS.Batch.DeleteComputeEnvironment: instance GHC.Read.Read Network.AWS.Batch.DeleteComputeEnvironment.DeleteComputeEnvironmentResponse
- Network.AWS.Batch.DeleteComputeEnvironment: instance GHC.Show.Show Network.AWS.Batch.DeleteComputeEnvironment.DeleteComputeEnvironment
- Network.AWS.Batch.DeleteComputeEnvironment: instance GHC.Show.Show Network.AWS.Batch.DeleteComputeEnvironment.DeleteComputeEnvironmentResponse
- Network.AWS.Batch.DeleteComputeEnvironment: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Batch.DeleteComputeEnvironment.DeleteComputeEnvironment
- Network.AWS.Batch.DeleteComputeEnvironment: instance Network.AWS.Data.Path.ToPath Network.AWS.Batch.DeleteComputeEnvironment.DeleteComputeEnvironment
- Network.AWS.Batch.DeleteComputeEnvironment: instance Network.AWS.Data.Query.ToQuery Network.AWS.Batch.DeleteComputeEnvironment.DeleteComputeEnvironment
- Network.AWS.Batch.DeleteComputeEnvironment: instance Network.AWS.Types.AWSRequest Network.AWS.Batch.DeleteComputeEnvironment.DeleteComputeEnvironment
- Network.AWS.Batch.DeleteJobQueue: data DeleteJobQueue
- Network.AWS.Batch.DeleteJobQueue: data DeleteJobQueueResponse
- Network.AWS.Batch.DeleteJobQueue: deleteJobQueue :: Text -> DeleteJobQueue
- Network.AWS.Batch.DeleteJobQueue: deleteJobQueueResponse :: Int -> DeleteJobQueueResponse
- Network.AWS.Batch.DeleteJobQueue: djqJobQueue :: Lens' DeleteJobQueue Text
- Network.AWS.Batch.DeleteJobQueue: djqrsResponseStatus :: Lens' DeleteJobQueueResponse Int
- Network.AWS.Batch.DeleteJobQueue: instance Control.DeepSeq.NFData Network.AWS.Batch.DeleteJobQueue.DeleteJobQueue
- Network.AWS.Batch.DeleteJobQueue: instance Control.DeepSeq.NFData Network.AWS.Batch.DeleteJobQueue.DeleteJobQueueResponse
- Network.AWS.Batch.DeleteJobQueue: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Batch.DeleteJobQueue.DeleteJobQueue
- Network.AWS.Batch.DeleteJobQueue: instance Data.Data.Data Network.AWS.Batch.DeleteJobQueue.DeleteJobQueue
- Network.AWS.Batch.DeleteJobQueue: instance Data.Data.Data Network.AWS.Batch.DeleteJobQueue.DeleteJobQueueResponse
- Network.AWS.Batch.DeleteJobQueue: instance Data.Hashable.Class.Hashable Network.AWS.Batch.DeleteJobQueue.DeleteJobQueue
- Network.AWS.Batch.DeleteJobQueue: instance GHC.Classes.Eq Network.AWS.Batch.DeleteJobQueue.DeleteJobQueue
- Network.AWS.Batch.DeleteJobQueue: instance GHC.Classes.Eq Network.AWS.Batch.DeleteJobQueue.DeleteJobQueueResponse
- Network.AWS.Batch.DeleteJobQueue: instance GHC.Generics.Generic Network.AWS.Batch.DeleteJobQueue.DeleteJobQueue
- Network.AWS.Batch.DeleteJobQueue: instance GHC.Generics.Generic Network.AWS.Batch.DeleteJobQueue.DeleteJobQueueResponse
- Network.AWS.Batch.DeleteJobQueue: instance GHC.Read.Read Network.AWS.Batch.DeleteJobQueue.DeleteJobQueue
- Network.AWS.Batch.DeleteJobQueue: instance GHC.Read.Read Network.AWS.Batch.DeleteJobQueue.DeleteJobQueueResponse
- Network.AWS.Batch.DeleteJobQueue: instance GHC.Show.Show Network.AWS.Batch.DeleteJobQueue.DeleteJobQueue
- Network.AWS.Batch.DeleteJobQueue: instance GHC.Show.Show Network.AWS.Batch.DeleteJobQueue.DeleteJobQueueResponse
- Network.AWS.Batch.DeleteJobQueue: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Batch.DeleteJobQueue.DeleteJobQueue
- Network.AWS.Batch.DeleteJobQueue: instance Network.AWS.Data.Path.ToPath Network.AWS.Batch.DeleteJobQueue.DeleteJobQueue
- Network.AWS.Batch.DeleteJobQueue: instance Network.AWS.Data.Query.ToQuery Network.AWS.Batch.DeleteJobQueue.DeleteJobQueue
- Network.AWS.Batch.DeleteJobQueue: instance Network.AWS.Types.AWSRequest Network.AWS.Batch.DeleteJobQueue.DeleteJobQueue
- Network.AWS.Batch.DeregisterJobDefinition: data DeregisterJobDefinition
- Network.AWS.Batch.DeregisterJobDefinition: data DeregisterJobDefinitionResponse
- Network.AWS.Batch.DeregisterJobDefinition: deregisterJobDefinition :: Text -> DeregisterJobDefinition
- Network.AWS.Batch.DeregisterJobDefinition: deregisterJobDefinitionResponse :: Int -> DeregisterJobDefinitionResponse
- Network.AWS.Batch.DeregisterJobDefinition: derrsResponseStatus :: Lens' DeregisterJobDefinitionResponse Int
- Network.AWS.Batch.DeregisterJobDefinition: djdJobDefinition :: Lens' DeregisterJobDefinition Text
- Network.AWS.Batch.DeregisterJobDefinition: instance Control.DeepSeq.NFData Network.AWS.Batch.DeregisterJobDefinition.DeregisterJobDefinition
- Network.AWS.Batch.DeregisterJobDefinition: instance Control.DeepSeq.NFData Network.AWS.Batch.DeregisterJobDefinition.DeregisterJobDefinitionResponse
- Network.AWS.Batch.DeregisterJobDefinition: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Batch.DeregisterJobDefinition.DeregisterJobDefinition
- Network.AWS.Batch.DeregisterJobDefinition: instance Data.Data.Data Network.AWS.Batch.DeregisterJobDefinition.DeregisterJobDefinition
- Network.AWS.Batch.DeregisterJobDefinition: instance Data.Data.Data Network.AWS.Batch.DeregisterJobDefinition.DeregisterJobDefinitionResponse
- Network.AWS.Batch.DeregisterJobDefinition: instance Data.Hashable.Class.Hashable Network.AWS.Batch.DeregisterJobDefinition.DeregisterJobDefinition
- Network.AWS.Batch.DeregisterJobDefinition: instance GHC.Classes.Eq Network.AWS.Batch.DeregisterJobDefinition.DeregisterJobDefinition
- Network.AWS.Batch.DeregisterJobDefinition: instance GHC.Classes.Eq Network.AWS.Batch.DeregisterJobDefinition.DeregisterJobDefinitionResponse
- Network.AWS.Batch.DeregisterJobDefinition: instance GHC.Generics.Generic Network.AWS.Batch.DeregisterJobDefinition.DeregisterJobDefinition
- Network.AWS.Batch.DeregisterJobDefinition: instance GHC.Generics.Generic Network.AWS.Batch.DeregisterJobDefinition.DeregisterJobDefinitionResponse
- Network.AWS.Batch.DeregisterJobDefinition: instance GHC.Read.Read Network.AWS.Batch.DeregisterJobDefinition.DeregisterJobDefinition
- Network.AWS.Batch.DeregisterJobDefinition: instance GHC.Read.Read Network.AWS.Batch.DeregisterJobDefinition.DeregisterJobDefinitionResponse
- Network.AWS.Batch.DeregisterJobDefinition: instance GHC.Show.Show Network.AWS.Batch.DeregisterJobDefinition.DeregisterJobDefinition
- Network.AWS.Batch.DeregisterJobDefinition: instance GHC.Show.Show Network.AWS.Batch.DeregisterJobDefinition.DeregisterJobDefinitionResponse
- Network.AWS.Batch.DeregisterJobDefinition: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Batch.DeregisterJobDefinition.DeregisterJobDefinition
- Network.AWS.Batch.DeregisterJobDefinition: instance Network.AWS.Data.Path.ToPath Network.AWS.Batch.DeregisterJobDefinition.DeregisterJobDefinition
- Network.AWS.Batch.DeregisterJobDefinition: instance Network.AWS.Data.Query.ToQuery Network.AWS.Batch.DeregisterJobDefinition.DeregisterJobDefinition
- Network.AWS.Batch.DeregisterJobDefinition: instance Network.AWS.Types.AWSRequest Network.AWS.Batch.DeregisterJobDefinition.DeregisterJobDefinition
- Network.AWS.Batch.DescribeComputeEnvironments: data DescribeComputeEnvironments
- Network.AWS.Batch.DescribeComputeEnvironments: data DescribeComputeEnvironmentsResponse
- Network.AWS.Batch.DescribeComputeEnvironments: dceComputeEnvironments :: Lens' DescribeComputeEnvironments [Text]
- Network.AWS.Batch.DescribeComputeEnvironments: dceMaxResults :: Lens' DescribeComputeEnvironments (Maybe Int)
- Network.AWS.Batch.DescribeComputeEnvironments: dceNextToken :: Lens' DescribeComputeEnvironments (Maybe Text)
- Network.AWS.Batch.DescribeComputeEnvironments: describeComputeEnvironments :: DescribeComputeEnvironments
- Network.AWS.Batch.DescribeComputeEnvironments: describeComputeEnvironmentsResponse :: Int -> DescribeComputeEnvironmentsResponse
- Network.AWS.Batch.DescribeComputeEnvironments: drsComputeEnvironments :: Lens' DescribeComputeEnvironmentsResponse [ComputeEnvironmentDetail]
- Network.AWS.Batch.DescribeComputeEnvironments: drsNextToken :: Lens' DescribeComputeEnvironmentsResponse (Maybe Text)
- Network.AWS.Batch.DescribeComputeEnvironments: drsResponseStatus :: Lens' DescribeComputeEnvironmentsResponse Int
- Network.AWS.Batch.DescribeComputeEnvironments: instance Control.DeepSeq.NFData Network.AWS.Batch.DescribeComputeEnvironments.DescribeComputeEnvironments
- Network.AWS.Batch.DescribeComputeEnvironments: instance Control.DeepSeq.NFData Network.AWS.Batch.DescribeComputeEnvironments.DescribeComputeEnvironmentsResponse
- Network.AWS.Batch.DescribeComputeEnvironments: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Batch.DescribeComputeEnvironments.DescribeComputeEnvironments
- Network.AWS.Batch.DescribeComputeEnvironments: instance Data.Data.Data Network.AWS.Batch.DescribeComputeEnvironments.DescribeComputeEnvironments
- Network.AWS.Batch.DescribeComputeEnvironments: instance Data.Data.Data Network.AWS.Batch.DescribeComputeEnvironments.DescribeComputeEnvironmentsResponse
- Network.AWS.Batch.DescribeComputeEnvironments: instance Data.Hashable.Class.Hashable Network.AWS.Batch.DescribeComputeEnvironments.DescribeComputeEnvironments
- Network.AWS.Batch.DescribeComputeEnvironments: instance GHC.Classes.Eq Network.AWS.Batch.DescribeComputeEnvironments.DescribeComputeEnvironments
- Network.AWS.Batch.DescribeComputeEnvironments: instance GHC.Classes.Eq Network.AWS.Batch.DescribeComputeEnvironments.DescribeComputeEnvironmentsResponse
- Network.AWS.Batch.DescribeComputeEnvironments: instance GHC.Generics.Generic Network.AWS.Batch.DescribeComputeEnvironments.DescribeComputeEnvironments
- Network.AWS.Batch.DescribeComputeEnvironments: instance GHC.Generics.Generic Network.AWS.Batch.DescribeComputeEnvironments.DescribeComputeEnvironmentsResponse
- Network.AWS.Batch.DescribeComputeEnvironments: instance GHC.Read.Read Network.AWS.Batch.DescribeComputeEnvironments.DescribeComputeEnvironments
- Network.AWS.Batch.DescribeComputeEnvironments: instance GHC.Read.Read Network.AWS.Batch.DescribeComputeEnvironments.DescribeComputeEnvironmentsResponse
- Network.AWS.Batch.DescribeComputeEnvironments: instance GHC.Show.Show Network.AWS.Batch.DescribeComputeEnvironments.DescribeComputeEnvironments
- Network.AWS.Batch.DescribeComputeEnvironments: instance GHC.Show.Show Network.AWS.Batch.DescribeComputeEnvironments.DescribeComputeEnvironmentsResponse
- Network.AWS.Batch.DescribeComputeEnvironments: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Batch.DescribeComputeEnvironments.DescribeComputeEnvironments
- Network.AWS.Batch.DescribeComputeEnvironments: instance Network.AWS.Data.Path.ToPath Network.AWS.Batch.DescribeComputeEnvironments.DescribeComputeEnvironments
- Network.AWS.Batch.DescribeComputeEnvironments: instance Network.AWS.Data.Query.ToQuery Network.AWS.Batch.DescribeComputeEnvironments.DescribeComputeEnvironments
- Network.AWS.Batch.DescribeComputeEnvironments: instance Network.AWS.Types.AWSRequest Network.AWS.Batch.DescribeComputeEnvironments.DescribeComputeEnvironments
- Network.AWS.Batch.DescribeJobDefinitions: data DescribeJobDefinitions
- Network.AWS.Batch.DescribeJobDefinitions: data DescribeJobDefinitionsResponse
- Network.AWS.Batch.DescribeJobDefinitions: describeJobDefinitions :: DescribeJobDefinitions
- Network.AWS.Batch.DescribeJobDefinitions: describeJobDefinitionsResponse :: Int -> DescribeJobDefinitionsResponse
- Network.AWS.Batch.DescribeJobDefinitions: djdJobDefinitionName :: Lens' DescribeJobDefinitions (Maybe Text)
- Network.AWS.Batch.DescribeJobDefinitions: djdJobDefinitions :: Lens' DescribeJobDefinitions [Text]
- Network.AWS.Batch.DescribeJobDefinitions: djdMaxResults :: Lens' DescribeJobDefinitions (Maybe Int)
- Network.AWS.Batch.DescribeJobDefinitions: djdNextToken :: Lens' DescribeJobDefinitions (Maybe Text)
- Network.AWS.Batch.DescribeJobDefinitions: djdStatus :: Lens' DescribeJobDefinitions (Maybe Text)
- Network.AWS.Batch.DescribeJobDefinitions: djdrsJobDefinitions :: Lens' DescribeJobDefinitionsResponse [JobDefinition]
- Network.AWS.Batch.DescribeJobDefinitions: djdrsNextToken :: Lens' DescribeJobDefinitionsResponse (Maybe Text)
- Network.AWS.Batch.DescribeJobDefinitions: djdrsResponseStatus :: Lens' DescribeJobDefinitionsResponse Int
- Network.AWS.Batch.DescribeJobDefinitions: instance Control.DeepSeq.NFData Network.AWS.Batch.DescribeJobDefinitions.DescribeJobDefinitions
- Network.AWS.Batch.DescribeJobDefinitions: instance Control.DeepSeq.NFData Network.AWS.Batch.DescribeJobDefinitions.DescribeJobDefinitionsResponse
- Network.AWS.Batch.DescribeJobDefinitions: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Batch.DescribeJobDefinitions.DescribeJobDefinitions
- Network.AWS.Batch.DescribeJobDefinitions: instance Data.Data.Data Network.AWS.Batch.DescribeJobDefinitions.DescribeJobDefinitions
- Network.AWS.Batch.DescribeJobDefinitions: instance Data.Data.Data Network.AWS.Batch.DescribeJobDefinitions.DescribeJobDefinitionsResponse
- Network.AWS.Batch.DescribeJobDefinitions: instance Data.Hashable.Class.Hashable Network.AWS.Batch.DescribeJobDefinitions.DescribeJobDefinitions
- Network.AWS.Batch.DescribeJobDefinitions: instance GHC.Classes.Eq Network.AWS.Batch.DescribeJobDefinitions.DescribeJobDefinitions
- Network.AWS.Batch.DescribeJobDefinitions: instance GHC.Classes.Eq Network.AWS.Batch.DescribeJobDefinitions.DescribeJobDefinitionsResponse
- Network.AWS.Batch.DescribeJobDefinitions: instance GHC.Generics.Generic Network.AWS.Batch.DescribeJobDefinitions.DescribeJobDefinitions
- Network.AWS.Batch.DescribeJobDefinitions: instance GHC.Generics.Generic Network.AWS.Batch.DescribeJobDefinitions.DescribeJobDefinitionsResponse
- Network.AWS.Batch.DescribeJobDefinitions: instance GHC.Read.Read Network.AWS.Batch.DescribeJobDefinitions.DescribeJobDefinitions
- Network.AWS.Batch.DescribeJobDefinitions: instance GHC.Read.Read Network.AWS.Batch.DescribeJobDefinitions.DescribeJobDefinitionsResponse
- Network.AWS.Batch.DescribeJobDefinitions: instance GHC.Show.Show Network.AWS.Batch.DescribeJobDefinitions.DescribeJobDefinitions
- Network.AWS.Batch.DescribeJobDefinitions: instance GHC.Show.Show Network.AWS.Batch.DescribeJobDefinitions.DescribeJobDefinitionsResponse
- Network.AWS.Batch.DescribeJobDefinitions: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Batch.DescribeJobDefinitions.DescribeJobDefinitions
- Network.AWS.Batch.DescribeJobDefinitions: instance Network.AWS.Data.Path.ToPath Network.AWS.Batch.DescribeJobDefinitions.DescribeJobDefinitions
- Network.AWS.Batch.DescribeJobDefinitions: instance Network.AWS.Data.Query.ToQuery Network.AWS.Batch.DescribeJobDefinitions.DescribeJobDefinitions
- Network.AWS.Batch.DescribeJobDefinitions: instance Network.AWS.Types.AWSRequest Network.AWS.Batch.DescribeJobDefinitions.DescribeJobDefinitions
- Network.AWS.Batch.DescribeJobQueues: data DescribeJobQueues
- Network.AWS.Batch.DescribeJobQueues: data DescribeJobQueuesResponse
- Network.AWS.Batch.DescribeJobQueues: describeJobQueues :: DescribeJobQueues
- Network.AWS.Batch.DescribeJobQueues: describeJobQueuesResponse :: Int -> DescribeJobQueuesResponse
- Network.AWS.Batch.DescribeJobQueues: djqJobQueues :: Lens' DescribeJobQueues [Text]
- Network.AWS.Batch.DescribeJobQueues: djqMaxResults :: Lens' DescribeJobQueues (Maybe Int)
- Network.AWS.Batch.DescribeJobQueues: djqNextToken :: Lens' DescribeJobQueues (Maybe Text)
- Network.AWS.Batch.DescribeJobQueues: djqsrsJobQueues :: Lens' DescribeJobQueuesResponse [JobQueueDetail]
- Network.AWS.Batch.DescribeJobQueues: djqsrsNextToken :: Lens' DescribeJobQueuesResponse (Maybe Text)
- Network.AWS.Batch.DescribeJobQueues: djqsrsResponseStatus :: Lens' DescribeJobQueuesResponse Int
- Network.AWS.Batch.DescribeJobQueues: instance Control.DeepSeq.NFData Network.AWS.Batch.DescribeJobQueues.DescribeJobQueues
- Network.AWS.Batch.DescribeJobQueues: instance Control.DeepSeq.NFData Network.AWS.Batch.DescribeJobQueues.DescribeJobQueuesResponse
- Network.AWS.Batch.DescribeJobQueues: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Batch.DescribeJobQueues.DescribeJobQueues
- Network.AWS.Batch.DescribeJobQueues: instance Data.Data.Data Network.AWS.Batch.DescribeJobQueues.DescribeJobQueues
- Network.AWS.Batch.DescribeJobQueues: instance Data.Data.Data Network.AWS.Batch.DescribeJobQueues.DescribeJobQueuesResponse
- Network.AWS.Batch.DescribeJobQueues: instance Data.Hashable.Class.Hashable Network.AWS.Batch.DescribeJobQueues.DescribeJobQueues
- Network.AWS.Batch.DescribeJobQueues: instance GHC.Classes.Eq Network.AWS.Batch.DescribeJobQueues.DescribeJobQueues
- Network.AWS.Batch.DescribeJobQueues: instance GHC.Classes.Eq Network.AWS.Batch.DescribeJobQueues.DescribeJobQueuesResponse
- Network.AWS.Batch.DescribeJobQueues: instance GHC.Generics.Generic Network.AWS.Batch.DescribeJobQueues.DescribeJobQueues
- Network.AWS.Batch.DescribeJobQueues: instance GHC.Generics.Generic Network.AWS.Batch.DescribeJobQueues.DescribeJobQueuesResponse
- Network.AWS.Batch.DescribeJobQueues: instance GHC.Read.Read Network.AWS.Batch.DescribeJobQueues.DescribeJobQueues
- Network.AWS.Batch.DescribeJobQueues: instance GHC.Read.Read Network.AWS.Batch.DescribeJobQueues.DescribeJobQueuesResponse
- Network.AWS.Batch.DescribeJobQueues: instance GHC.Show.Show Network.AWS.Batch.DescribeJobQueues.DescribeJobQueues
- Network.AWS.Batch.DescribeJobQueues: instance GHC.Show.Show Network.AWS.Batch.DescribeJobQueues.DescribeJobQueuesResponse
- Network.AWS.Batch.DescribeJobQueues: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Batch.DescribeJobQueues.DescribeJobQueues
- Network.AWS.Batch.DescribeJobQueues: instance Network.AWS.Data.Path.ToPath Network.AWS.Batch.DescribeJobQueues.DescribeJobQueues
- Network.AWS.Batch.DescribeJobQueues: instance Network.AWS.Data.Query.ToQuery Network.AWS.Batch.DescribeJobQueues.DescribeJobQueues
- Network.AWS.Batch.DescribeJobQueues: instance Network.AWS.Types.AWSRequest Network.AWS.Batch.DescribeJobQueues.DescribeJobQueues
- Network.AWS.Batch.DescribeJobs: data DescribeJobs
- Network.AWS.Batch.DescribeJobs: data DescribeJobsResponse
- Network.AWS.Batch.DescribeJobs: describeJobs :: DescribeJobs
- Network.AWS.Batch.DescribeJobs: describeJobsResponse :: Int -> DescribeJobsResponse
- Network.AWS.Batch.DescribeJobs: djJobs :: Lens' DescribeJobs [Text]
- Network.AWS.Batch.DescribeJobs: djrsJobs :: Lens' DescribeJobsResponse [JobDetail]
- Network.AWS.Batch.DescribeJobs: djrsResponseStatus :: Lens' DescribeJobsResponse Int
- Network.AWS.Batch.DescribeJobs: instance Control.DeepSeq.NFData Network.AWS.Batch.DescribeJobs.DescribeJobs
- Network.AWS.Batch.DescribeJobs: instance Control.DeepSeq.NFData Network.AWS.Batch.DescribeJobs.DescribeJobsResponse
- Network.AWS.Batch.DescribeJobs: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Batch.DescribeJobs.DescribeJobs
- Network.AWS.Batch.DescribeJobs: instance Data.Data.Data Network.AWS.Batch.DescribeJobs.DescribeJobs
- Network.AWS.Batch.DescribeJobs: instance Data.Data.Data Network.AWS.Batch.DescribeJobs.DescribeJobsResponse
- Network.AWS.Batch.DescribeJobs: instance Data.Hashable.Class.Hashable Network.AWS.Batch.DescribeJobs.DescribeJobs
- Network.AWS.Batch.DescribeJobs: instance GHC.Classes.Eq Network.AWS.Batch.DescribeJobs.DescribeJobs
- Network.AWS.Batch.DescribeJobs: instance GHC.Classes.Eq Network.AWS.Batch.DescribeJobs.DescribeJobsResponse
- Network.AWS.Batch.DescribeJobs: instance GHC.Generics.Generic Network.AWS.Batch.DescribeJobs.DescribeJobs
- Network.AWS.Batch.DescribeJobs: instance GHC.Generics.Generic Network.AWS.Batch.DescribeJobs.DescribeJobsResponse
- Network.AWS.Batch.DescribeJobs: instance GHC.Read.Read Network.AWS.Batch.DescribeJobs.DescribeJobs
- Network.AWS.Batch.DescribeJobs: instance GHC.Read.Read Network.AWS.Batch.DescribeJobs.DescribeJobsResponse
- Network.AWS.Batch.DescribeJobs: instance GHC.Show.Show Network.AWS.Batch.DescribeJobs.DescribeJobs
- Network.AWS.Batch.DescribeJobs: instance GHC.Show.Show Network.AWS.Batch.DescribeJobs.DescribeJobsResponse
- Network.AWS.Batch.DescribeJobs: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Batch.DescribeJobs.DescribeJobs
- Network.AWS.Batch.DescribeJobs: instance Network.AWS.Data.Path.ToPath Network.AWS.Batch.DescribeJobs.DescribeJobs
- Network.AWS.Batch.DescribeJobs: instance Network.AWS.Data.Query.ToQuery Network.AWS.Batch.DescribeJobs.DescribeJobs
- Network.AWS.Batch.DescribeJobs: instance Network.AWS.Types.AWSRequest Network.AWS.Batch.DescribeJobs.DescribeJobs
- Network.AWS.Batch.ListJobs: data ListJobs
- Network.AWS.Batch.ListJobs: data ListJobsResponse
- Network.AWS.Batch.ListJobs: instance Control.DeepSeq.NFData Network.AWS.Batch.ListJobs.ListJobs
- Network.AWS.Batch.ListJobs: instance Control.DeepSeq.NFData Network.AWS.Batch.ListJobs.ListJobsResponse
- Network.AWS.Batch.ListJobs: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Batch.ListJobs.ListJobs
- Network.AWS.Batch.ListJobs: instance Data.Data.Data Network.AWS.Batch.ListJobs.ListJobs
- Network.AWS.Batch.ListJobs: instance Data.Data.Data Network.AWS.Batch.ListJobs.ListJobsResponse
- Network.AWS.Batch.ListJobs: instance Data.Hashable.Class.Hashable Network.AWS.Batch.ListJobs.ListJobs
- Network.AWS.Batch.ListJobs: instance GHC.Classes.Eq Network.AWS.Batch.ListJobs.ListJobs
- Network.AWS.Batch.ListJobs: instance GHC.Classes.Eq Network.AWS.Batch.ListJobs.ListJobsResponse
- Network.AWS.Batch.ListJobs: instance GHC.Generics.Generic Network.AWS.Batch.ListJobs.ListJobs
- Network.AWS.Batch.ListJobs: instance GHC.Generics.Generic Network.AWS.Batch.ListJobs.ListJobsResponse
- Network.AWS.Batch.ListJobs: instance GHC.Read.Read Network.AWS.Batch.ListJobs.ListJobs
- Network.AWS.Batch.ListJobs: instance GHC.Read.Read Network.AWS.Batch.ListJobs.ListJobsResponse
- Network.AWS.Batch.ListJobs: instance GHC.Show.Show Network.AWS.Batch.ListJobs.ListJobs
- Network.AWS.Batch.ListJobs: instance GHC.Show.Show Network.AWS.Batch.ListJobs.ListJobsResponse
- Network.AWS.Batch.ListJobs: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Batch.ListJobs.ListJobs
- Network.AWS.Batch.ListJobs: instance Network.AWS.Data.Path.ToPath Network.AWS.Batch.ListJobs.ListJobs
- Network.AWS.Batch.ListJobs: instance Network.AWS.Data.Query.ToQuery Network.AWS.Batch.ListJobs.ListJobs
- Network.AWS.Batch.ListJobs: instance Network.AWS.Types.AWSRequest Network.AWS.Batch.ListJobs.ListJobs
- Network.AWS.Batch.ListJobs: listJobs :: ListJobs
- Network.AWS.Batch.ListJobs: listJobsResponse :: Int -> ListJobsResponse
- Network.AWS.Batch.ListJobs: ljArrayJobId :: Lens' ListJobs (Maybe Text)
- Network.AWS.Batch.ListJobs: ljJobQueue :: Lens' ListJobs (Maybe Text)
- Network.AWS.Batch.ListJobs: ljJobStatus :: Lens' ListJobs (Maybe JobStatus)
- Network.AWS.Batch.ListJobs: ljMaxResults :: Lens' ListJobs (Maybe Int)
- Network.AWS.Batch.ListJobs: ljNextToken :: Lens' ListJobs (Maybe Text)
- Network.AWS.Batch.ListJobs: ljrsJobSummaryList :: Lens' ListJobsResponse [JobSummary]
- Network.AWS.Batch.ListJobs: ljrsNextToken :: Lens' ListJobsResponse (Maybe Text)
- Network.AWS.Batch.ListJobs: ljrsResponseStatus :: Lens' ListJobsResponse Int
- Network.AWS.Batch.RegisterJobDefinition: data RegisterJobDefinition
- Network.AWS.Batch.RegisterJobDefinition: data RegisterJobDefinitionResponse
- Network.AWS.Batch.RegisterJobDefinition: instance Control.DeepSeq.NFData Network.AWS.Batch.RegisterJobDefinition.RegisterJobDefinition
- Network.AWS.Batch.RegisterJobDefinition: instance Control.DeepSeq.NFData Network.AWS.Batch.RegisterJobDefinition.RegisterJobDefinitionResponse
- Network.AWS.Batch.RegisterJobDefinition: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Batch.RegisterJobDefinition.RegisterJobDefinition
- Network.AWS.Batch.RegisterJobDefinition: instance Data.Data.Data Network.AWS.Batch.RegisterJobDefinition.RegisterJobDefinition
- Network.AWS.Batch.RegisterJobDefinition: instance Data.Data.Data Network.AWS.Batch.RegisterJobDefinition.RegisterJobDefinitionResponse
- Network.AWS.Batch.RegisterJobDefinition: instance Data.Hashable.Class.Hashable Network.AWS.Batch.RegisterJobDefinition.RegisterJobDefinition
- Network.AWS.Batch.RegisterJobDefinition: instance GHC.Classes.Eq Network.AWS.Batch.RegisterJobDefinition.RegisterJobDefinition
- Network.AWS.Batch.RegisterJobDefinition: instance GHC.Classes.Eq Network.AWS.Batch.RegisterJobDefinition.RegisterJobDefinitionResponse
- Network.AWS.Batch.RegisterJobDefinition: instance GHC.Generics.Generic Network.AWS.Batch.RegisterJobDefinition.RegisterJobDefinition
- Network.AWS.Batch.RegisterJobDefinition: instance GHC.Generics.Generic Network.AWS.Batch.RegisterJobDefinition.RegisterJobDefinitionResponse
- Network.AWS.Batch.RegisterJobDefinition: instance GHC.Read.Read Network.AWS.Batch.RegisterJobDefinition.RegisterJobDefinition
- Network.AWS.Batch.RegisterJobDefinition: instance GHC.Read.Read Network.AWS.Batch.RegisterJobDefinition.RegisterJobDefinitionResponse
- Network.AWS.Batch.RegisterJobDefinition: instance GHC.Show.Show Network.AWS.Batch.RegisterJobDefinition.RegisterJobDefinition
- Network.AWS.Batch.RegisterJobDefinition: instance GHC.Show.Show Network.AWS.Batch.RegisterJobDefinition.RegisterJobDefinitionResponse
- Network.AWS.Batch.RegisterJobDefinition: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Batch.RegisterJobDefinition.RegisterJobDefinition
- Network.AWS.Batch.RegisterJobDefinition: instance Network.AWS.Data.Path.ToPath Network.AWS.Batch.RegisterJobDefinition.RegisterJobDefinition
- Network.AWS.Batch.RegisterJobDefinition: instance Network.AWS.Data.Query.ToQuery Network.AWS.Batch.RegisterJobDefinition.RegisterJobDefinition
- Network.AWS.Batch.RegisterJobDefinition: instance Network.AWS.Types.AWSRequest Network.AWS.Batch.RegisterJobDefinition.RegisterJobDefinition
- Network.AWS.Batch.RegisterJobDefinition: registerJobDefinition :: Text -> JobDefinitionType -> RegisterJobDefinition
- Network.AWS.Batch.RegisterJobDefinition: registerJobDefinitionResponse :: Int -> Text -> Text -> Int -> RegisterJobDefinitionResponse
- Network.AWS.Batch.RegisterJobDefinition: rjdContainerProperties :: Lens' RegisterJobDefinition (Maybe ContainerProperties)
- Network.AWS.Batch.RegisterJobDefinition: rjdJobDefinitionName :: Lens' RegisterJobDefinition Text
- Network.AWS.Batch.RegisterJobDefinition: rjdParameters :: Lens' RegisterJobDefinition (HashMap Text Text)
- Network.AWS.Batch.RegisterJobDefinition: rjdRetryStrategy :: Lens' RegisterJobDefinition (Maybe RetryStrategy)
- Network.AWS.Batch.RegisterJobDefinition: rjdTimeout :: Lens' RegisterJobDefinition (Maybe JobTimeout)
- Network.AWS.Batch.RegisterJobDefinition: rjdType :: Lens' RegisterJobDefinition JobDefinitionType
- Network.AWS.Batch.RegisterJobDefinition: rjdrsJobDefinitionARN :: Lens' RegisterJobDefinitionResponse Text
- Network.AWS.Batch.RegisterJobDefinition: rjdrsJobDefinitionName :: Lens' RegisterJobDefinitionResponse Text
- Network.AWS.Batch.RegisterJobDefinition: rjdrsResponseStatus :: Lens' RegisterJobDefinitionResponse Int
- Network.AWS.Batch.RegisterJobDefinition: rjdrsRevision :: Lens' RegisterJobDefinitionResponse Int
- Network.AWS.Batch.SubmitJob: data SubmitJob
- Network.AWS.Batch.SubmitJob: data SubmitJobResponse
- Network.AWS.Batch.SubmitJob: instance Control.DeepSeq.NFData Network.AWS.Batch.SubmitJob.SubmitJob
- Network.AWS.Batch.SubmitJob: instance Control.DeepSeq.NFData Network.AWS.Batch.SubmitJob.SubmitJobResponse
- Network.AWS.Batch.SubmitJob: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Batch.SubmitJob.SubmitJob
- Network.AWS.Batch.SubmitJob: instance Data.Data.Data Network.AWS.Batch.SubmitJob.SubmitJob
- Network.AWS.Batch.SubmitJob: instance Data.Data.Data Network.AWS.Batch.SubmitJob.SubmitJobResponse
- Network.AWS.Batch.SubmitJob: instance Data.Hashable.Class.Hashable Network.AWS.Batch.SubmitJob.SubmitJob
- Network.AWS.Batch.SubmitJob: instance GHC.Classes.Eq Network.AWS.Batch.SubmitJob.SubmitJob
- Network.AWS.Batch.SubmitJob: instance GHC.Classes.Eq Network.AWS.Batch.SubmitJob.SubmitJobResponse
- Network.AWS.Batch.SubmitJob: instance GHC.Generics.Generic Network.AWS.Batch.SubmitJob.SubmitJob
- Network.AWS.Batch.SubmitJob: instance GHC.Generics.Generic Network.AWS.Batch.SubmitJob.SubmitJobResponse
- Network.AWS.Batch.SubmitJob: instance GHC.Read.Read Network.AWS.Batch.SubmitJob.SubmitJob
- Network.AWS.Batch.SubmitJob: instance GHC.Read.Read Network.AWS.Batch.SubmitJob.SubmitJobResponse
- Network.AWS.Batch.SubmitJob: instance GHC.Show.Show Network.AWS.Batch.SubmitJob.SubmitJob
- Network.AWS.Batch.SubmitJob: instance GHC.Show.Show Network.AWS.Batch.SubmitJob.SubmitJobResponse
- Network.AWS.Batch.SubmitJob: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Batch.SubmitJob.SubmitJob
- Network.AWS.Batch.SubmitJob: instance Network.AWS.Data.Path.ToPath Network.AWS.Batch.SubmitJob.SubmitJob
- Network.AWS.Batch.SubmitJob: instance Network.AWS.Data.Query.ToQuery Network.AWS.Batch.SubmitJob.SubmitJob
- Network.AWS.Batch.SubmitJob: instance Network.AWS.Types.AWSRequest Network.AWS.Batch.SubmitJob.SubmitJob
- Network.AWS.Batch.SubmitJob: sjArrayProperties :: Lens' SubmitJob (Maybe ArrayProperties)
- Network.AWS.Batch.SubmitJob: sjContainerOverrides :: Lens' SubmitJob (Maybe ContainerOverrides)
- Network.AWS.Batch.SubmitJob: sjDependsOn :: Lens' SubmitJob [JobDependency]
- Network.AWS.Batch.SubmitJob: sjJobDefinition :: Lens' SubmitJob Text
- Network.AWS.Batch.SubmitJob: sjJobName :: Lens' SubmitJob Text
- Network.AWS.Batch.SubmitJob: sjJobQueue :: Lens' SubmitJob Text
- Network.AWS.Batch.SubmitJob: sjParameters :: Lens' SubmitJob (HashMap Text Text)
- Network.AWS.Batch.SubmitJob: sjRetryStrategy :: Lens' SubmitJob (Maybe RetryStrategy)
- Network.AWS.Batch.SubmitJob: sjTimeout :: Lens' SubmitJob (Maybe JobTimeout)
- Network.AWS.Batch.SubmitJob: sjrsJobId :: Lens' SubmitJobResponse Text
- Network.AWS.Batch.SubmitJob: sjrsJobName :: Lens' SubmitJobResponse Text
- Network.AWS.Batch.SubmitJob: sjrsResponseStatus :: Lens' SubmitJobResponse Int
- Network.AWS.Batch.SubmitJob: submitJob :: Text -> Text -> Text -> SubmitJob
- Network.AWS.Batch.SubmitJob: submitJobResponse :: Int -> Text -> Text -> SubmitJobResponse
- Network.AWS.Batch.TerminateJob: data TerminateJob
- Network.AWS.Batch.TerminateJob: data TerminateJobResponse
- Network.AWS.Batch.TerminateJob: instance Control.DeepSeq.NFData Network.AWS.Batch.TerminateJob.TerminateJob
- Network.AWS.Batch.TerminateJob: instance Control.DeepSeq.NFData Network.AWS.Batch.TerminateJob.TerminateJobResponse
- Network.AWS.Batch.TerminateJob: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Batch.TerminateJob.TerminateJob
- Network.AWS.Batch.TerminateJob: instance Data.Data.Data Network.AWS.Batch.TerminateJob.TerminateJob
- Network.AWS.Batch.TerminateJob: instance Data.Data.Data Network.AWS.Batch.TerminateJob.TerminateJobResponse
- Network.AWS.Batch.TerminateJob: instance Data.Hashable.Class.Hashable Network.AWS.Batch.TerminateJob.TerminateJob
- Network.AWS.Batch.TerminateJob: instance GHC.Classes.Eq Network.AWS.Batch.TerminateJob.TerminateJob
- Network.AWS.Batch.TerminateJob: instance GHC.Classes.Eq Network.AWS.Batch.TerminateJob.TerminateJobResponse
- Network.AWS.Batch.TerminateJob: instance GHC.Generics.Generic Network.AWS.Batch.TerminateJob.TerminateJob
- Network.AWS.Batch.TerminateJob: instance GHC.Generics.Generic Network.AWS.Batch.TerminateJob.TerminateJobResponse
- Network.AWS.Batch.TerminateJob: instance GHC.Read.Read Network.AWS.Batch.TerminateJob.TerminateJob
- Network.AWS.Batch.TerminateJob: instance GHC.Read.Read Network.AWS.Batch.TerminateJob.TerminateJobResponse
- Network.AWS.Batch.TerminateJob: instance GHC.Show.Show Network.AWS.Batch.TerminateJob.TerminateJob
- Network.AWS.Batch.TerminateJob: instance GHC.Show.Show Network.AWS.Batch.TerminateJob.TerminateJobResponse
- Network.AWS.Batch.TerminateJob: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Batch.TerminateJob.TerminateJob
- Network.AWS.Batch.TerminateJob: instance Network.AWS.Data.Path.ToPath Network.AWS.Batch.TerminateJob.TerminateJob
- Network.AWS.Batch.TerminateJob: instance Network.AWS.Data.Query.ToQuery Network.AWS.Batch.TerminateJob.TerminateJob
- Network.AWS.Batch.TerminateJob: instance Network.AWS.Types.AWSRequest Network.AWS.Batch.TerminateJob.TerminateJob
- Network.AWS.Batch.TerminateJob: terminateJob :: Text -> Text -> TerminateJob
- Network.AWS.Batch.TerminateJob: terminateJobResponse :: Int -> TerminateJobResponse
- Network.AWS.Batch.TerminateJob: tjJobId :: Lens' TerminateJob Text
- Network.AWS.Batch.TerminateJob: tjReason :: Lens' TerminateJob Text
- Network.AWS.Batch.TerminateJob: tjrsResponseStatus :: Lens' TerminateJobResponse Int
- Network.AWS.Batch.Types: CESCreating :: CEStatus
- Network.AWS.Batch.Types: CESDeleted :: CEStatus
- Network.AWS.Batch.Types: CESDeleting :: CEStatus
- Network.AWS.Batch.Types: CESInvalid :: CEStatus
- Network.AWS.Batch.Types: CESUpdating :: CEStatus
- Network.AWS.Batch.Types: CESValid :: CEStatus
- Network.AWS.Batch.Types: Container :: JobDefinitionType
- Network.AWS.Batch.Types: Creating :: JQStatus
- Network.AWS.Batch.Types: Deleted :: JQStatus
- Network.AWS.Batch.Types: Deleting :: JQStatus
- Network.AWS.Batch.Types: Disabled :: CEState
- Network.AWS.Batch.Types: EC2 :: CRType
- Network.AWS.Batch.Types: Enabled :: CEState
- Network.AWS.Batch.Types: Failed :: JobStatus
- Network.AWS.Batch.Types: Invalid :: JQStatus
- Network.AWS.Batch.Types: JQSDisabled :: JQState
- Network.AWS.Batch.Types: JQSEnabled :: JQState
- Network.AWS.Batch.Types: Managed :: CEType
- Network.AWS.Batch.Types: NToN :: ArrayJobDependency
- Network.AWS.Batch.Types: Pending :: JobStatus
- Network.AWS.Batch.Types: Runnable :: JobStatus
- Network.AWS.Batch.Types: Running :: JobStatus
- Network.AWS.Batch.Types: Sequential :: ArrayJobDependency
- Network.AWS.Batch.Types: Spot :: CRType
- Network.AWS.Batch.Types: Starting :: JobStatus
- Network.AWS.Batch.Types: Submitted :: JobStatus
- Network.AWS.Batch.Types: Succeeded :: JobStatus
- Network.AWS.Batch.Types: Unmanaged :: CEType
- Network.AWS.Batch.Types: Updating :: JQStatus
- Network.AWS.Batch.Types: Valid :: JQStatus
- Network.AWS.Batch.Types: _ClientException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Batch.Types: _ServerException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Batch.Types: acdContainerInstanceARN :: Lens' AttemptContainerDetail (Maybe Text)
- Network.AWS.Batch.Types: acdExitCode :: Lens' AttemptContainerDetail (Maybe Int)
- Network.AWS.Batch.Types: acdLogStreamName :: Lens' AttemptContainerDetail (Maybe Text)
- Network.AWS.Batch.Types: acdReason :: Lens' AttemptContainerDetail (Maybe Text)
- Network.AWS.Batch.Types: acdTaskARN :: Lens' AttemptContainerDetail (Maybe Text)
- Network.AWS.Batch.Types: adContainer :: Lens' AttemptDetail (Maybe AttemptContainerDetail)
- Network.AWS.Batch.Types: adStartedAt :: Lens' AttemptDetail (Maybe Integer)
- Network.AWS.Batch.Types: adStatusReason :: Lens' AttemptDetail (Maybe Text)
- Network.AWS.Batch.Types: adStoppedAt :: Lens' AttemptDetail (Maybe Integer)
- Network.AWS.Batch.Types: apSize :: Lens' ArrayProperties (Maybe Int)
- Network.AWS.Batch.Types: apdIndex :: Lens' ArrayPropertiesDetail (Maybe Int)
- Network.AWS.Batch.Types: apdSize :: Lens' ArrayPropertiesDetail (Maybe Int)
- Network.AWS.Batch.Types: apdStatusSummary :: Lens' ArrayPropertiesDetail (HashMap Text Int)
- Network.AWS.Batch.Types: apsIndex :: Lens' ArrayPropertiesSummary (Maybe Int)
- Network.AWS.Batch.Types: apsSize :: Lens' ArrayPropertiesSummary (Maybe Int)
- Network.AWS.Batch.Types: arrayProperties :: ArrayProperties
- Network.AWS.Batch.Types: arrayPropertiesDetail :: ArrayPropertiesDetail
- Network.AWS.Batch.Types: arrayPropertiesSummary :: ArrayPropertiesSummary
- Network.AWS.Batch.Types: attemptContainerDetail :: AttemptContainerDetail
- Network.AWS.Batch.Types: attemptDetail :: AttemptDetail
- Network.AWS.Batch.Types: batch :: Service
- Network.AWS.Batch.Types: cdCommand :: Lens' ContainerDetail [Text]
- Network.AWS.Batch.Types: cdContainerInstanceARN :: Lens' ContainerDetail (Maybe Text)
- Network.AWS.Batch.Types: cdEnvironment :: Lens' ContainerDetail [KeyValuePair]
- Network.AWS.Batch.Types: cdExitCode :: Lens' ContainerDetail (Maybe Int)
- Network.AWS.Batch.Types: cdImage :: Lens' ContainerDetail (Maybe Text)
- Network.AWS.Batch.Types: cdJobRoleARN :: Lens' ContainerDetail (Maybe Text)
- Network.AWS.Batch.Types: cdLogStreamName :: Lens' ContainerDetail (Maybe Text)
- Network.AWS.Batch.Types: cdMemory :: Lens' ContainerDetail (Maybe Int)
- Network.AWS.Batch.Types: cdMountPoints :: Lens' ContainerDetail [MountPoint]
- Network.AWS.Batch.Types: cdPrivileged :: Lens' ContainerDetail (Maybe Bool)
- Network.AWS.Batch.Types: cdReadonlyRootFilesystem :: Lens' ContainerDetail (Maybe Bool)
- Network.AWS.Batch.Types: cdReason :: Lens' ContainerDetail (Maybe Text)
- Network.AWS.Batch.Types: cdTaskARN :: Lens' ContainerDetail (Maybe Text)
- Network.AWS.Batch.Types: cdUlimits :: Lens' ContainerDetail [Ulimit]
- Network.AWS.Batch.Types: cdUser :: Lens' ContainerDetail (Maybe Text)
- Network.AWS.Batch.Types: cdVcpus :: Lens' ContainerDetail (Maybe Int)
- Network.AWS.Batch.Types: cdVolumes :: Lens' ContainerDetail [Volume]
- Network.AWS.Batch.Types: cedComputeEnvironmentARN :: Lens' ComputeEnvironmentDetail Text
- Network.AWS.Batch.Types: cedComputeEnvironmentName :: Lens' ComputeEnvironmentDetail Text
- Network.AWS.Batch.Types: cedComputeResources :: Lens' ComputeEnvironmentDetail (Maybe ComputeResource)
- Network.AWS.Batch.Types: cedEcsClusterARN :: Lens' ComputeEnvironmentDetail Text
- Network.AWS.Batch.Types: cedServiceRole :: Lens' ComputeEnvironmentDetail (Maybe Text)
- Network.AWS.Batch.Types: cedState :: Lens' ComputeEnvironmentDetail (Maybe CEState)
- Network.AWS.Batch.Types: cedStatus :: Lens' ComputeEnvironmentDetail (Maybe CEStatus)
- Network.AWS.Batch.Types: cedStatusReason :: Lens' ComputeEnvironmentDetail (Maybe Text)
- Network.AWS.Batch.Types: cedType :: Lens' ComputeEnvironmentDetail (Maybe CEType)
- Network.AWS.Batch.Types: ceoComputeEnvironment :: Lens' ComputeEnvironmentOrder Text
- Network.AWS.Batch.Types: ceoOrder :: Lens' ComputeEnvironmentOrder Int
- Network.AWS.Batch.Types: coCommand :: Lens' ContainerOverrides [Text]
- Network.AWS.Batch.Types: coEnvironment :: Lens' ContainerOverrides [KeyValuePair]
- Network.AWS.Batch.Types: coMemory :: Lens' ContainerOverrides (Maybe Int)
- Network.AWS.Batch.Types: coVcpus :: Lens' ContainerOverrides (Maybe Int)
- Network.AWS.Batch.Types: computeEnvironmentDetail :: Text -> Text -> Text -> ComputeEnvironmentDetail
- Network.AWS.Batch.Types: computeEnvironmentOrder :: Int -> Text -> ComputeEnvironmentOrder
- Network.AWS.Batch.Types: computeResource :: CRType -> Int -> Int -> Text -> ComputeResource
- Network.AWS.Batch.Types: computeResourceUpdate :: ComputeResourceUpdate
- Network.AWS.Batch.Types: containerDetail :: ContainerDetail
- Network.AWS.Batch.Types: containerOverrides :: ContainerOverrides
- Network.AWS.Batch.Types: containerProperties :: Text -> Int -> Int -> ContainerProperties
- Network.AWS.Batch.Types: containerSummary :: ContainerSummary
- Network.AWS.Batch.Types: cpCommand :: Lens' ContainerProperties [Text]
- Network.AWS.Batch.Types: cpEnvironment :: Lens' ContainerProperties [KeyValuePair]
- Network.AWS.Batch.Types: cpImage :: Lens' ContainerProperties Text
- Network.AWS.Batch.Types: cpJobRoleARN :: Lens' ContainerProperties (Maybe Text)
- Network.AWS.Batch.Types: cpMemory :: Lens' ContainerProperties Int
- Network.AWS.Batch.Types: cpMountPoints :: Lens' ContainerProperties [MountPoint]
- Network.AWS.Batch.Types: cpPrivileged :: Lens' ContainerProperties (Maybe Bool)
- Network.AWS.Batch.Types: cpReadonlyRootFilesystem :: Lens' ContainerProperties (Maybe Bool)
- Network.AWS.Batch.Types: cpUlimits :: Lens' ContainerProperties [Ulimit]
- Network.AWS.Batch.Types: cpUser :: Lens' ContainerProperties (Maybe Text)
- Network.AWS.Batch.Types: cpVcpus :: Lens' ContainerProperties Int
- Network.AWS.Batch.Types: cpVolumes :: Lens' ContainerProperties [Volume]
- Network.AWS.Batch.Types: crBidPercentage :: Lens' ComputeResource (Maybe Int)
- Network.AWS.Batch.Types: crDesiredvCPUs :: Lens' ComputeResource (Maybe Int)
- Network.AWS.Batch.Types: crEc2KeyPair :: Lens' ComputeResource (Maybe Text)
- Network.AWS.Batch.Types: crImageId :: Lens' ComputeResource (Maybe Text)
- Network.AWS.Batch.Types: crInstanceRole :: Lens' ComputeResource Text
- Network.AWS.Batch.Types: crInstanceTypes :: Lens' ComputeResource [Text]
- Network.AWS.Batch.Types: crMaxvCPUs :: Lens' ComputeResource Int
- Network.AWS.Batch.Types: crMinvCPUs :: Lens' ComputeResource Int
- Network.AWS.Batch.Types: crSecurityGroupIds :: Lens' ComputeResource [Text]
- Network.AWS.Batch.Types: crSpotIAMFleetRole :: Lens' ComputeResource (Maybe Text)
- Network.AWS.Batch.Types: crSubnets :: Lens' ComputeResource [Text]
- Network.AWS.Batch.Types: crTags :: Lens' ComputeResource (HashMap Text Text)
- Network.AWS.Batch.Types: crType :: Lens' ComputeResource CRType
- Network.AWS.Batch.Types: cruDesiredvCPUs :: Lens' ComputeResourceUpdate (Maybe Int)
- Network.AWS.Batch.Types: cruMaxvCPUs :: Lens' ComputeResourceUpdate (Maybe Int)
- Network.AWS.Batch.Types: cruMinvCPUs :: Lens' ComputeResourceUpdate (Maybe Int)
- Network.AWS.Batch.Types: csExitCode :: Lens' ContainerSummary (Maybe Int)
- Network.AWS.Batch.Types: csReason :: Lens' ContainerSummary (Maybe Text)
- Network.AWS.Batch.Types: data ArrayJobDependency
- Network.AWS.Batch.Types: data ArrayProperties
- Network.AWS.Batch.Types: data ArrayPropertiesDetail
- Network.AWS.Batch.Types: data ArrayPropertiesSummary
- Network.AWS.Batch.Types: data AttemptContainerDetail
- Network.AWS.Batch.Types: data AttemptDetail
- Network.AWS.Batch.Types: data CEState
- Network.AWS.Batch.Types: data CEStatus
- Network.AWS.Batch.Types: data CEType
- Network.AWS.Batch.Types: data CRType
- Network.AWS.Batch.Types: data ComputeEnvironmentDetail
- Network.AWS.Batch.Types: data ComputeEnvironmentOrder
- Network.AWS.Batch.Types: data ComputeResource
- Network.AWS.Batch.Types: data ComputeResourceUpdate
- Network.AWS.Batch.Types: data ContainerDetail
- Network.AWS.Batch.Types: data ContainerOverrides
- Network.AWS.Batch.Types: data ContainerProperties
- Network.AWS.Batch.Types: data ContainerSummary
- Network.AWS.Batch.Types: data Host
- Network.AWS.Batch.Types: data JQState
- Network.AWS.Batch.Types: data JQStatus
- Network.AWS.Batch.Types: data JobDefinition
- Network.AWS.Batch.Types: data JobDefinitionType
- Network.AWS.Batch.Types: data JobDependency
- Network.AWS.Batch.Types: data JobDetail
- Network.AWS.Batch.Types: data JobQueueDetail
- Network.AWS.Batch.Types: data JobStatus
- Network.AWS.Batch.Types: data JobSummary
- Network.AWS.Batch.Types: data JobTimeout
- Network.AWS.Batch.Types: data KeyValuePair
- Network.AWS.Batch.Types: data MountPoint
- Network.AWS.Batch.Types: data RetryStrategy
- Network.AWS.Batch.Types: data Ulimit
- Network.AWS.Batch.Types: data Volume
- Network.AWS.Batch.Types: hSourcePath :: Lens' Host (Maybe Text)
- Network.AWS.Batch.Types: host :: Host
- Network.AWS.Batch.Types: jJobId :: Lens' JobDependency (Maybe Text)
- Network.AWS.Batch.Types: jType :: Lens' JobDependency (Maybe ArrayJobDependency)
- Network.AWS.Batch.Types: jdArrayProperties :: Lens' JobDetail (Maybe ArrayPropertiesDetail)
- Network.AWS.Batch.Types: jdAttempts :: Lens' JobDetail [AttemptDetail]
- Network.AWS.Batch.Types: jdContainer :: Lens' JobDetail (Maybe ContainerDetail)
- Network.AWS.Batch.Types: jdCreatedAt :: Lens' JobDetail (Maybe Integer)
- Network.AWS.Batch.Types: jdDependsOn :: Lens' JobDetail [JobDependency]
- Network.AWS.Batch.Types: jdJobDefinition :: Lens' JobDetail Text
- Network.AWS.Batch.Types: jdJobId :: Lens' JobDetail Text
- Network.AWS.Batch.Types: jdJobName :: Lens' JobDetail Text
- Network.AWS.Batch.Types: jdJobQueue :: Lens' JobDetail Text
- Network.AWS.Batch.Types: jdParameters :: Lens' JobDetail (HashMap Text Text)
- Network.AWS.Batch.Types: jdRetryStrategy :: Lens' JobDetail (Maybe RetryStrategy)
- Network.AWS.Batch.Types: jdStartedAt :: Lens' JobDetail Integer
- Network.AWS.Batch.Types: jdStatus :: Lens' JobDetail JobStatus
- Network.AWS.Batch.Types: jdStatusReason :: Lens' JobDetail (Maybe Text)
- Network.AWS.Batch.Types: jdStoppedAt :: Lens' JobDetail (Maybe Integer)
- Network.AWS.Batch.Types: jdTimeout :: Lens' JobDetail (Maybe JobTimeout)
- Network.AWS.Batch.Types: jddContainerProperties :: Lens' JobDefinition (Maybe ContainerProperties)
- Network.AWS.Batch.Types: jddJobDefinitionARN :: Lens' JobDefinition Text
- Network.AWS.Batch.Types: jddJobDefinitionName :: Lens' JobDefinition Text
- Network.AWS.Batch.Types: jddParameters :: Lens' JobDefinition (HashMap Text Text)
- Network.AWS.Batch.Types: jddRetryStrategy :: Lens' JobDefinition (Maybe RetryStrategy)
- Network.AWS.Batch.Types: jddRevision :: Lens' JobDefinition Int
- Network.AWS.Batch.Types: jddStatus :: Lens' JobDefinition (Maybe Text)
- Network.AWS.Batch.Types: jddTimeout :: Lens' JobDefinition (Maybe JobTimeout)
- Network.AWS.Batch.Types: jddType :: Lens' JobDefinition Text
- Network.AWS.Batch.Types: jobDefinition :: Text -> Text -> Int -> Text -> JobDefinition
- Network.AWS.Batch.Types: jobDependency :: JobDependency
- Network.AWS.Batch.Types: jobDetail :: Text -> Text -> Text -> JobStatus -> Integer -> Text -> JobDetail
- Network.AWS.Batch.Types: jobQueueDetail :: Text -> Text -> JQState -> Int -> JobQueueDetail
- Network.AWS.Batch.Types: jobSummary :: Text -> Text -> JobSummary
- Network.AWS.Batch.Types: jobTimeout :: JobTimeout
- Network.AWS.Batch.Types: jqdComputeEnvironmentOrder :: Lens' JobQueueDetail [ComputeEnvironmentOrder]
- Network.AWS.Batch.Types: jqdJobQueueARN :: Lens' JobQueueDetail Text
- Network.AWS.Batch.Types: jqdJobQueueName :: Lens' JobQueueDetail Text
- Network.AWS.Batch.Types: jqdPriority :: Lens' JobQueueDetail Int
- Network.AWS.Batch.Types: jqdState :: Lens' JobQueueDetail JQState
- Network.AWS.Batch.Types: jqdStatus :: Lens' JobQueueDetail (Maybe JQStatus)
- Network.AWS.Batch.Types: jqdStatusReason :: Lens' JobQueueDetail (Maybe Text)
- Network.AWS.Batch.Types: jsArrayProperties :: Lens' JobSummary (Maybe ArrayPropertiesSummary)
- Network.AWS.Batch.Types: jsContainer :: Lens' JobSummary (Maybe ContainerSummary)
- Network.AWS.Batch.Types: jsCreatedAt :: Lens' JobSummary (Maybe Integer)
- Network.AWS.Batch.Types: jsJobId :: Lens' JobSummary Text
- Network.AWS.Batch.Types: jsJobName :: Lens' JobSummary Text
- Network.AWS.Batch.Types: jsStartedAt :: Lens' JobSummary (Maybe Integer)
- Network.AWS.Batch.Types: jsStatus :: Lens' JobSummary (Maybe JobStatus)
- Network.AWS.Batch.Types: jsStatusReason :: Lens' JobSummary (Maybe Text)
- Network.AWS.Batch.Types: jsStoppedAt :: Lens' JobSummary (Maybe Integer)
- Network.AWS.Batch.Types: jtAttemptDurationSeconds :: Lens' JobTimeout (Maybe Int)
- Network.AWS.Batch.Types: keyValuePair :: KeyValuePair
- Network.AWS.Batch.Types: kvpName :: Lens' KeyValuePair (Maybe Text)
- Network.AWS.Batch.Types: kvpValue :: Lens' KeyValuePair (Maybe Text)
- Network.AWS.Batch.Types: mountPoint :: MountPoint
- Network.AWS.Batch.Types: mpContainerPath :: Lens' MountPoint (Maybe Text)
- Network.AWS.Batch.Types: mpReadOnly :: Lens' MountPoint (Maybe Bool)
- Network.AWS.Batch.Types: mpSourceVolume :: Lens' MountPoint (Maybe Text)
- Network.AWS.Batch.Types: retryStrategy :: RetryStrategy
- Network.AWS.Batch.Types: rsAttempts :: Lens' RetryStrategy (Maybe Int)
- Network.AWS.Batch.Types: uHardLimit :: Lens' Ulimit Int
- Network.AWS.Batch.Types: uName :: Lens' Ulimit Text
- Network.AWS.Batch.Types: uSoftLimit :: Lens' Ulimit Int
- Network.AWS.Batch.Types: ulimit :: Int -> Text -> Int -> Ulimit
- Network.AWS.Batch.Types: vHost :: Lens' Volume (Maybe Host)
- Network.AWS.Batch.Types: vName :: Lens' Volume (Maybe Text)
- Network.AWS.Batch.Types: volume :: Volume
- Network.AWS.Batch.UpdateComputeEnvironment: data UpdateComputeEnvironment
- Network.AWS.Batch.UpdateComputeEnvironment: data UpdateComputeEnvironmentResponse
- Network.AWS.Batch.UpdateComputeEnvironment: instance Control.DeepSeq.NFData Network.AWS.Batch.UpdateComputeEnvironment.UpdateComputeEnvironment
- Network.AWS.Batch.UpdateComputeEnvironment: instance Control.DeepSeq.NFData Network.AWS.Batch.UpdateComputeEnvironment.UpdateComputeEnvironmentResponse
- Network.AWS.Batch.UpdateComputeEnvironment: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Batch.UpdateComputeEnvironment.UpdateComputeEnvironment
- Network.AWS.Batch.UpdateComputeEnvironment: instance Data.Data.Data Network.AWS.Batch.UpdateComputeEnvironment.UpdateComputeEnvironment
- Network.AWS.Batch.UpdateComputeEnvironment: instance Data.Data.Data Network.AWS.Batch.UpdateComputeEnvironment.UpdateComputeEnvironmentResponse
- Network.AWS.Batch.UpdateComputeEnvironment: instance Data.Hashable.Class.Hashable Network.AWS.Batch.UpdateComputeEnvironment.UpdateComputeEnvironment
- Network.AWS.Batch.UpdateComputeEnvironment: instance GHC.Classes.Eq Network.AWS.Batch.UpdateComputeEnvironment.UpdateComputeEnvironment
- Network.AWS.Batch.UpdateComputeEnvironment: instance GHC.Classes.Eq Network.AWS.Batch.UpdateComputeEnvironment.UpdateComputeEnvironmentResponse
- Network.AWS.Batch.UpdateComputeEnvironment: instance GHC.Generics.Generic Network.AWS.Batch.UpdateComputeEnvironment.UpdateComputeEnvironment
- Network.AWS.Batch.UpdateComputeEnvironment: instance GHC.Generics.Generic Network.AWS.Batch.UpdateComputeEnvironment.UpdateComputeEnvironmentResponse
- Network.AWS.Batch.UpdateComputeEnvironment: instance GHC.Read.Read Network.AWS.Batch.UpdateComputeEnvironment.UpdateComputeEnvironment
- Network.AWS.Batch.UpdateComputeEnvironment: instance GHC.Read.Read Network.AWS.Batch.UpdateComputeEnvironment.UpdateComputeEnvironmentResponse
- Network.AWS.Batch.UpdateComputeEnvironment: instance GHC.Show.Show Network.AWS.Batch.UpdateComputeEnvironment.UpdateComputeEnvironment
- Network.AWS.Batch.UpdateComputeEnvironment: instance GHC.Show.Show Network.AWS.Batch.UpdateComputeEnvironment.UpdateComputeEnvironmentResponse
- Network.AWS.Batch.UpdateComputeEnvironment: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Batch.UpdateComputeEnvironment.UpdateComputeEnvironment
- Network.AWS.Batch.UpdateComputeEnvironment: instance Network.AWS.Data.Path.ToPath Network.AWS.Batch.UpdateComputeEnvironment.UpdateComputeEnvironment
- Network.AWS.Batch.UpdateComputeEnvironment: instance Network.AWS.Data.Query.ToQuery Network.AWS.Batch.UpdateComputeEnvironment.UpdateComputeEnvironment
- Network.AWS.Batch.UpdateComputeEnvironment: instance Network.AWS.Types.AWSRequest Network.AWS.Batch.UpdateComputeEnvironment.UpdateComputeEnvironment
- Network.AWS.Batch.UpdateComputeEnvironment: uceComputeEnvironment :: Lens' UpdateComputeEnvironment Text
- Network.AWS.Batch.UpdateComputeEnvironment: uceComputeResources :: Lens' UpdateComputeEnvironment (Maybe ComputeResourceUpdate)
- Network.AWS.Batch.UpdateComputeEnvironment: uceServiceRole :: Lens' UpdateComputeEnvironment (Maybe Text)
- Network.AWS.Batch.UpdateComputeEnvironment: uceState :: Lens' UpdateComputeEnvironment (Maybe CEState)
- Network.AWS.Batch.UpdateComputeEnvironment: ucersComputeEnvironmentARN :: Lens' UpdateComputeEnvironmentResponse (Maybe Text)
- Network.AWS.Batch.UpdateComputeEnvironment: ucersComputeEnvironmentName :: Lens' UpdateComputeEnvironmentResponse (Maybe Text)
- Network.AWS.Batch.UpdateComputeEnvironment: ucersResponseStatus :: Lens' UpdateComputeEnvironmentResponse Int
- Network.AWS.Batch.UpdateComputeEnvironment: updateComputeEnvironment :: Text -> UpdateComputeEnvironment
- Network.AWS.Batch.UpdateComputeEnvironment: updateComputeEnvironmentResponse :: Int -> UpdateComputeEnvironmentResponse
- Network.AWS.Batch.UpdateJobQueue: data UpdateJobQueue
- Network.AWS.Batch.UpdateJobQueue: data UpdateJobQueueResponse
- Network.AWS.Batch.UpdateJobQueue: instance Control.DeepSeq.NFData Network.AWS.Batch.UpdateJobQueue.UpdateJobQueue
- Network.AWS.Batch.UpdateJobQueue: instance Control.DeepSeq.NFData Network.AWS.Batch.UpdateJobQueue.UpdateJobQueueResponse
- Network.AWS.Batch.UpdateJobQueue: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Batch.UpdateJobQueue.UpdateJobQueue
- Network.AWS.Batch.UpdateJobQueue: instance Data.Data.Data Network.AWS.Batch.UpdateJobQueue.UpdateJobQueue
- Network.AWS.Batch.UpdateJobQueue: instance Data.Data.Data Network.AWS.Batch.UpdateJobQueue.UpdateJobQueueResponse
- Network.AWS.Batch.UpdateJobQueue: instance Data.Hashable.Class.Hashable Network.AWS.Batch.UpdateJobQueue.UpdateJobQueue
- Network.AWS.Batch.UpdateJobQueue: instance GHC.Classes.Eq Network.AWS.Batch.UpdateJobQueue.UpdateJobQueue
- Network.AWS.Batch.UpdateJobQueue: instance GHC.Classes.Eq Network.AWS.Batch.UpdateJobQueue.UpdateJobQueueResponse
- Network.AWS.Batch.UpdateJobQueue: instance GHC.Generics.Generic Network.AWS.Batch.UpdateJobQueue.UpdateJobQueue
- Network.AWS.Batch.UpdateJobQueue: instance GHC.Generics.Generic Network.AWS.Batch.UpdateJobQueue.UpdateJobQueueResponse
- Network.AWS.Batch.UpdateJobQueue: instance GHC.Read.Read Network.AWS.Batch.UpdateJobQueue.UpdateJobQueue
- Network.AWS.Batch.UpdateJobQueue: instance GHC.Read.Read Network.AWS.Batch.UpdateJobQueue.UpdateJobQueueResponse
- Network.AWS.Batch.UpdateJobQueue: instance GHC.Show.Show Network.AWS.Batch.UpdateJobQueue.UpdateJobQueue
- Network.AWS.Batch.UpdateJobQueue: instance GHC.Show.Show Network.AWS.Batch.UpdateJobQueue.UpdateJobQueueResponse
- Network.AWS.Batch.UpdateJobQueue: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Batch.UpdateJobQueue.UpdateJobQueue
- Network.AWS.Batch.UpdateJobQueue: instance Network.AWS.Data.Path.ToPath Network.AWS.Batch.UpdateJobQueue.UpdateJobQueue
- Network.AWS.Batch.UpdateJobQueue: instance Network.AWS.Data.Query.ToQuery Network.AWS.Batch.UpdateJobQueue.UpdateJobQueue
- Network.AWS.Batch.UpdateJobQueue: instance Network.AWS.Types.AWSRequest Network.AWS.Batch.UpdateJobQueue.UpdateJobQueue
- Network.AWS.Batch.UpdateJobQueue: ujqComputeEnvironmentOrder :: Lens' UpdateJobQueue [ComputeEnvironmentOrder]
- Network.AWS.Batch.UpdateJobQueue: ujqJobQueue :: Lens' UpdateJobQueue Text
- Network.AWS.Batch.UpdateJobQueue: ujqPriority :: Lens' UpdateJobQueue (Maybe Int)
- Network.AWS.Batch.UpdateJobQueue: ujqState :: Lens' UpdateJobQueue (Maybe JQState)
- Network.AWS.Batch.UpdateJobQueue: ujqrsJobQueueARN :: Lens' UpdateJobQueueResponse (Maybe Text)
- Network.AWS.Batch.UpdateJobQueue: ujqrsJobQueueName :: Lens' UpdateJobQueueResponse (Maybe Text)
- Network.AWS.Batch.UpdateJobQueue: ujqrsResponseStatus :: Lens' UpdateJobQueueResponse Int
- Network.AWS.Batch.UpdateJobQueue: updateJobQueue :: Text -> UpdateJobQueue
- Network.AWS.Batch.UpdateJobQueue: updateJobQueueResponse :: Int -> UpdateJobQueueResponse
+ Amazonka.Batch: ArrayJobDependency' :: Text -> ArrayJobDependency
+ Amazonka.Batch: ArrayProperties' :: Maybe Int -> ArrayProperties
+ Amazonka.Batch: ArrayPropertiesDetail' :: Maybe Int -> Maybe Int -> Maybe (HashMap Text Int) -> ArrayPropertiesDetail
+ Amazonka.Batch: ArrayPropertiesSummary' :: Maybe Int -> Maybe Int -> ArrayPropertiesSummary
+ Amazonka.Batch: AssignPublicIp' :: Text -> AssignPublicIp
+ Amazonka.Batch: AttemptContainerDetail' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe [NetworkInterface] -> Maybe Text -> Maybe Text -> AttemptContainerDetail
+ Amazonka.Batch: AttemptDetail' :: Maybe AttemptContainerDetail -> Maybe Integer -> Maybe Text -> Maybe Integer -> AttemptDetail
+ Amazonka.Batch: CEState' :: Text -> CEState
+ Amazonka.Batch: CEStatus' :: Text -> CEStatus
+ Amazonka.Batch: CEType' :: Text -> CEType
+ Amazonka.Batch: CRAllocationStrategy' :: Text -> CRAllocationStrategy
+ Amazonka.Batch: CRType' :: Text -> CRType
+ Amazonka.Batch: CRUpdateAllocationStrategy' :: Text -> CRUpdateAllocationStrategy
+ Amazonka.Batch: CancelJob' :: Text -> Text -> CancelJob
+ Amazonka.Batch: CancelJobResponse' :: Int -> CancelJobResponse
+ Amazonka.Batch: ComputeEnvironmentDetail' :: Maybe ComputeResource -> Maybe OrchestrationType -> Maybe Text -> Maybe EksConfiguration -> Maybe Text -> Maybe CEState -> Maybe CEStatus -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe CEType -> Maybe Int -> Maybe UpdatePolicy -> Maybe Text -> Text -> Text -> ComputeEnvironmentDetail
+ Amazonka.Batch: ComputeEnvironmentOrder' :: Int -> Text -> ComputeEnvironmentOrder
+ Amazonka.Batch: ComputeResource' :: Maybe CRAllocationStrategy -> Maybe Int -> Maybe Int -> Maybe [Ec2Configuration] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe LaunchTemplateSpecification -> Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe (HashMap Text Text) -> CRType -> Int -> [Text] -> ComputeResource
+ Amazonka.Batch: ComputeResourceUpdate' :: Maybe CRUpdateAllocationStrategy -> Maybe Int -> Maybe Int -> Maybe [Ec2Configuration] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe LaunchTemplateSpecification -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe [Text] -> Maybe (HashMap Text Text) -> Maybe CRType -> Maybe Bool -> ComputeResourceUpdate
+ Amazonka.Batch: ContainerDetail' :: Maybe [Text] -> Maybe Text -> Maybe [KeyValuePair] -> Maybe Text -> Maybe Int -> Maybe FargatePlatformConfiguration -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe LinuxParameters -> Maybe LogConfiguration -> Maybe Text -> Maybe Int -> Maybe [MountPoint] -> Maybe NetworkConfiguration -> Maybe [NetworkInterface] -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe [ResourceRequirement] -> Maybe [Secret] -> Maybe Text -> Maybe [Ulimit] -> Maybe Text -> Maybe Int -> Maybe [Volume] -> ContainerDetail
+ Amazonka.Batch: ContainerOverrides' :: Maybe [Text] -> Maybe [KeyValuePair] -> Maybe Text -> Maybe Int -> Maybe [ResourceRequirement] -> Maybe Int -> ContainerOverrides
+ Amazonka.Batch: ContainerProperties' :: Maybe [Text] -> Maybe [KeyValuePair] -> Maybe Text -> Maybe FargatePlatformConfiguration -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe LinuxParameters -> Maybe LogConfiguration -> Maybe Int -> Maybe [MountPoint] -> Maybe NetworkConfiguration -> Maybe Bool -> Maybe Bool -> Maybe [ResourceRequirement] -> Maybe [Secret] -> Maybe [Ulimit] -> Maybe Text -> Maybe Int -> Maybe [Volume] -> ContainerProperties
+ Amazonka.Batch: ContainerSummary' :: Maybe Int -> Maybe Text -> ContainerSummary
+ Amazonka.Batch: CreateComputeEnvironment' :: Maybe ComputeResource -> Maybe EksConfiguration -> Maybe Text -> Maybe CEState -> Maybe (HashMap Text Text) -> Maybe Int -> Text -> CEType -> CreateComputeEnvironment
+ Amazonka.Batch: CreateComputeEnvironmentResponse' :: Maybe Text -> Maybe Text -> Int -> CreateComputeEnvironmentResponse
+ Amazonka.Batch: CreateJobQueue' :: Maybe Text -> Maybe JQState -> Maybe (HashMap Text Text) -> Text -> Int -> [ComputeEnvironmentOrder] -> CreateJobQueue
+ Amazonka.Batch: CreateJobQueueResponse' :: Int -> Text -> Text -> CreateJobQueueResponse
+ Amazonka.Batch: CreateSchedulingPolicy' :: Maybe FairsharePolicy -> Maybe (HashMap Text Text) -> Text -> CreateSchedulingPolicy
+ Amazonka.Batch: CreateSchedulingPolicyResponse' :: Int -> Text -> Text -> CreateSchedulingPolicyResponse
+ Amazonka.Batch: DeleteComputeEnvironment' :: Text -> DeleteComputeEnvironment
+ Amazonka.Batch: DeleteComputeEnvironmentResponse' :: Int -> DeleteComputeEnvironmentResponse
+ Amazonka.Batch: DeleteJobQueue' :: Text -> DeleteJobQueue
+ Amazonka.Batch: DeleteJobQueueResponse' :: Int -> DeleteJobQueueResponse
+ Amazonka.Batch: DeleteSchedulingPolicy' :: Text -> DeleteSchedulingPolicy
+ Amazonka.Batch: DeleteSchedulingPolicyResponse' :: Int -> DeleteSchedulingPolicyResponse
+ Amazonka.Batch: DeregisterJobDefinition' :: Text -> DeregisterJobDefinition
+ Amazonka.Batch: DeregisterJobDefinitionResponse' :: Int -> DeregisterJobDefinitionResponse
+ Amazonka.Batch: DescribeComputeEnvironments' :: Maybe [Text] -> Maybe Int -> Maybe Text -> DescribeComputeEnvironments
+ Amazonka.Batch: DescribeComputeEnvironmentsResponse' :: Maybe [ComputeEnvironmentDetail] -> Maybe Text -> Int -> DescribeComputeEnvironmentsResponse
+ Amazonka.Batch: DescribeJobDefinitions' :: Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe Text -> DescribeJobDefinitions
+ Amazonka.Batch: DescribeJobDefinitionsResponse' :: Maybe [JobDefinition] -> Maybe Text -> Int -> DescribeJobDefinitionsResponse
+ Amazonka.Batch: DescribeJobQueues' :: Maybe [Text] -> Maybe Int -> Maybe Text -> DescribeJobQueues
+ Amazonka.Batch: DescribeJobQueuesResponse' :: Maybe [JobQueueDetail] -> Maybe Text -> Int -> DescribeJobQueuesResponse
+ Amazonka.Batch: DescribeJobs' :: [Text] -> DescribeJobs
+ Amazonka.Batch: DescribeJobsResponse' :: Maybe [JobDetail] -> Int -> DescribeJobsResponse
+ Amazonka.Batch: DescribeSchedulingPolicies' :: [Text] -> DescribeSchedulingPolicies
+ Amazonka.Batch: DescribeSchedulingPoliciesResponse' :: Maybe [SchedulingPolicyDetail] -> Int -> DescribeSchedulingPoliciesResponse
+ Amazonka.Batch: Device' :: Maybe Text -> Maybe [DeviceCgroupPermission] -> Text -> Device
+ Amazonka.Batch: DeviceCgroupPermission' :: Text -> DeviceCgroupPermission
+ Amazonka.Batch: EFSAuthorizationConfig' :: Maybe Text -> Maybe EFSAuthorizationConfigIAM -> EFSAuthorizationConfig
+ Amazonka.Batch: EFSAuthorizationConfigIAM' :: Text -> EFSAuthorizationConfigIAM
+ Amazonka.Batch: EFSTransitEncryption' :: Text -> EFSTransitEncryption
+ Amazonka.Batch: EFSVolumeConfiguration' :: Maybe EFSAuthorizationConfig -> Maybe Text -> Maybe EFSTransitEncryption -> Maybe Int -> Text -> EFSVolumeConfiguration
+ Amazonka.Batch: Ec2Configuration' :: Maybe Text -> Maybe Text -> Text -> Ec2Configuration
+ Amazonka.Batch: EksAttemptContainerDetail' :: Maybe Int -> Maybe Text -> EksAttemptContainerDetail
+ Amazonka.Batch: EksAttemptDetail' :: Maybe [EksAttemptContainerDetail] -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Integer -> EksAttemptDetail
+ Amazonka.Batch: EksConfiguration' :: Text -> Text -> EksConfiguration
+ Amazonka.Batch: EksContainer' :: Maybe [Text] -> Maybe [Text] -> Maybe [EksContainerEnvironmentVariable] -> Maybe Text -> Maybe Text -> Maybe EksContainerResourceRequirements -> Maybe EksContainerSecurityContext -> Maybe [EksContainerVolumeMount] -> Text -> EksContainer
+ Amazonka.Batch: EksContainerDetail' :: Maybe [Text] -> Maybe [Text] -> Maybe [EksContainerEnvironmentVariable] -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe EksContainerResourceRequirements -> Maybe EksContainerSecurityContext -> Maybe [EksContainerVolumeMount] -> EksContainerDetail
+ Amazonka.Batch: EksContainerEnvironmentVariable' :: Maybe Text -> Text -> EksContainerEnvironmentVariable
+ Amazonka.Batch: EksContainerOverride' :: Maybe [Text] -> Maybe [Text] -> Maybe [EksContainerEnvironmentVariable] -> Maybe Text -> Maybe EksContainerResourceRequirements -> EksContainerOverride
+ Amazonka.Batch: EksContainerResourceRequirements' :: Maybe (HashMap Text Text) -> Maybe (HashMap Text Text) -> EksContainerResourceRequirements
+ Amazonka.Batch: EksContainerSecurityContext' :: Maybe Bool -> Maybe Bool -> Maybe Integer -> Maybe Bool -> Maybe Integer -> EksContainerSecurityContext
+ Amazonka.Batch: EksContainerVolumeMount' :: Maybe Text -> Maybe Text -> Maybe Bool -> EksContainerVolumeMount
+ Amazonka.Batch: EksEmptyDir' :: Maybe Text -> Maybe Text -> EksEmptyDir
+ Amazonka.Batch: EksHostPath' :: Maybe Text -> EksHostPath
+ Amazonka.Batch: EksPodProperties' :: Maybe [EksContainer] -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe [EksVolume] -> EksPodProperties
+ Amazonka.Batch: EksPodPropertiesDetail' :: Maybe [EksContainerDetail] -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [EksVolume] -> EksPodPropertiesDetail
+ Amazonka.Batch: EksPodPropertiesOverride' :: Maybe [EksContainerOverride] -> EksPodPropertiesOverride
+ Amazonka.Batch: EksProperties' :: Maybe EksPodProperties -> EksProperties
+ Amazonka.Batch: EksPropertiesDetail' :: Maybe EksPodPropertiesDetail -> EksPropertiesDetail
+ Amazonka.Batch: EksPropertiesOverride' :: Maybe EksPodPropertiesOverride -> EksPropertiesOverride
+ Amazonka.Batch: EksSecret' :: Maybe Bool -> Text -> EksSecret
+ Amazonka.Batch: EksVolume' :: Maybe EksEmptyDir -> Maybe EksHostPath -> Maybe EksSecret -> Text -> EksVolume
+ Amazonka.Batch: EvaluateOnExit' :: Maybe Text -> Maybe Text -> Maybe Text -> RetryAction -> EvaluateOnExit
+ Amazonka.Batch: FairsharePolicy' :: Maybe Int -> Maybe Int -> Maybe [ShareAttributes] -> FairsharePolicy
+ Amazonka.Batch: FargatePlatformConfiguration' :: Maybe Text -> FargatePlatformConfiguration
+ Amazonka.Batch: Host' :: Maybe Text -> Host
+ Amazonka.Batch: JQState' :: Text -> JQState
+ Amazonka.Batch: JQStatus' :: Text -> JQStatus
+ Amazonka.Batch: JobDefinition' :: Maybe OrchestrationType -> Maybe ContainerProperties -> Maybe EksProperties -> Maybe NodeProperties -> Maybe (HashMap Text Text) -> Maybe [PlatformCapability] -> Maybe Bool -> Maybe RetryStrategy -> Maybe Int -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe JobTimeout -> Text -> Text -> Int -> Text -> JobDefinition
+ Amazonka.Batch: JobDefinitionType' :: Text -> JobDefinitionType
+ Amazonka.Batch: JobDependency' :: Maybe Text -> Maybe ArrayJobDependency -> JobDependency
+ Amazonka.Batch: JobDetail' :: Maybe ArrayPropertiesDetail -> Maybe [AttemptDetail] -> Maybe ContainerDetail -> Maybe Integer -> Maybe [JobDependency] -> Maybe [EksAttemptDetail] -> Maybe EksPropertiesDetail -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe NodeDetails -> Maybe NodeProperties -> Maybe (HashMap Text Text) -> Maybe [PlatformCapability] -> Maybe Bool -> Maybe RetryStrategy -> Maybe Int -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Integer -> Maybe (HashMap Text Text) -> Maybe JobTimeout -> Text -> Text -> Text -> JobStatus -> Text -> JobDetail
+ Amazonka.Batch: JobQueueDetail' :: Maybe Text -> Maybe JQStatus -> Maybe Text -> Maybe (HashMap Text Text) -> Text -> Text -> JQState -> Int -> [ComputeEnvironmentOrder] -> JobQueueDetail
+ Amazonka.Batch: JobStatus' :: Text -> JobStatus
+ Amazonka.Batch: JobSummary' :: Maybe ArrayPropertiesSummary -> Maybe ContainerSummary -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe NodePropertiesSummary -> Maybe Integer -> Maybe JobStatus -> Maybe Text -> Maybe Integer -> Text -> Text -> JobSummary
+ Amazonka.Batch: JobTimeout' :: Maybe Int -> JobTimeout
+ Amazonka.Batch: KeyValuePair' :: Maybe Text -> Maybe Text -> KeyValuePair
+ Amazonka.Batch: KeyValuesPair' :: Maybe Text -> Maybe [Text] -> KeyValuesPair
+ Amazonka.Batch: LaunchTemplateSpecification' :: Maybe Text -> Maybe Text -> Maybe Text -> LaunchTemplateSpecification
+ Amazonka.Batch: LinuxParameters' :: Maybe [Device] -> Maybe Bool -> Maybe Int -> Maybe Int -> Maybe Int -> Maybe [Tmpfs] -> LinuxParameters
+ Amazonka.Batch: ListJobs' :: Maybe Text -> Maybe [KeyValuesPair] -> Maybe Text -> Maybe JobStatus -> Maybe Int -> Maybe Text -> Maybe Text -> ListJobs
+ Amazonka.Batch: ListJobsResponse' :: Maybe Text -> Int -> [JobSummary] -> ListJobsResponse
+ Amazonka.Batch: ListSchedulingPolicies' :: Maybe Int -> Maybe Text -> ListSchedulingPolicies
+ Amazonka.Batch: ListSchedulingPoliciesResponse' :: Maybe Text -> Maybe [SchedulingPolicyListingDetail] -> Int -> ListSchedulingPoliciesResponse
+ Amazonka.Batch: ListTagsForResource' :: Text -> ListTagsForResource
+ Amazonka.Batch: ListTagsForResourceResponse' :: Maybe (HashMap Text Text) -> Int -> ListTagsForResourceResponse
+ Amazonka.Batch: LogConfiguration' :: Maybe (HashMap Text Text) -> Maybe [Secret] -> LogDriver -> LogConfiguration
+ Amazonka.Batch: LogDriver' :: Text -> LogDriver
+ Amazonka.Batch: MountPoint' :: Maybe Text -> Maybe Bool -> Maybe Text -> MountPoint
+ Amazonka.Batch: NetworkConfiguration' :: Maybe AssignPublicIp -> NetworkConfiguration
+ Amazonka.Batch: NetworkInterface' :: Maybe Text -> Maybe Text -> Maybe Text -> NetworkInterface
+ Amazonka.Batch: NodeDetails' :: Maybe Bool -> Maybe Int -> NodeDetails
+ Amazonka.Batch: NodeOverrides' :: Maybe [NodePropertyOverride] -> Maybe Int -> NodeOverrides
+ Amazonka.Batch: NodeProperties' :: Int -> Int -> [NodeRangeProperty] -> NodeProperties
+ Amazonka.Batch: NodePropertiesSummary' :: Maybe Bool -> Maybe Int -> Maybe Int -> NodePropertiesSummary
+ Amazonka.Batch: NodePropertyOverride' :: Maybe ContainerOverrides -> Text -> NodePropertyOverride
+ Amazonka.Batch: NodeRangeProperty' :: Maybe ContainerProperties -> Text -> NodeRangeProperty
+ Amazonka.Batch: OrchestrationType' :: Text -> OrchestrationType
+ Amazonka.Batch: PlatformCapability' :: Text -> PlatformCapability
+ Amazonka.Batch: RegisterJobDefinition' :: Maybe ContainerProperties -> Maybe EksProperties -> Maybe NodeProperties -> Maybe (HashMap Text Text) -> Maybe [PlatformCapability] -> Maybe Bool -> Maybe RetryStrategy -> Maybe Int -> Maybe (HashMap Text Text) -> Maybe JobTimeout -> Text -> JobDefinitionType -> RegisterJobDefinition
+ Amazonka.Batch: RegisterJobDefinitionResponse' :: Int -> Text -> Text -> Int -> RegisterJobDefinitionResponse
+ Amazonka.Batch: ResourceRequirement' :: Text -> ResourceType -> ResourceRequirement
+ Amazonka.Batch: ResourceType' :: Text -> ResourceType
+ Amazonka.Batch: RetryAction' :: Text -> RetryAction
+ Amazonka.Batch: RetryStrategy' :: Maybe Int -> Maybe [EvaluateOnExit] -> RetryStrategy
+ Amazonka.Batch: SchedulingPolicyDetail' :: Maybe FairsharePolicy -> Maybe (HashMap Text Text) -> Text -> Text -> SchedulingPolicyDetail
+ Amazonka.Batch: SchedulingPolicyListingDetail' :: Text -> SchedulingPolicyListingDetail
+ Amazonka.Batch: Secret' :: Text -> Text -> Secret
+ Amazonka.Batch: ShareAttributes' :: Maybe Double -> Text -> ShareAttributes
+ Amazonka.Batch: SubmitJob' :: Maybe ArrayProperties -> Maybe ContainerOverrides -> Maybe [JobDependency] -> Maybe EksPropertiesOverride -> Maybe NodeOverrides -> Maybe (HashMap Text Text) -> Maybe Bool -> Maybe RetryStrategy -> Maybe Int -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe JobTimeout -> Text -> Text -> Text -> SubmitJob
+ Amazonka.Batch: SubmitJobResponse' :: Maybe Text -> Int -> Text -> Text -> SubmitJobResponse
+ Amazonka.Batch: TagResource' :: Text -> HashMap Text Text -> TagResource
+ Amazonka.Batch: TagResourceResponse' :: Int -> TagResourceResponse
+ Amazonka.Batch: TerminateJob' :: Text -> Text -> TerminateJob
+ Amazonka.Batch: TerminateJobResponse' :: Int -> TerminateJobResponse
+ Amazonka.Batch: Tmpfs' :: Maybe [Text] -> Text -> Int -> Tmpfs
+ Amazonka.Batch: Ulimit' :: Int -> Text -> Int -> Ulimit
+ Amazonka.Batch: UntagResource' :: Text -> NonEmpty Text -> UntagResource
+ Amazonka.Batch: UntagResourceResponse' :: Int -> UntagResourceResponse
+ Amazonka.Batch: UpdateComputeEnvironment' :: Maybe ComputeResourceUpdate -> Maybe Text -> Maybe CEState -> Maybe Int -> Maybe UpdatePolicy -> Text -> UpdateComputeEnvironment
+ Amazonka.Batch: UpdateComputeEnvironmentResponse' :: Maybe Text -> Maybe Text -> Int -> UpdateComputeEnvironmentResponse
+ Amazonka.Batch: UpdateJobQueue' :: Maybe [ComputeEnvironmentOrder] -> Maybe Int -> Maybe Text -> Maybe JQState -> Text -> UpdateJobQueue
+ Amazonka.Batch: UpdateJobQueueResponse' :: Maybe Text -> Maybe Text -> Int -> UpdateJobQueueResponse
+ Amazonka.Batch: UpdatePolicy' :: Maybe Natural -> Maybe Bool -> UpdatePolicy
+ Amazonka.Batch: UpdateSchedulingPolicy' :: Maybe FairsharePolicy -> Text -> UpdateSchedulingPolicy
+ Amazonka.Batch: UpdateSchedulingPolicyResponse' :: Int -> UpdateSchedulingPolicyResponse
+ Amazonka.Batch: Volume' :: Maybe EFSVolumeConfiguration -> Maybe Host -> Maybe Text -> Volume
+ Amazonka.Batch: [fromArrayJobDependency] :: ArrayJobDependency -> Text
+ Amazonka.Batch: [fromAssignPublicIp] :: AssignPublicIp -> Text
+ Amazonka.Batch: [fromCEState] :: CEState -> Text
+ Amazonka.Batch: [fromCEStatus] :: CEStatus -> Text
+ Amazonka.Batch: [fromCEType] :: CEType -> Text
+ Amazonka.Batch: [fromCRAllocationStrategy] :: CRAllocationStrategy -> Text
+ Amazonka.Batch: [fromCRType] :: CRType -> Text
+ Amazonka.Batch: [fromCRUpdateAllocationStrategy] :: CRUpdateAllocationStrategy -> Text
+ Amazonka.Batch: [fromDeviceCgroupPermission] :: DeviceCgroupPermission -> Text
+ Amazonka.Batch: [fromEFSAuthorizationConfigIAM] :: EFSAuthorizationConfigIAM -> Text
+ Amazonka.Batch: [fromEFSTransitEncryption] :: EFSTransitEncryption -> Text
+ Amazonka.Batch: [fromJQState] :: JQState -> Text
+ Amazonka.Batch: [fromJQStatus] :: JQStatus -> Text
+ Amazonka.Batch: [fromJobDefinitionType] :: JobDefinitionType -> Text
+ Amazonka.Batch: [fromJobStatus] :: JobStatus -> Text
+ Amazonka.Batch: [fromLogDriver] :: LogDriver -> Text
+ Amazonka.Batch: [fromOrchestrationType] :: OrchestrationType -> Text
+ Amazonka.Batch: [fromPlatformCapability] :: PlatformCapability -> Text
+ Amazonka.Batch: [fromResourceType] :: ResourceType -> Text
+ Amazonka.Batch: [fromRetryAction] :: RetryAction -> Text
+ Amazonka.Batch: _ClientException :: AsError a => Fold a ServiceError
+ Amazonka.Batch: _ServerException :: AsError a => Fold a ServiceError
+ Amazonka.Batch: data ArrayProperties
+ Amazonka.Batch: data ArrayPropertiesDetail
+ Amazonka.Batch: data ArrayPropertiesSummary
+ Amazonka.Batch: data AttemptContainerDetail
+ Amazonka.Batch: data AttemptDetail
+ Amazonka.Batch: data CancelJob
+ Amazonka.Batch: data CancelJobResponse
+ Amazonka.Batch: data ComputeEnvironmentDetail
+ Amazonka.Batch: data ComputeEnvironmentOrder
+ Amazonka.Batch: data ComputeResource
+ Amazonka.Batch: data ComputeResourceUpdate
+ Amazonka.Batch: data ContainerDetail
+ Amazonka.Batch: data ContainerOverrides
+ Amazonka.Batch: data ContainerProperties
+ Amazonka.Batch: data ContainerSummary
+ Amazonka.Batch: data CreateComputeEnvironment
+ Amazonka.Batch: data CreateComputeEnvironmentResponse
+ Amazonka.Batch: data CreateJobQueue
+ Amazonka.Batch: data CreateJobQueueResponse
+ Amazonka.Batch: data CreateSchedulingPolicy
+ Amazonka.Batch: data CreateSchedulingPolicyResponse
+ Amazonka.Batch: data DeleteComputeEnvironment
+ Amazonka.Batch: data DeleteComputeEnvironmentResponse
+ Amazonka.Batch: data DeleteJobQueue
+ Amazonka.Batch: data DeleteJobQueueResponse
+ Amazonka.Batch: data DeleteSchedulingPolicy
+ Amazonka.Batch: data DeleteSchedulingPolicyResponse
+ Amazonka.Batch: data DeregisterJobDefinition
+ Amazonka.Batch: data DeregisterJobDefinitionResponse
+ Amazonka.Batch: data DescribeComputeEnvironments
+ Amazonka.Batch: data DescribeComputeEnvironmentsResponse
+ Amazonka.Batch: data DescribeJobDefinitions
+ Amazonka.Batch: data DescribeJobDefinitionsResponse
+ Amazonka.Batch: data DescribeJobQueues
+ Amazonka.Batch: data DescribeJobQueuesResponse
+ Amazonka.Batch: data DescribeJobs
+ Amazonka.Batch: data DescribeJobsResponse
+ Amazonka.Batch: data DescribeSchedulingPolicies
+ Amazonka.Batch: data DescribeSchedulingPoliciesResponse
+ Amazonka.Batch: data Device
+ Amazonka.Batch: data EFSAuthorizationConfig
+ Amazonka.Batch: data EFSVolumeConfiguration
+ Amazonka.Batch: data Ec2Configuration
+ Amazonka.Batch: data EksAttemptContainerDetail
+ Amazonka.Batch: data EksAttemptDetail
+ Amazonka.Batch: data EksConfiguration
+ Amazonka.Batch: data EksContainer
+ Amazonka.Batch: data EksContainerDetail
+ Amazonka.Batch: data EksContainerEnvironmentVariable
+ Amazonka.Batch: data EksContainerOverride
+ Amazonka.Batch: data EksContainerResourceRequirements
+ Amazonka.Batch: data EksContainerSecurityContext
+ Amazonka.Batch: data EksContainerVolumeMount
+ Amazonka.Batch: data EksEmptyDir
+ Amazonka.Batch: data EksHostPath
+ Amazonka.Batch: data EksPodProperties
+ Amazonka.Batch: data EksPodPropertiesDetail
+ Amazonka.Batch: data EksPodPropertiesOverride
+ Amazonka.Batch: data EksProperties
+ Amazonka.Batch: data EksPropertiesDetail
+ Amazonka.Batch: data EksPropertiesOverride
+ Amazonka.Batch: data EksSecret
+ Amazonka.Batch: data EksVolume
+ Amazonka.Batch: data EvaluateOnExit
+ Amazonka.Batch: data FairsharePolicy
+ Amazonka.Batch: data FargatePlatformConfiguration
+ Amazonka.Batch: data Host
+ Amazonka.Batch: data JobDefinition
+ Amazonka.Batch: data JobDependency
+ Amazonka.Batch: data JobDetail
+ Amazonka.Batch: data JobQueueDetail
+ Amazonka.Batch: data JobSummary
+ Amazonka.Batch: data JobTimeout
+ Amazonka.Batch: data KeyValuePair
+ Amazonka.Batch: data KeyValuesPair
+ Amazonka.Batch: data LaunchTemplateSpecification
+ Amazonka.Batch: data LinuxParameters
+ Amazonka.Batch: data ListJobs
+ Amazonka.Batch: data ListJobsResponse
+ Amazonka.Batch: data ListSchedulingPolicies
+ Amazonka.Batch: data ListSchedulingPoliciesResponse
+ Amazonka.Batch: data ListTagsForResource
+ Amazonka.Batch: data ListTagsForResourceResponse
+ Amazonka.Batch: data LogConfiguration
+ Amazonka.Batch: data MountPoint
+ Amazonka.Batch: data NetworkConfiguration
+ Amazonka.Batch: data NetworkInterface
+ Amazonka.Batch: data NodeDetails
+ Amazonka.Batch: data NodeOverrides
+ Amazonka.Batch: data NodeProperties
+ Amazonka.Batch: data NodePropertiesSummary
+ Amazonka.Batch: data NodePropertyOverride
+ Amazonka.Batch: data NodeRangeProperty
+ Amazonka.Batch: data RegisterJobDefinition
+ Amazonka.Batch: data RegisterJobDefinitionResponse
+ Amazonka.Batch: data ResourceRequirement
+ Amazonka.Batch: data RetryStrategy
+ Amazonka.Batch: data SchedulingPolicyDetail
+ Amazonka.Batch: data SchedulingPolicyListingDetail
+ Amazonka.Batch: data Secret
+ Amazonka.Batch: data ShareAttributes
+ Amazonka.Batch: data SubmitJob
+ Amazonka.Batch: data SubmitJobResponse
+ Amazonka.Batch: data TagResource
+ Amazonka.Batch: data TagResourceResponse
+ Amazonka.Batch: data TerminateJob
+ Amazonka.Batch: data TerminateJobResponse
+ Amazonka.Batch: data Tmpfs
+ Amazonka.Batch: data Ulimit
+ Amazonka.Batch: data UntagResource
+ Amazonka.Batch: data UntagResourceResponse
+ Amazonka.Batch: data UpdateComputeEnvironment
+ Amazonka.Batch: data UpdateComputeEnvironmentResponse
+ Amazonka.Batch: data UpdateJobQueue
+ Amazonka.Batch: data UpdateJobQueueResponse
+ Amazonka.Batch: data UpdatePolicy
+ Amazonka.Batch: data UpdateSchedulingPolicy
+ Amazonka.Batch: data UpdateSchedulingPolicyResponse
+ Amazonka.Batch: data Volume
+ Amazonka.Batch: defaultService :: Service
+ Amazonka.Batch: newArrayProperties :: ArrayProperties
+ Amazonka.Batch: newArrayPropertiesDetail :: ArrayPropertiesDetail
+ Amazonka.Batch: newArrayPropertiesSummary :: ArrayPropertiesSummary
+ Amazonka.Batch: newAttemptContainerDetail :: AttemptContainerDetail
+ Amazonka.Batch: newAttemptDetail :: AttemptDetail
+ Amazonka.Batch: newCancelJob :: Text -> Text -> CancelJob
+ Amazonka.Batch: newCancelJobResponse :: Int -> CancelJobResponse
+ Amazonka.Batch: newComputeEnvironmentDetail :: Text -> Text -> ComputeEnvironmentDetail
+ Amazonka.Batch: newComputeEnvironmentOrder :: Int -> Text -> ComputeEnvironmentOrder
+ Amazonka.Batch: newComputeResource :: CRType -> Int -> ComputeResource
+ Amazonka.Batch: newComputeResourceUpdate :: ComputeResourceUpdate
+ Amazonka.Batch: newContainerDetail :: ContainerDetail
+ Amazonka.Batch: newContainerOverrides :: ContainerOverrides
+ Amazonka.Batch: newContainerProperties :: ContainerProperties
+ Amazonka.Batch: newContainerSummary :: ContainerSummary
+ Amazonka.Batch: newCreateComputeEnvironment :: Text -> CEType -> CreateComputeEnvironment
+ Amazonka.Batch: newCreateComputeEnvironmentResponse :: Int -> CreateComputeEnvironmentResponse
+ Amazonka.Batch: newCreateJobQueue :: Text -> Int -> CreateJobQueue
+ Amazonka.Batch: newCreateJobQueueResponse :: Int -> Text -> Text -> CreateJobQueueResponse
+ Amazonka.Batch: newCreateSchedulingPolicy :: Text -> CreateSchedulingPolicy
+ Amazonka.Batch: newCreateSchedulingPolicyResponse :: Int -> Text -> Text -> CreateSchedulingPolicyResponse
+ Amazonka.Batch: newDeleteComputeEnvironment :: Text -> DeleteComputeEnvironment
+ Amazonka.Batch: newDeleteComputeEnvironmentResponse :: Int -> DeleteComputeEnvironmentResponse
+ Amazonka.Batch: newDeleteJobQueue :: Text -> DeleteJobQueue
+ Amazonka.Batch: newDeleteJobQueueResponse :: Int -> DeleteJobQueueResponse
+ Amazonka.Batch: newDeleteSchedulingPolicy :: Text -> DeleteSchedulingPolicy
+ Amazonka.Batch: newDeleteSchedulingPolicyResponse :: Int -> DeleteSchedulingPolicyResponse
+ Amazonka.Batch: newDeregisterJobDefinition :: Text -> DeregisterJobDefinition
+ Amazonka.Batch: newDeregisterJobDefinitionResponse :: Int -> DeregisterJobDefinitionResponse
+ Amazonka.Batch: newDescribeComputeEnvironments :: DescribeComputeEnvironments
+ Amazonka.Batch: newDescribeComputeEnvironmentsResponse :: Int -> DescribeComputeEnvironmentsResponse
+ Amazonka.Batch: newDescribeJobDefinitions :: DescribeJobDefinitions
+ Amazonka.Batch: newDescribeJobDefinitionsResponse :: Int -> DescribeJobDefinitionsResponse
+ Amazonka.Batch: newDescribeJobQueues :: DescribeJobQueues
+ Amazonka.Batch: newDescribeJobQueuesResponse :: Int -> DescribeJobQueuesResponse
+ Amazonka.Batch: newDescribeJobs :: DescribeJobs
+ Amazonka.Batch: newDescribeJobsResponse :: Int -> DescribeJobsResponse
+ Amazonka.Batch: newDescribeSchedulingPolicies :: DescribeSchedulingPolicies
+ Amazonka.Batch: newDescribeSchedulingPoliciesResponse :: Int -> DescribeSchedulingPoliciesResponse
+ Amazonka.Batch: newDevice :: Text -> Device
+ Amazonka.Batch: newEFSAuthorizationConfig :: EFSAuthorizationConfig
+ Amazonka.Batch: newEFSVolumeConfiguration :: Text -> EFSVolumeConfiguration
+ Amazonka.Batch: newEc2Configuration :: Text -> Ec2Configuration
+ Amazonka.Batch: newEksAttemptContainerDetail :: EksAttemptContainerDetail
+ Amazonka.Batch: newEksAttemptDetail :: EksAttemptDetail
+ Amazonka.Batch: newEksConfiguration :: Text -> Text -> EksConfiguration
+ Amazonka.Batch: newEksContainer :: Text -> EksContainer
+ Amazonka.Batch: newEksContainerDetail :: EksContainerDetail
+ Amazonka.Batch: newEksContainerEnvironmentVariable :: Text -> EksContainerEnvironmentVariable
+ Amazonka.Batch: newEksContainerOverride :: EksContainerOverride
+ Amazonka.Batch: newEksContainerResourceRequirements :: EksContainerResourceRequirements
+ Amazonka.Batch: newEksContainerSecurityContext :: EksContainerSecurityContext
+ Amazonka.Batch: newEksContainerVolumeMount :: EksContainerVolumeMount
+ Amazonka.Batch: newEksEmptyDir :: EksEmptyDir
+ Amazonka.Batch: newEksHostPath :: EksHostPath
+ Amazonka.Batch: newEksPodProperties :: EksPodProperties
+ Amazonka.Batch: newEksPodPropertiesDetail :: EksPodPropertiesDetail
+ Amazonka.Batch: newEksPodPropertiesOverride :: EksPodPropertiesOverride
+ Amazonka.Batch: newEksProperties :: EksProperties
+ Amazonka.Batch: newEksPropertiesDetail :: EksPropertiesDetail
+ Amazonka.Batch: newEksPropertiesOverride :: EksPropertiesOverride
+ Amazonka.Batch: newEksSecret :: Text -> EksSecret
+ Amazonka.Batch: newEksVolume :: Text -> EksVolume
+ Amazonka.Batch: newEvaluateOnExit :: RetryAction -> EvaluateOnExit
+ Amazonka.Batch: newFairsharePolicy :: FairsharePolicy
+ Amazonka.Batch: newFargatePlatformConfiguration :: FargatePlatformConfiguration
+ Amazonka.Batch: newHost :: Host
+ Amazonka.Batch: newJobDefinition :: Text -> Text -> Int -> Text -> JobDefinition
+ Amazonka.Batch: newJobDependency :: JobDependency
+ Amazonka.Batch: newJobDetail :: Text -> Text -> Text -> JobStatus -> Text -> JobDetail
+ Amazonka.Batch: newJobQueueDetail :: Text -> Text -> JQState -> Int -> JobQueueDetail
+ Amazonka.Batch: newJobSummary :: Text -> Text -> JobSummary
+ Amazonka.Batch: newJobTimeout :: JobTimeout
+ Amazonka.Batch: newKeyValuePair :: KeyValuePair
+ Amazonka.Batch: newKeyValuesPair :: KeyValuesPair
+ Amazonka.Batch: newLaunchTemplateSpecification :: LaunchTemplateSpecification
+ Amazonka.Batch: newLinuxParameters :: LinuxParameters
+ Amazonka.Batch: newListJobs :: ListJobs
+ Amazonka.Batch: newListJobsResponse :: Int -> ListJobsResponse
+ Amazonka.Batch: newListSchedulingPolicies :: ListSchedulingPolicies
+ Amazonka.Batch: newListSchedulingPoliciesResponse :: Int -> ListSchedulingPoliciesResponse
+ Amazonka.Batch: newListTagsForResource :: Text -> ListTagsForResource
+ Amazonka.Batch: newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
+ Amazonka.Batch: newLogConfiguration :: LogDriver -> LogConfiguration
+ Amazonka.Batch: newMountPoint :: MountPoint
+ Amazonka.Batch: newNetworkConfiguration :: NetworkConfiguration
+ Amazonka.Batch: newNetworkInterface :: NetworkInterface
+ Amazonka.Batch: newNodeDetails :: NodeDetails
+ Amazonka.Batch: newNodeOverrides :: NodeOverrides
+ Amazonka.Batch: newNodeProperties :: Int -> Int -> NodeProperties
+ Amazonka.Batch: newNodePropertiesSummary :: NodePropertiesSummary
+ Amazonka.Batch: newNodePropertyOverride :: Text -> NodePropertyOverride
+ Amazonka.Batch: newNodeRangeProperty :: Text -> NodeRangeProperty
+ Amazonka.Batch: newRegisterJobDefinition :: Text -> JobDefinitionType -> RegisterJobDefinition
+ Amazonka.Batch: newRegisterJobDefinitionResponse :: Int -> Text -> Text -> Int -> RegisterJobDefinitionResponse
+ Amazonka.Batch: newResourceRequirement :: Text -> ResourceType -> ResourceRequirement
+ Amazonka.Batch: newRetryStrategy :: RetryStrategy
+ Amazonka.Batch: newSchedulingPolicyDetail :: Text -> Text -> SchedulingPolicyDetail
+ Amazonka.Batch: newSchedulingPolicyListingDetail :: Text -> SchedulingPolicyListingDetail
+ Amazonka.Batch: newSecret :: Text -> Text -> Secret
+ Amazonka.Batch: newShareAttributes :: Text -> ShareAttributes
+ Amazonka.Batch: newSubmitJob :: Text -> Text -> Text -> SubmitJob
+ Amazonka.Batch: newSubmitJobResponse :: Int -> Text -> Text -> SubmitJobResponse
+ Amazonka.Batch: newTagResource :: Text -> TagResource
+ Amazonka.Batch: newTagResourceResponse :: Int -> TagResourceResponse
+ Amazonka.Batch: newTerminateJob :: Text -> Text -> TerminateJob
+ Amazonka.Batch: newTerminateJobResponse :: Int -> TerminateJobResponse
+ Amazonka.Batch: newTmpfs :: Text -> Int -> Tmpfs
+ Amazonka.Batch: newUlimit :: Int -> Text -> Int -> Ulimit
+ Amazonka.Batch: newUntagResource :: Text -> NonEmpty Text -> UntagResource
+ Amazonka.Batch: newUntagResourceResponse :: Int -> UntagResourceResponse
+ Amazonka.Batch: newUpdateComputeEnvironment :: Text -> UpdateComputeEnvironment
+ Amazonka.Batch: newUpdateComputeEnvironmentResponse :: Int -> UpdateComputeEnvironmentResponse
+ Amazonka.Batch: newUpdateJobQueue :: Text -> UpdateJobQueue
+ Amazonka.Batch: newUpdateJobQueueResponse :: Int -> UpdateJobQueueResponse
+ Amazonka.Batch: newUpdatePolicy :: UpdatePolicy
+ Amazonka.Batch: newUpdateSchedulingPolicy :: Text -> UpdateSchedulingPolicy
+ Amazonka.Batch: newUpdateSchedulingPolicyResponse :: Int -> UpdateSchedulingPolicyResponse
+ Amazonka.Batch: newVolume :: Volume
+ Amazonka.Batch: newtype ArrayJobDependency
+ Amazonka.Batch: newtype AssignPublicIp
+ Amazonka.Batch: newtype CEState
+ Amazonka.Batch: newtype CEStatus
+ Amazonka.Batch: newtype CEType
+ Amazonka.Batch: newtype CRAllocationStrategy
+ Amazonka.Batch: newtype CRType
+ Amazonka.Batch: newtype CRUpdateAllocationStrategy
+ Amazonka.Batch: newtype DeviceCgroupPermission
+ Amazonka.Batch: newtype EFSAuthorizationConfigIAM
+ Amazonka.Batch: newtype EFSTransitEncryption
+ Amazonka.Batch: newtype JQState
+ Amazonka.Batch: newtype JQStatus
+ Amazonka.Batch: newtype JobDefinitionType
+ Amazonka.Batch: newtype JobStatus
+ Amazonka.Batch: newtype LogDriver
+ Amazonka.Batch: newtype OrchestrationType
+ Amazonka.Batch: newtype PlatformCapability
+ Amazonka.Batch: newtype ResourceType
+ Amazonka.Batch: newtype RetryAction
+ Amazonka.Batch: pattern ArrayJobDependency_N_TO_N :: ArrayJobDependency
+ Amazonka.Batch: pattern ArrayJobDependency_SEQUENTIAL :: ArrayJobDependency
+ Amazonka.Batch: pattern AssignPublicIp_DISABLED :: AssignPublicIp
+ Amazonka.Batch: pattern AssignPublicIp_ENABLED :: AssignPublicIp
+ Amazonka.Batch: pattern CEState_DISABLED :: CEState
+ Amazonka.Batch: pattern CEState_ENABLED :: CEState
+ Amazonka.Batch: pattern CEStatus_CREATING :: CEStatus
+ Amazonka.Batch: pattern CEStatus_DELETED :: CEStatus
+ Amazonka.Batch: pattern CEStatus_DELETING :: CEStatus
+ Amazonka.Batch: pattern CEStatus_INVALID :: CEStatus
+ Amazonka.Batch: pattern CEStatus_UPDATING :: CEStatus
+ Amazonka.Batch: pattern CEStatus_VALID :: CEStatus
+ Amazonka.Batch: pattern CEType_MANAGED :: CEType
+ Amazonka.Batch: pattern CEType_UNMANAGED :: CEType
+ Amazonka.Batch: pattern CRAllocationStrategy_BEST_FIT :: CRAllocationStrategy
+ Amazonka.Batch: pattern CRAllocationStrategy_BEST_FIT_PROGRESSIVE :: CRAllocationStrategy
+ Amazonka.Batch: pattern CRAllocationStrategy_SPOT_CAPACITY_OPTIMIZED :: CRAllocationStrategy
+ Amazonka.Batch: pattern CRType_EC2 :: CRType
+ Amazonka.Batch: pattern CRType_FARGATE :: CRType
+ Amazonka.Batch: pattern CRType_FARGATE_SPOT :: CRType
+ Amazonka.Batch: pattern CRType_SPOT :: CRType
+ Amazonka.Batch: pattern CRUpdateAllocationStrategy_BEST_FIT_PROGRESSIVE :: CRUpdateAllocationStrategy
+ Amazonka.Batch: pattern CRUpdateAllocationStrategy_SPOT_CAPACITY_OPTIMIZED :: CRUpdateAllocationStrategy
+ Amazonka.Batch: pattern DeviceCgroupPermission_MKNOD :: DeviceCgroupPermission
+ Amazonka.Batch: pattern DeviceCgroupPermission_READ :: DeviceCgroupPermission
+ Amazonka.Batch: pattern DeviceCgroupPermission_WRITE :: DeviceCgroupPermission
+ Amazonka.Batch: pattern EFSAuthorizationConfigIAM_DISABLED :: EFSAuthorizationConfigIAM
+ Amazonka.Batch: pattern EFSAuthorizationConfigIAM_ENABLED :: EFSAuthorizationConfigIAM
+ Amazonka.Batch: pattern EFSTransitEncryption_DISABLED :: EFSTransitEncryption
+ Amazonka.Batch: pattern EFSTransitEncryption_ENABLED :: EFSTransitEncryption
+ Amazonka.Batch: pattern JQState_DISABLED :: JQState
+ Amazonka.Batch: pattern JQState_ENABLED :: JQState
+ Amazonka.Batch: pattern JQStatus_CREATING :: JQStatus
+ Amazonka.Batch: pattern JQStatus_DELETED :: JQStatus
+ Amazonka.Batch: pattern JQStatus_DELETING :: JQStatus
+ Amazonka.Batch: pattern JQStatus_INVALID :: JQStatus
+ Amazonka.Batch: pattern JQStatus_UPDATING :: JQStatus
+ Amazonka.Batch: pattern JQStatus_VALID :: JQStatus
+ Amazonka.Batch: pattern JobDefinitionType_Container :: JobDefinitionType
+ Amazonka.Batch: pattern JobDefinitionType_Multinode :: JobDefinitionType
+ Amazonka.Batch: pattern JobStatus_FAILED :: JobStatus
+ Amazonka.Batch: pattern JobStatus_PENDING :: JobStatus
+ Amazonka.Batch: pattern JobStatus_RUNNABLE :: JobStatus
+ Amazonka.Batch: pattern JobStatus_RUNNING :: JobStatus
+ Amazonka.Batch: pattern JobStatus_STARTING :: JobStatus
+ Amazonka.Batch: pattern JobStatus_SUBMITTED :: JobStatus
+ Amazonka.Batch: pattern JobStatus_SUCCEEDED :: JobStatus
+ Amazonka.Batch: pattern LogDriver_Awslogs :: LogDriver
+ Amazonka.Batch: pattern LogDriver_Fluentd :: LogDriver
+ Amazonka.Batch: pattern LogDriver_Gelf :: LogDriver
+ Amazonka.Batch: pattern LogDriver_Journald :: LogDriver
+ Amazonka.Batch: pattern LogDriver_Json_file :: LogDriver
+ Amazonka.Batch: pattern LogDriver_Splunk :: LogDriver
+ Amazonka.Batch: pattern LogDriver_Syslog :: LogDriver
+ Amazonka.Batch: pattern OrchestrationType_ECS :: OrchestrationType
+ Amazonka.Batch: pattern OrchestrationType_EKS :: OrchestrationType
+ Amazonka.Batch: pattern PlatformCapability_EC2 :: PlatformCapability
+ Amazonka.Batch: pattern PlatformCapability_FARGATE :: PlatformCapability
+ Amazonka.Batch: pattern ResourceType_GPU :: ResourceType
+ Amazonka.Batch: pattern ResourceType_MEMORY :: ResourceType
+ Amazonka.Batch: pattern ResourceType_VCPU :: ResourceType
+ Amazonka.Batch: pattern RetryAction_EXIT :: RetryAction
+ Amazonka.Batch: pattern RetryAction_RETRY :: RetryAction
+ Amazonka.Batch.CancelJob: CancelJob' :: Text -> Text -> CancelJob
+ Amazonka.Batch.CancelJob: CancelJobResponse' :: Int -> CancelJobResponse
+ Amazonka.Batch.CancelJob: [$sel:httpStatus:CancelJobResponse'] :: CancelJobResponse -> Int
+ Amazonka.Batch.CancelJob: [$sel:jobId:CancelJob'] :: CancelJob -> Text
+ Amazonka.Batch.CancelJob: [$sel:reason:CancelJob'] :: CancelJob -> Text
+ Amazonka.Batch.CancelJob: cancelJobResponse_httpStatus :: Lens' CancelJobResponse Int
+ Amazonka.Batch.CancelJob: cancelJob_jobId :: Lens' CancelJob Text
+ Amazonka.Batch.CancelJob: cancelJob_reason :: Lens' CancelJob Text
+ Amazonka.Batch.CancelJob: data CancelJob
+ Amazonka.Batch.CancelJob: data CancelJobResponse
+ Amazonka.Batch.CancelJob: instance Amazonka.Data.Headers.ToHeaders Amazonka.Batch.CancelJob.CancelJob
+ Amazonka.Batch.CancelJob: instance Amazonka.Data.Path.ToPath Amazonka.Batch.CancelJob.CancelJob
+ Amazonka.Batch.CancelJob: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.CancelJob.CancelJob
+ Amazonka.Batch.CancelJob: instance Amazonka.Types.AWSRequest Amazonka.Batch.CancelJob.CancelJob
+ Amazonka.Batch.CancelJob: instance Control.DeepSeq.NFData Amazonka.Batch.CancelJob.CancelJob
+ Amazonka.Batch.CancelJob: instance Control.DeepSeq.NFData Amazonka.Batch.CancelJob.CancelJobResponse
+ Amazonka.Batch.CancelJob: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.CancelJob.CancelJob
+ Amazonka.Batch.CancelJob: instance Data.Hashable.Class.Hashable Amazonka.Batch.CancelJob.CancelJob
+ Amazonka.Batch.CancelJob: instance GHC.Classes.Eq Amazonka.Batch.CancelJob.CancelJob
+ Amazonka.Batch.CancelJob: instance GHC.Classes.Eq Amazonka.Batch.CancelJob.CancelJobResponse
+ Amazonka.Batch.CancelJob: instance GHC.Generics.Generic Amazonka.Batch.CancelJob.CancelJob
+ Amazonka.Batch.CancelJob: instance GHC.Generics.Generic Amazonka.Batch.CancelJob.CancelJobResponse
+ Amazonka.Batch.CancelJob: instance GHC.Read.Read Amazonka.Batch.CancelJob.CancelJob
+ Amazonka.Batch.CancelJob: instance GHC.Read.Read Amazonka.Batch.CancelJob.CancelJobResponse
+ Amazonka.Batch.CancelJob: instance GHC.Show.Show Amazonka.Batch.CancelJob.CancelJob
+ Amazonka.Batch.CancelJob: instance GHC.Show.Show Amazonka.Batch.CancelJob.CancelJobResponse
+ Amazonka.Batch.CancelJob: newCancelJob :: Text -> Text -> CancelJob
+ Amazonka.Batch.CancelJob: newCancelJobResponse :: Int -> CancelJobResponse
+ Amazonka.Batch.CreateComputeEnvironment: CreateComputeEnvironment' :: Maybe ComputeResource -> Maybe EksConfiguration -> Maybe Text -> Maybe CEState -> Maybe (HashMap Text Text) -> Maybe Int -> Text -> CEType -> CreateComputeEnvironment
+ Amazonka.Batch.CreateComputeEnvironment: CreateComputeEnvironmentResponse' :: Maybe Text -> Maybe Text -> Int -> CreateComputeEnvironmentResponse
+ Amazonka.Batch.CreateComputeEnvironment: [$sel:computeEnvironmentArn:CreateComputeEnvironmentResponse'] :: CreateComputeEnvironmentResponse -> Maybe Text
+ Amazonka.Batch.CreateComputeEnvironment: [$sel:computeEnvironmentName:CreateComputeEnvironment'] :: CreateComputeEnvironment -> Text
+ Amazonka.Batch.CreateComputeEnvironment: [$sel:computeEnvironmentName:CreateComputeEnvironmentResponse'] :: CreateComputeEnvironmentResponse -> Maybe Text
+ Amazonka.Batch.CreateComputeEnvironment: [$sel:computeResources:CreateComputeEnvironment'] :: CreateComputeEnvironment -> Maybe ComputeResource
+ Amazonka.Batch.CreateComputeEnvironment: [$sel:eksConfiguration:CreateComputeEnvironment'] :: CreateComputeEnvironment -> Maybe EksConfiguration
+ Amazonka.Batch.CreateComputeEnvironment: [$sel:httpStatus:CreateComputeEnvironmentResponse'] :: CreateComputeEnvironmentResponse -> Int
+ Amazonka.Batch.CreateComputeEnvironment: [$sel:serviceRole:CreateComputeEnvironment'] :: CreateComputeEnvironment -> Maybe Text
+ Amazonka.Batch.CreateComputeEnvironment: [$sel:state:CreateComputeEnvironment'] :: CreateComputeEnvironment -> Maybe CEState
+ Amazonka.Batch.CreateComputeEnvironment: [$sel:tags:CreateComputeEnvironment'] :: CreateComputeEnvironment -> Maybe (HashMap Text Text)
+ Amazonka.Batch.CreateComputeEnvironment: [$sel:type':CreateComputeEnvironment'] :: CreateComputeEnvironment -> CEType
+ Amazonka.Batch.CreateComputeEnvironment: [$sel:unmanagedvCpus:CreateComputeEnvironment'] :: CreateComputeEnvironment -> Maybe Int
+ Amazonka.Batch.CreateComputeEnvironment: createComputeEnvironmentResponse_computeEnvironmentArn :: Lens' CreateComputeEnvironmentResponse (Maybe Text)
+ Amazonka.Batch.CreateComputeEnvironment: createComputeEnvironmentResponse_computeEnvironmentName :: Lens' CreateComputeEnvironmentResponse (Maybe Text)
+ Amazonka.Batch.CreateComputeEnvironment: createComputeEnvironmentResponse_httpStatus :: Lens' CreateComputeEnvironmentResponse Int
+ Amazonka.Batch.CreateComputeEnvironment: createComputeEnvironment_computeEnvironmentName :: Lens' CreateComputeEnvironment Text
+ Amazonka.Batch.CreateComputeEnvironment: createComputeEnvironment_computeResources :: Lens' CreateComputeEnvironment (Maybe ComputeResource)
+ Amazonka.Batch.CreateComputeEnvironment: createComputeEnvironment_eksConfiguration :: Lens' CreateComputeEnvironment (Maybe EksConfiguration)
+ Amazonka.Batch.CreateComputeEnvironment: createComputeEnvironment_serviceRole :: Lens' CreateComputeEnvironment (Maybe Text)
+ Amazonka.Batch.CreateComputeEnvironment: createComputeEnvironment_state :: Lens' CreateComputeEnvironment (Maybe CEState)
+ Amazonka.Batch.CreateComputeEnvironment: createComputeEnvironment_tags :: Lens' CreateComputeEnvironment (Maybe (HashMap Text Text))
+ Amazonka.Batch.CreateComputeEnvironment: createComputeEnvironment_type :: Lens' CreateComputeEnvironment CEType
+ Amazonka.Batch.CreateComputeEnvironment: createComputeEnvironment_unmanagedvCpus :: Lens' CreateComputeEnvironment (Maybe Int)
+ Amazonka.Batch.CreateComputeEnvironment: data CreateComputeEnvironment
+ Amazonka.Batch.CreateComputeEnvironment: data CreateComputeEnvironmentResponse
+ Amazonka.Batch.CreateComputeEnvironment: instance Amazonka.Data.Headers.ToHeaders Amazonka.Batch.CreateComputeEnvironment.CreateComputeEnvironment
+ Amazonka.Batch.CreateComputeEnvironment: instance Amazonka.Data.Path.ToPath Amazonka.Batch.CreateComputeEnvironment.CreateComputeEnvironment
+ Amazonka.Batch.CreateComputeEnvironment: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.CreateComputeEnvironment.CreateComputeEnvironment
+ Amazonka.Batch.CreateComputeEnvironment: instance Amazonka.Types.AWSRequest Amazonka.Batch.CreateComputeEnvironment.CreateComputeEnvironment
+ Amazonka.Batch.CreateComputeEnvironment: instance Control.DeepSeq.NFData Amazonka.Batch.CreateComputeEnvironment.CreateComputeEnvironment
+ Amazonka.Batch.CreateComputeEnvironment: instance Control.DeepSeq.NFData Amazonka.Batch.CreateComputeEnvironment.CreateComputeEnvironmentResponse
+ Amazonka.Batch.CreateComputeEnvironment: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.CreateComputeEnvironment.CreateComputeEnvironment
+ Amazonka.Batch.CreateComputeEnvironment: instance Data.Hashable.Class.Hashable Amazonka.Batch.CreateComputeEnvironment.CreateComputeEnvironment
+ Amazonka.Batch.CreateComputeEnvironment: instance GHC.Classes.Eq Amazonka.Batch.CreateComputeEnvironment.CreateComputeEnvironment
+ Amazonka.Batch.CreateComputeEnvironment: instance GHC.Classes.Eq Amazonka.Batch.CreateComputeEnvironment.CreateComputeEnvironmentResponse
+ Amazonka.Batch.CreateComputeEnvironment: instance GHC.Generics.Generic Amazonka.Batch.CreateComputeEnvironment.CreateComputeEnvironment
+ Amazonka.Batch.CreateComputeEnvironment: instance GHC.Generics.Generic Amazonka.Batch.CreateComputeEnvironment.CreateComputeEnvironmentResponse
+ Amazonka.Batch.CreateComputeEnvironment: instance GHC.Read.Read Amazonka.Batch.CreateComputeEnvironment.CreateComputeEnvironment
+ Amazonka.Batch.CreateComputeEnvironment: instance GHC.Read.Read Amazonka.Batch.CreateComputeEnvironment.CreateComputeEnvironmentResponse
+ Amazonka.Batch.CreateComputeEnvironment: instance GHC.Show.Show Amazonka.Batch.CreateComputeEnvironment.CreateComputeEnvironment
+ Amazonka.Batch.CreateComputeEnvironment: instance GHC.Show.Show Amazonka.Batch.CreateComputeEnvironment.CreateComputeEnvironmentResponse
+ Amazonka.Batch.CreateComputeEnvironment: newCreateComputeEnvironment :: Text -> CEType -> CreateComputeEnvironment
+ Amazonka.Batch.CreateComputeEnvironment: newCreateComputeEnvironmentResponse :: Int -> CreateComputeEnvironmentResponse
+ Amazonka.Batch.CreateJobQueue: CreateJobQueue' :: Maybe Text -> Maybe JQState -> Maybe (HashMap Text Text) -> Text -> Int -> [ComputeEnvironmentOrder] -> CreateJobQueue
+ Amazonka.Batch.CreateJobQueue: CreateJobQueueResponse' :: Int -> Text -> Text -> CreateJobQueueResponse
+ Amazonka.Batch.CreateJobQueue: [$sel:computeEnvironmentOrder:CreateJobQueue'] :: CreateJobQueue -> [ComputeEnvironmentOrder]
+ Amazonka.Batch.CreateJobQueue: [$sel:httpStatus:CreateJobQueueResponse'] :: CreateJobQueueResponse -> Int
+ Amazonka.Batch.CreateJobQueue: [$sel:jobQueueArn:CreateJobQueueResponse'] :: CreateJobQueueResponse -> Text
+ Amazonka.Batch.CreateJobQueue: [$sel:jobQueueName:CreateJobQueue'] :: CreateJobQueue -> Text
+ Amazonka.Batch.CreateJobQueue: [$sel:jobQueueName:CreateJobQueueResponse'] :: CreateJobQueueResponse -> Text
+ Amazonka.Batch.CreateJobQueue: [$sel:priority:CreateJobQueue'] :: CreateJobQueue -> Int
+ Amazonka.Batch.CreateJobQueue: [$sel:schedulingPolicyArn:CreateJobQueue'] :: CreateJobQueue -> Maybe Text
+ Amazonka.Batch.CreateJobQueue: [$sel:state:CreateJobQueue'] :: CreateJobQueue -> Maybe JQState
+ Amazonka.Batch.CreateJobQueue: [$sel:tags:CreateJobQueue'] :: CreateJobQueue -> Maybe (HashMap Text Text)
+ Amazonka.Batch.CreateJobQueue: createJobQueueResponse_httpStatus :: Lens' CreateJobQueueResponse Int
+ Amazonka.Batch.CreateJobQueue: createJobQueueResponse_jobQueueArn :: Lens' CreateJobQueueResponse Text
+ Amazonka.Batch.CreateJobQueue: createJobQueueResponse_jobQueueName :: Lens' CreateJobQueueResponse Text
+ Amazonka.Batch.CreateJobQueue: createJobQueue_computeEnvironmentOrder :: Lens' CreateJobQueue [ComputeEnvironmentOrder]
+ Amazonka.Batch.CreateJobQueue: createJobQueue_jobQueueName :: Lens' CreateJobQueue Text
+ Amazonka.Batch.CreateJobQueue: createJobQueue_priority :: Lens' CreateJobQueue Int
+ Amazonka.Batch.CreateJobQueue: createJobQueue_schedulingPolicyArn :: Lens' CreateJobQueue (Maybe Text)
+ Amazonka.Batch.CreateJobQueue: createJobQueue_state :: Lens' CreateJobQueue (Maybe JQState)
+ Amazonka.Batch.CreateJobQueue: createJobQueue_tags :: Lens' CreateJobQueue (Maybe (HashMap Text Text))
+ Amazonka.Batch.CreateJobQueue: data CreateJobQueue
+ Amazonka.Batch.CreateJobQueue: data CreateJobQueueResponse
+ Amazonka.Batch.CreateJobQueue: instance Amazonka.Data.Headers.ToHeaders Amazonka.Batch.CreateJobQueue.CreateJobQueue
+ Amazonka.Batch.CreateJobQueue: instance Amazonka.Data.Path.ToPath Amazonka.Batch.CreateJobQueue.CreateJobQueue
+ Amazonka.Batch.CreateJobQueue: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.CreateJobQueue.CreateJobQueue
+ Amazonka.Batch.CreateJobQueue: instance Amazonka.Types.AWSRequest Amazonka.Batch.CreateJobQueue.CreateJobQueue
+ Amazonka.Batch.CreateJobQueue: instance Control.DeepSeq.NFData Amazonka.Batch.CreateJobQueue.CreateJobQueue
+ Amazonka.Batch.CreateJobQueue: instance Control.DeepSeq.NFData Amazonka.Batch.CreateJobQueue.CreateJobQueueResponse
+ Amazonka.Batch.CreateJobQueue: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.CreateJobQueue.CreateJobQueue
+ Amazonka.Batch.CreateJobQueue: instance Data.Hashable.Class.Hashable Amazonka.Batch.CreateJobQueue.CreateJobQueue
+ Amazonka.Batch.CreateJobQueue: instance GHC.Classes.Eq Amazonka.Batch.CreateJobQueue.CreateJobQueue
+ Amazonka.Batch.CreateJobQueue: instance GHC.Classes.Eq Amazonka.Batch.CreateJobQueue.CreateJobQueueResponse
+ Amazonka.Batch.CreateJobQueue: instance GHC.Generics.Generic Amazonka.Batch.CreateJobQueue.CreateJobQueue
+ Amazonka.Batch.CreateJobQueue: instance GHC.Generics.Generic Amazonka.Batch.CreateJobQueue.CreateJobQueueResponse
+ Amazonka.Batch.CreateJobQueue: instance GHC.Read.Read Amazonka.Batch.CreateJobQueue.CreateJobQueue
+ Amazonka.Batch.CreateJobQueue: instance GHC.Read.Read Amazonka.Batch.CreateJobQueue.CreateJobQueueResponse
+ Amazonka.Batch.CreateJobQueue: instance GHC.Show.Show Amazonka.Batch.CreateJobQueue.CreateJobQueue
+ Amazonka.Batch.CreateJobQueue: instance GHC.Show.Show Amazonka.Batch.CreateJobQueue.CreateJobQueueResponse
+ Amazonka.Batch.CreateJobQueue: newCreateJobQueue :: Text -> Int -> CreateJobQueue
+ Amazonka.Batch.CreateJobQueue: newCreateJobQueueResponse :: Int -> Text -> Text -> CreateJobQueueResponse
+ Amazonka.Batch.CreateSchedulingPolicy: CreateSchedulingPolicy' :: Maybe FairsharePolicy -> Maybe (HashMap Text Text) -> Text -> CreateSchedulingPolicy
+ Amazonka.Batch.CreateSchedulingPolicy: CreateSchedulingPolicyResponse' :: Int -> Text -> Text -> CreateSchedulingPolicyResponse
+ Amazonka.Batch.CreateSchedulingPolicy: [$sel:arn:CreateSchedulingPolicyResponse'] :: CreateSchedulingPolicyResponse -> Text
+ Amazonka.Batch.CreateSchedulingPolicy: [$sel:fairsharePolicy:CreateSchedulingPolicy'] :: CreateSchedulingPolicy -> Maybe FairsharePolicy
+ Amazonka.Batch.CreateSchedulingPolicy: [$sel:httpStatus:CreateSchedulingPolicyResponse'] :: CreateSchedulingPolicyResponse -> Int
+ Amazonka.Batch.CreateSchedulingPolicy: [$sel:name:CreateSchedulingPolicy'] :: CreateSchedulingPolicy -> Text
+ Amazonka.Batch.CreateSchedulingPolicy: [$sel:name:CreateSchedulingPolicyResponse'] :: CreateSchedulingPolicyResponse -> Text
+ Amazonka.Batch.CreateSchedulingPolicy: [$sel:tags:CreateSchedulingPolicy'] :: CreateSchedulingPolicy -> Maybe (HashMap Text Text)
+ Amazonka.Batch.CreateSchedulingPolicy: createSchedulingPolicyResponse_arn :: Lens' CreateSchedulingPolicyResponse Text
+ Amazonka.Batch.CreateSchedulingPolicy: createSchedulingPolicyResponse_httpStatus :: Lens' CreateSchedulingPolicyResponse Int
+ Amazonka.Batch.CreateSchedulingPolicy: createSchedulingPolicyResponse_name :: Lens' CreateSchedulingPolicyResponse Text
+ Amazonka.Batch.CreateSchedulingPolicy: createSchedulingPolicy_fairsharePolicy :: Lens' CreateSchedulingPolicy (Maybe FairsharePolicy)
+ Amazonka.Batch.CreateSchedulingPolicy: createSchedulingPolicy_name :: Lens' CreateSchedulingPolicy Text
+ Amazonka.Batch.CreateSchedulingPolicy: createSchedulingPolicy_tags :: Lens' CreateSchedulingPolicy (Maybe (HashMap Text Text))
+ Amazonka.Batch.CreateSchedulingPolicy: data CreateSchedulingPolicy
+ Amazonka.Batch.CreateSchedulingPolicy: data CreateSchedulingPolicyResponse
+ Amazonka.Batch.CreateSchedulingPolicy: instance Amazonka.Data.Headers.ToHeaders Amazonka.Batch.CreateSchedulingPolicy.CreateSchedulingPolicy
+ Amazonka.Batch.CreateSchedulingPolicy: instance Amazonka.Data.Path.ToPath Amazonka.Batch.CreateSchedulingPolicy.CreateSchedulingPolicy
+ Amazonka.Batch.CreateSchedulingPolicy: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.CreateSchedulingPolicy.CreateSchedulingPolicy
+ Amazonka.Batch.CreateSchedulingPolicy: instance Amazonka.Types.AWSRequest Amazonka.Batch.CreateSchedulingPolicy.CreateSchedulingPolicy
+ Amazonka.Batch.CreateSchedulingPolicy: instance Control.DeepSeq.NFData Amazonka.Batch.CreateSchedulingPolicy.CreateSchedulingPolicy
+ Amazonka.Batch.CreateSchedulingPolicy: instance Control.DeepSeq.NFData Amazonka.Batch.CreateSchedulingPolicy.CreateSchedulingPolicyResponse
+ Amazonka.Batch.CreateSchedulingPolicy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.CreateSchedulingPolicy.CreateSchedulingPolicy
+ Amazonka.Batch.CreateSchedulingPolicy: instance Data.Hashable.Class.Hashable Amazonka.Batch.CreateSchedulingPolicy.CreateSchedulingPolicy
+ Amazonka.Batch.CreateSchedulingPolicy: instance GHC.Classes.Eq Amazonka.Batch.CreateSchedulingPolicy.CreateSchedulingPolicy
+ Amazonka.Batch.CreateSchedulingPolicy: instance GHC.Classes.Eq Amazonka.Batch.CreateSchedulingPolicy.CreateSchedulingPolicyResponse
+ Amazonka.Batch.CreateSchedulingPolicy: instance GHC.Generics.Generic Amazonka.Batch.CreateSchedulingPolicy.CreateSchedulingPolicy
+ Amazonka.Batch.CreateSchedulingPolicy: instance GHC.Generics.Generic Amazonka.Batch.CreateSchedulingPolicy.CreateSchedulingPolicyResponse
+ Amazonka.Batch.CreateSchedulingPolicy: instance GHC.Read.Read Amazonka.Batch.CreateSchedulingPolicy.CreateSchedulingPolicy
+ Amazonka.Batch.CreateSchedulingPolicy: instance GHC.Read.Read Amazonka.Batch.CreateSchedulingPolicy.CreateSchedulingPolicyResponse
+ Amazonka.Batch.CreateSchedulingPolicy: instance GHC.Show.Show Amazonka.Batch.CreateSchedulingPolicy.CreateSchedulingPolicy
+ Amazonka.Batch.CreateSchedulingPolicy: instance GHC.Show.Show Amazonka.Batch.CreateSchedulingPolicy.CreateSchedulingPolicyResponse
+ Amazonka.Batch.CreateSchedulingPolicy: newCreateSchedulingPolicy :: Text -> CreateSchedulingPolicy
+ Amazonka.Batch.CreateSchedulingPolicy: newCreateSchedulingPolicyResponse :: Int -> Text -> Text -> CreateSchedulingPolicyResponse
+ Amazonka.Batch.DeleteComputeEnvironment: DeleteComputeEnvironment' :: Text -> DeleteComputeEnvironment
+ Amazonka.Batch.DeleteComputeEnvironment: DeleteComputeEnvironmentResponse' :: Int -> DeleteComputeEnvironmentResponse
+ Amazonka.Batch.DeleteComputeEnvironment: [$sel:computeEnvironment:DeleteComputeEnvironment'] :: DeleteComputeEnvironment -> Text
+ Amazonka.Batch.DeleteComputeEnvironment: [$sel:httpStatus:DeleteComputeEnvironmentResponse'] :: DeleteComputeEnvironmentResponse -> Int
+ Amazonka.Batch.DeleteComputeEnvironment: data DeleteComputeEnvironment
+ Amazonka.Batch.DeleteComputeEnvironment: data DeleteComputeEnvironmentResponse
+ Amazonka.Batch.DeleteComputeEnvironment: deleteComputeEnvironmentResponse_httpStatus :: Lens' DeleteComputeEnvironmentResponse Int
+ Amazonka.Batch.DeleteComputeEnvironment: deleteComputeEnvironment_computeEnvironment :: Lens' DeleteComputeEnvironment Text
+ Amazonka.Batch.DeleteComputeEnvironment: instance Amazonka.Data.Headers.ToHeaders Amazonka.Batch.DeleteComputeEnvironment.DeleteComputeEnvironment
+ Amazonka.Batch.DeleteComputeEnvironment: instance Amazonka.Data.Path.ToPath Amazonka.Batch.DeleteComputeEnvironment.DeleteComputeEnvironment
+ Amazonka.Batch.DeleteComputeEnvironment: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.DeleteComputeEnvironment.DeleteComputeEnvironment
+ Amazonka.Batch.DeleteComputeEnvironment: instance Amazonka.Types.AWSRequest Amazonka.Batch.DeleteComputeEnvironment.DeleteComputeEnvironment
+ Amazonka.Batch.DeleteComputeEnvironment: instance Control.DeepSeq.NFData Amazonka.Batch.DeleteComputeEnvironment.DeleteComputeEnvironment
+ Amazonka.Batch.DeleteComputeEnvironment: instance Control.DeepSeq.NFData Amazonka.Batch.DeleteComputeEnvironment.DeleteComputeEnvironmentResponse
+ Amazonka.Batch.DeleteComputeEnvironment: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.DeleteComputeEnvironment.DeleteComputeEnvironment
+ Amazonka.Batch.DeleteComputeEnvironment: instance Data.Hashable.Class.Hashable Amazonka.Batch.DeleteComputeEnvironment.DeleteComputeEnvironment
+ Amazonka.Batch.DeleteComputeEnvironment: instance GHC.Classes.Eq Amazonka.Batch.DeleteComputeEnvironment.DeleteComputeEnvironment
+ Amazonka.Batch.DeleteComputeEnvironment: instance GHC.Classes.Eq Amazonka.Batch.DeleteComputeEnvironment.DeleteComputeEnvironmentResponse
+ Amazonka.Batch.DeleteComputeEnvironment: instance GHC.Generics.Generic Amazonka.Batch.DeleteComputeEnvironment.DeleteComputeEnvironment
+ Amazonka.Batch.DeleteComputeEnvironment: instance GHC.Generics.Generic Amazonka.Batch.DeleteComputeEnvironment.DeleteComputeEnvironmentResponse
+ Amazonka.Batch.DeleteComputeEnvironment: instance GHC.Read.Read Amazonka.Batch.DeleteComputeEnvironment.DeleteComputeEnvironment
+ Amazonka.Batch.DeleteComputeEnvironment: instance GHC.Read.Read Amazonka.Batch.DeleteComputeEnvironment.DeleteComputeEnvironmentResponse
+ Amazonka.Batch.DeleteComputeEnvironment: instance GHC.Show.Show Amazonka.Batch.DeleteComputeEnvironment.DeleteComputeEnvironment
+ Amazonka.Batch.DeleteComputeEnvironment: instance GHC.Show.Show Amazonka.Batch.DeleteComputeEnvironment.DeleteComputeEnvironmentResponse
+ Amazonka.Batch.DeleteComputeEnvironment: newDeleteComputeEnvironment :: Text -> DeleteComputeEnvironment
+ Amazonka.Batch.DeleteComputeEnvironment: newDeleteComputeEnvironmentResponse :: Int -> DeleteComputeEnvironmentResponse
+ Amazonka.Batch.DeleteJobQueue: DeleteJobQueue' :: Text -> DeleteJobQueue
+ Amazonka.Batch.DeleteJobQueue: DeleteJobQueueResponse' :: Int -> DeleteJobQueueResponse
+ Amazonka.Batch.DeleteJobQueue: [$sel:httpStatus:DeleteJobQueueResponse'] :: DeleteJobQueueResponse -> Int
+ Amazonka.Batch.DeleteJobQueue: [$sel:jobQueue:DeleteJobQueue'] :: DeleteJobQueue -> Text
+ Amazonka.Batch.DeleteJobQueue: data DeleteJobQueue
+ Amazonka.Batch.DeleteJobQueue: data DeleteJobQueueResponse
+ Amazonka.Batch.DeleteJobQueue: deleteJobQueueResponse_httpStatus :: Lens' DeleteJobQueueResponse Int
+ Amazonka.Batch.DeleteJobQueue: deleteJobQueue_jobQueue :: Lens' DeleteJobQueue Text
+ Amazonka.Batch.DeleteJobQueue: instance Amazonka.Data.Headers.ToHeaders Amazonka.Batch.DeleteJobQueue.DeleteJobQueue
+ Amazonka.Batch.DeleteJobQueue: instance Amazonka.Data.Path.ToPath Amazonka.Batch.DeleteJobQueue.DeleteJobQueue
+ Amazonka.Batch.DeleteJobQueue: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.DeleteJobQueue.DeleteJobQueue
+ Amazonka.Batch.DeleteJobQueue: instance Amazonka.Types.AWSRequest Amazonka.Batch.DeleteJobQueue.DeleteJobQueue
+ Amazonka.Batch.DeleteJobQueue: instance Control.DeepSeq.NFData Amazonka.Batch.DeleteJobQueue.DeleteJobQueue
+ Amazonka.Batch.DeleteJobQueue: instance Control.DeepSeq.NFData Amazonka.Batch.DeleteJobQueue.DeleteJobQueueResponse
+ Amazonka.Batch.DeleteJobQueue: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.DeleteJobQueue.DeleteJobQueue
+ Amazonka.Batch.DeleteJobQueue: instance Data.Hashable.Class.Hashable Amazonka.Batch.DeleteJobQueue.DeleteJobQueue
+ Amazonka.Batch.DeleteJobQueue: instance GHC.Classes.Eq Amazonka.Batch.DeleteJobQueue.DeleteJobQueue
+ Amazonka.Batch.DeleteJobQueue: instance GHC.Classes.Eq Amazonka.Batch.DeleteJobQueue.DeleteJobQueueResponse
+ Amazonka.Batch.DeleteJobQueue: instance GHC.Generics.Generic Amazonka.Batch.DeleteJobQueue.DeleteJobQueue
+ Amazonka.Batch.DeleteJobQueue: instance GHC.Generics.Generic Amazonka.Batch.DeleteJobQueue.DeleteJobQueueResponse
+ Amazonka.Batch.DeleteJobQueue: instance GHC.Read.Read Amazonka.Batch.DeleteJobQueue.DeleteJobQueue
+ Amazonka.Batch.DeleteJobQueue: instance GHC.Read.Read Amazonka.Batch.DeleteJobQueue.DeleteJobQueueResponse
+ Amazonka.Batch.DeleteJobQueue: instance GHC.Show.Show Amazonka.Batch.DeleteJobQueue.DeleteJobQueue
+ Amazonka.Batch.DeleteJobQueue: instance GHC.Show.Show Amazonka.Batch.DeleteJobQueue.DeleteJobQueueResponse
+ Amazonka.Batch.DeleteJobQueue: newDeleteJobQueue :: Text -> DeleteJobQueue
+ Amazonka.Batch.DeleteJobQueue: newDeleteJobQueueResponse :: Int -> DeleteJobQueueResponse
+ Amazonka.Batch.DeleteSchedulingPolicy: DeleteSchedulingPolicy' :: Text -> DeleteSchedulingPolicy
+ Amazonka.Batch.DeleteSchedulingPolicy: DeleteSchedulingPolicyResponse' :: Int -> DeleteSchedulingPolicyResponse
+ Amazonka.Batch.DeleteSchedulingPolicy: [$sel:arn:DeleteSchedulingPolicy'] :: DeleteSchedulingPolicy -> Text
+ Amazonka.Batch.DeleteSchedulingPolicy: [$sel:httpStatus:DeleteSchedulingPolicyResponse'] :: DeleteSchedulingPolicyResponse -> Int
+ Amazonka.Batch.DeleteSchedulingPolicy: data DeleteSchedulingPolicy
+ Amazonka.Batch.DeleteSchedulingPolicy: data DeleteSchedulingPolicyResponse
+ Amazonka.Batch.DeleteSchedulingPolicy: deleteSchedulingPolicyResponse_httpStatus :: Lens' DeleteSchedulingPolicyResponse Int
+ Amazonka.Batch.DeleteSchedulingPolicy: deleteSchedulingPolicy_arn :: Lens' DeleteSchedulingPolicy Text
+ Amazonka.Batch.DeleteSchedulingPolicy: instance Amazonka.Data.Headers.ToHeaders Amazonka.Batch.DeleteSchedulingPolicy.DeleteSchedulingPolicy
+ Amazonka.Batch.DeleteSchedulingPolicy: instance Amazonka.Data.Path.ToPath Amazonka.Batch.DeleteSchedulingPolicy.DeleteSchedulingPolicy
+ Amazonka.Batch.DeleteSchedulingPolicy: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.DeleteSchedulingPolicy.DeleteSchedulingPolicy
+ Amazonka.Batch.DeleteSchedulingPolicy: instance Amazonka.Types.AWSRequest Amazonka.Batch.DeleteSchedulingPolicy.DeleteSchedulingPolicy
+ Amazonka.Batch.DeleteSchedulingPolicy: instance Control.DeepSeq.NFData Amazonka.Batch.DeleteSchedulingPolicy.DeleteSchedulingPolicy
+ Amazonka.Batch.DeleteSchedulingPolicy: instance Control.DeepSeq.NFData Amazonka.Batch.DeleteSchedulingPolicy.DeleteSchedulingPolicyResponse
+ Amazonka.Batch.DeleteSchedulingPolicy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.DeleteSchedulingPolicy.DeleteSchedulingPolicy
+ Amazonka.Batch.DeleteSchedulingPolicy: instance Data.Hashable.Class.Hashable Amazonka.Batch.DeleteSchedulingPolicy.DeleteSchedulingPolicy
+ Amazonka.Batch.DeleteSchedulingPolicy: instance GHC.Classes.Eq Amazonka.Batch.DeleteSchedulingPolicy.DeleteSchedulingPolicy
+ Amazonka.Batch.DeleteSchedulingPolicy: instance GHC.Classes.Eq Amazonka.Batch.DeleteSchedulingPolicy.DeleteSchedulingPolicyResponse
+ Amazonka.Batch.DeleteSchedulingPolicy: instance GHC.Generics.Generic Amazonka.Batch.DeleteSchedulingPolicy.DeleteSchedulingPolicy
+ Amazonka.Batch.DeleteSchedulingPolicy: instance GHC.Generics.Generic Amazonka.Batch.DeleteSchedulingPolicy.DeleteSchedulingPolicyResponse
+ Amazonka.Batch.DeleteSchedulingPolicy: instance GHC.Read.Read Amazonka.Batch.DeleteSchedulingPolicy.DeleteSchedulingPolicy
+ Amazonka.Batch.DeleteSchedulingPolicy: instance GHC.Read.Read Amazonka.Batch.DeleteSchedulingPolicy.DeleteSchedulingPolicyResponse
+ Amazonka.Batch.DeleteSchedulingPolicy: instance GHC.Show.Show Amazonka.Batch.DeleteSchedulingPolicy.DeleteSchedulingPolicy
+ Amazonka.Batch.DeleteSchedulingPolicy: instance GHC.Show.Show Amazonka.Batch.DeleteSchedulingPolicy.DeleteSchedulingPolicyResponse
+ Amazonka.Batch.DeleteSchedulingPolicy: newDeleteSchedulingPolicy :: Text -> DeleteSchedulingPolicy
+ Amazonka.Batch.DeleteSchedulingPolicy: newDeleteSchedulingPolicyResponse :: Int -> DeleteSchedulingPolicyResponse
+ Amazonka.Batch.DeregisterJobDefinition: DeregisterJobDefinition' :: Text -> DeregisterJobDefinition
+ Amazonka.Batch.DeregisterJobDefinition: DeregisterJobDefinitionResponse' :: Int -> DeregisterJobDefinitionResponse
+ Amazonka.Batch.DeregisterJobDefinition: [$sel:httpStatus:DeregisterJobDefinitionResponse'] :: DeregisterJobDefinitionResponse -> Int
+ Amazonka.Batch.DeregisterJobDefinition: [$sel:jobDefinition:DeregisterJobDefinition'] :: DeregisterJobDefinition -> Text
+ Amazonka.Batch.DeregisterJobDefinition: data DeregisterJobDefinition
+ Amazonka.Batch.DeregisterJobDefinition: data DeregisterJobDefinitionResponse
+ Amazonka.Batch.DeregisterJobDefinition: deregisterJobDefinitionResponse_httpStatus :: Lens' DeregisterJobDefinitionResponse Int
+ Amazonka.Batch.DeregisterJobDefinition: deregisterJobDefinition_jobDefinition :: Lens' DeregisterJobDefinition Text
+ Amazonka.Batch.DeregisterJobDefinition: instance Amazonka.Data.Headers.ToHeaders Amazonka.Batch.DeregisterJobDefinition.DeregisterJobDefinition
+ Amazonka.Batch.DeregisterJobDefinition: instance Amazonka.Data.Path.ToPath Amazonka.Batch.DeregisterJobDefinition.DeregisterJobDefinition
+ Amazonka.Batch.DeregisterJobDefinition: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.DeregisterJobDefinition.DeregisterJobDefinition
+ Amazonka.Batch.DeregisterJobDefinition: instance Amazonka.Types.AWSRequest Amazonka.Batch.DeregisterJobDefinition.DeregisterJobDefinition
+ Amazonka.Batch.DeregisterJobDefinition: instance Control.DeepSeq.NFData Amazonka.Batch.DeregisterJobDefinition.DeregisterJobDefinition
+ Amazonka.Batch.DeregisterJobDefinition: instance Control.DeepSeq.NFData Amazonka.Batch.DeregisterJobDefinition.DeregisterJobDefinitionResponse
+ Amazonka.Batch.DeregisterJobDefinition: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.DeregisterJobDefinition.DeregisterJobDefinition
+ Amazonka.Batch.DeregisterJobDefinition: instance Data.Hashable.Class.Hashable Amazonka.Batch.DeregisterJobDefinition.DeregisterJobDefinition
+ Amazonka.Batch.DeregisterJobDefinition: instance GHC.Classes.Eq Amazonka.Batch.DeregisterJobDefinition.DeregisterJobDefinition
+ Amazonka.Batch.DeregisterJobDefinition: instance GHC.Classes.Eq Amazonka.Batch.DeregisterJobDefinition.DeregisterJobDefinitionResponse
+ Amazonka.Batch.DeregisterJobDefinition: instance GHC.Generics.Generic Amazonka.Batch.DeregisterJobDefinition.DeregisterJobDefinition
+ Amazonka.Batch.DeregisterJobDefinition: instance GHC.Generics.Generic Amazonka.Batch.DeregisterJobDefinition.DeregisterJobDefinitionResponse
+ Amazonka.Batch.DeregisterJobDefinition: instance GHC.Read.Read Amazonka.Batch.DeregisterJobDefinition.DeregisterJobDefinition
+ Amazonka.Batch.DeregisterJobDefinition: instance GHC.Read.Read Amazonka.Batch.DeregisterJobDefinition.DeregisterJobDefinitionResponse
+ Amazonka.Batch.DeregisterJobDefinition: instance GHC.Show.Show Amazonka.Batch.DeregisterJobDefinition.DeregisterJobDefinition
+ Amazonka.Batch.DeregisterJobDefinition: instance GHC.Show.Show Amazonka.Batch.DeregisterJobDefinition.DeregisterJobDefinitionResponse
+ Amazonka.Batch.DeregisterJobDefinition: newDeregisterJobDefinition :: Text -> DeregisterJobDefinition
+ Amazonka.Batch.DeregisterJobDefinition: newDeregisterJobDefinitionResponse :: Int -> DeregisterJobDefinitionResponse
+ Amazonka.Batch.DescribeComputeEnvironments: DescribeComputeEnvironments' :: Maybe [Text] -> Maybe Int -> Maybe Text -> DescribeComputeEnvironments
+ Amazonka.Batch.DescribeComputeEnvironments: DescribeComputeEnvironmentsResponse' :: Maybe [ComputeEnvironmentDetail] -> Maybe Text -> Int -> DescribeComputeEnvironmentsResponse
+ Amazonka.Batch.DescribeComputeEnvironments: [$sel:computeEnvironments:DescribeComputeEnvironments'] :: DescribeComputeEnvironments -> Maybe [Text]
+ Amazonka.Batch.DescribeComputeEnvironments: [$sel:computeEnvironments:DescribeComputeEnvironmentsResponse'] :: DescribeComputeEnvironmentsResponse -> Maybe [ComputeEnvironmentDetail]
+ Amazonka.Batch.DescribeComputeEnvironments: [$sel:httpStatus:DescribeComputeEnvironmentsResponse'] :: DescribeComputeEnvironmentsResponse -> Int
+ Amazonka.Batch.DescribeComputeEnvironments: [$sel:maxResults:DescribeComputeEnvironments'] :: DescribeComputeEnvironments -> Maybe Int
+ Amazonka.Batch.DescribeComputeEnvironments: [$sel:nextToken:DescribeComputeEnvironments'] :: DescribeComputeEnvironments -> Maybe Text
+ Amazonka.Batch.DescribeComputeEnvironments: [$sel:nextToken:DescribeComputeEnvironmentsResponse'] :: DescribeComputeEnvironmentsResponse -> Maybe Text
+ Amazonka.Batch.DescribeComputeEnvironments: data DescribeComputeEnvironments
+ Amazonka.Batch.DescribeComputeEnvironments: data DescribeComputeEnvironmentsResponse
+ Amazonka.Batch.DescribeComputeEnvironments: describeComputeEnvironmentsResponse_computeEnvironments :: Lens' DescribeComputeEnvironmentsResponse (Maybe [ComputeEnvironmentDetail])
+ Amazonka.Batch.DescribeComputeEnvironments: describeComputeEnvironmentsResponse_httpStatus :: Lens' DescribeComputeEnvironmentsResponse Int
+ Amazonka.Batch.DescribeComputeEnvironments: describeComputeEnvironmentsResponse_nextToken :: Lens' DescribeComputeEnvironmentsResponse (Maybe Text)
+ Amazonka.Batch.DescribeComputeEnvironments: describeComputeEnvironments_computeEnvironments :: Lens' DescribeComputeEnvironments (Maybe [Text])
+ Amazonka.Batch.DescribeComputeEnvironments: describeComputeEnvironments_maxResults :: Lens' DescribeComputeEnvironments (Maybe Int)
+ Amazonka.Batch.DescribeComputeEnvironments: describeComputeEnvironments_nextToken :: Lens' DescribeComputeEnvironments (Maybe Text)
+ Amazonka.Batch.DescribeComputeEnvironments: instance Amazonka.Data.Headers.ToHeaders Amazonka.Batch.DescribeComputeEnvironments.DescribeComputeEnvironments
+ Amazonka.Batch.DescribeComputeEnvironments: instance Amazonka.Data.Path.ToPath Amazonka.Batch.DescribeComputeEnvironments.DescribeComputeEnvironments
+ Amazonka.Batch.DescribeComputeEnvironments: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.DescribeComputeEnvironments.DescribeComputeEnvironments
+ Amazonka.Batch.DescribeComputeEnvironments: instance Amazonka.Pager.AWSPager Amazonka.Batch.DescribeComputeEnvironments.DescribeComputeEnvironments
+ Amazonka.Batch.DescribeComputeEnvironments: instance Amazonka.Types.AWSRequest Amazonka.Batch.DescribeComputeEnvironments.DescribeComputeEnvironments
+ Amazonka.Batch.DescribeComputeEnvironments: instance Control.DeepSeq.NFData Amazonka.Batch.DescribeComputeEnvironments.DescribeComputeEnvironments
+ Amazonka.Batch.DescribeComputeEnvironments: instance Control.DeepSeq.NFData Amazonka.Batch.DescribeComputeEnvironments.DescribeComputeEnvironmentsResponse
+ Amazonka.Batch.DescribeComputeEnvironments: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.DescribeComputeEnvironments.DescribeComputeEnvironments
+ Amazonka.Batch.DescribeComputeEnvironments: instance Data.Hashable.Class.Hashable Amazonka.Batch.DescribeComputeEnvironments.DescribeComputeEnvironments
+ Amazonka.Batch.DescribeComputeEnvironments: instance GHC.Classes.Eq Amazonka.Batch.DescribeComputeEnvironments.DescribeComputeEnvironments
+ Amazonka.Batch.DescribeComputeEnvironments: instance GHC.Classes.Eq Amazonka.Batch.DescribeComputeEnvironments.DescribeComputeEnvironmentsResponse
+ Amazonka.Batch.DescribeComputeEnvironments: instance GHC.Generics.Generic Amazonka.Batch.DescribeComputeEnvironments.DescribeComputeEnvironments
+ Amazonka.Batch.DescribeComputeEnvironments: instance GHC.Generics.Generic Amazonka.Batch.DescribeComputeEnvironments.DescribeComputeEnvironmentsResponse
+ Amazonka.Batch.DescribeComputeEnvironments: instance GHC.Read.Read Amazonka.Batch.DescribeComputeEnvironments.DescribeComputeEnvironments
+ Amazonka.Batch.DescribeComputeEnvironments: instance GHC.Read.Read Amazonka.Batch.DescribeComputeEnvironments.DescribeComputeEnvironmentsResponse
+ Amazonka.Batch.DescribeComputeEnvironments: instance GHC.Show.Show Amazonka.Batch.DescribeComputeEnvironments.DescribeComputeEnvironments
+ Amazonka.Batch.DescribeComputeEnvironments: instance GHC.Show.Show Amazonka.Batch.DescribeComputeEnvironments.DescribeComputeEnvironmentsResponse
+ Amazonka.Batch.DescribeComputeEnvironments: newDescribeComputeEnvironments :: DescribeComputeEnvironments
+ Amazonka.Batch.DescribeComputeEnvironments: newDescribeComputeEnvironmentsResponse :: Int -> DescribeComputeEnvironmentsResponse
+ Amazonka.Batch.DescribeJobDefinitions: DescribeJobDefinitions' :: Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe Text -> DescribeJobDefinitions
+ Amazonka.Batch.DescribeJobDefinitions: DescribeJobDefinitionsResponse' :: Maybe [JobDefinition] -> Maybe Text -> Int -> DescribeJobDefinitionsResponse
+ Amazonka.Batch.DescribeJobDefinitions: [$sel:httpStatus:DescribeJobDefinitionsResponse'] :: DescribeJobDefinitionsResponse -> Int
+ Amazonka.Batch.DescribeJobDefinitions: [$sel:jobDefinitionName:DescribeJobDefinitions'] :: DescribeJobDefinitions -> Maybe Text
+ Amazonka.Batch.DescribeJobDefinitions: [$sel:jobDefinitions:DescribeJobDefinitions'] :: DescribeJobDefinitions -> Maybe [Text]
+ Amazonka.Batch.DescribeJobDefinitions: [$sel:jobDefinitions:DescribeJobDefinitionsResponse'] :: DescribeJobDefinitionsResponse -> Maybe [JobDefinition]
+ Amazonka.Batch.DescribeJobDefinitions: [$sel:maxResults:DescribeJobDefinitions'] :: DescribeJobDefinitions -> Maybe Int
+ Amazonka.Batch.DescribeJobDefinitions: [$sel:nextToken:DescribeJobDefinitions'] :: DescribeJobDefinitions -> Maybe Text
+ Amazonka.Batch.DescribeJobDefinitions: [$sel:nextToken:DescribeJobDefinitionsResponse'] :: DescribeJobDefinitionsResponse -> Maybe Text
+ Amazonka.Batch.DescribeJobDefinitions: [$sel:status:DescribeJobDefinitions'] :: DescribeJobDefinitions -> Maybe Text
+ Amazonka.Batch.DescribeJobDefinitions: data DescribeJobDefinitions
+ Amazonka.Batch.DescribeJobDefinitions: data DescribeJobDefinitionsResponse
+ Amazonka.Batch.DescribeJobDefinitions: describeJobDefinitionsResponse_httpStatus :: Lens' DescribeJobDefinitionsResponse Int
+ Amazonka.Batch.DescribeJobDefinitions: describeJobDefinitionsResponse_jobDefinitions :: Lens' DescribeJobDefinitionsResponse (Maybe [JobDefinition])
+ Amazonka.Batch.DescribeJobDefinitions: describeJobDefinitionsResponse_nextToken :: Lens' DescribeJobDefinitionsResponse (Maybe Text)
+ Amazonka.Batch.DescribeJobDefinitions: describeJobDefinitions_jobDefinitionName :: Lens' DescribeJobDefinitions (Maybe Text)
+ Amazonka.Batch.DescribeJobDefinitions: describeJobDefinitions_jobDefinitions :: Lens' DescribeJobDefinitions (Maybe [Text])
+ Amazonka.Batch.DescribeJobDefinitions: describeJobDefinitions_maxResults :: Lens' DescribeJobDefinitions (Maybe Int)
+ Amazonka.Batch.DescribeJobDefinitions: describeJobDefinitions_nextToken :: Lens' DescribeJobDefinitions (Maybe Text)
+ Amazonka.Batch.DescribeJobDefinitions: describeJobDefinitions_status :: Lens' DescribeJobDefinitions (Maybe Text)
+ Amazonka.Batch.DescribeJobDefinitions: instance Amazonka.Data.Headers.ToHeaders Amazonka.Batch.DescribeJobDefinitions.DescribeJobDefinitions
+ Amazonka.Batch.DescribeJobDefinitions: instance Amazonka.Data.Path.ToPath Amazonka.Batch.DescribeJobDefinitions.DescribeJobDefinitions
+ Amazonka.Batch.DescribeJobDefinitions: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.DescribeJobDefinitions.DescribeJobDefinitions
+ Amazonka.Batch.DescribeJobDefinitions: instance Amazonka.Pager.AWSPager Amazonka.Batch.DescribeJobDefinitions.DescribeJobDefinitions
+ Amazonka.Batch.DescribeJobDefinitions: instance Amazonka.Types.AWSRequest Amazonka.Batch.DescribeJobDefinitions.DescribeJobDefinitions
+ Amazonka.Batch.DescribeJobDefinitions: instance Control.DeepSeq.NFData Amazonka.Batch.DescribeJobDefinitions.DescribeJobDefinitions
+ Amazonka.Batch.DescribeJobDefinitions: instance Control.DeepSeq.NFData Amazonka.Batch.DescribeJobDefinitions.DescribeJobDefinitionsResponse
+ Amazonka.Batch.DescribeJobDefinitions: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.DescribeJobDefinitions.DescribeJobDefinitions
+ Amazonka.Batch.DescribeJobDefinitions: instance Data.Hashable.Class.Hashable Amazonka.Batch.DescribeJobDefinitions.DescribeJobDefinitions
+ Amazonka.Batch.DescribeJobDefinitions: instance GHC.Classes.Eq Amazonka.Batch.DescribeJobDefinitions.DescribeJobDefinitions
+ Amazonka.Batch.DescribeJobDefinitions: instance GHC.Classes.Eq Amazonka.Batch.DescribeJobDefinitions.DescribeJobDefinitionsResponse
+ Amazonka.Batch.DescribeJobDefinitions: instance GHC.Generics.Generic Amazonka.Batch.DescribeJobDefinitions.DescribeJobDefinitions
+ Amazonka.Batch.DescribeJobDefinitions: instance GHC.Generics.Generic Amazonka.Batch.DescribeJobDefinitions.DescribeJobDefinitionsResponse
+ Amazonka.Batch.DescribeJobDefinitions: instance GHC.Read.Read Amazonka.Batch.DescribeJobDefinitions.DescribeJobDefinitions
+ Amazonka.Batch.DescribeJobDefinitions: instance GHC.Read.Read Amazonka.Batch.DescribeJobDefinitions.DescribeJobDefinitionsResponse
+ Amazonka.Batch.DescribeJobDefinitions: instance GHC.Show.Show Amazonka.Batch.DescribeJobDefinitions.DescribeJobDefinitions
+ Amazonka.Batch.DescribeJobDefinitions: instance GHC.Show.Show Amazonka.Batch.DescribeJobDefinitions.DescribeJobDefinitionsResponse
+ Amazonka.Batch.DescribeJobDefinitions: newDescribeJobDefinitions :: DescribeJobDefinitions
+ Amazonka.Batch.DescribeJobDefinitions: newDescribeJobDefinitionsResponse :: Int -> DescribeJobDefinitionsResponse
+ Amazonka.Batch.DescribeJobQueues: DescribeJobQueues' :: Maybe [Text] -> Maybe Int -> Maybe Text -> DescribeJobQueues
+ Amazonka.Batch.DescribeJobQueues: DescribeJobQueuesResponse' :: Maybe [JobQueueDetail] -> Maybe Text -> Int -> DescribeJobQueuesResponse
+ Amazonka.Batch.DescribeJobQueues: [$sel:httpStatus:DescribeJobQueuesResponse'] :: DescribeJobQueuesResponse -> Int
+ Amazonka.Batch.DescribeJobQueues: [$sel:jobQueues:DescribeJobQueues'] :: DescribeJobQueues -> Maybe [Text]
+ Amazonka.Batch.DescribeJobQueues: [$sel:jobQueues:DescribeJobQueuesResponse'] :: DescribeJobQueuesResponse -> Maybe [JobQueueDetail]
+ Amazonka.Batch.DescribeJobQueues: [$sel:maxResults:DescribeJobQueues'] :: DescribeJobQueues -> Maybe Int
+ Amazonka.Batch.DescribeJobQueues: [$sel:nextToken:DescribeJobQueues'] :: DescribeJobQueues -> Maybe Text
+ Amazonka.Batch.DescribeJobQueues: [$sel:nextToken:DescribeJobQueuesResponse'] :: DescribeJobQueuesResponse -> Maybe Text
+ Amazonka.Batch.DescribeJobQueues: data DescribeJobQueues
+ Amazonka.Batch.DescribeJobQueues: data DescribeJobQueuesResponse
+ Amazonka.Batch.DescribeJobQueues: describeJobQueuesResponse_httpStatus :: Lens' DescribeJobQueuesResponse Int
+ Amazonka.Batch.DescribeJobQueues: describeJobQueuesResponse_jobQueues :: Lens' DescribeJobQueuesResponse (Maybe [JobQueueDetail])
+ Amazonka.Batch.DescribeJobQueues: describeJobQueuesResponse_nextToken :: Lens' DescribeJobQueuesResponse (Maybe Text)
+ Amazonka.Batch.DescribeJobQueues: describeJobQueues_jobQueues :: Lens' DescribeJobQueues (Maybe [Text])
+ Amazonka.Batch.DescribeJobQueues: describeJobQueues_maxResults :: Lens' DescribeJobQueues (Maybe Int)
+ Amazonka.Batch.DescribeJobQueues: describeJobQueues_nextToken :: Lens' DescribeJobQueues (Maybe Text)
+ Amazonka.Batch.DescribeJobQueues: instance Amazonka.Data.Headers.ToHeaders Amazonka.Batch.DescribeJobQueues.DescribeJobQueues
+ Amazonka.Batch.DescribeJobQueues: instance Amazonka.Data.Path.ToPath Amazonka.Batch.DescribeJobQueues.DescribeJobQueues
+ Amazonka.Batch.DescribeJobQueues: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.DescribeJobQueues.DescribeJobQueues
+ Amazonka.Batch.DescribeJobQueues: instance Amazonka.Pager.AWSPager Amazonka.Batch.DescribeJobQueues.DescribeJobQueues
+ Amazonka.Batch.DescribeJobQueues: instance Amazonka.Types.AWSRequest Amazonka.Batch.DescribeJobQueues.DescribeJobQueues
+ Amazonka.Batch.DescribeJobQueues: instance Control.DeepSeq.NFData Amazonka.Batch.DescribeJobQueues.DescribeJobQueues
+ Amazonka.Batch.DescribeJobQueues: instance Control.DeepSeq.NFData Amazonka.Batch.DescribeJobQueues.DescribeJobQueuesResponse
+ Amazonka.Batch.DescribeJobQueues: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.DescribeJobQueues.DescribeJobQueues
+ Amazonka.Batch.DescribeJobQueues: instance Data.Hashable.Class.Hashable Amazonka.Batch.DescribeJobQueues.DescribeJobQueues
+ Amazonka.Batch.DescribeJobQueues: instance GHC.Classes.Eq Amazonka.Batch.DescribeJobQueues.DescribeJobQueues
+ Amazonka.Batch.DescribeJobQueues: instance GHC.Classes.Eq Amazonka.Batch.DescribeJobQueues.DescribeJobQueuesResponse
+ Amazonka.Batch.DescribeJobQueues: instance GHC.Generics.Generic Amazonka.Batch.DescribeJobQueues.DescribeJobQueues
+ Amazonka.Batch.DescribeJobQueues: instance GHC.Generics.Generic Amazonka.Batch.DescribeJobQueues.DescribeJobQueuesResponse
+ Amazonka.Batch.DescribeJobQueues: instance GHC.Read.Read Amazonka.Batch.DescribeJobQueues.DescribeJobQueues
+ Amazonka.Batch.DescribeJobQueues: instance GHC.Read.Read Amazonka.Batch.DescribeJobQueues.DescribeJobQueuesResponse
+ Amazonka.Batch.DescribeJobQueues: instance GHC.Show.Show Amazonka.Batch.DescribeJobQueues.DescribeJobQueues
+ Amazonka.Batch.DescribeJobQueues: instance GHC.Show.Show Amazonka.Batch.DescribeJobQueues.DescribeJobQueuesResponse
+ Amazonka.Batch.DescribeJobQueues: newDescribeJobQueues :: DescribeJobQueues
+ Amazonka.Batch.DescribeJobQueues: newDescribeJobQueuesResponse :: Int -> DescribeJobQueuesResponse
+ Amazonka.Batch.DescribeJobs: DescribeJobs' :: [Text] -> DescribeJobs
+ Amazonka.Batch.DescribeJobs: DescribeJobsResponse' :: Maybe [JobDetail] -> Int -> DescribeJobsResponse
+ Amazonka.Batch.DescribeJobs: [$sel:httpStatus:DescribeJobsResponse'] :: DescribeJobsResponse -> Int
+ Amazonka.Batch.DescribeJobs: [$sel:jobs:DescribeJobs'] :: DescribeJobs -> [Text]
+ Amazonka.Batch.DescribeJobs: [$sel:jobs:DescribeJobsResponse'] :: DescribeJobsResponse -> Maybe [JobDetail]
+ Amazonka.Batch.DescribeJobs: data DescribeJobs
+ Amazonka.Batch.DescribeJobs: data DescribeJobsResponse
+ Amazonka.Batch.DescribeJobs: describeJobsResponse_httpStatus :: Lens' DescribeJobsResponse Int
+ Amazonka.Batch.DescribeJobs: describeJobsResponse_jobs :: Lens' DescribeJobsResponse (Maybe [JobDetail])
+ Amazonka.Batch.DescribeJobs: describeJobs_jobs :: Lens' DescribeJobs [Text]
+ Amazonka.Batch.DescribeJobs: instance Amazonka.Data.Headers.ToHeaders Amazonka.Batch.DescribeJobs.DescribeJobs
+ Amazonka.Batch.DescribeJobs: instance Amazonka.Data.Path.ToPath Amazonka.Batch.DescribeJobs.DescribeJobs
+ Amazonka.Batch.DescribeJobs: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.DescribeJobs.DescribeJobs
+ Amazonka.Batch.DescribeJobs: instance Amazonka.Types.AWSRequest Amazonka.Batch.DescribeJobs.DescribeJobs
+ Amazonka.Batch.DescribeJobs: instance Control.DeepSeq.NFData Amazonka.Batch.DescribeJobs.DescribeJobs
+ Amazonka.Batch.DescribeJobs: instance Control.DeepSeq.NFData Amazonka.Batch.DescribeJobs.DescribeJobsResponse
+ Amazonka.Batch.DescribeJobs: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.DescribeJobs.DescribeJobs
+ Amazonka.Batch.DescribeJobs: instance Data.Hashable.Class.Hashable Amazonka.Batch.DescribeJobs.DescribeJobs
+ Amazonka.Batch.DescribeJobs: instance GHC.Classes.Eq Amazonka.Batch.DescribeJobs.DescribeJobs
+ Amazonka.Batch.DescribeJobs: instance GHC.Classes.Eq Amazonka.Batch.DescribeJobs.DescribeJobsResponse
+ Amazonka.Batch.DescribeJobs: instance GHC.Generics.Generic Amazonka.Batch.DescribeJobs.DescribeJobs
+ Amazonka.Batch.DescribeJobs: instance GHC.Generics.Generic Amazonka.Batch.DescribeJobs.DescribeJobsResponse
+ Amazonka.Batch.DescribeJobs: instance GHC.Read.Read Amazonka.Batch.DescribeJobs.DescribeJobs
+ Amazonka.Batch.DescribeJobs: instance GHC.Read.Read Amazonka.Batch.DescribeJobs.DescribeJobsResponse
+ Amazonka.Batch.DescribeJobs: instance GHC.Show.Show Amazonka.Batch.DescribeJobs.DescribeJobs
+ Amazonka.Batch.DescribeJobs: instance GHC.Show.Show Amazonka.Batch.DescribeJobs.DescribeJobsResponse
+ Amazonka.Batch.DescribeJobs: newDescribeJobs :: DescribeJobs
+ Amazonka.Batch.DescribeJobs: newDescribeJobsResponse :: Int -> DescribeJobsResponse
+ Amazonka.Batch.DescribeSchedulingPolicies: DescribeSchedulingPolicies' :: [Text] -> DescribeSchedulingPolicies
+ Amazonka.Batch.DescribeSchedulingPolicies: DescribeSchedulingPoliciesResponse' :: Maybe [SchedulingPolicyDetail] -> Int -> DescribeSchedulingPoliciesResponse
+ Amazonka.Batch.DescribeSchedulingPolicies: [$sel:arns:DescribeSchedulingPolicies'] :: DescribeSchedulingPolicies -> [Text]
+ Amazonka.Batch.DescribeSchedulingPolicies: [$sel:httpStatus:DescribeSchedulingPoliciesResponse'] :: DescribeSchedulingPoliciesResponse -> Int
+ Amazonka.Batch.DescribeSchedulingPolicies: [$sel:schedulingPolicies:DescribeSchedulingPoliciesResponse'] :: DescribeSchedulingPoliciesResponse -> Maybe [SchedulingPolicyDetail]
+ Amazonka.Batch.DescribeSchedulingPolicies: data DescribeSchedulingPolicies
+ Amazonka.Batch.DescribeSchedulingPolicies: data DescribeSchedulingPoliciesResponse
+ Amazonka.Batch.DescribeSchedulingPolicies: describeSchedulingPoliciesResponse_httpStatus :: Lens' DescribeSchedulingPoliciesResponse Int
+ Amazonka.Batch.DescribeSchedulingPolicies: describeSchedulingPoliciesResponse_schedulingPolicies :: Lens' DescribeSchedulingPoliciesResponse (Maybe [SchedulingPolicyDetail])
+ Amazonka.Batch.DescribeSchedulingPolicies: describeSchedulingPolicies_arns :: Lens' DescribeSchedulingPolicies [Text]
+ Amazonka.Batch.DescribeSchedulingPolicies: instance Amazonka.Data.Headers.ToHeaders Amazonka.Batch.DescribeSchedulingPolicies.DescribeSchedulingPolicies
+ Amazonka.Batch.DescribeSchedulingPolicies: instance Amazonka.Data.Path.ToPath Amazonka.Batch.DescribeSchedulingPolicies.DescribeSchedulingPolicies
+ Amazonka.Batch.DescribeSchedulingPolicies: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.DescribeSchedulingPolicies.DescribeSchedulingPolicies
+ Amazonka.Batch.DescribeSchedulingPolicies: instance Amazonka.Types.AWSRequest Amazonka.Batch.DescribeSchedulingPolicies.DescribeSchedulingPolicies
+ Amazonka.Batch.DescribeSchedulingPolicies: instance Control.DeepSeq.NFData Amazonka.Batch.DescribeSchedulingPolicies.DescribeSchedulingPolicies
+ Amazonka.Batch.DescribeSchedulingPolicies: instance Control.DeepSeq.NFData Amazonka.Batch.DescribeSchedulingPolicies.DescribeSchedulingPoliciesResponse
+ Amazonka.Batch.DescribeSchedulingPolicies: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.DescribeSchedulingPolicies.DescribeSchedulingPolicies
+ Amazonka.Batch.DescribeSchedulingPolicies: instance Data.Hashable.Class.Hashable Amazonka.Batch.DescribeSchedulingPolicies.DescribeSchedulingPolicies
+ Amazonka.Batch.DescribeSchedulingPolicies: instance GHC.Classes.Eq Amazonka.Batch.DescribeSchedulingPolicies.DescribeSchedulingPolicies
+ Amazonka.Batch.DescribeSchedulingPolicies: instance GHC.Classes.Eq Amazonka.Batch.DescribeSchedulingPolicies.DescribeSchedulingPoliciesResponse
+ Amazonka.Batch.DescribeSchedulingPolicies: instance GHC.Generics.Generic Amazonka.Batch.DescribeSchedulingPolicies.DescribeSchedulingPolicies
+ Amazonka.Batch.DescribeSchedulingPolicies: instance GHC.Generics.Generic Amazonka.Batch.DescribeSchedulingPolicies.DescribeSchedulingPoliciesResponse
+ Amazonka.Batch.DescribeSchedulingPolicies: instance GHC.Read.Read Amazonka.Batch.DescribeSchedulingPolicies.DescribeSchedulingPolicies
+ Amazonka.Batch.DescribeSchedulingPolicies: instance GHC.Read.Read Amazonka.Batch.DescribeSchedulingPolicies.DescribeSchedulingPoliciesResponse
+ Amazonka.Batch.DescribeSchedulingPolicies: instance GHC.Show.Show Amazonka.Batch.DescribeSchedulingPolicies.DescribeSchedulingPolicies
+ Amazonka.Batch.DescribeSchedulingPolicies: instance GHC.Show.Show Amazonka.Batch.DescribeSchedulingPolicies.DescribeSchedulingPoliciesResponse
+ Amazonka.Batch.DescribeSchedulingPolicies: newDescribeSchedulingPolicies :: DescribeSchedulingPolicies
+ Amazonka.Batch.DescribeSchedulingPolicies: newDescribeSchedulingPoliciesResponse :: Int -> DescribeSchedulingPoliciesResponse
+ Amazonka.Batch.Lens: arrayPropertiesDetail_index :: Lens' ArrayPropertiesDetail (Maybe Int)
+ Amazonka.Batch.Lens: arrayPropertiesDetail_size :: Lens' ArrayPropertiesDetail (Maybe Int)
+ Amazonka.Batch.Lens: arrayPropertiesDetail_statusSummary :: Lens' ArrayPropertiesDetail (Maybe (HashMap Text Int))
+ Amazonka.Batch.Lens: arrayPropertiesSummary_index :: Lens' ArrayPropertiesSummary (Maybe Int)
+ Amazonka.Batch.Lens: arrayPropertiesSummary_size :: Lens' ArrayPropertiesSummary (Maybe Int)
+ Amazonka.Batch.Lens: arrayProperties_size :: Lens' ArrayProperties (Maybe Int)
+ Amazonka.Batch.Lens: attemptContainerDetail_containerInstanceArn :: Lens' AttemptContainerDetail (Maybe Text)
+ Amazonka.Batch.Lens: attemptContainerDetail_exitCode :: Lens' AttemptContainerDetail (Maybe Int)
+ Amazonka.Batch.Lens: attemptContainerDetail_logStreamName :: Lens' AttemptContainerDetail (Maybe Text)
+ Amazonka.Batch.Lens: attemptContainerDetail_networkInterfaces :: Lens' AttemptContainerDetail (Maybe [NetworkInterface])
+ Amazonka.Batch.Lens: attemptContainerDetail_reason :: Lens' AttemptContainerDetail (Maybe Text)
+ Amazonka.Batch.Lens: attemptContainerDetail_taskArn :: Lens' AttemptContainerDetail (Maybe Text)
+ Amazonka.Batch.Lens: attemptDetail_container :: Lens' AttemptDetail (Maybe AttemptContainerDetail)
+ Amazonka.Batch.Lens: attemptDetail_startedAt :: Lens' AttemptDetail (Maybe Integer)
+ Amazonka.Batch.Lens: attemptDetail_statusReason :: Lens' AttemptDetail (Maybe Text)
+ Amazonka.Batch.Lens: attemptDetail_stoppedAt :: Lens' AttemptDetail (Maybe Integer)
+ Amazonka.Batch.Lens: cancelJobResponse_httpStatus :: Lens' CancelJobResponse Int
+ Amazonka.Batch.Lens: cancelJob_jobId :: Lens' CancelJob Text
+ Amazonka.Batch.Lens: cancelJob_reason :: Lens' CancelJob Text
+ Amazonka.Batch.Lens: computeEnvironmentDetail_computeEnvironmentArn :: Lens' ComputeEnvironmentDetail Text
+ Amazonka.Batch.Lens: computeEnvironmentDetail_computeEnvironmentName :: Lens' ComputeEnvironmentDetail Text
+ Amazonka.Batch.Lens: computeEnvironmentDetail_computeResources :: Lens' ComputeEnvironmentDetail (Maybe ComputeResource)
+ Amazonka.Batch.Lens: computeEnvironmentDetail_containerOrchestrationType :: Lens' ComputeEnvironmentDetail (Maybe OrchestrationType)
+ Amazonka.Batch.Lens: computeEnvironmentDetail_ecsClusterArn :: Lens' ComputeEnvironmentDetail (Maybe Text)
+ Amazonka.Batch.Lens: computeEnvironmentDetail_eksConfiguration :: Lens' ComputeEnvironmentDetail (Maybe EksConfiguration)
+ Amazonka.Batch.Lens: computeEnvironmentDetail_serviceRole :: Lens' ComputeEnvironmentDetail (Maybe Text)
+ Amazonka.Batch.Lens: computeEnvironmentDetail_state :: Lens' ComputeEnvironmentDetail (Maybe CEState)
+ Amazonka.Batch.Lens: computeEnvironmentDetail_status :: Lens' ComputeEnvironmentDetail (Maybe CEStatus)
+ Amazonka.Batch.Lens: computeEnvironmentDetail_statusReason :: Lens' ComputeEnvironmentDetail (Maybe Text)
+ Amazonka.Batch.Lens: computeEnvironmentDetail_tags :: Lens' ComputeEnvironmentDetail (Maybe (HashMap Text Text))
+ Amazonka.Batch.Lens: computeEnvironmentDetail_type :: Lens' ComputeEnvironmentDetail (Maybe CEType)
+ Amazonka.Batch.Lens: computeEnvironmentDetail_unmanagedvCpus :: Lens' ComputeEnvironmentDetail (Maybe Int)
+ Amazonka.Batch.Lens: computeEnvironmentDetail_updatePolicy :: Lens' ComputeEnvironmentDetail (Maybe UpdatePolicy)
+ Amazonka.Batch.Lens: computeEnvironmentDetail_uuid :: Lens' ComputeEnvironmentDetail (Maybe Text)
+ Amazonka.Batch.Lens: computeEnvironmentOrder_computeEnvironment :: Lens' ComputeEnvironmentOrder Text
+ Amazonka.Batch.Lens: computeEnvironmentOrder_order :: Lens' ComputeEnvironmentOrder Int
+ Amazonka.Batch.Lens: computeResourceUpdate_allocationStrategy :: Lens' ComputeResourceUpdate (Maybe CRUpdateAllocationStrategy)
+ Amazonka.Batch.Lens: computeResourceUpdate_bidPercentage :: Lens' ComputeResourceUpdate (Maybe Int)
+ Amazonka.Batch.Lens: computeResourceUpdate_desiredvCpus :: Lens' ComputeResourceUpdate (Maybe Int)
+ Amazonka.Batch.Lens: computeResourceUpdate_ec2Configuration :: Lens' ComputeResourceUpdate (Maybe [Ec2Configuration])
+ Amazonka.Batch.Lens: computeResourceUpdate_ec2KeyPair :: Lens' ComputeResourceUpdate (Maybe Text)
+ Amazonka.Batch.Lens: computeResourceUpdate_imageId :: Lens' ComputeResourceUpdate (Maybe Text)
+ Amazonka.Batch.Lens: computeResourceUpdate_instanceRole :: Lens' ComputeResourceUpdate (Maybe Text)
+ Amazonka.Batch.Lens: computeResourceUpdate_instanceTypes :: Lens' ComputeResourceUpdate (Maybe [Text])
+ Amazonka.Batch.Lens: computeResourceUpdate_launchTemplate :: Lens' ComputeResourceUpdate (Maybe LaunchTemplateSpecification)
+ Amazonka.Batch.Lens: computeResourceUpdate_maxvCpus :: Lens' ComputeResourceUpdate (Maybe Int)
+ Amazonka.Batch.Lens: computeResourceUpdate_minvCpus :: Lens' ComputeResourceUpdate (Maybe Int)
+ Amazonka.Batch.Lens: computeResourceUpdate_placementGroup :: Lens' ComputeResourceUpdate (Maybe Text)
+ Amazonka.Batch.Lens: computeResourceUpdate_securityGroupIds :: Lens' ComputeResourceUpdate (Maybe [Text])
+ Amazonka.Batch.Lens: computeResourceUpdate_subnets :: Lens' ComputeResourceUpdate (Maybe [Text])
+ Amazonka.Batch.Lens: computeResourceUpdate_tags :: Lens' ComputeResourceUpdate (Maybe (HashMap Text Text))
+ Amazonka.Batch.Lens: computeResourceUpdate_type :: Lens' ComputeResourceUpdate (Maybe CRType)
+ Amazonka.Batch.Lens: computeResourceUpdate_updateToLatestImageVersion :: Lens' ComputeResourceUpdate (Maybe Bool)
+ Amazonka.Batch.Lens: computeResource_allocationStrategy :: Lens' ComputeResource (Maybe CRAllocationStrategy)
+ Amazonka.Batch.Lens: computeResource_bidPercentage :: Lens' ComputeResource (Maybe Int)
+ Amazonka.Batch.Lens: computeResource_desiredvCpus :: Lens' ComputeResource (Maybe Int)
+ Amazonka.Batch.Lens: computeResource_ec2Configuration :: Lens' ComputeResource (Maybe [Ec2Configuration])
+ Amazonka.Batch.Lens: computeResource_ec2KeyPair :: Lens' ComputeResource (Maybe Text)
+ Amazonka.Batch.Lens: computeResource_imageId :: Lens' ComputeResource (Maybe Text)
+ Amazonka.Batch.Lens: computeResource_instanceRole :: Lens' ComputeResource (Maybe Text)
+ Amazonka.Batch.Lens: computeResource_instanceTypes :: Lens' ComputeResource (Maybe [Text])
+ Amazonka.Batch.Lens: computeResource_launchTemplate :: Lens' ComputeResource (Maybe LaunchTemplateSpecification)
+ Amazonka.Batch.Lens: computeResource_maxvCpus :: Lens' ComputeResource Int
+ Amazonka.Batch.Lens: computeResource_minvCpus :: Lens' ComputeResource (Maybe Int)
+ Amazonka.Batch.Lens: computeResource_placementGroup :: Lens' ComputeResource (Maybe Text)
+ Amazonka.Batch.Lens: computeResource_securityGroupIds :: Lens' ComputeResource (Maybe [Text])
+ Amazonka.Batch.Lens: computeResource_spotIamFleetRole :: Lens' ComputeResource (Maybe Text)
+ Amazonka.Batch.Lens: computeResource_subnets :: Lens' ComputeResource [Text]
+ Amazonka.Batch.Lens: computeResource_tags :: Lens' ComputeResource (Maybe (HashMap Text Text))
+ Amazonka.Batch.Lens: computeResource_type :: Lens' ComputeResource CRType
+ Amazonka.Batch.Lens: containerDetail_command :: Lens' ContainerDetail (Maybe [Text])
+ Amazonka.Batch.Lens: containerDetail_containerInstanceArn :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Lens: containerDetail_environment :: Lens' ContainerDetail (Maybe [KeyValuePair])
+ Amazonka.Batch.Lens: containerDetail_executionRoleArn :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Lens: containerDetail_exitCode :: Lens' ContainerDetail (Maybe Int)
+ Amazonka.Batch.Lens: containerDetail_fargatePlatformConfiguration :: Lens' ContainerDetail (Maybe FargatePlatformConfiguration)
+ Amazonka.Batch.Lens: containerDetail_image :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Lens: containerDetail_instanceType :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Lens: containerDetail_jobRoleArn :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Lens: containerDetail_linuxParameters :: Lens' ContainerDetail (Maybe LinuxParameters)
+ Amazonka.Batch.Lens: containerDetail_logConfiguration :: Lens' ContainerDetail (Maybe LogConfiguration)
+ Amazonka.Batch.Lens: containerDetail_logStreamName :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Lens: containerDetail_memory :: Lens' ContainerDetail (Maybe Int)
+ Amazonka.Batch.Lens: containerDetail_mountPoints :: Lens' ContainerDetail (Maybe [MountPoint])
+ Amazonka.Batch.Lens: containerDetail_networkConfiguration :: Lens' ContainerDetail (Maybe NetworkConfiguration)
+ Amazonka.Batch.Lens: containerDetail_networkInterfaces :: Lens' ContainerDetail (Maybe [NetworkInterface])
+ Amazonka.Batch.Lens: containerDetail_privileged :: Lens' ContainerDetail (Maybe Bool)
+ Amazonka.Batch.Lens: containerDetail_readonlyRootFilesystem :: Lens' ContainerDetail (Maybe Bool)
+ Amazonka.Batch.Lens: containerDetail_reason :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Lens: containerDetail_resourceRequirements :: Lens' ContainerDetail (Maybe [ResourceRequirement])
+ Amazonka.Batch.Lens: containerDetail_secrets :: Lens' ContainerDetail (Maybe [Secret])
+ Amazonka.Batch.Lens: containerDetail_taskArn :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Lens: containerDetail_ulimits :: Lens' ContainerDetail (Maybe [Ulimit])
+ Amazonka.Batch.Lens: containerDetail_user :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Lens: containerDetail_vcpus :: Lens' ContainerDetail (Maybe Int)
+ Amazonka.Batch.Lens: containerDetail_volumes :: Lens' ContainerDetail (Maybe [Volume])
+ Amazonka.Batch.Lens: containerOverrides_command :: Lens' ContainerOverrides (Maybe [Text])
+ Amazonka.Batch.Lens: containerOverrides_environment :: Lens' ContainerOverrides (Maybe [KeyValuePair])
+ Amazonka.Batch.Lens: containerOverrides_instanceType :: Lens' ContainerOverrides (Maybe Text)
+ Amazonka.Batch.Lens: containerOverrides_memory :: Lens' ContainerOverrides (Maybe Int)
+ Amazonka.Batch.Lens: containerOverrides_resourceRequirements :: Lens' ContainerOverrides (Maybe [ResourceRequirement])
+ Amazonka.Batch.Lens: containerOverrides_vcpus :: Lens' ContainerOverrides (Maybe Int)
+ Amazonka.Batch.Lens: containerProperties_command :: Lens' ContainerProperties (Maybe [Text])
+ Amazonka.Batch.Lens: containerProperties_environment :: Lens' ContainerProperties (Maybe [KeyValuePair])
+ Amazonka.Batch.Lens: containerProperties_executionRoleArn :: Lens' ContainerProperties (Maybe Text)
+ Amazonka.Batch.Lens: containerProperties_fargatePlatformConfiguration :: Lens' ContainerProperties (Maybe FargatePlatformConfiguration)
+ Amazonka.Batch.Lens: containerProperties_image :: Lens' ContainerProperties (Maybe Text)
+ Amazonka.Batch.Lens: containerProperties_instanceType :: Lens' ContainerProperties (Maybe Text)
+ Amazonka.Batch.Lens: containerProperties_jobRoleArn :: Lens' ContainerProperties (Maybe Text)
+ Amazonka.Batch.Lens: containerProperties_linuxParameters :: Lens' ContainerProperties (Maybe LinuxParameters)
+ Amazonka.Batch.Lens: containerProperties_logConfiguration :: Lens' ContainerProperties (Maybe LogConfiguration)
+ Amazonka.Batch.Lens: containerProperties_memory :: Lens' ContainerProperties (Maybe Int)
+ Amazonka.Batch.Lens: containerProperties_mountPoints :: Lens' ContainerProperties (Maybe [MountPoint])
+ Amazonka.Batch.Lens: containerProperties_networkConfiguration :: Lens' ContainerProperties (Maybe NetworkConfiguration)
+ Amazonka.Batch.Lens: containerProperties_privileged :: Lens' ContainerProperties (Maybe Bool)
+ Amazonka.Batch.Lens: containerProperties_readonlyRootFilesystem :: Lens' ContainerProperties (Maybe Bool)
+ Amazonka.Batch.Lens: containerProperties_resourceRequirements :: Lens' ContainerProperties (Maybe [ResourceRequirement])
+ Amazonka.Batch.Lens: containerProperties_secrets :: Lens' ContainerProperties (Maybe [Secret])
+ Amazonka.Batch.Lens: containerProperties_ulimits :: Lens' ContainerProperties (Maybe [Ulimit])
+ Amazonka.Batch.Lens: containerProperties_user :: Lens' ContainerProperties (Maybe Text)
+ Amazonka.Batch.Lens: containerProperties_vcpus :: Lens' ContainerProperties (Maybe Int)
+ Amazonka.Batch.Lens: containerProperties_volumes :: Lens' ContainerProperties (Maybe [Volume])
+ Amazonka.Batch.Lens: containerSummary_exitCode :: Lens' ContainerSummary (Maybe Int)
+ Amazonka.Batch.Lens: containerSummary_reason :: Lens' ContainerSummary (Maybe Text)
+ Amazonka.Batch.Lens: createComputeEnvironmentResponse_computeEnvironmentArn :: Lens' CreateComputeEnvironmentResponse (Maybe Text)
+ Amazonka.Batch.Lens: createComputeEnvironmentResponse_computeEnvironmentName :: Lens' CreateComputeEnvironmentResponse (Maybe Text)
+ Amazonka.Batch.Lens: createComputeEnvironmentResponse_httpStatus :: Lens' CreateComputeEnvironmentResponse Int
+ Amazonka.Batch.Lens: createComputeEnvironment_computeEnvironmentName :: Lens' CreateComputeEnvironment Text
+ Amazonka.Batch.Lens: createComputeEnvironment_computeResources :: Lens' CreateComputeEnvironment (Maybe ComputeResource)
+ Amazonka.Batch.Lens: createComputeEnvironment_eksConfiguration :: Lens' CreateComputeEnvironment (Maybe EksConfiguration)
+ Amazonka.Batch.Lens: createComputeEnvironment_serviceRole :: Lens' CreateComputeEnvironment (Maybe Text)
+ Amazonka.Batch.Lens: createComputeEnvironment_state :: Lens' CreateComputeEnvironment (Maybe CEState)
+ Amazonka.Batch.Lens: createComputeEnvironment_tags :: Lens' CreateComputeEnvironment (Maybe (HashMap Text Text))
+ Amazonka.Batch.Lens: createComputeEnvironment_type :: Lens' CreateComputeEnvironment CEType
+ Amazonka.Batch.Lens: createComputeEnvironment_unmanagedvCpus :: Lens' CreateComputeEnvironment (Maybe Int)
+ Amazonka.Batch.Lens: createJobQueueResponse_httpStatus :: Lens' CreateJobQueueResponse Int
+ Amazonka.Batch.Lens: createJobQueueResponse_jobQueueArn :: Lens' CreateJobQueueResponse Text
+ Amazonka.Batch.Lens: createJobQueueResponse_jobQueueName :: Lens' CreateJobQueueResponse Text
+ Amazonka.Batch.Lens: createJobQueue_computeEnvironmentOrder :: Lens' CreateJobQueue [ComputeEnvironmentOrder]
+ Amazonka.Batch.Lens: createJobQueue_jobQueueName :: Lens' CreateJobQueue Text
+ Amazonka.Batch.Lens: createJobQueue_priority :: Lens' CreateJobQueue Int
+ Amazonka.Batch.Lens: createJobQueue_schedulingPolicyArn :: Lens' CreateJobQueue (Maybe Text)
+ Amazonka.Batch.Lens: createJobQueue_state :: Lens' CreateJobQueue (Maybe JQState)
+ Amazonka.Batch.Lens: createJobQueue_tags :: Lens' CreateJobQueue (Maybe (HashMap Text Text))
+ Amazonka.Batch.Lens: createSchedulingPolicyResponse_arn :: Lens' CreateSchedulingPolicyResponse Text
+ Amazonka.Batch.Lens: createSchedulingPolicyResponse_httpStatus :: Lens' CreateSchedulingPolicyResponse Int
+ Amazonka.Batch.Lens: createSchedulingPolicyResponse_name :: Lens' CreateSchedulingPolicyResponse Text
+ Amazonka.Batch.Lens: createSchedulingPolicy_fairsharePolicy :: Lens' CreateSchedulingPolicy (Maybe FairsharePolicy)
+ Amazonka.Batch.Lens: createSchedulingPolicy_name :: Lens' CreateSchedulingPolicy Text
+ Amazonka.Batch.Lens: createSchedulingPolicy_tags :: Lens' CreateSchedulingPolicy (Maybe (HashMap Text Text))
+ Amazonka.Batch.Lens: deleteComputeEnvironmentResponse_httpStatus :: Lens' DeleteComputeEnvironmentResponse Int
+ Amazonka.Batch.Lens: deleteComputeEnvironment_computeEnvironment :: Lens' DeleteComputeEnvironment Text
+ Amazonka.Batch.Lens: deleteJobQueueResponse_httpStatus :: Lens' DeleteJobQueueResponse Int
+ Amazonka.Batch.Lens: deleteJobQueue_jobQueue :: Lens' DeleteJobQueue Text
+ Amazonka.Batch.Lens: deleteSchedulingPolicyResponse_httpStatus :: Lens' DeleteSchedulingPolicyResponse Int
+ Amazonka.Batch.Lens: deleteSchedulingPolicy_arn :: Lens' DeleteSchedulingPolicy Text
+ Amazonka.Batch.Lens: deregisterJobDefinitionResponse_httpStatus :: Lens' DeregisterJobDefinitionResponse Int
+ Amazonka.Batch.Lens: deregisterJobDefinition_jobDefinition :: Lens' DeregisterJobDefinition Text
+ Amazonka.Batch.Lens: describeComputeEnvironmentsResponse_computeEnvironments :: Lens' DescribeComputeEnvironmentsResponse (Maybe [ComputeEnvironmentDetail])
+ Amazonka.Batch.Lens: describeComputeEnvironmentsResponse_httpStatus :: Lens' DescribeComputeEnvironmentsResponse Int
+ Amazonka.Batch.Lens: describeComputeEnvironmentsResponse_nextToken :: Lens' DescribeComputeEnvironmentsResponse (Maybe Text)
+ Amazonka.Batch.Lens: describeComputeEnvironments_computeEnvironments :: Lens' DescribeComputeEnvironments (Maybe [Text])
+ Amazonka.Batch.Lens: describeComputeEnvironments_maxResults :: Lens' DescribeComputeEnvironments (Maybe Int)
+ Amazonka.Batch.Lens: describeComputeEnvironments_nextToken :: Lens' DescribeComputeEnvironments (Maybe Text)
+ Amazonka.Batch.Lens: describeJobDefinitionsResponse_httpStatus :: Lens' DescribeJobDefinitionsResponse Int
+ Amazonka.Batch.Lens: describeJobDefinitionsResponse_jobDefinitions :: Lens' DescribeJobDefinitionsResponse (Maybe [JobDefinition])
+ Amazonka.Batch.Lens: describeJobDefinitionsResponse_nextToken :: Lens' DescribeJobDefinitionsResponse (Maybe Text)
+ Amazonka.Batch.Lens: describeJobDefinitions_jobDefinitionName :: Lens' DescribeJobDefinitions (Maybe Text)
+ Amazonka.Batch.Lens: describeJobDefinitions_jobDefinitions :: Lens' DescribeJobDefinitions (Maybe [Text])
+ Amazonka.Batch.Lens: describeJobDefinitions_maxResults :: Lens' DescribeJobDefinitions (Maybe Int)
+ Amazonka.Batch.Lens: describeJobDefinitions_nextToken :: Lens' DescribeJobDefinitions (Maybe Text)
+ Amazonka.Batch.Lens: describeJobDefinitions_status :: Lens' DescribeJobDefinitions (Maybe Text)
+ Amazonka.Batch.Lens: describeJobQueuesResponse_httpStatus :: Lens' DescribeJobQueuesResponse Int
+ Amazonka.Batch.Lens: describeJobQueuesResponse_jobQueues :: Lens' DescribeJobQueuesResponse (Maybe [JobQueueDetail])
+ Amazonka.Batch.Lens: describeJobQueuesResponse_nextToken :: Lens' DescribeJobQueuesResponse (Maybe Text)
+ Amazonka.Batch.Lens: describeJobQueues_jobQueues :: Lens' DescribeJobQueues (Maybe [Text])
+ Amazonka.Batch.Lens: describeJobQueues_maxResults :: Lens' DescribeJobQueues (Maybe Int)
+ Amazonka.Batch.Lens: describeJobQueues_nextToken :: Lens' DescribeJobQueues (Maybe Text)
+ Amazonka.Batch.Lens: describeJobsResponse_httpStatus :: Lens' DescribeJobsResponse Int
+ Amazonka.Batch.Lens: describeJobsResponse_jobs :: Lens' DescribeJobsResponse (Maybe [JobDetail])
+ Amazonka.Batch.Lens: describeJobs_jobs :: Lens' DescribeJobs [Text]
+ Amazonka.Batch.Lens: describeSchedulingPoliciesResponse_httpStatus :: Lens' DescribeSchedulingPoliciesResponse Int
+ Amazonka.Batch.Lens: describeSchedulingPoliciesResponse_schedulingPolicies :: Lens' DescribeSchedulingPoliciesResponse (Maybe [SchedulingPolicyDetail])
+ Amazonka.Batch.Lens: describeSchedulingPolicies_arns :: Lens' DescribeSchedulingPolicies [Text]
+ Amazonka.Batch.Lens: device_containerPath :: Lens' Device (Maybe Text)
+ Amazonka.Batch.Lens: device_hostPath :: Lens' Device Text
+ Amazonka.Batch.Lens: device_permissions :: Lens' Device (Maybe [DeviceCgroupPermission])
+ Amazonka.Batch.Lens: eFSAuthorizationConfig_accessPointId :: Lens' EFSAuthorizationConfig (Maybe Text)
+ Amazonka.Batch.Lens: eFSAuthorizationConfig_iam :: Lens' EFSAuthorizationConfig (Maybe EFSAuthorizationConfigIAM)
+ Amazonka.Batch.Lens: eFSVolumeConfiguration_authorizationConfig :: Lens' EFSVolumeConfiguration (Maybe EFSAuthorizationConfig)
+ Amazonka.Batch.Lens: eFSVolumeConfiguration_fileSystemId :: Lens' EFSVolumeConfiguration Text
+ Amazonka.Batch.Lens: eFSVolumeConfiguration_rootDirectory :: Lens' EFSVolumeConfiguration (Maybe Text)
+ Amazonka.Batch.Lens: eFSVolumeConfiguration_transitEncryption :: Lens' EFSVolumeConfiguration (Maybe EFSTransitEncryption)
+ Amazonka.Batch.Lens: eFSVolumeConfiguration_transitEncryptionPort :: Lens' EFSVolumeConfiguration (Maybe Int)
+ Amazonka.Batch.Lens: ec2Configuration_imageIdOverride :: Lens' Ec2Configuration (Maybe Text)
+ Amazonka.Batch.Lens: ec2Configuration_imageKubernetesVersion :: Lens' Ec2Configuration (Maybe Text)
+ Amazonka.Batch.Lens: ec2Configuration_imageType :: Lens' Ec2Configuration Text
+ Amazonka.Batch.Lens: eksAttemptContainerDetail_exitCode :: Lens' EksAttemptContainerDetail (Maybe Int)
+ Amazonka.Batch.Lens: eksAttemptContainerDetail_reason :: Lens' EksAttemptContainerDetail (Maybe Text)
+ Amazonka.Batch.Lens: eksAttemptDetail_containers :: Lens' EksAttemptDetail (Maybe [EksAttemptContainerDetail])
+ Amazonka.Batch.Lens: eksAttemptDetail_nodeName :: Lens' EksAttemptDetail (Maybe Text)
+ Amazonka.Batch.Lens: eksAttemptDetail_podName :: Lens' EksAttemptDetail (Maybe Text)
+ Amazonka.Batch.Lens: eksAttemptDetail_startedAt :: Lens' EksAttemptDetail (Maybe Integer)
+ Amazonka.Batch.Lens: eksAttemptDetail_statusReason :: Lens' EksAttemptDetail (Maybe Text)
+ Amazonka.Batch.Lens: eksAttemptDetail_stoppedAt :: Lens' EksAttemptDetail (Maybe Integer)
+ Amazonka.Batch.Lens: eksConfiguration_eksClusterArn :: Lens' EksConfiguration Text
+ Amazonka.Batch.Lens: eksConfiguration_kubernetesNamespace :: Lens' EksConfiguration Text
+ Amazonka.Batch.Lens: eksContainerDetail_args :: Lens' EksContainerDetail (Maybe [Text])
+ Amazonka.Batch.Lens: eksContainerDetail_command :: Lens' EksContainerDetail (Maybe [Text])
+ Amazonka.Batch.Lens: eksContainerDetail_env :: Lens' EksContainerDetail (Maybe [EksContainerEnvironmentVariable])
+ Amazonka.Batch.Lens: eksContainerDetail_exitCode :: Lens' EksContainerDetail (Maybe Int)
+ Amazonka.Batch.Lens: eksContainerDetail_image :: Lens' EksContainerDetail (Maybe Text)
+ Amazonka.Batch.Lens: eksContainerDetail_imagePullPolicy :: Lens' EksContainerDetail (Maybe Text)
+ Amazonka.Batch.Lens: eksContainerDetail_name :: Lens' EksContainerDetail (Maybe Text)
+ Amazonka.Batch.Lens: eksContainerDetail_reason :: Lens' EksContainerDetail (Maybe Text)
+ Amazonka.Batch.Lens: eksContainerDetail_resources :: Lens' EksContainerDetail (Maybe EksContainerResourceRequirements)
+ Amazonka.Batch.Lens: eksContainerDetail_securityContext :: Lens' EksContainerDetail (Maybe EksContainerSecurityContext)
+ Amazonka.Batch.Lens: eksContainerDetail_volumeMounts :: Lens' EksContainerDetail (Maybe [EksContainerVolumeMount])
+ Amazonka.Batch.Lens: eksContainerEnvironmentVariable_name :: Lens' EksContainerEnvironmentVariable Text
+ Amazonka.Batch.Lens: eksContainerEnvironmentVariable_value :: Lens' EksContainerEnvironmentVariable (Maybe Text)
+ Amazonka.Batch.Lens: eksContainerOverride_args :: Lens' EksContainerOverride (Maybe [Text])
+ Amazonka.Batch.Lens: eksContainerOverride_command :: Lens' EksContainerOverride (Maybe [Text])
+ Amazonka.Batch.Lens: eksContainerOverride_env :: Lens' EksContainerOverride (Maybe [EksContainerEnvironmentVariable])
+ Amazonka.Batch.Lens: eksContainerOverride_image :: Lens' EksContainerOverride (Maybe Text)
+ Amazonka.Batch.Lens: eksContainerOverride_resources :: Lens' EksContainerOverride (Maybe EksContainerResourceRequirements)
+ Amazonka.Batch.Lens: eksContainerResourceRequirements_limits :: Lens' EksContainerResourceRequirements (Maybe (HashMap Text Text))
+ Amazonka.Batch.Lens: eksContainerResourceRequirements_requests :: Lens' EksContainerResourceRequirements (Maybe (HashMap Text Text))
+ Amazonka.Batch.Lens: eksContainerSecurityContext_privileged :: Lens' EksContainerSecurityContext (Maybe Bool)
+ Amazonka.Batch.Lens: eksContainerSecurityContext_readOnlyRootFilesystem :: Lens' EksContainerSecurityContext (Maybe Bool)
+ Amazonka.Batch.Lens: eksContainerSecurityContext_runAsGroup :: Lens' EksContainerSecurityContext (Maybe Integer)
+ Amazonka.Batch.Lens: eksContainerSecurityContext_runAsNonRoot :: Lens' EksContainerSecurityContext (Maybe Bool)
+ Amazonka.Batch.Lens: eksContainerSecurityContext_runAsUser :: Lens' EksContainerSecurityContext (Maybe Integer)
+ Amazonka.Batch.Lens: eksContainerVolumeMount_mountPath :: Lens' EksContainerVolumeMount (Maybe Text)
+ Amazonka.Batch.Lens: eksContainerVolumeMount_name :: Lens' EksContainerVolumeMount (Maybe Text)
+ Amazonka.Batch.Lens: eksContainerVolumeMount_readOnly :: Lens' EksContainerVolumeMount (Maybe Bool)
+ Amazonka.Batch.Lens: eksContainer_args :: Lens' EksContainer (Maybe [Text])
+ Amazonka.Batch.Lens: eksContainer_command :: Lens' EksContainer (Maybe [Text])
+ Amazonka.Batch.Lens: eksContainer_env :: Lens' EksContainer (Maybe [EksContainerEnvironmentVariable])
+ Amazonka.Batch.Lens: eksContainer_image :: Lens' EksContainer Text
+ Amazonka.Batch.Lens: eksContainer_imagePullPolicy :: Lens' EksContainer (Maybe Text)
+ Amazonka.Batch.Lens: eksContainer_name :: Lens' EksContainer (Maybe Text)
+ Amazonka.Batch.Lens: eksContainer_resources :: Lens' EksContainer (Maybe EksContainerResourceRequirements)
+ Amazonka.Batch.Lens: eksContainer_securityContext :: Lens' EksContainer (Maybe EksContainerSecurityContext)
+ Amazonka.Batch.Lens: eksContainer_volumeMounts :: Lens' EksContainer (Maybe [EksContainerVolumeMount])
+ Amazonka.Batch.Lens: eksEmptyDir_medium :: Lens' EksEmptyDir (Maybe Text)
+ Amazonka.Batch.Lens: eksEmptyDir_sizeLimit :: Lens' EksEmptyDir (Maybe Text)
+ Amazonka.Batch.Lens: eksHostPath_path :: Lens' EksHostPath (Maybe Text)
+ Amazonka.Batch.Lens: eksPodPropertiesDetail_containers :: Lens' EksPodPropertiesDetail (Maybe [EksContainerDetail])
+ Amazonka.Batch.Lens: eksPodPropertiesDetail_dnsPolicy :: Lens' EksPodPropertiesDetail (Maybe Text)
+ Amazonka.Batch.Lens: eksPodPropertiesDetail_hostNetwork :: Lens' EksPodPropertiesDetail (Maybe Bool)
+ Amazonka.Batch.Lens: eksPodPropertiesDetail_nodeName :: Lens' EksPodPropertiesDetail (Maybe Text)
+ Amazonka.Batch.Lens: eksPodPropertiesDetail_podName :: Lens' EksPodPropertiesDetail (Maybe Text)
+ Amazonka.Batch.Lens: eksPodPropertiesDetail_serviceAccountName :: Lens' EksPodPropertiesDetail (Maybe Text)
+ Amazonka.Batch.Lens: eksPodPropertiesDetail_volumes :: Lens' EksPodPropertiesDetail (Maybe [EksVolume])
+ Amazonka.Batch.Lens: eksPodPropertiesOverride_containers :: Lens' EksPodPropertiesOverride (Maybe [EksContainerOverride])
+ Amazonka.Batch.Lens: eksPodProperties_containers :: Lens' EksPodProperties (Maybe [EksContainer])
+ Amazonka.Batch.Lens: eksPodProperties_dnsPolicy :: Lens' EksPodProperties (Maybe Text)
+ Amazonka.Batch.Lens: eksPodProperties_hostNetwork :: Lens' EksPodProperties (Maybe Bool)
+ Amazonka.Batch.Lens: eksPodProperties_serviceAccountName :: Lens' EksPodProperties (Maybe Text)
+ Amazonka.Batch.Lens: eksPodProperties_volumes :: Lens' EksPodProperties (Maybe [EksVolume])
+ Amazonka.Batch.Lens: eksPropertiesDetail_podProperties :: Lens' EksPropertiesDetail (Maybe EksPodPropertiesDetail)
+ Amazonka.Batch.Lens: eksPropertiesOverride_podProperties :: Lens' EksPropertiesOverride (Maybe EksPodPropertiesOverride)
+ Amazonka.Batch.Lens: eksProperties_podProperties :: Lens' EksProperties (Maybe EksPodProperties)
+ Amazonka.Batch.Lens: eksSecret_optional :: Lens' EksSecret (Maybe Bool)
+ Amazonka.Batch.Lens: eksSecret_secretName :: Lens' EksSecret Text
+ Amazonka.Batch.Lens: eksVolume_emptyDir :: Lens' EksVolume (Maybe EksEmptyDir)
+ Amazonka.Batch.Lens: eksVolume_hostPath :: Lens' EksVolume (Maybe EksHostPath)
+ Amazonka.Batch.Lens: eksVolume_name :: Lens' EksVolume Text
+ Amazonka.Batch.Lens: eksVolume_secret :: Lens' EksVolume (Maybe EksSecret)
+ Amazonka.Batch.Lens: evaluateOnExit_action :: Lens' EvaluateOnExit RetryAction
+ Amazonka.Batch.Lens: evaluateOnExit_onExitCode :: Lens' EvaluateOnExit (Maybe Text)
+ Amazonka.Batch.Lens: evaluateOnExit_onReason :: Lens' EvaluateOnExit (Maybe Text)
+ Amazonka.Batch.Lens: evaluateOnExit_onStatusReason :: Lens' EvaluateOnExit (Maybe Text)
+ Amazonka.Batch.Lens: fairsharePolicy_computeReservation :: Lens' FairsharePolicy (Maybe Int)
+ Amazonka.Batch.Lens: fairsharePolicy_shareDecaySeconds :: Lens' FairsharePolicy (Maybe Int)
+ Amazonka.Batch.Lens: fairsharePolicy_shareDistribution :: Lens' FairsharePolicy (Maybe [ShareAttributes])
+ Amazonka.Batch.Lens: fargatePlatformConfiguration_platformVersion :: Lens' FargatePlatformConfiguration (Maybe Text)
+ Amazonka.Batch.Lens: host_sourcePath :: Lens' Host (Maybe Text)
+ Amazonka.Batch.Lens: jobDefinition_containerOrchestrationType :: Lens' JobDefinition (Maybe OrchestrationType)
+ Amazonka.Batch.Lens: jobDefinition_containerProperties :: Lens' JobDefinition (Maybe ContainerProperties)
+ Amazonka.Batch.Lens: jobDefinition_eksProperties :: Lens' JobDefinition (Maybe EksProperties)
+ Amazonka.Batch.Lens: jobDefinition_jobDefinitionArn :: Lens' JobDefinition Text
+ Amazonka.Batch.Lens: jobDefinition_jobDefinitionName :: Lens' JobDefinition Text
+ Amazonka.Batch.Lens: jobDefinition_nodeProperties :: Lens' JobDefinition (Maybe NodeProperties)
+ Amazonka.Batch.Lens: jobDefinition_parameters :: Lens' JobDefinition (Maybe (HashMap Text Text))
+ Amazonka.Batch.Lens: jobDefinition_platformCapabilities :: Lens' JobDefinition (Maybe [PlatformCapability])
+ Amazonka.Batch.Lens: jobDefinition_propagateTags :: Lens' JobDefinition (Maybe Bool)
+ Amazonka.Batch.Lens: jobDefinition_retryStrategy :: Lens' JobDefinition (Maybe RetryStrategy)
+ Amazonka.Batch.Lens: jobDefinition_revision :: Lens' JobDefinition Int
+ Amazonka.Batch.Lens: jobDefinition_schedulingPriority :: Lens' JobDefinition (Maybe Int)
+ Amazonka.Batch.Lens: jobDefinition_status :: Lens' JobDefinition (Maybe Text)
+ Amazonka.Batch.Lens: jobDefinition_tags :: Lens' JobDefinition (Maybe (HashMap Text Text))
+ Amazonka.Batch.Lens: jobDefinition_timeout :: Lens' JobDefinition (Maybe JobTimeout)
+ Amazonka.Batch.Lens: jobDefinition_type :: Lens' JobDefinition Text
+ Amazonka.Batch.Lens: jobDependency_jobId :: Lens' JobDependency (Maybe Text)
+ Amazonka.Batch.Lens: jobDependency_type :: Lens' JobDependency (Maybe ArrayJobDependency)
+ Amazonka.Batch.Lens: jobDetail_arrayProperties :: Lens' JobDetail (Maybe ArrayPropertiesDetail)
+ Amazonka.Batch.Lens: jobDetail_attempts :: Lens' JobDetail (Maybe [AttemptDetail])
+ Amazonka.Batch.Lens: jobDetail_container :: Lens' JobDetail (Maybe ContainerDetail)
+ Amazonka.Batch.Lens: jobDetail_createdAt :: Lens' JobDetail (Maybe Integer)
+ Amazonka.Batch.Lens: jobDetail_dependsOn :: Lens' JobDetail (Maybe [JobDependency])
+ Amazonka.Batch.Lens: jobDetail_eksAttempts :: Lens' JobDetail (Maybe [EksAttemptDetail])
+ Amazonka.Batch.Lens: jobDetail_eksProperties :: Lens' JobDetail (Maybe EksPropertiesDetail)
+ Amazonka.Batch.Lens: jobDetail_isCancelled :: Lens' JobDetail (Maybe Bool)
+ Amazonka.Batch.Lens: jobDetail_isTerminated :: Lens' JobDetail (Maybe Bool)
+ Amazonka.Batch.Lens: jobDetail_jobArn :: Lens' JobDetail (Maybe Text)
+ Amazonka.Batch.Lens: jobDetail_jobDefinition :: Lens' JobDetail Text
+ Amazonka.Batch.Lens: jobDetail_jobId :: Lens' JobDetail Text
+ Amazonka.Batch.Lens: jobDetail_jobName :: Lens' JobDetail Text
+ Amazonka.Batch.Lens: jobDetail_jobQueue :: Lens' JobDetail Text
+ Amazonka.Batch.Lens: jobDetail_nodeDetails :: Lens' JobDetail (Maybe NodeDetails)
+ Amazonka.Batch.Lens: jobDetail_nodeProperties :: Lens' JobDetail (Maybe NodeProperties)
+ Amazonka.Batch.Lens: jobDetail_parameters :: Lens' JobDetail (Maybe (HashMap Text Text))
+ Amazonka.Batch.Lens: jobDetail_platformCapabilities :: Lens' JobDetail (Maybe [PlatformCapability])
+ Amazonka.Batch.Lens: jobDetail_propagateTags :: Lens' JobDetail (Maybe Bool)
+ Amazonka.Batch.Lens: jobDetail_retryStrategy :: Lens' JobDetail (Maybe RetryStrategy)
+ Amazonka.Batch.Lens: jobDetail_schedulingPriority :: Lens' JobDetail (Maybe Int)
+ Amazonka.Batch.Lens: jobDetail_shareIdentifier :: Lens' JobDetail (Maybe Text)
+ Amazonka.Batch.Lens: jobDetail_startedAt :: Lens' JobDetail (Maybe Integer)
+ Amazonka.Batch.Lens: jobDetail_status :: Lens' JobDetail JobStatus
+ Amazonka.Batch.Lens: jobDetail_statusReason :: Lens' JobDetail (Maybe Text)
+ Amazonka.Batch.Lens: jobDetail_stoppedAt :: Lens' JobDetail (Maybe Integer)
+ Amazonka.Batch.Lens: jobDetail_tags :: Lens' JobDetail (Maybe (HashMap Text Text))
+ Amazonka.Batch.Lens: jobDetail_timeout :: Lens' JobDetail (Maybe JobTimeout)
+ Amazonka.Batch.Lens: jobQueueDetail_computeEnvironmentOrder :: Lens' JobQueueDetail [ComputeEnvironmentOrder]
+ Amazonka.Batch.Lens: jobQueueDetail_jobQueueArn :: Lens' JobQueueDetail Text
+ Amazonka.Batch.Lens: jobQueueDetail_jobQueueName :: Lens' JobQueueDetail Text
+ Amazonka.Batch.Lens: jobQueueDetail_priority :: Lens' JobQueueDetail Int
+ Amazonka.Batch.Lens: jobQueueDetail_schedulingPolicyArn :: Lens' JobQueueDetail (Maybe Text)
+ Amazonka.Batch.Lens: jobQueueDetail_state :: Lens' JobQueueDetail JQState
+ Amazonka.Batch.Lens: jobQueueDetail_status :: Lens' JobQueueDetail (Maybe JQStatus)
+ Amazonka.Batch.Lens: jobQueueDetail_statusReason :: Lens' JobQueueDetail (Maybe Text)
+ Amazonka.Batch.Lens: jobQueueDetail_tags :: Lens' JobQueueDetail (Maybe (HashMap Text Text))
+ Amazonka.Batch.Lens: jobSummary_arrayProperties :: Lens' JobSummary (Maybe ArrayPropertiesSummary)
+ Amazonka.Batch.Lens: jobSummary_container :: Lens' JobSummary (Maybe ContainerSummary)
+ Amazonka.Batch.Lens: jobSummary_createdAt :: Lens' JobSummary (Maybe Integer)
+ Amazonka.Batch.Lens: jobSummary_jobArn :: Lens' JobSummary (Maybe Text)
+ Amazonka.Batch.Lens: jobSummary_jobDefinition :: Lens' JobSummary (Maybe Text)
+ Amazonka.Batch.Lens: jobSummary_jobId :: Lens' JobSummary Text
+ Amazonka.Batch.Lens: jobSummary_jobName :: Lens' JobSummary Text
+ Amazonka.Batch.Lens: jobSummary_nodeProperties :: Lens' JobSummary (Maybe NodePropertiesSummary)
+ Amazonka.Batch.Lens: jobSummary_startedAt :: Lens' JobSummary (Maybe Integer)
+ Amazonka.Batch.Lens: jobSummary_status :: Lens' JobSummary (Maybe JobStatus)
+ Amazonka.Batch.Lens: jobSummary_statusReason :: Lens' JobSummary (Maybe Text)
+ Amazonka.Batch.Lens: jobSummary_stoppedAt :: Lens' JobSummary (Maybe Integer)
+ Amazonka.Batch.Lens: jobTimeout_attemptDurationSeconds :: Lens' JobTimeout (Maybe Int)
+ Amazonka.Batch.Lens: keyValuePair_name :: Lens' KeyValuePair (Maybe Text)
+ Amazonka.Batch.Lens: keyValuePair_value :: Lens' KeyValuePair (Maybe Text)
+ Amazonka.Batch.Lens: keyValuesPair_name :: Lens' KeyValuesPair (Maybe Text)
+ Amazonka.Batch.Lens: keyValuesPair_values :: Lens' KeyValuesPair (Maybe [Text])
+ Amazonka.Batch.Lens: launchTemplateSpecification_launchTemplateId :: Lens' LaunchTemplateSpecification (Maybe Text)
+ Amazonka.Batch.Lens: launchTemplateSpecification_launchTemplateName :: Lens' LaunchTemplateSpecification (Maybe Text)
+ Amazonka.Batch.Lens: launchTemplateSpecification_version :: Lens' LaunchTemplateSpecification (Maybe Text)
+ Amazonka.Batch.Lens: linuxParameters_devices :: Lens' LinuxParameters (Maybe [Device])
+ Amazonka.Batch.Lens: linuxParameters_initProcessEnabled :: Lens' LinuxParameters (Maybe Bool)
+ Amazonka.Batch.Lens: linuxParameters_maxSwap :: Lens' LinuxParameters (Maybe Int)
+ Amazonka.Batch.Lens: linuxParameters_sharedMemorySize :: Lens' LinuxParameters (Maybe Int)
+ Amazonka.Batch.Lens: linuxParameters_swappiness :: Lens' LinuxParameters (Maybe Int)
+ Amazonka.Batch.Lens: linuxParameters_tmpfs :: Lens' LinuxParameters (Maybe [Tmpfs])
+ Amazonka.Batch.Lens: listJobsResponse_httpStatus :: Lens' ListJobsResponse Int
+ Amazonka.Batch.Lens: listJobsResponse_jobSummaryList :: Lens' ListJobsResponse [JobSummary]
+ Amazonka.Batch.Lens: listJobsResponse_nextToken :: Lens' ListJobsResponse (Maybe Text)
+ Amazonka.Batch.Lens: listJobs_arrayJobId :: Lens' ListJobs (Maybe Text)
+ Amazonka.Batch.Lens: listJobs_filters :: Lens' ListJobs (Maybe [KeyValuesPair])
+ Amazonka.Batch.Lens: listJobs_jobQueue :: Lens' ListJobs (Maybe Text)
+ Amazonka.Batch.Lens: listJobs_jobStatus :: Lens' ListJobs (Maybe JobStatus)
+ Amazonka.Batch.Lens: listJobs_maxResults :: Lens' ListJobs (Maybe Int)
+ Amazonka.Batch.Lens: listJobs_multiNodeJobId :: Lens' ListJobs (Maybe Text)
+ Amazonka.Batch.Lens: listJobs_nextToken :: Lens' ListJobs (Maybe Text)
+ Amazonka.Batch.Lens: listSchedulingPoliciesResponse_httpStatus :: Lens' ListSchedulingPoliciesResponse Int
+ Amazonka.Batch.Lens: listSchedulingPoliciesResponse_nextToken :: Lens' ListSchedulingPoliciesResponse (Maybe Text)
+ Amazonka.Batch.Lens: listSchedulingPoliciesResponse_schedulingPolicies :: Lens' ListSchedulingPoliciesResponse (Maybe [SchedulingPolicyListingDetail])
+ Amazonka.Batch.Lens: listSchedulingPolicies_maxResults :: Lens' ListSchedulingPolicies (Maybe Int)
+ Amazonka.Batch.Lens: listSchedulingPolicies_nextToken :: Lens' ListSchedulingPolicies (Maybe Text)
+ Amazonka.Batch.Lens: listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
+ Amazonka.Batch.Lens: listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text))
+ Amazonka.Batch.Lens: listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
+ Amazonka.Batch.Lens: logConfiguration_logDriver :: Lens' LogConfiguration LogDriver
+ Amazonka.Batch.Lens: logConfiguration_options :: Lens' LogConfiguration (Maybe (HashMap Text Text))
+ Amazonka.Batch.Lens: logConfiguration_secretOptions :: Lens' LogConfiguration (Maybe [Secret])
+ Amazonka.Batch.Lens: mountPoint_containerPath :: Lens' MountPoint (Maybe Text)
+ Amazonka.Batch.Lens: mountPoint_readOnly :: Lens' MountPoint (Maybe Bool)
+ Amazonka.Batch.Lens: mountPoint_sourceVolume :: Lens' MountPoint (Maybe Text)
+ Amazonka.Batch.Lens: networkConfiguration_assignPublicIp :: Lens' NetworkConfiguration (Maybe AssignPublicIp)
+ Amazonka.Batch.Lens: networkInterface_attachmentId :: Lens' NetworkInterface (Maybe Text)
+ Amazonka.Batch.Lens: networkInterface_ipv6Address :: Lens' NetworkInterface (Maybe Text)
+ Amazonka.Batch.Lens: networkInterface_privateIpv4Address :: Lens' NetworkInterface (Maybe Text)
+ Amazonka.Batch.Lens: nodeDetails_isMainNode :: Lens' NodeDetails (Maybe Bool)
+ Amazonka.Batch.Lens: nodeDetails_nodeIndex :: Lens' NodeDetails (Maybe Int)
+ Amazonka.Batch.Lens: nodeOverrides_nodePropertyOverrides :: Lens' NodeOverrides (Maybe [NodePropertyOverride])
+ Amazonka.Batch.Lens: nodeOverrides_numNodes :: Lens' NodeOverrides (Maybe Int)
+ Amazonka.Batch.Lens: nodePropertiesSummary_isMainNode :: Lens' NodePropertiesSummary (Maybe Bool)
+ Amazonka.Batch.Lens: nodePropertiesSummary_nodeIndex :: Lens' NodePropertiesSummary (Maybe Int)
+ Amazonka.Batch.Lens: nodePropertiesSummary_numNodes :: Lens' NodePropertiesSummary (Maybe Int)
+ Amazonka.Batch.Lens: nodeProperties_mainNode :: Lens' NodeProperties Int
+ Amazonka.Batch.Lens: nodeProperties_nodeRangeProperties :: Lens' NodeProperties [NodeRangeProperty]
+ Amazonka.Batch.Lens: nodeProperties_numNodes :: Lens' NodeProperties Int
+ Amazonka.Batch.Lens: nodePropertyOverride_containerOverrides :: Lens' NodePropertyOverride (Maybe ContainerOverrides)
+ Amazonka.Batch.Lens: nodePropertyOverride_targetNodes :: Lens' NodePropertyOverride Text
+ Amazonka.Batch.Lens: nodeRangeProperty_container :: Lens' NodeRangeProperty (Maybe ContainerProperties)
+ Amazonka.Batch.Lens: nodeRangeProperty_targetNodes :: Lens' NodeRangeProperty Text
+ Amazonka.Batch.Lens: registerJobDefinitionResponse_httpStatus :: Lens' RegisterJobDefinitionResponse Int
+ Amazonka.Batch.Lens: registerJobDefinitionResponse_jobDefinitionArn :: Lens' RegisterJobDefinitionResponse Text
+ Amazonka.Batch.Lens: registerJobDefinitionResponse_jobDefinitionName :: Lens' RegisterJobDefinitionResponse Text
+ Amazonka.Batch.Lens: registerJobDefinitionResponse_revision :: Lens' RegisterJobDefinitionResponse Int
+ Amazonka.Batch.Lens: registerJobDefinition_containerProperties :: Lens' RegisterJobDefinition (Maybe ContainerProperties)
+ Amazonka.Batch.Lens: registerJobDefinition_eksProperties :: Lens' RegisterJobDefinition (Maybe EksProperties)
+ Amazonka.Batch.Lens: registerJobDefinition_jobDefinitionName :: Lens' RegisterJobDefinition Text
+ Amazonka.Batch.Lens: registerJobDefinition_nodeProperties :: Lens' RegisterJobDefinition (Maybe NodeProperties)
+ Amazonka.Batch.Lens: registerJobDefinition_parameters :: Lens' RegisterJobDefinition (Maybe (HashMap Text Text))
+ Amazonka.Batch.Lens: registerJobDefinition_platformCapabilities :: Lens' RegisterJobDefinition (Maybe [PlatformCapability])
+ Amazonka.Batch.Lens: registerJobDefinition_propagateTags :: Lens' RegisterJobDefinition (Maybe Bool)
+ Amazonka.Batch.Lens: registerJobDefinition_retryStrategy :: Lens' RegisterJobDefinition (Maybe RetryStrategy)
+ Amazonka.Batch.Lens: registerJobDefinition_schedulingPriority :: Lens' RegisterJobDefinition (Maybe Int)
+ Amazonka.Batch.Lens: registerJobDefinition_tags :: Lens' RegisterJobDefinition (Maybe (HashMap Text Text))
+ Amazonka.Batch.Lens: registerJobDefinition_timeout :: Lens' RegisterJobDefinition (Maybe JobTimeout)
+ Amazonka.Batch.Lens: registerJobDefinition_type :: Lens' RegisterJobDefinition JobDefinitionType
+ Amazonka.Batch.Lens: resourceRequirement_type :: Lens' ResourceRequirement ResourceType
+ Amazonka.Batch.Lens: resourceRequirement_value :: Lens' ResourceRequirement Text
+ Amazonka.Batch.Lens: retryStrategy_attempts :: Lens' RetryStrategy (Maybe Int)
+ Amazonka.Batch.Lens: retryStrategy_evaluateOnExit :: Lens' RetryStrategy (Maybe [EvaluateOnExit])
+ Amazonka.Batch.Lens: schedulingPolicyDetail_arn :: Lens' SchedulingPolicyDetail Text
+ Amazonka.Batch.Lens: schedulingPolicyDetail_fairsharePolicy :: Lens' SchedulingPolicyDetail (Maybe FairsharePolicy)
+ Amazonka.Batch.Lens: schedulingPolicyDetail_name :: Lens' SchedulingPolicyDetail Text
+ Amazonka.Batch.Lens: schedulingPolicyDetail_tags :: Lens' SchedulingPolicyDetail (Maybe (HashMap Text Text))
+ Amazonka.Batch.Lens: schedulingPolicyListingDetail_arn :: Lens' SchedulingPolicyListingDetail Text
+ Amazonka.Batch.Lens: secret_name :: Lens' Secret Text
+ Amazonka.Batch.Lens: secret_valueFrom :: Lens' Secret Text
+ Amazonka.Batch.Lens: shareAttributes_shareIdentifier :: Lens' ShareAttributes Text
+ Amazonka.Batch.Lens: shareAttributes_weightFactor :: Lens' ShareAttributes (Maybe Double)
+ Amazonka.Batch.Lens: submitJobResponse_httpStatus :: Lens' SubmitJobResponse Int
+ Amazonka.Batch.Lens: submitJobResponse_jobArn :: Lens' SubmitJobResponse (Maybe Text)
+ Amazonka.Batch.Lens: submitJobResponse_jobId :: Lens' SubmitJobResponse Text
+ Amazonka.Batch.Lens: submitJobResponse_jobName :: Lens' SubmitJobResponse Text
+ Amazonka.Batch.Lens: submitJob_arrayProperties :: Lens' SubmitJob (Maybe ArrayProperties)
+ Amazonka.Batch.Lens: submitJob_containerOverrides :: Lens' SubmitJob (Maybe ContainerOverrides)
+ Amazonka.Batch.Lens: submitJob_dependsOn :: Lens' SubmitJob (Maybe [JobDependency])
+ Amazonka.Batch.Lens: submitJob_eksPropertiesOverride :: Lens' SubmitJob (Maybe EksPropertiesOverride)
+ Amazonka.Batch.Lens: submitJob_jobDefinition :: Lens' SubmitJob Text
+ Amazonka.Batch.Lens: submitJob_jobName :: Lens' SubmitJob Text
+ Amazonka.Batch.Lens: submitJob_jobQueue :: Lens' SubmitJob Text
+ Amazonka.Batch.Lens: submitJob_nodeOverrides :: Lens' SubmitJob (Maybe NodeOverrides)
+ Amazonka.Batch.Lens: submitJob_parameters :: Lens' SubmitJob (Maybe (HashMap Text Text))
+ Amazonka.Batch.Lens: submitJob_propagateTags :: Lens' SubmitJob (Maybe Bool)
+ Amazonka.Batch.Lens: submitJob_retryStrategy :: Lens' SubmitJob (Maybe RetryStrategy)
+ Amazonka.Batch.Lens: submitJob_schedulingPriorityOverride :: Lens' SubmitJob (Maybe Int)
+ Amazonka.Batch.Lens: submitJob_shareIdentifier :: Lens' SubmitJob (Maybe Text)
+ Amazonka.Batch.Lens: submitJob_tags :: Lens' SubmitJob (Maybe (HashMap Text Text))
+ Amazonka.Batch.Lens: submitJob_timeout :: Lens' SubmitJob (Maybe JobTimeout)
+ Amazonka.Batch.Lens: tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
+ Amazonka.Batch.Lens: tagResource_resourceArn :: Lens' TagResource Text
+ Amazonka.Batch.Lens: tagResource_tags :: Lens' TagResource (HashMap Text Text)
+ Amazonka.Batch.Lens: terminateJobResponse_httpStatus :: Lens' TerminateJobResponse Int
+ Amazonka.Batch.Lens: terminateJob_jobId :: Lens' TerminateJob Text
+ Amazonka.Batch.Lens: terminateJob_reason :: Lens' TerminateJob Text
+ Amazonka.Batch.Lens: tmpfs_containerPath :: Lens' Tmpfs Text
+ Amazonka.Batch.Lens: tmpfs_mountOptions :: Lens' Tmpfs (Maybe [Text])
+ Amazonka.Batch.Lens: tmpfs_size :: Lens' Tmpfs Int
+ Amazonka.Batch.Lens: ulimit_hardLimit :: Lens' Ulimit Int
+ Amazonka.Batch.Lens: ulimit_name :: Lens' Ulimit Text
+ Amazonka.Batch.Lens: ulimit_softLimit :: Lens' Ulimit Int
+ Amazonka.Batch.Lens: untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
+ Amazonka.Batch.Lens: untagResource_resourceArn :: Lens' UntagResource Text
+ Amazonka.Batch.Lens: untagResource_tagKeys :: Lens' UntagResource (NonEmpty Text)
+ Amazonka.Batch.Lens: updateComputeEnvironmentResponse_computeEnvironmentArn :: Lens' UpdateComputeEnvironmentResponse (Maybe Text)
+ Amazonka.Batch.Lens: updateComputeEnvironmentResponse_computeEnvironmentName :: Lens' UpdateComputeEnvironmentResponse (Maybe Text)
+ Amazonka.Batch.Lens: updateComputeEnvironmentResponse_httpStatus :: Lens' UpdateComputeEnvironmentResponse Int
+ Amazonka.Batch.Lens: updateComputeEnvironment_computeEnvironment :: Lens' UpdateComputeEnvironment Text
+ Amazonka.Batch.Lens: updateComputeEnvironment_computeResources :: Lens' UpdateComputeEnvironment (Maybe ComputeResourceUpdate)
+ Amazonka.Batch.Lens: updateComputeEnvironment_serviceRole :: Lens' UpdateComputeEnvironment (Maybe Text)
+ Amazonka.Batch.Lens: updateComputeEnvironment_state :: Lens' UpdateComputeEnvironment (Maybe CEState)
+ Amazonka.Batch.Lens: updateComputeEnvironment_unmanagedvCpus :: Lens' UpdateComputeEnvironment (Maybe Int)
+ Amazonka.Batch.Lens: updateComputeEnvironment_updatePolicy :: Lens' UpdateComputeEnvironment (Maybe UpdatePolicy)
+ Amazonka.Batch.Lens: updateJobQueueResponse_httpStatus :: Lens' UpdateJobQueueResponse Int
+ Amazonka.Batch.Lens: updateJobQueueResponse_jobQueueArn :: Lens' UpdateJobQueueResponse (Maybe Text)
+ Amazonka.Batch.Lens: updateJobQueueResponse_jobQueueName :: Lens' UpdateJobQueueResponse (Maybe Text)
+ Amazonka.Batch.Lens: updateJobQueue_computeEnvironmentOrder :: Lens' UpdateJobQueue (Maybe [ComputeEnvironmentOrder])
+ Amazonka.Batch.Lens: updateJobQueue_jobQueue :: Lens' UpdateJobQueue Text
+ Amazonka.Batch.Lens: updateJobQueue_priority :: Lens' UpdateJobQueue (Maybe Int)
+ Amazonka.Batch.Lens: updateJobQueue_schedulingPolicyArn :: Lens' UpdateJobQueue (Maybe Text)
+ Amazonka.Batch.Lens: updateJobQueue_state :: Lens' UpdateJobQueue (Maybe JQState)
+ Amazonka.Batch.Lens: updatePolicy_jobExecutionTimeoutMinutes :: Lens' UpdatePolicy (Maybe Natural)
+ Amazonka.Batch.Lens: updatePolicy_terminateJobsOnUpdate :: Lens' UpdatePolicy (Maybe Bool)
+ Amazonka.Batch.Lens: updateSchedulingPolicyResponse_httpStatus :: Lens' UpdateSchedulingPolicyResponse Int
+ Amazonka.Batch.Lens: updateSchedulingPolicy_arn :: Lens' UpdateSchedulingPolicy Text
+ Amazonka.Batch.Lens: updateSchedulingPolicy_fairsharePolicy :: Lens' UpdateSchedulingPolicy (Maybe FairsharePolicy)
+ Amazonka.Batch.Lens: volume_efsVolumeConfiguration :: Lens' Volume (Maybe EFSVolumeConfiguration)
+ Amazonka.Batch.Lens: volume_host :: Lens' Volume (Maybe Host)
+ Amazonka.Batch.Lens: volume_name :: Lens' Volume (Maybe Text)
+ Amazonka.Batch.ListJobs: ListJobs' :: Maybe Text -> Maybe [KeyValuesPair] -> Maybe Text -> Maybe JobStatus -> Maybe Int -> Maybe Text -> Maybe Text -> ListJobs
+ Amazonka.Batch.ListJobs: ListJobsResponse' :: Maybe Text -> Int -> [JobSummary] -> ListJobsResponse
+ Amazonka.Batch.ListJobs: [$sel:arrayJobId:ListJobs'] :: ListJobs -> Maybe Text
+ Amazonka.Batch.ListJobs: [$sel:filters:ListJobs'] :: ListJobs -> Maybe [KeyValuesPair]
+ Amazonka.Batch.ListJobs: [$sel:httpStatus:ListJobsResponse'] :: ListJobsResponse -> Int
+ Amazonka.Batch.ListJobs: [$sel:jobQueue:ListJobs'] :: ListJobs -> Maybe Text
+ Amazonka.Batch.ListJobs: [$sel:jobStatus:ListJobs'] :: ListJobs -> Maybe JobStatus
+ Amazonka.Batch.ListJobs: [$sel:jobSummaryList:ListJobsResponse'] :: ListJobsResponse -> [JobSummary]
+ Amazonka.Batch.ListJobs: [$sel:maxResults:ListJobs'] :: ListJobs -> Maybe Int
+ Amazonka.Batch.ListJobs: [$sel:multiNodeJobId:ListJobs'] :: ListJobs -> Maybe Text
+ Amazonka.Batch.ListJobs: [$sel:nextToken:ListJobs'] :: ListJobs -> Maybe Text
+ Amazonka.Batch.ListJobs: [$sel:nextToken:ListJobsResponse'] :: ListJobsResponse -> Maybe Text
+ Amazonka.Batch.ListJobs: data ListJobs
+ Amazonka.Batch.ListJobs: data ListJobsResponse
+ Amazonka.Batch.ListJobs: instance Amazonka.Data.Headers.ToHeaders Amazonka.Batch.ListJobs.ListJobs
+ Amazonka.Batch.ListJobs: instance Amazonka.Data.Path.ToPath Amazonka.Batch.ListJobs.ListJobs
+ Amazonka.Batch.ListJobs: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.ListJobs.ListJobs
+ Amazonka.Batch.ListJobs: instance Amazonka.Pager.AWSPager Amazonka.Batch.ListJobs.ListJobs
+ Amazonka.Batch.ListJobs: instance Amazonka.Types.AWSRequest Amazonka.Batch.ListJobs.ListJobs
+ Amazonka.Batch.ListJobs: instance Control.DeepSeq.NFData Amazonka.Batch.ListJobs.ListJobs
+ Amazonka.Batch.ListJobs: instance Control.DeepSeq.NFData Amazonka.Batch.ListJobs.ListJobsResponse
+ Amazonka.Batch.ListJobs: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.ListJobs.ListJobs
+ Amazonka.Batch.ListJobs: instance Data.Hashable.Class.Hashable Amazonka.Batch.ListJobs.ListJobs
+ Amazonka.Batch.ListJobs: instance GHC.Classes.Eq Amazonka.Batch.ListJobs.ListJobs
+ Amazonka.Batch.ListJobs: instance GHC.Classes.Eq Amazonka.Batch.ListJobs.ListJobsResponse
+ Amazonka.Batch.ListJobs: instance GHC.Generics.Generic Amazonka.Batch.ListJobs.ListJobs
+ Amazonka.Batch.ListJobs: instance GHC.Generics.Generic Amazonka.Batch.ListJobs.ListJobsResponse
+ Amazonka.Batch.ListJobs: instance GHC.Read.Read Amazonka.Batch.ListJobs.ListJobs
+ Amazonka.Batch.ListJobs: instance GHC.Read.Read Amazonka.Batch.ListJobs.ListJobsResponse
+ Amazonka.Batch.ListJobs: instance GHC.Show.Show Amazonka.Batch.ListJobs.ListJobs
+ Amazonka.Batch.ListJobs: instance GHC.Show.Show Amazonka.Batch.ListJobs.ListJobsResponse
+ Amazonka.Batch.ListJobs: listJobsResponse_httpStatus :: Lens' ListJobsResponse Int
+ Amazonka.Batch.ListJobs: listJobsResponse_jobSummaryList :: Lens' ListJobsResponse [JobSummary]
+ Amazonka.Batch.ListJobs: listJobsResponse_nextToken :: Lens' ListJobsResponse (Maybe Text)
+ Amazonka.Batch.ListJobs: listJobs_arrayJobId :: Lens' ListJobs (Maybe Text)
+ Amazonka.Batch.ListJobs: listJobs_filters :: Lens' ListJobs (Maybe [KeyValuesPair])
+ Amazonka.Batch.ListJobs: listJobs_jobQueue :: Lens' ListJobs (Maybe Text)
+ Amazonka.Batch.ListJobs: listJobs_jobStatus :: Lens' ListJobs (Maybe JobStatus)
+ Amazonka.Batch.ListJobs: listJobs_maxResults :: Lens' ListJobs (Maybe Int)
+ Amazonka.Batch.ListJobs: listJobs_multiNodeJobId :: Lens' ListJobs (Maybe Text)
+ Amazonka.Batch.ListJobs: listJobs_nextToken :: Lens' ListJobs (Maybe Text)
+ Amazonka.Batch.ListJobs: newListJobs :: ListJobs
+ Amazonka.Batch.ListJobs: newListJobsResponse :: Int -> ListJobsResponse
+ Amazonka.Batch.ListSchedulingPolicies: ListSchedulingPolicies' :: Maybe Int -> Maybe Text -> ListSchedulingPolicies
+ Amazonka.Batch.ListSchedulingPolicies: ListSchedulingPoliciesResponse' :: Maybe Text -> Maybe [SchedulingPolicyListingDetail] -> Int -> ListSchedulingPoliciesResponse
+ Amazonka.Batch.ListSchedulingPolicies: [$sel:httpStatus:ListSchedulingPoliciesResponse'] :: ListSchedulingPoliciesResponse -> Int
+ Amazonka.Batch.ListSchedulingPolicies: [$sel:maxResults:ListSchedulingPolicies'] :: ListSchedulingPolicies -> Maybe Int
+ Amazonka.Batch.ListSchedulingPolicies: [$sel:nextToken:ListSchedulingPolicies'] :: ListSchedulingPolicies -> Maybe Text
+ Amazonka.Batch.ListSchedulingPolicies: [$sel:nextToken:ListSchedulingPoliciesResponse'] :: ListSchedulingPoliciesResponse -> Maybe Text
+ Amazonka.Batch.ListSchedulingPolicies: [$sel:schedulingPolicies:ListSchedulingPoliciesResponse'] :: ListSchedulingPoliciesResponse -> Maybe [SchedulingPolicyListingDetail]
+ Amazonka.Batch.ListSchedulingPolicies: data ListSchedulingPolicies
+ Amazonka.Batch.ListSchedulingPolicies: data ListSchedulingPoliciesResponse
+ Amazonka.Batch.ListSchedulingPolicies: instance Amazonka.Data.Headers.ToHeaders Amazonka.Batch.ListSchedulingPolicies.ListSchedulingPolicies
+ Amazonka.Batch.ListSchedulingPolicies: instance Amazonka.Data.Path.ToPath Amazonka.Batch.ListSchedulingPolicies.ListSchedulingPolicies
+ Amazonka.Batch.ListSchedulingPolicies: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.ListSchedulingPolicies.ListSchedulingPolicies
+ Amazonka.Batch.ListSchedulingPolicies: instance Amazonka.Pager.AWSPager Amazonka.Batch.ListSchedulingPolicies.ListSchedulingPolicies
+ Amazonka.Batch.ListSchedulingPolicies: instance Amazonka.Types.AWSRequest Amazonka.Batch.ListSchedulingPolicies.ListSchedulingPolicies
+ Amazonka.Batch.ListSchedulingPolicies: instance Control.DeepSeq.NFData Amazonka.Batch.ListSchedulingPolicies.ListSchedulingPolicies
+ Amazonka.Batch.ListSchedulingPolicies: instance Control.DeepSeq.NFData Amazonka.Batch.ListSchedulingPolicies.ListSchedulingPoliciesResponse
+ Amazonka.Batch.ListSchedulingPolicies: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.ListSchedulingPolicies.ListSchedulingPolicies
+ Amazonka.Batch.ListSchedulingPolicies: instance Data.Hashable.Class.Hashable Amazonka.Batch.ListSchedulingPolicies.ListSchedulingPolicies
+ Amazonka.Batch.ListSchedulingPolicies: instance GHC.Classes.Eq Amazonka.Batch.ListSchedulingPolicies.ListSchedulingPolicies
+ Amazonka.Batch.ListSchedulingPolicies: instance GHC.Classes.Eq Amazonka.Batch.ListSchedulingPolicies.ListSchedulingPoliciesResponse
+ Amazonka.Batch.ListSchedulingPolicies: instance GHC.Generics.Generic Amazonka.Batch.ListSchedulingPolicies.ListSchedulingPolicies
+ Amazonka.Batch.ListSchedulingPolicies: instance GHC.Generics.Generic Amazonka.Batch.ListSchedulingPolicies.ListSchedulingPoliciesResponse
+ Amazonka.Batch.ListSchedulingPolicies: instance GHC.Read.Read Amazonka.Batch.ListSchedulingPolicies.ListSchedulingPolicies
+ Amazonka.Batch.ListSchedulingPolicies: instance GHC.Read.Read Amazonka.Batch.ListSchedulingPolicies.ListSchedulingPoliciesResponse
+ Amazonka.Batch.ListSchedulingPolicies: instance GHC.Show.Show Amazonka.Batch.ListSchedulingPolicies.ListSchedulingPolicies
+ Amazonka.Batch.ListSchedulingPolicies: instance GHC.Show.Show Amazonka.Batch.ListSchedulingPolicies.ListSchedulingPoliciesResponse
+ Amazonka.Batch.ListSchedulingPolicies: listSchedulingPoliciesResponse_httpStatus :: Lens' ListSchedulingPoliciesResponse Int
+ Amazonka.Batch.ListSchedulingPolicies: listSchedulingPoliciesResponse_nextToken :: Lens' ListSchedulingPoliciesResponse (Maybe Text)
+ Amazonka.Batch.ListSchedulingPolicies: listSchedulingPoliciesResponse_schedulingPolicies :: Lens' ListSchedulingPoliciesResponse (Maybe [SchedulingPolicyListingDetail])
+ Amazonka.Batch.ListSchedulingPolicies: listSchedulingPolicies_maxResults :: Lens' ListSchedulingPolicies (Maybe Int)
+ Amazonka.Batch.ListSchedulingPolicies: listSchedulingPolicies_nextToken :: Lens' ListSchedulingPolicies (Maybe Text)
+ Amazonka.Batch.ListSchedulingPolicies: newListSchedulingPolicies :: ListSchedulingPolicies
+ Amazonka.Batch.ListSchedulingPolicies: newListSchedulingPoliciesResponse :: Int -> ListSchedulingPoliciesResponse
+ Amazonka.Batch.ListTagsForResource: ListTagsForResource' :: Text -> ListTagsForResource
+ Amazonka.Batch.ListTagsForResource: ListTagsForResourceResponse' :: Maybe (HashMap Text Text) -> Int -> ListTagsForResourceResponse
+ Amazonka.Batch.ListTagsForResource: [$sel:httpStatus:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Int
+ Amazonka.Batch.ListTagsForResource: [$sel:resourceArn:ListTagsForResource'] :: ListTagsForResource -> Text
+ Amazonka.Batch.ListTagsForResource: [$sel:tags:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe (HashMap Text Text)
+ Amazonka.Batch.ListTagsForResource: data ListTagsForResource
+ Amazonka.Batch.ListTagsForResource: data ListTagsForResourceResponse
+ Amazonka.Batch.ListTagsForResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.Batch.ListTagsForResource.ListTagsForResource
+ Amazonka.Batch.ListTagsForResource: instance Amazonka.Data.Path.ToPath Amazonka.Batch.ListTagsForResource.ListTagsForResource
+ Amazonka.Batch.ListTagsForResource: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.ListTagsForResource.ListTagsForResource
+ Amazonka.Batch.ListTagsForResource: instance Amazonka.Types.AWSRequest Amazonka.Batch.ListTagsForResource.ListTagsForResource
+ Amazonka.Batch.ListTagsForResource: instance Control.DeepSeq.NFData Amazonka.Batch.ListTagsForResource.ListTagsForResource
+ Amazonka.Batch.ListTagsForResource: instance Control.DeepSeq.NFData Amazonka.Batch.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.Batch.ListTagsForResource: instance Data.Hashable.Class.Hashable Amazonka.Batch.ListTagsForResource.ListTagsForResource
+ Amazonka.Batch.ListTagsForResource: instance GHC.Classes.Eq Amazonka.Batch.ListTagsForResource.ListTagsForResource
+ Amazonka.Batch.ListTagsForResource: instance GHC.Classes.Eq Amazonka.Batch.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.Batch.ListTagsForResource: instance GHC.Generics.Generic Amazonka.Batch.ListTagsForResource.ListTagsForResource
+ Amazonka.Batch.ListTagsForResource: instance GHC.Generics.Generic Amazonka.Batch.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.Batch.ListTagsForResource: instance GHC.Read.Read Amazonka.Batch.ListTagsForResource.ListTagsForResource
+ Amazonka.Batch.ListTagsForResource: instance GHC.Read.Read Amazonka.Batch.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.Batch.ListTagsForResource: instance GHC.Show.Show Amazonka.Batch.ListTagsForResource.ListTagsForResource
+ Amazonka.Batch.ListTagsForResource: instance GHC.Show.Show Amazonka.Batch.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.Batch.ListTagsForResource: listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
+ Amazonka.Batch.ListTagsForResource: listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text))
+ Amazonka.Batch.ListTagsForResource: listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
+ Amazonka.Batch.ListTagsForResource: newListTagsForResource :: Text -> ListTagsForResource
+ Amazonka.Batch.ListTagsForResource: newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
+ Amazonka.Batch.RegisterJobDefinition: RegisterJobDefinition' :: Maybe ContainerProperties -> Maybe EksProperties -> Maybe NodeProperties -> Maybe (HashMap Text Text) -> Maybe [PlatformCapability] -> Maybe Bool -> Maybe RetryStrategy -> Maybe Int -> Maybe (HashMap Text Text) -> Maybe JobTimeout -> Text -> JobDefinitionType -> RegisterJobDefinition
+ Amazonka.Batch.RegisterJobDefinition: RegisterJobDefinitionResponse' :: Int -> Text -> Text -> Int -> RegisterJobDefinitionResponse
+ Amazonka.Batch.RegisterJobDefinition: [$sel:containerProperties:RegisterJobDefinition'] :: RegisterJobDefinition -> Maybe ContainerProperties
+ Amazonka.Batch.RegisterJobDefinition: [$sel:eksProperties:RegisterJobDefinition'] :: RegisterJobDefinition -> Maybe EksProperties
+ Amazonka.Batch.RegisterJobDefinition: [$sel:httpStatus:RegisterJobDefinitionResponse'] :: RegisterJobDefinitionResponse -> Int
+ Amazonka.Batch.RegisterJobDefinition: [$sel:jobDefinitionArn:RegisterJobDefinitionResponse'] :: RegisterJobDefinitionResponse -> Text
+ Amazonka.Batch.RegisterJobDefinition: [$sel:jobDefinitionName:RegisterJobDefinition'] :: RegisterJobDefinition -> Text
+ Amazonka.Batch.RegisterJobDefinition: [$sel:jobDefinitionName:RegisterJobDefinitionResponse'] :: RegisterJobDefinitionResponse -> Text
+ Amazonka.Batch.RegisterJobDefinition: [$sel:nodeProperties:RegisterJobDefinition'] :: RegisterJobDefinition -> Maybe NodeProperties
+ Amazonka.Batch.RegisterJobDefinition: [$sel:parameters:RegisterJobDefinition'] :: RegisterJobDefinition -> Maybe (HashMap Text Text)
+ Amazonka.Batch.RegisterJobDefinition: [$sel:platformCapabilities:RegisterJobDefinition'] :: RegisterJobDefinition -> Maybe [PlatformCapability]
+ Amazonka.Batch.RegisterJobDefinition: [$sel:propagateTags:RegisterJobDefinition'] :: RegisterJobDefinition -> Maybe Bool
+ Amazonka.Batch.RegisterJobDefinition: [$sel:retryStrategy:RegisterJobDefinition'] :: RegisterJobDefinition -> Maybe RetryStrategy
+ Amazonka.Batch.RegisterJobDefinition: [$sel:revision:RegisterJobDefinitionResponse'] :: RegisterJobDefinitionResponse -> Int
+ Amazonka.Batch.RegisterJobDefinition: [$sel:schedulingPriority:RegisterJobDefinition'] :: RegisterJobDefinition -> Maybe Int
+ Amazonka.Batch.RegisterJobDefinition: [$sel:tags:RegisterJobDefinition'] :: RegisterJobDefinition -> Maybe (HashMap Text Text)
+ Amazonka.Batch.RegisterJobDefinition: [$sel:timeout:RegisterJobDefinition'] :: RegisterJobDefinition -> Maybe JobTimeout
+ Amazonka.Batch.RegisterJobDefinition: [$sel:type':RegisterJobDefinition'] :: RegisterJobDefinition -> JobDefinitionType
+ Amazonka.Batch.RegisterJobDefinition: data RegisterJobDefinition
+ Amazonka.Batch.RegisterJobDefinition: data RegisterJobDefinitionResponse
+ Amazonka.Batch.RegisterJobDefinition: instance Amazonka.Data.Headers.ToHeaders Amazonka.Batch.RegisterJobDefinition.RegisterJobDefinition
+ Amazonka.Batch.RegisterJobDefinition: instance Amazonka.Data.Path.ToPath Amazonka.Batch.RegisterJobDefinition.RegisterJobDefinition
+ Amazonka.Batch.RegisterJobDefinition: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.RegisterJobDefinition.RegisterJobDefinition
+ Amazonka.Batch.RegisterJobDefinition: instance Amazonka.Types.AWSRequest Amazonka.Batch.RegisterJobDefinition.RegisterJobDefinition
+ Amazonka.Batch.RegisterJobDefinition: instance Control.DeepSeq.NFData Amazonka.Batch.RegisterJobDefinition.RegisterJobDefinition
+ Amazonka.Batch.RegisterJobDefinition: instance Control.DeepSeq.NFData Amazonka.Batch.RegisterJobDefinition.RegisterJobDefinitionResponse
+ Amazonka.Batch.RegisterJobDefinition: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.RegisterJobDefinition.RegisterJobDefinition
+ Amazonka.Batch.RegisterJobDefinition: instance Data.Hashable.Class.Hashable Amazonka.Batch.RegisterJobDefinition.RegisterJobDefinition
+ Amazonka.Batch.RegisterJobDefinition: instance GHC.Classes.Eq Amazonka.Batch.RegisterJobDefinition.RegisterJobDefinition
+ Amazonka.Batch.RegisterJobDefinition: instance GHC.Classes.Eq Amazonka.Batch.RegisterJobDefinition.RegisterJobDefinitionResponse
+ Amazonka.Batch.RegisterJobDefinition: instance GHC.Generics.Generic Amazonka.Batch.RegisterJobDefinition.RegisterJobDefinition
+ Amazonka.Batch.RegisterJobDefinition: instance GHC.Generics.Generic Amazonka.Batch.RegisterJobDefinition.RegisterJobDefinitionResponse
+ Amazonka.Batch.RegisterJobDefinition: instance GHC.Read.Read Amazonka.Batch.RegisterJobDefinition.RegisterJobDefinition
+ Amazonka.Batch.RegisterJobDefinition: instance GHC.Read.Read Amazonka.Batch.RegisterJobDefinition.RegisterJobDefinitionResponse
+ Amazonka.Batch.RegisterJobDefinition: instance GHC.Show.Show Amazonka.Batch.RegisterJobDefinition.RegisterJobDefinition
+ Amazonka.Batch.RegisterJobDefinition: instance GHC.Show.Show Amazonka.Batch.RegisterJobDefinition.RegisterJobDefinitionResponse
+ Amazonka.Batch.RegisterJobDefinition: newRegisterJobDefinition :: Text -> JobDefinitionType -> RegisterJobDefinition
+ Amazonka.Batch.RegisterJobDefinition: newRegisterJobDefinitionResponse :: Int -> Text -> Text -> Int -> RegisterJobDefinitionResponse
+ Amazonka.Batch.RegisterJobDefinition: registerJobDefinitionResponse_httpStatus :: Lens' RegisterJobDefinitionResponse Int
+ Amazonka.Batch.RegisterJobDefinition: registerJobDefinitionResponse_jobDefinitionArn :: Lens' RegisterJobDefinitionResponse Text
+ Amazonka.Batch.RegisterJobDefinition: registerJobDefinitionResponse_jobDefinitionName :: Lens' RegisterJobDefinitionResponse Text
+ Amazonka.Batch.RegisterJobDefinition: registerJobDefinitionResponse_revision :: Lens' RegisterJobDefinitionResponse Int
+ Amazonka.Batch.RegisterJobDefinition: registerJobDefinition_containerProperties :: Lens' RegisterJobDefinition (Maybe ContainerProperties)
+ Amazonka.Batch.RegisterJobDefinition: registerJobDefinition_eksProperties :: Lens' RegisterJobDefinition (Maybe EksProperties)
+ Amazonka.Batch.RegisterJobDefinition: registerJobDefinition_jobDefinitionName :: Lens' RegisterJobDefinition Text
+ Amazonka.Batch.RegisterJobDefinition: registerJobDefinition_nodeProperties :: Lens' RegisterJobDefinition (Maybe NodeProperties)
+ Amazonka.Batch.RegisterJobDefinition: registerJobDefinition_parameters :: Lens' RegisterJobDefinition (Maybe (HashMap Text Text))
+ Amazonka.Batch.RegisterJobDefinition: registerJobDefinition_platformCapabilities :: Lens' RegisterJobDefinition (Maybe [PlatformCapability])
+ Amazonka.Batch.RegisterJobDefinition: registerJobDefinition_propagateTags :: Lens' RegisterJobDefinition (Maybe Bool)
+ Amazonka.Batch.RegisterJobDefinition: registerJobDefinition_retryStrategy :: Lens' RegisterJobDefinition (Maybe RetryStrategy)
+ Amazonka.Batch.RegisterJobDefinition: registerJobDefinition_schedulingPriority :: Lens' RegisterJobDefinition (Maybe Int)
+ Amazonka.Batch.RegisterJobDefinition: registerJobDefinition_tags :: Lens' RegisterJobDefinition (Maybe (HashMap Text Text))
+ Amazonka.Batch.RegisterJobDefinition: registerJobDefinition_timeout :: Lens' RegisterJobDefinition (Maybe JobTimeout)
+ Amazonka.Batch.RegisterJobDefinition: registerJobDefinition_type :: Lens' RegisterJobDefinition JobDefinitionType
+ Amazonka.Batch.SubmitJob: SubmitJob' :: Maybe ArrayProperties -> Maybe ContainerOverrides -> Maybe [JobDependency] -> Maybe EksPropertiesOverride -> Maybe NodeOverrides -> Maybe (HashMap Text Text) -> Maybe Bool -> Maybe RetryStrategy -> Maybe Int -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe JobTimeout -> Text -> Text -> Text -> SubmitJob
+ Amazonka.Batch.SubmitJob: SubmitJobResponse' :: Maybe Text -> Int -> Text -> Text -> SubmitJobResponse
+ Amazonka.Batch.SubmitJob: [$sel:arrayProperties:SubmitJob'] :: SubmitJob -> Maybe ArrayProperties
+ Amazonka.Batch.SubmitJob: [$sel:containerOverrides:SubmitJob'] :: SubmitJob -> Maybe ContainerOverrides
+ Amazonka.Batch.SubmitJob: [$sel:dependsOn:SubmitJob'] :: SubmitJob -> Maybe [JobDependency]
+ Amazonka.Batch.SubmitJob: [$sel:eksPropertiesOverride:SubmitJob'] :: SubmitJob -> Maybe EksPropertiesOverride
+ Amazonka.Batch.SubmitJob: [$sel:httpStatus:SubmitJobResponse'] :: SubmitJobResponse -> Int
+ Amazonka.Batch.SubmitJob: [$sel:jobArn:SubmitJobResponse'] :: SubmitJobResponse -> Maybe Text
+ Amazonka.Batch.SubmitJob: [$sel:jobDefinition:SubmitJob'] :: SubmitJob -> Text
+ Amazonka.Batch.SubmitJob: [$sel:jobId:SubmitJobResponse'] :: SubmitJobResponse -> Text
+ Amazonka.Batch.SubmitJob: [$sel:jobName:SubmitJob'] :: SubmitJob -> Text
+ Amazonka.Batch.SubmitJob: [$sel:jobName:SubmitJobResponse'] :: SubmitJobResponse -> Text
+ Amazonka.Batch.SubmitJob: [$sel:jobQueue:SubmitJob'] :: SubmitJob -> Text
+ Amazonka.Batch.SubmitJob: [$sel:nodeOverrides:SubmitJob'] :: SubmitJob -> Maybe NodeOverrides
+ Amazonka.Batch.SubmitJob: [$sel:parameters:SubmitJob'] :: SubmitJob -> Maybe (HashMap Text Text)
+ Amazonka.Batch.SubmitJob: [$sel:propagateTags:SubmitJob'] :: SubmitJob -> Maybe Bool
+ Amazonka.Batch.SubmitJob: [$sel:retryStrategy:SubmitJob'] :: SubmitJob -> Maybe RetryStrategy
+ Amazonka.Batch.SubmitJob: [$sel:schedulingPriorityOverride:SubmitJob'] :: SubmitJob -> Maybe Int
+ Amazonka.Batch.SubmitJob: [$sel:shareIdentifier:SubmitJob'] :: SubmitJob -> Maybe Text
+ Amazonka.Batch.SubmitJob: [$sel:tags:SubmitJob'] :: SubmitJob -> Maybe (HashMap Text Text)
+ Amazonka.Batch.SubmitJob: [$sel:timeout:SubmitJob'] :: SubmitJob -> Maybe JobTimeout
+ Amazonka.Batch.SubmitJob: data SubmitJob
+ Amazonka.Batch.SubmitJob: data SubmitJobResponse
+ Amazonka.Batch.SubmitJob: instance Amazonka.Data.Headers.ToHeaders Amazonka.Batch.SubmitJob.SubmitJob
+ Amazonka.Batch.SubmitJob: instance Amazonka.Data.Path.ToPath Amazonka.Batch.SubmitJob.SubmitJob
+ Amazonka.Batch.SubmitJob: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.SubmitJob.SubmitJob
+ Amazonka.Batch.SubmitJob: instance Amazonka.Types.AWSRequest Amazonka.Batch.SubmitJob.SubmitJob
+ Amazonka.Batch.SubmitJob: instance Control.DeepSeq.NFData Amazonka.Batch.SubmitJob.SubmitJob
+ Amazonka.Batch.SubmitJob: instance Control.DeepSeq.NFData Amazonka.Batch.SubmitJob.SubmitJobResponse
+ Amazonka.Batch.SubmitJob: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.SubmitJob.SubmitJob
+ Amazonka.Batch.SubmitJob: instance Data.Hashable.Class.Hashable Amazonka.Batch.SubmitJob.SubmitJob
+ Amazonka.Batch.SubmitJob: instance GHC.Classes.Eq Amazonka.Batch.SubmitJob.SubmitJob
+ Amazonka.Batch.SubmitJob: instance GHC.Classes.Eq Amazonka.Batch.SubmitJob.SubmitJobResponse
+ Amazonka.Batch.SubmitJob: instance GHC.Generics.Generic Amazonka.Batch.SubmitJob.SubmitJob
+ Amazonka.Batch.SubmitJob: instance GHC.Generics.Generic Amazonka.Batch.SubmitJob.SubmitJobResponse
+ Amazonka.Batch.SubmitJob: instance GHC.Read.Read Amazonka.Batch.SubmitJob.SubmitJob
+ Amazonka.Batch.SubmitJob: instance GHC.Read.Read Amazonka.Batch.SubmitJob.SubmitJobResponse
+ Amazonka.Batch.SubmitJob: instance GHC.Show.Show Amazonka.Batch.SubmitJob.SubmitJob
+ Amazonka.Batch.SubmitJob: instance GHC.Show.Show Amazonka.Batch.SubmitJob.SubmitJobResponse
+ Amazonka.Batch.SubmitJob: newSubmitJob :: Text -> Text -> Text -> SubmitJob
+ Amazonka.Batch.SubmitJob: newSubmitJobResponse :: Int -> Text -> Text -> SubmitJobResponse
+ Amazonka.Batch.SubmitJob: submitJobResponse_httpStatus :: Lens' SubmitJobResponse Int
+ Amazonka.Batch.SubmitJob: submitJobResponse_jobArn :: Lens' SubmitJobResponse (Maybe Text)
+ Amazonka.Batch.SubmitJob: submitJobResponse_jobId :: Lens' SubmitJobResponse Text
+ Amazonka.Batch.SubmitJob: submitJobResponse_jobName :: Lens' SubmitJobResponse Text
+ Amazonka.Batch.SubmitJob: submitJob_arrayProperties :: Lens' SubmitJob (Maybe ArrayProperties)
+ Amazonka.Batch.SubmitJob: submitJob_containerOverrides :: Lens' SubmitJob (Maybe ContainerOverrides)
+ Amazonka.Batch.SubmitJob: submitJob_dependsOn :: Lens' SubmitJob (Maybe [JobDependency])
+ Amazonka.Batch.SubmitJob: submitJob_eksPropertiesOverride :: Lens' SubmitJob (Maybe EksPropertiesOverride)
+ Amazonka.Batch.SubmitJob: submitJob_jobDefinition :: Lens' SubmitJob Text
+ Amazonka.Batch.SubmitJob: submitJob_jobName :: Lens' SubmitJob Text
+ Amazonka.Batch.SubmitJob: submitJob_jobQueue :: Lens' SubmitJob Text
+ Amazonka.Batch.SubmitJob: submitJob_nodeOverrides :: Lens' SubmitJob (Maybe NodeOverrides)
+ Amazonka.Batch.SubmitJob: submitJob_parameters :: Lens' SubmitJob (Maybe (HashMap Text Text))
+ Amazonka.Batch.SubmitJob: submitJob_propagateTags :: Lens' SubmitJob (Maybe Bool)
+ Amazonka.Batch.SubmitJob: submitJob_retryStrategy :: Lens' SubmitJob (Maybe RetryStrategy)
+ Amazonka.Batch.SubmitJob: submitJob_schedulingPriorityOverride :: Lens' SubmitJob (Maybe Int)
+ Amazonka.Batch.SubmitJob: submitJob_shareIdentifier :: Lens' SubmitJob (Maybe Text)
+ Amazonka.Batch.SubmitJob: submitJob_tags :: Lens' SubmitJob (Maybe (HashMap Text Text))
+ Amazonka.Batch.SubmitJob: submitJob_timeout :: Lens' SubmitJob (Maybe JobTimeout)
+ Amazonka.Batch.TagResource: TagResource' :: Text -> HashMap Text Text -> TagResource
+ Amazonka.Batch.TagResource: TagResourceResponse' :: Int -> TagResourceResponse
+ Amazonka.Batch.TagResource: [$sel:httpStatus:TagResourceResponse'] :: TagResourceResponse -> Int
+ Amazonka.Batch.TagResource: [$sel:resourceArn:TagResource'] :: TagResource -> Text
+ Amazonka.Batch.TagResource: [$sel:tags:TagResource'] :: TagResource -> HashMap Text Text
+ Amazonka.Batch.TagResource: data TagResource
+ Amazonka.Batch.TagResource: data TagResourceResponse
+ Amazonka.Batch.TagResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.Batch.TagResource.TagResource
+ Amazonka.Batch.TagResource: instance Amazonka.Data.Path.ToPath Amazonka.Batch.TagResource.TagResource
+ Amazonka.Batch.TagResource: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.TagResource.TagResource
+ Amazonka.Batch.TagResource: instance Amazonka.Types.AWSRequest Amazonka.Batch.TagResource.TagResource
+ Amazonka.Batch.TagResource: instance Control.DeepSeq.NFData Amazonka.Batch.TagResource.TagResource
+ Amazonka.Batch.TagResource: instance Control.DeepSeq.NFData Amazonka.Batch.TagResource.TagResourceResponse
+ Amazonka.Batch.TagResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.TagResource.TagResource
+ Amazonka.Batch.TagResource: instance Data.Hashable.Class.Hashable Amazonka.Batch.TagResource.TagResource
+ Amazonka.Batch.TagResource: instance GHC.Classes.Eq Amazonka.Batch.TagResource.TagResource
+ Amazonka.Batch.TagResource: instance GHC.Classes.Eq Amazonka.Batch.TagResource.TagResourceResponse
+ Amazonka.Batch.TagResource: instance GHC.Generics.Generic Amazonka.Batch.TagResource.TagResource
+ Amazonka.Batch.TagResource: instance GHC.Generics.Generic Amazonka.Batch.TagResource.TagResourceResponse
+ Amazonka.Batch.TagResource: instance GHC.Read.Read Amazonka.Batch.TagResource.TagResource
+ Amazonka.Batch.TagResource: instance GHC.Read.Read Amazonka.Batch.TagResource.TagResourceResponse
+ Amazonka.Batch.TagResource: instance GHC.Show.Show Amazonka.Batch.TagResource.TagResource
+ Amazonka.Batch.TagResource: instance GHC.Show.Show Amazonka.Batch.TagResource.TagResourceResponse
+ Amazonka.Batch.TagResource: newTagResource :: Text -> TagResource
+ Amazonka.Batch.TagResource: newTagResourceResponse :: Int -> TagResourceResponse
+ Amazonka.Batch.TagResource: tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
+ Amazonka.Batch.TagResource: tagResource_resourceArn :: Lens' TagResource Text
+ Amazonka.Batch.TagResource: tagResource_tags :: Lens' TagResource (HashMap Text Text)
+ Amazonka.Batch.TerminateJob: TerminateJob' :: Text -> Text -> TerminateJob
+ Amazonka.Batch.TerminateJob: TerminateJobResponse' :: Int -> TerminateJobResponse
+ Amazonka.Batch.TerminateJob: [$sel:httpStatus:TerminateJobResponse'] :: TerminateJobResponse -> Int
+ Amazonka.Batch.TerminateJob: [$sel:jobId:TerminateJob'] :: TerminateJob -> Text
+ Amazonka.Batch.TerminateJob: [$sel:reason:TerminateJob'] :: TerminateJob -> Text
+ Amazonka.Batch.TerminateJob: data TerminateJob
+ Amazonka.Batch.TerminateJob: data TerminateJobResponse
+ Amazonka.Batch.TerminateJob: instance Amazonka.Data.Headers.ToHeaders Amazonka.Batch.TerminateJob.TerminateJob
+ Amazonka.Batch.TerminateJob: instance Amazonka.Data.Path.ToPath Amazonka.Batch.TerminateJob.TerminateJob
+ Amazonka.Batch.TerminateJob: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.TerminateJob.TerminateJob
+ Amazonka.Batch.TerminateJob: instance Amazonka.Types.AWSRequest Amazonka.Batch.TerminateJob.TerminateJob
+ Amazonka.Batch.TerminateJob: instance Control.DeepSeq.NFData Amazonka.Batch.TerminateJob.TerminateJob
+ Amazonka.Batch.TerminateJob: instance Control.DeepSeq.NFData Amazonka.Batch.TerminateJob.TerminateJobResponse
+ Amazonka.Batch.TerminateJob: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.TerminateJob.TerminateJob
+ Amazonka.Batch.TerminateJob: instance Data.Hashable.Class.Hashable Amazonka.Batch.TerminateJob.TerminateJob
+ Amazonka.Batch.TerminateJob: instance GHC.Classes.Eq Amazonka.Batch.TerminateJob.TerminateJob
+ Amazonka.Batch.TerminateJob: instance GHC.Classes.Eq Amazonka.Batch.TerminateJob.TerminateJobResponse
+ Amazonka.Batch.TerminateJob: instance GHC.Generics.Generic Amazonka.Batch.TerminateJob.TerminateJob
+ Amazonka.Batch.TerminateJob: instance GHC.Generics.Generic Amazonka.Batch.TerminateJob.TerminateJobResponse
+ Amazonka.Batch.TerminateJob: instance GHC.Read.Read Amazonka.Batch.TerminateJob.TerminateJob
+ Amazonka.Batch.TerminateJob: instance GHC.Read.Read Amazonka.Batch.TerminateJob.TerminateJobResponse
+ Amazonka.Batch.TerminateJob: instance GHC.Show.Show Amazonka.Batch.TerminateJob.TerminateJob
+ Amazonka.Batch.TerminateJob: instance GHC.Show.Show Amazonka.Batch.TerminateJob.TerminateJobResponse
+ Amazonka.Batch.TerminateJob: newTerminateJob :: Text -> Text -> TerminateJob
+ Amazonka.Batch.TerminateJob: newTerminateJobResponse :: Int -> TerminateJobResponse
+ Amazonka.Batch.TerminateJob: terminateJobResponse_httpStatus :: Lens' TerminateJobResponse Int
+ Amazonka.Batch.TerminateJob: terminateJob_jobId :: Lens' TerminateJob Text
+ Amazonka.Batch.TerminateJob: terminateJob_reason :: Lens' TerminateJob Text
+ Amazonka.Batch.Types: ArrayJobDependency' :: Text -> ArrayJobDependency
+ Amazonka.Batch.Types: ArrayProperties' :: Maybe Int -> ArrayProperties
+ Amazonka.Batch.Types: ArrayPropertiesDetail' :: Maybe Int -> Maybe Int -> Maybe (HashMap Text Int) -> ArrayPropertiesDetail
+ Amazonka.Batch.Types: ArrayPropertiesSummary' :: Maybe Int -> Maybe Int -> ArrayPropertiesSummary
+ Amazonka.Batch.Types: AssignPublicIp' :: Text -> AssignPublicIp
+ Amazonka.Batch.Types: AttemptContainerDetail' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe [NetworkInterface] -> Maybe Text -> Maybe Text -> AttemptContainerDetail
+ Amazonka.Batch.Types: AttemptDetail' :: Maybe AttemptContainerDetail -> Maybe Integer -> Maybe Text -> Maybe Integer -> AttemptDetail
+ Amazonka.Batch.Types: CEState' :: Text -> CEState
+ Amazonka.Batch.Types: CEStatus' :: Text -> CEStatus
+ Amazonka.Batch.Types: CEType' :: Text -> CEType
+ Amazonka.Batch.Types: CRAllocationStrategy' :: Text -> CRAllocationStrategy
+ Amazonka.Batch.Types: CRType' :: Text -> CRType
+ Amazonka.Batch.Types: CRUpdateAllocationStrategy' :: Text -> CRUpdateAllocationStrategy
+ Amazonka.Batch.Types: ComputeEnvironmentDetail' :: Maybe ComputeResource -> Maybe OrchestrationType -> Maybe Text -> Maybe EksConfiguration -> Maybe Text -> Maybe CEState -> Maybe CEStatus -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe CEType -> Maybe Int -> Maybe UpdatePolicy -> Maybe Text -> Text -> Text -> ComputeEnvironmentDetail
+ Amazonka.Batch.Types: ComputeEnvironmentOrder' :: Int -> Text -> ComputeEnvironmentOrder
+ Amazonka.Batch.Types: ComputeResource' :: Maybe CRAllocationStrategy -> Maybe Int -> Maybe Int -> Maybe [Ec2Configuration] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe LaunchTemplateSpecification -> Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe (HashMap Text Text) -> CRType -> Int -> [Text] -> ComputeResource
+ Amazonka.Batch.Types: ComputeResourceUpdate' :: Maybe CRUpdateAllocationStrategy -> Maybe Int -> Maybe Int -> Maybe [Ec2Configuration] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe LaunchTemplateSpecification -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe [Text] -> Maybe (HashMap Text Text) -> Maybe CRType -> Maybe Bool -> ComputeResourceUpdate
+ Amazonka.Batch.Types: ContainerDetail' :: Maybe [Text] -> Maybe Text -> Maybe [KeyValuePair] -> Maybe Text -> Maybe Int -> Maybe FargatePlatformConfiguration -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe LinuxParameters -> Maybe LogConfiguration -> Maybe Text -> Maybe Int -> Maybe [MountPoint] -> Maybe NetworkConfiguration -> Maybe [NetworkInterface] -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe [ResourceRequirement] -> Maybe [Secret] -> Maybe Text -> Maybe [Ulimit] -> Maybe Text -> Maybe Int -> Maybe [Volume] -> ContainerDetail
+ Amazonka.Batch.Types: ContainerOverrides' :: Maybe [Text] -> Maybe [KeyValuePair] -> Maybe Text -> Maybe Int -> Maybe [ResourceRequirement] -> Maybe Int -> ContainerOverrides
+ Amazonka.Batch.Types: ContainerProperties' :: Maybe [Text] -> Maybe [KeyValuePair] -> Maybe Text -> Maybe FargatePlatformConfiguration -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe LinuxParameters -> Maybe LogConfiguration -> Maybe Int -> Maybe [MountPoint] -> Maybe NetworkConfiguration -> Maybe Bool -> Maybe Bool -> Maybe [ResourceRequirement] -> Maybe [Secret] -> Maybe [Ulimit] -> Maybe Text -> Maybe Int -> Maybe [Volume] -> ContainerProperties
+ Amazonka.Batch.Types: ContainerSummary' :: Maybe Int -> Maybe Text -> ContainerSummary
+ Amazonka.Batch.Types: Device' :: Maybe Text -> Maybe [DeviceCgroupPermission] -> Text -> Device
+ Amazonka.Batch.Types: DeviceCgroupPermission' :: Text -> DeviceCgroupPermission
+ Amazonka.Batch.Types: EFSAuthorizationConfig' :: Maybe Text -> Maybe EFSAuthorizationConfigIAM -> EFSAuthorizationConfig
+ Amazonka.Batch.Types: EFSAuthorizationConfigIAM' :: Text -> EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types: EFSTransitEncryption' :: Text -> EFSTransitEncryption
+ Amazonka.Batch.Types: EFSVolumeConfiguration' :: Maybe EFSAuthorizationConfig -> Maybe Text -> Maybe EFSTransitEncryption -> Maybe Int -> Text -> EFSVolumeConfiguration
+ Amazonka.Batch.Types: Ec2Configuration' :: Maybe Text -> Maybe Text -> Text -> Ec2Configuration
+ Amazonka.Batch.Types: EksAttemptContainerDetail' :: Maybe Int -> Maybe Text -> EksAttemptContainerDetail
+ Amazonka.Batch.Types: EksAttemptDetail' :: Maybe [EksAttemptContainerDetail] -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Integer -> EksAttemptDetail
+ Amazonka.Batch.Types: EksConfiguration' :: Text -> Text -> EksConfiguration
+ Amazonka.Batch.Types: EksContainer' :: Maybe [Text] -> Maybe [Text] -> Maybe [EksContainerEnvironmentVariable] -> Maybe Text -> Maybe Text -> Maybe EksContainerResourceRequirements -> Maybe EksContainerSecurityContext -> Maybe [EksContainerVolumeMount] -> Text -> EksContainer
+ Amazonka.Batch.Types: EksContainerDetail' :: Maybe [Text] -> Maybe [Text] -> Maybe [EksContainerEnvironmentVariable] -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe EksContainerResourceRequirements -> Maybe EksContainerSecurityContext -> Maybe [EksContainerVolumeMount] -> EksContainerDetail
+ Amazonka.Batch.Types: EksContainerEnvironmentVariable' :: Maybe Text -> Text -> EksContainerEnvironmentVariable
+ Amazonka.Batch.Types: EksContainerOverride' :: Maybe [Text] -> Maybe [Text] -> Maybe [EksContainerEnvironmentVariable] -> Maybe Text -> Maybe EksContainerResourceRequirements -> EksContainerOverride
+ Amazonka.Batch.Types: EksContainerResourceRequirements' :: Maybe (HashMap Text Text) -> Maybe (HashMap Text Text) -> EksContainerResourceRequirements
+ Amazonka.Batch.Types: EksContainerSecurityContext' :: Maybe Bool -> Maybe Bool -> Maybe Integer -> Maybe Bool -> Maybe Integer -> EksContainerSecurityContext
+ Amazonka.Batch.Types: EksContainerVolumeMount' :: Maybe Text -> Maybe Text -> Maybe Bool -> EksContainerVolumeMount
+ Amazonka.Batch.Types: EksEmptyDir' :: Maybe Text -> Maybe Text -> EksEmptyDir
+ Amazonka.Batch.Types: EksHostPath' :: Maybe Text -> EksHostPath
+ Amazonka.Batch.Types: EksPodProperties' :: Maybe [EksContainer] -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe [EksVolume] -> EksPodProperties
+ Amazonka.Batch.Types: EksPodPropertiesDetail' :: Maybe [EksContainerDetail] -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [EksVolume] -> EksPodPropertiesDetail
+ Amazonka.Batch.Types: EksPodPropertiesOverride' :: Maybe [EksContainerOverride] -> EksPodPropertiesOverride
+ Amazonka.Batch.Types: EksProperties' :: Maybe EksPodProperties -> EksProperties
+ Amazonka.Batch.Types: EksPropertiesDetail' :: Maybe EksPodPropertiesDetail -> EksPropertiesDetail
+ Amazonka.Batch.Types: EksPropertiesOverride' :: Maybe EksPodPropertiesOverride -> EksPropertiesOverride
+ Amazonka.Batch.Types: EksSecret' :: Maybe Bool -> Text -> EksSecret
+ Amazonka.Batch.Types: EksVolume' :: Maybe EksEmptyDir -> Maybe EksHostPath -> Maybe EksSecret -> Text -> EksVolume
+ Amazonka.Batch.Types: EvaluateOnExit' :: Maybe Text -> Maybe Text -> Maybe Text -> RetryAction -> EvaluateOnExit
+ Amazonka.Batch.Types: FairsharePolicy' :: Maybe Int -> Maybe Int -> Maybe [ShareAttributes] -> FairsharePolicy
+ Amazonka.Batch.Types: FargatePlatformConfiguration' :: Maybe Text -> FargatePlatformConfiguration
+ Amazonka.Batch.Types: Host' :: Maybe Text -> Host
+ Amazonka.Batch.Types: JQState' :: Text -> JQState
+ Amazonka.Batch.Types: JQStatus' :: Text -> JQStatus
+ Amazonka.Batch.Types: JobDefinition' :: Maybe OrchestrationType -> Maybe ContainerProperties -> Maybe EksProperties -> Maybe NodeProperties -> Maybe (HashMap Text Text) -> Maybe [PlatformCapability] -> Maybe Bool -> Maybe RetryStrategy -> Maybe Int -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe JobTimeout -> Text -> Text -> Int -> Text -> JobDefinition
+ Amazonka.Batch.Types: JobDefinitionType' :: Text -> JobDefinitionType
+ Amazonka.Batch.Types: JobDependency' :: Maybe Text -> Maybe ArrayJobDependency -> JobDependency
+ Amazonka.Batch.Types: JobDetail' :: Maybe ArrayPropertiesDetail -> Maybe [AttemptDetail] -> Maybe ContainerDetail -> Maybe Integer -> Maybe [JobDependency] -> Maybe [EksAttemptDetail] -> Maybe EksPropertiesDetail -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe NodeDetails -> Maybe NodeProperties -> Maybe (HashMap Text Text) -> Maybe [PlatformCapability] -> Maybe Bool -> Maybe RetryStrategy -> Maybe Int -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Integer -> Maybe (HashMap Text Text) -> Maybe JobTimeout -> Text -> Text -> Text -> JobStatus -> Text -> JobDetail
+ Amazonka.Batch.Types: JobQueueDetail' :: Maybe Text -> Maybe JQStatus -> Maybe Text -> Maybe (HashMap Text Text) -> Text -> Text -> JQState -> Int -> [ComputeEnvironmentOrder] -> JobQueueDetail
+ Amazonka.Batch.Types: JobStatus' :: Text -> JobStatus
+ Amazonka.Batch.Types: JobSummary' :: Maybe ArrayPropertiesSummary -> Maybe ContainerSummary -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe NodePropertiesSummary -> Maybe Integer -> Maybe JobStatus -> Maybe Text -> Maybe Integer -> Text -> Text -> JobSummary
+ Amazonka.Batch.Types: JobTimeout' :: Maybe Int -> JobTimeout
+ Amazonka.Batch.Types: KeyValuePair' :: Maybe Text -> Maybe Text -> KeyValuePair
+ Amazonka.Batch.Types: KeyValuesPair' :: Maybe Text -> Maybe [Text] -> KeyValuesPair
+ Amazonka.Batch.Types: LaunchTemplateSpecification' :: Maybe Text -> Maybe Text -> Maybe Text -> LaunchTemplateSpecification
+ Amazonka.Batch.Types: LinuxParameters' :: Maybe [Device] -> Maybe Bool -> Maybe Int -> Maybe Int -> Maybe Int -> Maybe [Tmpfs] -> LinuxParameters
+ Amazonka.Batch.Types: LogConfiguration' :: Maybe (HashMap Text Text) -> Maybe [Secret] -> LogDriver -> LogConfiguration
+ Amazonka.Batch.Types: LogDriver' :: Text -> LogDriver
+ Amazonka.Batch.Types: MountPoint' :: Maybe Text -> Maybe Bool -> Maybe Text -> MountPoint
+ Amazonka.Batch.Types: NetworkConfiguration' :: Maybe AssignPublicIp -> NetworkConfiguration
+ Amazonka.Batch.Types: NetworkInterface' :: Maybe Text -> Maybe Text -> Maybe Text -> NetworkInterface
+ Amazonka.Batch.Types: NodeDetails' :: Maybe Bool -> Maybe Int -> NodeDetails
+ Amazonka.Batch.Types: NodeOverrides' :: Maybe [NodePropertyOverride] -> Maybe Int -> NodeOverrides
+ Amazonka.Batch.Types: NodeProperties' :: Int -> Int -> [NodeRangeProperty] -> NodeProperties
+ Amazonka.Batch.Types: NodePropertiesSummary' :: Maybe Bool -> Maybe Int -> Maybe Int -> NodePropertiesSummary
+ Amazonka.Batch.Types: NodePropertyOverride' :: Maybe ContainerOverrides -> Text -> NodePropertyOverride
+ Amazonka.Batch.Types: NodeRangeProperty' :: Maybe ContainerProperties -> Text -> NodeRangeProperty
+ Amazonka.Batch.Types: OrchestrationType' :: Text -> OrchestrationType
+ Amazonka.Batch.Types: PlatformCapability' :: Text -> PlatformCapability
+ Amazonka.Batch.Types: ResourceRequirement' :: Text -> ResourceType -> ResourceRequirement
+ Amazonka.Batch.Types: ResourceType' :: Text -> ResourceType
+ Amazonka.Batch.Types: RetryAction' :: Text -> RetryAction
+ Amazonka.Batch.Types: RetryStrategy' :: Maybe Int -> Maybe [EvaluateOnExit] -> RetryStrategy
+ Amazonka.Batch.Types: SchedulingPolicyDetail' :: Maybe FairsharePolicy -> Maybe (HashMap Text Text) -> Text -> Text -> SchedulingPolicyDetail
+ Amazonka.Batch.Types: SchedulingPolicyListingDetail' :: Text -> SchedulingPolicyListingDetail
+ Amazonka.Batch.Types: Secret' :: Text -> Text -> Secret
+ Amazonka.Batch.Types: ShareAttributes' :: Maybe Double -> Text -> ShareAttributes
+ Amazonka.Batch.Types: Tmpfs' :: Maybe [Text] -> Text -> Int -> Tmpfs
+ Amazonka.Batch.Types: Ulimit' :: Int -> Text -> Int -> Ulimit
+ Amazonka.Batch.Types: UpdatePolicy' :: Maybe Natural -> Maybe Bool -> UpdatePolicy
+ Amazonka.Batch.Types: Volume' :: Maybe EFSVolumeConfiguration -> Maybe Host -> Maybe Text -> Volume
+ Amazonka.Batch.Types: [$sel:accessPointId:EFSAuthorizationConfig'] :: EFSAuthorizationConfig -> Maybe Text
+ Amazonka.Batch.Types: [$sel:action:EvaluateOnExit'] :: EvaluateOnExit -> RetryAction
+ Amazonka.Batch.Types: [$sel:allocationStrategy:ComputeResource'] :: ComputeResource -> Maybe CRAllocationStrategy
+ Amazonka.Batch.Types: [$sel:allocationStrategy:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe CRUpdateAllocationStrategy
+ Amazonka.Batch.Types: [$sel:args:EksContainer'] :: EksContainer -> Maybe [Text]
+ Amazonka.Batch.Types: [$sel:args:EksContainerDetail'] :: EksContainerDetail -> Maybe [Text]
+ Amazonka.Batch.Types: [$sel:args:EksContainerOverride'] :: EksContainerOverride -> Maybe [Text]
+ Amazonka.Batch.Types: [$sel:arn:SchedulingPolicyDetail'] :: SchedulingPolicyDetail -> Text
+ Amazonka.Batch.Types: [$sel:arn:SchedulingPolicyListingDetail'] :: SchedulingPolicyListingDetail -> Text
+ Amazonka.Batch.Types: [$sel:arrayProperties:JobDetail'] :: JobDetail -> Maybe ArrayPropertiesDetail
+ Amazonka.Batch.Types: [$sel:arrayProperties:JobSummary'] :: JobSummary -> Maybe ArrayPropertiesSummary
+ Amazonka.Batch.Types: [$sel:assignPublicIp:NetworkConfiguration'] :: NetworkConfiguration -> Maybe AssignPublicIp
+ Amazonka.Batch.Types: [$sel:attachmentId:NetworkInterface'] :: NetworkInterface -> Maybe Text
+ Amazonka.Batch.Types: [$sel:attemptDurationSeconds:JobTimeout'] :: JobTimeout -> Maybe Int
+ Amazonka.Batch.Types: [$sel:attempts:JobDetail'] :: JobDetail -> Maybe [AttemptDetail]
+ Amazonka.Batch.Types: [$sel:attempts:RetryStrategy'] :: RetryStrategy -> Maybe Int
+ Amazonka.Batch.Types: [$sel:authorizationConfig:EFSVolumeConfiguration'] :: EFSVolumeConfiguration -> Maybe EFSAuthorizationConfig
+ Amazonka.Batch.Types: [$sel:bidPercentage:ComputeResource'] :: ComputeResource -> Maybe Int
+ Amazonka.Batch.Types: [$sel:bidPercentage:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe Int
+ Amazonka.Batch.Types: [$sel:command:ContainerDetail'] :: ContainerDetail -> Maybe [Text]
+ Amazonka.Batch.Types: [$sel:command:ContainerOverrides'] :: ContainerOverrides -> Maybe [Text]
+ Amazonka.Batch.Types: [$sel:command:ContainerProperties'] :: ContainerProperties -> Maybe [Text]
+ Amazonka.Batch.Types: [$sel:command:EksContainer'] :: EksContainer -> Maybe [Text]
+ Amazonka.Batch.Types: [$sel:command:EksContainerDetail'] :: EksContainerDetail -> Maybe [Text]
+ Amazonka.Batch.Types: [$sel:command:EksContainerOverride'] :: EksContainerOverride -> Maybe [Text]
+ Amazonka.Batch.Types: [$sel:computeEnvironment:ComputeEnvironmentOrder'] :: ComputeEnvironmentOrder -> Text
+ Amazonka.Batch.Types: [$sel:computeEnvironmentArn:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Text
+ Amazonka.Batch.Types: [$sel:computeEnvironmentName:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Text
+ Amazonka.Batch.Types: [$sel:computeEnvironmentOrder:JobQueueDetail'] :: JobQueueDetail -> [ComputeEnvironmentOrder]
+ Amazonka.Batch.Types: [$sel:computeReservation:FairsharePolicy'] :: FairsharePolicy -> Maybe Int
+ Amazonka.Batch.Types: [$sel:computeResources:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe ComputeResource
+ Amazonka.Batch.Types: [$sel:container:AttemptDetail'] :: AttemptDetail -> Maybe AttemptContainerDetail
+ Amazonka.Batch.Types: [$sel:container:JobDetail'] :: JobDetail -> Maybe ContainerDetail
+ Amazonka.Batch.Types: [$sel:container:JobSummary'] :: JobSummary -> Maybe ContainerSummary
+ Amazonka.Batch.Types: [$sel:container:NodeRangeProperty'] :: NodeRangeProperty -> Maybe ContainerProperties
+ Amazonka.Batch.Types: [$sel:containerInstanceArn:AttemptContainerDetail'] :: AttemptContainerDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:containerInstanceArn:ContainerDetail'] :: ContainerDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:containerOrchestrationType:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe OrchestrationType
+ Amazonka.Batch.Types: [$sel:containerOrchestrationType:JobDefinition'] :: JobDefinition -> Maybe OrchestrationType
+ Amazonka.Batch.Types: [$sel:containerOverrides:NodePropertyOverride'] :: NodePropertyOverride -> Maybe ContainerOverrides
+ Amazonka.Batch.Types: [$sel:containerPath:Device'] :: Device -> Maybe Text
+ Amazonka.Batch.Types: [$sel:containerPath:MountPoint'] :: MountPoint -> Maybe Text
+ Amazonka.Batch.Types: [$sel:containerPath:Tmpfs'] :: Tmpfs -> Text
+ Amazonka.Batch.Types: [$sel:containerProperties:JobDefinition'] :: JobDefinition -> Maybe ContainerProperties
+ Amazonka.Batch.Types: [$sel:containers:EksAttemptDetail'] :: EksAttemptDetail -> Maybe [EksAttemptContainerDetail]
+ Amazonka.Batch.Types: [$sel:containers:EksPodProperties'] :: EksPodProperties -> Maybe [EksContainer]
+ Amazonka.Batch.Types: [$sel:containers:EksPodPropertiesDetail'] :: EksPodPropertiesDetail -> Maybe [EksContainerDetail]
+ Amazonka.Batch.Types: [$sel:containers:EksPodPropertiesOverride'] :: EksPodPropertiesOverride -> Maybe [EksContainerOverride]
+ Amazonka.Batch.Types: [$sel:createdAt:JobDetail'] :: JobDetail -> Maybe Integer
+ Amazonka.Batch.Types: [$sel:createdAt:JobSummary'] :: JobSummary -> Maybe Integer
+ Amazonka.Batch.Types: [$sel:dependsOn:JobDetail'] :: JobDetail -> Maybe [JobDependency]
+ Amazonka.Batch.Types: [$sel:desiredvCpus:ComputeResource'] :: ComputeResource -> Maybe Int
+ Amazonka.Batch.Types: [$sel:desiredvCpus:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe Int
+ Amazonka.Batch.Types: [$sel:devices:LinuxParameters'] :: LinuxParameters -> Maybe [Device]
+ Amazonka.Batch.Types: [$sel:dnsPolicy:EksPodProperties'] :: EksPodProperties -> Maybe Text
+ Amazonka.Batch.Types: [$sel:dnsPolicy:EksPodPropertiesDetail'] :: EksPodPropertiesDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:ec2Configuration:ComputeResource'] :: ComputeResource -> Maybe [Ec2Configuration]
+ Amazonka.Batch.Types: [$sel:ec2Configuration:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe [Ec2Configuration]
+ Amazonka.Batch.Types: [$sel:ec2KeyPair:ComputeResource'] :: ComputeResource -> Maybe Text
+ Amazonka.Batch.Types: [$sel:ec2KeyPair:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe Text
+ Amazonka.Batch.Types: [$sel:ecsClusterArn:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:efsVolumeConfiguration:Volume'] :: Volume -> Maybe EFSVolumeConfiguration
+ Amazonka.Batch.Types: [$sel:eksAttempts:JobDetail'] :: JobDetail -> Maybe [EksAttemptDetail]
+ Amazonka.Batch.Types: [$sel:eksClusterArn:EksConfiguration'] :: EksConfiguration -> Text
+ Amazonka.Batch.Types: [$sel:eksConfiguration:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe EksConfiguration
+ Amazonka.Batch.Types: [$sel:eksProperties:JobDefinition'] :: JobDefinition -> Maybe EksProperties
+ Amazonka.Batch.Types: [$sel:eksProperties:JobDetail'] :: JobDetail -> Maybe EksPropertiesDetail
+ Amazonka.Batch.Types: [$sel:emptyDir:EksVolume'] :: EksVolume -> Maybe EksEmptyDir
+ Amazonka.Batch.Types: [$sel:env:EksContainer'] :: EksContainer -> Maybe [EksContainerEnvironmentVariable]
+ Amazonka.Batch.Types: [$sel:env:EksContainerDetail'] :: EksContainerDetail -> Maybe [EksContainerEnvironmentVariable]
+ Amazonka.Batch.Types: [$sel:env:EksContainerOverride'] :: EksContainerOverride -> Maybe [EksContainerEnvironmentVariable]
+ Amazonka.Batch.Types: [$sel:environment:ContainerDetail'] :: ContainerDetail -> Maybe [KeyValuePair]
+ Amazonka.Batch.Types: [$sel:environment:ContainerOverrides'] :: ContainerOverrides -> Maybe [KeyValuePair]
+ Amazonka.Batch.Types: [$sel:environment:ContainerProperties'] :: ContainerProperties -> Maybe [KeyValuePair]
+ Amazonka.Batch.Types: [$sel:evaluateOnExit:RetryStrategy'] :: RetryStrategy -> Maybe [EvaluateOnExit]
+ Amazonka.Batch.Types: [$sel:executionRoleArn:ContainerDetail'] :: ContainerDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:executionRoleArn:ContainerProperties'] :: ContainerProperties -> Maybe Text
+ Amazonka.Batch.Types: [$sel:exitCode:AttemptContainerDetail'] :: AttemptContainerDetail -> Maybe Int
+ Amazonka.Batch.Types: [$sel:exitCode:ContainerDetail'] :: ContainerDetail -> Maybe Int
+ Amazonka.Batch.Types: [$sel:exitCode:ContainerSummary'] :: ContainerSummary -> Maybe Int
+ Amazonka.Batch.Types: [$sel:exitCode:EksAttemptContainerDetail'] :: EksAttemptContainerDetail -> Maybe Int
+ Amazonka.Batch.Types: [$sel:exitCode:EksContainerDetail'] :: EksContainerDetail -> Maybe Int
+ Amazonka.Batch.Types: [$sel:fairsharePolicy:SchedulingPolicyDetail'] :: SchedulingPolicyDetail -> Maybe FairsharePolicy
+ Amazonka.Batch.Types: [$sel:fargatePlatformConfiguration:ContainerDetail'] :: ContainerDetail -> Maybe FargatePlatformConfiguration
+ Amazonka.Batch.Types: [$sel:fargatePlatformConfiguration:ContainerProperties'] :: ContainerProperties -> Maybe FargatePlatformConfiguration
+ Amazonka.Batch.Types: [$sel:fileSystemId:EFSVolumeConfiguration'] :: EFSVolumeConfiguration -> Text
+ Amazonka.Batch.Types: [$sel:hardLimit:Ulimit'] :: Ulimit -> Int
+ Amazonka.Batch.Types: [$sel:host:Volume'] :: Volume -> Maybe Host
+ Amazonka.Batch.Types: [$sel:hostNetwork:EksPodProperties'] :: EksPodProperties -> Maybe Bool
+ Amazonka.Batch.Types: [$sel:hostNetwork:EksPodPropertiesDetail'] :: EksPodPropertiesDetail -> Maybe Bool
+ Amazonka.Batch.Types: [$sel:hostPath:Device'] :: Device -> Text
+ Amazonka.Batch.Types: [$sel:hostPath:EksVolume'] :: EksVolume -> Maybe EksHostPath
+ Amazonka.Batch.Types: [$sel:iam:EFSAuthorizationConfig'] :: EFSAuthorizationConfig -> Maybe EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types: [$sel:image:ContainerDetail'] :: ContainerDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:image:ContainerProperties'] :: ContainerProperties -> Maybe Text
+ Amazonka.Batch.Types: [$sel:image:EksContainer'] :: EksContainer -> Text
+ Amazonka.Batch.Types: [$sel:image:EksContainerDetail'] :: EksContainerDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:image:EksContainerOverride'] :: EksContainerOverride -> Maybe Text
+ Amazonka.Batch.Types: [$sel:imageId:ComputeResource'] :: ComputeResource -> Maybe Text
+ Amazonka.Batch.Types: [$sel:imageId:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe Text
+ Amazonka.Batch.Types: [$sel:imageIdOverride:Ec2Configuration'] :: Ec2Configuration -> Maybe Text
+ Amazonka.Batch.Types: [$sel:imageKubernetesVersion:Ec2Configuration'] :: Ec2Configuration -> Maybe Text
+ Amazonka.Batch.Types: [$sel:imagePullPolicy:EksContainer'] :: EksContainer -> Maybe Text
+ Amazonka.Batch.Types: [$sel:imagePullPolicy:EksContainerDetail'] :: EksContainerDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:imageType:Ec2Configuration'] :: Ec2Configuration -> Text
+ Amazonka.Batch.Types: [$sel:index:ArrayPropertiesDetail'] :: ArrayPropertiesDetail -> Maybe Int
+ Amazonka.Batch.Types: [$sel:index:ArrayPropertiesSummary'] :: ArrayPropertiesSummary -> Maybe Int
+ Amazonka.Batch.Types: [$sel:initProcessEnabled:LinuxParameters'] :: LinuxParameters -> Maybe Bool
+ Amazonka.Batch.Types: [$sel:instanceRole:ComputeResource'] :: ComputeResource -> Maybe Text
+ Amazonka.Batch.Types: [$sel:instanceRole:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe Text
+ Amazonka.Batch.Types: [$sel:instanceType:ContainerDetail'] :: ContainerDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:instanceType:ContainerOverrides'] :: ContainerOverrides -> Maybe Text
+ Amazonka.Batch.Types: [$sel:instanceType:ContainerProperties'] :: ContainerProperties -> Maybe Text
+ Amazonka.Batch.Types: [$sel:instanceTypes:ComputeResource'] :: ComputeResource -> Maybe [Text]
+ Amazonka.Batch.Types: [$sel:instanceTypes:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe [Text]
+ Amazonka.Batch.Types: [$sel:ipv6Address:NetworkInterface'] :: NetworkInterface -> Maybe Text
+ Amazonka.Batch.Types: [$sel:isCancelled:JobDetail'] :: JobDetail -> Maybe Bool
+ Amazonka.Batch.Types: [$sel:isMainNode:NodeDetails'] :: NodeDetails -> Maybe Bool
+ Amazonka.Batch.Types: [$sel:isMainNode:NodePropertiesSummary'] :: NodePropertiesSummary -> Maybe Bool
+ Amazonka.Batch.Types: [$sel:isTerminated:JobDetail'] :: JobDetail -> Maybe Bool
+ Amazonka.Batch.Types: [$sel:jobArn:JobDetail'] :: JobDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:jobArn:JobSummary'] :: JobSummary -> Maybe Text
+ Amazonka.Batch.Types: [$sel:jobDefinition:JobDetail'] :: JobDetail -> Text
+ Amazonka.Batch.Types: [$sel:jobDefinition:JobSummary'] :: JobSummary -> Maybe Text
+ Amazonka.Batch.Types: [$sel:jobDefinitionArn:JobDefinition'] :: JobDefinition -> Text
+ Amazonka.Batch.Types: [$sel:jobDefinitionName:JobDefinition'] :: JobDefinition -> Text
+ Amazonka.Batch.Types: [$sel:jobExecutionTimeoutMinutes:UpdatePolicy'] :: UpdatePolicy -> Maybe Natural
+ Amazonka.Batch.Types: [$sel:jobId:JobDependency'] :: JobDependency -> Maybe Text
+ Amazonka.Batch.Types: [$sel:jobId:JobDetail'] :: JobDetail -> Text
+ Amazonka.Batch.Types: [$sel:jobId:JobSummary'] :: JobSummary -> Text
+ Amazonka.Batch.Types: [$sel:jobName:JobDetail'] :: JobDetail -> Text
+ Amazonka.Batch.Types: [$sel:jobName:JobSummary'] :: JobSummary -> Text
+ Amazonka.Batch.Types: [$sel:jobQueue:JobDetail'] :: JobDetail -> Text
+ Amazonka.Batch.Types: [$sel:jobQueueArn:JobQueueDetail'] :: JobQueueDetail -> Text
+ Amazonka.Batch.Types: [$sel:jobQueueName:JobQueueDetail'] :: JobQueueDetail -> Text
+ Amazonka.Batch.Types: [$sel:jobRoleArn:ContainerDetail'] :: ContainerDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:jobRoleArn:ContainerProperties'] :: ContainerProperties -> Maybe Text
+ Amazonka.Batch.Types: [$sel:kubernetesNamespace:EksConfiguration'] :: EksConfiguration -> Text
+ Amazonka.Batch.Types: [$sel:launchTemplate:ComputeResource'] :: ComputeResource -> Maybe LaunchTemplateSpecification
+ Amazonka.Batch.Types: [$sel:launchTemplate:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe LaunchTemplateSpecification
+ Amazonka.Batch.Types: [$sel:launchTemplateId:LaunchTemplateSpecification'] :: LaunchTemplateSpecification -> Maybe Text
+ Amazonka.Batch.Types: [$sel:launchTemplateName:LaunchTemplateSpecification'] :: LaunchTemplateSpecification -> Maybe Text
+ Amazonka.Batch.Types: [$sel:limits:EksContainerResourceRequirements'] :: EksContainerResourceRequirements -> Maybe (HashMap Text Text)
+ Amazonka.Batch.Types: [$sel:linuxParameters:ContainerDetail'] :: ContainerDetail -> Maybe LinuxParameters
+ Amazonka.Batch.Types: [$sel:linuxParameters:ContainerProperties'] :: ContainerProperties -> Maybe LinuxParameters
+ Amazonka.Batch.Types: [$sel:logConfiguration:ContainerDetail'] :: ContainerDetail -> Maybe LogConfiguration
+ Amazonka.Batch.Types: [$sel:logConfiguration:ContainerProperties'] :: ContainerProperties -> Maybe LogConfiguration
+ Amazonka.Batch.Types: [$sel:logDriver:LogConfiguration'] :: LogConfiguration -> LogDriver
+ Amazonka.Batch.Types: [$sel:logStreamName:AttemptContainerDetail'] :: AttemptContainerDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:logStreamName:ContainerDetail'] :: ContainerDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:mainNode:NodeProperties'] :: NodeProperties -> Int
+ Amazonka.Batch.Types: [$sel:maxSwap:LinuxParameters'] :: LinuxParameters -> Maybe Int
+ Amazonka.Batch.Types: [$sel:maxvCpus:ComputeResource'] :: ComputeResource -> Int
+ Amazonka.Batch.Types: [$sel:maxvCpus:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe Int
+ Amazonka.Batch.Types: [$sel:medium:EksEmptyDir'] :: EksEmptyDir -> Maybe Text
+ Amazonka.Batch.Types: [$sel:memory:ContainerDetail'] :: ContainerDetail -> Maybe Int
+ Amazonka.Batch.Types: [$sel:memory:ContainerOverrides'] :: ContainerOverrides -> Maybe Int
+ Amazonka.Batch.Types: [$sel:memory:ContainerProperties'] :: ContainerProperties -> Maybe Int
+ Amazonka.Batch.Types: [$sel:minvCpus:ComputeResource'] :: ComputeResource -> Maybe Int
+ Amazonka.Batch.Types: [$sel:minvCpus:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe Int
+ Amazonka.Batch.Types: [$sel:mountOptions:Tmpfs'] :: Tmpfs -> Maybe [Text]
+ Amazonka.Batch.Types: [$sel:mountPath:EksContainerVolumeMount'] :: EksContainerVolumeMount -> Maybe Text
+ Amazonka.Batch.Types: [$sel:mountPoints:ContainerDetail'] :: ContainerDetail -> Maybe [MountPoint]
+ Amazonka.Batch.Types: [$sel:mountPoints:ContainerProperties'] :: ContainerProperties -> Maybe [MountPoint]
+ Amazonka.Batch.Types: [$sel:name:EksContainer'] :: EksContainer -> Maybe Text
+ Amazonka.Batch.Types: [$sel:name:EksContainerDetail'] :: EksContainerDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:name:EksContainerEnvironmentVariable'] :: EksContainerEnvironmentVariable -> Text
+ Amazonka.Batch.Types: [$sel:name:EksContainerVolumeMount'] :: EksContainerVolumeMount -> Maybe Text
+ Amazonka.Batch.Types: [$sel:name:EksVolume'] :: EksVolume -> Text
+ Amazonka.Batch.Types: [$sel:name:KeyValuePair'] :: KeyValuePair -> Maybe Text
+ Amazonka.Batch.Types: [$sel:name:KeyValuesPair'] :: KeyValuesPair -> Maybe Text
+ Amazonka.Batch.Types: [$sel:name:SchedulingPolicyDetail'] :: SchedulingPolicyDetail -> Text
+ Amazonka.Batch.Types: [$sel:name:Secret'] :: Secret -> Text
+ Amazonka.Batch.Types: [$sel:name:Ulimit'] :: Ulimit -> Text
+ Amazonka.Batch.Types: [$sel:name:Volume'] :: Volume -> Maybe Text
+ Amazonka.Batch.Types: [$sel:networkConfiguration:ContainerDetail'] :: ContainerDetail -> Maybe NetworkConfiguration
+ Amazonka.Batch.Types: [$sel:networkConfiguration:ContainerProperties'] :: ContainerProperties -> Maybe NetworkConfiguration
+ Amazonka.Batch.Types: [$sel:networkInterfaces:AttemptContainerDetail'] :: AttemptContainerDetail -> Maybe [NetworkInterface]
+ Amazonka.Batch.Types: [$sel:networkInterfaces:ContainerDetail'] :: ContainerDetail -> Maybe [NetworkInterface]
+ Amazonka.Batch.Types: [$sel:nodeDetails:JobDetail'] :: JobDetail -> Maybe NodeDetails
+ Amazonka.Batch.Types: [$sel:nodeIndex:NodeDetails'] :: NodeDetails -> Maybe Int
+ Amazonka.Batch.Types: [$sel:nodeIndex:NodePropertiesSummary'] :: NodePropertiesSummary -> Maybe Int
+ Amazonka.Batch.Types: [$sel:nodeName:EksAttemptDetail'] :: EksAttemptDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:nodeName:EksPodPropertiesDetail'] :: EksPodPropertiesDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:nodeProperties:JobDefinition'] :: JobDefinition -> Maybe NodeProperties
+ Amazonka.Batch.Types: [$sel:nodeProperties:JobDetail'] :: JobDetail -> Maybe NodeProperties
+ Amazonka.Batch.Types: [$sel:nodeProperties:JobSummary'] :: JobSummary -> Maybe NodePropertiesSummary
+ Amazonka.Batch.Types: [$sel:nodePropertyOverrides:NodeOverrides'] :: NodeOverrides -> Maybe [NodePropertyOverride]
+ Amazonka.Batch.Types: [$sel:nodeRangeProperties:NodeProperties'] :: NodeProperties -> [NodeRangeProperty]
+ Amazonka.Batch.Types: [$sel:numNodes:NodeOverrides'] :: NodeOverrides -> Maybe Int
+ Amazonka.Batch.Types: [$sel:numNodes:NodeProperties'] :: NodeProperties -> Int
+ Amazonka.Batch.Types: [$sel:numNodes:NodePropertiesSummary'] :: NodePropertiesSummary -> Maybe Int
+ Amazonka.Batch.Types: [$sel:onExitCode:EvaluateOnExit'] :: EvaluateOnExit -> Maybe Text
+ Amazonka.Batch.Types: [$sel:onReason:EvaluateOnExit'] :: EvaluateOnExit -> Maybe Text
+ Amazonka.Batch.Types: [$sel:onStatusReason:EvaluateOnExit'] :: EvaluateOnExit -> Maybe Text
+ Amazonka.Batch.Types: [$sel:optional:EksSecret'] :: EksSecret -> Maybe Bool
+ Amazonka.Batch.Types: [$sel:options:LogConfiguration'] :: LogConfiguration -> Maybe (HashMap Text Text)
+ Amazonka.Batch.Types: [$sel:order:ComputeEnvironmentOrder'] :: ComputeEnvironmentOrder -> Int
+ Amazonka.Batch.Types: [$sel:parameters:JobDefinition'] :: JobDefinition -> Maybe (HashMap Text Text)
+ Amazonka.Batch.Types: [$sel:parameters:JobDetail'] :: JobDetail -> Maybe (HashMap Text Text)
+ Amazonka.Batch.Types: [$sel:path:EksHostPath'] :: EksHostPath -> Maybe Text
+ Amazonka.Batch.Types: [$sel:permissions:Device'] :: Device -> Maybe [DeviceCgroupPermission]
+ Amazonka.Batch.Types: [$sel:placementGroup:ComputeResource'] :: ComputeResource -> Maybe Text
+ Amazonka.Batch.Types: [$sel:placementGroup:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe Text
+ Amazonka.Batch.Types: [$sel:platformCapabilities:JobDefinition'] :: JobDefinition -> Maybe [PlatformCapability]
+ Amazonka.Batch.Types: [$sel:platformCapabilities:JobDetail'] :: JobDetail -> Maybe [PlatformCapability]
+ Amazonka.Batch.Types: [$sel:platformVersion:FargatePlatformConfiguration'] :: FargatePlatformConfiguration -> Maybe Text
+ Amazonka.Batch.Types: [$sel:podName:EksAttemptDetail'] :: EksAttemptDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:podName:EksPodPropertiesDetail'] :: EksPodPropertiesDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:podProperties:EksProperties'] :: EksProperties -> Maybe EksPodProperties
+ Amazonka.Batch.Types: [$sel:podProperties:EksPropertiesDetail'] :: EksPropertiesDetail -> Maybe EksPodPropertiesDetail
+ Amazonka.Batch.Types: [$sel:podProperties:EksPropertiesOverride'] :: EksPropertiesOverride -> Maybe EksPodPropertiesOverride
+ Amazonka.Batch.Types: [$sel:priority:JobQueueDetail'] :: JobQueueDetail -> Int
+ Amazonka.Batch.Types: [$sel:privateIpv4Address:NetworkInterface'] :: NetworkInterface -> Maybe Text
+ Amazonka.Batch.Types: [$sel:privileged:ContainerDetail'] :: ContainerDetail -> Maybe Bool
+ Amazonka.Batch.Types: [$sel:privileged:ContainerProperties'] :: ContainerProperties -> Maybe Bool
+ Amazonka.Batch.Types: [$sel:privileged:EksContainerSecurityContext'] :: EksContainerSecurityContext -> Maybe Bool
+ Amazonka.Batch.Types: [$sel:propagateTags:JobDefinition'] :: JobDefinition -> Maybe Bool
+ Amazonka.Batch.Types: [$sel:propagateTags:JobDetail'] :: JobDetail -> Maybe Bool
+ Amazonka.Batch.Types: [$sel:readOnly:EksContainerVolumeMount'] :: EksContainerVolumeMount -> Maybe Bool
+ Amazonka.Batch.Types: [$sel:readOnly:MountPoint'] :: MountPoint -> Maybe Bool
+ Amazonka.Batch.Types: [$sel:readOnlyRootFilesystem:EksContainerSecurityContext'] :: EksContainerSecurityContext -> Maybe Bool
+ Amazonka.Batch.Types: [$sel:readonlyRootFilesystem:ContainerDetail'] :: ContainerDetail -> Maybe Bool
+ Amazonka.Batch.Types: [$sel:readonlyRootFilesystem:ContainerProperties'] :: ContainerProperties -> Maybe Bool
+ Amazonka.Batch.Types: [$sel:reason:AttemptContainerDetail'] :: AttemptContainerDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:reason:ContainerDetail'] :: ContainerDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:reason:ContainerSummary'] :: ContainerSummary -> Maybe Text
+ Amazonka.Batch.Types: [$sel:reason:EksAttemptContainerDetail'] :: EksAttemptContainerDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:reason:EksContainerDetail'] :: EksContainerDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:requests:EksContainerResourceRequirements'] :: EksContainerResourceRequirements -> Maybe (HashMap Text Text)
+ Amazonka.Batch.Types: [$sel:resourceRequirements:ContainerDetail'] :: ContainerDetail -> Maybe [ResourceRequirement]
+ Amazonka.Batch.Types: [$sel:resourceRequirements:ContainerOverrides'] :: ContainerOverrides -> Maybe [ResourceRequirement]
+ Amazonka.Batch.Types: [$sel:resourceRequirements:ContainerProperties'] :: ContainerProperties -> Maybe [ResourceRequirement]
+ Amazonka.Batch.Types: [$sel:resources:EksContainer'] :: EksContainer -> Maybe EksContainerResourceRequirements
+ Amazonka.Batch.Types: [$sel:resources:EksContainerDetail'] :: EksContainerDetail -> Maybe EksContainerResourceRequirements
+ Amazonka.Batch.Types: [$sel:resources:EksContainerOverride'] :: EksContainerOverride -> Maybe EksContainerResourceRequirements
+ Amazonka.Batch.Types: [$sel:retryStrategy:JobDefinition'] :: JobDefinition -> Maybe RetryStrategy
+ Amazonka.Batch.Types: [$sel:retryStrategy:JobDetail'] :: JobDetail -> Maybe RetryStrategy
+ Amazonka.Batch.Types: [$sel:revision:JobDefinition'] :: JobDefinition -> Int
+ Amazonka.Batch.Types: [$sel:rootDirectory:EFSVolumeConfiguration'] :: EFSVolumeConfiguration -> Maybe Text
+ Amazonka.Batch.Types: [$sel:runAsGroup:EksContainerSecurityContext'] :: EksContainerSecurityContext -> Maybe Integer
+ Amazonka.Batch.Types: [$sel:runAsNonRoot:EksContainerSecurityContext'] :: EksContainerSecurityContext -> Maybe Bool
+ Amazonka.Batch.Types: [$sel:runAsUser:EksContainerSecurityContext'] :: EksContainerSecurityContext -> Maybe Integer
+ Amazonka.Batch.Types: [$sel:schedulingPolicyArn:JobQueueDetail'] :: JobQueueDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:schedulingPriority:JobDefinition'] :: JobDefinition -> Maybe Int
+ Amazonka.Batch.Types: [$sel:schedulingPriority:JobDetail'] :: JobDetail -> Maybe Int
+ Amazonka.Batch.Types: [$sel:secret:EksVolume'] :: EksVolume -> Maybe EksSecret
+ Amazonka.Batch.Types: [$sel:secretName:EksSecret'] :: EksSecret -> Text
+ Amazonka.Batch.Types: [$sel:secretOptions:LogConfiguration'] :: LogConfiguration -> Maybe [Secret]
+ Amazonka.Batch.Types: [$sel:secrets:ContainerDetail'] :: ContainerDetail -> Maybe [Secret]
+ Amazonka.Batch.Types: [$sel:secrets:ContainerProperties'] :: ContainerProperties -> Maybe [Secret]
+ Amazonka.Batch.Types: [$sel:securityContext:EksContainer'] :: EksContainer -> Maybe EksContainerSecurityContext
+ Amazonka.Batch.Types: [$sel:securityContext:EksContainerDetail'] :: EksContainerDetail -> Maybe EksContainerSecurityContext
+ Amazonka.Batch.Types: [$sel:securityGroupIds:ComputeResource'] :: ComputeResource -> Maybe [Text]
+ Amazonka.Batch.Types: [$sel:securityGroupIds:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe [Text]
+ Amazonka.Batch.Types: [$sel:serviceAccountName:EksPodProperties'] :: EksPodProperties -> Maybe Text
+ Amazonka.Batch.Types: [$sel:serviceAccountName:EksPodPropertiesDetail'] :: EksPodPropertiesDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:serviceRole:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:shareDecaySeconds:FairsharePolicy'] :: FairsharePolicy -> Maybe Int
+ Amazonka.Batch.Types: [$sel:shareDistribution:FairsharePolicy'] :: FairsharePolicy -> Maybe [ShareAttributes]
+ Amazonka.Batch.Types: [$sel:shareIdentifier:JobDetail'] :: JobDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:shareIdentifier:ShareAttributes'] :: ShareAttributes -> Text
+ Amazonka.Batch.Types: [$sel:sharedMemorySize:LinuxParameters'] :: LinuxParameters -> Maybe Int
+ Amazonka.Batch.Types: [$sel:size:ArrayProperties'] :: ArrayProperties -> Maybe Int
+ Amazonka.Batch.Types: [$sel:size:ArrayPropertiesDetail'] :: ArrayPropertiesDetail -> Maybe Int
+ Amazonka.Batch.Types: [$sel:size:ArrayPropertiesSummary'] :: ArrayPropertiesSummary -> Maybe Int
+ Amazonka.Batch.Types: [$sel:size:Tmpfs'] :: Tmpfs -> Int
+ Amazonka.Batch.Types: [$sel:sizeLimit:EksEmptyDir'] :: EksEmptyDir -> Maybe Text
+ Amazonka.Batch.Types: [$sel:softLimit:Ulimit'] :: Ulimit -> Int
+ Amazonka.Batch.Types: [$sel:sourcePath:Host'] :: Host -> Maybe Text
+ Amazonka.Batch.Types: [$sel:sourceVolume:MountPoint'] :: MountPoint -> Maybe Text
+ Amazonka.Batch.Types: [$sel:spotIamFleetRole:ComputeResource'] :: ComputeResource -> Maybe Text
+ Amazonka.Batch.Types: [$sel:startedAt:AttemptDetail'] :: AttemptDetail -> Maybe Integer
+ Amazonka.Batch.Types: [$sel:startedAt:EksAttemptDetail'] :: EksAttemptDetail -> Maybe Integer
+ Amazonka.Batch.Types: [$sel:startedAt:JobDetail'] :: JobDetail -> Maybe Integer
+ Amazonka.Batch.Types: [$sel:startedAt:JobSummary'] :: JobSummary -> Maybe Integer
+ Amazonka.Batch.Types: [$sel:state:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe CEState
+ Amazonka.Batch.Types: [$sel:state:JobQueueDetail'] :: JobQueueDetail -> JQState
+ Amazonka.Batch.Types: [$sel:status:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe CEStatus
+ Amazonka.Batch.Types: [$sel:status:JobDefinition'] :: JobDefinition -> Maybe Text
+ Amazonka.Batch.Types: [$sel:status:JobDetail'] :: JobDetail -> JobStatus
+ Amazonka.Batch.Types: [$sel:status:JobQueueDetail'] :: JobQueueDetail -> Maybe JQStatus
+ Amazonka.Batch.Types: [$sel:status:JobSummary'] :: JobSummary -> Maybe JobStatus
+ Amazonka.Batch.Types: [$sel:statusReason:AttemptDetail'] :: AttemptDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:statusReason:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:statusReason:EksAttemptDetail'] :: EksAttemptDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:statusReason:JobDetail'] :: JobDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:statusReason:JobQueueDetail'] :: JobQueueDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:statusReason:JobSummary'] :: JobSummary -> Maybe Text
+ Amazonka.Batch.Types: [$sel:statusSummary:ArrayPropertiesDetail'] :: ArrayPropertiesDetail -> Maybe (HashMap Text Int)
+ Amazonka.Batch.Types: [$sel:stoppedAt:AttemptDetail'] :: AttemptDetail -> Maybe Integer
+ Amazonka.Batch.Types: [$sel:stoppedAt:EksAttemptDetail'] :: EksAttemptDetail -> Maybe Integer
+ Amazonka.Batch.Types: [$sel:stoppedAt:JobDetail'] :: JobDetail -> Maybe Integer
+ Amazonka.Batch.Types: [$sel:stoppedAt:JobSummary'] :: JobSummary -> Maybe Integer
+ Amazonka.Batch.Types: [$sel:subnets:ComputeResource'] :: ComputeResource -> [Text]
+ Amazonka.Batch.Types: [$sel:subnets:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe [Text]
+ Amazonka.Batch.Types: [$sel:swappiness:LinuxParameters'] :: LinuxParameters -> Maybe Int
+ Amazonka.Batch.Types: [$sel:tags:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe (HashMap Text Text)
+ Amazonka.Batch.Types: [$sel:tags:ComputeResource'] :: ComputeResource -> Maybe (HashMap Text Text)
+ Amazonka.Batch.Types: [$sel:tags:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe (HashMap Text Text)
+ Amazonka.Batch.Types: [$sel:tags:JobDefinition'] :: JobDefinition -> Maybe (HashMap Text Text)
+ Amazonka.Batch.Types: [$sel:tags:JobDetail'] :: JobDetail -> Maybe (HashMap Text Text)
+ Amazonka.Batch.Types: [$sel:tags:JobQueueDetail'] :: JobQueueDetail -> Maybe (HashMap Text Text)
+ Amazonka.Batch.Types: [$sel:tags:SchedulingPolicyDetail'] :: SchedulingPolicyDetail -> Maybe (HashMap Text Text)
+ Amazonka.Batch.Types: [$sel:targetNodes:NodePropertyOverride'] :: NodePropertyOverride -> Text
+ Amazonka.Batch.Types: [$sel:targetNodes:NodeRangeProperty'] :: NodeRangeProperty -> Text
+ Amazonka.Batch.Types: [$sel:taskArn:AttemptContainerDetail'] :: AttemptContainerDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:taskArn:ContainerDetail'] :: ContainerDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:terminateJobsOnUpdate:UpdatePolicy'] :: UpdatePolicy -> Maybe Bool
+ Amazonka.Batch.Types: [$sel:timeout:JobDefinition'] :: JobDefinition -> Maybe JobTimeout
+ Amazonka.Batch.Types: [$sel:timeout:JobDetail'] :: JobDetail -> Maybe JobTimeout
+ Amazonka.Batch.Types: [$sel:tmpfs:LinuxParameters'] :: LinuxParameters -> Maybe [Tmpfs]
+ Amazonka.Batch.Types: [$sel:transitEncryption:EFSVolumeConfiguration'] :: EFSVolumeConfiguration -> Maybe EFSTransitEncryption
+ Amazonka.Batch.Types: [$sel:transitEncryptionPort:EFSVolumeConfiguration'] :: EFSVolumeConfiguration -> Maybe Int
+ Amazonka.Batch.Types: [$sel:type':ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe CEType
+ Amazonka.Batch.Types: [$sel:type':ComputeResource'] :: ComputeResource -> CRType
+ Amazonka.Batch.Types: [$sel:type':ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe CRType
+ Amazonka.Batch.Types: [$sel:type':JobDefinition'] :: JobDefinition -> Text
+ Amazonka.Batch.Types: [$sel:type':JobDependency'] :: JobDependency -> Maybe ArrayJobDependency
+ Amazonka.Batch.Types: [$sel:type':ResourceRequirement'] :: ResourceRequirement -> ResourceType
+ Amazonka.Batch.Types: [$sel:ulimits:ContainerDetail'] :: ContainerDetail -> Maybe [Ulimit]
+ Amazonka.Batch.Types: [$sel:ulimits:ContainerProperties'] :: ContainerProperties -> Maybe [Ulimit]
+ Amazonka.Batch.Types: [$sel:unmanagedvCpus:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe Int
+ Amazonka.Batch.Types: [$sel:updatePolicy:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe UpdatePolicy
+ Amazonka.Batch.Types: [$sel:updateToLatestImageVersion:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe Bool
+ Amazonka.Batch.Types: [$sel:user:ContainerDetail'] :: ContainerDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:user:ContainerProperties'] :: ContainerProperties -> Maybe Text
+ Amazonka.Batch.Types: [$sel:uuid:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe Text
+ Amazonka.Batch.Types: [$sel:value:EksContainerEnvironmentVariable'] :: EksContainerEnvironmentVariable -> Maybe Text
+ Amazonka.Batch.Types: [$sel:value:KeyValuePair'] :: KeyValuePair -> Maybe Text
+ Amazonka.Batch.Types: [$sel:value:ResourceRequirement'] :: ResourceRequirement -> Text
+ Amazonka.Batch.Types: [$sel:valueFrom:Secret'] :: Secret -> Text
+ Amazonka.Batch.Types: [$sel:values:KeyValuesPair'] :: KeyValuesPair -> Maybe [Text]
+ Amazonka.Batch.Types: [$sel:vcpus:ContainerDetail'] :: ContainerDetail -> Maybe Int
+ Amazonka.Batch.Types: [$sel:vcpus:ContainerOverrides'] :: ContainerOverrides -> Maybe Int
+ Amazonka.Batch.Types: [$sel:vcpus:ContainerProperties'] :: ContainerProperties -> Maybe Int
+ Amazonka.Batch.Types: [$sel:version:LaunchTemplateSpecification'] :: LaunchTemplateSpecification -> Maybe Text
+ Amazonka.Batch.Types: [$sel:volumeMounts:EksContainer'] :: EksContainer -> Maybe [EksContainerVolumeMount]
+ Amazonka.Batch.Types: [$sel:volumeMounts:EksContainerDetail'] :: EksContainerDetail -> Maybe [EksContainerVolumeMount]
+ Amazonka.Batch.Types: [$sel:volumes:ContainerDetail'] :: ContainerDetail -> Maybe [Volume]
+ Amazonka.Batch.Types: [$sel:volumes:ContainerProperties'] :: ContainerProperties -> Maybe [Volume]
+ Amazonka.Batch.Types: [$sel:volumes:EksPodProperties'] :: EksPodProperties -> Maybe [EksVolume]
+ Amazonka.Batch.Types: [$sel:volumes:EksPodPropertiesDetail'] :: EksPodPropertiesDetail -> Maybe [EksVolume]
+ Amazonka.Batch.Types: [$sel:weightFactor:ShareAttributes'] :: ShareAttributes -> Maybe Double
+ Amazonka.Batch.Types: [fromArrayJobDependency] :: ArrayJobDependency -> Text
+ Amazonka.Batch.Types: [fromAssignPublicIp] :: AssignPublicIp -> Text
+ Amazonka.Batch.Types: [fromCEState] :: CEState -> Text
+ Amazonka.Batch.Types: [fromCEStatus] :: CEStatus -> Text
+ Amazonka.Batch.Types: [fromCEType] :: CEType -> Text
+ Amazonka.Batch.Types: [fromCRAllocationStrategy] :: CRAllocationStrategy -> Text
+ Amazonka.Batch.Types: [fromCRType] :: CRType -> Text
+ Amazonka.Batch.Types: [fromCRUpdateAllocationStrategy] :: CRUpdateAllocationStrategy -> Text
+ Amazonka.Batch.Types: [fromDeviceCgroupPermission] :: DeviceCgroupPermission -> Text
+ Amazonka.Batch.Types: [fromEFSAuthorizationConfigIAM] :: EFSAuthorizationConfigIAM -> Text
+ Amazonka.Batch.Types: [fromEFSTransitEncryption] :: EFSTransitEncryption -> Text
+ Amazonka.Batch.Types: [fromJQState] :: JQState -> Text
+ Amazonka.Batch.Types: [fromJQStatus] :: JQStatus -> Text
+ Amazonka.Batch.Types: [fromJobDefinitionType] :: JobDefinitionType -> Text
+ Amazonka.Batch.Types: [fromJobStatus] :: JobStatus -> Text
+ Amazonka.Batch.Types: [fromLogDriver] :: LogDriver -> Text
+ Amazonka.Batch.Types: [fromOrchestrationType] :: OrchestrationType -> Text
+ Amazonka.Batch.Types: [fromPlatformCapability] :: PlatformCapability -> Text
+ Amazonka.Batch.Types: [fromResourceType] :: ResourceType -> Text
+ Amazonka.Batch.Types: [fromRetryAction] :: RetryAction -> Text
+ Amazonka.Batch.Types: _ClientException :: AsError a => Fold a ServiceError
+ Amazonka.Batch.Types: _ServerException :: AsError a => Fold a ServiceError
+ Amazonka.Batch.Types: arrayPropertiesDetail_index :: Lens' ArrayPropertiesDetail (Maybe Int)
+ Amazonka.Batch.Types: arrayPropertiesDetail_size :: Lens' ArrayPropertiesDetail (Maybe Int)
+ Amazonka.Batch.Types: arrayPropertiesDetail_statusSummary :: Lens' ArrayPropertiesDetail (Maybe (HashMap Text Int))
+ Amazonka.Batch.Types: arrayPropertiesSummary_index :: Lens' ArrayPropertiesSummary (Maybe Int)
+ Amazonka.Batch.Types: arrayPropertiesSummary_size :: Lens' ArrayPropertiesSummary (Maybe Int)
+ Amazonka.Batch.Types: arrayProperties_size :: Lens' ArrayProperties (Maybe Int)
+ Amazonka.Batch.Types: attemptContainerDetail_containerInstanceArn :: Lens' AttemptContainerDetail (Maybe Text)
+ Amazonka.Batch.Types: attemptContainerDetail_exitCode :: Lens' AttemptContainerDetail (Maybe Int)
+ Amazonka.Batch.Types: attemptContainerDetail_logStreamName :: Lens' AttemptContainerDetail (Maybe Text)
+ Amazonka.Batch.Types: attemptContainerDetail_networkInterfaces :: Lens' AttemptContainerDetail (Maybe [NetworkInterface])
+ Amazonka.Batch.Types: attemptContainerDetail_reason :: Lens' AttemptContainerDetail (Maybe Text)
+ Amazonka.Batch.Types: attemptContainerDetail_taskArn :: Lens' AttemptContainerDetail (Maybe Text)
+ Amazonka.Batch.Types: attemptDetail_container :: Lens' AttemptDetail (Maybe AttemptContainerDetail)
+ Amazonka.Batch.Types: attemptDetail_startedAt :: Lens' AttemptDetail (Maybe Integer)
+ Amazonka.Batch.Types: attemptDetail_statusReason :: Lens' AttemptDetail (Maybe Text)
+ Amazonka.Batch.Types: attemptDetail_stoppedAt :: Lens' AttemptDetail (Maybe Integer)
+ Amazonka.Batch.Types: computeEnvironmentDetail_computeEnvironmentArn :: Lens' ComputeEnvironmentDetail Text
+ Amazonka.Batch.Types: computeEnvironmentDetail_computeEnvironmentName :: Lens' ComputeEnvironmentDetail Text
+ Amazonka.Batch.Types: computeEnvironmentDetail_computeResources :: Lens' ComputeEnvironmentDetail (Maybe ComputeResource)
+ Amazonka.Batch.Types: computeEnvironmentDetail_containerOrchestrationType :: Lens' ComputeEnvironmentDetail (Maybe OrchestrationType)
+ Amazonka.Batch.Types: computeEnvironmentDetail_ecsClusterArn :: Lens' ComputeEnvironmentDetail (Maybe Text)
+ Amazonka.Batch.Types: computeEnvironmentDetail_eksConfiguration :: Lens' ComputeEnvironmentDetail (Maybe EksConfiguration)
+ Amazonka.Batch.Types: computeEnvironmentDetail_serviceRole :: Lens' ComputeEnvironmentDetail (Maybe Text)
+ Amazonka.Batch.Types: computeEnvironmentDetail_state :: Lens' ComputeEnvironmentDetail (Maybe CEState)
+ Amazonka.Batch.Types: computeEnvironmentDetail_status :: Lens' ComputeEnvironmentDetail (Maybe CEStatus)
+ Amazonka.Batch.Types: computeEnvironmentDetail_statusReason :: Lens' ComputeEnvironmentDetail (Maybe Text)
+ Amazonka.Batch.Types: computeEnvironmentDetail_tags :: Lens' ComputeEnvironmentDetail (Maybe (HashMap Text Text))
+ Amazonka.Batch.Types: computeEnvironmentDetail_type :: Lens' ComputeEnvironmentDetail (Maybe CEType)
+ Amazonka.Batch.Types: computeEnvironmentDetail_unmanagedvCpus :: Lens' ComputeEnvironmentDetail (Maybe Int)
+ Amazonka.Batch.Types: computeEnvironmentDetail_updatePolicy :: Lens' ComputeEnvironmentDetail (Maybe UpdatePolicy)
+ Amazonka.Batch.Types: computeEnvironmentDetail_uuid :: Lens' ComputeEnvironmentDetail (Maybe Text)
+ Amazonka.Batch.Types: computeEnvironmentOrder_computeEnvironment :: Lens' ComputeEnvironmentOrder Text
+ Amazonka.Batch.Types: computeEnvironmentOrder_order :: Lens' ComputeEnvironmentOrder Int
+ Amazonka.Batch.Types: computeResourceUpdate_allocationStrategy :: Lens' ComputeResourceUpdate (Maybe CRUpdateAllocationStrategy)
+ Amazonka.Batch.Types: computeResourceUpdate_bidPercentage :: Lens' ComputeResourceUpdate (Maybe Int)
+ Amazonka.Batch.Types: computeResourceUpdate_desiredvCpus :: Lens' ComputeResourceUpdate (Maybe Int)
+ Amazonka.Batch.Types: computeResourceUpdate_ec2Configuration :: Lens' ComputeResourceUpdate (Maybe [Ec2Configuration])
+ Amazonka.Batch.Types: computeResourceUpdate_ec2KeyPair :: Lens' ComputeResourceUpdate (Maybe Text)
+ Amazonka.Batch.Types: computeResourceUpdate_imageId :: Lens' ComputeResourceUpdate (Maybe Text)
+ Amazonka.Batch.Types: computeResourceUpdate_instanceRole :: Lens' ComputeResourceUpdate (Maybe Text)
+ Amazonka.Batch.Types: computeResourceUpdate_instanceTypes :: Lens' ComputeResourceUpdate (Maybe [Text])
+ Amazonka.Batch.Types: computeResourceUpdate_launchTemplate :: Lens' ComputeResourceUpdate (Maybe LaunchTemplateSpecification)
+ Amazonka.Batch.Types: computeResourceUpdate_maxvCpus :: Lens' ComputeResourceUpdate (Maybe Int)
+ Amazonka.Batch.Types: computeResourceUpdate_minvCpus :: Lens' ComputeResourceUpdate (Maybe Int)
+ Amazonka.Batch.Types: computeResourceUpdate_placementGroup :: Lens' ComputeResourceUpdate (Maybe Text)
+ Amazonka.Batch.Types: computeResourceUpdate_securityGroupIds :: Lens' ComputeResourceUpdate (Maybe [Text])
+ Amazonka.Batch.Types: computeResourceUpdate_subnets :: Lens' ComputeResourceUpdate (Maybe [Text])
+ Amazonka.Batch.Types: computeResourceUpdate_tags :: Lens' ComputeResourceUpdate (Maybe (HashMap Text Text))
+ Amazonka.Batch.Types: computeResourceUpdate_type :: Lens' ComputeResourceUpdate (Maybe CRType)
+ Amazonka.Batch.Types: computeResourceUpdate_updateToLatestImageVersion :: Lens' ComputeResourceUpdate (Maybe Bool)
+ Amazonka.Batch.Types: computeResource_allocationStrategy :: Lens' ComputeResource (Maybe CRAllocationStrategy)
+ Amazonka.Batch.Types: computeResource_bidPercentage :: Lens' ComputeResource (Maybe Int)
+ Amazonka.Batch.Types: computeResource_desiredvCpus :: Lens' ComputeResource (Maybe Int)
+ Amazonka.Batch.Types: computeResource_ec2Configuration :: Lens' ComputeResource (Maybe [Ec2Configuration])
+ Amazonka.Batch.Types: computeResource_ec2KeyPair :: Lens' ComputeResource (Maybe Text)
+ Amazonka.Batch.Types: computeResource_imageId :: Lens' ComputeResource (Maybe Text)
+ Amazonka.Batch.Types: computeResource_instanceRole :: Lens' ComputeResource (Maybe Text)
+ Amazonka.Batch.Types: computeResource_instanceTypes :: Lens' ComputeResource (Maybe [Text])
+ Amazonka.Batch.Types: computeResource_launchTemplate :: Lens' ComputeResource (Maybe LaunchTemplateSpecification)
+ Amazonka.Batch.Types: computeResource_maxvCpus :: Lens' ComputeResource Int
+ Amazonka.Batch.Types: computeResource_minvCpus :: Lens' ComputeResource (Maybe Int)
+ Amazonka.Batch.Types: computeResource_placementGroup :: Lens' ComputeResource (Maybe Text)
+ Amazonka.Batch.Types: computeResource_securityGroupIds :: Lens' ComputeResource (Maybe [Text])
+ Amazonka.Batch.Types: computeResource_spotIamFleetRole :: Lens' ComputeResource (Maybe Text)
+ Amazonka.Batch.Types: computeResource_subnets :: Lens' ComputeResource [Text]
+ Amazonka.Batch.Types: computeResource_tags :: Lens' ComputeResource (Maybe (HashMap Text Text))
+ Amazonka.Batch.Types: computeResource_type :: Lens' ComputeResource CRType
+ Amazonka.Batch.Types: containerDetail_command :: Lens' ContainerDetail (Maybe [Text])
+ Amazonka.Batch.Types: containerDetail_containerInstanceArn :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Types: containerDetail_environment :: Lens' ContainerDetail (Maybe [KeyValuePair])
+ Amazonka.Batch.Types: containerDetail_executionRoleArn :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Types: containerDetail_exitCode :: Lens' ContainerDetail (Maybe Int)
+ Amazonka.Batch.Types: containerDetail_fargatePlatformConfiguration :: Lens' ContainerDetail (Maybe FargatePlatformConfiguration)
+ Amazonka.Batch.Types: containerDetail_image :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Types: containerDetail_instanceType :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Types: containerDetail_jobRoleArn :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Types: containerDetail_linuxParameters :: Lens' ContainerDetail (Maybe LinuxParameters)
+ Amazonka.Batch.Types: containerDetail_logConfiguration :: Lens' ContainerDetail (Maybe LogConfiguration)
+ Amazonka.Batch.Types: containerDetail_logStreamName :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Types: containerDetail_memory :: Lens' ContainerDetail (Maybe Int)
+ Amazonka.Batch.Types: containerDetail_mountPoints :: Lens' ContainerDetail (Maybe [MountPoint])
+ Amazonka.Batch.Types: containerDetail_networkConfiguration :: Lens' ContainerDetail (Maybe NetworkConfiguration)
+ Amazonka.Batch.Types: containerDetail_networkInterfaces :: Lens' ContainerDetail (Maybe [NetworkInterface])
+ Amazonka.Batch.Types: containerDetail_privileged :: Lens' ContainerDetail (Maybe Bool)
+ Amazonka.Batch.Types: containerDetail_readonlyRootFilesystem :: Lens' ContainerDetail (Maybe Bool)
+ Amazonka.Batch.Types: containerDetail_reason :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Types: containerDetail_resourceRequirements :: Lens' ContainerDetail (Maybe [ResourceRequirement])
+ Amazonka.Batch.Types: containerDetail_secrets :: Lens' ContainerDetail (Maybe [Secret])
+ Amazonka.Batch.Types: containerDetail_taskArn :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Types: containerDetail_ulimits :: Lens' ContainerDetail (Maybe [Ulimit])
+ Amazonka.Batch.Types: containerDetail_user :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Types: containerDetail_vcpus :: Lens' ContainerDetail (Maybe Int)
+ Amazonka.Batch.Types: containerDetail_volumes :: Lens' ContainerDetail (Maybe [Volume])
+ Amazonka.Batch.Types: containerOverrides_command :: Lens' ContainerOverrides (Maybe [Text])
+ Amazonka.Batch.Types: containerOverrides_environment :: Lens' ContainerOverrides (Maybe [KeyValuePair])
+ Amazonka.Batch.Types: containerOverrides_instanceType :: Lens' ContainerOverrides (Maybe Text)
+ Amazonka.Batch.Types: containerOverrides_memory :: Lens' ContainerOverrides (Maybe Int)
+ Amazonka.Batch.Types: containerOverrides_resourceRequirements :: Lens' ContainerOverrides (Maybe [ResourceRequirement])
+ Amazonka.Batch.Types: containerOverrides_vcpus :: Lens' ContainerOverrides (Maybe Int)
+ Amazonka.Batch.Types: containerProperties_command :: Lens' ContainerProperties (Maybe [Text])
+ Amazonka.Batch.Types: containerProperties_environment :: Lens' ContainerProperties (Maybe [KeyValuePair])
+ Amazonka.Batch.Types: containerProperties_executionRoleArn :: Lens' ContainerProperties (Maybe Text)
+ Amazonka.Batch.Types: containerProperties_fargatePlatformConfiguration :: Lens' ContainerProperties (Maybe FargatePlatformConfiguration)
+ Amazonka.Batch.Types: containerProperties_image :: Lens' ContainerProperties (Maybe Text)
+ Amazonka.Batch.Types: containerProperties_instanceType :: Lens' ContainerProperties (Maybe Text)
+ Amazonka.Batch.Types: containerProperties_jobRoleArn :: Lens' ContainerProperties (Maybe Text)
+ Amazonka.Batch.Types: containerProperties_linuxParameters :: Lens' ContainerProperties (Maybe LinuxParameters)
+ Amazonka.Batch.Types: containerProperties_logConfiguration :: Lens' ContainerProperties (Maybe LogConfiguration)
+ Amazonka.Batch.Types: containerProperties_memory :: Lens' ContainerProperties (Maybe Int)
+ Amazonka.Batch.Types: containerProperties_mountPoints :: Lens' ContainerProperties (Maybe [MountPoint])
+ Amazonka.Batch.Types: containerProperties_networkConfiguration :: Lens' ContainerProperties (Maybe NetworkConfiguration)
+ Amazonka.Batch.Types: containerProperties_privileged :: Lens' ContainerProperties (Maybe Bool)
+ Amazonka.Batch.Types: containerProperties_readonlyRootFilesystem :: Lens' ContainerProperties (Maybe Bool)
+ Amazonka.Batch.Types: containerProperties_resourceRequirements :: Lens' ContainerProperties (Maybe [ResourceRequirement])
+ Amazonka.Batch.Types: containerProperties_secrets :: Lens' ContainerProperties (Maybe [Secret])
+ Amazonka.Batch.Types: containerProperties_ulimits :: Lens' ContainerProperties (Maybe [Ulimit])
+ Amazonka.Batch.Types: containerProperties_user :: Lens' ContainerProperties (Maybe Text)
+ Amazonka.Batch.Types: containerProperties_vcpus :: Lens' ContainerProperties (Maybe Int)
+ Amazonka.Batch.Types: containerProperties_volumes :: Lens' ContainerProperties (Maybe [Volume])
+ Amazonka.Batch.Types: containerSummary_exitCode :: Lens' ContainerSummary (Maybe Int)
+ Amazonka.Batch.Types: containerSummary_reason :: Lens' ContainerSummary (Maybe Text)
+ Amazonka.Batch.Types: data ArrayProperties
+ Amazonka.Batch.Types: data ArrayPropertiesDetail
+ Amazonka.Batch.Types: data ArrayPropertiesSummary
+ Amazonka.Batch.Types: data AttemptContainerDetail
+ Amazonka.Batch.Types: data AttemptDetail
+ Amazonka.Batch.Types: data ComputeEnvironmentDetail
+ Amazonka.Batch.Types: data ComputeEnvironmentOrder
+ Amazonka.Batch.Types: data ComputeResource
+ Amazonka.Batch.Types: data ComputeResourceUpdate
+ Amazonka.Batch.Types: data ContainerDetail
+ Amazonka.Batch.Types: data ContainerOverrides
+ Amazonka.Batch.Types: data ContainerProperties
+ Amazonka.Batch.Types: data ContainerSummary
+ Amazonka.Batch.Types: data Device
+ Amazonka.Batch.Types: data EFSAuthorizationConfig
+ Amazonka.Batch.Types: data EFSVolumeConfiguration
+ Amazonka.Batch.Types: data Ec2Configuration
+ Amazonka.Batch.Types: data EksAttemptContainerDetail
+ Amazonka.Batch.Types: data EksAttemptDetail
+ Amazonka.Batch.Types: data EksConfiguration
+ Amazonka.Batch.Types: data EksContainer
+ Amazonka.Batch.Types: data EksContainerDetail
+ Amazonka.Batch.Types: data EksContainerEnvironmentVariable
+ Amazonka.Batch.Types: data EksContainerOverride
+ Amazonka.Batch.Types: data EksContainerResourceRequirements
+ Amazonka.Batch.Types: data EksContainerSecurityContext
+ Amazonka.Batch.Types: data EksContainerVolumeMount
+ Amazonka.Batch.Types: data EksEmptyDir
+ Amazonka.Batch.Types: data EksHostPath
+ Amazonka.Batch.Types: data EksPodProperties
+ Amazonka.Batch.Types: data EksPodPropertiesDetail
+ Amazonka.Batch.Types: data EksPodPropertiesOverride
+ Amazonka.Batch.Types: data EksProperties
+ Amazonka.Batch.Types: data EksPropertiesDetail
+ Amazonka.Batch.Types: data EksPropertiesOverride
+ Amazonka.Batch.Types: data EksSecret
+ Amazonka.Batch.Types: data EksVolume
+ Amazonka.Batch.Types: data EvaluateOnExit
+ Amazonka.Batch.Types: data FairsharePolicy
+ Amazonka.Batch.Types: data FargatePlatformConfiguration
+ Amazonka.Batch.Types: data Host
+ Amazonka.Batch.Types: data JobDefinition
+ Amazonka.Batch.Types: data JobDependency
+ Amazonka.Batch.Types: data JobDetail
+ Amazonka.Batch.Types: data JobQueueDetail
+ Amazonka.Batch.Types: data JobSummary
+ Amazonka.Batch.Types: data JobTimeout
+ Amazonka.Batch.Types: data KeyValuePair
+ Amazonka.Batch.Types: data KeyValuesPair
+ Amazonka.Batch.Types: data LaunchTemplateSpecification
+ Amazonka.Batch.Types: data LinuxParameters
+ Amazonka.Batch.Types: data LogConfiguration
+ Amazonka.Batch.Types: data MountPoint
+ Amazonka.Batch.Types: data NetworkConfiguration
+ Amazonka.Batch.Types: data NetworkInterface
+ Amazonka.Batch.Types: data NodeDetails
+ Amazonka.Batch.Types: data NodeOverrides
+ Amazonka.Batch.Types: data NodeProperties
+ Amazonka.Batch.Types: data NodePropertiesSummary
+ Amazonka.Batch.Types: data NodePropertyOverride
+ Amazonka.Batch.Types: data NodeRangeProperty
+ Amazonka.Batch.Types: data ResourceRequirement
+ Amazonka.Batch.Types: data RetryStrategy
+ Amazonka.Batch.Types: data SchedulingPolicyDetail
+ Amazonka.Batch.Types: data SchedulingPolicyListingDetail
+ Amazonka.Batch.Types: data Secret
+ Amazonka.Batch.Types: data ShareAttributes
+ Amazonka.Batch.Types: data Tmpfs
+ Amazonka.Batch.Types: data Ulimit
+ Amazonka.Batch.Types: data UpdatePolicy
+ Amazonka.Batch.Types: data Volume
+ Amazonka.Batch.Types: defaultService :: Service
+ Amazonka.Batch.Types: device_containerPath :: Lens' Device (Maybe Text)
+ Amazonka.Batch.Types: device_hostPath :: Lens' Device Text
+ Amazonka.Batch.Types: device_permissions :: Lens' Device (Maybe [DeviceCgroupPermission])
+ Amazonka.Batch.Types: eFSAuthorizationConfig_accessPointId :: Lens' EFSAuthorizationConfig (Maybe Text)
+ Amazonka.Batch.Types: eFSAuthorizationConfig_iam :: Lens' EFSAuthorizationConfig (Maybe EFSAuthorizationConfigIAM)
+ Amazonka.Batch.Types: eFSVolumeConfiguration_authorizationConfig :: Lens' EFSVolumeConfiguration (Maybe EFSAuthorizationConfig)
+ Amazonka.Batch.Types: eFSVolumeConfiguration_fileSystemId :: Lens' EFSVolumeConfiguration Text
+ Amazonka.Batch.Types: eFSVolumeConfiguration_rootDirectory :: Lens' EFSVolumeConfiguration (Maybe Text)
+ Amazonka.Batch.Types: eFSVolumeConfiguration_transitEncryption :: Lens' EFSVolumeConfiguration (Maybe EFSTransitEncryption)
+ Amazonka.Batch.Types: eFSVolumeConfiguration_transitEncryptionPort :: Lens' EFSVolumeConfiguration (Maybe Int)
+ Amazonka.Batch.Types: ec2Configuration_imageIdOverride :: Lens' Ec2Configuration (Maybe Text)
+ Amazonka.Batch.Types: ec2Configuration_imageKubernetesVersion :: Lens' Ec2Configuration (Maybe Text)
+ Amazonka.Batch.Types: ec2Configuration_imageType :: Lens' Ec2Configuration Text
+ Amazonka.Batch.Types: eksAttemptContainerDetail_exitCode :: Lens' EksAttemptContainerDetail (Maybe Int)
+ Amazonka.Batch.Types: eksAttemptContainerDetail_reason :: Lens' EksAttemptContainerDetail (Maybe Text)
+ Amazonka.Batch.Types: eksAttemptDetail_containers :: Lens' EksAttemptDetail (Maybe [EksAttemptContainerDetail])
+ Amazonka.Batch.Types: eksAttemptDetail_nodeName :: Lens' EksAttemptDetail (Maybe Text)
+ Amazonka.Batch.Types: eksAttemptDetail_podName :: Lens' EksAttemptDetail (Maybe Text)
+ Amazonka.Batch.Types: eksAttemptDetail_startedAt :: Lens' EksAttemptDetail (Maybe Integer)
+ Amazonka.Batch.Types: eksAttemptDetail_statusReason :: Lens' EksAttemptDetail (Maybe Text)
+ Amazonka.Batch.Types: eksAttemptDetail_stoppedAt :: Lens' EksAttemptDetail (Maybe Integer)
+ Amazonka.Batch.Types: eksConfiguration_eksClusterArn :: Lens' EksConfiguration Text
+ Amazonka.Batch.Types: eksConfiguration_kubernetesNamespace :: Lens' EksConfiguration Text
+ Amazonka.Batch.Types: eksContainerDetail_args :: Lens' EksContainerDetail (Maybe [Text])
+ Amazonka.Batch.Types: eksContainerDetail_command :: Lens' EksContainerDetail (Maybe [Text])
+ Amazonka.Batch.Types: eksContainerDetail_env :: Lens' EksContainerDetail (Maybe [EksContainerEnvironmentVariable])
+ Amazonka.Batch.Types: eksContainerDetail_exitCode :: Lens' EksContainerDetail (Maybe Int)
+ Amazonka.Batch.Types: eksContainerDetail_image :: Lens' EksContainerDetail (Maybe Text)
+ Amazonka.Batch.Types: eksContainerDetail_imagePullPolicy :: Lens' EksContainerDetail (Maybe Text)
+ Amazonka.Batch.Types: eksContainerDetail_name :: Lens' EksContainerDetail (Maybe Text)
+ Amazonka.Batch.Types: eksContainerDetail_reason :: Lens' EksContainerDetail (Maybe Text)
+ Amazonka.Batch.Types: eksContainerDetail_resources :: Lens' EksContainerDetail (Maybe EksContainerResourceRequirements)
+ Amazonka.Batch.Types: eksContainerDetail_securityContext :: Lens' EksContainerDetail (Maybe EksContainerSecurityContext)
+ Amazonka.Batch.Types: eksContainerDetail_volumeMounts :: Lens' EksContainerDetail (Maybe [EksContainerVolumeMount])
+ Amazonka.Batch.Types: eksContainerEnvironmentVariable_name :: Lens' EksContainerEnvironmentVariable Text
+ Amazonka.Batch.Types: eksContainerEnvironmentVariable_value :: Lens' EksContainerEnvironmentVariable (Maybe Text)
+ Amazonka.Batch.Types: eksContainerOverride_args :: Lens' EksContainerOverride (Maybe [Text])
+ Amazonka.Batch.Types: eksContainerOverride_command :: Lens' EksContainerOverride (Maybe [Text])
+ Amazonka.Batch.Types: eksContainerOverride_env :: Lens' EksContainerOverride (Maybe [EksContainerEnvironmentVariable])
+ Amazonka.Batch.Types: eksContainerOverride_image :: Lens' EksContainerOverride (Maybe Text)
+ Amazonka.Batch.Types: eksContainerOverride_resources :: Lens' EksContainerOverride (Maybe EksContainerResourceRequirements)
+ Amazonka.Batch.Types: eksContainerResourceRequirements_limits :: Lens' EksContainerResourceRequirements (Maybe (HashMap Text Text))
+ Amazonka.Batch.Types: eksContainerResourceRequirements_requests :: Lens' EksContainerResourceRequirements (Maybe (HashMap Text Text))
+ Amazonka.Batch.Types: eksContainerSecurityContext_privileged :: Lens' EksContainerSecurityContext (Maybe Bool)
+ Amazonka.Batch.Types: eksContainerSecurityContext_readOnlyRootFilesystem :: Lens' EksContainerSecurityContext (Maybe Bool)
+ Amazonka.Batch.Types: eksContainerSecurityContext_runAsGroup :: Lens' EksContainerSecurityContext (Maybe Integer)
+ Amazonka.Batch.Types: eksContainerSecurityContext_runAsNonRoot :: Lens' EksContainerSecurityContext (Maybe Bool)
+ Amazonka.Batch.Types: eksContainerSecurityContext_runAsUser :: Lens' EksContainerSecurityContext (Maybe Integer)
+ Amazonka.Batch.Types: eksContainerVolumeMount_mountPath :: Lens' EksContainerVolumeMount (Maybe Text)
+ Amazonka.Batch.Types: eksContainerVolumeMount_name :: Lens' EksContainerVolumeMount (Maybe Text)
+ Amazonka.Batch.Types: eksContainerVolumeMount_readOnly :: Lens' EksContainerVolumeMount (Maybe Bool)
+ Amazonka.Batch.Types: eksContainer_args :: Lens' EksContainer (Maybe [Text])
+ Amazonka.Batch.Types: eksContainer_command :: Lens' EksContainer (Maybe [Text])
+ Amazonka.Batch.Types: eksContainer_env :: Lens' EksContainer (Maybe [EksContainerEnvironmentVariable])
+ Amazonka.Batch.Types: eksContainer_image :: Lens' EksContainer Text
+ Amazonka.Batch.Types: eksContainer_imagePullPolicy :: Lens' EksContainer (Maybe Text)
+ Amazonka.Batch.Types: eksContainer_name :: Lens' EksContainer (Maybe Text)
+ Amazonka.Batch.Types: eksContainer_resources :: Lens' EksContainer (Maybe EksContainerResourceRequirements)
+ Amazonka.Batch.Types: eksContainer_securityContext :: Lens' EksContainer (Maybe EksContainerSecurityContext)
+ Amazonka.Batch.Types: eksContainer_volumeMounts :: Lens' EksContainer (Maybe [EksContainerVolumeMount])
+ Amazonka.Batch.Types: eksEmptyDir_medium :: Lens' EksEmptyDir (Maybe Text)
+ Amazonka.Batch.Types: eksEmptyDir_sizeLimit :: Lens' EksEmptyDir (Maybe Text)
+ Amazonka.Batch.Types: eksHostPath_path :: Lens' EksHostPath (Maybe Text)
+ Amazonka.Batch.Types: eksPodPropertiesDetail_containers :: Lens' EksPodPropertiesDetail (Maybe [EksContainerDetail])
+ Amazonka.Batch.Types: eksPodPropertiesDetail_dnsPolicy :: Lens' EksPodPropertiesDetail (Maybe Text)
+ Amazonka.Batch.Types: eksPodPropertiesDetail_hostNetwork :: Lens' EksPodPropertiesDetail (Maybe Bool)
+ Amazonka.Batch.Types: eksPodPropertiesDetail_nodeName :: Lens' EksPodPropertiesDetail (Maybe Text)
+ Amazonka.Batch.Types: eksPodPropertiesDetail_podName :: Lens' EksPodPropertiesDetail (Maybe Text)
+ Amazonka.Batch.Types: eksPodPropertiesDetail_serviceAccountName :: Lens' EksPodPropertiesDetail (Maybe Text)
+ Amazonka.Batch.Types: eksPodPropertiesDetail_volumes :: Lens' EksPodPropertiesDetail (Maybe [EksVolume])
+ Amazonka.Batch.Types: eksPodPropertiesOverride_containers :: Lens' EksPodPropertiesOverride (Maybe [EksContainerOverride])
+ Amazonka.Batch.Types: eksPodProperties_containers :: Lens' EksPodProperties (Maybe [EksContainer])
+ Amazonka.Batch.Types: eksPodProperties_dnsPolicy :: Lens' EksPodProperties (Maybe Text)
+ Amazonka.Batch.Types: eksPodProperties_hostNetwork :: Lens' EksPodProperties (Maybe Bool)
+ Amazonka.Batch.Types: eksPodProperties_serviceAccountName :: Lens' EksPodProperties (Maybe Text)
+ Amazonka.Batch.Types: eksPodProperties_volumes :: Lens' EksPodProperties (Maybe [EksVolume])
+ Amazonka.Batch.Types: eksPropertiesDetail_podProperties :: Lens' EksPropertiesDetail (Maybe EksPodPropertiesDetail)
+ Amazonka.Batch.Types: eksPropertiesOverride_podProperties :: Lens' EksPropertiesOverride (Maybe EksPodPropertiesOverride)
+ Amazonka.Batch.Types: eksProperties_podProperties :: Lens' EksProperties (Maybe EksPodProperties)
+ Amazonka.Batch.Types: eksSecret_optional :: Lens' EksSecret (Maybe Bool)
+ Amazonka.Batch.Types: eksSecret_secretName :: Lens' EksSecret Text
+ Amazonka.Batch.Types: eksVolume_emptyDir :: Lens' EksVolume (Maybe EksEmptyDir)
+ Amazonka.Batch.Types: eksVolume_hostPath :: Lens' EksVolume (Maybe EksHostPath)
+ Amazonka.Batch.Types: eksVolume_name :: Lens' EksVolume Text
+ Amazonka.Batch.Types: eksVolume_secret :: Lens' EksVolume (Maybe EksSecret)
+ Amazonka.Batch.Types: evaluateOnExit_action :: Lens' EvaluateOnExit RetryAction
+ Amazonka.Batch.Types: evaluateOnExit_onExitCode :: Lens' EvaluateOnExit (Maybe Text)
+ Amazonka.Batch.Types: evaluateOnExit_onReason :: Lens' EvaluateOnExit (Maybe Text)
+ Amazonka.Batch.Types: evaluateOnExit_onStatusReason :: Lens' EvaluateOnExit (Maybe Text)
+ Amazonka.Batch.Types: fairsharePolicy_computeReservation :: Lens' FairsharePolicy (Maybe Int)
+ Amazonka.Batch.Types: fairsharePolicy_shareDecaySeconds :: Lens' FairsharePolicy (Maybe Int)
+ Amazonka.Batch.Types: fairsharePolicy_shareDistribution :: Lens' FairsharePolicy (Maybe [ShareAttributes])
+ Amazonka.Batch.Types: fargatePlatformConfiguration_platformVersion :: Lens' FargatePlatformConfiguration (Maybe Text)
+ Amazonka.Batch.Types: host_sourcePath :: Lens' Host (Maybe Text)
+ Amazonka.Batch.Types: jobDefinition_containerOrchestrationType :: Lens' JobDefinition (Maybe OrchestrationType)
+ Amazonka.Batch.Types: jobDefinition_containerProperties :: Lens' JobDefinition (Maybe ContainerProperties)
+ Amazonka.Batch.Types: jobDefinition_eksProperties :: Lens' JobDefinition (Maybe EksProperties)
+ Amazonka.Batch.Types: jobDefinition_jobDefinitionArn :: Lens' JobDefinition Text
+ Amazonka.Batch.Types: jobDefinition_jobDefinitionName :: Lens' JobDefinition Text
+ Amazonka.Batch.Types: jobDefinition_nodeProperties :: Lens' JobDefinition (Maybe NodeProperties)
+ Amazonka.Batch.Types: jobDefinition_parameters :: Lens' JobDefinition (Maybe (HashMap Text Text))
+ Amazonka.Batch.Types: jobDefinition_platformCapabilities :: Lens' JobDefinition (Maybe [PlatformCapability])
+ Amazonka.Batch.Types: jobDefinition_propagateTags :: Lens' JobDefinition (Maybe Bool)
+ Amazonka.Batch.Types: jobDefinition_retryStrategy :: Lens' JobDefinition (Maybe RetryStrategy)
+ Amazonka.Batch.Types: jobDefinition_revision :: Lens' JobDefinition Int
+ Amazonka.Batch.Types: jobDefinition_schedulingPriority :: Lens' JobDefinition (Maybe Int)
+ Amazonka.Batch.Types: jobDefinition_status :: Lens' JobDefinition (Maybe Text)
+ Amazonka.Batch.Types: jobDefinition_tags :: Lens' JobDefinition (Maybe (HashMap Text Text))
+ Amazonka.Batch.Types: jobDefinition_timeout :: Lens' JobDefinition (Maybe JobTimeout)
+ Amazonka.Batch.Types: jobDefinition_type :: Lens' JobDefinition Text
+ Amazonka.Batch.Types: jobDependency_jobId :: Lens' JobDependency (Maybe Text)
+ Amazonka.Batch.Types: jobDependency_type :: Lens' JobDependency (Maybe ArrayJobDependency)
+ Amazonka.Batch.Types: jobDetail_arrayProperties :: Lens' JobDetail (Maybe ArrayPropertiesDetail)
+ Amazonka.Batch.Types: jobDetail_attempts :: Lens' JobDetail (Maybe [AttemptDetail])
+ Amazonka.Batch.Types: jobDetail_container :: Lens' JobDetail (Maybe ContainerDetail)
+ Amazonka.Batch.Types: jobDetail_createdAt :: Lens' JobDetail (Maybe Integer)
+ Amazonka.Batch.Types: jobDetail_dependsOn :: Lens' JobDetail (Maybe [JobDependency])
+ Amazonka.Batch.Types: jobDetail_eksAttempts :: Lens' JobDetail (Maybe [EksAttemptDetail])
+ Amazonka.Batch.Types: jobDetail_eksProperties :: Lens' JobDetail (Maybe EksPropertiesDetail)
+ Amazonka.Batch.Types: jobDetail_isCancelled :: Lens' JobDetail (Maybe Bool)
+ Amazonka.Batch.Types: jobDetail_isTerminated :: Lens' JobDetail (Maybe Bool)
+ Amazonka.Batch.Types: jobDetail_jobArn :: Lens' JobDetail (Maybe Text)
+ Amazonka.Batch.Types: jobDetail_jobDefinition :: Lens' JobDetail Text
+ Amazonka.Batch.Types: jobDetail_jobId :: Lens' JobDetail Text
+ Amazonka.Batch.Types: jobDetail_jobName :: Lens' JobDetail Text
+ Amazonka.Batch.Types: jobDetail_jobQueue :: Lens' JobDetail Text
+ Amazonka.Batch.Types: jobDetail_nodeDetails :: Lens' JobDetail (Maybe NodeDetails)
+ Amazonka.Batch.Types: jobDetail_nodeProperties :: Lens' JobDetail (Maybe NodeProperties)
+ Amazonka.Batch.Types: jobDetail_parameters :: Lens' JobDetail (Maybe (HashMap Text Text))
+ Amazonka.Batch.Types: jobDetail_platformCapabilities :: Lens' JobDetail (Maybe [PlatformCapability])
+ Amazonka.Batch.Types: jobDetail_propagateTags :: Lens' JobDetail (Maybe Bool)
+ Amazonka.Batch.Types: jobDetail_retryStrategy :: Lens' JobDetail (Maybe RetryStrategy)
+ Amazonka.Batch.Types: jobDetail_schedulingPriority :: Lens' JobDetail (Maybe Int)
+ Amazonka.Batch.Types: jobDetail_shareIdentifier :: Lens' JobDetail (Maybe Text)
+ Amazonka.Batch.Types: jobDetail_startedAt :: Lens' JobDetail (Maybe Integer)
+ Amazonka.Batch.Types: jobDetail_status :: Lens' JobDetail JobStatus
+ Amazonka.Batch.Types: jobDetail_statusReason :: Lens' JobDetail (Maybe Text)
+ Amazonka.Batch.Types: jobDetail_stoppedAt :: Lens' JobDetail (Maybe Integer)
+ Amazonka.Batch.Types: jobDetail_tags :: Lens' JobDetail (Maybe (HashMap Text Text))
+ Amazonka.Batch.Types: jobDetail_timeout :: Lens' JobDetail (Maybe JobTimeout)
+ Amazonka.Batch.Types: jobQueueDetail_computeEnvironmentOrder :: Lens' JobQueueDetail [ComputeEnvironmentOrder]
+ Amazonka.Batch.Types: jobQueueDetail_jobQueueArn :: Lens' JobQueueDetail Text
+ Amazonka.Batch.Types: jobQueueDetail_jobQueueName :: Lens' JobQueueDetail Text
+ Amazonka.Batch.Types: jobQueueDetail_priority :: Lens' JobQueueDetail Int
+ Amazonka.Batch.Types: jobQueueDetail_schedulingPolicyArn :: Lens' JobQueueDetail (Maybe Text)
+ Amazonka.Batch.Types: jobQueueDetail_state :: Lens' JobQueueDetail JQState
+ Amazonka.Batch.Types: jobQueueDetail_status :: Lens' JobQueueDetail (Maybe JQStatus)
+ Amazonka.Batch.Types: jobQueueDetail_statusReason :: Lens' JobQueueDetail (Maybe Text)
+ Amazonka.Batch.Types: jobQueueDetail_tags :: Lens' JobQueueDetail (Maybe (HashMap Text Text))
+ Amazonka.Batch.Types: jobSummary_arrayProperties :: Lens' JobSummary (Maybe ArrayPropertiesSummary)
+ Amazonka.Batch.Types: jobSummary_container :: Lens' JobSummary (Maybe ContainerSummary)
+ Amazonka.Batch.Types: jobSummary_createdAt :: Lens' JobSummary (Maybe Integer)
+ Amazonka.Batch.Types: jobSummary_jobArn :: Lens' JobSummary (Maybe Text)
+ Amazonka.Batch.Types: jobSummary_jobDefinition :: Lens' JobSummary (Maybe Text)
+ Amazonka.Batch.Types: jobSummary_jobId :: Lens' JobSummary Text
+ Amazonka.Batch.Types: jobSummary_jobName :: Lens' JobSummary Text
+ Amazonka.Batch.Types: jobSummary_nodeProperties :: Lens' JobSummary (Maybe NodePropertiesSummary)
+ Amazonka.Batch.Types: jobSummary_startedAt :: Lens' JobSummary (Maybe Integer)
+ Amazonka.Batch.Types: jobSummary_status :: Lens' JobSummary (Maybe JobStatus)
+ Amazonka.Batch.Types: jobSummary_statusReason :: Lens' JobSummary (Maybe Text)
+ Amazonka.Batch.Types: jobSummary_stoppedAt :: Lens' JobSummary (Maybe Integer)
+ Amazonka.Batch.Types: jobTimeout_attemptDurationSeconds :: Lens' JobTimeout (Maybe Int)
+ Amazonka.Batch.Types: keyValuePair_name :: Lens' KeyValuePair (Maybe Text)
+ Amazonka.Batch.Types: keyValuePair_value :: Lens' KeyValuePair (Maybe Text)
+ Amazonka.Batch.Types: keyValuesPair_name :: Lens' KeyValuesPair (Maybe Text)
+ Amazonka.Batch.Types: keyValuesPair_values :: Lens' KeyValuesPair (Maybe [Text])
+ Amazonka.Batch.Types: launchTemplateSpecification_launchTemplateId :: Lens' LaunchTemplateSpecification (Maybe Text)
+ Amazonka.Batch.Types: launchTemplateSpecification_launchTemplateName :: Lens' LaunchTemplateSpecification (Maybe Text)
+ Amazonka.Batch.Types: launchTemplateSpecification_version :: Lens' LaunchTemplateSpecification (Maybe Text)
+ Amazonka.Batch.Types: linuxParameters_devices :: Lens' LinuxParameters (Maybe [Device])
+ Amazonka.Batch.Types: linuxParameters_initProcessEnabled :: Lens' LinuxParameters (Maybe Bool)
+ Amazonka.Batch.Types: linuxParameters_maxSwap :: Lens' LinuxParameters (Maybe Int)
+ Amazonka.Batch.Types: linuxParameters_sharedMemorySize :: Lens' LinuxParameters (Maybe Int)
+ Amazonka.Batch.Types: linuxParameters_swappiness :: Lens' LinuxParameters (Maybe Int)
+ Amazonka.Batch.Types: linuxParameters_tmpfs :: Lens' LinuxParameters (Maybe [Tmpfs])
+ Amazonka.Batch.Types: logConfiguration_logDriver :: Lens' LogConfiguration LogDriver
+ Amazonka.Batch.Types: logConfiguration_options :: Lens' LogConfiguration (Maybe (HashMap Text Text))
+ Amazonka.Batch.Types: logConfiguration_secretOptions :: Lens' LogConfiguration (Maybe [Secret])
+ Amazonka.Batch.Types: mountPoint_containerPath :: Lens' MountPoint (Maybe Text)
+ Amazonka.Batch.Types: mountPoint_readOnly :: Lens' MountPoint (Maybe Bool)
+ Amazonka.Batch.Types: mountPoint_sourceVolume :: Lens' MountPoint (Maybe Text)
+ Amazonka.Batch.Types: networkConfiguration_assignPublicIp :: Lens' NetworkConfiguration (Maybe AssignPublicIp)
+ Amazonka.Batch.Types: networkInterface_attachmentId :: Lens' NetworkInterface (Maybe Text)
+ Amazonka.Batch.Types: networkInterface_ipv6Address :: Lens' NetworkInterface (Maybe Text)
+ Amazonka.Batch.Types: networkInterface_privateIpv4Address :: Lens' NetworkInterface (Maybe Text)
+ Amazonka.Batch.Types: newArrayProperties :: ArrayProperties
+ Amazonka.Batch.Types: newArrayPropertiesDetail :: ArrayPropertiesDetail
+ Amazonka.Batch.Types: newArrayPropertiesSummary :: ArrayPropertiesSummary
+ Amazonka.Batch.Types: newAttemptContainerDetail :: AttemptContainerDetail
+ Amazonka.Batch.Types: newAttemptDetail :: AttemptDetail
+ Amazonka.Batch.Types: newComputeEnvironmentDetail :: Text -> Text -> ComputeEnvironmentDetail
+ Amazonka.Batch.Types: newComputeEnvironmentOrder :: Int -> Text -> ComputeEnvironmentOrder
+ Amazonka.Batch.Types: newComputeResource :: CRType -> Int -> ComputeResource
+ Amazonka.Batch.Types: newComputeResourceUpdate :: ComputeResourceUpdate
+ Amazonka.Batch.Types: newContainerDetail :: ContainerDetail
+ Amazonka.Batch.Types: newContainerOverrides :: ContainerOverrides
+ Amazonka.Batch.Types: newContainerProperties :: ContainerProperties
+ Amazonka.Batch.Types: newContainerSummary :: ContainerSummary
+ Amazonka.Batch.Types: newDevice :: Text -> Device
+ Amazonka.Batch.Types: newEFSAuthorizationConfig :: EFSAuthorizationConfig
+ Amazonka.Batch.Types: newEFSVolumeConfiguration :: Text -> EFSVolumeConfiguration
+ Amazonka.Batch.Types: newEc2Configuration :: Text -> Ec2Configuration
+ Amazonka.Batch.Types: newEksAttemptContainerDetail :: EksAttemptContainerDetail
+ Amazonka.Batch.Types: newEksAttemptDetail :: EksAttemptDetail
+ Amazonka.Batch.Types: newEksConfiguration :: Text -> Text -> EksConfiguration
+ Amazonka.Batch.Types: newEksContainer :: Text -> EksContainer
+ Amazonka.Batch.Types: newEksContainerDetail :: EksContainerDetail
+ Amazonka.Batch.Types: newEksContainerEnvironmentVariable :: Text -> EksContainerEnvironmentVariable
+ Amazonka.Batch.Types: newEksContainerOverride :: EksContainerOverride
+ Amazonka.Batch.Types: newEksContainerResourceRequirements :: EksContainerResourceRequirements
+ Amazonka.Batch.Types: newEksContainerSecurityContext :: EksContainerSecurityContext
+ Amazonka.Batch.Types: newEksContainerVolumeMount :: EksContainerVolumeMount
+ Amazonka.Batch.Types: newEksEmptyDir :: EksEmptyDir
+ Amazonka.Batch.Types: newEksHostPath :: EksHostPath
+ Amazonka.Batch.Types: newEksPodProperties :: EksPodProperties
+ Amazonka.Batch.Types: newEksPodPropertiesDetail :: EksPodPropertiesDetail
+ Amazonka.Batch.Types: newEksPodPropertiesOverride :: EksPodPropertiesOverride
+ Amazonka.Batch.Types: newEksProperties :: EksProperties
+ Amazonka.Batch.Types: newEksPropertiesDetail :: EksPropertiesDetail
+ Amazonka.Batch.Types: newEksPropertiesOverride :: EksPropertiesOverride
+ Amazonka.Batch.Types: newEksSecret :: Text -> EksSecret
+ Amazonka.Batch.Types: newEksVolume :: Text -> EksVolume
+ Amazonka.Batch.Types: newEvaluateOnExit :: RetryAction -> EvaluateOnExit
+ Amazonka.Batch.Types: newFairsharePolicy :: FairsharePolicy
+ Amazonka.Batch.Types: newFargatePlatformConfiguration :: FargatePlatformConfiguration
+ Amazonka.Batch.Types: newHost :: Host
+ Amazonka.Batch.Types: newJobDefinition :: Text -> Text -> Int -> Text -> JobDefinition
+ Amazonka.Batch.Types: newJobDependency :: JobDependency
+ Amazonka.Batch.Types: newJobDetail :: Text -> Text -> Text -> JobStatus -> Text -> JobDetail
+ Amazonka.Batch.Types: newJobQueueDetail :: Text -> Text -> JQState -> Int -> JobQueueDetail
+ Amazonka.Batch.Types: newJobSummary :: Text -> Text -> JobSummary
+ Amazonka.Batch.Types: newJobTimeout :: JobTimeout
+ Amazonka.Batch.Types: newKeyValuePair :: KeyValuePair
+ Amazonka.Batch.Types: newKeyValuesPair :: KeyValuesPair
+ Amazonka.Batch.Types: newLaunchTemplateSpecification :: LaunchTemplateSpecification
+ Amazonka.Batch.Types: newLinuxParameters :: LinuxParameters
+ Amazonka.Batch.Types: newLogConfiguration :: LogDriver -> LogConfiguration
+ Amazonka.Batch.Types: newMountPoint :: MountPoint
+ Amazonka.Batch.Types: newNetworkConfiguration :: NetworkConfiguration
+ Amazonka.Batch.Types: newNetworkInterface :: NetworkInterface
+ Amazonka.Batch.Types: newNodeDetails :: NodeDetails
+ Amazonka.Batch.Types: newNodeOverrides :: NodeOverrides
+ Amazonka.Batch.Types: newNodeProperties :: Int -> Int -> NodeProperties
+ Amazonka.Batch.Types: newNodePropertiesSummary :: NodePropertiesSummary
+ Amazonka.Batch.Types: newNodePropertyOverride :: Text -> NodePropertyOverride
+ Amazonka.Batch.Types: newNodeRangeProperty :: Text -> NodeRangeProperty
+ Amazonka.Batch.Types: newResourceRequirement :: Text -> ResourceType -> ResourceRequirement
+ Amazonka.Batch.Types: newRetryStrategy :: RetryStrategy
+ Amazonka.Batch.Types: newSchedulingPolicyDetail :: Text -> Text -> SchedulingPolicyDetail
+ Amazonka.Batch.Types: newSchedulingPolicyListingDetail :: Text -> SchedulingPolicyListingDetail
+ Amazonka.Batch.Types: newSecret :: Text -> Text -> Secret
+ Amazonka.Batch.Types: newShareAttributes :: Text -> ShareAttributes
+ Amazonka.Batch.Types: newTmpfs :: Text -> Int -> Tmpfs
+ Amazonka.Batch.Types: newUlimit :: Int -> Text -> Int -> Ulimit
+ Amazonka.Batch.Types: newUpdatePolicy :: UpdatePolicy
+ Amazonka.Batch.Types: newVolume :: Volume
+ Amazonka.Batch.Types: newtype ArrayJobDependency
+ Amazonka.Batch.Types: newtype AssignPublicIp
+ Amazonka.Batch.Types: newtype CEState
+ Amazonka.Batch.Types: newtype CEStatus
+ Amazonka.Batch.Types: newtype CEType
+ Amazonka.Batch.Types: newtype CRAllocationStrategy
+ Amazonka.Batch.Types: newtype CRType
+ Amazonka.Batch.Types: newtype CRUpdateAllocationStrategy
+ Amazonka.Batch.Types: newtype DeviceCgroupPermission
+ Amazonka.Batch.Types: newtype EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types: newtype EFSTransitEncryption
+ Amazonka.Batch.Types: newtype JQState
+ Amazonka.Batch.Types: newtype JQStatus
+ Amazonka.Batch.Types: newtype JobDefinitionType
+ Amazonka.Batch.Types: newtype JobStatus
+ Amazonka.Batch.Types: newtype LogDriver
+ Amazonka.Batch.Types: newtype OrchestrationType
+ Amazonka.Batch.Types: newtype PlatformCapability
+ Amazonka.Batch.Types: newtype ResourceType
+ Amazonka.Batch.Types: newtype RetryAction
+ Amazonka.Batch.Types: nodeDetails_isMainNode :: Lens' NodeDetails (Maybe Bool)
+ Amazonka.Batch.Types: nodeDetails_nodeIndex :: Lens' NodeDetails (Maybe Int)
+ Amazonka.Batch.Types: nodeOverrides_nodePropertyOverrides :: Lens' NodeOverrides (Maybe [NodePropertyOverride])
+ Amazonka.Batch.Types: nodeOverrides_numNodes :: Lens' NodeOverrides (Maybe Int)
+ Amazonka.Batch.Types: nodePropertiesSummary_isMainNode :: Lens' NodePropertiesSummary (Maybe Bool)
+ Amazonka.Batch.Types: nodePropertiesSummary_nodeIndex :: Lens' NodePropertiesSummary (Maybe Int)
+ Amazonka.Batch.Types: nodePropertiesSummary_numNodes :: Lens' NodePropertiesSummary (Maybe Int)
+ Amazonka.Batch.Types: nodeProperties_mainNode :: Lens' NodeProperties Int
+ Amazonka.Batch.Types: nodeProperties_nodeRangeProperties :: Lens' NodeProperties [NodeRangeProperty]
+ Amazonka.Batch.Types: nodeProperties_numNodes :: Lens' NodeProperties Int
+ Amazonka.Batch.Types: nodePropertyOverride_containerOverrides :: Lens' NodePropertyOverride (Maybe ContainerOverrides)
+ Amazonka.Batch.Types: nodePropertyOverride_targetNodes :: Lens' NodePropertyOverride Text
+ Amazonka.Batch.Types: nodeRangeProperty_container :: Lens' NodeRangeProperty (Maybe ContainerProperties)
+ Amazonka.Batch.Types: nodeRangeProperty_targetNodes :: Lens' NodeRangeProperty Text
+ Amazonka.Batch.Types: pattern ArrayJobDependency_N_TO_N :: ArrayJobDependency
+ Amazonka.Batch.Types: pattern ArrayJobDependency_SEQUENTIAL :: ArrayJobDependency
+ Amazonka.Batch.Types: pattern AssignPublicIp_DISABLED :: AssignPublicIp
+ Amazonka.Batch.Types: pattern AssignPublicIp_ENABLED :: AssignPublicIp
+ Amazonka.Batch.Types: pattern CEState_DISABLED :: CEState
+ Amazonka.Batch.Types: pattern CEState_ENABLED :: CEState
+ Amazonka.Batch.Types: pattern CEStatus_CREATING :: CEStatus
+ Amazonka.Batch.Types: pattern CEStatus_DELETED :: CEStatus
+ Amazonka.Batch.Types: pattern CEStatus_DELETING :: CEStatus
+ Amazonka.Batch.Types: pattern CEStatus_INVALID :: CEStatus
+ Amazonka.Batch.Types: pattern CEStatus_UPDATING :: CEStatus
+ Amazonka.Batch.Types: pattern CEStatus_VALID :: CEStatus
+ Amazonka.Batch.Types: pattern CEType_MANAGED :: CEType
+ Amazonka.Batch.Types: pattern CEType_UNMANAGED :: CEType
+ Amazonka.Batch.Types: pattern CRAllocationStrategy_BEST_FIT :: CRAllocationStrategy
+ Amazonka.Batch.Types: pattern CRAllocationStrategy_BEST_FIT_PROGRESSIVE :: CRAllocationStrategy
+ Amazonka.Batch.Types: pattern CRAllocationStrategy_SPOT_CAPACITY_OPTIMIZED :: CRAllocationStrategy
+ Amazonka.Batch.Types: pattern CRType_EC2 :: CRType
+ Amazonka.Batch.Types: pattern CRType_FARGATE :: CRType
+ Amazonka.Batch.Types: pattern CRType_FARGATE_SPOT :: CRType
+ Amazonka.Batch.Types: pattern CRType_SPOT :: CRType
+ Amazonka.Batch.Types: pattern CRUpdateAllocationStrategy_BEST_FIT_PROGRESSIVE :: CRUpdateAllocationStrategy
+ Amazonka.Batch.Types: pattern CRUpdateAllocationStrategy_SPOT_CAPACITY_OPTIMIZED :: CRUpdateAllocationStrategy
+ Amazonka.Batch.Types: pattern DeviceCgroupPermission_MKNOD :: DeviceCgroupPermission
+ Amazonka.Batch.Types: pattern DeviceCgroupPermission_READ :: DeviceCgroupPermission
+ Amazonka.Batch.Types: pattern DeviceCgroupPermission_WRITE :: DeviceCgroupPermission
+ Amazonka.Batch.Types: pattern EFSAuthorizationConfigIAM_DISABLED :: EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types: pattern EFSAuthorizationConfigIAM_ENABLED :: EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types: pattern EFSTransitEncryption_DISABLED :: EFSTransitEncryption
+ Amazonka.Batch.Types: pattern EFSTransitEncryption_ENABLED :: EFSTransitEncryption
+ Amazonka.Batch.Types: pattern JQState_DISABLED :: JQState
+ Amazonka.Batch.Types: pattern JQState_ENABLED :: JQState
+ Amazonka.Batch.Types: pattern JQStatus_CREATING :: JQStatus
+ Amazonka.Batch.Types: pattern JQStatus_DELETED :: JQStatus
+ Amazonka.Batch.Types: pattern JQStatus_DELETING :: JQStatus
+ Amazonka.Batch.Types: pattern JQStatus_INVALID :: JQStatus
+ Amazonka.Batch.Types: pattern JQStatus_UPDATING :: JQStatus
+ Amazonka.Batch.Types: pattern JQStatus_VALID :: JQStatus
+ Amazonka.Batch.Types: pattern JobDefinitionType_Container :: JobDefinitionType
+ Amazonka.Batch.Types: pattern JobDefinitionType_Multinode :: JobDefinitionType
+ Amazonka.Batch.Types: pattern JobStatus_FAILED :: JobStatus
+ Amazonka.Batch.Types: pattern JobStatus_PENDING :: JobStatus
+ Amazonka.Batch.Types: pattern JobStatus_RUNNABLE :: JobStatus
+ Amazonka.Batch.Types: pattern JobStatus_RUNNING :: JobStatus
+ Amazonka.Batch.Types: pattern JobStatus_STARTING :: JobStatus
+ Amazonka.Batch.Types: pattern JobStatus_SUBMITTED :: JobStatus
+ Amazonka.Batch.Types: pattern JobStatus_SUCCEEDED :: JobStatus
+ Amazonka.Batch.Types: pattern LogDriver_Awslogs :: LogDriver
+ Amazonka.Batch.Types: pattern LogDriver_Fluentd :: LogDriver
+ Amazonka.Batch.Types: pattern LogDriver_Gelf :: LogDriver
+ Amazonka.Batch.Types: pattern LogDriver_Journald :: LogDriver
+ Amazonka.Batch.Types: pattern LogDriver_Json_file :: LogDriver
+ Amazonka.Batch.Types: pattern LogDriver_Splunk :: LogDriver
+ Amazonka.Batch.Types: pattern LogDriver_Syslog :: LogDriver
+ Amazonka.Batch.Types: pattern OrchestrationType_ECS :: OrchestrationType
+ Amazonka.Batch.Types: pattern OrchestrationType_EKS :: OrchestrationType
+ Amazonka.Batch.Types: pattern PlatformCapability_EC2 :: PlatformCapability
+ Amazonka.Batch.Types: pattern PlatformCapability_FARGATE :: PlatformCapability
+ Amazonka.Batch.Types: pattern ResourceType_GPU :: ResourceType
+ Amazonka.Batch.Types: pattern ResourceType_MEMORY :: ResourceType
+ Amazonka.Batch.Types: pattern ResourceType_VCPU :: ResourceType
+ Amazonka.Batch.Types: pattern RetryAction_EXIT :: RetryAction
+ Amazonka.Batch.Types: pattern RetryAction_RETRY :: RetryAction
+ Amazonka.Batch.Types: resourceRequirement_type :: Lens' ResourceRequirement ResourceType
+ Amazonka.Batch.Types: resourceRequirement_value :: Lens' ResourceRequirement Text
+ Amazonka.Batch.Types: retryStrategy_attempts :: Lens' RetryStrategy (Maybe Int)
+ Amazonka.Batch.Types: retryStrategy_evaluateOnExit :: Lens' RetryStrategy (Maybe [EvaluateOnExit])
+ Amazonka.Batch.Types: schedulingPolicyDetail_arn :: Lens' SchedulingPolicyDetail Text
+ Amazonka.Batch.Types: schedulingPolicyDetail_fairsharePolicy :: Lens' SchedulingPolicyDetail (Maybe FairsharePolicy)
+ Amazonka.Batch.Types: schedulingPolicyDetail_name :: Lens' SchedulingPolicyDetail Text
+ Amazonka.Batch.Types: schedulingPolicyDetail_tags :: Lens' SchedulingPolicyDetail (Maybe (HashMap Text Text))
+ Amazonka.Batch.Types: schedulingPolicyListingDetail_arn :: Lens' SchedulingPolicyListingDetail Text
+ Amazonka.Batch.Types: secret_name :: Lens' Secret Text
+ Amazonka.Batch.Types: secret_valueFrom :: Lens' Secret Text
+ Amazonka.Batch.Types: shareAttributes_shareIdentifier :: Lens' ShareAttributes Text
+ Amazonka.Batch.Types: shareAttributes_weightFactor :: Lens' ShareAttributes (Maybe Double)
+ Amazonka.Batch.Types: tmpfs_containerPath :: Lens' Tmpfs Text
+ Amazonka.Batch.Types: tmpfs_mountOptions :: Lens' Tmpfs (Maybe [Text])
+ Amazonka.Batch.Types: tmpfs_size :: Lens' Tmpfs Int
+ Amazonka.Batch.Types: ulimit_hardLimit :: Lens' Ulimit Int
+ Amazonka.Batch.Types: ulimit_name :: Lens' Ulimit Text
+ Amazonka.Batch.Types: ulimit_softLimit :: Lens' Ulimit Int
+ Amazonka.Batch.Types: updatePolicy_jobExecutionTimeoutMinutes :: Lens' UpdatePolicy (Maybe Natural)
+ Amazonka.Batch.Types: updatePolicy_terminateJobsOnUpdate :: Lens' UpdatePolicy (Maybe Bool)
+ Amazonka.Batch.Types: volume_efsVolumeConfiguration :: Lens' Volume (Maybe EFSVolumeConfiguration)
+ Amazonka.Batch.Types: volume_host :: Lens' Volume (Maybe Host)
+ Amazonka.Batch.Types: volume_name :: Lens' Volume (Maybe Text)
+ Amazonka.Batch.Types.ArrayJobDependency: ArrayJobDependency' :: Text -> ArrayJobDependency
+ Amazonka.Batch.Types.ArrayJobDependency: [fromArrayJobDependency] :: ArrayJobDependency -> Text
+ Amazonka.Batch.Types.ArrayJobDependency: instance Amazonka.Data.ByteString.ToByteString Amazonka.Batch.Types.ArrayJobDependency.ArrayJobDependency
+ Amazonka.Batch.Types.ArrayJobDependency: instance Amazonka.Data.Headers.ToHeader Amazonka.Batch.Types.ArrayJobDependency.ArrayJobDependency
+ Amazonka.Batch.Types.ArrayJobDependency: instance Amazonka.Data.Log.ToLog Amazonka.Batch.Types.ArrayJobDependency.ArrayJobDependency
+ Amazonka.Batch.Types.ArrayJobDependency: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.Types.ArrayJobDependency.ArrayJobDependency
+ Amazonka.Batch.Types.ArrayJobDependency: instance Amazonka.Data.Text.FromText Amazonka.Batch.Types.ArrayJobDependency.ArrayJobDependency
+ Amazonka.Batch.Types.ArrayJobDependency: instance Amazonka.Data.Text.ToText Amazonka.Batch.Types.ArrayJobDependency.ArrayJobDependency
+ Amazonka.Batch.Types.ArrayJobDependency: instance Amazonka.Data.XML.FromXML Amazonka.Batch.Types.ArrayJobDependency.ArrayJobDependency
+ Amazonka.Batch.Types.ArrayJobDependency: instance Amazonka.Data.XML.ToXML Amazonka.Batch.Types.ArrayJobDependency.ArrayJobDependency
+ Amazonka.Batch.Types.ArrayJobDependency: instance Control.DeepSeq.NFData Amazonka.Batch.Types.ArrayJobDependency.ArrayJobDependency
+ Amazonka.Batch.Types.ArrayJobDependency: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.ArrayJobDependency.ArrayJobDependency
+ Amazonka.Batch.Types.ArrayJobDependency: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Batch.Types.ArrayJobDependency.ArrayJobDependency
+ Amazonka.Batch.Types.ArrayJobDependency: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.ArrayJobDependency.ArrayJobDependency
+ Amazonka.Batch.Types.ArrayJobDependency: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Batch.Types.ArrayJobDependency.ArrayJobDependency
+ Amazonka.Batch.Types.ArrayJobDependency: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.ArrayJobDependency.ArrayJobDependency
+ Amazonka.Batch.Types.ArrayJobDependency: instance GHC.Classes.Eq Amazonka.Batch.Types.ArrayJobDependency.ArrayJobDependency
+ Amazonka.Batch.Types.ArrayJobDependency: instance GHC.Classes.Ord Amazonka.Batch.Types.ArrayJobDependency.ArrayJobDependency
+ Amazonka.Batch.Types.ArrayJobDependency: instance GHC.Generics.Generic Amazonka.Batch.Types.ArrayJobDependency.ArrayJobDependency
+ Amazonka.Batch.Types.ArrayJobDependency: instance GHC.Read.Read Amazonka.Batch.Types.ArrayJobDependency.ArrayJobDependency
+ Amazonka.Batch.Types.ArrayJobDependency: instance GHC.Show.Show Amazonka.Batch.Types.ArrayJobDependency.ArrayJobDependency
+ Amazonka.Batch.Types.ArrayJobDependency: newtype ArrayJobDependency
+ Amazonka.Batch.Types.ArrayJobDependency: pattern ArrayJobDependency_N_TO_N :: ArrayJobDependency
+ Amazonka.Batch.Types.ArrayJobDependency: pattern ArrayJobDependency_SEQUENTIAL :: ArrayJobDependency
+ Amazonka.Batch.Types.ArrayProperties: ArrayProperties' :: Maybe Int -> ArrayProperties
+ Amazonka.Batch.Types.ArrayProperties: [$sel:size:ArrayProperties'] :: ArrayProperties -> Maybe Int
+ Amazonka.Batch.Types.ArrayProperties: arrayProperties_size :: Lens' ArrayProperties (Maybe Int)
+ Amazonka.Batch.Types.ArrayProperties: data ArrayProperties
+ Amazonka.Batch.Types.ArrayProperties: instance Control.DeepSeq.NFData Amazonka.Batch.Types.ArrayProperties.ArrayProperties
+ Amazonka.Batch.Types.ArrayProperties: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.ArrayProperties.ArrayProperties
+ Amazonka.Batch.Types.ArrayProperties: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.ArrayProperties.ArrayProperties
+ Amazonka.Batch.Types.ArrayProperties: instance GHC.Classes.Eq Amazonka.Batch.Types.ArrayProperties.ArrayProperties
+ Amazonka.Batch.Types.ArrayProperties: instance GHC.Generics.Generic Amazonka.Batch.Types.ArrayProperties.ArrayProperties
+ Amazonka.Batch.Types.ArrayProperties: instance GHC.Read.Read Amazonka.Batch.Types.ArrayProperties.ArrayProperties
+ Amazonka.Batch.Types.ArrayProperties: instance GHC.Show.Show Amazonka.Batch.Types.ArrayProperties.ArrayProperties
+ Amazonka.Batch.Types.ArrayProperties: newArrayProperties :: ArrayProperties
+ Amazonka.Batch.Types.ArrayPropertiesDetail: ArrayPropertiesDetail' :: Maybe Int -> Maybe Int -> Maybe (HashMap Text Int) -> ArrayPropertiesDetail
+ Amazonka.Batch.Types.ArrayPropertiesDetail: [$sel:index:ArrayPropertiesDetail'] :: ArrayPropertiesDetail -> Maybe Int
+ Amazonka.Batch.Types.ArrayPropertiesDetail: [$sel:size:ArrayPropertiesDetail'] :: ArrayPropertiesDetail -> Maybe Int
+ Amazonka.Batch.Types.ArrayPropertiesDetail: [$sel:statusSummary:ArrayPropertiesDetail'] :: ArrayPropertiesDetail -> Maybe (HashMap Text Int)
+ Amazonka.Batch.Types.ArrayPropertiesDetail: arrayPropertiesDetail_index :: Lens' ArrayPropertiesDetail (Maybe Int)
+ Amazonka.Batch.Types.ArrayPropertiesDetail: arrayPropertiesDetail_size :: Lens' ArrayPropertiesDetail (Maybe Int)
+ Amazonka.Batch.Types.ArrayPropertiesDetail: arrayPropertiesDetail_statusSummary :: Lens' ArrayPropertiesDetail (Maybe (HashMap Text Int))
+ Amazonka.Batch.Types.ArrayPropertiesDetail: data ArrayPropertiesDetail
+ Amazonka.Batch.Types.ArrayPropertiesDetail: instance Control.DeepSeq.NFData Amazonka.Batch.Types.ArrayPropertiesDetail.ArrayPropertiesDetail
+ Amazonka.Batch.Types.ArrayPropertiesDetail: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.ArrayPropertiesDetail.ArrayPropertiesDetail
+ Amazonka.Batch.Types.ArrayPropertiesDetail: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.ArrayPropertiesDetail.ArrayPropertiesDetail
+ Amazonka.Batch.Types.ArrayPropertiesDetail: instance GHC.Classes.Eq Amazonka.Batch.Types.ArrayPropertiesDetail.ArrayPropertiesDetail
+ Amazonka.Batch.Types.ArrayPropertiesDetail: instance GHC.Generics.Generic Amazonka.Batch.Types.ArrayPropertiesDetail.ArrayPropertiesDetail
+ Amazonka.Batch.Types.ArrayPropertiesDetail: instance GHC.Read.Read Amazonka.Batch.Types.ArrayPropertiesDetail.ArrayPropertiesDetail
+ Amazonka.Batch.Types.ArrayPropertiesDetail: instance GHC.Show.Show Amazonka.Batch.Types.ArrayPropertiesDetail.ArrayPropertiesDetail
+ Amazonka.Batch.Types.ArrayPropertiesDetail: newArrayPropertiesDetail :: ArrayPropertiesDetail
+ Amazonka.Batch.Types.ArrayPropertiesSummary: ArrayPropertiesSummary' :: Maybe Int -> Maybe Int -> ArrayPropertiesSummary
+ Amazonka.Batch.Types.ArrayPropertiesSummary: [$sel:index:ArrayPropertiesSummary'] :: ArrayPropertiesSummary -> Maybe Int
+ Amazonka.Batch.Types.ArrayPropertiesSummary: [$sel:size:ArrayPropertiesSummary'] :: ArrayPropertiesSummary -> Maybe Int
+ Amazonka.Batch.Types.ArrayPropertiesSummary: arrayPropertiesSummary_index :: Lens' ArrayPropertiesSummary (Maybe Int)
+ Amazonka.Batch.Types.ArrayPropertiesSummary: arrayPropertiesSummary_size :: Lens' ArrayPropertiesSummary (Maybe Int)
+ Amazonka.Batch.Types.ArrayPropertiesSummary: data ArrayPropertiesSummary
+ Amazonka.Batch.Types.ArrayPropertiesSummary: instance Control.DeepSeq.NFData Amazonka.Batch.Types.ArrayPropertiesSummary.ArrayPropertiesSummary
+ Amazonka.Batch.Types.ArrayPropertiesSummary: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.ArrayPropertiesSummary.ArrayPropertiesSummary
+ Amazonka.Batch.Types.ArrayPropertiesSummary: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.ArrayPropertiesSummary.ArrayPropertiesSummary
+ Amazonka.Batch.Types.ArrayPropertiesSummary: instance GHC.Classes.Eq Amazonka.Batch.Types.ArrayPropertiesSummary.ArrayPropertiesSummary
+ Amazonka.Batch.Types.ArrayPropertiesSummary: instance GHC.Generics.Generic Amazonka.Batch.Types.ArrayPropertiesSummary.ArrayPropertiesSummary
+ Amazonka.Batch.Types.ArrayPropertiesSummary: instance GHC.Read.Read Amazonka.Batch.Types.ArrayPropertiesSummary.ArrayPropertiesSummary
+ Amazonka.Batch.Types.ArrayPropertiesSummary: instance GHC.Show.Show Amazonka.Batch.Types.ArrayPropertiesSummary.ArrayPropertiesSummary
+ Amazonka.Batch.Types.ArrayPropertiesSummary: newArrayPropertiesSummary :: ArrayPropertiesSummary
+ Amazonka.Batch.Types.AssignPublicIp: AssignPublicIp' :: Text -> AssignPublicIp
+ Amazonka.Batch.Types.AssignPublicIp: [fromAssignPublicIp] :: AssignPublicIp -> Text
+ Amazonka.Batch.Types.AssignPublicIp: instance Amazonka.Data.ByteString.ToByteString Amazonka.Batch.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.Batch.Types.AssignPublicIp: instance Amazonka.Data.Headers.ToHeader Amazonka.Batch.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.Batch.Types.AssignPublicIp: instance Amazonka.Data.Log.ToLog Amazonka.Batch.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.Batch.Types.AssignPublicIp: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.Batch.Types.AssignPublicIp: instance Amazonka.Data.Text.FromText Amazonka.Batch.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.Batch.Types.AssignPublicIp: instance Amazonka.Data.Text.ToText Amazonka.Batch.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.Batch.Types.AssignPublicIp: instance Amazonka.Data.XML.FromXML Amazonka.Batch.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.Batch.Types.AssignPublicIp: instance Amazonka.Data.XML.ToXML Amazonka.Batch.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.Batch.Types.AssignPublicIp: instance Control.DeepSeq.NFData Amazonka.Batch.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.Batch.Types.AssignPublicIp: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.Batch.Types.AssignPublicIp: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Batch.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.Batch.Types.AssignPublicIp: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.Batch.Types.AssignPublicIp: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Batch.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.Batch.Types.AssignPublicIp: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.Batch.Types.AssignPublicIp: instance GHC.Classes.Eq Amazonka.Batch.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.Batch.Types.AssignPublicIp: instance GHC.Classes.Ord Amazonka.Batch.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.Batch.Types.AssignPublicIp: instance GHC.Generics.Generic Amazonka.Batch.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.Batch.Types.AssignPublicIp: instance GHC.Read.Read Amazonka.Batch.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.Batch.Types.AssignPublicIp: instance GHC.Show.Show Amazonka.Batch.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.Batch.Types.AssignPublicIp: newtype AssignPublicIp
+ Amazonka.Batch.Types.AssignPublicIp: pattern AssignPublicIp_DISABLED :: AssignPublicIp
+ Amazonka.Batch.Types.AssignPublicIp: pattern AssignPublicIp_ENABLED :: AssignPublicIp
+ Amazonka.Batch.Types.AttemptContainerDetail: AttemptContainerDetail' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe [NetworkInterface] -> Maybe Text -> Maybe Text -> AttemptContainerDetail
+ Amazonka.Batch.Types.AttemptContainerDetail: [$sel:containerInstanceArn:AttemptContainerDetail'] :: AttemptContainerDetail -> Maybe Text
+ Amazonka.Batch.Types.AttemptContainerDetail: [$sel:exitCode:AttemptContainerDetail'] :: AttemptContainerDetail -> Maybe Int
+ Amazonka.Batch.Types.AttemptContainerDetail: [$sel:logStreamName:AttemptContainerDetail'] :: AttemptContainerDetail -> Maybe Text
+ Amazonka.Batch.Types.AttemptContainerDetail: [$sel:networkInterfaces:AttemptContainerDetail'] :: AttemptContainerDetail -> Maybe [NetworkInterface]
+ Amazonka.Batch.Types.AttemptContainerDetail: [$sel:reason:AttemptContainerDetail'] :: AttemptContainerDetail -> Maybe Text
+ Amazonka.Batch.Types.AttemptContainerDetail: [$sel:taskArn:AttemptContainerDetail'] :: AttemptContainerDetail -> Maybe Text
+ Amazonka.Batch.Types.AttemptContainerDetail: attemptContainerDetail_containerInstanceArn :: Lens' AttemptContainerDetail (Maybe Text)
+ Amazonka.Batch.Types.AttemptContainerDetail: attemptContainerDetail_exitCode :: Lens' AttemptContainerDetail (Maybe Int)
+ Amazonka.Batch.Types.AttemptContainerDetail: attemptContainerDetail_logStreamName :: Lens' AttemptContainerDetail (Maybe Text)
+ Amazonka.Batch.Types.AttemptContainerDetail: attemptContainerDetail_networkInterfaces :: Lens' AttemptContainerDetail (Maybe [NetworkInterface])
+ Amazonka.Batch.Types.AttemptContainerDetail: attemptContainerDetail_reason :: Lens' AttemptContainerDetail (Maybe Text)
+ Amazonka.Batch.Types.AttemptContainerDetail: attemptContainerDetail_taskArn :: Lens' AttemptContainerDetail (Maybe Text)
+ Amazonka.Batch.Types.AttemptContainerDetail: data AttemptContainerDetail
+ Amazonka.Batch.Types.AttemptContainerDetail: instance Control.DeepSeq.NFData Amazonka.Batch.Types.AttemptContainerDetail.AttemptContainerDetail
+ Amazonka.Batch.Types.AttemptContainerDetail: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.AttemptContainerDetail.AttemptContainerDetail
+ Amazonka.Batch.Types.AttemptContainerDetail: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.AttemptContainerDetail.AttemptContainerDetail
+ Amazonka.Batch.Types.AttemptContainerDetail: instance GHC.Classes.Eq Amazonka.Batch.Types.AttemptContainerDetail.AttemptContainerDetail
+ Amazonka.Batch.Types.AttemptContainerDetail: instance GHC.Generics.Generic Amazonka.Batch.Types.AttemptContainerDetail.AttemptContainerDetail
+ Amazonka.Batch.Types.AttemptContainerDetail: instance GHC.Read.Read Amazonka.Batch.Types.AttemptContainerDetail.AttemptContainerDetail
+ Amazonka.Batch.Types.AttemptContainerDetail: instance GHC.Show.Show Amazonka.Batch.Types.AttemptContainerDetail.AttemptContainerDetail
+ Amazonka.Batch.Types.AttemptContainerDetail: newAttemptContainerDetail :: AttemptContainerDetail
+ Amazonka.Batch.Types.AttemptDetail: AttemptDetail' :: Maybe AttemptContainerDetail -> Maybe Integer -> Maybe Text -> Maybe Integer -> AttemptDetail
+ Amazonka.Batch.Types.AttemptDetail: [$sel:container:AttemptDetail'] :: AttemptDetail -> Maybe AttemptContainerDetail
+ Amazonka.Batch.Types.AttemptDetail: [$sel:startedAt:AttemptDetail'] :: AttemptDetail -> Maybe Integer
+ Amazonka.Batch.Types.AttemptDetail: [$sel:statusReason:AttemptDetail'] :: AttemptDetail -> Maybe Text
+ Amazonka.Batch.Types.AttemptDetail: [$sel:stoppedAt:AttemptDetail'] :: AttemptDetail -> Maybe Integer
+ Amazonka.Batch.Types.AttemptDetail: attemptDetail_container :: Lens' AttemptDetail (Maybe AttemptContainerDetail)
+ Amazonka.Batch.Types.AttemptDetail: attemptDetail_startedAt :: Lens' AttemptDetail (Maybe Integer)
+ Amazonka.Batch.Types.AttemptDetail: attemptDetail_statusReason :: Lens' AttemptDetail (Maybe Text)
+ Amazonka.Batch.Types.AttemptDetail: attemptDetail_stoppedAt :: Lens' AttemptDetail (Maybe Integer)
+ Amazonka.Batch.Types.AttemptDetail: data AttemptDetail
+ Amazonka.Batch.Types.AttemptDetail: instance Control.DeepSeq.NFData Amazonka.Batch.Types.AttemptDetail.AttemptDetail
+ Amazonka.Batch.Types.AttemptDetail: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.AttemptDetail.AttemptDetail
+ Amazonka.Batch.Types.AttemptDetail: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.AttemptDetail.AttemptDetail
+ Amazonka.Batch.Types.AttemptDetail: instance GHC.Classes.Eq Amazonka.Batch.Types.AttemptDetail.AttemptDetail
+ Amazonka.Batch.Types.AttemptDetail: instance GHC.Generics.Generic Amazonka.Batch.Types.AttemptDetail.AttemptDetail
+ Amazonka.Batch.Types.AttemptDetail: instance GHC.Read.Read Amazonka.Batch.Types.AttemptDetail.AttemptDetail
+ Amazonka.Batch.Types.AttemptDetail: instance GHC.Show.Show Amazonka.Batch.Types.AttemptDetail.AttemptDetail
+ Amazonka.Batch.Types.AttemptDetail: newAttemptDetail :: AttemptDetail
+ Amazonka.Batch.Types.CEState: CEState' :: Text -> CEState
+ Amazonka.Batch.Types.CEState: [fromCEState] :: CEState -> Text
+ Amazonka.Batch.Types.CEState: instance Amazonka.Data.ByteString.ToByteString Amazonka.Batch.Types.CEState.CEState
+ Amazonka.Batch.Types.CEState: instance Amazonka.Data.Headers.ToHeader Amazonka.Batch.Types.CEState.CEState
+ Amazonka.Batch.Types.CEState: instance Amazonka.Data.Log.ToLog Amazonka.Batch.Types.CEState.CEState
+ Amazonka.Batch.Types.CEState: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.Types.CEState.CEState
+ Amazonka.Batch.Types.CEState: instance Amazonka.Data.Text.FromText Amazonka.Batch.Types.CEState.CEState
+ Amazonka.Batch.Types.CEState: instance Amazonka.Data.Text.ToText Amazonka.Batch.Types.CEState.CEState
+ Amazonka.Batch.Types.CEState: instance Amazonka.Data.XML.FromXML Amazonka.Batch.Types.CEState.CEState
+ Amazonka.Batch.Types.CEState: instance Amazonka.Data.XML.ToXML Amazonka.Batch.Types.CEState.CEState
+ Amazonka.Batch.Types.CEState: instance Control.DeepSeq.NFData Amazonka.Batch.Types.CEState.CEState
+ Amazonka.Batch.Types.CEState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.CEState.CEState
+ Amazonka.Batch.Types.CEState: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Batch.Types.CEState.CEState
+ Amazonka.Batch.Types.CEState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.CEState.CEState
+ Amazonka.Batch.Types.CEState: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Batch.Types.CEState.CEState
+ Amazonka.Batch.Types.CEState: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.CEState.CEState
+ Amazonka.Batch.Types.CEState: instance GHC.Classes.Eq Amazonka.Batch.Types.CEState.CEState
+ Amazonka.Batch.Types.CEState: instance GHC.Classes.Ord Amazonka.Batch.Types.CEState.CEState
+ Amazonka.Batch.Types.CEState: instance GHC.Generics.Generic Amazonka.Batch.Types.CEState.CEState
+ Amazonka.Batch.Types.CEState: instance GHC.Read.Read Amazonka.Batch.Types.CEState.CEState
+ Amazonka.Batch.Types.CEState: instance GHC.Show.Show Amazonka.Batch.Types.CEState.CEState
+ Amazonka.Batch.Types.CEState: newtype CEState
+ Amazonka.Batch.Types.CEState: pattern CEState_DISABLED :: CEState
+ Amazonka.Batch.Types.CEState: pattern CEState_ENABLED :: CEState
+ Amazonka.Batch.Types.CEStatus: CEStatus' :: Text -> CEStatus
+ Amazonka.Batch.Types.CEStatus: [fromCEStatus] :: CEStatus -> Text
+ Amazonka.Batch.Types.CEStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.Batch.Types.CEStatus.CEStatus
+ Amazonka.Batch.Types.CEStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.Batch.Types.CEStatus.CEStatus
+ Amazonka.Batch.Types.CEStatus: instance Amazonka.Data.Log.ToLog Amazonka.Batch.Types.CEStatus.CEStatus
+ Amazonka.Batch.Types.CEStatus: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.Types.CEStatus.CEStatus
+ Amazonka.Batch.Types.CEStatus: instance Amazonka.Data.Text.FromText Amazonka.Batch.Types.CEStatus.CEStatus
+ Amazonka.Batch.Types.CEStatus: instance Amazonka.Data.Text.ToText Amazonka.Batch.Types.CEStatus.CEStatus
+ Amazonka.Batch.Types.CEStatus: instance Amazonka.Data.XML.FromXML Amazonka.Batch.Types.CEStatus.CEStatus
+ Amazonka.Batch.Types.CEStatus: instance Amazonka.Data.XML.ToXML Amazonka.Batch.Types.CEStatus.CEStatus
+ Amazonka.Batch.Types.CEStatus: instance Control.DeepSeq.NFData Amazonka.Batch.Types.CEStatus.CEStatus
+ Amazonka.Batch.Types.CEStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.CEStatus.CEStatus
+ Amazonka.Batch.Types.CEStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Batch.Types.CEStatus.CEStatus
+ Amazonka.Batch.Types.CEStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.CEStatus.CEStatus
+ Amazonka.Batch.Types.CEStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Batch.Types.CEStatus.CEStatus
+ Amazonka.Batch.Types.CEStatus: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.CEStatus.CEStatus
+ Amazonka.Batch.Types.CEStatus: instance GHC.Classes.Eq Amazonka.Batch.Types.CEStatus.CEStatus
+ Amazonka.Batch.Types.CEStatus: instance GHC.Classes.Ord Amazonka.Batch.Types.CEStatus.CEStatus
+ Amazonka.Batch.Types.CEStatus: instance GHC.Generics.Generic Amazonka.Batch.Types.CEStatus.CEStatus
+ Amazonka.Batch.Types.CEStatus: instance GHC.Read.Read Amazonka.Batch.Types.CEStatus.CEStatus
+ Amazonka.Batch.Types.CEStatus: instance GHC.Show.Show Amazonka.Batch.Types.CEStatus.CEStatus
+ Amazonka.Batch.Types.CEStatus: newtype CEStatus
+ Amazonka.Batch.Types.CEStatus: pattern CEStatus_CREATING :: CEStatus
+ Amazonka.Batch.Types.CEStatus: pattern CEStatus_DELETED :: CEStatus
+ Amazonka.Batch.Types.CEStatus: pattern CEStatus_DELETING :: CEStatus
+ Amazonka.Batch.Types.CEStatus: pattern CEStatus_INVALID :: CEStatus
+ Amazonka.Batch.Types.CEStatus: pattern CEStatus_UPDATING :: CEStatus
+ Amazonka.Batch.Types.CEStatus: pattern CEStatus_VALID :: CEStatus
+ Amazonka.Batch.Types.CEType: CEType' :: Text -> CEType
+ Amazonka.Batch.Types.CEType: [fromCEType] :: CEType -> Text
+ Amazonka.Batch.Types.CEType: instance Amazonka.Data.ByteString.ToByteString Amazonka.Batch.Types.CEType.CEType
+ Amazonka.Batch.Types.CEType: instance Amazonka.Data.Headers.ToHeader Amazonka.Batch.Types.CEType.CEType
+ Amazonka.Batch.Types.CEType: instance Amazonka.Data.Log.ToLog Amazonka.Batch.Types.CEType.CEType
+ Amazonka.Batch.Types.CEType: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.Types.CEType.CEType
+ Amazonka.Batch.Types.CEType: instance Amazonka.Data.Text.FromText Amazonka.Batch.Types.CEType.CEType
+ Amazonka.Batch.Types.CEType: instance Amazonka.Data.Text.ToText Amazonka.Batch.Types.CEType.CEType
+ Amazonka.Batch.Types.CEType: instance Amazonka.Data.XML.FromXML Amazonka.Batch.Types.CEType.CEType
+ Amazonka.Batch.Types.CEType: instance Amazonka.Data.XML.ToXML Amazonka.Batch.Types.CEType.CEType
+ Amazonka.Batch.Types.CEType: instance Control.DeepSeq.NFData Amazonka.Batch.Types.CEType.CEType
+ Amazonka.Batch.Types.CEType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.CEType.CEType
+ Amazonka.Batch.Types.CEType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Batch.Types.CEType.CEType
+ Amazonka.Batch.Types.CEType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.CEType.CEType
+ Amazonka.Batch.Types.CEType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Batch.Types.CEType.CEType
+ Amazonka.Batch.Types.CEType: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.CEType.CEType
+ Amazonka.Batch.Types.CEType: instance GHC.Classes.Eq Amazonka.Batch.Types.CEType.CEType
+ Amazonka.Batch.Types.CEType: instance GHC.Classes.Ord Amazonka.Batch.Types.CEType.CEType
+ Amazonka.Batch.Types.CEType: instance GHC.Generics.Generic Amazonka.Batch.Types.CEType.CEType
+ Amazonka.Batch.Types.CEType: instance GHC.Read.Read Amazonka.Batch.Types.CEType.CEType
+ Amazonka.Batch.Types.CEType: instance GHC.Show.Show Amazonka.Batch.Types.CEType.CEType
+ Amazonka.Batch.Types.CEType: newtype CEType
+ Amazonka.Batch.Types.CEType: pattern CEType_MANAGED :: CEType
+ Amazonka.Batch.Types.CEType: pattern CEType_UNMANAGED :: CEType
+ Amazonka.Batch.Types.CRAllocationStrategy: CRAllocationStrategy' :: Text -> CRAllocationStrategy
+ Amazonka.Batch.Types.CRAllocationStrategy: [fromCRAllocationStrategy] :: CRAllocationStrategy -> Text
+ Amazonka.Batch.Types.CRAllocationStrategy: instance Amazonka.Data.ByteString.ToByteString Amazonka.Batch.Types.CRAllocationStrategy.CRAllocationStrategy
+ Amazonka.Batch.Types.CRAllocationStrategy: instance Amazonka.Data.Headers.ToHeader Amazonka.Batch.Types.CRAllocationStrategy.CRAllocationStrategy
+ Amazonka.Batch.Types.CRAllocationStrategy: instance Amazonka.Data.Log.ToLog Amazonka.Batch.Types.CRAllocationStrategy.CRAllocationStrategy
+ Amazonka.Batch.Types.CRAllocationStrategy: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.Types.CRAllocationStrategy.CRAllocationStrategy
+ Amazonka.Batch.Types.CRAllocationStrategy: instance Amazonka.Data.Text.FromText Amazonka.Batch.Types.CRAllocationStrategy.CRAllocationStrategy
+ Amazonka.Batch.Types.CRAllocationStrategy: instance Amazonka.Data.Text.ToText Amazonka.Batch.Types.CRAllocationStrategy.CRAllocationStrategy
+ Amazonka.Batch.Types.CRAllocationStrategy: instance Amazonka.Data.XML.FromXML Amazonka.Batch.Types.CRAllocationStrategy.CRAllocationStrategy
+ Amazonka.Batch.Types.CRAllocationStrategy: instance Amazonka.Data.XML.ToXML Amazonka.Batch.Types.CRAllocationStrategy.CRAllocationStrategy
+ Amazonka.Batch.Types.CRAllocationStrategy: instance Control.DeepSeq.NFData Amazonka.Batch.Types.CRAllocationStrategy.CRAllocationStrategy
+ Amazonka.Batch.Types.CRAllocationStrategy: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.CRAllocationStrategy.CRAllocationStrategy
+ Amazonka.Batch.Types.CRAllocationStrategy: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Batch.Types.CRAllocationStrategy.CRAllocationStrategy
+ Amazonka.Batch.Types.CRAllocationStrategy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.CRAllocationStrategy.CRAllocationStrategy
+ Amazonka.Batch.Types.CRAllocationStrategy: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Batch.Types.CRAllocationStrategy.CRAllocationStrategy
+ Amazonka.Batch.Types.CRAllocationStrategy: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.CRAllocationStrategy.CRAllocationStrategy
+ Amazonka.Batch.Types.CRAllocationStrategy: instance GHC.Classes.Eq Amazonka.Batch.Types.CRAllocationStrategy.CRAllocationStrategy
+ Amazonka.Batch.Types.CRAllocationStrategy: instance GHC.Classes.Ord Amazonka.Batch.Types.CRAllocationStrategy.CRAllocationStrategy
+ Amazonka.Batch.Types.CRAllocationStrategy: instance GHC.Generics.Generic Amazonka.Batch.Types.CRAllocationStrategy.CRAllocationStrategy
+ Amazonka.Batch.Types.CRAllocationStrategy: instance GHC.Read.Read Amazonka.Batch.Types.CRAllocationStrategy.CRAllocationStrategy
+ Amazonka.Batch.Types.CRAllocationStrategy: instance GHC.Show.Show Amazonka.Batch.Types.CRAllocationStrategy.CRAllocationStrategy
+ Amazonka.Batch.Types.CRAllocationStrategy: newtype CRAllocationStrategy
+ Amazonka.Batch.Types.CRAllocationStrategy: pattern CRAllocationStrategy_BEST_FIT :: CRAllocationStrategy
+ Amazonka.Batch.Types.CRAllocationStrategy: pattern CRAllocationStrategy_BEST_FIT_PROGRESSIVE :: CRAllocationStrategy
+ Amazonka.Batch.Types.CRAllocationStrategy: pattern CRAllocationStrategy_SPOT_CAPACITY_OPTIMIZED :: CRAllocationStrategy
+ Amazonka.Batch.Types.CRType: CRType' :: Text -> CRType
+ Amazonka.Batch.Types.CRType: [fromCRType] :: CRType -> Text
+ Amazonka.Batch.Types.CRType: instance Amazonka.Data.ByteString.ToByteString Amazonka.Batch.Types.CRType.CRType
+ Amazonka.Batch.Types.CRType: instance Amazonka.Data.Headers.ToHeader Amazonka.Batch.Types.CRType.CRType
+ Amazonka.Batch.Types.CRType: instance Amazonka.Data.Log.ToLog Amazonka.Batch.Types.CRType.CRType
+ Amazonka.Batch.Types.CRType: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.Types.CRType.CRType
+ Amazonka.Batch.Types.CRType: instance Amazonka.Data.Text.FromText Amazonka.Batch.Types.CRType.CRType
+ Amazonka.Batch.Types.CRType: instance Amazonka.Data.Text.ToText Amazonka.Batch.Types.CRType.CRType
+ Amazonka.Batch.Types.CRType: instance Amazonka.Data.XML.FromXML Amazonka.Batch.Types.CRType.CRType
+ Amazonka.Batch.Types.CRType: instance Amazonka.Data.XML.ToXML Amazonka.Batch.Types.CRType.CRType
+ Amazonka.Batch.Types.CRType: instance Control.DeepSeq.NFData Amazonka.Batch.Types.CRType.CRType
+ Amazonka.Batch.Types.CRType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.CRType.CRType
+ Amazonka.Batch.Types.CRType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Batch.Types.CRType.CRType
+ Amazonka.Batch.Types.CRType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.CRType.CRType
+ Amazonka.Batch.Types.CRType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Batch.Types.CRType.CRType
+ Amazonka.Batch.Types.CRType: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.CRType.CRType
+ Amazonka.Batch.Types.CRType: instance GHC.Classes.Eq Amazonka.Batch.Types.CRType.CRType
+ Amazonka.Batch.Types.CRType: instance GHC.Classes.Ord Amazonka.Batch.Types.CRType.CRType
+ Amazonka.Batch.Types.CRType: instance GHC.Generics.Generic Amazonka.Batch.Types.CRType.CRType
+ Amazonka.Batch.Types.CRType: instance GHC.Read.Read Amazonka.Batch.Types.CRType.CRType
+ Amazonka.Batch.Types.CRType: instance GHC.Show.Show Amazonka.Batch.Types.CRType.CRType
+ Amazonka.Batch.Types.CRType: newtype CRType
+ Amazonka.Batch.Types.CRType: pattern CRType_EC2 :: CRType
+ Amazonka.Batch.Types.CRType: pattern CRType_FARGATE :: CRType
+ Amazonka.Batch.Types.CRType: pattern CRType_FARGATE_SPOT :: CRType
+ Amazonka.Batch.Types.CRType: pattern CRType_SPOT :: CRType
+ Amazonka.Batch.Types.CRUpdateAllocationStrategy: CRUpdateAllocationStrategy' :: Text -> CRUpdateAllocationStrategy
+ Amazonka.Batch.Types.CRUpdateAllocationStrategy: [fromCRUpdateAllocationStrategy] :: CRUpdateAllocationStrategy -> Text
+ Amazonka.Batch.Types.CRUpdateAllocationStrategy: instance Amazonka.Data.ByteString.ToByteString Amazonka.Batch.Types.CRUpdateAllocationStrategy.CRUpdateAllocationStrategy
+ Amazonka.Batch.Types.CRUpdateAllocationStrategy: instance Amazonka.Data.Headers.ToHeader Amazonka.Batch.Types.CRUpdateAllocationStrategy.CRUpdateAllocationStrategy
+ Amazonka.Batch.Types.CRUpdateAllocationStrategy: instance Amazonka.Data.Log.ToLog Amazonka.Batch.Types.CRUpdateAllocationStrategy.CRUpdateAllocationStrategy
+ Amazonka.Batch.Types.CRUpdateAllocationStrategy: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.Types.CRUpdateAllocationStrategy.CRUpdateAllocationStrategy
+ Amazonka.Batch.Types.CRUpdateAllocationStrategy: instance Amazonka.Data.Text.FromText Amazonka.Batch.Types.CRUpdateAllocationStrategy.CRUpdateAllocationStrategy
+ Amazonka.Batch.Types.CRUpdateAllocationStrategy: instance Amazonka.Data.Text.ToText Amazonka.Batch.Types.CRUpdateAllocationStrategy.CRUpdateAllocationStrategy
+ Amazonka.Batch.Types.CRUpdateAllocationStrategy: instance Amazonka.Data.XML.FromXML Amazonka.Batch.Types.CRUpdateAllocationStrategy.CRUpdateAllocationStrategy
+ Amazonka.Batch.Types.CRUpdateAllocationStrategy: instance Amazonka.Data.XML.ToXML Amazonka.Batch.Types.CRUpdateAllocationStrategy.CRUpdateAllocationStrategy
+ Amazonka.Batch.Types.CRUpdateAllocationStrategy: instance Control.DeepSeq.NFData Amazonka.Batch.Types.CRUpdateAllocationStrategy.CRUpdateAllocationStrategy
+ Amazonka.Batch.Types.CRUpdateAllocationStrategy: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.CRUpdateAllocationStrategy.CRUpdateAllocationStrategy
+ Amazonka.Batch.Types.CRUpdateAllocationStrategy: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Batch.Types.CRUpdateAllocationStrategy.CRUpdateAllocationStrategy
+ Amazonka.Batch.Types.CRUpdateAllocationStrategy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.CRUpdateAllocationStrategy.CRUpdateAllocationStrategy
+ Amazonka.Batch.Types.CRUpdateAllocationStrategy: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Batch.Types.CRUpdateAllocationStrategy.CRUpdateAllocationStrategy
+ Amazonka.Batch.Types.CRUpdateAllocationStrategy: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.CRUpdateAllocationStrategy.CRUpdateAllocationStrategy
+ Amazonka.Batch.Types.CRUpdateAllocationStrategy: instance GHC.Classes.Eq Amazonka.Batch.Types.CRUpdateAllocationStrategy.CRUpdateAllocationStrategy
+ Amazonka.Batch.Types.CRUpdateAllocationStrategy: instance GHC.Classes.Ord Amazonka.Batch.Types.CRUpdateAllocationStrategy.CRUpdateAllocationStrategy
+ Amazonka.Batch.Types.CRUpdateAllocationStrategy: instance GHC.Generics.Generic Amazonka.Batch.Types.CRUpdateAllocationStrategy.CRUpdateAllocationStrategy
+ Amazonka.Batch.Types.CRUpdateAllocationStrategy: instance GHC.Read.Read Amazonka.Batch.Types.CRUpdateAllocationStrategy.CRUpdateAllocationStrategy
+ Amazonka.Batch.Types.CRUpdateAllocationStrategy: instance GHC.Show.Show Amazonka.Batch.Types.CRUpdateAllocationStrategy.CRUpdateAllocationStrategy
+ Amazonka.Batch.Types.CRUpdateAllocationStrategy: newtype CRUpdateAllocationStrategy
+ Amazonka.Batch.Types.CRUpdateAllocationStrategy: pattern CRUpdateAllocationStrategy_BEST_FIT_PROGRESSIVE :: CRUpdateAllocationStrategy
+ Amazonka.Batch.Types.CRUpdateAllocationStrategy: pattern CRUpdateAllocationStrategy_SPOT_CAPACITY_OPTIMIZED :: CRUpdateAllocationStrategy
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: ComputeEnvironmentDetail' :: Maybe ComputeResource -> Maybe OrchestrationType -> Maybe Text -> Maybe EksConfiguration -> Maybe Text -> Maybe CEState -> Maybe CEStatus -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe CEType -> Maybe Int -> Maybe UpdatePolicy -> Maybe Text -> Text -> Text -> ComputeEnvironmentDetail
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: [$sel:computeEnvironmentArn:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Text
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: [$sel:computeEnvironmentName:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Text
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: [$sel:computeResources:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe ComputeResource
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: [$sel:containerOrchestrationType:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe OrchestrationType
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: [$sel:ecsClusterArn:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe Text
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: [$sel:eksConfiguration:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe EksConfiguration
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: [$sel:serviceRole:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe Text
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: [$sel:state:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe CEState
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: [$sel:status:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe CEStatus
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: [$sel:statusReason:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe Text
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: [$sel:tags:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe (HashMap Text Text)
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: [$sel:type':ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe CEType
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: [$sel:unmanagedvCpus:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe Int
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: [$sel:updatePolicy:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe UpdatePolicy
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: [$sel:uuid:ComputeEnvironmentDetail'] :: ComputeEnvironmentDetail -> Maybe Text
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: computeEnvironmentDetail_computeEnvironmentArn :: Lens' ComputeEnvironmentDetail Text
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: computeEnvironmentDetail_computeEnvironmentName :: Lens' ComputeEnvironmentDetail Text
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: computeEnvironmentDetail_computeResources :: Lens' ComputeEnvironmentDetail (Maybe ComputeResource)
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: computeEnvironmentDetail_containerOrchestrationType :: Lens' ComputeEnvironmentDetail (Maybe OrchestrationType)
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: computeEnvironmentDetail_ecsClusterArn :: Lens' ComputeEnvironmentDetail (Maybe Text)
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: computeEnvironmentDetail_eksConfiguration :: Lens' ComputeEnvironmentDetail (Maybe EksConfiguration)
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: computeEnvironmentDetail_serviceRole :: Lens' ComputeEnvironmentDetail (Maybe Text)
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: computeEnvironmentDetail_state :: Lens' ComputeEnvironmentDetail (Maybe CEState)
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: computeEnvironmentDetail_status :: Lens' ComputeEnvironmentDetail (Maybe CEStatus)
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: computeEnvironmentDetail_statusReason :: Lens' ComputeEnvironmentDetail (Maybe Text)
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: computeEnvironmentDetail_tags :: Lens' ComputeEnvironmentDetail (Maybe (HashMap Text Text))
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: computeEnvironmentDetail_type :: Lens' ComputeEnvironmentDetail (Maybe CEType)
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: computeEnvironmentDetail_unmanagedvCpus :: Lens' ComputeEnvironmentDetail (Maybe Int)
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: computeEnvironmentDetail_updatePolicy :: Lens' ComputeEnvironmentDetail (Maybe UpdatePolicy)
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: computeEnvironmentDetail_uuid :: Lens' ComputeEnvironmentDetail (Maybe Text)
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: data ComputeEnvironmentDetail
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: instance Control.DeepSeq.NFData Amazonka.Batch.Types.ComputeEnvironmentDetail.ComputeEnvironmentDetail
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.ComputeEnvironmentDetail.ComputeEnvironmentDetail
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.ComputeEnvironmentDetail.ComputeEnvironmentDetail
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: instance GHC.Classes.Eq Amazonka.Batch.Types.ComputeEnvironmentDetail.ComputeEnvironmentDetail
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: instance GHC.Generics.Generic Amazonka.Batch.Types.ComputeEnvironmentDetail.ComputeEnvironmentDetail
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: instance GHC.Read.Read Amazonka.Batch.Types.ComputeEnvironmentDetail.ComputeEnvironmentDetail
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: instance GHC.Show.Show Amazonka.Batch.Types.ComputeEnvironmentDetail.ComputeEnvironmentDetail
+ Amazonka.Batch.Types.ComputeEnvironmentDetail: newComputeEnvironmentDetail :: Text -> Text -> ComputeEnvironmentDetail
+ Amazonka.Batch.Types.ComputeEnvironmentOrder: ComputeEnvironmentOrder' :: Int -> Text -> ComputeEnvironmentOrder
+ Amazonka.Batch.Types.ComputeEnvironmentOrder: [$sel:computeEnvironment:ComputeEnvironmentOrder'] :: ComputeEnvironmentOrder -> Text
+ Amazonka.Batch.Types.ComputeEnvironmentOrder: [$sel:order:ComputeEnvironmentOrder'] :: ComputeEnvironmentOrder -> Int
+ Amazonka.Batch.Types.ComputeEnvironmentOrder: computeEnvironmentOrder_computeEnvironment :: Lens' ComputeEnvironmentOrder Text
+ Amazonka.Batch.Types.ComputeEnvironmentOrder: computeEnvironmentOrder_order :: Lens' ComputeEnvironmentOrder Int
+ Amazonka.Batch.Types.ComputeEnvironmentOrder: data ComputeEnvironmentOrder
+ Amazonka.Batch.Types.ComputeEnvironmentOrder: instance Control.DeepSeq.NFData Amazonka.Batch.Types.ComputeEnvironmentOrder.ComputeEnvironmentOrder
+ Amazonka.Batch.Types.ComputeEnvironmentOrder: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.ComputeEnvironmentOrder.ComputeEnvironmentOrder
+ Amazonka.Batch.Types.ComputeEnvironmentOrder: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.ComputeEnvironmentOrder.ComputeEnvironmentOrder
+ Amazonka.Batch.Types.ComputeEnvironmentOrder: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.ComputeEnvironmentOrder.ComputeEnvironmentOrder
+ Amazonka.Batch.Types.ComputeEnvironmentOrder: instance GHC.Classes.Eq Amazonka.Batch.Types.ComputeEnvironmentOrder.ComputeEnvironmentOrder
+ Amazonka.Batch.Types.ComputeEnvironmentOrder: instance GHC.Generics.Generic Amazonka.Batch.Types.ComputeEnvironmentOrder.ComputeEnvironmentOrder
+ Amazonka.Batch.Types.ComputeEnvironmentOrder: instance GHC.Read.Read Amazonka.Batch.Types.ComputeEnvironmentOrder.ComputeEnvironmentOrder
+ Amazonka.Batch.Types.ComputeEnvironmentOrder: instance GHC.Show.Show Amazonka.Batch.Types.ComputeEnvironmentOrder.ComputeEnvironmentOrder
+ Amazonka.Batch.Types.ComputeEnvironmentOrder: newComputeEnvironmentOrder :: Int -> Text -> ComputeEnvironmentOrder
+ Amazonka.Batch.Types.ComputeResource: ComputeResource' :: Maybe CRAllocationStrategy -> Maybe Int -> Maybe Int -> Maybe [Ec2Configuration] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe LaunchTemplateSpecification -> Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe (HashMap Text Text) -> CRType -> Int -> [Text] -> ComputeResource
+ Amazonka.Batch.Types.ComputeResource: [$sel:allocationStrategy:ComputeResource'] :: ComputeResource -> Maybe CRAllocationStrategy
+ Amazonka.Batch.Types.ComputeResource: [$sel:bidPercentage:ComputeResource'] :: ComputeResource -> Maybe Int
+ Amazonka.Batch.Types.ComputeResource: [$sel:desiredvCpus:ComputeResource'] :: ComputeResource -> Maybe Int
+ Amazonka.Batch.Types.ComputeResource: [$sel:ec2Configuration:ComputeResource'] :: ComputeResource -> Maybe [Ec2Configuration]
+ Amazonka.Batch.Types.ComputeResource: [$sel:ec2KeyPair:ComputeResource'] :: ComputeResource -> Maybe Text
+ Amazonka.Batch.Types.ComputeResource: [$sel:imageId:ComputeResource'] :: ComputeResource -> Maybe Text
+ Amazonka.Batch.Types.ComputeResource: [$sel:instanceRole:ComputeResource'] :: ComputeResource -> Maybe Text
+ Amazonka.Batch.Types.ComputeResource: [$sel:instanceTypes:ComputeResource'] :: ComputeResource -> Maybe [Text]
+ Amazonka.Batch.Types.ComputeResource: [$sel:launchTemplate:ComputeResource'] :: ComputeResource -> Maybe LaunchTemplateSpecification
+ Amazonka.Batch.Types.ComputeResource: [$sel:maxvCpus:ComputeResource'] :: ComputeResource -> Int
+ Amazonka.Batch.Types.ComputeResource: [$sel:minvCpus:ComputeResource'] :: ComputeResource -> Maybe Int
+ Amazonka.Batch.Types.ComputeResource: [$sel:placementGroup:ComputeResource'] :: ComputeResource -> Maybe Text
+ Amazonka.Batch.Types.ComputeResource: [$sel:securityGroupIds:ComputeResource'] :: ComputeResource -> Maybe [Text]
+ Amazonka.Batch.Types.ComputeResource: [$sel:spotIamFleetRole:ComputeResource'] :: ComputeResource -> Maybe Text
+ Amazonka.Batch.Types.ComputeResource: [$sel:subnets:ComputeResource'] :: ComputeResource -> [Text]
+ Amazonka.Batch.Types.ComputeResource: [$sel:tags:ComputeResource'] :: ComputeResource -> Maybe (HashMap Text Text)
+ Amazonka.Batch.Types.ComputeResource: [$sel:type':ComputeResource'] :: ComputeResource -> CRType
+ Amazonka.Batch.Types.ComputeResource: computeResource_allocationStrategy :: Lens' ComputeResource (Maybe CRAllocationStrategy)
+ Amazonka.Batch.Types.ComputeResource: computeResource_bidPercentage :: Lens' ComputeResource (Maybe Int)
+ Amazonka.Batch.Types.ComputeResource: computeResource_desiredvCpus :: Lens' ComputeResource (Maybe Int)
+ Amazonka.Batch.Types.ComputeResource: computeResource_ec2Configuration :: Lens' ComputeResource (Maybe [Ec2Configuration])
+ Amazonka.Batch.Types.ComputeResource: computeResource_ec2KeyPair :: Lens' ComputeResource (Maybe Text)
+ Amazonka.Batch.Types.ComputeResource: computeResource_imageId :: Lens' ComputeResource (Maybe Text)
+ Amazonka.Batch.Types.ComputeResource: computeResource_instanceRole :: Lens' ComputeResource (Maybe Text)
+ Amazonka.Batch.Types.ComputeResource: computeResource_instanceTypes :: Lens' ComputeResource (Maybe [Text])
+ Amazonka.Batch.Types.ComputeResource: computeResource_launchTemplate :: Lens' ComputeResource (Maybe LaunchTemplateSpecification)
+ Amazonka.Batch.Types.ComputeResource: computeResource_maxvCpus :: Lens' ComputeResource Int
+ Amazonka.Batch.Types.ComputeResource: computeResource_minvCpus :: Lens' ComputeResource (Maybe Int)
+ Amazonka.Batch.Types.ComputeResource: computeResource_placementGroup :: Lens' ComputeResource (Maybe Text)
+ Amazonka.Batch.Types.ComputeResource: computeResource_securityGroupIds :: Lens' ComputeResource (Maybe [Text])
+ Amazonka.Batch.Types.ComputeResource: computeResource_spotIamFleetRole :: Lens' ComputeResource (Maybe Text)
+ Amazonka.Batch.Types.ComputeResource: computeResource_subnets :: Lens' ComputeResource [Text]
+ Amazonka.Batch.Types.ComputeResource: computeResource_tags :: Lens' ComputeResource (Maybe (HashMap Text Text))
+ Amazonka.Batch.Types.ComputeResource: computeResource_type :: Lens' ComputeResource CRType
+ Amazonka.Batch.Types.ComputeResource: data ComputeResource
+ Amazonka.Batch.Types.ComputeResource: instance Control.DeepSeq.NFData Amazonka.Batch.Types.ComputeResource.ComputeResource
+ Amazonka.Batch.Types.ComputeResource: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.ComputeResource.ComputeResource
+ Amazonka.Batch.Types.ComputeResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.ComputeResource.ComputeResource
+ Amazonka.Batch.Types.ComputeResource: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.ComputeResource.ComputeResource
+ Amazonka.Batch.Types.ComputeResource: instance GHC.Classes.Eq Amazonka.Batch.Types.ComputeResource.ComputeResource
+ Amazonka.Batch.Types.ComputeResource: instance GHC.Generics.Generic Amazonka.Batch.Types.ComputeResource.ComputeResource
+ Amazonka.Batch.Types.ComputeResource: instance GHC.Read.Read Amazonka.Batch.Types.ComputeResource.ComputeResource
+ Amazonka.Batch.Types.ComputeResource: instance GHC.Show.Show Amazonka.Batch.Types.ComputeResource.ComputeResource
+ Amazonka.Batch.Types.ComputeResource: newComputeResource :: CRType -> Int -> ComputeResource
+ Amazonka.Batch.Types.ComputeResourceUpdate: ComputeResourceUpdate' :: Maybe CRUpdateAllocationStrategy -> Maybe Int -> Maybe Int -> Maybe [Ec2Configuration] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe LaunchTemplateSpecification -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe [Text] -> Maybe (HashMap Text Text) -> Maybe CRType -> Maybe Bool -> ComputeResourceUpdate
+ Amazonka.Batch.Types.ComputeResourceUpdate: [$sel:allocationStrategy:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe CRUpdateAllocationStrategy
+ Amazonka.Batch.Types.ComputeResourceUpdate: [$sel:bidPercentage:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe Int
+ Amazonka.Batch.Types.ComputeResourceUpdate: [$sel:desiredvCpus:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe Int
+ Amazonka.Batch.Types.ComputeResourceUpdate: [$sel:ec2Configuration:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe [Ec2Configuration]
+ Amazonka.Batch.Types.ComputeResourceUpdate: [$sel:ec2KeyPair:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe Text
+ Amazonka.Batch.Types.ComputeResourceUpdate: [$sel:imageId:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe Text
+ Amazonka.Batch.Types.ComputeResourceUpdate: [$sel:instanceRole:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe Text
+ Amazonka.Batch.Types.ComputeResourceUpdate: [$sel:instanceTypes:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe [Text]
+ Amazonka.Batch.Types.ComputeResourceUpdate: [$sel:launchTemplate:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe LaunchTemplateSpecification
+ Amazonka.Batch.Types.ComputeResourceUpdate: [$sel:maxvCpus:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe Int
+ Amazonka.Batch.Types.ComputeResourceUpdate: [$sel:minvCpus:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe Int
+ Amazonka.Batch.Types.ComputeResourceUpdate: [$sel:placementGroup:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe Text
+ Amazonka.Batch.Types.ComputeResourceUpdate: [$sel:securityGroupIds:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe [Text]
+ Amazonka.Batch.Types.ComputeResourceUpdate: [$sel:subnets:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe [Text]
+ Amazonka.Batch.Types.ComputeResourceUpdate: [$sel:tags:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe (HashMap Text Text)
+ Amazonka.Batch.Types.ComputeResourceUpdate: [$sel:type':ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe CRType
+ Amazonka.Batch.Types.ComputeResourceUpdate: [$sel:updateToLatestImageVersion:ComputeResourceUpdate'] :: ComputeResourceUpdate -> Maybe Bool
+ Amazonka.Batch.Types.ComputeResourceUpdate: computeResourceUpdate_allocationStrategy :: Lens' ComputeResourceUpdate (Maybe CRUpdateAllocationStrategy)
+ Amazonka.Batch.Types.ComputeResourceUpdate: computeResourceUpdate_bidPercentage :: Lens' ComputeResourceUpdate (Maybe Int)
+ Amazonka.Batch.Types.ComputeResourceUpdate: computeResourceUpdate_desiredvCpus :: Lens' ComputeResourceUpdate (Maybe Int)
+ Amazonka.Batch.Types.ComputeResourceUpdate: computeResourceUpdate_ec2Configuration :: Lens' ComputeResourceUpdate (Maybe [Ec2Configuration])
+ Amazonka.Batch.Types.ComputeResourceUpdate: computeResourceUpdate_ec2KeyPair :: Lens' ComputeResourceUpdate (Maybe Text)
+ Amazonka.Batch.Types.ComputeResourceUpdate: computeResourceUpdate_imageId :: Lens' ComputeResourceUpdate (Maybe Text)
+ Amazonka.Batch.Types.ComputeResourceUpdate: computeResourceUpdate_instanceRole :: Lens' ComputeResourceUpdate (Maybe Text)
+ Amazonka.Batch.Types.ComputeResourceUpdate: computeResourceUpdate_instanceTypes :: Lens' ComputeResourceUpdate (Maybe [Text])
+ Amazonka.Batch.Types.ComputeResourceUpdate: computeResourceUpdate_launchTemplate :: Lens' ComputeResourceUpdate (Maybe LaunchTemplateSpecification)
+ Amazonka.Batch.Types.ComputeResourceUpdate: computeResourceUpdate_maxvCpus :: Lens' ComputeResourceUpdate (Maybe Int)
+ Amazonka.Batch.Types.ComputeResourceUpdate: computeResourceUpdate_minvCpus :: Lens' ComputeResourceUpdate (Maybe Int)
+ Amazonka.Batch.Types.ComputeResourceUpdate: computeResourceUpdate_placementGroup :: Lens' ComputeResourceUpdate (Maybe Text)
+ Amazonka.Batch.Types.ComputeResourceUpdate: computeResourceUpdate_securityGroupIds :: Lens' ComputeResourceUpdate (Maybe [Text])
+ Amazonka.Batch.Types.ComputeResourceUpdate: computeResourceUpdate_subnets :: Lens' ComputeResourceUpdate (Maybe [Text])
+ Amazonka.Batch.Types.ComputeResourceUpdate: computeResourceUpdate_tags :: Lens' ComputeResourceUpdate (Maybe (HashMap Text Text))
+ Amazonka.Batch.Types.ComputeResourceUpdate: computeResourceUpdate_type :: Lens' ComputeResourceUpdate (Maybe CRType)
+ Amazonka.Batch.Types.ComputeResourceUpdate: computeResourceUpdate_updateToLatestImageVersion :: Lens' ComputeResourceUpdate (Maybe Bool)
+ Amazonka.Batch.Types.ComputeResourceUpdate: data ComputeResourceUpdate
+ Amazonka.Batch.Types.ComputeResourceUpdate: instance Control.DeepSeq.NFData Amazonka.Batch.Types.ComputeResourceUpdate.ComputeResourceUpdate
+ Amazonka.Batch.Types.ComputeResourceUpdate: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.ComputeResourceUpdate.ComputeResourceUpdate
+ Amazonka.Batch.Types.ComputeResourceUpdate: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.ComputeResourceUpdate.ComputeResourceUpdate
+ Amazonka.Batch.Types.ComputeResourceUpdate: instance GHC.Classes.Eq Amazonka.Batch.Types.ComputeResourceUpdate.ComputeResourceUpdate
+ Amazonka.Batch.Types.ComputeResourceUpdate: instance GHC.Generics.Generic Amazonka.Batch.Types.ComputeResourceUpdate.ComputeResourceUpdate
+ Amazonka.Batch.Types.ComputeResourceUpdate: instance GHC.Read.Read Amazonka.Batch.Types.ComputeResourceUpdate.ComputeResourceUpdate
+ Amazonka.Batch.Types.ComputeResourceUpdate: instance GHC.Show.Show Amazonka.Batch.Types.ComputeResourceUpdate.ComputeResourceUpdate
+ Amazonka.Batch.Types.ComputeResourceUpdate: newComputeResourceUpdate :: ComputeResourceUpdate
+ Amazonka.Batch.Types.ContainerDetail: ContainerDetail' :: Maybe [Text] -> Maybe Text -> Maybe [KeyValuePair] -> Maybe Text -> Maybe Int -> Maybe FargatePlatformConfiguration -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe LinuxParameters -> Maybe LogConfiguration -> Maybe Text -> Maybe Int -> Maybe [MountPoint] -> Maybe NetworkConfiguration -> Maybe [NetworkInterface] -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe [ResourceRequirement] -> Maybe [Secret] -> Maybe Text -> Maybe [Ulimit] -> Maybe Text -> Maybe Int -> Maybe [Volume] -> ContainerDetail
+ Amazonka.Batch.Types.ContainerDetail: [$sel:command:ContainerDetail'] :: ContainerDetail -> Maybe [Text]
+ Amazonka.Batch.Types.ContainerDetail: [$sel:containerInstanceArn:ContainerDetail'] :: ContainerDetail -> Maybe Text
+ Amazonka.Batch.Types.ContainerDetail: [$sel:environment:ContainerDetail'] :: ContainerDetail -> Maybe [KeyValuePair]
+ Amazonka.Batch.Types.ContainerDetail: [$sel:executionRoleArn:ContainerDetail'] :: ContainerDetail -> Maybe Text
+ Amazonka.Batch.Types.ContainerDetail: [$sel:exitCode:ContainerDetail'] :: ContainerDetail -> Maybe Int
+ Amazonka.Batch.Types.ContainerDetail: [$sel:fargatePlatformConfiguration:ContainerDetail'] :: ContainerDetail -> Maybe FargatePlatformConfiguration
+ Amazonka.Batch.Types.ContainerDetail: [$sel:image:ContainerDetail'] :: ContainerDetail -> Maybe Text
+ Amazonka.Batch.Types.ContainerDetail: [$sel:instanceType:ContainerDetail'] :: ContainerDetail -> Maybe Text
+ Amazonka.Batch.Types.ContainerDetail: [$sel:jobRoleArn:ContainerDetail'] :: ContainerDetail -> Maybe Text
+ Amazonka.Batch.Types.ContainerDetail: [$sel:linuxParameters:ContainerDetail'] :: ContainerDetail -> Maybe LinuxParameters
+ Amazonka.Batch.Types.ContainerDetail: [$sel:logConfiguration:ContainerDetail'] :: ContainerDetail -> Maybe LogConfiguration
+ Amazonka.Batch.Types.ContainerDetail: [$sel:logStreamName:ContainerDetail'] :: ContainerDetail -> Maybe Text
+ Amazonka.Batch.Types.ContainerDetail: [$sel:memory:ContainerDetail'] :: ContainerDetail -> Maybe Int
+ Amazonka.Batch.Types.ContainerDetail: [$sel:mountPoints:ContainerDetail'] :: ContainerDetail -> Maybe [MountPoint]
+ Amazonka.Batch.Types.ContainerDetail: [$sel:networkConfiguration:ContainerDetail'] :: ContainerDetail -> Maybe NetworkConfiguration
+ Amazonka.Batch.Types.ContainerDetail: [$sel:networkInterfaces:ContainerDetail'] :: ContainerDetail -> Maybe [NetworkInterface]
+ Amazonka.Batch.Types.ContainerDetail: [$sel:privileged:ContainerDetail'] :: ContainerDetail -> Maybe Bool
+ Amazonka.Batch.Types.ContainerDetail: [$sel:readonlyRootFilesystem:ContainerDetail'] :: ContainerDetail -> Maybe Bool
+ Amazonka.Batch.Types.ContainerDetail: [$sel:reason:ContainerDetail'] :: ContainerDetail -> Maybe Text
+ Amazonka.Batch.Types.ContainerDetail: [$sel:resourceRequirements:ContainerDetail'] :: ContainerDetail -> Maybe [ResourceRequirement]
+ Amazonka.Batch.Types.ContainerDetail: [$sel:secrets:ContainerDetail'] :: ContainerDetail -> Maybe [Secret]
+ Amazonka.Batch.Types.ContainerDetail: [$sel:taskArn:ContainerDetail'] :: ContainerDetail -> Maybe Text
+ Amazonka.Batch.Types.ContainerDetail: [$sel:ulimits:ContainerDetail'] :: ContainerDetail -> Maybe [Ulimit]
+ Amazonka.Batch.Types.ContainerDetail: [$sel:user:ContainerDetail'] :: ContainerDetail -> Maybe Text
+ Amazonka.Batch.Types.ContainerDetail: [$sel:vcpus:ContainerDetail'] :: ContainerDetail -> Maybe Int
+ Amazonka.Batch.Types.ContainerDetail: [$sel:volumes:ContainerDetail'] :: ContainerDetail -> Maybe [Volume]
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_command :: Lens' ContainerDetail (Maybe [Text])
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_containerInstanceArn :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_environment :: Lens' ContainerDetail (Maybe [KeyValuePair])
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_executionRoleArn :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_exitCode :: Lens' ContainerDetail (Maybe Int)
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_fargatePlatformConfiguration :: Lens' ContainerDetail (Maybe FargatePlatformConfiguration)
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_image :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_instanceType :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_jobRoleArn :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_linuxParameters :: Lens' ContainerDetail (Maybe LinuxParameters)
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_logConfiguration :: Lens' ContainerDetail (Maybe LogConfiguration)
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_logStreamName :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_memory :: Lens' ContainerDetail (Maybe Int)
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_mountPoints :: Lens' ContainerDetail (Maybe [MountPoint])
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_networkConfiguration :: Lens' ContainerDetail (Maybe NetworkConfiguration)
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_networkInterfaces :: Lens' ContainerDetail (Maybe [NetworkInterface])
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_privileged :: Lens' ContainerDetail (Maybe Bool)
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_readonlyRootFilesystem :: Lens' ContainerDetail (Maybe Bool)
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_reason :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_resourceRequirements :: Lens' ContainerDetail (Maybe [ResourceRequirement])
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_secrets :: Lens' ContainerDetail (Maybe [Secret])
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_taskArn :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_ulimits :: Lens' ContainerDetail (Maybe [Ulimit])
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_user :: Lens' ContainerDetail (Maybe Text)
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_vcpus :: Lens' ContainerDetail (Maybe Int)
+ Amazonka.Batch.Types.ContainerDetail: containerDetail_volumes :: Lens' ContainerDetail (Maybe [Volume])
+ Amazonka.Batch.Types.ContainerDetail: data ContainerDetail
+ Amazonka.Batch.Types.ContainerDetail: instance Control.DeepSeq.NFData Amazonka.Batch.Types.ContainerDetail.ContainerDetail
+ Amazonka.Batch.Types.ContainerDetail: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.ContainerDetail.ContainerDetail
+ Amazonka.Batch.Types.ContainerDetail: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.ContainerDetail.ContainerDetail
+ Amazonka.Batch.Types.ContainerDetail: instance GHC.Classes.Eq Amazonka.Batch.Types.ContainerDetail.ContainerDetail
+ Amazonka.Batch.Types.ContainerDetail: instance GHC.Generics.Generic Amazonka.Batch.Types.ContainerDetail.ContainerDetail
+ Amazonka.Batch.Types.ContainerDetail: instance GHC.Read.Read Amazonka.Batch.Types.ContainerDetail.ContainerDetail
+ Amazonka.Batch.Types.ContainerDetail: instance GHC.Show.Show Amazonka.Batch.Types.ContainerDetail.ContainerDetail
+ Amazonka.Batch.Types.ContainerDetail: newContainerDetail :: ContainerDetail
+ Amazonka.Batch.Types.ContainerOverrides: ContainerOverrides' :: Maybe [Text] -> Maybe [KeyValuePair] -> Maybe Text -> Maybe Int -> Maybe [ResourceRequirement] -> Maybe Int -> ContainerOverrides
+ Amazonka.Batch.Types.ContainerOverrides: [$sel:command:ContainerOverrides'] :: ContainerOverrides -> Maybe [Text]
+ Amazonka.Batch.Types.ContainerOverrides: [$sel:environment:ContainerOverrides'] :: ContainerOverrides -> Maybe [KeyValuePair]
+ Amazonka.Batch.Types.ContainerOverrides: [$sel:instanceType:ContainerOverrides'] :: ContainerOverrides -> Maybe Text
+ Amazonka.Batch.Types.ContainerOverrides: [$sel:memory:ContainerOverrides'] :: ContainerOverrides -> Maybe Int
+ Amazonka.Batch.Types.ContainerOverrides: [$sel:resourceRequirements:ContainerOverrides'] :: ContainerOverrides -> Maybe [ResourceRequirement]
+ Amazonka.Batch.Types.ContainerOverrides: [$sel:vcpus:ContainerOverrides'] :: ContainerOverrides -> Maybe Int
+ Amazonka.Batch.Types.ContainerOverrides: containerOverrides_command :: Lens' ContainerOverrides (Maybe [Text])
+ Amazonka.Batch.Types.ContainerOverrides: containerOverrides_environment :: Lens' ContainerOverrides (Maybe [KeyValuePair])
+ Amazonka.Batch.Types.ContainerOverrides: containerOverrides_instanceType :: Lens' ContainerOverrides (Maybe Text)
+ Amazonka.Batch.Types.ContainerOverrides: containerOverrides_memory :: Lens' ContainerOverrides (Maybe Int)
+ Amazonka.Batch.Types.ContainerOverrides: containerOverrides_resourceRequirements :: Lens' ContainerOverrides (Maybe [ResourceRequirement])
+ Amazonka.Batch.Types.ContainerOverrides: containerOverrides_vcpus :: Lens' ContainerOverrides (Maybe Int)
+ Amazonka.Batch.Types.ContainerOverrides: data ContainerOverrides
+ Amazonka.Batch.Types.ContainerOverrides: instance Control.DeepSeq.NFData Amazonka.Batch.Types.ContainerOverrides.ContainerOverrides
+ Amazonka.Batch.Types.ContainerOverrides: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.ContainerOverrides.ContainerOverrides
+ Amazonka.Batch.Types.ContainerOverrides: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.ContainerOverrides.ContainerOverrides
+ Amazonka.Batch.Types.ContainerOverrides: instance GHC.Classes.Eq Amazonka.Batch.Types.ContainerOverrides.ContainerOverrides
+ Amazonka.Batch.Types.ContainerOverrides: instance GHC.Generics.Generic Amazonka.Batch.Types.ContainerOverrides.ContainerOverrides
+ Amazonka.Batch.Types.ContainerOverrides: instance GHC.Read.Read Amazonka.Batch.Types.ContainerOverrides.ContainerOverrides
+ Amazonka.Batch.Types.ContainerOverrides: instance GHC.Show.Show Amazonka.Batch.Types.ContainerOverrides.ContainerOverrides
+ Amazonka.Batch.Types.ContainerOverrides: newContainerOverrides :: ContainerOverrides
+ Amazonka.Batch.Types.ContainerProperties: ContainerProperties' :: Maybe [Text] -> Maybe [KeyValuePair] -> Maybe Text -> Maybe FargatePlatformConfiguration -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe LinuxParameters -> Maybe LogConfiguration -> Maybe Int -> Maybe [MountPoint] -> Maybe NetworkConfiguration -> Maybe Bool -> Maybe Bool -> Maybe [ResourceRequirement] -> Maybe [Secret] -> Maybe [Ulimit] -> Maybe Text -> Maybe Int -> Maybe [Volume] -> ContainerProperties
+ Amazonka.Batch.Types.ContainerProperties: [$sel:command:ContainerProperties'] :: ContainerProperties -> Maybe [Text]
+ Amazonka.Batch.Types.ContainerProperties: [$sel:environment:ContainerProperties'] :: ContainerProperties -> Maybe [KeyValuePair]
+ Amazonka.Batch.Types.ContainerProperties: [$sel:executionRoleArn:ContainerProperties'] :: ContainerProperties -> Maybe Text
+ Amazonka.Batch.Types.ContainerProperties: [$sel:fargatePlatformConfiguration:ContainerProperties'] :: ContainerProperties -> Maybe FargatePlatformConfiguration
+ Amazonka.Batch.Types.ContainerProperties: [$sel:image:ContainerProperties'] :: ContainerProperties -> Maybe Text
+ Amazonka.Batch.Types.ContainerProperties: [$sel:instanceType:ContainerProperties'] :: ContainerProperties -> Maybe Text
+ Amazonka.Batch.Types.ContainerProperties: [$sel:jobRoleArn:ContainerProperties'] :: ContainerProperties -> Maybe Text
+ Amazonka.Batch.Types.ContainerProperties: [$sel:linuxParameters:ContainerProperties'] :: ContainerProperties -> Maybe LinuxParameters
+ Amazonka.Batch.Types.ContainerProperties: [$sel:logConfiguration:ContainerProperties'] :: ContainerProperties -> Maybe LogConfiguration
+ Amazonka.Batch.Types.ContainerProperties: [$sel:memory:ContainerProperties'] :: ContainerProperties -> Maybe Int
+ Amazonka.Batch.Types.ContainerProperties: [$sel:mountPoints:ContainerProperties'] :: ContainerProperties -> Maybe [MountPoint]
+ Amazonka.Batch.Types.ContainerProperties: [$sel:networkConfiguration:ContainerProperties'] :: ContainerProperties -> Maybe NetworkConfiguration
+ Amazonka.Batch.Types.ContainerProperties: [$sel:privileged:ContainerProperties'] :: ContainerProperties -> Maybe Bool
+ Amazonka.Batch.Types.ContainerProperties: [$sel:readonlyRootFilesystem:ContainerProperties'] :: ContainerProperties -> Maybe Bool
+ Amazonka.Batch.Types.ContainerProperties: [$sel:resourceRequirements:ContainerProperties'] :: ContainerProperties -> Maybe [ResourceRequirement]
+ Amazonka.Batch.Types.ContainerProperties: [$sel:secrets:ContainerProperties'] :: ContainerProperties -> Maybe [Secret]
+ Amazonka.Batch.Types.ContainerProperties: [$sel:ulimits:ContainerProperties'] :: ContainerProperties -> Maybe [Ulimit]
+ Amazonka.Batch.Types.ContainerProperties: [$sel:user:ContainerProperties'] :: ContainerProperties -> Maybe Text
+ Amazonka.Batch.Types.ContainerProperties: [$sel:vcpus:ContainerProperties'] :: ContainerProperties -> Maybe Int
+ Amazonka.Batch.Types.ContainerProperties: [$sel:volumes:ContainerProperties'] :: ContainerProperties -> Maybe [Volume]
+ Amazonka.Batch.Types.ContainerProperties: containerProperties_command :: Lens' ContainerProperties (Maybe [Text])
+ Amazonka.Batch.Types.ContainerProperties: containerProperties_environment :: Lens' ContainerProperties (Maybe [KeyValuePair])
+ Amazonka.Batch.Types.ContainerProperties: containerProperties_executionRoleArn :: Lens' ContainerProperties (Maybe Text)
+ Amazonka.Batch.Types.ContainerProperties: containerProperties_fargatePlatformConfiguration :: Lens' ContainerProperties (Maybe FargatePlatformConfiguration)
+ Amazonka.Batch.Types.ContainerProperties: containerProperties_image :: Lens' ContainerProperties (Maybe Text)
+ Amazonka.Batch.Types.ContainerProperties: containerProperties_instanceType :: Lens' ContainerProperties (Maybe Text)
+ Amazonka.Batch.Types.ContainerProperties: containerProperties_jobRoleArn :: Lens' ContainerProperties (Maybe Text)
+ Amazonka.Batch.Types.ContainerProperties: containerProperties_linuxParameters :: Lens' ContainerProperties (Maybe LinuxParameters)
+ Amazonka.Batch.Types.ContainerProperties: containerProperties_logConfiguration :: Lens' ContainerProperties (Maybe LogConfiguration)
+ Amazonka.Batch.Types.ContainerProperties: containerProperties_memory :: Lens' ContainerProperties (Maybe Int)
+ Amazonka.Batch.Types.ContainerProperties: containerProperties_mountPoints :: Lens' ContainerProperties (Maybe [MountPoint])
+ Amazonka.Batch.Types.ContainerProperties: containerProperties_networkConfiguration :: Lens' ContainerProperties (Maybe NetworkConfiguration)
+ Amazonka.Batch.Types.ContainerProperties: containerProperties_privileged :: Lens' ContainerProperties (Maybe Bool)
+ Amazonka.Batch.Types.ContainerProperties: containerProperties_readonlyRootFilesystem :: Lens' ContainerProperties (Maybe Bool)
+ Amazonka.Batch.Types.ContainerProperties: containerProperties_resourceRequirements :: Lens' ContainerProperties (Maybe [ResourceRequirement])
+ Amazonka.Batch.Types.ContainerProperties: containerProperties_secrets :: Lens' ContainerProperties (Maybe [Secret])
+ Amazonka.Batch.Types.ContainerProperties: containerProperties_ulimits :: Lens' ContainerProperties (Maybe [Ulimit])
+ Amazonka.Batch.Types.ContainerProperties: containerProperties_user :: Lens' ContainerProperties (Maybe Text)
+ Amazonka.Batch.Types.ContainerProperties: containerProperties_vcpus :: Lens' ContainerProperties (Maybe Int)
+ Amazonka.Batch.Types.ContainerProperties: containerProperties_volumes :: Lens' ContainerProperties (Maybe [Volume])
+ Amazonka.Batch.Types.ContainerProperties: data ContainerProperties
+ Amazonka.Batch.Types.ContainerProperties: instance Control.DeepSeq.NFData Amazonka.Batch.Types.ContainerProperties.ContainerProperties
+ Amazonka.Batch.Types.ContainerProperties: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.ContainerProperties.ContainerProperties
+ Amazonka.Batch.Types.ContainerProperties: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.ContainerProperties.ContainerProperties
+ Amazonka.Batch.Types.ContainerProperties: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.ContainerProperties.ContainerProperties
+ Amazonka.Batch.Types.ContainerProperties: instance GHC.Classes.Eq Amazonka.Batch.Types.ContainerProperties.ContainerProperties
+ Amazonka.Batch.Types.ContainerProperties: instance GHC.Generics.Generic Amazonka.Batch.Types.ContainerProperties.ContainerProperties
+ Amazonka.Batch.Types.ContainerProperties: instance GHC.Read.Read Amazonka.Batch.Types.ContainerProperties.ContainerProperties
+ Amazonka.Batch.Types.ContainerProperties: instance GHC.Show.Show Amazonka.Batch.Types.ContainerProperties.ContainerProperties
+ Amazonka.Batch.Types.ContainerProperties: newContainerProperties :: ContainerProperties
+ Amazonka.Batch.Types.ContainerSummary: ContainerSummary' :: Maybe Int -> Maybe Text -> ContainerSummary
+ Amazonka.Batch.Types.ContainerSummary: [$sel:exitCode:ContainerSummary'] :: ContainerSummary -> Maybe Int
+ Amazonka.Batch.Types.ContainerSummary: [$sel:reason:ContainerSummary'] :: ContainerSummary -> Maybe Text
+ Amazonka.Batch.Types.ContainerSummary: containerSummary_exitCode :: Lens' ContainerSummary (Maybe Int)
+ Amazonka.Batch.Types.ContainerSummary: containerSummary_reason :: Lens' ContainerSummary (Maybe Text)
+ Amazonka.Batch.Types.ContainerSummary: data ContainerSummary
+ Amazonka.Batch.Types.ContainerSummary: instance Control.DeepSeq.NFData Amazonka.Batch.Types.ContainerSummary.ContainerSummary
+ Amazonka.Batch.Types.ContainerSummary: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.ContainerSummary.ContainerSummary
+ Amazonka.Batch.Types.ContainerSummary: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.ContainerSummary.ContainerSummary
+ Amazonka.Batch.Types.ContainerSummary: instance GHC.Classes.Eq Amazonka.Batch.Types.ContainerSummary.ContainerSummary
+ Amazonka.Batch.Types.ContainerSummary: instance GHC.Generics.Generic Amazonka.Batch.Types.ContainerSummary.ContainerSummary
+ Amazonka.Batch.Types.ContainerSummary: instance GHC.Read.Read Amazonka.Batch.Types.ContainerSummary.ContainerSummary
+ Amazonka.Batch.Types.ContainerSummary: instance GHC.Show.Show Amazonka.Batch.Types.ContainerSummary.ContainerSummary
+ Amazonka.Batch.Types.ContainerSummary: newContainerSummary :: ContainerSummary
+ Amazonka.Batch.Types.Device: Device' :: Maybe Text -> Maybe [DeviceCgroupPermission] -> Text -> Device
+ Amazonka.Batch.Types.Device: [$sel:containerPath:Device'] :: Device -> Maybe Text
+ Amazonka.Batch.Types.Device: [$sel:hostPath:Device'] :: Device -> Text
+ Amazonka.Batch.Types.Device: [$sel:permissions:Device'] :: Device -> Maybe [DeviceCgroupPermission]
+ Amazonka.Batch.Types.Device: data Device
+ Amazonka.Batch.Types.Device: device_containerPath :: Lens' Device (Maybe Text)
+ Amazonka.Batch.Types.Device: device_hostPath :: Lens' Device Text
+ Amazonka.Batch.Types.Device: device_permissions :: Lens' Device (Maybe [DeviceCgroupPermission])
+ Amazonka.Batch.Types.Device: instance Control.DeepSeq.NFData Amazonka.Batch.Types.Device.Device
+ Amazonka.Batch.Types.Device: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.Device.Device
+ Amazonka.Batch.Types.Device: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.Device.Device
+ Amazonka.Batch.Types.Device: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.Device.Device
+ Amazonka.Batch.Types.Device: instance GHC.Classes.Eq Amazonka.Batch.Types.Device.Device
+ Amazonka.Batch.Types.Device: instance GHC.Generics.Generic Amazonka.Batch.Types.Device.Device
+ Amazonka.Batch.Types.Device: instance GHC.Read.Read Amazonka.Batch.Types.Device.Device
+ Amazonka.Batch.Types.Device: instance GHC.Show.Show Amazonka.Batch.Types.Device.Device
+ Amazonka.Batch.Types.Device: newDevice :: Text -> Device
+ Amazonka.Batch.Types.DeviceCgroupPermission: DeviceCgroupPermission' :: Text -> DeviceCgroupPermission
+ Amazonka.Batch.Types.DeviceCgroupPermission: [fromDeviceCgroupPermission] :: DeviceCgroupPermission -> Text
+ Amazonka.Batch.Types.DeviceCgroupPermission: instance Amazonka.Data.ByteString.ToByteString Amazonka.Batch.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.Batch.Types.DeviceCgroupPermission: instance Amazonka.Data.Headers.ToHeader Amazonka.Batch.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.Batch.Types.DeviceCgroupPermission: instance Amazonka.Data.Log.ToLog Amazonka.Batch.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.Batch.Types.DeviceCgroupPermission: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.Batch.Types.DeviceCgroupPermission: instance Amazonka.Data.Text.FromText Amazonka.Batch.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.Batch.Types.DeviceCgroupPermission: instance Amazonka.Data.Text.ToText Amazonka.Batch.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.Batch.Types.DeviceCgroupPermission: instance Amazonka.Data.XML.FromXML Amazonka.Batch.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.Batch.Types.DeviceCgroupPermission: instance Amazonka.Data.XML.ToXML Amazonka.Batch.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.Batch.Types.DeviceCgroupPermission: instance Control.DeepSeq.NFData Amazonka.Batch.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.Batch.Types.DeviceCgroupPermission: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.Batch.Types.DeviceCgroupPermission: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Batch.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.Batch.Types.DeviceCgroupPermission: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.Batch.Types.DeviceCgroupPermission: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Batch.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.Batch.Types.DeviceCgroupPermission: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.Batch.Types.DeviceCgroupPermission: instance GHC.Classes.Eq Amazonka.Batch.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.Batch.Types.DeviceCgroupPermission: instance GHC.Classes.Ord Amazonka.Batch.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.Batch.Types.DeviceCgroupPermission: instance GHC.Generics.Generic Amazonka.Batch.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.Batch.Types.DeviceCgroupPermission: instance GHC.Read.Read Amazonka.Batch.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.Batch.Types.DeviceCgroupPermission: instance GHC.Show.Show Amazonka.Batch.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.Batch.Types.DeviceCgroupPermission: newtype DeviceCgroupPermission
+ Amazonka.Batch.Types.DeviceCgroupPermission: pattern DeviceCgroupPermission_MKNOD :: DeviceCgroupPermission
+ Amazonka.Batch.Types.DeviceCgroupPermission: pattern DeviceCgroupPermission_READ :: DeviceCgroupPermission
+ Amazonka.Batch.Types.DeviceCgroupPermission: pattern DeviceCgroupPermission_WRITE :: DeviceCgroupPermission
+ Amazonka.Batch.Types.EFSAuthorizationConfig: EFSAuthorizationConfig' :: Maybe Text -> Maybe EFSAuthorizationConfigIAM -> EFSAuthorizationConfig
+ Amazonka.Batch.Types.EFSAuthorizationConfig: [$sel:accessPointId:EFSAuthorizationConfig'] :: EFSAuthorizationConfig -> Maybe Text
+ Amazonka.Batch.Types.EFSAuthorizationConfig: [$sel:iam:EFSAuthorizationConfig'] :: EFSAuthorizationConfig -> Maybe EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types.EFSAuthorizationConfig: data EFSAuthorizationConfig
+ Amazonka.Batch.Types.EFSAuthorizationConfig: eFSAuthorizationConfig_accessPointId :: Lens' EFSAuthorizationConfig (Maybe Text)
+ Amazonka.Batch.Types.EFSAuthorizationConfig: eFSAuthorizationConfig_iam :: Lens' EFSAuthorizationConfig (Maybe EFSAuthorizationConfigIAM)
+ Amazonka.Batch.Types.EFSAuthorizationConfig: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EFSAuthorizationConfig.EFSAuthorizationConfig
+ Amazonka.Batch.Types.EFSAuthorizationConfig: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.EFSAuthorizationConfig.EFSAuthorizationConfig
+ Amazonka.Batch.Types.EFSAuthorizationConfig: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.EFSAuthorizationConfig.EFSAuthorizationConfig
+ Amazonka.Batch.Types.EFSAuthorizationConfig: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EFSAuthorizationConfig.EFSAuthorizationConfig
+ Amazonka.Batch.Types.EFSAuthorizationConfig: instance GHC.Classes.Eq Amazonka.Batch.Types.EFSAuthorizationConfig.EFSAuthorizationConfig
+ Amazonka.Batch.Types.EFSAuthorizationConfig: instance GHC.Generics.Generic Amazonka.Batch.Types.EFSAuthorizationConfig.EFSAuthorizationConfig
+ Amazonka.Batch.Types.EFSAuthorizationConfig: instance GHC.Read.Read Amazonka.Batch.Types.EFSAuthorizationConfig.EFSAuthorizationConfig
+ Amazonka.Batch.Types.EFSAuthorizationConfig: instance GHC.Show.Show Amazonka.Batch.Types.EFSAuthorizationConfig.EFSAuthorizationConfig
+ Amazonka.Batch.Types.EFSAuthorizationConfig: newEFSAuthorizationConfig :: EFSAuthorizationConfig
+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM: EFSAuthorizationConfigIAM' :: Text -> EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM: [fromEFSAuthorizationConfigIAM] :: EFSAuthorizationConfigIAM -> Text
+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM: instance Amazonka.Data.ByteString.ToByteString Amazonka.Batch.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM: instance Amazonka.Data.Headers.ToHeader Amazonka.Batch.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM: instance Amazonka.Data.Log.ToLog Amazonka.Batch.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM: instance Amazonka.Data.Text.FromText Amazonka.Batch.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM: instance Amazonka.Data.Text.ToText Amazonka.Batch.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM: instance Amazonka.Data.XML.FromXML Amazonka.Batch.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM: instance Amazonka.Data.XML.ToXML Amazonka.Batch.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Batch.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Batch.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM: instance GHC.Classes.Eq Amazonka.Batch.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM: instance GHC.Classes.Ord Amazonka.Batch.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM: instance GHC.Generics.Generic Amazonka.Batch.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM: instance GHC.Read.Read Amazonka.Batch.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM: instance GHC.Show.Show Amazonka.Batch.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM: newtype EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM: pattern EFSAuthorizationConfigIAM_DISABLED :: EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM: pattern EFSAuthorizationConfigIAM_ENABLED :: EFSAuthorizationConfigIAM
+ Amazonka.Batch.Types.EFSTransitEncryption: EFSTransitEncryption' :: Text -> EFSTransitEncryption
+ Amazonka.Batch.Types.EFSTransitEncryption: [fromEFSTransitEncryption] :: EFSTransitEncryption -> Text
+ Amazonka.Batch.Types.EFSTransitEncryption: instance Amazonka.Data.ByteString.ToByteString Amazonka.Batch.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.Batch.Types.EFSTransitEncryption: instance Amazonka.Data.Headers.ToHeader Amazonka.Batch.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.Batch.Types.EFSTransitEncryption: instance Amazonka.Data.Log.ToLog Amazonka.Batch.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.Batch.Types.EFSTransitEncryption: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.Batch.Types.EFSTransitEncryption: instance Amazonka.Data.Text.FromText Amazonka.Batch.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.Batch.Types.EFSTransitEncryption: instance Amazonka.Data.Text.ToText Amazonka.Batch.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.Batch.Types.EFSTransitEncryption: instance Amazonka.Data.XML.FromXML Amazonka.Batch.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.Batch.Types.EFSTransitEncryption: instance Amazonka.Data.XML.ToXML Amazonka.Batch.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.Batch.Types.EFSTransitEncryption: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.Batch.Types.EFSTransitEncryption: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.Batch.Types.EFSTransitEncryption: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Batch.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.Batch.Types.EFSTransitEncryption: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.Batch.Types.EFSTransitEncryption: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Batch.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.Batch.Types.EFSTransitEncryption: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.Batch.Types.EFSTransitEncryption: instance GHC.Classes.Eq Amazonka.Batch.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.Batch.Types.EFSTransitEncryption: instance GHC.Classes.Ord Amazonka.Batch.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.Batch.Types.EFSTransitEncryption: instance GHC.Generics.Generic Amazonka.Batch.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.Batch.Types.EFSTransitEncryption: instance GHC.Read.Read Amazonka.Batch.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.Batch.Types.EFSTransitEncryption: instance GHC.Show.Show Amazonka.Batch.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.Batch.Types.EFSTransitEncryption: newtype EFSTransitEncryption
+ Amazonka.Batch.Types.EFSTransitEncryption: pattern EFSTransitEncryption_DISABLED :: EFSTransitEncryption
+ Amazonka.Batch.Types.EFSTransitEncryption: pattern EFSTransitEncryption_ENABLED :: EFSTransitEncryption
+ Amazonka.Batch.Types.EFSVolumeConfiguration: EFSVolumeConfiguration' :: Maybe EFSAuthorizationConfig -> Maybe Text -> Maybe EFSTransitEncryption -> Maybe Int -> Text -> EFSVolumeConfiguration
+ Amazonka.Batch.Types.EFSVolumeConfiguration: [$sel:authorizationConfig:EFSVolumeConfiguration'] :: EFSVolumeConfiguration -> Maybe EFSAuthorizationConfig
+ Amazonka.Batch.Types.EFSVolumeConfiguration: [$sel:fileSystemId:EFSVolumeConfiguration'] :: EFSVolumeConfiguration -> Text
+ Amazonka.Batch.Types.EFSVolumeConfiguration: [$sel:rootDirectory:EFSVolumeConfiguration'] :: EFSVolumeConfiguration -> Maybe Text
+ Amazonka.Batch.Types.EFSVolumeConfiguration: [$sel:transitEncryption:EFSVolumeConfiguration'] :: EFSVolumeConfiguration -> Maybe EFSTransitEncryption
+ Amazonka.Batch.Types.EFSVolumeConfiguration: [$sel:transitEncryptionPort:EFSVolumeConfiguration'] :: EFSVolumeConfiguration -> Maybe Int
+ Amazonka.Batch.Types.EFSVolumeConfiguration: data EFSVolumeConfiguration
+ Amazonka.Batch.Types.EFSVolumeConfiguration: eFSVolumeConfiguration_authorizationConfig :: Lens' EFSVolumeConfiguration (Maybe EFSAuthorizationConfig)
+ Amazonka.Batch.Types.EFSVolumeConfiguration: eFSVolumeConfiguration_fileSystemId :: Lens' EFSVolumeConfiguration Text
+ Amazonka.Batch.Types.EFSVolumeConfiguration: eFSVolumeConfiguration_rootDirectory :: Lens' EFSVolumeConfiguration (Maybe Text)
+ Amazonka.Batch.Types.EFSVolumeConfiguration: eFSVolumeConfiguration_transitEncryption :: Lens' EFSVolumeConfiguration (Maybe EFSTransitEncryption)
+ Amazonka.Batch.Types.EFSVolumeConfiguration: eFSVolumeConfiguration_transitEncryptionPort :: Lens' EFSVolumeConfiguration (Maybe Int)
+ Amazonka.Batch.Types.EFSVolumeConfiguration: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EFSVolumeConfiguration.EFSVolumeConfiguration
+ Amazonka.Batch.Types.EFSVolumeConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.EFSVolumeConfiguration.EFSVolumeConfiguration
+ Amazonka.Batch.Types.EFSVolumeConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.EFSVolumeConfiguration.EFSVolumeConfiguration
+ Amazonka.Batch.Types.EFSVolumeConfiguration: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EFSVolumeConfiguration.EFSVolumeConfiguration
+ Amazonka.Batch.Types.EFSVolumeConfiguration: instance GHC.Classes.Eq Amazonka.Batch.Types.EFSVolumeConfiguration.EFSVolumeConfiguration
+ Amazonka.Batch.Types.EFSVolumeConfiguration: instance GHC.Generics.Generic Amazonka.Batch.Types.EFSVolumeConfiguration.EFSVolumeConfiguration
+ Amazonka.Batch.Types.EFSVolumeConfiguration: instance GHC.Read.Read Amazonka.Batch.Types.EFSVolumeConfiguration.EFSVolumeConfiguration
+ Amazonka.Batch.Types.EFSVolumeConfiguration: instance GHC.Show.Show Amazonka.Batch.Types.EFSVolumeConfiguration.EFSVolumeConfiguration
+ Amazonka.Batch.Types.EFSVolumeConfiguration: newEFSVolumeConfiguration :: Text -> EFSVolumeConfiguration
+ Amazonka.Batch.Types.Ec2Configuration: Ec2Configuration' :: Maybe Text -> Maybe Text -> Text -> Ec2Configuration
+ Amazonka.Batch.Types.Ec2Configuration: [$sel:imageIdOverride:Ec2Configuration'] :: Ec2Configuration -> Maybe Text
+ Amazonka.Batch.Types.Ec2Configuration: [$sel:imageKubernetesVersion:Ec2Configuration'] :: Ec2Configuration -> Maybe Text
+ Amazonka.Batch.Types.Ec2Configuration: [$sel:imageType:Ec2Configuration'] :: Ec2Configuration -> Text
+ Amazonka.Batch.Types.Ec2Configuration: data Ec2Configuration
+ Amazonka.Batch.Types.Ec2Configuration: ec2Configuration_imageIdOverride :: Lens' Ec2Configuration (Maybe Text)
+ Amazonka.Batch.Types.Ec2Configuration: ec2Configuration_imageKubernetesVersion :: Lens' Ec2Configuration (Maybe Text)
+ Amazonka.Batch.Types.Ec2Configuration: ec2Configuration_imageType :: Lens' Ec2Configuration Text
+ Amazonka.Batch.Types.Ec2Configuration: instance Control.DeepSeq.NFData Amazonka.Batch.Types.Ec2Configuration.Ec2Configuration
+ Amazonka.Batch.Types.Ec2Configuration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.Ec2Configuration.Ec2Configuration
+ Amazonka.Batch.Types.Ec2Configuration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.Ec2Configuration.Ec2Configuration
+ Amazonka.Batch.Types.Ec2Configuration: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.Ec2Configuration.Ec2Configuration
+ Amazonka.Batch.Types.Ec2Configuration: instance GHC.Classes.Eq Amazonka.Batch.Types.Ec2Configuration.Ec2Configuration
+ Amazonka.Batch.Types.Ec2Configuration: instance GHC.Generics.Generic Amazonka.Batch.Types.Ec2Configuration.Ec2Configuration
+ Amazonka.Batch.Types.Ec2Configuration: instance GHC.Read.Read Amazonka.Batch.Types.Ec2Configuration.Ec2Configuration
+ Amazonka.Batch.Types.Ec2Configuration: instance GHC.Show.Show Amazonka.Batch.Types.Ec2Configuration.Ec2Configuration
+ Amazonka.Batch.Types.Ec2Configuration: newEc2Configuration :: Text -> Ec2Configuration
+ Amazonka.Batch.Types.EksAttemptContainerDetail: EksAttemptContainerDetail' :: Maybe Int -> Maybe Text -> EksAttemptContainerDetail
+ Amazonka.Batch.Types.EksAttemptContainerDetail: [$sel:exitCode:EksAttemptContainerDetail'] :: EksAttemptContainerDetail -> Maybe Int
+ Amazonka.Batch.Types.EksAttemptContainerDetail: [$sel:reason:EksAttemptContainerDetail'] :: EksAttemptContainerDetail -> Maybe Text
+ Amazonka.Batch.Types.EksAttemptContainerDetail: data EksAttemptContainerDetail
+ Amazonka.Batch.Types.EksAttemptContainerDetail: eksAttemptContainerDetail_exitCode :: Lens' EksAttemptContainerDetail (Maybe Int)
+ Amazonka.Batch.Types.EksAttemptContainerDetail: eksAttemptContainerDetail_reason :: Lens' EksAttemptContainerDetail (Maybe Text)
+ Amazonka.Batch.Types.EksAttemptContainerDetail: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EksAttemptContainerDetail.EksAttemptContainerDetail
+ Amazonka.Batch.Types.EksAttemptContainerDetail: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.EksAttemptContainerDetail.EksAttemptContainerDetail
+ Amazonka.Batch.Types.EksAttemptContainerDetail: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EksAttemptContainerDetail.EksAttemptContainerDetail
+ Amazonka.Batch.Types.EksAttemptContainerDetail: instance GHC.Classes.Eq Amazonka.Batch.Types.EksAttemptContainerDetail.EksAttemptContainerDetail
+ Amazonka.Batch.Types.EksAttemptContainerDetail: instance GHC.Generics.Generic Amazonka.Batch.Types.EksAttemptContainerDetail.EksAttemptContainerDetail
+ Amazonka.Batch.Types.EksAttemptContainerDetail: instance GHC.Read.Read Amazonka.Batch.Types.EksAttemptContainerDetail.EksAttemptContainerDetail
+ Amazonka.Batch.Types.EksAttemptContainerDetail: instance GHC.Show.Show Amazonka.Batch.Types.EksAttemptContainerDetail.EksAttemptContainerDetail
+ Amazonka.Batch.Types.EksAttemptContainerDetail: newEksAttemptContainerDetail :: EksAttemptContainerDetail
+ Amazonka.Batch.Types.EksAttemptDetail: EksAttemptDetail' :: Maybe [EksAttemptContainerDetail] -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Integer -> EksAttemptDetail
+ Amazonka.Batch.Types.EksAttemptDetail: [$sel:containers:EksAttemptDetail'] :: EksAttemptDetail -> Maybe [EksAttemptContainerDetail]
+ Amazonka.Batch.Types.EksAttemptDetail: [$sel:nodeName:EksAttemptDetail'] :: EksAttemptDetail -> Maybe Text
+ Amazonka.Batch.Types.EksAttemptDetail: [$sel:podName:EksAttemptDetail'] :: EksAttemptDetail -> Maybe Text
+ Amazonka.Batch.Types.EksAttemptDetail: [$sel:startedAt:EksAttemptDetail'] :: EksAttemptDetail -> Maybe Integer
+ Amazonka.Batch.Types.EksAttemptDetail: [$sel:statusReason:EksAttemptDetail'] :: EksAttemptDetail -> Maybe Text
+ Amazonka.Batch.Types.EksAttemptDetail: [$sel:stoppedAt:EksAttemptDetail'] :: EksAttemptDetail -> Maybe Integer
+ Amazonka.Batch.Types.EksAttemptDetail: data EksAttemptDetail
+ Amazonka.Batch.Types.EksAttemptDetail: eksAttemptDetail_containers :: Lens' EksAttemptDetail (Maybe [EksAttemptContainerDetail])
+ Amazonka.Batch.Types.EksAttemptDetail: eksAttemptDetail_nodeName :: Lens' EksAttemptDetail (Maybe Text)
+ Amazonka.Batch.Types.EksAttemptDetail: eksAttemptDetail_podName :: Lens' EksAttemptDetail (Maybe Text)
+ Amazonka.Batch.Types.EksAttemptDetail: eksAttemptDetail_startedAt :: Lens' EksAttemptDetail (Maybe Integer)
+ Amazonka.Batch.Types.EksAttemptDetail: eksAttemptDetail_statusReason :: Lens' EksAttemptDetail (Maybe Text)
+ Amazonka.Batch.Types.EksAttemptDetail: eksAttemptDetail_stoppedAt :: Lens' EksAttemptDetail (Maybe Integer)
+ Amazonka.Batch.Types.EksAttemptDetail: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EksAttemptDetail.EksAttemptDetail
+ Amazonka.Batch.Types.EksAttemptDetail: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.EksAttemptDetail.EksAttemptDetail
+ Amazonka.Batch.Types.EksAttemptDetail: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EksAttemptDetail.EksAttemptDetail
+ Amazonka.Batch.Types.EksAttemptDetail: instance GHC.Classes.Eq Amazonka.Batch.Types.EksAttemptDetail.EksAttemptDetail
+ Amazonka.Batch.Types.EksAttemptDetail: instance GHC.Generics.Generic Amazonka.Batch.Types.EksAttemptDetail.EksAttemptDetail
+ Amazonka.Batch.Types.EksAttemptDetail: instance GHC.Read.Read Amazonka.Batch.Types.EksAttemptDetail.EksAttemptDetail
+ Amazonka.Batch.Types.EksAttemptDetail: instance GHC.Show.Show Amazonka.Batch.Types.EksAttemptDetail.EksAttemptDetail
+ Amazonka.Batch.Types.EksAttemptDetail: newEksAttemptDetail :: EksAttemptDetail
+ Amazonka.Batch.Types.EksConfiguration: EksConfiguration' :: Text -> Text -> EksConfiguration
+ Amazonka.Batch.Types.EksConfiguration: [$sel:eksClusterArn:EksConfiguration'] :: EksConfiguration -> Text
+ Amazonka.Batch.Types.EksConfiguration: [$sel:kubernetesNamespace:EksConfiguration'] :: EksConfiguration -> Text
+ Amazonka.Batch.Types.EksConfiguration: data EksConfiguration
+ Amazonka.Batch.Types.EksConfiguration: eksConfiguration_eksClusterArn :: Lens' EksConfiguration Text
+ Amazonka.Batch.Types.EksConfiguration: eksConfiguration_kubernetesNamespace :: Lens' EksConfiguration Text
+ Amazonka.Batch.Types.EksConfiguration: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EksConfiguration.EksConfiguration
+ Amazonka.Batch.Types.EksConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.EksConfiguration.EksConfiguration
+ Amazonka.Batch.Types.EksConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.EksConfiguration.EksConfiguration
+ Amazonka.Batch.Types.EksConfiguration: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EksConfiguration.EksConfiguration
+ Amazonka.Batch.Types.EksConfiguration: instance GHC.Classes.Eq Amazonka.Batch.Types.EksConfiguration.EksConfiguration
+ Amazonka.Batch.Types.EksConfiguration: instance GHC.Generics.Generic Amazonka.Batch.Types.EksConfiguration.EksConfiguration
+ Amazonka.Batch.Types.EksConfiguration: instance GHC.Read.Read Amazonka.Batch.Types.EksConfiguration.EksConfiguration
+ Amazonka.Batch.Types.EksConfiguration: instance GHC.Show.Show Amazonka.Batch.Types.EksConfiguration.EksConfiguration
+ Amazonka.Batch.Types.EksConfiguration: newEksConfiguration :: Text -> Text -> EksConfiguration
+ Amazonka.Batch.Types.EksContainer: EksContainer' :: Maybe [Text] -> Maybe [Text] -> Maybe [EksContainerEnvironmentVariable] -> Maybe Text -> Maybe Text -> Maybe EksContainerResourceRequirements -> Maybe EksContainerSecurityContext -> Maybe [EksContainerVolumeMount] -> Text -> EksContainer
+ Amazonka.Batch.Types.EksContainer: [$sel:args:EksContainer'] :: EksContainer -> Maybe [Text]
+ Amazonka.Batch.Types.EksContainer: [$sel:command:EksContainer'] :: EksContainer -> Maybe [Text]
+ Amazonka.Batch.Types.EksContainer: [$sel:env:EksContainer'] :: EksContainer -> Maybe [EksContainerEnvironmentVariable]
+ Amazonka.Batch.Types.EksContainer: [$sel:image:EksContainer'] :: EksContainer -> Text
+ Amazonka.Batch.Types.EksContainer: [$sel:imagePullPolicy:EksContainer'] :: EksContainer -> Maybe Text
+ Amazonka.Batch.Types.EksContainer: [$sel:name:EksContainer'] :: EksContainer -> Maybe Text
+ Amazonka.Batch.Types.EksContainer: [$sel:resources:EksContainer'] :: EksContainer -> Maybe EksContainerResourceRequirements
+ Amazonka.Batch.Types.EksContainer: [$sel:securityContext:EksContainer'] :: EksContainer -> Maybe EksContainerSecurityContext
+ Amazonka.Batch.Types.EksContainer: [$sel:volumeMounts:EksContainer'] :: EksContainer -> Maybe [EksContainerVolumeMount]
+ Amazonka.Batch.Types.EksContainer: data EksContainer
+ Amazonka.Batch.Types.EksContainer: eksContainer_args :: Lens' EksContainer (Maybe [Text])
+ Amazonka.Batch.Types.EksContainer: eksContainer_command :: Lens' EksContainer (Maybe [Text])
+ Amazonka.Batch.Types.EksContainer: eksContainer_env :: Lens' EksContainer (Maybe [EksContainerEnvironmentVariable])
+ Amazonka.Batch.Types.EksContainer: eksContainer_image :: Lens' EksContainer Text
+ Amazonka.Batch.Types.EksContainer: eksContainer_imagePullPolicy :: Lens' EksContainer (Maybe Text)
+ Amazonka.Batch.Types.EksContainer: eksContainer_name :: Lens' EksContainer (Maybe Text)
+ Amazonka.Batch.Types.EksContainer: eksContainer_resources :: Lens' EksContainer (Maybe EksContainerResourceRequirements)
+ Amazonka.Batch.Types.EksContainer: eksContainer_securityContext :: Lens' EksContainer (Maybe EksContainerSecurityContext)
+ Amazonka.Batch.Types.EksContainer: eksContainer_volumeMounts :: Lens' EksContainer (Maybe [EksContainerVolumeMount])
+ Amazonka.Batch.Types.EksContainer: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EksContainer.EksContainer
+ Amazonka.Batch.Types.EksContainer: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.EksContainer.EksContainer
+ Amazonka.Batch.Types.EksContainer: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.EksContainer.EksContainer
+ Amazonka.Batch.Types.EksContainer: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EksContainer.EksContainer
+ Amazonka.Batch.Types.EksContainer: instance GHC.Classes.Eq Amazonka.Batch.Types.EksContainer.EksContainer
+ Amazonka.Batch.Types.EksContainer: instance GHC.Generics.Generic Amazonka.Batch.Types.EksContainer.EksContainer
+ Amazonka.Batch.Types.EksContainer: instance GHC.Read.Read Amazonka.Batch.Types.EksContainer.EksContainer
+ Amazonka.Batch.Types.EksContainer: instance GHC.Show.Show Amazonka.Batch.Types.EksContainer.EksContainer
+ Amazonka.Batch.Types.EksContainer: newEksContainer :: Text -> EksContainer
+ Amazonka.Batch.Types.EksContainerDetail: EksContainerDetail' :: Maybe [Text] -> Maybe [Text] -> Maybe [EksContainerEnvironmentVariable] -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe EksContainerResourceRequirements -> Maybe EksContainerSecurityContext -> Maybe [EksContainerVolumeMount] -> EksContainerDetail
+ Amazonka.Batch.Types.EksContainerDetail: [$sel:args:EksContainerDetail'] :: EksContainerDetail -> Maybe [Text]
+ Amazonka.Batch.Types.EksContainerDetail: [$sel:command:EksContainerDetail'] :: EksContainerDetail -> Maybe [Text]
+ Amazonka.Batch.Types.EksContainerDetail: [$sel:env:EksContainerDetail'] :: EksContainerDetail -> Maybe [EksContainerEnvironmentVariable]
+ Amazonka.Batch.Types.EksContainerDetail: [$sel:exitCode:EksContainerDetail'] :: EksContainerDetail -> Maybe Int
+ Amazonka.Batch.Types.EksContainerDetail: [$sel:image:EksContainerDetail'] :: EksContainerDetail -> Maybe Text
+ Amazonka.Batch.Types.EksContainerDetail: [$sel:imagePullPolicy:EksContainerDetail'] :: EksContainerDetail -> Maybe Text
+ Amazonka.Batch.Types.EksContainerDetail: [$sel:name:EksContainerDetail'] :: EksContainerDetail -> Maybe Text
+ Amazonka.Batch.Types.EksContainerDetail: [$sel:reason:EksContainerDetail'] :: EksContainerDetail -> Maybe Text
+ Amazonka.Batch.Types.EksContainerDetail: [$sel:resources:EksContainerDetail'] :: EksContainerDetail -> Maybe EksContainerResourceRequirements
+ Amazonka.Batch.Types.EksContainerDetail: [$sel:securityContext:EksContainerDetail'] :: EksContainerDetail -> Maybe EksContainerSecurityContext
+ Amazonka.Batch.Types.EksContainerDetail: [$sel:volumeMounts:EksContainerDetail'] :: EksContainerDetail -> Maybe [EksContainerVolumeMount]
+ Amazonka.Batch.Types.EksContainerDetail: data EksContainerDetail
+ Amazonka.Batch.Types.EksContainerDetail: eksContainerDetail_args :: Lens' EksContainerDetail (Maybe [Text])
+ Amazonka.Batch.Types.EksContainerDetail: eksContainerDetail_command :: Lens' EksContainerDetail (Maybe [Text])
+ Amazonka.Batch.Types.EksContainerDetail: eksContainerDetail_env :: Lens' EksContainerDetail (Maybe [EksContainerEnvironmentVariable])
+ Amazonka.Batch.Types.EksContainerDetail: eksContainerDetail_exitCode :: Lens' EksContainerDetail (Maybe Int)
+ Amazonka.Batch.Types.EksContainerDetail: eksContainerDetail_image :: Lens' EksContainerDetail (Maybe Text)
+ Amazonka.Batch.Types.EksContainerDetail: eksContainerDetail_imagePullPolicy :: Lens' EksContainerDetail (Maybe Text)
+ Amazonka.Batch.Types.EksContainerDetail: eksContainerDetail_name :: Lens' EksContainerDetail (Maybe Text)
+ Amazonka.Batch.Types.EksContainerDetail: eksContainerDetail_reason :: Lens' EksContainerDetail (Maybe Text)
+ Amazonka.Batch.Types.EksContainerDetail: eksContainerDetail_resources :: Lens' EksContainerDetail (Maybe EksContainerResourceRequirements)
+ Amazonka.Batch.Types.EksContainerDetail: eksContainerDetail_securityContext :: Lens' EksContainerDetail (Maybe EksContainerSecurityContext)
+ Amazonka.Batch.Types.EksContainerDetail: eksContainerDetail_volumeMounts :: Lens' EksContainerDetail (Maybe [EksContainerVolumeMount])
+ Amazonka.Batch.Types.EksContainerDetail: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EksContainerDetail.EksContainerDetail
+ Amazonka.Batch.Types.EksContainerDetail: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.EksContainerDetail.EksContainerDetail
+ Amazonka.Batch.Types.EksContainerDetail: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EksContainerDetail.EksContainerDetail
+ Amazonka.Batch.Types.EksContainerDetail: instance GHC.Classes.Eq Amazonka.Batch.Types.EksContainerDetail.EksContainerDetail
+ Amazonka.Batch.Types.EksContainerDetail: instance GHC.Generics.Generic Amazonka.Batch.Types.EksContainerDetail.EksContainerDetail
+ Amazonka.Batch.Types.EksContainerDetail: instance GHC.Read.Read Amazonka.Batch.Types.EksContainerDetail.EksContainerDetail
+ Amazonka.Batch.Types.EksContainerDetail: instance GHC.Show.Show Amazonka.Batch.Types.EksContainerDetail.EksContainerDetail
+ Amazonka.Batch.Types.EksContainerDetail: newEksContainerDetail :: EksContainerDetail
+ Amazonka.Batch.Types.EksContainerEnvironmentVariable: EksContainerEnvironmentVariable' :: Maybe Text -> Text -> EksContainerEnvironmentVariable
+ Amazonka.Batch.Types.EksContainerEnvironmentVariable: [$sel:name:EksContainerEnvironmentVariable'] :: EksContainerEnvironmentVariable -> Text
+ Amazonka.Batch.Types.EksContainerEnvironmentVariable: [$sel:value:EksContainerEnvironmentVariable'] :: EksContainerEnvironmentVariable -> Maybe Text
+ Amazonka.Batch.Types.EksContainerEnvironmentVariable: data EksContainerEnvironmentVariable
+ Amazonka.Batch.Types.EksContainerEnvironmentVariable: eksContainerEnvironmentVariable_name :: Lens' EksContainerEnvironmentVariable Text
+ Amazonka.Batch.Types.EksContainerEnvironmentVariable: eksContainerEnvironmentVariable_value :: Lens' EksContainerEnvironmentVariable (Maybe Text)
+ Amazonka.Batch.Types.EksContainerEnvironmentVariable: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EksContainerEnvironmentVariable.EksContainerEnvironmentVariable
+ Amazonka.Batch.Types.EksContainerEnvironmentVariable: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.EksContainerEnvironmentVariable.EksContainerEnvironmentVariable
+ Amazonka.Batch.Types.EksContainerEnvironmentVariable: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.EksContainerEnvironmentVariable.EksContainerEnvironmentVariable
+ Amazonka.Batch.Types.EksContainerEnvironmentVariable: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EksContainerEnvironmentVariable.EksContainerEnvironmentVariable
+ Amazonka.Batch.Types.EksContainerEnvironmentVariable: instance GHC.Classes.Eq Amazonka.Batch.Types.EksContainerEnvironmentVariable.EksContainerEnvironmentVariable
+ Amazonka.Batch.Types.EksContainerEnvironmentVariable: instance GHC.Generics.Generic Amazonka.Batch.Types.EksContainerEnvironmentVariable.EksContainerEnvironmentVariable
+ Amazonka.Batch.Types.EksContainerEnvironmentVariable: instance GHC.Read.Read Amazonka.Batch.Types.EksContainerEnvironmentVariable.EksContainerEnvironmentVariable
+ Amazonka.Batch.Types.EksContainerEnvironmentVariable: instance GHC.Show.Show Amazonka.Batch.Types.EksContainerEnvironmentVariable.EksContainerEnvironmentVariable
+ Amazonka.Batch.Types.EksContainerEnvironmentVariable: newEksContainerEnvironmentVariable :: Text -> EksContainerEnvironmentVariable
+ Amazonka.Batch.Types.EksContainerOverride: EksContainerOverride' :: Maybe [Text] -> Maybe [Text] -> Maybe [EksContainerEnvironmentVariable] -> Maybe Text -> Maybe EksContainerResourceRequirements -> EksContainerOverride
+ Amazonka.Batch.Types.EksContainerOverride: [$sel:args:EksContainerOverride'] :: EksContainerOverride -> Maybe [Text]
+ Amazonka.Batch.Types.EksContainerOverride: [$sel:command:EksContainerOverride'] :: EksContainerOverride -> Maybe [Text]
+ Amazonka.Batch.Types.EksContainerOverride: [$sel:env:EksContainerOverride'] :: EksContainerOverride -> Maybe [EksContainerEnvironmentVariable]
+ Amazonka.Batch.Types.EksContainerOverride: [$sel:image:EksContainerOverride'] :: EksContainerOverride -> Maybe Text
+ Amazonka.Batch.Types.EksContainerOverride: [$sel:resources:EksContainerOverride'] :: EksContainerOverride -> Maybe EksContainerResourceRequirements
+ Amazonka.Batch.Types.EksContainerOverride: data EksContainerOverride
+ Amazonka.Batch.Types.EksContainerOverride: eksContainerOverride_args :: Lens' EksContainerOverride (Maybe [Text])
+ Amazonka.Batch.Types.EksContainerOverride: eksContainerOverride_command :: Lens' EksContainerOverride (Maybe [Text])
+ Amazonka.Batch.Types.EksContainerOverride: eksContainerOverride_env :: Lens' EksContainerOverride (Maybe [EksContainerEnvironmentVariable])
+ Amazonka.Batch.Types.EksContainerOverride: eksContainerOverride_image :: Lens' EksContainerOverride (Maybe Text)
+ Amazonka.Batch.Types.EksContainerOverride: eksContainerOverride_resources :: Lens' EksContainerOverride (Maybe EksContainerResourceRequirements)
+ Amazonka.Batch.Types.EksContainerOverride: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EksContainerOverride.EksContainerOverride
+ Amazonka.Batch.Types.EksContainerOverride: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.EksContainerOverride.EksContainerOverride
+ Amazonka.Batch.Types.EksContainerOverride: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EksContainerOverride.EksContainerOverride
+ Amazonka.Batch.Types.EksContainerOverride: instance GHC.Classes.Eq Amazonka.Batch.Types.EksContainerOverride.EksContainerOverride
+ Amazonka.Batch.Types.EksContainerOverride: instance GHC.Generics.Generic Amazonka.Batch.Types.EksContainerOverride.EksContainerOverride
+ Amazonka.Batch.Types.EksContainerOverride: instance GHC.Read.Read Amazonka.Batch.Types.EksContainerOverride.EksContainerOverride
+ Amazonka.Batch.Types.EksContainerOverride: instance GHC.Show.Show Amazonka.Batch.Types.EksContainerOverride.EksContainerOverride
+ Amazonka.Batch.Types.EksContainerOverride: newEksContainerOverride :: EksContainerOverride
+ Amazonka.Batch.Types.EksContainerResourceRequirements: EksContainerResourceRequirements' :: Maybe (HashMap Text Text) -> Maybe (HashMap Text Text) -> EksContainerResourceRequirements
+ Amazonka.Batch.Types.EksContainerResourceRequirements: [$sel:limits:EksContainerResourceRequirements'] :: EksContainerResourceRequirements -> Maybe (HashMap Text Text)
+ Amazonka.Batch.Types.EksContainerResourceRequirements: [$sel:requests:EksContainerResourceRequirements'] :: EksContainerResourceRequirements -> Maybe (HashMap Text Text)
+ Amazonka.Batch.Types.EksContainerResourceRequirements: data EksContainerResourceRequirements
+ Amazonka.Batch.Types.EksContainerResourceRequirements: eksContainerResourceRequirements_limits :: Lens' EksContainerResourceRequirements (Maybe (HashMap Text Text))
+ Amazonka.Batch.Types.EksContainerResourceRequirements: eksContainerResourceRequirements_requests :: Lens' EksContainerResourceRequirements (Maybe (HashMap Text Text))
+ Amazonka.Batch.Types.EksContainerResourceRequirements: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EksContainerResourceRequirements.EksContainerResourceRequirements
+ Amazonka.Batch.Types.EksContainerResourceRequirements: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.EksContainerResourceRequirements.EksContainerResourceRequirements
+ Amazonka.Batch.Types.EksContainerResourceRequirements: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.EksContainerResourceRequirements.EksContainerResourceRequirements
+ Amazonka.Batch.Types.EksContainerResourceRequirements: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EksContainerResourceRequirements.EksContainerResourceRequirements
+ Amazonka.Batch.Types.EksContainerResourceRequirements: instance GHC.Classes.Eq Amazonka.Batch.Types.EksContainerResourceRequirements.EksContainerResourceRequirements
+ Amazonka.Batch.Types.EksContainerResourceRequirements: instance GHC.Generics.Generic Amazonka.Batch.Types.EksContainerResourceRequirements.EksContainerResourceRequirements
+ Amazonka.Batch.Types.EksContainerResourceRequirements: instance GHC.Read.Read Amazonka.Batch.Types.EksContainerResourceRequirements.EksContainerResourceRequirements
+ Amazonka.Batch.Types.EksContainerResourceRequirements: instance GHC.Show.Show Amazonka.Batch.Types.EksContainerResourceRequirements.EksContainerResourceRequirements
+ Amazonka.Batch.Types.EksContainerResourceRequirements: newEksContainerResourceRequirements :: EksContainerResourceRequirements
+ Amazonka.Batch.Types.EksContainerSecurityContext: EksContainerSecurityContext' :: Maybe Bool -> Maybe Bool -> Maybe Integer -> Maybe Bool -> Maybe Integer -> EksContainerSecurityContext
+ Amazonka.Batch.Types.EksContainerSecurityContext: [$sel:privileged:EksContainerSecurityContext'] :: EksContainerSecurityContext -> Maybe Bool
+ Amazonka.Batch.Types.EksContainerSecurityContext: [$sel:readOnlyRootFilesystem:EksContainerSecurityContext'] :: EksContainerSecurityContext -> Maybe Bool
+ Amazonka.Batch.Types.EksContainerSecurityContext: [$sel:runAsGroup:EksContainerSecurityContext'] :: EksContainerSecurityContext -> Maybe Integer
+ Amazonka.Batch.Types.EksContainerSecurityContext: [$sel:runAsNonRoot:EksContainerSecurityContext'] :: EksContainerSecurityContext -> Maybe Bool
+ Amazonka.Batch.Types.EksContainerSecurityContext: [$sel:runAsUser:EksContainerSecurityContext'] :: EksContainerSecurityContext -> Maybe Integer
+ Amazonka.Batch.Types.EksContainerSecurityContext: data EksContainerSecurityContext
+ Amazonka.Batch.Types.EksContainerSecurityContext: eksContainerSecurityContext_privileged :: Lens' EksContainerSecurityContext (Maybe Bool)
+ Amazonka.Batch.Types.EksContainerSecurityContext: eksContainerSecurityContext_readOnlyRootFilesystem :: Lens' EksContainerSecurityContext (Maybe Bool)
+ Amazonka.Batch.Types.EksContainerSecurityContext: eksContainerSecurityContext_runAsGroup :: Lens' EksContainerSecurityContext (Maybe Integer)
+ Amazonka.Batch.Types.EksContainerSecurityContext: eksContainerSecurityContext_runAsNonRoot :: Lens' EksContainerSecurityContext (Maybe Bool)
+ Amazonka.Batch.Types.EksContainerSecurityContext: eksContainerSecurityContext_runAsUser :: Lens' EksContainerSecurityContext (Maybe Integer)
+ Amazonka.Batch.Types.EksContainerSecurityContext: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EksContainerSecurityContext.EksContainerSecurityContext
+ Amazonka.Batch.Types.EksContainerSecurityContext: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.EksContainerSecurityContext.EksContainerSecurityContext
+ Amazonka.Batch.Types.EksContainerSecurityContext: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.EksContainerSecurityContext.EksContainerSecurityContext
+ Amazonka.Batch.Types.EksContainerSecurityContext: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EksContainerSecurityContext.EksContainerSecurityContext
+ Amazonka.Batch.Types.EksContainerSecurityContext: instance GHC.Classes.Eq Amazonka.Batch.Types.EksContainerSecurityContext.EksContainerSecurityContext
+ Amazonka.Batch.Types.EksContainerSecurityContext: instance GHC.Generics.Generic Amazonka.Batch.Types.EksContainerSecurityContext.EksContainerSecurityContext
+ Amazonka.Batch.Types.EksContainerSecurityContext: instance GHC.Read.Read Amazonka.Batch.Types.EksContainerSecurityContext.EksContainerSecurityContext
+ Amazonka.Batch.Types.EksContainerSecurityContext: instance GHC.Show.Show Amazonka.Batch.Types.EksContainerSecurityContext.EksContainerSecurityContext
+ Amazonka.Batch.Types.EksContainerSecurityContext: newEksContainerSecurityContext :: EksContainerSecurityContext
+ Amazonka.Batch.Types.EksContainerVolumeMount: EksContainerVolumeMount' :: Maybe Text -> Maybe Text -> Maybe Bool -> EksContainerVolumeMount
+ Amazonka.Batch.Types.EksContainerVolumeMount: [$sel:mountPath:EksContainerVolumeMount'] :: EksContainerVolumeMount -> Maybe Text
+ Amazonka.Batch.Types.EksContainerVolumeMount: [$sel:name:EksContainerVolumeMount'] :: EksContainerVolumeMount -> Maybe Text
+ Amazonka.Batch.Types.EksContainerVolumeMount: [$sel:readOnly:EksContainerVolumeMount'] :: EksContainerVolumeMount -> Maybe Bool
+ Amazonka.Batch.Types.EksContainerVolumeMount: data EksContainerVolumeMount
+ Amazonka.Batch.Types.EksContainerVolumeMount: eksContainerVolumeMount_mountPath :: Lens' EksContainerVolumeMount (Maybe Text)
+ Amazonka.Batch.Types.EksContainerVolumeMount: eksContainerVolumeMount_name :: Lens' EksContainerVolumeMount (Maybe Text)
+ Amazonka.Batch.Types.EksContainerVolumeMount: eksContainerVolumeMount_readOnly :: Lens' EksContainerVolumeMount (Maybe Bool)
+ Amazonka.Batch.Types.EksContainerVolumeMount: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EksContainerVolumeMount.EksContainerVolumeMount
+ Amazonka.Batch.Types.EksContainerVolumeMount: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.EksContainerVolumeMount.EksContainerVolumeMount
+ Amazonka.Batch.Types.EksContainerVolumeMount: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.EksContainerVolumeMount.EksContainerVolumeMount
+ Amazonka.Batch.Types.EksContainerVolumeMount: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EksContainerVolumeMount.EksContainerVolumeMount
+ Amazonka.Batch.Types.EksContainerVolumeMount: instance GHC.Classes.Eq Amazonka.Batch.Types.EksContainerVolumeMount.EksContainerVolumeMount
+ Amazonka.Batch.Types.EksContainerVolumeMount: instance GHC.Generics.Generic Amazonka.Batch.Types.EksContainerVolumeMount.EksContainerVolumeMount
+ Amazonka.Batch.Types.EksContainerVolumeMount: instance GHC.Read.Read Amazonka.Batch.Types.EksContainerVolumeMount.EksContainerVolumeMount
+ Amazonka.Batch.Types.EksContainerVolumeMount: instance GHC.Show.Show Amazonka.Batch.Types.EksContainerVolumeMount.EksContainerVolumeMount
+ Amazonka.Batch.Types.EksContainerVolumeMount: newEksContainerVolumeMount :: EksContainerVolumeMount
+ Amazonka.Batch.Types.EksEmptyDir: EksEmptyDir' :: Maybe Text -> Maybe Text -> EksEmptyDir
+ Amazonka.Batch.Types.EksEmptyDir: [$sel:medium:EksEmptyDir'] :: EksEmptyDir -> Maybe Text
+ Amazonka.Batch.Types.EksEmptyDir: [$sel:sizeLimit:EksEmptyDir'] :: EksEmptyDir -> Maybe Text
+ Amazonka.Batch.Types.EksEmptyDir: data EksEmptyDir
+ Amazonka.Batch.Types.EksEmptyDir: eksEmptyDir_medium :: Lens' EksEmptyDir (Maybe Text)
+ Amazonka.Batch.Types.EksEmptyDir: eksEmptyDir_sizeLimit :: Lens' EksEmptyDir (Maybe Text)
+ Amazonka.Batch.Types.EksEmptyDir: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EksEmptyDir.EksEmptyDir
+ Amazonka.Batch.Types.EksEmptyDir: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.EksEmptyDir.EksEmptyDir
+ Amazonka.Batch.Types.EksEmptyDir: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.EksEmptyDir.EksEmptyDir
+ Amazonka.Batch.Types.EksEmptyDir: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EksEmptyDir.EksEmptyDir
+ Amazonka.Batch.Types.EksEmptyDir: instance GHC.Classes.Eq Amazonka.Batch.Types.EksEmptyDir.EksEmptyDir
+ Amazonka.Batch.Types.EksEmptyDir: instance GHC.Generics.Generic Amazonka.Batch.Types.EksEmptyDir.EksEmptyDir
+ Amazonka.Batch.Types.EksEmptyDir: instance GHC.Read.Read Amazonka.Batch.Types.EksEmptyDir.EksEmptyDir
+ Amazonka.Batch.Types.EksEmptyDir: instance GHC.Show.Show Amazonka.Batch.Types.EksEmptyDir.EksEmptyDir
+ Amazonka.Batch.Types.EksEmptyDir: newEksEmptyDir :: EksEmptyDir
+ Amazonka.Batch.Types.EksHostPath: EksHostPath' :: Maybe Text -> EksHostPath
+ Amazonka.Batch.Types.EksHostPath: [$sel:path:EksHostPath'] :: EksHostPath -> Maybe Text
+ Amazonka.Batch.Types.EksHostPath: data EksHostPath
+ Amazonka.Batch.Types.EksHostPath: eksHostPath_path :: Lens' EksHostPath (Maybe Text)
+ Amazonka.Batch.Types.EksHostPath: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EksHostPath.EksHostPath
+ Amazonka.Batch.Types.EksHostPath: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.EksHostPath.EksHostPath
+ Amazonka.Batch.Types.EksHostPath: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.EksHostPath.EksHostPath
+ Amazonka.Batch.Types.EksHostPath: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EksHostPath.EksHostPath
+ Amazonka.Batch.Types.EksHostPath: instance GHC.Classes.Eq Amazonka.Batch.Types.EksHostPath.EksHostPath
+ Amazonka.Batch.Types.EksHostPath: instance GHC.Generics.Generic Amazonka.Batch.Types.EksHostPath.EksHostPath
+ Amazonka.Batch.Types.EksHostPath: instance GHC.Read.Read Amazonka.Batch.Types.EksHostPath.EksHostPath
+ Amazonka.Batch.Types.EksHostPath: instance GHC.Show.Show Amazonka.Batch.Types.EksHostPath.EksHostPath
+ Amazonka.Batch.Types.EksHostPath: newEksHostPath :: EksHostPath
+ Amazonka.Batch.Types.EksPodProperties: EksPodProperties' :: Maybe [EksContainer] -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe [EksVolume] -> EksPodProperties
+ Amazonka.Batch.Types.EksPodProperties: [$sel:containers:EksPodProperties'] :: EksPodProperties -> Maybe [EksContainer]
+ Amazonka.Batch.Types.EksPodProperties: [$sel:dnsPolicy:EksPodProperties'] :: EksPodProperties -> Maybe Text
+ Amazonka.Batch.Types.EksPodProperties: [$sel:hostNetwork:EksPodProperties'] :: EksPodProperties -> Maybe Bool
+ Amazonka.Batch.Types.EksPodProperties: [$sel:serviceAccountName:EksPodProperties'] :: EksPodProperties -> Maybe Text
+ Amazonka.Batch.Types.EksPodProperties: [$sel:volumes:EksPodProperties'] :: EksPodProperties -> Maybe [EksVolume]
+ Amazonka.Batch.Types.EksPodProperties: data EksPodProperties
+ Amazonka.Batch.Types.EksPodProperties: eksPodProperties_containers :: Lens' EksPodProperties (Maybe [EksContainer])
+ Amazonka.Batch.Types.EksPodProperties: eksPodProperties_dnsPolicy :: Lens' EksPodProperties (Maybe Text)
+ Amazonka.Batch.Types.EksPodProperties: eksPodProperties_hostNetwork :: Lens' EksPodProperties (Maybe Bool)
+ Amazonka.Batch.Types.EksPodProperties: eksPodProperties_serviceAccountName :: Lens' EksPodProperties (Maybe Text)
+ Amazonka.Batch.Types.EksPodProperties: eksPodProperties_volumes :: Lens' EksPodProperties (Maybe [EksVolume])
+ Amazonka.Batch.Types.EksPodProperties: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EksPodProperties.EksPodProperties
+ Amazonka.Batch.Types.EksPodProperties: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.EksPodProperties.EksPodProperties
+ Amazonka.Batch.Types.EksPodProperties: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.EksPodProperties.EksPodProperties
+ Amazonka.Batch.Types.EksPodProperties: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EksPodProperties.EksPodProperties
+ Amazonka.Batch.Types.EksPodProperties: instance GHC.Classes.Eq Amazonka.Batch.Types.EksPodProperties.EksPodProperties
+ Amazonka.Batch.Types.EksPodProperties: instance GHC.Generics.Generic Amazonka.Batch.Types.EksPodProperties.EksPodProperties
+ Amazonka.Batch.Types.EksPodProperties: instance GHC.Read.Read Amazonka.Batch.Types.EksPodProperties.EksPodProperties
+ Amazonka.Batch.Types.EksPodProperties: instance GHC.Show.Show Amazonka.Batch.Types.EksPodProperties.EksPodProperties
+ Amazonka.Batch.Types.EksPodProperties: newEksPodProperties :: EksPodProperties
+ Amazonka.Batch.Types.EksPodPropertiesDetail: EksPodPropertiesDetail' :: Maybe [EksContainerDetail] -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [EksVolume] -> EksPodPropertiesDetail
+ Amazonka.Batch.Types.EksPodPropertiesDetail: [$sel:containers:EksPodPropertiesDetail'] :: EksPodPropertiesDetail -> Maybe [EksContainerDetail]
+ Amazonka.Batch.Types.EksPodPropertiesDetail: [$sel:dnsPolicy:EksPodPropertiesDetail'] :: EksPodPropertiesDetail -> Maybe Text
+ Amazonka.Batch.Types.EksPodPropertiesDetail: [$sel:hostNetwork:EksPodPropertiesDetail'] :: EksPodPropertiesDetail -> Maybe Bool
+ Amazonka.Batch.Types.EksPodPropertiesDetail: [$sel:nodeName:EksPodPropertiesDetail'] :: EksPodPropertiesDetail -> Maybe Text
+ Amazonka.Batch.Types.EksPodPropertiesDetail: [$sel:podName:EksPodPropertiesDetail'] :: EksPodPropertiesDetail -> Maybe Text
+ Amazonka.Batch.Types.EksPodPropertiesDetail: [$sel:serviceAccountName:EksPodPropertiesDetail'] :: EksPodPropertiesDetail -> Maybe Text
+ Amazonka.Batch.Types.EksPodPropertiesDetail: [$sel:volumes:EksPodPropertiesDetail'] :: EksPodPropertiesDetail -> Maybe [EksVolume]
+ Amazonka.Batch.Types.EksPodPropertiesDetail: data EksPodPropertiesDetail
+ Amazonka.Batch.Types.EksPodPropertiesDetail: eksPodPropertiesDetail_containers :: Lens' EksPodPropertiesDetail (Maybe [EksContainerDetail])
+ Amazonka.Batch.Types.EksPodPropertiesDetail: eksPodPropertiesDetail_dnsPolicy :: Lens' EksPodPropertiesDetail (Maybe Text)
+ Amazonka.Batch.Types.EksPodPropertiesDetail: eksPodPropertiesDetail_hostNetwork :: Lens' EksPodPropertiesDetail (Maybe Bool)
+ Amazonka.Batch.Types.EksPodPropertiesDetail: eksPodPropertiesDetail_nodeName :: Lens' EksPodPropertiesDetail (Maybe Text)
+ Amazonka.Batch.Types.EksPodPropertiesDetail: eksPodPropertiesDetail_podName :: Lens' EksPodPropertiesDetail (Maybe Text)
+ Amazonka.Batch.Types.EksPodPropertiesDetail: eksPodPropertiesDetail_serviceAccountName :: Lens' EksPodPropertiesDetail (Maybe Text)
+ Amazonka.Batch.Types.EksPodPropertiesDetail: eksPodPropertiesDetail_volumes :: Lens' EksPodPropertiesDetail (Maybe [EksVolume])
+ Amazonka.Batch.Types.EksPodPropertiesDetail: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EksPodPropertiesDetail.EksPodPropertiesDetail
+ Amazonka.Batch.Types.EksPodPropertiesDetail: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.EksPodPropertiesDetail.EksPodPropertiesDetail
+ Amazonka.Batch.Types.EksPodPropertiesDetail: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EksPodPropertiesDetail.EksPodPropertiesDetail
+ Amazonka.Batch.Types.EksPodPropertiesDetail: instance GHC.Classes.Eq Amazonka.Batch.Types.EksPodPropertiesDetail.EksPodPropertiesDetail
+ Amazonka.Batch.Types.EksPodPropertiesDetail: instance GHC.Generics.Generic Amazonka.Batch.Types.EksPodPropertiesDetail.EksPodPropertiesDetail
+ Amazonka.Batch.Types.EksPodPropertiesDetail: instance GHC.Read.Read Amazonka.Batch.Types.EksPodPropertiesDetail.EksPodPropertiesDetail
+ Amazonka.Batch.Types.EksPodPropertiesDetail: instance GHC.Show.Show Amazonka.Batch.Types.EksPodPropertiesDetail.EksPodPropertiesDetail
+ Amazonka.Batch.Types.EksPodPropertiesDetail: newEksPodPropertiesDetail :: EksPodPropertiesDetail
+ Amazonka.Batch.Types.EksPodPropertiesOverride: EksPodPropertiesOverride' :: Maybe [EksContainerOverride] -> EksPodPropertiesOverride
+ Amazonka.Batch.Types.EksPodPropertiesOverride: [$sel:containers:EksPodPropertiesOverride'] :: EksPodPropertiesOverride -> Maybe [EksContainerOverride]
+ Amazonka.Batch.Types.EksPodPropertiesOverride: data EksPodPropertiesOverride
+ Amazonka.Batch.Types.EksPodPropertiesOverride: eksPodPropertiesOverride_containers :: Lens' EksPodPropertiesOverride (Maybe [EksContainerOverride])
+ Amazonka.Batch.Types.EksPodPropertiesOverride: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EksPodPropertiesOverride.EksPodPropertiesOverride
+ Amazonka.Batch.Types.EksPodPropertiesOverride: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.EksPodPropertiesOverride.EksPodPropertiesOverride
+ Amazonka.Batch.Types.EksPodPropertiesOverride: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EksPodPropertiesOverride.EksPodPropertiesOverride
+ Amazonka.Batch.Types.EksPodPropertiesOverride: instance GHC.Classes.Eq Amazonka.Batch.Types.EksPodPropertiesOverride.EksPodPropertiesOverride
+ Amazonka.Batch.Types.EksPodPropertiesOverride: instance GHC.Generics.Generic Amazonka.Batch.Types.EksPodPropertiesOverride.EksPodPropertiesOverride
+ Amazonka.Batch.Types.EksPodPropertiesOverride: instance GHC.Read.Read Amazonka.Batch.Types.EksPodPropertiesOverride.EksPodPropertiesOverride
+ Amazonka.Batch.Types.EksPodPropertiesOverride: instance GHC.Show.Show Amazonka.Batch.Types.EksPodPropertiesOverride.EksPodPropertiesOverride
+ Amazonka.Batch.Types.EksPodPropertiesOverride: newEksPodPropertiesOverride :: EksPodPropertiesOverride
+ Amazonka.Batch.Types.EksProperties: EksProperties' :: Maybe EksPodProperties -> EksProperties
+ Amazonka.Batch.Types.EksProperties: [$sel:podProperties:EksProperties'] :: EksProperties -> Maybe EksPodProperties
+ Amazonka.Batch.Types.EksProperties: data EksProperties
+ Amazonka.Batch.Types.EksProperties: eksProperties_podProperties :: Lens' EksProperties (Maybe EksPodProperties)
+ Amazonka.Batch.Types.EksProperties: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EksProperties.EksProperties
+ Amazonka.Batch.Types.EksProperties: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.EksProperties.EksProperties
+ Amazonka.Batch.Types.EksProperties: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.EksProperties.EksProperties
+ Amazonka.Batch.Types.EksProperties: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EksProperties.EksProperties
+ Amazonka.Batch.Types.EksProperties: instance GHC.Classes.Eq Amazonka.Batch.Types.EksProperties.EksProperties
+ Amazonka.Batch.Types.EksProperties: instance GHC.Generics.Generic Amazonka.Batch.Types.EksProperties.EksProperties
+ Amazonka.Batch.Types.EksProperties: instance GHC.Read.Read Amazonka.Batch.Types.EksProperties.EksProperties
+ Amazonka.Batch.Types.EksProperties: instance GHC.Show.Show Amazonka.Batch.Types.EksProperties.EksProperties
+ Amazonka.Batch.Types.EksProperties: newEksProperties :: EksProperties
+ Amazonka.Batch.Types.EksPropertiesDetail: EksPropertiesDetail' :: Maybe EksPodPropertiesDetail -> EksPropertiesDetail
+ Amazonka.Batch.Types.EksPropertiesDetail: [$sel:podProperties:EksPropertiesDetail'] :: EksPropertiesDetail -> Maybe EksPodPropertiesDetail
+ Amazonka.Batch.Types.EksPropertiesDetail: data EksPropertiesDetail
+ Amazonka.Batch.Types.EksPropertiesDetail: eksPropertiesDetail_podProperties :: Lens' EksPropertiesDetail (Maybe EksPodPropertiesDetail)
+ Amazonka.Batch.Types.EksPropertiesDetail: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EksPropertiesDetail.EksPropertiesDetail
+ Amazonka.Batch.Types.EksPropertiesDetail: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.EksPropertiesDetail.EksPropertiesDetail
+ Amazonka.Batch.Types.EksPropertiesDetail: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EksPropertiesDetail.EksPropertiesDetail
+ Amazonka.Batch.Types.EksPropertiesDetail: instance GHC.Classes.Eq Amazonka.Batch.Types.EksPropertiesDetail.EksPropertiesDetail
+ Amazonka.Batch.Types.EksPropertiesDetail: instance GHC.Generics.Generic Amazonka.Batch.Types.EksPropertiesDetail.EksPropertiesDetail
+ Amazonka.Batch.Types.EksPropertiesDetail: instance GHC.Read.Read Amazonka.Batch.Types.EksPropertiesDetail.EksPropertiesDetail
+ Amazonka.Batch.Types.EksPropertiesDetail: instance GHC.Show.Show Amazonka.Batch.Types.EksPropertiesDetail.EksPropertiesDetail
+ Amazonka.Batch.Types.EksPropertiesDetail: newEksPropertiesDetail :: EksPropertiesDetail
+ Amazonka.Batch.Types.EksPropertiesOverride: EksPropertiesOverride' :: Maybe EksPodPropertiesOverride -> EksPropertiesOverride
+ Amazonka.Batch.Types.EksPropertiesOverride: [$sel:podProperties:EksPropertiesOverride'] :: EksPropertiesOverride -> Maybe EksPodPropertiesOverride
+ Amazonka.Batch.Types.EksPropertiesOverride: data EksPropertiesOverride
+ Amazonka.Batch.Types.EksPropertiesOverride: eksPropertiesOverride_podProperties :: Lens' EksPropertiesOverride (Maybe EksPodPropertiesOverride)
+ Amazonka.Batch.Types.EksPropertiesOverride: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EksPropertiesOverride.EksPropertiesOverride
+ Amazonka.Batch.Types.EksPropertiesOverride: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.EksPropertiesOverride.EksPropertiesOverride
+ Amazonka.Batch.Types.EksPropertiesOverride: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EksPropertiesOverride.EksPropertiesOverride
+ Amazonka.Batch.Types.EksPropertiesOverride: instance GHC.Classes.Eq Amazonka.Batch.Types.EksPropertiesOverride.EksPropertiesOverride
+ Amazonka.Batch.Types.EksPropertiesOverride: instance GHC.Generics.Generic Amazonka.Batch.Types.EksPropertiesOverride.EksPropertiesOverride
+ Amazonka.Batch.Types.EksPropertiesOverride: instance GHC.Read.Read Amazonka.Batch.Types.EksPropertiesOverride.EksPropertiesOverride
+ Amazonka.Batch.Types.EksPropertiesOverride: instance GHC.Show.Show Amazonka.Batch.Types.EksPropertiesOverride.EksPropertiesOverride
+ Amazonka.Batch.Types.EksPropertiesOverride: newEksPropertiesOverride :: EksPropertiesOverride
+ Amazonka.Batch.Types.EksSecret: EksSecret' :: Maybe Bool -> Text -> EksSecret
+ Amazonka.Batch.Types.EksSecret: [$sel:optional:EksSecret'] :: EksSecret -> Maybe Bool
+ Amazonka.Batch.Types.EksSecret: [$sel:secretName:EksSecret'] :: EksSecret -> Text
+ Amazonka.Batch.Types.EksSecret: data EksSecret
+ Amazonka.Batch.Types.EksSecret: eksSecret_optional :: Lens' EksSecret (Maybe Bool)
+ Amazonka.Batch.Types.EksSecret: eksSecret_secretName :: Lens' EksSecret Text
+ Amazonka.Batch.Types.EksSecret: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EksSecret.EksSecret
+ Amazonka.Batch.Types.EksSecret: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.EksSecret.EksSecret
+ Amazonka.Batch.Types.EksSecret: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.EksSecret.EksSecret
+ Amazonka.Batch.Types.EksSecret: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EksSecret.EksSecret
+ Amazonka.Batch.Types.EksSecret: instance GHC.Classes.Eq Amazonka.Batch.Types.EksSecret.EksSecret
+ Amazonka.Batch.Types.EksSecret: instance GHC.Generics.Generic Amazonka.Batch.Types.EksSecret.EksSecret
+ Amazonka.Batch.Types.EksSecret: instance GHC.Read.Read Amazonka.Batch.Types.EksSecret.EksSecret
+ Amazonka.Batch.Types.EksSecret: instance GHC.Show.Show Amazonka.Batch.Types.EksSecret.EksSecret
+ Amazonka.Batch.Types.EksSecret: newEksSecret :: Text -> EksSecret
+ Amazonka.Batch.Types.EksVolume: EksVolume' :: Maybe EksEmptyDir -> Maybe EksHostPath -> Maybe EksSecret -> Text -> EksVolume
+ Amazonka.Batch.Types.EksVolume: [$sel:emptyDir:EksVolume'] :: EksVolume -> Maybe EksEmptyDir
+ Amazonka.Batch.Types.EksVolume: [$sel:hostPath:EksVolume'] :: EksVolume -> Maybe EksHostPath
+ Amazonka.Batch.Types.EksVolume: [$sel:name:EksVolume'] :: EksVolume -> Text
+ Amazonka.Batch.Types.EksVolume: [$sel:secret:EksVolume'] :: EksVolume -> Maybe EksSecret
+ Amazonka.Batch.Types.EksVolume: data EksVolume
+ Amazonka.Batch.Types.EksVolume: eksVolume_emptyDir :: Lens' EksVolume (Maybe EksEmptyDir)
+ Amazonka.Batch.Types.EksVolume: eksVolume_hostPath :: Lens' EksVolume (Maybe EksHostPath)
+ Amazonka.Batch.Types.EksVolume: eksVolume_name :: Lens' EksVolume Text
+ Amazonka.Batch.Types.EksVolume: eksVolume_secret :: Lens' EksVolume (Maybe EksSecret)
+ Amazonka.Batch.Types.EksVolume: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EksVolume.EksVolume
+ Amazonka.Batch.Types.EksVolume: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.EksVolume.EksVolume
+ Amazonka.Batch.Types.EksVolume: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.EksVolume.EksVolume
+ Amazonka.Batch.Types.EksVolume: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EksVolume.EksVolume
+ Amazonka.Batch.Types.EksVolume: instance GHC.Classes.Eq Amazonka.Batch.Types.EksVolume.EksVolume
+ Amazonka.Batch.Types.EksVolume: instance GHC.Generics.Generic Amazonka.Batch.Types.EksVolume.EksVolume
+ Amazonka.Batch.Types.EksVolume: instance GHC.Read.Read Amazonka.Batch.Types.EksVolume.EksVolume
+ Amazonka.Batch.Types.EksVolume: instance GHC.Show.Show Amazonka.Batch.Types.EksVolume.EksVolume
+ Amazonka.Batch.Types.EksVolume: newEksVolume :: Text -> EksVolume
+ Amazonka.Batch.Types.EvaluateOnExit: EvaluateOnExit' :: Maybe Text -> Maybe Text -> Maybe Text -> RetryAction -> EvaluateOnExit
+ Amazonka.Batch.Types.EvaluateOnExit: [$sel:action:EvaluateOnExit'] :: EvaluateOnExit -> RetryAction
+ Amazonka.Batch.Types.EvaluateOnExit: [$sel:onExitCode:EvaluateOnExit'] :: EvaluateOnExit -> Maybe Text
+ Amazonka.Batch.Types.EvaluateOnExit: [$sel:onReason:EvaluateOnExit'] :: EvaluateOnExit -> Maybe Text
+ Amazonka.Batch.Types.EvaluateOnExit: [$sel:onStatusReason:EvaluateOnExit'] :: EvaluateOnExit -> Maybe Text
+ Amazonka.Batch.Types.EvaluateOnExit: data EvaluateOnExit
+ Amazonka.Batch.Types.EvaluateOnExit: evaluateOnExit_action :: Lens' EvaluateOnExit RetryAction
+ Amazonka.Batch.Types.EvaluateOnExit: evaluateOnExit_onExitCode :: Lens' EvaluateOnExit (Maybe Text)
+ Amazonka.Batch.Types.EvaluateOnExit: evaluateOnExit_onReason :: Lens' EvaluateOnExit (Maybe Text)
+ Amazonka.Batch.Types.EvaluateOnExit: evaluateOnExit_onStatusReason :: Lens' EvaluateOnExit (Maybe Text)
+ Amazonka.Batch.Types.EvaluateOnExit: instance Control.DeepSeq.NFData Amazonka.Batch.Types.EvaluateOnExit.EvaluateOnExit
+ Amazonka.Batch.Types.EvaluateOnExit: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.EvaluateOnExit.EvaluateOnExit
+ Amazonka.Batch.Types.EvaluateOnExit: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.EvaluateOnExit.EvaluateOnExit
+ Amazonka.Batch.Types.EvaluateOnExit: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.EvaluateOnExit.EvaluateOnExit
+ Amazonka.Batch.Types.EvaluateOnExit: instance GHC.Classes.Eq Amazonka.Batch.Types.EvaluateOnExit.EvaluateOnExit
+ Amazonka.Batch.Types.EvaluateOnExit: instance GHC.Generics.Generic Amazonka.Batch.Types.EvaluateOnExit.EvaluateOnExit
+ Amazonka.Batch.Types.EvaluateOnExit: instance GHC.Read.Read Amazonka.Batch.Types.EvaluateOnExit.EvaluateOnExit
+ Amazonka.Batch.Types.EvaluateOnExit: instance GHC.Show.Show Amazonka.Batch.Types.EvaluateOnExit.EvaluateOnExit
+ Amazonka.Batch.Types.EvaluateOnExit: newEvaluateOnExit :: RetryAction -> EvaluateOnExit
+ Amazonka.Batch.Types.FairsharePolicy: FairsharePolicy' :: Maybe Int -> Maybe Int -> Maybe [ShareAttributes] -> FairsharePolicy
+ Amazonka.Batch.Types.FairsharePolicy: [$sel:computeReservation:FairsharePolicy'] :: FairsharePolicy -> Maybe Int
+ Amazonka.Batch.Types.FairsharePolicy: [$sel:shareDecaySeconds:FairsharePolicy'] :: FairsharePolicy -> Maybe Int
+ Amazonka.Batch.Types.FairsharePolicy: [$sel:shareDistribution:FairsharePolicy'] :: FairsharePolicy -> Maybe [ShareAttributes]
+ Amazonka.Batch.Types.FairsharePolicy: data FairsharePolicy
+ Amazonka.Batch.Types.FairsharePolicy: fairsharePolicy_computeReservation :: Lens' FairsharePolicy (Maybe Int)
+ Amazonka.Batch.Types.FairsharePolicy: fairsharePolicy_shareDecaySeconds :: Lens' FairsharePolicy (Maybe Int)
+ Amazonka.Batch.Types.FairsharePolicy: fairsharePolicy_shareDistribution :: Lens' FairsharePolicy (Maybe [ShareAttributes])
+ Amazonka.Batch.Types.FairsharePolicy: instance Control.DeepSeq.NFData Amazonka.Batch.Types.FairsharePolicy.FairsharePolicy
+ Amazonka.Batch.Types.FairsharePolicy: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.FairsharePolicy.FairsharePolicy
+ Amazonka.Batch.Types.FairsharePolicy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.FairsharePolicy.FairsharePolicy
+ Amazonka.Batch.Types.FairsharePolicy: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.FairsharePolicy.FairsharePolicy
+ Amazonka.Batch.Types.FairsharePolicy: instance GHC.Classes.Eq Amazonka.Batch.Types.FairsharePolicy.FairsharePolicy
+ Amazonka.Batch.Types.FairsharePolicy: instance GHC.Generics.Generic Amazonka.Batch.Types.FairsharePolicy.FairsharePolicy
+ Amazonka.Batch.Types.FairsharePolicy: instance GHC.Read.Read Amazonka.Batch.Types.FairsharePolicy.FairsharePolicy
+ Amazonka.Batch.Types.FairsharePolicy: instance GHC.Show.Show Amazonka.Batch.Types.FairsharePolicy.FairsharePolicy
+ Amazonka.Batch.Types.FairsharePolicy: newFairsharePolicy :: FairsharePolicy
+ Amazonka.Batch.Types.FargatePlatformConfiguration: FargatePlatformConfiguration' :: Maybe Text -> FargatePlatformConfiguration
+ Amazonka.Batch.Types.FargatePlatformConfiguration: [$sel:platformVersion:FargatePlatformConfiguration'] :: FargatePlatformConfiguration -> Maybe Text
+ Amazonka.Batch.Types.FargatePlatformConfiguration: data FargatePlatformConfiguration
+ Amazonka.Batch.Types.FargatePlatformConfiguration: fargatePlatformConfiguration_platformVersion :: Lens' FargatePlatformConfiguration (Maybe Text)
+ Amazonka.Batch.Types.FargatePlatformConfiguration: instance Control.DeepSeq.NFData Amazonka.Batch.Types.FargatePlatformConfiguration.FargatePlatformConfiguration
+ Amazonka.Batch.Types.FargatePlatformConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.FargatePlatformConfiguration.FargatePlatformConfiguration
+ Amazonka.Batch.Types.FargatePlatformConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.FargatePlatformConfiguration.FargatePlatformConfiguration
+ Amazonka.Batch.Types.FargatePlatformConfiguration: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.FargatePlatformConfiguration.FargatePlatformConfiguration
+ Amazonka.Batch.Types.FargatePlatformConfiguration: instance GHC.Classes.Eq Amazonka.Batch.Types.FargatePlatformConfiguration.FargatePlatformConfiguration
+ Amazonka.Batch.Types.FargatePlatformConfiguration: instance GHC.Generics.Generic Amazonka.Batch.Types.FargatePlatformConfiguration.FargatePlatformConfiguration
+ Amazonka.Batch.Types.FargatePlatformConfiguration: instance GHC.Read.Read Amazonka.Batch.Types.FargatePlatformConfiguration.FargatePlatformConfiguration
+ Amazonka.Batch.Types.FargatePlatformConfiguration: instance GHC.Show.Show Amazonka.Batch.Types.FargatePlatformConfiguration.FargatePlatformConfiguration
+ Amazonka.Batch.Types.FargatePlatformConfiguration: newFargatePlatformConfiguration :: FargatePlatformConfiguration
+ Amazonka.Batch.Types.Host: Host' :: Maybe Text -> Host
+ Amazonka.Batch.Types.Host: [$sel:sourcePath:Host'] :: Host -> Maybe Text
+ Amazonka.Batch.Types.Host: data Host
+ Amazonka.Batch.Types.Host: host_sourcePath :: Lens' Host (Maybe Text)
+ Amazonka.Batch.Types.Host: instance Control.DeepSeq.NFData Amazonka.Batch.Types.Host.Host
+ Amazonka.Batch.Types.Host: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.Host.Host
+ Amazonka.Batch.Types.Host: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.Host.Host
+ Amazonka.Batch.Types.Host: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.Host.Host
+ Amazonka.Batch.Types.Host: instance GHC.Classes.Eq Amazonka.Batch.Types.Host.Host
+ Amazonka.Batch.Types.Host: instance GHC.Generics.Generic Amazonka.Batch.Types.Host.Host
+ Amazonka.Batch.Types.Host: instance GHC.Read.Read Amazonka.Batch.Types.Host.Host
+ Amazonka.Batch.Types.Host: instance GHC.Show.Show Amazonka.Batch.Types.Host.Host
+ Amazonka.Batch.Types.Host: newHost :: Host
+ Amazonka.Batch.Types.JQState: JQState' :: Text -> JQState
+ Amazonka.Batch.Types.JQState: [fromJQState] :: JQState -> Text
+ Amazonka.Batch.Types.JQState: instance Amazonka.Data.ByteString.ToByteString Amazonka.Batch.Types.JQState.JQState
+ Amazonka.Batch.Types.JQState: instance Amazonka.Data.Headers.ToHeader Amazonka.Batch.Types.JQState.JQState
+ Amazonka.Batch.Types.JQState: instance Amazonka.Data.Log.ToLog Amazonka.Batch.Types.JQState.JQState
+ Amazonka.Batch.Types.JQState: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.Types.JQState.JQState
+ Amazonka.Batch.Types.JQState: instance Amazonka.Data.Text.FromText Amazonka.Batch.Types.JQState.JQState
+ Amazonka.Batch.Types.JQState: instance Amazonka.Data.Text.ToText Amazonka.Batch.Types.JQState.JQState
+ Amazonka.Batch.Types.JQState: instance Amazonka.Data.XML.FromXML Amazonka.Batch.Types.JQState.JQState
+ Amazonka.Batch.Types.JQState: instance Amazonka.Data.XML.ToXML Amazonka.Batch.Types.JQState.JQState
+ Amazonka.Batch.Types.JQState: instance Control.DeepSeq.NFData Amazonka.Batch.Types.JQState.JQState
+ Amazonka.Batch.Types.JQState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.JQState.JQState
+ Amazonka.Batch.Types.JQState: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Batch.Types.JQState.JQState
+ Amazonka.Batch.Types.JQState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.JQState.JQState
+ Amazonka.Batch.Types.JQState: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Batch.Types.JQState.JQState
+ Amazonka.Batch.Types.JQState: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.JQState.JQState
+ Amazonka.Batch.Types.JQState: instance GHC.Classes.Eq Amazonka.Batch.Types.JQState.JQState
+ Amazonka.Batch.Types.JQState: instance GHC.Classes.Ord Amazonka.Batch.Types.JQState.JQState
+ Amazonka.Batch.Types.JQState: instance GHC.Generics.Generic Amazonka.Batch.Types.JQState.JQState
+ Amazonka.Batch.Types.JQState: instance GHC.Read.Read Amazonka.Batch.Types.JQState.JQState
+ Amazonka.Batch.Types.JQState: instance GHC.Show.Show Amazonka.Batch.Types.JQState.JQState
+ Amazonka.Batch.Types.JQState: newtype JQState
+ Amazonka.Batch.Types.JQState: pattern JQState_DISABLED :: JQState
+ Amazonka.Batch.Types.JQState: pattern JQState_ENABLED :: JQState
+ Amazonka.Batch.Types.JQStatus: JQStatus' :: Text -> JQStatus
+ Amazonka.Batch.Types.JQStatus: [fromJQStatus] :: JQStatus -> Text
+ Amazonka.Batch.Types.JQStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.Batch.Types.JQStatus.JQStatus
+ Amazonka.Batch.Types.JQStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.Batch.Types.JQStatus.JQStatus
+ Amazonka.Batch.Types.JQStatus: instance Amazonka.Data.Log.ToLog Amazonka.Batch.Types.JQStatus.JQStatus
+ Amazonka.Batch.Types.JQStatus: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.Types.JQStatus.JQStatus
+ Amazonka.Batch.Types.JQStatus: instance Amazonka.Data.Text.FromText Amazonka.Batch.Types.JQStatus.JQStatus
+ Amazonka.Batch.Types.JQStatus: instance Amazonka.Data.Text.ToText Amazonka.Batch.Types.JQStatus.JQStatus
+ Amazonka.Batch.Types.JQStatus: instance Amazonka.Data.XML.FromXML Amazonka.Batch.Types.JQStatus.JQStatus
+ Amazonka.Batch.Types.JQStatus: instance Amazonka.Data.XML.ToXML Amazonka.Batch.Types.JQStatus.JQStatus
+ Amazonka.Batch.Types.JQStatus: instance Control.DeepSeq.NFData Amazonka.Batch.Types.JQStatus.JQStatus
+ Amazonka.Batch.Types.JQStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.JQStatus.JQStatus
+ Amazonka.Batch.Types.JQStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Batch.Types.JQStatus.JQStatus
+ Amazonka.Batch.Types.JQStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.JQStatus.JQStatus
+ Amazonka.Batch.Types.JQStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Batch.Types.JQStatus.JQStatus
+ Amazonka.Batch.Types.JQStatus: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.JQStatus.JQStatus
+ Amazonka.Batch.Types.JQStatus: instance GHC.Classes.Eq Amazonka.Batch.Types.JQStatus.JQStatus
+ Amazonka.Batch.Types.JQStatus: instance GHC.Classes.Ord Amazonka.Batch.Types.JQStatus.JQStatus
+ Amazonka.Batch.Types.JQStatus: instance GHC.Generics.Generic Amazonka.Batch.Types.JQStatus.JQStatus
+ Amazonka.Batch.Types.JQStatus: instance GHC.Read.Read Amazonka.Batch.Types.JQStatus.JQStatus
+ Amazonka.Batch.Types.JQStatus: instance GHC.Show.Show Amazonka.Batch.Types.JQStatus.JQStatus
+ Amazonka.Batch.Types.JQStatus: newtype JQStatus
+ Amazonka.Batch.Types.JQStatus: pattern JQStatus_CREATING :: JQStatus
+ Amazonka.Batch.Types.JQStatus: pattern JQStatus_DELETED :: JQStatus
+ Amazonka.Batch.Types.JQStatus: pattern JQStatus_DELETING :: JQStatus
+ Amazonka.Batch.Types.JQStatus: pattern JQStatus_INVALID :: JQStatus
+ Amazonka.Batch.Types.JQStatus: pattern JQStatus_UPDATING :: JQStatus
+ Amazonka.Batch.Types.JQStatus: pattern JQStatus_VALID :: JQStatus
+ Amazonka.Batch.Types.JobDefinition: JobDefinition' :: Maybe OrchestrationType -> Maybe ContainerProperties -> Maybe EksProperties -> Maybe NodeProperties -> Maybe (HashMap Text Text) -> Maybe [PlatformCapability] -> Maybe Bool -> Maybe RetryStrategy -> Maybe Int -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe JobTimeout -> Text -> Text -> Int -> Text -> JobDefinition
+ Amazonka.Batch.Types.JobDefinition: [$sel:containerOrchestrationType:JobDefinition'] :: JobDefinition -> Maybe OrchestrationType
+ Amazonka.Batch.Types.JobDefinition: [$sel:containerProperties:JobDefinition'] :: JobDefinition -> Maybe ContainerProperties
+ Amazonka.Batch.Types.JobDefinition: [$sel:eksProperties:JobDefinition'] :: JobDefinition -> Maybe EksProperties
+ Amazonka.Batch.Types.JobDefinition: [$sel:jobDefinitionArn:JobDefinition'] :: JobDefinition -> Text
+ Amazonka.Batch.Types.JobDefinition: [$sel:jobDefinitionName:JobDefinition'] :: JobDefinition -> Text
+ Amazonka.Batch.Types.JobDefinition: [$sel:nodeProperties:JobDefinition'] :: JobDefinition -> Maybe NodeProperties
+ Amazonka.Batch.Types.JobDefinition: [$sel:parameters:JobDefinition'] :: JobDefinition -> Maybe (HashMap Text Text)
+ Amazonka.Batch.Types.JobDefinition: [$sel:platformCapabilities:JobDefinition'] :: JobDefinition -> Maybe [PlatformCapability]
+ Amazonka.Batch.Types.JobDefinition: [$sel:propagateTags:JobDefinition'] :: JobDefinition -> Maybe Bool
+ Amazonka.Batch.Types.JobDefinition: [$sel:retryStrategy:JobDefinition'] :: JobDefinition -> Maybe RetryStrategy
+ Amazonka.Batch.Types.JobDefinition: [$sel:revision:JobDefinition'] :: JobDefinition -> Int
+ Amazonka.Batch.Types.JobDefinition: [$sel:schedulingPriority:JobDefinition'] :: JobDefinition -> Maybe Int
+ Amazonka.Batch.Types.JobDefinition: [$sel:status:JobDefinition'] :: JobDefinition -> Maybe Text
+ Amazonka.Batch.Types.JobDefinition: [$sel:tags:JobDefinition'] :: JobDefinition -> Maybe (HashMap Text Text)
+ Amazonka.Batch.Types.JobDefinition: [$sel:timeout:JobDefinition'] :: JobDefinition -> Maybe JobTimeout
+ Amazonka.Batch.Types.JobDefinition: [$sel:type':JobDefinition'] :: JobDefinition -> Text
+ Amazonka.Batch.Types.JobDefinition: data JobDefinition
+ Amazonka.Batch.Types.JobDefinition: instance Control.DeepSeq.NFData Amazonka.Batch.Types.JobDefinition.JobDefinition
+ Amazonka.Batch.Types.JobDefinition: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.JobDefinition.JobDefinition
+ Amazonka.Batch.Types.JobDefinition: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.JobDefinition.JobDefinition
+ Amazonka.Batch.Types.JobDefinition: instance GHC.Classes.Eq Amazonka.Batch.Types.JobDefinition.JobDefinition
+ Amazonka.Batch.Types.JobDefinition: instance GHC.Generics.Generic Amazonka.Batch.Types.JobDefinition.JobDefinition
+ Amazonka.Batch.Types.JobDefinition: instance GHC.Read.Read Amazonka.Batch.Types.JobDefinition.JobDefinition
+ Amazonka.Batch.Types.JobDefinition: instance GHC.Show.Show Amazonka.Batch.Types.JobDefinition.JobDefinition
+ Amazonka.Batch.Types.JobDefinition: jobDefinition_containerOrchestrationType :: Lens' JobDefinition (Maybe OrchestrationType)
+ Amazonka.Batch.Types.JobDefinition: jobDefinition_containerProperties :: Lens' JobDefinition (Maybe ContainerProperties)
+ Amazonka.Batch.Types.JobDefinition: jobDefinition_eksProperties :: Lens' JobDefinition (Maybe EksProperties)
+ Amazonka.Batch.Types.JobDefinition: jobDefinition_jobDefinitionArn :: Lens' JobDefinition Text
+ Amazonka.Batch.Types.JobDefinition: jobDefinition_jobDefinitionName :: Lens' JobDefinition Text
+ Amazonka.Batch.Types.JobDefinition: jobDefinition_nodeProperties :: Lens' JobDefinition (Maybe NodeProperties)
+ Amazonka.Batch.Types.JobDefinition: jobDefinition_parameters :: Lens' JobDefinition (Maybe (HashMap Text Text))
+ Amazonka.Batch.Types.JobDefinition: jobDefinition_platformCapabilities :: Lens' JobDefinition (Maybe [PlatformCapability])
+ Amazonka.Batch.Types.JobDefinition: jobDefinition_propagateTags :: Lens' JobDefinition (Maybe Bool)
+ Amazonka.Batch.Types.JobDefinition: jobDefinition_retryStrategy :: Lens' JobDefinition (Maybe RetryStrategy)
+ Amazonka.Batch.Types.JobDefinition: jobDefinition_revision :: Lens' JobDefinition Int
+ Amazonka.Batch.Types.JobDefinition: jobDefinition_schedulingPriority :: Lens' JobDefinition (Maybe Int)
+ Amazonka.Batch.Types.JobDefinition: jobDefinition_status :: Lens' JobDefinition (Maybe Text)
+ Amazonka.Batch.Types.JobDefinition: jobDefinition_tags :: Lens' JobDefinition (Maybe (HashMap Text Text))
+ Amazonka.Batch.Types.JobDefinition: jobDefinition_timeout :: Lens' JobDefinition (Maybe JobTimeout)
+ Amazonka.Batch.Types.JobDefinition: jobDefinition_type :: Lens' JobDefinition Text
+ Amazonka.Batch.Types.JobDefinition: newJobDefinition :: Text -> Text -> Int -> Text -> JobDefinition
+ Amazonka.Batch.Types.JobDefinitionType: JobDefinitionType' :: Text -> JobDefinitionType
+ Amazonka.Batch.Types.JobDefinitionType: [fromJobDefinitionType] :: JobDefinitionType -> Text
+ Amazonka.Batch.Types.JobDefinitionType: instance Amazonka.Data.ByteString.ToByteString Amazonka.Batch.Types.JobDefinitionType.JobDefinitionType
+ Amazonka.Batch.Types.JobDefinitionType: instance Amazonka.Data.Headers.ToHeader Amazonka.Batch.Types.JobDefinitionType.JobDefinitionType
+ Amazonka.Batch.Types.JobDefinitionType: instance Amazonka.Data.Log.ToLog Amazonka.Batch.Types.JobDefinitionType.JobDefinitionType
+ Amazonka.Batch.Types.JobDefinitionType: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.Types.JobDefinitionType.JobDefinitionType
+ Amazonka.Batch.Types.JobDefinitionType: instance Amazonka.Data.Text.FromText Amazonka.Batch.Types.JobDefinitionType.JobDefinitionType
+ Amazonka.Batch.Types.JobDefinitionType: instance Amazonka.Data.Text.ToText Amazonka.Batch.Types.JobDefinitionType.JobDefinitionType
+ Amazonka.Batch.Types.JobDefinitionType: instance Amazonka.Data.XML.FromXML Amazonka.Batch.Types.JobDefinitionType.JobDefinitionType
+ Amazonka.Batch.Types.JobDefinitionType: instance Amazonka.Data.XML.ToXML Amazonka.Batch.Types.JobDefinitionType.JobDefinitionType
+ Amazonka.Batch.Types.JobDefinitionType: instance Control.DeepSeq.NFData Amazonka.Batch.Types.JobDefinitionType.JobDefinitionType
+ Amazonka.Batch.Types.JobDefinitionType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.JobDefinitionType.JobDefinitionType
+ Amazonka.Batch.Types.JobDefinitionType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Batch.Types.JobDefinitionType.JobDefinitionType
+ Amazonka.Batch.Types.JobDefinitionType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.JobDefinitionType.JobDefinitionType
+ Amazonka.Batch.Types.JobDefinitionType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Batch.Types.JobDefinitionType.JobDefinitionType
+ Amazonka.Batch.Types.JobDefinitionType: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.JobDefinitionType.JobDefinitionType
+ Amazonka.Batch.Types.JobDefinitionType: instance GHC.Classes.Eq Amazonka.Batch.Types.JobDefinitionType.JobDefinitionType
+ Amazonka.Batch.Types.JobDefinitionType: instance GHC.Classes.Ord Amazonka.Batch.Types.JobDefinitionType.JobDefinitionType
+ Amazonka.Batch.Types.JobDefinitionType: instance GHC.Generics.Generic Amazonka.Batch.Types.JobDefinitionType.JobDefinitionType
+ Amazonka.Batch.Types.JobDefinitionType: instance GHC.Read.Read Amazonka.Batch.Types.JobDefinitionType.JobDefinitionType
+ Amazonka.Batch.Types.JobDefinitionType: instance GHC.Show.Show Amazonka.Batch.Types.JobDefinitionType.JobDefinitionType
+ Amazonka.Batch.Types.JobDefinitionType: newtype JobDefinitionType
+ Amazonka.Batch.Types.JobDefinitionType: pattern JobDefinitionType_Container :: JobDefinitionType
+ Amazonka.Batch.Types.JobDefinitionType: pattern JobDefinitionType_Multinode :: JobDefinitionType
+ Amazonka.Batch.Types.JobDependency: JobDependency' :: Maybe Text -> Maybe ArrayJobDependency -> JobDependency
+ Amazonka.Batch.Types.JobDependency: [$sel:jobId:JobDependency'] :: JobDependency -> Maybe Text
+ Amazonka.Batch.Types.JobDependency: [$sel:type':JobDependency'] :: JobDependency -> Maybe ArrayJobDependency
+ Amazonka.Batch.Types.JobDependency: data JobDependency
+ Amazonka.Batch.Types.JobDependency: instance Control.DeepSeq.NFData Amazonka.Batch.Types.JobDependency.JobDependency
+ Amazonka.Batch.Types.JobDependency: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.JobDependency.JobDependency
+ Amazonka.Batch.Types.JobDependency: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.JobDependency.JobDependency
+ Amazonka.Batch.Types.JobDependency: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.JobDependency.JobDependency
+ Amazonka.Batch.Types.JobDependency: instance GHC.Classes.Eq Amazonka.Batch.Types.JobDependency.JobDependency
+ Amazonka.Batch.Types.JobDependency: instance GHC.Generics.Generic Amazonka.Batch.Types.JobDependency.JobDependency
+ Amazonka.Batch.Types.JobDependency: instance GHC.Read.Read Amazonka.Batch.Types.JobDependency.JobDependency
+ Amazonka.Batch.Types.JobDependency: instance GHC.Show.Show Amazonka.Batch.Types.JobDependency.JobDependency
+ Amazonka.Batch.Types.JobDependency: jobDependency_jobId :: Lens' JobDependency (Maybe Text)
+ Amazonka.Batch.Types.JobDependency: jobDependency_type :: Lens' JobDependency (Maybe ArrayJobDependency)
+ Amazonka.Batch.Types.JobDependency: newJobDependency :: JobDependency
+ Amazonka.Batch.Types.JobDetail: JobDetail' :: Maybe ArrayPropertiesDetail -> Maybe [AttemptDetail] -> Maybe ContainerDetail -> Maybe Integer -> Maybe [JobDependency] -> Maybe [EksAttemptDetail] -> Maybe EksPropertiesDetail -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe NodeDetails -> Maybe NodeProperties -> Maybe (HashMap Text Text) -> Maybe [PlatformCapability] -> Maybe Bool -> Maybe RetryStrategy -> Maybe Int -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Integer -> Maybe (HashMap Text Text) -> Maybe JobTimeout -> Text -> Text -> Text -> JobStatus -> Text -> JobDetail
+ Amazonka.Batch.Types.JobDetail: [$sel:arrayProperties:JobDetail'] :: JobDetail -> Maybe ArrayPropertiesDetail
+ Amazonka.Batch.Types.JobDetail: [$sel:attempts:JobDetail'] :: JobDetail -> Maybe [AttemptDetail]
+ Amazonka.Batch.Types.JobDetail: [$sel:container:JobDetail'] :: JobDetail -> Maybe ContainerDetail
+ Amazonka.Batch.Types.JobDetail: [$sel:createdAt:JobDetail'] :: JobDetail -> Maybe Integer
+ Amazonka.Batch.Types.JobDetail: [$sel:dependsOn:JobDetail'] :: JobDetail -> Maybe [JobDependency]
+ Amazonka.Batch.Types.JobDetail: [$sel:eksAttempts:JobDetail'] :: JobDetail -> Maybe [EksAttemptDetail]
+ Amazonka.Batch.Types.JobDetail: [$sel:eksProperties:JobDetail'] :: JobDetail -> Maybe EksPropertiesDetail
+ Amazonka.Batch.Types.JobDetail: [$sel:isCancelled:JobDetail'] :: JobDetail -> Maybe Bool
+ Amazonka.Batch.Types.JobDetail: [$sel:isTerminated:JobDetail'] :: JobDetail -> Maybe Bool
+ Amazonka.Batch.Types.JobDetail: [$sel:jobArn:JobDetail'] :: JobDetail -> Maybe Text
+ Amazonka.Batch.Types.JobDetail: [$sel:jobDefinition:JobDetail'] :: JobDetail -> Text
+ Amazonka.Batch.Types.JobDetail: [$sel:jobId:JobDetail'] :: JobDetail -> Text
+ Amazonka.Batch.Types.JobDetail: [$sel:jobName:JobDetail'] :: JobDetail -> Text
+ Amazonka.Batch.Types.JobDetail: [$sel:jobQueue:JobDetail'] :: JobDetail -> Text
+ Amazonka.Batch.Types.JobDetail: [$sel:nodeDetails:JobDetail'] :: JobDetail -> Maybe NodeDetails
+ Amazonka.Batch.Types.JobDetail: [$sel:nodeProperties:JobDetail'] :: JobDetail -> Maybe NodeProperties
+ Amazonka.Batch.Types.JobDetail: [$sel:parameters:JobDetail'] :: JobDetail -> Maybe (HashMap Text Text)
+ Amazonka.Batch.Types.JobDetail: [$sel:platformCapabilities:JobDetail'] :: JobDetail -> Maybe [PlatformCapability]
+ Amazonka.Batch.Types.JobDetail: [$sel:propagateTags:JobDetail'] :: JobDetail -> Maybe Bool
+ Amazonka.Batch.Types.JobDetail: [$sel:retryStrategy:JobDetail'] :: JobDetail -> Maybe RetryStrategy
+ Amazonka.Batch.Types.JobDetail: [$sel:schedulingPriority:JobDetail'] :: JobDetail -> Maybe Int
+ Amazonka.Batch.Types.JobDetail: [$sel:shareIdentifier:JobDetail'] :: JobDetail -> Maybe Text
+ Amazonka.Batch.Types.JobDetail: [$sel:startedAt:JobDetail'] :: JobDetail -> Maybe Integer
+ Amazonka.Batch.Types.JobDetail: [$sel:status:JobDetail'] :: JobDetail -> JobStatus
+ Amazonka.Batch.Types.JobDetail: [$sel:statusReason:JobDetail'] :: JobDetail -> Maybe Text
+ Amazonka.Batch.Types.JobDetail: [$sel:stoppedAt:JobDetail'] :: JobDetail -> Maybe Integer
+ Amazonka.Batch.Types.JobDetail: [$sel:tags:JobDetail'] :: JobDetail -> Maybe (HashMap Text Text)
+ Amazonka.Batch.Types.JobDetail: [$sel:timeout:JobDetail'] :: JobDetail -> Maybe JobTimeout
+ Amazonka.Batch.Types.JobDetail: data JobDetail
+ Amazonka.Batch.Types.JobDetail: instance Control.DeepSeq.NFData Amazonka.Batch.Types.JobDetail.JobDetail
+ Amazonka.Batch.Types.JobDetail: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.JobDetail.JobDetail
+ Amazonka.Batch.Types.JobDetail: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.JobDetail.JobDetail
+ Amazonka.Batch.Types.JobDetail: instance GHC.Classes.Eq Amazonka.Batch.Types.JobDetail.JobDetail
+ Amazonka.Batch.Types.JobDetail: instance GHC.Generics.Generic Amazonka.Batch.Types.JobDetail.JobDetail
+ Amazonka.Batch.Types.JobDetail: instance GHC.Read.Read Amazonka.Batch.Types.JobDetail.JobDetail
+ Amazonka.Batch.Types.JobDetail: instance GHC.Show.Show Amazonka.Batch.Types.JobDetail.JobDetail
+ Amazonka.Batch.Types.JobDetail: jobDetail_arrayProperties :: Lens' JobDetail (Maybe ArrayPropertiesDetail)
+ Amazonka.Batch.Types.JobDetail: jobDetail_attempts :: Lens' JobDetail (Maybe [AttemptDetail])
+ Amazonka.Batch.Types.JobDetail: jobDetail_container :: Lens' JobDetail (Maybe ContainerDetail)
+ Amazonka.Batch.Types.JobDetail: jobDetail_createdAt :: Lens' JobDetail (Maybe Integer)
+ Amazonka.Batch.Types.JobDetail: jobDetail_dependsOn :: Lens' JobDetail (Maybe [JobDependency])
+ Amazonka.Batch.Types.JobDetail: jobDetail_eksAttempts :: Lens' JobDetail (Maybe [EksAttemptDetail])
+ Amazonka.Batch.Types.JobDetail: jobDetail_eksProperties :: Lens' JobDetail (Maybe EksPropertiesDetail)
+ Amazonka.Batch.Types.JobDetail: jobDetail_isCancelled :: Lens' JobDetail (Maybe Bool)
+ Amazonka.Batch.Types.JobDetail: jobDetail_isTerminated :: Lens' JobDetail (Maybe Bool)
+ Amazonka.Batch.Types.JobDetail: jobDetail_jobArn :: Lens' JobDetail (Maybe Text)
+ Amazonka.Batch.Types.JobDetail: jobDetail_jobDefinition :: Lens' JobDetail Text
+ Amazonka.Batch.Types.JobDetail: jobDetail_jobId :: Lens' JobDetail Text
+ Amazonka.Batch.Types.JobDetail: jobDetail_jobName :: Lens' JobDetail Text
+ Amazonka.Batch.Types.JobDetail: jobDetail_jobQueue :: Lens' JobDetail Text
+ Amazonka.Batch.Types.JobDetail: jobDetail_nodeDetails :: Lens' JobDetail (Maybe NodeDetails)
+ Amazonka.Batch.Types.JobDetail: jobDetail_nodeProperties :: Lens' JobDetail (Maybe NodeProperties)
+ Amazonka.Batch.Types.JobDetail: jobDetail_parameters :: Lens' JobDetail (Maybe (HashMap Text Text))
+ Amazonka.Batch.Types.JobDetail: jobDetail_platformCapabilities :: Lens' JobDetail (Maybe [PlatformCapability])
+ Amazonka.Batch.Types.JobDetail: jobDetail_propagateTags :: Lens' JobDetail (Maybe Bool)
+ Amazonka.Batch.Types.JobDetail: jobDetail_retryStrategy :: Lens' JobDetail (Maybe RetryStrategy)
+ Amazonka.Batch.Types.JobDetail: jobDetail_schedulingPriority :: Lens' JobDetail (Maybe Int)
+ Amazonka.Batch.Types.JobDetail: jobDetail_shareIdentifier :: Lens' JobDetail (Maybe Text)
+ Amazonka.Batch.Types.JobDetail: jobDetail_startedAt :: Lens' JobDetail (Maybe Integer)
+ Amazonka.Batch.Types.JobDetail: jobDetail_status :: Lens' JobDetail JobStatus
+ Amazonka.Batch.Types.JobDetail: jobDetail_statusReason :: Lens' JobDetail (Maybe Text)
+ Amazonka.Batch.Types.JobDetail: jobDetail_stoppedAt :: Lens' JobDetail (Maybe Integer)
+ Amazonka.Batch.Types.JobDetail: jobDetail_tags :: Lens' JobDetail (Maybe (HashMap Text Text))
+ Amazonka.Batch.Types.JobDetail: jobDetail_timeout :: Lens' JobDetail (Maybe JobTimeout)
+ Amazonka.Batch.Types.JobDetail: newJobDetail :: Text -> Text -> Text -> JobStatus -> Text -> JobDetail
+ Amazonka.Batch.Types.JobQueueDetail: JobQueueDetail' :: Maybe Text -> Maybe JQStatus -> Maybe Text -> Maybe (HashMap Text Text) -> Text -> Text -> JQState -> Int -> [ComputeEnvironmentOrder] -> JobQueueDetail
+ Amazonka.Batch.Types.JobQueueDetail: [$sel:computeEnvironmentOrder:JobQueueDetail'] :: JobQueueDetail -> [ComputeEnvironmentOrder]
+ Amazonka.Batch.Types.JobQueueDetail: [$sel:jobQueueArn:JobQueueDetail'] :: JobQueueDetail -> Text
+ Amazonka.Batch.Types.JobQueueDetail: [$sel:jobQueueName:JobQueueDetail'] :: JobQueueDetail -> Text
+ Amazonka.Batch.Types.JobQueueDetail: [$sel:priority:JobQueueDetail'] :: JobQueueDetail -> Int
+ Amazonka.Batch.Types.JobQueueDetail: [$sel:schedulingPolicyArn:JobQueueDetail'] :: JobQueueDetail -> Maybe Text
+ Amazonka.Batch.Types.JobQueueDetail: [$sel:state:JobQueueDetail'] :: JobQueueDetail -> JQState
+ Amazonka.Batch.Types.JobQueueDetail: [$sel:status:JobQueueDetail'] :: JobQueueDetail -> Maybe JQStatus
+ Amazonka.Batch.Types.JobQueueDetail: [$sel:statusReason:JobQueueDetail'] :: JobQueueDetail -> Maybe Text
+ Amazonka.Batch.Types.JobQueueDetail: [$sel:tags:JobQueueDetail'] :: JobQueueDetail -> Maybe (HashMap Text Text)
+ Amazonka.Batch.Types.JobQueueDetail: data JobQueueDetail
+ Amazonka.Batch.Types.JobQueueDetail: instance Control.DeepSeq.NFData Amazonka.Batch.Types.JobQueueDetail.JobQueueDetail
+ Amazonka.Batch.Types.JobQueueDetail: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.JobQueueDetail.JobQueueDetail
+ Amazonka.Batch.Types.JobQueueDetail: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.JobQueueDetail.JobQueueDetail
+ Amazonka.Batch.Types.JobQueueDetail: instance GHC.Classes.Eq Amazonka.Batch.Types.JobQueueDetail.JobQueueDetail
+ Amazonka.Batch.Types.JobQueueDetail: instance GHC.Generics.Generic Amazonka.Batch.Types.JobQueueDetail.JobQueueDetail
+ Amazonka.Batch.Types.JobQueueDetail: instance GHC.Read.Read Amazonka.Batch.Types.JobQueueDetail.JobQueueDetail
+ Amazonka.Batch.Types.JobQueueDetail: instance GHC.Show.Show Amazonka.Batch.Types.JobQueueDetail.JobQueueDetail
+ Amazonka.Batch.Types.JobQueueDetail: jobQueueDetail_computeEnvironmentOrder :: Lens' JobQueueDetail [ComputeEnvironmentOrder]
+ Amazonka.Batch.Types.JobQueueDetail: jobQueueDetail_jobQueueArn :: Lens' JobQueueDetail Text
+ Amazonka.Batch.Types.JobQueueDetail: jobQueueDetail_jobQueueName :: Lens' JobQueueDetail Text
+ Amazonka.Batch.Types.JobQueueDetail: jobQueueDetail_priority :: Lens' JobQueueDetail Int
+ Amazonka.Batch.Types.JobQueueDetail: jobQueueDetail_schedulingPolicyArn :: Lens' JobQueueDetail (Maybe Text)
+ Amazonka.Batch.Types.JobQueueDetail: jobQueueDetail_state :: Lens' JobQueueDetail JQState
+ Amazonka.Batch.Types.JobQueueDetail: jobQueueDetail_status :: Lens' JobQueueDetail (Maybe JQStatus)
+ Amazonka.Batch.Types.JobQueueDetail: jobQueueDetail_statusReason :: Lens' JobQueueDetail (Maybe Text)
+ Amazonka.Batch.Types.JobQueueDetail: jobQueueDetail_tags :: Lens' JobQueueDetail (Maybe (HashMap Text Text))
+ Amazonka.Batch.Types.JobQueueDetail: newJobQueueDetail :: Text -> Text -> JQState -> Int -> JobQueueDetail
+ Amazonka.Batch.Types.JobStatus: JobStatus' :: Text -> JobStatus
+ Amazonka.Batch.Types.JobStatus: [fromJobStatus] :: JobStatus -> Text
+ Amazonka.Batch.Types.JobStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.Batch.Types.JobStatus.JobStatus
+ Amazonka.Batch.Types.JobStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.Batch.Types.JobStatus.JobStatus
+ Amazonka.Batch.Types.JobStatus: instance Amazonka.Data.Log.ToLog Amazonka.Batch.Types.JobStatus.JobStatus
+ Amazonka.Batch.Types.JobStatus: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.Types.JobStatus.JobStatus
+ Amazonka.Batch.Types.JobStatus: instance Amazonka.Data.Text.FromText Amazonka.Batch.Types.JobStatus.JobStatus
+ Amazonka.Batch.Types.JobStatus: instance Amazonka.Data.Text.ToText Amazonka.Batch.Types.JobStatus.JobStatus
+ Amazonka.Batch.Types.JobStatus: instance Amazonka.Data.XML.FromXML Amazonka.Batch.Types.JobStatus.JobStatus
+ Amazonka.Batch.Types.JobStatus: instance Amazonka.Data.XML.ToXML Amazonka.Batch.Types.JobStatus.JobStatus
+ Amazonka.Batch.Types.JobStatus: instance Control.DeepSeq.NFData Amazonka.Batch.Types.JobStatus.JobStatus
+ Amazonka.Batch.Types.JobStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.JobStatus.JobStatus
+ Amazonka.Batch.Types.JobStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Batch.Types.JobStatus.JobStatus
+ Amazonka.Batch.Types.JobStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.JobStatus.JobStatus
+ Amazonka.Batch.Types.JobStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Batch.Types.JobStatus.JobStatus
+ Amazonka.Batch.Types.JobStatus: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.JobStatus.JobStatus
+ Amazonka.Batch.Types.JobStatus: instance GHC.Classes.Eq Amazonka.Batch.Types.JobStatus.JobStatus
+ Amazonka.Batch.Types.JobStatus: instance GHC.Classes.Ord Amazonka.Batch.Types.JobStatus.JobStatus
+ Amazonka.Batch.Types.JobStatus: instance GHC.Generics.Generic Amazonka.Batch.Types.JobStatus.JobStatus
+ Amazonka.Batch.Types.JobStatus: instance GHC.Read.Read Amazonka.Batch.Types.JobStatus.JobStatus
+ Amazonka.Batch.Types.JobStatus: instance GHC.Show.Show Amazonka.Batch.Types.JobStatus.JobStatus
+ Amazonka.Batch.Types.JobStatus: newtype JobStatus
+ Amazonka.Batch.Types.JobStatus: pattern JobStatus_FAILED :: JobStatus
+ Amazonka.Batch.Types.JobStatus: pattern JobStatus_PENDING :: JobStatus
+ Amazonka.Batch.Types.JobStatus: pattern JobStatus_RUNNABLE :: JobStatus
+ Amazonka.Batch.Types.JobStatus: pattern JobStatus_RUNNING :: JobStatus
+ Amazonka.Batch.Types.JobStatus: pattern JobStatus_STARTING :: JobStatus
+ Amazonka.Batch.Types.JobStatus: pattern JobStatus_SUBMITTED :: JobStatus
+ Amazonka.Batch.Types.JobStatus: pattern JobStatus_SUCCEEDED :: JobStatus
+ Amazonka.Batch.Types.JobSummary: JobSummary' :: Maybe ArrayPropertiesSummary -> Maybe ContainerSummary -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe NodePropertiesSummary -> Maybe Integer -> Maybe JobStatus -> Maybe Text -> Maybe Integer -> Text -> Text -> JobSummary
+ Amazonka.Batch.Types.JobSummary: [$sel:arrayProperties:JobSummary'] :: JobSummary -> Maybe ArrayPropertiesSummary
+ Amazonka.Batch.Types.JobSummary: [$sel:container:JobSummary'] :: JobSummary -> Maybe ContainerSummary
+ Amazonka.Batch.Types.JobSummary: [$sel:createdAt:JobSummary'] :: JobSummary -> Maybe Integer
+ Amazonka.Batch.Types.JobSummary: [$sel:jobArn:JobSummary'] :: JobSummary -> Maybe Text
+ Amazonka.Batch.Types.JobSummary: [$sel:jobDefinition:JobSummary'] :: JobSummary -> Maybe Text
+ Amazonka.Batch.Types.JobSummary: [$sel:jobId:JobSummary'] :: JobSummary -> Text
+ Amazonka.Batch.Types.JobSummary: [$sel:jobName:JobSummary'] :: JobSummary -> Text
+ Amazonka.Batch.Types.JobSummary: [$sel:nodeProperties:JobSummary'] :: JobSummary -> Maybe NodePropertiesSummary
+ Amazonka.Batch.Types.JobSummary: [$sel:startedAt:JobSummary'] :: JobSummary -> Maybe Integer
+ Amazonka.Batch.Types.JobSummary: [$sel:status:JobSummary'] :: JobSummary -> Maybe JobStatus
+ Amazonka.Batch.Types.JobSummary: [$sel:statusReason:JobSummary'] :: JobSummary -> Maybe Text
+ Amazonka.Batch.Types.JobSummary: [$sel:stoppedAt:JobSummary'] :: JobSummary -> Maybe Integer
+ Amazonka.Batch.Types.JobSummary: data JobSummary
+ Amazonka.Batch.Types.JobSummary: instance Control.DeepSeq.NFData Amazonka.Batch.Types.JobSummary.JobSummary
+ Amazonka.Batch.Types.JobSummary: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.JobSummary.JobSummary
+ Amazonka.Batch.Types.JobSummary: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.JobSummary.JobSummary
+ Amazonka.Batch.Types.JobSummary: instance GHC.Classes.Eq Amazonka.Batch.Types.JobSummary.JobSummary
+ Amazonka.Batch.Types.JobSummary: instance GHC.Generics.Generic Amazonka.Batch.Types.JobSummary.JobSummary
+ Amazonka.Batch.Types.JobSummary: instance GHC.Read.Read Amazonka.Batch.Types.JobSummary.JobSummary
+ Amazonka.Batch.Types.JobSummary: instance GHC.Show.Show Amazonka.Batch.Types.JobSummary.JobSummary
+ Amazonka.Batch.Types.JobSummary: jobSummary_arrayProperties :: Lens' JobSummary (Maybe ArrayPropertiesSummary)
+ Amazonka.Batch.Types.JobSummary: jobSummary_container :: Lens' JobSummary (Maybe ContainerSummary)
+ Amazonka.Batch.Types.JobSummary: jobSummary_createdAt :: Lens' JobSummary (Maybe Integer)
+ Amazonka.Batch.Types.JobSummary: jobSummary_jobArn :: Lens' JobSummary (Maybe Text)
+ Amazonka.Batch.Types.JobSummary: jobSummary_jobDefinition :: Lens' JobSummary (Maybe Text)
+ Amazonka.Batch.Types.JobSummary: jobSummary_jobId :: Lens' JobSummary Text
+ Amazonka.Batch.Types.JobSummary: jobSummary_jobName :: Lens' JobSummary Text
+ Amazonka.Batch.Types.JobSummary: jobSummary_nodeProperties :: Lens' JobSummary (Maybe NodePropertiesSummary)
+ Amazonka.Batch.Types.JobSummary: jobSummary_startedAt :: Lens' JobSummary (Maybe Integer)
+ Amazonka.Batch.Types.JobSummary: jobSummary_status :: Lens' JobSummary (Maybe JobStatus)
+ Amazonka.Batch.Types.JobSummary: jobSummary_statusReason :: Lens' JobSummary (Maybe Text)
+ Amazonka.Batch.Types.JobSummary: jobSummary_stoppedAt :: Lens' JobSummary (Maybe Integer)
+ Amazonka.Batch.Types.JobSummary: newJobSummary :: Text -> Text -> JobSummary
+ Amazonka.Batch.Types.JobTimeout: JobTimeout' :: Maybe Int -> JobTimeout
+ Amazonka.Batch.Types.JobTimeout: [$sel:attemptDurationSeconds:JobTimeout'] :: JobTimeout -> Maybe Int
+ Amazonka.Batch.Types.JobTimeout: data JobTimeout
+ Amazonka.Batch.Types.JobTimeout: instance Control.DeepSeq.NFData Amazonka.Batch.Types.JobTimeout.JobTimeout
+ Amazonka.Batch.Types.JobTimeout: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.JobTimeout.JobTimeout
+ Amazonka.Batch.Types.JobTimeout: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.JobTimeout.JobTimeout
+ Amazonka.Batch.Types.JobTimeout: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.JobTimeout.JobTimeout
+ Amazonka.Batch.Types.JobTimeout: instance GHC.Classes.Eq Amazonka.Batch.Types.JobTimeout.JobTimeout
+ Amazonka.Batch.Types.JobTimeout: instance GHC.Generics.Generic Amazonka.Batch.Types.JobTimeout.JobTimeout
+ Amazonka.Batch.Types.JobTimeout: instance GHC.Read.Read Amazonka.Batch.Types.JobTimeout.JobTimeout
+ Amazonka.Batch.Types.JobTimeout: instance GHC.Show.Show Amazonka.Batch.Types.JobTimeout.JobTimeout
+ Amazonka.Batch.Types.JobTimeout: jobTimeout_attemptDurationSeconds :: Lens' JobTimeout (Maybe Int)
+ Amazonka.Batch.Types.JobTimeout: newJobTimeout :: JobTimeout
+ Amazonka.Batch.Types.KeyValuePair: KeyValuePair' :: Maybe Text -> Maybe Text -> KeyValuePair
+ Amazonka.Batch.Types.KeyValuePair: [$sel:name:KeyValuePair'] :: KeyValuePair -> Maybe Text
+ Amazonka.Batch.Types.KeyValuePair: [$sel:value:KeyValuePair'] :: KeyValuePair -> Maybe Text
+ Amazonka.Batch.Types.KeyValuePair: data KeyValuePair
+ Amazonka.Batch.Types.KeyValuePair: instance Control.DeepSeq.NFData Amazonka.Batch.Types.KeyValuePair.KeyValuePair
+ Amazonka.Batch.Types.KeyValuePair: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.KeyValuePair.KeyValuePair
+ Amazonka.Batch.Types.KeyValuePair: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.KeyValuePair.KeyValuePair
+ Amazonka.Batch.Types.KeyValuePair: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.KeyValuePair.KeyValuePair
+ Amazonka.Batch.Types.KeyValuePair: instance GHC.Classes.Eq Amazonka.Batch.Types.KeyValuePair.KeyValuePair
+ Amazonka.Batch.Types.KeyValuePair: instance GHC.Generics.Generic Amazonka.Batch.Types.KeyValuePair.KeyValuePair
+ Amazonka.Batch.Types.KeyValuePair: instance GHC.Read.Read Amazonka.Batch.Types.KeyValuePair.KeyValuePair
+ Amazonka.Batch.Types.KeyValuePair: instance GHC.Show.Show Amazonka.Batch.Types.KeyValuePair.KeyValuePair
+ Amazonka.Batch.Types.KeyValuePair: keyValuePair_name :: Lens' KeyValuePair (Maybe Text)
+ Amazonka.Batch.Types.KeyValuePair: keyValuePair_value :: Lens' KeyValuePair (Maybe Text)
+ Amazonka.Batch.Types.KeyValuePair: newKeyValuePair :: KeyValuePair
+ Amazonka.Batch.Types.KeyValuesPair: KeyValuesPair' :: Maybe Text -> Maybe [Text] -> KeyValuesPair
+ Amazonka.Batch.Types.KeyValuesPair: [$sel:name:KeyValuesPair'] :: KeyValuesPair -> Maybe Text
+ Amazonka.Batch.Types.KeyValuesPair: [$sel:values:KeyValuesPair'] :: KeyValuesPair -> Maybe [Text]
+ Amazonka.Batch.Types.KeyValuesPair: data KeyValuesPair
+ Amazonka.Batch.Types.KeyValuesPair: instance Control.DeepSeq.NFData Amazonka.Batch.Types.KeyValuesPair.KeyValuesPair
+ Amazonka.Batch.Types.KeyValuesPair: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.KeyValuesPair.KeyValuesPair
+ Amazonka.Batch.Types.KeyValuesPair: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.KeyValuesPair.KeyValuesPair
+ Amazonka.Batch.Types.KeyValuesPair: instance GHC.Classes.Eq Amazonka.Batch.Types.KeyValuesPair.KeyValuesPair
+ Amazonka.Batch.Types.KeyValuesPair: instance GHC.Generics.Generic Amazonka.Batch.Types.KeyValuesPair.KeyValuesPair
+ Amazonka.Batch.Types.KeyValuesPair: instance GHC.Read.Read Amazonka.Batch.Types.KeyValuesPair.KeyValuesPair
+ Amazonka.Batch.Types.KeyValuesPair: instance GHC.Show.Show Amazonka.Batch.Types.KeyValuesPair.KeyValuesPair
+ Amazonka.Batch.Types.KeyValuesPair: keyValuesPair_name :: Lens' KeyValuesPair (Maybe Text)
+ Amazonka.Batch.Types.KeyValuesPair: keyValuesPair_values :: Lens' KeyValuesPair (Maybe [Text])
+ Amazonka.Batch.Types.KeyValuesPair: newKeyValuesPair :: KeyValuesPair
+ Amazonka.Batch.Types.LaunchTemplateSpecification: LaunchTemplateSpecification' :: Maybe Text -> Maybe Text -> Maybe Text -> LaunchTemplateSpecification
+ Amazonka.Batch.Types.LaunchTemplateSpecification: [$sel:launchTemplateId:LaunchTemplateSpecification'] :: LaunchTemplateSpecification -> Maybe Text
+ Amazonka.Batch.Types.LaunchTemplateSpecification: [$sel:launchTemplateName:LaunchTemplateSpecification'] :: LaunchTemplateSpecification -> Maybe Text
+ Amazonka.Batch.Types.LaunchTemplateSpecification: [$sel:version:LaunchTemplateSpecification'] :: LaunchTemplateSpecification -> Maybe Text
+ Amazonka.Batch.Types.LaunchTemplateSpecification: data LaunchTemplateSpecification
+ Amazonka.Batch.Types.LaunchTemplateSpecification: instance Control.DeepSeq.NFData Amazonka.Batch.Types.LaunchTemplateSpecification.LaunchTemplateSpecification
+ Amazonka.Batch.Types.LaunchTemplateSpecification: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.LaunchTemplateSpecification.LaunchTemplateSpecification
+ Amazonka.Batch.Types.LaunchTemplateSpecification: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.LaunchTemplateSpecification.LaunchTemplateSpecification
+ Amazonka.Batch.Types.LaunchTemplateSpecification: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.LaunchTemplateSpecification.LaunchTemplateSpecification
+ Amazonka.Batch.Types.LaunchTemplateSpecification: instance GHC.Classes.Eq Amazonka.Batch.Types.LaunchTemplateSpecification.LaunchTemplateSpecification
+ Amazonka.Batch.Types.LaunchTemplateSpecification: instance GHC.Generics.Generic Amazonka.Batch.Types.LaunchTemplateSpecification.LaunchTemplateSpecification
+ Amazonka.Batch.Types.LaunchTemplateSpecification: instance GHC.Read.Read Amazonka.Batch.Types.LaunchTemplateSpecification.LaunchTemplateSpecification
+ Amazonka.Batch.Types.LaunchTemplateSpecification: instance GHC.Show.Show Amazonka.Batch.Types.LaunchTemplateSpecification.LaunchTemplateSpecification
+ Amazonka.Batch.Types.LaunchTemplateSpecification: launchTemplateSpecification_launchTemplateId :: Lens' LaunchTemplateSpecification (Maybe Text)
+ Amazonka.Batch.Types.LaunchTemplateSpecification: launchTemplateSpecification_launchTemplateName :: Lens' LaunchTemplateSpecification (Maybe Text)
+ Amazonka.Batch.Types.LaunchTemplateSpecification: launchTemplateSpecification_version :: Lens' LaunchTemplateSpecification (Maybe Text)
+ Amazonka.Batch.Types.LaunchTemplateSpecification: newLaunchTemplateSpecification :: LaunchTemplateSpecification
+ Amazonka.Batch.Types.LinuxParameters: LinuxParameters' :: Maybe [Device] -> Maybe Bool -> Maybe Int -> Maybe Int -> Maybe Int -> Maybe [Tmpfs] -> LinuxParameters
+ Amazonka.Batch.Types.LinuxParameters: [$sel:devices:LinuxParameters'] :: LinuxParameters -> Maybe [Device]
+ Amazonka.Batch.Types.LinuxParameters: [$sel:initProcessEnabled:LinuxParameters'] :: LinuxParameters -> Maybe Bool
+ Amazonka.Batch.Types.LinuxParameters: [$sel:maxSwap:LinuxParameters'] :: LinuxParameters -> Maybe Int
+ Amazonka.Batch.Types.LinuxParameters: [$sel:sharedMemorySize:LinuxParameters'] :: LinuxParameters -> Maybe Int
+ Amazonka.Batch.Types.LinuxParameters: [$sel:swappiness:LinuxParameters'] :: LinuxParameters -> Maybe Int
+ Amazonka.Batch.Types.LinuxParameters: [$sel:tmpfs:LinuxParameters'] :: LinuxParameters -> Maybe [Tmpfs]
+ Amazonka.Batch.Types.LinuxParameters: data LinuxParameters
+ Amazonka.Batch.Types.LinuxParameters: instance Control.DeepSeq.NFData Amazonka.Batch.Types.LinuxParameters.LinuxParameters
+ Amazonka.Batch.Types.LinuxParameters: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.LinuxParameters.LinuxParameters
+ Amazonka.Batch.Types.LinuxParameters: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.LinuxParameters.LinuxParameters
+ Amazonka.Batch.Types.LinuxParameters: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.LinuxParameters.LinuxParameters
+ Amazonka.Batch.Types.LinuxParameters: instance GHC.Classes.Eq Amazonka.Batch.Types.LinuxParameters.LinuxParameters
+ Amazonka.Batch.Types.LinuxParameters: instance GHC.Generics.Generic Amazonka.Batch.Types.LinuxParameters.LinuxParameters
+ Amazonka.Batch.Types.LinuxParameters: instance GHC.Read.Read Amazonka.Batch.Types.LinuxParameters.LinuxParameters
+ Amazonka.Batch.Types.LinuxParameters: instance GHC.Show.Show Amazonka.Batch.Types.LinuxParameters.LinuxParameters
+ Amazonka.Batch.Types.LinuxParameters: linuxParameters_devices :: Lens' LinuxParameters (Maybe [Device])
+ Amazonka.Batch.Types.LinuxParameters: linuxParameters_initProcessEnabled :: Lens' LinuxParameters (Maybe Bool)
+ Amazonka.Batch.Types.LinuxParameters: linuxParameters_maxSwap :: Lens' LinuxParameters (Maybe Int)
+ Amazonka.Batch.Types.LinuxParameters: linuxParameters_sharedMemorySize :: Lens' LinuxParameters (Maybe Int)
+ Amazonka.Batch.Types.LinuxParameters: linuxParameters_swappiness :: Lens' LinuxParameters (Maybe Int)
+ Amazonka.Batch.Types.LinuxParameters: linuxParameters_tmpfs :: Lens' LinuxParameters (Maybe [Tmpfs])
+ Amazonka.Batch.Types.LinuxParameters: newLinuxParameters :: LinuxParameters
+ Amazonka.Batch.Types.LogConfiguration: LogConfiguration' :: Maybe (HashMap Text Text) -> Maybe [Secret] -> LogDriver -> LogConfiguration
+ Amazonka.Batch.Types.LogConfiguration: [$sel:logDriver:LogConfiguration'] :: LogConfiguration -> LogDriver
+ Amazonka.Batch.Types.LogConfiguration: [$sel:options:LogConfiguration'] :: LogConfiguration -> Maybe (HashMap Text Text)
+ Amazonka.Batch.Types.LogConfiguration: [$sel:secretOptions:LogConfiguration'] :: LogConfiguration -> Maybe [Secret]
+ Amazonka.Batch.Types.LogConfiguration: data LogConfiguration
+ Amazonka.Batch.Types.LogConfiguration: instance Control.DeepSeq.NFData Amazonka.Batch.Types.LogConfiguration.LogConfiguration
+ Amazonka.Batch.Types.LogConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.LogConfiguration.LogConfiguration
+ Amazonka.Batch.Types.LogConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.LogConfiguration.LogConfiguration
+ Amazonka.Batch.Types.LogConfiguration: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.LogConfiguration.LogConfiguration
+ Amazonka.Batch.Types.LogConfiguration: instance GHC.Classes.Eq Amazonka.Batch.Types.LogConfiguration.LogConfiguration
+ Amazonka.Batch.Types.LogConfiguration: instance GHC.Generics.Generic Amazonka.Batch.Types.LogConfiguration.LogConfiguration
+ Amazonka.Batch.Types.LogConfiguration: instance GHC.Read.Read Amazonka.Batch.Types.LogConfiguration.LogConfiguration
+ Amazonka.Batch.Types.LogConfiguration: instance GHC.Show.Show Amazonka.Batch.Types.LogConfiguration.LogConfiguration
+ Amazonka.Batch.Types.LogConfiguration: logConfiguration_logDriver :: Lens' LogConfiguration LogDriver
+ Amazonka.Batch.Types.LogConfiguration: logConfiguration_options :: Lens' LogConfiguration (Maybe (HashMap Text Text))
+ Amazonka.Batch.Types.LogConfiguration: logConfiguration_secretOptions :: Lens' LogConfiguration (Maybe [Secret])
+ Amazonka.Batch.Types.LogConfiguration: newLogConfiguration :: LogDriver -> LogConfiguration
+ Amazonka.Batch.Types.LogDriver: LogDriver' :: Text -> LogDriver
+ Amazonka.Batch.Types.LogDriver: [fromLogDriver] :: LogDriver -> Text
+ Amazonka.Batch.Types.LogDriver: instance Amazonka.Data.ByteString.ToByteString Amazonka.Batch.Types.LogDriver.LogDriver
+ Amazonka.Batch.Types.LogDriver: instance Amazonka.Data.Headers.ToHeader Amazonka.Batch.Types.LogDriver.LogDriver
+ Amazonka.Batch.Types.LogDriver: instance Amazonka.Data.Log.ToLog Amazonka.Batch.Types.LogDriver.LogDriver
+ Amazonka.Batch.Types.LogDriver: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.Types.LogDriver.LogDriver
+ Amazonka.Batch.Types.LogDriver: instance Amazonka.Data.Text.FromText Amazonka.Batch.Types.LogDriver.LogDriver
+ Amazonka.Batch.Types.LogDriver: instance Amazonka.Data.Text.ToText Amazonka.Batch.Types.LogDriver.LogDriver
+ Amazonka.Batch.Types.LogDriver: instance Amazonka.Data.XML.FromXML Amazonka.Batch.Types.LogDriver.LogDriver
+ Amazonka.Batch.Types.LogDriver: instance Amazonka.Data.XML.ToXML Amazonka.Batch.Types.LogDriver.LogDriver
+ Amazonka.Batch.Types.LogDriver: instance Control.DeepSeq.NFData Amazonka.Batch.Types.LogDriver.LogDriver
+ Amazonka.Batch.Types.LogDriver: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.LogDriver.LogDriver
+ Amazonka.Batch.Types.LogDriver: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Batch.Types.LogDriver.LogDriver
+ Amazonka.Batch.Types.LogDriver: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.LogDriver.LogDriver
+ Amazonka.Batch.Types.LogDriver: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Batch.Types.LogDriver.LogDriver
+ Amazonka.Batch.Types.LogDriver: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.LogDriver.LogDriver
+ Amazonka.Batch.Types.LogDriver: instance GHC.Classes.Eq Amazonka.Batch.Types.LogDriver.LogDriver
+ Amazonka.Batch.Types.LogDriver: instance GHC.Classes.Ord Amazonka.Batch.Types.LogDriver.LogDriver
+ Amazonka.Batch.Types.LogDriver: instance GHC.Generics.Generic Amazonka.Batch.Types.LogDriver.LogDriver
+ Amazonka.Batch.Types.LogDriver: instance GHC.Read.Read Amazonka.Batch.Types.LogDriver.LogDriver
+ Amazonka.Batch.Types.LogDriver: instance GHC.Show.Show Amazonka.Batch.Types.LogDriver.LogDriver
+ Amazonka.Batch.Types.LogDriver: newtype LogDriver
+ Amazonka.Batch.Types.LogDriver: pattern LogDriver_Awslogs :: LogDriver
+ Amazonka.Batch.Types.LogDriver: pattern LogDriver_Fluentd :: LogDriver
+ Amazonka.Batch.Types.LogDriver: pattern LogDriver_Gelf :: LogDriver
+ Amazonka.Batch.Types.LogDriver: pattern LogDriver_Journald :: LogDriver
+ Amazonka.Batch.Types.LogDriver: pattern LogDriver_Json_file :: LogDriver
+ Amazonka.Batch.Types.LogDriver: pattern LogDriver_Splunk :: LogDriver
+ Amazonka.Batch.Types.LogDriver: pattern LogDriver_Syslog :: LogDriver
+ Amazonka.Batch.Types.MountPoint: MountPoint' :: Maybe Text -> Maybe Bool -> Maybe Text -> MountPoint
+ Amazonka.Batch.Types.MountPoint: [$sel:containerPath:MountPoint'] :: MountPoint -> Maybe Text
+ Amazonka.Batch.Types.MountPoint: [$sel:readOnly:MountPoint'] :: MountPoint -> Maybe Bool
+ Amazonka.Batch.Types.MountPoint: [$sel:sourceVolume:MountPoint'] :: MountPoint -> Maybe Text
+ Amazonka.Batch.Types.MountPoint: data MountPoint
+ Amazonka.Batch.Types.MountPoint: instance Control.DeepSeq.NFData Amazonka.Batch.Types.MountPoint.MountPoint
+ Amazonka.Batch.Types.MountPoint: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.MountPoint.MountPoint
+ Amazonka.Batch.Types.MountPoint: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.MountPoint.MountPoint
+ Amazonka.Batch.Types.MountPoint: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.MountPoint.MountPoint
+ Amazonka.Batch.Types.MountPoint: instance GHC.Classes.Eq Amazonka.Batch.Types.MountPoint.MountPoint
+ Amazonka.Batch.Types.MountPoint: instance GHC.Generics.Generic Amazonka.Batch.Types.MountPoint.MountPoint
+ Amazonka.Batch.Types.MountPoint: instance GHC.Read.Read Amazonka.Batch.Types.MountPoint.MountPoint
+ Amazonka.Batch.Types.MountPoint: instance GHC.Show.Show Amazonka.Batch.Types.MountPoint.MountPoint
+ Amazonka.Batch.Types.MountPoint: mountPoint_containerPath :: Lens' MountPoint (Maybe Text)
+ Amazonka.Batch.Types.MountPoint: mountPoint_readOnly :: Lens' MountPoint (Maybe Bool)
+ Amazonka.Batch.Types.MountPoint: mountPoint_sourceVolume :: Lens' MountPoint (Maybe Text)
+ Amazonka.Batch.Types.MountPoint: newMountPoint :: MountPoint
+ Amazonka.Batch.Types.NetworkConfiguration: NetworkConfiguration' :: Maybe AssignPublicIp -> NetworkConfiguration
+ Amazonka.Batch.Types.NetworkConfiguration: [$sel:assignPublicIp:NetworkConfiguration'] :: NetworkConfiguration -> Maybe AssignPublicIp
+ Amazonka.Batch.Types.NetworkConfiguration: data NetworkConfiguration
+ Amazonka.Batch.Types.NetworkConfiguration: instance Control.DeepSeq.NFData Amazonka.Batch.Types.NetworkConfiguration.NetworkConfiguration
+ Amazonka.Batch.Types.NetworkConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.NetworkConfiguration.NetworkConfiguration
+ Amazonka.Batch.Types.NetworkConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.NetworkConfiguration.NetworkConfiguration
+ Amazonka.Batch.Types.NetworkConfiguration: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.NetworkConfiguration.NetworkConfiguration
+ Amazonka.Batch.Types.NetworkConfiguration: instance GHC.Classes.Eq Amazonka.Batch.Types.NetworkConfiguration.NetworkConfiguration
+ Amazonka.Batch.Types.NetworkConfiguration: instance GHC.Generics.Generic Amazonka.Batch.Types.NetworkConfiguration.NetworkConfiguration
+ Amazonka.Batch.Types.NetworkConfiguration: instance GHC.Read.Read Amazonka.Batch.Types.NetworkConfiguration.NetworkConfiguration
+ Amazonka.Batch.Types.NetworkConfiguration: instance GHC.Show.Show Amazonka.Batch.Types.NetworkConfiguration.NetworkConfiguration
+ Amazonka.Batch.Types.NetworkConfiguration: networkConfiguration_assignPublicIp :: Lens' NetworkConfiguration (Maybe AssignPublicIp)
+ Amazonka.Batch.Types.NetworkConfiguration: newNetworkConfiguration :: NetworkConfiguration
+ Amazonka.Batch.Types.NetworkInterface: NetworkInterface' :: Maybe Text -> Maybe Text -> Maybe Text -> NetworkInterface
+ Amazonka.Batch.Types.NetworkInterface: [$sel:attachmentId:NetworkInterface'] :: NetworkInterface -> Maybe Text
+ Amazonka.Batch.Types.NetworkInterface: [$sel:ipv6Address:NetworkInterface'] :: NetworkInterface -> Maybe Text
+ Amazonka.Batch.Types.NetworkInterface: [$sel:privateIpv4Address:NetworkInterface'] :: NetworkInterface -> Maybe Text
+ Amazonka.Batch.Types.NetworkInterface: data NetworkInterface
+ Amazonka.Batch.Types.NetworkInterface: instance Control.DeepSeq.NFData Amazonka.Batch.Types.NetworkInterface.NetworkInterface
+ Amazonka.Batch.Types.NetworkInterface: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.NetworkInterface.NetworkInterface
+ Amazonka.Batch.Types.NetworkInterface: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.NetworkInterface.NetworkInterface
+ Amazonka.Batch.Types.NetworkInterface: instance GHC.Classes.Eq Amazonka.Batch.Types.NetworkInterface.NetworkInterface
+ Amazonka.Batch.Types.NetworkInterface: instance GHC.Generics.Generic Amazonka.Batch.Types.NetworkInterface.NetworkInterface
+ Amazonka.Batch.Types.NetworkInterface: instance GHC.Read.Read Amazonka.Batch.Types.NetworkInterface.NetworkInterface
+ Amazonka.Batch.Types.NetworkInterface: instance GHC.Show.Show Amazonka.Batch.Types.NetworkInterface.NetworkInterface
+ Amazonka.Batch.Types.NetworkInterface: networkInterface_attachmentId :: Lens' NetworkInterface (Maybe Text)
+ Amazonka.Batch.Types.NetworkInterface: networkInterface_ipv6Address :: Lens' NetworkInterface (Maybe Text)
+ Amazonka.Batch.Types.NetworkInterface: networkInterface_privateIpv4Address :: Lens' NetworkInterface (Maybe Text)
+ Amazonka.Batch.Types.NetworkInterface: newNetworkInterface :: NetworkInterface
+ Amazonka.Batch.Types.NodeDetails: NodeDetails' :: Maybe Bool -> Maybe Int -> NodeDetails
+ Amazonka.Batch.Types.NodeDetails: [$sel:isMainNode:NodeDetails'] :: NodeDetails -> Maybe Bool
+ Amazonka.Batch.Types.NodeDetails: [$sel:nodeIndex:NodeDetails'] :: NodeDetails -> Maybe Int
+ Amazonka.Batch.Types.NodeDetails: data NodeDetails
+ Amazonka.Batch.Types.NodeDetails: instance Control.DeepSeq.NFData Amazonka.Batch.Types.NodeDetails.NodeDetails
+ Amazonka.Batch.Types.NodeDetails: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.NodeDetails.NodeDetails
+ Amazonka.Batch.Types.NodeDetails: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.NodeDetails.NodeDetails
+ Amazonka.Batch.Types.NodeDetails: instance GHC.Classes.Eq Amazonka.Batch.Types.NodeDetails.NodeDetails
+ Amazonka.Batch.Types.NodeDetails: instance GHC.Generics.Generic Amazonka.Batch.Types.NodeDetails.NodeDetails
+ Amazonka.Batch.Types.NodeDetails: instance GHC.Read.Read Amazonka.Batch.Types.NodeDetails.NodeDetails
+ Amazonka.Batch.Types.NodeDetails: instance GHC.Show.Show Amazonka.Batch.Types.NodeDetails.NodeDetails
+ Amazonka.Batch.Types.NodeDetails: newNodeDetails :: NodeDetails
+ Amazonka.Batch.Types.NodeDetails: nodeDetails_isMainNode :: Lens' NodeDetails (Maybe Bool)
+ Amazonka.Batch.Types.NodeDetails: nodeDetails_nodeIndex :: Lens' NodeDetails (Maybe Int)
+ Amazonka.Batch.Types.NodeOverrides: NodeOverrides' :: Maybe [NodePropertyOverride] -> Maybe Int -> NodeOverrides
+ Amazonka.Batch.Types.NodeOverrides: [$sel:nodePropertyOverrides:NodeOverrides'] :: NodeOverrides -> Maybe [NodePropertyOverride]
+ Amazonka.Batch.Types.NodeOverrides: [$sel:numNodes:NodeOverrides'] :: NodeOverrides -> Maybe Int
+ Amazonka.Batch.Types.NodeOverrides: data NodeOverrides
+ Amazonka.Batch.Types.NodeOverrides: instance Control.DeepSeq.NFData Amazonka.Batch.Types.NodeOverrides.NodeOverrides
+ Amazonka.Batch.Types.NodeOverrides: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.NodeOverrides.NodeOverrides
+ Amazonka.Batch.Types.NodeOverrides: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.NodeOverrides.NodeOverrides
+ Amazonka.Batch.Types.NodeOverrides: instance GHC.Classes.Eq Amazonka.Batch.Types.NodeOverrides.NodeOverrides
+ Amazonka.Batch.Types.NodeOverrides: instance GHC.Generics.Generic Amazonka.Batch.Types.NodeOverrides.NodeOverrides
+ Amazonka.Batch.Types.NodeOverrides: instance GHC.Read.Read Amazonka.Batch.Types.NodeOverrides.NodeOverrides
+ Amazonka.Batch.Types.NodeOverrides: instance GHC.Show.Show Amazonka.Batch.Types.NodeOverrides.NodeOverrides
+ Amazonka.Batch.Types.NodeOverrides: newNodeOverrides :: NodeOverrides
+ Amazonka.Batch.Types.NodeOverrides: nodeOverrides_nodePropertyOverrides :: Lens' NodeOverrides (Maybe [NodePropertyOverride])
+ Amazonka.Batch.Types.NodeOverrides: nodeOverrides_numNodes :: Lens' NodeOverrides (Maybe Int)
+ Amazonka.Batch.Types.NodeProperties: NodeProperties' :: Int -> Int -> [NodeRangeProperty] -> NodeProperties
+ Amazonka.Batch.Types.NodeProperties: [$sel:mainNode:NodeProperties'] :: NodeProperties -> Int
+ Amazonka.Batch.Types.NodeProperties: [$sel:nodeRangeProperties:NodeProperties'] :: NodeProperties -> [NodeRangeProperty]
+ Amazonka.Batch.Types.NodeProperties: [$sel:numNodes:NodeProperties'] :: NodeProperties -> Int
+ Amazonka.Batch.Types.NodeProperties: data NodeProperties
+ Amazonka.Batch.Types.NodeProperties: instance Control.DeepSeq.NFData Amazonka.Batch.Types.NodeProperties.NodeProperties
+ Amazonka.Batch.Types.NodeProperties: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.NodeProperties.NodeProperties
+ Amazonka.Batch.Types.NodeProperties: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.NodeProperties.NodeProperties
+ Amazonka.Batch.Types.NodeProperties: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.NodeProperties.NodeProperties
+ Amazonka.Batch.Types.NodeProperties: instance GHC.Classes.Eq Amazonka.Batch.Types.NodeProperties.NodeProperties
+ Amazonka.Batch.Types.NodeProperties: instance GHC.Generics.Generic Amazonka.Batch.Types.NodeProperties.NodeProperties
+ Amazonka.Batch.Types.NodeProperties: instance GHC.Read.Read Amazonka.Batch.Types.NodeProperties.NodeProperties
+ Amazonka.Batch.Types.NodeProperties: instance GHC.Show.Show Amazonka.Batch.Types.NodeProperties.NodeProperties
+ Amazonka.Batch.Types.NodeProperties: newNodeProperties :: Int -> Int -> NodeProperties
+ Amazonka.Batch.Types.NodeProperties: nodeProperties_mainNode :: Lens' NodeProperties Int
+ Amazonka.Batch.Types.NodeProperties: nodeProperties_nodeRangeProperties :: Lens' NodeProperties [NodeRangeProperty]
+ Amazonka.Batch.Types.NodeProperties: nodeProperties_numNodes :: Lens' NodeProperties Int
+ Amazonka.Batch.Types.NodePropertiesSummary: NodePropertiesSummary' :: Maybe Bool -> Maybe Int -> Maybe Int -> NodePropertiesSummary
+ Amazonka.Batch.Types.NodePropertiesSummary: [$sel:isMainNode:NodePropertiesSummary'] :: NodePropertiesSummary -> Maybe Bool
+ Amazonka.Batch.Types.NodePropertiesSummary: [$sel:nodeIndex:NodePropertiesSummary'] :: NodePropertiesSummary -> Maybe Int
+ Amazonka.Batch.Types.NodePropertiesSummary: [$sel:numNodes:NodePropertiesSummary'] :: NodePropertiesSummary -> Maybe Int
+ Amazonka.Batch.Types.NodePropertiesSummary: data NodePropertiesSummary
+ Amazonka.Batch.Types.NodePropertiesSummary: instance Control.DeepSeq.NFData Amazonka.Batch.Types.NodePropertiesSummary.NodePropertiesSummary
+ Amazonka.Batch.Types.NodePropertiesSummary: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.NodePropertiesSummary.NodePropertiesSummary
+ Amazonka.Batch.Types.NodePropertiesSummary: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.NodePropertiesSummary.NodePropertiesSummary
+ Amazonka.Batch.Types.NodePropertiesSummary: instance GHC.Classes.Eq Amazonka.Batch.Types.NodePropertiesSummary.NodePropertiesSummary
+ Amazonka.Batch.Types.NodePropertiesSummary: instance GHC.Generics.Generic Amazonka.Batch.Types.NodePropertiesSummary.NodePropertiesSummary
+ Amazonka.Batch.Types.NodePropertiesSummary: instance GHC.Read.Read Amazonka.Batch.Types.NodePropertiesSummary.NodePropertiesSummary
+ Amazonka.Batch.Types.NodePropertiesSummary: instance GHC.Show.Show Amazonka.Batch.Types.NodePropertiesSummary.NodePropertiesSummary
+ Amazonka.Batch.Types.NodePropertiesSummary: newNodePropertiesSummary :: NodePropertiesSummary
+ Amazonka.Batch.Types.NodePropertiesSummary: nodePropertiesSummary_isMainNode :: Lens' NodePropertiesSummary (Maybe Bool)
+ Amazonka.Batch.Types.NodePropertiesSummary: nodePropertiesSummary_nodeIndex :: Lens' NodePropertiesSummary (Maybe Int)
+ Amazonka.Batch.Types.NodePropertiesSummary: nodePropertiesSummary_numNodes :: Lens' NodePropertiesSummary (Maybe Int)
+ Amazonka.Batch.Types.NodePropertyOverride: NodePropertyOverride' :: Maybe ContainerOverrides -> Text -> NodePropertyOverride
+ Amazonka.Batch.Types.NodePropertyOverride: [$sel:containerOverrides:NodePropertyOverride'] :: NodePropertyOverride -> Maybe ContainerOverrides
+ Amazonka.Batch.Types.NodePropertyOverride: [$sel:targetNodes:NodePropertyOverride'] :: NodePropertyOverride -> Text
+ Amazonka.Batch.Types.NodePropertyOverride: data NodePropertyOverride
+ Amazonka.Batch.Types.NodePropertyOverride: instance Control.DeepSeq.NFData Amazonka.Batch.Types.NodePropertyOverride.NodePropertyOverride
+ Amazonka.Batch.Types.NodePropertyOverride: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.NodePropertyOverride.NodePropertyOverride
+ Amazonka.Batch.Types.NodePropertyOverride: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.NodePropertyOverride.NodePropertyOverride
+ Amazonka.Batch.Types.NodePropertyOverride: instance GHC.Classes.Eq Amazonka.Batch.Types.NodePropertyOverride.NodePropertyOverride
+ Amazonka.Batch.Types.NodePropertyOverride: instance GHC.Generics.Generic Amazonka.Batch.Types.NodePropertyOverride.NodePropertyOverride
+ Amazonka.Batch.Types.NodePropertyOverride: instance GHC.Read.Read Amazonka.Batch.Types.NodePropertyOverride.NodePropertyOverride
+ Amazonka.Batch.Types.NodePropertyOverride: instance GHC.Show.Show Amazonka.Batch.Types.NodePropertyOverride.NodePropertyOverride
+ Amazonka.Batch.Types.NodePropertyOverride: newNodePropertyOverride :: Text -> NodePropertyOverride
+ Amazonka.Batch.Types.NodePropertyOverride: nodePropertyOverride_containerOverrides :: Lens' NodePropertyOverride (Maybe ContainerOverrides)
+ Amazonka.Batch.Types.NodePropertyOverride: nodePropertyOverride_targetNodes :: Lens' NodePropertyOverride Text
+ Amazonka.Batch.Types.NodeRangeProperty: NodeRangeProperty' :: Maybe ContainerProperties -> Text -> NodeRangeProperty
+ Amazonka.Batch.Types.NodeRangeProperty: [$sel:container:NodeRangeProperty'] :: NodeRangeProperty -> Maybe ContainerProperties
+ Amazonka.Batch.Types.NodeRangeProperty: [$sel:targetNodes:NodeRangeProperty'] :: NodeRangeProperty -> Text
+ Amazonka.Batch.Types.NodeRangeProperty: data NodeRangeProperty
+ Amazonka.Batch.Types.NodeRangeProperty: instance Control.DeepSeq.NFData Amazonka.Batch.Types.NodeRangeProperty.NodeRangeProperty
+ Amazonka.Batch.Types.NodeRangeProperty: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.NodeRangeProperty.NodeRangeProperty
+ Amazonka.Batch.Types.NodeRangeProperty: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.NodeRangeProperty.NodeRangeProperty
+ Amazonka.Batch.Types.NodeRangeProperty: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.NodeRangeProperty.NodeRangeProperty
+ Amazonka.Batch.Types.NodeRangeProperty: instance GHC.Classes.Eq Amazonka.Batch.Types.NodeRangeProperty.NodeRangeProperty
+ Amazonka.Batch.Types.NodeRangeProperty: instance GHC.Generics.Generic Amazonka.Batch.Types.NodeRangeProperty.NodeRangeProperty
+ Amazonka.Batch.Types.NodeRangeProperty: instance GHC.Read.Read Amazonka.Batch.Types.NodeRangeProperty.NodeRangeProperty
+ Amazonka.Batch.Types.NodeRangeProperty: instance GHC.Show.Show Amazonka.Batch.Types.NodeRangeProperty.NodeRangeProperty
+ Amazonka.Batch.Types.NodeRangeProperty: newNodeRangeProperty :: Text -> NodeRangeProperty
+ Amazonka.Batch.Types.NodeRangeProperty: nodeRangeProperty_container :: Lens' NodeRangeProperty (Maybe ContainerProperties)
+ Amazonka.Batch.Types.NodeRangeProperty: nodeRangeProperty_targetNodes :: Lens' NodeRangeProperty Text
+ Amazonka.Batch.Types.OrchestrationType: OrchestrationType' :: Text -> OrchestrationType
+ Amazonka.Batch.Types.OrchestrationType: [fromOrchestrationType] :: OrchestrationType -> Text
+ Amazonka.Batch.Types.OrchestrationType: instance Amazonka.Data.ByteString.ToByteString Amazonka.Batch.Types.OrchestrationType.OrchestrationType
+ Amazonka.Batch.Types.OrchestrationType: instance Amazonka.Data.Headers.ToHeader Amazonka.Batch.Types.OrchestrationType.OrchestrationType
+ Amazonka.Batch.Types.OrchestrationType: instance Amazonka.Data.Log.ToLog Amazonka.Batch.Types.OrchestrationType.OrchestrationType
+ Amazonka.Batch.Types.OrchestrationType: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.Types.OrchestrationType.OrchestrationType
+ Amazonka.Batch.Types.OrchestrationType: instance Amazonka.Data.Text.FromText Amazonka.Batch.Types.OrchestrationType.OrchestrationType
+ Amazonka.Batch.Types.OrchestrationType: instance Amazonka.Data.Text.ToText Amazonka.Batch.Types.OrchestrationType.OrchestrationType
+ Amazonka.Batch.Types.OrchestrationType: instance Amazonka.Data.XML.FromXML Amazonka.Batch.Types.OrchestrationType.OrchestrationType
+ Amazonka.Batch.Types.OrchestrationType: instance Amazonka.Data.XML.ToXML Amazonka.Batch.Types.OrchestrationType.OrchestrationType
+ Amazonka.Batch.Types.OrchestrationType: instance Control.DeepSeq.NFData Amazonka.Batch.Types.OrchestrationType.OrchestrationType
+ Amazonka.Batch.Types.OrchestrationType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.OrchestrationType.OrchestrationType
+ Amazonka.Batch.Types.OrchestrationType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Batch.Types.OrchestrationType.OrchestrationType
+ Amazonka.Batch.Types.OrchestrationType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.OrchestrationType.OrchestrationType
+ Amazonka.Batch.Types.OrchestrationType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Batch.Types.OrchestrationType.OrchestrationType
+ Amazonka.Batch.Types.OrchestrationType: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.OrchestrationType.OrchestrationType
+ Amazonka.Batch.Types.OrchestrationType: instance GHC.Classes.Eq Amazonka.Batch.Types.OrchestrationType.OrchestrationType
+ Amazonka.Batch.Types.OrchestrationType: instance GHC.Classes.Ord Amazonka.Batch.Types.OrchestrationType.OrchestrationType
+ Amazonka.Batch.Types.OrchestrationType: instance GHC.Generics.Generic Amazonka.Batch.Types.OrchestrationType.OrchestrationType
+ Amazonka.Batch.Types.OrchestrationType: instance GHC.Read.Read Amazonka.Batch.Types.OrchestrationType.OrchestrationType
+ Amazonka.Batch.Types.OrchestrationType: instance GHC.Show.Show Amazonka.Batch.Types.OrchestrationType.OrchestrationType
+ Amazonka.Batch.Types.OrchestrationType: newtype OrchestrationType
+ Amazonka.Batch.Types.OrchestrationType: pattern OrchestrationType_ECS :: OrchestrationType
+ Amazonka.Batch.Types.OrchestrationType: pattern OrchestrationType_EKS :: OrchestrationType
+ Amazonka.Batch.Types.PlatformCapability: PlatformCapability' :: Text -> PlatformCapability
+ Amazonka.Batch.Types.PlatformCapability: [fromPlatformCapability] :: PlatformCapability -> Text
+ Amazonka.Batch.Types.PlatformCapability: instance Amazonka.Data.ByteString.ToByteString Amazonka.Batch.Types.PlatformCapability.PlatformCapability
+ Amazonka.Batch.Types.PlatformCapability: instance Amazonka.Data.Headers.ToHeader Amazonka.Batch.Types.PlatformCapability.PlatformCapability
+ Amazonka.Batch.Types.PlatformCapability: instance Amazonka.Data.Log.ToLog Amazonka.Batch.Types.PlatformCapability.PlatformCapability
+ Amazonka.Batch.Types.PlatformCapability: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.Types.PlatformCapability.PlatformCapability
+ Amazonka.Batch.Types.PlatformCapability: instance Amazonka.Data.Text.FromText Amazonka.Batch.Types.PlatformCapability.PlatformCapability
+ Amazonka.Batch.Types.PlatformCapability: instance Amazonka.Data.Text.ToText Amazonka.Batch.Types.PlatformCapability.PlatformCapability
+ Amazonka.Batch.Types.PlatformCapability: instance Amazonka.Data.XML.FromXML Amazonka.Batch.Types.PlatformCapability.PlatformCapability
+ Amazonka.Batch.Types.PlatformCapability: instance Amazonka.Data.XML.ToXML Amazonka.Batch.Types.PlatformCapability.PlatformCapability
+ Amazonka.Batch.Types.PlatformCapability: instance Control.DeepSeq.NFData Amazonka.Batch.Types.PlatformCapability.PlatformCapability
+ Amazonka.Batch.Types.PlatformCapability: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.PlatformCapability.PlatformCapability
+ Amazonka.Batch.Types.PlatformCapability: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Batch.Types.PlatformCapability.PlatformCapability
+ Amazonka.Batch.Types.PlatformCapability: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.PlatformCapability.PlatformCapability
+ Amazonka.Batch.Types.PlatformCapability: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Batch.Types.PlatformCapability.PlatformCapability
+ Amazonka.Batch.Types.PlatformCapability: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.PlatformCapability.PlatformCapability
+ Amazonka.Batch.Types.PlatformCapability: instance GHC.Classes.Eq Amazonka.Batch.Types.PlatformCapability.PlatformCapability
+ Amazonka.Batch.Types.PlatformCapability: instance GHC.Classes.Ord Amazonka.Batch.Types.PlatformCapability.PlatformCapability
+ Amazonka.Batch.Types.PlatformCapability: instance GHC.Generics.Generic Amazonka.Batch.Types.PlatformCapability.PlatformCapability
+ Amazonka.Batch.Types.PlatformCapability: instance GHC.Read.Read Amazonka.Batch.Types.PlatformCapability.PlatformCapability
+ Amazonka.Batch.Types.PlatformCapability: instance GHC.Show.Show Amazonka.Batch.Types.PlatformCapability.PlatformCapability
+ Amazonka.Batch.Types.PlatformCapability: newtype PlatformCapability
+ Amazonka.Batch.Types.PlatformCapability: pattern PlatformCapability_EC2 :: PlatformCapability
+ Amazonka.Batch.Types.PlatformCapability: pattern PlatformCapability_FARGATE :: PlatformCapability
+ Amazonka.Batch.Types.ResourceRequirement: ResourceRequirement' :: Text -> ResourceType -> ResourceRequirement
+ Amazonka.Batch.Types.ResourceRequirement: [$sel:type':ResourceRequirement'] :: ResourceRequirement -> ResourceType
+ Amazonka.Batch.Types.ResourceRequirement: [$sel:value:ResourceRequirement'] :: ResourceRequirement -> Text
+ Amazonka.Batch.Types.ResourceRequirement: data ResourceRequirement
+ Amazonka.Batch.Types.ResourceRequirement: instance Control.DeepSeq.NFData Amazonka.Batch.Types.ResourceRequirement.ResourceRequirement
+ Amazonka.Batch.Types.ResourceRequirement: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.ResourceRequirement.ResourceRequirement
+ Amazonka.Batch.Types.ResourceRequirement: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.ResourceRequirement.ResourceRequirement
+ Amazonka.Batch.Types.ResourceRequirement: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.ResourceRequirement.ResourceRequirement
+ Amazonka.Batch.Types.ResourceRequirement: instance GHC.Classes.Eq Amazonka.Batch.Types.ResourceRequirement.ResourceRequirement
+ Amazonka.Batch.Types.ResourceRequirement: instance GHC.Generics.Generic Amazonka.Batch.Types.ResourceRequirement.ResourceRequirement
+ Amazonka.Batch.Types.ResourceRequirement: instance GHC.Read.Read Amazonka.Batch.Types.ResourceRequirement.ResourceRequirement
+ Amazonka.Batch.Types.ResourceRequirement: instance GHC.Show.Show Amazonka.Batch.Types.ResourceRequirement.ResourceRequirement
+ Amazonka.Batch.Types.ResourceRequirement: newResourceRequirement :: Text -> ResourceType -> ResourceRequirement
+ Amazonka.Batch.Types.ResourceRequirement: resourceRequirement_type :: Lens' ResourceRequirement ResourceType
+ Amazonka.Batch.Types.ResourceRequirement: resourceRequirement_value :: Lens' ResourceRequirement Text
+ Amazonka.Batch.Types.ResourceType: ResourceType' :: Text -> ResourceType
+ Amazonka.Batch.Types.ResourceType: [fromResourceType] :: ResourceType -> Text
+ Amazonka.Batch.Types.ResourceType: instance Amazonka.Data.ByteString.ToByteString Amazonka.Batch.Types.ResourceType.ResourceType
+ Amazonka.Batch.Types.ResourceType: instance Amazonka.Data.Headers.ToHeader Amazonka.Batch.Types.ResourceType.ResourceType
+ Amazonka.Batch.Types.ResourceType: instance Amazonka.Data.Log.ToLog Amazonka.Batch.Types.ResourceType.ResourceType
+ Amazonka.Batch.Types.ResourceType: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.Types.ResourceType.ResourceType
+ Amazonka.Batch.Types.ResourceType: instance Amazonka.Data.Text.FromText Amazonka.Batch.Types.ResourceType.ResourceType
+ Amazonka.Batch.Types.ResourceType: instance Amazonka.Data.Text.ToText Amazonka.Batch.Types.ResourceType.ResourceType
+ Amazonka.Batch.Types.ResourceType: instance Amazonka.Data.XML.FromXML Amazonka.Batch.Types.ResourceType.ResourceType
+ Amazonka.Batch.Types.ResourceType: instance Amazonka.Data.XML.ToXML Amazonka.Batch.Types.ResourceType.ResourceType
+ Amazonka.Batch.Types.ResourceType: instance Control.DeepSeq.NFData Amazonka.Batch.Types.ResourceType.ResourceType
+ Amazonka.Batch.Types.ResourceType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.ResourceType.ResourceType
+ Amazonka.Batch.Types.ResourceType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Batch.Types.ResourceType.ResourceType
+ Amazonka.Batch.Types.ResourceType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.ResourceType.ResourceType
+ Amazonka.Batch.Types.ResourceType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Batch.Types.ResourceType.ResourceType
+ Amazonka.Batch.Types.ResourceType: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.ResourceType.ResourceType
+ Amazonka.Batch.Types.ResourceType: instance GHC.Classes.Eq Amazonka.Batch.Types.ResourceType.ResourceType
+ Amazonka.Batch.Types.ResourceType: instance GHC.Classes.Ord Amazonka.Batch.Types.ResourceType.ResourceType
+ Amazonka.Batch.Types.ResourceType: instance GHC.Generics.Generic Amazonka.Batch.Types.ResourceType.ResourceType
+ Amazonka.Batch.Types.ResourceType: instance GHC.Read.Read Amazonka.Batch.Types.ResourceType.ResourceType
+ Amazonka.Batch.Types.ResourceType: instance GHC.Show.Show Amazonka.Batch.Types.ResourceType.ResourceType
+ Amazonka.Batch.Types.ResourceType: newtype ResourceType
+ Amazonka.Batch.Types.ResourceType: pattern ResourceType_GPU :: ResourceType
+ Amazonka.Batch.Types.ResourceType: pattern ResourceType_MEMORY :: ResourceType
+ Amazonka.Batch.Types.ResourceType: pattern ResourceType_VCPU :: ResourceType
+ Amazonka.Batch.Types.RetryAction: RetryAction' :: Text -> RetryAction
+ Amazonka.Batch.Types.RetryAction: [fromRetryAction] :: RetryAction -> Text
+ Amazonka.Batch.Types.RetryAction: instance Amazonka.Data.ByteString.ToByteString Amazonka.Batch.Types.RetryAction.RetryAction
+ Amazonka.Batch.Types.RetryAction: instance Amazonka.Data.Headers.ToHeader Amazonka.Batch.Types.RetryAction.RetryAction
+ Amazonka.Batch.Types.RetryAction: instance Amazonka.Data.Log.ToLog Amazonka.Batch.Types.RetryAction.RetryAction
+ Amazonka.Batch.Types.RetryAction: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.Types.RetryAction.RetryAction
+ Amazonka.Batch.Types.RetryAction: instance Amazonka.Data.Text.FromText Amazonka.Batch.Types.RetryAction.RetryAction
+ Amazonka.Batch.Types.RetryAction: instance Amazonka.Data.Text.ToText Amazonka.Batch.Types.RetryAction.RetryAction
+ Amazonka.Batch.Types.RetryAction: instance Amazonka.Data.XML.FromXML Amazonka.Batch.Types.RetryAction.RetryAction
+ Amazonka.Batch.Types.RetryAction: instance Amazonka.Data.XML.ToXML Amazonka.Batch.Types.RetryAction.RetryAction
+ Amazonka.Batch.Types.RetryAction: instance Control.DeepSeq.NFData Amazonka.Batch.Types.RetryAction.RetryAction
+ Amazonka.Batch.Types.RetryAction: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.RetryAction.RetryAction
+ Amazonka.Batch.Types.RetryAction: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Batch.Types.RetryAction.RetryAction
+ Amazonka.Batch.Types.RetryAction: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.RetryAction.RetryAction
+ Amazonka.Batch.Types.RetryAction: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Batch.Types.RetryAction.RetryAction
+ Amazonka.Batch.Types.RetryAction: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.RetryAction.RetryAction
+ Amazonka.Batch.Types.RetryAction: instance GHC.Classes.Eq Amazonka.Batch.Types.RetryAction.RetryAction
+ Amazonka.Batch.Types.RetryAction: instance GHC.Classes.Ord Amazonka.Batch.Types.RetryAction.RetryAction
+ Amazonka.Batch.Types.RetryAction: instance GHC.Generics.Generic Amazonka.Batch.Types.RetryAction.RetryAction
+ Amazonka.Batch.Types.RetryAction: instance GHC.Read.Read Amazonka.Batch.Types.RetryAction.RetryAction
+ Amazonka.Batch.Types.RetryAction: instance GHC.Show.Show Amazonka.Batch.Types.RetryAction.RetryAction
+ Amazonka.Batch.Types.RetryAction: newtype RetryAction
+ Amazonka.Batch.Types.RetryAction: pattern RetryAction_EXIT :: RetryAction
+ Amazonka.Batch.Types.RetryAction: pattern RetryAction_RETRY :: RetryAction
+ Amazonka.Batch.Types.RetryStrategy: RetryStrategy' :: Maybe Int -> Maybe [EvaluateOnExit] -> RetryStrategy
+ Amazonka.Batch.Types.RetryStrategy: [$sel:attempts:RetryStrategy'] :: RetryStrategy -> Maybe Int
+ Amazonka.Batch.Types.RetryStrategy: [$sel:evaluateOnExit:RetryStrategy'] :: RetryStrategy -> Maybe [EvaluateOnExit]
+ Amazonka.Batch.Types.RetryStrategy: data RetryStrategy
+ Amazonka.Batch.Types.RetryStrategy: instance Control.DeepSeq.NFData Amazonka.Batch.Types.RetryStrategy.RetryStrategy
+ Amazonka.Batch.Types.RetryStrategy: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.RetryStrategy.RetryStrategy
+ Amazonka.Batch.Types.RetryStrategy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.RetryStrategy.RetryStrategy
+ Amazonka.Batch.Types.RetryStrategy: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.RetryStrategy.RetryStrategy
+ Amazonka.Batch.Types.RetryStrategy: instance GHC.Classes.Eq Amazonka.Batch.Types.RetryStrategy.RetryStrategy
+ Amazonka.Batch.Types.RetryStrategy: instance GHC.Generics.Generic Amazonka.Batch.Types.RetryStrategy.RetryStrategy
+ Amazonka.Batch.Types.RetryStrategy: instance GHC.Read.Read Amazonka.Batch.Types.RetryStrategy.RetryStrategy
+ Amazonka.Batch.Types.RetryStrategy: instance GHC.Show.Show Amazonka.Batch.Types.RetryStrategy.RetryStrategy
+ Amazonka.Batch.Types.RetryStrategy: newRetryStrategy :: RetryStrategy
+ Amazonka.Batch.Types.RetryStrategy: retryStrategy_attempts :: Lens' RetryStrategy (Maybe Int)
+ Amazonka.Batch.Types.RetryStrategy: retryStrategy_evaluateOnExit :: Lens' RetryStrategy (Maybe [EvaluateOnExit])
+ Amazonka.Batch.Types.SchedulingPolicyDetail: SchedulingPolicyDetail' :: Maybe FairsharePolicy -> Maybe (HashMap Text Text) -> Text -> Text -> SchedulingPolicyDetail
+ Amazonka.Batch.Types.SchedulingPolicyDetail: [$sel:arn:SchedulingPolicyDetail'] :: SchedulingPolicyDetail -> Text
+ Amazonka.Batch.Types.SchedulingPolicyDetail: [$sel:fairsharePolicy:SchedulingPolicyDetail'] :: SchedulingPolicyDetail -> Maybe FairsharePolicy
+ Amazonka.Batch.Types.SchedulingPolicyDetail: [$sel:name:SchedulingPolicyDetail'] :: SchedulingPolicyDetail -> Text
+ Amazonka.Batch.Types.SchedulingPolicyDetail: [$sel:tags:SchedulingPolicyDetail'] :: SchedulingPolicyDetail -> Maybe (HashMap Text Text)
+ Amazonka.Batch.Types.SchedulingPolicyDetail: data SchedulingPolicyDetail
+ Amazonka.Batch.Types.SchedulingPolicyDetail: instance Control.DeepSeq.NFData Amazonka.Batch.Types.SchedulingPolicyDetail.SchedulingPolicyDetail
+ Amazonka.Batch.Types.SchedulingPolicyDetail: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.SchedulingPolicyDetail.SchedulingPolicyDetail
+ Amazonka.Batch.Types.SchedulingPolicyDetail: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.SchedulingPolicyDetail.SchedulingPolicyDetail
+ Amazonka.Batch.Types.SchedulingPolicyDetail: instance GHC.Classes.Eq Amazonka.Batch.Types.SchedulingPolicyDetail.SchedulingPolicyDetail
+ Amazonka.Batch.Types.SchedulingPolicyDetail: instance GHC.Generics.Generic Amazonka.Batch.Types.SchedulingPolicyDetail.SchedulingPolicyDetail
+ Amazonka.Batch.Types.SchedulingPolicyDetail: instance GHC.Read.Read Amazonka.Batch.Types.SchedulingPolicyDetail.SchedulingPolicyDetail
+ Amazonka.Batch.Types.SchedulingPolicyDetail: instance GHC.Show.Show Amazonka.Batch.Types.SchedulingPolicyDetail.SchedulingPolicyDetail
+ Amazonka.Batch.Types.SchedulingPolicyDetail: newSchedulingPolicyDetail :: Text -> Text -> SchedulingPolicyDetail
+ Amazonka.Batch.Types.SchedulingPolicyDetail: schedulingPolicyDetail_arn :: Lens' SchedulingPolicyDetail Text
+ Amazonka.Batch.Types.SchedulingPolicyDetail: schedulingPolicyDetail_fairsharePolicy :: Lens' SchedulingPolicyDetail (Maybe FairsharePolicy)
+ Amazonka.Batch.Types.SchedulingPolicyDetail: schedulingPolicyDetail_name :: Lens' SchedulingPolicyDetail Text
+ Amazonka.Batch.Types.SchedulingPolicyDetail: schedulingPolicyDetail_tags :: Lens' SchedulingPolicyDetail (Maybe (HashMap Text Text))
+ Amazonka.Batch.Types.SchedulingPolicyListingDetail: SchedulingPolicyListingDetail' :: Text -> SchedulingPolicyListingDetail
+ Amazonka.Batch.Types.SchedulingPolicyListingDetail: [$sel:arn:SchedulingPolicyListingDetail'] :: SchedulingPolicyListingDetail -> Text
+ Amazonka.Batch.Types.SchedulingPolicyListingDetail: data SchedulingPolicyListingDetail
+ Amazonka.Batch.Types.SchedulingPolicyListingDetail: instance Control.DeepSeq.NFData Amazonka.Batch.Types.SchedulingPolicyListingDetail.SchedulingPolicyListingDetail
+ Amazonka.Batch.Types.SchedulingPolicyListingDetail: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.SchedulingPolicyListingDetail.SchedulingPolicyListingDetail
+ Amazonka.Batch.Types.SchedulingPolicyListingDetail: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.SchedulingPolicyListingDetail.SchedulingPolicyListingDetail
+ Amazonka.Batch.Types.SchedulingPolicyListingDetail: instance GHC.Classes.Eq Amazonka.Batch.Types.SchedulingPolicyListingDetail.SchedulingPolicyListingDetail
+ Amazonka.Batch.Types.SchedulingPolicyListingDetail: instance GHC.Generics.Generic Amazonka.Batch.Types.SchedulingPolicyListingDetail.SchedulingPolicyListingDetail
+ Amazonka.Batch.Types.SchedulingPolicyListingDetail: instance GHC.Read.Read Amazonka.Batch.Types.SchedulingPolicyListingDetail.SchedulingPolicyListingDetail
+ Amazonka.Batch.Types.SchedulingPolicyListingDetail: instance GHC.Show.Show Amazonka.Batch.Types.SchedulingPolicyListingDetail.SchedulingPolicyListingDetail
+ Amazonka.Batch.Types.SchedulingPolicyListingDetail: newSchedulingPolicyListingDetail :: Text -> SchedulingPolicyListingDetail
+ Amazonka.Batch.Types.SchedulingPolicyListingDetail: schedulingPolicyListingDetail_arn :: Lens' SchedulingPolicyListingDetail Text
+ Amazonka.Batch.Types.Secret: Secret' :: Text -> Text -> Secret
+ Amazonka.Batch.Types.Secret: [$sel:name:Secret'] :: Secret -> Text
+ Amazonka.Batch.Types.Secret: [$sel:valueFrom:Secret'] :: Secret -> Text
+ Amazonka.Batch.Types.Secret: data Secret
+ Amazonka.Batch.Types.Secret: instance Control.DeepSeq.NFData Amazonka.Batch.Types.Secret.Secret
+ Amazonka.Batch.Types.Secret: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.Secret.Secret
+ Amazonka.Batch.Types.Secret: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.Secret.Secret
+ Amazonka.Batch.Types.Secret: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.Secret.Secret
+ Amazonka.Batch.Types.Secret: instance GHC.Classes.Eq Amazonka.Batch.Types.Secret.Secret
+ Amazonka.Batch.Types.Secret: instance GHC.Generics.Generic Amazonka.Batch.Types.Secret.Secret
+ Amazonka.Batch.Types.Secret: instance GHC.Read.Read Amazonka.Batch.Types.Secret.Secret
+ Amazonka.Batch.Types.Secret: instance GHC.Show.Show Amazonka.Batch.Types.Secret.Secret
+ Amazonka.Batch.Types.Secret: newSecret :: Text -> Text -> Secret
+ Amazonka.Batch.Types.Secret: secret_name :: Lens' Secret Text
+ Amazonka.Batch.Types.Secret: secret_valueFrom :: Lens' Secret Text
+ Amazonka.Batch.Types.ShareAttributes: ShareAttributes' :: Maybe Double -> Text -> ShareAttributes
+ Amazonka.Batch.Types.ShareAttributes: [$sel:shareIdentifier:ShareAttributes'] :: ShareAttributes -> Text
+ Amazonka.Batch.Types.ShareAttributes: [$sel:weightFactor:ShareAttributes'] :: ShareAttributes -> Maybe Double
+ Amazonka.Batch.Types.ShareAttributes: data ShareAttributes
+ Amazonka.Batch.Types.ShareAttributes: instance Control.DeepSeq.NFData Amazonka.Batch.Types.ShareAttributes.ShareAttributes
+ Amazonka.Batch.Types.ShareAttributes: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.ShareAttributes.ShareAttributes
+ Amazonka.Batch.Types.ShareAttributes: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.ShareAttributes.ShareAttributes
+ Amazonka.Batch.Types.ShareAttributes: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.ShareAttributes.ShareAttributes
+ Amazonka.Batch.Types.ShareAttributes: instance GHC.Classes.Eq Amazonka.Batch.Types.ShareAttributes.ShareAttributes
+ Amazonka.Batch.Types.ShareAttributes: instance GHC.Generics.Generic Amazonka.Batch.Types.ShareAttributes.ShareAttributes
+ Amazonka.Batch.Types.ShareAttributes: instance GHC.Read.Read Amazonka.Batch.Types.ShareAttributes.ShareAttributes
+ Amazonka.Batch.Types.ShareAttributes: instance GHC.Show.Show Amazonka.Batch.Types.ShareAttributes.ShareAttributes
+ Amazonka.Batch.Types.ShareAttributes: newShareAttributes :: Text -> ShareAttributes
+ Amazonka.Batch.Types.ShareAttributes: shareAttributes_shareIdentifier :: Lens' ShareAttributes Text
+ Amazonka.Batch.Types.ShareAttributes: shareAttributes_weightFactor :: Lens' ShareAttributes (Maybe Double)
+ Amazonka.Batch.Types.Tmpfs: Tmpfs' :: Maybe [Text] -> Text -> Int -> Tmpfs
+ Amazonka.Batch.Types.Tmpfs: [$sel:containerPath:Tmpfs'] :: Tmpfs -> Text
+ Amazonka.Batch.Types.Tmpfs: [$sel:mountOptions:Tmpfs'] :: Tmpfs -> Maybe [Text]
+ Amazonka.Batch.Types.Tmpfs: [$sel:size:Tmpfs'] :: Tmpfs -> Int
+ Amazonka.Batch.Types.Tmpfs: data Tmpfs
+ Amazonka.Batch.Types.Tmpfs: instance Control.DeepSeq.NFData Amazonka.Batch.Types.Tmpfs.Tmpfs
+ Amazonka.Batch.Types.Tmpfs: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.Tmpfs.Tmpfs
+ Amazonka.Batch.Types.Tmpfs: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.Tmpfs.Tmpfs
+ Amazonka.Batch.Types.Tmpfs: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.Tmpfs.Tmpfs
+ Amazonka.Batch.Types.Tmpfs: instance GHC.Classes.Eq Amazonka.Batch.Types.Tmpfs.Tmpfs
+ Amazonka.Batch.Types.Tmpfs: instance GHC.Generics.Generic Amazonka.Batch.Types.Tmpfs.Tmpfs
+ Amazonka.Batch.Types.Tmpfs: instance GHC.Read.Read Amazonka.Batch.Types.Tmpfs.Tmpfs
+ Amazonka.Batch.Types.Tmpfs: instance GHC.Show.Show Amazonka.Batch.Types.Tmpfs.Tmpfs
+ Amazonka.Batch.Types.Tmpfs: newTmpfs :: Text -> Int -> Tmpfs
+ Amazonka.Batch.Types.Tmpfs: tmpfs_containerPath :: Lens' Tmpfs Text
+ Amazonka.Batch.Types.Tmpfs: tmpfs_mountOptions :: Lens' Tmpfs (Maybe [Text])
+ Amazonka.Batch.Types.Tmpfs: tmpfs_size :: Lens' Tmpfs Int
+ Amazonka.Batch.Types.Ulimit: Ulimit' :: Int -> Text -> Int -> Ulimit
+ Amazonka.Batch.Types.Ulimit: [$sel:hardLimit:Ulimit'] :: Ulimit -> Int
+ Amazonka.Batch.Types.Ulimit: [$sel:name:Ulimit'] :: Ulimit -> Text
+ Amazonka.Batch.Types.Ulimit: [$sel:softLimit:Ulimit'] :: Ulimit -> Int
+ Amazonka.Batch.Types.Ulimit: data Ulimit
+ Amazonka.Batch.Types.Ulimit: instance Control.DeepSeq.NFData Amazonka.Batch.Types.Ulimit.Ulimit
+ Amazonka.Batch.Types.Ulimit: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.Ulimit.Ulimit
+ Amazonka.Batch.Types.Ulimit: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.Ulimit.Ulimit
+ Amazonka.Batch.Types.Ulimit: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.Ulimit.Ulimit
+ Amazonka.Batch.Types.Ulimit: instance GHC.Classes.Eq Amazonka.Batch.Types.Ulimit.Ulimit
+ Amazonka.Batch.Types.Ulimit: instance GHC.Generics.Generic Amazonka.Batch.Types.Ulimit.Ulimit
+ Amazonka.Batch.Types.Ulimit: instance GHC.Read.Read Amazonka.Batch.Types.Ulimit.Ulimit
+ Amazonka.Batch.Types.Ulimit: instance GHC.Show.Show Amazonka.Batch.Types.Ulimit.Ulimit
+ Amazonka.Batch.Types.Ulimit: newUlimit :: Int -> Text -> Int -> Ulimit
+ Amazonka.Batch.Types.Ulimit: ulimit_hardLimit :: Lens' Ulimit Int
+ Amazonka.Batch.Types.Ulimit: ulimit_name :: Lens' Ulimit Text
+ Amazonka.Batch.Types.Ulimit: ulimit_softLimit :: Lens' Ulimit Int
+ Amazonka.Batch.Types.UpdatePolicy: UpdatePolicy' :: Maybe Natural -> Maybe Bool -> UpdatePolicy
+ Amazonka.Batch.Types.UpdatePolicy: [$sel:jobExecutionTimeoutMinutes:UpdatePolicy'] :: UpdatePolicy -> Maybe Natural
+ Amazonka.Batch.Types.UpdatePolicy: [$sel:terminateJobsOnUpdate:UpdatePolicy'] :: UpdatePolicy -> Maybe Bool
+ Amazonka.Batch.Types.UpdatePolicy: data UpdatePolicy
+ Amazonka.Batch.Types.UpdatePolicy: instance Control.DeepSeq.NFData Amazonka.Batch.Types.UpdatePolicy.UpdatePolicy
+ Amazonka.Batch.Types.UpdatePolicy: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.UpdatePolicy.UpdatePolicy
+ Amazonka.Batch.Types.UpdatePolicy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.UpdatePolicy.UpdatePolicy
+ Amazonka.Batch.Types.UpdatePolicy: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.UpdatePolicy.UpdatePolicy
+ Amazonka.Batch.Types.UpdatePolicy: instance GHC.Classes.Eq Amazonka.Batch.Types.UpdatePolicy.UpdatePolicy
+ Amazonka.Batch.Types.UpdatePolicy: instance GHC.Generics.Generic Amazonka.Batch.Types.UpdatePolicy.UpdatePolicy
+ Amazonka.Batch.Types.UpdatePolicy: instance GHC.Read.Read Amazonka.Batch.Types.UpdatePolicy.UpdatePolicy
+ Amazonka.Batch.Types.UpdatePolicy: instance GHC.Show.Show Amazonka.Batch.Types.UpdatePolicy.UpdatePolicy
+ Amazonka.Batch.Types.UpdatePolicy: newUpdatePolicy :: UpdatePolicy
+ Amazonka.Batch.Types.UpdatePolicy: updatePolicy_jobExecutionTimeoutMinutes :: Lens' UpdatePolicy (Maybe Natural)
+ Amazonka.Batch.Types.UpdatePolicy: updatePolicy_terminateJobsOnUpdate :: Lens' UpdatePolicy (Maybe Bool)
+ Amazonka.Batch.Types.Volume: Volume' :: Maybe EFSVolumeConfiguration -> Maybe Host -> Maybe Text -> Volume
+ Amazonka.Batch.Types.Volume: [$sel:efsVolumeConfiguration:Volume'] :: Volume -> Maybe EFSVolumeConfiguration
+ Amazonka.Batch.Types.Volume: [$sel:host:Volume'] :: Volume -> Maybe Host
+ Amazonka.Batch.Types.Volume: [$sel:name:Volume'] :: Volume -> Maybe Text
+ Amazonka.Batch.Types.Volume: data Volume
+ Amazonka.Batch.Types.Volume: instance Control.DeepSeq.NFData Amazonka.Batch.Types.Volume.Volume
+ Amazonka.Batch.Types.Volume: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Batch.Types.Volume.Volume
+ Amazonka.Batch.Types.Volume: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.Types.Volume.Volume
+ Amazonka.Batch.Types.Volume: instance Data.Hashable.Class.Hashable Amazonka.Batch.Types.Volume.Volume
+ Amazonka.Batch.Types.Volume: instance GHC.Classes.Eq Amazonka.Batch.Types.Volume.Volume
+ Amazonka.Batch.Types.Volume: instance GHC.Generics.Generic Amazonka.Batch.Types.Volume.Volume
+ Amazonka.Batch.Types.Volume: instance GHC.Read.Read Amazonka.Batch.Types.Volume.Volume
+ Amazonka.Batch.Types.Volume: instance GHC.Show.Show Amazonka.Batch.Types.Volume.Volume
+ Amazonka.Batch.Types.Volume: newVolume :: Volume
+ Amazonka.Batch.Types.Volume: volume_efsVolumeConfiguration :: Lens' Volume (Maybe EFSVolumeConfiguration)
+ Amazonka.Batch.Types.Volume: volume_host :: Lens' Volume (Maybe Host)
+ Amazonka.Batch.Types.Volume: volume_name :: Lens' Volume (Maybe Text)
+ Amazonka.Batch.UntagResource: UntagResource' :: Text -> NonEmpty Text -> UntagResource
+ Amazonka.Batch.UntagResource: UntagResourceResponse' :: Int -> UntagResourceResponse
+ Amazonka.Batch.UntagResource: [$sel:httpStatus:UntagResourceResponse'] :: UntagResourceResponse -> Int
+ Amazonka.Batch.UntagResource: [$sel:resourceArn:UntagResource'] :: UntagResource -> Text
+ Amazonka.Batch.UntagResource: [$sel:tagKeys:UntagResource'] :: UntagResource -> NonEmpty Text
+ Amazonka.Batch.UntagResource: data UntagResource
+ Amazonka.Batch.UntagResource: data UntagResourceResponse
+ Amazonka.Batch.UntagResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.Batch.UntagResource.UntagResource
+ Amazonka.Batch.UntagResource: instance Amazonka.Data.Path.ToPath Amazonka.Batch.UntagResource.UntagResource
+ Amazonka.Batch.UntagResource: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.UntagResource.UntagResource
+ Amazonka.Batch.UntagResource: instance Amazonka.Types.AWSRequest Amazonka.Batch.UntagResource.UntagResource
+ Amazonka.Batch.UntagResource: instance Control.DeepSeq.NFData Amazonka.Batch.UntagResource.UntagResource
+ Amazonka.Batch.UntagResource: instance Control.DeepSeq.NFData Amazonka.Batch.UntagResource.UntagResourceResponse
+ Amazonka.Batch.UntagResource: instance Data.Hashable.Class.Hashable Amazonka.Batch.UntagResource.UntagResource
+ Amazonka.Batch.UntagResource: instance GHC.Classes.Eq Amazonka.Batch.UntagResource.UntagResource
+ Amazonka.Batch.UntagResource: instance GHC.Classes.Eq Amazonka.Batch.UntagResource.UntagResourceResponse
+ Amazonka.Batch.UntagResource: instance GHC.Generics.Generic Amazonka.Batch.UntagResource.UntagResource
+ Amazonka.Batch.UntagResource: instance GHC.Generics.Generic Amazonka.Batch.UntagResource.UntagResourceResponse
+ Amazonka.Batch.UntagResource: instance GHC.Read.Read Amazonka.Batch.UntagResource.UntagResource
+ Amazonka.Batch.UntagResource: instance GHC.Read.Read Amazonka.Batch.UntagResource.UntagResourceResponse
+ Amazonka.Batch.UntagResource: instance GHC.Show.Show Amazonka.Batch.UntagResource.UntagResource
+ Amazonka.Batch.UntagResource: instance GHC.Show.Show Amazonka.Batch.UntagResource.UntagResourceResponse
+ Amazonka.Batch.UntagResource: newUntagResource :: Text -> NonEmpty Text -> UntagResource
+ Amazonka.Batch.UntagResource: newUntagResourceResponse :: Int -> UntagResourceResponse
+ Amazonka.Batch.UntagResource: untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
+ Amazonka.Batch.UntagResource: untagResource_resourceArn :: Lens' UntagResource Text
+ Amazonka.Batch.UntagResource: untagResource_tagKeys :: Lens' UntagResource (NonEmpty Text)
+ Amazonka.Batch.UpdateComputeEnvironment: UpdateComputeEnvironment' :: Maybe ComputeResourceUpdate -> Maybe Text -> Maybe CEState -> Maybe Int -> Maybe UpdatePolicy -> Text -> UpdateComputeEnvironment
+ Amazonka.Batch.UpdateComputeEnvironment: UpdateComputeEnvironmentResponse' :: Maybe Text -> Maybe Text -> Int -> UpdateComputeEnvironmentResponse
+ Amazonka.Batch.UpdateComputeEnvironment: [$sel:computeEnvironment:UpdateComputeEnvironment'] :: UpdateComputeEnvironment -> Text
+ Amazonka.Batch.UpdateComputeEnvironment: [$sel:computeEnvironmentArn:UpdateComputeEnvironmentResponse'] :: UpdateComputeEnvironmentResponse -> Maybe Text
+ Amazonka.Batch.UpdateComputeEnvironment: [$sel:computeEnvironmentName:UpdateComputeEnvironmentResponse'] :: UpdateComputeEnvironmentResponse -> Maybe Text
+ Amazonka.Batch.UpdateComputeEnvironment: [$sel:computeResources:UpdateComputeEnvironment'] :: UpdateComputeEnvironment -> Maybe ComputeResourceUpdate
+ Amazonka.Batch.UpdateComputeEnvironment: [$sel:httpStatus:UpdateComputeEnvironmentResponse'] :: UpdateComputeEnvironmentResponse -> Int
+ Amazonka.Batch.UpdateComputeEnvironment: [$sel:serviceRole:UpdateComputeEnvironment'] :: UpdateComputeEnvironment -> Maybe Text
+ Amazonka.Batch.UpdateComputeEnvironment: [$sel:state:UpdateComputeEnvironment'] :: UpdateComputeEnvironment -> Maybe CEState
+ Amazonka.Batch.UpdateComputeEnvironment: [$sel:unmanagedvCpus:UpdateComputeEnvironment'] :: UpdateComputeEnvironment -> Maybe Int
+ Amazonka.Batch.UpdateComputeEnvironment: [$sel:updatePolicy:UpdateComputeEnvironment'] :: UpdateComputeEnvironment -> Maybe UpdatePolicy
+ Amazonka.Batch.UpdateComputeEnvironment: data UpdateComputeEnvironment
+ Amazonka.Batch.UpdateComputeEnvironment: data UpdateComputeEnvironmentResponse
+ Amazonka.Batch.UpdateComputeEnvironment: instance Amazonka.Data.Headers.ToHeaders Amazonka.Batch.UpdateComputeEnvironment.UpdateComputeEnvironment
+ Amazonka.Batch.UpdateComputeEnvironment: instance Amazonka.Data.Path.ToPath Amazonka.Batch.UpdateComputeEnvironment.UpdateComputeEnvironment
+ Amazonka.Batch.UpdateComputeEnvironment: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.UpdateComputeEnvironment.UpdateComputeEnvironment
+ Amazonka.Batch.UpdateComputeEnvironment: instance Amazonka.Types.AWSRequest Amazonka.Batch.UpdateComputeEnvironment.UpdateComputeEnvironment
+ Amazonka.Batch.UpdateComputeEnvironment: instance Control.DeepSeq.NFData Amazonka.Batch.UpdateComputeEnvironment.UpdateComputeEnvironment
+ Amazonka.Batch.UpdateComputeEnvironment: instance Control.DeepSeq.NFData Amazonka.Batch.UpdateComputeEnvironment.UpdateComputeEnvironmentResponse
+ Amazonka.Batch.UpdateComputeEnvironment: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.UpdateComputeEnvironment.UpdateComputeEnvironment
+ Amazonka.Batch.UpdateComputeEnvironment: instance Data.Hashable.Class.Hashable Amazonka.Batch.UpdateComputeEnvironment.UpdateComputeEnvironment
+ Amazonka.Batch.UpdateComputeEnvironment: instance GHC.Classes.Eq Amazonka.Batch.UpdateComputeEnvironment.UpdateComputeEnvironment
+ Amazonka.Batch.UpdateComputeEnvironment: instance GHC.Classes.Eq Amazonka.Batch.UpdateComputeEnvironment.UpdateComputeEnvironmentResponse
+ Amazonka.Batch.UpdateComputeEnvironment: instance GHC.Generics.Generic Amazonka.Batch.UpdateComputeEnvironment.UpdateComputeEnvironment
+ Amazonka.Batch.UpdateComputeEnvironment: instance GHC.Generics.Generic Amazonka.Batch.UpdateComputeEnvironment.UpdateComputeEnvironmentResponse
+ Amazonka.Batch.UpdateComputeEnvironment: instance GHC.Read.Read Amazonka.Batch.UpdateComputeEnvironment.UpdateComputeEnvironment
+ Amazonka.Batch.UpdateComputeEnvironment: instance GHC.Read.Read Amazonka.Batch.UpdateComputeEnvironment.UpdateComputeEnvironmentResponse
+ Amazonka.Batch.UpdateComputeEnvironment: instance GHC.Show.Show Amazonka.Batch.UpdateComputeEnvironment.UpdateComputeEnvironment
+ Amazonka.Batch.UpdateComputeEnvironment: instance GHC.Show.Show Amazonka.Batch.UpdateComputeEnvironment.UpdateComputeEnvironmentResponse
+ Amazonka.Batch.UpdateComputeEnvironment: newUpdateComputeEnvironment :: Text -> UpdateComputeEnvironment
+ Amazonka.Batch.UpdateComputeEnvironment: newUpdateComputeEnvironmentResponse :: Int -> UpdateComputeEnvironmentResponse
+ Amazonka.Batch.UpdateComputeEnvironment: updateComputeEnvironmentResponse_computeEnvironmentArn :: Lens' UpdateComputeEnvironmentResponse (Maybe Text)
+ Amazonka.Batch.UpdateComputeEnvironment: updateComputeEnvironmentResponse_computeEnvironmentName :: Lens' UpdateComputeEnvironmentResponse (Maybe Text)
+ Amazonka.Batch.UpdateComputeEnvironment: updateComputeEnvironmentResponse_httpStatus :: Lens' UpdateComputeEnvironmentResponse Int
+ Amazonka.Batch.UpdateComputeEnvironment: updateComputeEnvironment_computeEnvironment :: Lens' UpdateComputeEnvironment Text
+ Amazonka.Batch.UpdateComputeEnvironment: updateComputeEnvironment_computeResources :: Lens' UpdateComputeEnvironment (Maybe ComputeResourceUpdate)
+ Amazonka.Batch.UpdateComputeEnvironment: updateComputeEnvironment_serviceRole :: Lens' UpdateComputeEnvironment (Maybe Text)
+ Amazonka.Batch.UpdateComputeEnvironment: updateComputeEnvironment_state :: Lens' UpdateComputeEnvironment (Maybe CEState)
+ Amazonka.Batch.UpdateComputeEnvironment: updateComputeEnvironment_unmanagedvCpus :: Lens' UpdateComputeEnvironment (Maybe Int)
+ Amazonka.Batch.UpdateComputeEnvironment: updateComputeEnvironment_updatePolicy :: Lens' UpdateComputeEnvironment (Maybe UpdatePolicy)
+ Amazonka.Batch.UpdateJobQueue: UpdateJobQueue' :: Maybe [ComputeEnvironmentOrder] -> Maybe Int -> Maybe Text -> Maybe JQState -> Text -> UpdateJobQueue
+ Amazonka.Batch.UpdateJobQueue: UpdateJobQueueResponse' :: Maybe Text -> Maybe Text -> Int -> UpdateJobQueueResponse
+ Amazonka.Batch.UpdateJobQueue: [$sel:computeEnvironmentOrder:UpdateJobQueue'] :: UpdateJobQueue -> Maybe [ComputeEnvironmentOrder]
+ Amazonka.Batch.UpdateJobQueue: [$sel:httpStatus:UpdateJobQueueResponse'] :: UpdateJobQueueResponse -> Int
+ Amazonka.Batch.UpdateJobQueue: [$sel:jobQueue:UpdateJobQueue'] :: UpdateJobQueue -> Text
+ Amazonka.Batch.UpdateJobQueue: [$sel:jobQueueArn:UpdateJobQueueResponse'] :: UpdateJobQueueResponse -> Maybe Text
+ Amazonka.Batch.UpdateJobQueue: [$sel:jobQueueName:UpdateJobQueueResponse'] :: UpdateJobQueueResponse -> Maybe Text
+ Amazonka.Batch.UpdateJobQueue: [$sel:priority:UpdateJobQueue'] :: UpdateJobQueue -> Maybe Int
+ Amazonka.Batch.UpdateJobQueue: [$sel:schedulingPolicyArn:UpdateJobQueue'] :: UpdateJobQueue -> Maybe Text
+ Amazonka.Batch.UpdateJobQueue: [$sel:state:UpdateJobQueue'] :: UpdateJobQueue -> Maybe JQState
+ Amazonka.Batch.UpdateJobQueue: data UpdateJobQueue
+ Amazonka.Batch.UpdateJobQueue: data UpdateJobQueueResponse
+ Amazonka.Batch.UpdateJobQueue: instance Amazonka.Data.Headers.ToHeaders Amazonka.Batch.UpdateJobQueue.UpdateJobQueue
+ Amazonka.Batch.UpdateJobQueue: instance Amazonka.Data.Path.ToPath Amazonka.Batch.UpdateJobQueue.UpdateJobQueue
+ Amazonka.Batch.UpdateJobQueue: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.UpdateJobQueue.UpdateJobQueue
+ Amazonka.Batch.UpdateJobQueue: instance Amazonka.Types.AWSRequest Amazonka.Batch.UpdateJobQueue.UpdateJobQueue
+ Amazonka.Batch.UpdateJobQueue: instance Control.DeepSeq.NFData Amazonka.Batch.UpdateJobQueue.UpdateJobQueue
+ Amazonka.Batch.UpdateJobQueue: instance Control.DeepSeq.NFData Amazonka.Batch.UpdateJobQueue.UpdateJobQueueResponse
+ Amazonka.Batch.UpdateJobQueue: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.UpdateJobQueue.UpdateJobQueue
+ Amazonka.Batch.UpdateJobQueue: instance Data.Hashable.Class.Hashable Amazonka.Batch.UpdateJobQueue.UpdateJobQueue
+ Amazonka.Batch.UpdateJobQueue: instance GHC.Classes.Eq Amazonka.Batch.UpdateJobQueue.UpdateJobQueue
+ Amazonka.Batch.UpdateJobQueue: instance GHC.Classes.Eq Amazonka.Batch.UpdateJobQueue.UpdateJobQueueResponse
+ Amazonka.Batch.UpdateJobQueue: instance GHC.Generics.Generic Amazonka.Batch.UpdateJobQueue.UpdateJobQueue
+ Amazonka.Batch.UpdateJobQueue: instance GHC.Generics.Generic Amazonka.Batch.UpdateJobQueue.UpdateJobQueueResponse
+ Amazonka.Batch.UpdateJobQueue: instance GHC.Read.Read Amazonka.Batch.UpdateJobQueue.UpdateJobQueue
+ Amazonka.Batch.UpdateJobQueue: instance GHC.Read.Read Amazonka.Batch.UpdateJobQueue.UpdateJobQueueResponse
+ Amazonka.Batch.UpdateJobQueue: instance GHC.Show.Show Amazonka.Batch.UpdateJobQueue.UpdateJobQueue
+ Amazonka.Batch.UpdateJobQueue: instance GHC.Show.Show Amazonka.Batch.UpdateJobQueue.UpdateJobQueueResponse
+ Amazonka.Batch.UpdateJobQueue: newUpdateJobQueue :: Text -> UpdateJobQueue
+ Amazonka.Batch.UpdateJobQueue: newUpdateJobQueueResponse :: Int -> UpdateJobQueueResponse
+ Amazonka.Batch.UpdateJobQueue: updateJobQueueResponse_httpStatus :: Lens' UpdateJobQueueResponse Int
+ Amazonka.Batch.UpdateJobQueue: updateJobQueueResponse_jobQueueArn :: Lens' UpdateJobQueueResponse (Maybe Text)
+ Amazonka.Batch.UpdateJobQueue: updateJobQueueResponse_jobQueueName :: Lens' UpdateJobQueueResponse (Maybe Text)
+ Amazonka.Batch.UpdateJobQueue: updateJobQueue_computeEnvironmentOrder :: Lens' UpdateJobQueue (Maybe [ComputeEnvironmentOrder])
+ Amazonka.Batch.UpdateJobQueue: updateJobQueue_jobQueue :: Lens' UpdateJobQueue Text
+ Amazonka.Batch.UpdateJobQueue: updateJobQueue_priority :: Lens' UpdateJobQueue (Maybe Int)
+ Amazonka.Batch.UpdateJobQueue: updateJobQueue_schedulingPolicyArn :: Lens' UpdateJobQueue (Maybe Text)
+ Amazonka.Batch.UpdateJobQueue: updateJobQueue_state :: Lens' UpdateJobQueue (Maybe JQState)
+ Amazonka.Batch.UpdateSchedulingPolicy: UpdateSchedulingPolicy' :: Maybe FairsharePolicy -> Text -> UpdateSchedulingPolicy
+ Amazonka.Batch.UpdateSchedulingPolicy: UpdateSchedulingPolicyResponse' :: Int -> UpdateSchedulingPolicyResponse
+ Amazonka.Batch.UpdateSchedulingPolicy: [$sel:arn:UpdateSchedulingPolicy'] :: UpdateSchedulingPolicy -> Text
+ Amazonka.Batch.UpdateSchedulingPolicy: [$sel:fairsharePolicy:UpdateSchedulingPolicy'] :: UpdateSchedulingPolicy -> Maybe FairsharePolicy
+ Amazonka.Batch.UpdateSchedulingPolicy: [$sel:httpStatus:UpdateSchedulingPolicyResponse'] :: UpdateSchedulingPolicyResponse -> Int
+ Amazonka.Batch.UpdateSchedulingPolicy: data UpdateSchedulingPolicy
+ Amazonka.Batch.UpdateSchedulingPolicy: data UpdateSchedulingPolicyResponse
+ Amazonka.Batch.UpdateSchedulingPolicy: instance Amazonka.Data.Headers.ToHeaders Amazonka.Batch.UpdateSchedulingPolicy.UpdateSchedulingPolicy
+ Amazonka.Batch.UpdateSchedulingPolicy: instance Amazonka.Data.Path.ToPath Amazonka.Batch.UpdateSchedulingPolicy.UpdateSchedulingPolicy
+ Amazonka.Batch.UpdateSchedulingPolicy: instance Amazonka.Data.Query.ToQuery Amazonka.Batch.UpdateSchedulingPolicy.UpdateSchedulingPolicy
+ Amazonka.Batch.UpdateSchedulingPolicy: instance Amazonka.Types.AWSRequest Amazonka.Batch.UpdateSchedulingPolicy.UpdateSchedulingPolicy
+ Amazonka.Batch.UpdateSchedulingPolicy: instance Control.DeepSeq.NFData Amazonka.Batch.UpdateSchedulingPolicy.UpdateSchedulingPolicy
+ Amazonka.Batch.UpdateSchedulingPolicy: instance Control.DeepSeq.NFData Amazonka.Batch.UpdateSchedulingPolicy.UpdateSchedulingPolicyResponse
+ Amazonka.Batch.UpdateSchedulingPolicy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Batch.UpdateSchedulingPolicy.UpdateSchedulingPolicy
+ Amazonka.Batch.UpdateSchedulingPolicy: instance Data.Hashable.Class.Hashable Amazonka.Batch.UpdateSchedulingPolicy.UpdateSchedulingPolicy
+ Amazonka.Batch.UpdateSchedulingPolicy: instance GHC.Classes.Eq Amazonka.Batch.UpdateSchedulingPolicy.UpdateSchedulingPolicy
+ Amazonka.Batch.UpdateSchedulingPolicy: instance GHC.Classes.Eq Amazonka.Batch.UpdateSchedulingPolicy.UpdateSchedulingPolicyResponse
+ Amazonka.Batch.UpdateSchedulingPolicy: instance GHC.Generics.Generic Amazonka.Batch.UpdateSchedulingPolicy.UpdateSchedulingPolicy
+ Amazonka.Batch.UpdateSchedulingPolicy: instance GHC.Generics.Generic Amazonka.Batch.UpdateSchedulingPolicy.UpdateSchedulingPolicyResponse
+ Amazonka.Batch.UpdateSchedulingPolicy: instance GHC.Read.Read Amazonka.Batch.UpdateSchedulingPolicy.UpdateSchedulingPolicy
+ Amazonka.Batch.UpdateSchedulingPolicy: instance GHC.Read.Read Amazonka.Batch.UpdateSchedulingPolicy.UpdateSchedulingPolicyResponse
+ Amazonka.Batch.UpdateSchedulingPolicy: instance GHC.Show.Show Amazonka.Batch.UpdateSchedulingPolicy.UpdateSchedulingPolicy
+ Amazonka.Batch.UpdateSchedulingPolicy: instance GHC.Show.Show Amazonka.Batch.UpdateSchedulingPolicy.UpdateSchedulingPolicyResponse
+ Amazonka.Batch.UpdateSchedulingPolicy: newUpdateSchedulingPolicy :: Text -> UpdateSchedulingPolicy
+ Amazonka.Batch.UpdateSchedulingPolicy: newUpdateSchedulingPolicyResponse :: Int -> UpdateSchedulingPolicyResponse
+ Amazonka.Batch.UpdateSchedulingPolicy: updateSchedulingPolicyResponse_httpStatus :: Lens' UpdateSchedulingPolicyResponse Int
+ Amazonka.Batch.UpdateSchedulingPolicy: updateSchedulingPolicy_arn :: Lens' UpdateSchedulingPolicy Text
+ Amazonka.Batch.UpdateSchedulingPolicy: updateSchedulingPolicy_fairsharePolicy :: Lens' UpdateSchedulingPolicy (Maybe FairsharePolicy)
Files
- README.md +3/−4
- Setup.hs +0/−2
- amazonka-batch.cabal +187/−90
- fixture/CreateSchedulingPolicy.yaml +10/−0
- fixture/CreateSchedulingPolicyResponse.proto +0/−0
- fixture/DeleteSchedulingPolicy.yaml +10/−0
- fixture/DeleteSchedulingPolicyResponse.proto +0/−0
- fixture/DescribeSchedulingPolicies.yaml +10/−0
- fixture/DescribeSchedulingPoliciesResponse.proto +0/−0
- fixture/ListSchedulingPolicies.yaml +10/−0
- fixture/ListSchedulingPoliciesResponse.proto +0/−0
- fixture/ListTagsForResource.yaml +10/−0
- fixture/ListTagsForResourceResponse.proto +0/−0
- fixture/TagResource.yaml +10/−0
- fixture/TagResourceResponse.proto +0/−0
- fixture/UntagResource.yaml +10/−0
- fixture/UntagResourceResponse.proto +0/−0
- fixture/UpdateSchedulingPolicy.yaml +10/−0
- fixture/UpdateSchedulingPolicyResponse.proto +0/−0
- gen/Amazonka/Batch.hs +596/−0
- gen/Amazonka/Batch/CancelJob.hs +174/−0
- gen/Amazonka/Batch/CreateComputeEnvironment.hs +578/−0
- gen/Amazonka/Batch/CreateJobQueue.hs +371/−0
- gen/Amazonka/Batch/CreateSchedulingPolicy.hs +266/−0
- gen/Amazonka/Batch/DeleteComputeEnvironment.hs +174/−0
- gen/Amazonka/Batch/DeleteJobQueue.hs +160/−0
- gen/Amazonka/Batch/DeleteSchedulingPolicy.hs +159/−0
- gen/Amazonka/Batch/DeregisterJobDefinition.hs +165/−0
- gen/Amazonka/Batch/DescribeComputeEnvironments.hs +304/−0
- gen/Amazonka/Batch/DescribeJobDefinitions.hs +324/−0
- gen/Amazonka/Batch/DescribeJobQueues.hs +285/−0
- gen/Amazonka/Batch/DescribeJobs.hs +161/−0
- gen/Amazonka/Batch/DescribeSchedulingPolicies.hs +175/−0
- gen/Amazonka/Batch/Lens.hs +794/−0
- gen/Amazonka/Batch/ListJobs.hs +487/−0
- gen/Amazonka/Batch/ListSchedulingPolicies.hs +279/−0
- gen/Amazonka/Batch/ListTagsForResource.hs +177/−0
- gen/Amazonka/Batch/RegisterJobDefinition.hs +548/−0
- gen/Amazonka/Batch/SubmitJob.hs +585/−0
- gen/Amazonka/Batch/TagResource.hs +193/−0
- gen/Amazonka/Batch/TerminateJob.hs +174/−0
- gen/Amazonka/Batch/Types.hs +897/−0
- gen/Amazonka/Batch/Types/ArrayJobDependency.hs +71/−0
- gen/Amazonka/Batch/Types/ArrayProperties.hs +66/−0
- gen/Amazonka/Batch/Types/ArrayPropertiesDetail.hs +105/−0
- gen/Amazonka/Batch/Types/ArrayPropertiesSummary.hs +89/−0
- gen/Amazonka/Batch/Types/AssignPublicIp.hs +71/−0
- gen/Amazonka/Batch/Types/AttemptContainerDetail.hs +162/−0
- gen/Amazonka/Batch/Types/AttemptDetail.hs +124/−0
- gen/Amazonka/Batch/Types/CEState.hs +68/−0
- gen/Amazonka/Batch/Types/CEStatus.hs +91/−0
- gen/Amazonka/Batch/Types/CEType.hs +68/−0
- gen/Amazonka/Batch/Types/CRAllocationStrategy.hs +76/−0
- gen/Amazonka/Batch/Types/CRType.hs +78/−0
- gen/Amazonka/Batch/Types/CRUpdateAllocationStrategy.hs +71/−0
- gen/Amazonka/Batch/Types/ComputeEnvironmentDetail.hs +356/−0
- gen/Amazonka/Batch/Types/ComputeEnvironmentOrder.hs +121/−0
- gen/Amazonka/Batch/Types/ComputeResource.hs +930/−0
- gen/Amazonka/Batch/Types/ComputeResourceUpdate.hs +1115/−0
- gen/Amazonka/Batch/Types/ContainerDetail.hs +707/−0
- gen/Amazonka/Batch/Types/ContainerOverrides.hs +239/−0
- gen/Amazonka/Batch/Types/ContainerProperties.hs +835/−0
- gen/Amazonka/Batch/Types/ContainerSummary.hs +87/−0
- gen/Amazonka/Batch/Types/Device.hs +121/−0
- gen/Amazonka/Batch/Types/DeviceCgroupPermission.hs +76/−0
- gen/Amazonka/Batch/Types/EFSAuthorizationConfig.hs +134/−0
- gen/Amazonka/Batch/Types/EFSAuthorizationConfigIAM.hs +71/−0
- gen/Amazonka/Batch/Types/EFSTransitEncryption.hs +71/−0
- gen/Amazonka/Batch/Types/EFSVolumeConfiguration.hs +200/−0
- gen/Amazonka/Batch/Types/Ec2Configuration.hs +282/−0
- gen/Amazonka/Batch/Types/EksAttemptContainerDetail.hs +92/−0
- gen/Amazonka/Batch/Types/EksAttemptDetail.hs +149/−0
- gen/Amazonka/Batch/Types/EksConfiguration.hs +124/−0
- gen/Amazonka/Batch/Types/EksContainer.hs +366/−0
- gen/Amazonka/Batch/Types/EksContainerDetail.hs +326/−0
- gen/Amazonka/Batch/Types/EksContainerEnvironmentVariable.hs +106/−0
- gen/Amazonka/Batch/Types/EksContainerOverride.hs +176/−0
- gen/Amazonka/Batch/Types/EksContainerResourceRequirements.hs +295/−0
- gen/Amazonka/Batch/Types/EksContainerSecurityContext.hs +208/−0
- gen/Amazonka/Batch/Types/EksContainerVolumeMount.hs +119/−0
- gen/Amazonka/Batch/Types/EksEmptyDir.hs +132/−0
- gen/Amazonka/Batch/Types/EksHostPath.hs +78/−0
- gen/Amazonka/Batch/Types/EksPodProperties.hs +210/−0
- gen/Amazonka/Batch/Types/EksPodPropertiesDetail.hs +246/−0
- gen/Amazonka/Batch/Types/EksPodPropertiesOverride.hs +72/−0
- gen/Amazonka/Batch/Types/EksProperties.hs +79/−0
- gen/Amazonka/Batch/Types/EksPropertiesDetail.hs +74/−0
- gen/Amazonka/Batch/Types/EksPropertiesOverride.hs +73/−0
- gen/Amazonka/Batch/Types/EksSecret.hs +107/−0
- gen/Amazonka/Batch/Types/EksVolume.hs +160/−0
- gen/Amazonka/Batch/Types/EvaluateOnExit.hs +174/−0
- gen/Amazonka/Batch/Types/FairsharePolicy.hs +183/−0
- gen/Amazonka/Batch/Types/FargatePlatformConfiguration.hs +104/−0
- gen/Amazonka/Batch/Types/Host.hs +105/−0
- gen/Amazonka/Batch/Types/JQState.hs +68/−0
- gen/Amazonka/Batch/Types/JQStatus.hs +91/−0
- gen/Amazonka/Batch/Types/JobDefinition.hs +374/−0
- gen/Amazonka/Batch/Types/JobDefinitionType.hs +71/−0
- gen/Amazonka/Batch/Types/JobDependency.hs +93/−0
- gen/Amazonka/Batch/Types/JobDetail.hs +531/−0
- gen/Amazonka/Batch/Types/JobQueueDetail.hs +241/−0
- gen/Amazonka/Batch/Types/JobStatus.hs +96/−0
- gen/Amazonka/Batch/Types/JobSummary.hs +248/−0
- gen/Amazonka/Batch/Types/JobTimeout.hs +108/−0
- gen/Amazonka/Batch/Types/KeyValuePair.hs +98/−0
- gen/Amazonka/Batch/Types/KeyValuesPair.hs +83/−0
- gen/Amazonka/Batch/Types/LaunchTemplateSpecification.hs +176/−0
- gen/Amazonka/Batch/Types/LinuxParameters.hs +363/−0
- gen/Amazonka/Batch/Types/LogConfiguration.hs +327/−0
- gen/Amazonka/Batch/Types/LogDriver.hs +96/−0
- gen/Amazonka/Batch/Types/MountPoint.hs +116/−0
- gen/Amazonka/Batch/Types/NetworkConfiguration.hs +105/−0
- gen/Amazonka/Batch/Types/NetworkInterface.hs +97/−0
- gen/Amazonka/Batch/Types/NodeDetails.hs +93/−0
- gen/Amazonka/Batch/Types/NodeOverrides.hs +127/−0
- gen/Amazonka/Batch/Types/NodeProperties.hs +125/−0
- gen/Amazonka/Batch/Types/NodePropertiesSummary.hs +107/−0
- gen/Amazonka/Batch/Types/NodePropertyOverride.hs +101/−0
- gen/Amazonka/Batch/Types/NodeRangeProperty.hs +118/−0
- gen/Amazonka/Batch/Types/OrchestrationType.hs +71/−0
- gen/Amazonka/Batch/Types/PlatformCapability.hs +71/−0
- gen/Amazonka/Batch/Types/ResourceRequirement.hs +494/−0
- gen/Amazonka/Batch/Types/ResourceType.hs +76/−0
- gen/Amazonka/Batch/Types/RetryAction.hs +71/−0
- gen/Amazonka/Batch/Types/RetryStrategy.hs +119/−0
- gen/Amazonka/Batch/Types/SchedulingPolicyDetail.hs +129/−0
- gen/Amazonka/Batch/Types/SchedulingPolicyListingDetail.hs +75/−0
- gen/Amazonka/Batch/Types/Secret.hs +132/−0
- gen/Amazonka/Batch/Types/ShareAttributes.hs +152/−0
- gen/Amazonka/Batch/Types/Tmpfs.hs +146/−0
- gen/Amazonka/Batch/Types/Ulimit.hs +115/−0
- gen/Amazonka/Batch/Types/UpdatePolicy.hs +105/−0
- gen/Amazonka/Batch/Types/Volume.hs +145/−0
- gen/Amazonka/Batch/UntagResource.hs +175/−0
- gen/Amazonka/Batch/UpdateComputeEnvironment.hs +408/−0
- gen/Amazonka/Batch/UpdateJobQueue.hs +313/−0
- gen/Amazonka/Batch/UpdateSchedulingPolicy.hs +177/−0
- gen/Amazonka/Batch/Waiters.hs +24/−0
- gen/Network/AWS/Batch.hs +0/−397
- gen/Network/AWS/Batch/CancelJob.hs +0/−131
- gen/Network/AWS/Batch/CreateComputeEnvironment.hs +0/−196
- gen/Network/AWS/Batch/CreateJobQueue.hs +0/−182
- gen/Network/AWS/Batch/DeleteComputeEnvironment.hs +0/−127
- gen/Network/AWS/Batch/DeleteJobQueue.hs +0/−121
- gen/Network/AWS/Batch/DeregisterJobDefinition.hs +0/−123
- gen/Network/AWS/Batch/DescribeComputeEnvironments.hs +0/−170
- gen/Network/AWS/Batch/DescribeJobDefinitions.hs +0/−186
- gen/Network/AWS/Batch/DescribeJobQueues.hs +0/−162
- gen/Network/AWS/Batch/DescribeJobs.hs +0/−127
- gen/Network/AWS/Batch/ListJobs.hs +0/−184
- gen/Network/AWS/Batch/RegisterJobDefinition.hs +0/−211
- gen/Network/AWS/Batch/SubmitJob.hs +0/−229
- gen/Network/AWS/Batch/TerminateJob.hs +0/−131
- gen/Network/AWS/Batch/Types.hs +0/−340
- gen/Network/AWS/Batch/Types/Product.hs +0/−1999
- gen/Network/AWS/Batch/Types/Sum.hs +0/−317
- gen/Network/AWS/Batch/UpdateComputeEnvironment.hs +0/−179
- gen/Network/AWS/Batch/UpdateJobQueue.hs +0/−176
- gen/Network/AWS/Batch/Waiters.hs +0/−21
- test/Main.hs +11/−9
- test/Test/AWS/Batch.hs +0/−20
- test/Test/AWS/Batch/Internal.hs +0/−9
- test/Test/AWS/Gen/Batch.hs +0/−327
- test/Test/Amazonka/Batch.hs +20/−0
- test/Test/Amazonka/Batch/Internal.hs +8/−0
- test/Test/Amazonka/Gen/Batch.hs +518/−0
README.md view
@@ -7,9 +7,8 @@ ## Version--`1.6.1`-+ +`2.0` - Derived from API version @2016-08-10@ of the AWS service descriptions, licensed under Apache 2.0. ## Description @@ -26,7 +25,7 @@ The provided lenses should be compatible with any of the major lens libraries [lens](http://hackage.haskell.org/package/lens) or [lens-family-core](http://hackage.haskell.org/package/lens-family-core). -See [Network.AWS.Batch](http://hackage.haskell.org/package/amazonka-batch/docs/Network-AWS-Batch.html)+See [Amazonka.Batch](http://hackage.haskell.org/package/amazonka-batch/docs/Amazonka-Batch.html) or [the AWS documentation](https://aws.amazon.com/documentation/) to get started.
− Setup.hs
@@ -1,2 +0,0 @@-import Distribution.Simple-main = defaultMain
amazonka-batch.cabal view
@@ -1,101 +1,198 @@-name: amazonka-batch-version: 1.6.1-synopsis: Amazon Batch SDK.-homepage: https://github.com/brendanhay/amazonka-bug-reports: https://github.com/brendanhay/amazonka/issues-license: MPL-2.0-license-file: LICENSE-author: Brendan Hay-maintainer: Brendan Hay <brendan.g.hay+amazonka@gmail.com>-copyright: Copyright (c) 2013-2018 Brendan Hay-category: Network, AWS, Cloud, Distributed Computing-build-type: Simple-cabal-version: >= 1.10-extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep+cabal-version: 2.2+name: amazonka-batch+version: 2.0+synopsis: Amazon Batch SDK.+homepage: https://github.com/brendanhay/amazonka+bug-reports: https://github.com/brendanhay/amazonka/issues+license: MPL-2.0+license-file: LICENSE+author: Brendan Hay+maintainer:+ Brendan Hay <brendan.g.hay+amazonka@gmail.com>, Jack Kelly <jack@jackkelly.name>++copyright: Copyright (c) 2013-2023 Brendan Hay+category: AWS+build-type: Simple+extra-source-files:+ fixture/*.proto+ fixture/*.yaml+ README.md+ src/.gitkeep+ description:- The types from this library are intended to be used with- <http://hackage.haskell.org/package/amazonka amazonka>, which provides- mechanisms for specifying AuthN/AuthZ information, sending requests,- and receiving responses.- .- Lenses are used for constructing and manipulating types,- due to the depth of nesting of AWS types and transparency regarding- de/serialisation into more palatable Haskell values.- The provided lenses should be compatible with any of the major lens libraries- such as <http://hackage.haskell.org/package/lens lens> or- <http://hackage.haskell.org/package/lens-family-core lens-family-core>.- .- See "Network.AWS.Batch" or <https://aws.amazon.com/documentation/ the AWS documentation>- to get started.+ Derived from API version @2016-08-10@ of the AWS service descriptions, licensed under Apache 2.0.+ .+ The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>,+ which provides mechanisms for specifying AuthN/AuthZ information, sending requests, and receiving responses.+ .+ It is recommended to use generic lenses or optics from packages such as <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify optional fields and deconstruct responses.+ .+ Generated lenses can be found in "Amazonka.Batch.Lens" and are+ suitable for use with a lens package such as <http://hackage.haskell.org/package/lens lens> or <http://hackage.haskell.org/package/lens-family-core lens-family-core>.+ .+ See "Amazonka.Batch" and the <https://aws.amazon.com/documentation/ AWS documentation> to get started. source-repository head- type: git- location: git://github.com/brendanhay/amazonka.git- subdir: amazonka-batch+ type: git+ location: git://github.com/brendanhay/amazonka.git+ subdir: amazonka-batch library- default-language: Haskell2010- hs-source-dirs: src gen-- ghc-options:- -Wall- -fwarn-incomplete-uni-patterns- -fwarn-incomplete-record-updates- -funbox-strict-fields-- exposed-modules:- Network.AWS.Batch- , Network.AWS.Batch.CancelJob- , Network.AWS.Batch.CreateComputeEnvironment- , Network.AWS.Batch.CreateJobQueue- , Network.AWS.Batch.DeleteComputeEnvironment- , Network.AWS.Batch.DeleteJobQueue- , Network.AWS.Batch.DeregisterJobDefinition- , Network.AWS.Batch.DescribeComputeEnvironments- , Network.AWS.Batch.DescribeJobDefinitions- , Network.AWS.Batch.DescribeJobQueues- , Network.AWS.Batch.DescribeJobs- , Network.AWS.Batch.ListJobs- , Network.AWS.Batch.RegisterJobDefinition- , Network.AWS.Batch.SubmitJob- , Network.AWS.Batch.TerminateJob- , Network.AWS.Batch.Types- , Network.AWS.Batch.UpdateComputeEnvironment- , Network.AWS.Batch.UpdateJobQueue- , Network.AWS.Batch.Waiters+ default-language: Haskell2010+ hs-source-dirs: src gen+ ghc-options:+ -Wall -fwarn-incomplete-uni-patterns+ -fwarn-incomplete-record-updates -funbox-strict-fields - other-modules:- Network.AWS.Batch.Types.Product- , Network.AWS.Batch.Types.Sum+ exposed-modules:+ Amazonka.Batch+ Amazonka.Batch.CancelJob+ Amazonka.Batch.CreateComputeEnvironment+ Amazonka.Batch.CreateJobQueue+ Amazonka.Batch.CreateSchedulingPolicy+ Amazonka.Batch.DeleteComputeEnvironment+ Amazonka.Batch.DeleteJobQueue+ Amazonka.Batch.DeleteSchedulingPolicy+ Amazonka.Batch.DeregisterJobDefinition+ Amazonka.Batch.DescribeComputeEnvironments+ Amazonka.Batch.DescribeJobDefinitions+ Amazonka.Batch.DescribeJobQueues+ Amazonka.Batch.DescribeJobs+ Amazonka.Batch.DescribeSchedulingPolicies+ Amazonka.Batch.Lens+ Amazonka.Batch.ListJobs+ Amazonka.Batch.ListSchedulingPolicies+ Amazonka.Batch.ListTagsForResource+ Amazonka.Batch.RegisterJobDefinition+ Amazonka.Batch.SubmitJob+ Amazonka.Batch.TagResource+ Amazonka.Batch.TerminateJob+ Amazonka.Batch.Types+ Amazonka.Batch.Types.ArrayJobDependency+ Amazonka.Batch.Types.ArrayProperties+ Amazonka.Batch.Types.ArrayPropertiesDetail+ Amazonka.Batch.Types.ArrayPropertiesSummary+ Amazonka.Batch.Types.AssignPublicIp+ Amazonka.Batch.Types.AttemptContainerDetail+ Amazonka.Batch.Types.AttemptDetail+ Amazonka.Batch.Types.CEState+ Amazonka.Batch.Types.CEStatus+ Amazonka.Batch.Types.CEType+ Amazonka.Batch.Types.ComputeEnvironmentDetail+ Amazonka.Batch.Types.ComputeEnvironmentOrder+ Amazonka.Batch.Types.ComputeResource+ Amazonka.Batch.Types.ComputeResourceUpdate+ Amazonka.Batch.Types.ContainerDetail+ Amazonka.Batch.Types.ContainerOverrides+ Amazonka.Batch.Types.ContainerProperties+ Amazonka.Batch.Types.ContainerSummary+ Amazonka.Batch.Types.CRAllocationStrategy+ Amazonka.Batch.Types.CRType+ Amazonka.Batch.Types.CRUpdateAllocationStrategy+ Amazonka.Batch.Types.Device+ Amazonka.Batch.Types.DeviceCgroupPermission+ Amazonka.Batch.Types.Ec2Configuration+ Amazonka.Batch.Types.EFSAuthorizationConfig+ Amazonka.Batch.Types.EFSAuthorizationConfigIAM+ Amazonka.Batch.Types.EFSTransitEncryption+ Amazonka.Batch.Types.EFSVolumeConfiguration+ Amazonka.Batch.Types.EksAttemptContainerDetail+ Amazonka.Batch.Types.EksAttemptDetail+ Amazonka.Batch.Types.EksConfiguration+ Amazonka.Batch.Types.EksContainer+ Amazonka.Batch.Types.EksContainerDetail+ Amazonka.Batch.Types.EksContainerEnvironmentVariable+ Amazonka.Batch.Types.EksContainerOverride+ Amazonka.Batch.Types.EksContainerResourceRequirements+ Amazonka.Batch.Types.EksContainerSecurityContext+ Amazonka.Batch.Types.EksContainerVolumeMount+ Amazonka.Batch.Types.EksEmptyDir+ Amazonka.Batch.Types.EksHostPath+ Amazonka.Batch.Types.EksPodProperties+ Amazonka.Batch.Types.EksPodPropertiesDetail+ Amazonka.Batch.Types.EksPodPropertiesOverride+ Amazonka.Batch.Types.EksProperties+ Amazonka.Batch.Types.EksPropertiesDetail+ Amazonka.Batch.Types.EksPropertiesOverride+ Amazonka.Batch.Types.EksSecret+ Amazonka.Batch.Types.EksVolume+ Amazonka.Batch.Types.EvaluateOnExit+ Amazonka.Batch.Types.FairsharePolicy+ Amazonka.Batch.Types.FargatePlatformConfiguration+ Amazonka.Batch.Types.Host+ Amazonka.Batch.Types.JobDefinition+ Amazonka.Batch.Types.JobDefinitionType+ Amazonka.Batch.Types.JobDependency+ Amazonka.Batch.Types.JobDetail+ Amazonka.Batch.Types.JobQueueDetail+ Amazonka.Batch.Types.JobStatus+ Amazonka.Batch.Types.JobSummary+ Amazonka.Batch.Types.JobTimeout+ Amazonka.Batch.Types.JQState+ Amazonka.Batch.Types.JQStatus+ Amazonka.Batch.Types.KeyValuePair+ Amazonka.Batch.Types.KeyValuesPair+ Amazonka.Batch.Types.LaunchTemplateSpecification+ Amazonka.Batch.Types.LinuxParameters+ Amazonka.Batch.Types.LogConfiguration+ Amazonka.Batch.Types.LogDriver+ Amazonka.Batch.Types.MountPoint+ Amazonka.Batch.Types.NetworkConfiguration+ Amazonka.Batch.Types.NetworkInterface+ Amazonka.Batch.Types.NodeDetails+ Amazonka.Batch.Types.NodeOverrides+ Amazonka.Batch.Types.NodeProperties+ Amazonka.Batch.Types.NodePropertiesSummary+ Amazonka.Batch.Types.NodePropertyOverride+ Amazonka.Batch.Types.NodeRangeProperty+ Amazonka.Batch.Types.OrchestrationType+ Amazonka.Batch.Types.PlatformCapability+ Amazonka.Batch.Types.ResourceRequirement+ Amazonka.Batch.Types.ResourceType+ Amazonka.Batch.Types.RetryAction+ Amazonka.Batch.Types.RetryStrategy+ Amazonka.Batch.Types.SchedulingPolicyDetail+ Amazonka.Batch.Types.SchedulingPolicyListingDetail+ Amazonka.Batch.Types.Secret+ Amazonka.Batch.Types.ShareAttributes+ Amazonka.Batch.Types.Tmpfs+ Amazonka.Batch.Types.Ulimit+ Amazonka.Batch.Types.UpdatePolicy+ Amazonka.Batch.Types.Volume+ Amazonka.Batch.UntagResource+ Amazonka.Batch.UpdateComputeEnvironment+ Amazonka.Batch.UpdateJobQueue+ Amazonka.Batch.UpdateSchedulingPolicy+ Amazonka.Batch.Waiters - build-depends:- amazonka-core == 1.6.1.*- , base >= 4.7 && < 5+ build-depends:+ , amazonka-core >=2.0 && <2.1+ , base >=4.12 && <5 test-suite amazonka-batch-test- type: exitcode-stdio-1.0- default-language: Haskell2010- hs-source-dirs: test- main-is: Main.hs-- ghc-options: -Wall -threaded+ type: exitcode-stdio-1.0+ default-language: Haskell2010+ hs-source-dirs: test+ main-is: Main.hs+ ghc-options: -Wall -threaded - -- This section is encoded by the template and any modules added by- -- hand outside these namespaces will not correctly be added to the- -- distribution package.- other-modules:- Test.AWS.Batch- , Test.AWS.Gen.Batch- , Test.AWS.Batch.Internal+ -- This section is encoded by the template and any modules added by+ -- hand outside these namespaces will not correctly be added to the+ -- distribution package.+ other-modules:+ Test.Amazonka.Batch+ Test.Amazonka.Batch.Internal+ Test.Amazonka.Gen.Batch - build-depends:- amazonka-core == 1.6.1.*- , amazonka-test == 1.6.1.*- , amazonka-batch- , base- , bytestring- , tasty- , tasty-hunit- , text- , time- , unordered-containers+ build-depends:+ , amazonka-batch+ , amazonka-core >=2.0 && <2.1+ , amazonka-test >=2.0 && <2.1+ , base+ , bytestring+ , case-insensitive+ , tasty+ , tasty-hunit+ , text+ , time+ , unordered-containers
+ fixture/CreateSchedulingPolicy.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/batch/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: batch.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/CreateSchedulingPolicyResponse.proto view
+ fixture/DeleteSchedulingPolicy.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/batch/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: batch.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteSchedulingPolicyResponse.proto view
+ fixture/DescribeSchedulingPolicies.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/batch/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: batch.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DescribeSchedulingPoliciesResponse.proto view
+ fixture/ListSchedulingPolicies.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/batch/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: batch.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListSchedulingPoliciesResponse.proto view
+ fixture/ListTagsForResource.yaml view
@@ -0,0 +1,10 @@+---+method: GET+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/batch/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: batch.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListTagsForResourceResponse.proto view
+ fixture/TagResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/batch/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: batch.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/TagResourceResponse.proto view
+ fixture/UntagResource.yaml view
@@ -0,0 +1,10 @@+---+method: DELETE+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/batch/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: batch.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UntagResourceResponse.proto view
+ fixture/UpdateSchedulingPolicy.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/batch/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: batch.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateSchedulingPolicyResponse.proto view
+ gen/Amazonka/Batch.hs view
@@ -0,0 +1,596 @@+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- |+-- Module : Amazonka.Batch+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Derived from API version @2016-08-10@ of the AWS service descriptions, licensed under Apache 2.0.+--+-- 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.+module Amazonka.Batch+ ( -- * Service Configuration+ defaultService,++ -- * Errors+ -- $errors++ -- ** ClientException+ _ClientException,++ -- ** ServerException+ _ServerException,++ -- * Waiters+ -- $waiters++ -- * Operations+ -- $operations++ -- ** CancelJob+ CancelJob (CancelJob'),+ newCancelJob,+ CancelJobResponse (CancelJobResponse'),+ newCancelJobResponse,++ -- ** CreateComputeEnvironment+ CreateComputeEnvironment (CreateComputeEnvironment'),+ newCreateComputeEnvironment,+ CreateComputeEnvironmentResponse (CreateComputeEnvironmentResponse'),+ newCreateComputeEnvironmentResponse,++ -- ** CreateJobQueue+ CreateJobQueue (CreateJobQueue'),+ newCreateJobQueue,+ CreateJobQueueResponse (CreateJobQueueResponse'),+ newCreateJobQueueResponse,++ -- ** CreateSchedulingPolicy+ CreateSchedulingPolicy (CreateSchedulingPolicy'),+ newCreateSchedulingPolicy,+ CreateSchedulingPolicyResponse (CreateSchedulingPolicyResponse'),+ newCreateSchedulingPolicyResponse,++ -- ** DeleteComputeEnvironment+ DeleteComputeEnvironment (DeleteComputeEnvironment'),+ newDeleteComputeEnvironment,+ DeleteComputeEnvironmentResponse (DeleteComputeEnvironmentResponse'),+ newDeleteComputeEnvironmentResponse,++ -- ** DeleteJobQueue+ DeleteJobQueue (DeleteJobQueue'),+ newDeleteJobQueue,+ DeleteJobQueueResponse (DeleteJobQueueResponse'),+ newDeleteJobQueueResponse,++ -- ** DeleteSchedulingPolicy+ DeleteSchedulingPolicy (DeleteSchedulingPolicy'),+ newDeleteSchedulingPolicy,+ DeleteSchedulingPolicyResponse (DeleteSchedulingPolicyResponse'),+ newDeleteSchedulingPolicyResponse,++ -- ** DeregisterJobDefinition+ DeregisterJobDefinition (DeregisterJobDefinition'),+ newDeregisterJobDefinition,+ DeregisterJobDefinitionResponse (DeregisterJobDefinitionResponse'),+ newDeregisterJobDefinitionResponse,++ -- ** DescribeComputeEnvironments (Paginated)+ DescribeComputeEnvironments (DescribeComputeEnvironments'),+ newDescribeComputeEnvironments,+ DescribeComputeEnvironmentsResponse (DescribeComputeEnvironmentsResponse'),+ newDescribeComputeEnvironmentsResponse,++ -- ** DescribeJobDefinitions (Paginated)+ DescribeJobDefinitions (DescribeJobDefinitions'),+ newDescribeJobDefinitions,+ DescribeJobDefinitionsResponse (DescribeJobDefinitionsResponse'),+ newDescribeJobDefinitionsResponse,++ -- ** DescribeJobQueues (Paginated)+ DescribeJobQueues (DescribeJobQueues'),+ newDescribeJobQueues,+ DescribeJobQueuesResponse (DescribeJobQueuesResponse'),+ newDescribeJobQueuesResponse,++ -- ** DescribeJobs+ DescribeJobs (DescribeJobs'),+ newDescribeJobs,+ DescribeJobsResponse (DescribeJobsResponse'),+ newDescribeJobsResponse,++ -- ** DescribeSchedulingPolicies+ DescribeSchedulingPolicies (DescribeSchedulingPolicies'),+ newDescribeSchedulingPolicies,+ DescribeSchedulingPoliciesResponse (DescribeSchedulingPoliciesResponse'),+ newDescribeSchedulingPoliciesResponse,++ -- ** ListJobs (Paginated)+ ListJobs (ListJobs'),+ newListJobs,+ ListJobsResponse (ListJobsResponse'),+ newListJobsResponse,++ -- ** ListSchedulingPolicies (Paginated)+ ListSchedulingPolicies (ListSchedulingPolicies'),+ newListSchedulingPolicies,+ ListSchedulingPoliciesResponse (ListSchedulingPoliciesResponse'),+ newListSchedulingPoliciesResponse,++ -- ** ListTagsForResource+ ListTagsForResource (ListTagsForResource'),+ newListTagsForResource,+ ListTagsForResourceResponse (ListTagsForResourceResponse'),+ newListTagsForResourceResponse,++ -- ** RegisterJobDefinition+ RegisterJobDefinition (RegisterJobDefinition'),+ newRegisterJobDefinition,+ RegisterJobDefinitionResponse (RegisterJobDefinitionResponse'),+ newRegisterJobDefinitionResponse,++ -- ** SubmitJob+ SubmitJob (SubmitJob'),+ newSubmitJob,+ SubmitJobResponse (SubmitJobResponse'),+ newSubmitJobResponse,++ -- ** TagResource+ TagResource (TagResource'),+ newTagResource,+ TagResourceResponse (TagResourceResponse'),+ newTagResourceResponse,++ -- ** TerminateJob+ TerminateJob (TerminateJob'),+ newTerminateJob,+ TerminateJobResponse (TerminateJobResponse'),+ newTerminateJobResponse,++ -- ** UntagResource+ UntagResource (UntagResource'),+ newUntagResource,+ UntagResourceResponse (UntagResourceResponse'),+ newUntagResourceResponse,++ -- ** UpdateComputeEnvironment+ UpdateComputeEnvironment (UpdateComputeEnvironment'),+ newUpdateComputeEnvironment,+ UpdateComputeEnvironmentResponse (UpdateComputeEnvironmentResponse'),+ newUpdateComputeEnvironmentResponse,++ -- ** UpdateJobQueue+ UpdateJobQueue (UpdateJobQueue'),+ newUpdateJobQueue,+ UpdateJobQueueResponse (UpdateJobQueueResponse'),+ newUpdateJobQueueResponse,++ -- ** UpdateSchedulingPolicy+ UpdateSchedulingPolicy (UpdateSchedulingPolicy'),+ newUpdateSchedulingPolicy,+ UpdateSchedulingPolicyResponse (UpdateSchedulingPolicyResponse'),+ newUpdateSchedulingPolicyResponse,++ -- * Types++ -- ** ArrayJobDependency+ ArrayJobDependency (..),++ -- ** AssignPublicIp+ AssignPublicIp (..),++ -- ** CEState+ CEState (..),++ -- ** CEStatus+ CEStatus (..),++ -- ** CEType+ CEType (..),++ -- ** CRAllocationStrategy+ CRAllocationStrategy (..),++ -- ** CRType+ CRType (..),++ -- ** CRUpdateAllocationStrategy+ CRUpdateAllocationStrategy (..),++ -- ** DeviceCgroupPermission+ DeviceCgroupPermission (..),++ -- ** EFSAuthorizationConfigIAM+ EFSAuthorizationConfigIAM (..),++ -- ** EFSTransitEncryption+ EFSTransitEncryption (..),++ -- ** JQState+ JQState (..),++ -- ** JQStatus+ JQStatus (..),++ -- ** JobDefinitionType+ JobDefinitionType (..),++ -- ** JobStatus+ JobStatus (..),++ -- ** LogDriver+ LogDriver (..),++ -- ** OrchestrationType+ OrchestrationType (..),++ -- ** PlatformCapability+ PlatformCapability (..),++ -- ** ResourceType+ ResourceType (..),++ -- ** RetryAction+ RetryAction (..),++ -- ** ArrayProperties+ ArrayProperties (ArrayProperties'),+ newArrayProperties,++ -- ** ArrayPropertiesDetail+ ArrayPropertiesDetail (ArrayPropertiesDetail'),+ newArrayPropertiesDetail,++ -- ** ArrayPropertiesSummary+ ArrayPropertiesSummary (ArrayPropertiesSummary'),+ newArrayPropertiesSummary,++ -- ** AttemptContainerDetail+ AttemptContainerDetail (AttemptContainerDetail'),+ newAttemptContainerDetail,++ -- ** AttemptDetail+ AttemptDetail (AttemptDetail'),+ newAttemptDetail,++ -- ** ComputeEnvironmentDetail+ ComputeEnvironmentDetail (ComputeEnvironmentDetail'),+ newComputeEnvironmentDetail,++ -- ** ComputeEnvironmentOrder+ ComputeEnvironmentOrder (ComputeEnvironmentOrder'),+ newComputeEnvironmentOrder,++ -- ** ComputeResource+ ComputeResource (ComputeResource'),+ newComputeResource,++ -- ** ComputeResourceUpdate+ ComputeResourceUpdate (ComputeResourceUpdate'),+ newComputeResourceUpdate,++ -- ** ContainerDetail+ ContainerDetail (ContainerDetail'),+ newContainerDetail,++ -- ** ContainerOverrides+ ContainerOverrides (ContainerOverrides'),+ newContainerOverrides,++ -- ** ContainerProperties+ ContainerProperties (ContainerProperties'),+ newContainerProperties,++ -- ** ContainerSummary+ ContainerSummary (ContainerSummary'),+ newContainerSummary,++ -- ** Device+ Device (Device'),+ newDevice,++ -- ** EFSAuthorizationConfig+ EFSAuthorizationConfig (EFSAuthorizationConfig'),+ newEFSAuthorizationConfig,++ -- ** EFSVolumeConfiguration+ EFSVolumeConfiguration (EFSVolumeConfiguration'),+ newEFSVolumeConfiguration,++ -- ** Ec2Configuration+ Ec2Configuration (Ec2Configuration'),+ newEc2Configuration,++ -- ** EksAttemptContainerDetail+ EksAttemptContainerDetail (EksAttemptContainerDetail'),+ newEksAttemptContainerDetail,++ -- ** EksAttemptDetail+ EksAttemptDetail (EksAttemptDetail'),+ newEksAttemptDetail,++ -- ** EksConfiguration+ EksConfiguration (EksConfiguration'),+ newEksConfiguration,++ -- ** EksContainer+ EksContainer (EksContainer'),+ newEksContainer,++ -- ** EksContainerDetail+ EksContainerDetail (EksContainerDetail'),+ newEksContainerDetail,++ -- ** EksContainerEnvironmentVariable+ EksContainerEnvironmentVariable (EksContainerEnvironmentVariable'),+ newEksContainerEnvironmentVariable,++ -- ** EksContainerOverride+ EksContainerOverride (EksContainerOverride'),+ newEksContainerOverride,++ -- ** EksContainerResourceRequirements+ EksContainerResourceRequirements (EksContainerResourceRequirements'),+ newEksContainerResourceRequirements,++ -- ** EksContainerSecurityContext+ EksContainerSecurityContext (EksContainerSecurityContext'),+ newEksContainerSecurityContext,++ -- ** EksContainerVolumeMount+ EksContainerVolumeMount (EksContainerVolumeMount'),+ newEksContainerVolumeMount,++ -- ** EksEmptyDir+ EksEmptyDir (EksEmptyDir'),+ newEksEmptyDir,++ -- ** EksHostPath+ EksHostPath (EksHostPath'),+ newEksHostPath,++ -- ** EksPodProperties+ EksPodProperties (EksPodProperties'),+ newEksPodProperties,++ -- ** EksPodPropertiesDetail+ EksPodPropertiesDetail (EksPodPropertiesDetail'),+ newEksPodPropertiesDetail,++ -- ** EksPodPropertiesOverride+ EksPodPropertiesOverride (EksPodPropertiesOverride'),+ newEksPodPropertiesOverride,++ -- ** EksProperties+ EksProperties (EksProperties'),+ newEksProperties,++ -- ** EksPropertiesDetail+ EksPropertiesDetail (EksPropertiesDetail'),+ newEksPropertiesDetail,++ -- ** EksPropertiesOverride+ EksPropertiesOverride (EksPropertiesOverride'),+ newEksPropertiesOverride,++ -- ** EksSecret+ EksSecret (EksSecret'),+ newEksSecret,++ -- ** EksVolume+ EksVolume (EksVolume'),+ newEksVolume,++ -- ** EvaluateOnExit+ EvaluateOnExit (EvaluateOnExit'),+ newEvaluateOnExit,++ -- ** FairsharePolicy+ FairsharePolicy (FairsharePolicy'),+ newFairsharePolicy,++ -- ** FargatePlatformConfiguration+ FargatePlatformConfiguration (FargatePlatformConfiguration'),+ newFargatePlatformConfiguration,++ -- ** Host+ Host (Host'),+ newHost,++ -- ** JobDefinition+ JobDefinition (JobDefinition'),+ newJobDefinition,++ -- ** JobDependency+ JobDependency (JobDependency'),+ newJobDependency,++ -- ** JobDetail+ JobDetail (JobDetail'),+ newJobDetail,++ -- ** JobQueueDetail+ JobQueueDetail (JobQueueDetail'),+ newJobQueueDetail,++ -- ** JobSummary+ JobSummary (JobSummary'),+ newJobSummary,++ -- ** JobTimeout+ JobTimeout (JobTimeout'),+ newJobTimeout,++ -- ** KeyValuePair+ KeyValuePair (KeyValuePair'),+ newKeyValuePair,++ -- ** KeyValuesPair+ KeyValuesPair (KeyValuesPair'),+ newKeyValuesPair,++ -- ** LaunchTemplateSpecification+ LaunchTemplateSpecification (LaunchTemplateSpecification'),+ newLaunchTemplateSpecification,++ -- ** LinuxParameters+ LinuxParameters (LinuxParameters'),+ newLinuxParameters,++ -- ** LogConfiguration+ LogConfiguration (LogConfiguration'),+ newLogConfiguration,++ -- ** MountPoint+ MountPoint (MountPoint'),+ newMountPoint,++ -- ** NetworkConfiguration+ NetworkConfiguration (NetworkConfiguration'),+ newNetworkConfiguration,++ -- ** NetworkInterface+ NetworkInterface (NetworkInterface'),+ newNetworkInterface,++ -- ** NodeDetails+ NodeDetails (NodeDetails'),+ newNodeDetails,++ -- ** NodeOverrides+ NodeOverrides (NodeOverrides'),+ newNodeOverrides,++ -- ** NodeProperties+ NodeProperties (NodeProperties'),+ newNodeProperties,++ -- ** NodePropertiesSummary+ NodePropertiesSummary (NodePropertiesSummary'),+ newNodePropertiesSummary,++ -- ** NodePropertyOverride+ NodePropertyOverride (NodePropertyOverride'),+ newNodePropertyOverride,++ -- ** NodeRangeProperty+ NodeRangeProperty (NodeRangeProperty'),+ newNodeRangeProperty,++ -- ** ResourceRequirement+ ResourceRequirement (ResourceRequirement'),+ newResourceRequirement,++ -- ** RetryStrategy+ RetryStrategy (RetryStrategy'),+ newRetryStrategy,++ -- ** SchedulingPolicyDetail+ SchedulingPolicyDetail (SchedulingPolicyDetail'),+ newSchedulingPolicyDetail,++ -- ** SchedulingPolicyListingDetail+ SchedulingPolicyListingDetail (SchedulingPolicyListingDetail'),+ newSchedulingPolicyListingDetail,++ -- ** Secret+ Secret (Secret'),+ newSecret,++ -- ** ShareAttributes+ ShareAttributes (ShareAttributes'),+ newShareAttributes,++ -- ** Tmpfs+ Tmpfs (Tmpfs'),+ newTmpfs,++ -- ** Ulimit+ Ulimit (Ulimit'),+ newUlimit,++ -- ** UpdatePolicy+ UpdatePolicy (UpdatePolicy'),+ newUpdatePolicy,++ -- ** Volume+ Volume (Volume'),+ newVolume,+ )+where++import Amazonka.Batch.CancelJob+import Amazonka.Batch.CreateComputeEnvironment+import Amazonka.Batch.CreateJobQueue+import Amazonka.Batch.CreateSchedulingPolicy+import Amazonka.Batch.DeleteComputeEnvironment+import Amazonka.Batch.DeleteJobQueue+import Amazonka.Batch.DeleteSchedulingPolicy+import Amazonka.Batch.DeregisterJobDefinition+import Amazonka.Batch.DescribeComputeEnvironments+import Amazonka.Batch.DescribeJobDefinitions+import Amazonka.Batch.DescribeJobQueues+import Amazonka.Batch.DescribeJobs+import Amazonka.Batch.DescribeSchedulingPolicies+import Amazonka.Batch.Lens+import Amazonka.Batch.ListJobs+import Amazonka.Batch.ListSchedulingPolicies+import Amazonka.Batch.ListTagsForResource+import Amazonka.Batch.RegisterJobDefinition+import Amazonka.Batch.SubmitJob+import Amazonka.Batch.TagResource+import Amazonka.Batch.TerminateJob+import Amazonka.Batch.Types+import Amazonka.Batch.UntagResource+import Amazonka.Batch.UpdateComputeEnvironment+import Amazonka.Batch.UpdateJobQueue+import Amazonka.Batch.UpdateSchedulingPolicy+import Amazonka.Batch.Waiters++-- $errors+-- Error matchers are designed for use with the functions provided by+-- <http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.+-- This allows catching (and rethrowing) service specific errors returned+-- by 'Batch'.++-- $operations+-- Some AWS operations return results that are incomplete and require subsequent+-- requests in order to obtain the entire result set. The process of sending+-- subsequent requests to continue where a previous request left off is called+-- pagination. For example, the 'ListObjects' operation of Amazon S3 returns up to+-- 1000 objects at a time, and you must send subsequent requests with the+-- appropriate Marker in order to retrieve the next page of results.+--+-- Operations that have an 'AWSPager' instance can transparently perform subsequent+-- requests, correctly setting Markers and other request facets to iterate through+-- the entire result set of a truncated API operation. Operations which support+-- this have an additional note in the documentation.+--+-- Many operations have the ability to filter results on the server side. See the+-- individual operation parameters for details.++-- $waiters+-- Waiters poll by repeatedly sending a request until some remote success condition+-- configured by the 'Wait' specification is fulfilled. The 'Wait' specification+-- determines how many attempts should be made, in addition to delay and retry strategies.
+ gen/Amazonka/Batch/CancelJob.hs view
@@ -0,0 +1,174 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.CancelJob+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Cancels a job in an Batch job queue. Jobs that are in the @SUBMITTED@,+-- @PENDING@, or @RUNNABLE@ state are canceled. 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.+module Amazonka.Batch.CancelJob+ ( -- * Creating a Request+ CancelJob (..),+ newCancelJob,++ -- * Request Lenses+ cancelJob_jobId,+ cancelJob_reason,++ -- * Destructuring the Response+ CancelJobResponse (..),+ newCancelJobResponse,++ -- * Response Lenses+ cancelJobResponse_httpStatus,+ )+where++import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains the parameters for @CancelJob@.+--+-- /See:/ 'newCancelJob' smart constructor.+data CancelJob = CancelJob'+ { -- | The Batch job ID of the job to cancel.+ jobId :: Prelude.Text,+ -- | 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 :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CancelJob' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'jobId', 'cancelJob_jobId' - The Batch job ID of the job to cancel.+--+-- 'reason', 'cancelJob_reason' - 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.+newCancelJob ::+ -- | 'jobId'+ Prelude.Text ->+ -- | 'reason'+ Prelude.Text ->+ CancelJob+newCancelJob pJobId_ pReason_ =+ CancelJob' {jobId = pJobId_, reason = pReason_}++-- | The Batch job ID of the job to cancel.+cancelJob_jobId :: Lens.Lens' CancelJob Prelude.Text+cancelJob_jobId = Lens.lens (\CancelJob' {jobId} -> jobId) (\s@CancelJob' {} a -> s {jobId = a} :: CancelJob)++-- | 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.+cancelJob_reason :: Lens.Lens' CancelJob Prelude.Text+cancelJob_reason = Lens.lens (\CancelJob' {reason} -> reason) (\s@CancelJob' {} a -> s {reason = a} :: CancelJob)++instance Core.AWSRequest CancelJob where+ type AWSResponse CancelJob = CancelJobResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ CancelJobResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CancelJob where+ hashWithSalt _salt CancelJob' {..} =+ _salt+ `Prelude.hashWithSalt` jobId+ `Prelude.hashWithSalt` reason++instance Prelude.NFData CancelJob where+ rnf CancelJob' {..} =+ Prelude.rnf jobId `Prelude.seq` Prelude.rnf reason++instance Data.ToHeaders CancelJob where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CancelJob where+ toJSON CancelJob' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("jobId" Data..= jobId),+ Prelude.Just ("reason" Data..= reason)+ ]+ )++instance Data.ToPath CancelJob where+ toPath = Prelude.const "/v1/canceljob"++instance Data.ToQuery CancelJob where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCancelJobResponse' smart constructor.+data CancelJobResponse = CancelJobResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CancelJobResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'cancelJobResponse_httpStatus' - The response's http status code.+newCancelJobResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CancelJobResponse+newCancelJobResponse pHttpStatus_ =+ CancelJobResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+cancelJobResponse_httpStatus :: Lens.Lens' CancelJobResponse Prelude.Int+cancelJobResponse_httpStatus = Lens.lens (\CancelJobResponse' {httpStatus} -> httpStatus) (\s@CancelJobResponse' {} a -> s {httpStatus = a} :: CancelJobResponse)++instance Prelude.NFData CancelJobResponse where+ rnf CancelJobResponse' {..} = Prelude.rnf httpStatus
+ gen/Amazonka/Batch/CreateComputeEnvironment.hs view
@@ -0,0 +1,578 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.CreateComputeEnvironment+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- 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+-- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html launch template>+-- 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+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container_instance_AMIs.html container instance AMIs>+-- 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+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_container_instance.html Launching an Amazon ECS container instance>+-- 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:+--+-- 1. Create a new compute environment with the new AMI.+--+-- 2. Add the compute environment to an existing job queue.+--+-- 3. Remove the earlier compute environment from your job queue.+--+-- 4. Delete the earlier compute environment.+--+-- In April 2022, Batch added enhanced support for updating compute+-- environments. For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>.+-- 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@ or @SPOT_CAPACITY_OPTIMIZED@.+--+-- - Set the update to latest image version+-- (@updateToLatestImageVersion@) parameter to @true@.+--+-- - Don\'t specify an AMI ID in @imageId@, @imageIdOverride@ (in+-- <https://docs.aws.amazon.com/batch/latest/APIReference/API_Ec2Configuration.html ec2Configuration>+-- ), 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.+module Amazonka.Batch.CreateComputeEnvironment+ ( -- * Creating a Request+ CreateComputeEnvironment (..),+ newCreateComputeEnvironment,++ -- * Request Lenses+ createComputeEnvironment_computeResources,+ createComputeEnvironment_eksConfiguration,+ createComputeEnvironment_serviceRole,+ createComputeEnvironment_state,+ createComputeEnvironment_tags,+ createComputeEnvironment_unmanagedvCpus,+ createComputeEnvironment_computeEnvironmentName,+ createComputeEnvironment_type,++ -- * Destructuring the Response+ CreateComputeEnvironmentResponse (..),+ newCreateComputeEnvironmentResponse,++ -- * Response Lenses+ createComputeEnvironmentResponse_computeEnvironmentArn,+ createComputeEnvironmentResponse_computeEnvironmentName,+ createComputeEnvironmentResponse_httpStatus,+ )+where++import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains the parameters for @CreateComputeEnvironment@.+--+-- /See:/ 'newCreateComputeEnvironment' smart constructor.+data CreateComputeEnvironment = CreateComputeEnvironment'+ { -- | Details about the compute resources managed by the compute environment.+ -- This parameter is required for managed compute environments. For more+ -- information, see+ -- <https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html Compute Environments>+ -- in the /Batch User Guide/.+ computeResources :: Prelude.Maybe ComputeResource,+ -- | The details for the Amazon EKS cluster that supports the compute+ -- environment.+ eksConfiguration :: Prelude.Maybe EksConfiguration,+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html Batch service IAM role>+ -- 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+ -- <https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names Friendly names and paths>+ -- 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 :: Prelude.Maybe Prelude.Text,+ -- | 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. However, they scale in to @minvCpus@+ -- value after instances become idle.+ state :: Prelude.Maybe 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+ -- <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html Tagging Amazon Web Services Resources>+ -- in /Amazon Web Services General Reference/.+ --+ -- These tags can be updated or removed using the+ -- <https://docs.aws.amazon.com/batch/latest/APIReference/API_TagResource.html TagResource>+ -- and+ -- <https://docs.aws.amazon.com/batch/latest/APIReference/API_UntagResource.html UntagResource>+ -- API operations. These tags don\'t propagate to the underlying compute+ -- resources.+ tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | 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 :: Prelude.Maybe Prelude.Int,+ -- | 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 :: Prelude.Text,+ -- | The type of the compute environment: @MANAGED@ or @UNMANAGED@. For more+ -- information, see+ -- <https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html Compute Environments>+ -- in the /Batch User Guide/.+ type' :: CEType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateComputeEnvironment' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'computeResources', 'createComputeEnvironment_computeResources' - Details about the compute resources managed by the compute environment.+-- This parameter is required for managed compute environments. For more+-- information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html Compute Environments>+-- in the /Batch User Guide/.+--+-- 'eksConfiguration', 'createComputeEnvironment_eksConfiguration' - The details for the Amazon EKS cluster that supports the compute+-- environment.+--+-- 'serviceRole', 'createComputeEnvironment_serviceRole' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html Batch service IAM role>+-- 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+-- <https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names Friendly names and paths>+-- 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.+--+-- 'state', 'createComputeEnvironment_state' - 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. However, they scale in to @minvCpus@+-- value after instances become idle.+--+-- 'tags', 'createComputeEnvironment_tags' - 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+-- <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html Tagging Amazon Web Services Resources>+-- in /Amazon Web Services General Reference/.+--+-- These tags can be updated or removed using the+-- <https://docs.aws.amazon.com/batch/latest/APIReference/API_TagResource.html TagResource>+-- and+-- <https://docs.aws.amazon.com/batch/latest/APIReference/API_UntagResource.html UntagResource>+-- API operations. These tags don\'t propagate to the underlying compute+-- resources.+--+-- 'unmanagedvCpus', 'createComputeEnvironment_unmanagedvCpus' - 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@.+--+-- 'computeEnvironmentName', 'createComputeEnvironment_computeEnvironmentName' - 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 (_).+--+-- 'type'', 'createComputeEnvironment_type' - The type of the compute environment: @MANAGED@ or @UNMANAGED@. For more+-- information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html Compute Environments>+-- in the /Batch User Guide/.+newCreateComputeEnvironment ::+ -- | 'computeEnvironmentName'+ Prelude.Text ->+ -- | 'type''+ CEType ->+ CreateComputeEnvironment+newCreateComputeEnvironment+ pComputeEnvironmentName_+ pType_ =+ CreateComputeEnvironment'+ { computeResources =+ Prelude.Nothing,+ eksConfiguration = Prelude.Nothing,+ serviceRole = Prelude.Nothing,+ state = Prelude.Nothing,+ tags = Prelude.Nothing,+ unmanagedvCpus = Prelude.Nothing,+ computeEnvironmentName = pComputeEnvironmentName_,+ type' = pType_+ }++-- | Details about the compute resources managed by the compute environment.+-- This parameter is required for managed compute environments. For more+-- information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html Compute Environments>+-- in the /Batch User Guide/.+createComputeEnvironment_computeResources :: Lens.Lens' CreateComputeEnvironment (Prelude.Maybe ComputeResource)+createComputeEnvironment_computeResources = Lens.lens (\CreateComputeEnvironment' {computeResources} -> computeResources) (\s@CreateComputeEnvironment' {} a -> s {computeResources = a} :: CreateComputeEnvironment)++-- | The details for the Amazon EKS cluster that supports the compute+-- environment.+createComputeEnvironment_eksConfiguration :: Lens.Lens' CreateComputeEnvironment (Prelude.Maybe EksConfiguration)+createComputeEnvironment_eksConfiguration = Lens.lens (\CreateComputeEnvironment' {eksConfiguration} -> eksConfiguration) (\s@CreateComputeEnvironment' {} a -> s {eksConfiguration = a} :: CreateComputeEnvironment)++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html Batch service IAM role>+-- 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+-- <https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names Friendly names and paths>+-- 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.+createComputeEnvironment_serviceRole :: Lens.Lens' CreateComputeEnvironment (Prelude.Maybe Prelude.Text)+createComputeEnvironment_serviceRole = Lens.lens (\CreateComputeEnvironment' {serviceRole} -> serviceRole) (\s@CreateComputeEnvironment' {} a -> s {serviceRole = a} :: CreateComputeEnvironment)++-- | 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. However, they scale in to @minvCpus@+-- value after instances become idle.+createComputeEnvironment_state :: Lens.Lens' CreateComputeEnvironment (Prelude.Maybe CEState)+createComputeEnvironment_state = Lens.lens (\CreateComputeEnvironment' {state} -> state) (\s@CreateComputeEnvironment' {} a -> s {state = a} :: CreateComputeEnvironment)++-- | 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+-- <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html Tagging Amazon Web Services Resources>+-- in /Amazon Web Services General Reference/.+--+-- These tags can be updated or removed using the+-- <https://docs.aws.amazon.com/batch/latest/APIReference/API_TagResource.html TagResource>+-- and+-- <https://docs.aws.amazon.com/batch/latest/APIReference/API_UntagResource.html UntagResource>+-- API operations. These tags don\'t propagate to the underlying compute+-- resources.+createComputeEnvironment_tags :: Lens.Lens' CreateComputeEnvironment (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+createComputeEnvironment_tags = Lens.lens (\CreateComputeEnvironment' {tags} -> tags) (\s@CreateComputeEnvironment' {} a -> s {tags = a} :: CreateComputeEnvironment) Prelude.. Lens.mapping Lens.coerced++-- | 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@.+createComputeEnvironment_unmanagedvCpus :: Lens.Lens' CreateComputeEnvironment (Prelude.Maybe Prelude.Int)+createComputeEnvironment_unmanagedvCpus = Lens.lens (\CreateComputeEnvironment' {unmanagedvCpus} -> unmanagedvCpus) (\s@CreateComputeEnvironment' {} a -> s {unmanagedvCpus = a} :: CreateComputeEnvironment)++-- | 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 (_).+createComputeEnvironment_computeEnvironmentName :: Lens.Lens' CreateComputeEnvironment Prelude.Text+createComputeEnvironment_computeEnvironmentName = Lens.lens (\CreateComputeEnvironment' {computeEnvironmentName} -> computeEnvironmentName) (\s@CreateComputeEnvironment' {} a -> s {computeEnvironmentName = a} :: CreateComputeEnvironment)++-- | The type of the compute environment: @MANAGED@ or @UNMANAGED@. For more+-- information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html Compute Environments>+-- in the /Batch User Guide/.+createComputeEnvironment_type :: Lens.Lens' CreateComputeEnvironment CEType+createComputeEnvironment_type = Lens.lens (\CreateComputeEnvironment' {type'} -> type') (\s@CreateComputeEnvironment' {} a -> s {type' = a} :: CreateComputeEnvironment)++instance Core.AWSRequest CreateComputeEnvironment where+ type+ AWSResponse CreateComputeEnvironment =+ CreateComputeEnvironmentResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateComputeEnvironmentResponse'+ Prelude.<$> (x Data..?> "computeEnvironmentArn")+ Prelude.<*> (x Data..?> "computeEnvironmentName")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateComputeEnvironment where+ hashWithSalt _salt CreateComputeEnvironment' {..} =+ _salt+ `Prelude.hashWithSalt` computeResources+ `Prelude.hashWithSalt` eksConfiguration+ `Prelude.hashWithSalt` serviceRole+ `Prelude.hashWithSalt` state+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` unmanagedvCpus+ `Prelude.hashWithSalt` computeEnvironmentName+ `Prelude.hashWithSalt` type'++instance Prelude.NFData CreateComputeEnvironment where+ rnf CreateComputeEnvironment' {..} =+ Prelude.rnf computeResources+ `Prelude.seq` Prelude.rnf eksConfiguration+ `Prelude.seq` Prelude.rnf serviceRole+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf unmanagedvCpus+ `Prelude.seq` Prelude.rnf computeEnvironmentName+ `Prelude.seq` Prelude.rnf type'++instance Data.ToHeaders CreateComputeEnvironment where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateComputeEnvironment where+ toJSON CreateComputeEnvironment' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("computeResources" Data..=)+ Prelude.<$> computeResources,+ ("eksConfiguration" Data..=)+ Prelude.<$> eksConfiguration,+ ("serviceRole" Data..=) Prelude.<$> serviceRole,+ ("state" Data..=) Prelude.<$> state,+ ("tags" Data..=) Prelude.<$> tags,+ ("unmanagedvCpus" Data..=)+ Prelude.<$> unmanagedvCpus,+ Prelude.Just+ ( "computeEnvironmentName"+ Data..= computeEnvironmentName+ ),+ Prelude.Just ("type" Data..= type')+ ]+ )++instance Data.ToPath CreateComputeEnvironment where+ toPath = Prelude.const "/v1/createcomputeenvironment"++instance Data.ToQuery CreateComputeEnvironment where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateComputeEnvironmentResponse' smart constructor.+data CreateComputeEnvironmentResponse = CreateComputeEnvironmentResponse'+ { -- | The Amazon Resource Name (ARN) of the compute environment.+ computeEnvironmentArn :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateComputeEnvironmentResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'computeEnvironmentArn', 'createComputeEnvironmentResponse_computeEnvironmentArn' - The Amazon Resource Name (ARN) of the compute environment.+--+-- 'computeEnvironmentName', 'createComputeEnvironmentResponse_computeEnvironmentName' - 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 (_).+--+-- 'httpStatus', 'createComputeEnvironmentResponse_httpStatus' - The response's http status code.+newCreateComputeEnvironmentResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateComputeEnvironmentResponse+newCreateComputeEnvironmentResponse pHttpStatus_ =+ CreateComputeEnvironmentResponse'+ { computeEnvironmentArn =+ Prelude.Nothing,+ computeEnvironmentName = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The Amazon Resource Name (ARN) of the compute environment.+createComputeEnvironmentResponse_computeEnvironmentArn :: Lens.Lens' CreateComputeEnvironmentResponse (Prelude.Maybe Prelude.Text)+createComputeEnvironmentResponse_computeEnvironmentArn = Lens.lens (\CreateComputeEnvironmentResponse' {computeEnvironmentArn} -> computeEnvironmentArn) (\s@CreateComputeEnvironmentResponse' {} a -> s {computeEnvironmentArn = a} :: CreateComputeEnvironmentResponse)++-- | 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 (_).+createComputeEnvironmentResponse_computeEnvironmentName :: Lens.Lens' CreateComputeEnvironmentResponse (Prelude.Maybe Prelude.Text)+createComputeEnvironmentResponse_computeEnvironmentName = Lens.lens (\CreateComputeEnvironmentResponse' {computeEnvironmentName} -> computeEnvironmentName) (\s@CreateComputeEnvironmentResponse' {} a -> s {computeEnvironmentName = a} :: CreateComputeEnvironmentResponse)++-- | The response's http status code.+createComputeEnvironmentResponse_httpStatus :: Lens.Lens' CreateComputeEnvironmentResponse Prelude.Int+createComputeEnvironmentResponse_httpStatus = Lens.lens (\CreateComputeEnvironmentResponse' {httpStatus} -> httpStatus) (\s@CreateComputeEnvironmentResponse' {} a -> s {httpStatus = a} :: CreateComputeEnvironmentResponse)++instance+ Prelude.NFData+ CreateComputeEnvironmentResponse+ where+ rnf CreateComputeEnvironmentResponse' {..} =+ Prelude.rnf computeEnvironmentArn+ `Prelude.seq` Prelude.rnf computeEnvironmentName+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Batch/CreateJobQueue.hs view
@@ -0,0 +1,371 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.CreateJobQueue+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- 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.+module Amazonka.Batch.CreateJobQueue+ ( -- * Creating a Request+ CreateJobQueue (..),+ newCreateJobQueue,++ -- * Request Lenses+ createJobQueue_schedulingPolicyArn,+ createJobQueue_state,+ createJobQueue_tags,+ createJobQueue_jobQueueName,+ createJobQueue_priority,+ createJobQueue_computeEnvironmentOrder,++ -- * Destructuring the Response+ CreateJobQueueResponse (..),+ newCreateJobQueueResponse,++ -- * Response Lenses+ createJobQueueResponse_httpStatus,+ createJobQueueResponse_jobQueueName,+ createJobQueueResponse_jobQueueArn,+ )+where++import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains the parameters for @CreateJobQueue@.+--+-- /See:/ 'newCreateJobQueue' smart constructor.+data CreateJobQueue = CreateJobQueue'+ { -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/using-tags.html Tagging your Batch resources>+ -- in /Batch User Guide/.+ tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | 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 :: Prelude.Text,+ -- | 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 :: Prelude.Int,+ -- | 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 :: [ComputeEnvironmentOrder]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateJobQueue' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'schedulingPolicyArn', 'createJobQueue_schedulingPolicyArn' - 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@.+--+-- 'state', 'createJobQueue_state' - 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.+--+-- 'tags', 'createJobQueue_tags' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/using-tags.html Tagging your Batch resources>+-- in /Batch User Guide/.+--+-- 'jobQueueName', 'createJobQueue_jobQueueName' - 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 (_).+--+-- 'priority', 'createJobQueue_priority' - 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.+--+-- 'computeEnvironmentOrder', 'createJobQueue_computeEnvironmentOrder' - 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.+newCreateJobQueue ::+ -- | 'jobQueueName'+ Prelude.Text ->+ -- | 'priority'+ Prelude.Int ->+ CreateJobQueue+newCreateJobQueue pJobQueueName_ pPriority_ =+ CreateJobQueue'+ { schedulingPolicyArn =+ Prelude.Nothing,+ state = Prelude.Nothing,+ tags = Prelude.Nothing,+ jobQueueName = pJobQueueName_,+ priority = pPriority_,+ computeEnvironmentOrder = Prelude.mempty+ }++-- | 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@.+createJobQueue_schedulingPolicyArn :: Lens.Lens' CreateJobQueue (Prelude.Maybe Prelude.Text)+createJobQueue_schedulingPolicyArn = Lens.lens (\CreateJobQueue' {schedulingPolicyArn} -> schedulingPolicyArn) (\s@CreateJobQueue' {} a -> s {schedulingPolicyArn = a} :: CreateJobQueue)++-- | 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.+createJobQueue_state :: Lens.Lens' CreateJobQueue (Prelude.Maybe JQState)+createJobQueue_state = Lens.lens (\CreateJobQueue' {state} -> state) (\s@CreateJobQueue' {} a -> s {state = a} :: CreateJobQueue)++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/using-tags.html Tagging your Batch resources>+-- in /Batch User Guide/.+createJobQueue_tags :: Lens.Lens' CreateJobQueue (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+createJobQueue_tags = Lens.lens (\CreateJobQueue' {tags} -> tags) (\s@CreateJobQueue' {} a -> s {tags = a} :: CreateJobQueue) Prelude.. Lens.mapping Lens.coerced++-- | 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 (_).+createJobQueue_jobQueueName :: Lens.Lens' CreateJobQueue Prelude.Text+createJobQueue_jobQueueName = Lens.lens (\CreateJobQueue' {jobQueueName} -> jobQueueName) (\s@CreateJobQueue' {} a -> s {jobQueueName = a} :: CreateJobQueue)++-- | 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.+createJobQueue_priority :: Lens.Lens' CreateJobQueue Prelude.Int+createJobQueue_priority = Lens.lens (\CreateJobQueue' {priority} -> priority) (\s@CreateJobQueue' {} a -> s {priority = a} :: CreateJobQueue)++-- | 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.+createJobQueue_computeEnvironmentOrder :: Lens.Lens' CreateJobQueue [ComputeEnvironmentOrder]+createJobQueue_computeEnvironmentOrder = Lens.lens (\CreateJobQueue' {computeEnvironmentOrder} -> computeEnvironmentOrder) (\s@CreateJobQueue' {} a -> s {computeEnvironmentOrder = a} :: CreateJobQueue) Prelude.. Lens.coerced++instance Core.AWSRequest CreateJobQueue where+ type+ AWSResponse CreateJobQueue =+ CreateJobQueueResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateJobQueueResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ Prelude.<*> (x Data..:> "jobQueueName")+ Prelude.<*> (x Data..:> "jobQueueArn")+ )++instance Prelude.Hashable CreateJobQueue where+ hashWithSalt _salt CreateJobQueue' {..} =+ _salt+ `Prelude.hashWithSalt` schedulingPolicyArn+ `Prelude.hashWithSalt` state+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` jobQueueName+ `Prelude.hashWithSalt` priority+ `Prelude.hashWithSalt` computeEnvironmentOrder++instance Prelude.NFData CreateJobQueue where+ rnf CreateJobQueue' {..} =+ Prelude.rnf schedulingPolicyArn+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf jobQueueName+ `Prelude.seq` Prelude.rnf priority+ `Prelude.seq` Prelude.rnf computeEnvironmentOrder++instance Data.ToHeaders CreateJobQueue where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateJobQueue where+ toJSON CreateJobQueue' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("schedulingPolicyArn" Data..=)+ Prelude.<$> schedulingPolicyArn,+ ("state" Data..=) Prelude.<$> state,+ ("tags" Data..=) Prelude.<$> tags,+ Prelude.Just ("jobQueueName" Data..= jobQueueName),+ Prelude.Just ("priority" Data..= priority),+ Prelude.Just+ ( "computeEnvironmentOrder"+ Data..= computeEnvironmentOrder+ )+ ]+ )++instance Data.ToPath CreateJobQueue where+ toPath = Prelude.const "/v1/createjobqueue"++instance Data.ToQuery CreateJobQueue where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateJobQueueResponse' smart constructor.+data CreateJobQueueResponse = CreateJobQueueResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int,+ -- | The name of the job queue.+ jobQueueName :: Prelude.Text,+ -- | The Amazon Resource Name (ARN) of the job queue.+ jobQueueArn :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateJobQueueResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'createJobQueueResponse_httpStatus' - The response's http status code.+--+-- 'jobQueueName', 'createJobQueueResponse_jobQueueName' - The name of the job queue.+--+-- 'jobQueueArn', 'createJobQueueResponse_jobQueueArn' - The Amazon Resource Name (ARN) of the job queue.+newCreateJobQueueResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ -- | 'jobQueueName'+ Prelude.Text ->+ -- | 'jobQueueArn'+ Prelude.Text ->+ CreateJobQueueResponse+newCreateJobQueueResponse+ pHttpStatus_+ pJobQueueName_+ pJobQueueArn_ =+ CreateJobQueueResponse'+ { httpStatus = pHttpStatus_,+ jobQueueName = pJobQueueName_,+ jobQueueArn = pJobQueueArn_+ }++-- | The response's http status code.+createJobQueueResponse_httpStatus :: Lens.Lens' CreateJobQueueResponse Prelude.Int+createJobQueueResponse_httpStatus = Lens.lens (\CreateJobQueueResponse' {httpStatus} -> httpStatus) (\s@CreateJobQueueResponse' {} a -> s {httpStatus = a} :: CreateJobQueueResponse)++-- | The name of the job queue.+createJobQueueResponse_jobQueueName :: Lens.Lens' CreateJobQueueResponse Prelude.Text+createJobQueueResponse_jobQueueName = Lens.lens (\CreateJobQueueResponse' {jobQueueName} -> jobQueueName) (\s@CreateJobQueueResponse' {} a -> s {jobQueueName = a} :: CreateJobQueueResponse)++-- | The Amazon Resource Name (ARN) of the job queue.+createJobQueueResponse_jobQueueArn :: Lens.Lens' CreateJobQueueResponse Prelude.Text+createJobQueueResponse_jobQueueArn = Lens.lens (\CreateJobQueueResponse' {jobQueueArn} -> jobQueueArn) (\s@CreateJobQueueResponse' {} a -> s {jobQueueArn = a} :: CreateJobQueueResponse)++instance Prelude.NFData CreateJobQueueResponse where+ rnf CreateJobQueueResponse' {..} =+ Prelude.rnf httpStatus+ `Prelude.seq` Prelude.rnf jobQueueName+ `Prelude.seq` Prelude.rnf jobQueueArn
+ gen/Amazonka/Batch/CreateSchedulingPolicy.hs view
@@ -0,0 +1,266 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.CreateSchedulingPolicy+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates an Batch scheduling policy.+module Amazonka.Batch.CreateSchedulingPolicy+ ( -- * Creating a Request+ CreateSchedulingPolicy (..),+ newCreateSchedulingPolicy,++ -- * Request Lenses+ createSchedulingPolicy_fairsharePolicy,+ createSchedulingPolicy_tags,+ createSchedulingPolicy_name,++ -- * Destructuring the Response+ CreateSchedulingPolicyResponse (..),+ newCreateSchedulingPolicyResponse,++ -- * Response Lenses+ createSchedulingPolicyResponse_httpStatus,+ createSchedulingPolicyResponse_name,+ createSchedulingPolicyResponse_arn,+ )+where++import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains the parameters for @CreateSchedulingPolicy@.+--+-- /See:/ 'newCreateSchedulingPolicy' smart constructor.+data CreateSchedulingPolicy = CreateSchedulingPolicy'+ { -- | The fair share policy of the scheduling policy.+ fairsharePolicy :: Prelude.Maybe FairsharePolicy,+ -- | 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+ -- <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html Tagging Amazon Web Services Resources>+ -- in /Amazon Web Services General Reference/.+ --+ -- These tags can be updated or removed using the+ -- <https://docs.aws.amazon.com/batch/latest/APIReference/API_TagResource.html TagResource>+ -- and+ -- <https://docs.aws.amazon.com/batch/latest/APIReference/API_UntagResource.html UntagResource>+ -- API operations.+ tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | 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 :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateSchedulingPolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'fairsharePolicy', 'createSchedulingPolicy_fairsharePolicy' - The fair share policy of the scheduling policy.+--+-- 'tags', 'createSchedulingPolicy_tags' - 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+-- <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html Tagging Amazon Web Services Resources>+-- in /Amazon Web Services General Reference/.+--+-- These tags can be updated or removed using the+-- <https://docs.aws.amazon.com/batch/latest/APIReference/API_TagResource.html TagResource>+-- and+-- <https://docs.aws.amazon.com/batch/latest/APIReference/API_UntagResource.html UntagResource>+-- API operations.+--+-- 'name', 'createSchedulingPolicy_name' - 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 (_).+newCreateSchedulingPolicy ::+ -- | 'name'+ Prelude.Text ->+ CreateSchedulingPolicy+newCreateSchedulingPolicy pName_ =+ CreateSchedulingPolicy'+ { fairsharePolicy =+ Prelude.Nothing,+ tags = Prelude.Nothing,+ name = pName_+ }++-- | The fair share policy of the scheduling policy.+createSchedulingPolicy_fairsharePolicy :: Lens.Lens' CreateSchedulingPolicy (Prelude.Maybe FairsharePolicy)+createSchedulingPolicy_fairsharePolicy = Lens.lens (\CreateSchedulingPolicy' {fairsharePolicy} -> fairsharePolicy) (\s@CreateSchedulingPolicy' {} a -> s {fairsharePolicy = a} :: CreateSchedulingPolicy)++-- | 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+-- <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html Tagging Amazon Web Services Resources>+-- in /Amazon Web Services General Reference/.+--+-- These tags can be updated or removed using the+-- <https://docs.aws.amazon.com/batch/latest/APIReference/API_TagResource.html TagResource>+-- and+-- <https://docs.aws.amazon.com/batch/latest/APIReference/API_UntagResource.html UntagResource>+-- API operations.+createSchedulingPolicy_tags :: Lens.Lens' CreateSchedulingPolicy (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+createSchedulingPolicy_tags = Lens.lens (\CreateSchedulingPolicy' {tags} -> tags) (\s@CreateSchedulingPolicy' {} a -> s {tags = a} :: CreateSchedulingPolicy) Prelude.. Lens.mapping Lens.coerced++-- | 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 (_).+createSchedulingPolicy_name :: Lens.Lens' CreateSchedulingPolicy Prelude.Text+createSchedulingPolicy_name = Lens.lens (\CreateSchedulingPolicy' {name} -> name) (\s@CreateSchedulingPolicy' {} a -> s {name = a} :: CreateSchedulingPolicy)++instance Core.AWSRequest CreateSchedulingPolicy where+ type+ AWSResponse CreateSchedulingPolicy =+ CreateSchedulingPolicyResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateSchedulingPolicyResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ Prelude.<*> (x Data..:> "name")+ Prelude.<*> (x Data..:> "arn")+ )++instance Prelude.Hashable CreateSchedulingPolicy where+ hashWithSalt _salt CreateSchedulingPolicy' {..} =+ _salt+ `Prelude.hashWithSalt` fairsharePolicy+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` name++instance Prelude.NFData CreateSchedulingPolicy where+ rnf CreateSchedulingPolicy' {..} =+ Prelude.rnf fairsharePolicy+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf name++instance Data.ToHeaders CreateSchedulingPolicy where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateSchedulingPolicy where+ toJSON CreateSchedulingPolicy' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("fairsharePolicy" Data..=)+ Prelude.<$> fairsharePolicy,+ ("tags" Data..=) Prelude.<$> tags,+ Prelude.Just ("name" Data..= name)+ ]+ )++instance Data.ToPath CreateSchedulingPolicy where+ toPath = Prelude.const "/v1/createschedulingpolicy"++instance Data.ToQuery CreateSchedulingPolicy where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateSchedulingPolicyResponse' smart constructor.+data CreateSchedulingPolicyResponse = CreateSchedulingPolicyResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int,+ -- | The name of the scheduling policy.+ name :: Prelude.Text,+ -- | 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 :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateSchedulingPolicyResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'createSchedulingPolicyResponse_httpStatus' - The response's http status code.+--+-- 'name', 'createSchedulingPolicyResponse_name' - The name of the scheduling policy.+--+-- 'arn', 'createSchedulingPolicyResponse_arn' - 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@.+newCreateSchedulingPolicyResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ -- | 'name'+ Prelude.Text ->+ -- | 'arn'+ Prelude.Text ->+ CreateSchedulingPolicyResponse+newCreateSchedulingPolicyResponse+ pHttpStatus_+ pName_+ pArn_ =+ CreateSchedulingPolicyResponse'+ { httpStatus =+ pHttpStatus_,+ name = pName_,+ arn = pArn_+ }++-- | The response's http status code.+createSchedulingPolicyResponse_httpStatus :: Lens.Lens' CreateSchedulingPolicyResponse Prelude.Int+createSchedulingPolicyResponse_httpStatus = Lens.lens (\CreateSchedulingPolicyResponse' {httpStatus} -> httpStatus) (\s@CreateSchedulingPolicyResponse' {} a -> s {httpStatus = a} :: CreateSchedulingPolicyResponse)++-- | The name of the scheduling policy.+createSchedulingPolicyResponse_name :: Lens.Lens' CreateSchedulingPolicyResponse Prelude.Text+createSchedulingPolicyResponse_name = Lens.lens (\CreateSchedulingPolicyResponse' {name} -> name) (\s@CreateSchedulingPolicyResponse' {} a -> s {name = a} :: CreateSchedulingPolicyResponse)++-- | 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@.+createSchedulingPolicyResponse_arn :: Lens.Lens' CreateSchedulingPolicyResponse Prelude.Text+createSchedulingPolicyResponse_arn = Lens.lens (\CreateSchedulingPolicyResponse' {arn} -> arn) (\s@CreateSchedulingPolicyResponse' {} a -> s {arn = a} :: CreateSchedulingPolicyResponse)++instance+ Prelude.NFData+ CreateSchedulingPolicyResponse+ where+ rnf CreateSchedulingPolicyResponse' {..} =+ Prelude.rnf httpStatus+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf arn
+ gen/Amazonka/Batch/DeleteComputeEnvironment.hs view
@@ -0,0 +1,174 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.DeleteComputeEnvironment+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- 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.+module Amazonka.Batch.DeleteComputeEnvironment+ ( -- * Creating a Request+ DeleteComputeEnvironment (..),+ newDeleteComputeEnvironment,++ -- * Request Lenses+ deleteComputeEnvironment_computeEnvironment,++ -- * Destructuring the Response+ DeleteComputeEnvironmentResponse (..),+ newDeleteComputeEnvironmentResponse,++ -- * Response Lenses+ deleteComputeEnvironmentResponse_httpStatus,+ )+where++import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains the parameters for @DeleteComputeEnvironment@.+--+-- /See:/ 'newDeleteComputeEnvironment' smart constructor.+data DeleteComputeEnvironment = DeleteComputeEnvironment'+ { -- | The name or Amazon Resource Name (ARN) of the compute environment to+ -- delete.+ computeEnvironment :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteComputeEnvironment' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'computeEnvironment', 'deleteComputeEnvironment_computeEnvironment' - The name or Amazon Resource Name (ARN) of the compute environment to+-- delete.+newDeleteComputeEnvironment ::+ -- | 'computeEnvironment'+ Prelude.Text ->+ DeleteComputeEnvironment+newDeleteComputeEnvironment pComputeEnvironment_ =+ DeleteComputeEnvironment'+ { computeEnvironment =+ pComputeEnvironment_+ }++-- | The name or Amazon Resource Name (ARN) of the compute environment to+-- delete.+deleteComputeEnvironment_computeEnvironment :: Lens.Lens' DeleteComputeEnvironment Prelude.Text+deleteComputeEnvironment_computeEnvironment = Lens.lens (\DeleteComputeEnvironment' {computeEnvironment} -> computeEnvironment) (\s@DeleteComputeEnvironment' {} a -> s {computeEnvironment = a} :: DeleteComputeEnvironment)++instance Core.AWSRequest DeleteComputeEnvironment where+ type+ AWSResponse DeleteComputeEnvironment =+ DeleteComputeEnvironmentResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeleteComputeEnvironmentResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteComputeEnvironment where+ hashWithSalt _salt DeleteComputeEnvironment' {..} =+ _salt `Prelude.hashWithSalt` computeEnvironment++instance Prelude.NFData DeleteComputeEnvironment where+ rnf DeleteComputeEnvironment' {..} =+ Prelude.rnf computeEnvironment++instance Data.ToHeaders DeleteComputeEnvironment where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteComputeEnvironment where+ toJSON DeleteComputeEnvironment' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("computeEnvironment" Data..= computeEnvironment)+ ]+ )++instance Data.ToPath DeleteComputeEnvironment where+ toPath = Prelude.const "/v1/deletecomputeenvironment"++instance Data.ToQuery DeleteComputeEnvironment where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteComputeEnvironmentResponse' smart constructor.+data DeleteComputeEnvironmentResponse = DeleteComputeEnvironmentResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteComputeEnvironmentResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteComputeEnvironmentResponse_httpStatus' - The response's http status code.+newDeleteComputeEnvironmentResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteComputeEnvironmentResponse+newDeleteComputeEnvironmentResponse pHttpStatus_ =+ DeleteComputeEnvironmentResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+deleteComputeEnvironmentResponse_httpStatus :: Lens.Lens' DeleteComputeEnvironmentResponse Prelude.Int+deleteComputeEnvironmentResponse_httpStatus = Lens.lens (\DeleteComputeEnvironmentResponse' {httpStatus} -> httpStatus) (\s@DeleteComputeEnvironmentResponse' {} a -> s {httpStatus = a} :: DeleteComputeEnvironmentResponse)++instance+ Prelude.NFData+ DeleteComputeEnvironmentResponse+ where+ rnf DeleteComputeEnvironmentResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/Batch/DeleteJobQueue.hs view
@@ -0,0 +1,160 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.DeleteJobQueue+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- 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.+module Amazonka.Batch.DeleteJobQueue+ ( -- * Creating a Request+ DeleteJobQueue (..),+ newDeleteJobQueue,++ -- * Request Lenses+ deleteJobQueue_jobQueue,++ -- * Destructuring the Response+ DeleteJobQueueResponse (..),+ newDeleteJobQueueResponse,++ -- * Response Lenses+ deleteJobQueueResponse_httpStatus,+ )+where++import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains the parameters for @DeleteJobQueue@.+--+-- /See:/ 'newDeleteJobQueue' smart constructor.+data DeleteJobQueue = DeleteJobQueue'+ { -- | The short name or full Amazon Resource Name (ARN) of the queue to+ -- delete.+ jobQueue :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteJobQueue' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'jobQueue', 'deleteJobQueue_jobQueue' - The short name or full Amazon Resource Name (ARN) of the queue to+-- delete.+newDeleteJobQueue ::+ -- | 'jobQueue'+ Prelude.Text ->+ DeleteJobQueue+newDeleteJobQueue pJobQueue_ =+ DeleteJobQueue' {jobQueue = pJobQueue_}++-- | The short name or full Amazon Resource Name (ARN) of the queue to+-- delete.+deleteJobQueue_jobQueue :: Lens.Lens' DeleteJobQueue Prelude.Text+deleteJobQueue_jobQueue = Lens.lens (\DeleteJobQueue' {jobQueue} -> jobQueue) (\s@DeleteJobQueue' {} a -> s {jobQueue = a} :: DeleteJobQueue)++instance Core.AWSRequest DeleteJobQueue where+ type+ AWSResponse DeleteJobQueue =+ DeleteJobQueueResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeleteJobQueueResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteJobQueue where+ hashWithSalt _salt DeleteJobQueue' {..} =+ _salt `Prelude.hashWithSalt` jobQueue++instance Prelude.NFData DeleteJobQueue where+ rnf DeleteJobQueue' {..} = Prelude.rnf jobQueue++instance Data.ToHeaders DeleteJobQueue where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteJobQueue where+ toJSON DeleteJobQueue' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("jobQueue" Data..= jobQueue)]+ )++instance Data.ToPath DeleteJobQueue where+ toPath = Prelude.const "/v1/deletejobqueue"++instance Data.ToQuery DeleteJobQueue where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteJobQueueResponse' smart constructor.+data DeleteJobQueueResponse = DeleteJobQueueResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteJobQueueResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteJobQueueResponse_httpStatus' - The response's http status code.+newDeleteJobQueueResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteJobQueueResponse+newDeleteJobQueueResponse pHttpStatus_ =+ DeleteJobQueueResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+deleteJobQueueResponse_httpStatus :: Lens.Lens' DeleteJobQueueResponse Prelude.Int+deleteJobQueueResponse_httpStatus = Lens.lens (\DeleteJobQueueResponse' {httpStatus} -> httpStatus) (\s@DeleteJobQueueResponse' {} a -> s {httpStatus = a} :: DeleteJobQueueResponse)++instance Prelude.NFData DeleteJobQueueResponse where+ rnf DeleteJobQueueResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/Batch/DeleteSchedulingPolicy.hs view
@@ -0,0 +1,159 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.DeleteSchedulingPolicy+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the specified scheduling policy.+--+-- You can\'t delete a scheduling policy that\'s used in any job queues.+module Amazonka.Batch.DeleteSchedulingPolicy+ ( -- * Creating a Request+ DeleteSchedulingPolicy (..),+ newDeleteSchedulingPolicy,++ -- * Request Lenses+ deleteSchedulingPolicy_arn,++ -- * Destructuring the Response+ DeleteSchedulingPolicyResponse (..),+ newDeleteSchedulingPolicyResponse,++ -- * Response Lenses+ deleteSchedulingPolicyResponse_httpStatus,+ )+where++import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains the parameters for @DeleteSchedulingPolicy@.+--+-- /See:/ 'newDeleteSchedulingPolicy' smart constructor.+data DeleteSchedulingPolicy = DeleteSchedulingPolicy'+ { -- | The Amazon Resource Name (ARN) of the scheduling policy to delete.+ arn :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteSchedulingPolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'deleteSchedulingPolicy_arn' - The Amazon Resource Name (ARN) of the scheduling policy to delete.+newDeleteSchedulingPolicy ::+ -- | 'arn'+ Prelude.Text ->+ DeleteSchedulingPolicy+newDeleteSchedulingPolicy pArn_ =+ DeleteSchedulingPolicy' {arn = pArn_}++-- | The Amazon Resource Name (ARN) of the scheduling policy to delete.+deleteSchedulingPolicy_arn :: Lens.Lens' DeleteSchedulingPolicy Prelude.Text+deleteSchedulingPolicy_arn = Lens.lens (\DeleteSchedulingPolicy' {arn} -> arn) (\s@DeleteSchedulingPolicy' {} a -> s {arn = a} :: DeleteSchedulingPolicy)++instance Core.AWSRequest DeleteSchedulingPolicy where+ type+ AWSResponse DeleteSchedulingPolicy =+ DeleteSchedulingPolicyResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeleteSchedulingPolicyResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteSchedulingPolicy where+ hashWithSalt _salt DeleteSchedulingPolicy' {..} =+ _salt `Prelude.hashWithSalt` arn++instance Prelude.NFData DeleteSchedulingPolicy where+ rnf DeleteSchedulingPolicy' {..} = Prelude.rnf arn++instance Data.ToHeaders DeleteSchedulingPolicy where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteSchedulingPolicy where+ toJSON DeleteSchedulingPolicy' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("arn" Data..= arn)]+ )++instance Data.ToPath DeleteSchedulingPolicy where+ toPath = Prelude.const "/v1/deleteschedulingpolicy"++instance Data.ToQuery DeleteSchedulingPolicy where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteSchedulingPolicyResponse' smart constructor.+data DeleteSchedulingPolicyResponse = DeleteSchedulingPolicyResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteSchedulingPolicyResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteSchedulingPolicyResponse_httpStatus' - The response's http status code.+newDeleteSchedulingPolicyResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteSchedulingPolicyResponse+newDeleteSchedulingPolicyResponse pHttpStatus_ =+ DeleteSchedulingPolicyResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+deleteSchedulingPolicyResponse_httpStatus :: Lens.Lens' DeleteSchedulingPolicyResponse Prelude.Int+deleteSchedulingPolicyResponse_httpStatus = Lens.lens (\DeleteSchedulingPolicyResponse' {httpStatus} -> httpStatus) (\s@DeleteSchedulingPolicyResponse' {} a -> s {httpStatus = a} :: DeleteSchedulingPolicyResponse)++instance+ Prelude.NFData+ DeleteSchedulingPolicyResponse+ where+ rnf DeleteSchedulingPolicyResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/Batch/DeregisterJobDefinition.hs view
@@ -0,0 +1,165 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.DeregisterJobDefinition+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deregisters an Batch job definition. Job definitions are permanently+-- deleted after 180 days.+module Amazonka.Batch.DeregisterJobDefinition+ ( -- * Creating a Request+ DeregisterJobDefinition (..),+ newDeregisterJobDefinition,++ -- * Request Lenses+ deregisterJobDefinition_jobDefinition,++ -- * Destructuring the Response+ DeregisterJobDefinitionResponse (..),+ newDeregisterJobDefinitionResponse,++ -- * Response Lenses+ deregisterJobDefinitionResponse_httpStatus,+ )+where++import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeregisterJobDefinition' smart constructor.+data DeregisterJobDefinition = DeregisterJobDefinition'+ { -- | The name and revision (@name:revision@) or full Amazon Resource Name+ -- (ARN) of the job definition to deregister.+ jobDefinition :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeregisterJobDefinition' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'jobDefinition', 'deregisterJobDefinition_jobDefinition' - The name and revision (@name:revision@) or full Amazon Resource Name+-- (ARN) of the job definition to deregister.+newDeregisterJobDefinition ::+ -- | 'jobDefinition'+ Prelude.Text ->+ DeregisterJobDefinition+newDeregisterJobDefinition pJobDefinition_ =+ DeregisterJobDefinition'+ { jobDefinition =+ pJobDefinition_+ }++-- | The name and revision (@name:revision@) or full Amazon Resource Name+-- (ARN) of the job definition to deregister.+deregisterJobDefinition_jobDefinition :: Lens.Lens' DeregisterJobDefinition Prelude.Text+deregisterJobDefinition_jobDefinition = Lens.lens (\DeregisterJobDefinition' {jobDefinition} -> jobDefinition) (\s@DeregisterJobDefinition' {} a -> s {jobDefinition = a} :: DeregisterJobDefinition)++instance Core.AWSRequest DeregisterJobDefinition where+ type+ AWSResponse DeregisterJobDefinition =+ DeregisterJobDefinitionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeregisterJobDefinitionResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeregisterJobDefinition where+ hashWithSalt _salt DeregisterJobDefinition' {..} =+ _salt `Prelude.hashWithSalt` jobDefinition++instance Prelude.NFData DeregisterJobDefinition where+ rnf DeregisterJobDefinition' {..} =+ Prelude.rnf jobDefinition++instance Data.ToHeaders DeregisterJobDefinition where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeregisterJobDefinition where+ toJSON DeregisterJobDefinition' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("jobDefinition" Data..= jobDefinition)+ ]+ )++instance Data.ToPath DeregisterJobDefinition where+ toPath = Prelude.const "/v1/deregisterjobdefinition"++instance Data.ToQuery DeregisterJobDefinition where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeregisterJobDefinitionResponse' smart constructor.+data DeregisterJobDefinitionResponse = DeregisterJobDefinitionResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeregisterJobDefinitionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deregisterJobDefinitionResponse_httpStatus' - The response's http status code.+newDeregisterJobDefinitionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeregisterJobDefinitionResponse+newDeregisterJobDefinitionResponse pHttpStatus_ =+ DeregisterJobDefinitionResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+deregisterJobDefinitionResponse_httpStatus :: Lens.Lens' DeregisterJobDefinitionResponse Prelude.Int+deregisterJobDefinitionResponse_httpStatus = Lens.lens (\DeregisterJobDefinitionResponse' {httpStatus} -> httpStatus) (\s@DeregisterJobDefinitionResponse' {} a -> s {httpStatus = a} :: DeregisterJobDefinitionResponse)++instance+ Prelude.NFData+ DeregisterJobDefinitionResponse+ where+ rnf DeregisterJobDefinitionResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/Batch/DescribeComputeEnvironments.hs view
@@ -0,0 +1,304 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.DescribeComputeEnvironments+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- 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.+--+-- This operation returns paginated results.+module Amazonka.Batch.DescribeComputeEnvironments+ ( -- * Creating a Request+ DescribeComputeEnvironments (..),+ newDescribeComputeEnvironments,++ -- * Request Lenses+ describeComputeEnvironments_computeEnvironments,+ describeComputeEnvironments_maxResults,+ describeComputeEnvironments_nextToken,++ -- * Destructuring the Response+ DescribeComputeEnvironmentsResponse (..),+ newDescribeComputeEnvironmentsResponse,++ -- * Response Lenses+ describeComputeEnvironmentsResponse_computeEnvironments,+ describeComputeEnvironmentsResponse_nextToken,+ describeComputeEnvironmentsResponse_httpStatus,+ )+where++import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains the parameters for @DescribeComputeEnvironments@.+--+-- /See:/ 'newDescribeComputeEnvironments' smart constructor.+data DescribeComputeEnvironments = DescribeComputeEnvironments'+ { -- | A list of up to 100 compute environment names or full Amazon Resource+ -- Name (ARN) entries.+ computeEnvironments :: Prelude.Maybe [Prelude.Text],+ -- | 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 :: Prelude.Maybe Prelude.Int,+ -- | 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 :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeComputeEnvironments' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'computeEnvironments', 'describeComputeEnvironments_computeEnvironments' - A list of up to 100 compute environment names or full Amazon Resource+-- Name (ARN) entries.+--+-- 'maxResults', 'describeComputeEnvironments_maxResults' - 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.+--+-- 'nextToken', 'describeComputeEnvironments_nextToken' - 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.+newDescribeComputeEnvironments ::+ DescribeComputeEnvironments+newDescribeComputeEnvironments =+ DescribeComputeEnvironments'+ { computeEnvironments =+ Prelude.Nothing,+ maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing+ }++-- | A list of up to 100 compute environment names or full Amazon Resource+-- Name (ARN) entries.+describeComputeEnvironments_computeEnvironments :: Lens.Lens' DescribeComputeEnvironments (Prelude.Maybe [Prelude.Text])+describeComputeEnvironments_computeEnvironments = Lens.lens (\DescribeComputeEnvironments' {computeEnvironments} -> computeEnvironments) (\s@DescribeComputeEnvironments' {} a -> s {computeEnvironments = a} :: DescribeComputeEnvironments) Prelude.. Lens.mapping Lens.coerced++-- | 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.+describeComputeEnvironments_maxResults :: Lens.Lens' DescribeComputeEnvironments (Prelude.Maybe Prelude.Int)+describeComputeEnvironments_maxResults = Lens.lens (\DescribeComputeEnvironments' {maxResults} -> maxResults) (\s@DescribeComputeEnvironments' {} a -> s {maxResults = a} :: DescribeComputeEnvironments)++-- | 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.+describeComputeEnvironments_nextToken :: Lens.Lens' DescribeComputeEnvironments (Prelude.Maybe Prelude.Text)+describeComputeEnvironments_nextToken = Lens.lens (\DescribeComputeEnvironments' {nextToken} -> nextToken) (\s@DescribeComputeEnvironments' {} a -> s {nextToken = a} :: DescribeComputeEnvironments)++instance Core.AWSPager DescribeComputeEnvironments where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? describeComputeEnvironmentsResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? describeComputeEnvironmentsResponse_computeEnvironments+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& describeComputeEnvironments_nextToken+ Lens..~ rs+ Lens.^? describeComputeEnvironmentsResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest DescribeComputeEnvironments where+ type+ AWSResponse DescribeComputeEnvironments =+ DescribeComputeEnvironmentsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeComputeEnvironmentsResponse'+ Prelude.<$> ( x+ Data..?> "computeEnvironments"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (x Data..?> "nextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeComputeEnvironments where+ hashWithSalt _salt DescribeComputeEnvironments' {..} =+ _salt+ `Prelude.hashWithSalt` computeEnvironments+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken++instance Prelude.NFData DescribeComputeEnvironments where+ rnf DescribeComputeEnvironments' {..} =+ Prelude.rnf computeEnvironments+ `Prelude.seq` Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders DescribeComputeEnvironments where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeComputeEnvironments where+ toJSON DescribeComputeEnvironments' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("computeEnvironments" Data..=)+ Prelude.<$> computeEnvironments,+ ("maxResults" Data..=) Prelude.<$> maxResults,+ ("nextToken" Data..=) Prelude.<$> nextToken+ ]+ )++instance Data.ToPath DescribeComputeEnvironments where+ toPath =+ Prelude.const "/v1/describecomputeenvironments"++instance Data.ToQuery DescribeComputeEnvironments where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeComputeEnvironmentsResponse' smart constructor.+data DescribeComputeEnvironmentsResponse = DescribeComputeEnvironmentsResponse'+ { -- | The list of compute environments.+ computeEnvironments :: Prelude.Maybe [ComputeEnvironmentDetail],+ -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeComputeEnvironmentsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'computeEnvironments', 'describeComputeEnvironmentsResponse_computeEnvironments' - The list of compute environments.+--+-- 'nextToken', 'describeComputeEnvironmentsResponse_nextToken' - 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.+--+-- 'httpStatus', 'describeComputeEnvironmentsResponse_httpStatus' - The response's http status code.+newDescribeComputeEnvironmentsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeComputeEnvironmentsResponse+newDescribeComputeEnvironmentsResponse pHttpStatus_ =+ DescribeComputeEnvironmentsResponse'+ { computeEnvironments =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The list of compute environments.+describeComputeEnvironmentsResponse_computeEnvironments :: Lens.Lens' DescribeComputeEnvironmentsResponse (Prelude.Maybe [ComputeEnvironmentDetail])+describeComputeEnvironmentsResponse_computeEnvironments = Lens.lens (\DescribeComputeEnvironmentsResponse' {computeEnvironments} -> computeEnvironments) (\s@DescribeComputeEnvironmentsResponse' {} a -> s {computeEnvironments = a} :: DescribeComputeEnvironmentsResponse) Prelude.. Lens.mapping Lens.coerced++-- | 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.+describeComputeEnvironmentsResponse_nextToken :: Lens.Lens' DescribeComputeEnvironmentsResponse (Prelude.Maybe Prelude.Text)+describeComputeEnvironmentsResponse_nextToken = Lens.lens (\DescribeComputeEnvironmentsResponse' {nextToken} -> nextToken) (\s@DescribeComputeEnvironmentsResponse' {} a -> s {nextToken = a} :: DescribeComputeEnvironmentsResponse)++-- | The response's http status code.+describeComputeEnvironmentsResponse_httpStatus :: Lens.Lens' DescribeComputeEnvironmentsResponse Prelude.Int+describeComputeEnvironmentsResponse_httpStatus = Lens.lens (\DescribeComputeEnvironmentsResponse' {httpStatus} -> httpStatus) (\s@DescribeComputeEnvironmentsResponse' {} a -> s {httpStatus = a} :: DescribeComputeEnvironmentsResponse)++instance+ Prelude.NFData+ DescribeComputeEnvironmentsResponse+ where+ rnf DescribeComputeEnvironmentsResponse' {..} =+ Prelude.rnf computeEnvironments+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Batch/DescribeJobDefinitions.hs view
@@ -0,0 +1,324 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.DescribeJobDefinitions+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Describes a list of job definitions. You can specify a @status@ (such as+-- @ACTIVE@) to only return job definitions that match that status.+--+-- This operation returns paginated results.+module Amazonka.Batch.DescribeJobDefinitions+ ( -- * Creating a Request+ DescribeJobDefinitions (..),+ newDescribeJobDefinitions,++ -- * Request Lenses+ describeJobDefinitions_jobDefinitionName,+ describeJobDefinitions_jobDefinitions,+ describeJobDefinitions_maxResults,+ describeJobDefinitions_nextToken,+ describeJobDefinitions_status,++ -- * Destructuring the Response+ DescribeJobDefinitionsResponse (..),+ newDescribeJobDefinitionsResponse,++ -- * Response Lenses+ describeJobDefinitionsResponse_jobDefinitions,+ describeJobDefinitionsResponse_nextToken,+ describeJobDefinitionsResponse_httpStatus,+ )+where++import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains the parameters for @DescribeJobDefinitions@.+--+-- /See:/ 'newDescribeJobDefinitions' smart constructor.+data DescribeJobDefinitions = DescribeJobDefinitions'+ { -- | The name of the job definition to describe.+ jobDefinitionName :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe [Prelude.Text],+ -- | 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 :: Prelude.Maybe Prelude.Int,+ -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | The status used to filter job definitions.+ status :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeJobDefinitions' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'jobDefinitionName', 'describeJobDefinitions_jobDefinitionName' - The name of the job definition to describe.+--+-- 'jobDefinitions', 'describeJobDefinitions_jobDefinitions' - 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}@.+--+-- 'maxResults', 'describeJobDefinitions_maxResults' - 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.+--+-- 'nextToken', 'describeJobDefinitions_nextToken' - 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.+--+-- 'status', 'describeJobDefinitions_status' - The status used to filter job definitions.+newDescribeJobDefinitions ::+ DescribeJobDefinitions+newDescribeJobDefinitions =+ DescribeJobDefinitions'+ { jobDefinitionName =+ Prelude.Nothing,+ jobDefinitions = Prelude.Nothing,+ maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ status = Prelude.Nothing+ }++-- | The name of the job definition to describe.+describeJobDefinitions_jobDefinitionName :: Lens.Lens' DescribeJobDefinitions (Prelude.Maybe Prelude.Text)+describeJobDefinitions_jobDefinitionName = Lens.lens (\DescribeJobDefinitions' {jobDefinitionName} -> jobDefinitionName) (\s@DescribeJobDefinitions' {} a -> s {jobDefinitionName = a} :: DescribeJobDefinitions)++-- | 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}@.+describeJobDefinitions_jobDefinitions :: Lens.Lens' DescribeJobDefinitions (Prelude.Maybe [Prelude.Text])+describeJobDefinitions_jobDefinitions = Lens.lens (\DescribeJobDefinitions' {jobDefinitions} -> jobDefinitions) (\s@DescribeJobDefinitions' {} a -> s {jobDefinitions = a} :: DescribeJobDefinitions) Prelude.. Lens.mapping Lens.coerced++-- | 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.+describeJobDefinitions_maxResults :: Lens.Lens' DescribeJobDefinitions (Prelude.Maybe Prelude.Int)+describeJobDefinitions_maxResults = Lens.lens (\DescribeJobDefinitions' {maxResults} -> maxResults) (\s@DescribeJobDefinitions' {} a -> s {maxResults = a} :: DescribeJobDefinitions)++-- | 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.+describeJobDefinitions_nextToken :: Lens.Lens' DescribeJobDefinitions (Prelude.Maybe Prelude.Text)+describeJobDefinitions_nextToken = Lens.lens (\DescribeJobDefinitions' {nextToken} -> nextToken) (\s@DescribeJobDefinitions' {} a -> s {nextToken = a} :: DescribeJobDefinitions)++-- | The status used to filter job definitions.+describeJobDefinitions_status :: Lens.Lens' DescribeJobDefinitions (Prelude.Maybe Prelude.Text)+describeJobDefinitions_status = Lens.lens (\DescribeJobDefinitions' {status} -> status) (\s@DescribeJobDefinitions' {} a -> s {status = a} :: DescribeJobDefinitions)++instance Core.AWSPager DescribeJobDefinitions where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? describeJobDefinitionsResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? describeJobDefinitionsResponse_jobDefinitions+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& describeJobDefinitions_nextToken+ Lens..~ rs+ Lens.^? describeJobDefinitionsResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest DescribeJobDefinitions where+ type+ AWSResponse DescribeJobDefinitions =+ DescribeJobDefinitionsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeJobDefinitionsResponse'+ Prelude.<$> (x Data..?> "jobDefinitions" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "nextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeJobDefinitions where+ hashWithSalt _salt DescribeJobDefinitions' {..} =+ _salt+ `Prelude.hashWithSalt` jobDefinitionName+ `Prelude.hashWithSalt` jobDefinitions+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` status++instance Prelude.NFData DescribeJobDefinitions where+ rnf DescribeJobDefinitions' {..} =+ Prelude.rnf jobDefinitionName+ `Prelude.seq` Prelude.rnf jobDefinitions+ `Prelude.seq` Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf status++instance Data.ToHeaders DescribeJobDefinitions where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeJobDefinitions where+ toJSON DescribeJobDefinitions' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("jobDefinitionName" Data..=)+ Prelude.<$> jobDefinitionName,+ ("jobDefinitions" Data..=)+ Prelude.<$> jobDefinitions,+ ("maxResults" Data..=) Prelude.<$> maxResults,+ ("nextToken" Data..=) Prelude.<$> nextToken,+ ("status" Data..=) Prelude.<$> status+ ]+ )++instance Data.ToPath DescribeJobDefinitions where+ toPath = Prelude.const "/v1/describejobdefinitions"++instance Data.ToQuery DescribeJobDefinitions where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeJobDefinitionsResponse' smart constructor.+data DescribeJobDefinitionsResponse = DescribeJobDefinitionsResponse'+ { -- | The list of job definitions.+ jobDefinitions :: Prelude.Maybe [JobDefinition],+ -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeJobDefinitionsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'jobDefinitions', 'describeJobDefinitionsResponse_jobDefinitions' - The list of job definitions.+--+-- 'nextToken', 'describeJobDefinitionsResponse_nextToken' - 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.+--+-- 'httpStatus', 'describeJobDefinitionsResponse_httpStatus' - The response's http status code.+newDescribeJobDefinitionsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeJobDefinitionsResponse+newDescribeJobDefinitionsResponse pHttpStatus_ =+ DescribeJobDefinitionsResponse'+ { jobDefinitions =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The list of job definitions.+describeJobDefinitionsResponse_jobDefinitions :: Lens.Lens' DescribeJobDefinitionsResponse (Prelude.Maybe [JobDefinition])+describeJobDefinitionsResponse_jobDefinitions = Lens.lens (\DescribeJobDefinitionsResponse' {jobDefinitions} -> jobDefinitions) (\s@DescribeJobDefinitionsResponse' {} a -> s {jobDefinitions = a} :: DescribeJobDefinitionsResponse) Prelude.. Lens.mapping Lens.coerced++-- | 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.+describeJobDefinitionsResponse_nextToken :: Lens.Lens' DescribeJobDefinitionsResponse (Prelude.Maybe Prelude.Text)+describeJobDefinitionsResponse_nextToken = Lens.lens (\DescribeJobDefinitionsResponse' {nextToken} -> nextToken) (\s@DescribeJobDefinitionsResponse' {} a -> s {nextToken = a} :: DescribeJobDefinitionsResponse)++-- | The response's http status code.+describeJobDefinitionsResponse_httpStatus :: Lens.Lens' DescribeJobDefinitionsResponse Prelude.Int+describeJobDefinitionsResponse_httpStatus = Lens.lens (\DescribeJobDefinitionsResponse' {httpStatus} -> httpStatus) (\s@DescribeJobDefinitionsResponse' {} a -> s {httpStatus = a} :: DescribeJobDefinitionsResponse)++instance+ Prelude.NFData+ DescribeJobDefinitionsResponse+ where+ rnf DescribeJobDefinitionsResponse' {..} =+ Prelude.rnf jobDefinitions+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Batch/DescribeJobQueues.hs view
@@ -0,0 +1,285 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.DescribeJobQueues+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Describes one or more of your job queues.+--+-- This operation returns paginated results.+module Amazonka.Batch.DescribeJobQueues+ ( -- * Creating a Request+ DescribeJobQueues (..),+ newDescribeJobQueues,++ -- * Request Lenses+ describeJobQueues_jobQueues,+ describeJobQueues_maxResults,+ describeJobQueues_nextToken,++ -- * Destructuring the Response+ DescribeJobQueuesResponse (..),+ newDescribeJobQueuesResponse,++ -- * Response Lenses+ describeJobQueuesResponse_jobQueues,+ describeJobQueuesResponse_nextToken,+ describeJobQueuesResponse_httpStatus,+ )+where++import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains the parameters for @DescribeJobQueues@.+--+-- /See:/ 'newDescribeJobQueues' smart constructor.+data DescribeJobQueues = DescribeJobQueues'+ { -- | A list of up to 100 queue names or full queue Amazon Resource Name (ARN)+ -- entries.+ jobQueues :: Prelude.Maybe [Prelude.Text],+ -- | 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 :: Prelude.Maybe Prelude.Int,+ -- | 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 :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeJobQueues' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'jobQueues', 'describeJobQueues_jobQueues' - A list of up to 100 queue names or full queue Amazon Resource Name (ARN)+-- entries.+--+-- 'maxResults', 'describeJobQueues_maxResults' - 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.+--+-- 'nextToken', 'describeJobQueues_nextToken' - 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.+newDescribeJobQueues ::+ DescribeJobQueues+newDescribeJobQueues =+ DescribeJobQueues'+ { jobQueues = Prelude.Nothing,+ maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing+ }++-- | A list of up to 100 queue names or full queue Amazon Resource Name (ARN)+-- entries.+describeJobQueues_jobQueues :: Lens.Lens' DescribeJobQueues (Prelude.Maybe [Prelude.Text])+describeJobQueues_jobQueues = Lens.lens (\DescribeJobQueues' {jobQueues} -> jobQueues) (\s@DescribeJobQueues' {} a -> s {jobQueues = a} :: DescribeJobQueues) Prelude.. Lens.mapping Lens.coerced++-- | 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.+describeJobQueues_maxResults :: Lens.Lens' DescribeJobQueues (Prelude.Maybe Prelude.Int)+describeJobQueues_maxResults = Lens.lens (\DescribeJobQueues' {maxResults} -> maxResults) (\s@DescribeJobQueues' {} a -> s {maxResults = a} :: DescribeJobQueues)++-- | 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.+describeJobQueues_nextToken :: Lens.Lens' DescribeJobQueues (Prelude.Maybe Prelude.Text)+describeJobQueues_nextToken = Lens.lens (\DescribeJobQueues' {nextToken} -> nextToken) (\s@DescribeJobQueues' {} a -> s {nextToken = a} :: DescribeJobQueues)++instance Core.AWSPager DescribeJobQueues where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? describeJobQueuesResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? describeJobQueuesResponse_jobQueues+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& describeJobQueues_nextToken+ Lens..~ rs+ Lens.^? describeJobQueuesResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest DescribeJobQueues where+ type+ AWSResponse DescribeJobQueues =+ DescribeJobQueuesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeJobQueuesResponse'+ Prelude.<$> (x Data..?> "jobQueues" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "nextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeJobQueues where+ hashWithSalt _salt DescribeJobQueues' {..} =+ _salt+ `Prelude.hashWithSalt` jobQueues+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken++instance Prelude.NFData DescribeJobQueues where+ rnf DescribeJobQueues' {..} =+ Prelude.rnf jobQueues+ `Prelude.seq` Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders DescribeJobQueues where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeJobQueues where+ toJSON DescribeJobQueues' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("jobQueues" Data..=) Prelude.<$> jobQueues,+ ("maxResults" Data..=) Prelude.<$> maxResults,+ ("nextToken" Data..=) Prelude.<$> nextToken+ ]+ )++instance Data.ToPath DescribeJobQueues where+ toPath = Prelude.const "/v1/describejobqueues"++instance Data.ToQuery DescribeJobQueues where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeJobQueuesResponse' smart constructor.+data DescribeJobQueuesResponse = DescribeJobQueuesResponse'+ { -- | The list of job queues.+ jobQueues :: Prelude.Maybe [JobQueueDetail],+ -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeJobQueuesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'jobQueues', 'describeJobQueuesResponse_jobQueues' - The list of job queues.+--+-- 'nextToken', 'describeJobQueuesResponse_nextToken' - 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.+--+-- 'httpStatus', 'describeJobQueuesResponse_httpStatus' - The response's http status code.+newDescribeJobQueuesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeJobQueuesResponse+newDescribeJobQueuesResponse pHttpStatus_ =+ DescribeJobQueuesResponse'+ { jobQueues =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The list of job queues.+describeJobQueuesResponse_jobQueues :: Lens.Lens' DescribeJobQueuesResponse (Prelude.Maybe [JobQueueDetail])+describeJobQueuesResponse_jobQueues = Lens.lens (\DescribeJobQueuesResponse' {jobQueues} -> jobQueues) (\s@DescribeJobQueuesResponse' {} a -> s {jobQueues = a} :: DescribeJobQueuesResponse) Prelude.. Lens.mapping Lens.coerced++-- | 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.+describeJobQueuesResponse_nextToken :: Lens.Lens' DescribeJobQueuesResponse (Prelude.Maybe Prelude.Text)+describeJobQueuesResponse_nextToken = Lens.lens (\DescribeJobQueuesResponse' {nextToken} -> nextToken) (\s@DescribeJobQueuesResponse' {} a -> s {nextToken = a} :: DescribeJobQueuesResponse)++-- | The response's http status code.+describeJobQueuesResponse_httpStatus :: Lens.Lens' DescribeJobQueuesResponse Prelude.Int+describeJobQueuesResponse_httpStatus = Lens.lens (\DescribeJobQueuesResponse' {httpStatus} -> httpStatus) (\s@DescribeJobQueuesResponse' {} a -> s {httpStatus = a} :: DescribeJobQueuesResponse)++instance Prelude.NFData DescribeJobQueuesResponse where+ rnf DescribeJobQueuesResponse' {..} =+ Prelude.rnf jobQueues+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Batch/DescribeJobs.hs view
@@ -0,0 +1,161 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.DescribeJobs+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Describes a list of Batch jobs.+module Amazonka.Batch.DescribeJobs+ ( -- * Creating a Request+ DescribeJobs (..),+ newDescribeJobs,++ -- * Request Lenses+ describeJobs_jobs,++ -- * Destructuring the Response+ DescribeJobsResponse (..),+ newDescribeJobsResponse,++ -- * Response Lenses+ describeJobsResponse_jobs,+ describeJobsResponse_httpStatus,+ )+where++import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains the parameters for @DescribeJobs@.+--+-- /See:/ 'newDescribeJobs' smart constructor.+data DescribeJobs = DescribeJobs'+ { -- | A list of up to 100 job IDs.+ jobs :: [Prelude.Text]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeJobs' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'jobs', 'describeJobs_jobs' - A list of up to 100 job IDs.+newDescribeJobs ::+ DescribeJobs+newDescribeJobs =+ DescribeJobs' {jobs = Prelude.mempty}++-- | A list of up to 100 job IDs.+describeJobs_jobs :: Lens.Lens' DescribeJobs [Prelude.Text]+describeJobs_jobs = Lens.lens (\DescribeJobs' {jobs} -> jobs) (\s@DescribeJobs' {} a -> s {jobs = a} :: DescribeJobs) Prelude.. Lens.coerced++instance Core.AWSRequest DescribeJobs where+ type AWSResponse DescribeJobs = DescribeJobsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeJobsResponse'+ Prelude.<$> (x Data..?> "jobs" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeJobs where+ hashWithSalt _salt DescribeJobs' {..} =+ _salt `Prelude.hashWithSalt` jobs++instance Prelude.NFData DescribeJobs where+ rnf DescribeJobs' {..} = Prelude.rnf jobs++instance Data.ToHeaders DescribeJobs where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeJobs where+ toJSON DescribeJobs' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("jobs" Data..= jobs)]+ )++instance Data.ToPath DescribeJobs where+ toPath = Prelude.const "/v1/describejobs"++instance Data.ToQuery DescribeJobs where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeJobsResponse' smart constructor.+data DescribeJobsResponse = DescribeJobsResponse'+ { -- | The list of jobs.+ jobs :: Prelude.Maybe [JobDetail],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeJobsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'jobs', 'describeJobsResponse_jobs' - The list of jobs.+--+-- 'httpStatus', 'describeJobsResponse_httpStatus' - The response's http status code.+newDescribeJobsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeJobsResponse+newDescribeJobsResponse pHttpStatus_ =+ DescribeJobsResponse'+ { jobs = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The list of jobs.+describeJobsResponse_jobs :: Lens.Lens' DescribeJobsResponse (Prelude.Maybe [JobDetail])+describeJobsResponse_jobs = Lens.lens (\DescribeJobsResponse' {jobs} -> jobs) (\s@DescribeJobsResponse' {} a -> s {jobs = a} :: DescribeJobsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeJobsResponse_httpStatus :: Lens.Lens' DescribeJobsResponse Prelude.Int+describeJobsResponse_httpStatus = Lens.lens (\DescribeJobsResponse' {httpStatus} -> httpStatus) (\s@DescribeJobsResponse' {} a -> s {httpStatus = a} :: DescribeJobsResponse)++instance Prelude.NFData DescribeJobsResponse where+ rnf DescribeJobsResponse' {..} =+ Prelude.rnf jobs+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Batch/DescribeSchedulingPolicies.hs view
@@ -0,0 +1,175 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.DescribeSchedulingPolicies+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Describes one or more of your scheduling policies.+module Amazonka.Batch.DescribeSchedulingPolicies+ ( -- * Creating a Request+ DescribeSchedulingPolicies (..),+ newDescribeSchedulingPolicies,++ -- * Request Lenses+ describeSchedulingPolicies_arns,++ -- * Destructuring the Response+ DescribeSchedulingPoliciesResponse (..),+ newDescribeSchedulingPoliciesResponse,++ -- * Response Lenses+ describeSchedulingPoliciesResponse_schedulingPolicies,+ describeSchedulingPoliciesResponse_httpStatus,+ )+where++import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains the parameters for @DescribeSchedulingPolicies@.+--+-- /See:/ 'newDescribeSchedulingPolicies' smart constructor.+data DescribeSchedulingPolicies = DescribeSchedulingPolicies'+ { -- | A list of up to 100 scheduling policy Amazon Resource Name (ARN)+ -- entries.+ arns :: [Prelude.Text]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeSchedulingPolicies' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arns', 'describeSchedulingPolicies_arns' - A list of up to 100 scheduling policy Amazon Resource Name (ARN)+-- entries.+newDescribeSchedulingPolicies ::+ DescribeSchedulingPolicies+newDescribeSchedulingPolicies =+ DescribeSchedulingPolicies' {arns = Prelude.mempty}++-- | A list of up to 100 scheduling policy Amazon Resource Name (ARN)+-- entries.+describeSchedulingPolicies_arns :: Lens.Lens' DescribeSchedulingPolicies [Prelude.Text]+describeSchedulingPolicies_arns = Lens.lens (\DescribeSchedulingPolicies' {arns} -> arns) (\s@DescribeSchedulingPolicies' {} a -> s {arns = a} :: DescribeSchedulingPolicies) Prelude.. Lens.coerced++instance Core.AWSRequest DescribeSchedulingPolicies where+ type+ AWSResponse DescribeSchedulingPolicies =+ DescribeSchedulingPoliciesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeSchedulingPoliciesResponse'+ Prelude.<$> ( x+ Data..?> "schedulingPolicies"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeSchedulingPolicies where+ hashWithSalt _salt DescribeSchedulingPolicies' {..} =+ _salt `Prelude.hashWithSalt` arns++instance Prelude.NFData DescribeSchedulingPolicies where+ rnf DescribeSchedulingPolicies' {..} =+ Prelude.rnf arns++instance Data.ToHeaders DescribeSchedulingPolicies where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeSchedulingPolicies where+ toJSON DescribeSchedulingPolicies' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("arns" Data..= arns)]+ )++instance Data.ToPath DescribeSchedulingPolicies where+ toPath =+ Prelude.const "/v1/describeschedulingpolicies"++instance Data.ToQuery DescribeSchedulingPolicies where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeSchedulingPoliciesResponse' smart constructor.+data DescribeSchedulingPoliciesResponse = DescribeSchedulingPoliciesResponse'+ { -- | The list of scheduling policies.+ schedulingPolicies :: Prelude.Maybe [SchedulingPolicyDetail],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeSchedulingPoliciesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'schedulingPolicies', 'describeSchedulingPoliciesResponse_schedulingPolicies' - The list of scheduling policies.+--+-- 'httpStatus', 'describeSchedulingPoliciesResponse_httpStatus' - The response's http status code.+newDescribeSchedulingPoliciesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeSchedulingPoliciesResponse+newDescribeSchedulingPoliciesResponse pHttpStatus_ =+ DescribeSchedulingPoliciesResponse'+ { schedulingPolicies =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The list of scheduling policies.+describeSchedulingPoliciesResponse_schedulingPolicies :: Lens.Lens' DescribeSchedulingPoliciesResponse (Prelude.Maybe [SchedulingPolicyDetail])+describeSchedulingPoliciesResponse_schedulingPolicies = Lens.lens (\DescribeSchedulingPoliciesResponse' {schedulingPolicies} -> schedulingPolicies) (\s@DescribeSchedulingPoliciesResponse' {} a -> s {schedulingPolicies = a} :: DescribeSchedulingPoliciesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeSchedulingPoliciesResponse_httpStatus :: Lens.Lens' DescribeSchedulingPoliciesResponse Prelude.Int+describeSchedulingPoliciesResponse_httpStatus = Lens.lens (\DescribeSchedulingPoliciesResponse' {httpStatus} -> httpStatus) (\s@DescribeSchedulingPoliciesResponse' {} a -> s {httpStatus = a} :: DescribeSchedulingPoliciesResponse)++instance+ Prelude.NFData+ DescribeSchedulingPoliciesResponse+ where+ rnf DescribeSchedulingPoliciesResponse' {..} =+ Prelude.rnf schedulingPolicies+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Batch/Lens.hs view
@@ -0,0 +1,794 @@+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Lens+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Lens+ ( -- * Operations++ -- ** CancelJob+ cancelJob_jobId,+ cancelJob_reason,+ cancelJobResponse_httpStatus,++ -- ** CreateComputeEnvironment+ createComputeEnvironment_computeResources,+ createComputeEnvironment_eksConfiguration,+ createComputeEnvironment_serviceRole,+ createComputeEnvironment_state,+ createComputeEnvironment_tags,+ createComputeEnvironment_unmanagedvCpus,+ createComputeEnvironment_computeEnvironmentName,+ createComputeEnvironment_type,+ createComputeEnvironmentResponse_computeEnvironmentArn,+ createComputeEnvironmentResponse_computeEnvironmentName,+ createComputeEnvironmentResponse_httpStatus,++ -- ** CreateJobQueue+ createJobQueue_schedulingPolicyArn,+ createJobQueue_state,+ createJobQueue_tags,+ createJobQueue_jobQueueName,+ createJobQueue_priority,+ createJobQueue_computeEnvironmentOrder,+ createJobQueueResponse_httpStatus,+ createJobQueueResponse_jobQueueName,+ createJobQueueResponse_jobQueueArn,++ -- ** CreateSchedulingPolicy+ createSchedulingPolicy_fairsharePolicy,+ createSchedulingPolicy_tags,+ createSchedulingPolicy_name,+ createSchedulingPolicyResponse_httpStatus,+ createSchedulingPolicyResponse_name,+ createSchedulingPolicyResponse_arn,++ -- ** DeleteComputeEnvironment+ deleteComputeEnvironment_computeEnvironment,+ deleteComputeEnvironmentResponse_httpStatus,++ -- ** DeleteJobQueue+ deleteJobQueue_jobQueue,+ deleteJobQueueResponse_httpStatus,++ -- ** DeleteSchedulingPolicy+ deleteSchedulingPolicy_arn,+ deleteSchedulingPolicyResponse_httpStatus,++ -- ** DeregisterJobDefinition+ deregisterJobDefinition_jobDefinition,+ deregisterJobDefinitionResponse_httpStatus,++ -- ** DescribeComputeEnvironments+ describeComputeEnvironments_computeEnvironments,+ describeComputeEnvironments_maxResults,+ describeComputeEnvironments_nextToken,+ describeComputeEnvironmentsResponse_computeEnvironments,+ describeComputeEnvironmentsResponse_nextToken,+ describeComputeEnvironmentsResponse_httpStatus,++ -- ** DescribeJobDefinitions+ describeJobDefinitions_jobDefinitionName,+ describeJobDefinitions_jobDefinitions,+ describeJobDefinitions_maxResults,+ describeJobDefinitions_nextToken,+ describeJobDefinitions_status,+ describeJobDefinitionsResponse_jobDefinitions,+ describeJobDefinitionsResponse_nextToken,+ describeJobDefinitionsResponse_httpStatus,++ -- ** DescribeJobQueues+ describeJobQueues_jobQueues,+ describeJobQueues_maxResults,+ describeJobQueues_nextToken,+ describeJobQueuesResponse_jobQueues,+ describeJobQueuesResponse_nextToken,+ describeJobQueuesResponse_httpStatus,++ -- ** DescribeJobs+ describeJobs_jobs,+ describeJobsResponse_jobs,+ describeJobsResponse_httpStatus,++ -- ** DescribeSchedulingPolicies+ describeSchedulingPolicies_arns,+ describeSchedulingPoliciesResponse_schedulingPolicies,+ describeSchedulingPoliciesResponse_httpStatus,++ -- ** ListJobs+ listJobs_arrayJobId,+ listJobs_filters,+ listJobs_jobQueue,+ listJobs_jobStatus,+ listJobs_maxResults,+ listJobs_multiNodeJobId,+ listJobs_nextToken,+ listJobsResponse_nextToken,+ listJobsResponse_httpStatus,+ listJobsResponse_jobSummaryList,++ -- ** ListSchedulingPolicies+ listSchedulingPolicies_maxResults,+ listSchedulingPolicies_nextToken,+ listSchedulingPoliciesResponse_nextToken,+ listSchedulingPoliciesResponse_schedulingPolicies,+ listSchedulingPoliciesResponse_httpStatus,++ -- ** ListTagsForResource+ listTagsForResource_resourceArn,+ listTagsForResourceResponse_tags,+ listTagsForResourceResponse_httpStatus,++ -- ** RegisterJobDefinition+ registerJobDefinition_containerProperties,+ registerJobDefinition_eksProperties,+ registerJobDefinition_nodeProperties,+ registerJobDefinition_parameters,+ registerJobDefinition_platformCapabilities,+ registerJobDefinition_propagateTags,+ registerJobDefinition_retryStrategy,+ registerJobDefinition_schedulingPriority,+ registerJobDefinition_tags,+ registerJobDefinition_timeout,+ registerJobDefinition_jobDefinitionName,+ registerJobDefinition_type,+ registerJobDefinitionResponse_httpStatus,+ registerJobDefinitionResponse_jobDefinitionName,+ registerJobDefinitionResponse_jobDefinitionArn,+ registerJobDefinitionResponse_revision,++ -- ** SubmitJob+ submitJob_arrayProperties,+ submitJob_containerOverrides,+ submitJob_dependsOn,+ submitJob_eksPropertiesOverride,+ submitJob_nodeOverrides,+ submitJob_parameters,+ submitJob_propagateTags,+ submitJob_retryStrategy,+ submitJob_schedulingPriorityOverride,+ submitJob_shareIdentifier,+ submitJob_tags,+ submitJob_timeout,+ submitJob_jobName,+ submitJob_jobQueue,+ submitJob_jobDefinition,+ submitJobResponse_jobArn,+ submitJobResponse_httpStatus,+ submitJobResponse_jobName,+ submitJobResponse_jobId,++ -- ** TagResource+ tagResource_resourceArn,+ tagResource_tags,+ tagResourceResponse_httpStatus,++ -- ** TerminateJob+ terminateJob_jobId,+ terminateJob_reason,+ terminateJobResponse_httpStatus,++ -- ** UntagResource+ untagResource_resourceArn,+ untagResource_tagKeys,+ untagResourceResponse_httpStatus,++ -- ** UpdateComputeEnvironment+ updateComputeEnvironment_computeResources,+ updateComputeEnvironment_serviceRole,+ updateComputeEnvironment_state,+ updateComputeEnvironment_unmanagedvCpus,+ updateComputeEnvironment_updatePolicy,+ updateComputeEnvironment_computeEnvironment,+ updateComputeEnvironmentResponse_computeEnvironmentArn,+ updateComputeEnvironmentResponse_computeEnvironmentName,+ updateComputeEnvironmentResponse_httpStatus,++ -- ** UpdateJobQueue+ updateJobQueue_computeEnvironmentOrder,+ updateJobQueue_priority,+ updateJobQueue_schedulingPolicyArn,+ updateJobQueue_state,+ updateJobQueue_jobQueue,+ updateJobQueueResponse_jobQueueArn,+ updateJobQueueResponse_jobQueueName,+ updateJobQueueResponse_httpStatus,++ -- ** UpdateSchedulingPolicy+ updateSchedulingPolicy_fairsharePolicy,+ updateSchedulingPolicy_arn,+ updateSchedulingPolicyResponse_httpStatus,++ -- * Types++ -- ** ArrayProperties+ arrayProperties_size,++ -- ** ArrayPropertiesDetail+ arrayPropertiesDetail_index,+ arrayPropertiesDetail_size,+ arrayPropertiesDetail_statusSummary,++ -- ** ArrayPropertiesSummary+ arrayPropertiesSummary_index,+ arrayPropertiesSummary_size,++ -- ** AttemptContainerDetail+ attemptContainerDetail_containerInstanceArn,+ attemptContainerDetail_exitCode,+ attemptContainerDetail_logStreamName,+ attemptContainerDetail_networkInterfaces,+ attemptContainerDetail_reason,+ attemptContainerDetail_taskArn,++ -- ** AttemptDetail+ attemptDetail_container,+ attemptDetail_startedAt,+ attemptDetail_statusReason,+ attemptDetail_stoppedAt,++ -- ** ComputeEnvironmentDetail+ computeEnvironmentDetail_computeResources,+ computeEnvironmentDetail_containerOrchestrationType,+ computeEnvironmentDetail_ecsClusterArn,+ computeEnvironmentDetail_eksConfiguration,+ computeEnvironmentDetail_serviceRole,+ computeEnvironmentDetail_state,+ computeEnvironmentDetail_status,+ computeEnvironmentDetail_statusReason,+ computeEnvironmentDetail_tags,+ computeEnvironmentDetail_type,+ computeEnvironmentDetail_unmanagedvCpus,+ computeEnvironmentDetail_updatePolicy,+ computeEnvironmentDetail_uuid,+ computeEnvironmentDetail_computeEnvironmentName,+ computeEnvironmentDetail_computeEnvironmentArn,++ -- ** ComputeEnvironmentOrder+ computeEnvironmentOrder_order,+ computeEnvironmentOrder_computeEnvironment,++ -- ** ComputeResource+ computeResource_allocationStrategy,+ computeResource_bidPercentage,+ computeResource_desiredvCpus,+ computeResource_ec2Configuration,+ computeResource_ec2KeyPair,+ computeResource_imageId,+ computeResource_instanceRole,+ computeResource_instanceTypes,+ computeResource_launchTemplate,+ computeResource_minvCpus,+ computeResource_placementGroup,+ computeResource_securityGroupIds,+ computeResource_spotIamFleetRole,+ computeResource_tags,+ computeResource_type,+ computeResource_maxvCpus,+ computeResource_subnets,++ -- ** ComputeResourceUpdate+ computeResourceUpdate_allocationStrategy,+ computeResourceUpdate_bidPercentage,+ computeResourceUpdate_desiredvCpus,+ computeResourceUpdate_ec2Configuration,+ computeResourceUpdate_ec2KeyPair,+ computeResourceUpdate_imageId,+ computeResourceUpdate_instanceRole,+ computeResourceUpdate_instanceTypes,+ computeResourceUpdate_launchTemplate,+ computeResourceUpdate_maxvCpus,+ computeResourceUpdate_minvCpus,+ computeResourceUpdate_placementGroup,+ computeResourceUpdate_securityGroupIds,+ computeResourceUpdate_subnets,+ computeResourceUpdate_tags,+ computeResourceUpdate_type,+ computeResourceUpdate_updateToLatestImageVersion,++ -- ** ContainerDetail+ containerDetail_command,+ containerDetail_containerInstanceArn,+ containerDetail_environment,+ containerDetail_executionRoleArn,+ containerDetail_exitCode,+ containerDetail_fargatePlatformConfiguration,+ containerDetail_image,+ containerDetail_instanceType,+ containerDetail_jobRoleArn,+ containerDetail_linuxParameters,+ containerDetail_logConfiguration,+ containerDetail_logStreamName,+ containerDetail_memory,+ containerDetail_mountPoints,+ containerDetail_networkConfiguration,+ containerDetail_networkInterfaces,+ containerDetail_privileged,+ containerDetail_readonlyRootFilesystem,+ containerDetail_reason,+ containerDetail_resourceRequirements,+ containerDetail_secrets,+ containerDetail_taskArn,+ containerDetail_ulimits,+ containerDetail_user,+ containerDetail_vcpus,+ containerDetail_volumes,++ -- ** ContainerOverrides+ containerOverrides_command,+ containerOverrides_environment,+ containerOverrides_instanceType,+ containerOverrides_memory,+ containerOverrides_resourceRequirements,+ containerOverrides_vcpus,++ -- ** ContainerProperties+ containerProperties_command,+ containerProperties_environment,+ containerProperties_executionRoleArn,+ containerProperties_fargatePlatformConfiguration,+ containerProperties_image,+ containerProperties_instanceType,+ containerProperties_jobRoleArn,+ containerProperties_linuxParameters,+ containerProperties_logConfiguration,+ containerProperties_memory,+ containerProperties_mountPoints,+ containerProperties_networkConfiguration,+ containerProperties_privileged,+ containerProperties_readonlyRootFilesystem,+ containerProperties_resourceRequirements,+ containerProperties_secrets,+ containerProperties_ulimits,+ containerProperties_user,+ containerProperties_vcpus,+ containerProperties_volumes,++ -- ** ContainerSummary+ containerSummary_exitCode,+ containerSummary_reason,++ -- ** Device+ device_containerPath,+ device_permissions,+ device_hostPath,++ -- ** EFSAuthorizationConfig+ eFSAuthorizationConfig_accessPointId,+ eFSAuthorizationConfig_iam,++ -- ** EFSVolumeConfiguration+ eFSVolumeConfiguration_authorizationConfig,+ eFSVolumeConfiguration_rootDirectory,+ eFSVolumeConfiguration_transitEncryption,+ eFSVolumeConfiguration_transitEncryptionPort,+ eFSVolumeConfiguration_fileSystemId,++ -- ** Ec2Configuration+ ec2Configuration_imageIdOverride,+ ec2Configuration_imageKubernetesVersion,+ ec2Configuration_imageType,++ -- ** EksAttemptContainerDetail+ eksAttemptContainerDetail_exitCode,+ eksAttemptContainerDetail_reason,++ -- ** EksAttemptDetail+ eksAttemptDetail_containers,+ eksAttemptDetail_nodeName,+ eksAttemptDetail_podName,+ eksAttemptDetail_startedAt,+ eksAttemptDetail_statusReason,+ eksAttemptDetail_stoppedAt,++ -- ** EksConfiguration+ eksConfiguration_eksClusterArn,+ eksConfiguration_kubernetesNamespace,++ -- ** EksContainer+ eksContainer_args,+ eksContainer_command,+ eksContainer_env,+ eksContainer_imagePullPolicy,+ eksContainer_name,+ eksContainer_resources,+ eksContainer_securityContext,+ eksContainer_volumeMounts,+ eksContainer_image,++ -- ** EksContainerDetail+ eksContainerDetail_args,+ eksContainerDetail_command,+ eksContainerDetail_env,+ eksContainerDetail_exitCode,+ eksContainerDetail_image,+ eksContainerDetail_imagePullPolicy,+ eksContainerDetail_name,+ eksContainerDetail_reason,+ eksContainerDetail_resources,+ eksContainerDetail_securityContext,+ eksContainerDetail_volumeMounts,++ -- ** EksContainerEnvironmentVariable+ eksContainerEnvironmentVariable_value,+ eksContainerEnvironmentVariable_name,++ -- ** EksContainerOverride+ eksContainerOverride_args,+ eksContainerOverride_command,+ eksContainerOverride_env,+ eksContainerOverride_image,+ eksContainerOverride_resources,++ -- ** EksContainerResourceRequirements+ eksContainerResourceRequirements_limits,+ eksContainerResourceRequirements_requests,++ -- ** EksContainerSecurityContext+ eksContainerSecurityContext_privileged,+ eksContainerSecurityContext_readOnlyRootFilesystem,+ eksContainerSecurityContext_runAsGroup,+ eksContainerSecurityContext_runAsNonRoot,+ eksContainerSecurityContext_runAsUser,++ -- ** EksContainerVolumeMount+ eksContainerVolumeMount_mountPath,+ eksContainerVolumeMount_name,+ eksContainerVolumeMount_readOnly,++ -- ** EksEmptyDir+ eksEmptyDir_medium,+ eksEmptyDir_sizeLimit,++ -- ** EksHostPath+ eksHostPath_path,++ -- ** EksPodProperties+ eksPodProperties_containers,+ eksPodProperties_dnsPolicy,+ eksPodProperties_hostNetwork,+ eksPodProperties_serviceAccountName,+ eksPodProperties_volumes,++ -- ** EksPodPropertiesDetail+ eksPodPropertiesDetail_containers,+ eksPodPropertiesDetail_dnsPolicy,+ eksPodPropertiesDetail_hostNetwork,+ eksPodPropertiesDetail_nodeName,+ eksPodPropertiesDetail_podName,+ eksPodPropertiesDetail_serviceAccountName,+ eksPodPropertiesDetail_volumes,++ -- ** EksPodPropertiesOverride+ eksPodPropertiesOverride_containers,++ -- ** EksProperties+ eksProperties_podProperties,++ -- ** EksPropertiesDetail+ eksPropertiesDetail_podProperties,++ -- ** EksPropertiesOverride+ eksPropertiesOverride_podProperties,++ -- ** EksSecret+ eksSecret_optional,+ eksSecret_secretName,++ -- ** EksVolume+ eksVolume_emptyDir,+ eksVolume_hostPath,+ eksVolume_secret,+ eksVolume_name,++ -- ** EvaluateOnExit+ evaluateOnExit_onExitCode,+ evaluateOnExit_onReason,+ evaluateOnExit_onStatusReason,+ evaluateOnExit_action,++ -- ** FairsharePolicy+ fairsharePolicy_computeReservation,+ fairsharePolicy_shareDecaySeconds,+ fairsharePolicy_shareDistribution,++ -- ** FargatePlatformConfiguration+ fargatePlatformConfiguration_platformVersion,++ -- ** Host+ host_sourcePath,++ -- ** JobDefinition+ jobDefinition_containerOrchestrationType,+ jobDefinition_containerProperties,+ jobDefinition_eksProperties,+ jobDefinition_nodeProperties,+ jobDefinition_parameters,+ jobDefinition_platformCapabilities,+ jobDefinition_propagateTags,+ jobDefinition_retryStrategy,+ jobDefinition_schedulingPriority,+ jobDefinition_status,+ jobDefinition_tags,+ jobDefinition_timeout,+ jobDefinition_jobDefinitionName,+ jobDefinition_jobDefinitionArn,+ jobDefinition_revision,+ jobDefinition_type,++ -- ** JobDependency+ jobDependency_jobId,+ jobDependency_type,++ -- ** JobDetail+ jobDetail_arrayProperties,+ jobDetail_attempts,+ jobDetail_container,+ jobDetail_createdAt,+ jobDetail_dependsOn,+ jobDetail_eksAttempts,+ jobDetail_eksProperties,+ jobDetail_isCancelled,+ jobDetail_isTerminated,+ jobDetail_jobArn,+ jobDetail_nodeDetails,+ jobDetail_nodeProperties,+ jobDetail_parameters,+ jobDetail_platformCapabilities,+ jobDetail_propagateTags,+ jobDetail_retryStrategy,+ jobDetail_schedulingPriority,+ jobDetail_shareIdentifier,+ jobDetail_startedAt,+ jobDetail_statusReason,+ jobDetail_stoppedAt,+ jobDetail_tags,+ jobDetail_timeout,+ jobDetail_jobName,+ jobDetail_jobId,+ jobDetail_jobQueue,+ jobDetail_status,+ jobDetail_jobDefinition,++ -- ** JobQueueDetail+ jobQueueDetail_schedulingPolicyArn,+ jobQueueDetail_status,+ jobQueueDetail_statusReason,+ jobQueueDetail_tags,+ jobQueueDetail_jobQueueName,+ jobQueueDetail_jobQueueArn,+ jobQueueDetail_state,+ jobQueueDetail_priority,+ jobQueueDetail_computeEnvironmentOrder,++ -- ** JobSummary+ jobSummary_arrayProperties,+ jobSummary_container,+ jobSummary_createdAt,+ jobSummary_jobArn,+ jobSummary_jobDefinition,+ jobSummary_nodeProperties,+ jobSummary_startedAt,+ jobSummary_status,+ jobSummary_statusReason,+ jobSummary_stoppedAt,+ jobSummary_jobId,+ jobSummary_jobName,++ -- ** JobTimeout+ jobTimeout_attemptDurationSeconds,++ -- ** KeyValuePair+ keyValuePair_name,+ keyValuePair_value,++ -- ** KeyValuesPair+ keyValuesPair_name,+ keyValuesPair_values,++ -- ** LaunchTemplateSpecification+ launchTemplateSpecification_launchTemplateId,+ launchTemplateSpecification_launchTemplateName,+ launchTemplateSpecification_version,++ -- ** LinuxParameters+ linuxParameters_devices,+ linuxParameters_initProcessEnabled,+ linuxParameters_maxSwap,+ linuxParameters_sharedMemorySize,+ linuxParameters_swappiness,+ linuxParameters_tmpfs,++ -- ** LogConfiguration+ logConfiguration_options,+ logConfiguration_secretOptions,+ logConfiguration_logDriver,++ -- ** MountPoint+ mountPoint_containerPath,+ mountPoint_readOnly,+ mountPoint_sourceVolume,++ -- ** NetworkConfiguration+ networkConfiguration_assignPublicIp,++ -- ** NetworkInterface+ networkInterface_attachmentId,+ networkInterface_ipv6Address,+ networkInterface_privateIpv4Address,++ -- ** NodeDetails+ nodeDetails_isMainNode,+ nodeDetails_nodeIndex,++ -- ** NodeOverrides+ nodeOverrides_nodePropertyOverrides,+ nodeOverrides_numNodes,++ -- ** NodeProperties+ nodeProperties_numNodes,+ nodeProperties_mainNode,+ nodeProperties_nodeRangeProperties,++ -- ** NodePropertiesSummary+ nodePropertiesSummary_isMainNode,+ nodePropertiesSummary_nodeIndex,+ nodePropertiesSummary_numNodes,++ -- ** NodePropertyOverride+ nodePropertyOverride_containerOverrides,+ nodePropertyOverride_targetNodes,++ -- ** NodeRangeProperty+ nodeRangeProperty_container,+ nodeRangeProperty_targetNodes,++ -- ** ResourceRequirement+ resourceRequirement_value,+ resourceRequirement_type,++ -- ** RetryStrategy+ retryStrategy_attempts,+ retryStrategy_evaluateOnExit,++ -- ** SchedulingPolicyDetail+ schedulingPolicyDetail_fairsharePolicy,+ schedulingPolicyDetail_tags,+ schedulingPolicyDetail_name,+ schedulingPolicyDetail_arn,++ -- ** SchedulingPolicyListingDetail+ schedulingPolicyListingDetail_arn,++ -- ** Secret+ secret_name,+ secret_valueFrom,++ -- ** ShareAttributes+ shareAttributes_weightFactor,+ shareAttributes_shareIdentifier,++ -- ** Tmpfs+ tmpfs_mountOptions,+ tmpfs_containerPath,+ tmpfs_size,++ -- ** Ulimit+ ulimit_hardLimit,+ ulimit_name,+ ulimit_softLimit,++ -- ** UpdatePolicy+ updatePolicy_jobExecutionTimeoutMinutes,+ updatePolicy_terminateJobsOnUpdate,++ -- ** Volume+ volume_efsVolumeConfiguration,+ volume_host,+ volume_name,+ )+where++import Amazonka.Batch.CancelJob+import Amazonka.Batch.CreateComputeEnvironment+import Amazonka.Batch.CreateJobQueue+import Amazonka.Batch.CreateSchedulingPolicy+import Amazonka.Batch.DeleteComputeEnvironment+import Amazonka.Batch.DeleteJobQueue+import Amazonka.Batch.DeleteSchedulingPolicy+import Amazonka.Batch.DeregisterJobDefinition+import Amazonka.Batch.DescribeComputeEnvironments+import Amazonka.Batch.DescribeJobDefinitions+import Amazonka.Batch.DescribeJobQueues+import Amazonka.Batch.DescribeJobs+import Amazonka.Batch.DescribeSchedulingPolicies+import Amazonka.Batch.ListJobs+import Amazonka.Batch.ListSchedulingPolicies+import Amazonka.Batch.ListTagsForResource+import Amazonka.Batch.RegisterJobDefinition+import Amazonka.Batch.SubmitJob+import Amazonka.Batch.TagResource+import Amazonka.Batch.TerminateJob+import Amazonka.Batch.Types.ArrayProperties+import Amazonka.Batch.Types.ArrayPropertiesDetail+import Amazonka.Batch.Types.ArrayPropertiesSummary+import Amazonka.Batch.Types.AttemptContainerDetail+import Amazonka.Batch.Types.AttemptDetail+import Amazonka.Batch.Types.ComputeEnvironmentDetail+import Amazonka.Batch.Types.ComputeEnvironmentOrder+import Amazonka.Batch.Types.ComputeResource+import Amazonka.Batch.Types.ComputeResourceUpdate+import Amazonka.Batch.Types.ContainerDetail+import Amazonka.Batch.Types.ContainerOverrides+import Amazonka.Batch.Types.ContainerProperties+import Amazonka.Batch.Types.ContainerSummary+import Amazonka.Batch.Types.Device+import Amazonka.Batch.Types.EFSAuthorizationConfig+import Amazonka.Batch.Types.EFSVolumeConfiguration+import Amazonka.Batch.Types.Ec2Configuration+import Amazonka.Batch.Types.EksAttemptContainerDetail+import Amazonka.Batch.Types.EksAttemptDetail+import Amazonka.Batch.Types.EksConfiguration+import Amazonka.Batch.Types.EksContainer+import Amazonka.Batch.Types.EksContainerDetail+import Amazonka.Batch.Types.EksContainerEnvironmentVariable+import Amazonka.Batch.Types.EksContainerOverride+import Amazonka.Batch.Types.EksContainerResourceRequirements+import Amazonka.Batch.Types.EksContainerSecurityContext+import Amazonka.Batch.Types.EksContainerVolumeMount+import Amazonka.Batch.Types.EksEmptyDir+import Amazonka.Batch.Types.EksHostPath+import Amazonka.Batch.Types.EksPodProperties+import Amazonka.Batch.Types.EksPodPropertiesDetail+import Amazonka.Batch.Types.EksPodPropertiesOverride+import Amazonka.Batch.Types.EksProperties+import Amazonka.Batch.Types.EksPropertiesDetail+import Amazonka.Batch.Types.EksPropertiesOverride+import Amazonka.Batch.Types.EksSecret+import Amazonka.Batch.Types.EksVolume+import Amazonka.Batch.Types.EvaluateOnExit+import Amazonka.Batch.Types.FairsharePolicy+import Amazonka.Batch.Types.FargatePlatformConfiguration+import Amazonka.Batch.Types.Host+import Amazonka.Batch.Types.JobDefinition+import Amazonka.Batch.Types.JobDependency+import Amazonka.Batch.Types.JobDetail+import Amazonka.Batch.Types.JobQueueDetail+import Amazonka.Batch.Types.JobSummary+import Amazonka.Batch.Types.JobTimeout+import Amazonka.Batch.Types.KeyValuePair+import Amazonka.Batch.Types.KeyValuesPair+import Amazonka.Batch.Types.LaunchTemplateSpecification+import Amazonka.Batch.Types.LinuxParameters+import Amazonka.Batch.Types.LogConfiguration+import Amazonka.Batch.Types.MountPoint+import Amazonka.Batch.Types.NetworkConfiguration+import Amazonka.Batch.Types.NetworkInterface+import Amazonka.Batch.Types.NodeDetails+import Amazonka.Batch.Types.NodeOverrides+import Amazonka.Batch.Types.NodeProperties+import Amazonka.Batch.Types.NodePropertiesSummary+import Amazonka.Batch.Types.NodePropertyOverride+import Amazonka.Batch.Types.NodeRangeProperty+import Amazonka.Batch.Types.ResourceRequirement+import Amazonka.Batch.Types.RetryStrategy+import Amazonka.Batch.Types.SchedulingPolicyDetail+import Amazonka.Batch.Types.SchedulingPolicyListingDetail+import Amazonka.Batch.Types.Secret+import Amazonka.Batch.Types.ShareAttributes+import Amazonka.Batch.Types.Tmpfs+import Amazonka.Batch.Types.Ulimit+import Amazonka.Batch.Types.UpdatePolicy+import Amazonka.Batch.Types.Volume+import Amazonka.Batch.UntagResource+import Amazonka.Batch.UpdateComputeEnvironment+import Amazonka.Batch.UpdateJobQueue+import Amazonka.Batch.UpdateSchedulingPolicy
+ gen/Amazonka/Batch/ListJobs.hs view
@@ -0,0 +1,487 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.ListJobs+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- 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.+--+-- This operation returns paginated results.+module Amazonka.Batch.ListJobs+ ( -- * Creating a Request+ ListJobs (..),+ newListJobs,++ -- * Request Lenses+ listJobs_arrayJobId,+ listJobs_filters,+ listJobs_jobQueue,+ listJobs_jobStatus,+ listJobs_maxResults,+ listJobs_multiNodeJobId,+ listJobs_nextToken,++ -- * Destructuring the Response+ ListJobsResponse (..),+ newListJobsResponse,++ -- * Response Lenses+ listJobsResponse_nextToken,+ listJobsResponse_httpStatus,+ listJobsResponse_jobSummaryList,+ )+where++import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains the parameters for @ListJobs@.+--+-- /See:/ 'newListJobs' smart constructor.+data ListJobs = ListJobs'+ { -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe [KeyValuesPair],+ -- | The name or full Amazon Resource Name (ARN) of the job queue used to+ -- list jobs.+ jobQueue :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe 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 :: Prelude.Maybe Prelude.Int,+ -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListJobs' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arrayJobId', 'listJobs_arrayJobId' - The job ID for an array job. Specifying an array job ID with this+-- parameter lists all child jobs from within the specified array.+--+-- 'filters', 'listJobs_filters' - 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.+--+-- 'jobQueue', 'listJobs_jobQueue' - The name or full Amazon Resource Name (ARN) of the job queue used to+-- list jobs.+--+-- 'jobStatus', 'listJobs_jobStatus' - 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.+--+-- 'maxResults', 'listJobs_maxResults' - 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.+--+-- 'multiNodeJobId', 'listJobs_multiNodeJobId' - 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.+--+-- 'nextToken', 'listJobs_nextToken' - 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.+newListJobs ::+ ListJobs+newListJobs =+ ListJobs'+ { arrayJobId = Prelude.Nothing,+ filters = Prelude.Nothing,+ jobQueue = Prelude.Nothing,+ jobStatus = Prelude.Nothing,+ maxResults = Prelude.Nothing,+ multiNodeJobId = Prelude.Nothing,+ nextToken = Prelude.Nothing+ }++-- | The job ID for an array job. Specifying an array job ID with this+-- parameter lists all child jobs from within the specified array.+listJobs_arrayJobId :: Lens.Lens' ListJobs (Prelude.Maybe Prelude.Text)+listJobs_arrayJobId = Lens.lens (\ListJobs' {arrayJobId} -> arrayJobId) (\s@ListJobs' {} a -> s {arrayJobId = a} :: ListJobs)++-- | 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.+listJobs_filters :: Lens.Lens' ListJobs (Prelude.Maybe [KeyValuesPair])+listJobs_filters = Lens.lens (\ListJobs' {filters} -> filters) (\s@ListJobs' {} a -> s {filters = a} :: ListJobs) Prelude.. Lens.mapping Lens.coerced++-- | The name or full Amazon Resource Name (ARN) of the job queue used to+-- list jobs.+listJobs_jobQueue :: Lens.Lens' ListJobs (Prelude.Maybe Prelude.Text)+listJobs_jobQueue = Lens.lens (\ListJobs' {jobQueue} -> jobQueue) (\s@ListJobs' {} a -> s {jobQueue = a} :: ListJobs)++-- | 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.+listJobs_jobStatus :: Lens.Lens' ListJobs (Prelude.Maybe JobStatus)+listJobs_jobStatus = Lens.lens (\ListJobs' {jobStatus} -> jobStatus) (\s@ListJobs' {} a -> s {jobStatus = a} :: ListJobs)++-- | 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.+listJobs_maxResults :: Lens.Lens' ListJobs (Prelude.Maybe Prelude.Int)+listJobs_maxResults = Lens.lens (\ListJobs' {maxResults} -> maxResults) (\s@ListJobs' {} a -> s {maxResults = a} :: ListJobs)++-- | 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.+listJobs_multiNodeJobId :: Lens.Lens' ListJobs (Prelude.Maybe Prelude.Text)+listJobs_multiNodeJobId = Lens.lens (\ListJobs' {multiNodeJobId} -> multiNodeJobId) (\s@ListJobs' {} a -> s {multiNodeJobId = a} :: ListJobs)++-- | 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.+listJobs_nextToken :: Lens.Lens' ListJobs (Prelude.Maybe Prelude.Text)+listJobs_nextToken = Lens.lens (\ListJobs' {nextToken} -> nextToken) (\s@ListJobs' {} a -> s {nextToken = a} :: ListJobs)++instance Core.AWSPager ListJobs where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listJobsResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ (rs Lens.^. listJobsResponse_jobSummaryList) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listJobs_nextToken+ Lens..~ rs+ Lens.^? listJobsResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListJobs where+ type AWSResponse ListJobs = ListJobsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListJobsResponse'+ Prelude.<$> (x Data..?> "nextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ Prelude.<*> ( x+ Data..?> "jobSummaryList"+ Core..!@ Prelude.mempty+ )+ )++instance Prelude.Hashable ListJobs where+ hashWithSalt _salt ListJobs' {..} =+ _salt+ `Prelude.hashWithSalt` arrayJobId+ `Prelude.hashWithSalt` filters+ `Prelude.hashWithSalt` jobQueue+ `Prelude.hashWithSalt` jobStatus+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` multiNodeJobId+ `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListJobs where+ rnf ListJobs' {..} =+ Prelude.rnf arrayJobId+ `Prelude.seq` Prelude.rnf filters+ `Prelude.seq` Prelude.rnf jobQueue+ `Prelude.seq` Prelude.rnf jobStatus+ `Prelude.seq` Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf multiNodeJobId+ `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListJobs where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListJobs where+ toJSON ListJobs' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("arrayJobId" Data..=) Prelude.<$> arrayJobId,+ ("filters" Data..=) Prelude.<$> filters,+ ("jobQueue" Data..=) Prelude.<$> jobQueue,+ ("jobStatus" Data..=) Prelude.<$> jobStatus,+ ("maxResults" Data..=) Prelude.<$> maxResults,+ ("multiNodeJobId" Data..=)+ Prelude.<$> multiNodeJobId,+ ("nextToken" Data..=) Prelude.<$> nextToken+ ]+ )++instance Data.ToPath ListJobs where+ toPath = Prelude.const "/v1/listjobs"++instance Data.ToQuery ListJobs where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListJobsResponse' smart constructor.+data ListJobsResponse = ListJobsResponse'+ { -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int,+ -- | A list of job summaries that match the request.+ jobSummaryList :: [JobSummary]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListJobsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listJobsResponse_nextToken' - 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.+--+-- 'httpStatus', 'listJobsResponse_httpStatus' - The response's http status code.+--+-- 'jobSummaryList', 'listJobsResponse_jobSummaryList' - A list of job summaries that match the request.+newListJobsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListJobsResponse+newListJobsResponse pHttpStatus_ =+ ListJobsResponse'+ { nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_,+ jobSummaryList = Prelude.mempty+ }++-- | 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.+listJobsResponse_nextToken :: Lens.Lens' ListJobsResponse (Prelude.Maybe Prelude.Text)+listJobsResponse_nextToken = Lens.lens (\ListJobsResponse' {nextToken} -> nextToken) (\s@ListJobsResponse' {} a -> s {nextToken = a} :: ListJobsResponse)++-- | The response's http status code.+listJobsResponse_httpStatus :: Lens.Lens' ListJobsResponse Prelude.Int+listJobsResponse_httpStatus = Lens.lens (\ListJobsResponse' {httpStatus} -> httpStatus) (\s@ListJobsResponse' {} a -> s {httpStatus = a} :: ListJobsResponse)++-- | A list of job summaries that match the request.+listJobsResponse_jobSummaryList :: Lens.Lens' ListJobsResponse [JobSummary]+listJobsResponse_jobSummaryList = Lens.lens (\ListJobsResponse' {jobSummaryList} -> jobSummaryList) (\s@ListJobsResponse' {} a -> s {jobSummaryList = a} :: ListJobsResponse) Prelude.. Lens.coerced++instance Prelude.NFData ListJobsResponse where+ rnf ListJobsResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus+ `Prelude.seq` Prelude.rnf jobSummaryList
+ gen/Amazonka/Batch/ListSchedulingPolicies.hs view
@@ -0,0 +1,279 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.ListSchedulingPolicies+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns a list of Batch scheduling policies.+--+-- This operation returns paginated results.+module Amazonka.Batch.ListSchedulingPolicies+ ( -- * Creating a Request+ ListSchedulingPolicies (..),+ newListSchedulingPolicies,++ -- * Request Lenses+ listSchedulingPolicies_maxResults,+ listSchedulingPolicies_nextToken,++ -- * Destructuring the Response+ ListSchedulingPoliciesResponse (..),+ newListSchedulingPoliciesResponse,++ -- * Response Lenses+ listSchedulingPoliciesResponse_nextToken,+ listSchedulingPoliciesResponse_schedulingPolicies,+ listSchedulingPoliciesResponse_httpStatus,+ )+where++import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains the parameters for @ListSchedulingPolicies@.+--+-- /See:/ 'newListSchedulingPolicies' smart constructor.+data ListSchedulingPolicies = ListSchedulingPolicies'+ { -- | 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 :: Prelude.Maybe Prelude.Int,+ -- | 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 :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListSchedulingPolicies' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listSchedulingPolicies_maxResults' - 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.+--+-- 'nextToken', 'listSchedulingPolicies_nextToken' - 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.+newListSchedulingPolicies ::+ ListSchedulingPolicies+newListSchedulingPolicies =+ ListSchedulingPolicies'+ { maxResults =+ Prelude.Nothing,+ nextToken = Prelude.Nothing+ }++-- | 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.+listSchedulingPolicies_maxResults :: Lens.Lens' ListSchedulingPolicies (Prelude.Maybe Prelude.Int)+listSchedulingPolicies_maxResults = Lens.lens (\ListSchedulingPolicies' {maxResults} -> maxResults) (\s@ListSchedulingPolicies' {} a -> s {maxResults = a} :: ListSchedulingPolicies)++-- | 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.+listSchedulingPolicies_nextToken :: Lens.Lens' ListSchedulingPolicies (Prelude.Maybe Prelude.Text)+listSchedulingPolicies_nextToken = Lens.lens (\ListSchedulingPolicies' {nextToken} -> nextToken) (\s@ListSchedulingPolicies' {} a -> s {nextToken = a} :: ListSchedulingPolicies)++instance Core.AWSPager ListSchedulingPolicies where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listSchedulingPoliciesResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listSchedulingPoliciesResponse_schedulingPolicies+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listSchedulingPolicies_nextToken+ Lens..~ rs+ Lens.^? listSchedulingPoliciesResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListSchedulingPolicies where+ type+ AWSResponse ListSchedulingPolicies =+ ListSchedulingPoliciesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListSchedulingPoliciesResponse'+ Prelude.<$> (x Data..?> "nextToken")+ Prelude.<*> ( x+ Data..?> "schedulingPolicies"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListSchedulingPolicies where+ hashWithSalt _salt ListSchedulingPolicies' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListSchedulingPolicies where+ rnf ListSchedulingPolicies' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListSchedulingPolicies where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListSchedulingPolicies where+ toJSON ListSchedulingPolicies' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("maxResults" Data..=) Prelude.<$> maxResults,+ ("nextToken" Data..=) Prelude.<$> nextToken+ ]+ )++instance Data.ToPath ListSchedulingPolicies where+ toPath = Prelude.const "/v1/listschedulingpolicies"++instance Data.ToQuery ListSchedulingPolicies where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListSchedulingPoliciesResponse' smart constructor.+data ListSchedulingPoliciesResponse = ListSchedulingPoliciesResponse'+ { -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | A list of scheduling policies that match the request.+ schedulingPolicies :: Prelude.Maybe [SchedulingPolicyListingDetail],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListSchedulingPoliciesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listSchedulingPoliciesResponse_nextToken' - 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.+--+-- 'schedulingPolicies', 'listSchedulingPoliciesResponse_schedulingPolicies' - A list of scheduling policies that match the request.+--+-- 'httpStatus', 'listSchedulingPoliciesResponse_httpStatus' - The response's http status code.+newListSchedulingPoliciesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListSchedulingPoliciesResponse+newListSchedulingPoliciesResponse pHttpStatus_ =+ ListSchedulingPoliciesResponse'+ { nextToken =+ Prelude.Nothing,+ schedulingPolicies = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | 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.+listSchedulingPoliciesResponse_nextToken :: Lens.Lens' ListSchedulingPoliciesResponse (Prelude.Maybe Prelude.Text)+listSchedulingPoliciesResponse_nextToken = Lens.lens (\ListSchedulingPoliciesResponse' {nextToken} -> nextToken) (\s@ListSchedulingPoliciesResponse' {} a -> s {nextToken = a} :: ListSchedulingPoliciesResponse)++-- | A list of scheduling policies that match the request.+listSchedulingPoliciesResponse_schedulingPolicies :: Lens.Lens' ListSchedulingPoliciesResponse (Prelude.Maybe [SchedulingPolicyListingDetail])+listSchedulingPoliciesResponse_schedulingPolicies = Lens.lens (\ListSchedulingPoliciesResponse' {schedulingPolicies} -> schedulingPolicies) (\s@ListSchedulingPoliciesResponse' {} a -> s {schedulingPolicies = a} :: ListSchedulingPoliciesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listSchedulingPoliciesResponse_httpStatus :: Lens.Lens' ListSchedulingPoliciesResponse Prelude.Int+listSchedulingPoliciesResponse_httpStatus = Lens.lens (\ListSchedulingPoliciesResponse' {httpStatus} -> httpStatus) (\s@ListSchedulingPoliciesResponse' {} a -> s {httpStatus = a} :: ListSchedulingPoliciesResponse)++instance+ Prelude.NFData+ ListSchedulingPoliciesResponse+ where+ rnf ListSchedulingPoliciesResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf schedulingPolicies+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Batch/ListTagsForResource.hs view
@@ -0,0 +1,177 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.ListTagsForResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- 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.+module Amazonka.Batch.ListTagsForResource+ ( -- * Creating a Request+ ListTagsForResource (..),+ newListTagsForResource,++ -- * Request Lenses+ listTagsForResource_resourceArn,++ -- * Destructuring the Response+ ListTagsForResourceResponse (..),+ newListTagsForResourceResponse,++ -- * Response Lenses+ listTagsForResourceResponse_tags,+ listTagsForResourceResponse_httpStatus,+ )+where++import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains the parameters for @ListTagsForResource@.+--+-- /See:/ 'newListTagsForResource' smart constructor.+data ListTagsForResource = ListTagsForResource'+ { -- | 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 :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTagsForResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceArn', 'listTagsForResource_resourceArn' - 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.+newListTagsForResource ::+ -- | 'resourceArn'+ Prelude.Text ->+ ListTagsForResource+newListTagsForResource pResourceArn_ =+ ListTagsForResource' {resourceArn = pResourceArn_}++-- | 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.+listTagsForResource_resourceArn :: Lens.Lens' ListTagsForResource Prelude.Text+listTagsForResource_resourceArn = Lens.lens (\ListTagsForResource' {resourceArn} -> resourceArn) (\s@ListTagsForResource' {} a -> s {resourceArn = a} :: ListTagsForResource)++instance Core.AWSRequest ListTagsForResource where+ type+ AWSResponse ListTagsForResource =+ ListTagsForResourceResponse+ request overrides =+ Request.get (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListTagsForResourceResponse'+ Prelude.<$> (x Data..?> "tags" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListTagsForResource where+ hashWithSalt _salt ListTagsForResource' {..} =+ _salt `Prelude.hashWithSalt` resourceArn++instance Prelude.NFData ListTagsForResource where+ rnf ListTagsForResource' {..} =+ Prelude.rnf resourceArn++instance Data.ToHeaders ListTagsForResource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToPath ListTagsForResource where+ toPath ListTagsForResource' {..} =+ Prelude.mconcat+ ["/v1/tags/", Data.toBS resourceArn]++instance Data.ToQuery ListTagsForResource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListTagsForResourceResponse' smart constructor.+data ListTagsForResourceResponse = ListTagsForResourceResponse'+ { -- | The tags for the resource.+ tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTagsForResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'tags', 'listTagsForResourceResponse_tags' - The tags for the resource.+--+-- 'httpStatus', 'listTagsForResourceResponse_httpStatus' - The response's http status code.+newListTagsForResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListTagsForResourceResponse+newListTagsForResourceResponse pHttpStatus_ =+ ListTagsForResourceResponse'+ { tags =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The tags for the resource.+listTagsForResourceResponse_tags :: Lens.Lens' ListTagsForResourceResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+listTagsForResourceResponse_tags = Lens.lens (\ListTagsForResourceResponse' {tags} -> tags) (\s@ListTagsForResourceResponse' {} a -> s {tags = a} :: ListTagsForResourceResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listTagsForResourceResponse_httpStatus :: Lens.Lens' ListTagsForResourceResponse Prelude.Int+listTagsForResourceResponse_httpStatus = Lens.lens (\ListTagsForResourceResponse' {httpStatus} -> httpStatus) (\s@ListTagsForResourceResponse' {} a -> s {httpStatus = a} :: ListTagsForResourceResponse)++instance Prelude.NFData ListTagsForResourceResponse where+ rnf ListTagsForResourceResponse' {..} =+ Prelude.rnf tags+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Batch/RegisterJobDefinition.hs view
@@ -0,0 +1,548 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.RegisterJobDefinition+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Registers an Batch job definition.+module Amazonka.Batch.RegisterJobDefinition+ ( -- * Creating a Request+ RegisterJobDefinition (..),+ newRegisterJobDefinition,++ -- * Request Lenses+ registerJobDefinition_containerProperties,+ registerJobDefinition_eksProperties,+ registerJobDefinition_nodeProperties,+ registerJobDefinition_parameters,+ registerJobDefinition_platformCapabilities,+ registerJobDefinition_propagateTags,+ registerJobDefinition_retryStrategy,+ registerJobDefinition_schedulingPriority,+ registerJobDefinition_tags,+ registerJobDefinition_timeout,+ registerJobDefinition_jobDefinitionName,+ registerJobDefinition_type,++ -- * Destructuring the Response+ RegisterJobDefinitionResponse (..),+ newRegisterJobDefinitionResponse,++ -- * Response Lenses+ registerJobDefinitionResponse_httpStatus,+ registerJobDefinitionResponse_jobDefinitionName,+ registerJobDefinitionResponse_jobDefinitionArn,+ registerJobDefinitionResponse_revision,+ )+where++import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains the parameters for @RegisterJobDefinition@.+--+-- /See:/ 'newRegisterJobDefinition' smart constructor.+data RegisterJobDefinition = RegisterJobDefinition'+ { -- | 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 :: Prelude.Maybe ContainerProperties,+ -- | 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 :: Prelude.Maybe EksProperties,+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/multi-node-parallel-jobs.html Multi-node Parallel Jobs>+ -- 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 :: Prelude.Maybe NodeProperties,+ -- | 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 :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | 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 :: Prelude.Maybe [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 :: Prelude.Maybe Prelude.Bool,+ -- | 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 :: Prelude.Maybe RetryStrategy,+ -- | 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 :: Prelude.Maybe Prelude.Int,+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/using-tags.html Tagging Amazon Web Services Resources>+ -- in /Batch User Guide/.+ tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/job_timeouts.html Job Timeouts>+ -- in the /Batch User Guide/.+ timeout :: Prelude.Maybe JobTimeout,+ -- | 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 :: Prelude.Text,+ -- | The type of job definition. For more information about multi-node+ -- parallel jobs, see+ -- <https://docs.aws.amazon.com/batch/latest/userguide/multi-node-job-def.html Creating a multi-node parallel job definition>+ -- in the /Batch User Guide/.+ --+ -- If the job is run on Fargate resources, then @multinode@ isn\'t+ -- supported.+ type' :: JobDefinitionType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RegisterJobDefinition' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'containerProperties', 'registerJobDefinition_containerProperties' - 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@.+--+-- 'eksProperties', 'registerJobDefinition_eksProperties' - An object with various properties that are specific to Amazon EKS based+-- jobs. This must not be specified for Amazon ECS based job definitions.+--+-- 'nodeProperties', 'registerJobDefinition_nodeProperties' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/multi-node-parallel-jobs.html Multi-node Parallel Jobs>+-- 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@.+--+-- 'parameters', 'registerJobDefinition_parameters' - 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.+--+-- 'platformCapabilities', 'registerJobDefinition_platformCapabilities' - 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@.+--+-- 'propagateTags', 'registerJobDefinition_propagateTags' - 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@.+--+-- 'retryStrategy', 'registerJobDefinition_retryStrategy' - 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.+--+-- 'schedulingPriority', 'registerJobDefinition_schedulingPriority' - 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.+--+-- 'tags', 'registerJobDefinition_tags' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/using-tags.html Tagging Amazon Web Services Resources>+-- in /Batch User Guide/.+--+-- 'timeout', 'registerJobDefinition_timeout' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/job_timeouts.html Job Timeouts>+-- in the /Batch User Guide/.+--+-- 'jobDefinitionName', 'registerJobDefinition_jobDefinitionName' - 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 (_).+--+-- 'type'', 'registerJobDefinition_type' - The type of job definition. For more information about multi-node+-- parallel jobs, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/multi-node-job-def.html Creating a multi-node parallel job definition>+-- in the /Batch User Guide/.+--+-- If the job is run on Fargate resources, then @multinode@ isn\'t+-- supported.+newRegisterJobDefinition ::+ -- | 'jobDefinitionName'+ Prelude.Text ->+ -- | 'type''+ JobDefinitionType ->+ RegisterJobDefinition+newRegisterJobDefinition pJobDefinitionName_ pType_ =+ RegisterJobDefinition'+ { containerProperties =+ Prelude.Nothing,+ eksProperties = Prelude.Nothing,+ nodeProperties = Prelude.Nothing,+ parameters = Prelude.Nothing,+ platformCapabilities = Prelude.Nothing,+ propagateTags = Prelude.Nothing,+ retryStrategy = Prelude.Nothing,+ schedulingPriority = Prelude.Nothing,+ tags = Prelude.Nothing,+ timeout = Prelude.Nothing,+ jobDefinitionName = pJobDefinitionName_,+ type' = pType_+ }++-- | 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@.+registerJobDefinition_containerProperties :: Lens.Lens' RegisterJobDefinition (Prelude.Maybe ContainerProperties)+registerJobDefinition_containerProperties = Lens.lens (\RegisterJobDefinition' {containerProperties} -> containerProperties) (\s@RegisterJobDefinition' {} a -> s {containerProperties = a} :: RegisterJobDefinition)++-- | An object with various properties that are specific to Amazon EKS based+-- jobs. This must not be specified for Amazon ECS based job definitions.+registerJobDefinition_eksProperties :: Lens.Lens' RegisterJobDefinition (Prelude.Maybe EksProperties)+registerJobDefinition_eksProperties = Lens.lens (\RegisterJobDefinition' {eksProperties} -> eksProperties) (\s@RegisterJobDefinition' {} a -> s {eksProperties = a} :: RegisterJobDefinition)++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/multi-node-parallel-jobs.html Multi-node Parallel Jobs>+-- 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@.+registerJobDefinition_nodeProperties :: Lens.Lens' RegisterJobDefinition (Prelude.Maybe NodeProperties)+registerJobDefinition_nodeProperties = Lens.lens (\RegisterJobDefinition' {nodeProperties} -> nodeProperties) (\s@RegisterJobDefinition' {} a -> s {nodeProperties = a} :: RegisterJobDefinition)++-- | 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.+registerJobDefinition_parameters :: Lens.Lens' RegisterJobDefinition (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+registerJobDefinition_parameters = Lens.lens (\RegisterJobDefinition' {parameters} -> parameters) (\s@RegisterJobDefinition' {} a -> s {parameters = a} :: RegisterJobDefinition) Prelude.. Lens.mapping Lens.coerced++-- | 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@.+registerJobDefinition_platformCapabilities :: Lens.Lens' RegisterJobDefinition (Prelude.Maybe [PlatformCapability])+registerJobDefinition_platformCapabilities = Lens.lens (\RegisterJobDefinition' {platformCapabilities} -> platformCapabilities) (\s@RegisterJobDefinition' {} a -> s {platformCapabilities = a} :: RegisterJobDefinition) Prelude.. Lens.mapping Lens.coerced++-- | 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@.+registerJobDefinition_propagateTags :: Lens.Lens' RegisterJobDefinition (Prelude.Maybe Prelude.Bool)+registerJobDefinition_propagateTags = Lens.lens (\RegisterJobDefinition' {propagateTags} -> propagateTags) (\s@RegisterJobDefinition' {} a -> s {propagateTags = a} :: RegisterJobDefinition)++-- | 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.+registerJobDefinition_retryStrategy :: Lens.Lens' RegisterJobDefinition (Prelude.Maybe RetryStrategy)+registerJobDefinition_retryStrategy = Lens.lens (\RegisterJobDefinition' {retryStrategy} -> retryStrategy) (\s@RegisterJobDefinition' {} a -> s {retryStrategy = a} :: RegisterJobDefinition)++-- | 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.+registerJobDefinition_schedulingPriority :: Lens.Lens' RegisterJobDefinition (Prelude.Maybe Prelude.Int)+registerJobDefinition_schedulingPriority = Lens.lens (\RegisterJobDefinition' {schedulingPriority} -> schedulingPriority) (\s@RegisterJobDefinition' {} a -> s {schedulingPriority = a} :: RegisterJobDefinition)++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/using-tags.html Tagging Amazon Web Services Resources>+-- in /Batch User Guide/.+registerJobDefinition_tags :: Lens.Lens' RegisterJobDefinition (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+registerJobDefinition_tags = Lens.lens (\RegisterJobDefinition' {tags} -> tags) (\s@RegisterJobDefinition' {} a -> s {tags = a} :: RegisterJobDefinition) Prelude.. Lens.mapping Lens.coerced++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/job_timeouts.html Job Timeouts>+-- in the /Batch User Guide/.+registerJobDefinition_timeout :: Lens.Lens' RegisterJobDefinition (Prelude.Maybe JobTimeout)+registerJobDefinition_timeout = Lens.lens (\RegisterJobDefinition' {timeout} -> timeout) (\s@RegisterJobDefinition' {} a -> s {timeout = a} :: RegisterJobDefinition)++-- | 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 (_).+registerJobDefinition_jobDefinitionName :: Lens.Lens' RegisterJobDefinition Prelude.Text+registerJobDefinition_jobDefinitionName = Lens.lens (\RegisterJobDefinition' {jobDefinitionName} -> jobDefinitionName) (\s@RegisterJobDefinition' {} a -> s {jobDefinitionName = a} :: RegisterJobDefinition)++-- | The type of job definition. For more information about multi-node+-- parallel jobs, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/multi-node-job-def.html Creating a multi-node parallel job definition>+-- in the /Batch User Guide/.+--+-- If the job is run on Fargate resources, then @multinode@ isn\'t+-- supported.+registerJobDefinition_type :: Lens.Lens' RegisterJobDefinition JobDefinitionType+registerJobDefinition_type = Lens.lens (\RegisterJobDefinition' {type'} -> type') (\s@RegisterJobDefinition' {} a -> s {type' = a} :: RegisterJobDefinition)++instance Core.AWSRequest RegisterJobDefinition where+ type+ AWSResponse RegisterJobDefinition =+ RegisterJobDefinitionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ RegisterJobDefinitionResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ Prelude.<*> (x Data..:> "jobDefinitionName")+ Prelude.<*> (x Data..:> "jobDefinitionArn")+ Prelude.<*> (x Data..:> "revision")+ )++instance Prelude.Hashable RegisterJobDefinition where+ hashWithSalt _salt RegisterJobDefinition' {..} =+ _salt+ `Prelude.hashWithSalt` containerProperties+ `Prelude.hashWithSalt` eksProperties+ `Prelude.hashWithSalt` nodeProperties+ `Prelude.hashWithSalt` parameters+ `Prelude.hashWithSalt` platformCapabilities+ `Prelude.hashWithSalt` propagateTags+ `Prelude.hashWithSalt` retryStrategy+ `Prelude.hashWithSalt` schedulingPriority+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` timeout+ `Prelude.hashWithSalt` jobDefinitionName+ `Prelude.hashWithSalt` type'++instance Prelude.NFData RegisterJobDefinition where+ rnf RegisterJobDefinition' {..} =+ Prelude.rnf containerProperties+ `Prelude.seq` Prelude.rnf eksProperties+ `Prelude.seq` Prelude.rnf nodeProperties+ `Prelude.seq` Prelude.rnf parameters+ `Prelude.seq` Prelude.rnf platformCapabilities+ `Prelude.seq` Prelude.rnf propagateTags+ `Prelude.seq` Prelude.rnf retryStrategy+ `Prelude.seq` Prelude.rnf schedulingPriority+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf timeout+ `Prelude.seq` Prelude.rnf jobDefinitionName+ `Prelude.seq` Prelude.rnf type'++instance Data.ToHeaders RegisterJobDefinition where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON RegisterJobDefinition where+ toJSON RegisterJobDefinition' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("containerProperties" Data..=)+ Prelude.<$> containerProperties,+ ("eksProperties" Data..=) Prelude.<$> eksProperties,+ ("nodeProperties" Data..=)+ Prelude.<$> nodeProperties,+ ("parameters" Data..=) Prelude.<$> parameters,+ ("platformCapabilities" Data..=)+ Prelude.<$> platformCapabilities,+ ("propagateTags" Data..=) Prelude.<$> propagateTags,+ ("retryStrategy" Data..=) Prelude.<$> retryStrategy,+ ("schedulingPriority" Data..=)+ Prelude.<$> schedulingPriority,+ ("tags" Data..=) Prelude.<$> tags,+ ("timeout" Data..=) Prelude.<$> timeout,+ Prelude.Just+ ("jobDefinitionName" Data..= jobDefinitionName),+ Prelude.Just ("type" Data..= type')+ ]+ )++instance Data.ToPath RegisterJobDefinition where+ toPath = Prelude.const "/v1/registerjobdefinition"++instance Data.ToQuery RegisterJobDefinition where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newRegisterJobDefinitionResponse' smart constructor.+data RegisterJobDefinitionResponse = RegisterJobDefinitionResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int,+ -- | The name of the job definition.+ jobDefinitionName :: Prelude.Text,+ -- | The Amazon Resource Name (ARN) of the job definition.+ jobDefinitionArn :: Prelude.Text,+ -- | The revision of the job definition.+ revision :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RegisterJobDefinitionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'registerJobDefinitionResponse_httpStatus' - The response's http status code.+--+-- 'jobDefinitionName', 'registerJobDefinitionResponse_jobDefinitionName' - The name of the job definition.+--+-- 'jobDefinitionArn', 'registerJobDefinitionResponse_jobDefinitionArn' - The Amazon Resource Name (ARN) of the job definition.+--+-- 'revision', 'registerJobDefinitionResponse_revision' - The revision of the job definition.+newRegisterJobDefinitionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ -- | 'jobDefinitionName'+ Prelude.Text ->+ -- | 'jobDefinitionArn'+ Prelude.Text ->+ -- | 'revision'+ Prelude.Int ->+ RegisterJobDefinitionResponse+newRegisterJobDefinitionResponse+ pHttpStatus_+ pJobDefinitionName_+ pJobDefinitionArn_+ pRevision_ =+ RegisterJobDefinitionResponse'+ { httpStatus =+ pHttpStatus_,+ jobDefinitionName = pJobDefinitionName_,+ jobDefinitionArn = pJobDefinitionArn_,+ revision = pRevision_+ }++-- | The response's http status code.+registerJobDefinitionResponse_httpStatus :: Lens.Lens' RegisterJobDefinitionResponse Prelude.Int+registerJobDefinitionResponse_httpStatus = Lens.lens (\RegisterJobDefinitionResponse' {httpStatus} -> httpStatus) (\s@RegisterJobDefinitionResponse' {} a -> s {httpStatus = a} :: RegisterJobDefinitionResponse)++-- | The name of the job definition.+registerJobDefinitionResponse_jobDefinitionName :: Lens.Lens' RegisterJobDefinitionResponse Prelude.Text+registerJobDefinitionResponse_jobDefinitionName = Lens.lens (\RegisterJobDefinitionResponse' {jobDefinitionName} -> jobDefinitionName) (\s@RegisterJobDefinitionResponse' {} a -> s {jobDefinitionName = a} :: RegisterJobDefinitionResponse)++-- | The Amazon Resource Name (ARN) of the job definition.+registerJobDefinitionResponse_jobDefinitionArn :: Lens.Lens' RegisterJobDefinitionResponse Prelude.Text+registerJobDefinitionResponse_jobDefinitionArn = Lens.lens (\RegisterJobDefinitionResponse' {jobDefinitionArn} -> jobDefinitionArn) (\s@RegisterJobDefinitionResponse' {} a -> s {jobDefinitionArn = a} :: RegisterJobDefinitionResponse)++-- | The revision of the job definition.+registerJobDefinitionResponse_revision :: Lens.Lens' RegisterJobDefinitionResponse Prelude.Int+registerJobDefinitionResponse_revision = Lens.lens (\RegisterJobDefinitionResponse' {revision} -> revision) (\s@RegisterJobDefinitionResponse' {} a -> s {revision = a} :: RegisterJobDefinitionResponse)++instance Prelude.NFData RegisterJobDefinitionResponse where+ rnf RegisterJobDefinitionResponse' {..} =+ Prelude.rnf httpStatus+ `Prelude.seq` Prelude.rnf jobDefinitionName+ `Prelude.seq` Prelude.rnf jobDefinitionArn+ `Prelude.seq` Prelude.rnf revision
+ gen/Amazonka/Batch/SubmitJob.hs view
@@ -0,0 +1,585 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.SubmitJob+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- 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.+module Amazonka.Batch.SubmitJob+ ( -- * Creating a Request+ SubmitJob (..),+ newSubmitJob,++ -- * Request Lenses+ submitJob_arrayProperties,+ submitJob_containerOverrides,+ submitJob_dependsOn,+ submitJob_eksPropertiesOverride,+ submitJob_nodeOverrides,+ submitJob_parameters,+ submitJob_propagateTags,+ submitJob_retryStrategy,+ submitJob_schedulingPriorityOverride,+ submitJob_shareIdentifier,+ submitJob_tags,+ submitJob_timeout,+ submitJob_jobName,+ submitJob_jobQueue,+ submitJob_jobDefinition,++ -- * Destructuring the Response+ SubmitJobResponse (..),+ newSubmitJobResponse,++ -- * Response Lenses+ submitJobResponse_jobArn,+ submitJobResponse_httpStatus,+ submitJobResponse_jobName,+ submitJobResponse_jobId,+ )+where++import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains the parameters for @SubmitJob@.+--+-- /See:/ 'newSubmitJob' smart constructor.+data SubmitJob = SubmitJob'+ { -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/array_jobs.html Array Jobs>+ -- in the /Batch User Guide/.+ arrayProperties :: Prelude.Maybe ArrayProperties,+ -- | 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 :: Prelude.Maybe ContainerOverrides,+ -- | 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 :: Prelude.Maybe [JobDependency],+ -- | 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 :: Prelude.Maybe EksPropertiesOverride,+ -- | 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 :: Prelude.Maybe NodeOverrides,+ -- | 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 :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | 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 :: Prelude.Maybe Prelude.Bool,+ -- | 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 :: Prelude.Maybe RetryStrategy,+ -- | 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 :: Prelude.Maybe Prelude.Int,+ -- | The share identifier for the job. If the job queue doesn\'t have a+ -- scheduling policy, then this parameter must not be specified. If the job+ -- queue has a scheduling policy, then this parameter must be specified.+ shareIdentifier :: Prelude.Maybe Prelude.Text,+ -- | 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+ -- <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html Tagging Amazon Web Services Resources>+ -- in /Amazon Web Services General Reference/.+ tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | 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+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/job_timeouts.html Job Timeouts>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ timeout :: Prelude.Maybe JobTimeout,+ -- | 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 :: Prelude.Text,+ -- | The job queue where the job is submitted. You can specify either the+ -- name or the Amazon Resource Name (ARN) of the queue.+ jobQueue :: Prelude.Text,+ -- | The job definition used by this job. This value can be one of @name@,+ -- @name:revision@, or the Amazon Resource Name (ARN) for the job+ -- definition. If @name@ is specified without a revision then the latest+ -- active revision is used.+ jobDefinition :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SubmitJob' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arrayProperties', 'submitJob_arrayProperties' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/array_jobs.html Array Jobs>+-- in the /Batch User Guide/.+--+-- 'containerOverrides', 'submitJob_containerOverrides' - 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.+--+-- 'dependsOn', 'submitJob_dependsOn' - 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.+--+-- 'eksPropertiesOverride', 'submitJob_eksPropertiesOverride' - 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.+--+-- 'nodeOverrides', 'submitJob_nodeOverrides' - 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.+--+-- 'parameters', 'submitJob_parameters' - 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.+--+-- 'propagateTags', 'submitJob_propagateTags' - 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.+--+-- 'retryStrategy', 'submitJob_retryStrategy' - 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.+--+-- 'schedulingPriorityOverride', 'submitJob_schedulingPriorityOverride' - 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.+--+-- 'shareIdentifier', 'submitJob_shareIdentifier' - The share identifier for the job. If the job queue doesn\'t have a+-- scheduling policy, then this parameter must not be specified. If the job+-- queue has a scheduling policy, then this parameter must be specified.+--+-- 'tags', 'submitJob_tags' - 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+-- <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html Tagging Amazon Web Services Resources>+-- in /Amazon Web Services General Reference/.+--+-- 'timeout', 'submitJob_timeout' - 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+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/job_timeouts.html Job Timeouts>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'jobName', 'submitJob_jobName' - 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 (_).+--+-- 'jobQueue', 'submitJob_jobQueue' - The job queue where the job is submitted. You can specify either the+-- name or the Amazon Resource Name (ARN) of the queue.+--+-- 'jobDefinition', 'submitJob_jobDefinition' - The job definition used by this job. This value can be one of @name@,+-- @name:revision@, or the Amazon Resource Name (ARN) for the job+-- definition. If @name@ is specified without a revision then the latest+-- active revision is used.+newSubmitJob ::+ -- | 'jobName'+ Prelude.Text ->+ -- | 'jobQueue'+ Prelude.Text ->+ -- | 'jobDefinition'+ Prelude.Text ->+ SubmitJob+newSubmitJob pJobName_ pJobQueue_ pJobDefinition_ =+ SubmitJob'+ { arrayProperties = Prelude.Nothing,+ containerOverrides = Prelude.Nothing,+ dependsOn = Prelude.Nothing,+ eksPropertiesOverride = Prelude.Nothing,+ nodeOverrides = Prelude.Nothing,+ parameters = Prelude.Nothing,+ propagateTags = Prelude.Nothing,+ retryStrategy = Prelude.Nothing,+ schedulingPriorityOverride = Prelude.Nothing,+ shareIdentifier = Prelude.Nothing,+ tags = Prelude.Nothing,+ timeout = Prelude.Nothing,+ jobName = pJobName_,+ jobQueue = pJobQueue_,+ jobDefinition = pJobDefinition_+ }++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/array_jobs.html Array Jobs>+-- in the /Batch User Guide/.+submitJob_arrayProperties :: Lens.Lens' SubmitJob (Prelude.Maybe ArrayProperties)+submitJob_arrayProperties = Lens.lens (\SubmitJob' {arrayProperties} -> arrayProperties) (\s@SubmitJob' {} a -> s {arrayProperties = a} :: SubmitJob)++-- | 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.+submitJob_containerOverrides :: Lens.Lens' SubmitJob (Prelude.Maybe ContainerOverrides)+submitJob_containerOverrides = Lens.lens (\SubmitJob' {containerOverrides} -> containerOverrides) (\s@SubmitJob' {} a -> s {containerOverrides = a} :: SubmitJob)++-- | 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.+submitJob_dependsOn :: Lens.Lens' SubmitJob (Prelude.Maybe [JobDependency])+submitJob_dependsOn = Lens.lens (\SubmitJob' {dependsOn} -> dependsOn) (\s@SubmitJob' {} a -> s {dependsOn = a} :: SubmitJob) Prelude.. Lens.mapping Lens.coerced++-- | 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.+submitJob_eksPropertiesOverride :: Lens.Lens' SubmitJob (Prelude.Maybe EksPropertiesOverride)+submitJob_eksPropertiesOverride = Lens.lens (\SubmitJob' {eksPropertiesOverride} -> eksPropertiesOverride) (\s@SubmitJob' {} a -> s {eksPropertiesOverride = a} :: SubmitJob)++-- | 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.+submitJob_nodeOverrides :: Lens.Lens' SubmitJob (Prelude.Maybe NodeOverrides)+submitJob_nodeOverrides = Lens.lens (\SubmitJob' {nodeOverrides} -> nodeOverrides) (\s@SubmitJob' {} a -> s {nodeOverrides = a} :: SubmitJob)++-- | 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.+submitJob_parameters :: Lens.Lens' SubmitJob (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+submitJob_parameters = Lens.lens (\SubmitJob' {parameters} -> parameters) (\s@SubmitJob' {} a -> s {parameters = a} :: SubmitJob) Prelude.. Lens.mapping Lens.coerced++-- | 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.+submitJob_propagateTags :: Lens.Lens' SubmitJob (Prelude.Maybe Prelude.Bool)+submitJob_propagateTags = Lens.lens (\SubmitJob' {propagateTags} -> propagateTags) (\s@SubmitJob' {} a -> s {propagateTags = a} :: SubmitJob)++-- | 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.+submitJob_retryStrategy :: Lens.Lens' SubmitJob (Prelude.Maybe RetryStrategy)+submitJob_retryStrategy = Lens.lens (\SubmitJob' {retryStrategy} -> retryStrategy) (\s@SubmitJob' {} a -> s {retryStrategy = a} :: SubmitJob)++-- | 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.+submitJob_schedulingPriorityOverride :: Lens.Lens' SubmitJob (Prelude.Maybe Prelude.Int)+submitJob_schedulingPriorityOverride = Lens.lens (\SubmitJob' {schedulingPriorityOverride} -> schedulingPriorityOverride) (\s@SubmitJob' {} a -> s {schedulingPriorityOverride = a} :: SubmitJob)++-- | The share identifier for the job. If the job queue doesn\'t have a+-- scheduling policy, then this parameter must not be specified. If the job+-- queue has a scheduling policy, then this parameter must be specified.+submitJob_shareIdentifier :: Lens.Lens' SubmitJob (Prelude.Maybe Prelude.Text)+submitJob_shareIdentifier = Lens.lens (\SubmitJob' {shareIdentifier} -> shareIdentifier) (\s@SubmitJob' {} a -> s {shareIdentifier = a} :: SubmitJob)++-- | 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+-- <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html Tagging Amazon Web Services Resources>+-- in /Amazon Web Services General Reference/.+submitJob_tags :: Lens.Lens' SubmitJob (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+submitJob_tags = Lens.lens (\SubmitJob' {tags} -> tags) (\s@SubmitJob' {} a -> s {tags = a} :: SubmitJob) Prelude.. Lens.mapping Lens.coerced++-- | 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+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/job_timeouts.html Job Timeouts>+-- in the /Amazon Elastic Container Service Developer Guide/.+submitJob_timeout :: Lens.Lens' SubmitJob (Prelude.Maybe JobTimeout)+submitJob_timeout = Lens.lens (\SubmitJob' {timeout} -> timeout) (\s@SubmitJob' {} a -> s {timeout = a} :: SubmitJob)++-- | 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 (_).+submitJob_jobName :: Lens.Lens' SubmitJob Prelude.Text+submitJob_jobName = Lens.lens (\SubmitJob' {jobName} -> jobName) (\s@SubmitJob' {} a -> s {jobName = a} :: SubmitJob)++-- | The job queue where the job is submitted. You can specify either the+-- name or the Amazon Resource Name (ARN) of the queue.+submitJob_jobQueue :: Lens.Lens' SubmitJob Prelude.Text+submitJob_jobQueue = Lens.lens (\SubmitJob' {jobQueue} -> jobQueue) (\s@SubmitJob' {} a -> s {jobQueue = a} :: SubmitJob)++-- | The job definition used by this job. This value can be one of @name@,+-- @name:revision@, or the Amazon Resource Name (ARN) for the job+-- definition. If @name@ is specified without a revision then the latest+-- active revision is used.+submitJob_jobDefinition :: Lens.Lens' SubmitJob Prelude.Text+submitJob_jobDefinition = Lens.lens (\SubmitJob' {jobDefinition} -> jobDefinition) (\s@SubmitJob' {} a -> s {jobDefinition = a} :: SubmitJob)++instance Core.AWSRequest SubmitJob where+ type AWSResponse SubmitJob = SubmitJobResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ SubmitJobResponse'+ Prelude.<$> (x Data..?> "jobArn")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ Prelude.<*> (x Data..:> "jobName")+ Prelude.<*> (x Data..:> "jobId")+ )++instance Prelude.Hashable SubmitJob where+ hashWithSalt _salt SubmitJob' {..} =+ _salt+ `Prelude.hashWithSalt` arrayProperties+ `Prelude.hashWithSalt` containerOverrides+ `Prelude.hashWithSalt` dependsOn+ `Prelude.hashWithSalt` eksPropertiesOverride+ `Prelude.hashWithSalt` nodeOverrides+ `Prelude.hashWithSalt` parameters+ `Prelude.hashWithSalt` propagateTags+ `Prelude.hashWithSalt` retryStrategy+ `Prelude.hashWithSalt` schedulingPriorityOverride+ `Prelude.hashWithSalt` shareIdentifier+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` timeout+ `Prelude.hashWithSalt` jobName+ `Prelude.hashWithSalt` jobQueue+ `Prelude.hashWithSalt` jobDefinition++instance Prelude.NFData SubmitJob where+ rnf SubmitJob' {..} =+ Prelude.rnf arrayProperties+ `Prelude.seq` Prelude.rnf containerOverrides+ `Prelude.seq` Prelude.rnf dependsOn+ `Prelude.seq` Prelude.rnf eksPropertiesOverride+ `Prelude.seq` Prelude.rnf nodeOverrides+ `Prelude.seq` Prelude.rnf parameters+ `Prelude.seq` Prelude.rnf propagateTags+ `Prelude.seq` Prelude.rnf retryStrategy+ `Prelude.seq` Prelude.rnf schedulingPriorityOverride+ `Prelude.seq` Prelude.rnf shareIdentifier+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf timeout+ `Prelude.seq` Prelude.rnf jobName+ `Prelude.seq` Prelude.rnf jobQueue+ `Prelude.seq` Prelude.rnf jobDefinition++instance Data.ToHeaders SubmitJob where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON SubmitJob where+ toJSON SubmitJob' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("arrayProperties" Data..=)+ Prelude.<$> arrayProperties,+ ("containerOverrides" Data..=)+ Prelude.<$> containerOverrides,+ ("dependsOn" Data..=) Prelude.<$> dependsOn,+ ("eksPropertiesOverride" Data..=)+ Prelude.<$> eksPropertiesOverride,+ ("nodeOverrides" Data..=) Prelude.<$> nodeOverrides,+ ("parameters" Data..=) Prelude.<$> parameters,+ ("propagateTags" Data..=) Prelude.<$> propagateTags,+ ("retryStrategy" Data..=) Prelude.<$> retryStrategy,+ ("schedulingPriorityOverride" Data..=)+ Prelude.<$> schedulingPriorityOverride,+ ("shareIdentifier" Data..=)+ Prelude.<$> shareIdentifier,+ ("tags" Data..=) Prelude.<$> tags,+ ("timeout" Data..=) Prelude.<$> timeout,+ Prelude.Just ("jobName" Data..= jobName),+ Prelude.Just ("jobQueue" Data..= jobQueue),+ Prelude.Just+ ("jobDefinition" Data..= jobDefinition)+ ]+ )++instance Data.ToPath SubmitJob where+ toPath = Prelude.const "/v1/submitjob"++instance Data.ToQuery SubmitJob where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newSubmitJobResponse' smart constructor.+data SubmitJobResponse = SubmitJobResponse'+ { -- | The Amazon Resource Name (ARN) for the job.+ jobArn :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int,+ -- | The name of the job.+ jobName :: Prelude.Text,+ -- | The unique identifier for the job.+ jobId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SubmitJobResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'jobArn', 'submitJobResponse_jobArn' - The Amazon Resource Name (ARN) for the job.+--+-- 'httpStatus', 'submitJobResponse_httpStatus' - The response's http status code.+--+-- 'jobName', 'submitJobResponse_jobName' - The name of the job.+--+-- 'jobId', 'submitJobResponse_jobId' - The unique identifier for the job.+newSubmitJobResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ -- | 'jobName'+ Prelude.Text ->+ -- | 'jobId'+ Prelude.Text ->+ SubmitJobResponse+newSubmitJobResponse pHttpStatus_ pJobName_ pJobId_ =+ SubmitJobResponse'+ { jobArn = Prelude.Nothing,+ httpStatus = pHttpStatus_,+ jobName = pJobName_,+ jobId = pJobId_+ }++-- | The Amazon Resource Name (ARN) for the job.+submitJobResponse_jobArn :: Lens.Lens' SubmitJobResponse (Prelude.Maybe Prelude.Text)+submitJobResponse_jobArn = Lens.lens (\SubmitJobResponse' {jobArn} -> jobArn) (\s@SubmitJobResponse' {} a -> s {jobArn = a} :: SubmitJobResponse)++-- | The response's http status code.+submitJobResponse_httpStatus :: Lens.Lens' SubmitJobResponse Prelude.Int+submitJobResponse_httpStatus = Lens.lens (\SubmitJobResponse' {httpStatus} -> httpStatus) (\s@SubmitJobResponse' {} a -> s {httpStatus = a} :: SubmitJobResponse)++-- | The name of the job.+submitJobResponse_jobName :: Lens.Lens' SubmitJobResponse Prelude.Text+submitJobResponse_jobName = Lens.lens (\SubmitJobResponse' {jobName} -> jobName) (\s@SubmitJobResponse' {} a -> s {jobName = a} :: SubmitJobResponse)++-- | The unique identifier for the job.+submitJobResponse_jobId :: Lens.Lens' SubmitJobResponse Prelude.Text+submitJobResponse_jobId = Lens.lens (\SubmitJobResponse' {jobId} -> jobId) (\s@SubmitJobResponse' {} a -> s {jobId = a} :: SubmitJobResponse)++instance Prelude.NFData SubmitJobResponse where+ rnf SubmitJobResponse' {..} =+ Prelude.rnf jobArn+ `Prelude.seq` Prelude.rnf httpStatus+ `Prelude.seq` Prelude.rnf jobName+ `Prelude.seq` Prelude.rnf jobId
+ gen/Amazonka/Batch/TagResource.hs view
@@ -0,0 +1,193 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.TagResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- 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.+module Amazonka.Batch.TagResource+ ( -- * Creating a Request+ TagResource (..),+ newTagResource,++ -- * Request Lenses+ tagResource_resourceArn,+ tagResource_tags,++ -- * Destructuring the Response+ TagResourceResponse (..),+ newTagResourceResponse,++ -- * Response Lenses+ tagResourceResponse_httpStatus,+ )+where++import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains the parameters for @TagResource@.+--+-- /See:/ 'newTagResource' smart constructor.+data TagResource = TagResource'+ { -- | 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 :: Prelude.Text,+ -- | 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+ -- <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html Tagging Amazon Web Services Resources>+ -- in /Amazon Web Services General Reference/.+ tags :: Prelude.HashMap Prelude.Text Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TagResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceArn', 'tagResource_resourceArn' - 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.+--+-- 'tags', 'tagResource_tags' - 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+-- <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html Tagging Amazon Web Services Resources>+-- in /Amazon Web Services General Reference/.+newTagResource ::+ -- | 'resourceArn'+ Prelude.Text ->+ TagResource+newTagResource pResourceArn_ =+ TagResource'+ { resourceArn = pResourceArn_,+ tags = Prelude.mempty+ }++-- | 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.+tagResource_resourceArn :: Lens.Lens' TagResource Prelude.Text+tagResource_resourceArn = Lens.lens (\TagResource' {resourceArn} -> resourceArn) (\s@TagResource' {} a -> s {resourceArn = a} :: TagResource)++-- | 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+-- <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html Tagging Amazon Web Services Resources>+-- in /Amazon Web Services General Reference/.+tagResource_tags :: Lens.Lens' TagResource (Prelude.HashMap Prelude.Text Prelude.Text)+tagResource_tags = Lens.lens (\TagResource' {tags} -> tags) (\s@TagResource' {} a -> s {tags = a} :: TagResource) Prelude.. Lens.coerced++instance Core.AWSRequest TagResource where+ type AWSResponse TagResource = TagResourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ TagResourceResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable TagResource where+ hashWithSalt _salt TagResource' {..} =+ _salt+ `Prelude.hashWithSalt` resourceArn+ `Prelude.hashWithSalt` tags++instance Prelude.NFData TagResource where+ rnf TagResource' {..} =+ Prelude.rnf resourceArn+ `Prelude.seq` Prelude.rnf tags++instance Data.ToHeaders TagResource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON TagResource where+ toJSON TagResource' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("tags" Data..= tags)]+ )++instance Data.ToPath TagResource where+ toPath TagResource' {..} =+ Prelude.mconcat+ ["/v1/tags/", Data.toBS resourceArn]++instance Data.ToQuery TagResource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newTagResourceResponse' smart constructor.+data TagResourceResponse = TagResourceResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TagResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'tagResourceResponse_httpStatus' - The response's http status code.+newTagResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ TagResourceResponse+newTagResourceResponse pHttpStatus_ =+ TagResourceResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+tagResourceResponse_httpStatus :: Lens.Lens' TagResourceResponse Prelude.Int+tagResourceResponse_httpStatus = Lens.lens (\TagResourceResponse' {httpStatus} -> httpStatus) (\s@TagResourceResponse' {} a -> s {httpStatus = a} :: TagResourceResponse)++instance Prelude.NFData TagResourceResponse where+ rnf TagResourceResponse' {..} = Prelude.rnf httpStatus
+ gen/Amazonka/Batch/TerminateJob.hs view
@@ -0,0 +1,174 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.TerminateJob+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- 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.+module Amazonka.Batch.TerminateJob+ ( -- * Creating a Request+ TerminateJob (..),+ newTerminateJob,++ -- * Request Lenses+ terminateJob_jobId,+ terminateJob_reason,++ -- * Destructuring the Response+ TerminateJobResponse (..),+ newTerminateJobResponse,++ -- * Response Lenses+ terminateJobResponse_httpStatus,+ )+where++import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains the parameters for @TerminateJob@.+--+-- /See:/ 'newTerminateJob' smart constructor.+data TerminateJob = TerminateJob'+ { -- | The Batch job ID of the job to terminate.+ jobId :: Prelude.Text,+ -- | 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 :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TerminateJob' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'jobId', 'terminateJob_jobId' - The Batch job ID of the job to terminate.+--+-- 'reason', 'terminateJob_reason' - 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.+newTerminateJob ::+ -- | 'jobId'+ Prelude.Text ->+ -- | 'reason'+ Prelude.Text ->+ TerminateJob+newTerminateJob pJobId_ pReason_ =+ TerminateJob' {jobId = pJobId_, reason = pReason_}++-- | The Batch job ID of the job to terminate.+terminateJob_jobId :: Lens.Lens' TerminateJob Prelude.Text+terminateJob_jobId = Lens.lens (\TerminateJob' {jobId} -> jobId) (\s@TerminateJob' {} a -> s {jobId = a} :: TerminateJob)++-- | 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.+terminateJob_reason :: Lens.Lens' TerminateJob Prelude.Text+terminateJob_reason = Lens.lens (\TerminateJob' {reason} -> reason) (\s@TerminateJob' {} a -> s {reason = a} :: TerminateJob)++instance Core.AWSRequest TerminateJob where+ type AWSResponse TerminateJob = TerminateJobResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ TerminateJobResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable TerminateJob where+ hashWithSalt _salt TerminateJob' {..} =+ _salt+ `Prelude.hashWithSalt` jobId+ `Prelude.hashWithSalt` reason++instance Prelude.NFData TerminateJob where+ rnf TerminateJob' {..} =+ Prelude.rnf jobId `Prelude.seq` Prelude.rnf reason++instance Data.ToHeaders TerminateJob where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON TerminateJob where+ toJSON TerminateJob' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("jobId" Data..= jobId),+ Prelude.Just ("reason" Data..= reason)+ ]+ )++instance Data.ToPath TerminateJob where+ toPath = Prelude.const "/v1/terminatejob"++instance Data.ToQuery TerminateJob where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newTerminateJobResponse' smart constructor.+data TerminateJobResponse = TerminateJobResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TerminateJobResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'terminateJobResponse_httpStatus' - The response's http status code.+newTerminateJobResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ TerminateJobResponse+newTerminateJobResponse pHttpStatus_ =+ TerminateJobResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+terminateJobResponse_httpStatus :: Lens.Lens' TerminateJobResponse Prelude.Int+terminateJobResponse_httpStatus = Lens.lens (\TerminateJobResponse' {httpStatus} -> httpStatus) (\s@TerminateJobResponse' {} a -> s {httpStatus = a} :: TerminateJobResponse)++instance Prelude.NFData TerminateJobResponse where+ rnf TerminateJobResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/Batch/Types.hs view
@@ -0,0 +1,897 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types+ ( -- * Service Configuration+ defaultService,++ -- * Errors+ _ClientException,+ _ServerException,++ -- * ArrayJobDependency+ ArrayJobDependency (..),++ -- * AssignPublicIp+ AssignPublicIp (..),++ -- * CEState+ CEState (..),++ -- * CEStatus+ CEStatus (..),++ -- * CEType+ CEType (..),++ -- * CRAllocationStrategy+ CRAllocationStrategy (..),++ -- * CRType+ CRType (..),++ -- * CRUpdateAllocationStrategy+ CRUpdateAllocationStrategy (..),++ -- * DeviceCgroupPermission+ DeviceCgroupPermission (..),++ -- * EFSAuthorizationConfigIAM+ EFSAuthorizationConfigIAM (..),++ -- * EFSTransitEncryption+ EFSTransitEncryption (..),++ -- * JQState+ JQState (..),++ -- * JQStatus+ JQStatus (..),++ -- * JobDefinitionType+ JobDefinitionType (..),++ -- * JobStatus+ JobStatus (..),++ -- * LogDriver+ LogDriver (..),++ -- * OrchestrationType+ OrchestrationType (..),++ -- * PlatformCapability+ PlatformCapability (..),++ -- * ResourceType+ ResourceType (..),++ -- * RetryAction+ RetryAction (..),++ -- * ArrayProperties+ ArrayProperties (..),+ newArrayProperties,+ arrayProperties_size,++ -- * ArrayPropertiesDetail+ ArrayPropertiesDetail (..),+ newArrayPropertiesDetail,+ arrayPropertiesDetail_index,+ arrayPropertiesDetail_size,+ arrayPropertiesDetail_statusSummary,++ -- * ArrayPropertiesSummary+ ArrayPropertiesSummary (..),+ newArrayPropertiesSummary,+ arrayPropertiesSummary_index,+ arrayPropertiesSummary_size,++ -- * AttemptContainerDetail+ AttemptContainerDetail (..),+ newAttemptContainerDetail,+ attemptContainerDetail_containerInstanceArn,+ attemptContainerDetail_exitCode,+ attemptContainerDetail_logStreamName,+ attemptContainerDetail_networkInterfaces,+ attemptContainerDetail_reason,+ attemptContainerDetail_taskArn,++ -- * AttemptDetail+ AttemptDetail (..),+ newAttemptDetail,+ attemptDetail_container,+ attemptDetail_startedAt,+ attemptDetail_statusReason,+ attemptDetail_stoppedAt,++ -- * ComputeEnvironmentDetail+ ComputeEnvironmentDetail (..),+ newComputeEnvironmentDetail,+ computeEnvironmentDetail_computeResources,+ computeEnvironmentDetail_containerOrchestrationType,+ computeEnvironmentDetail_ecsClusterArn,+ computeEnvironmentDetail_eksConfiguration,+ computeEnvironmentDetail_serviceRole,+ computeEnvironmentDetail_state,+ computeEnvironmentDetail_status,+ computeEnvironmentDetail_statusReason,+ computeEnvironmentDetail_tags,+ computeEnvironmentDetail_type,+ computeEnvironmentDetail_unmanagedvCpus,+ computeEnvironmentDetail_updatePolicy,+ computeEnvironmentDetail_uuid,+ computeEnvironmentDetail_computeEnvironmentName,+ computeEnvironmentDetail_computeEnvironmentArn,++ -- * ComputeEnvironmentOrder+ ComputeEnvironmentOrder (..),+ newComputeEnvironmentOrder,+ computeEnvironmentOrder_order,+ computeEnvironmentOrder_computeEnvironment,++ -- * ComputeResource+ ComputeResource (..),+ newComputeResource,+ computeResource_allocationStrategy,+ computeResource_bidPercentage,+ computeResource_desiredvCpus,+ computeResource_ec2Configuration,+ computeResource_ec2KeyPair,+ computeResource_imageId,+ computeResource_instanceRole,+ computeResource_instanceTypes,+ computeResource_launchTemplate,+ computeResource_minvCpus,+ computeResource_placementGroup,+ computeResource_securityGroupIds,+ computeResource_spotIamFleetRole,+ computeResource_tags,+ computeResource_type,+ computeResource_maxvCpus,+ computeResource_subnets,++ -- * ComputeResourceUpdate+ ComputeResourceUpdate (..),+ newComputeResourceUpdate,+ computeResourceUpdate_allocationStrategy,+ computeResourceUpdate_bidPercentage,+ computeResourceUpdate_desiredvCpus,+ computeResourceUpdate_ec2Configuration,+ computeResourceUpdate_ec2KeyPair,+ computeResourceUpdate_imageId,+ computeResourceUpdate_instanceRole,+ computeResourceUpdate_instanceTypes,+ computeResourceUpdate_launchTemplate,+ computeResourceUpdate_maxvCpus,+ computeResourceUpdate_minvCpus,+ computeResourceUpdate_placementGroup,+ computeResourceUpdate_securityGroupIds,+ computeResourceUpdate_subnets,+ computeResourceUpdate_tags,+ computeResourceUpdate_type,+ computeResourceUpdate_updateToLatestImageVersion,++ -- * ContainerDetail+ ContainerDetail (..),+ newContainerDetail,+ containerDetail_command,+ containerDetail_containerInstanceArn,+ containerDetail_environment,+ containerDetail_executionRoleArn,+ containerDetail_exitCode,+ containerDetail_fargatePlatformConfiguration,+ containerDetail_image,+ containerDetail_instanceType,+ containerDetail_jobRoleArn,+ containerDetail_linuxParameters,+ containerDetail_logConfiguration,+ containerDetail_logStreamName,+ containerDetail_memory,+ containerDetail_mountPoints,+ containerDetail_networkConfiguration,+ containerDetail_networkInterfaces,+ containerDetail_privileged,+ containerDetail_readonlyRootFilesystem,+ containerDetail_reason,+ containerDetail_resourceRequirements,+ containerDetail_secrets,+ containerDetail_taskArn,+ containerDetail_ulimits,+ containerDetail_user,+ containerDetail_vcpus,+ containerDetail_volumes,++ -- * ContainerOverrides+ ContainerOverrides (..),+ newContainerOverrides,+ containerOverrides_command,+ containerOverrides_environment,+ containerOverrides_instanceType,+ containerOverrides_memory,+ containerOverrides_resourceRequirements,+ containerOverrides_vcpus,++ -- * ContainerProperties+ ContainerProperties (..),+ newContainerProperties,+ containerProperties_command,+ containerProperties_environment,+ containerProperties_executionRoleArn,+ containerProperties_fargatePlatformConfiguration,+ containerProperties_image,+ containerProperties_instanceType,+ containerProperties_jobRoleArn,+ containerProperties_linuxParameters,+ containerProperties_logConfiguration,+ containerProperties_memory,+ containerProperties_mountPoints,+ containerProperties_networkConfiguration,+ containerProperties_privileged,+ containerProperties_readonlyRootFilesystem,+ containerProperties_resourceRequirements,+ containerProperties_secrets,+ containerProperties_ulimits,+ containerProperties_user,+ containerProperties_vcpus,+ containerProperties_volumes,++ -- * ContainerSummary+ ContainerSummary (..),+ newContainerSummary,+ containerSummary_exitCode,+ containerSummary_reason,++ -- * Device+ Device (..),+ newDevice,+ device_containerPath,+ device_permissions,+ device_hostPath,++ -- * EFSAuthorizationConfig+ EFSAuthorizationConfig (..),+ newEFSAuthorizationConfig,+ eFSAuthorizationConfig_accessPointId,+ eFSAuthorizationConfig_iam,++ -- * EFSVolumeConfiguration+ EFSVolumeConfiguration (..),+ newEFSVolumeConfiguration,+ eFSVolumeConfiguration_authorizationConfig,+ eFSVolumeConfiguration_rootDirectory,+ eFSVolumeConfiguration_transitEncryption,+ eFSVolumeConfiguration_transitEncryptionPort,+ eFSVolumeConfiguration_fileSystemId,++ -- * Ec2Configuration+ Ec2Configuration (..),+ newEc2Configuration,+ ec2Configuration_imageIdOverride,+ ec2Configuration_imageKubernetesVersion,+ ec2Configuration_imageType,++ -- * EksAttemptContainerDetail+ EksAttemptContainerDetail (..),+ newEksAttemptContainerDetail,+ eksAttemptContainerDetail_exitCode,+ eksAttemptContainerDetail_reason,++ -- * EksAttemptDetail+ EksAttemptDetail (..),+ newEksAttemptDetail,+ eksAttemptDetail_containers,+ eksAttemptDetail_nodeName,+ eksAttemptDetail_podName,+ eksAttemptDetail_startedAt,+ eksAttemptDetail_statusReason,+ eksAttemptDetail_stoppedAt,++ -- * EksConfiguration+ EksConfiguration (..),+ newEksConfiguration,+ eksConfiguration_eksClusterArn,+ eksConfiguration_kubernetesNamespace,++ -- * EksContainer+ EksContainer (..),+ newEksContainer,+ eksContainer_args,+ eksContainer_command,+ eksContainer_env,+ eksContainer_imagePullPolicy,+ eksContainer_name,+ eksContainer_resources,+ eksContainer_securityContext,+ eksContainer_volumeMounts,+ eksContainer_image,++ -- * EksContainerDetail+ EksContainerDetail (..),+ newEksContainerDetail,+ eksContainerDetail_args,+ eksContainerDetail_command,+ eksContainerDetail_env,+ eksContainerDetail_exitCode,+ eksContainerDetail_image,+ eksContainerDetail_imagePullPolicy,+ eksContainerDetail_name,+ eksContainerDetail_reason,+ eksContainerDetail_resources,+ eksContainerDetail_securityContext,+ eksContainerDetail_volumeMounts,++ -- * EksContainerEnvironmentVariable+ EksContainerEnvironmentVariable (..),+ newEksContainerEnvironmentVariable,+ eksContainerEnvironmentVariable_value,+ eksContainerEnvironmentVariable_name,++ -- * EksContainerOverride+ EksContainerOverride (..),+ newEksContainerOverride,+ eksContainerOverride_args,+ eksContainerOverride_command,+ eksContainerOverride_env,+ eksContainerOverride_image,+ eksContainerOverride_resources,++ -- * EksContainerResourceRequirements+ EksContainerResourceRequirements (..),+ newEksContainerResourceRequirements,+ eksContainerResourceRequirements_limits,+ eksContainerResourceRequirements_requests,++ -- * EksContainerSecurityContext+ EksContainerSecurityContext (..),+ newEksContainerSecurityContext,+ eksContainerSecurityContext_privileged,+ eksContainerSecurityContext_readOnlyRootFilesystem,+ eksContainerSecurityContext_runAsGroup,+ eksContainerSecurityContext_runAsNonRoot,+ eksContainerSecurityContext_runAsUser,++ -- * EksContainerVolumeMount+ EksContainerVolumeMount (..),+ newEksContainerVolumeMount,+ eksContainerVolumeMount_mountPath,+ eksContainerVolumeMount_name,+ eksContainerVolumeMount_readOnly,++ -- * EksEmptyDir+ EksEmptyDir (..),+ newEksEmptyDir,+ eksEmptyDir_medium,+ eksEmptyDir_sizeLimit,++ -- * EksHostPath+ EksHostPath (..),+ newEksHostPath,+ eksHostPath_path,++ -- * EksPodProperties+ EksPodProperties (..),+ newEksPodProperties,+ eksPodProperties_containers,+ eksPodProperties_dnsPolicy,+ eksPodProperties_hostNetwork,+ eksPodProperties_serviceAccountName,+ eksPodProperties_volumes,++ -- * EksPodPropertiesDetail+ EksPodPropertiesDetail (..),+ newEksPodPropertiesDetail,+ eksPodPropertiesDetail_containers,+ eksPodPropertiesDetail_dnsPolicy,+ eksPodPropertiesDetail_hostNetwork,+ eksPodPropertiesDetail_nodeName,+ eksPodPropertiesDetail_podName,+ eksPodPropertiesDetail_serviceAccountName,+ eksPodPropertiesDetail_volumes,++ -- * EksPodPropertiesOverride+ EksPodPropertiesOverride (..),+ newEksPodPropertiesOverride,+ eksPodPropertiesOverride_containers,++ -- * EksProperties+ EksProperties (..),+ newEksProperties,+ eksProperties_podProperties,++ -- * EksPropertiesDetail+ EksPropertiesDetail (..),+ newEksPropertiesDetail,+ eksPropertiesDetail_podProperties,++ -- * EksPropertiesOverride+ EksPropertiesOverride (..),+ newEksPropertiesOverride,+ eksPropertiesOverride_podProperties,++ -- * EksSecret+ EksSecret (..),+ newEksSecret,+ eksSecret_optional,+ eksSecret_secretName,++ -- * EksVolume+ EksVolume (..),+ newEksVolume,+ eksVolume_emptyDir,+ eksVolume_hostPath,+ eksVolume_secret,+ eksVolume_name,++ -- * EvaluateOnExit+ EvaluateOnExit (..),+ newEvaluateOnExit,+ evaluateOnExit_onExitCode,+ evaluateOnExit_onReason,+ evaluateOnExit_onStatusReason,+ evaluateOnExit_action,++ -- * FairsharePolicy+ FairsharePolicy (..),+ newFairsharePolicy,+ fairsharePolicy_computeReservation,+ fairsharePolicy_shareDecaySeconds,+ fairsharePolicy_shareDistribution,++ -- * FargatePlatformConfiguration+ FargatePlatformConfiguration (..),+ newFargatePlatformConfiguration,+ fargatePlatformConfiguration_platformVersion,++ -- * Host+ Host (..),+ newHost,+ host_sourcePath,++ -- * JobDefinition+ JobDefinition (..),+ newJobDefinition,+ jobDefinition_containerOrchestrationType,+ jobDefinition_containerProperties,+ jobDefinition_eksProperties,+ jobDefinition_nodeProperties,+ jobDefinition_parameters,+ jobDefinition_platformCapabilities,+ jobDefinition_propagateTags,+ jobDefinition_retryStrategy,+ jobDefinition_schedulingPriority,+ jobDefinition_status,+ jobDefinition_tags,+ jobDefinition_timeout,+ jobDefinition_jobDefinitionName,+ jobDefinition_jobDefinitionArn,+ jobDefinition_revision,+ jobDefinition_type,++ -- * JobDependency+ JobDependency (..),+ newJobDependency,+ jobDependency_jobId,+ jobDependency_type,++ -- * JobDetail+ JobDetail (..),+ newJobDetail,+ jobDetail_arrayProperties,+ jobDetail_attempts,+ jobDetail_container,+ jobDetail_createdAt,+ jobDetail_dependsOn,+ jobDetail_eksAttempts,+ jobDetail_eksProperties,+ jobDetail_isCancelled,+ jobDetail_isTerminated,+ jobDetail_jobArn,+ jobDetail_nodeDetails,+ jobDetail_nodeProperties,+ jobDetail_parameters,+ jobDetail_platformCapabilities,+ jobDetail_propagateTags,+ jobDetail_retryStrategy,+ jobDetail_schedulingPriority,+ jobDetail_shareIdentifier,+ jobDetail_startedAt,+ jobDetail_statusReason,+ jobDetail_stoppedAt,+ jobDetail_tags,+ jobDetail_timeout,+ jobDetail_jobName,+ jobDetail_jobId,+ jobDetail_jobQueue,+ jobDetail_status,+ jobDetail_jobDefinition,++ -- * JobQueueDetail+ JobQueueDetail (..),+ newJobQueueDetail,+ jobQueueDetail_schedulingPolicyArn,+ jobQueueDetail_status,+ jobQueueDetail_statusReason,+ jobQueueDetail_tags,+ jobQueueDetail_jobQueueName,+ jobQueueDetail_jobQueueArn,+ jobQueueDetail_state,+ jobQueueDetail_priority,+ jobQueueDetail_computeEnvironmentOrder,++ -- * JobSummary+ JobSummary (..),+ newJobSummary,+ jobSummary_arrayProperties,+ jobSummary_container,+ jobSummary_createdAt,+ jobSummary_jobArn,+ jobSummary_jobDefinition,+ jobSummary_nodeProperties,+ jobSummary_startedAt,+ jobSummary_status,+ jobSummary_statusReason,+ jobSummary_stoppedAt,+ jobSummary_jobId,+ jobSummary_jobName,++ -- * JobTimeout+ JobTimeout (..),+ newJobTimeout,+ jobTimeout_attemptDurationSeconds,++ -- * KeyValuePair+ KeyValuePair (..),+ newKeyValuePair,+ keyValuePair_name,+ keyValuePair_value,++ -- * KeyValuesPair+ KeyValuesPair (..),+ newKeyValuesPair,+ keyValuesPair_name,+ keyValuesPair_values,++ -- * LaunchTemplateSpecification+ LaunchTemplateSpecification (..),+ newLaunchTemplateSpecification,+ launchTemplateSpecification_launchTemplateId,+ launchTemplateSpecification_launchTemplateName,+ launchTemplateSpecification_version,++ -- * LinuxParameters+ LinuxParameters (..),+ newLinuxParameters,+ linuxParameters_devices,+ linuxParameters_initProcessEnabled,+ linuxParameters_maxSwap,+ linuxParameters_sharedMemorySize,+ linuxParameters_swappiness,+ linuxParameters_tmpfs,++ -- * LogConfiguration+ LogConfiguration (..),+ newLogConfiguration,+ logConfiguration_options,+ logConfiguration_secretOptions,+ logConfiguration_logDriver,++ -- * MountPoint+ MountPoint (..),+ newMountPoint,+ mountPoint_containerPath,+ mountPoint_readOnly,+ mountPoint_sourceVolume,++ -- * NetworkConfiguration+ NetworkConfiguration (..),+ newNetworkConfiguration,+ networkConfiguration_assignPublicIp,++ -- * NetworkInterface+ NetworkInterface (..),+ newNetworkInterface,+ networkInterface_attachmentId,+ networkInterface_ipv6Address,+ networkInterface_privateIpv4Address,++ -- * NodeDetails+ NodeDetails (..),+ newNodeDetails,+ nodeDetails_isMainNode,+ nodeDetails_nodeIndex,++ -- * NodeOverrides+ NodeOverrides (..),+ newNodeOverrides,+ nodeOverrides_nodePropertyOverrides,+ nodeOverrides_numNodes,++ -- * NodeProperties+ NodeProperties (..),+ newNodeProperties,+ nodeProperties_numNodes,+ nodeProperties_mainNode,+ nodeProperties_nodeRangeProperties,++ -- * NodePropertiesSummary+ NodePropertiesSummary (..),+ newNodePropertiesSummary,+ nodePropertiesSummary_isMainNode,+ nodePropertiesSummary_nodeIndex,+ nodePropertiesSummary_numNodes,++ -- * NodePropertyOverride+ NodePropertyOverride (..),+ newNodePropertyOverride,+ nodePropertyOverride_containerOverrides,+ nodePropertyOverride_targetNodes,++ -- * NodeRangeProperty+ NodeRangeProperty (..),+ newNodeRangeProperty,+ nodeRangeProperty_container,+ nodeRangeProperty_targetNodes,++ -- * ResourceRequirement+ ResourceRequirement (..),+ newResourceRequirement,+ resourceRequirement_value,+ resourceRequirement_type,++ -- * RetryStrategy+ RetryStrategy (..),+ newRetryStrategy,+ retryStrategy_attempts,+ retryStrategy_evaluateOnExit,++ -- * SchedulingPolicyDetail+ SchedulingPolicyDetail (..),+ newSchedulingPolicyDetail,+ schedulingPolicyDetail_fairsharePolicy,+ schedulingPolicyDetail_tags,+ schedulingPolicyDetail_name,+ schedulingPolicyDetail_arn,++ -- * SchedulingPolicyListingDetail+ SchedulingPolicyListingDetail (..),+ newSchedulingPolicyListingDetail,+ schedulingPolicyListingDetail_arn,++ -- * Secret+ Secret (..),+ newSecret,+ secret_name,+ secret_valueFrom,++ -- * ShareAttributes+ ShareAttributes (..),+ newShareAttributes,+ shareAttributes_weightFactor,+ shareAttributes_shareIdentifier,++ -- * Tmpfs+ Tmpfs (..),+ newTmpfs,+ tmpfs_mountOptions,+ tmpfs_containerPath,+ tmpfs_size,++ -- * Ulimit+ Ulimit (..),+ newUlimit,+ ulimit_hardLimit,+ ulimit_name,+ ulimit_softLimit,++ -- * UpdatePolicy+ UpdatePolicy (..),+ newUpdatePolicy,+ updatePolicy_jobExecutionTimeoutMinutes,+ updatePolicy_terminateJobsOnUpdate,++ -- * Volume+ Volume (..),+ newVolume,+ volume_efsVolumeConfiguration,+ volume_host,+ volume_name,+ )+where++import Amazonka.Batch.Types.ArrayJobDependency+import Amazonka.Batch.Types.ArrayProperties+import Amazonka.Batch.Types.ArrayPropertiesDetail+import Amazonka.Batch.Types.ArrayPropertiesSummary+import Amazonka.Batch.Types.AssignPublicIp+import Amazonka.Batch.Types.AttemptContainerDetail+import Amazonka.Batch.Types.AttemptDetail+import Amazonka.Batch.Types.CEState+import Amazonka.Batch.Types.CEStatus+import Amazonka.Batch.Types.CEType+import Amazonka.Batch.Types.CRAllocationStrategy+import Amazonka.Batch.Types.CRType+import Amazonka.Batch.Types.CRUpdateAllocationStrategy+import Amazonka.Batch.Types.ComputeEnvironmentDetail+import Amazonka.Batch.Types.ComputeEnvironmentOrder+import Amazonka.Batch.Types.ComputeResource+import Amazonka.Batch.Types.ComputeResourceUpdate+import Amazonka.Batch.Types.ContainerDetail+import Amazonka.Batch.Types.ContainerOverrides+import Amazonka.Batch.Types.ContainerProperties+import Amazonka.Batch.Types.ContainerSummary+import Amazonka.Batch.Types.Device+import Amazonka.Batch.Types.DeviceCgroupPermission+import Amazonka.Batch.Types.EFSAuthorizationConfig+import Amazonka.Batch.Types.EFSAuthorizationConfigIAM+import Amazonka.Batch.Types.EFSTransitEncryption+import Amazonka.Batch.Types.EFSVolumeConfiguration+import Amazonka.Batch.Types.Ec2Configuration+import Amazonka.Batch.Types.EksAttemptContainerDetail+import Amazonka.Batch.Types.EksAttemptDetail+import Amazonka.Batch.Types.EksConfiguration+import Amazonka.Batch.Types.EksContainer+import Amazonka.Batch.Types.EksContainerDetail+import Amazonka.Batch.Types.EksContainerEnvironmentVariable+import Amazonka.Batch.Types.EksContainerOverride+import Amazonka.Batch.Types.EksContainerResourceRequirements+import Amazonka.Batch.Types.EksContainerSecurityContext+import Amazonka.Batch.Types.EksContainerVolumeMount+import Amazonka.Batch.Types.EksEmptyDir+import Amazonka.Batch.Types.EksHostPath+import Amazonka.Batch.Types.EksPodProperties+import Amazonka.Batch.Types.EksPodPropertiesDetail+import Amazonka.Batch.Types.EksPodPropertiesOverride+import Amazonka.Batch.Types.EksProperties+import Amazonka.Batch.Types.EksPropertiesDetail+import Amazonka.Batch.Types.EksPropertiesOverride+import Amazonka.Batch.Types.EksSecret+import Amazonka.Batch.Types.EksVolume+import Amazonka.Batch.Types.EvaluateOnExit+import Amazonka.Batch.Types.FairsharePolicy+import Amazonka.Batch.Types.FargatePlatformConfiguration+import Amazonka.Batch.Types.Host+import Amazonka.Batch.Types.JQState+import Amazonka.Batch.Types.JQStatus+import Amazonka.Batch.Types.JobDefinition+import Amazonka.Batch.Types.JobDefinitionType+import Amazonka.Batch.Types.JobDependency+import Amazonka.Batch.Types.JobDetail+import Amazonka.Batch.Types.JobQueueDetail+import Amazonka.Batch.Types.JobStatus+import Amazonka.Batch.Types.JobSummary+import Amazonka.Batch.Types.JobTimeout+import Amazonka.Batch.Types.KeyValuePair+import Amazonka.Batch.Types.KeyValuesPair+import Amazonka.Batch.Types.LaunchTemplateSpecification+import Amazonka.Batch.Types.LinuxParameters+import Amazonka.Batch.Types.LogConfiguration+import Amazonka.Batch.Types.LogDriver+import Amazonka.Batch.Types.MountPoint+import Amazonka.Batch.Types.NetworkConfiguration+import Amazonka.Batch.Types.NetworkInterface+import Amazonka.Batch.Types.NodeDetails+import Amazonka.Batch.Types.NodeOverrides+import Amazonka.Batch.Types.NodeProperties+import Amazonka.Batch.Types.NodePropertiesSummary+import Amazonka.Batch.Types.NodePropertyOverride+import Amazonka.Batch.Types.NodeRangeProperty+import Amazonka.Batch.Types.OrchestrationType+import Amazonka.Batch.Types.PlatformCapability+import Amazonka.Batch.Types.ResourceRequirement+import Amazonka.Batch.Types.ResourceType+import Amazonka.Batch.Types.RetryAction+import Amazonka.Batch.Types.RetryStrategy+import Amazonka.Batch.Types.SchedulingPolicyDetail+import Amazonka.Batch.Types.SchedulingPolicyListingDetail+import Amazonka.Batch.Types.Secret+import Amazonka.Batch.Types.ShareAttributes+import Amazonka.Batch.Types.Tmpfs+import Amazonka.Batch.Types.Ulimit+import Amazonka.Batch.Types.UpdatePolicy+import Amazonka.Batch.Types.Volume+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Sign.V4 as Sign++-- | API version @2016-08-10@ of the Amazon Batch SDK configuration.+defaultService :: Core.Service+defaultService =+ Core.Service+ { Core.abbrev = "Batch",+ Core.signer = Sign.v4,+ Core.endpointPrefix = "batch",+ Core.signingName = "batch",+ Core.version = "2016-08-10",+ Core.s3AddressingStyle = Core.S3AddressingStyleAuto,+ Core.endpoint = Core.defaultEndpoint defaultService,+ Core.timeout = Prelude.Just 70,+ Core.check = Core.statusSuccess,+ Core.error = Core.parseJSONError "Batch",+ Core.retry = retry+ }+ where+ retry =+ Core.Exponential+ { Core.base = 5.0e-2,+ Core.growth = 2,+ Core.attempts = 5,+ Core.check = check+ }+ check e+ | Lens.has (Core.hasStatus 502) e =+ Prelude.Just "bad_gateway"+ | Lens.has (Core.hasStatus 504) e =+ Prelude.Just "gateway_timeout"+ | Lens.has (Core.hasStatus 500) e =+ Prelude.Just "general_server_error"+ | Lens.has (Core.hasStatus 509) e =+ Prelude.Just "limit_exceeded"+ | Lens.has+ ( Core.hasCode "RequestThrottledException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "request_throttled_exception"+ | Lens.has (Core.hasStatus 503) e =+ Prelude.Just "service_unavailable"+ | Lens.has+ ( Core.hasCode "ThrottledException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throttled_exception"+ | Lens.has+ ( Core.hasCode "Throttling"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throttling"+ | Lens.has+ ( Core.hasCode "ThrottlingException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throttling_exception"+ | Lens.has+ ( Core.hasCode+ "ProvisionedThroughputExceededException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throughput_exceeded"+ | Lens.has (Core.hasStatus 429) e =+ Prelude.Just "too_many_requests"+ | Prelude.otherwise = Prelude.Nothing++-- | 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.+_ClientException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ClientException =+ Core._MatchServiceError+ defaultService+ "ClientException"+ Prelude.. Core.hasStatus 400++-- | These errors are usually caused by a server issue.+_ServerException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ServerException =+ Core._MatchServiceError+ defaultService+ "ServerException"+ Prelude.. Core.hasStatus 500
+ gen/Amazonka/Batch/Types/ArrayJobDependency.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.ArrayJobDependency+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.ArrayJobDependency+ ( ArrayJobDependency+ ( ..,+ ArrayJobDependency_N_TO_N,+ ArrayJobDependency_SEQUENTIAL+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ArrayJobDependency = ArrayJobDependency'+ { fromArrayJobDependency ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern ArrayJobDependency_N_TO_N :: ArrayJobDependency+pattern ArrayJobDependency_N_TO_N = ArrayJobDependency' "N_TO_N"++pattern ArrayJobDependency_SEQUENTIAL :: ArrayJobDependency+pattern ArrayJobDependency_SEQUENTIAL = ArrayJobDependency' "SEQUENTIAL"++{-# COMPLETE+ ArrayJobDependency_N_TO_N,+ ArrayJobDependency_SEQUENTIAL,+ ArrayJobDependency'+ #-}
+ gen/Amazonka/Batch/Types/ArrayProperties.hs view
@@ -0,0 +1,66 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.ArrayProperties+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.ArrayProperties where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that represents an Batch array job.+--+-- /See:/ 'newArrayProperties' smart constructor.+data ArrayProperties = ArrayProperties'+ { -- | The size of the array job.+ size :: Prelude.Maybe Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ArrayProperties' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'size', 'arrayProperties_size' - The size of the array job.+newArrayProperties ::+ ArrayProperties+newArrayProperties =+ ArrayProperties' {size = Prelude.Nothing}++-- | The size of the array job.+arrayProperties_size :: Lens.Lens' ArrayProperties (Prelude.Maybe Prelude.Int)+arrayProperties_size = Lens.lens (\ArrayProperties' {size} -> size) (\s@ArrayProperties' {} a -> s {size = a} :: ArrayProperties)++instance Prelude.Hashable ArrayProperties where+ hashWithSalt _salt ArrayProperties' {..} =+ _salt `Prelude.hashWithSalt` size++instance Prelude.NFData ArrayProperties where+ rnf ArrayProperties' {..} = Prelude.rnf size++instance Data.ToJSON ArrayProperties where+ toJSON ArrayProperties' {..} =+ Data.object+ ( Prelude.catMaybes+ [("size" Data..=) Prelude.<$> size]+ )
+ gen/Amazonka/Batch/Types/ArrayPropertiesDetail.hs view
@@ -0,0 +1,105 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.ArrayPropertiesDetail+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.ArrayPropertiesDetail where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that represents the array properties of a job.+--+-- /See:/ 'newArrayPropertiesDetail' smart constructor.+data ArrayPropertiesDetail = ArrayPropertiesDetail'+ { -- | The job index within the array that\'s associated with this job. This+ -- parameter is returned for array job children.+ index :: Prelude.Maybe Prelude.Int,+ -- | The size of the array job. This parameter is returned for parent array+ -- jobs.+ size :: Prelude.Maybe Prelude.Int,+ -- | A summary of the number of array job children in each available job+ -- status. This parameter is returned for parent array jobs.+ statusSummary :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Int)+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ArrayPropertiesDetail' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'index', 'arrayPropertiesDetail_index' - The job index within the array that\'s associated with this job. This+-- parameter is returned for array job children.+--+-- 'size', 'arrayPropertiesDetail_size' - The size of the array job. This parameter is returned for parent array+-- jobs.+--+-- 'statusSummary', 'arrayPropertiesDetail_statusSummary' - A summary of the number of array job children in each available job+-- status. This parameter is returned for parent array jobs.+newArrayPropertiesDetail ::+ ArrayPropertiesDetail+newArrayPropertiesDetail =+ ArrayPropertiesDetail'+ { index = Prelude.Nothing,+ size = Prelude.Nothing,+ statusSummary = Prelude.Nothing+ }++-- | The job index within the array that\'s associated with this job. This+-- parameter is returned for array job children.+arrayPropertiesDetail_index :: Lens.Lens' ArrayPropertiesDetail (Prelude.Maybe Prelude.Int)+arrayPropertiesDetail_index = Lens.lens (\ArrayPropertiesDetail' {index} -> index) (\s@ArrayPropertiesDetail' {} a -> s {index = a} :: ArrayPropertiesDetail)++-- | The size of the array job. This parameter is returned for parent array+-- jobs.+arrayPropertiesDetail_size :: Lens.Lens' ArrayPropertiesDetail (Prelude.Maybe Prelude.Int)+arrayPropertiesDetail_size = Lens.lens (\ArrayPropertiesDetail' {size} -> size) (\s@ArrayPropertiesDetail' {} a -> s {size = a} :: ArrayPropertiesDetail)++-- | A summary of the number of array job children in each available job+-- status. This parameter is returned for parent array jobs.+arrayPropertiesDetail_statusSummary :: Lens.Lens' ArrayPropertiesDetail (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Int))+arrayPropertiesDetail_statusSummary = Lens.lens (\ArrayPropertiesDetail' {statusSummary} -> statusSummary) (\s@ArrayPropertiesDetail' {} a -> s {statusSummary = a} :: ArrayPropertiesDetail) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON ArrayPropertiesDetail where+ parseJSON =+ Data.withObject+ "ArrayPropertiesDetail"+ ( \x ->+ ArrayPropertiesDetail'+ Prelude.<$> (x Data..:? "index")+ Prelude.<*> (x Data..:? "size")+ Prelude.<*> (x Data..:? "statusSummary" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable ArrayPropertiesDetail where+ hashWithSalt _salt ArrayPropertiesDetail' {..} =+ _salt+ `Prelude.hashWithSalt` index+ `Prelude.hashWithSalt` size+ `Prelude.hashWithSalt` statusSummary++instance Prelude.NFData ArrayPropertiesDetail where+ rnf ArrayPropertiesDetail' {..} =+ Prelude.rnf index+ `Prelude.seq` Prelude.rnf size+ `Prelude.seq` Prelude.rnf statusSummary
+ gen/Amazonka/Batch/Types/ArrayPropertiesSummary.hs view
@@ -0,0 +1,89 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.ArrayPropertiesSummary+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.ArrayPropertiesSummary where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that represents the array properties of a job.+--+-- /See:/ 'newArrayPropertiesSummary' smart constructor.+data ArrayPropertiesSummary = ArrayPropertiesSummary'+ { -- | The job index within the array that\'s associated with this job. This+ -- parameter is returned for children of array jobs.+ index :: Prelude.Maybe Prelude.Int,+ -- | The size of the array job. This parameter is returned for parent array+ -- jobs.+ size :: Prelude.Maybe Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ArrayPropertiesSummary' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'index', 'arrayPropertiesSummary_index' - The job index within the array that\'s associated with this job. This+-- parameter is returned for children of array jobs.+--+-- 'size', 'arrayPropertiesSummary_size' - The size of the array job. This parameter is returned for parent array+-- jobs.+newArrayPropertiesSummary ::+ ArrayPropertiesSummary+newArrayPropertiesSummary =+ ArrayPropertiesSummary'+ { index = Prelude.Nothing,+ size = Prelude.Nothing+ }++-- | The job index within the array that\'s associated with this job. This+-- parameter is returned for children of array jobs.+arrayPropertiesSummary_index :: Lens.Lens' ArrayPropertiesSummary (Prelude.Maybe Prelude.Int)+arrayPropertiesSummary_index = Lens.lens (\ArrayPropertiesSummary' {index} -> index) (\s@ArrayPropertiesSummary' {} a -> s {index = a} :: ArrayPropertiesSummary)++-- | The size of the array job. This parameter is returned for parent array+-- jobs.+arrayPropertiesSummary_size :: Lens.Lens' ArrayPropertiesSummary (Prelude.Maybe Prelude.Int)+arrayPropertiesSummary_size = Lens.lens (\ArrayPropertiesSummary' {size} -> size) (\s@ArrayPropertiesSummary' {} a -> s {size = a} :: ArrayPropertiesSummary)++instance Data.FromJSON ArrayPropertiesSummary where+ parseJSON =+ Data.withObject+ "ArrayPropertiesSummary"+ ( \x ->+ ArrayPropertiesSummary'+ Prelude.<$> (x Data..:? "index")+ Prelude.<*> (x Data..:? "size")+ )++instance Prelude.Hashable ArrayPropertiesSummary where+ hashWithSalt _salt ArrayPropertiesSummary' {..} =+ _salt+ `Prelude.hashWithSalt` index+ `Prelude.hashWithSalt` size++instance Prelude.NFData ArrayPropertiesSummary where+ rnf ArrayPropertiesSummary' {..} =+ Prelude.rnf index `Prelude.seq` Prelude.rnf size
+ gen/Amazonka/Batch/Types/AssignPublicIp.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.AssignPublicIp+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.AssignPublicIp+ ( AssignPublicIp+ ( ..,+ AssignPublicIp_DISABLED,+ AssignPublicIp_ENABLED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype AssignPublicIp = AssignPublicIp'+ { fromAssignPublicIp ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern AssignPublicIp_DISABLED :: AssignPublicIp+pattern AssignPublicIp_DISABLED = AssignPublicIp' "DISABLED"++pattern AssignPublicIp_ENABLED :: AssignPublicIp+pattern AssignPublicIp_ENABLED = AssignPublicIp' "ENABLED"++{-# COMPLETE+ AssignPublicIp_DISABLED,+ AssignPublicIp_ENABLED,+ AssignPublicIp'+ #-}
+ gen/Amazonka/Batch/Types/AttemptContainerDetail.hs view
@@ -0,0 +1,162 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.AttemptContainerDetail+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.AttemptContainerDetail where++import Amazonka.Batch.Types.NetworkInterface+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that represents the details of a container that\'s part of a+-- job attempt.+--+-- /See:/ 'newAttemptContainerDetail' smart constructor.+data AttemptContainerDetail = AttemptContainerDetail'+ { -- | The Amazon Resource Name (ARN) of the Amazon ECS container instance that+ -- hosts the job attempt.+ containerInstanceArn :: Prelude.Maybe Prelude.Text,+ -- | The exit code for the job attempt. A non-zero exit code is considered+ -- failed.+ exitCode :: Prelude.Maybe Prelude.Int,+ -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | The network interfaces that are associated with the job attempt.+ networkInterfaces :: Prelude.Maybe [NetworkInterface],+ -- | A short (255 max characters) human-readable string to provide additional+ -- details for a running or stopped container.+ reason :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AttemptContainerDetail' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'containerInstanceArn', 'attemptContainerDetail_containerInstanceArn' - The Amazon Resource Name (ARN) of the Amazon ECS container instance that+-- hosts the job attempt.+--+-- 'exitCode', 'attemptContainerDetail_exitCode' - The exit code for the job attempt. A non-zero exit code is considered+-- failed.+--+-- 'logStreamName', 'attemptContainerDetail_logStreamName' - 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.+--+-- 'networkInterfaces', 'attemptContainerDetail_networkInterfaces' - The network interfaces that are associated with the job attempt.+--+-- 'reason', 'attemptContainerDetail_reason' - A short (255 max characters) human-readable string to provide additional+-- details for a running or stopped container.+--+-- 'taskArn', 'attemptContainerDetail_taskArn' - 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.+newAttemptContainerDetail ::+ AttemptContainerDetail+newAttemptContainerDetail =+ AttemptContainerDetail'+ { containerInstanceArn =+ Prelude.Nothing,+ exitCode = Prelude.Nothing,+ logStreamName = Prelude.Nothing,+ networkInterfaces = Prelude.Nothing,+ reason = Prelude.Nothing,+ taskArn = Prelude.Nothing+ }++-- | The Amazon Resource Name (ARN) of the Amazon ECS container instance that+-- hosts the job attempt.+attemptContainerDetail_containerInstanceArn :: Lens.Lens' AttemptContainerDetail (Prelude.Maybe Prelude.Text)+attemptContainerDetail_containerInstanceArn = Lens.lens (\AttemptContainerDetail' {containerInstanceArn} -> containerInstanceArn) (\s@AttemptContainerDetail' {} a -> s {containerInstanceArn = a} :: AttemptContainerDetail)++-- | The exit code for the job attempt. A non-zero exit code is considered+-- failed.+attemptContainerDetail_exitCode :: Lens.Lens' AttemptContainerDetail (Prelude.Maybe Prelude.Int)+attemptContainerDetail_exitCode = Lens.lens (\AttemptContainerDetail' {exitCode} -> exitCode) (\s@AttemptContainerDetail' {} a -> s {exitCode = a} :: AttemptContainerDetail)++-- | 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.+attemptContainerDetail_logStreamName :: Lens.Lens' AttemptContainerDetail (Prelude.Maybe Prelude.Text)+attemptContainerDetail_logStreamName = Lens.lens (\AttemptContainerDetail' {logStreamName} -> logStreamName) (\s@AttemptContainerDetail' {} a -> s {logStreamName = a} :: AttemptContainerDetail)++-- | The network interfaces that are associated with the job attempt.+attemptContainerDetail_networkInterfaces :: Lens.Lens' AttemptContainerDetail (Prelude.Maybe [NetworkInterface])+attemptContainerDetail_networkInterfaces = Lens.lens (\AttemptContainerDetail' {networkInterfaces} -> networkInterfaces) (\s@AttemptContainerDetail' {} a -> s {networkInterfaces = a} :: AttemptContainerDetail) Prelude.. Lens.mapping Lens.coerced++-- | A short (255 max characters) human-readable string to provide additional+-- details for a running or stopped container.+attemptContainerDetail_reason :: Lens.Lens' AttemptContainerDetail (Prelude.Maybe Prelude.Text)+attemptContainerDetail_reason = Lens.lens (\AttemptContainerDetail' {reason} -> reason) (\s@AttemptContainerDetail' {} a -> s {reason = a} :: AttemptContainerDetail)++-- | 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.+attemptContainerDetail_taskArn :: Lens.Lens' AttemptContainerDetail (Prelude.Maybe Prelude.Text)+attemptContainerDetail_taskArn = Lens.lens (\AttemptContainerDetail' {taskArn} -> taskArn) (\s@AttemptContainerDetail' {} a -> s {taskArn = a} :: AttemptContainerDetail)++instance Data.FromJSON AttemptContainerDetail where+ parseJSON =+ Data.withObject+ "AttemptContainerDetail"+ ( \x ->+ AttemptContainerDetail'+ Prelude.<$> (x Data..:? "containerInstanceArn")+ Prelude.<*> (x Data..:? "exitCode")+ Prelude.<*> (x Data..:? "logStreamName")+ Prelude.<*> ( x+ Data..:? "networkInterfaces"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "reason")+ Prelude.<*> (x Data..:? "taskArn")+ )++instance Prelude.Hashable AttemptContainerDetail where+ hashWithSalt _salt AttemptContainerDetail' {..} =+ _salt+ `Prelude.hashWithSalt` containerInstanceArn+ `Prelude.hashWithSalt` exitCode+ `Prelude.hashWithSalt` logStreamName+ `Prelude.hashWithSalt` networkInterfaces+ `Prelude.hashWithSalt` reason+ `Prelude.hashWithSalt` taskArn++instance Prelude.NFData AttemptContainerDetail where+ rnf AttemptContainerDetail' {..} =+ Prelude.rnf containerInstanceArn+ `Prelude.seq` Prelude.rnf exitCode+ `Prelude.seq` Prelude.rnf logStreamName+ `Prelude.seq` Prelude.rnf networkInterfaces+ `Prelude.seq` Prelude.rnf reason+ `Prelude.seq` Prelude.rnf taskArn
+ gen/Amazonka/Batch/Types/AttemptDetail.hs view
@@ -0,0 +1,124 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.AttemptDetail+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.AttemptDetail where++import Amazonka.Batch.Types.AttemptContainerDetail+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that represents a job attempt.+--+-- /See:/ 'newAttemptDetail' smart constructor.+data AttemptDetail = AttemptDetail'+ { -- | The details for the container in this job attempt.+ container :: Prelude.Maybe AttemptContainerDetail,+ -- | The Unix timestamp (in milliseconds) for when the attempt was started+ -- (when the attempt transitioned from the @STARTING@ state to the+ -- @RUNNING@ state).+ startedAt :: Prelude.Maybe Prelude.Integer,+ -- | A short, human-readable string to provide additional details for the+ -- current status of the job attempt.+ statusReason :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe Prelude.Integer+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AttemptDetail' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'container', 'attemptDetail_container' - The details for the container in this job attempt.+--+-- 'startedAt', 'attemptDetail_startedAt' - The Unix timestamp (in milliseconds) for when the attempt was started+-- (when the attempt transitioned from the @STARTING@ state to the+-- @RUNNING@ state).+--+-- 'statusReason', 'attemptDetail_statusReason' - A short, human-readable string to provide additional details for the+-- current status of the job attempt.+--+-- 'stoppedAt', 'attemptDetail_stoppedAt' - 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@).+newAttemptDetail ::+ AttemptDetail+newAttemptDetail =+ AttemptDetail'+ { container = Prelude.Nothing,+ startedAt = Prelude.Nothing,+ statusReason = Prelude.Nothing,+ stoppedAt = Prelude.Nothing+ }++-- | The details for the container in this job attempt.+attemptDetail_container :: Lens.Lens' AttemptDetail (Prelude.Maybe AttemptContainerDetail)+attemptDetail_container = Lens.lens (\AttemptDetail' {container} -> container) (\s@AttemptDetail' {} a -> s {container = a} :: AttemptDetail)++-- | The Unix timestamp (in milliseconds) for when the attempt was started+-- (when the attempt transitioned from the @STARTING@ state to the+-- @RUNNING@ state).+attemptDetail_startedAt :: Lens.Lens' AttemptDetail (Prelude.Maybe Prelude.Integer)+attemptDetail_startedAt = Lens.lens (\AttemptDetail' {startedAt} -> startedAt) (\s@AttemptDetail' {} a -> s {startedAt = a} :: AttemptDetail)++-- | A short, human-readable string to provide additional details for the+-- current status of the job attempt.+attemptDetail_statusReason :: Lens.Lens' AttemptDetail (Prelude.Maybe Prelude.Text)+attemptDetail_statusReason = Lens.lens (\AttemptDetail' {statusReason} -> statusReason) (\s@AttemptDetail' {} a -> s {statusReason = a} :: AttemptDetail)++-- | 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@).+attemptDetail_stoppedAt :: Lens.Lens' AttemptDetail (Prelude.Maybe Prelude.Integer)+attemptDetail_stoppedAt = Lens.lens (\AttemptDetail' {stoppedAt} -> stoppedAt) (\s@AttemptDetail' {} a -> s {stoppedAt = a} :: AttemptDetail)++instance Data.FromJSON AttemptDetail where+ parseJSON =+ Data.withObject+ "AttemptDetail"+ ( \x ->+ AttemptDetail'+ Prelude.<$> (x Data..:? "container")+ Prelude.<*> (x Data..:? "startedAt")+ Prelude.<*> (x Data..:? "statusReason")+ Prelude.<*> (x Data..:? "stoppedAt")+ )++instance Prelude.Hashable AttemptDetail where+ hashWithSalt _salt AttemptDetail' {..} =+ _salt+ `Prelude.hashWithSalt` container+ `Prelude.hashWithSalt` startedAt+ `Prelude.hashWithSalt` statusReason+ `Prelude.hashWithSalt` stoppedAt++instance Prelude.NFData AttemptDetail where+ rnf AttemptDetail' {..} =+ Prelude.rnf container+ `Prelude.seq` Prelude.rnf startedAt+ `Prelude.seq` Prelude.rnf statusReason+ `Prelude.seq` Prelude.rnf stoppedAt
+ gen/Amazonka/Batch/Types/CEState.hs view
@@ -0,0 +1,68 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.CEState+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.CEState+ ( CEState+ ( ..,+ CEState_DISABLED,+ CEState_ENABLED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype CEState = CEState' {fromCEState :: Data.Text}+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern CEState_DISABLED :: CEState+pattern CEState_DISABLED = CEState' "DISABLED"++pattern CEState_ENABLED :: CEState+pattern CEState_ENABLED = CEState' "ENABLED"++{-# COMPLETE+ CEState_DISABLED,+ CEState_ENABLED,+ CEState'+ #-}
+ gen/Amazonka/Batch/Types/CEStatus.hs view
@@ -0,0 +1,91 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.CEStatus+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.CEStatus+ ( CEStatus+ ( ..,+ CEStatus_CREATING,+ CEStatus_DELETED,+ CEStatus_DELETING,+ CEStatus_INVALID,+ CEStatus_UPDATING,+ CEStatus_VALID+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype CEStatus = CEStatus'+ { fromCEStatus ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern CEStatus_CREATING :: CEStatus+pattern CEStatus_CREATING = CEStatus' "CREATING"++pattern CEStatus_DELETED :: CEStatus+pattern CEStatus_DELETED = CEStatus' "DELETED"++pattern CEStatus_DELETING :: CEStatus+pattern CEStatus_DELETING = CEStatus' "DELETING"++pattern CEStatus_INVALID :: CEStatus+pattern CEStatus_INVALID = CEStatus' "INVALID"++pattern CEStatus_UPDATING :: CEStatus+pattern CEStatus_UPDATING = CEStatus' "UPDATING"++pattern CEStatus_VALID :: CEStatus+pattern CEStatus_VALID = CEStatus' "VALID"++{-# COMPLETE+ CEStatus_CREATING,+ CEStatus_DELETED,+ CEStatus_DELETING,+ CEStatus_INVALID,+ CEStatus_UPDATING,+ CEStatus_VALID,+ CEStatus'+ #-}
+ gen/Amazonka/Batch/Types/CEType.hs view
@@ -0,0 +1,68 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.CEType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.CEType+ ( CEType+ ( ..,+ CEType_MANAGED,+ CEType_UNMANAGED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype CEType = CEType' {fromCEType :: Data.Text}+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern CEType_MANAGED :: CEType+pattern CEType_MANAGED = CEType' "MANAGED"++pattern CEType_UNMANAGED :: CEType+pattern CEType_UNMANAGED = CEType' "UNMANAGED"++{-# COMPLETE+ CEType_MANAGED,+ CEType_UNMANAGED,+ CEType'+ #-}
+ gen/Amazonka/Batch/Types/CRAllocationStrategy.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.CRAllocationStrategy+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.CRAllocationStrategy+ ( CRAllocationStrategy+ ( ..,+ CRAllocationStrategy_BEST_FIT,+ CRAllocationStrategy_BEST_FIT_PROGRESSIVE,+ CRAllocationStrategy_SPOT_CAPACITY_OPTIMIZED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype CRAllocationStrategy = CRAllocationStrategy'+ { fromCRAllocationStrategy ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern CRAllocationStrategy_BEST_FIT :: CRAllocationStrategy+pattern CRAllocationStrategy_BEST_FIT = CRAllocationStrategy' "BEST_FIT"++pattern CRAllocationStrategy_BEST_FIT_PROGRESSIVE :: CRAllocationStrategy+pattern CRAllocationStrategy_BEST_FIT_PROGRESSIVE = CRAllocationStrategy' "BEST_FIT_PROGRESSIVE"++pattern CRAllocationStrategy_SPOT_CAPACITY_OPTIMIZED :: CRAllocationStrategy+pattern CRAllocationStrategy_SPOT_CAPACITY_OPTIMIZED = CRAllocationStrategy' "SPOT_CAPACITY_OPTIMIZED"++{-# COMPLETE+ CRAllocationStrategy_BEST_FIT,+ CRAllocationStrategy_BEST_FIT_PROGRESSIVE,+ CRAllocationStrategy_SPOT_CAPACITY_OPTIMIZED,+ CRAllocationStrategy'+ #-}
+ gen/Amazonka/Batch/Types/CRType.hs view
@@ -0,0 +1,78 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.CRType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.CRType+ ( CRType+ ( ..,+ CRType_EC2,+ CRType_FARGATE,+ CRType_FARGATE_SPOT,+ CRType_SPOT+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype CRType = CRType' {fromCRType :: Data.Text}+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern CRType_EC2 :: CRType+pattern CRType_EC2 = CRType' "EC2"++pattern CRType_FARGATE :: CRType+pattern CRType_FARGATE = CRType' "FARGATE"++pattern CRType_FARGATE_SPOT :: CRType+pattern CRType_FARGATE_SPOT = CRType' "FARGATE_SPOT"++pattern CRType_SPOT :: CRType+pattern CRType_SPOT = CRType' "SPOT"++{-# COMPLETE+ CRType_EC2,+ CRType_FARGATE,+ CRType_FARGATE_SPOT,+ CRType_SPOT,+ CRType'+ #-}
+ gen/Amazonka/Batch/Types/CRUpdateAllocationStrategy.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.CRUpdateAllocationStrategy+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.CRUpdateAllocationStrategy+ ( CRUpdateAllocationStrategy+ ( ..,+ CRUpdateAllocationStrategy_BEST_FIT_PROGRESSIVE,+ CRUpdateAllocationStrategy_SPOT_CAPACITY_OPTIMIZED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype CRUpdateAllocationStrategy = CRUpdateAllocationStrategy'+ { fromCRUpdateAllocationStrategy ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern CRUpdateAllocationStrategy_BEST_FIT_PROGRESSIVE :: CRUpdateAllocationStrategy+pattern CRUpdateAllocationStrategy_BEST_FIT_PROGRESSIVE = CRUpdateAllocationStrategy' "BEST_FIT_PROGRESSIVE"++pattern CRUpdateAllocationStrategy_SPOT_CAPACITY_OPTIMIZED :: CRUpdateAllocationStrategy+pattern CRUpdateAllocationStrategy_SPOT_CAPACITY_OPTIMIZED = CRUpdateAllocationStrategy' "SPOT_CAPACITY_OPTIMIZED"++{-# COMPLETE+ CRUpdateAllocationStrategy_BEST_FIT_PROGRESSIVE,+ CRUpdateAllocationStrategy_SPOT_CAPACITY_OPTIMIZED,+ CRUpdateAllocationStrategy'+ #-}
+ gen/Amazonka/Batch/Types/ComputeEnvironmentDetail.hs view
@@ -0,0 +1,356 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.ComputeEnvironmentDetail+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.ComputeEnvironmentDetail where++import Amazonka.Batch.Types.CEState+import Amazonka.Batch.Types.CEStatus+import Amazonka.Batch.Types.CEType+import Amazonka.Batch.Types.ComputeResource+import Amazonka.Batch.Types.EksConfiguration+import Amazonka.Batch.Types.OrchestrationType+import Amazonka.Batch.Types.UpdatePolicy+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that represents an Batch compute environment.+--+-- /See:/ 'newComputeEnvironmentDetail' smart constructor.+data ComputeEnvironmentDetail = ComputeEnvironmentDetail'+ { -- | The compute resources defined for the compute environment. For more+ -- information, see+ -- <https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html Compute environments>+ -- in the /Batch User Guide/.+ computeResources :: Prelude.Maybe ComputeResource,+ -- | The orchestration type of the compute environment. The valid values are+ -- @ECS@ (default) or @EKS@.+ containerOrchestrationType :: Prelude.Maybe OrchestrationType,+ -- | The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster that+ -- the compute environment uses.+ ecsClusterArn :: Prelude.Maybe Prelude.Text,+ -- | The configuration for the Amazon EKS cluster that supports the Batch+ -- compute environment. Only specify this parameter if the+ -- @containerOrchestrationType@ is @EKS@.+ eksConfiguration :: Prelude.Maybe EksConfiguration,+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html Batch service IAM role>+ -- in the /Batch User Guide/.+ serviceRole :: Prelude.Maybe Prelude.Text,+ -- | 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. However, they scale in to @minvCpus@+ -- value after instances become idle.+ state :: Prelude.Maybe CEState,+ -- | The current status of the compute environment (for example, @CREATING@+ -- or @VALID@).+ status :: Prelude.Maybe CEStatus,+ -- | A short, human-readable string to provide additional details for the+ -- current status of the compute environment.+ statusReason :: Prelude.Maybe Prelude.Text,+ -- | The tags applied to the compute environment.+ tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | The type of the compute environment: @MANAGED@ or @UNMANAGED@. For more+ -- information, see+ -- <https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html Compute environments>+ -- in the /Batch User Guide/.+ type' :: Prelude.Maybe CEType,+ -- | The maximum number of VCPUs expected to be used for an unmanaged compute+ -- environment.+ unmanagedvCpus :: Prelude.Maybe Prelude.Int,+ -- | Specifies the infrastructure update policy for the compute environment.+ -- For more information about infrastructure updates, see+ -- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+ -- in the /Batch User Guide/.+ updatePolicy :: Prelude.Maybe UpdatePolicy,+ -- | Unique identifier for the compute environment.+ uuid :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Text,+ -- | The Amazon Resource Name (ARN) of the compute environment.+ computeEnvironmentArn :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ComputeEnvironmentDetail' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'computeResources', 'computeEnvironmentDetail_computeResources' - The compute resources defined for the compute environment. For more+-- information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html Compute environments>+-- in the /Batch User Guide/.+--+-- 'containerOrchestrationType', 'computeEnvironmentDetail_containerOrchestrationType' - The orchestration type of the compute environment. The valid values are+-- @ECS@ (default) or @EKS@.+--+-- 'ecsClusterArn', 'computeEnvironmentDetail_ecsClusterArn' - The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster that+-- the compute environment uses.+--+-- 'eksConfiguration', 'computeEnvironmentDetail_eksConfiguration' - The configuration for the Amazon EKS cluster that supports the Batch+-- compute environment. Only specify this parameter if the+-- @containerOrchestrationType@ is @EKS@.+--+-- 'serviceRole', 'computeEnvironmentDetail_serviceRole' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html Batch service IAM role>+-- in the /Batch User Guide/.+--+-- 'state', 'computeEnvironmentDetail_state' - 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. However, they scale in to @minvCpus@+-- value after instances become idle.+--+-- 'status', 'computeEnvironmentDetail_status' - The current status of the compute environment (for example, @CREATING@+-- or @VALID@).+--+-- 'statusReason', 'computeEnvironmentDetail_statusReason' - A short, human-readable string to provide additional details for the+-- current status of the compute environment.+--+-- 'tags', 'computeEnvironmentDetail_tags' - The tags applied to the compute environment.+--+-- 'type'', 'computeEnvironmentDetail_type' - The type of the compute environment: @MANAGED@ or @UNMANAGED@. For more+-- information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html Compute environments>+-- in the /Batch User Guide/.+--+-- 'unmanagedvCpus', 'computeEnvironmentDetail_unmanagedvCpus' - The maximum number of VCPUs expected to be used for an unmanaged compute+-- environment.+--+-- 'updatePolicy', 'computeEnvironmentDetail_updatePolicy' - Specifies the infrastructure update policy for the compute environment.+-- For more information about infrastructure updates, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+--+-- 'uuid', 'computeEnvironmentDetail_uuid' - Unique identifier for the compute environment.+--+-- 'computeEnvironmentName', 'computeEnvironmentDetail_computeEnvironmentName' - 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 (_).+--+-- 'computeEnvironmentArn', 'computeEnvironmentDetail_computeEnvironmentArn' - The Amazon Resource Name (ARN) of the compute environment.+newComputeEnvironmentDetail ::+ -- | 'computeEnvironmentName'+ Prelude.Text ->+ -- | 'computeEnvironmentArn'+ Prelude.Text ->+ ComputeEnvironmentDetail+newComputeEnvironmentDetail+ pComputeEnvironmentName_+ pComputeEnvironmentArn_ =+ ComputeEnvironmentDetail'+ { computeResources =+ Prelude.Nothing,+ containerOrchestrationType = Prelude.Nothing,+ ecsClusterArn = Prelude.Nothing,+ eksConfiguration = Prelude.Nothing,+ serviceRole = Prelude.Nothing,+ state = Prelude.Nothing,+ status = Prelude.Nothing,+ statusReason = Prelude.Nothing,+ tags = Prelude.Nothing,+ type' = Prelude.Nothing,+ unmanagedvCpus = Prelude.Nothing,+ updatePolicy = Prelude.Nothing,+ uuid = Prelude.Nothing,+ computeEnvironmentName = pComputeEnvironmentName_,+ computeEnvironmentArn = pComputeEnvironmentArn_+ }++-- | The compute resources defined for the compute environment. For more+-- information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html Compute environments>+-- in the /Batch User Guide/.+computeEnvironmentDetail_computeResources :: Lens.Lens' ComputeEnvironmentDetail (Prelude.Maybe ComputeResource)+computeEnvironmentDetail_computeResources = Lens.lens (\ComputeEnvironmentDetail' {computeResources} -> computeResources) (\s@ComputeEnvironmentDetail' {} a -> s {computeResources = a} :: ComputeEnvironmentDetail)++-- | The orchestration type of the compute environment. The valid values are+-- @ECS@ (default) or @EKS@.+computeEnvironmentDetail_containerOrchestrationType :: Lens.Lens' ComputeEnvironmentDetail (Prelude.Maybe OrchestrationType)+computeEnvironmentDetail_containerOrchestrationType = Lens.lens (\ComputeEnvironmentDetail' {containerOrchestrationType} -> containerOrchestrationType) (\s@ComputeEnvironmentDetail' {} a -> s {containerOrchestrationType = a} :: ComputeEnvironmentDetail)++-- | The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster that+-- the compute environment uses.+computeEnvironmentDetail_ecsClusterArn :: Lens.Lens' ComputeEnvironmentDetail (Prelude.Maybe Prelude.Text)+computeEnvironmentDetail_ecsClusterArn = Lens.lens (\ComputeEnvironmentDetail' {ecsClusterArn} -> ecsClusterArn) (\s@ComputeEnvironmentDetail' {} a -> s {ecsClusterArn = a} :: ComputeEnvironmentDetail)++-- | The configuration for the Amazon EKS cluster that supports the Batch+-- compute environment. Only specify this parameter if the+-- @containerOrchestrationType@ is @EKS@.+computeEnvironmentDetail_eksConfiguration :: Lens.Lens' ComputeEnvironmentDetail (Prelude.Maybe EksConfiguration)+computeEnvironmentDetail_eksConfiguration = Lens.lens (\ComputeEnvironmentDetail' {eksConfiguration} -> eksConfiguration) (\s@ComputeEnvironmentDetail' {} a -> s {eksConfiguration = a} :: ComputeEnvironmentDetail)++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html Batch service IAM role>+-- in the /Batch User Guide/.+computeEnvironmentDetail_serviceRole :: Lens.Lens' ComputeEnvironmentDetail (Prelude.Maybe Prelude.Text)+computeEnvironmentDetail_serviceRole = Lens.lens (\ComputeEnvironmentDetail' {serviceRole} -> serviceRole) (\s@ComputeEnvironmentDetail' {} a -> s {serviceRole = a} :: ComputeEnvironmentDetail)++-- | 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. However, they scale in to @minvCpus@+-- value after instances become idle.+computeEnvironmentDetail_state :: Lens.Lens' ComputeEnvironmentDetail (Prelude.Maybe CEState)+computeEnvironmentDetail_state = Lens.lens (\ComputeEnvironmentDetail' {state} -> state) (\s@ComputeEnvironmentDetail' {} a -> s {state = a} :: ComputeEnvironmentDetail)++-- | The current status of the compute environment (for example, @CREATING@+-- or @VALID@).+computeEnvironmentDetail_status :: Lens.Lens' ComputeEnvironmentDetail (Prelude.Maybe CEStatus)+computeEnvironmentDetail_status = Lens.lens (\ComputeEnvironmentDetail' {status} -> status) (\s@ComputeEnvironmentDetail' {} a -> s {status = a} :: ComputeEnvironmentDetail)++-- | A short, human-readable string to provide additional details for the+-- current status of the compute environment.+computeEnvironmentDetail_statusReason :: Lens.Lens' ComputeEnvironmentDetail (Prelude.Maybe Prelude.Text)+computeEnvironmentDetail_statusReason = Lens.lens (\ComputeEnvironmentDetail' {statusReason} -> statusReason) (\s@ComputeEnvironmentDetail' {} a -> s {statusReason = a} :: ComputeEnvironmentDetail)++-- | The tags applied to the compute environment.+computeEnvironmentDetail_tags :: Lens.Lens' ComputeEnvironmentDetail (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+computeEnvironmentDetail_tags = Lens.lens (\ComputeEnvironmentDetail' {tags} -> tags) (\s@ComputeEnvironmentDetail' {} a -> s {tags = a} :: ComputeEnvironmentDetail) Prelude.. Lens.mapping Lens.coerced++-- | The type of the compute environment: @MANAGED@ or @UNMANAGED@. For more+-- information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html Compute environments>+-- in the /Batch User Guide/.+computeEnvironmentDetail_type :: Lens.Lens' ComputeEnvironmentDetail (Prelude.Maybe CEType)+computeEnvironmentDetail_type = Lens.lens (\ComputeEnvironmentDetail' {type'} -> type') (\s@ComputeEnvironmentDetail' {} a -> s {type' = a} :: ComputeEnvironmentDetail)++-- | The maximum number of VCPUs expected to be used for an unmanaged compute+-- environment.+computeEnvironmentDetail_unmanagedvCpus :: Lens.Lens' ComputeEnvironmentDetail (Prelude.Maybe Prelude.Int)+computeEnvironmentDetail_unmanagedvCpus = Lens.lens (\ComputeEnvironmentDetail' {unmanagedvCpus} -> unmanagedvCpus) (\s@ComputeEnvironmentDetail' {} a -> s {unmanagedvCpus = a} :: ComputeEnvironmentDetail)++-- | Specifies the infrastructure update policy for the compute environment.+-- For more information about infrastructure updates, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+computeEnvironmentDetail_updatePolicy :: Lens.Lens' ComputeEnvironmentDetail (Prelude.Maybe UpdatePolicy)+computeEnvironmentDetail_updatePolicy = Lens.lens (\ComputeEnvironmentDetail' {updatePolicy} -> updatePolicy) (\s@ComputeEnvironmentDetail' {} a -> s {updatePolicy = a} :: ComputeEnvironmentDetail)++-- | Unique identifier for the compute environment.+computeEnvironmentDetail_uuid :: Lens.Lens' ComputeEnvironmentDetail (Prelude.Maybe Prelude.Text)+computeEnvironmentDetail_uuid = Lens.lens (\ComputeEnvironmentDetail' {uuid} -> uuid) (\s@ComputeEnvironmentDetail' {} a -> s {uuid = a} :: ComputeEnvironmentDetail)++-- | 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 (_).+computeEnvironmentDetail_computeEnvironmentName :: Lens.Lens' ComputeEnvironmentDetail Prelude.Text+computeEnvironmentDetail_computeEnvironmentName = Lens.lens (\ComputeEnvironmentDetail' {computeEnvironmentName} -> computeEnvironmentName) (\s@ComputeEnvironmentDetail' {} a -> s {computeEnvironmentName = a} :: ComputeEnvironmentDetail)++-- | The Amazon Resource Name (ARN) of the compute environment.+computeEnvironmentDetail_computeEnvironmentArn :: Lens.Lens' ComputeEnvironmentDetail Prelude.Text+computeEnvironmentDetail_computeEnvironmentArn = Lens.lens (\ComputeEnvironmentDetail' {computeEnvironmentArn} -> computeEnvironmentArn) (\s@ComputeEnvironmentDetail' {} a -> s {computeEnvironmentArn = a} :: ComputeEnvironmentDetail)++instance Data.FromJSON ComputeEnvironmentDetail where+ parseJSON =+ Data.withObject+ "ComputeEnvironmentDetail"+ ( \x ->+ ComputeEnvironmentDetail'+ Prelude.<$> (x Data..:? "computeResources")+ Prelude.<*> (x Data..:? "containerOrchestrationType")+ Prelude.<*> (x Data..:? "ecsClusterArn")+ Prelude.<*> (x Data..:? "eksConfiguration")+ Prelude.<*> (x Data..:? "serviceRole")+ Prelude.<*> (x Data..:? "state")+ Prelude.<*> (x Data..:? "status")+ Prelude.<*> (x Data..:? "statusReason")+ Prelude.<*> (x Data..:? "tags" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "type")+ Prelude.<*> (x Data..:? "unmanagedvCpus")+ Prelude.<*> (x Data..:? "updatePolicy")+ Prelude.<*> (x Data..:? "uuid")+ Prelude.<*> (x Data..: "computeEnvironmentName")+ Prelude.<*> (x Data..: "computeEnvironmentArn")+ )++instance Prelude.Hashable ComputeEnvironmentDetail where+ hashWithSalt _salt ComputeEnvironmentDetail' {..} =+ _salt+ `Prelude.hashWithSalt` computeResources+ `Prelude.hashWithSalt` containerOrchestrationType+ `Prelude.hashWithSalt` ecsClusterArn+ `Prelude.hashWithSalt` eksConfiguration+ `Prelude.hashWithSalt` serviceRole+ `Prelude.hashWithSalt` state+ `Prelude.hashWithSalt` status+ `Prelude.hashWithSalt` statusReason+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` type'+ `Prelude.hashWithSalt` unmanagedvCpus+ `Prelude.hashWithSalt` updatePolicy+ `Prelude.hashWithSalt` uuid+ `Prelude.hashWithSalt` computeEnvironmentName+ `Prelude.hashWithSalt` computeEnvironmentArn++instance Prelude.NFData ComputeEnvironmentDetail where+ rnf ComputeEnvironmentDetail' {..} =+ Prelude.rnf computeResources+ `Prelude.seq` Prelude.rnf containerOrchestrationType+ `Prelude.seq` Prelude.rnf ecsClusterArn+ `Prelude.seq` Prelude.rnf eksConfiguration+ `Prelude.seq` Prelude.rnf serviceRole+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf statusReason+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf type'+ `Prelude.seq` Prelude.rnf unmanagedvCpus+ `Prelude.seq` Prelude.rnf updatePolicy+ `Prelude.seq` Prelude.rnf uuid+ `Prelude.seq` Prelude.rnf computeEnvironmentName+ `Prelude.seq` Prelude.rnf computeEnvironmentArn
+ gen/Amazonka/Batch/Types/ComputeEnvironmentOrder.hs view
@@ -0,0 +1,121 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.ComputeEnvironmentOrder+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.ComputeEnvironmentOrder where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | 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.+--+-- /See:/ 'newComputeEnvironmentOrder' smart constructor.+data ComputeEnvironmentOrder = ComputeEnvironmentOrder'+ { -- | 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 :: Prelude.Int,+ -- | The Amazon Resource Name (ARN) of the compute environment.+ computeEnvironment :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ComputeEnvironmentOrder' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'order', 'computeEnvironmentOrder_order' - 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.+--+-- 'computeEnvironment', 'computeEnvironmentOrder_computeEnvironment' - The Amazon Resource Name (ARN) of the compute environment.+newComputeEnvironmentOrder ::+ -- | 'order'+ Prelude.Int ->+ -- | 'computeEnvironment'+ Prelude.Text ->+ ComputeEnvironmentOrder+newComputeEnvironmentOrder+ pOrder_+ pComputeEnvironment_ =+ ComputeEnvironmentOrder'+ { order = pOrder_,+ computeEnvironment = pComputeEnvironment_+ }++-- | 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.+computeEnvironmentOrder_order :: Lens.Lens' ComputeEnvironmentOrder Prelude.Int+computeEnvironmentOrder_order = Lens.lens (\ComputeEnvironmentOrder' {order} -> order) (\s@ComputeEnvironmentOrder' {} a -> s {order = a} :: ComputeEnvironmentOrder)++-- | The Amazon Resource Name (ARN) of the compute environment.+computeEnvironmentOrder_computeEnvironment :: Lens.Lens' ComputeEnvironmentOrder Prelude.Text+computeEnvironmentOrder_computeEnvironment = Lens.lens (\ComputeEnvironmentOrder' {computeEnvironment} -> computeEnvironment) (\s@ComputeEnvironmentOrder' {} a -> s {computeEnvironment = a} :: ComputeEnvironmentOrder)++instance Data.FromJSON ComputeEnvironmentOrder where+ parseJSON =+ Data.withObject+ "ComputeEnvironmentOrder"+ ( \x ->+ ComputeEnvironmentOrder'+ Prelude.<$> (x Data..: "order")+ Prelude.<*> (x Data..: "computeEnvironment")+ )++instance Prelude.Hashable ComputeEnvironmentOrder where+ hashWithSalt _salt ComputeEnvironmentOrder' {..} =+ _salt+ `Prelude.hashWithSalt` order+ `Prelude.hashWithSalt` computeEnvironment++instance Prelude.NFData ComputeEnvironmentOrder where+ rnf ComputeEnvironmentOrder' {..} =+ Prelude.rnf order+ `Prelude.seq` Prelude.rnf computeEnvironment++instance Data.ToJSON ComputeEnvironmentOrder where+ toJSON ComputeEnvironmentOrder' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("order" Data..= order),+ Prelude.Just+ ("computeEnvironment" Data..= computeEnvironment)+ ]+ )
+ gen/Amazonka/Batch/Types/ComputeResource.hs view
@@ -0,0 +1,930 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.ComputeResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.ComputeResource where++import Amazonka.Batch.Types.CRAllocationStrategy+import Amazonka.Batch.Types.CRType+import Amazonka.Batch.Types.Ec2Configuration+import Amazonka.Batch.Types.LaunchTemplateSpecification+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that represents an Batch compute resource. For more+-- information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html Compute environments>+-- in the /Batch User Guide/.+--+-- /See:/ 'newComputeResource' smart constructor.+data ComputeResource = ComputeResource'+ { -- | 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+ -- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html Amazon EC2 service limits>.+ -- For more information, see+ -- <https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html Allocation strategies>+ -- 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+ -- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html Amazon EC2 service limits>,+ -- 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+ -- 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.+ --+ -- With both @BEST_FIT_PROGRESSIVE@ and @SPOT_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 :: Prelude.Maybe 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 :: Prelude.Maybe Prelude.Int,+ -- | The desired number of Amazon EC2 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 :: Prelude.Maybe Prelude.Int,+ -- | 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 :: Prelude.Maybe [Ec2Configuration],+ -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | 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+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html Amazon ECS-optimized Amazon Linux 2 AMI>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ imageId :: Prelude.Maybe Prelude.Text,+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/instance_IAM_role.html Amazon ECS instance role>+ -- in the /Batch User Guide/.+ --+ -- This parameter isn\'t applicable to jobs that are running on Fargate+ -- resources. Don\'t specify it.+ instanceRole :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe [Prelude.Text],+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html Launch template support>+ -- in the /Batch User Guide/.+ --+ -- This parameter isn\'t applicable to jobs that are running on Fargate+ -- resources. Don\'t specify it.+ launchTemplate :: Prelude.Maybe LaunchTemplateSpecification,+ -- | The minimum number of Amazon EC2 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 :: Prelude.Maybe Prelude.Int,+ -- | 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+ -- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html Placement groups>+ -- 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 :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe [Prelude.Text],+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html Amazon EC2 spot fleet role>+ -- 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#spot-instance-no-tag Spot instances not tagged on creation>+ -- in the /Batch User Guide/.+ spotIamFleetRole :: Prelude.Maybe Prelude.Text,+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+ -- 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 :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | The type of compute environment: @EC2@, @SPOT@, @FARGATE@, or+ -- @FARGATE_SPOT@. For more information, see+ -- <https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html Compute environments>+ -- 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html Amazon EC2 spot fleet role>+ -- in the /Batch User Guide/.+ type' :: CRType,+ -- | The maximum number of Amazon EC2 vCPUs that a compute environment can+ -- reach.+ --+ -- With both @BEST_FIT_PROGRESSIVE@ and @SPOT_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 :: Prelude.Int,+ -- | 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+ -- <https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html VPCs and subnets>+ -- in the /Amazon VPC User Guide/.+ --+ -- Batch on Amazon EC2 and Batch on Amazon EKS support Local Zones. For+ -- more information, see+ -- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-local-zones Local Zones>+ -- in the /Amazon EC2 User Guide for Linux Instances/,+ -- <https://docs.aws.amazon.com/eks/latest/userguide/local-zones.html Amazon EKS and Amazon Web Services Local Zones>+ -- in the /Amazon EKS User Guide/ and+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-regions-zones.html#clusters-local-zones Amazon ECS clusters in Local Zones, Wavelength Zones, and Amazon Web Services Outposts>+ -- in the /Amazon ECS Developer Guide/.+ --+ -- Batch on Fargate doesn\'t currently support Local Zones.+ subnets :: [Prelude.Text]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ComputeResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'allocationStrategy', 'computeResource_allocationStrategy' - 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+-- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html Amazon EC2 service limits>.+-- For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html Allocation strategies>+-- 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+-- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html Amazon EC2 service limits>,+-- 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- 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.+--+-- With both @BEST_FIT_PROGRESSIVE@ and @SPOT_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.+--+-- 'bidPercentage', 'computeResource_bidPercentage' - 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.+--+-- 'desiredvCpus', 'computeResource_desiredvCpus' - The desired number of Amazon EC2 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.+--+-- 'ec2Configuration', 'computeResource_ec2Configuration' - 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.+--+-- 'ec2KeyPair', 'computeResource_ec2KeyPair' - 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.+--+-- 'imageId', 'computeResource_imageId' - 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+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html Amazon ECS-optimized Amazon Linux 2 AMI>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'instanceRole', 'computeResource_instanceRole' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/instance_IAM_role.html Amazon ECS instance role>+-- in the /Batch User Guide/.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources. Don\'t specify it.+--+-- 'instanceTypes', 'computeResource_instanceTypes' - 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.+--+-- 'launchTemplate', 'computeResource_launchTemplate' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html Launch template support>+-- in the /Batch User Guide/.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources. Don\'t specify it.+--+-- 'minvCpus', 'computeResource_minvCpus' - The minimum number of Amazon EC2 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.+--+-- 'placementGroup', 'computeResource_placementGroup' - 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+-- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html Placement groups>+-- 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.+--+-- 'securityGroupIds', 'computeResource_securityGroupIds' - 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.+--+-- 'spotIamFleetRole', 'computeResource_spotIamFleetRole' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html Amazon EC2 spot fleet role>+-- 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#spot-instance-no-tag Spot instances not tagged on creation>+-- in the /Batch User Guide/.+--+-- 'tags', 'computeResource_tags' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- 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.+--+-- 'type'', 'computeResource_type' - The type of compute environment: @EC2@, @SPOT@, @FARGATE@, or+-- @FARGATE_SPOT@. For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html Compute environments>+-- 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html Amazon EC2 spot fleet role>+-- in the /Batch User Guide/.+--+-- 'maxvCpus', 'computeResource_maxvCpus' - The maximum number of Amazon EC2 vCPUs that a compute environment can+-- reach.+--+-- With both @BEST_FIT_PROGRESSIVE@ and @SPOT_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.+--+-- 'subnets', 'computeResource_subnets' - 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+-- <https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html VPCs and subnets>+-- in the /Amazon VPC User Guide/.+--+-- Batch on Amazon EC2 and Batch on Amazon EKS support Local Zones. For+-- more information, see+-- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-local-zones Local Zones>+-- in the /Amazon EC2 User Guide for Linux Instances/,+-- <https://docs.aws.amazon.com/eks/latest/userguide/local-zones.html Amazon EKS and Amazon Web Services Local Zones>+-- in the /Amazon EKS User Guide/ and+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-regions-zones.html#clusters-local-zones Amazon ECS clusters in Local Zones, Wavelength Zones, and Amazon Web Services Outposts>+-- in the /Amazon ECS Developer Guide/.+--+-- Batch on Fargate doesn\'t currently support Local Zones.+newComputeResource ::+ -- | 'type''+ CRType ->+ -- | 'maxvCpus'+ Prelude.Int ->+ ComputeResource+newComputeResource pType_ pMaxvCpus_ =+ ComputeResource'+ { allocationStrategy =+ Prelude.Nothing,+ bidPercentage = Prelude.Nothing,+ desiredvCpus = Prelude.Nothing,+ ec2Configuration = Prelude.Nothing,+ ec2KeyPair = Prelude.Nothing,+ imageId = Prelude.Nothing,+ instanceRole = Prelude.Nothing,+ instanceTypes = Prelude.Nothing,+ launchTemplate = Prelude.Nothing,+ minvCpus = Prelude.Nothing,+ placementGroup = Prelude.Nothing,+ securityGroupIds = Prelude.Nothing,+ spotIamFleetRole = Prelude.Nothing,+ tags = Prelude.Nothing,+ type' = pType_,+ maxvCpus = pMaxvCpus_,+ subnets = Prelude.mempty+ }++-- | 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+-- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html Amazon EC2 service limits>.+-- For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html Allocation strategies>+-- 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+-- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html Amazon EC2 service limits>,+-- 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- 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.+--+-- With both @BEST_FIT_PROGRESSIVE@ and @SPOT_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.+computeResource_allocationStrategy :: Lens.Lens' ComputeResource (Prelude.Maybe CRAllocationStrategy)+computeResource_allocationStrategy = Lens.lens (\ComputeResource' {allocationStrategy} -> allocationStrategy) (\s@ComputeResource' {} a -> s {allocationStrategy = a} :: ComputeResource)++-- | 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.+computeResource_bidPercentage :: Lens.Lens' ComputeResource (Prelude.Maybe Prelude.Int)+computeResource_bidPercentage = Lens.lens (\ComputeResource' {bidPercentage} -> bidPercentage) (\s@ComputeResource' {} a -> s {bidPercentage = a} :: ComputeResource)++-- | The desired number of Amazon EC2 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.+computeResource_desiredvCpus :: Lens.Lens' ComputeResource (Prelude.Maybe Prelude.Int)+computeResource_desiredvCpus = Lens.lens (\ComputeResource' {desiredvCpus} -> desiredvCpus) (\s@ComputeResource' {} a -> s {desiredvCpus = a} :: ComputeResource)++-- | 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.+computeResource_ec2Configuration :: Lens.Lens' ComputeResource (Prelude.Maybe [Ec2Configuration])+computeResource_ec2Configuration = Lens.lens (\ComputeResource' {ec2Configuration} -> ec2Configuration) (\s@ComputeResource' {} a -> s {ec2Configuration = a} :: ComputeResource) Prelude.. Lens.mapping Lens.coerced++-- | 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.+computeResource_ec2KeyPair :: Lens.Lens' ComputeResource (Prelude.Maybe Prelude.Text)+computeResource_ec2KeyPair = Lens.lens (\ComputeResource' {ec2KeyPair} -> ec2KeyPair) (\s@ComputeResource' {} a -> s {ec2KeyPair = a} :: ComputeResource)++-- | 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+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html Amazon ECS-optimized Amazon Linux 2 AMI>+-- in the /Amazon Elastic Container Service Developer Guide/.+computeResource_imageId :: Lens.Lens' ComputeResource (Prelude.Maybe Prelude.Text)+computeResource_imageId = Lens.lens (\ComputeResource' {imageId} -> imageId) (\s@ComputeResource' {} a -> s {imageId = a} :: ComputeResource)++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/instance_IAM_role.html Amazon ECS instance role>+-- in the /Batch User Guide/.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources. Don\'t specify it.+computeResource_instanceRole :: Lens.Lens' ComputeResource (Prelude.Maybe Prelude.Text)+computeResource_instanceRole = Lens.lens (\ComputeResource' {instanceRole} -> instanceRole) (\s@ComputeResource' {} a -> s {instanceRole = a} :: ComputeResource)++-- | 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.+computeResource_instanceTypes :: Lens.Lens' ComputeResource (Prelude.Maybe [Prelude.Text])+computeResource_instanceTypes = Lens.lens (\ComputeResource' {instanceTypes} -> instanceTypes) (\s@ComputeResource' {} a -> s {instanceTypes = a} :: ComputeResource) Prelude.. Lens.mapping Lens.coerced++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html Launch template support>+-- in the /Batch User Guide/.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources. Don\'t specify it.+computeResource_launchTemplate :: Lens.Lens' ComputeResource (Prelude.Maybe LaunchTemplateSpecification)+computeResource_launchTemplate = Lens.lens (\ComputeResource' {launchTemplate} -> launchTemplate) (\s@ComputeResource' {} a -> s {launchTemplate = a} :: ComputeResource)++-- | The minimum number of Amazon EC2 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.+computeResource_minvCpus :: Lens.Lens' ComputeResource (Prelude.Maybe Prelude.Int)+computeResource_minvCpus = Lens.lens (\ComputeResource' {minvCpus} -> minvCpus) (\s@ComputeResource' {} a -> s {minvCpus = a} :: ComputeResource)++-- | 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+-- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html Placement groups>+-- 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.+computeResource_placementGroup :: Lens.Lens' ComputeResource (Prelude.Maybe Prelude.Text)+computeResource_placementGroup = Lens.lens (\ComputeResource' {placementGroup} -> placementGroup) (\s@ComputeResource' {} a -> s {placementGroup = a} :: ComputeResource)++-- | 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.+computeResource_securityGroupIds :: Lens.Lens' ComputeResource (Prelude.Maybe [Prelude.Text])+computeResource_securityGroupIds = Lens.lens (\ComputeResource' {securityGroupIds} -> securityGroupIds) (\s@ComputeResource' {} a -> s {securityGroupIds = a} :: ComputeResource) Prelude.. Lens.mapping Lens.coerced++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html Amazon EC2 spot fleet role>+-- 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#spot-instance-no-tag Spot instances not tagged on creation>+-- in the /Batch User Guide/.+computeResource_spotIamFleetRole :: Lens.Lens' ComputeResource (Prelude.Maybe Prelude.Text)+computeResource_spotIamFleetRole = Lens.lens (\ComputeResource' {spotIamFleetRole} -> spotIamFleetRole) (\s@ComputeResource' {} a -> s {spotIamFleetRole = a} :: ComputeResource)++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- 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.+computeResource_tags :: Lens.Lens' ComputeResource (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+computeResource_tags = Lens.lens (\ComputeResource' {tags} -> tags) (\s@ComputeResource' {} a -> s {tags = a} :: ComputeResource) Prelude.. Lens.mapping Lens.coerced++-- | The type of compute environment: @EC2@, @SPOT@, @FARGATE@, or+-- @FARGATE_SPOT@. For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html Compute environments>+-- 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html Amazon EC2 spot fleet role>+-- in the /Batch User Guide/.+computeResource_type :: Lens.Lens' ComputeResource CRType+computeResource_type = Lens.lens (\ComputeResource' {type'} -> type') (\s@ComputeResource' {} a -> s {type' = a} :: ComputeResource)++-- | The maximum number of Amazon EC2 vCPUs that a compute environment can+-- reach.+--+-- With both @BEST_FIT_PROGRESSIVE@ and @SPOT_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.+computeResource_maxvCpus :: Lens.Lens' ComputeResource Prelude.Int+computeResource_maxvCpus = Lens.lens (\ComputeResource' {maxvCpus} -> maxvCpus) (\s@ComputeResource' {} a -> s {maxvCpus = a} :: ComputeResource)++-- | 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+-- <https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html VPCs and subnets>+-- in the /Amazon VPC User Guide/.+--+-- Batch on Amazon EC2 and Batch on Amazon EKS support Local Zones. For+-- more information, see+-- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-local-zones Local Zones>+-- in the /Amazon EC2 User Guide for Linux Instances/,+-- <https://docs.aws.amazon.com/eks/latest/userguide/local-zones.html Amazon EKS and Amazon Web Services Local Zones>+-- in the /Amazon EKS User Guide/ and+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-regions-zones.html#clusters-local-zones Amazon ECS clusters in Local Zones, Wavelength Zones, and Amazon Web Services Outposts>+-- in the /Amazon ECS Developer Guide/.+--+-- Batch on Fargate doesn\'t currently support Local Zones.+computeResource_subnets :: Lens.Lens' ComputeResource [Prelude.Text]+computeResource_subnets = Lens.lens (\ComputeResource' {subnets} -> subnets) (\s@ComputeResource' {} a -> s {subnets = a} :: ComputeResource) Prelude.. Lens.coerced++instance Data.FromJSON ComputeResource where+ parseJSON =+ Data.withObject+ "ComputeResource"+ ( \x ->+ ComputeResource'+ Prelude.<$> (x Data..:? "allocationStrategy")+ Prelude.<*> (x Data..:? "bidPercentage")+ Prelude.<*> (x Data..:? "desiredvCpus")+ Prelude.<*> ( x+ Data..:? "ec2Configuration"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "ec2KeyPair")+ Prelude.<*> (x Data..:? "imageId")+ Prelude.<*> (x Data..:? "instanceRole")+ Prelude.<*> (x Data..:? "instanceTypes" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "launchTemplate")+ Prelude.<*> (x Data..:? "minvCpus")+ Prelude.<*> (x Data..:? "placementGroup")+ Prelude.<*> ( x+ Data..:? "securityGroupIds"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "spotIamFleetRole")+ Prelude.<*> (x Data..:? "tags" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..: "type")+ Prelude.<*> (x Data..: "maxvCpus")+ Prelude.<*> (x Data..:? "subnets" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable ComputeResource where+ hashWithSalt _salt ComputeResource' {..} =+ _salt+ `Prelude.hashWithSalt` allocationStrategy+ `Prelude.hashWithSalt` bidPercentage+ `Prelude.hashWithSalt` desiredvCpus+ `Prelude.hashWithSalt` ec2Configuration+ `Prelude.hashWithSalt` ec2KeyPair+ `Prelude.hashWithSalt` imageId+ `Prelude.hashWithSalt` instanceRole+ `Prelude.hashWithSalt` instanceTypes+ `Prelude.hashWithSalt` launchTemplate+ `Prelude.hashWithSalt` minvCpus+ `Prelude.hashWithSalt` placementGroup+ `Prelude.hashWithSalt` securityGroupIds+ `Prelude.hashWithSalt` spotIamFleetRole+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` type'+ `Prelude.hashWithSalt` maxvCpus+ `Prelude.hashWithSalt` subnets++instance Prelude.NFData ComputeResource where+ rnf ComputeResource' {..} =+ Prelude.rnf allocationStrategy+ `Prelude.seq` Prelude.rnf bidPercentage+ `Prelude.seq` Prelude.rnf desiredvCpus+ `Prelude.seq` Prelude.rnf ec2Configuration+ `Prelude.seq` Prelude.rnf ec2KeyPair+ `Prelude.seq` Prelude.rnf imageId+ `Prelude.seq` Prelude.rnf instanceRole+ `Prelude.seq` Prelude.rnf instanceTypes+ `Prelude.seq` Prelude.rnf launchTemplate+ `Prelude.seq` Prelude.rnf minvCpus+ `Prelude.seq` Prelude.rnf placementGroup+ `Prelude.seq` Prelude.rnf securityGroupIds+ `Prelude.seq` Prelude.rnf spotIamFleetRole+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf type'+ `Prelude.seq` Prelude.rnf maxvCpus+ `Prelude.seq` Prelude.rnf subnets++instance Data.ToJSON ComputeResource where+ toJSON ComputeResource' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("allocationStrategy" Data..=)+ Prelude.<$> allocationStrategy,+ ("bidPercentage" Data..=) Prelude.<$> bidPercentage,+ ("desiredvCpus" Data..=) Prelude.<$> desiredvCpus,+ ("ec2Configuration" Data..=)+ Prelude.<$> ec2Configuration,+ ("ec2KeyPair" Data..=) Prelude.<$> ec2KeyPair,+ ("imageId" Data..=) Prelude.<$> imageId,+ ("instanceRole" Data..=) Prelude.<$> instanceRole,+ ("instanceTypes" Data..=) Prelude.<$> instanceTypes,+ ("launchTemplate" Data..=)+ Prelude.<$> launchTemplate,+ ("minvCpus" Data..=) Prelude.<$> minvCpus,+ ("placementGroup" Data..=)+ Prelude.<$> placementGroup,+ ("securityGroupIds" Data..=)+ Prelude.<$> securityGroupIds,+ ("spotIamFleetRole" Data..=)+ Prelude.<$> spotIamFleetRole,+ ("tags" Data..=) Prelude.<$> tags,+ Prelude.Just ("type" Data..= type'),+ Prelude.Just ("maxvCpus" Data..= maxvCpus),+ Prelude.Just ("subnets" Data..= subnets)+ ]+ )
+ gen/Amazonka/Batch/Types/ComputeResourceUpdate.hs view
@@ -0,0 +1,1115 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.ComputeResourceUpdate+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.ComputeResourceUpdate where++import Amazonka.Batch.Types.CRType+import Amazonka.Batch.Types.CRUpdateAllocationStrategy+import Amazonka.Batch.Types.Ec2Configuration+import Amazonka.Batch.Types.LaunchTemplateSpecification+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that represents the attributes of a compute environment that+-- can be updated. For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+--+-- /See:/ 'newComputeResourceUpdate' smart constructor.+data ComputeResourceUpdate = ComputeResourceUpdate'+ { -- | 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+ -- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html Amazon EC2 service limits>.+ -- For more information, see+ -- <https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html Allocation strategies>+ -- 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+ -- 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.+ --+ -- With both @BEST_FIT_PROGRESSIVE@ and @SPOT_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 :: Prelude.Maybe 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+ -- in the /Batch User Guide/.+ --+ -- This parameter isn\'t applicable to jobs that are running on Fargate+ -- resources. Don\'t specify it.+ bidPercentage :: Prelude.Maybe Prelude.Int,+ -- | The desired number of Amazon EC2 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.+ desiredvCpus :: Prelude.Maybe Prelude.Int,+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+ -- 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 :: Prelude.Maybe [Ec2Configuration],+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+ -- in the /Batch User Guide/.+ --+ -- This parameter isn\'t applicable to jobs that are running on Fargate+ -- resources. Don\'t specify it.+ ec2KeyPair :: Prelude.Maybe Prelude.Text,+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+ -- 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+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html Amazon ECS-optimized Amazon Linux 2 AMI>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ imageId :: Prelude.Maybe Prelude.Text,+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/instance_IAM_role.html Amazon ECS instance role>+ -- 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+ -- in the /Batch User Guide/.+ --+ -- This parameter isn\'t applicable to jobs that are running on Fargate+ -- resources. Don\'t specify it.+ instanceRole :: Prelude.Maybe Prelude.Text,+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+ -- 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 :: Prelude.Maybe [Prelude.Text],+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html Launch template support>+ -- 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+ -- in the /Batch User Guide/.+ --+ -- This parameter isn\'t applicable to jobs that are running on Fargate+ -- resources. Don\'t specify it.+ launchTemplate :: Prelude.Maybe LaunchTemplateSpecification,+ -- | The maximum number of Amazon EC2 vCPUs that an environment can reach.+ --+ -- With both @BEST_FIT_PROGRESSIVE@ and @SPOT_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 :: Prelude.Maybe Prelude.Int,+ -- | The minimum number of Amazon EC2 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 :: Prelude.Maybe Prelude.Int,+ -- | 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+ -- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html Placement groups>+ -- 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+ -- in the /Batch User Guide/.+ --+ -- This parameter isn\'t applicable to jobs that are running on Fargate+ -- resources. Don\'t specify it.+ placementGroup :: Prelude.Maybe Prelude.Text,+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+ -- in the /Batch User Guide/.+ securityGroupIds :: Prelude.Maybe [Prelude.Text],+ -- | 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+ -- <https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html VPCs and subnets>+ -- 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+ -- in the /Batch User Guide/.+ --+ -- Batch on Amazon EC2 and Batch on Amazon EKS support Local Zones. For+ -- more information, see+ -- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-local-zones Local Zones>+ -- in the /Amazon EC2 User Guide for Linux Instances/,+ -- <https://docs.aws.amazon.com/eks/latest/userguide/local-zones.html Amazon EKS and Amazon Web Services Local Zones>+ -- in the /Amazon EKS User Guide/ and+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-regions-zones.html#clusters-local-zones Amazon ECS clusters in Local Zones, Wavelength Zones, and Amazon Web Services Outposts>+ -- in the /Amazon ECS Developer Guide/.+ --+ -- Batch on Fargate doesn\'t currently support Local Zones.+ subnets :: Prelude.Maybe [Prelude.Text],+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+ -- in the /Batch User Guide/.+ --+ -- This parameter isn\'t applicable to jobs that are running on Fargate+ -- resources. Don\'t specify it.+ tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | The type of compute environment: @EC2@, @SPOT@, @FARGATE@, or+ -- @FARGATE_SPOT@. For more information, see+ -- <https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html Compute environments>+ -- 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html Amazon EC2 spot fleet role>+ -- 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+ -- in the /Batch User Guide/.+ type' :: Prelude.Maybe 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html#updating-compute-environments-ami Updating the AMI ID>+ -- 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+ -- in the /Batch User Guide/.+ updateToLatestImageVersion :: Prelude.Maybe Prelude.Bool+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ComputeResourceUpdate' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'allocationStrategy', 'computeResourceUpdate_allocationStrategy' - 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+-- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html Amazon EC2 service limits>.+-- For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html Allocation strategies>+-- 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- 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.+--+-- With both @BEST_FIT_PROGRESSIVE@ and @SPOT_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.+--+-- 'bidPercentage', 'computeResourceUpdate_bidPercentage' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources. Don\'t specify it.+--+-- 'desiredvCpus', 'computeResourceUpdate_desiredvCpus' - The desired number of Amazon EC2 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.+--+-- 'ec2Configuration', 'computeResourceUpdate_ec2Configuration' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- 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.+--+-- 'ec2KeyPair', 'computeResourceUpdate_ec2KeyPair' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources. Don\'t specify it.+--+-- 'imageId', 'computeResourceUpdate_imageId' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- 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+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html Amazon ECS-optimized Amazon Linux 2 AMI>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'instanceRole', 'computeResourceUpdate_instanceRole' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/instance_IAM_role.html Amazon ECS instance role>+-- 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources. Don\'t specify it.+--+-- 'instanceTypes', 'computeResourceUpdate_instanceTypes' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- 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.+--+-- 'launchTemplate', 'computeResourceUpdate_launchTemplate' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html Launch template support>+-- 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources. Don\'t specify it.+--+-- 'maxvCpus', 'computeResourceUpdate_maxvCpus' - The maximum number of Amazon EC2 vCPUs that an environment can reach.+--+-- With both @BEST_FIT_PROGRESSIVE@ and @SPOT_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.+--+-- 'minvCpus', 'computeResourceUpdate_minvCpus' - The minimum number of Amazon EC2 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.+--+-- 'placementGroup', 'computeResourceUpdate_placementGroup' - 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+-- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html Placement groups>+-- 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources. Don\'t specify it.+--+-- 'securityGroupIds', 'computeResourceUpdate_securityGroupIds' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+--+-- 'subnets', 'computeResourceUpdate_subnets' - 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+-- <https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html VPCs and subnets>+-- 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+--+-- Batch on Amazon EC2 and Batch on Amazon EKS support Local Zones. For+-- more information, see+-- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-local-zones Local Zones>+-- in the /Amazon EC2 User Guide for Linux Instances/,+-- <https://docs.aws.amazon.com/eks/latest/userguide/local-zones.html Amazon EKS and Amazon Web Services Local Zones>+-- in the /Amazon EKS User Guide/ and+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-regions-zones.html#clusters-local-zones Amazon ECS clusters in Local Zones, Wavelength Zones, and Amazon Web Services Outposts>+-- in the /Amazon ECS Developer Guide/.+--+-- Batch on Fargate doesn\'t currently support Local Zones.+--+-- 'tags', 'computeResourceUpdate_tags' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources. Don\'t specify it.+--+-- 'type'', 'computeResourceUpdate_type' - The type of compute environment: @EC2@, @SPOT@, @FARGATE@, or+-- @FARGATE_SPOT@. For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html Compute environments>+-- 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html Amazon EC2 spot fleet role>+-- 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+--+-- 'updateToLatestImageVersion', 'computeResourceUpdate_updateToLatestImageVersion' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html#updating-compute-environments-ami Updating the AMI ID>+-- 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+newComputeResourceUpdate ::+ ComputeResourceUpdate+newComputeResourceUpdate =+ ComputeResourceUpdate'+ { allocationStrategy =+ Prelude.Nothing,+ bidPercentage = Prelude.Nothing,+ desiredvCpus = Prelude.Nothing,+ ec2Configuration = Prelude.Nothing,+ ec2KeyPair = Prelude.Nothing,+ imageId = Prelude.Nothing,+ instanceRole = Prelude.Nothing,+ instanceTypes = Prelude.Nothing,+ launchTemplate = Prelude.Nothing,+ maxvCpus = Prelude.Nothing,+ minvCpus = Prelude.Nothing,+ placementGroup = Prelude.Nothing,+ securityGroupIds = Prelude.Nothing,+ subnets = Prelude.Nothing,+ tags = Prelude.Nothing,+ type' = Prelude.Nothing,+ updateToLatestImageVersion = Prelude.Nothing+ }++-- | 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+-- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html Amazon EC2 service limits>.+-- For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html Allocation strategies>+-- 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- 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.+--+-- With both @BEST_FIT_PROGRESSIVE@ and @SPOT_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.+computeResourceUpdate_allocationStrategy :: Lens.Lens' ComputeResourceUpdate (Prelude.Maybe CRUpdateAllocationStrategy)+computeResourceUpdate_allocationStrategy = Lens.lens (\ComputeResourceUpdate' {allocationStrategy} -> allocationStrategy) (\s@ComputeResourceUpdate' {} a -> s {allocationStrategy = a} :: ComputeResourceUpdate)++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources. Don\'t specify it.+computeResourceUpdate_bidPercentage :: Lens.Lens' ComputeResourceUpdate (Prelude.Maybe Prelude.Int)+computeResourceUpdate_bidPercentage = Lens.lens (\ComputeResourceUpdate' {bidPercentage} -> bidPercentage) (\s@ComputeResourceUpdate' {} a -> s {bidPercentage = a} :: ComputeResourceUpdate)++-- | The desired number of Amazon EC2 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.+computeResourceUpdate_desiredvCpus :: Lens.Lens' ComputeResourceUpdate (Prelude.Maybe Prelude.Int)+computeResourceUpdate_desiredvCpus = Lens.lens (\ComputeResourceUpdate' {desiredvCpus} -> desiredvCpus) (\s@ComputeResourceUpdate' {} a -> s {desiredvCpus = a} :: ComputeResourceUpdate)++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- 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.+computeResourceUpdate_ec2Configuration :: Lens.Lens' ComputeResourceUpdate (Prelude.Maybe [Ec2Configuration])+computeResourceUpdate_ec2Configuration = Lens.lens (\ComputeResourceUpdate' {ec2Configuration} -> ec2Configuration) (\s@ComputeResourceUpdate' {} a -> s {ec2Configuration = a} :: ComputeResourceUpdate) Prelude.. Lens.mapping Lens.coerced++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources. Don\'t specify it.+computeResourceUpdate_ec2KeyPair :: Lens.Lens' ComputeResourceUpdate (Prelude.Maybe Prelude.Text)+computeResourceUpdate_ec2KeyPair = Lens.lens (\ComputeResourceUpdate' {ec2KeyPair} -> ec2KeyPair) (\s@ComputeResourceUpdate' {} a -> s {ec2KeyPair = a} :: ComputeResourceUpdate)++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- 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+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html Amazon ECS-optimized Amazon Linux 2 AMI>+-- in the /Amazon Elastic Container Service Developer Guide/.+computeResourceUpdate_imageId :: Lens.Lens' ComputeResourceUpdate (Prelude.Maybe Prelude.Text)+computeResourceUpdate_imageId = Lens.lens (\ComputeResourceUpdate' {imageId} -> imageId) (\s@ComputeResourceUpdate' {} a -> s {imageId = a} :: ComputeResourceUpdate)++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/instance_IAM_role.html Amazon ECS instance role>+-- 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources. Don\'t specify it.+computeResourceUpdate_instanceRole :: Lens.Lens' ComputeResourceUpdate (Prelude.Maybe Prelude.Text)+computeResourceUpdate_instanceRole = Lens.lens (\ComputeResourceUpdate' {instanceRole} -> instanceRole) (\s@ComputeResourceUpdate' {} a -> s {instanceRole = a} :: ComputeResourceUpdate)++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- 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.+computeResourceUpdate_instanceTypes :: Lens.Lens' ComputeResourceUpdate (Prelude.Maybe [Prelude.Text])+computeResourceUpdate_instanceTypes = Lens.lens (\ComputeResourceUpdate' {instanceTypes} -> instanceTypes) (\s@ComputeResourceUpdate' {} a -> s {instanceTypes = a} :: ComputeResourceUpdate) Prelude.. Lens.mapping Lens.coerced++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html Launch template support>+-- 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources. Don\'t specify it.+computeResourceUpdate_launchTemplate :: Lens.Lens' ComputeResourceUpdate (Prelude.Maybe LaunchTemplateSpecification)+computeResourceUpdate_launchTemplate = Lens.lens (\ComputeResourceUpdate' {launchTemplate} -> launchTemplate) (\s@ComputeResourceUpdate' {} a -> s {launchTemplate = a} :: ComputeResourceUpdate)++-- | The maximum number of Amazon EC2 vCPUs that an environment can reach.+--+-- With both @BEST_FIT_PROGRESSIVE@ and @SPOT_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.+computeResourceUpdate_maxvCpus :: Lens.Lens' ComputeResourceUpdate (Prelude.Maybe Prelude.Int)+computeResourceUpdate_maxvCpus = Lens.lens (\ComputeResourceUpdate' {maxvCpus} -> maxvCpus) (\s@ComputeResourceUpdate' {} a -> s {maxvCpus = a} :: ComputeResourceUpdate)++-- | The minimum number of Amazon EC2 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.+computeResourceUpdate_minvCpus :: Lens.Lens' ComputeResourceUpdate (Prelude.Maybe Prelude.Int)+computeResourceUpdate_minvCpus = Lens.lens (\ComputeResourceUpdate' {minvCpus} -> minvCpus) (\s@ComputeResourceUpdate' {} a -> s {minvCpus = a} :: ComputeResourceUpdate)++-- | 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+-- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html Placement groups>+-- 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources. Don\'t specify it.+computeResourceUpdate_placementGroup :: Lens.Lens' ComputeResourceUpdate (Prelude.Maybe Prelude.Text)+computeResourceUpdate_placementGroup = Lens.lens (\ComputeResourceUpdate' {placementGroup} -> placementGroup) (\s@ComputeResourceUpdate' {} a -> s {placementGroup = a} :: ComputeResourceUpdate)++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+computeResourceUpdate_securityGroupIds :: Lens.Lens' ComputeResourceUpdate (Prelude.Maybe [Prelude.Text])+computeResourceUpdate_securityGroupIds = Lens.lens (\ComputeResourceUpdate' {securityGroupIds} -> securityGroupIds) (\s@ComputeResourceUpdate' {} a -> s {securityGroupIds = a} :: ComputeResourceUpdate) Prelude.. Lens.mapping Lens.coerced++-- | 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+-- <https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html VPCs and subnets>+-- 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+--+-- Batch on Amazon EC2 and Batch on Amazon EKS support Local Zones. For+-- more information, see+-- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-local-zones Local Zones>+-- in the /Amazon EC2 User Guide for Linux Instances/,+-- <https://docs.aws.amazon.com/eks/latest/userguide/local-zones.html Amazon EKS and Amazon Web Services Local Zones>+-- in the /Amazon EKS User Guide/ and+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-regions-zones.html#clusters-local-zones Amazon ECS clusters in Local Zones, Wavelength Zones, and Amazon Web Services Outposts>+-- in the /Amazon ECS Developer Guide/.+--+-- Batch on Fargate doesn\'t currently support Local Zones.+computeResourceUpdate_subnets :: Lens.Lens' ComputeResourceUpdate (Prelude.Maybe [Prelude.Text])+computeResourceUpdate_subnets = Lens.lens (\ComputeResourceUpdate' {subnets} -> subnets) (\s@ComputeResourceUpdate' {} a -> s {subnets = a} :: ComputeResourceUpdate) Prelude.. Lens.mapping Lens.coerced++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources. Don\'t specify it.+computeResourceUpdate_tags :: Lens.Lens' ComputeResourceUpdate (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+computeResourceUpdate_tags = Lens.lens (\ComputeResourceUpdate' {tags} -> tags) (\s@ComputeResourceUpdate' {} a -> s {tags = a} :: ComputeResourceUpdate) Prelude.. Lens.mapping Lens.coerced++-- | The type of compute environment: @EC2@, @SPOT@, @FARGATE@, or+-- @FARGATE_SPOT@. For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html Compute environments>+-- 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html Amazon EC2 spot fleet role>+-- 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+computeResourceUpdate_type :: Lens.Lens' ComputeResourceUpdate (Prelude.Maybe CRType)+computeResourceUpdate_type = Lens.lens (\ComputeResourceUpdate' {type'} -> type') (\s@ComputeResourceUpdate' {} a -> s {type' = a} :: ComputeResourceUpdate)++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html#updating-compute-environments-ami Updating the AMI ID>+-- 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+computeResourceUpdate_updateToLatestImageVersion :: Lens.Lens' ComputeResourceUpdate (Prelude.Maybe Prelude.Bool)+computeResourceUpdate_updateToLatestImageVersion = Lens.lens (\ComputeResourceUpdate' {updateToLatestImageVersion} -> updateToLatestImageVersion) (\s@ComputeResourceUpdate' {} a -> s {updateToLatestImageVersion = a} :: ComputeResourceUpdate)++instance Prelude.Hashable ComputeResourceUpdate where+ hashWithSalt _salt ComputeResourceUpdate' {..} =+ _salt+ `Prelude.hashWithSalt` allocationStrategy+ `Prelude.hashWithSalt` bidPercentage+ `Prelude.hashWithSalt` desiredvCpus+ `Prelude.hashWithSalt` ec2Configuration+ `Prelude.hashWithSalt` ec2KeyPair+ `Prelude.hashWithSalt` imageId+ `Prelude.hashWithSalt` instanceRole+ `Prelude.hashWithSalt` instanceTypes+ `Prelude.hashWithSalt` launchTemplate+ `Prelude.hashWithSalt` maxvCpus+ `Prelude.hashWithSalt` minvCpus+ `Prelude.hashWithSalt` placementGroup+ `Prelude.hashWithSalt` securityGroupIds+ `Prelude.hashWithSalt` subnets+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` type'+ `Prelude.hashWithSalt` updateToLatestImageVersion++instance Prelude.NFData ComputeResourceUpdate where+ rnf ComputeResourceUpdate' {..} =+ Prelude.rnf allocationStrategy+ `Prelude.seq` Prelude.rnf bidPercentage+ `Prelude.seq` Prelude.rnf desiredvCpus+ `Prelude.seq` Prelude.rnf ec2Configuration+ `Prelude.seq` Prelude.rnf ec2KeyPair+ `Prelude.seq` Prelude.rnf imageId+ `Prelude.seq` Prelude.rnf instanceRole+ `Prelude.seq` Prelude.rnf instanceTypes+ `Prelude.seq` Prelude.rnf launchTemplate+ `Prelude.seq` Prelude.rnf maxvCpus+ `Prelude.seq` Prelude.rnf minvCpus+ `Prelude.seq` Prelude.rnf placementGroup+ `Prelude.seq` Prelude.rnf securityGroupIds+ `Prelude.seq` Prelude.rnf subnets+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf type'+ `Prelude.seq` Prelude.rnf+ updateToLatestImageVersion++instance Data.ToJSON ComputeResourceUpdate where+ toJSON ComputeResourceUpdate' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("allocationStrategy" Data..=)+ Prelude.<$> allocationStrategy,+ ("bidPercentage" Data..=) Prelude.<$> bidPercentage,+ ("desiredvCpus" Data..=) Prelude.<$> desiredvCpus,+ ("ec2Configuration" Data..=)+ Prelude.<$> ec2Configuration,+ ("ec2KeyPair" Data..=) Prelude.<$> ec2KeyPair,+ ("imageId" Data..=) Prelude.<$> imageId,+ ("instanceRole" Data..=) Prelude.<$> instanceRole,+ ("instanceTypes" Data..=) Prelude.<$> instanceTypes,+ ("launchTemplate" Data..=)+ Prelude.<$> launchTemplate,+ ("maxvCpus" Data..=) Prelude.<$> maxvCpus,+ ("minvCpus" Data..=) Prelude.<$> minvCpus,+ ("placementGroup" Data..=)+ Prelude.<$> placementGroup,+ ("securityGroupIds" Data..=)+ Prelude.<$> securityGroupIds,+ ("subnets" Data..=) Prelude.<$> subnets,+ ("tags" Data..=) Prelude.<$> tags,+ ("type" Data..=) Prelude.<$> type',+ ("updateToLatestImageVersion" Data..=)+ Prelude.<$> updateToLatestImageVersion+ ]+ )
+ gen/Amazonka/Batch/Types/ContainerDetail.hs view
@@ -0,0 +1,707 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.ContainerDetail+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.ContainerDetail where++import Amazonka.Batch.Types.FargatePlatformConfiguration+import Amazonka.Batch.Types.KeyValuePair+import Amazonka.Batch.Types.LinuxParameters+import Amazonka.Batch.Types.LogConfiguration+import Amazonka.Batch.Types.MountPoint+import Amazonka.Batch.Types.NetworkConfiguration+import Amazonka.Batch.Types.NetworkInterface+import Amazonka.Batch.Types.ResourceRequirement+import Amazonka.Batch.Types.Secret+import Amazonka.Batch.Types.Ulimit+import Amazonka.Batch.Types.Volume+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that represents the details of a container that\'s part of a+-- job.+--+-- /See:/ 'newContainerDetail' smart constructor.+data ContainerDetail = ContainerDetail'+ { -- | The command that\'s passed to the container.+ command :: Prelude.Maybe [Prelude.Text],+ -- | The Amazon Resource Name (ARN) of the container instance that the+ -- container is running on.+ containerInstanceArn :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe [KeyValuePair],+ -- | The Amazon Resource Name (ARN) of the execution role that Batch can+ -- assume. For more information, see+ -- <https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html Batch execution IAM role>+ -- in the /Batch User Guide/.+ executionRoleArn :: Prelude.Maybe Prelude.Text,+ -- | The exit code to return upon completion.+ exitCode :: Prelude.Maybe Prelude.Int,+ -- | The platform configuration for jobs that are running on Fargate+ -- resources. Jobs that are running on EC2 resources must not specify this+ -- parameter.+ fargatePlatformConfiguration :: Prelude.Maybe FargatePlatformConfiguration,+ -- | The image used to start the container.+ image :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | The Amazon Resource Name (ARN) that\'s associated with the job when run.+ jobRoleArn :: Prelude.Maybe Prelude.Text,+ -- | Linux-specific modifications that are applied to the container, such as+ -- details for device mappings.+ linuxParameters :: Prelude.Maybe LinuxParameters,+ -- | The log configuration specification for the container.+ --+ -- This parameter maps to @LogConfig@ in the+ -- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+ -- @--log-driver@ option to+ -- <https://docs.docker.com/engine/reference/run/ docker 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+ -- <https://docs.docker.com/engine/admin/logging/overview/ Configure logging drivers>+ -- 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+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html Amazon ECS container agent configuration>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ logConfiguration :: Prelude.Maybe LogConfiguration,+ -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe Prelude.Int,+ -- | The mount points for data volumes in your container.+ mountPoints :: Prelude.Maybe [MountPoint],+ -- | The network configuration for jobs that are running on Fargate+ -- resources. Jobs that are running on EC2 resources must not specify this+ -- parameter.+ networkConfiguration :: Prelude.Maybe NetworkConfiguration,+ -- | The network interfaces that are associated with the job.+ networkInterfaces :: Prelude.Maybe [NetworkInterface],+ -- | 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 :: Prelude.Maybe Prelude.Bool,+ -- | When this parameter is true, the container is given read-only access to+ -- its root file system. This parameter maps to @ReadonlyRootfs@ in the+ -- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+ -- @--read-only@ option to+ -- <https://docs.docker.com/engine/reference/commandline/run/ docker run> .+ readonlyRootFilesystem :: Prelude.Maybe Prelude.Bool,+ -- | A short (255 max characters) human-readable string to provide additional+ -- details for a running or stopped container.+ reason :: Prelude.Maybe Prelude.Text,+ -- | The type and amount of resources to assign to a container. The supported+ -- resources include @GPU@, @MEMORY@, and @VCPU@.+ resourceRequirements :: Prelude.Maybe [ResourceRequirement],+ -- | The secrets to pass to the container. For more information, see+ -- <https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html Specifying sensitive data>+ -- in the /Batch User Guide/.+ secrets :: Prelude.Maybe [Secret],+ -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | A list of @ulimit@ values to set in the container. This parameter maps+ -- to @Ulimits@ in the+ -- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+ -- @--ulimit@ option to+ -- <https://docs.docker.com/engine/reference/run/ docker run>.+ --+ -- This parameter isn\'t applicable to jobs that are running on Fargate+ -- resources.+ ulimits :: Prelude.Maybe [Ulimit],+ -- | The user name to use inside the container. This parameter maps to @User@+ -- in the+ -- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+ -- @--user@ option to+ -- <https://docs.docker.com/engine/reference/run/ docker run>.+ user :: Prelude.Maybe Prelude.Text,+ -- | 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+ -- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+ -- @--cpu-shares@ option to+ -- <https://docs.docker.com/engine/reference/run/ docker 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 :: Prelude.Maybe Prelude.Int,+ -- | A list of volumes that are associated with the job.+ volumes :: Prelude.Maybe [Volume]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ContainerDetail' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'command', 'containerDetail_command' - The command that\'s passed to the container.+--+-- 'containerInstanceArn', 'containerDetail_containerInstanceArn' - The Amazon Resource Name (ARN) of the container instance that the+-- container is running on.+--+-- 'environment', 'containerDetail_environment' - 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.+--+-- 'executionRoleArn', 'containerDetail_executionRoleArn' - The Amazon Resource Name (ARN) of the execution role that Batch can+-- assume. For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html Batch execution IAM role>+-- in the /Batch User Guide/.+--+-- 'exitCode', 'containerDetail_exitCode' - The exit code to return upon completion.+--+-- 'fargatePlatformConfiguration', 'containerDetail_fargatePlatformConfiguration' - The platform configuration for jobs that are running on Fargate+-- resources. Jobs that are running on EC2 resources must not specify this+-- parameter.+--+-- 'image', 'containerDetail_image' - The image used to start the container.+--+-- 'instanceType', 'containerDetail_instanceType' - 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.+--+-- 'jobRoleArn', 'containerDetail_jobRoleArn' - The Amazon Resource Name (ARN) that\'s associated with the job when run.+--+-- 'linuxParameters', 'containerDetail_linuxParameters' - Linux-specific modifications that are applied to the container, such as+-- details for device mappings.+--+-- 'logConfiguration', 'containerDetail_logConfiguration' - The log configuration specification for the container.+--+-- This parameter maps to @LogConfig@ in the+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--log-driver@ option to+-- <https://docs.docker.com/engine/reference/run/ docker 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+-- <https://docs.docker.com/engine/admin/logging/overview/ Configure logging drivers>+-- 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+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html Amazon ECS container agent configuration>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'logStreamName', 'containerDetail_logStreamName' - 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.+--+-- 'memory', 'containerDetail_memory' - 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@.+--+-- 'mountPoints', 'containerDetail_mountPoints' - The mount points for data volumes in your container.+--+-- 'networkConfiguration', 'containerDetail_networkConfiguration' - The network configuration for jobs that are running on Fargate+-- resources. Jobs that are running on EC2 resources must not specify this+-- parameter.+--+-- 'networkInterfaces', 'containerDetail_networkInterfaces' - The network interfaces that are associated with the job.+--+-- 'privileged', 'containerDetail_privileged' - 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@.+--+-- 'readonlyRootFilesystem', 'containerDetail_readonlyRootFilesystem' - When this parameter is true, the container is given read-only access to+-- its root file system. This parameter maps to @ReadonlyRootfs@ in the+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--read-only@ option to+-- <https://docs.docker.com/engine/reference/commandline/run/ docker run> .+--+-- 'reason', 'containerDetail_reason' - A short (255 max characters) human-readable string to provide additional+-- details for a running or stopped container.+--+-- 'resourceRequirements', 'containerDetail_resourceRequirements' - The type and amount of resources to assign to a container. The supported+-- resources include @GPU@, @MEMORY@, and @VCPU@.+--+-- 'secrets', 'containerDetail_secrets' - The secrets to pass to the container. For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html Specifying sensitive data>+-- in the /Batch User Guide/.+--+-- 'taskArn', 'containerDetail_taskArn' - 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.+--+-- 'ulimits', 'containerDetail_ulimits' - A list of @ulimit@ values to set in the container. This parameter maps+-- to @Ulimits@ in the+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--ulimit@ option to+-- <https://docs.docker.com/engine/reference/run/ docker run>.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources.+--+-- 'user', 'containerDetail_user' - The user name to use inside the container. This parameter maps to @User@+-- in the+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--user@ option to+-- <https://docs.docker.com/engine/reference/run/ docker run>.+--+-- 'vcpus', 'containerDetail_vcpus' - 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+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--cpu-shares@ option to+-- <https://docs.docker.com/engine/reference/run/ docker 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@.+--+-- 'volumes', 'containerDetail_volumes' - A list of volumes that are associated with the job.+newContainerDetail ::+ ContainerDetail+newContainerDetail =+ ContainerDetail'+ { command = Prelude.Nothing,+ containerInstanceArn = Prelude.Nothing,+ environment = Prelude.Nothing,+ executionRoleArn = Prelude.Nothing,+ exitCode = Prelude.Nothing,+ fargatePlatformConfiguration = Prelude.Nothing,+ image = Prelude.Nothing,+ instanceType = Prelude.Nothing,+ jobRoleArn = Prelude.Nothing,+ linuxParameters = Prelude.Nothing,+ logConfiguration = Prelude.Nothing,+ logStreamName = Prelude.Nothing,+ memory = Prelude.Nothing,+ mountPoints = Prelude.Nothing,+ networkConfiguration = Prelude.Nothing,+ networkInterfaces = Prelude.Nothing,+ privileged = Prelude.Nothing,+ readonlyRootFilesystem = Prelude.Nothing,+ reason = Prelude.Nothing,+ resourceRequirements = Prelude.Nothing,+ secrets = Prelude.Nothing,+ taskArn = Prelude.Nothing,+ ulimits = Prelude.Nothing,+ user = Prelude.Nothing,+ vcpus = Prelude.Nothing,+ volumes = Prelude.Nothing+ }++-- | The command that\'s passed to the container.+containerDetail_command :: Lens.Lens' ContainerDetail (Prelude.Maybe [Prelude.Text])+containerDetail_command = Lens.lens (\ContainerDetail' {command} -> command) (\s@ContainerDetail' {} a -> s {command = a} :: ContainerDetail) Prelude.. Lens.mapping Lens.coerced++-- | The Amazon Resource Name (ARN) of the container instance that the+-- container is running on.+containerDetail_containerInstanceArn :: Lens.Lens' ContainerDetail (Prelude.Maybe Prelude.Text)+containerDetail_containerInstanceArn = Lens.lens (\ContainerDetail' {containerInstanceArn} -> containerInstanceArn) (\s@ContainerDetail' {} a -> s {containerInstanceArn = a} :: ContainerDetail)++-- | 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.+containerDetail_environment :: Lens.Lens' ContainerDetail (Prelude.Maybe [KeyValuePair])+containerDetail_environment = Lens.lens (\ContainerDetail' {environment} -> environment) (\s@ContainerDetail' {} a -> s {environment = a} :: ContainerDetail) Prelude.. Lens.mapping Lens.coerced++-- | The Amazon Resource Name (ARN) of the execution role that Batch can+-- assume. For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html Batch execution IAM role>+-- in the /Batch User Guide/.+containerDetail_executionRoleArn :: Lens.Lens' ContainerDetail (Prelude.Maybe Prelude.Text)+containerDetail_executionRoleArn = Lens.lens (\ContainerDetail' {executionRoleArn} -> executionRoleArn) (\s@ContainerDetail' {} a -> s {executionRoleArn = a} :: ContainerDetail)++-- | The exit code to return upon completion.+containerDetail_exitCode :: Lens.Lens' ContainerDetail (Prelude.Maybe Prelude.Int)+containerDetail_exitCode = Lens.lens (\ContainerDetail' {exitCode} -> exitCode) (\s@ContainerDetail' {} a -> s {exitCode = a} :: ContainerDetail)++-- | The platform configuration for jobs that are running on Fargate+-- resources. Jobs that are running on EC2 resources must not specify this+-- parameter.+containerDetail_fargatePlatformConfiguration :: Lens.Lens' ContainerDetail (Prelude.Maybe FargatePlatformConfiguration)+containerDetail_fargatePlatformConfiguration = Lens.lens (\ContainerDetail' {fargatePlatformConfiguration} -> fargatePlatformConfiguration) (\s@ContainerDetail' {} a -> s {fargatePlatformConfiguration = a} :: ContainerDetail)++-- | The image used to start the container.+containerDetail_image :: Lens.Lens' ContainerDetail (Prelude.Maybe Prelude.Text)+containerDetail_image = Lens.lens (\ContainerDetail' {image} -> image) (\s@ContainerDetail' {} a -> s {image = a} :: ContainerDetail)++-- | 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.+containerDetail_instanceType :: Lens.Lens' ContainerDetail (Prelude.Maybe Prelude.Text)+containerDetail_instanceType = Lens.lens (\ContainerDetail' {instanceType} -> instanceType) (\s@ContainerDetail' {} a -> s {instanceType = a} :: ContainerDetail)++-- | The Amazon Resource Name (ARN) that\'s associated with the job when run.+containerDetail_jobRoleArn :: Lens.Lens' ContainerDetail (Prelude.Maybe Prelude.Text)+containerDetail_jobRoleArn = Lens.lens (\ContainerDetail' {jobRoleArn} -> jobRoleArn) (\s@ContainerDetail' {} a -> s {jobRoleArn = a} :: ContainerDetail)++-- | Linux-specific modifications that are applied to the container, such as+-- details for device mappings.+containerDetail_linuxParameters :: Lens.Lens' ContainerDetail (Prelude.Maybe LinuxParameters)+containerDetail_linuxParameters = Lens.lens (\ContainerDetail' {linuxParameters} -> linuxParameters) (\s@ContainerDetail' {} a -> s {linuxParameters = a} :: ContainerDetail)++-- | The log configuration specification for the container.+--+-- This parameter maps to @LogConfig@ in the+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--log-driver@ option to+-- <https://docs.docker.com/engine/reference/run/ docker 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+-- <https://docs.docker.com/engine/admin/logging/overview/ Configure logging drivers>+-- 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+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html Amazon ECS container agent configuration>+-- in the /Amazon Elastic Container Service Developer Guide/.+containerDetail_logConfiguration :: Lens.Lens' ContainerDetail (Prelude.Maybe LogConfiguration)+containerDetail_logConfiguration = Lens.lens (\ContainerDetail' {logConfiguration} -> logConfiguration) (\s@ContainerDetail' {} a -> s {logConfiguration = a} :: ContainerDetail)++-- | 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.+containerDetail_logStreamName :: Lens.Lens' ContainerDetail (Prelude.Maybe Prelude.Text)+containerDetail_logStreamName = Lens.lens (\ContainerDetail' {logStreamName} -> logStreamName) (\s@ContainerDetail' {} a -> s {logStreamName = a} :: ContainerDetail)++-- | 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@.+containerDetail_memory :: Lens.Lens' ContainerDetail (Prelude.Maybe Prelude.Int)+containerDetail_memory = Lens.lens (\ContainerDetail' {memory} -> memory) (\s@ContainerDetail' {} a -> s {memory = a} :: ContainerDetail)++-- | The mount points for data volumes in your container.+containerDetail_mountPoints :: Lens.Lens' ContainerDetail (Prelude.Maybe [MountPoint])+containerDetail_mountPoints = Lens.lens (\ContainerDetail' {mountPoints} -> mountPoints) (\s@ContainerDetail' {} a -> s {mountPoints = a} :: ContainerDetail) Prelude.. Lens.mapping Lens.coerced++-- | The network configuration for jobs that are running on Fargate+-- resources. Jobs that are running on EC2 resources must not specify this+-- parameter.+containerDetail_networkConfiguration :: Lens.Lens' ContainerDetail (Prelude.Maybe NetworkConfiguration)+containerDetail_networkConfiguration = Lens.lens (\ContainerDetail' {networkConfiguration} -> networkConfiguration) (\s@ContainerDetail' {} a -> s {networkConfiguration = a} :: ContainerDetail)++-- | The network interfaces that are associated with the job.+containerDetail_networkInterfaces :: Lens.Lens' ContainerDetail (Prelude.Maybe [NetworkInterface])+containerDetail_networkInterfaces = Lens.lens (\ContainerDetail' {networkInterfaces} -> networkInterfaces) (\s@ContainerDetail' {} a -> s {networkInterfaces = a} :: ContainerDetail) Prelude.. Lens.mapping Lens.coerced++-- | 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@.+containerDetail_privileged :: Lens.Lens' ContainerDetail (Prelude.Maybe Prelude.Bool)+containerDetail_privileged = Lens.lens (\ContainerDetail' {privileged} -> privileged) (\s@ContainerDetail' {} a -> s {privileged = a} :: ContainerDetail)++-- | When this parameter is true, the container is given read-only access to+-- its root file system. This parameter maps to @ReadonlyRootfs@ in the+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--read-only@ option to+-- <https://docs.docker.com/engine/reference/commandline/run/ docker run> .+containerDetail_readonlyRootFilesystem :: Lens.Lens' ContainerDetail (Prelude.Maybe Prelude.Bool)+containerDetail_readonlyRootFilesystem = Lens.lens (\ContainerDetail' {readonlyRootFilesystem} -> readonlyRootFilesystem) (\s@ContainerDetail' {} a -> s {readonlyRootFilesystem = a} :: ContainerDetail)++-- | A short (255 max characters) human-readable string to provide additional+-- details for a running or stopped container.+containerDetail_reason :: Lens.Lens' ContainerDetail (Prelude.Maybe Prelude.Text)+containerDetail_reason = Lens.lens (\ContainerDetail' {reason} -> reason) (\s@ContainerDetail' {} a -> s {reason = a} :: ContainerDetail)++-- | The type and amount of resources to assign to a container. The supported+-- resources include @GPU@, @MEMORY@, and @VCPU@.+containerDetail_resourceRequirements :: Lens.Lens' ContainerDetail (Prelude.Maybe [ResourceRequirement])+containerDetail_resourceRequirements = Lens.lens (\ContainerDetail' {resourceRequirements} -> resourceRequirements) (\s@ContainerDetail' {} a -> s {resourceRequirements = a} :: ContainerDetail) Prelude.. Lens.mapping Lens.coerced++-- | The secrets to pass to the container. For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html Specifying sensitive data>+-- in the /Batch User Guide/.+containerDetail_secrets :: Lens.Lens' ContainerDetail (Prelude.Maybe [Secret])+containerDetail_secrets = Lens.lens (\ContainerDetail' {secrets} -> secrets) (\s@ContainerDetail' {} a -> s {secrets = a} :: ContainerDetail) Prelude.. Lens.mapping Lens.coerced++-- | 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.+containerDetail_taskArn :: Lens.Lens' ContainerDetail (Prelude.Maybe Prelude.Text)+containerDetail_taskArn = Lens.lens (\ContainerDetail' {taskArn} -> taskArn) (\s@ContainerDetail' {} a -> s {taskArn = a} :: ContainerDetail)++-- | A list of @ulimit@ values to set in the container. This parameter maps+-- to @Ulimits@ in the+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--ulimit@ option to+-- <https://docs.docker.com/engine/reference/run/ docker run>.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources.+containerDetail_ulimits :: Lens.Lens' ContainerDetail (Prelude.Maybe [Ulimit])+containerDetail_ulimits = Lens.lens (\ContainerDetail' {ulimits} -> ulimits) (\s@ContainerDetail' {} a -> s {ulimits = a} :: ContainerDetail) Prelude.. Lens.mapping Lens.coerced++-- | The user name to use inside the container. This parameter maps to @User@+-- in the+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--user@ option to+-- <https://docs.docker.com/engine/reference/run/ docker run>.+containerDetail_user :: Lens.Lens' ContainerDetail (Prelude.Maybe Prelude.Text)+containerDetail_user = Lens.lens (\ContainerDetail' {user} -> user) (\s@ContainerDetail' {} a -> s {user = a} :: ContainerDetail)++-- | 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+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--cpu-shares@ option to+-- <https://docs.docker.com/engine/reference/run/ docker 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@.+containerDetail_vcpus :: Lens.Lens' ContainerDetail (Prelude.Maybe Prelude.Int)+containerDetail_vcpus = Lens.lens (\ContainerDetail' {vcpus} -> vcpus) (\s@ContainerDetail' {} a -> s {vcpus = a} :: ContainerDetail)++-- | A list of volumes that are associated with the job.+containerDetail_volumes :: Lens.Lens' ContainerDetail (Prelude.Maybe [Volume])+containerDetail_volumes = Lens.lens (\ContainerDetail' {volumes} -> volumes) (\s@ContainerDetail' {} a -> s {volumes = a} :: ContainerDetail) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON ContainerDetail where+ parseJSON =+ Data.withObject+ "ContainerDetail"+ ( \x ->+ ContainerDetail'+ Prelude.<$> (x Data..:? "command" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "containerInstanceArn")+ Prelude.<*> (x Data..:? "environment" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "executionRoleArn")+ Prelude.<*> (x Data..:? "exitCode")+ Prelude.<*> (x Data..:? "fargatePlatformConfiguration")+ Prelude.<*> (x Data..:? "image")+ Prelude.<*> (x Data..:? "instanceType")+ Prelude.<*> (x Data..:? "jobRoleArn")+ Prelude.<*> (x Data..:? "linuxParameters")+ Prelude.<*> (x Data..:? "logConfiguration")+ Prelude.<*> (x Data..:? "logStreamName")+ Prelude.<*> (x Data..:? "memory")+ Prelude.<*> (x Data..:? "mountPoints" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "networkConfiguration")+ Prelude.<*> ( x+ Data..:? "networkInterfaces"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "privileged")+ Prelude.<*> (x Data..:? "readonlyRootFilesystem")+ Prelude.<*> (x Data..:? "reason")+ Prelude.<*> ( x+ Data..:? "resourceRequirements"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "secrets" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "taskArn")+ Prelude.<*> (x Data..:? "ulimits" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "user")+ Prelude.<*> (x Data..:? "vcpus")+ Prelude.<*> (x Data..:? "volumes" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable ContainerDetail where+ hashWithSalt _salt ContainerDetail' {..} =+ _salt+ `Prelude.hashWithSalt` command+ `Prelude.hashWithSalt` containerInstanceArn+ `Prelude.hashWithSalt` environment+ `Prelude.hashWithSalt` executionRoleArn+ `Prelude.hashWithSalt` exitCode+ `Prelude.hashWithSalt` fargatePlatformConfiguration+ `Prelude.hashWithSalt` image+ `Prelude.hashWithSalt` instanceType+ `Prelude.hashWithSalt` jobRoleArn+ `Prelude.hashWithSalt` linuxParameters+ `Prelude.hashWithSalt` logConfiguration+ `Prelude.hashWithSalt` logStreamName+ `Prelude.hashWithSalt` memory+ `Prelude.hashWithSalt` mountPoints+ `Prelude.hashWithSalt` networkConfiguration+ `Prelude.hashWithSalt` networkInterfaces+ `Prelude.hashWithSalt` privileged+ `Prelude.hashWithSalt` readonlyRootFilesystem+ `Prelude.hashWithSalt` reason+ `Prelude.hashWithSalt` resourceRequirements+ `Prelude.hashWithSalt` secrets+ `Prelude.hashWithSalt` taskArn+ `Prelude.hashWithSalt` ulimits+ `Prelude.hashWithSalt` user+ `Prelude.hashWithSalt` vcpus+ `Prelude.hashWithSalt` volumes++instance Prelude.NFData ContainerDetail where+ rnf ContainerDetail' {..} =+ Prelude.rnf command+ `Prelude.seq` Prelude.rnf containerInstanceArn+ `Prelude.seq` Prelude.rnf environment+ `Prelude.seq` Prelude.rnf executionRoleArn+ `Prelude.seq` Prelude.rnf exitCode+ `Prelude.seq` Prelude.rnf fargatePlatformConfiguration+ `Prelude.seq` Prelude.rnf image+ `Prelude.seq` Prelude.rnf instanceType+ `Prelude.seq` Prelude.rnf jobRoleArn+ `Prelude.seq` Prelude.rnf linuxParameters+ `Prelude.seq` Prelude.rnf logConfiguration+ `Prelude.seq` Prelude.rnf logStreamName+ `Prelude.seq` Prelude.rnf memory+ `Prelude.seq` Prelude.rnf mountPoints+ `Prelude.seq` Prelude.rnf networkConfiguration+ `Prelude.seq` Prelude.rnf networkInterfaces+ `Prelude.seq` Prelude.rnf privileged+ `Prelude.seq` Prelude.rnf readonlyRootFilesystem+ `Prelude.seq` Prelude.rnf reason+ `Prelude.seq` Prelude.rnf+ resourceRequirements+ `Prelude.seq` Prelude.rnf secrets+ `Prelude.seq` Prelude.rnf taskArn+ `Prelude.seq` Prelude.rnf ulimits+ `Prelude.seq` Prelude.rnf user+ `Prelude.seq` Prelude.rnf vcpus+ `Prelude.seq` Prelude.rnf+ volumes
+ gen/Amazonka/Batch/Types/ContainerOverrides.hs view
@@ -0,0 +1,239 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.ContainerOverrides+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.ContainerOverrides where++import Amazonka.Batch.Types.KeyValuePair+import Amazonka.Batch.Types.ResourceRequirement+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The overrides that should be sent to a container.+--+-- /See:/ 'newContainerOverrides' smart constructor.+data ContainerOverrides = ContainerOverrides'+ { -- | The command to send to the container that overrides the default command+ -- from the Docker image or the job definition.+ command :: Prelude.Maybe [Prelude.Text],+ -- | 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 :: Prelude.Maybe [KeyValuePair],+ -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#override-resource-requirements Can\'t override job definition resource requirements>+ -- in the /Batch User Guide/.+ memory :: Prelude.Maybe Prelude.Int,+ -- | 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 :: Prelude.Maybe [ResourceRequirement],+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#override-resource-requirements Can\'t override job definition resource requirements>+ -- in the /Batch User Guide/.+ vcpus :: Prelude.Maybe Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ContainerOverrides' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'command', 'containerOverrides_command' - The command to send to the container that overrides the default command+-- from the Docker image or the job definition.+--+-- 'environment', 'containerOverrides_environment' - 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.+--+-- 'instanceType', 'containerOverrides_instanceType' - 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.+--+-- 'memory', 'containerOverrides_memory' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#override-resource-requirements Can\'t override job definition resource requirements>+-- in the /Batch User Guide/.+--+-- 'resourceRequirements', 'containerOverrides_resourceRequirements' - 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@.+--+-- 'vcpus', 'containerOverrides_vcpus' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#override-resource-requirements Can\'t override job definition resource requirements>+-- in the /Batch User Guide/.+newContainerOverrides ::+ ContainerOverrides+newContainerOverrides =+ ContainerOverrides'+ { command = Prelude.Nothing,+ environment = Prelude.Nothing,+ instanceType = Prelude.Nothing,+ memory = Prelude.Nothing,+ resourceRequirements = Prelude.Nothing,+ vcpus = Prelude.Nothing+ }++-- | The command to send to the container that overrides the default command+-- from the Docker image or the job definition.+containerOverrides_command :: Lens.Lens' ContainerOverrides (Prelude.Maybe [Prelude.Text])+containerOverrides_command = Lens.lens (\ContainerOverrides' {command} -> command) (\s@ContainerOverrides' {} a -> s {command = a} :: ContainerOverrides) Prelude.. Lens.mapping Lens.coerced++-- | 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.+containerOverrides_environment :: Lens.Lens' ContainerOverrides (Prelude.Maybe [KeyValuePair])+containerOverrides_environment = Lens.lens (\ContainerOverrides' {environment} -> environment) (\s@ContainerOverrides' {} a -> s {environment = a} :: ContainerOverrides) Prelude.. Lens.mapping Lens.coerced++-- | 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.+containerOverrides_instanceType :: Lens.Lens' ContainerOverrides (Prelude.Maybe Prelude.Text)+containerOverrides_instanceType = Lens.lens (\ContainerOverrides' {instanceType} -> instanceType) (\s@ContainerOverrides' {} a -> s {instanceType = a} :: ContainerOverrides)++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#override-resource-requirements Can\'t override job definition resource requirements>+-- in the /Batch User Guide/.+containerOverrides_memory :: Lens.Lens' ContainerOverrides (Prelude.Maybe Prelude.Int)+containerOverrides_memory = Lens.lens (\ContainerOverrides' {memory} -> memory) (\s@ContainerOverrides' {} a -> s {memory = a} :: ContainerOverrides)++-- | 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@.+containerOverrides_resourceRequirements :: Lens.Lens' ContainerOverrides (Prelude.Maybe [ResourceRequirement])+containerOverrides_resourceRequirements = Lens.lens (\ContainerOverrides' {resourceRequirements} -> resourceRequirements) (\s@ContainerOverrides' {} a -> s {resourceRequirements = a} :: ContainerOverrides) Prelude.. Lens.mapping Lens.coerced++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#override-resource-requirements Can\'t override job definition resource requirements>+-- in the /Batch User Guide/.+containerOverrides_vcpus :: Lens.Lens' ContainerOverrides (Prelude.Maybe Prelude.Int)+containerOverrides_vcpus = Lens.lens (\ContainerOverrides' {vcpus} -> vcpus) (\s@ContainerOverrides' {} a -> s {vcpus = a} :: ContainerOverrides)++instance Prelude.Hashable ContainerOverrides where+ hashWithSalt _salt ContainerOverrides' {..} =+ _salt+ `Prelude.hashWithSalt` command+ `Prelude.hashWithSalt` environment+ `Prelude.hashWithSalt` instanceType+ `Prelude.hashWithSalt` memory+ `Prelude.hashWithSalt` resourceRequirements+ `Prelude.hashWithSalt` vcpus++instance Prelude.NFData ContainerOverrides where+ rnf ContainerOverrides' {..} =+ Prelude.rnf command+ `Prelude.seq` Prelude.rnf environment+ `Prelude.seq` Prelude.rnf instanceType+ `Prelude.seq` Prelude.rnf memory+ `Prelude.seq` Prelude.rnf resourceRequirements+ `Prelude.seq` Prelude.rnf vcpus++instance Data.ToJSON ContainerOverrides where+ toJSON ContainerOverrides' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("command" Data..=) Prelude.<$> command,+ ("environment" Data..=) Prelude.<$> environment,+ ("instanceType" Data..=) Prelude.<$> instanceType,+ ("memory" Data..=) Prelude.<$> memory,+ ("resourceRequirements" Data..=)+ Prelude.<$> resourceRequirements,+ ("vcpus" Data..=) Prelude.<$> vcpus+ ]+ )
+ gen/Amazonka/Batch/Types/ContainerProperties.hs view
@@ -0,0 +1,835 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.ContainerProperties+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.ContainerProperties where++import Amazonka.Batch.Types.FargatePlatformConfiguration+import Amazonka.Batch.Types.KeyValuePair+import Amazonka.Batch.Types.LinuxParameters+import Amazonka.Batch.Types.LogConfiguration+import Amazonka.Batch.Types.MountPoint+import Amazonka.Batch.Types.NetworkConfiguration+import Amazonka.Batch.Types.ResourceRequirement+import Amazonka.Batch.Types.Secret+import Amazonka.Batch.Types.Ulimit+import Amazonka.Batch.Types.Volume+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Container properties are used for Amazon ECS based job definitions.+-- These properties to describe the container that\'s launched as part of a+-- job.+--+-- /See:/ 'newContainerProperties' smart constructor.+data ContainerProperties = ContainerProperties'+ { -- | The command that\'s passed to the container. This parameter maps to+ -- @Cmd@ in the+ -- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+ -- @COMMAND@ parameter to+ -- <https://docs.docker.com/engine/reference/run/ docker run>. For more+ -- information, see+ -- <https://docs.docker.com/engine/reference/builder/#cmd>.+ command :: Prelude.Maybe [Prelude.Text],+ -- | The environment variables to pass to a container. This parameter maps to+ -- @Env@ in the+ -- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+ -- @--env@ option to+ -- <https://docs.docker.com/engine/reference/run/ docker 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 :: Prelude.Maybe [KeyValuePair],+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html Batch execution IAM role>+ -- in the /Batch User Guide/.+ executionRoleArn :: Prelude.Maybe Prelude.Text,+ -- | The platform configuration for jobs that are running on Fargate+ -- resources. Jobs that are running on EC2 resources must not specify this+ -- parameter.+ fargatePlatformConfiguration :: Prelude.Maybe FargatePlatformConfiguration,+ -- | 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+ -- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+ -- @IMAGE@ parameter of+ -- <https://docs.docker.com/engine/reference/run/ docker 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 :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | The Amazon Resource Name (ARN) of the IAM role that the container can+ -- assume for Amazon Web Services permissions. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html IAM roles for tasks>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ jobRoleArn :: Prelude.Maybe Prelude.Text,+ -- | Linux-specific modifications that are applied to the container, such as+ -- details for device mappings.+ linuxParameters :: Prelude.Maybe LinuxParameters,+ -- | The log configuration specification for the container.+ --+ -- This parameter maps to @LogConfig@ in the+ -- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+ -- @--log-driver@ option to+ -- <https://docs.docker.com/engine/reference/run/ docker 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+ -- <https://docs.docker.com/engine/admin/logging/overview/ Configure logging drivers>+ -- 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+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html Amazon ECS container agent configuration>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ logConfiguration :: Prelude.Maybe LogConfiguration,+ -- | 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.+ memory :: Prelude.Maybe Prelude.Int,+ -- | The mount points for data volumes in your container. This parameter maps+ -- to @Volumes@ in the+ -- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+ -- @--volume@ option to+ -- <https://docs.docker.com/engine/reference/run/ docker run>.+ mountPoints :: Prelude.Maybe [MountPoint],+ -- | The network configuration for jobs that are running on Fargate+ -- resources. Jobs that are running on EC2 resources must not specify this+ -- parameter.+ networkConfiguration :: Prelude.Maybe NetworkConfiguration,+ -- | 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+ -- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+ -- @--privileged@ option to+ -- <https://docs.docker.com/engine/reference/run/ docker 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 :: Prelude.Maybe Prelude.Bool,+ -- | When this parameter is true, the container is given read-only access to+ -- its root file system. This parameter maps to @ReadonlyRootfs@ in the+ -- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+ -- @--read-only@ option to @docker run@.+ readonlyRootFilesystem :: Prelude.Maybe Prelude.Bool,+ -- | The type and amount of resources to assign to a container. The supported+ -- resources include @GPU@, @MEMORY@, and @VCPU@.+ resourceRequirements :: Prelude.Maybe [ResourceRequirement],+ -- | The secrets for the container. For more information, see+ -- <https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html Specifying sensitive data>+ -- in the /Batch User Guide/.+ secrets :: Prelude.Maybe [Secret],+ -- | A list of @ulimits@ to set in the container. This parameter maps to+ -- @Ulimits@ in the+ -- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+ -- @--ulimit@ option to+ -- <https://docs.docker.com/engine/reference/run/ docker run>.+ --+ -- This parameter isn\'t applicable to jobs that are running on Fargate+ -- resources and shouldn\'t be provided.+ ulimits :: Prelude.Maybe [Ulimit],+ -- | The user name to use inside the container. This parameter maps to @User@+ -- in the+ -- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+ -- @--user@ option to+ -- <https://docs.docker.com/engine/reference/run/ docker run>.+ user :: Prelude.Maybe Prelude.Text,+ -- | 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+ -- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+ -- @--cpu-shares@ option to+ -- <https://docs.docker.com/engine/reference/run/ docker 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.+ vcpus :: Prelude.Maybe Prelude.Int,+ -- | A list of data volumes used in a job.+ volumes :: Prelude.Maybe [Volume]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ContainerProperties' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'command', 'containerProperties_command' - The command that\'s passed to the container. This parameter maps to+-- @Cmd@ in the+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @COMMAND@ parameter to+-- <https://docs.docker.com/engine/reference/run/ docker run>. For more+-- information, see+-- <https://docs.docker.com/engine/reference/builder/#cmd>.+--+-- 'environment', 'containerProperties_environment' - The environment variables to pass to a container. This parameter maps to+-- @Env@ in the+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--env@ option to+-- <https://docs.docker.com/engine/reference/run/ docker 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.+--+-- 'executionRoleArn', 'containerProperties_executionRoleArn' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html Batch execution IAM role>+-- in the /Batch User Guide/.+--+-- 'fargatePlatformConfiguration', 'containerProperties_fargatePlatformConfiguration' - The platform configuration for jobs that are running on Fargate+-- resources. Jobs that are running on EC2 resources must not specify this+-- parameter.+--+-- 'image', 'containerProperties_image' - 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+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @IMAGE@ parameter of+-- <https://docs.docker.com/engine/reference/run/ docker 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@).+--+-- 'instanceType', 'containerProperties_instanceType' - 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.+--+-- 'jobRoleArn', 'containerProperties_jobRoleArn' - The Amazon Resource Name (ARN) of the IAM role that the container can+-- assume for Amazon Web Services permissions. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html IAM roles for tasks>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'linuxParameters', 'containerProperties_linuxParameters' - Linux-specific modifications that are applied to the container, such as+-- details for device mappings.+--+-- 'logConfiguration', 'containerProperties_logConfiguration' - The log configuration specification for the container.+--+-- This parameter maps to @LogConfig@ in the+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--log-driver@ option to+-- <https://docs.docker.com/engine/reference/run/ docker 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+-- <https://docs.docker.com/engine/admin/logging/overview/ Configure logging drivers>+-- 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+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html Amazon ECS container agent configuration>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'memory', 'containerProperties_memory' - 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.+--+-- 'mountPoints', 'containerProperties_mountPoints' - The mount points for data volumes in your container. This parameter maps+-- to @Volumes@ in the+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--volume@ option to+-- <https://docs.docker.com/engine/reference/run/ docker run>.+--+-- 'networkConfiguration', 'containerProperties_networkConfiguration' - The network configuration for jobs that are running on Fargate+-- resources. Jobs that are running on EC2 resources must not specify this+-- parameter.+--+-- 'privileged', 'containerProperties_privileged' - 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+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--privileged@ option to+-- <https://docs.docker.com/engine/reference/run/ docker 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.+--+-- 'readonlyRootFilesystem', 'containerProperties_readonlyRootFilesystem' - When this parameter is true, the container is given read-only access to+-- its root file system. This parameter maps to @ReadonlyRootfs@ in the+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--read-only@ option to @docker run@.+--+-- 'resourceRequirements', 'containerProperties_resourceRequirements' - The type and amount of resources to assign to a container. The supported+-- resources include @GPU@, @MEMORY@, and @VCPU@.+--+-- 'secrets', 'containerProperties_secrets' - The secrets for the container. For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html Specifying sensitive data>+-- in the /Batch User Guide/.+--+-- 'ulimits', 'containerProperties_ulimits' - A list of @ulimits@ to set in the container. This parameter maps to+-- @Ulimits@ in the+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--ulimit@ option to+-- <https://docs.docker.com/engine/reference/run/ docker run>.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources and shouldn\'t be provided.+--+-- 'user', 'containerProperties_user' - The user name to use inside the container. This parameter maps to @User@+-- in the+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--user@ option to+-- <https://docs.docker.com/engine/reference/run/ docker run>.+--+-- 'vcpus', 'containerProperties_vcpus' - 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+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--cpu-shares@ option to+-- <https://docs.docker.com/engine/reference/run/ docker 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.+--+-- 'volumes', 'containerProperties_volumes' - A list of data volumes used in a job.+newContainerProperties ::+ ContainerProperties+newContainerProperties =+ ContainerProperties'+ { command = Prelude.Nothing,+ environment = Prelude.Nothing,+ executionRoleArn = Prelude.Nothing,+ fargatePlatformConfiguration = Prelude.Nothing,+ image = Prelude.Nothing,+ instanceType = Prelude.Nothing,+ jobRoleArn = Prelude.Nothing,+ linuxParameters = Prelude.Nothing,+ logConfiguration = Prelude.Nothing,+ memory = Prelude.Nothing,+ mountPoints = Prelude.Nothing,+ networkConfiguration = Prelude.Nothing,+ privileged = Prelude.Nothing,+ readonlyRootFilesystem = Prelude.Nothing,+ resourceRequirements = Prelude.Nothing,+ secrets = Prelude.Nothing,+ ulimits = Prelude.Nothing,+ user = Prelude.Nothing,+ vcpus = Prelude.Nothing,+ volumes = Prelude.Nothing+ }++-- | The command that\'s passed to the container. This parameter maps to+-- @Cmd@ in the+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @COMMAND@ parameter to+-- <https://docs.docker.com/engine/reference/run/ docker run>. For more+-- information, see+-- <https://docs.docker.com/engine/reference/builder/#cmd>.+containerProperties_command :: Lens.Lens' ContainerProperties (Prelude.Maybe [Prelude.Text])+containerProperties_command = Lens.lens (\ContainerProperties' {command} -> command) (\s@ContainerProperties' {} a -> s {command = a} :: ContainerProperties) Prelude.. Lens.mapping Lens.coerced++-- | The environment variables to pass to a container. This parameter maps to+-- @Env@ in the+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--env@ option to+-- <https://docs.docker.com/engine/reference/run/ docker 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.+containerProperties_environment :: Lens.Lens' ContainerProperties (Prelude.Maybe [KeyValuePair])+containerProperties_environment = Lens.lens (\ContainerProperties' {environment} -> environment) (\s@ContainerProperties' {} a -> s {environment = a} :: ContainerProperties) Prelude.. Lens.mapping Lens.coerced++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html Batch execution IAM role>+-- in the /Batch User Guide/.+containerProperties_executionRoleArn :: Lens.Lens' ContainerProperties (Prelude.Maybe Prelude.Text)+containerProperties_executionRoleArn = Lens.lens (\ContainerProperties' {executionRoleArn} -> executionRoleArn) (\s@ContainerProperties' {} a -> s {executionRoleArn = a} :: ContainerProperties)++-- | The platform configuration for jobs that are running on Fargate+-- resources. Jobs that are running on EC2 resources must not specify this+-- parameter.+containerProperties_fargatePlatformConfiguration :: Lens.Lens' ContainerProperties (Prelude.Maybe FargatePlatformConfiguration)+containerProperties_fargatePlatformConfiguration = Lens.lens (\ContainerProperties' {fargatePlatformConfiguration} -> fargatePlatformConfiguration) (\s@ContainerProperties' {} a -> s {fargatePlatformConfiguration = a} :: ContainerProperties)++-- | 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+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @IMAGE@ parameter of+-- <https://docs.docker.com/engine/reference/run/ docker 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@).+containerProperties_image :: Lens.Lens' ContainerProperties (Prelude.Maybe Prelude.Text)+containerProperties_image = Lens.lens (\ContainerProperties' {image} -> image) (\s@ContainerProperties' {} a -> s {image = a} :: ContainerProperties)++-- | 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.+containerProperties_instanceType :: Lens.Lens' ContainerProperties (Prelude.Maybe Prelude.Text)+containerProperties_instanceType = Lens.lens (\ContainerProperties' {instanceType} -> instanceType) (\s@ContainerProperties' {} a -> s {instanceType = a} :: ContainerProperties)++-- | The Amazon Resource Name (ARN) of the IAM role that the container can+-- assume for Amazon Web Services permissions. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html IAM roles for tasks>+-- in the /Amazon Elastic Container Service Developer Guide/.+containerProperties_jobRoleArn :: Lens.Lens' ContainerProperties (Prelude.Maybe Prelude.Text)+containerProperties_jobRoleArn = Lens.lens (\ContainerProperties' {jobRoleArn} -> jobRoleArn) (\s@ContainerProperties' {} a -> s {jobRoleArn = a} :: ContainerProperties)++-- | Linux-specific modifications that are applied to the container, such as+-- details for device mappings.+containerProperties_linuxParameters :: Lens.Lens' ContainerProperties (Prelude.Maybe LinuxParameters)+containerProperties_linuxParameters = Lens.lens (\ContainerProperties' {linuxParameters} -> linuxParameters) (\s@ContainerProperties' {} a -> s {linuxParameters = a} :: ContainerProperties)++-- | The log configuration specification for the container.+--+-- This parameter maps to @LogConfig@ in the+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--log-driver@ option to+-- <https://docs.docker.com/engine/reference/run/ docker 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+-- <https://docs.docker.com/engine/admin/logging/overview/ Configure logging drivers>+-- 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+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html Amazon ECS container agent configuration>+-- in the /Amazon Elastic Container Service Developer Guide/.+containerProperties_logConfiguration :: Lens.Lens' ContainerProperties (Prelude.Maybe LogConfiguration)+containerProperties_logConfiguration = Lens.lens (\ContainerProperties' {logConfiguration} -> logConfiguration) (\s@ContainerProperties' {} a -> s {logConfiguration = a} :: ContainerProperties)++-- | 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.+containerProperties_memory :: Lens.Lens' ContainerProperties (Prelude.Maybe Prelude.Int)+containerProperties_memory = Lens.lens (\ContainerProperties' {memory} -> memory) (\s@ContainerProperties' {} a -> s {memory = a} :: ContainerProperties)++-- | The mount points for data volumes in your container. This parameter maps+-- to @Volumes@ in the+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--volume@ option to+-- <https://docs.docker.com/engine/reference/run/ docker run>.+containerProperties_mountPoints :: Lens.Lens' ContainerProperties (Prelude.Maybe [MountPoint])+containerProperties_mountPoints = Lens.lens (\ContainerProperties' {mountPoints} -> mountPoints) (\s@ContainerProperties' {} a -> s {mountPoints = a} :: ContainerProperties) Prelude.. Lens.mapping Lens.coerced++-- | The network configuration for jobs that are running on Fargate+-- resources. Jobs that are running on EC2 resources must not specify this+-- parameter.+containerProperties_networkConfiguration :: Lens.Lens' ContainerProperties (Prelude.Maybe NetworkConfiguration)+containerProperties_networkConfiguration = Lens.lens (\ContainerProperties' {networkConfiguration} -> networkConfiguration) (\s@ContainerProperties' {} a -> s {networkConfiguration = a} :: ContainerProperties)++-- | 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+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--privileged@ option to+-- <https://docs.docker.com/engine/reference/run/ docker 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.+containerProperties_privileged :: Lens.Lens' ContainerProperties (Prelude.Maybe Prelude.Bool)+containerProperties_privileged = Lens.lens (\ContainerProperties' {privileged} -> privileged) (\s@ContainerProperties' {} a -> s {privileged = a} :: ContainerProperties)++-- | When this parameter is true, the container is given read-only access to+-- its root file system. This parameter maps to @ReadonlyRootfs@ in the+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--read-only@ option to @docker run@.+containerProperties_readonlyRootFilesystem :: Lens.Lens' ContainerProperties (Prelude.Maybe Prelude.Bool)+containerProperties_readonlyRootFilesystem = Lens.lens (\ContainerProperties' {readonlyRootFilesystem} -> readonlyRootFilesystem) (\s@ContainerProperties' {} a -> s {readonlyRootFilesystem = a} :: ContainerProperties)++-- | The type and amount of resources to assign to a container. The supported+-- resources include @GPU@, @MEMORY@, and @VCPU@.+containerProperties_resourceRequirements :: Lens.Lens' ContainerProperties (Prelude.Maybe [ResourceRequirement])+containerProperties_resourceRequirements = Lens.lens (\ContainerProperties' {resourceRequirements} -> resourceRequirements) (\s@ContainerProperties' {} a -> s {resourceRequirements = a} :: ContainerProperties) Prelude.. Lens.mapping Lens.coerced++-- | The secrets for the container. For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html Specifying sensitive data>+-- in the /Batch User Guide/.+containerProperties_secrets :: Lens.Lens' ContainerProperties (Prelude.Maybe [Secret])+containerProperties_secrets = Lens.lens (\ContainerProperties' {secrets} -> secrets) (\s@ContainerProperties' {} a -> s {secrets = a} :: ContainerProperties) Prelude.. Lens.mapping Lens.coerced++-- | A list of @ulimits@ to set in the container. This parameter maps to+-- @Ulimits@ in the+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--ulimit@ option to+-- <https://docs.docker.com/engine/reference/run/ docker run>.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources and shouldn\'t be provided.+containerProperties_ulimits :: Lens.Lens' ContainerProperties (Prelude.Maybe [Ulimit])+containerProperties_ulimits = Lens.lens (\ContainerProperties' {ulimits} -> ulimits) (\s@ContainerProperties' {} a -> s {ulimits = a} :: ContainerProperties) Prelude.. Lens.mapping Lens.coerced++-- | The user name to use inside the container. This parameter maps to @User@+-- in the+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--user@ option to+-- <https://docs.docker.com/engine/reference/run/ docker run>.+containerProperties_user :: Lens.Lens' ContainerProperties (Prelude.Maybe Prelude.Text)+containerProperties_user = Lens.lens (\ContainerProperties' {user} -> user) (\s@ContainerProperties' {} a -> s {user = a} :: ContainerProperties)++-- | 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+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--cpu-shares@ option to+-- <https://docs.docker.com/engine/reference/run/ docker 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.+containerProperties_vcpus :: Lens.Lens' ContainerProperties (Prelude.Maybe Prelude.Int)+containerProperties_vcpus = Lens.lens (\ContainerProperties' {vcpus} -> vcpus) (\s@ContainerProperties' {} a -> s {vcpus = a} :: ContainerProperties)++-- | A list of data volumes used in a job.+containerProperties_volumes :: Lens.Lens' ContainerProperties (Prelude.Maybe [Volume])+containerProperties_volumes = Lens.lens (\ContainerProperties' {volumes} -> volumes) (\s@ContainerProperties' {} a -> s {volumes = a} :: ContainerProperties) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON ContainerProperties where+ parseJSON =+ Data.withObject+ "ContainerProperties"+ ( \x ->+ ContainerProperties'+ Prelude.<$> (x Data..:? "command" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "environment" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "executionRoleArn")+ Prelude.<*> (x Data..:? "fargatePlatformConfiguration")+ Prelude.<*> (x Data..:? "image")+ Prelude.<*> (x Data..:? "instanceType")+ Prelude.<*> (x Data..:? "jobRoleArn")+ Prelude.<*> (x Data..:? "linuxParameters")+ Prelude.<*> (x Data..:? "logConfiguration")+ Prelude.<*> (x Data..:? "memory")+ Prelude.<*> (x Data..:? "mountPoints" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "networkConfiguration")+ Prelude.<*> (x Data..:? "privileged")+ Prelude.<*> (x Data..:? "readonlyRootFilesystem")+ Prelude.<*> ( x+ Data..:? "resourceRequirements"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "secrets" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "ulimits" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "user")+ Prelude.<*> (x Data..:? "vcpus")+ Prelude.<*> (x Data..:? "volumes" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable ContainerProperties where+ hashWithSalt _salt ContainerProperties' {..} =+ _salt+ `Prelude.hashWithSalt` command+ `Prelude.hashWithSalt` environment+ `Prelude.hashWithSalt` executionRoleArn+ `Prelude.hashWithSalt` fargatePlatformConfiguration+ `Prelude.hashWithSalt` image+ `Prelude.hashWithSalt` instanceType+ `Prelude.hashWithSalt` jobRoleArn+ `Prelude.hashWithSalt` linuxParameters+ `Prelude.hashWithSalt` logConfiguration+ `Prelude.hashWithSalt` memory+ `Prelude.hashWithSalt` mountPoints+ `Prelude.hashWithSalt` networkConfiguration+ `Prelude.hashWithSalt` privileged+ `Prelude.hashWithSalt` readonlyRootFilesystem+ `Prelude.hashWithSalt` resourceRequirements+ `Prelude.hashWithSalt` secrets+ `Prelude.hashWithSalt` ulimits+ `Prelude.hashWithSalt` user+ `Prelude.hashWithSalt` vcpus+ `Prelude.hashWithSalt` volumes++instance Prelude.NFData ContainerProperties where+ rnf ContainerProperties' {..} =+ Prelude.rnf command+ `Prelude.seq` Prelude.rnf environment+ `Prelude.seq` Prelude.rnf executionRoleArn+ `Prelude.seq` Prelude.rnf fargatePlatformConfiguration+ `Prelude.seq` Prelude.rnf image+ `Prelude.seq` Prelude.rnf instanceType+ `Prelude.seq` Prelude.rnf jobRoleArn+ `Prelude.seq` Prelude.rnf linuxParameters+ `Prelude.seq` Prelude.rnf logConfiguration+ `Prelude.seq` Prelude.rnf memory+ `Prelude.seq` Prelude.rnf mountPoints+ `Prelude.seq` Prelude.rnf networkConfiguration+ `Prelude.seq` Prelude.rnf privileged+ `Prelude.seq` Prelude.rnf readonlyRootFilesystem+ `Prelude.seq` Prelude.rnf resourceRequirements+ `Prelude.seq` Prelude.rnf secrets+ `Prelude.seq` Prelude.rnf ulimits+ `Prelude.seq` Prelude.rnf user+ `Prelude.seq` Prelude.rnf vcpus+ `Prelude.seq` Prelude.rnf volumes++instance Data.ToJSON ContainerProperties where+ toJSON ContainerProperties' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("command" Data..=) Prelude.<$> command,+ ("environment" Data..=) Prelude.<$> environment,+ ("executionRoleArn" Data..=)+ Prelude.<$> executionRoleArn,+ ("fargatePlatformConfiguration" Data..=)+ Prelude.<$> fargatePlatformConfiguration,+ ("image" Data..=) Prelude.<$> image,+ ("instanceType" Data..=) Prelude.<$> instanceType,+ ("jobRoleArn" Data..=) Prelude.<$> jobRoleArn,+ ("linuxParameters" Data..=)+ Prelude.<$> linuxParameters,+ ("logConfiguration" Data..=)+ Prelude.<$> logConfiguration,+ ("memory" Data..=) Prelude.<$> memory,+ ("mountPoints" Data..=) Prelude.<$> mountPoints,+ ("networkConfiguration" Data..=)+ Prelude.<$> networkConfiguration,+ ("privileged" Data..=) Prelude.<$> privileged,+ ("readonlyRootFilesystem" Data..=)+ Prelude.<$> readonlyRootFilesystem,+ ("resourceRequirements" Data..=)+ Prelude.<$> resourceRequirements,+ ("secrets" Data..=) Prelude.<$> secrets,+ ("ulimits" Data..=) Prelude.<$> ulimits,+ ("user" Data..=) Prelude.<$> user,+ ("vcpus" Data..=) Prelude.<$> vcpus,+ ("volumes" Data..=) Prelude.<$> volumes+ ]+ )
+ gen/Amazonka/Batch/Types/ContainerSummary.hs view
@@ -0,0 +1,87 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.ContainerSummary+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.ContainerSummary where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that represents summary details of a container within a job.+--+-- /See:/ 'newContainerSummary' smart constructor.+data ContainerSummary = ContainerSummary'+ { -- | The exit code to return upon completion.+ exitCode :: Prelude.Maybe Prelude.Int,+ -- | A short (255 max characters) human-readable string to provide additional+ -- details for a running or stopped container.+ reason :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ContainerSummary' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'exitCode', 'containerSummary_exitCode' - The exit code to return upon completion.+--+-- 'reason', 'containerSummary_reason' - A short (255 max characters) human-readable string to provide additional+-- details for a running or stopped container.+newContainerSummary ::+ ContainerSummary+newContainerSummary =+ ContainerSummary'+ { exitCode = Prelude.Nothing,+ reason = Prelude.Nothing+ }++-- | The exit code to return upon completion.+containerSummary_exitCode :: Lens.Lens' ContainerSummary (Prelude.Maybe Prelude.Int)+containerSummary_exitCode = Lens.lens (\ContainerSummary' {exitCode} -> exitCode) (\s@ContainerSummary' {} a -> s {exitCode = a} :: ContainerSummary)++-- | A short (255 max characters) human-readable string to provide additional+-- details for a running or stopped container.+containerSummary_reason :: Lens.Lens' ContainerSummary (Prelude.Maybe Prelude.Text)+containerSummary_reason = Lens.lens (\ContainerSummary' {reason} -> reason) (\s@ContainerSummary' {} a -> s {reason = a} :: ContainerSummary)++instance Data.FromJSON ContainerSummary where+ parseJSON =+ Data.withObject+ "ContainerSummary"+ ( \x ->+ ContainerSummary'+ Prelude.<$> (x Data..:? "exitCode")+ Prelude.<*> (x Data..:? "reason")+ )++instance Prelude.Hashable ContainerSummary where+ hashWithSalt _salt ContainerSummary' {..} =+ _salt+ `Prelude.hashWithSalt` exitCode+ `Prelude.hashWithSalt` reason++instance Prelude.NFData ContainerSummary where+ rnf ContainerSummary' {..} =+ Prelude.rnf exitCode+ `Prelude.seq` Prelude.rnf reason
+ gen/Amazonka/Batch/Types/Device.hs view
@@ -0,0 +1,121 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.Device+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.Device where++import Amazonka.Batch.Types.DeviceCgroupPermission+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | 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.+--+-- /See:/ 'newDevice' smart constructor.+data Device = Device'+ { -- | The path inside the container that\'s used to expose the host device. By+ -- default, the @hostPath@ value is used.+ containerPath :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe [DeviceCgroupPermission],+ -- | The path for the device on the host container instance.+ hostPath :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Device' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'containerPath', 'device_containerPath' - The path inside the container that\'s used to expose the host device. By+-- default, the @hostPath@ value is used.+--+-- 'permissions', 'device_permissions' - 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.+--+-- 'hostPath', 'device_hostPath' - The path for the device on the host container instance.+newDevice ::+ -- | 'hostPath'+ Prelude.Text ->+ Device+newDevice pHostPath_ =+ Device'+ { containerPath = Prelude.Nothing,+ permissions = Prelude.Nothing,+ hostPath = pHostPath_+ }++-- | The path inside the container that\'s used to expose the host device. By+-- default, the @hostPath@ value is used.+device_containerPath :: Lens.Lens' Device (Prelude.Maybe Prelude.Text)+device_containerPath = Lens.lens (\Device' {containerPath} -> containerPath) (\s@Device' {} a -> s {containerPath = a} :: Device)++-- | 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.+device_permissions :: Lens.Lens' Device (Prelude.Maybe [DeviceCgroupPermission])+device_permissions = Lens.lens (\Device' {permissions} -> permissions) (\s@Device' {} a -> s {permissions = a} :: Device) Prelude.. Lens.mapping Lens.coerced++-- | The path for the device on the host container instance.+device_hostPath :: Lens.Lens' Device Prelude.Text+device_hostPath = Lens.lens (\Device' {hostPath} -> hostPath) (\s@Device' {} a -> s {hostPath = a} :: Device)++instance Data.FromJSON Device where+ parseJSON =+ Data.withObject+ "Device"+ ( \x ->+ Device'+ Prelude.<$> (x Data..:? "containerPath")+ Prelude.<*> (x Data..:? "permissions" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..: "hostPath")+ )++instance Prelude.Hashable Device where+ hashWithSalt _salt Device' {..} =+ _salt+ `Prelude.hashWithSalt` containerPath+ `Prelude.hashWithSalt` permissions+ `Prelude.hashWithSalt` hostPath++instance Prelude.NFData Device where+ rnf Device' {..} =+ Prelude.rnf containerPath+ `Prelude.seq` Prelude.rnf permissions+ `Prelude.seq` Prelude.rnf hostPath++instance Data.ToJSON Device where+ toJSON Device' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("containerPath" Data..=) Prelude.<$> containerPath,+ ("permissions" Data..=) Prelude.<$> permissions,+ Prelude.Just ("hostPath" Data..= hostPath)+ ]+ )
+ gen/Amazonka/Batch/Types/DeviceCgroupPermission.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.DeviceCgroupPermission+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.DeviceCgroupPermission+ ( DeviceCgroupPermission+ ( ..,+ DeviceCgroupPermission_MKNOD,+ DeviceCgroupPermission_READ,+ DeviceCgroupPermission_WRITE+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype DeviceCgroupPermission = DeviceCgroupPermission'+ { fromDeviceCgroupPermission ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern DeviceCgroupPermission_MKNOD :: DeviceCgroupPermission+pattern DeviceCgroupPermission_MKNOD = DeviceCgroupPermission' "MKNOD"++pattern DeviceCgroupPermission_READ :: DeviceCgroupPermission+pattern DeviceCgroupPermission_READ = DeviceCgroupPermission' "READ"++pattern DeviceCgroupPermission_WRITE :: DeviceCgroupPermission+pattern DeviceCgroupPermission_WRITE = DeviceCgroupPermission' "WRITE"++{-# COMPLETE+ DeviceCgroupPermission_MKNOD,+ DeviceCgroupPermission_READ,+ DeviceCgroupPermission_WRITE,+ DeviceCgroupPermission'+ #-}
+ gen/Amazonka/Batch/Types/EFSAuthorizationConfig.hs view
@@ -0,0 +1,134 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EFSAuthorizationConfig+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EFSAuthorizationConfig where++import Amazonka.Batch.Types.EFSAuthorizationConfigIAM+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The authorization configuration details for the Amazon EFS file system.+--+-- /See:/ 'newEFSAuthorizationConfig' smart constructor.+data EFSAuthorizationConfig = EFSAuthorizationConfig'+ { -- | 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+ -- <https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html Working with Amazon EFS access points>+ -- in the /Amazon Elastic File System User Guide/.+ accessPointId :: Prelude.Maybe Prelude.Text,+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/efs-volumes.html#efs-volume-accesspoints Using Amazon EFS access points>+ -- in the /Batch User Guide/. EFS IAM authorization requires that+ -- @TransitEncryption@ be @ENABLED@ and that a @JobRoleArn@ is specified.+ iam :: Prelude.Maybe EFSAuthorizationConfigIAM+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EFSAuthorizationConfig' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'accessPointId', 'eFSAuthorizationConfig_accessPointId' - 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+-- <https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html Working with Amazon EFS access points>+-- in the /Amazon Elastic File System User Guide/.+--+-- 'iam', 'eFSAuthorizationConfig_iam' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/efs-volumes.html#efs-volume-accesspoints Using Amazon EFS access points>+-- in the /Batch User Guide/. EFS IAM authorization requires that+-- @TransitEncryption@ be @ENABLED@ and that a @JobRoleArn@ is specified.+newEFSAuthorizationConfig ::+ EFSAuthorizationConfig+newEFSAuthorizationConfig =+ EFSAuthorizationConfig'+ { accessPointId =+ Prelude.Nothing,+ iam = Prelude.Nothing+ }++-- | 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+-- <https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html Working with Amazon EFS access points>+-- in the /Amazon Elastic File System User Guide/.+eFSAuthorizationConfig_accessPointId :: Lens.Lens' EFSAuthorizationConfig (Prelude.Maybe Prelude.Text)+eFSAuthorizationConfig_accessPointId = Lens.lens (\EFSAuthorizationConfig' {accessPointId} -> accessPointId) (\s@EFSAuthorizationConfig' {} a -> s {accessPointId = a} :: EFSAuthorizationConfig)++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/efs-volumes.html#efs-volume-accesspoints Using Amazon EFS access points>+-- in the /Batch User Guide/. EFS IAM authorization requires that+-- @TransitEncryption@ be @ENABLED@ and that a @JobRoleArn@ is specified.+eFSAuthorizationConfig_iam :: Lens.Lens' EFSAuthorizationConfig (Prelude.Maybe EFSAuthorizationConfigIAM)+eFSAuthorizationConfig_iam = Lens.lens (\EFSAuthorizationConfig' {iam} -> iam) (\s@EFSAuthorizationConfig' {} a -> s {iam = a} :: EFSAuthorizationConfig)++instance Data.FromJSON EFSAuthorizationConfig where+ parseJSON =+ Data.withObject+ "EFSAuthorizationConfig"+ ( \x ->+ EFSAuthorizationConfig'+ Prelude.<$> (x Data..:? "accessPointId")+ Prelude.<*> (x Data..:? "iam")+ )++instance Prelude.Hashable EFSAuthorizationConfig where+ hashWithSalt _salt EFSAuthorizationConfig' {..} =+ _salt+ `Prelude.hashWithSalt` accessPointId+ `Prelude.hashWithSalt` iam++instance Prelude.NFData EFSAuthorizationConfig where+ rnf EFSAuthorizationConfig' {..} =+ Prelude.rnf accessPointId+ `Prelude.seq` Prelude.rnf iam++instance Data.ToJSON EFSAuthorizationConfig where+ toJSON EFSAuthorizationConfig' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("accessPointId" Data..=) Prelude.<$> accessPointId,+ ("iam" Data..=) Prelude.<$> iam+ ]+ )
+ gen/Amazonka/Batch/Types/EFSAuthorizationConfigIAM.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EFSAuthorizationConfigIAM+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EFSAuthorizationConfigIAM+ ( EFSAuthorizationConfigIAM+ ( ..,+ EFSAuthorizationConfigIAM_DISABLED,+ EFSAuthorizationConfigIAM_ENABLED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype EFSAuthorizationConfigIAM = EFSAuthorizationConfigIAM'+ { fromEFSAuthorizationConfigIAM ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern EFSAuthorizationConfigIAM_DISABLED :: EFSAuthorizationConfigIAM+pattern EFSAuthorizationConfigIAM_DISABLED = EFSAuthorizationConfigIAM' "DISABLED"++pattern EFSAuthorizationConfigIAM_ENABLED :: EFSAuthorizationConfigIAM+pattern EFSAuthorizationConfigIAM_ENABLED = EFSAuthorizationConfigIAM' "ENABLED"++{-# COMPLETE+ EFSAuthorizationConfigIAM_DISABLED,+ EFSAuthorizationConfigIAM_ENABLED,+ EFSAuthorizationConfigIAM'+ #-}
+ gen/Amazonka/Batch/Types/EFSTransitEncryption.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EFSTransitEncryption+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EFSTransitEncryption+ ( EFSTransitEncryption+ ( ..,+ EFSTransitEncryption_DISABLED,+ EFSTransitEncryption_ENABLED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype EFSTransitEncryption = EFSTransitEncryption'+ { fromEFSTransitEncryption ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern EFSTransitEncryption_DISABLED :: EFSTransitEncryption+pattern EFSTransitEncryption_DISABLED = EFSTransitEncryption' "DISABLED"++pattern EFSTransitEncryption_ENABLED :: EFSTransitEncryption+pattern EFSTransitEncryption_ENABLED = EFSTransitEncryption' "ENABLED"++{-# COMPLETE+ EFSTransitEncryption_DISABLED,+ EFSTransitEncryption_ENABLED,+ EFSTransitEncryption'+ #-}
+ gen/Amazonka/Batch/Types/EFSVolumeConfiguration.hs view
@@ -0,0 +1,200 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EFSVolumeConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EFSVolumeConfiguration where++import Amazonka.Batch.Types.EFSAuthorizationConfig+import Amazonka.Batch.Types.EFSTransitEncryption+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | This is used when you\'re using an Amazon Elastic File System file+-- system for job storage. For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/efs-volumes.html Amazon EFS Volumes>+-- in the /Batch User Guide/.+--+-- /See:/ 'newEFSVolumeConfiguration' smart constructor.+data EFSVolumeConfiguration = EFSVolumeConfiguration'+ { -- | The authorization configuration details for the Amazon EFS file system.+ authorizationConfig :: Prelude.Maybe EFSAuthorizationConfig,+ -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | 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+ -- <https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html Encrypting data in transit>+ -- in the /Amazon Elastic File System User Guide/.+ transitEncryption :: Prelude.Maybe 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+ -- <https://docs.aws.amazon.com/efs/latest/ug/efs-mount-helper.html EFS mount helper>+ -- in the /Amazon Elastic File System User Guide/.+ transitEncryptionPort :: Prelude.Maybe Prelude.Int,+ -- | The Amazon EFS file system ID to use.+ fileSystemId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EFSVolumeConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'authorizationConfig', 'eFSVolumeConfiguration_authorizationConfig' - The authorization configuration details for the Amazon EFS file system.+--+-- 'rootDirectory', 'eFSVolumeConfiguration_rootDirectory' - 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.+--+-- 'transitEncryption', 'eFSVolumeConfiguration_transitEncryption' - 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+-- <https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html Encrypting data in transit>+-- in the /Amazon Elastic File System User Guide/.+--+-- 'transitEncryptionPort', 'eFSVolumeConfiguration_transitEncryptionPort' - 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+-- <https://docs.aws.amazon.com/efs/latest/ug/efs-mount-helper.html EFS mount helper>+-- in the /Amazon Elastic File System User Guide/.+--+-- 'fileSystemId', 'eFSVolumeConfiguration_fileSystemId' - The Amazon EFS file system ID to use.+newEFSVolumeConfiguration ::+ -- | 'fileSystemId'+ Prelude.Text ->+ EFSVolumeConfiguration+newEFSVolumeConfiguration pFileSystemId_ =+ EFSVolumeConfiguration'+ { authorizationConfig =+ Prelude.Nothing,+ rootDirectory = Prelude.Nothing,+ transitEncryption = Prelude.Nothing,+ transitEncryptionPort = Prelude.Nothing,+ fileSystemId = pFileSystemId_+ }++-- | The authorization configuration details for the Amazon EFS file system.+eFSVolumeConfiguration_authorizationConfig :: Lens.Lens' EFSVolumeConfiguration (Prelude.Maybe EFSAuthorizationConfig)+eFSVolumeConfiguration_authorizationConfig = Lens.lens (\EFSVolumeConfiguration' {authorizationConfig} -> authorizationConfig) (\s@EFSVolumeConfiguration' {} a -> s {authorizationConfig = a} :: EFSVolumeConfiguration)++-- | 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.+eFSVolumeConfiguration_rootDirectory :: Lens.Lens' EFSVolumeConfiguration (Prelude.Maybe Prelude.Text)+eFSVolumeConfiguration_rootDirectory = Lens.lens (\EFSVolumeConfiguration' {rootDirectory} -> rootDirectory) (\s@EFSVolumeConfiguration' {} a -> s {rootDirectory = a} :: EFSVolumeConfiguration)++-- | 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+-- <https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html Encrypting data in transit>+-- in the /Amazon Elastic File System User Guide/.+eFSVolumeConfiguration_transitEncryption :: Lens.Lens' EFSVolumeConfiguration (Prelude.Maybe EFSTransitEncryption)+eFSVolumeConfiguration_transitEncryption = Lens.lens (\EFSVolumeConfiguration' {transitEncryption} -> transitEncryption) (\s@EFSVolumeConfiguration' {} a -> s {transitEncryption = a} :: EFSVolumeConfiguration)++-- | 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+-- <https://docs.aws.amazon.com/efs/latest/ug/efs-mount-helper.html EFS mount helper>+-- in the /Amazon Elastic File System User Guide/.+eFSVolumeConfiguration_transitEncryptionPort :: Lens.Lens' EFSVolumeConfiguration (Prelude.Maybe Prelude.Int)+eFSVolumeConfiguration_transitEncryptionPort = Lens.lens (\EFSVolumeConfiguration' {transitEncryptionPort} -> transitEncryptionPort) (\s@EFSVolumeConfiguration' {} a -> s {transitEncryptionPort = a} :: EFSVolumeConfiguration)++-- | The Amazon EFS file system ID to use.+eFSVolumeConfiguration_fileSystemId :: Lens.Lens' EFSVolumeConfiguration Prelude.Text+eFSVolumeConfiguration_fileSystemId = Lens.lens (\EFSVolumeConfiguration' {fileSystemId} -> fileSystemId) (\s@EFSVolumeConfiguration' {} a -> s {fileSystemId = a} :: EFSVolumeConfiguration)++instance Data.FromJSON EFSVolumeConfiguration where+ parseJSON =+ Data.withObject+ "EFSVolumeConfiguration"+ ( \x ->+ EFSVolumeConfiguration'+ Prelude.<$> (x Data..:? "authorizationConfig")+ Prelude.<*> (x Data..:? "rootDirectory")+ Prelude.<*> (x Data..:? "transitEncryption")+ Prelude.<*> (x Data..:? "transitEncryptionPort")+ Prelude.<*> (x Data..: "fileSystemId")+ )++instance Prelude.Hashable EFSVolumeConfiguration where+ hashWithSalt _salt EFSVolumeConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` authorizationConfig+ `Prelude.hashWithSalt` rootDirectory+ `Prelude.hashWithSalt` transitEncryption+ `Prelude.hashWithSalt` transitEncryptionPort+ `Prelude.hashWithSalt` fileSystemId++instance Prelude.NFData EFSVolumeConfiguration where+ rnf EFSVolumeConfiguration' {..} =+ Prelude.rnf authorizationConfig+ `Prelude.seq` Prelude.rnf rootDirectory+ `Prelude.seq` Prelude.rnf transitEncryption+ `Prelude.seq` Prelude.rnf transitEncryptionPort+ `Prelude.seq` Prelude.rnf fileSystemId++instance Data.ToJSON EFSVolumeConfiguration where+ toJSON EFSVolumeConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("authorizationConfig" Data..=)+ Prelude.<$> authorizationConfig,+ ("rootDirectory" Data..=) Prelude.<$> rootDirectory,+ ("transitEncryption" Data..=)+ Prelude.<$> transitEncryption,+ ("transitEncryptionPort" Data..=)+ Prelude.<$> transitEncryptionPort,+ Prelude.Just ("fileSystemId" Data..= fileSystemId)+ ]+ )
+ gen/Amazonka/Batch/Types/Ec2Configuration.hs view
@@ -0,0 +1,282 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.Ec2Configuration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.Ec2Configuration where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | 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@+-- (<https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami Amazon Linux 2>).+--+-- This object isn\'t applicable to jobs that are running on Fargate+-- resources.+--+-- /See:/ 'newEc2Configuration' smart constructor.+data Ec2Configuration = Ec2Configuration'+ { -- | 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+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html Amazon ECS-optimized Amazon Linux 2 AMI>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ imageIdOverride :: Prelude.Maybe Prelude.Text,+ -- | The Kubernetes version for the compute environment. If you don\'t+ -- specify a value, the latest version that Batch supports is used.+ imageKubernetesVersion :: Prelude.Maybe Prelude.Text,+ -- | 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+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami Amazon ECS-optimized Amazon Linux 2 AMI>+ -- (@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]+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami Amazon Linux 2>:+ -- Default for all non-GPU instance families.+ --+ -- [ECS_AL2_NVIDIA]+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami Amazon Linux 2 (GPU)>:+ -- 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]+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#alami Amazon Linux>.+ -- Amazon Linux has reached the end-of-life of standard support.+ -- For more information, see+ -- <http://aws.amazon.com/amazon-linux-ami/ Amazon Linux AMI>.+ --+ -- [EKS]+ -- If the @imageIdOverride@ parameter isn\'t specified, then a recent+ -- <https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html Amazon EKS-optimized Amazon Linux AMI>+ -- (@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]+ -- <https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html Amazon Linux 2>:+ -- Default for all non-GPU instance families.+ --+ -- [EKS_AL2_NVIDIA]+ -- <https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html Amazon Linux 2 (accelerated)>:+ -- 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 :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Ec2Configuration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'imageIdOverride', 'ec2Configuration_imageIdOverride' - 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+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html Amazon ECS-optimized Amazon Linux 2 AMI>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'imageKubernetesVersion', 'ec2Configuration_imageKubernetesVersion' - The Kubernetes version for the compute environment. If you don\'t+-- specify a value, the latest version that Batch supports is used.+--+-- 'imageType', 'ec2Configuration_imageType' - 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+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami Amazon ECS-optimized Amazon Linux 2 AMI>+-- (@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]+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami Amazon Linux 2>:+-- Default for all non-GPU instance families.+--+-- [ECS_AL2_NVIDIA]+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami Amazon Linux 2 (GPU)>:+-- 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]+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#alami Amazon Linux>.+-- Amazon Linux has reached the end-of-life of standard support.+-- For more information, see+-- <http://aws.amazon.com/amazon-linux-ami/ Amazon Linux AMI>.+--+-- [EKS]+-- If the @imageIdOverride@ parameter isn\'t specified, then a recent+-- <https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html Amazon EKS-optimized Amazon Linux AMI>+-- (@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]+-- <https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html Amazon Linux 2>:+-- Default for all non-GPU instance families.+--+-- [EKS_AL2_NVIDIA]+-- <https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html Amazon Linux 2 (accelerated)>:+-- 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.+newEc2Configuration ::+ -- | 'imageType'+ Prelude.Text ->+ Ec2Configuration+newEc2Configuration pImageType_ =+ Ec2Configuration'+ { imageIdOverride =+ Prelude.Nothing,+ imageKubernetesVersion = Prelude.Nothing,+ imageType = pImageType_+ }++-- | 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+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html Amazon ECS-optimized Amazon Linux 2 AMI>+-- in the /Amazon Elastic Container Service Developer Guide/.+ec2Configuration_imageIdOverride :: Lens.Lens' Ec2Configuration (Prelude.Maybe Prelude.Text)+ec2Configuration_imageIdOverride = Lens.lens (\Ec2Configuration' {imageIdOverride} -> imageIdOverride) (\s@Ec2Configuration' {} a -> s {imageIdOverride = a} :: Ec2Configuration)++-- | The Kubernetes version for the compute environment. If you don\'t+-- specify a value, the latest version that Batch supports is used.+ec2Configuration_imageKubernetesVersion :: Lens.Lens' Ec2Configuration (Prelude.Maybe Prelude.Text)+ec2Configuration_imageKubernetesVersion = Lens.lens (\Ec2Configuration' {imageKubernetesVersion} -> imageKubernetesVersion) (\s@Ec2Configuration' {} a -> s {imageKubernetesVersion = a} :: Ec2Configuration)++-- | 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+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami Amazon ECS-optimized Amazon Linux 2 AMI>+-- (@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]+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami Amazon Linux 2>:+-- Default for all non-GPU instance families.+--+-- [ECS_AL2_NVIDIA]+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami Amazon Linux 2 (GPU)>:+-- 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]+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#alami Amazon Linux>.+-- Amazon Linux has reached the end-of-life of standard support.+-- For more information, see+-- <http://aws.amazon.com/amazon-linux-ami/ Amazon Linux AMI>.+--+-- [EKS]+-- If the @imageIdOverride@ parameter isn\'t specified, then a recent+-- <https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html Amazon EKS-optimized Amazon Linux AMI>+-- (@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]+-- <https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html Amazon Linux 2>:+-- Default for all non-GPU instance families.+--+-- [EKS_AL2_NVIDIA]+-- <https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html Amazon Linux 2 (accelerated)>:+-- 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.+ec2Configuration_imageType :: Lens.Lens' Ec2Configuration Prelude.Text+ec2Configuration_imageType = Lens.lens (\Ec2Configuration' {imageType} -> imageType) (\s@Ec2Configuration' {} a -> s {imageType = a} :: Ec2Configuration)++instance Data.FromJSON Ec2Configuration where+ parseJSON =+ Data.withObject+ "Ec2Configuration"+ ( \x ->+ Ec2Configuration'+ Prelude.<$> (x Data..:? "imageIdOverride")+ Prelude.<*> (x Data..:? "imageKubernetesVersion")+ Prelude.<*> (x Data..: "imageType")+ )++instance Prelude.Hashable Ec2Configuration where+ hashWithSalt _salt Ec2Configuration' {..} =+ _salt+ `Prelude.hashWithSalt` imageIdOverride+ `Prelude.hashWithSalt` imageKubernetesVersion+ `Prelude.hashWithSalt` imageType++instance Prelude.NFData Ec2Configuration where+ rnf Ec2Configuration' {..} =+ Prelude.rnf imageIdOverride+ `Prelude.seq` Prelude.rnf imageKubernetesVersion+ `Prelude.seq` Prelude.rnf imageType++instance Data.ToJSON Ec2Configuration where+ toJSON Ec2Configuration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("imageIdOverride" Data..=)+ Prelude.<$> imageIdOverride,+ ("imageKubernetesVersion" Data..=)+ Prelude.<$> imageKubernetesVersion,+ Prelude.Just ("imageType" Data..= imageType)+ ]+ )
+ gen/Amazonka/Batch/Types/EksAttemptContainerDetail.hs view
@@ -0,0 +1,92 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EksAttemptContainerDetail+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EksAttemptContainerDetail where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that represents the details for an attempt for a job attempt+-- that an Amazon EKS container runs.+--+-- /See:/ 'newEksAttemptContainerDetail' smart constructor.+data EksAttemptContainerDetail = EksAttemptContainerDetail'+ { -- | The exit code for the job attempt. A non-zero exit code is considered+ -- failed.+ exitCode :: Prelude.Maybe Prelude.Int,+ -- | A short (255 max characters) human-readable string to provide additional+ -- details for a running or stopped container.+ reason :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EksAttemptContainerDetail' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'exitCode', 'eksAttemptContainerDetail_exitCode' - The exit code for the job attempt. A non-zero exit code is considered+-- failed.+--+-- 'reason', 'eksAttemptContainerDetail_reason' - A short (255 max characters) human-readable string to provide additional+-- details for a running or stopped container.+newEksAttemptContainerDetail ::+ EksAttemptContainerDetail+newEksAttemptContainerDetail =+ EksAttemptContainerDetail'+ { exitCode =+ Prelude.Nothing,+ reason = Prelude.Nothing+ }++-- | The exit code for the job attempt. A non-zero exit code is considered+-- failed.+eksAttemptContainerDetail_exitCode :: Lens.Lens' EksAttemptContainerDetail (Prelude.Maybe Prelude.Int)+eksAttemptContainerDetail_exitCode = Lens.lens (\EksAttemptContainerDetail' {exitCode} -> exitCode) (\s@EksAttemptContainerDetail' {} a -> s {exitCode = a} :: EksAttemptContainerDetail)++-- | A short (255 max characters) human-readable string to provide additional+-- details for a running or stopped container.+eksAttemptContainerDetail_reason :: Lens.Lens' EksAttemptContainerDetail (Prelude.Maybe Prelude.Text)+eksAttemptContainerDetail_reason = Lens.lens (\EksAttemptContainerDetail' {reason} -> reason) (\s@EksAttemptContainerDetail' {} a -> s {reason = a} :: EksAttemptContainerDetail)++instance Data.FromJSON EksAttemptContainerDetail where+ parseJSON =+ Data.withObject+ "EksAttemptContainerDetail"+ ( \x ->+ EksAttemptContainerDetail'+ Prelude.<$> (x Data..:? "exitCode")+ Prelude.<*> (x Data..:? "reason")+ )++instance Prelude.Hashable EksAttemptContainerDetail where+ hashWithSalt _salt EksAttemptContainerDetail' {..} =+ _salt+ `Prelude.hashWithSalt` exitCode+ `Prelude.hashWithSalt` reason++instance Prelude.NFData EksAttemptContainerDetail where+ rnf EksAttemptContainerDetail' {..} =+ Prelude.rnf exitCode+ `Prelude.seq` Prelude.rnf reason
+ gen/Amazonka/Batch/Types/EksAttemptDetail.hs view
@@ -0,0 +1,149 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EksAttemptDetail+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EksAttemptDetail where++import Amazonka.Batch.Types.EksAttemptContainerDetail+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that represents the details of a job attempt for a job attempt+-- by an Amazon EKS container.+--+-- /See:/ 'newEksAttemptDetail' smart constructor.+data EksAttemptDetail = EksAttemptDetail'+ { -- | The details for the final status of the containers for this job attempt.+ containers :: Prelude.Maybe [EksAttemptContainerDetail],+ -- | The name of the node for this job attempt.+ nodeName :: Prelude.Maybe Prelude.Text,+ -- | The name of the pod for this job attempt.+ podName :: Prelude.Maybe Prelude.Text,+ -- | The Unix timestamp (in milliseconds) for when the attempt was started+ -- (when the attempt transitioned from the @STARTING@ state to the+ -- @RUNNING@ state).+ startedAt :: Prelude.Maybe Prelude.Integer,+ -- | A short, human-readable string to provide additional details for the+ -- current status of the job attempt.+ statusReason :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe Prelude.Integer+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EksAttemptDetail' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'containers', 'eksAttemptDetail_containers' - The details for the final status of the containers for this job attempt.+--+-- 'nodeName', 'eksAttemptDetail_nodeName' - The name of the node for this job attempt.+--+-- 'podName', 'eksAttemptDetail_podName' - The name of the pod for this job attempt.+--+-- 'startedAt', 'eksAttemptDetail_startedAt' - The Unix timestamp (in milliseconds) for when the attempt was started+-- (when the attempt transitioned from the @STARTING@ state to the+-- @RUNNING@ state).+--+-- 'statusReason', 'eksAttemptDetail_statusReason' - A short, human-readable string to provide additional details for the+-- current status of the job attempt.+--+-- 'stoppedAt', 'eksAttemptDetail_stoppedAt' - 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@.+newEksAttemptDetail ::+ EksAttemptDetail+newEksAttemptDetail =+ EksAttemptDetail'+ { containers = Prelude.Nothing,+ nodeName = Prelude.Nothing,+ podName = Prelude.Nothing,+ startedAt = Prelude.Nothing,+ statusReason = Prelude.Nothing,+ stoppedAt = Prelude.Nothing+ }++-- | The details for the final status of the containers for this job attempt.+eksAttemptDetail_containers :: Lens.Lens' EksAttemptDetail (Prelude.Maybe [EksAttemptContainerDetail])+eksAttemptDetail_containers = Lens.lens (\EksAttemptDetail' {containers} -> containers) (\s@EksAttemptDetail' {} a -> s {containers = a} :: EksAttemptDetail) Prelude.. Lens.mapping Lens.coerced++-- | The name of the node for this job attempt.+eksAttemptDetail_nodeName :: Lens.Lens' EksAttemptDetail (Prelude.Maybe Prelude.Text)+eksAttemptDetail_nodeName = Lens.lens (\EksAttemptDetail' {nodeName} -> nodeName) (\s@EksAttemptDetail' {} a -> s {nodeName = a} :: EksAttemptDetail)++-- | The name of the pod for this job attempt.+eksAttemptDetail_podName :: Lens.Lens' EksAttemptDetail (Prelude.Maybe Prelude.Text)+eksAttemptDetail_podName = Lens.lens (\EksAttemptDetail' {podName} -> podName) (\s@EksAttemptDetail' {} a -> s {podName = a} :: EksAttemptDetail)++-- | The Unix timestamp (in milliseconds) for when the attempt was started+-- (when the attempt transitioned from the @STARTING@ state to the+-- @RUNNING@ state).+eksAttemptDetail_startedAt :: Lens.Lens' EksAttemptDetail (Prelude.Maybe Prelude.Integer)+eksAttemptDetail_startedAt = Lens.lens (\EksAttemptDetail' {startedAt} -> startedAt) (\s@EksAttemptDetail' {} a -> s {startedAt = a} :: EksAttemptDetail)++-- | A short, human-readable string to provide additional details for the+-- current status of the job attempt.+eksAttemptDetail_statusReason :: Lens.Lens' EksAttemptDetail (Prelude.Maybe Prelude.Text)+eksAttemptDetail_statusReason = Lens.lens (\EksAttemptDetail' {statusReason} -> statusReason) (\s@EksAttemptDetail' {} a -> s {statusReason = a} :: EksAttemptDetail)++-- | 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@.+eksAttemptDetail_stoppedAt :: Lens.Lens' EksAttemptDetail (Prelude.Maybe Prelude.Integer)+eksAttemptDetail_stoppedAt = Lens.lens (\EksAttemptDetail' {stoppedAt} -> stoppedAt) (\s@EksAttemptDetail' {} a -> s {stoppedAt = a} :: EksAttemptDetail)++instance Data.FromJSON EksAttemptDetail where+ parseJSON =+ Data.withObject+ "EksAttemptDetail"+ ( \x ->+ EksAttemptDetail'+ Prelude.<$> (x Data..:? "containers" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "nodeName")+ Prelude.<*> (x Data..:? "podName")+ Prelude.<*> (x Data..:? "startedAt")+ Prelude.<*> (x Data..:? "statusReason")+ Prelude.<*> (x Data..:? "stoppedAt")+ )++instance Prelude.Hashable EksAttemptDetail where+ hashWithSalt _salt EksAttemptDetail' {..} =+ _salt+ `Prelude.hashWithSalt` containers+ `Prelude.hashWithSalt` nodeName+ `Prelude.hashWithSalt` podName+ `Prelude.hashWithSalt` startedAt+ `Prelude.hashWithSalt` statusReason+ `Prelude.hashWithSalt` stoppedAt++instance Prelude.NFData EksAttemptDetail where+ rnf EksAttemptDetail' {..} =+ Prelude.rnf containers+ `Prelude.seq` Prelude.rnf nodeName+ `Prelude.seq` Prelude.rnf podName+ `Prelude.seq` Prelude.rnf startedAt+ `Prelude.seq` Prelude.rnf statusReason+ `Prelude.seq` Prelude.rnf stoppedAt
+ gen/Amazonka/Batch/Types/EksConfiguration.hs view
@@ -0,0 +1,124 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EksConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EksConfiguration where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Configuration for the Amazon EKS cluster that supports the Batch compute+-- environment. The cluster must exist before the compute environment can+-- be created.+--+-- /See:/ 'newEksConfiguration' smart constructor.+data EksConfiguration = EksConfiguration'+ { -- | The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example is+ -- @arn:@/@aws@/@:eks:@/@us-east-1@/@:@/@123456789012@/@:cluster\/@/@ClusterForBatch@/@ @.+ eksClusterArn :: Prelude.Text,+ -- | 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+ -- <https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ Namespaces>+ -- in the Kubernetes documentation.+ kubernetesNamespace :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EksConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eksClusterArn', 'eksConfiguration_eksClusterArn' - The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example is+-- @arn:@/@aws@/@:eks:@/@us-east-1@/@:@/@123456789012@/@:cluster\/@/@ClusterForBatch@/@ @.+--+-- 'kubernetesNamespace', 'eksConfiguration_kubernetesNamespace' - 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+-- <https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ Namespaces>+-- in the Kubernetes documentation.+newEksConfiguration ::+ -- | 'eksClusterArn'+ Prelude.Text ->+ -- | 'kubernetesNamespace'+ Prelude.Text ->+ EksConfiguration+newEksConfiguration+ pEksClusterArn_+ pKubernetesNamespace_ =+ EksConfiguration'+ { eksClusterArn = pEksClusterArn_,+ kubernetesNamespace = pKubernetesNamespace_+ }++-- | The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example is+-- @arn:@/@aws@/@:eks:@/@us-east-1@/@:@/@123456789012@/@:cluster\/@/@ClusterForBatch@/@ @.+eksConfiguration_eksClusterArn :: Lens.Lens' EksConfiguration Prelude.Text+eksConfiguration_eksClusterArn = Lens.lens (\EksConfiguration' {eksClusterArn} -> eksClusterArn) (\s@EksConfiguration' {} a -> s {eksClusterArn = a} :: EksConfiguration)++-- | 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+-- <https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ Namespaces>+-- in the Kubernetes documentation.+eksConfiguration_kubernetesNamespace :: Lens.Lens' EksConfiguration Prelude.Text+eksConfiguration_kubernetesNamespace = Lens.lens (\EksConfiguration' {kubernetesNamespace} -> kubernetesNamespace) (\s@EksConfiguration' {} a -> s {kubernetesNamespace = a} :: EksConfiguration)++instance Data.FromJSON EksConfiguration where+ parseJSON =+ Data.withObject+ "EksConfiguration"+ ( \x ->+ EksConfiguration'+ Prelude.<$> (x Data..: "eksClusterArn")+ Prelude.<*> (x Data..: "kubernetesNamespace")+ )++instance Prelude.Hashable EksConfiguration where+ hashWithSalt _salt EksConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` eksClusterArn+ `Prelude.hashWithSalt` kubernetesNamespace++instance Prelude.NFData EksConfiguration where+ rnf EksConfiguration' {..} =+ Prelude.rnf eksClusterArn+ `Prelude.seq` Prelude.rnf kubernetesNamespace++instance Data.ToJSON EksConfiguration where+ toJSON EksConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("eksClusterArn" Data..= eksClusterArn),+ Prelude.Just+ ("kubernetesNamespace" Data..= kubernetesNamespace)+ ]+ )
+ gen/Amazonka/Batch/Types/EksContainer.hs view
@@ -0,0 +1,366 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EksContainer+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EksContainer where++import Amazonka.Batch.Types.EksContainerEnvironmentVariable+import Amazonka.Batch.Types.EksContainerResourceRequirements+import Amazonka.Batch.Types.EksContainerSecurityContext+import Amazonka.Batch.Types.EksContainerVolumeMount+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | 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.+--+-- /See:/ 'newEksContainer' smart constructor.+data EksContainer = EksContainer'+ { -- | 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+ -- <https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint Entrypoint>+ -- portion of the+ -- <https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/ Pod>+ -- 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+ -- <https://docs.docker.com/engine/reference/builder/#cmd CMD> in the+ -- /Dockerfile reference/ and+ -- <https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/ Define a command and arguments for a pod>+ -- in the /Kubernetes documentation/.+ args :: Prelude.Maybe [Prelude.Text],+ -- | 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+ -- <https://docs.docker.com/engine/reference/builder/#entrypoint ENTRYPOINT>+ -- in the /Dockerfile reference/ and+ -- <https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/ Define a command and arguments for a container>+ -- and+ -- <https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint Entrypoint>+ -- in the /Kubernetes documentation/.+ command :: Prelude.Maybe [Prelude.Text],+ -- | 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 :: Prelude.Maybe [EksContainerEnvironmentVariable],+ -- | 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+ -- <https://kubernetes.io/docs/concepts/containers/images/#updating-images Updating images>+ -- in the /Kubernetes documentation/.+ imagePullPolicy :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | 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+ -- <https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ Resource management for pods and containers>+ -- in the /Kubernetes documentation/.+ resources :: Prelude.Maybe EksContainerResourceRequirements,+ -- | The security context for a job. For more information, see+ -- <https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ Configure a security context for a pod or container>+ -- in the /Kubernetes documentation/.+ securityContext :: Prelude.Maybe EksContainerSecurityContext,+ -- | 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+ -- <https://kubernetes.io/docs/concepts/storage/volumes/ Volumes> in the+ -- /Kubernetes documentation/.+ volumeMounts :: Prelude.Maybe [EksContainerVolumeMount],+ -- | The Docker image used to start the container.+ image :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EksContainer' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'args', 'eksContainer_args' - 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+-- <https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint Entrypoint>+-- portion of the+-- <https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/ Pod>+-- 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+-- <https://docs.docker.com/engine/reference/builder/#cmd CMD> in the+-- /Dockerfile reference/ and+-- <https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/ Define a command and arguments for a pod>+-- in the /Kubernetes documentation/.+--+-- 'command', 'eksContainer_command' - 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+-- <https://docs.docker.com/engine/reference/builder/#entrypoint ENTRYPOINT>+-- in the /Dockerfile reference/ and+-- <https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/ Define a command and arguments for a container>+-- and+-- <https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint Entrypoint>+-- in the /Kubernetes documentation/.+--+-- 'env', 'eksContainer_env' - 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.+--+-- 'imagePullPolicy', 'eksContainer_imagePullPolicy' - 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+-- <https://kubernetes.io/docs/concepts/containers/images/#updating-images Updating images>+-- in the /Kubernetes documentation/.+--+-- 'name', 'eksContainer_name' - 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.+--+-- 'resources', 'eksContainer_resources' - 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+-- <https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ Resource management for pods and containers>+-- in the /Kubernetes documentation/.+--+-- 'securityContext', 'eksContainer_securityContext' - The security context for a job. For more information, see+-- <https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ Configure a security context for a pod or container>+-- in the /Kubernetes documentation/.+--+-- 'volumeMounts', 'eksContainer_volumeMounts' - 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+-- <https://kubernetes.io/docs/concepts/storage/volumes/ Volumes> in the+-- /Kubernetes documentation/.+--+-- 'image', 'eksContainer_image' - The Docker image used to start the container.+newEksContainer ::+ -- | 'image'+ Prelude.Text ->+ EksContainer+newEksContainer pImage_ =+ EksContainer'+ { args = Prelude.Nothing,+ command = Prelude.Nothing,+ env = Prelude.Nothing,+ imagePullPolicy = Prelude.Nothing,+ name = Prelude.Nothing,+ resources = Prelude.Nothing,+ securityContext = Prelude.Nothing,+ volumeMounts = Prelude.Nothing,+ image = pImage_+ }++-- | 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+-- <https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint Entrypoint>+-- portion of the+-- <https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/ Pod>+-- 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+-- <https://docs.docker.com/engine/reference/builder/#cmd CMD> in the+-- /Dockerfile reference/ and+-- <https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/ Define a command and arguments for a pod>+-- in the /Kubernetes documentation/.+eksContainer_args :: Lens.Lens' EksContainer (Prelude.Maybe [Prelude.Text])+eksContainer_args = Lens.lens (\EksContainer' {args} -> args) (\s@EksContainer' {} a -> s {args = a} :: EksContainer) Prelude.. Lens.mapping Lens.coerced++-- | 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+-- <https://docs.docker.com/engine/reference/builder/#entrypoint ENTRYPOINT>+-- in the /Dockerfile reference/ and+-- <https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/ Define a command and arguments for a container>+-- and+-- <https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint Entrypoint>+-- in the /Kubernetes documentation/.+eksContainer_command :: Lens.Lens' EksContainer (Prelude.Maybe [Prelude.Text])+eksContainer_command = Lens.lens (\EksContainer' {command} -> command) (\s@EksContainer' {} a -> s {command = a} :: EksContainer) Prelude.. Lens.mapping Lens.coerced++-- | 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.+eksContainer_env :: Lens.Lens' EksContainer (Prelude.Maybe [EksContainerEnvironmentVariable])+eksContainer_env = Lens.lens (\EksContainer' {env} -> env) (\s@EksContainer' {} a -> s {env = a} :: EksContainer) Prelude.. Lens.mapping Lens.coerced++-- | 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+-- <https://kubernetes.io/docs/concepts/containers/images/#updating-images Updating images>+-- in the /Kubernetes documentation/.+eksContainer_imagePullPolicy :: Lens.Lens' EksContainer (Prelude.Maybe Prelude.Text)+eksContainer_imagePullPolicy = Lens.lens (\EksContainer' {imagePullPolicy} -> imagePullPolicy) (\s@EksContainer' {} a -> s {imagePullPolicy = a} :: EksContainer)++-- | 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.+eksContainer_name :: Lens.Lens' EksContainer (Prelude.Maybe Prelude.Text)+eksContainer_name = Lens.lens (\EksContainer' {name} -> name) (\s@EksContainer' {} a -> s {name = a} :: EksContainer)++-- | 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+-- <https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ Resource management for pods and containers>+-- in the /Kubernetes documentation/.+eksContainer_resources :: Lens.Lens' EksContainer (Prelude.Maybe EksContainerResourceRequirements)+eksContainer_resources = Lens.lens (\EksContainer' {resources} -> resources) (\s@EksContainer' {} a -> s {resources = a} :: EksContainer)++-- | The security context for a job. For more information, see+-- <https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ Configure a security context for a pod or container>+-- in the /Kubernetes documentation/.+eksContainer_securityContext :: Lens.Lens' EksContainer (Prelude.Maybe EksContainerSecurityContext)+eksContainer_securityContext = Lens.lens (\EksContainer' {securityContext} -> securityContext) (\s@EksContainer' {} a -> s {securityContext = a} :: EksContainer)++-- | 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+-- <https://kubernetes.io/docs/concepts/storage/volumes/ Volumes> in the+-- /Kubernetes documentation/.+eksContainer_volumeMounts :: Lens.Lens' EksContainer (Prelude.Maybe [EksContainerVolumeMount])+eksContainer_volumeMounts = Lens.lens (\EksContainer' {volumeMounts} -> volumeMounts) (\s@EksContainer' {} a -> s {volumeMounts = a} :: EksContainer) Prelude.. Lens.mapping Lens.coerced++-- | The Docker image used to start the container.+eksContainer_image :: Lens.Lens' EksContainer Prelude.Text+eksContainer_image = Lens.lens (\EksContainer' {image} -> image) (\s@EksContainer' {} a -> s {image = a} :: EksContainer)++instance Data.FromJSON EksContainer where+ parseJSON =+ Data.withObject+ "EksContainer"+ ( \x ->+ EksContainer'+ Prelude.<$> (x Data..:? "args" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "command" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "env" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "imagePullPolicy")+ Prelude.<*> (x Data..:? "name")+ Prelude.<*> (x Data..:? "resources")+ Prelude.<*> (x Data..:? "securityContext")+ Prelude.<*> (x Data..:? "volumeMounts" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..: "image")+ )++instance Prelude.Hashable EksContainer where+ hashWithSalt _salt EksContainer' {..} =+ _salt+ `Prelude.hashWithSalt` args+ `Prelude.hashWithSalt` command+ `Prelude.hashWithSalt` env+ `Prelude.hashWithSalt` imagePullPolicy+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` resources+ `Prelude.hashWithSalt` securityContext+ `Prelude.hashWithSalt` volumeMounts+ `Prelude.hashWithSalt` image++instance Prelude.NFData EksContainer where+ rnf EksContainer' {..} =+ Prelude.rnf args+ `Prelude.seq` Prelude.rnf command+ `Prelude.seq` Prelude.rnf env+ `Prelude.seq` Prelude.rnf imagePullPolicy+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf resources+ `Prelude.seq` Prelude.rnf securityContext+ `Prelude.seq` Prelude.rnf volumeMounts+ `Prelude.seq` Prelude.rnf image++instance Data.ToJSON EksContainer where+ toJSON EksContainer' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("args" Data..=) Prelude.<$> args,+ ("command" Data..=) Prelude.<$> command,+ ("env" Data..=) Prelude.<$> env,+ ("imagePullPolicy" Data..=)+ Prelude.<$> imagePullPolicy,+ ("name" Data..=) Prelude.<$> name,+ ("resources" Data..=) Prelude.<$> resources,+ ("securityContext" Data..=)+ Prelude.<$> securityContext,+ ("volumeMounts" Data..=) Prelude.<$> volumeMounts,+ Prelude.Just ("image" Data..= image)+ ]+ )
+ gen/Amazonka/Batch/Types/EksContainerDetail.hs view
@@ -0,0 +1,326 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EksContainerDetail+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EksContainerDetail where++import Amazonka.Batch.Types.EksContainerEnvironmentVariable+import Amazonka.Batch.Types.EksContainerResourceRequirements+import Amazonka.Batch.Types.EksContainerSecurityContext+import Amazonka.Batch.Types.EksContainerVolumeMount+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The details for container properties that are returned by @DescribeJobs@+-- for jobs that use Amazon EKS.+--+-- /See:/ 'newEksContainerDetail' smart constructor.+data EksContainerDetail = EksContainerDetail'+ { -- | 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+ -- <https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint Entrypoint>+ -- portion of the+ -- <https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/ Pod>+ -- 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+ -- <https://docs.docker.com/engine/reference/builder/#cmd CMD> in the+ -- /Dockerfile reference/ and+ -- <https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/ Define a command and arguments for a pod>+ -- in the /Kubernetes documentation/.+ args :: Prelude.Maybe [Prelude.Text],+ -- | The entrypoint for the container. For more information, see+ -- <https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint Entrypoint>+ -- in the /Kubernetes documentation/.+ command :: Prelude.Maybe [Prelude.Text],+ -- | 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 :: Prelude.Maybe [EksContainerEnvironmentVariable],+ -- | The exit code for the job attempt. A non-zero exit code is considered+ -- failed.+ exitCode :: Prelude.Maybe Prelude.Int,+ -- | The Docker image used to start the container.+ image :: Prelude.Maybe Prelude.Text,+ -- | 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+ -- <https://kubernetes.io/docs/concepts/containers/images/#updating-images Updating images>+ -- in the /Kubernetes documentation/.+ imagePullPolicy :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | A short human-readable string to provide additional details for a+ -- running or stopped container. It can be up to 255 characters long.+ reason :: Prelude.Maybe Prelude.Text,+ -- | 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+ -- <https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ Resource management for pods and containers>+ -- in the /Kubernetes documentation/.+ resources :: Prelude.Maybe EksContainerResourceRequirements,+ -- | The security context for a job. For more information, see+ -- <https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ Configure a security context for a pod or container>+ -- in the /Kubernetes documentation/.+ securityContext :: Prelude.Maybe EksContainerSecurityContext,+ -- | 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+ -- <https://kubernetes.io/docs/concepts/storage/volumes/ Volumes> in the+ -- /Kubernetes documentation/.+ volumeMounts :: Prelude.Maybe [EksContainerVolumeMount]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EksContainerDetail' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'args', 'eksContainerDetail_args' - 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+-- <https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint Entrypoint>+-- portion of the+-- <https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/ Pod>+-- 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+-- <https://docs.docker.com/engine/reference/builder/#cmd CMD> in the+-- /Dockerfile reference/ and+-- <https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/ Define a command and arguments for a pod>+-- in the /Kubernetes documentation/.+--+-- 'command', 'eksContainerDetail_command' - The entrypoint for the container. For more information, see+-- <https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint Entrypoint>+-- in the /Kubernetes documentation/.+--+-- 'env', 'eksContainerDetail_env' - 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.+--+-- 'exitCode', 'eksContainerDetail_exitCode' - The exit code for the job attempt. A non-zero exit code is considered+-- failed.+--+-- 'image', 'eksContainerDetail_image' - The Docker image used to start the container.+--+-- 'imagePullPolicy', 'eksContainerDetail_imagePullPolicy' - 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+-- <https://kubernetes.io/docs/concepts/containers/images/#updating-images Updating images>+-- in the /Kubernetes documentation/.+--+-- 'name', 'eksContainerDetail_name' - 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.+--+-- 'reason', 'eksContainerDetail_reason' - A short human-readable string to provide additional details for a+-- running or stopped container. It can be up to 255 characters long.+--+-- 'resources', 'eksContainerDetail_resources' - 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+-- <https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ Resource management for pods and containers>+-- in the /Kubernetes documentation/.+--+-- 'securityContext', 'eksContainerDetail_securityContext' - The security context for a job. For more information, see+-- <https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ Configure a security context for a pod or container>+-- in the /Kubernetes documentation/.+--+-- 'volumeMounts', 'eksContainerDetail_volumeMounts' - 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+-- <https://kubernetes.io/docs/concepts/storage/volumes/ Volumes> in the+-- /Kubernetes documentation/.+newEksContainerDetail ::+ EksContainerDetail+newEksContainerDetail =+ EksContainerDetail'+ { args = Prelude.Nothing,+ command = Prelude.Nothing,+ env = Prelude.Nothing,+ exitCode = Prelude.Nothing,+ image = Prelude.Nothing,+ imagePullPolicy = Prelude.Nothing,+ name = Prelude.Nothing,+ reason = Prelude.Nothing,+ resources = Prelude.Nothing,+ securityContext = Prelude.Nothing,+ volumeMounts = Prelude.Nothing+ }++-- | 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+-- <https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint Entrypoint>+-- portion of the+-- <https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/ Pod>+-- 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+-- <https://docs.docker.com/engine/reference/builder/#cmd CMD> in the+-- /Dockerfile reference/ and+-- <https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/ Define a command and arguments for a pod>+-- in the /Kubernetes documentation/.+eksContainerDetail_args :: Lens.Lens' EksContainerDetail (Prelude.Maybe [Prelude.Text])+eksContainerDetail_args = Lens.lens (\EksContainerDetail' {args} -> args) (\s@EksContainerDetail' {} a -> s {args = a} :: EksContainerDetail) Prelude.. Lens.mapping Lens.coerced++-- | The entrypoint for the container. For more information, see+-- <https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint Entrypoint>+-- in the /Kubernetes documentation/.+eksContainerDetail_command :: Lens.Lens' EksContainerDetail (Prelude.Maybe [Prelude.Text])+eksContainerDetail_command = Lens.lens (\EksContainerDetail' {command} -> command) (\s@EksContainerDetail' {} a -> s {command = a} :: EksContainerDetail) Prelude.. Lens.mapping Lens.coerced++-- | 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.+eksContainerDetail_env :: Lens.Lens' EksContainerDetail (Prelude.Maybe [EksContainerEnvironmentVariable])+eksContainerDetail_env = Lens.lens (\EksContainerDetail' {env} -> env) (\s@EksContainerDetail' {} a -> s {env = a} :: EksContainerDetail) Prelude.. Lens.mapping Lens.coerced++-- | The exit code for the job attempt. A non-zero exit code is considered+-- failed.+eksContainerDetail_exitCode :: Lens.Lens' EksContainerDetail (Prelude.Maybe Prelude.Int)+eksContainerDetail_exitCode = Lens.lens (\EksContainerDetail' {exitCode} -> exitCode) (\s@EksContainerDetail' {} a -> s {exitCode = a} :: EksContainerDetail)++-- | The Docker image used to start the container.+eksContainerDetail_image :: Lens.Lens' EksContainerDetail (Prelude.Maybe Prelude.Text)+eksContainerDetail_image = Lens.lens (\EksContainerDetail' {image} -> image) (\s@EksContainerDetail' {} a -> s {image = a} :: EksContainerDetail)++-- | 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+-- <https://kubernetes.io/docs/concepts/containers/images/#updating-images Updating images>+-- in the /Kubernetes documentation/.+eksContainerDetail_imagePullPolicy :: Lens.Lens' EksContainerDetail (Prelude.Maybe Prelude.Text)+eksContainerDetail_imagePullPolicy = Lens.lens (\EksContainerDetail' {imagePullPolicy} -> imagePullPolicy) (\s@EksContainerDetail' {} a -> s {imagePullPolicy = a} :: EksContainerDetail)++-- | 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.+eksContainerDetail_name :: Lens.Lens' EksContainerDetail (Prelude.Maybe Prelude.Text)+eksContainerDetail_name = Lens.lens (\EksContainerDetail' {name} -> name) (\s@EksContainerDetail' {} a -> s {name = a} :: EksContainerDetail)++-- | A short human-readable string to provide additional details for a+-- running or stopped container. It can be up to 255 characters long.+eksContainerDetail_reason :: Lens.Lens' EksContainerDetail (Prelude.Maybe Prelude.Text)+eksContainerDetail_reason = Lens.lens (\EksContainerDetail' {reason} -> reason) (\s@EksContainerDetail' {} a -> s {reason = a} :: EksContainerDetail)++-- | 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+-- <https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ Resource management for pods and containers>+-- in the /Kubernetes documentation/.+eksContainerDetail_resources :: Lens.Lens' EksContainerDetail (Prelude.Maybe EksContainerResourceRequirements)+eksContainerDetail_resources = Lens.lens (\EksContainerDetail' {resources} -> resources) (\s@EksContainerDetail' {} a -> s {resources = a} :: EksContainerDetail)++-- | The security context for a job. For more information, see+-- <https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ Configure a security context for a pod or container>+-- in the /Kubernetes documentation/.+eksContainerDetail_securityContext :: Lens.Lens' EksContainerDetail (Prelude.Maybe EksContainerSecurityContext)+eksContainerDetail_securityContext = Lens.lens (\EksContainerDetail' {securityContext} -> securityContext) (\s@EksContainerDetail' {} a -> s {securityContext = a} :: EksContainerDetail)++-- | 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+-- <https://kubernetes.io/docs/concepts/storage/volumes/ Volumes> in the+-- /Kubernetes documentation/.+eksContainerDetail_volumeMounts :: Lens.Lens' EksContainerDetail (Prelude.Maybe [EksContainerVolumeMount])+eksContainerDetail_volumeMounts = Lens.lens (\EksContainerDetail' {volumeMounts} -> volumeMounts) (\s@EksContainerDetail' {} a -> s {volumeMounts = a} :: EksContainerDetail) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON EksContainerDetail where+ parseJSON =+ Data.withObject+ "EksContainerDetail"+ ( \x ->+ EksContainerDetail'+ Prelude.<$> (x Data..:? "args" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "command" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "env" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "exitCode")+ Prelude.<*> (x Data..:? "image")+ Prelude.<*> (x Data..:? "imagePullPolicy")+ Prelude.<*> (x Data..:? "name")+ Prelude.<*> (x Data..:? "reason")+ Prelude.<*> (x Data..:? "resources")+ Prelude.<*> (x Data..:? "securityContext")+ Prelude.<*> (x Data..:? "volumeMounts" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable EksContainerDetail where+ hashWithSalt _salt EksContainerDetail' {..} =+ _salt+ `Prelude.hashWithSalt` args+ `Prelude.hashWithSalt` command+ `Prelude.hashWithSalt` env+ `Prelude.hashWithSalt` exitCode+ `Prelude.hashWithSalt` image+ `Prelude.hashWithSalt` imagePullPolicy+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` reason+ `Prelude.hashWithSalt` resources+ `Prelude.hashWithSalt` securityContext+ `Prelude.hashWithSalt` volumeMounts++instance Prelude.NFData EksContainerDetail where+ rnf EksContainerDetail' {..} =+ Prelude.rnf args+ `Prelude.seq` Prelude.rnf command+ `Prelude.seq` Prelude.rnf env+ `Prelude.seq` Prelude.rnf exitCode+ `Prelude.seq` Prelude.rnf image+ `Prelude.seq` Prelude.rnf imagePullPolicy+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf reason+ `Prelude.seq` Prelude.rnf resources+ `Prelude.seq` Prelude.rnf securityContext+ `Prelude.seq` Prelude.rnf volumeMounts
+ gen/Amazonka/Batch/Types/EksContainerEnvironmentVariable.hs view
@@ -0,0 +1,106 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EksContainerEnvironmentVariable+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EksContainerEnvironmentVariable where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An environment variable.+--+-- /See:/ 'newEksContainerEnvironmentVariable' smart constructor.+data EksContainerEnvironmentVariable = EksContainerEnvironmentVariable'+ { -- | The value of the environment variable.+ value :: Prelude.Maybe Prelude.Text,+ -- | The name of the environment variable.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EksContainerEnvironmentVariable' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'value', 'eksContainerEnvironmentVariable_value' - The value of the environment variable.+--+-- 'name', 'eksContainerEnvironmentVariable_name' - The name of the environment variable.+newEksContainerEnvironmentVariable ::+ -- | 'name'+ Prelude.Text ->+ EksContainerEnvironmentVariable+newEksContainerEnvironmentVariable pName_ =+ EksContainerEnvironmentVariable'+ { value =+ Prelude.Nothing,+ name = pName_+ }++-- | The value of the environment variable.+eksContainerEnvironmentVariable_value :: Lens.Lens' EksContainerEnvironmentVariable (Prelude.Maybe Prelude.Text)+eksContainerEnvironmentVariable_value = Lens.lens (\EksContainerEnvironmentVariable' {value} -> value) (\s@EksContainerEnvironmentVariable' {} a -> s {value = a} :: EksContainerEnvironmentVariable)++-- | The name of the environment variable.+eksContainerEnvironmentVariable_name :: Lens.Lens' EksContainerEnvironmentVariable Prelude.Text+eksContainerEnvironmentVariable_name = Lens.lens (\EksContainerEnvironmentVariable' {name} -> name) (\s@EksContainerEnvironmentVariable' {} a -> s {name = a} :: EksContainerEnvironmentVariable)++instance+ Data.FromJSON+ EksContainerEnvironmentVariable+ where+ parseJSON =+ Data.withObject+ "EksContainerEnvironmentVariable"+ ( \x ->+ EksContainerEnvironmentVariable'+ Prelude.<$> (x Data..:? "value")+ Prelude.<*> (x Data..: "name")+ )++instance+ Prelude.Hashable+ EksContainerEnvironmentVariable+ where+ hashWithSalt+ _salt+ EksContainerEnvironmentVariable' {..} =+ _salt+ `Prelude.hashWithSalt` value+ `Prelude.hashWithSalt` name++instance+ Prelude.NFData+ EksContainerEnvironmentVariable+ where+ rnf EksContainerEnvironmentVariable' {..} =+ Prelude.rnf value `Prelude.seq` Prelude.rnf name++instance Data.ToJSON EksContainerEnvironmentVariable where+ toJSON EksContainerEnvironmentVariable' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("value" Data..=) Prelude.<$> value,+ Prelude.Just ("name" Data..= name)+ ]+ )
+ gen/Amazonka/Batch/Types/EksContainerOverride.hs view
@@ -0,0 +1,176 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EksContainerOverride+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EksContainerOverride where++import Amazonka.Batch.Types.EksContainerEnvironmentVariable+import Amazonka.Batch.Types.EksContainerResourceRequirements+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Object representing any Kubernetes overrides to a job definition that\'s+-- used in a SubmitJob API operation.+--+-- /See:/ 'newEksContainerOverride' smart constructor.+data EksContainerOverride = EksContainerOverride'+ { -- | 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+ -- <https://docs.docker.com/engine/reference/builder/#cmd CMD> in the+ -- /Dockerfile reference/ and+ -- <https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/ Define a command an arguments for a pod>+ -- in the /Kubernetes documentation/.+ args :: Prelude.Maybe [Prelude.Text],+ -- | The command to send to the container that overrides the default command+ -- from the Docker image or the job definition.+ command :: Prelude.Maybe [Prelude.Text],+ -- | 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 :: Prelude.Maybe [EksContainerEnvironmentVariable],+ -- | The override of the Docker image that\'s used to start the container.+ image :: Prelude.Maybe Prelude.Text,+ -- | 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+ -- <https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ Resource management for pods and containers>+ -- in the /Kubernetes documentation/.+ resources :: Prelude.Maybe EksContainerResourceRequirements+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EksContainerOverride' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'args', 'eksContainerOverride_args' - 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+-- <https://docs.docker.com/engine/reference/builder/#cmd CMD> in the+-- /Dockerfile reference/ and+-- <https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/ Define a command an arguments for a pod>+-- in the /Kubernetes documentation/.+--+-- 'command', 'eksContainerOverride_command' - The command to send to the container that overrides the default command+-- from the Docker image or the job definition.+--+-- 'env', 'eksContainerOverride_env' - 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.+--+-- 'image', 'eksContainerOverride_image' - The override of the Docker image that\'s used to start the container.+--+-- 'resources', 'eksContainerOverride_resources' - 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+-- <https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ Resource management for pods and containers>+-- in the /Kubernetes documentation/.+newEksContainerOverride ::+ EksContainerOverride+newEksContainerOverride =+ EksContainerOverride'+ { args = Prelude.Nothing,+ command = Prelude.Nothing,+ env = Prelude.Nothing,+ image = Prelude.Nothing,+ resources = Prelude.Nothing+ }++-- | 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+-- <https://docs.docker.com/engine/reference/builder/#cmd CMD> in the+-- /Dockerfile reference/ and+-- <https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/ Define a command an arguments for a pod>+-- in the /Kubernetes documentation/.+eksContainerOverride_args :: Lens.Lens' EksContainerOverride (Prelude.Maybe [Prelude.Text])+eksContainerOverride_args = Lens.lens (\EksContainerOverride' {args} -> args) (\s@EksContainerOverride' {} a -> s {args = a} :: EksContainerOverride) Prelude.. Lens.mapping Lens.coerced++-- | The command to send to the container that overrides the default command+-- from the Docker image or the job definition.+eksContainerOverride_command :: Lens.Lens' EksContainerOverride (Prelude.Maybe [Prelude.Text])+eksContainerOverride_command = Lens.lens (\EksContainerOverride' {command} -> command) (\s@EksContainerOverride' {} a -> s {command = a} :: EksContainerOverride) Prelude.. Lens.mapping Lens.coerced++-- | 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.+eksContainerOverride_env :: Lens.Lens' EksContainerOverride (Prelude.Maybe [EksContainerEnvironmentVariable])+eksContainerOverride_env = Lens.lens (\EksContainerOverride' {env} -> env) (\s@EksContainerOverride' {} a -> s {env = a} :: EksContainerOverride) Prelude.. Lens.mapping Lens.coerced++-- | The override of the Docker image that\'s used to start the container.+eksContainerOverride_image :: Lens.Lens' EksContainerOverride (Prelude.Maybe Prelude.Text)+eksContainerOverride_image = Lens.lens (\EksContainerOverride' {image} -> image) (\s@EksContainerOverride' {} a -> s {image = a} :: EksContainerOverride)++-- | 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+-- <https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ Resource management for pods and containers>+-- in the /Kubernetes documentation/.+eksContainerOverride_resources :: Lens.Lens' EksContainerOverride (Prelude.Maybe EksContainerResourceRequirements)+eksContainerOverride_resources = Lens.lens (\EksContainerOverride' {resources} -> resources) (\s@EksContainerOverride' {} a -> s {resources = a} :: EksContainerOverride)++instance Prelude.Hashable EksContainerOverride where+ hashWithSalt _salt EksContainerOverride' {..} =+ _salt+ `Prelude.hashWithSalt` args+ `Prelude.hashWithSalt` command+ `Prelude.hashWithSalt` env+ `Prelude.hashWithSalt` image+ `Prelude.hashWithSalt` resources++instance Prelude.NFData EksContainerOverride where+ rnf EksContainerOverride' {..} =+ Prelude.rnf args+ `Prelude.seq` Prelude.rnf command+ `Prelude.seq` Prelude.rnf env+ `Prelude.seq` Prelude.rnf image+ `Prelude.seq` Prelude.rnf resources++instance Data.ToJSON EksContainerOverride where+ toJSON EksContainerOverride' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("args" Data..=) Prelude.<$> args,+ ("command" Data..=) Prelude.<$> command,+ ("env" Data..=) Prelude.<$> env,+ ("image" Data..=) Prelude.<$> image,+ ("resources" Data..=) Prelude.<$> resources+ ]+ )
+ gen/Amazonka/Batch/Types/EksContainerResourceRequirements.hs view
@@ -0,0 +1,295 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EksContainerResourceRequirements+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EksContainerResourceRequirements where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | 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+-- <https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ Resource management for pods and containers>+-- in the /Kubernetes documentation/.+--+-- /See:/ 'newEksContainerResourceRequirements' smart constructor.+data EksContainerResourceRequirements = EksContainerResourceRequirements'+ { -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html Memory management>+ -- 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 :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html Memory management>+ -- 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 :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text)+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EksContainerResourceRequirements' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'limits', 'eksContainerResourceRequirements_limits' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html Memory management>+-- 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@.+--+-- 'requests', 'eksContainerResourceRequirements_requests' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html Memory management>+-- 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@.+newEksContainerResourceRequirements ::+ EksContainerResourceRequirements+newEksContainerResourceRequirements =+ EksContainerResourceRequirements'+ { limits =+ Prelude.Nothing,+ requests = Prelude.Nothing+ }++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html Memory management>+-- 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@.+eksContainerResourceRequirements_limits :: Lens.Lens' EksContainerResourceRequirements (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+eksContainerResourceRequirements_limits = Lens.lens (\EksContainerResourceRequirements' {limits} -> limits) (\s@EksContainerResourceRequirements' {} a -> s {limits = a} :: EksContainerResourceRequirements) Prelude.. Lens.mapping Lens.coerced++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html Memory management>+-- 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@.+eksContainerResourceRequirements_requests :: Lens.Lens' EksContainerResourceRequirements (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+eksContainerResourceRequirements_requests = Lens.lens (\EksContainerResourceRequirements' {requests} -> requests) (\s@EksContainerResourceRequirements' {} a -> s {requests = a} :: EksContainerResourceRequirements) Prelude.. Lens.mapping Lens.coerced++instance+ Data.FromJSON+ EksContainerResourceRequirements+ where+ parseJSON =+ Data.withObject+ "EksContainerResourceRequirements"+ ( \x ->+ EksContainerResourceRequirements'+ Prelude.<$> (x Data..:? "limits" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "requests" Data..!= Prelude.mempty)+ )++instance+ Prelude.Hashable+ EksContainerResourceRequirements+ where+ hashWithSalt+ _salt+ EksContainerResourceRequirements' {..} =+ _salt+ `Prelude.hashWithSalt` limits+ `Prelude.hashWithSalt` requests++instance+ Prelude.NFData+ EksContainerResourceRequirements+ where+ rnf EksContainerResourceRequirements' {..} =+ Prelude.rnf limits+ `Prelude.seq` Prelude.rnf requests++instance Data.ToJSON EksContainerResourceRequirements where+ toJSON EksContainerResourceRequirements' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("limits" Data..=) Prelude.<$> limits,+ ("requests" Data..=) Prelude.<$> requests+ ]+ )
+ gen/Amazonka/Batch/Types/EksContainerSecurityContext.hs view
@@ -0,0 +1,208 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EksContainerSecurityContext+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EksContainerSecurityContext where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The security context for a job. For more information, see+-- <https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ Configure a security context for a pod or container>+-- in the /Kubernetes documentation/.+--+-- /See:/ 'newEksContainerSecurityContext' smart constructor.+data EksContainerSecurityContext = EksContainerSecurityContext'+ { -- | 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+ -- <https://kubernetes.io/docs/concepts/security/pod-security-policy/#privileged Privileged pod security policies>+ -- in the /Kubernetes documentation/.+ privileged :: Prelude.Maybe Prelude.Bool,+ -- | 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+ -- <https://kubernetes.io/docs/concepts/security/pod-security-policy/#volumes-and-file-systems Volumes and file systems pod security policies>+ -- in the /Kubernetes documentation/.+ readOnlyRootFilesystem :: Prelude.Maybe Prelude.Bool,+ -- | 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+ -- <https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups Users and groups pod security policies>+ -- in the /Kubernetes documentation/.+ runAsGroup :: Prelude.Maybe Prelude.Integer,+ -- | 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+ -- <https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups Users and groups pod security policies>+ -- in the /Kubernetes documentation/.+ runAsNonRoot :: Prelude.Maybe Prelude.Bool,+ -- | 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+ -- <https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups Users and groups pod security policies>+ -- in the /Kubernetes documentation/.+ runAsUser :: Prelude.Maybe Prelude.Integer+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EksContainerSecurityContext' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'privileged', 'eksContainerSecurityContext_privileged' - 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+-- <https://kubernetes.io/docs/concepts/security/pod-security-policy/#privileged Privileged pod security policies>+-- in the /Kubernetes documentation/.+--+-- 'readOnlyRootFilesystem', 'eksContainerSecurityContext_readOnlyRootFilesystem' - 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+-- <https://kubernetes.io/docs/concepts/security/pod-security-policy/#volumes-and-file-systems Volumes and file systems pod security policies>+-- in the /Kubernetes documentation/.+--+-- 'runAsGroup', 'eksContainerSecurityContext_runAsGroup' - 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+-- <https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups Users and groups pod security policies>+-- in the /Kubernetes documentation/.+--+-- 'runAsNonRoot', 'eksContainerSecurityContext_runAsNonRoot' - 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+-- <https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups Users and groups pod security policies>+-- in the /Kubernetes documentation/.+--+-- 'runAsUser', 'eksContainerSecurityContext_runAsUser' - 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+-- <https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups Users and groups pod security policies>+-- in the /Kubernetes documentation/.+newEksContainerSecurityContext ::+ EksContainerSecurityContext+newEksContainerSecurityContext =+ EksContainerSecurityContext'+ { privileged =+ Prelude.Nothing,+ readOnlyRootFilesystem = Prelude.Nothing,+ runAsGroup = Prelude.Nothing,+ runAsNonRoot = Prelude.Nothing,+ runAsUser = Prelude.Nothing+ }++-- | 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+-- <https://kubernetes.io/docs/concepts/security/pod-security-policy/#privileged Privileged pod security policies>+-- in the /Kubernetes documentation/.+eksContainerSecurityContext_privileged :: Lens.Lens' EksContainerSecurityContext (Prelude.Maybe Prelude.Bool)+eksContainerSecurityContext_privileged = Lens.lens (\EksContainerSecurityContext' {privileged} -> privileged) (\s@EksContainerSecurityContext' {} a -> s {privileged = a} :: EksContainerSecurityContext)++-- | 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+-- <https://kubernetes.io/docs/concepts/security/pod-security-policy/#volumes-and-file-systems Volumes and file systems pod security policies>+-- in the /Kubernetes documentation/.+eksContainerSecurityContext_readOnlyRootFilesystem :: Lens.Lens' EksContainerSecurityContext (Prelude.Maybe Prelude.Bool)+eksContainerSecurityContext_readOnlyRootFilesystem = Lens.lens (\EksContainerSecurityContext' {readOnlyRootFilesystem} -> readOnlyRootFilesystem) (\s@EksContainerSecurityContext' {} a -> s {readOnlyRootFilesystem = a} :: EksContainerSecurityContext)++-- | 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+-- <https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups Users and groups pod security policies>+-- in the /Kubernetes documentation/.+eksContainerSecurityContext_runAsGroup :: Lens.Lens' EksContainerSecurityContext (Prelude.Maybe Prelude.Integer)+eksContainerSecurityContext_runAsGroup = Lens.lens (\EksContainerSecurityContext' {runAsGroup} -> runAsGroup) (\s@EksContainerSecurityContext' {} a -> s {runAsGroup = a} :: EksContainerSecurityContext)++-- | 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+-- <https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups Users and groups pod security policies>+-- in the /Kubernetes documentation/.+eksContainerSecurityContext_runAsNonRoot :: Lens.Lens' EksContainerSecurityContext (Prelude.Maybe Prelude.Bool)+eksContainerSecurityContext_runAsNonRoot = Lens.lens (\EksContainerSecurityContext' {runAsNonRoot} -> runAsNonRoot) (\s@EksContainerSecurityContext' {} a -> s {runAsNonRoot = a} :: EksContainerSecurityContext)++-- | 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+-- <https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups Users and groups pod security policies>+-- in the /Kubernetes documentation/.+eksContainerSecurityContext_runAsUser :: Lens.Lens' EksContainerSecurityContext (Prelude.Maybe Prelude.Integer)+eksContainerSecurityContext_runAsUser = Lens.lens (\EksContainerSecurityContext' {runAsUser} -> runAsUser) (\s@EksContainerSecurityContext' {} a -> s {runAsUser = a} :: EksContainerSecurityContext)++instance Data.FromJSON EksContainerSecurityContext where+ parseJSON =+ Data.withObject+ "EksContainerSecurityContext"+ ( \x ->+ EksContainerSecurityContext'+ Prelude.<$> (x Data..:? "privileged")+ Prelude.<*> (x Data..:? "readOnlyRootFilesystem")+ Prelude.<*> (x Data..:? "runAsGroup")+ Prelude.<*> (x Data..:? "runAsNonRoot")+ Prelude.<*> (x Data..:? "runAsUser")+ )++instance Prelude.Hashable EksContainerSecurityContext where+ hashWithSalt _salt EksContainerSecurityContext' {..} =+ _salt+ `Prelude.hashWithSalt` privileged+ `Prelude.hashWithSalt` readOnlyRootFilesystem+ `Prelude.hashWithSalt` runAsGroup+ `Prelude.hashWithSalt` runAsNonRoot+ `Prelude.hashWithSalt` runAsUser++instance Prelude.NFData EksContainerSecurityContext where+ rnf EksContainerSecurityContext' {..} =+ Prelude.rnf privileged+ `Prelude.seq` Prelude.rnf readOnlyRootFilesystem+ `Prelude.seq` Prelude.rnf runAsGroup+ `Prelude.seq` Prelude.rnf runAsNonRoot+ `Prelude.seq` Prelude.rnf runAsUser++instance Data.ToJSON EksContainerSecurityContext where+ toJSON EksContainerSecurityContext' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("privileged" Data..=) Prelude.<$> privileged,+ ("readOnlyRootFilesystem" Data..=)+ Prelude.<$> readOnlyRootFilesystem,+ ("runAsGroup" Data..=) Prelude.<$> runAsGroup,+ ("runAsNonRoot" Data..=) Prelude.<$> runAsNonRoot,+ ("runAsUser" Data..=) Prelude.<$> runAsUser+ ]+ )
+ gen/Amazonka/Batch/Types/EksContainerVolumeMount.hs view
@@ -0,0 +1,119 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EksContainerVolumeMount+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EksContainerVolumeMount where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The volume mounts for a container for an Amazon EKS job. For more+-- information about volumes and volume mounts in Kubernetes, see+-- <https://kubernetes.io/docs/concepts/storage/volumes/ Volumes> in the+-- /Kubernetes documentation/.+--+-- /See:/ 'newEksContainerVolumeMount' smart constructor.+data EksContainerVolumeMount = EksContainerVolumeMount'+ { -- | The path on the container where the volume is mounted.+ mountPath :: Prelude.Maybe Prelude.Text,+ -- | The name the volume mount. This must match the name of one of the+ -- volumes in the pod.+ name :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe Prelude.Bool+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EksContainerVolumeMount' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'mountPath', 'eksContainerVolumeMount_mountPath' - The path on the container where the volume is mounted.+--+-- 'name', 'eksContainerVolumeMount_name' - The name the volume mount. This must match the name of one of the+-- volumes in the pod.+--+-- 'readOnly', 'eksContainerVolumeMount_readOnly' - 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@.+newEksContainerVolumeMount ::+ EksContainerVolumeMount+newEksContainerVolumeMount =+ EksContainerVolumeMount'+ { mountPath =+ Prelude.Nothing,+ name = Prelude.Nothing,+ readOnly = Prelude.Nothing+ }++-- | The path on the container where the volume is mounted.+eksContainerVolumeMount_mountPath :: Lens.Lens' EksContainerVolumeMount (Prelude.Maybe Prelude.Text)+eksContainerVolumeMount_mountPath = Lens.lens (\EksContainerVolumeMount' {mountPath} -> mountPath) (\s@EksContainerVolumeMount' {} a -> s {mountPath = a} :: EksContainerVolumeMount)++-- | The name the volume mount. This must match the name of one of the+-- volumes in the pod.+eksContainerVolumeMount_name :: Lens.Lens' EksContainerVolumeMount (Prelude.Maybe Prelude.Text)+eksContainerVolumeMount_name = Lens.lens (\EksContainerVolumeMount' {name} -> name) (\s@EksContainerVolumeMount' {} a -> s {name = a} :: EksContainerVolumeMount)++-- | 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@.+eksContainerVolumeMount_readOnly :: Lens.Lens' EksContainerVolumeMount (Prelude.Maybe Prelude.Bool)+eksContainerVolumeMount_readOnly = Lens.lens (\EksContainerVolumeMount' {readOnly} -> readOnly) (\s@EksContainerVolumeMount' {} a -> s {readOnly = a} :: EksContainerVolumeMount)++instance Data.FromJSON EksContainerVolumeMount where+ parseJSON =+ Data.withObject+ "EksContainerVolumeMount"+ ( \x ->+ EksContainerVolumeMount'+ Prelude.<$> (x Data..:? "mountPath")+ Prelude.<*> (x Data..:? "name")+ Prelude.<*> (x Data..:? "readOnly")+ )++instance Prelude.Hashable EksContainerVolumeMount where+ hashWithSalt _salt EksContainerVolumeMount' {..} =+ _salt+ `Prelude.hashWithSalt` mountPath+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` readOnly++instance Prelude.NFData EksContainerVolumeMount where+ rnf EksContainerVolumeMount' {..} =+ Prelude.rnf mountPath+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf readOnly++instance Data.ToJSON EksContainerVolumeMount where+ toJSON EksContainerVolumeMount' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("mountPath" Data..=) Prelude.<$> mountPath,+ ("name" Data..=) Prelude.<$> name,+ ("readOnly" Data..=) Prelude.<$> readOnly+ ]+ )
+ gen/Amazonka/Batch/Types/EksEmptyDir.hs view
@@ -0,0 +1,132 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EksEmptyDir+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EksEmptyDir where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | 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+-- <https://kubernetes.io/docs/concepts/storage/volumes/#emptydir emptyDir>+-- in the /Kubernetes documentation/.+--+-- /See:/ 'newEksEmptyDir' smart constructor.+data EksEmptyDir = EksEmptyDir'+ { -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | The maximum size of the volume. By default, there\'s no maximum size+ -- defined.+ sizeLimit :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EksEmptyDir' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'medium', 'eksEmptyDir_medium' - 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.+--+-- 'sizeLimit', 'eksEmptyDir_sizeLimit' - The maximum size of the volume. By default, there\'s no maximum size+-- defined.+newEksEmptyDir ::+ EksEmptyDir+newEksEmptyDir =+ EksEmptyDir'+ { medium = Prelude.Nothing,+ sizeLimit = Prelude.Nothing+ }++-- | 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.+eksEmptyDir_medium :: Lens.Lens' EksEmptyDir (Prelude.Maybe Prelude.Text)+eksEmptyDir_medium = Lens.lens (\EksEmptyDir' {medium} -> medium) (\s@EksEmptyDir' {} a -> s {medium = a} :: EksEmptyDir)++-- | The maximum size of the volume. By default, there\'s no maximum size+-- defined.+eksEmptyDir_sizeLimit :: Lens.Lens' EksEmptyDir (Prelude.Maybe Prelude.Text)+eksEmptyDir_sizeLimit = Lens.lens (\EksEmptyDir' {sizeLimit} -> sizeLimit) (\s@EksEmptyDir' {} a -> s {sizeLimit = a} :: EksEmptyDir)++instance Data.FromJSON EksEmptyDir where+ parseJSON =+ Data.withObject+ "EksEmptyDir"+ ( \x ->+ EksEmptyDir'+ Prelude.<$> (x Data..:? "medium")+ Prelude.<*> (x Data..:? "sizeLimit")+ )++instance Prelude.Hashable EksEmptyDir where+ hashWithSalt _salt EksEmptyDir' {..} =+ _salt+ `Prelude.hashWithSalt` medium+ `Prelude.hashWithSalt` sizeLimit++instance Prelude.NFData EksEmptyDir where+ rnf EksEmptyDir' {..} =+ Prelude.rnf medium+ `Prelude.seq` Prelude.rnf sizeLimit++instance Data.ToJSON EksEmptyDir where+ toJSON EksEmptyDir' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("medium" Data..=) Prelude.<$> medium,+ ("sizeLimit" Data..=) Prelude.<$> sizeLimit+ ]+ )
+ gen/Amazonka/Batch/Types/EksHostPath.hs view
@@ -0,0 +1,78 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EksHostPath+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EksHostPath where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | 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+-- <https://kubernetes.io/docs/concepts/storage/volumes/#hostpath hostPath>+-- in the /Kubernetes documentation/.+--+-- /See:/ 'newEksHostPath' smart constructor.+data EksHostPath = EksHostPath'+ { -- | The path of the file or directory on the host to mount into containers+ -- on the pod.+ path :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EksHostPath' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'path', 'eksHostPath_path' - The path of the file or directory on the host to mount into containers+-- on the pod.+newEksHostPath ::+ EksHostPath+newEksHostPath = EksHostPath' {path = Prelude.Nothing}++-- | The path of the file or directory on the host to mount into containers+-- on the pod.+eksHostPath_path :: Lens.Lens' EksHostPath (Prelude.Maybe Prelude.Text)+eksHostPath_path = Lens.lens (\EksHostPath' {path} -> path) (\s@EksHostPath' {} a -> s {path = a} :: EksHostPath)++instance Data.FromJSON EksHostPath where+ parseJSON =+ Data.withObject+ "EksHostPath"+ (\x -> EksHostPath' Prelude.<$> (x Data..:? "path"))++instance Prelude.Hashable EksHostPath where+ hashWithSalt _salt EksHostPath' {..} =+ _salt `Prelude.hashWithSalt` path++instance Prelude.NFData EksHostPath where+ rnf EksHostPath' {..} = Prelude.rnf path++instance Data.ToJSON EksHostPath where+ toJSON EksHostPath' {..} =+ Data.object+ ( Prelude.catMaybes+ [("path" Data..=) Prelude.<$> path]+ )
+ gen/Amazonka/Batch/Types/EksPodProperties.hs view
@@ -0,0 +1,210 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EksPodProperties+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EksPodProperties where++import Amazonka.Batch.Types.EksContainer+import Amazonka.Batch.Types.EksVolume+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The properties for the pod.+--+-- /See:/ 'newEksPodProperties' smart constructor.+data EksPodProperties = EksPodProperties'+ { -- | The properties of the container that\'s used on the Amazon EKS pod.+ containers :: Prelude.Maybe [EksContainer],+ -- | 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+ -- <https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy Pod\'s DNS policy>+ -- in the /Kubernetes documentation/.+ --+ -- Valid values: @Default@ | @ClusterFirst@ | @ClusterFirstWithHostNet@+ dnsPolicy :: Prelude.Maybe Prelude.Text,+ -- | 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+ -- <https://kubernetes.io/docs/concepts/security/pod-security-policy/#host-namespaces Host namespaces>+ -- and+ -- <https://kubernetes.io/docs/concepts/workloads/pods/#pod-networking Pod networking>+ -- in the /Kubernetes documentation/.+ hostNetwork :: Prelude.Maybe Prelude.Bool,+ -- | The name of the service account that\'s used to run the pod. For more+ -- information, see+ -- <https://docs.aws.amazon.com/eks/latest/userguide/service-accounts.html Kubernetes service accounts>+ -- and+ -- <https://docs.aws.amazon.com/eks/latest/userguide/associate-service-account-role.html Configure a Kubernetes service account to assume an IAM role>+ -- in the /Amazon EKS User Guide/ and+ -- <https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ Configure service accounts for pods>+ -- in the /Kubernetes documentation/.+ serviceAccountName :: Prelude.Maybe Prelude.Text,+ -- | Specifies the volumes for a job definition that uses Amazon EKS+ -- resources.+ volumes :: Prelude.Maybe [EksVolume]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EksPodProperties' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'containers', 'eksPodProperties_containers' - The properties of the container that\'s used on the Amazon EKS pod.+--+-- 'dnsPolicy', 'eksPodProperties_dnsPolicy' - 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+-- <https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy Pod\'s DNS policy>+-- in the /Kubernetes documentation/.+--+-- Valid values: @Default@ | @ClusterFirst@ | @ClusterFirstWithHostNet@+--+-- 'hostNetwork', 'eksPodProperties_hostNetwork' - 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+-- <https://kubernetes.io/docs/concepts/security/pod-security-policy/#host-namespaces Host namespaces>+-- and+-- <https://kubernetes.io/docs/concepts/workloads/pods/#pod-networking Pod networking>+-- in the /Kubernetes documentation/.+--+-- 'serviceAccountName', 'eksPodProperties_serviceAccountName' - The name of the service account that\'s used to run the pod. For more+-- information, see+-- <https://docs.aws.amazon.com/eks/latest/userguide/service-accounts.html Kubernetes service accounts>+-- and+-- <https://docs.aws.amazon.com/eks/latest/userguide/associate-service-account-role.html Configure a Kubernetes service account to assume an IAM role>+-- in the /Amazon EKS User Guide/ and+-- <https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ Configure service accounts for pods>+-- in the /Kubernetes documentation/.+--+-- 'volumes', 'eksPodProperties_volumes' - Specifies the volumes for a job definition that uses Amazon EKS+-- resources.+newEksPodProperties ::+ EksPodProperties+newEksPodProperties =+ EksPodProperties'+ { containers = Prelude.Nothing,+ dnsPolicy = Prelude.Nothing,+ hostNetwork = Prelude.Nothing,+ serviceAccountName = Prelude.Nothing,+ volumes = Prelude.Nothing+ }++-- | The properties of the container that\'s used on the Amazon EKS pod.+eksPodProperties_containers :: Lens.Lens' EksPodProperties (Prelude.Maybe [EksContainer])+eksPodProperties_containers = Lens.lens (\EksPodProperties' {containers} -> containers) (\s@EksPodProperties' {} a -> s {containers = a} :: EksPodProperties) Prelude.. Lens.mapping Lens.coerced++-- | 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+-- <https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy Pod\'s DNS policy>+-- in the /Kubernetes documentation/.+--+-- Valid values: @Default@ | @ClusterFirst@ | @ClusterFirstWithHostNet@+eksPodProperties_dnsPolicy :: Lens.Lens' EksPodProperties (Prelude.Maybe Prelude.Text)+eksPodProperties_dnsPolicy = Lens.lens (\EksPodProperties' {dnsPolicy} -> dnsPolicy) (\s@EksPodProperties' {} a -> s {dnsPolicy = a} :: EksPodProperties)++-- | 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+-- <https://kubernetes.io/docs/concepts/security/pod-security-policy/#host-namespaces Host namespaces>+-- and+-- <https://kubernetes.io/docs/concepts/workloads/pods/#pod-networking Pod networking>+-- in the /Kubernetes documentation/.+eksPodProperties_hostNetwork :: Lens.Lens' EksPodProperties (Prelude.Maybe Prelude.Bool)+eksPodProperties_hostNetwork = Lens.lens (\EksPodProperties' {hostNetwork} -> hostNetwork) (\s@EksPodProperties' {} a -> s {hostNetwork = a} :: EksPodProperties)++-- | The name of the service account that\'s used to run the pod. For more+-- information, see+-- <https://docs.aws.amazon.com/eks/latest/userguide/service-accounts.html Kubernetes service accounts>+-- and+-- <https://docs.aws.amazon.com/eks/latest/userguide/associate-service-account-role.html Configure a Kubernetes service account to assume an IAM role>+-- in the /Amazon EKS User Guide/ and+-- <https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ Configure service accounts for pods>+-- in the /Kubernetes documentation/.+eksPodProperties_serviceAccountName :: Lens.Lens' EksPodProperties (Prelude.Maybe Prelude.Text)+eksPodProperties_serviceAccountName = Lens.lens (\EksPodProperties' {serviceAccountName} -> serviceAccountName) (\s@EksPodProperties' {} a -> s {serviceAccountName = a} :: EksPodProperties)++-- | Specifies the volumes for a job definition that uses Amazon EKS+-- resources.+eksPodProperties_volumes :: Lens.Lens' EksPodProperties (Prelude.Maybe [EksVolume])+eksPodProperties_volumes = Lens.lens (\EksPodProperties' {volumes} -> volumes) (\s@EksPodProperties' {} a -> s {volumes = a} :: EksPodProperties) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON EksPodProperties where+ parseJSON =+ Data.withObject+ "EksPodProperties"+ ( \x ->+ EksPodProperties'+ Prelude.<$> (x Data..:? "containers" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "dnsPolicy")+ Prelude.<*> (x Data..:? "hostNetwork")+ Prelude.<*> (x Data..:? "serviceAccountName")+ Prelude.<*> (x Data..:? "volumes" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable EksPodProperties where+ hashWithSalt _salt EksPodProperties' {..} =+ _salt+ `Prelude.hashWithSalt` containers+ `Prelude.hashWithSalt` dnsPolicy+ `Prelude.hashWithSalt` hostNetwork+ `Prelude.hashWithSalt` serviceAccountName+ `Prelude.hashWithSalt` volumes++instance Prelude.NFData EksPodProperties where+ rnf EksPodProperties' {..} =+ Prelude.rnf containers+ `Prelude.seq` Prelude.rnf dnsPolicy+ `Prelude.seq` Prelude.rnf hostNetwork+ `Prelude.seq` Prelude.rnf serviceAccountName+ `Prelude.seq` Prelude.rnf volumes++instance Data.ToJSON EksPodProperties where+ toJSON EksPodProperties' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("containers" Data..=) Prelude.<$> containers,+ ("dnsPolicy" Data..=) Prelude.<$> dnsPolicy,+ ("hostNetwork" Data..=) Prelude.<$> hostNetwork,+ ("serviceAccountName" Data..=)+ Prelude.<$> serviceAccountName,+ ("volumes" Data..=) Prelude.<$> volumes+ ]+ )
+ gen/Amazonka/Batch/Types/EksPodPropertiesDetail.hs view
@@ -0,0 +1,246 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EksPodPropertiesDetail+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EksPodPropertiesDetail where++import Amazonka.Batch.Types.EksContainerDetail+import Amazonka.Batch.Types.EksVolume+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The details for the pod.+--+-- /See:/ 'newEksPodPropertiesDetail' smart constructor.+data EksPodPropertiesDetail = EksPodPropertiesDetail'+ { -- | The properties of the container that\'s used on the Amazon EKS pod.+ containers :: Prelude.Maybe [EksContainerDetail],+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html RegisterJobDefinition>+ -- API operation, then no value will be returned for @dnsPolicy@ by either+ -- of+ -- <https://docs.aws.amazon.com/batch/latest/APIReference/API_DescribeJobDefinitions.html DescribeJobDefinitions>+ -- or+ -- <https://docs.aws.amazon.com/batch/latest/APIReference/API_DescribeJobs.html DescribeJobs>+ -- API operations. The pod spec setting will contain either @ClusterFirst@+ -- or @ClusterFirstWithHostNet@, depending on the value of the+ -- @hostNetwork@ parameter. For more information, see+ -- <https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy Pod\'s DNS policy>+ -- in the /Kubernetes documentation/.+ --+ -- Valid values: @Default@ | @ClusterFirst@ | @ClusterFirstWithHostNet@+ dnsPolicy :: Prelude.Maybe Prelude.Text,+ -- | 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+ -- <https://kubernetes.io/docs/concepts/security/pod-security-policy/#host-namespaces Host namespaces>+ -- and+ -- <https://kubernetes.io/docs/concepts/workloads/pods/#pod-networking Pod networking>+ -- in the /Kubernetes documentation/.+ hostNetwork :: Prelude.Maybe Prelude.Bool,+ -- | The name of the node for this job.+ nodeName :: Prelude.Maybe Prelude.Text,+ -- | The name of the pod for this job.+ podName :: Prelude.Maybe Prelude.Text,+ -- | The name of the service account that\'s used to run the pod. For more+ -- information, see+ -- <https://docs.aws.amazon.com/eks/latest/userguide/service-accounts.html Kubernetes service accounts>+ -- and+ -- <https://docs.aws.amazon.com/eks/latest/userguide/associate-service-account-role.html Configure a Kubernetes service account to assume an IAM role>+ -- in the /Amazon EKS User Guide/ and+ -- <https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ Configure service accounts for pods>+ -- in the /Kubernetes documentation/.+ serviceAccountName :: Prelude.Maybe Prelude.Text,+ -- | Specifies the volumes for a job definition using Amazon EKS resources.+ volumes :: Prelude.Maybe [EksVolume]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EksPodPropertiesDetail' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'containers', 'eksPodPropertiesDetail_containers' - The properties of the container that\'s used on the Amazon EKS pod.+--+-- 'dnsPolicy', 'eksPodPropertiesDetail_dnsPolicy' - 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+-- <https://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html RegisterJobDefinition>+-- API operation, then no value will be returned for @dnsPolicy@ by either+-- of+-- <https://docs.aws.amazon.com/batch/latest/APIReference/API_DescribeJobDefinitions.html DescribeJobDefinitions>+-- or+-- <https://docs.aws.amazon.com/batch/latest/APIReference/API_DescribeJobs.html DescribeJobs>+-- API operations. The pod spec setting will contain either @ClusterFirst@+-- or @ClusterFirstWithHostNet@, depending on the value of the+-- @hostNetwork@ parameter. For more information, see+-- <https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy Pod\'s DNS policy>+-- in the /Kubernetes documentation/.+--+-- Valid values: @Default@ | @ClusterFirst@ | @ClusterFirstWithHostNet@+--+-- 'hostNetwork', 'eksPodPropertiesDetail_hostNetwork' - 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+-- <https://kubernetes.io/docs/concepts/security/pod-security-policy/#host-namespaces Host namespaces>+-- and+-- <https://kubernetes.io/docs/concepts/workloads/pods/#pod-networking Pod networking>+-- in the /Kubernetes documentation/.+--+-- 'nodeName', 'eksPodPropertiesDetail_nodeName' - The name of the node for this job.+--+-- 'podName', 'eksPodPropertiesDetail_podName' - The name of the pod for this job.+--+-- 'serviceAccountName', 'eksPodPropertiesDetail_serviceAccountName' - The name of the service account that\'s used to run the pod. For more+-- information, see+-- <https://docs.aws.amazon.com/eks/latest/userguide/service-accounts.html Kubernetes service accounts>+-- and+-- <https://docs.aws.amazon.com/eks/latest/userguide/associate-service-account-role.html Configure a Kubernetes service account to assume an IAM role>+-- in the /Amazon EKS User Guide/ and+-- <https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ Configure service accounts for pods>+-- in the /Kubernetes documentation/.+--+-- 'volumes', 'eksPodPropertiesDetail_volumes' - Specifies the volumes for a job definition using Amazon EKS resources.+newEksPodPropertiesDetail ::+ EksPodPropertiesDetail+newEksPodPropertiesDetail =+ EksPodPropertiesDetail'+ { containers =+ Prelude.Nothing,+ dnsPolicy = Prelude.Nothing,+ hostNetwork = Prelude.Nothing,+ nodeName = Prelude.Nothing,+ podName = Prelude.Nothing,+ serviceAccountName = Prelude.Nothing,+ volumes = Prelude.Nothing+ }++-- | The properties of the container that\'s used on the Amazon EKS pod.+eksPodPropertiesDetail_containers :: Lens.Lens' EksPodPropertiesDetail (Prelude.Maybe [EksContainerDetail])+eksPodPropertiesDetail_containers = Lens.lens (\EksPodPropertiesDetail' {containers} -> containers) (\s@EksPodPropertiesDetail' {} a -> s {containers = a} :: EksPodPropertiesDetail) Prelude.. Lens.mapping Lens.coerced++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html RegisterJobDefinition>+-- API operation, then no value will be returned for @dnsPolicy@ by either+-- of+-- <https://docs.aws.amazon.com/batch/latest/APIReference/API_DescribeJobDefinitions.html DescribeJobDefinitions>+-- or+-- <https://docs.aws.amazon.com/batch/latest/APIReference/API_DescribeJobs.html DescribeJobs>+-- API operations. The pod spec setting will contain either @ClusterFirst@+-- or @ClusterFirstWithHostNet@, depending on the value of the+-- @hostNetwork@ parameter. For more information, see+-- <https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy Pod\'s DNS policy>+-- in the /Kubernetes documentation/.+--+-- Valid values: @Default@ | @ClusterFirst@ | @ClusterFirstWithHostNet@+eksPodPropertiesDetail_dnsPolicy :: Lens.Lens' EksPodPropertiesDetail (Prelude.Maybe Prelude.Text)+eksPodPropertiesDetail_dnsPolicy = Lens.lens (\EksPodPropertiesDetail' {dnsPolicy} -> dnsPolicy) (\s@EksPodPropertiesDetail' {} a -> s {dnsPolicy = a} :: EksPodPropertiesDetail)++-- | 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+-- <https://kubernetes.io/docs/concepts/security/pod-security-policy/#host-namespaces Host namespaces>+-- and+-- <https://kubernetes.io/docs/concepts/workloads/pods/#pod-networking Pod networking>+-- in the /Kubernetes documentation/.+eksPodPropertiesDetail_hostNetwork :: Lens.Lens' EksPodPropertiesDetail (Prelude.Maybe Prelude.Bool)+eksPodPropertiesDetail_hostNetwork = Lens.lens (\EksPodPropertiesDetail' {hostNetwork} -> hostNetwork) (\s@EksPodPropertiesDetail' {} a -> s {hostNetwork = a} :: EksPodPropertiesDetail)++-- | The name of the node for this job.+eksPodPropertiesDetail_nodeName :: Lens.Lens' EksPodPropertiesDetail (Prelude.Maybe Prelude.Text)+eksPodPropertiesDetail_nodeName = Lens.lens (\EksPodPropertiesDetail' {nodeName} -> nodeName) (\s@EksPodPropertiesDetail' {} a -> s {nodeName = a} :: EksPodPropertiesDetail)++-- | The name of the pod for this job.+eksPodPropertiesDetail_podName :: Lens.Lens' EksPodPropertiesDetail (Prelude.Maybe Prelude.Text)+eksPodPropertiesDetail_podName = Lens.lens (\EksPodPropertiesDetail' {podName} -> podName) (\s@EksPodPropertiesDetail' {} a -> s {podName = a} :: EksPodPropertiesDetail)++-- | The name of the service account that\'s used to run the pod. For more+-- information, see+-- <https://docs.aws.amazon.com/eks/latest/userguide/service-accounts.html Kubernetes service accounts>+-- and+-- <https://docs.aws.amazon.com/eks/latest/userguide/associate-service-account-role.html Configure a Kubernetes service account to assume an IAM role>+-- in the /Amazon EKS User Guide/ and+-- <https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ Configure service accounts for pods>+-- in the /Kubernetes documentation/.+eksPodPropertiesDetail_serviceAccountName :: Lens.Lens' EksPodPropertiesDetail (Prelude.Maybe Prelude.Text)+eksPodPropertiesDetail_serviceAccountName = Lens.lens (\EksPodPropertiesDetail' {serviceAccountName} -> serviceAccountName) (\s@EksPodPropertiesDetail' {} a -> s {serviceAccountName = a} :: EksPodPropertiesDetail)++-- | Specifies the volumes for a job definition using Amazon EKS resources.+eksPodPropertiesDetail_volumes :: Lens.Lens' EksPodPropertiesDetail (Prelude.Maybe [EksVolume])+eksPodPropertiesDetail_volumes = Lens.lens (\EksPodPropertiesDetail' {volumes} -> volumes) (\s@EksPodPropertiesDetail' {} a -> s {volumes = a} :: EksPodPropertiesDetail) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON EksPodPropertiesDetail where+ parseJSON =+ Data.withObject+ "EksPodPropertiesDetail"+ ( \x ->+ EksPodPropertiesDetail'+ Prelude.<$> (x Data..:? "containers" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "dnsPolicy")+ Prelude.<*> (x Data..:? "hostNetwork")+ Prelude.<*> (x Data..:? "nodeName")+ Prelude.<*> (x Data..:? "podName")+ Prelude.<*> (x Data..:? "serviceAccountName")+ Prelude.<*> (x Data..:? "volumes" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable EksPodPropertiesDetail where+ hashWithSalt _salt EksPodPropertiesDetail' {..} =+ _salt+ `Prelude.hashWithSalt` containers+ `Prelude.hashWithSalt` dnsPolicy+ `Prelude.hashWithSalt` hostNetwork+ `Prelude.hashWithSalt` nodeName+ `Prelude.hashWithSalt` podName+ `Prelude.hashWithSalt` serviceAccountName+ `Prelude.hashWithSalt` volumes++instance Prelude.NFData EksPodPropertiesDetail where+ rnf EksPodPropertiesDetail' {..} =+ Prelude.rnf containers+ `Prelude.seq` Prelude.rnf dnsPolicy+ `Prelude.seq` Prelude.rnf hostNetwork+ `Prelude.seq` Prelude.rnf nodeName+ `Prelude.seq` Prelude.rnf podName+ `Prelude.seq` Prelude.rnf serviceAccountName+ `Prelude.seq` Prelude.rnf volumes
+ gen/Amazonka/Batch/Types/EksPodPropertiesOverride.hs view
@@ -0,0 +1,72 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EksPodPropertiesOverride+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EksPodPropertiesOverride where++import Amazonka.Batch.Types.EksContainerOverride+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that contains overrides for the Kubernetes pod properties of a+-- job.+--+-- /See:/ 'newEksPodPropertiesOverride' smart constructor.+data EksPodPropertiesOverride = EksPodPropertiesOverride'+ { -- | The overrides for the container that\'s used on the Amazon EKS pod.+ containers :: Prelude.Maybe [EksContainerOverride]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EksPodPropertiesOverride' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'containers', 'eksPodPropertiesOverride_containers' - The overrides for the container that\'s used on the Amazon EKS pod.+newEksPodPropertiesOverride ::+ EksPodPropertiesOverride+newEksPodPropertiesOverride =+ EksPodPropertiesOverride'+ { containers =+ Prelude.Nothing+ }++-- | The overrides for the container that\'s used on the Amazon EKS pod.+eksPodPropertiesOverride_containers :: Lens.Lens' EksPodPropertiesOverride (Prelude.Maybe [EksContainerOverride])+eksPodPropertiesOverride_containers = Lens.lens (\EksPodPropertiesOverride' {containers} -> containers) (\s@EksPodPropertiesOverride' {} a -> s {containers = a} :: EksPodPropertiesOverride) Prelude.. Lens.mapping Lens.coerced++instance Prelude.Hashable EksPodPropertiesOverride where+ hashWithSalt _salt EksPodPropertiesOverride' {..} =+ _salt `Prelude.hashWithSalt` containers++instance Prelude.NFData EksPodPropertiesOverride where+ rnf EksPodPropertiesOverride' {..} =+ Prelude.rnf containers++instance Data.ToJSON EksPodPropertiesOverride where+ toJSON EksPodPropertiesOverride' {..} =+ Data.object+ ( Prelude.catMaybes+ [("containers" Data..=) Prelude.<$> containers]+ )
+ gen/Amazonka/Batch/Types/EksProperties.hs view
@@ -0,0 +1,79 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EksProperties+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EksProperties where++import Amazonka.Batch.Types.EksPodProperties+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that contains the properties for the Kubernetes resources of a+-- job.+--+-- /See:/ 'newEksProperties' smart constructor.+data EksProperties = EksProperties'+ { -- | The properties for the Kubernetes pod resources of a job.+ podProperties :: Prelude.Maybe EksPodProperties+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EksProperties' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'podProperties', 'eksProperties_podProperties' - The properties for the Kubernetes pod resources of a job.+newEksProperties ::+ EksProperties+newEksProperties =+ EksProperties' {podProperties = Prelude.Nothing}++-- | The properties for the Kubernetes pod resources of a job.+eksProperties_podProperties :: Lens.Lens' EksProperties (Prelude.Maybe EksPodProperties)+eksProperties_podProperties = Lens.lens (\EksProperties' {podProperties} -> podProperties) (\s@EksProperties' {} a -> s {podProperties = a} :: EksProperties)++instance Data.FromJSON EksProperties where+ parseJSON =+ Data.withObject+ "EksProperties"+ ( \x ->+ EksProperties'+ Prelude.<$> (x Data..:? "podProperties")+ )++instance Prelude.Hashable EksProperties where+ hashWithSalt _salt EksProperties' {..} =+ _salt `Prelude.hashWithSalt` podProperties++instance Prelude.NFData EksProperties where+ rnf EksProperties' {..} = Prelude.rnf podProperties++instance Data.ToJSON EksProperties where+ toJSON EksProperties' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("podProperties" Data..=)+ Prelude.<$> podProperties+ ]+ )
+ gen/Amazonka/Batch/Types/EksPropertiesDetail.hs view
@@ -0,0 +1,74 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EksPropertiesDetail+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EksPropertiesDetail where++import Amazonka.Batch.Types.EksPodPropertiesDetail+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that contains the details for the Kubernetes resources of a+-- job.+--+-- /See:/ 'newEksPropertiesDetail' smart constructor.+data EksPropertiesDetail = EksPropertiesDetail'+ { -- | The properties for the Kubernetes pod resources of a job.+ podProperties :: Prelude.Maybe EksPodPropertiesDetail+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EksPropertiesDetail' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'podProperties', 'eksPropertiesDetail_podProperties' - The properties for the Kubernetes pod resources of a job.+newEksPropertiesDetail ::+ EksPropertiesDetail+newEksPropertiesDetail =+ EksPropertiesDetail'+ { podProperties =+ Prelude.Nothing+ }++-- | The properties for the Kubernetes pod resources of a job.+eksPropertiesDetail_podProperties :: Lens.Lens' EksPropertiesDetail (Prelude.Maybe EksPodPropertiesDetail)+eksPropertiesDetail_podProperties = Lens.lens (\EksPropertiesDetail' {podProperties} -> podProperties) (\s@EksPropertiesDetail' {} a -> s {podProperties = a} :: EksPropertiesDetail)++instance Data.FromJSON EksPropertiesDetail where+ parseJSON =+ Data.withObject+ "EksPropertiesDetail"+ ( \x ->+ EksPropertiesDetail'+ Prelude.<$> (x Data..:? "podProperties")+ )++instance Prelude.Hashable EksPropertiesDetail where+ hashWithSalt _salt EksPropertiesDetail' {..} =+ _salt `Prelude.hashWithSalt` podProperties++instance Prelude.NFData EksPropertiesDetail where+ rnf EksPropertiesDetail' {..} =+ Prelude.rnf podProperties
+ gen/Amazonka/Batch/Types/EksPropertiesOverride.hs view
@@ -0,0 +1,73 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EksPropertiesOverride+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EksPropertiesOverride where++import Amazonka.Batch.Types.EksPodPropertiesOverride+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that contains overrides for the Kubernetes resources of a job.+--+-- /See:/ 'newEksPropertiesOverride' smart constructor.+data EksPropertiesOverride = EksPropertiesOverride'+ { -- | The overrides for the Kubernetes pod resources of a job.+ podProperties :: Prelude.Maybe EksPodPropertiesOverride+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EksPropertiesOverride' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'podProperties', 'eksPropertiesOverride_podProperties' - The overrides for the Kubernetes pod resources of a job.+newEksPropertiesOverride ::+ EksPropertiesOverride+newEksPropertiesOverride =+ EksPropertiesOverride'+ { podProperties =+ Prelude.Nothing+ }++-- | The overrides for the Kubernetes pod resources of a job.+eksPropertiesOverride_podProperties :: Lens.Lens' EksPropertiesOverride (Prelude.Maybe EksPodPropertiesOverride)+eksPropertiesOverride_podProperties = Lens.lens (\EksPropertiesOverride' {podProperties} -> podProperties) (\s@EksPropertiesOverride' {} a -> s {podProperties = a} :: EksPropertiesOverride)++instance Prelude.Hashable EksPropertiesOverride where+ hashWithSalt _salt EksPropertiesOverride' {..} =+ _salt `Prelude.hashWithSalt` podProperties++instance Prelude.NFData EksPropertiesOverride where+ rnf EksPropertiesOverride' {..} =+ Prelude.rnf podProperties++instance Data.ToJSON EksPropertiesOverride where+ toJSON EksPropertiesOverride' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("podProperties" Data..=)+ Prelude.<$> podProperties+ ]+ )
+ gen/Amazonka/Batch/Types/EksSecret.hs view
@@ -0,0 +1,107 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EksSecret+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EksSecret where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Specifies the configuration of a Kubernetes @secret@ volume. For more+-- information, see+-- <https://kubernetes.io/docs/concepts/storage/volumes/#secret secret> in+-- the /Kubernetes documentation/.+--+-- /See:/ 'newEksSecret' smart constructor.+data EksSecret = EksSecret'+ { -- | Specifies whether the secret or the secret\'s keys must be defined.+ optional :: Prelude.Maybe Prelude.Bool,+ -- | The name of the secret. The name must be allowed as a DNS subdomain+ -- name. For more information, see+ -- <https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names DNS subdomain names>+ -- in the /Kubernetes documentation/.+ secretName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EksSecret' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'optional', 'eksSecret_optional' - Specifies whether the secret or the secret\'s keys must be defined.+--+-- 'secretName', 'eksSecret_secretName' - The name of the secret. The name must be allowed as a DNS subdomain+-- name. For more information, see+-- <https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names DNS subdomain names>+-- in the /Kubernetes documentation/.+newEksSecret ::+ -- | 'secretName'+ Prelude.Text ->+ EksSecret+newEksSecret pSecretName_ =+ EksSecret'+ { optional = Prelude.Nothing,+ secretName = pSecretName_+ }++-- | Specifies whether the secret or the secret\'s keys must be defined.+eksSecret_optional :: Lens.Lens' EksSecret (Prelude.Maybe Prelude.Bool)+eksSecret_optional = Lens.lens (\EksSecret' {optional} -> optional) (\s@EksSecret' {} a -> s {optional = a} :: EksSecret)++-- | The name of the secret. The name must be allowed as a DNS subdomain+-- name. For more information, see+-- <https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names DNS subdomain names>+-- in the /Kubernetes documentation/.+eksSecret_secretName :: Lens.Lens' EksSecret Prelude.Text+eksSecret_secretName = Lens.lens (\EksSecret' {secretName} -> secretName) (\s@EksSecret' {} a -> s {secretName = a} :: EksSecret)++instance Data.FromJSON EksSecret where+ parseJSON =+ Data.withObject+ "EksSecret"+ ( \x ->+ EksSecret'+ Prelude.<$> (x Data..:? "optional")+ Prelude.<*> (x Data..: "secretName")+ )++instance Prelude.Hashable EksSecret where+ hashWithSalt _salt EksSecret' {..} =+ _salt+ `Prelude.hashWithSalt` optional+ `Prelude.hashWithSalt` secretName++instance Prelude.NFData EksSecret where+ rnf EksSecret' {..} =+ Prelude.rnf optional+ `Prelude.seq` Prelude.rnf secretName++instance Data.ToJSON EksSecret where+ toJSON EksSecret' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("optional" Data..=) Prelude.<$> optional,+ Prelude.Just ("secretName" Data..= secretName)+ ]+ )
+ gen/Amazonka/Batch/Types/EksVolume.hs view
@@ -0,0 +1,160 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EksVolume+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EksVolume where++import Amazonka.Batch.Types.EksEmptyDir+import Amazonka.Batch.Types.EksHostPath+import Amazonka.Batch.Types.EksSecret+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Specifies an Amazon EKS volume for a job definition.+--+-- /See:/ 'newEksVolume' smart constructor.+data EksVolume = EksVolume'+ { -- | Specifies the configuration of a Kubernetes @emptyDir@ volume. For more+ -- information, see+ -- <https://kubernetes.io/docs/concepts/storage/volumes/#emptydir emptyDir>+ -- in the /Kubernetes documentation/.+ emptyDir :: Prelude.Maybe EksEmptyDir,+ -- | Specifies the configuration of a Kubernetes @hostPath@ volume. For more+ -- information, see+ -- <https://kubernetes.io/docs/concepts/storage/volumes/#hostpath hostPath>+ -- in the /Kubernetes documentation/.+ hostPath :: Prelude.Maybe EksHostPath,+ -- | Specifies the configuration of a Kubernetes @secret@ volume. For more+ -- information, see+ -- <https://kubernetes.io/docs/concepts/storage/volumes/#secret secret> in+ -- the /Kubernetes documentation/.+ secret :: Prelude.Maybe EksSecret,+ -- | The name of the volume. The name must be allowed as a DNS subdomain+ -- name. For more information, see+ -- <https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names DNS subdomain names>+ -- in the /Kubernetes documentation/.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EksVolume' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'emptyDir', 'eksVolume_emptyDir' - Specifies the configuration of a Kubernetes @emptyDir@ volume. For more+-- information, see+-- <https://kubernetes.io/docs/concepts/storage/volumes/#emptydir emptyDir>+-- in the /Kubernetes documentation/.+--+-- 'hostPath', 'eksVolume_hostPath' - Specifies the configuration of a Kubernetes @hostPath@ volume. For more+-- information, see+-- <https://kubernetes.io/docs/concepts/storage/volumes/#hostpath hostPath>+-- in the /Kubernetes documentation/.+--+-- 'secret', 'eksVolume_secret' - Specifies the configuration of a Kubernetes @secret@ volume. For more+-- information, see+-- <https://kubernetes.io/docs/concepts/storage/volumes/#secret secret> in+-- the /Kubernetes documentation/.+--+-- 'name', 'eksVolume_name' - The name of the volume. The name must be allowed as a DNS subdomain+-- name. For more information, see+-- <https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names DNS subdomain names>+-- in the /Kubernetes documentation/.+newEksVolume ::+ -- | 'name'+ Prelude.Text ->+ EksVolume+newEksVolume pName_ =+ EksVolume'+ { emptyDir = Prelude.Nothing,+ hostPath = Prelude.Nothing,+ secret = Prelude.Nothing,+ name = pName_+ }++-- | Specifies the configuration of a Kubernetes @emptyDir@ volume. For more+-- information, see+-- <https://kubernetes.io/docs/concepts/storage/volumes/#emptydir emptyDir>+-- in the /Kubernetes documentation/.+eksVolume_emptyDir :: Lens.Lens' EksVolume (Prelude.Maybe EksEmptyDir)+eksVolume_emptyDir = Lens.lens (\EksVolume' {emptyDir} -> emptyDir) (\s@EksVolume' {} a -> s {emptyDir = a} :: EksVolume)++-- | Specifies the configuration of a Kubernetes @hostPath@ volume. For more+-- information, see+-- <https://kubernetes.io/docs/concepts/storage/volumes/#hostpath hostPath>+-- in the /Kubernetes documentation/.+eksVolume_hostPath :: Lens.Lens' EksVolume (Prelude.Maybe EksHostPath)+eksVolume_hostPath = Lens.lens (\EksVolume' {hostPath} -> hostPath) (\s@EksVolume' {} a -> s {hostPath = a} :: EksVolume)++-- | Specifies the configuration of a Kubernetes @secret@ volume. For more+-- information, see+-- <https://kubernetes.io/docs/concepts/storage/volumes/#secret secret> in+-- the /Kubernetes documentation/.+eksVolume_secret :: Lens.Lens' EksVolume (Prelude.Maybe EksSecret)+eksVolume_secret = Lens.lens (\EksVolume' {secret} -> secret) (\s@EksVolume' {} a -> s {secret = a} :: EksVolume)++-- | The name of the volume. The name must be allowed as a DNS subdomain+-- name. For more information, see+-- <https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names DNS subdomain names>+-- in the /Kubernetes documentation/.+eksVolume_name :: Lens.Lens' EksVolume Prelude.Text+eksVolume_name = Lens.lens (\EksVolume' {name} -> name) (\s@EksVolume' {} a -> s {name = a} :: EksVolume)++instance Data.FromJSON EksVolume where+ parseJSON =+ Data.withObject+ "EksVolume"+ ( \x ->+ EksVolume'+ Prelude.<$> (x Data..:? "emptyDir")+ Prelude.<*> (x Data..:? "hostPath")+ Prelude.<*> (x Data..:? "secret")+ Prelude.<*> (x Data..: "name")+ )++instance Prelude.Hashable EksVolume where+ hashWithSalt _salt EksVolume' {..} =+ _salt+ `Prelude.hashWithSalt` emptyDir+ `Prelude.hashWithSalt` hostPath+ `Prelude.hashWithSalt` secret+ `Prelude.hashWithSalt` name++instance Prelude.NFData EksVolume where+ rnf EksVolume' {..} =+ Prelude.rnf emptyDir+ `Prelude.seq` Prelude.rnf hostPath+ `Prelude.seq` Prelude.rnf secret+ `Prelude.seq` Prelude.rnf name++instance Data.ToJSON EksVolume where+ toJSON EksVolume' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("emptyDir" Data..=) Prelude.<$> emptyDir,+ ("hostPath" Data..=) Prelude.<$> hostPath,+ ("secret" Data..=) Prelude.<$> secret,+ Prelude.Just ("name" Data..= name)+ ]+ )
+ gen/Amazonka/Batch/Types/EvaluateOnExit.hs view
@@ -0,0 +1,174 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.EvaluateOnExit+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.EvaluateOnExit where++import Amazonka.Batch.Types.RetryAction+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | 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.+--+-- /See:/ 'newEvaluateOnExit' smart constructor.+data EvaluateOnExit = EvaluateOnExit'+ { -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | Specifies the action to take if all of the specified conditions+ -- (@onStatusReason@, @onReason@, and @onExitCode@) are met. The values+ -- aren\'t case sensitive.+ action :: RetryAction+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EvaluateOnExit' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'onExitCode', 'evaluateOnExit_onExitCode' - 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.+--+-- 'onReason', 'evaluateOnExit_onReason' - 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.+--+-- 'onStatusReason', 'evaluateOnExit_onStatusReason' - 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.+--+-- 'action', 'evaluateOnExit_action' - Specifies the action to take if all of the specified conditions+-- (@onStatusReason@, @onReason@, and @onExitCode@) are met. The values+-- aren\'t case sensitive.+newEvaluateOnExit ::+ -- | 'action'+ RetryAction ->+ EvaluateOnExit+newEvaluateOnExit pAction_ =+ EvaluateOnExit'+ { onExitCode = Prelude.Nothing,+ onReason = Prelude.Nothing,+ onStatusReason = Prelude.Nothing,+ action = pAction_+ }++-- | 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.+evaluateOnExit_onExitCode :: Lens.Lens' EvaluateOnExit (Prelude.Maybe Prelude.Text)+evaluateOnExit_onExitCode = Lens.lens (\EvaluateOnExit' {onExitCode} -> onExitCode) (\s@EvaluateOnExit' {} a -> s {onExitCode = a} :: EvaluateOnExit)++-- | 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.+evaluateOnExit_onReason :: Lens.Lens' EvaluateOnExit (Prelude.Maybe Prelude.Text)+evaluateOnExit_onReason = Lens.lens (\EvaluateOnExit' {onReason} -> onReason) (\s@EvaluateOnExit' {} a -> s {onReason = a} :: EvaluateOnExit)++-- | 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.+evaluateOnExit_onStatusReason :: Lens.Lens' EvaluateOnExit (Prelude.Maybe Prelude.Text)+evaluateOnExit_onStatusReason = Lens.lens (\EvaluateOnExit' {onStatusReason} -> onStatusReason) (\s@EvaluateOnExit' {} a -> s {onStatusReason = a} :: EvaluateOnExit)++-- | Specifies the action to take if all of the specified conditions+-- (@onStatusReason@, @onReason@, and @onExitCode@) are met. The values+-- aren\'t case sensitive.+evaluateOnExit_action :: Lens.Lens' EvaluateOnExit RetryAction+evaluateOnExit_action = Lens.lens (\EvaluateOnExit' {action} -> action) (\s@EvaluateOnExit' {} a -> s {action = a} :: EvaluateOnExit)++instance Data.FromJSON EvaluateOnExit where+ parseJSON =+ Data.withObject+ "EvaluateOnExit"+ ( \x ->+ EvaluateOnExit'+ Prelude.<$> (x Data..:? "onExitCode")+ Prelude.<*> (x Data..:? "onReason")+ Prelude.<*> (x Data..:? "onStatusReason")+ Prelude.<*> (x Data..: "action")+ )++instance Prelude.Hashable EvaluateOnExit where+ hashWithSalt _salt EvaluateOnExit' {..} =+ _salt+ `Prelude.hashWithSalt` onExitCode+ `Prelude.hashWithSalt` onReason+ `Prelude.hashWithSalt` onStatusReason+ `Prelude.hashWithSalt` action++instance Prelude.NFData EvaluateOnExit where+ rnf EvaluateOnExit' {..} =+ Prelude.rnf onExitCode+ `Prelude.seq` Prelude.rnf onReason+ `Prelude.seq` Prelude.rnf onStatusReason+ `Prelude.seq` Prelude.rnf action++instance Data.ToJSON EvaluateOnExit where+ toJSON EvaluateOnExit' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("onExitCode" Data..=) Prelude.<$> onExitCode,+ ("onReason" Data..=) Prelude.<$> onReason,+ ("onStatusReason" Data..=)+ Prelude.<$> onStatusReason,+ Prelude.Just ("action" Data..= action)+ ]+ )
@@ -0,0 +1,183 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.FairsharePolicy+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.FairsharePolicy where++import Amazonka.Batch.Types.ShareAttributes+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The fair share policy for a scheduling policy.+--+-- /See:/ 'newFairsharePolicy' smart constructor.+data FairsharePolicy = FairsharePolicy'+ { -- | A value used to reserve some of the available maximum vCPU for fair+ -- share 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 :: Prelude.Maybe Prelude.Int,+ -- | The amount of time (in seconds) to use to calculate a fair share+ -- percentage 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 :: Prelude.Maybe Prelude.Int,+ -- | An array of @SharedIdentifier@ objects that contain 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@.+ shareDistribution :: Prelude.Maybe [ShareAttributes]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'FairsharePolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'computeReservation', 'fairsharePolicy_computeReservation' - A value used to reserve some of the available maximum vCPU for fair+-- share 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.+--+-- 'shareDecaySeconds', 'fairsharePolicy_shareDecaySeconds' - The amount of time (in seconds) to use to calculate a fair share+-- percentage 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).+--+-- 'shareDistribution', 'fairsharePolicy_shareDistribution' - An array of @SharedIdentifier@ objects that contain 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@.+newFairsharePolicy ::+ FairsharePolicy+newFairsharePolicy =+ FairsharePolicy'+ { computeReservation =+ Prelude.Nothing,+ shareDecaySeconds = Prelude.Nothing,+ shareDistribution = Prelude.Nothing+ }++-- | A value used to reserve some of the available maximum vCPU for fair+-- share 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.+fairsharePolicy_computeReservation :: Lens.Lens' FairsharePolicy (Prelude.Maybe Prelude.Int)+fairsharePolicy_computeReservation = Lens.lens (\FairsharePolicy' {computeReservation} -> computeReservation) (\s@FairsharePolicy' {} a -> s {computeReservation = a} :: FairsharePolicy)++-- | The amount of time (in seconds) to use to calculate a fair share+-- percentage 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).+fairsharePolicy_shareDecaySeconds :: Lens.Lens' FairsharePolicy (Prelude.Maybe Prelude.Int)+fairsharePolicy_shareDecaySeconds = Lens.lens (\FairsharePolicy' {shareDecaySeconds} -> shareDecaySeconds) (\s@FairsharePolicy' {} a -> s {shareDecaySeconds = a} :: FairsharePolicy)++-- | An array of @SharedIdentifier@ objects that contain 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@.+fairsharePolicy_shareDistribution :: Lens.Lens' FairsharePolicy (Prelude.Maybe [ShareAttributes])+fairsharePolicy_shareDistribution = Lens.lens (\FairsharePolicy' {shareDistribution} -> shareDistribution) (\s@FairsharePolicy' {} a -> s {shareDistribution = a} :: FairsharePolicy) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON FairsharePolicy where+ parseJSON =+ Data.withObject+ "FairsharePolicy"+ ( \x ->+ FairsharePolicy'+ Prelude.<$> (x Data..:? "computeReservation")+ Prelude.<*> (x Data..:? "shareDecaySeconds")+ Prelude.<*> ( x+ Data..:? "shareDistribution"+ Data..!= Prelude.mempty+ )+ )++instance Prelude.Hashable FairsharePolicy where+ hashWithSalt _salt FairsharePolicy' {..} =+ _salt+ `Prelude.hashWithSalt` computeReservation+ `Prelude.hashWithSalt` shareDecaySeconds+ `Prelude.hashWithSalt` shareDistribution++instance Prelude.NFData FairsharePolicy where+ rnf FairsharePolicy' {..} =+ Prelude.rnf computeReservation+ `Prelude.seq` Prelude.rnf shareDecaySeconds+ `Prelude.seq` Prelude.rnf shareDistribution++instance Data.ToJSON FairsharePolicy where+ toJSON FairsharePolicy' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("computeReservation" Data..=)+ Prelude.<$> computeReservation,+ ("shareDecaySeconds" Data..=)+ Prelude.<$> shareDecaySeconds,+ ("shareDistribution" Data..=)+ Prelude.<$> shareDistribution+ ]+ )
+ gen/Amazonka/Batch/Types/FargatePlatformConfiguration.hs view
@@ -0,0 +1,104 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.FargatePlatformConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.FargatePlatformConfiguration where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The platform configuration for jobs that are running on Fargate+-- resources. Jobs that run on EC2 resources must not specify this+-- parameter.+--+-- /See:/ 'newFargatePlatformConfiguration' smart constructor.+data FargatePlatformConfiguration = FargatePlatformConfiguration'+ { -- | 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+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate platform versions>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ platformVersion :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'FargatePlatformConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'platformVersion', 'fargatePlatformConfiguration_platformVersion' - 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+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate platform versions>+-- in the /Amazon Elastic Container Service Developer Guide/.+newFargatePlatformConfiguration ::+ FargatePlatformConfiguration+newFargatePlatformConfiguration =+ FargatePlatformConfiguration'+ { platformVersion =+ Prelude.Nothing+ }++-- | 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+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate platform versions>+-- in the /Amazon Elastic Container Service Developer Guide/.+fargatePlatformConfiguration_platformVersion :: Lens.Lens' FargatePlatformConfiguration (Prelude.Maybe Prelude.Text)+fargatePlatformConfiguration_platformVersion = Lens.lens (\FargatePlatformConfiguration' {platformVersion} -> platformVersion) (\s@FargatePlatformConfiguration' {} a -> s {platformVersion = a} :: FargatePlatformConfiguration)++instance Data.FromJSON FargatePlatformConfiguration where+ parseJSON =+ Data.withObject+ "FargatePlatformConfiguration"+ ( \x ->+ FargatePlatformConfiguration'+ Prelude.<$> (x Data..:? "platformVersion")+ )++instance+ Prelude.Hashable+ FargatePlatformConfiguration+ where+ hashWithSalt _salt FargatePlatformConfiguration' {..} =+ _salt `Prelude.hashWithSalt` platformVersion++instance Prelude.NFData FargatePlatformConfiguration where+ rnf FargatePlatformConfiguration' {..} =+ Prelude.rnf platformVersion++instance Data.ToJSON FargatePlatformConfiguration where+ toJSON FargatePlatformConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("platformVersion" Data..=)+ Prelude.<$> platformVersion+ ]+ )
+ gen/Amazonka/Batch/Types/Host.hs view
@@ -0,0 +1,105 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.Host+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.Host where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | 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.+--+-- /See:/ 'newHost' smart constructor.+data Host = Host'+ { -- | 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 :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Host' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'sourcePath', 'host_sourcePath' - 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.+newHost ::+ Host+newHost = Host' {sourcePath = Prelude.Nothing}++-- | 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.+host_sourcePath :: Lens.Lens' Host (Prelude.Maybe Prelude.Text)+host_sourcePath = Lens.lens (\Host' {sourcePath} -> sourcePath) (\s@Host' {} a -> s {sourcePath = a} :: Host)++instance Data.FromJSON Host where+ parseJSON =+ Data.withObject+ "Host"+ (\x -> Host' Prelude.<$> (x Data..:? "sourcePath"))++instance Prelude.Hashable Host where+ hashWithSalt _salt Host' {..} =+ _salt `Prelude.hashWithSalt` sourcePath++instance Prelude.NFData Host where+ rnf Host' {..} = Prelude.rnf sourcePath++instance Data.ToJSON Host where+ toJSON Host' {..} =+ Data.object+ ( Prelude.catMaybes+ [("sourcePath" Data..=) Prelude.<$> sourcePath]+ )
+ gen/Amazonka/Batch/Types/JQState.hs view
@@ -0,0 +1,68 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.JQState+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.JQState+ ( JQState+ ( ..,+ JQState_DISABLED,+ JQState_ENABLED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype JQState = JQState' {fromJQState :: Data.Text}+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern JQState_DISABLED :: JQState+pattern JQState_DISABLED = JQState' "DISABLED"++pattern JQState_ENABLED :: JQState+pattern JQState_ENABLED = JQState' "ENABLED"++{-# COMPLETE+ JQState_DISABLED,+ JQState_ENABLED,+ JQState'+ #-}
+ gen/Amazonka/Batch/Types/JQStatus.hs view
@@ -0,0 +1,91 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.JQStatus+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.JQStatus+ ( JQStatus+ ( ..,+ JQStatus_CREATING,+ JQStatus_DELETED,+ JQStatus_DELETING,+ JQStatus_INVALID,+ JQStatus_UPDATING,+ JQStatus_VALID+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype JQStatus = JQStatus'+ { fromJQStatus ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern JQStatus_CREATING :: JQStatus+pattern JQStatus_CREATING = JQStatus' "CREATING"++pattern JQStatus_DELETED :: JQStatus+pattern JQStatus_DELETED = JQStatus' "DELETED"++pattern JQStatus_DELETING :: JQStatus+pattern JQStatus_DELETING = JQStatus' "DELETING"++pattern JQStatus_INVALID :: JQStatus+pattern JQStatus_INVALID = JQStatus' "INVALID"++pattern JQStatus_UPDATING :: JQStatus+pattern JQStatus_UPDATING = JQStatus' "UPDATING"++pattern JQStatus_VALID :: JQStatus+pattern JQStatus_VALID = JQStatus' "VALID"++{-# COMPLETE+ JQStatus_CREATING,+ JQStatus_DELETED,+ JQStatus_DELETING,+ JQStatus_INVALID,+ JQStatus_UPDATING,+ JQStatus_VALID,+ JQStatus'+ #-}
+ gen/Amazonka/Batch/Types/JobDefinition.hs view
@@ -0,0 +1,374 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.JobDefinition+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.JobDefinition where++import Amazonka.Batch.Types.ContainerProperties+import Amazonka.Batch.Types.EksProperties+import Amazonka.Batch.Types.JobTimeout+import Amazonka.Batch.Types.NodeProperties+import Amazonka.Batch.Types.OrchestrationType+import Amazonka.Batch.Types.PlatformCapability+import Amazonka.Batch.Types.RetryStrategy+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that represents an Batch job definition.+--+-- /See:/ 'newJobDefinition' smart constructor.+data JobDefinition = JobDefinition'+ { -- | The orchestration type of the compute environment. The valid values are+ -- @ECS@ (default) or @EKS@.+ containerOrchestrationType :: Prelude.Maybe 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 :: Prelude.Maybe ContainerProperties,+ -- | 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 :: Prelude.Maybe EksProperties,+ -- | 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 :: Prelude.Maybe NodeProperties,+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/job_definition_parameters.html Job definition parameters>+ -- in the /Batch User Guide/.+ parameters :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | 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 :: Prelude.Maybe [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 :: Prelude.Maybe Prelude.Bool,+ -- | The retry strategy to use for failed jobs that are submitted with this+ -- job definition.+ retryStrategy :: Prelude.Maybe RetryStrategy,+ -- | 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 :: Prelude.Maybe Prelude.Int,+ -- | The status of the job definition.+ status :: Prelude.Maybe Prelude.Text,+ -- | The tags that are applied to the job definition.+ tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | 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 :: Prelude.Maybe JobTimeout,+ -- | The name of the job definition.+ jobDefinitionName :: Prelude.Text,+ -- | The Amazon Resource Name (ARN) for the job definition.+ jobDefinitionArn :: Prelude.Text,+ -- | The revision of the job definition.+ revision :: Prelude.Int,+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/multi-node-job-def.html Creating a multi-node parallel job definition>+ -- in the /Batch User Guide/.+ type' :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'JobDefinition' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'containerOrchestrationType', 'jobDefinition_containerOrchestrationType' - The orchestration type of the compute environment. The valid values are+-- @ECS@ (default) or @EKS@.+--+-- 'containerProperties', 'jobDefinition_containerProperties' - An object with various properties specific to Amazon ECS based jobs.+-- Valid values are @containerProperties@, @eksProperties@, and+-- @nodeProperties@. Only one can be specified.+--+-- 'eksProperties', 'jobDefinition_eksProperties' - 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.+--+-- 'nodeProperties', 'jobDefinition_nodeProperties' - 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.+--+-- 'parameters', 'jobDefinition_parameters' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/job_definition_parameters.html Job definition parameters>+-- in the /Batch User Guide/.+--+-- 'platformCapabilities', 'jobDefinition_platformCapabilities' - The platform capabilities required by the job definition. If no value is+-- specified, it defaults to @EC2@. Jobs run on Fargate resources specify+-- @FARGATE@.+--+-- 'propagateTags', 'jobDefinition_propagateTags' - 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.+--+-- 'retryStrategy', 'jobDefinition_retryStrategy' - The retry strategy to use for failed jobs that are submitted with this+-- job definition.+--+-- 'schedulingPriority', 'jobDefinition_schedulingPriority' - 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.+--+-- 'status', 'jobDefinition_status' - The status of the job definition.+--+-- 'tags', 'jobDefinition_tags' - The tags that are applied to the job definition.+--+-- 'timeout', 'jobDefinition_timeout' - 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.+--+-- 'jobDefinitionName', 'jobDefinition_jobDefinitionName' - The name of the job definition.+--+-- 'jobDefinitionArn', 'jobDefinition_jobDefinitionArn' - The Amazon Resource Name (ARN) for the job definition.+--+-- 'revision', 'jobDefinition_revision' - The revision of the job definition.+--+-- 'type'', 'jobDefinition_type' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/multi-node-job-def.html Creating a multi-node parallel job definition>+-- in the /Batch User Guide/.+newJobDefinition ::+ -- | 'jobDefinitionName'+ Prelude.Text ->+ -- | 'jobDefinitionArn'+ Prelude.Text ->+ -- | 'revision'+ Prelude.Int ->+ -- | 'type''+ Prelude.Text ->+ JobDefinition+newJobDefinition+ pJobDefinitionName_+ pJobDefinitionArn_+ pRevision_+ pType_ =+ JobDefinition'+ { containerOrchestrationType =+ Prelude.Nothing,+ containerProperties = Prelude.Nothing,+ eksProperties = Prelude.Nothing,+ nodeProperties = Prelude.Nothing,+ parameters = Prelude.Nothing,+ platformCapabilities = Prelude.Nothing,+ propagateTags = Prelude.Nothing,+ retryStrategy = Prelude.Nothing,+ schedulingPriority = Prelude.Nothing,+ status = Prelude.Nothing,+ tags = Prelude.Nothing,+ timeout = Prelude.Nothing,+ jobDefinitionName = pJobDefinitionName_,+ jobDefinitionArn = pJobDefinitionArn_,+ revision = pRevision_,+ type' = pType_+ }++-- | The orchestration type of the compute environment. The valid values are+-- @ECS@ (default) or @EKS@.+jobDefinition_containerOrchestrationType :: Lens.Lens' JobDefinition (Prelude.Maybe OrchestrationType)+jobDefinition_containerOrchestrationType = Lens.lens (\JobDefinition' {containerOrchestrationType} -> containerOrchestrationType) (\s@JobDefinition' {} a -> s {containerOrchestrationType = a} :: JobDefinition)++-- | An object with various properties specific to Amazon ECS based jobs.+-- Valid values are @containerProperties@, @eksProperties@, and+-- @nodeProperties@. Only one can be specified.+jobDefinition_containerProperties :: Lens.Lens' JobDefinition (Prelude.Maybe ContainerProperties)+jobDefinition_containerProperties = Lens.lens (\JobDefinition' {containerProperties} -> containerProperties) (\s@JobDefinition' {} a -> s {containerProperties = a} :: JobDefinition)++-- | 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.+jobDefinition_eksProperties :: Lens.Lens' JobDefinition (Prelude.Maybe EksProperties)+jobDefinition_eksProperties = Lens.lens (\JobDefinition' {eksProperties} -> eksProperties) (\s@JobDefinition' {} a -> s {eksProperties = a} :: JobDefinition)++-- | 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.+jobDefinition_nodeProperties :: Lens.Lens' JobDefinition (Prelude.Maybe NodeProperties)+jobDefinition_nodeProperties = Lens.lens (\JobDefinition' {nodeProperties} -> nodeProperties) (\s@JobDefinition' {} a -> s {nodeProperties = a} :: JobDefinition)++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/job_definition_parameters.html Job definition parameters>+-- in the /Batch User Guide/.+jobDefinition_parameters :: Lens.Lens' JobDefinition (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+jobDefinition_parameters = Lens.lens (\JobDefinition' {parameters} -> parameters) (\s@JobDefinition' {} a -> s {parameters = a} :: JobDefinition) Prelude.. Lens.mapping Lens.coerced++-- | The platform capabilities required by the job definition. If no value is+-- specified, it defaults to @EC2@. Jobs run on Fargate resources specify+-- @FARGATE@.+jobDefinition_platformCapabilities :: Lens.Lens' JobDefinition (Prelude.Maybe [PlatformCapability])+jobDefinition_platformCapabilities = Lens.lens (\JobDefinition' {platformCapabilities} -> platformCapabilities) (\s@JobDefinition' {} a -> s {platformCapabilities = a} :: JobDefinition) Prelude.. Lens.mapping Lens.coerced++-- | 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.+jobDefinition_propagateTags :: Lens.Lens' JobDefinition (Prelude.Maybe Prelude.Bool)+jobDefinition_propagateTags = Lens.lens (\JobDefinition' {propagateTags} -> propagateTags) (\s@JobDefinition' {} a -> s {propagateTags = a} :: JobDefinition)++-- | The retry strategy to use for failed jobs that are submitted with this+-- job definition.+jobDefinition_retryStrategy :: Lens.Lens' JobDefinition (Prelude.Maybe RetryStrategy)+jobDefinition_retryStrategy = Lens.lens (\JobDefinition' {retryStrategy} -> retryStrategy) (\s@JobDefinition' {} a -> s {retryStrategy = a} :: JobDefinition)++-- | 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.+jobDefinition_schedulingPriority :: Lens.Lens' JobDefinition (Prelude.Maybe Prelude.Int)+jobDefinition_schedulingPriority = Lens.lens (\JobDefinition' {schedulingPriority} -> schedulingPriority) (\s@JobDefinition' {} a -> s {schedulingPriority = a} :: JobDefinition)++-- | The status of the job definition.+jobDefinition_status :: Lens.Lens' JobDefinition (Prelude.Maybe Prelude.Text)+jobDefinition_status = Lens.lens (\JobDefinition' {status} -> status) (\s@JobDefinition' {} a -> s {status = a} :: JobDefinition)++-- | The tags that are applied to the job definition.+jobDefinition_tags :: Lens.Lens' JobDefinition (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+jobDefinition_tags = Lens.lens (\JobDefinition' {tags} -> tags) (\s@JobDefinition' {} a -> s {tags = a} :: JobDefinition) Prelude.. Lens.mapping Lens.coerced++-- | 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.+jobDefinition_timeout :: Lens.Lens' JobDefinition (Prelude.Maybe JobTimeout)+jobDefinition_timeout = Lens.lens (\JobDefinition' {timeout} -> timeout) (\s@JobDefinition' {} a -> s {timeout = a} :: JobDefinition)++-- | The name of the job definition.+jobDefinition_jobDefinitionName :: Lens.Lens' JobDefinition Prelude.Text+jobDefinition_jobDefinitionName = Lens.lens (\JobDefinition' {jobDefinitionName} -> jobDefinitionName) (\s@JobDefinition' {} a -> s {jobDefinitionName = a} :: JobDefinition)++-- | The Amazon Resource Name (ARN) for the job definition.+jobDefinition_jobDefinitionArn :: Lens.Lens' JobDefinition Prelude.Text+jobDefinition_jobDefinitionArn = Lens.lens (\JobDefinition' {jobDefinitionArn} -> jobDefinitionArn) (\s@JobDefinition' {} a -> s {jobDefinitionArn = a} :: JobDefinition)++-- | The revision of the job definition.+jobDefinition_revision :: Lens.Lens' JobDefinition Prelude.Int+jobDefinition_revision = Lens.lens (\JobDefinition' {revision} -> revision) (\s@JobDefinition' {} a -> s {revision = a} :: JobDefinition)++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/multi-node-job-def.html Creating a multi-node parallel job definition>+-- in the /Batch User Guide/.+jobDefinition_type :: Lens.Lens' JobDefinition Prelude.Text+jobDefinition_type = Lens.lens (\JobDefinition' {type'} -> type') (\s@JobDefinition' {} a -> s {type' = a} :: JobDefinition)++instance Data.FromJSON JobDefinition where+ parseJSON =+ Data.withObject+ "JobDefinition"+ ( \x ->+ JobDefinition'+ Prelude.<$> (x Data..:? "containerOrchestrationType")+ Prelude.<*> (x Data..:? "containerProperties")+ Prelude.<*> (x Data..:? "eksProperties")+ Prelude.<*> (x Data..:? "nodeProperties")+ Prelude.<*> (x Data..:? "parameters" Data..!= Prelude.mempty)+ Prelude.<*> ( x+ Data..:? "platformCapabilities"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "propagateTags")+ Prelude.<*> (x Data..:? "retryStrategy")+ Prelude.<*> (x Data..:? "schedulingPriority")+ Prelude.<*> (x Data..:? "status")+ Prelude.<*> (x Data..:? "tags" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "timeout")+ Prelude.<*> (x Data..: "jobDefinitionName")+ Prelude.<*> (x Data..: "jobDefinitionArn")+ Prelude.<*> (x Data..: "revision")+ Prelude.<*> (x Data..: "type")+ )++instance Prelude.Hashable JobDefinition where+ hashWithSalt _salt JobDefinition' {..} =+ _salt+ `Prelude.hashWithSalt` containerOrchestrationType+ `Prelude.hashWithSalt` containerProperties+ `Prelude.hashWithSalt` eksProperties+ `Prelude.hashWithSalt` nodeProperties+ `Prelude.hashWithSalt` parameters+ `Prelude.hashWithSalt` platformCapabilities+ `Prelude.hashWithSalt` propagateTags+ `Prelude.hashWithSalt` retryStrategy+ `Prelude.hashWithSalt` schedulingPriority+ `Prelude.hashWithSalt` status+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` timeout+ `Prelude.hashWithSalt` jobDefinitionName+ `Prelude.hashWithSalt` jobDefinitionArn+ `Prelude.hashWithSalt` revision+ `Prelude.hashWithSalt` type'++instance Prelude.NFData JobDefinition where+ rnf JobDefinition' {..} =+ Prelude.rnf containerOrchestrationType+ `Prelude.seq` Prelude.rnf containerProperties+ `Prelude.seq` Prelude.rnf eksProperties+ `Prelude.seq` Prelude.rnf nodeProperties+ `Prelude.seq` Prelude.rnf parameters+ `Prelude.seq` Prelude.rnf platformCapabilities+ `Prelude.seq` Prelude.rnf propagateTags+ `Prelude.seq` Prelude.rnf retryStrategy+ `Prelude.seq` Prelude.rnf schedulingPriority+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf timeout+ `Prelude.seq` Prelude.rnf jobDefinitionName+ `Prelude.seq` Prelude.rnf jobDefinitionArn+ `Prelude.seq` Prelude.rnf revision+ `Prelude.seq` Prelude.rnf type'
+ gen/Amazonka/Batch/Types/JobDefinitionType.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.JobDefinitionType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.JobDefinitionType+ ( JobDefinitionType+ ( ..,+ JobDefinitionType_Container,+ JobDefinitionType_Multinode+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype JobDefinitionType = JobDefinitionType'+ { fromJobDefinitionType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern JobDefinitionType_Container :: JobDefinitionType+pattern JobDefinitionType_Container = JobDefinitionType' "container"++pattern JobDefinitionType_Multinode :: JobDefinitionType+pattern JobDefinitionType_Multinode = JobDefinitionType' "multinode"++{-# COMPLETE+ JobDefinitionType_Container,+ JobDefinitionType_Multinode,+ JobDefinitionType'+ #-}
+ gen/Amazonka/Batch/Types/JobDependency.hs view
@@ -0,0 +1,93 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.JobDependency+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.JobDependency where++import Amazonka.Batch.Types.ArrayJobDependency+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that represents an Batch job dependency.+--+-- /See:/ 'newJobDependency' smart constructor.+data JobDependency = JobDependency'+ { -- | The job ID of the Batch job that\'s associated with this dependency.+ jobId :: Prelude.Maybe Prelude.Text,+ -- | The type of the job dependency.+ type' :: Prelude.Maybe ArrayJobDependency+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'JobDependency' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'jobId', 'jobDependency_jobId' - The job ID of the Batch job that\'s associated with this dependency.+--+-- 'type'', 'jobDependency_type' - The type of the job dependency.+newJobDependency ::+ JobDependency+newJobDependency =+ JobDependency'+ { jobId = Prelude.Nothing,+ type' = Prelude.Nothing+ }++-- | The job ID of the Batch job that\'s associated with this dependency.+jobDependency_jobId :: Lens.Lens' JobDependency (Prelude.Maybe Prelude.Text)+jobDependency_jobId = Lens.lens (\JobDependency' {jobId} -> jobId) (\s@JobDependency' {} a -> s {jobId = a} :: JobDependency)++-- | The type of the job dependency.+jobDependency_type :: Lens.Lens' JobDependency (Prelude.Maybe ArrayJobDependency)+jobDependency_type = Lens.lens (\JobDependency' {type'} -> type') (\s@JobDependency' {} a -> s {type' = a} :: JobDependency)++instance Data.FromJSON JobDependency where+ parseJSON =+ Data.withObject+ "JobDependency"+ ( \x ->+ JobDependency'+ Prelude.<$> (x Data..:? "jobId")+ Prelude.<*> (x Data..:? "type")+ )++instance Prelude.Hashable JobDependency where+ hashWithSalt _salt JobDependency' {..} =+ _salt+ `Prelude.hashWithSalt` jobId+ `Prelude.hashWithSalt` type'++instance Prelude.NFData JobDependency where+ rnf JobDependency' {..} =+ Prelude.rnf jobId `Prelude.seq` Prelude.rnf type'++instance Data.ToJSON JobDependency where+ toJSON JobDependency' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("jobId" Data..=) Prelude.<$> jobId,+ ("type" Data..=) Prelude.<$> type'+ ]+ )
+ gen/Amazonka/Batch/Types/JobDetail.hs view
@@ -0,0 +1,531 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.JobDetail+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.JobDetail where++import Amazonka.Batch.Types.ArrayPropertiesDetail+import Amazonka.Batch.Types.AttemptDetail+import Amazonka.Batch.Types.ContainerDetail+import Amazonka.Batch.Types.EksAttemptDetail+import Amazonka.Batch.Types.EksPropertiesDetail+import Amazonka.Batch.Types.JobDependency+import Amazonka.Batch.Types.JobStatus+import Amazonka.Batch.Types.JobTimeout+import Amazonka.Batch.Types.NodeDetails+import Amazonka.Batch.Types.NodeProperties+import Amazonka.Batch.Types.PlatformCapability+import Amazonka.Batch.Types.RetryStrategy+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that represents an Batch job.+--+-- /See:/ 'newJobDetail' smart constructor.+data JobDetail = JobDetail'+ { -- | The array properties of the job, if it\'s an array job.+ arrayProperties :: Prelude.Maybe ArrayPropertiesDetail,+ -- | A list of job attempts that are associated with this job.+ attempts :: Prelude.Maybe [AttemptDetail],+ -- | An object that represents the details for the container that\'s+ -- associated with the job.+ container :: Prelude.Maybe ContainerDetail,+ -- | 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 :: Prelude.Maybe Prelude.Integer,+ -- | A list of job IDs that this job depends on.+ dependsOn :: Prelude.Maybe [JobDependency],+ -- | A list of job attempts that are associated with this job.+ eksAttempts :: Prelude.Maybe [EksAttemptDetail],+ -- | An object with various properties that are specific to Amazon EKS based+ -- jobs. Only one of @container@, @eksProperties@, or @nodeDetails@ is+ -- specified.+ eksProperties :: Prelude.Maybe EksPropertiesDetail,+ -- | Indicates whether the job is canceled.+ isCancelled :: Prelude.Maybe Prelude.Bool,+ -- | Indicates whether the job is terminated.+ isTerminated :: Prelude.Maybe Prelude.Bool,+ -- | The Amazon Resource Name (ARN) of the job.+ jobArn :: Prelude.Maybe Prelude.Text,+ -- | An object that represents the details of a node that\'s associated with+ -- a multi-node parallel job.+ nodeDetails :: Prelude.Maybe NodeDetails,+ -- | 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 :: Prelude.Maybe NodeProperties,+ -- | Additional parameters that are passed to the job that replace parameter+ -- substitution placeholders or override any corresponding parameter+ -- defaults from the job definition.+ parameters :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | 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 :: Prelude.Maybe [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 :: Prelude.Maybe Prelude.Bool,+ -- | The retry strategy to use for this job if an attempt fails.+ retryStrategy :: Prelude.Maybe RetryStrategy,+ -- | 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 :: Prelude.Maybe Prelude.Int,+ -- | The share identifier for the job.+ shareIdentifier :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe Prelude.Integer,+ -- | A short, human-readable string to provide more details for the current+ -- status of the job.+ statusReason :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe Prelude.Integer,+ -- | The tags that are applied to the job.+ tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | The timeout configuration for the job.+ timeout :: Prelude.Maybe JobTimeout,+ -- | The job name.+ jobName :: Prelude.Text,+ -- | The job ID.+ jobId :: Prelude.Text,+ -- | The Amazon Resource Name (ARN) of the job queue that the job is+ -- associated with.+ jobQueue :: Prelude.Text,+ -- | The current status for the job.+ --+ -- If your jobs don\'t progress to @STARTING@, see+ -- <https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#job_stuck_in_runnable Jobs stuck in RUNNABLE status>+ -- in the troubleshooting section of the /Batch User Guide/.+ status :: JobStatus,+ -- | The Amazon Resource Name (ARN) of the job definition that this job uses.+ jobDefinition :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'JobDetail' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arrayProperties', 'jobDetail_arrayProperties' - The array properties of the job, if it\'s an array job.+--+-- 'attempts', 'jobDetail_attempts' - A list of job attempts that are associated with this job.+--+-- 'container', 'jobDetail_container' - An object that represents the details for the container that\'s+-- associated with the job.+--+-- 'createdAt', 'jobDetail_createdAt' - 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.+--+-- 'dependsOn', 'jobDetail_dependsOn' - A list of job IDs that this job depends on.+--+-- 'eksAttempts', 'jobDetail_eksAttempts' - A list of job attempts that are associated with this job.+--+-- 'eksProperties', 'jobDetail_eksProperties' - An object with various properties that are specific to Amazon EKS based+-- jobs. Only one of @container@, @eksProperties@, or @nodeDetails@ is+-- specified.+--+-- 'isCancelled', 'jobDetail_isCancelled' - Indicates whether the job is canceled.+--+-- 'isTerminated', 'jobDetail_isTerminated' - Indicates whether the job is terminated.+--+-- 'jobArn', 'jobDetail_jobArn' - The Amazon Resource Name (ARN) of the job.+--+-- 'nodeDetails', 'jobDetail_nodeDetails' - An object that represents the details of a node that\'s associated with+-- a multi-node parallel job.+--+-- 'nodeProperties', 'jobDetail_nodeProperties' - 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.+--+-- 'parameters', 'jobDetail_parameters' - Additional parameters that are passed to the job that replace parameter+-- substitution placeholders or override any corresponding parameter+-- defaults from the job definition.+--+-- 'platformCapabilities', 'jobDetail_platformCapabilities' - The platform capabilities required by the job definition. If no value is+-- specified, it defaults to @EC2@. Jobs run on Fargate resources specify+-- @FARGATE@.+--+-- 'propagateTags', 'jobDetail_propagateTags' - 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.+--+-- 'retryStrategy', 'jobDetail_retryStrategy' - The retry strategy to use for this job if an attempt fails.+--+-- 'schedulingPriority', 'jobDetail_schedulingPriority' - 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.+--+-- 'shareIdentifier', 'jobDetail_shareIdentifier' - The share identifier for the job.+--+-- 'startedAt', 'jobDetail_startedAt' - 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.+--+-- 'statusReason', 'jobDetail_statusReason' - A short, human-readable string to provide more details for the current+-- status of the job.+--+-- 'stoppedAt', 'jobDetail_stoppedAt' - 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@.+--+-- 'tags', 'jobDetail_tags' - The tags that are applied to the job.+--+-- 'timeout', 'jobDetail_timeout' - The timeout configuration for the job.+--+-- 'jobName', 'jobDetail_jobName' - The job name.+--+-- 'jobId', 'jobDetail_jobId' - The job ID.+--+-- 'jobQueue', 'jobDetail_jobQueue' - The Amazon Resource Name (ARN) of the job queue that the job is+-- associated with.+--+-- 'status', 'jobDetail_status' - The current status for the job.+--+-- If your jobs don\'t progress to @STARTING@, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#job_stuck_in_runnable Jobs stuck in RUNNABLE status>+-- in the troubleshooting section of the /Batch User Guide/.+--+-- 'jobDefinition', 'jobDetail_jobDefinition' - The Amazon Resource Name (ARN) of the job definition that this job uses.+newJobDetail ::+ -- | 'jobName'+ Prelude.Text ->+ -- | 'jobId'+ Prelude.Text ->+ -- | 'jobQueue'+ Prelude.Text ->+ -- | 'status'+ JobStatus ->+ -- | 'jobDefinition'+ Prelude.Text ->+ JobDetail+newJobDetail+ pJobName_+ pJobId_+ pJobQueue_+ pStatus_+ pJobDefinition_ =+ JobDetail'+ { arrayProperties = Prelude.Nothing,+ attempts = Prelude.Nothing,+ container = Prelude.Nothing,+ createdAt = Prelude.Nothing,+ dependsOn = Prelude.Nothing,+ eksAttempts = Prelude.Nothing,+ eksProperties = Prelude.Nothing,+ isCancelled = Prelude.Nothing,+ isTerminated = Prelude.Nothing,+ jobArn = Prelude.Nothing,+ nodeDetails = Prelude.Nothing,+ nodeProperties = Prelude.Nothing,+ parameters = Prelude.Nothing,+ platformCapabilities = Prelude.Nothing,+ propagateTags = Prelude.Nothing,+ retryStrategy = Prelude.Nothing,+ schedulingPriority = Prelude.Nothing,+ shareIdentifier = Prelude.Nothing,+ startedAt = Prelude.Nothing,+ statusReason = Prelude.Nothing,+ stoppedAt = Prelude.Nothing,+ tags = Prelude.Nothing,+ timeout = Prelude.Nothing,+ jobName = pJobName_,+ jobId = pJobId_,+ jobQueue = pJobQueue_,+ status = pStatus_,+ jobDefinition = pJobDefinition_+ }++-- | The array properties of the job, if it\'s an array job.+jobDetail_arrayProperties :: Lens.Lens' JobDetail (Prelude.Maybe ArrayPropertiesDetail)+jobDetail_arrayProperties = Lens.lens (\JobDetail' {arrayProperties} -> arrayProperties) (\s@JobDetail' {} a -> s {arrayProperties = a} :: JobDetail)++-- | A list of job attempts that are associated with this job.+jobDetail_attempts :: Lens.Lens' JobDetail (Prelude.Maybe [AttemptDetail])+jobDetail_attempts = Lens.lens (\JobDetail' {attempts} -> attempts) (\s@JobDetail' {} a -> s {attempts = a} :: JobDetail) Prelude.. Lens.mapping Lens.coerced++-- | An object that represents the details for the container that\'s+-- associated with the job.+jobDetail_container :: Lens.Lens' JobDetail (Prelude.Maybe ContainerDetail)+jobDetail_container = Lens.lens (\JobDetail' {container} -> container) (\s@JobDetail' {} a -> s {container = a} :: JobDetail)++-- | 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.+jobDetail_createdAt :: Lens.Lens' JobDetail (Prelude.Maybe Prelude.Integer)+jobDetail_createdAt = Lens.lens (\JobDetail' {createdAt} -> createdAt) (\s@JobDetail' {} a -> s {createdAt = a} :: JobDetail)++-- | A list of job IDs that this job depends on.+jobDetail_dependsOn :: Lens.Lens' JobDetail (Prelude.Maybe [JobDependency])+jobDetail_dependsOn = Lens.lens (\JobDetail' {dependsOn} -> dependsOn) (\s@JobDetail' {} a -> s {dependsOn = a} :: JobDetail) Prelude.. Lens.mapping Lens.coerced++-- | A list of job attempts that are associated with this job.+jobDetail_eksAttempts :: Lens.Lens' JobDetail (Prelude.Maybe [EksAttemptDetail])+jobDetail_eksAttempts = Lens.lens (\JobDetail' {eksAttempts} -> eksAttempts) (\s@JobDetail' {} a -> s {eksAttempts = a} :: JobDetail) Prelude.. Lens.mapping Lens.coerced++-- | An object with various properties that are specific to Amazon EKS based+-- jobs. Only one of @container@, @eksProperties@, or @nodeDetails@ is+-- specified.+jobDetail_eksProperties :: Lens.Lens' JobDetail (Prelude.Maybe EksPropertiesDetail)+jobDetail_eksProperties = Lens.lens (\JobDetail' {eksProperties} -> eksProperties) (\s@JobDetail' {} a -> s {eksProperties = a} :: JobDetail)++-- | Indicates whether the job is canceled.+jobDetail_isCancelled :: Lens.Lens' JobDetail (Prelude.Maybe Prelude.Bool)+jobDetail_isCancelled = Lens.lens (\JobDetail' {isCancelled} -> isCancelled) (\s@JobDetail' {} a -> s {isCancelled = a} :: JobDetail)++-- | Indicates whether the job is terminated.+jobDetail_isTerminated :: Lens.Lens' JobDetail (Prelude.Maybe Prelude.Bool)+jobDetail_isTerminated = Lens.lens (\JobDetail' {isTerminated} -> isTerminated) (\s@JobDetail' {} a -> s {isTerminated = a} :: JobDetail)++-- | The Amazon Resource Name (ARN) of the job.+jobDetail_jobArn :: Lens.Lens' JobDetail (Prelude.Maybe Prelude.Text)+jobDetail_jobArn = Lens.lens (\JobDetail' {jobArn} -> jobArn) (\s@JobDetail' {} a -> s {jobArn = a} :: JobDetail)++-- | An object that represents the details of a node that\'s associated with+-- a multi-node parallel job.+jobDetail_nodeDetails :: Lens.Lens' JobDetail (Prelude.Maybe NodeDetails)+jobDetail_nodeDetails = Lens.lens (\JobDetail' {nodeDetails} -> nodeDetails) (\s@JobDetail' {} a -> s {nodeDetails = a} :: JobDetail)++-- | 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.+jobDetail_nodeProperties :: Lens.Lens' JobDetail (Prelude.Maybe NodeProperties)+jobDetail_nodeProperties = Lens.lens (\JobDetail' {nodeProperties} -> nodeProperties) (\s@JobDetail' {} a -> s {nodeProperties = a} :: JobDetail)++-- | Additional parameters that are passed to the job that replace parameter+-- substitution placeholders or override any corresponding parameter+-- defaults from the job definition.+jobDetail_parameters :: Lens.Lens' JobDetail (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+jobDetail_parameters = Lens.lens (\JobDetail' {parameters} -> parameters) (\s@JobDetail' {} a -> s {parameters = a} :: JobDetail) Prelude.. Lens.mapping Lens.coerced++-- | The platform capabilities required by the job definition. If no value is+-- specified, it defaults to @EC2@. Jobs run on Fargate resources specify+-- @FARGATE@.+jobDetail_platformCapabilities :: Lens.Lens' JobDetail (Prelude.Maybe [PlatformCapability])+jobDetail_platformCapabilities = Lens.lens (\JobDetail' {platformCapabilities} -> platformCapabilities) (\s@JobDetail' {} a -> s {platformCapabilities = a} :: JobDetail) Prelude.. Lens.mapping Lens.coerced++-- | 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.+jobDetail_propagateTags :: Lens.Lens' JobDetail (Prelude.Maybe Prelude.Bool)+jobDetail_propagateTags = Lens.lens (\JobDetail' {propagateTags} -> propagateTags) (\s@JobDetail' {} a -> s {propagateTags = a} :: JobDetail)++-- | The retry strategy to use for this job if an attempt fails.+jobDetail_retryStrategy :: Lens.Lens' JobDetail (Prelude.Maybe RetryStrategy)+jobDetail_retryStrategy = Lens.lens (\JobDetail' {retryStrategy} -> retryStrategy) (\s@JobDetail' {} a -> s {retryStrategy = a} :: JobDetail)++-- | 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.+jobDetail_schedulingPriority :: Lens.Lens' JobDetail (Prelude.Maybe Prelude.Int)+jobDetail_schedulingPriority = Lens.lens (\JobDetail' {schedulingPriority} -> schedulingPriority) (\s@JobDetail' {} a -> s {schedulingPriority = a} :: JobDetail)++-- | The share identifier for the job.+jobDetail_shareIdentifier :: Lens.Lens' JobDetail (Prelude.Maybe Prelude.Text)+jobDetail_shareIdentifier = Lens.lens (\JobDetail' {shareIdentifier} -> shareIdentifier) (\s@JobDetail' {} a -> s {shareIdentifier = a} :: JobDetail)++-- | 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.+jobDetail_startedAt :: Lens.Lens' JobDetail (Prelude.Maybe Prelude.Integer)+jobDetail_startedAt = Lens.lens (\JobDetail' {startedAt} -> startedAt) (\s@JobDetail' {} a -> s {startedAt = a} :: JobDetail)++-- | A short, human-readable string to provide more details for the current+-- status of the job.+jobDetail_statusReason :: Lens.Lens' JobDetail (Prelude.Maybe Prelude.Text)+jobDetail_statusReason = Lens.lens (\JobDetail' {statusReason} -> statusReason) (\s@JobDetail' {} a -> s {statusReason = a} :: JobDetail)++-- | 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@.+jobDetail_stoppedAt :: Lens.Lens' JobDetail (Prelude.Maybe Prelude.Integer)+jobDetail_stoppedAt = Lens.lens (\JobDetail' {stoppedAt} -> stoppedAt) (\s@JobDetail' {} a -> s {stoppedAt = a} :: JobDetail)++-- | The tags that are applied to the job.+jobDetail_tags :: Lens.Lens' JobDetail (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+jobDetail_tags = Lens.lens (\JobDetail' {tags} -> tags) (\s@JobDetail' {} a -> s {tags = a} :: JobDetail) Prelude.. Lens.mapping Lens.coerced++-- | The timeout configuration for the job.+jobDetail_timeout :: Lens.Lens' JobDetail (Prelude.Maybe JobTimeout)+jobDetail_timeout = Lens.lens (\JobDetail' {timeout} -> timeout) (\s@JobDetail' {} a -> s {timeout = a} :: JobDetail)++-- | The job name.+jobDetail_jobName :: Lens.Lens' JobDetail Prelude.Text+jobDetail_jobName = Lens.lens (\JobDetail' {jobName} -> jobName) (\s@JobDetail' {} a -> s {jobName = a} :: JobDetail)++-- | The job ID.+jobDetail_jobId :: Lens.Lens' JobDetail Prelude.Text+jobDetail_jobId = Lens.lens (\JobDetail' {jobId} -> jobId) (\s@JobDetail' {} a -> s {jobId = a} :: JobDetail)++-- | The Amazon Resource Name (ARN) of the job queue that the job is+-- associated with.+jobDetail_jobQueue :: Lens.Lens' JobDetail Prelude.Text+jobDetail_jobQueue = Lens.lens (\JobDetail' {jobQueue} -> jobQueue) (\s@JobDetail' {} a -> s {jobQueue = a} :: JobDetail)++-- | The current status for the job.+--+-- If your jobs don\'t progress to @STARTING@, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#job_stuck_in_runnable Jobs stuck in RUNNABLE status>+-- in the troubleshooting section of the /Batch User Guide/.+jobDetail_status :: Lens.Lens' JobDetail JobStatus+jobDetail_status = Lens.lens (\JobDetail' {status} -> status) (\s@JobDetail' {} a -> s {status = a} :: JobDetail)++-- | The Amazon Resource Name (ARN) of the job definition that this job uses.+jobDetail_jobDefinition :: Lens.Lens' JobDetail Prelude.Text+jobDetail_jobDefinition = Lens.lens (\JobDetail' {jobDefinition} -> jobDefinition) (\s@JobDetail' {} a -> s {jobDefinition = a} :: JobDetail)++instance Data.FromJSON JobDetail where+ parseJSON =+ Data.withObject+ "JobDetail"+ ( \x ->+ JobDetail'+ Prelude.<$> (x Data..:? "arrayProperties")+ Prelude.<*> (x Data..:? "attempts" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "container")+ Prelude.<*> (x Data..:? "createdAt")+ Prelude.<*> (x Data..:? "dependsOn" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "eksAttempts" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "eksProperties")+ Prelude.<*> (x Data..:? "isCancelled")+ Prelude.<*> (x Data..:? "isTerminated")+ Prelude.<*> (x Data..:? "jobArn")+ Prelude.<*> (x Data..:? "nodeDetails")+ Prelude.<*> (x Data..:? "nodeProperties")+ Prelude.<*> (x Data..:? "parameters" Data..!= Prelude.mempty)+ Prelude.<*> ( x+ Data..:? "platformCapabilities"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "propagateTags")+ Prelude.<*> (x Data..:? "retryStrategy")+ Prelude.<*> (x Data..:? "schedulingPriority")+ Prelude.<*> (x Data..:? "shareIdentifier")+ Prelude.<*> (x Data..:? "startedAt")+ Prelude.<*> (x Data..:? "statusReason")+ Prelude.<*> (x Data..:? "stoppedAt")+ Prelude.<*> (x Data..:? "tags" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "timeout")+ Prelude.<*> (x Data..: "jobName")+ Prelude.<*> (x Data..: "jobId")+ Prelude.<*> (x Data..: "jobQueue")+ Prelude.<*> (x Data..: "status")+ Prelude.<*> (x Data..: "jobDefinition")+ )++instance Prelude.Hashable JobDetail where+ hashWithSalt _salt JobDetail' {..} =+ _salt+ `Prelude.hashWithSalt` arrayProperties+ `Prelude.hashWithSalt` attempts+ `Prelude.hashWithSalt` container+ `Prelude.hashWithSalt` createdAt+ `Prelude.hashWithSalt` dependsOn+ `Prelude.hashWithSalt` eksAttempts+ `Prelude.hashWithSalt` eksProperties+ `Prelude.hashWithSalt` isCancelled+ `Prelude.hashWithSalt` isTerminated+ `Prelude.hashWithSalt` jobArn+ `Prelude.hashWithSalt` nodeDetails+ `Prelude.hashWithSalt` nodeProperties+ `Prelude.hashWithSalt` parameters+ `Prelude.hashWithSalt` platformCapabilities+ `Prelude.hashWithSalt` propagateTags+ `Prelude.hashWithSalt` retryStrategy+ `Prelude.hashWithSalt` schedulingPriority+ `Prelude.hashWithSalt` shareIdentifier+ `Prelude.hashWithSalt` startedAt+ `Prelude.hashWithSalt` statusReason+ `Prelude.hashWithSalt` stoppedAt+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` timeout+ `Prelude.hashWithSalt` jobName+ `Prelude.hashWithSalt` jobId+ `Prelude.hashWithSalt` jobQueue+ `Prelude.hashWithSalt` status+ `Prelude.hashWithSalt` jobDefinition++instance Prelude.NFData JobDetail where+ rnf JobDetail' {..} =+ Prelude.rnf arrayProperties+ `Prelude.seq` Prelude.rnf attempts+ `Prelude.seq` Prelude.rnf container+ `Prelude.seq` Prelude.rnf createdAt+ `Prelude.seq` Prelude.rnf dependsOn+ `Prelude.seq` Prelude.rnf eksAttempts+ `Prelude.seq` Prelude.rnf eksProperties+ `Prelude.seq` Prelude.rnf isCancelled+ `Prelude.seq` Prelude.rnf isTerminated+ `Prelude.seq` Prelude.rnf jobArn+ `Prelude.seq` Prelude.rnf nodeDetails+ `Prelude.seq` Prelude.rnf nodeProperties+ `Prelude.seq` Prelude.rnf parameters+ `Prelude.seq` Prelude.rnf platformCapabilities+ `Prelude.seq` Prelude.rnf propagateTags+ `Prelude.seq` Prelude.rnf retryStrategy+ `Prelude.seq` Prelude.rnf schedulingPriority+ `Prelude.seq` Prelude.rnf shareIdentifier+ `Prelude.seq` Prelude.rnf startedAt+ `Prelude.seq` Prelude.rnf statusReason+ `Prelude.seq` Prelude.rnf stoppedAt+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf timeout+ `Prelude.seq` Prelude.rnf jobName+ `Prelude.seq` Prelude.rnf jobId+ `Prelude.seq` Prelude.rnf+ jobQueue+ `Prelude.seq` Prelude.rnf+ status+ `Prelude.seq` Prelude.rnf+ jobDefinition
+ gen/Amazonka/Batch/Types/JobQueueDetail.hs view
@@ -0,0 +1,241 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.JobQueueDetail+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.JobQueueDetail where++import Amazonka.Batch.Types.ComputeEnvironmentOrder+import Amazonka.Batch.Types.JQState+import Amazonka.Batch.Types.JQStatus+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that represents the details for an Batch job queue.+--+-- /See:/ 'newJobQueueDetail' smart constructor.+data JobQueueDetail = JobQueueDetail'+ { -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | The status of the job queue (for example, @CREATING@ or @VALID@).+ status :: Prelude.Maybe JQStatus,+ -- | A short, human-readable string to provide additional details for the+ -- current status of the job queue.+ statusReason :: Prelude.Maybe Prelude.Text,+ -- | The tags that are applied to the job queue. For more information, see+ -- <https://docs.aws.amazon.com/batch/latest/userguide/using-tags.html Tagging your Batch resources>+ -- in /Batch User Guide/.+ tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | The job queue name.+ jobQueueName :: Prelude.Text,+ -- | The Amazon Resource Name (ARN) of the job queue.+ jobQueueArn :: Prelude.Text,+ -- | 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 :: JQState,+ -- | 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 :: Prelude.Int,+ -- | 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 :: [ComputeEnvironmentOrder]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'JobQueueDetail' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'schedulingPolicyArn', 'jobQueueDetail_schedulingPolicyArn' - 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@.+--+-- 'status', 'jobQueueDetail_status' - The status of the job queue (for example, @CREATING@ or @VALID@).+--+-- 'statusReason', 'jobQueueDetail_statusReason' - A short, human-readable string to provide additional details for the+-- current status of the job queue.+--+-- 'tags', 'jobQueueDetail_tags' - The tags that are applied to the job queue. For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/using-tags.html Tagging your Batch resources>+-- in /Batch User Guide/.+--+-- 'jobQueueName', 'jobQueueDetail_jobQueueName' - The job queue name.+--+-- 'jobQueueArn', 'jobQueueDetail_jobQueueArn' - The Amazon Resource Name (ARN) of the job queue.+--+-- 'state', 'jobQueueDetail_state' - 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.+--+-- 'priority', 'jobQueueDetail_priority' - 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.+--+-- 'computeEnvironmentOrder', 'jobQueueDetail_computeEnvironmentOrder' - 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.+newJobQueueDetail ::+ -- | 'jobQueueName'+ Prelude.Text ->+ -- | 'jobQueueArn'+ Prelude.Text ->+ -- | 'state'+ JQState ->+ -- | 'priority'+ Prelude.Int ->+ JobQueueDetail+newJobQueueDetail+ pJobQueueName_+ pJobQueueArn_+ pState_+ pPriority_ =+ JobQueueDetail'+ { schedulingPolicyArn =+ Prelude.Nothing,+ status = Prelude.Nothing,+ statusReason = Prelude.Nothing,+ tags = Prelude.Nothing,+ jobQueueName = pJobQueueName_,+ jobQueueArn = pJobQueueArn_,+ state = pState_,+ priority = pPriority_,+ computeEnvironmentOrder = Prelude.mempty+ }++-- | 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@.+jobQueueDetail_schedulingPolicyArn :: Lens.Lens' JobQueueDetail (Prelude.Maybe Prelude.Text)+jobQueueDetail_schedulingPolicyArn = Lens.lens (\JobQueueDetail' {schedulingPolicyArn} -> schedulingPolicyArn) (\s@JobQueueDetail' {} a -> s {schedulingPolicyArn = a} :: JobQueueDetail)++-- | The status of the job queue (for example, @CREATING@ or @VALID@).+jobQueueDetail_status :: Lens.Lens' JobQueueDetail (Prelude.Maybe JQStatus)+jobQueueDetail_status = Lens.lens (\JobQueueDetail' {status} -> status) (\s@JobQueueDetail' {} a -> s {status = a} :: JobQueueDetail)++-- | A short, human-readable string to provide additional details for the+-- current status of the job queue.+jobQueueDetail_statusReason :: Lens.Lens' JobQueueDetail (Prelude.Maybe Prelude.Text)+jobQueueDetail_statusReason = Lens.lens (\JobQueueDetail' {statusReason} -> statusReason) (\s@JobQueueDetail' {} a -> s {statusReason = a} :: JobQueueDetail)++-- | The tags that are applied to the job queue. For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/using-tags.html Tagging your Batch resources>+-- in /Batch User Guide/.+jobQueueDetail_tags :: Lens.Lens' JobQueueDetail (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+jobQueueDetail_tags = Lens.lens (\JobQueueDetail' {tags} -> tags) (\s@JobQueueDetail' {} a -> s {tags = a} :: JobQueueDetail) Prelude.. Lens.mapping Lens.coerced++-- | The job queue name.+jobQueueDetail_jobQueueName :: Lens.Lens' JobQueueDetail Prelude.Text+jobQueueDetail_jobQueueName = Lens.lens (\JobQueueDetail' {jobQueueName} -> jobQueueName) (\s@JobQueueDetail' {} a -> s {jobQueueName = a} :: JobQueueDetail)++-- | The Amazon Resource Name (ARN) of the job queue.+jobQueueDetail_jobQueueArn :: Lens.Lens' JobQueueDetail Prelude.Text+jobQueueDetail_jobQueueArn = Lens.lens (\JobQueueDetail' {jobQueueArn} -> jobQueueArn) (\s@JobQueueDetail' {} a -> s {jobQueueArn = a} :: JobQueueDetail)++-- | 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.+jobQueueDetail_state :: Lens.Lens' JobQueueDetail JQState+jobQueueDetail_state = Lens.lens (\JobQueueDetail' {state} -> state) (\s@JobQueueDetail' {} a -> s {state = a} :: JobQueueDetail)++-- | 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.+jobQueueDetail_priority :: Lens.Lens' JobQueueDetail Prelude.Int+jobQueueDetail_priority = Lens.lens (\JobQueueDetail' {priority} -> priority) (\s@JobQueueDetail' {} a -> s {priority = a} :: JobQueueDetail)++-- | 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.+jobQueueDetail_computeEnvironmentOrder :: Lens.Lens' JobQueueDetail [ComputeEnvironmentOrder]+jobQueueDetail_computeEnvironmentOrder = Lens.lens (\JobQueueDetail' {computeEnvironmentOrder} -> computeEnvironmentOrder) (\s@JobQueueDetail' {} a -> s {computeEnvironmentOrder = a} :: JobQueueDetail) Prelude.. Lens.coerced++instance Data.FromJSON JobQueueDetail where+ parseJSON =+ Data.withObject+ "JobQueueDetail"+ ( \x ->+ JobQueueDetail'+ Prelude.<$> (x Data..:? "schedulingPolicyArn")+ Prelude.<*> (x Data..:? "status")+ Prelude.<*> (x Data..:? "statusReason")+ Prelude.<*> (x Data..:? "tags" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..: "jobQueueName")+ Prelude.<*> (x Data..: "jobQueueArn")+ Prelude.<*> (x Data..: "state")+ Prelude.<*> (x Data..: "priority")+ Prelude.<*> ( x+ Data..:? "computeEnvironmentOrder"+ Data..!= Prelude.mempty+ )+ )++instance Prelude.Hashable JobQueueDetail where+ hashWithSalt _salt JobQueueDetail' {..} =+ _salt+ `Prelude.hashWithSalt` schedulingPolicyArn+ `Prelude.hashWithSalt` status+ `Prelude.hashWithSalt` statusReason+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` jobQueueName+ `Prelude.hashWithSalt` jobQueueArn+ `Prelude.hashWithSalt` state+ `Prelude.hashWithSalt` priority+ `Prelude.hashWithSalt` computeEnvironmentOrder++instance Prelude.NFData JobQueueDetail where+ rnf JobQueueDetail' {..} =+ Prelude.rnf schedulingPolicyArn+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf statusReason+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf jobQueueName+ `Prelude.seq` Prelude.rnf jobQueueArn+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf priority+ `Prelude.seq` Prelude.rnf computeEnvironmentOrder
+ gen/Amazonka/Batch/Types/JobStatus.hs view
@@ -0,0 +1,96 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.JobStatus+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.JobStatus+ ( JobStatus+ ( ..,+ JobStatus_FAILED,+ JobStatus_PENDING,+ JobStatus_RUNNABLE,+ JobStatus_RUNNING,+ JobStatus_STARTING,+ JobStatus_SUBMITTED,+ JobStatus_SUCCEEDED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype JobStatus = JobStatus'+ { fromJobStatus ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern JobStatus_FAILED :: JobStatus+pattern JobStatus_FAILED = JobStatus' "FAILED"++pattern JobStatus_PENDING :: JobStatus+pattern JobStatus_PENDING = JobStatus' "PENDING"++pattern JobStatus_RUNNABLE :: JobStatus+pattern JobStatus_RUNNABLE = JobStatus' "RUNNABLE"++pattern JobStatus_RUNNING :: JobStatus+pattern JobStatus_RUNNING = JobStatus' "RUNNING"++pattern JobStatus_STARTING :: JobStatus+pattern JobStatus_STARTING = JobStatus' "STARTING"++pattern JobStatus_SUBMITTED :: JobStatus+pattern JobStatus_SUBMITTED = JobStatus' "SUBMITTED"++pattern JobStatus_SUCCEEDED :: JobStatus+pattern JobStatus_SUCCEEDED = JobStatus' "SUCCEEDED"++{-# COMPLETE+ JobStatus_FAILED,+ JobStatus_PENDING,+ JobStatus_RUNNABLE,+ JobStatus_RUNNING,+ JobStatus_STARTING,+ JobStatus_SUBMITTED,+ JobStatus_SUCCEEDED,+ JobStatus'+ #-}
+ gen/Amazonka/Batch/Types/JobSummary.hs view
@@ -0,0 +1,248 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.JobSummary+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.JobSummary where++import Amazonka.Batch.Types.ArrayPropertiesSummary+import Amazonka.Batch.Types.ContainerSummary+import Amazonka.Batch.Types.JobStatus+import Amazonka.Batch.Types.NodePropertiesSummary+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that represents summary details of a job.+--+-- /See:/ 'newJobSummary' smart constructor.+data JobSummary = JobSummary'+ { -- | The array properties of the job, if it\'s an array job.+ arrayProperties :: Prelude.Maybe ArrayPropertiesSummary,+ -- | An object that represents the details of the container that\'s+ -- associated with the job.+ container :: Prelude.Maybe ContainerSummary,+ -- | 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 :: Prelude.Maybe Prelude.Integer,+ -- | The Amazon Resource Name (ARN) of the job.+ jobArn :: Prelude.Maybe Prelude.Text,+ -- | The Amazon Resource Name (ARN) of the job definition.+ jobDefinition :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe NodePropertiesSummary,+ -- | 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 :: Prelude.Maybe Prelude.Integer,+ -- | The current status for the job.+ status :: Prelude.Maybe JobStatus,+ -- | A short, human-readable string to provide more details for the current+ -- status of the job.+ statusReason :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe Prelude.Integer,+ -- | The job ID.+ jobId :: Prelude.Text,+ -- | The job name.+ jobName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'JobSummary' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arrayProperties', 'jobSummary_arrayProperties' - The array properties of the job, if it\'s an array job.+--+-- 'container', 'jobSummary_container' - An object that represents the details of the container that\'s+-- associated with the job.+--+-- 'createdAt', 'jobSummary_createdAt' - 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.+--+-- 'jobArn', 'jobSummary_jobArn' - The Amazon Resource Name (ARN) of the job.+--+-- 'jobDefinition', 'jobSummary_jobDefinition' - The Amazon Resource Name (ARN) of the job definition.+--+-- 'nodeProperties', 'jobSummary_nodeProperties' - The node properties for a single node in a job summary list.+--+-- This isn\'t applicable to jobs that are running on Fargate resources.+--+-- 'startedAt', 'jobSummary_startedAt' - 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.+--+-- 'status', 'jobSummary_status' - The current status for the job.+--+-- 'statusReason', 'jobSummary_statusReason' - A short, human-readable string to provide more details for the current+-- status of the job.+--+-- 'stoppedAt', 'jobSummary_stoppedAt' - 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@.+--+-- 'jobId', 'jobSummary_jobId' - The job ID.+--+-- 'jobName', 'jobSummary_jobName' - The job name.+newJobSummary ::+ -- | 'jobId'+ Prelude.Text ->+ -- | 'jobName'+ Prelude.Text ->+ JobSummary+newJobSummary pJobId_ pJobName_ =+ JobSummary'+ { arrayProperties = Prelude.Nothing,+ container = Prelude.Nothing,+ createdAt = Prelude.Nothing,+ jobArn = Prelude.Nothing,+ jobDefinition = Prelude.Nothing,+ nodeProperties = Prelude.Nothing,+ startedAt = Prelude.Nothing,+ status = Prelude.Nothing,+ statusReason = Prelude.Nothing,+ stoppedAt = Prelude.Nothing,+ jobId = pJobId_,+ jobName = pJobName_+ }++-- | The array properties of the job, if it\'s an array job.+jobSummary_arrayProperties :: Lens.Lens' JobSummary (Prelude.Maybe ArrayPropertiesSummary)+jobSummary_arrayProperties = Lens.lens (\JobSummary' {arrayProperties} -> arrayProperties) (\s@JobSummary' {} a -> s {arrayProperties = a} :: JobSummary)++-- | An object that represents the details of the container that\'s+-- associated with the job.+jobSummary_container :: Lens.Lens' JobSummary (Prelude.Maybe ContainerSummary)+jobSummary_container = Lens.lens (\JobSummary' {container} -> container) (\s@JobSummary' {} a -> s {container = a} :: JobSummary)++-- | 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.+jobSummary_createdAt :: Lens.Lens' JobSummary (Prelude.Maybe Prelude.Integer)+jobSummary_createdAt = Lens.lens (\JobSummary' {createdAt} -> createdAt) (\s@JobSummary' {} a -> s {createdAt = a} :: JobSummary)++-- | The Amazon Resource Name (ARN) of the job.+jobSummary_jobArn :: Lens.Lens' JobSummary (Prelude.Maybe Prelude.Text)+jobSummary_jobArn = Lens.lens (\JobSummary' {jobArn} -> jobArn) (\s@JobSummary' {} a -> s {jobArn = a} :: JobSummary)++-- | The Amazon Resource Name (ARN) of the job definition.+jobSummary_jobDefinition :: Lens.Lens' JobSummary (Prelude.Maybe Prelude.Text)+jobSummary_jobDefinition = Lens.lens (\JobSummary' {jobDefinition} -> jobDefinition) (\s@JobSummary' {} a -> s {jobDefinition = a} :: JobSummary)++-- | The node properties for a single node in a job summary list.+--+-- This isn\'t applicable to jobs that are running on Fargate resources.+jobSummary_nodeProperties :: Lens.Lens' JobSummary (Prelude.Maybe NodePropertiesSummary)+jobSummary_nodeProperties = Lens.lens (\JobSummary' {nodeProperties} -> nodeProperties) (\s@JobSummary' {} a -> s {nodeProperties = a} :: JobSummary)++-- | 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.+jobSummary_startedAt :: Lens.Lens' JobSummary (Prelude.Maybe Prelude.Integer)+jobSummary_startedAt = Lens.lens (\JobSummary' {startedAt} -> startedAt) (\s@JobSummary' {} a -> s {startedAt = a} :: JobSummary)++-- | The current status for the job.+jobSummary_status :: Lens.Lens' JobSummary (Prelude.Maybe JobStatus)+jobSummary_status = Lens.lens (\JobSummary' {status} -> status) (\s@JobSummary' {} a -> s {status = a} :: JobSummary)++-- | A short, human-readable string to provide more details for the current+-- status of the job.+jobSummary_statusReason :: Lens.Lens' JobSummary (Prelude.Maybe Prelude.Text)+jobSummary_statusReason = Lens.lens (\JobSummary' {statusReason} -> statusReason) (\s@JobSummary' {} a -> s {statusReason = a} :: JobSummary)++-- | 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@.+jobSummary_stoppedAt :: Lens.Lens' JobSummary (Prelude.Maybe Prelude.Integer)+jobSummary_stoppedAt = Lens.lens (\JobSummary' {stoppedAt} -> stoppedAt) (\s@JobSummary' {} a -> s {stoppedAt = a} :: JobSummary)++-- | The job ID.+jobSummary_jobId :: Lens.Lens' JobSummary Prelude.Text+jobSummary_jobId = Lens.lens (\JobSummary' {jobId} -> jobId) (\s@JobSummary' {} a -> s {jobId = a} :: JobSummary)++-- | The job name.+jobSummary_jobName :: Lens.Lens' JobSummary Prelude.Text+jobSummary_jobName = Lens.lens (\JobSummary' {jobName} -> jobName) (\s@JobSummary' {} a -> s {jobName = a} :: JobSummary)++instance Data.FromJSON JobSummary where+ parseJSON =+ Data.withObject+ "JobSummary"+ ( \x ->+ JobSummary'+ Prelude.<$> (x Data..:? "arrayProperties")+ Prelude.<*> (x Data..:? "container")+ Prelude.<*> (x Data..:? "createdAt")+ Prelude.<*> (x Data..:? "jobArn")+ Prelude.<*> (x Data..:? "jobDefinition")+ Prelude.<*> (x Data..:? "nodeProperties")+ Prelude.<*> (x Data..:? "startedAt")+ Prelude.<*> (x Data..:? "status")+ Prelude.<*> (x Data..:? "statusReason")+ Prelude.<*> (x Data..:? "stoppedAt")+ Prelude.<*> (x Data..: "jobId")+ Prelude.<*> (x Data..: "jobName")+ )++instance Prelude.Hashable JobSummary where+ hashWithSalt _salt JobSummary' {..} =+ _salt+ `Prelude.hashWithSalt` arrayProperties+ `Prelude.hashWithSalt` container+ `Prelude.hashWithSalt` createdAt+ `Prelude.hashWithSalt` jobArn+ `Prelude.hashWithSalt` jobDefinition+ `Prelude.hashWithSalt` nodeProperties+ `Prelude.hashWithSalt` startedAt+ `Prelude.hashWithSalt` status+ `Prelude.hashWithSalt` statusReason+ `Prelude.hashWithSalt` stoppedAt+ `Prelude.hashWithSalt` jobId+ `Prelude.hashWithSalt` jobName++instance Prelude.NFData JobSummary where+ rnf JobSummary' {..} =+ Prelude.rnf arrayProperties+ `Prelude.seq` Prelude.rnf container+ `Prelude.seq` Prelude.rnf createdAt+ `Prelude.seq` Prelude.rnf jobArn+ `Prelude.seq` Prelude.rnf jobDefinition+ `Prelude.seq` Prelude.rnf nodeProperties+ `Prelude.seq` Prelude.rnf startedAt+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf statusReason+ `Prelude.seq` Prelude.rnf stoppedAt+ `Prelude.seq` Prelude.rnf jobId+ `Prelude.seq` Prelude.rnf jobName
+ gen/Amazonka/Batch/Types/JobTimeout.hs view
@@ -0,0 +1,108 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.JobTimeout+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.JobTimeout where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that represents a job timeout configuration.+--+-- /See:/ 'newJobTimeout' smart constructor.+data JobTimeout = JobTimeout'+ { -- | 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 :: Prelude.Maybe Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'JobTimeout' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'attemptDurationSeconds', 'jobTimeout_attemptDurationSeconds' - 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.+newJobTimeout ::+ JobTimeout+newJobTimeout =+ JobTimeout'+ { attemptDurationSeconds =+ Prelude.Nothing+ }++-- | 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.+jobTimeout_attemptDurationSeconds :: Lens.Lens' JobTimeout (Prelude.Maybe Prelude.Int)+jobTimeout_attemptDurationSeconds = Lens.lens (\JobTimeout' {attemptDurationSeconds} -> attemptDurationSeconds) (\s@JobTimeout' {} a -> s {attemptDurationSeconds = a} :: JobTimeout)++instance Data.FromJSON JobTimeout where+ parseJSON =+ Data.withObject+ "JobTimeout"+ ( \x ->+ JobTimeout'+ Prelude.<$> (x Data..:? "attemptDurationSeconds")+ )++instance Prelude.Hashable JobTimeout where+ hashWithSalt _salt JobTimeout' {..} =+ _salt `Prelude.hashWithSalt` attemptDurationSeconds++instance Prelude.NFData JobTimeout where+ rnf JobTimeout' {..} =+ Prelude.rnf attemptDurationSeconds++instance Data.ToJSON JobTimeout where+ toJSON JobTimeout' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("attemptDurationSeconds" Data..=)+ Prelude.<$> attemptDurationSeconds+ ]+ )
+ gen/Amazonka/Batch/Types/KeyValuePair.hs view
@@ -0,0 +1,98 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.KeyValuePair+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.KeyValuePair where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A key-value pair object.+--+-- /See:/ 'newKeyValuePair' smart constructor.+data KeyValuePair = KeyValuePair'+ { -- | The name of the key-value pair. For environment variables, this is the+ -- name of the environment variable.+ name :: Prelude.Maybe Prelude.Text,+ -- | The value of the key-value pair. For environment variables, this is the+ -- value of the environment variable.+ value :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'KeyValuePair' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'keyValuePair_name' - The name of the key-value pair. For environment variables, this is the+-- name of the environment variable.+--+-- 'value', 'keyValuePair_value' - The value of the key-value pair. For environment variables, this is the+-- value of the environment variable.+newKeyValuePair ::+ KeyValuePair+newKeyValuePair =+ KeyValuePair'+ { name = Prelude.Nothing,+ value = Prelude.Nothing+ }++-- | The name of the key-value pair. For environment variables, this is the+-- name of the environment variable.+keyValuePair_name :: Lens.Lens' KeyValuePair (Prelude.Maybe Prelude.Text)+keyValuePair_name = Lens.lens (\KeyValuePair' {name} -> name) (\s@KeyValuePair' {} a -> s {name = a} :: KeyValuePair)++-- | The value of the key-value pair. For environment variables, this is the+-- value of the environment variable.+keyValuePair_value :: Lens.Lens' KeyValuePair (Prelude.Maybe Prelude.Text)+keyValuePair_value = Lens.lens (\KeyValuePair' {value} -> value) (\s@KeyValuePair' {} a -> s {value = a} :: KeyValuePair)++instance Data.FromJSON KeyValuePair where+ parseJSON =+ Data.withObject+ "KeyValuePair"+ ( \x ->+ KeyValuePair'+ Prelude.<$> (x Data..:? "name")+ Prelude.<*> (x Data..:? "value")+ )++instance Prelude.Hashable KeyValuePair where+ hashWithSalt _salt KeyValuePair' {..} =+ _salt+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` value++instance Prelude.NFData KeyValuePair where+ rnf KeyValuePair' {..} =+ Prelude.rnf name `Prelude.seq` Prelude.rnf value++instance Data.ToJSON KeyValuePair where+ toJSON KeyValuePair' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("name" Data..=) Prelude.<$> name,+ ("value" Data..=) Prelude.<$> value+ ]+ )
+ gen/Amazonka/Batch/Types/KeyValuesPair.hs view
@@ -0,0 +1,83 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.KeyValuesPair+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.KeyValuesPair where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A filter name and value pair that\'s used to return a more specific list+-- of results from a @ListJobs@ API operation.+--+-- /See:/ 'newKeyValuesPair' smart constructor.+data KeyValuesPair = KeyValuesPair'+ { -- | The name of the filter. Filter names are case sensitive.+ name :: Prelude.Maybe Prelude.Text,+ -- | The filter values.+ values :: Prelude.Maybe [Prelude.Text]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'KeyValuesPair' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'keyValuesPair_name' - The name of the filter. Filter names are case sensitive.+--+-- 'values', 'keyValuesPair_values' - The filter values.+newKeyValuesPair ::+ KeyValuesPair+newKeyValuesPair =+ KeyValuesPair'+ { name = Prelude.Nothing,+ values = Prelude.Nothing+ }++-- | The name of the filter. Filter names are case sensitive.+keyValuesPair_name :: Lens.Lens' KeyValuesPair (Prelude.Maybe Prelude.Text)+keyValuesPair_name = Lens.lens (\KeyValuesPair' {name} -> name) (\s@KeyValuesPair' {} a -> s {name = a} :: KeyValuesPair)++-- | The filter values.+keyValuesPair_values :: Lens.Lens' KeyValuesPair (Prelude.Maybe [Prelude.Text])+keyValuesPair_values = Lens.lens (\KeyValuesPair' {values} -> values) (\s@KeyValuesPair' {} a -> s {values = a} :: KeyValuesPair) Prelude.. Lens.mapping Lens.coerced++instance Prelude.Hashable KeyValuesPair where+ hashWithSalt _salt KeyValuesPair' {..} =+ _salt+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` values++instance Prelude.NFData KeyValuesPair where+ rnf KeyValuesPair' {..} =+ Prelude.rnf name `Prelude.seq` Prelude.rnf values++instance Data.ToJSON KeyValuesPair where+ toJSON KeyValuesPair' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("name" Data..=) Prelude.<$> name,+ ("values" Data..=) Prelude.<$> values+ ]+ )
+ gen/Amazonka/Batch/Types/LaunchTemplateSpecification.hs view
@@ -0,0 +1,176 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.LaunchTemplateSpecification+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.LaunchTemplateSpecification where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | 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.+--+-- /See:/ 'newLaunchTemplateSpecification' smart constructor.+data LaunchTemplateSpecification = LaunchTemplateSpecification'+ { -- | The ID of the launch template.+ launchTemplateId :: Prelude.Maybe Prelude.Text,+ -- | The name of the launch template.+ launchTemplateName :: Prelude.Maybe Prelude.Text,+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+ -- in the /Batch User Guide/.+ --+ -- Default: @$Default@.+ version :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'LaunchTemplateSpecification' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'launchTemplateId', 'launchTemplateSpecification_launchTemplateId' - The ID of the launch template.+--+-- 'launchTemplateName', 'launchTemplateSpecification_launchTemplateName' - The name of the launch template.+--+-- 'version', 'launchTemplateSpecification_version' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+--+-- Default: @$Default@.+newLaunchTemplateSpecification ::+ LaunchTemplateSpecification+newLaunchTemplateSpecification =+ LaunchTemplateSpecification'+ { launchTemplateId =+ Prelude.Nothing,+ launchTemplateName = Prelude.Nothing,+ version = Prelude.Nothing+ }++-- | The ID of the launch template.+launchTemplateSpecification_launchTemplateId :: Lens.Lens' LaunchTemplateSpecification (Prelude.Maybe Prelude.Text)+launchTemplateSpecification_launchTemplateId = Lens.lens (\LaunchTemplateSpecification' {launchTemplateId} -> launchTemplateId) (\s@LaunchTemplateSpecification' {} a -> s {launchTemplateId = a} :: LaunchTemplateSpecification)++-- | The name of the launch template.+launchTemplateSpecification_launchTemplateName :: Lens.Lens' LaunchTemplateSpecification (Prelude.Maybe Prelude.Text)+launchTemplateSpecification_launchTemplateName = Lens.lens (\LaunchTemplateSpecification' {launchTemplateName} -> launchTemplateName) (\s@LaunchTemplateSpecification' {} a -> s {launchTemplateName = a} :: LaunchTemplateSpecification)++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+--+-- Default: @$Default@.+launchTemplateSpecification_version :: Lens.Lens' LaunchTemplateSpecification (Prelude.Maybe Prelude.Text)+launchTemplateSpecification_version = Lens.lens (\LaunchTemplateSpecification' {version} -> version) (\s@LaunchTemplateSpecification' {} a -> s {version = a} :: LaunchTemplateSpecification)++instance Data.FromJSON LaunchTemplateSpecification where+ parseJSON =+ Data.withObject+ "LaunchTemplateSpecification"+ ( \x ->+ LaunchTemplateSpecification'+ Prelude.<$> (x Data..:? "launchTemplateId")+ Prelude.<*> (x Data..:? "launchTemplateName")+ Prelude.<*> (x Data..:? "version")+ )++instance Prelude.Hashable LaunchTemplateSpecification where+ hashWithSalt _salt LaunchTemplateSpecification' {..} =+ _salt+ `Prelude.hashWithSalt` launchTemplateId+ `Prelude.hashWithSalt` launchTemplateName+ `Prelude.hashWithSalt` version++instance Prelude.NFData LaunchTemplateSpecification where+ rnf LaunchTemplateSpecification' {..} =+ Prelude.rnf launchTemplateId+ `Prelude.seq` Prelude.rnf launchTemplateName+ `Prelude.seq` Prelude.rnf version++instance Data.ToJSON LaunchTemplateSpecification where+ toJSON LaunchTemplateSpecification' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("launchTemplateId" Data..=)+ Prelude.<$> launchTemplateId,+ ("launchTemplateName" Data..=)+ Prelude.<$> launchTemplateName,+ ("version" Data..=) Prelude.<$> version+ ]+ )
+ gen/Amazonka/Batch/Types/LinuxParameters.hs view
@@ -0,0 +1,363 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.LinuxParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.LinuxParameters where++import Amazonka.Batch.Types.Device+import Amazonka.Batch.Types.Tmpfs+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Linux-specific modifications that are applied to the container, such as+-- details for device mappings.+--+-- /See:/ 'newLinuxParameters' smart constructor.+data LinuxParameters = LinuxParameters'+ { -- | Any of the host devices to expose to the container. This parameter maps+ -- to @Devices@ in the+ -- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+ -- @--device@ option to+ -- <https://docs.docker.com/engine/reference/run/ docker run>.+ --+ -- This parameter isn\'t applicable to jobs that are running on Fargate+ -- resources. Don\'t provide it for these jobs.+ devices :: Prelude.Maybe [Device],+ -- | If true, run an @init@ process inside the container that forwards+ -- signals and reaps processes. This parameter maps to the @--init@ option+ -- to <https://docs.docker.com/engine/reference/run/ docker 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 :: Prelude.Maybe Prelude.Bool,+ -- | The total amount of swap memory (in MiB) a container can use. This+ -- parameter is translated to the @--memory-swap@ option to+ -- <https://docs.docker.com/engine/reference/run/ docker run> where the+ -- value is the sum of the container memory plus the @maxSwap@ value. For+ -- more information, see+ -- <https://docs.docker.com/config/containers/resource_constraints/#--memory-swap-details --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 :: Prelude.Maybe Prelude.Int,+ -- | The value for the size (in MiB) of the @\/dev\/shm@ volume. This+ -- parameter maps to the @--shm-size@ option to+ -- <https://docs.docker.com/engine/reference/run/ docker run>.+ --+ -- This parameter isn\'t applicable to jobs that are running on Fargate+ -- resources. Don\'t provide it for these jobs.+ sharedMemorySize :: Prelude.Maybe Prelude.Int,+ -- | 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 <https://docs.docker.com/engine/reference/run/ docker 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+ -- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-store-swap-volumes.html Instance store swap volumes>+ -- in the /Amazon EC2 User Guide for Linux Instances/ or+ -- <http://aws.amazon.com/premiumsupport/knowledge-center/ec2-memory-swap-file/ How do I allocate memory to work as swap space in an Amazon EC2 instance by using a 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 :: Prelude.Maybe Prelude.Int,+ -- | The container path, mount options, and size (in MiB) of the @tmpfs@+ -- mount. This parameter maps to the @--tmpfs@ option to+ -- <https://docs.docker.com/engine/reference/run/ docker run>.+ --+ -- This parameter isn\'t applicable to jobs that are running on Fargate+ -- resources. Don\'t provide this parameter for this resource type.+ tmpfs :: Prelude.Maybe [Tmpfs]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'LinuxParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'devices', 'linuxParameters_devices' - Any of the host devices to expose to the container. This parameter maps+-- to @Devices@ in the+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--device@ option to+-- <https://docs.docker.com/engine/reference/run/ docker run>.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources. Don\'t provide it for these jobs.+--+-- 'initProcessEnabled', 'linuxParameters_initProcessEnabled' - If true, run an @init@ process inside the container that forwards+-- signals and reaps processes. This parameter maps to the @--init@ option+-- to <https://docs.docker.com/engine/reference/run/ docker 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\"@+--+-- 'maxSwap', 'linuxParameters_maxSwap' - The total amount of swap memory (in MiB) a container can use. This+-- parameter is translated to the @--memory-swap@ option to+-- <https://docs.docker.com/engine/reference/run/ docker run> where the+-- value is the sum of the container memory plus the @maxSwap@ value. For+-- more information, see+-- <https://docs.docker.com/config/containers/resource_constraints/#--memory-swap-details --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.+--+-- 'sharedMemorySize', 'linuxParameters_sharedMemorySize' - The value for the size (in MiB) of the @\/dev\/shm@ volume. This+-- parameter maps to the @--shm-size@ option to+-- <https://docs.docker.com/engine/reference/run/ docker run>.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources. Don\'t provide it for these jobs.+--+-- 'swappiness', 'linuxParameters_swappiness' - 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 <https://docs.docker.com/engine/reference/run/ docker 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+-- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-store-swap-volumes.html Instance store swap volumes>+-- in the /Amazon EC2 User Guide for Linux Instances/ or+-- <http://aws.amazon.com/premiumsupport/knowledge-center/ec2-memory-swap-file/ How do I allocate memory to work as swap space in an Amazon EC2 instance by using a 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.+--+-- 'tmpfs', 'linuxParameters_tmpfs' - The container path, mount options, and size (in MiB) of the @tmpfs@+-- mount. This parameter maps to the @--tmpfs@ option to+-- <https://docs.docker.com/engine/reference/run/ docker run>.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources. Don\'t provide this parameter for this resource type.+newLinuxParameters ::+ LinuxParameters+newLinuxParameters =+ LinuxParameters'+ { devices = Prelude.Nothing,+ initProcessEnabled = Prelude.Nothing,+ maxSwap = Prelude.Nothing,+ sharedMemorySize = Prelude.Nothing,+ swappiness = Prelude.Nothing,+ tmpfs = Prelude.Nothing+ }++-- | Any of the host devices to expose to the container. This parameter maps+-- to @Devices@ in the+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and the+-- @--device@ option to+-- <https://docs.docker.com/engine/reference/run/ docker run>.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources. Don\'t provide it for these jobs.+linuxParameters_devices :: Lens.Lens' LinuxParameters (Prelude.Maybe [Device])+linuxParameters_devices = Lens.lens (\LinuxParameters' {devices} -> devices) (\s@LinuxParameters' {} a -> s {devices = a} :: LinuxParameters) Prelude.. Lens.mapping Lens.coerced++-- | If true, run an @init@ process inside the container that forwards+-- signals and reaps processes. This parameter maps to the @--init@ option+-- to <https://docs.docker.com/engine/reference/run/ docker 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\"@+linuxParameters_initProcessEnabled :: Lens.Lens' LinuxParameters (Prelude.Maybe Prelude.Bool)+linuxParameters_initProcessEnabled = Lens.lens (\LinuxParameters' {initProcessEnabled} -> initProcessEnabled) (\s@LinuxParameters' {} a -> s {initProcessEnabled = a} :: LinuxParameters)++-- | The total amount of swap memory (in MiB) a container can use. This+-- parameter is translated to the @--memory-swap@ option to+-- <https://docs.docker.com/engine/reference/run/ docker run> where the+-- value is the sum of the container memory plus the @maxSwap@ value. For+-- more information, see+-- <https://docs.docker.com/config/containers/resource_constraints/#--memory-swap-details --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.+linuxParameters_maxSwap :: Lens.Lens' LinuxParameters (Prelude.Maybe Prelude.Int)+linuxParameters_maxSwap = Lens.lens (\LinuxParameters' {maxSwap} -> maxSwap) (\s@LinuxParameters' {} a -> s {maxSwap = a} :: LinuxParameters)++-- | The value for the size (in MiB) of the @\/dev\/shm@ volume. This+-- parameter maps to the @--shm-size@ option to+-- <https://docs.docker.com/engine/reference/run/ docker run>.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources. Don\'t provide it for these jobs.+linuxParameters_sharedMemorySize :: Lens.Lens' LinuxParameters (Prelude.Maybe Prelude.Int)+linuxParameters_sharedMemorySize = Lens.lens (\LinuxParameters' {sharedMemorySize} -> sharedMemorySize) (\s@LinuxParameters' {} a -> s {sharedMemorySize = a} :: LinuxParameters)++-- | 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 <https://docs.docker.com/engine/reference/run/ docker 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+-- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-store-swap-volumes.html Instance store swap volumes>+-- in the /Amazon EC2 User Guide for Linux Instances/ or+-- <http://aws.amazon.com/premiumsupport/knowledge-center/ec2-memory-swap-file/ How do I allocate memory to work as swap space in an Amazon EC2 instance by using a 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.+linuxParameters_swappiness :: Lens.Lens' LinuxParameters (Prelude.Maybe Prelude.Int)+linuxParameters_swappiness = Lens.lens (\LinuxParameters' {swappiness} -> swappiness) (\s@LinuxParameters' {} a -> s {swappiness = a} :: LinuxParameters)++-- | The container path, mount options, and size (in MiB) of the @tmpfs@+-- mount. This parameter maps to the @--tmpfs@ option to+-- <https://docs.docker.com/engine/reference/run/ docker run>.+--+-- This parameter isn\'t applicable to jobs that are running on Fargate+-- resources. Don\'t provide this parameter for this resource type.+linuxParameters_tmpfs :: Lens.Lens' LinuxParameters (Prelude.Maybe [Tmpfs])+linuxParameters_tmpfs = Lens.lens (\LinuxParameters' {tmpfs} -> tmpfs) (\s@LinuxParameters' {} a -> s {tmpfs = a} :: LinuxParameters) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON LinuxParameters where+ parseJSON =+ Data.withObject+ "LinuxParameters"+ ( \x ->+ LinuxParameters'+ Prelude.<$> (x Data..:? "devices" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "initProcessEnabled")+ Prelude.<*> (x Data..:? "maxSwap")+ Prelude.<*> (x Data..:? "sharedMemorySize")+ Prelude.<*> (x Data..:? "swappiness")+ Prelude.<*> (x Data..:? "tmpfs" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable LinuxParameters where+ hashWithSalt _salt LinuxParameters' {..} =+ _salt+ `Prelude.hashWithSalt` devices+ `Prelude.hashWithSalt` initProcessEnabled+ `Prelude.hashWithSalt` maxSwap+ `Prelude.hashWithSalt` sharedMemorySize+ `Prelude.hashWithSalt` swappiness+ `Prelude.hashWithSalt` tmpfs++instance Prelude.NFData LinuxParameters where+ rnf LinuxParameters' {..} =+ Prelude.rnf devices+ `Prelude.seq` Prelude.rnf initProcessEnabled+ `Prelude.seq` Prelude.rnf maxSwap+ `Prelude.seq` Prelude.rnf sharedMemorySize+ `Prelude.seq` Prelude.rnf swappiness+ `Prelude.seq` Prelude.rnf tmpfs++instance Data.ToJSON LinuxParameters where+ toJSON LinuxParameters' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("devices" Data..=) Prelude.<$> devices,+ ("initProcessEnabled" Data..=)+ Prelude.<$> initProcessEnabled,+ ("maxSwap" Data..=) Prelude.<$> maxSwap,+ ("sharedMemorySize" Data..=)+ Prelude.<$> sharedMemorySize,+ ("swappiness" Data..=) Prelude.<$> swappiness,+ ("tmpfs" Data..=) Prelude.<$> tmpfs+ ]+ )
+ gen/Amazonka/Batch/Types/LogConfiguration.hs view
@@ -0,0 +1,327 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.LogConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.LogConfiguration where++import Amazonka.Batch.Types.LogDriver+import Amazonka.Batch.Types.Secret+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Log configuration options to send to a custom log driver for the+-- container.+--+-- /See:/ 'newLogConfiguration' smart constructor.+data LogConfiguration = LogConfiguration'+ { -- | 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 :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | The secrets to pass to the log configuration. For more information, see+ -- <https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html Specifying sensitive data>+ -- in the /Batch User Guide/.+ secretOptions :: Prelude.Maybe [Secret],+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/using_awslogs.html Using the awslogs log driver>+ -- in the /Batch User Guide/ and+ -- <https://docs.docker.com/config/containers/logging/awslogs/ Amazon CloudWatch Logs logging driver>+ -- in the Docker documentation.+ --+ -- [fluentd]+ -- Specifies the Fluentd logging driver. For more information including+ -- usage and options, see+ -- <https://docs.docker.com/config/containers/logging/fluentd/ Fluentd logging driver>+ -- in the /Docker documentation/.+ --+ -- [gelf]+ -- Specifies the Graylog Extended Format (GELF) logging driver. For+ -- more information including usage and options, see+ -- <https://docs.docker.com/config/containers/logging/gelf/ Graylog Extended Format logging driver>+ -- in the /Docker documentation/.+ --+ -- [journald]+ -- Specifies the journald logging driver. For more information+ -- including usage and options, see+ -- <https://docs.docker.com/config/containers/logging/journald/ Journald logging driver>+ -- in the /Docker documentation/.+ --+ -- [json-file]+ -- Specifies the JSON file logging driver. For more information+ -- including usage and options, see+ -- <https://docs.docker.com/config/containers/logging/json-file/ JSON File logging driver>+ -- in the /Docker documentation/.+ --+ -- [splunk]+ -- Specifies the Splunk logging driver. For more information including+ -- usage and options, see+ -- <https://docs.docker.com/config/containers/logging/splunk/ Splunk logging driver>+ -- in the /Docker documentation/.+ --+ -- [syslog]+ -- Specifies the syslog logging driver. For more information including+ -- usage and options, see+ -- <https://docs.docker.com/config/containers/logging/syslog/ Syslog logging driver>+ -- 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+ -- <https://github.com/aws/amazon-ecs-agent available on GitHub> 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 :: LogDriver+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'LogConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'options', 'logConfiguration_options' - 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\"@+--+-- 'secretOptions', 'logConfiguration_secretOptions' - The secrets to pass to the log configuration. For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html Specifying sensitive data>+-- in the /Batch User Guide/.+--+-- 'logDriver', 'logConfiguration_logDriver' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/using_awslogs.html Using the awslogs log driver>+-- in the /Batch User Guide/ and+-- <https://docs.docker.com/config/containers/logging/awslogs/ Amazon CloudWatch Logs logging driver>+-- in the Docker documentation.+--+-- [fluentd]+-- Specifies the Fluentd logging driver. For more information including+-- usage and options, see+-- <https://docs.docker.com/config/containers/logging/fluentd/ Fluentd logging driver>+-- in the /Docker documentation/.+--+-- [gelf]+-- Specifies the Graylog Extended Format (GELF) logging driver. For+-- more information including usage and options, see+-- <https://docs.docker.com/config/containers/logging/gelf/ Graylog Extended Format logging driver>+-- in the /Docker documentation/.+--+-- [journald]+-- Specifies the journald logging driver. For more information+-- including usage and options, see+-- <https://docs.docker.com/config/containers/logging/journald/ Journald logging driver>+-- in the /Docker documentation/.+--+-- [json-file]+-- Specifies the JSON file logging driver. For more information+-- including usage and options, see+-- <https://docs.docker.com/config/containers/logging/json-file/ JSON File logging driver>+-- in the /Docker documentation/.+--+-- [splunk]+-- Specifies the Splunk logging driver. For more information including+-- usage and options, see+-- <https://docs.docker.com/config/containers/logging/splunk/ Splunk logging driver>+-- in the /Docker documentation/.+--+-- [syslog]+-- Specifies the syslog logging driver. For more information including+-- usage and options, see+-- <https://docs.docker.com/config/containers/logging/syslog/ Syslog logging driver>+-- 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+-- <https://github.com/aws/amazon-ecs-agent available on GitHub> 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\"@+newLogConfiguration ::+ -- | 'logDriver'+ LogDriver ->+ LogConfiguration+newLogConfiguration pLogDriver_ =+ LogConfiguration'+ { options = Prelude.Nothing,+ secretOptions = Prelude.Nothing,+ logDriver = pLogDriver_+ }++-- | 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\"@+logConfiguration_options :: Lens.Lens' LogConfiguration (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+logConfiguration_options = Lens.lens (\LogConfiguration' {options} -> options) (\s@LogConfiguration' {} a -> s {options = a} :: LogConfiguration) Prelude.. Lens.mapping Lens.coerced++-- | The secrets to pass to the log configuration. For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html Specifying sensitive data>+-- in the /Batch User Guide/.+logConfiguration_secretOptions :: Lens.Lens' LogConfiguration (Prelude.Maybe [Secret])+logConfiguration_secretOptions = Lens.lens (\LogConfiguration' {secretOptions} -> secretOptions) (\s@LogConfiguration' {} a -> s {secretOptions = a} :: LogConfiguration) Prelude.. Lens.mapping Lens.coerced++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/using_awslogs.html Using the awslogs log driver>+-- in the /Batch User Guide/ and+-- <https://docs.docker.com/config/containers/logging/awslogs/ Amazon CloudWatch Logs logging driver>+-- in the Docker documentation.+--+-- [fluentd]+-- Specifies the Fluentd logging driver. For more information including+-- usage and options, see+-- <https://docs.docker.com/config/containers/logging/fluentd/ Fluentd logging driver>+-- in the /Docker documentation/.+--+-- [gelf]+-- Specifies the Graylog Extended Format (GELF) logging driver. For+-- more information including usage and options, see+-- <https://docs.docker.com/config/containers/logging/gelf/ Graylog Extended Format logging driver>+-- in the /Docker documentation/.+--+-- [journald]+-- Specifies the journald logging driver. For more information+-- including usage and options, see+-- <https://docs.docker.com/config/containers/logging/journald/ Journald logging driver>+-- in the /Docker documentation/.+--+-- [json-file]+-- Specifies the JSON file logging driver. For more information+-- including usage and options, see+-- <https://docs.docker.com/config/containers/logging/json-file/ JSON File logging driver>+-- in the /Docker documentation/.+--+-- [splunk]+-- Specifies the Splunk logging driver. For more information including+-- usage and options, see+-- <https://docs.docker.com/config/containers/logging/splunk/ Splunk logging driver>+-- in the /Docker documentation/.+--+-- [syslog]+-- Specifies the syslog logging driver. For more information including+-- usage and options, see+-- <https://docs.docker.com/config/containers/logging/syslog/ Syslog logging driver>+-- 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+-- <https://github.com/aws/amazon-ecs-agent available on GitHub> 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\"@+logConfiguration_logDriver :: Lens.Lens' LogConfiguration LogDriver+logConfiguration_logDriver = Lens.lens (\LogConfiguration' {logDriver} -> logDriver) (\s@LogConfiguration' {} a -> s {logDriver = a} :: LogConfiguration)++instance Data.FromJSON LogConfiguration where+ parseJSON =+ Data.withObject+ "LogConfiguration"+ ( \x ->+ LogConfiguration'+ Prelude.<$> (x Data..:? "options" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "secretOptions" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..: "logDriver")+ )++instance Prelude.Hashable LogConfiguration where+ hashWithSalt _salt LogConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` options+ `Prelude.hashWithSalt` secretOptions+ `Prelude.hashWithSalt` logDriver++instance Prelude.NFData LogConfiguration where+ rnf LogConfiguration' {..} =+ Prelude.rnf options+ `Prelude.seq` Prelude.rnf secretOptions+ `Prelude.seq` Prelude.rnf logDriver++instance Data.ToJSON LogConfiguration where+ toJSON LogConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("options" Data..=) Prelude.<$> options,+ ("secretOptions" Data..=) Prelude.<$> secretOptions,+ Prelude.Just ("logDriver" Data..= logDriver)+ ]+ )
+ gen/Amazonka/Batch/Types/LogDriver.hs view
@@ -0,0 +1,96 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.LogDriver+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.LogDriver+ ( LogDriver+ ( ..,+ LogDriver_Awslogs,+ LogDriver_Fluentd,+ LogDriver_Gelf,+ LogDriver_Journald,+ LogDriver_Json_file,+ LogDriver_Splunk,+ LogDriver_Syslog+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype LogDriver = LogDriver'+ { fromLogDriver ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern LogDriver_Awslogs :: LogDriver+pattern LogDriver_Awslogs = LogDriver' "awslogs"++pattern LogDriver_Fluentd :: LogDriver+pattern LogDriver_Fluentd = LogDriver' "fluentd"++pattern LogDriver_Gelf :: LogDriver+pattern LogDriver_Gelf = LogDriver' "gelf"++pattern LogDriver_Journald :: LogDriver+pattern LogDriver_Journald = LogDriver' "journald"++pattern LogDriver_Json_file :: LogDriver+pattern LogDriver_Json_file = LogDriver' "json-file"++pattern LogDriver_Splunk :: LogDriver+pattern LogDriver_Splunk = LogDriver' "splunk"++pattern LogDriver_Syslog :: LogDriver+pattern LogDriver_Syslog = LogDriver' "syslog"++{-# COMPLETE+ LogDriver_Awslogs,+ LogDriver_Fluentd,+ LogDriver_Gelf,+ LogDriver_Journald,+ LogDriver_Json_file,+ LogDriver_Splunk,+ LogDriver_Syslog,+ LogDriver'+ #-}
+ gen/Amazonka/Batch/Types/MountPoint.hs view
@@ -0,0 +1,116 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.MountPoint+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.MountPoint where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Details for a Docker volume mount point that\'s used in a job\'s+-- container properties. This parameter maps to @Volumes@ in the+-- <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.19/#create-a-container Create a container>+-- section of the /Docker Remote API/ and the @--volume@ option to docker+-- run.+--+-- /See:/ 'newMountPoint' smart constructor.+data MountPoint = MountPoint'+ { -- | The path on the container where the host volume is mounted.+ containerPath :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe Prelude.Bool,+ -- | The name of the volume to mount.+ sourceVolume :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'MountPoint' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'containerPath', 'mountPoint_containerPath' - The path on the container where the host volume is mounted.+--+-- 'readOnly', 'mountPoint_readOnly' - 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@.+--+-- 'sourceVolume', 'mountPoint_sourceVolume' - The name of the volume to mount.+newMountPoint ::+ MountPoint+newMountPoint =+ MountPoint'+ { containerPath = Prelude.Nothing,+ readOnly = Prelude.Nothing,+ sourceVolume = Prelude.Nothing+ }++-- | The path on the container where the host volume is mounted.+mountPoint_containerPath :: Lens.Lens' MountPoint (Prelude.Maybe Prelude.Text)+mountPoint_containerPath = Lens.lens (\MountPoint' {containerPath} -> containerPath) (\s@MountPoint' {} a -> s {containerPath = a} :: MountPoint)++-- | 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@.+mountPoint_readOnly :: Lens.Lens' MountPoint (Prelude.Maybe Prelude.Bool)+mountPoint_readOnly = Lens.lens (\MountPoint' {readOnly} -> readOnly) (\s@MountPoint' {} a -> s {readOnly = a} :: MountPoint)++-- | The name of the volume to mount.+mountPoint_sourceVolume :: Lens.Lens' MountPoint (Prelude.Maybe Prelude.Text)+mountPoint_sourceVolume = Lens.lens (\MountPoint' {sourceVolume} -> sourceVolume) (\s@MountPoint' {} a -> s {sourceVolume = a} :: MountPoint)++instance Data.FromJSON MountPoint where+ parseJSON =+ Data.withObject+ "MountPoint"+ ( \x ->+ MountPoint'+ Prelude.<$> (x Data..:? "containerPath")+ Prelude.<*> (x Data..:? "readOnly")+ Prelude.<*> (x Data..:? "sourceVolume")+ )++instance Prelude.Hashable MountPoint where+ hashWithSalt _salt MountPoint' {..} =+ _salt+ `Prelude.hashWithSalt` containerPath+ `Prelude.hashWithSalt` readOnly+ `Prelude.hashWithSalt` sourceVolume++instance Prelude.NFData MountPoint where+ rnf MountPoint' {..} =+ Prelude.rnf containerPath+ `Prelude.seq` Prelude.rnf readOnly+ `Prelude.seq` Prelude.rnf sourceVolume++instance Data.ToJSON MountPoint where+ toJSON MountPoint' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("containerPath" Data..=) Prelude.<$> containerPath,+ ("readOnly" Data..=) Prelude.<$> readOnly,+ ("sourceVolume" Data..=) Prelude.<$> sourceVolume+ ]+ )
+ gen/Amazonka/Batch/Types/NetworkConfiguration.hs view
@@ -0,0 +1,105 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.NetworkConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.NetworkConfiguration where++import Amazonka.Batch.Types.AssignPublicIp+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The network configuration for jobs that are running on Fargate+-- resources. Jobs that are running on EC2 resources must not specify this+-- parameter.+--+-- /See:/ 'newNetworkConfiguration' smart constructor.+data NetworkConfiguration = NetworkConfiguration'+ { -- | 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+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Amazon ECS task networking>+ -- in the /Amazon Elastic Container Service Developer Guide/. The default+ -- value is \"@DISABLED@\".+ assignPublicIp :: Prelude.Maybe AssignPublicIp+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'NetworkConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'assignPublicIp', 'networkConfiguration_assignPublicIp' - 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+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Amazon ECS task networking>+-- in the /Amazon Elastic Container Service Developer Guide/. The default+-- value is \"@DISABLED@\".+newNetworkConfiguration ::+ NetworkConfiguration+newNetworkConfiguration =+ NetworkConfiguration'+ { assignPublicIp =+ Prelude.Nothing+ }++-- | 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+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Amazon ECS task networking>+-- in the /Amazon Elastic Container Service Developer Guide/. The default+-- value is \"@DISABLED@\".+networkConfiguration_assignPublicIp :: Lens.Lens' NetworkConfiguration (Prelude.Maybe AssignPublicIp)+networkConfiguration_assignPublicIp = Lens.lens (\NetworkConfiguration' {assignPublicIp} -> assignPublicIp) (\s@NetworkConfiguration' {} a -> s {assignPublicIp = a} :: NetworkConfiguration)++instance Data.FromJSON NetworkConfiguration where+ parseJSON =+ Data.withObject+ "NetworkConfiguration"+ ( \x ->+ NetworkConfiguration'+ Prelude.<$> (x Data..:? "assignPublicIp")+ )++instance Prelude.Hashable NetworkConfiguration where+ hashWithSalt _salt NetworkConfiguration' {..} =+ _salt `Prelude.hashWithSalt` assignPublicIp++instance Prelude.NFData NetworkConfiguration where+ rnf NetworkConfiguration' {..} =+ Prelude.rnf assignPublicIp++instance Data.ToJSON NetworkConfiguration where+ toJSON NetworkConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("assignPublicIp" Data..=)+ Prelude.<$> assignPublicIp+ ]+ )
+ gen/Amazonka/Batch/Types/NetworkInterface.hs view
@@ -0,0 +1,97 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.NetworkInterface+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.NetworkInterface where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that represents the elastic network interface for a multi-node+-- parallel job node.+--+-- /See:/ 'newNetworkInterface' smart constructor.+data NetworkInterface = NetworkInterface'+ { -- | The attachment ID for the network interface.+ attachmentId :: Prelude.Maybe Prelude.Text,+ -- | The private IPv6 address for the network interface.+ ipv6Address :: Prelude.Maybe Prelude.Text,+ -- | The private IPv4 address for the network interface.+ privateIpv4Address :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'NetworkInterface' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'attachmentId', 'networkInterface_attachmentId' - The attachment ID for the network interface.+--+-- 'ipv6Address', 'networkInterface_ipv6Address' - The private IPv6 address for the network interface.+--+-- 'privateIpv4Address', 'networkInterface_privateIpv4Address' - The private IPv4 address for the network interface.+newNetworkInterface ::+ NetworkInterface+newNetworkInterface =+ NetworkInterface'+ { attachmentId = Prelude.Nothing,+ ipv6Address = Prelude.Nothing,+ privateIpv4Address = Prelude.Nothing+ }++-- | The attachment ID for the network interface.+networkInterface_attachmentId :: Lens.Lens' NetworkInterface (Prelude.Maybe Prelude.Text)+networkInterface_attachmentId = Lens.lens (\NetworkInterface' {attachmentId} -> attachmentId) (\s@NetworkInterface' {} a -> s {attachmentId = a} :: NetworkInterface)++-- | The private IPv6 address for the network interface.+networkInterface_ipv6Address :: Lens.Lens' NetworkInterface (Prelude.Maybe Prelude.Text)+networkInterface_ipv6Address = Lens.lens (\NetworkInterface' {ipv6Address} -> ipv6Address) (\s@NetworkInterface' {} a -> s {ipv6Address = a} :: NetworkInterface)++-- | The private IPv4 address for the network interface.+networkInterface_privateIpv4Address :: Lens.Lens' NetworkInterface (Prelude.Maybe Prelude.Text)+networkInterface_privateIpv4Address = Lens.lens (\NetworkInterface' {privateIpv4Address} -> privateIpv4Address) (\s@NetworkInterface' {} a -> s {privateIpv4Address = a} :: NetworkInterface)++instance Data.FromJSON NetworkInterface where+ parseJSON =+ Data.withObject+ "NetworkInterface"+ ( \x ->+ NetworkInterface'+ Prelude.<$> (x Data..:? "attachmentId")+ Prelude.<*> (x Data..:? "ipv6Address")+ Prelude.<*> (x Data..:? "privateIpv4Address")+ )++instance Prelude.Hashable NetworkInterface where+ hashWithSalt _salt NetworkInterface' {..} =+ _salt+ `Prelude.hashWithSalt` attachmentId+ `Prelude.hashWithSalt` ipv6Address+ `Prelude.hashWithSalt` privateIpv4Address++instance Prelude.NFData NetworkInterface where+ rnf NetworkInterface' {..} =+ Prelude.rnf attachmentId+ `Prelude.seq` Prelude.rnf ipv6Address+ `Prelude.seq` Prelude.rnf privateIpv4Address
+ gen/Amazonka/Batch/Types/NodeDetails.hs view
@@ -0,0 +1,93 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.NodeDetails+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.NodeDetails where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that represents the details of a multi-node parallel job node.+--+-- /See:/ 'newNodeDetails' smart constructor.+data NodeDetails = NodeDetails'+ { -- | Specifies whether the current node is the main node for a multi-node+ -- parallel job.+ isMainNode :: Prelude.Maybe Prelude.Bool,+ -- | 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 :: Prelude.Maybe Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'NodeDetails' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'isMainNode', 'nodeDetails_isMainNode' - Specifies whether the current node is the main node for a multi-node+-- parallel job.+--+-- 'nodeIndex', 'nodeDetails_nodeIndex' - 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.+newNodeDetails ::+ NodeDetails+newNodeDetails =+ NodeDetails'+ { isMainNode = Prelude.Nothing,+ nodeIndex = Prelude.Nothing+ }++-- | Specifies whether the current node is the main node for a multi-node+-- parallel job.+nodeDetails_isMainNode :: Lens.Lens' NodeDetails (Prelude.Maybe Prelude.Bool)+nodeDetails_isMainNode = Lens.lens (\NodeDetails' {isMainNode} -> isMainNode) (\s@NodeDetails' {} a -> s {isMainNode = a} :: NodeDetails)++-- | 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.+nodeDetails_nodeIndex :: Lens.Lens' NodeDetails (Prelude.Maybe Prelude.Int)+nodeDetails_nodeIndex = Lens.lens (\NodeDetails' {nodeIndex} -> nodeIndex) (\s@NodeDetails' {} a -> s {nodeIndex = a} :: NodeDetails)++instance Data.FromJSON NodeDetails where+ parseJSON =+ Data.withObject+ "NodeDetails"+ ( \x ->+ NodeDetails'+ Prelude.<$> (x Data..:? "isMainNode")+ Prelude.<*> (x Data..:? "nodeIndex")+ )++instance Prelude.Hashable NodeDetails where+ hashWithSalt _salt NodeDetails' {..} =+ _salt+ `Prelude.hashWithSalt` isMainNode+ `Prelude.hashWithSalt` nodeIndex++instance Prelude.NFData NodeDetails where+ rnf NodeDetails' {..} =+ Prelude.rnf isMainNode+ `Prelude.seq` Prelude.rnf nodeIndex
+ gen/Amazonka/Batch/Types/NodeOverrides.hs view
@@ -0,0 +1,127 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.NodeOverrides+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.NodeOverrides where++import Amazonka.Batch.Types.NodePropertyOverride+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | 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.+--+-- /See:/ 'newNodeOverrides' smart constructor.+data NodeOverrides = NodeOverrides'+ { -- | The node property overrides for the job.+ nodePropertyOverrides :: Prelude.Maybe [NodePropertyOverride],+ -- | 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 :: Prelude.Maybe Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'NodeOverrides' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nodePropertyOverrides', 'nodeOverrides_nodePropertyOverrides' - The node property overrides for the job.+--+-- 'numNodes', 'nodeOverrides_numNodes' - 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.+newNodeOverrides ::+ NodeOverrides+newNodeOverrides =+ NodeOverrides'+ { nodePropertyOverrides =+ Prelude.Nothing,+ numNodes = Prelude.Nothing+ }++-- | The node property overrides for the job.+nodeOverrides_nodePropertyOverrides :: Lens.Lens' NodeOverrides (Prelude.Maybe [NodePropertyOverride])+nodeOverrides_nodePropertyOverrides = Lens.lens (\NodeOverrides' {nodePropertyOverrides} -> nodePropertyOverrides) (\s@NodeOverrides' {} a -> s {nodePropertyOverrides = a} :: NodeOverrides) Prelude.. Lens.mapping Lens.coerced++-- | 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.+nodeOverrides_numNodes :: Lens.Lens' NodeOverrides (Prelude.Maybe Prelude.Int)+nodeOverrides_numNodes = Lens.lens (\NodeOverrides' {numNodes} -> numNodes) (\s@NodeOverrides' {} a -> s {numNodes = a} :: NodeOverrides)++instance Prelude.Hashable NodeOverrides where+ hashWithSalt _salt NodeOverrides' {..} =+ _salt+ `Prelude.hashWithSalt` nodePropertyOverrides+ `Prelude.hashWithSalt` numNodes++instance Prelude.NFData NodeOverrides where+ rnf NodeOverrides' {..} =+ Prelude.rnf nodePropertyOverrides+ `Prelude.seq` Prelude.rnf numNodes++instance Data.ToJSON NodeOverrides where+ toJSON NodeOverrides' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("nodePropertyOverrides" Data..=)+ Prelude.<$> nodePropertyOverrides,+ ("numNodes" Data..=) Prelude.<$> numNodes+ ]+ )
+ gen/Amazonka/Batch/Types/NodeProperties.hs view
@@ -0,0 +1,125 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.NodeProperties+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.NodeProperties where++import Amazonka.Batch.Types.NodeRangeProperty+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | 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.+--+-- /See:/ 'newNodeProperties' smart constructor.+data NodeProperties = NodeProperties'+ { -- | The number of nodes that are associated with a multi-node parallel job.+ numNodes :: Prelude.Int,+ -- | 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 :: Prelude.Int,+ -- | A list of node ranges and their properties that are associated with a+ -- multi-node parallel job.+ nodeRangeProperties :: [NodeRangeProperty]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'NodeProperties' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'numNodes', 'nodeProperties_numNodes' - The number of nodes that are associated with a multi-node parallel job.+--+-- 'mainNode', 'nodeProperties_mainNode' - 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.+--+-- 'nodeRangeProperties', 'nodeProperties_nodeRangeProperties' - A list of node ranges and their properties that are associated with a+-- multi-node parallel job.+newNodeProperties ::+ -- | 'numNodes'+ Prelude.Int ->+ -- | 'mainNode'+ Prelude.Int ->+ NodeProperties+newNodeProperties pNumNodes_ pMainNode_ =+ NodeProperties'+ { numNodes = pNumNodes_,+ mainNode = pMainNode_,+ nodeRangeProperties = Prelude.mempty+ }++-- | The number of nodes that are associated with a multi-node parallel job.+nodeProperties_numNodes :: Lens.Lens' NodeProperties Prelude.Int+nodeProperties_numNodes = Lens.lens (\NodeProperties' {numNodes} -> numNodes) (\s@NodeProperties' {} a -> s {numNodes = a} :: NodeProperties)++-- | 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.+nodeProperties_mainNode :: Lens.Lens' NodeProperties Prelude.Int+nodeProperties_mainNode = Lens.lens (\NodeProperties' {mainNode} -> mainNode) (\s@NodeProperties' {} a -> s {mainNode = a} :: NodeProperties)++-- | A list of node ranges and their properties that are associated with a+-- multi-node parallel job.+nodeProperties_nodeRangeProperties :: Lens.Lens' NodeProperties [NodeRangeProperty]+nodeProperties_nodeRangeProperties = Lens.lens (\NodeProperties' {nodeRangeProperties} -> nodeRangeProperties) (\s@NodeProperties' {} a -> s {nodeRangeProperties = a} :: NodeProperties) Prelude.. Lens.coerced++instance Data.FromJSON NodeProperties where+ parseJSON =+ Data.withObject+ "NodeProperties"+ ( \x ->+ NodeProperties'+ Prelude.<$> (x Data..: "numNodes")+ Prelude.<*> (x Data..: "mainNode")+ Prelude.<*> ( x+ Data..:? "nodeRangeProperties"+ Data..!= Prelude.mempty+ )+ )++instance Prelude.Hashable NodeProperties where+ hashWithSalt _salt NodeProperties' {..} =+ _salt+ `Prelude.hashWithSalt` numNodes+ `Prelude.hashWithSalt` mainNode+ `Prelude.hashWithSalt` nodeRangeProperties++instance Prelude.NFData NodeProperties where+ rnf NodeProperties' {..} =+ Prelude.rnf numNodes+ `Prelude.seq` Prelude.rnf mainNode+ `Prelude.seq` Prelude.rnf nodeRangeProperties++instance Data.ToJSON NodeProperties where+ toJSON NodeProperties' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("numNodes" Data..= numNodes),+ Prelude.Just ("mainNode" Data..= mainNode),+ Prelude.Just+ ("nodeRangeProperties" Data..= nodeRangeProperties)+ ]+ )
+ gen/Amazonka/Batch/Types/NodePropertiesSummary.hs view
@@ -0,0 +1,107 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.NodePropertiesSummary+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.NodePropertiesSummary where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that represents the properties of a node that\'s associated+-- with a multi-node parallel job.+--+-- /See:/ 'newNodePropertiesSummary' smart constructor.+data NodePropertiesSummary = NodePropertiesSummary'+ { -- | Specifies whether the current node is the main node for a multi-node+ -- parallel job.+ isMainNode :: Prelude.Maybe Prelude.Bool,+ -- | 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 :: Prelude.Maybe Prelude.Int,+ -- | The number of nodes that are associated with a multi-node parallel job.+ numNodes :: Prelude.Maybe Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'NodePropertiesSummary' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'isMainNode', 'nodePropertiesSummary_isMainNode' - Specifies whether the current node is the main node for a multi-node+-- parallel job.+--+-- 'nodeIndex', 'nodePropertiesSummary_nodeIndex' - 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.+--+-- 'numNodes', 'nodePropertiesSummary_numNodes' - The number of nodes that are associated with a multi-node parallel job.+newNodePropertiesSummary ::+ NodePropertiesSummary+newNodePropertiesSummary =+ NodePropertiesSummary'+ { isMainNode =+ Prelude.Nothing,+ nodeIndex = Prelude.Nothing,+ numNodes = Prelude.Nothing+ }++-- | Specifies whether the current node is the main node for a multi-node+-- parallel job.+nodePropertiesSummary_isMainNode :: Lens.Lens' NodePropertiesSummary (Prelude.Maybe Prelude.Bool)+nodePropertiesSummary_isMainNode = Lens.lens (\NodePropertiesSummary' {isMainNode} -> isMainNode) (\s@NodePropertiesSummary' {} a -> s {isMainNode = a} :: NodePropertiesSummary)++-- | 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.+nodePropertiesSummary_nodeIndex :: Lens.Lens' NodePropertiesSummary (Prelude.Maybe Prelude.Int)+nodePropertiesSummary_nodeIndex = Lens.lens (\NodePropertiesSummary' {nodeIndex} -> nodeIndex) (\s@NodePropertiesSummary' {} a -> s {nodeIndex = a} :: NodePropertiesSummary)++-- | The number of nodes that are associated with a multi-node parallel job.+nodePropertiesSummary_numNodes :: Lens.Lens' NodePropertiesSummary (Prelude.Maybe Prelude.Int)+nodePropertiesSummary_numNodes = Lens.lens (\NodePropertiesSummary' {numNodes} -> numNodes) (\s@NodePropertiesSummary' {} a -> s {numNodes = a} :: NodePropertiesSummary)++instance Data.FromJSON NodePropertiesSummary where+ parseJSON =+ Data.withObject+ "NodePropertiesSummary"+ ( \x ->+ NodePropertiesSummary'+ Prelude.<$> (x Data..:? "isMainNode")+ Prelude.<*> (x Data..:? "nodeIndex")+ Prelude.<*> (x Data..:? "numNodes")+ )++instance Prelude.Hashable NodePropertiesSummary where+ hashWithSalt _salt NodePropertiesSummary' {..} =+ _salt+ `Prelude.hashWithSalt` isMainNode+ `Prelude.hashWithSalt` nodeIndex+ `Prelude.hashWithSalt` numNodes++instance Prelude.NFData NodePropertiesSummary where+ rnf NodePropertiesSummary' {..} =+ Prelude.rnf isMainNode+ `Prelude.seq` Prelude.rnf nodeIndex+ `Prelude.seq` Prelude.rnf numNodes
+ gen/Amazonka/Batch/Types/NodePropertyOverride.hs view
@@ -0,0 +1,101 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.NodePropertyOverride+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.NodePropertyOverride where++import Amazonka.Batch.Types.ContainerOverrides+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The object that represents any node overrides to a job definition+-- that\'s used in a SubmitJob API operation.+--+-- /See:/ 'newNodePropertyOverride' smart constructor.+data NodePropertyOverride = NodePropertyOverride'+ { -- | The overrides that are sent to a node range.+ containerOverrides :: Prelude.Maybe ContainerOverrides,+ -- | 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 :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'NodePropertyOverride' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'containerOverrides', 'nodePropertyOverride_containerOverrides' - The overrides that are sent to a node range.+--+-- 'targetNodes', 'nodePropertyOverride_targetNodes' - 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.+newNodePropertyOverride ::+ -- | 'targetNodes'+ Prelude.Text ->+ NodePropertyOverride+newNodePropertyOverride pTargetNodes_ =+ NodePropertyOverride'+ { containerOverrides =+ Prelude.Nothing,+ targetNodes = pTargetNodes_+ }++-- | The overrides that are sent to a node range.+nodePropertyOverride_containerOverrides :: Lens.Lens' NodePropertyOverride (Prelude.Maybe ContainerOverrides)+nodePropertyOverride_containerOverrides = Lens.lens (\NodePropertyOverride' {containerOverrides} -> containerOverrides) (\s@NodePropertyOverride' {} a -> s {containerOverrides = a} :: NodePropertyOverride)++-- | 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.+nodePropertyOverride_targetNodes :: Lens.Lens' NodePropertyOverride Prelude.Text+nodePropertyOverride_targetNodes = Lens.lens (\NodePropertyOverride' {targetNodes} -> targetNodes) (\s@NodePropertyOverride' {} a -> s {targetNodes = a} :: NodePropertyOverride)++instance Prelude.Hashable NodePropertyOverride where+ hashWithSalt _salt NodePropertyOverride' {..} =+ _salt+ `Prelude.hashWithSalt` containerOverrides+ `Prelude.hashWithSalt` targetNodes++instance Prelude.NFData NodePropertyOverride where+ rnf NodePropertyOverride' {..} =+ Prelude.rnf containerOverrides+ `Prelude.seq` Prelude.rnf targetNodes++instance Data.ToJSON NodePropertyOverride where+ toJSON NodePropertyOverride' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("containerOverrides" Data..=)+ Prelude.<$> containerOverrides,+ Prelude.Just ("targetNodes" Data..= targetNodes)+ ]+ )
+ gen/Amazonka/Batch/Types/NodeRangeProperty.hs view
@@ -0,0 +1,118 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.NodeRangeProperty+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.NodeRangeProperty where++import Amazonka.Batch.Types.ContainerProperties+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that represents the properties of the node range for a+-- multi-node parallel job.+--+-- /See:/ 'newNodeRangeProperty' smart constructor.+data NodeRangeProperty = NodeRangeProperty'+ { -- | The container details for the node range.+ container :: Prelude.Maybe ContainerProperties,+ -- | 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 :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'NodeRangeProperty' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'container', 'nodeRangeProperty_container' - The container details for the node range.+--+-- 'targetNodes', 'nodeRangeProperty_targetNodes' - 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.+newNodeRangeProperty ::+ -- | 'targetNodes'+ Prelude.Text ->+ NodeRangeProperty+newNodeRangeProperty pTargetNodes_ =+ NodeRangeProperty'+ { container = Prelude.Nothing,+ targetNodes = pTargetNodes_+ }++-- | The container details for the node range.+nodeRangeProperty_container :: Lens.Lens' NodeRangeProperty (Prelude.Maybe ContainerProperties)+nodeRangeProperty_container = Lens.lens (\NodeRangeProperty' {container} -> container) (\s@NodeRangeProperty' {} a -> s {container = a} :: NodeRangeProperty)++-- | 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.+nodeRangeProperty_targetNodes :: Lens.Lens' NodeRangeProperty Prelude.Text+nodeRangeProperty_targetNodes = Lens.lens (\NodeRangeProperty' {targetNodes} -> targetNodes) (\s@NodeRangeProperty' {} a -> s {targetNodes = a} :: NodeRangeProperty)++instance Data.FromJSON NodeRangeProperty where+ parseJSON =+ Data.withObject+ "NodeRangeProperty"+ ( \x ->+ NodeRangeProperty'+ Prelude.<$> (x Data..:? "container")+ Prelude.<*> (x Data..: "targetNodes")+ )++instance Prelude.Hashable NodeRangeProperty where+ hashWithSalt _salt NodeRangeProperty' {..} =+ _salt+ `Prelude.hashWithSalt` container+ `Prelude.hashWithSalt` targetNodes++instance Prelude.NFData NodeRangeProperty where+ rnf NodeRangeProperty' {..} =+ Prelude.rnf container+ `Prelude.seq` Prelude.rnf targetNodes++instance Data.ToJSON NodeRangeProperty where+ toJSON NodeRangeProperty' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("container" Data..=) Prelude.<$> container,+ Prelude.Just ("targetNodes" Data..= targetNodes)+ ]+ )
+ gen/Amazonka/Batch/Types/OrchestrationType.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.OrchestrationType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.OrchestrationType+ ( OrchestrationType+ ( ..,+ OrchestrationType_ECS,+ OrchestrationType_EKS+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype OrchestrationType = OrchestrationType'+ { fromOrchestrationType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern OrchestrationType_ECS :: OrchestrationType+pattern OrchestrationType_ECS = OrchestrationType' "ECS"++pattern OrchestrationType_EKS :: OrchestrationType+pattern OrchestrationType_EKS = OrchestrationType' "EKS"++{-# COMPLETE+ OrchestrationType_ECS,+ OrchestrationType_EKS,+ OrchestrationType'+ #-}
+ gen/Amazonka/Batch/Types/PlatformCapability.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.PlatformCapability+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.PlatformCapability+ ( PlatformCapability+ ( ..,+ PlatformCapability_EC2,+ PlatformCapability_FARGATE+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype PlatformCapability = PlatformCapability'+ { fromPlatformCapability ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern PlatformCapability_EC2 :: PlatformCapability+pattern PlatformCapability_EC2 = PlatformCapability' "EC2"++pattern PlatformCapability_FARGATE :: PlatformCapability+pattern PlatformCapability_FARGATE = PlatformCapability' "FARGATE"++{-# COMPLETE+ PlatformCapability_EC2,+ PlatformCapability_FARGATE,+ PlatformCapability'+ #-}
+ gen/Amazonka/Batch/Types/ResourceRequirement.hs view
@@ -0,0 +1,494 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.ResourceRequirement+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.ResourceRequirement where++import Amazonka.Batch.Types.ResourceType+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The type and amount of a resource to assign to a container. The+-- supported resources include @GPU@, @MEMORY@, and @VCPU@.+--+-- /See:/ 'newResourceRequirement' smart constructor.+data ResourceRequirement = ResourceRequirement'+ { -- | 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+ -- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and+ -- the @--memory@ option to+ -- <https://docs.docker.com/engine/reference/run/ docker 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+ -- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and+ -- the @--memory@ option to+ -- <https://docs.docker.com/engine/reference/run/ docker 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html Memory management>+ -- 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, 4, or 8+ --+ -- [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+ -- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and+ -- the @--cpu-shares@ option to+ -- <https://docs.docker.com/engine/reference/run/ docker 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+ -- <https://docs.aws.amazon.com/general/latest/gr/ecs-service.html#service-quotas-fargate Fargate quotas>+ -- 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 :: Prelude.Text,+ -- | The type of resource to assign to a container. The supported resources+ -- include @GPU@, @MEMORY@, and @VCPU@.+ type' :: ResourceType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ResourceRequirement' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'value', 'resourceRequirement_value' - 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+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and+-- the @--memory@ option to+-- <https://docs.docker.com/engine/reference/run/ docker 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+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and+-- the @--memory@ option to+-- <https://docs.docker.com/engine/reference/run/ docker 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html Memory management>+-- 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, 4, or 8+--+-- [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+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and+-- the @--cpu-shares@ option to+-- <https://docs.docker.com/engine/reference/run/ docker 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+-- <https://docs.aws.amazon.com/general/latest/gr/ecs-service.html#service-quotas-fargate Fargate quotas>+-- 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+--+-- 'type'', 'resourceRequirement_type' - The type of resource to assign to a container. The supported resources+-- include @GPU@, @MEMORY@, and @VCPU@.+newResourceRequirement ::+ -- | 'value'+ Prelude.Text ->+ -- | 'type''+ ResourceType ->+ ResourceRequirement+newResourceRequirement pValue_ pType_ =+ ResourceRequirement'+ { value = pValue_,+ type' = pType_+ }++-- | 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+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and+-- the @--memory@ option to+-- <https://docs.docker.com/engine/reference/run/ docker 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+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and+-- the @--memory@ option to+-- <https://docs.docker.com/engine/reference/run/ docker 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html Memory management>+-- 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, 4, or 8+--+-- [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+-- <https://docs.docker.com/engine/api/v1.23/#create-a-container Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.23/ Docker Remote API> and+-- the @--cpu-shares@ option to+-- <https://docs.docker.com/engine/reference/run/ docker 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+-- <https://docs.aws.amazon.com/general/latest/gr/ecs-service.html#service-quotas-fargate Fargate quotas>+-- 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+resourceRequirement_value :: Lens.Lens' ResourceRequirement Prelude.Text+resourceRequirement_value = Lens.lens (\ResourceRequirement' {value} -> value) (\s@ResourceRequirement' {} a -> s {value = a} :: ResourceRequirement)++-- | The type of resource to assign to a container. The supported resources+-- include @GPU@, @MEMORY@, and @VCPU@.+resourceRequirement_type :: Lens.Lens' ResourceRequirement ResourceType+resourceRequirement_type = Lens.lens (\ResourceRequirement' {type'} -> type') (\s@ResourceRequirement' {} a -> s {type' = a} :: ResourceRequirement)++instance Data.FromJSON ResourceRequirement where+ parseJSON =+ Data.withObject+ "ResourceRequirement"+ ( \x ->+ ResourceRequirement'+ Prelude.<$> (x Data..: "value")+ Prelude.<*> (x Data..: "type")+ )++instance Prelude.Hashable ResourceRequirement where+ hashWithSalt _salt ResourceRequirement' {..} =+ _salt+ `Prelude.hashWithSalt` value+ `Prelude.hashWithSalt` type'++instance Prelude.NFData ResourceRequirement where+ rnf ResourceRequirement' {..} =+ Prelude.rnf value `Prelude.seq` Prelude.rnf type'++instance Data.ToJSON ResourceRequirement where+ toJSON ResourceRequirement' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("value" Data..= value),+ Prelude.Just ("type" Data..= type')+ ]+ )
+ gen/Amazonka/Batch/Types/ResourceType.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.ResourceType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.ResourceType+ ( ResourceType+ ( ..,+ ResourceType_GPU,+ ResourceType_MEMORY,+ ResourceType_VCPU+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ResourceType = ResourceType'+ { fromResourceType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern ResourceType_GPU :: ResourceType+pattern ResourceType_GPU = ResourceType' "GPU"++pattern ResourceType_MEMORY :: ResourceType+pattern ResourceType_MEMORY = ResourceType' "MEMORY"++pattern ResourceType_VCPU :: ResourceType+pattern ResourceType_VCPU = ResourceType' "VCPU"++{-# COMPLETE+ ResourceType_GPU,+ ResourceType_MEMORY,+ ResourceType_VCPU,+ ResourceType'+ #-}
+ gen/Amazonka/Batch/Types/RetryAction.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.RetryAction+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.RetryAction+ ( RetryAction+ ( ..,+ RetryAction_EXIT,+ RetryAction_RETRY+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype RetryAction = RetryAction'+ { fromRetryAction ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern RetryAction_EXIT :: RetryAction+pattern RetryAction_EXIT = RetryAction' "EXIT"++pattern RetryAction_RETRY :: RetryAction+pattern RetryAction_RETRY = RetryAction' "RETRY"++{-# COMPLETE+ RetryAction_EXIT,+ RetryAction_RETRY,+ RetryAction'+ #-}
+ gen/Amazonka/Batch/Types/RetryStrategy.hs view
@@ -0,0 +1,119 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.RetryStrategy+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.RetryStrategy where++import Amazonka.Batch.Types.EvaluateOnExit+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The retry strategy that\'s associated with a job. For more information,+-- see+-- <https://docs.aws.amazon.com/batch/latest/userguide/job_retries.html Automated job retries>+-- in the /Batch User Guide/.+--+-- /See:/ 'newRetryStrategy' smart constructor.+data RetryStrategy = RetryStrategy'+ { -- | 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 :: Prelude.Maybe Prelude.Int,+ -- | 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 :: Prelude.Maybe [EvaluateOnExit]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RetryStrategy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'attempts', 'retryStrategy_attempts' - 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.+--+-- 'evaluateOnExit', 'retryStrategy_evaluateOnExit' - 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.+newRetryStrategy ::+ RetryStrategy+newRetryStrategy =+ RetryStrategy'+ { attempts = Prelude.Nothing,+ evaluateOnExit = Prelude.Nothing+ }++-- | 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.+retryStrategy_attempts :: Lens.Lens' RetryStrategy (Prelude.Maybe Prelude.Int)+retryStrategy_attempts = Lens.lens (\RetryStrategy' {attempts} -> attempts) (\s@RetryStrategy' {} a -> s {attempts = a} :: RetryStrategy)++-- | 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.+retryStrategy_evaluateOnExit :: Lens.Lens' RetryStrategy (Prelude.Maybe [EvaluateOnExit])+retryStrategy_evaluateOnExit = Lens.lens (\RetryStrategy' {evaluateOnExit} -> evaluateOnExit) (\s@RetryStrategy' {} a -> s {evaluateOnExit = a} :: RetryStrategy) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON RetryStrategy where+ parseJSON =+ Data.withObject+ "RetryStrategy"+ ( \x ->+ RetryStrategy'+ Prelude.<$> (x Data..:? "attempts")+ Prelude.<*> ( x+ Data..:? "evaluateOnExit"+ Data..!= Prelude.mempty+ )+ )++instance Prelude.Hashable RetryStrategy where+ hashWithSalt _salt RetryStrategy' {..} =+ _salt+ `Prelude.hashWithSalt` attempts+ `Prelude.hashWithSalt` evaluateOnExit++instance Prelude.NFData RetryStrategy where+ rnf RetryStrategy' {..} =+ Prelude.rnf attempts+ `Prelude.seq` Prelude.rnf evaluateOnExit++instance Data.ToJSON RetryStrategy where+ toJSON RetryStrategy' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("attempts" Data..=) Prelude.<$> attempts,+ ("evaluateOnExit" Data..=)+ Prelude.<$> evaluateOnExit+ ]+ )
+ gen/Amazonka/Batch/Types/SchedulingPolicyDetail.hs view
@@ -0,0 +1,129 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.SchedulingPolicyDetail+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.SchedulingPolicyDetail where++import Amazonka.Batch.Types.FairsharePolicy+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that represents a scheduling policy.+--+-- /See:/ 'newSchedulingPolicyDetail' smart constructor.+data SchedulingPolicyDetail = SchedulingPolicyDetail'+ { -- | The fair share policy for the scheduling policy.+ fairsharePolicy :: Prelude.Maybe FairsharePolicy,+ -- | 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+ -- <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html Tagging Amazon Web Services resources>+ -- in /Amazon Web Services General Reference/.+ tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | The name of the scheduling policy.+ name :: Prelude.Text,+ -- | The Amazon Resource Name (ARN) of the scheduling policy. An example is+ -- @arn:@/@aws@/@:batch:@/@us-east-1@/@:@/@123456789012@/@:scheduling-policy\/@/@HighPriority@/@ @.+ arn :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SchedulingPolicyDetail' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'fairsharePolicy', 'schedulingPolicyDetail_fairsharePolicy' - The fair share policy for the scheduling policy.+--+-- 'tags', 'schedulingPolicyDetail_tags' - 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+-- <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html Tagging Amazon Web Services resources>+-- in /Amazon Web Services General Reference/.+--+-- 'name', 'schedulingPolicyDetail_name' - The name of the scheduling policy.+--+-- 'arn', 'schedulingPolicyDetail_arn' - The Amazon Resource Name (ARN) of the scheduling policy. An example is+-- @arn:@/@aws@/@:batch:@/@us-east-1@/@:@/@123456789012@/@:scheduling-policy\/@/@HighPriority@/@ @.+newSchedulingPolicyDetail ::+ -- | 'name'+ Prelude.Text ->+ -- | 'arn'+ Prelude.Text ->+ SchedulingPolicyDetail+newSchedulingPolicyDetail pName_ pArn_ =+ SchedulingPolicyDetail'+ { fairsharePolicy =+ Prelude.Nothing,+ tags = Prelude.Nothing,+ name = pName_,+ arn = pArn_+ }++-- | The fair share policy for the scheduling policy.+schedulingPolicyDetail_fairsharePolicy :: Lens.Lens' SchedulingPolicyDetail (Prelude.Maybe FairsharePolicy)+schedulingPolicyDetail_fairsharePolicy = Lens.lens (\SchedulingPolicyDetail' {fairsharePolicy} -> fairsharePolicy) (\s@SchedulingPolicyDetail' {} a -> s {fairsharePolicy = a} :: SchedulingPolicyDetail)++-- | 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+-- <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html Tagging Amazon Web Services resources>+-- in /Amazon Web Services General Reference/.+schedulingPolicyDetail_tags :: Lens.Lens' SchedulingPolicyDetail (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+schedulingPolicyDetail_tags = Lens.lens (\SchedulingPolicyDetail' {tags} -> tags) (\s@SchedulingPolicyDetail' {} a -> s {tags = a} :: SchedulingPolicyDetail) Prelude.. Lens.mapping Lens.coerced++-- | The name of the scheduling policy.+schedulingPolicyDetail_name :: Lens.Lens' SchedulingPolicyDetail Prelude.Text+schedulingPolicyDetail_name = Lens.lens (\SchedulingPolicyDetail' {name} -> name) (\s@SchedulingPolicyDetail' {} a -> s {name = a} :: SchedulingPolicyDetail)++-- | The Amazon Resource Name (ARN) of the scheduling policy. An example is+-- @arn:@/@aws@/@:batch:@/@us-east-1@/@:@/@123456789012@/@:scheduling-policy\/@/@HighPriority@/@ @.+schedulingPolicyDetail_arn :: Lens.Lens' SchedulingPolicyDetail Prelude.Text+schedulingPolicyDetail_arn = Lens.lens (\SchedulingPolicyDetail' {arn} -> arn) (\s@SchedulingPolicyDetail' {} a -> s {arn = a} :: SchedulingPolicyDetail)++instance Data.FromJSON SchedulingPolicyDetail where+ parseJSON =+ Data.withObject+ "SchedulingPolicyDetail"+ ( \x ->+ SchedulingPolicyDetail'+ Prelude.<$> (x Data..:? "fairsharePolicy")+ Prelude.<*> (x Data..:? "tags" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..: "name")+ Prelude.<*> (x Data..: "arn")+ )++instance Prelude.Hashable SchedulingPolicyDetail where+ hashWithSalt _salt SchedulingPolicyDetail' {..} =+ _salt+ `Prelude.hashWithSalt` fairsharePolicy+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` arn++instance Prelude.NFData SchedulingPolicyDetail where+ rnf SchedulingPolicyDetail' {..} =+ Prelude.rnf fairsharePolicy+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf arn
+ gen/Amazonka/Batch/Types/SchedulingPolicyListingDetail.hs view
@@ -0,0 +1,75 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.SchedulingPolicyListingDetail+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.SchedulingPolicyListingDetail where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object that contains the details of a scheduling policy that\'s+-- returned in a @ListSchedulingPolicy@ action.+--+-- /See:/ 'newSchedulingPolicyListingDetail' smart constructor.+data SchedulingPolicyListingDetail = SchedulingPolicyListingDetail'+ { -- | Amazon Resource Name (ARN) of the scheduling policy.+ arn :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SchedulingPolicyListingDetail' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'schedulingPolicyListingDetail_arn' - Amazon Resource Name (ARN) of the scheduling policy.+newSchedulingPolicyListingDetail ::+ -- | 'arn'+ Prelude.Text ->+ SchedulingPolicyListingDetail+newSchedulingPolicyListingDetail pArn_ =+ SchedulingPolicyListingDetail' {arn = pArn_}++-- | Amazon Resource Name (ARN) of the scheduling policy.+schedulingPolicyListingDetail_arn :: Lens.Lens' SchedulingPolicyListingDetail Prelude.Text+schedulingPolicyListingDetail_arn = Lens.lens (\SchedulingPolicyListingDetail' {arn} -> arn) (\s@SchedulingPolicyListingDetail' {} a -> s {arn = a} :: SchedulingPolicyListingDetail)++instance Data.FromJSON SchedulingPolicyListingDetail where+ parseJSON =+ Data.withObject+ "SchedulingPolicyListingDetail"+ ( \x ->+ SchedulingPolicyListingDetail'+ Prelude.<$> (x Data..: "arn")+ )++instance+ Prelude.Hashable+ SchedulingPolicyListingDetail+ where+ hashWithSalt _salt SchedulingPolicyListingDetail' {..} =+ _salt `Prelude.hashWithSalt` arn++instance Prelude.NFData SchedulingPolicyListingDetail where+ rnf SchedulingPolicyListingDetail' {..} =+ Prelude.rnf arn
+ gen/Amazonka/Batch/Types/Secret.hs view
@@ -0,0 +1,132 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.Secret+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.Secret where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html Specifying sensitive data>+-- in the /Batch User Guide/.+--+-- /See:/ 'newSecret' smart constructor.+data Secret = Secret'+ { -- | The name of the secret.+ name :: Prelude.Text,+ -- | 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 :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Secret' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'secret_name' - The name of the secret.+--+-- 'valueFrom', 'secret_valueFrom' - 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.+newSecret ::+ -- | 'name'+ Prelude.Text ->+ -- | 'valueFrom'+ Prelude.Text ->+ Secret+newSecret pName_ pValueFrom_ =+ Secret' {name = pName_, valueFrom = pValueFrom_}++-- | The name of the secret.+secret_name :: Lens.Lens' Secret Prelude.Text+secret_name = Lens.lens (\Secret' {name} -> name) (\s@Secret' {} a -> s {name = a} :: Secret)++-- | 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.+secret_valueFrom :: Lens.Lens' Secret Prelude.Text+secret_valueFrom = Lens.lens (\Secret' {valueFrom} -> valueFrom) (\s@Secret' {} a -> s {valueFrom = a} :: Secret)++instance Data.FromJSON Secret where+ parseJSON =+ Data.withObject+ "Secret"+ ( \x ->+ Secret'+ Prelude.<$> (x Data..: "name")+ Prelude.<*> (x Data..: "valueFrom")+ )++instance Prelude.Hashable Secret where+ hashWithSalt _salt Secret' {..} =+ _salt+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` valueFrom++instance Prelude.NFData Secret where+ rnf Secret' {..} =+ Prelude.rnf name+ `Prelude.seq` Prelude.rnf valueFrom++instance Data.ToJSON Secret where+ toJSON Secret' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("name" Data..= name),+ Prelude.Just ("valueFrom" Data..= valueFrom)+ ]+ )
@@ -0,0 +1,152 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.ShareAttributes+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.ShareAttributes where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | 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@.+--+-- /See:/ 'newShareAttributes' smart constructor.+data ShareAttributes = ShareAttributes'+ { -- | The weight factor for the fair share identifier. The default value is+ -- 1.0. 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 :: Prelude.Maybe Prelude.Double,+ -- | A fair share identifier or fair share identifier prefix. If the string+ -- ends 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 :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ShareAttributes' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'weightFactor', 'shareAttributes_weightFactor' - The weight factor for the fair share identifier. The default value is+-- 1.0. 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.+--+-- 'shareIdentifier', 'shareAttributes_shareIdentifier' - A fair share identifier or fair share identifier prefix. If the string+-- ends 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 (*).+newShareAttributes ::+ -- | 'shareIdentifier'+ Prelude.Text ->+ ShareAttributes+newShareAttributes pShareIdentifier_ =+ ShareAttributes'+ { weightFactor = Prelude.Nothing,+ shareIdentifier = pShareIdentifier_+ }++-- | The weight factor for the fair share identifier. The default value is+-- 1.0. 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.+shareAttributes_weightFactor :: Lens.Lens' ShareAttributes (Prelude.Maybe Prelude.Double)+shareAttributes_weightFactor = Lens.lens (\ShareAttributes' {weightFactor} -> weightFactor) (\s@ShareAttributes' {} a -> s {weightFactor = a} :: ShareAttributes)++-- | A fair share identifier or fair share identifier prefix. If the string+-- ends 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 (*).+shareAttributes_shareIdentifier :: Lens.Lens' ShareAttributes Prelude.Text+shareAttributes_shareIdentifier = Lens.lens (\ShareAttributes' {shareIdentifier} -> shareIdentifier) (\s@ShareAttributes' {} a -> s {shareIdentifier = a} :: ShareAttributes)++instance Data.FromJSON ShareAttributes where+ parseJSON =+ Data.withObject+ "ShareAttributes"+ ( \x ->+ ShareAttributes'+ Prelude.<$> (x Data..:? "weightFactor")+ Prelude.<*> (x Data..: "shareIdentifier")+ )++instance Prelude.Hashable ShareAttributes where+ hashWithSalt _salt ShareAttributes' {..} =+ _salt+ `Prelude.hashWithSalt` weightFactor+ `Prelude.hashWithSalt` shareIdentifier++instance Prelude.NFData ShareAttributes where+ rnf ShareAttributes' {..} =+ Prelude.rnf weightFactor+ `Prelude.seq` Prelude.rnf shareIdentifier++instance Data.ToJSON ShareAttributes where+ toJSON ShareAttributes' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("weightFactor" Data..=) Prelude.<$> weightFactor,+ Prelude.Just+ ("shareIdentifier" Data..= shareIdentifier)+ ]+ )
+ gen/Amazonka/Batch/Types/Tmpfs.hs view
@@ -0,0 +1,146 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.Tmpfs+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.Tmpfs where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The container path, mount options, and size of the @tmpfs@ mount.+--+-- This object isn\'t applicable to jobs that are running on Fargate+-- resources.+--+-- /See:/ 'newTmpfs' smart constructor.+data Tmpfs = Tmpfs'+ { -- | 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 :: Prelude.Maybe [Prelude.Text],+ -- | The absolute file path in the container where the @tmpfs@ volume is+ -- mounted.+ containerPath :: Prelude.Text,+ -- | The size (in MiB) of the @tmpfs@ volume.+ size :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Tmpfs' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'mountOptions', 'tmpfs_mountOptions' - 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@\"+--+-- 'containerPath', 'tmpfs_containerPath' - The absolute file path in the container where the @tmpfs@ volume is+-- mounted.+--+-- 'size', 'tmpfs_size' - The size (in MiB) of the @tmpfs@ volume.+newTmpfs ::+ -- | 'containerPath'+ Prelude.Text ->+ -- | 'size'+ Prelude.Int ->+ Tmpfs+newTmpfs pContainerPath_ pSize_ =+ Tmpfs'+ { mountOptions = Prelude.Nothing,+ containerPath = pContainerPath_,+ size = pSize_+ }++-- | 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@\"+tmpfs_mountOptions :: Lens.Lens' Tmpfs (Prelude.Maybe [Prelude.Text])+tmpfs_mountOptions = Lens.lens (\Tmpfs' {mountOptions} -> mountOptions) (\s@Tmpfs' {} a -> s {mountOptions = a} :: Tmpfs) Prelude.. Lens.mapping Lens.coerced++-- | The absolute file path in the container where the @tmpfs@ volume is+-- mounted.+tmpfs_containerPath :: Lens.Lens' Tmpfs Prelude.Text+tmpfs_containerPath = Lens.lens (\Tmpfs' {containerPath} -> containerPath) (\s@Tmpfs' {} a -> s {containerPath = a} :: Tmpfs)++-- | The size (in MiB) of the @tmpfs@ volume.+tmpfs_size :: Lens.Lens' Tmpfs Prelude.Int+tmpfs_size = Lens.lens (\Tmpfs' {size} -> size) (\s@Tmpfs' {} a -> s {size = a} :: Tmpfs)++instance Data.FromJSON Tmpfs where+ parseJSON =+ Data.withObject+ "Tmpfs"+ ( \x ->+ Tmpfs'+ Prelude.<$> (x Data..:? "mountOptions" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..: "containerPath")+ Prelude.<*> (x Data..: "size")+ )++instance Prelude.Hashable Tmpfs where+ hashWithSalt _salt Tmpfs' {..} =+ _salt+ `Prelude.hashWithSalt` mountOptions+ `Prelude.hashWithSalt` containerPath+ `Prelude.hashWithSalt` size++instance Prelude.NFData Tmpfs where+ rnf Tmpfs' {..} =+ Prelude.rnf mountOptions+ `Prelude.seq` Prelude.rnf containerPath+ `Prelude.seq` Prelude.rnf size++instance Data.ToJSON Tmpfs where+ toJSON Tmpfs' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("mountOptions" Data..=) Prelude.<$> mountOptions,+ Prelude.Just ("containerPath" Data..= containerPath),+ Prelude.Just ("size" Data..= size)+ ]+ )
+ gen/Amazonka/Batch/Types/Ulimit.hs view
@@ -0,0 +1,115 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.Ulimit+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.Ulimit where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The @ulimit@ settings to pass to the container.+--+-- This object isn\'t applicable to jobs that are running on Fargate+-- resources.+--+-- /See:/ 'newUlimit' smart constructor.+data Ulimit = Ulimit'+ { -- | The hard limit for the @ulimit@ type.+ hardLimit :: Prelude.Int,+ -- | The @type@ of the @ulimit@.+ name :: Prelude.Text,+ -- | The soft limit for the @ulimit@ type.+ softLimit :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Ulimit' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'hardLimit', 'ulimit_hardLimit' - The hard limit for the @ulimit@ type.+--+-- 'name', 'ulimit_name' - The @type@ of the @ulimit@.+--+-- 'softLimit', 'ulimit_softLimit' - The soft limit for the @ulimit@ type.+newUlimit ::+ -- | 'hardLimit'+ Prelude.Int ->+ -- | 'name'+ Prelude.Text ->+ -- | 'softLimit'+ Prelude.Int ->+ Ulimit+newUlimit pHardLimit_ pName_ pSoftLimit_ =+ Ulimit'+ { hardLimit = pHardLimit_,+ name = pName_,+ softLimit = pSoftLimit_+ }++-- | The hard limit for the @ulimit@ type.+ulimit_hardLimit :: Lens.Lens' Ulimit Prelude.Int+ulimit_hardLimit = Lens.lens (\Ulimit' {hardLimit} -> hardLimit) (\s@Ulimit' {} a -> s {hardLimit = a} :: Ulimit)++-- | The @type@ of the @ulimit@.+ulimit_name :: Lens.Lens' Ulimit Prelude.Text+ulimit_name = Lens.lens (\Ulimit' {name} -> name) (\s@Ulimit' {} a -> s {name = a} :: Ulimit)++-- | The soft limit for the @ulimit@ type.+ulimit_softLimit :: Lens.Lens' Ulimit Prelude.Int+ulimit_softLimit = Lens.lens (\Ulimit' {softLimit} -> softLimit) (\s@Ulimit' {} a -> s {softLimit = a} :: Ulimit)++instance Data.FromJSON Ulimit where+ parseJSON =+ Data.withObject+ "Ulimit"+ ( \x ->+ Ulimit'+ Prelude.<$> (x Data..: "hardLimit")+ Prelude.<*> (x Data..: "name")+ Prelude.<*> (x Data..: "softLimit")+ )++instance Prelude.Hashable Ulimit where+ hashWithSalt _salt Ulimit' {..} =+ _salt+ `Prelude.hashWithSalt` hardLimit+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` softLimit++instance Prelude.NFData Ulimit where+ rnf Ulimit' {..} =+ Prelude.rnf hardLimit+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf softLimit++instance Data.ToJSON Ulimit where+ toJSON Ulimit' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("hardLimit" Data..= hardLimit),+ Prelude.Just ("name" Data..= name),+ Prelude.Just ("softLimit" Data..= softLimit)+ ]+ )
+ gen/Amazonka/Batch/Types/UpdatePolicy.hs view
@@ -0,0 +1,105 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.UpdatePolicy+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.UpdatePolicy where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Specifies the infrastructure update policy for the compute environment.+-- For more information about infrastructure updates, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+--+-- /See:/ 'newUpdatePolicy' smart constructor.+data UpdatePolicy = UpdatePolicy'+ { -- | Specifies the job timeout (in minutes) when the compute environment+ -- infrastructure is updated. The default value is 30.+ jobExecutionTimeoutMinutes :: Prelude.Maybe Prelude.Natural,+ -- | Specifies whether jobs are automatically terminated when the computer+ -- environment infrastructure is updated. The default value is @false@.+ terminateJobsOnUpdate :: Prelude.Maybe Prelude.Bool+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdatePolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'jobExecutionTimeoutMinutes', 'updatePolicy_jobExecutionTimeoutMinutes' - Specifies the job timeout (in minutes) when the compute environment+-- infrastructure is updated. The default value is 30.+--+-- 'terminateJobsOnUpdate', 'updatePolicy_terminateJobsOnUpdate' - Specifies whether jobs are automatically terminated when the computer+-- environment infrastructure is updated. The default value is @false@.+newUpdatePolicy ::+ UpdatePolicy+newUpdatePolicy =+ UpdatePolicy'+ { jobExecutionTimeoutMinutes =+ Prelude.Nothing,+ terminateJobsOnUpdate = Prelude.Nothing+ }++-- | Specifies the job timeout (in minutes) when the compute environment+-- infrastructure is updated. The default value is 30.+updatePolicy_jobExecutionTimeoutMinutes :: Lens.Lens' UpdatePolicy (Prelude.Maybe Prelude.Natural)+updatePolicy_jobExecutionTimeoutMinutes = Lens.lens (\UpdatePolicy' {jobExecutionTimeoutMinutes} -> jobExecutionTimeoutMinutes) (\s@UpdatePolicy' {} a -> s {jobExecutionTimeoutMinutes = a} :: UpdatePolicy)++-- | Specifies whether jobs are automatically terminated when the computer+-- environment infrastructure is updated. The default value is @false@.+updatePolicy_terminateJobsOnUpdate :: Lens.Lens' UpdatePolicy (Prelude.Maybe Prelude.Bool)+updatePolicy_terminateJobsOnUpdate = Lens.lens (\UpdatePolicy' {terminateJobsOnUpdate} -> terminateJobsOnUpdate) (\s@UpdatePolicy' {} a -> s {terminateJobsOnUpdate = a} :: UpdatePolicy)++instance Data.FromJSON UpdatePolicy where+ parseJSON =+ Data.withObject+ "UpdatePolicy"+ ( \x ->+ UpdatePolicy'+ Prelude.<$> (x Data..:? "jobExecutionTimeoutMinutes")+ Prelude.<*> (x Data..:? "terminateJobsOnUpdate")+ )++instance Prelude.Hashable UpdatePolicy where+ hashWithSalt _salt UpdatePolicy' {..} =+ _salt+ `Prelude.hashWithSalt` jobExecutionTimeoutMinutes+ `Prelude.hashWithSalt` terminateJobsOnUpdate++instance Prelude.NFData UpdatePolicy where+ rnf UpdatePolicy' {..} =+ Prelude.rnf jobExecutionTimeoutMinutes+ `Prelude.seq` Prelude.rnf terminateJobsOnUpdate++instance Data.ToJSON UpdatePolicy where+ toJSON UpdatePolicy' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("jobExecutionTimeoutMinutes" Data..=)+ Prelude.<$> jobExecutionTimeoutMinutes,+ ("terminateJobsOnUpdate" Data..=)+ Prelude.<$> terminateJobsOnUpdate+ ]+ )
+ gen/Amazonka/Batch/Types/Volume.hs view
@@ -0,0 +1,145 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Types.Volume+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Types.Volume where++import Amazonka.Batch.Types.EFSVolumeConfiguration+import Amazonka.Batch.Types.Host+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A data volume that\'s used in a job\'s container properties.+--+-- /See:/ 'newVolume' smart constructor.+data Volume = Volume'+ { -- | 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 :: Prelude.Maybe EFSVolumeConfiguration,+ -- | 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 :: Prelude.Maybe Host,+ -- | 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 :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Volume' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'efsVolumeConfiguration', 'volume_efsVolumeConfiguration' - 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@.+--+-- 'host', 'volume_host' - 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.+--+-- 'name', 'volume_name' - 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@.+newVolume ::+ Volume+newVolume =+ Volume'+ { efsVolumeConfiguration = Prelude.Nothing,+ host = Prelude.Nothing,+ name = Prelude.Nothing+ }++-- | 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@.+volume_efsVolumeConfiguration :: Lens.Lens' Volume (Prelude.Maybe EFSVolumeConfiguration)+volume_efsVolumeConfiguration = Lens.lens (\Volume' {efsVolumeConfiguration} -> efsVolumeConfiguration) (\s@Volume' {} a -> s {efsVolumeConfiguration = a} :: Volume)++-- | 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.+volume_host :: Lens.Lens' Volume (Prelude.Maybe Host)+volume_host = Lens.lens (\Volume' {host} -> host) (\s@Volume' {} a -> s {host = a} :: Volume)++-- | 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@.+volume_name :: Lens.Lens' Volume (Prelude.Maybe Prelude.Text)+volume_name = Lens.lens (\Volume' {name} -> name) (\s@Volume' {} a -> s {name = a} :: Volume)++instance Data.FromJSON Volume where+ parseJSON =+ Data.withObject+ "Volume"+ ( \x ->+ Volume'+ Prelude.<$> (x Data..:? "efsVolumeConfiguration")+ Prelude.<*> (x Data..:? "host")+ Prelude.<*> (x Data..:? "name")+ )++instance Prelude.Hashable Volume where+ hashWithSalt _salt Volume' {..} =+ _salt+ `Prelude.hashWithSalt` efsVolumeConfiguration+ `Prelude.hashWithSalt` host+ `Prelude.hashWithSalt` name++instance Prelude.NFData Volume where+ rnf Volume' {..} =+ Prelude.rnf efsVolumeConfiguration+ `Prelude.seq` Prelude.rnf host+ `Prelude.seq` Prelude.rnf name++instance Data.ToJSON Volume where+ toJSON Volume' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("efsVolumeConfiguration" Data..=)+ Prelude.<$> efsVolumeConfiguration,+ ("host" Data..=) Prelude.<$> host,+ ("name" Data..=) Prelude.<$> name+ ]+ )
+ gen/Amazonka/Batch/UntagResource.hs view
@@ -0,0 +1,175 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.UntagResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes specified tags from an Batch resource.+module Amazonka.Batch.UntagResource+ ( -- * Creating a Request+ UntagResource (..),+ newUntagResource,++ -- * Request Lenses+ untagResource_resourceArn,+ untagResource_tagKeys,++ -- * Destructuring the Response+ UntagResourceResponse (..),+ newUntagResourceResponse,++ -- * Response Lenses+ untagResourceResponse_httpStatus,+ )+where++import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains the parameters for @UntagResource@.+--+-- /See:/ 'newUntagResource' smart constructor.+data UntagResource = UntagResource'+ { -- | 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 :: Prelude.Text,+ -- | The keys of the tags to be removed.+ tagKeys :: Prelude.NonEmpty Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UntagResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceArn', 'untagResource_resourceArn' - 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.+--+-- 'tagKeys', 'untagResource_tagKeys' - The keys of the tags to be removed.+newUntagResource ::+ -- | 'resourceArn'+ Prelude.Text ->+ -- | 'tagKeys'+ Prelude.NonEmpty Prelude.Text ->+ UntagResource+newUntagResource pResourceArn_ pTagKeys_ =+ UntagResource'+ { resourceArn = pResourceArn_,+ tagKeys = Lens.coerced Lens.# pTagKeys_+ }++-- | 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.+untagResource_resourceArn :: Lens.Lens' UntagResource Prelude.Text+untagResource_resourceArn = Lens.lens (\UntagResource' {resourceArn} -> resourceArn) (\s@UntagResource' {} a -> s {resourceArn = a} :: UntagResource)++-- | The keys of the tags to be removed.+untagResource_tagKeys :: Lens.Lens' UntagResource (Prelude.NonEmpty Prelude.Text)+untagResource_tagKeys = Lens.lens (\UntagResource' {tagKeys} -> tagKeys) (\s@UntagResource' {} a -> s {tagKeys = a} :: UntagResource) Prelude.. Lens.coerced++instance Core.AWSRequest UntagResource where+ type+ AWSResponse UntagResource =+ UntagResourceResponse+ request overrides =+ Request.delete (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ UntagResourceResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UntagResource where+ hashWithSalt _salt UntagResource' {..} =+ _salt+ `Prelude.hashWithSalt` resourceArn+ `Prelude.hashWithSalt` tagKeys++instance Prelude.NFData UntagResource where+ rnf UntagResource' {..} =+ Prelude.rnf resourceArn+ `Prelude.seq` Prelude.rnf tagKeys++instance Data.ToHeaders UntagResource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToPath UntagResource where+ toPath UntagResource' {..} =+ Prelude.mconcat+ ["/v1/tags/", Data.toBS resourceArn]++instance Data.ToQuery UntagResource where+ toQuery UntagResource' {..} =+ Prelude.mconcat+ ["tagKeys" Data.=: Data.toQueryList "member" tagKeys]++-- | /See:/ 'newUntagResourceResponse' smart constructor.+data UntagResourceResponse = UntagResourceResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UntagResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'untagResourceResponse_httpStatus' - The response's http status code.+newUntagResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UntagResourceResponse+newUntagResourceResponse pHttpStatus_ =+ UntagResourceResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+untagResourceResponse_httpStatus :: Lens.Lens' UntagResourceResponse Prelude.Int+untagResourceResponse_httpStatus = Lens.lens (\UntagResourceResponse' {httpStatus} -> httpStatus) (\s@UntagResourceResponse' {} a -> s {httpStatus = a} :: UntagResourceResponse)++instance Prelude.NFData UntagResourceResponse where+ rnf UntagResourceResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/Batch/UpdateComputeEnvironment.hs view
@@ -0,0 +1,408 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.UpdateComputeEnvironment+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates an Batch compute environment.+module Amazonka.Batch.UpdateComputeEnvironment+ ( -- * Creating a Request+ UpdateComputeEnvironment (..),+ newUpdateComputeEnvironment,++ -- * Request Lenses+ updateComputeEnvironment_computeResources,+ updateComputeEnvironment_serviceRole,+ updateComputeEnvironment_state,+ updateComputeEnvironment_unmanagedvCpus,+ updateComputeEnvironment_updatePolicy,+ updateComputeEnvironment_computeEnvironment,++ -- * Destructuring the Response+ UpdateComputeEnvironmentResponse (..),+ newUpdateComputeEnvironmentResponse,++ -- * Response Lenses+ updateComputeEnvironmentResponse_computeEnvironmentArn,+ updateComputeEnvironmentResponse_computeEnvironmentName,+ updateComputeEnvironmentResponse_httpStatus,+ )+where++import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains the parameters for @UpdateComputeEnvironment@.+--+-- /See:/ 'newUpdateComputeEnvironment' smart constructor.+data UpdateComputeEnvironment = UpdateComputeEnvironment'+ { -- | Details of the compute resources managed by the compute environment.+ -- Required for a managed compute environment. For more information, see+ -- <https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html Compute Environments>+ -- in the /Batch User Guide/.+ computeResources :: Prelude.Maybe ComputeResourceUpdate,+ -- | 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html Batch service IAM role>+ -- 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+ -- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+ -- 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 :: Prelude.Maybe Prelude.Text,+ -- | 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. However, they scale in to @minvCpus@+ -- value after instances become idle.+ state :: Prelude.Maybe 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 :: Prelude.Maybe Prelude.Int,+ -- | Specifies the updated infrastructure update policy for the compute+ -- environment. For more information about infrastructure updates, see+ -- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+ -- in the /Batch User Guide/.+ updatePolicy :: Prelude.Maybe UpdatePolicy,+ -- | The name or full Amazon Resource Name (ARN) of the compute environment+ -- to update.+ computeEnvironment :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateComputeEnvironment' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'computeResources', 'updateComputeEnvironment_computeResources' - Details of the compute resources managed by the compute environment.+-- Required for a managed compute environment. For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html Compute Environments>+-- in the /Batch User Guide/.+--+-- 'serviceRole', 'updateComputeEnvironment_serviceRole' - 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html Batch service IAM role>+-- 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- 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.+--+-- 'state', 'updateComputeEnvironment_state' - 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. However, they scale in to @minvCpus@+-- value after instances become idle.+--+-- 'unmanagedvCpus', 'updateComputeEnvironment_unmanagedvCpus' - 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.+--+-- 'updatePolicy', 'updateComputeEnvironment_updatePolicy' - Specifies the updated infrastructure update policy for the compute+-- environment. For more information about infrastructure updates, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+--+-- 'computeEnvironment', 'updateComputeEnvironment_computeEnvironment' - The name or full Amazon Resource Name (ARN) of the compute environment+-- to update.+newUpdateComputeEnvironment ::+ -- | 'computeEnvironment'+ Prelude.Text ->+ UpdateComputeEnvironment+newUpdateComputeEnvironment pComputeEnvironment_ =+ UpdateComputeEnvironment'+ { computeResources =+ Prelude.Nothing,+ serviceRole = Prelude.Nothing,+ state = Prelude.Nothing,+ unmanagedvCpus = Prelude.Nothing,+ updatePolicy = Prelude.Nothing,+ computeEnvironment = pComputeEnvironment_+ }++-- | Details of the compute resources managed by the compute environment.+-- Required for a managed compute environment. For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html Compute Environments>+-- in the /Batch User Guide/.+updateComputeEnvironment_computeResources :: Lens.Lens' UpdateComputeEnvironment (Prelude.Maybe ComputeResourceUpdate)+updateComputeEnvironment_computeResources = Lens.lens (\UpdateComputeEnvironment' {computeResources} -> computeResources) (\s@UpdateComputeEnvironment' {} a -> s {computeResources = a} :: UpdateComputeEnvironment)++-- | 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html Batch service IAM role>+-- 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+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- 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.+updateComputeEnvironment_serviceRole :: Lens.Lens' UpdateComputeEnvironment (Prelude.Maybe Prelude.Text)+updateComputeEnvironment_serviceRole = Lens.lens (\UpdateComputeEnvironment' {serviceRole} -> serviceRole) (\s@UpdateComputeEnvironment' {} a -> s {serviceRole = a} :: UpdateComputeEnvironment)++-- | 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. However, they scale in to @minvCpus@+-- value after instances become idle.+updateComputeEnvironment_state :: Lens.Lens' UpdateComputeEnvironment (Prelude.Maybe CEState)+updateComputeEnvironment_state = Lens.lens (\UpdateComputeEnvironment' {state} -> state) (\s@UpdateComputeEnvironment' {} a -> s {state = a} :: UpdateComputeEnvironment)++-- | 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.+updateComputeEnvironment_unmanagedvCpus :: Lens.Lens' UpdateComputeEnvironment (Prelude.Maybe Prelude.Int)+updateComputeEnvironment_unmanagedvCpus = Lens.lens (\UpdateComputeEnvironment' {unmanagedvCpus} -> unmanagedvCpus) (\s@UpdateComputeEnvironment' {} a -> s {unmanagedvCpus = a} :: UpdateComputeEnvironment)++-- | Specifies the updated infrastructure update policy for the compute+-- environment. For more information about infrastructure updates, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html Updating compute environments>+-- in the /Batch User Guide/.+updateComputeEnvironment_updatePolicy :: Lens.Lens' UpdateComputeEnvironment (Prelude.Maybe UpdatePolicy)+updateComputeEnvironment_updatePolicy = Lens.lens (\UpdateComputeEnvironment' {updatePolicy} -> updatePolicy) (\s@UpdateComputeEnvironment' {} a -> s {updatePolicy = a} :: UpdateComputeEnvironment)++-- | The name or full Amazon Resource Name (ARN) of the compute environment+-- to update.+updateComputeEnvironment_computeEnvironment :: Lens.Lens' UpdateComputeEnvironment Prelude.Text+updateComputeEnvironment_computeEnvironment = Lens.lens (\UpdateComputeEnvironment' {computeEnvironment} -> computeEnvironment) (\s@UpdateComputeEnvironment' {} a -> s {computeEnvironment = a} :: UpdateComputeEnvironment)++instance Core.AWSRequest UpdateComputeEnvironment where+ type+ AWSResponse UpdateComputeEnvironment =+ UpdateComputeEnvironmentResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ UpdateComputeEnvironmentResponse'+ Prelude.<$> (x Data..?> "computeEnvironmentArn")+ Prelude.<*> (x Data..?> "computeEnvironmentName")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateComputeEnvironment where+ hashWithSalt _salt UpdateComputeEnvironment' {..} =+ _salt+ `Prelude.hashWithSalt` computeResources+ `Prelude.hashWithSalt` serviceRole+ `Prelude.hashWithSalt` state+ `Prelude.hashWithSalt` unmanagedvCpus+ `Prelude.hashWithSalt` updatePolicy+ `Prelude.hashWithSalt` computeEnvironment++instance Prelude.NFData UpdateComputeEnvironment where+ rnf UpdateComputeEnvironment' {..} =+ Prelude.rnf computeResources+ `Prelude.seq` Prelude.rnf serviceRole+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf unmanagedvCpus+ `Prelude.seq` Prelude.rnf updatePolicy+ `Prelude.seq` Prelude.rnf computeEnvironment++instance Data.ToHeaders UpdateComputeEnvironment where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateComputeEnvironment where+ toJSON UpdateComputeEnvironment' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("computeResources" Data..=)+ Prelude.<$> computeResources,+ ("serviceRole" Data..=) Prelude.<$> serviceRole,+ ("state" Data..=) Prelude.<$> state,+ ("unmanagedvCpus" Data..=)+ Prelude.<$> unmanagedvCpus,+ ("updatePolicy" Data..=) Prelude.<$> updatePolicy,+ Prelude.Just+ ("computeEnvironment" Data..= computeEnvironment)+ ]+ )++instance Data.ToPath UpdateComputeEnvironment where+ toPath = Prelude.const "/v1/updatecomputeenvironment"++instance Data.ToQuery UpdateComputeEnvironment where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateComputeEnvironmentResponse' smart constructor.+data UpdateComputeEnvironmentResponse = UpdateComputeEnvironmentResponse'+ { -- | The Amazon Resource Name (ARN) of the compute environment.+ computeEnvironmentArn :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateComputeEnvironmentResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'computeEnvironmentArn', 'updateComputeEnvironmentResponse_computeEnvironmentArn' - The Amazon Resource Name (ARN) of the compute environment.+--+-- 'computeEnvironmentName', 'updateComputeEnvironmentResponse_computeEnvironmentName' - 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 (_).+--+-- 'httpStatus', 'updateComputeEnvironmentResponse_httpStatus' - The response's http status code.+newUpdateComputeEnvironmentResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateComputeEnvironmentResponse+newUpdateComputeEnvironmentResponse pHttpStatus_ =+ UpdateComputeEnvironmentResponse'+ { computeEnvironmentArn =+ Prelude.Nothing,+ computeEnvironmentName = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The Amazon Resource Name (ARN) of the compute environment.+updateComputeEnvironmentResponse_computeEnvironmentArn :: Lens.Lens' UpdateComputeEnvironmentResponse (Prelude.Maybe Prelude.Text)+updateComputeEnvironmentResponse_computeEnvironmentArn = Lens.lens (\UpdateComputeEnvironmentResponse' {computeEnvironmentArn} -> computeEnvironmentArn) (\s@UpdateComputeEnvironmentResponse' {} a -> s {computeEnvironmentArn = a} :: UpdateComputeEnvironmentResponse)++-- | 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 (_).+updateComputeEnvironmentResponse_computeEnvironmentName :: Lens.Lens' UpdateComputeEnvironmentResponse (Prelude.Maybe Prelude.Text)+updateComputeEnvironmentResponse_computeEnvironmentName = Lens.lens (\UpdateComputeEnvironmentResponse' {computeEnvironmentName} -> computeEnvironmentName) (\s@UpdateComputeEnvironmentResponse' {} a -> s {computeEnvironmentName = a} :: UpdateComputeEnvironmentResponse)++-- | The response's http status code.+updateComputeEnvironmentResponse_httpStatus :: Lens.Lens' UpdateComputeEnvironmentResponse Prelude.Int+updateComputeEnvironmentResponse_httpStatus = Lens.lens (\UpdateComputeEnvironmentResponse' {httpStatus} -> httpStatus) (\s@UpdateComputeEnvironmentResponse' {} a -> s {httpStatus = a} :: UpdateComputeEnvironmentResponse)++instance+ Prelude.NFData+ UpdateComputeEnvironmentResponse+ where+ rnf UpdateComputeEnvironmentResponse' {..} =+ Prelude.rnf computeEnvironmentArn+ `Prelude.seq` Prelude.rnf computeEnvironmentName+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Batch/UpdateJobQueue.hs view
@@ -0,0 +1,313 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.UpdateJobQueue+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates a job queue.+module Amazonka.Batch.UpdateJobQueue+ ( -- * Creating a Request+ UpdateJobQueue (..),+ newUpdateJobQueue,++ -- * Request Lenses+ updateJobQueue_computeEnvironmentOrder,+ updateJobQueue_priority,+ updateJobQueue_schedulingPolicyArn,+ updateJobQueue_state,+ updateJobQueue_jobQueue,++ -- * Destructuring the Response+ UpdateJobQueueResponse (..),+ newUpdateJobQueueResponse,++ -- * Response Lenses+ updateJobQueueResponse_jobQueueArn,+ updateJobQueueResponse_jobQueueName,+ updateJobQueueResponse_httpStatus,+ )+where++import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains the parameters for @UpdateJobQueue@.+--+-- /See:/ 'newUpdateJobQueue' smart constructor.+data UpdateJobQueue = UpdateJobQueue'+ { -- | 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 :: Prelude.Maybe [ComputeEnvironmentOrder],+ -- | 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 :: Prelude.Maybe Prelude.Int,+ -- | 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 :: Prelude.Maybe Prelude.Text,+ -- | 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 :: Prelude.Maybe JQState,+ -- | The name or the Amazon Resource Name (ARN) of the job queue.+ jobQueue :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateJobQueue' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'computeEnvironmentOrder', 'updateJobQueue_computeEnvironmentOrder' - 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.+--+-- 'priority', 'updateJobQueue_priority' - 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.+--+-- 'schedulingPolicyArn', 'updateJobQueue_schedulingPolicyArn' - 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@.+--+-- 'state', 'updateJobQueue_state' - 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.+--+-- 'jobQueue', 'updateJobQueue_jobQueue' - The name or the Amazon Resource Name (ARN) of the job queue.+newUpdateJobQueue ::+ -- | 'jobQueue'+ Prelude.Text ->+ UpdateJobQueue+newUpdateJobQueue pJobQueue_ =+ UpdateJobQueue'+ { computeEnvironmentOrder =+ Prelude.Nothing,+ priority = Prelude.Nothing,+ schedulingPolicyArn = Prelude.Nothing,+ state = Prelude.Nothing,+ jobQueue = pJobQueue_+ }++-- | 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.+updateJobQueue_computeEnvironmentOrder :: Lens.Lens' UpdateJobQueue (Prelude.Maybe [ComputeEnvironmentOrder])+updateJobQueue_computeEnvironmentOrder = Lens.lens (\UpdateJobQueue' {computeEnvironmentOrder} -> computeEnvironmentOrder) (\s@UpdateJobQueue' {} a -> s {computeEnvironmentOrder = a} :: UpdateJobQueue) Prelude.. Lens.mapping Lens.coerced++-- | 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.+updateJobQueue_priority :: Lens.Lens' UpdateJobQueue (Prelude.Maybe Prelude.Int)+updateJobQueue_priority = Lens.lens (\UpdateJobQueue' {priority} -> priority) (\s@UpdateJobQueue' {} a -> s {priority = a} :: UpdateJobQueue)++-- | 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@.+updateJobQueue_schedulingPolicyArn :: Lens.Lens' UpdateJobQueue (Prelude.Maybe Prelude.Text)+updateJobQueue_schedulingPolicyArn = Lens.lens (\UpdateJobQueue' {schedulingPolicyArn} -> schedulingPolicyArn) (\s@UpdateJobQueue' {} a -> s {schedulingPolicyArn = a} :: UpdateJobQueue)++-- | 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.+updateJobQueue_state :: Lens.Lens' UpdateJobQueue (Prelude.Maybe JQState)+updateJobQueue_state = Lens.lens (\UpdateJobQueue' {state} -> state) (\s@UpdateJobQueue' {} a -> s {state = a} :: UpdateJobQueue)++-- | The name or the Amazon Resource Name (ARN) of the job queue.+updateJobQueue_jobQueue :: Lens.Lens' UpdateJobQueue Prelude.Text+updateJobQueue_jobQueue = Lens.lens (\UpdateJobQueue' {jobQueue} -> jobQueue) (\s@UpdateJobQueue' {} a -> s {jobQueue = a} :: UpdateJobQueue)++instance Core.AWSRequest UpdateJobQueue where+ type+ AWSResponse UpdateJobQueue =+ UpdateJobQueueResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ UpdateJobQueueResponse'+ Prelude.<$> (x Data..?> "jobQueueArn")+ Prelude.<*> (x Data..?> "jobQueueName")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateJobQueue where+ hashWithSalt _salt UpdateJobQueue' {..} =+ _salt+ `Prelude.hashWithSalt` computeEnvironmentOrder+ `Prelude.hashWithSalt` priority+ `Prelude.hashWithSalt` schedulingPolicyArn+ `Prelude.hashWithSalt` state+ `Prelude.hashWithSalt` jobQueue++instance Prelude.NFData UpdateJobQueue where+ rnf UpdateJobQueue' {..} =+ Prelude.rnf computeEnvironmentOrder+ `Prelude.seq` Prelude.rnf priority+ `Prelude.seq` Prelude.rnf schedulingPolicyArn+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf jobQueue++instance Data.ToHeaders UpdateJobQueue where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateJobQueue where+ toJSON UpdateJobQueue' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("computeEnvironmentOrder" Data..=)+ Prelude.<$> computeEnvironmentOrder,+ ("priority" Data..=) Prelude.<$> priority,+ ("schedulingPolicyArn" Data..=)+ Prelude.<$> schedulingPolicyArn,+ ("state" Data..=) Prelude.<$> state,+ Prelude.Just ("jobQueue" Data..= jobQueue)+ ]+ )++instance Data.ToPath UpdateJobQueue where+ toPath = Prelude.const "/v1/updatejobqueue"++instance Data.ToQuery UpdateJobQueue where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateJobQueueResponse' smart constructor.+data UpdateJobQueueResponse = UpdateJobQueueResponse'+ { -- | The Amazon Resource Name (ARN) of the job queue.+ jobQueueArn :: Prelude.Maybe Prelude.Text,+ -- | The name of the job queue.+ jobQueueName :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateJobQueueResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'jobQueueArn', 'updateJobQueueResponse_jobQueueArn' - The Amazon Resource Name (ARN) of the job queue.+--+-- 'jobQueueName', 'updateJobQueueResponse_jobQueueName' - The name of the job queue.+--+-- 'httpStatus', 'updateJobQueueResponse_httpStatus' - The response's http status code.+newUpdateJobQueueResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateJobQueueResponse+newUpdateJobQueueResponse pHttpStatus_ =+ UpdateJobQueueResponse'+ { jobQueueArn =+ Prelude.Nothing,+ jobQueueName = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The Amazon Resource Name (ARN) of the job queue.+updateJobQueueResponse_jobQueueArn :: Lens.Lens' UpdateJobQueueResponse (Prelude.Maybe Prelude.Text)+updateJobQueueResponse_jobQueueArn = Lens.lens (\UpdateJobQueueResponse' {jobQueueArn} -> jobQueueArn) (\s@UpdateJobQueueResponse' {} a -> s {jobQueueArn = a} :: UpdateJobQueueResponse)++-- | The name of the job queue.+updateJobQueueResponse_jobQueueName :: Lens.Lens' UpdateJobQueueResponse (Prelude.Maybe Prelude.Text)+updateJobQueueResponse_jobQueueName = Lens.lens (\UpdateJobQueueResponse' {jobQueueName} -> jobQueueName) (\s@UpdateJobQueueResponse' {} a -> s {jobQueueName = a} :: UpdateJobQueueResponse)++-- | The response's http status code.+updateJobQueueResponse_httpStatus :: Lens.Lens' UpdateJobQueueResponse Prelude.Int+updateJobQueueResponse_httpStatus = Lens.lens (\UpdateJobQueueResponse' {httpStatus} -> httpStatus) (\s@UpdateJobQueueResponse' {} a -> s {httpStatus = a} :: UpdateJobQueueResponse)++instance Prelude.NFData UpdateJobQueueResponse where+ rnf UpdateJobQueueResponse' {..} =+ Prelude.rnf jobQueueArn+ `Prelude.seq` Prelude.rnf jobQueueName+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Batch/UpdateSchedulingPolicy.hs view
@@ -0,0 +1,177 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.UpdateSchedulingPolicy+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates a scheduling policy.+module Amazonka.Batch.UpdateSchedulingPolicy+ ( -- * Creating a Request+ UpdateSchedulingPolicy (..),+ newUpdateSchedulingPolicy,++ -- * Request Lenses+ updateSchedulingPolicy_fairsharePolicy,+ updateSchedulingPolicy_arn,++ -- * Destructuring the Response+ UpdateSchedulingPolicyResponse (..),+ newUpdateSchedulingPolicyResponse,++ -- * Response Lenses+ updateSchedulingPolicyResponse_httpStatus,+ )+where++import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Contains the parameters for @UpdateSchedulingPolicy@.+--+-- /See:/ 'newUpdateSchedulingPolicy' smart constructor.+data UpdateSchedulingPolicy = UpdateSchedulingPolicy'+ { -- | The fair share policy.+ fairsharePolicy :: Prelude.Maybe FairsharePolicy,+ -- | The Amazon Resource Name (ARN) of the scheduling policy to update.+ arn :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateSchedulingPolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'fairsharePolicy', 'updateSchedulingPolicy_fairsharePolicy' - The fair share policy.+--+-- 'arn', 'updateSchedulingPolicy_arn' - The Amazon Resource Name (ARN) of the scheduling policy to update.+newUpdateSchedulingPolicy ::+ -- | 'arn'+ Prelude.Text ->+ UpdateSchedulingPolicy+newUpdateSchedulingPolicy pArn_ =+ UpdateSchedulingPolicy'+ { fairsharePolicy =+ Prelude.Nothing,+ arn = pArn_+ }++-- | The fair share policy.+updateSchedulingPolicy_fairsharePolicy :: Lens.Lens' UpdateSchedulingPolicy (Prelude.Maybe FairsharePolicy)+updateSchedulingPolicy_fairsharePolicy = Lens.lens (\UpdateSchedulingPolicy' {fairsharePolicy} -> fairsharePolicy) (\s@UpdateSchedulingPolicy' {} a -> s {fairsharePolicy = a} :: UpdateSchedulingPolicy)++-- | The Amazon Resource Name (ARN) of the scheduling policy to update.+updateSchedulingPolicy_arn :: Lens.Lens' UpdateSchedulingPolicy Prelude.Text+updateSchedulingPolicy_arn = Lens.lens (\UpdateSchedulingPolicy' {arn} -> arn) (\s@UpdateSchedulingPolicy' {} a -> s {arn = a} :: UpdateSchedulingPolicy)++instance Core.AWSRequest UpdateSchedulingPolicy where+ type+ AWSResponse UpdateSchedulingPolicy =+ UpdateSchedulingPolicyResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ UpdateSchedulingPolicyResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateSchedulingPolicy where+ hashWithSalt _salt UpdateSchedulingPolicy' {..} =+ _salt+ `Prelude.hashWithSalt` fairsharePolicy+ `Prelude.hashWithSalt` arn++instance Prelude.NFData UpdateSchedulingPolicy where+ rnf UpdateSchedulingPolicy' {..} =+ Prelude.rnf fairsharePolicy+ `Prelude.seq` Prelude.rnf arn++instance Data.ToHeaders UpdateSchedulingPolicy where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateSchedulingPolicy where+ toJSON UpdateSchedulingPolicy' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("fairsharePolicy" Data..=)+ Prelude.<$> fairsharePolicy,+ Prelude.Just ("arn" Data..= arn)+ ]+ )++instance Data.ToPath UpdateSchedulingPolicy where+ toPath = Prelude.const "/v1/updateschedulingpolicy"++instance Data.ToQuery UpdateSchedulingPolicy where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateSchedulingPolicyResponse' smart constructor.+data UpdateSchedulingPolicyResponse = UpdateSchedulingPolicyResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateSchedulingPolicyResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'updateSchedulingPolicyResponse_httpStatus' - The response's http status code.+newUpdateSchedulingPolicyResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateSchedulingPolicyResponse+newUpdateSchedulingPolicyResponse pHttpStatus_ =+ UpdateSchedulingPolicyResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+updateSchedulingPolicyResponse_httpStatus :: Lens.Lens' UpdateSchedulingPolicyResponse Prelude.Int+updateSchedulingPolicyResponse_httpStatus = Lens.lens (\UpdateSchedulingPolicyResponse' {httpStatus} -> httpStatus) (\s@UpdateSchedulingPolicyResponse' {} a -> s {httpStatus = a} :: UpdateSchedulingPolicyResponse)++instance+ Prelude.NFData+ UpdateSchedulingPolicyResponse+ where+ rnf UpdateSchedulingPolicyResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/Batch/Waiters.hs view
@@ -0,0 +1,24 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.Batch.Waiters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Batch.Waiters where++import Amazonka.Batch.Lens+import Amazonka.Batch.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude
− gen/Network/AWS/Batch.hs
@@ -1,397 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Batch--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ AWS Batch enables you to run batch computing workloads on the AWS Cloud. Batch computing is a common way for developers, scientists, and engineers to access large amounts of compute resources, and AWS Batch removes the undifferentiated heavy lifting of configuring and managing the required infrastructure. AWS Batch will be familiar to users of traditional batch computing software. This service can efficiently provision resources in response to jobs submitted in order to eliminate capacity constraints, reduce compute costs, and deliver results quickly.--------- As a fully managed service, AWS Batch enables developers, scientists, and engineers to run batch computing workloads of any scale. AWS Batch automatically provisions compute resources and optimizes the workload distribution based on the quantity and scale of the workloads. With AWS Batch, there is no need to install or manage batch computing software, which allows you to focus on analyzing results and solving problems. AWS Batch reduces operational complexities, saves time, and reduces costs, which makes it easy for developers, scientists, and engineers to run their batch jobs in the AWS Cloud.----module Network.AWS.Batch- (- -- * Service Configuration- batch-- -- * Errors- -- $errors-- -- ** ServerException- , _ServerException-- -- ** ClientException- , _ClientException-- -- * Waiters- -- $waiters-- -- * Operations- -- $operations-- -- ** CreateComputeEnvironment- , module Network.AWS.Batch.CreateComputeEnvironment-- -- ** RegisterJobDefinition- , module Network.AWS.Batch.RegisterJobDefinition-- -- ** SubmitJob- , module Network.AWS.Batch.SubmitJob-- -- ** ListJobs- , module Network.AWS.Batch.ListJobs-- -- ** TerminateJob- , module Network.AWS.Batch.TerminateJob-- -- ** DescribeJobs- , module Network.AWS.Batch.DescribeJobs-- -- ** DeleteComputeEnvironment- , module Network.AWS.Batch.DeleteComputeEnvironment-- -- ** UpdateComputeEnvironment- , module Network.AWS.Batch.UpdateComputeEnvironment-- -- ** DescribeJobDefinitions- , module Network.AWS.Batch.DescribeJobDefinitions-- -- ** UpdateJobQueue- , module Network.AWS.Batch.UpdateJobQueue-- -- ** DeleteJobQueue- , module Network.AWS.Batch.DeleteJobQueue-- -- ** CreateJobQueue- , module Network.AWS.Batch.CreateJobQueue-- -- ** DeregisterJobDefinition- , module Network.AWS.Batch.DeregisterJobDefinition-- -- ** DescribeJobQueues- , module Network.AWS.Batch.DescribeJobQueues-- -- ** DescribeComputeEnvironments- , module Network.AWS.Batch.DescribeComputeEnvironments-- -- ** CancelJob- , module Network.AWS.Batch.CancelJob-- -- * Types-- -- ** ArrayJobDependency- , ArrayJobDependency (..)-- -- ** CEState- , CEState (..)-- -- ** CEStatus- , CEStatus (..)-- -- ** CEType- , CEType (..)-- -- ** CRType- , CRType (..)-- -- ** JQState- , JQState (..)-- -- ** JQStatus- , JQStatus (..)-- -- ** JobDefinitionType- , JobDefinitionType (..)-- -- ** JobStatus- , JobStatus (..)-- -- ** ArrayProperties- , ArrayProperties- , arrayProperties- , apSize-- -- ** ArrayPropertiesDetail- , ArrayPropertiesDetail- , arrayPropertiesDetail- , apdSize- , apdStatusSummary- , apdIndex-- -- ** ArrayPropertiesSummary- , ArrayPropertiesSummary- , arrayPropertiesSummary- , apsSize- , apsIndex-- -- ** AttemptContainerDetail- , AttemptContainerDetail- , attemptContainerDetail- , acdTaskARN- , acdContainerInstanceARN- , acdReason- , acdLogStreamName- , acdExitCode-- -- ** AttemptDetail- , AttemptDetail- , attemptDetail- , adStoppedAt- , adStartedAt- , adContainer- , adStatusReason-- -- ** ComputeEnvironmentDetail- , ComputeEnvironmentDetail- , computeEnvironmentDetail- , cedStatus- , cedState- , cedComputeResources- , cedStatusReason- , cedType- , cedServiceRole- , cedComputeEnvironmentName- , cedComputeEnvironmentARN- , cedEcsClusterARN-- -- ** ComputeEnvironmentOrder- , ComputeEnvironmentOrder- , computeEnvironmentOrder- , ceoOrder- , ceoComputeEnvironment-- -- ** ComputeResource- , ComputeResource- , computeResource- , crEc2KeyPair- , crBidPercentage- , crSpotIAMFleetRole- , crImageId- , crDesiredvCPUs- , crTags- , crType- , crMinvCPUs- , crMaxvCPUs- , crInstanceTypes- , crSubnets- , crSecurityGroupIds- , crInstanceRole-- -- ** ComputeResourceUpdate- , ComputeResourceUpdate- , computeResourceUpdate- , cruMinvCPUs- , cruMaxvCPUs- , cruDesiredvCPUs-- -- ** ContainerDetail- , ContainerDetail- , containerDetail- , cdImage- , cdCommand- , cdEnvironment- , cdTaskARN- , cdUlimits- , cdContainerInstanceARN- , cdPrivileged- , cdJobRoleARN- , cdMemory- , cdUser- , cdReason- , cdLogStreamName- , cdMountPoints- , cdExitCode- , cdVcpus- , cdReadonlyRootFilesystem- , cdVolumes-- -- ** ContainerOverrides- , ContainerOverrides- , containerOverrides- , coCommand- , coEnvironment- , coMemory- , coVcpus-- -- ** ContainerProperties- , ContainerProperties- , containerProperties- , cpCommand- , cpEnvironment- , cpUlimits- , cpPrivileged- , cpJobRoleARN- , cpUser- , cpMountPoints- , cpReadonlyRootFilesystem- , cpVolumes- , cpImage- , cpVcpus- , cpMemory-- -- ** ContainerSummary- , ContainerSummary- , containerSummary- , csReason- , csExitCode-- -- ** Host- , Host- , host- , hSourcePath-- -- ** JobDefinition- , JobDefinition- , jobDefinition- , jddStatus- , jddRetryStrategy- , jddParameters- , jddTimeout- , jddContainerProperties- , jddJobDefinitionName- , jddJobDefinitionARN- , jddRevision- , jddType-- -- ** JobDependency- , JobDependency- , jobDependency- , jJobId- , jType-- -- ** JobDetail- , JobDetail- , jobDetail- , jdStoppedAt- , jdCreatedAt- , jdRetryStrategy- , jdAttempts- , jdDependsOn- , jdContainer- , jdParameters- , jdStatusReason- , jdArrayProperties- , jdTimeout- , jdJobName- , jdJobId- , jdJobQueue- , jdStatus- , jdStartedAt- , jdJobDefinition-- -- ** JobQueueDetail- , JobQueueDetail- , jobQueueDetail- , jqdStatus- , jqdStatusReason- , jqdJobQueueName- , jqdJobQueueARN- , jqdState- , jqdPriority- , jqdComputeEnvironmentOrder-- -- ** JobSummary- , JobSummary- , jobSummary- , jsStoppedAt- , jsStatus- , jsCreatedAt- , jsStartedAt- , jsContainer- , jsStatusReason- , jsArrayProperties- , jsJobId- , jsJobName-- -- ** JobTimeout- , JobTimeout- , jobTimeout- , jtAttemptDurationSeconds-- -- ** KeyValuePair- , KeyValuePair- , keyValuePair- , kvpValue- , kvpName-- -- ** MountPoint- , MountPoint- , mountPoint- , mpContainerPath- , mpSourceVolume- , mpReadOnly-- -- ** RetryStrategy- , RetryStrategy- , retryStrategy- , rsAttempts-- -- ** Ulimit- , Ulimit- , ulimit- , uHardLimit- , uName- , uSoftLimit-- -- ** Volume- , Volume- , volume- , vName- , vHost- ) where--import Network.AWS.Batch.CancelJob-import Network.AWS.Batch.CreateComputeEnvironment-import Network.AWS.Batch.CreateJobQueue-import Network.AWS.Batch.DeleteComputeEnvironment-import Network.AWS.Batch.DeleteJobQueue-import Network.AWS.Batch.DeregisterJobDefinition-import Network.AWS.Batch.DescribeComputeEnvironments-import Network.AWS.Batch.DescribeJobDefinitions-import Network.AWS.Batch.DescribeJobQueues-import Network.AWS.Batch.DescribeJobs-import Network.AWS.Batch.ListJobs-import Network.AWS.Batch.RegisterJobDefinition-import Network.AWS.Batch.SubmitJob-import Network.AWS.Batch.TerminateJob-import Network.AWS.Batch.Types-import Network.AWS.Batch.UpdateComputeEnvironment-import Network.AWS.Batch.UpdateJobQueue-import Network.AWS.Batch.Waiters--{- $errors-Error matchers are designed for use with the functions provided by-<http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.-This allows catching (and rethrowing) service specific errors returned-by 'Batch'.--}--{- $operations-Some AWS operations return results that are incomplete and require subsequent-requests in order to obtain the entire result set. The process of sending-subsequent requests to continue where a previous request left off is called-pagination. For example, the 'ListObjects' operation of Amazon S3 returns up to-1000 objects at a time, and you must send subsequent requests with the-appropriate Marker in order to retrieve the next page of results.--Operations that have an 'AWSPager' instance can transparently perform subsequent-requests, correctly setting Markers and other request facets to iterate through-the entire result set of a truncated API operation. Operations which support-this have an additional note in the documentation.--Many operations have the ability to filter results on the server side. See the-individual operation parameters for details.--}--{- $waiters-Waiters poll by repeatedly sending a request until some remote success condition-configured by the 'Wait' specification is fulfilled. The 'Wait' specification-determines how many attempts should be made, in addition to delay and retry strategies.--}
− gen/Network/AWS/Batch/CancelJob.hs
@@ -1,131 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Batch.CancelJob--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Cancels a job in an AWS Batch job queue. Jobs that are in the @SUBMITTED@ , @PENDING@ , or @RUNNABLE@ state are cancelled. Jobs that have progressed to @STARTING@ or @RUNNING@ are not cancelled (but the API operation still succeeds, even if no job is cancelled); these jobs must be terminated with the 'TerminateJob' operation.-------module Network.AWS.Batch.CancelJob- (- -- * Creating a Request- cancelJob- , CancelJob- -- * Request Lenses- , cjJobId- , cjReason-- -- * Destructuring the Response- , cancelJobResponse- , CancelJobResponse- -- * Response Lenses- , cjrsResponseStatus- ) where--import Network.AWS.Batch.Types-import Network.AWS.Batch.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'cancelJob' smart constructor.-data CancelJob = CancelJob'- { _cjJobId :: !Text- , _cjReason :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CancelJob' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cjJobId' - The AWS Batch job ID of the job to cancel.------ * 'cjReason' - 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 AWS Batch activity logs.-cancelJob- :: Text -- ^ 'cjJobId'- -> Text -- ^ 'cjReason'- -> CancelJob-cancelJob pJobId_ pReason_ =- CancelJob' {_cjJobId = pJobId_, _cjReason = pReason_}----- | The AWS Batch job ID of the job to cancel.-cjJobId :: Lens' CancelJob Text-cjJobId = lens _cjJobId (\ s a -> s{_cjJobId = a})---- | 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 AWS Batch activity logs.-cjReason :: Lens' CancelJob Text-cjReason = lens _cjReason (\ s a -> s{_cjReason = a})--instance AWSRequest CancelJob where- type Rs CancelJob = CancelJobResponse- request = postJSON batch- response- = receiveEmpty- (\ s h x ->- CancelJobResponse' <$> (pure (fromEnum s)))--instance Hashable CancelJob where--instance NFData CancelJob where--instance ToHeaders CancelJob where- toHeaders- = const- (mconcat- ["Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CancelJob where- toJSON CancelJob'{..}- = object- (catMaybes- [Just ("jobId" .= _cjJobId),- Just ("reason" .= _cjReason)])--instance ToPath CancelJob where- toPath = const "/v1/canceljob"--instance ToQuery CancelJob where- toQuery = const mempty---- | /See:/ 'cancelJobResponse' smart constructor.-newtype CancelJobResponse = CancelJobResponse'- { _cjrsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CancelJobResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cjrsResponseStatus' - -- | The response status code.-cancelJobResponse- :: Int -- ^ 'cjrsResponseStatus'- -> CancelJobResponse-cancelJobResponse pResponseStatus_ =- CancelJobResponse' {_cjrsResponseStatus = pResponseStatus_}----- | -- | The response status code.-cjrsResponseStatus :: Lens' CancelJobResponse Int-cjrsResponseStatus = lens _cjrsResponseStatus (\ s a -> s{_cjrsResponseStatus = a})--instance NFData CancelJobResponse where
− gen/Network/AWS/Batch/CreateComputeEnvironment.hs
@@ -1,196 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Batch.CreateComputeEnvironment--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates an AWS Batch compute environment. You can create @MANAGED@ or @UNMANAGED@ compute environments.--------- In a managed compute environment, AWS Batch manages the compute resources within the environment, based on the compute resources that you specify. Instances launched into a managed compute environment use a recent, approved version of the Amazon ECS-optimized AMI. You can choose to use Amazon EC2 On-Demand Instances in your managed compute environment, or you can use Amazon EC2 Spot Instances that only launch when the Spot bid price is below a specified percentage of the On-Demand price.------ In an unmanaged compute environment, you can manage your own compute resources. This provides more compute resource configuration options, such as using a custom AMI, but you must ensure that your AMI meets the Amazon ECS container instance AMI specification. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/container_instance_AMIs.html Container Instance AMIs> in the /Amazon Elastic Container Service Developer Guide/ . After you have created your unmanaged compute environment, you can use the 'DescribeComputeEnvironments' operation to find the Amazon ECS cluster that is associated with it and then manually launch your container instances into that Amazon ECS cluster. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_container_instance.html Launching an Amazon ECS Container Instance> in the /Amazon Elastic Container Service Developer Guide/ .----module Network.AWS.Batch.CreateComputeEnvironment- (- -- * Creating a Request- createComputeEnvironment- , CreateComputeEnvironment- -- * Request Lenses- , cceState- , cceComputeResources- , cceComputeEnvironmentName- , cceType- , cceServiceRole-- -- * Destructuring the Response- , createComputeEnvironmentResponse- , CreateComputeEnvironmentResponse- -- * Response Lenses- , ccersComputeEnvironmentName- , ccersComputeEnvironmentARN- , ccersResponseStatus- ) where--import Network.AWS.Batch.Types-import Network.AWS.Batch.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'createComputeEnvironment' smart constructor.-data CreateComputeEnvironment = CreateComputeEnvironment'- { _cceState :: !(Maybe CEState)- , _cceComputeResources :: !(Maybe ComputeResource)- , _cceComputeEnvironmentName :: !Text- , _cceType :: !CEType- , _cceServiceRole :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateComputeEnvironment' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cceState' - 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.------ * 'cceComputeResources' - Details of the compute resources managed by the compute environment. This parameter is required for managed compute environments.------ * 'cceComputeEnvironmentName' - The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.------ * 'cceType' - The type of the compute environment.------ * 'cceServiceRole' - The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf. If your specified role has a path other than @/@ , then you must either specify the full role ARN (this is recommended) or prefix the role name with the path.-createComputeEnvironment- :: Text -- ^ 'cceComputeEnvironmentName'- -> CEType -- ^ 'cceType'- -> Text -- ^ 'cceServiceRole'- -> CreateComputeEnvironment-createComputeEnvironment pComputeEnvironmentName_ pType_ pServiceRole_ =- CreateComputeEnvironment'- { _cceState = Nothing- , _cceComputeResources = Nothing- , _cceComputeEnvironmentName = pComputeEnvironmentName_- , _cceType = pType_- , _cceServiceRole = pServiceRole_- }----- | 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.-cceState :: Lens' CreateComputeEnvironment (Maybe CEState)-cceState = lens _cceState (\ s a -> s{_cceState = a})---- | Details of the compute resources managed by the compute environment. This parameter is required for managed compute environments.-cceComputeResources :: Lens' CreateComputeEnvironment (Maybe ComputeResource)-cceComputeResources = lens _cceComputeResources (\ s a -> s{_cceComputeResources = a})---- | The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.-cceComputeEnvironmentName :: Lens' CreateComputeEnvironment Text-cceComputeEnvironmentName = lens _cceComputeEnvironmentName (\ s a -> s{_cceComputeEnvironmentName = a})---- | The type of the compute environment.-cceType :: Lens' CreateComputeEnvironment CEType-cceType = lens _cceType (\ s a -> s{_cceType = a})---- | The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf. If your specified role has a path other than @/@ , then you must either specify the full role ARN (this is recommended) or prefix the role name with the path.-cceServiceRole :: Lens' CreateComputeEnvironment Text-cceServiceRole = lens _cceServiceRole (\ s a -> s{_cceServiceRole = a})--instance AWSRequest CreateComputeEnvironment where- type Rs CreateComputeEnvironment =- CreateComputeEnvironmentResponse- request = postJSON batch- response- = receiveJSON- (\ s h x ->- CreateComputeEnvironmentResponse' <$>- (x .?> "computeEnvironmentName") <*>- (x .?> "computeEnvironmentArn")- <*> (pure (fromEnum s)))--instance Hashable CreateComputeEnvironment where--instance NFData CreateComputeEnvironment where--instance ToHeaders CreateComputeEnvironment where- toHeaders- = const- (mconcat- ["Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateComputeEnvironment where- toJSON CreateComputeEnvironment'{..}- = object- (catMaybes- [("state" .=) <$> _cceState,- ("computeResources" .=) <$> _cceComputeResources,- Just- ("computeEnvironmentName" .=- _cceComputeEnvironmentName),- Just ("type" .= _cceType),- Just ("serviceRole" .= _cceServiceRole)])--instance ToPath CreateComputeEnvironment where- toPath = const "/v1/createcomputeenvironment"--instance ToQuery CreateComputeEnvironment where- toQuery = const mempty---- | /See:/ 'createComputeEnvironmentResponse' smart constructor.-data CreateComputeEnvironmentResponse = CreateComputeEnvironmentResponse'- { _ccersComputeEnvironmentName :: !(Maybe Text)- , _ccersComputeEnvironmentARN :: !(Maybe Text)- , _ccersResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateComputeEnvironmentResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ccersComputeEnvironmentName' - The name of the compute environment.------ * 'ccersComputeEnvironmentARN' - The Amazon Resource Name (ARN) of the compute environment.------ * 'ccersResponseStatus' - -- | The response status code.-createComputeEnvironmentResponse- :: Int -- ^ 'ccersResponseStatus'- -> CreateComputeEnvironmentResponse-createComputeEnvironmentResponse pResponseStatus_ =- CreateComputeEnvironmentResponse'- { _ccersComputeEnvironmentName = Nothing- , _ccersComputeEnvironmentARN = Nothing- , _ccersResponseStatus = pResponseStatus_- }----- | The name of the compute environment.-ccersComputeEnvironmentName :: Lens' CreateComputeEnvironmentResponse (Maybe Text)-ccersComputeEnvironmentName = lens _ccersComputeEnvironmentName (\ s a -> s{_ccersComputeEnvironmentName = a})---- | The Amazon Resource Name (ARN) of the compute environment.-ccersComputeEnvironmentARN :: Lens' CreateComputeEnvironmentResponse (Maybe Text)-ccersComputeEnvironmentARN = lens _ccersComputeEnvironmentARN (\ s a -> s{_ccersComputeEnvironmentARN = a})---- | -- | The response status code.-ccersResponseStatus :: Lens' CreateComputeEnvironmentResponse Int-ccersResponseStatus = lens _ccersResponseStatus (\ s a -> s{_ccersResponseStatus = a})--instance NFData CreateComputeEnvironmentResponse- where
− gen/Network/AWS/Batch/CreateJobQueue.hs
@@ -1,182 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Batch.CreateJobQueue--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates an AWS 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 in which the AWS 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.----module Network.AWS.Batch.CreateJobQueue- (- -- * Creating a Request- createJobQueue- , CreateJobQueue- -- * Request Lenses- , cjqState- , cjqJobQueueName- , cjqPriority- , cjqComputeEnvironmentOrder-- -- * Destructuring the Response- , createJobQueueResponse- , CreateJobQueueResponse- -- * Response Lenses- , cjqrsResponseStatus- , cjqrsJobQueueName- , cjqrsJobQueueARN- ) where--import Network.AWS.Batch.Types-import Network.AWS.Batch.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'createJobQueue' smart constructor.-data CreateJobQueue = CreateJobQueue'- { _cjqState :: !(Maybe JQState)- , _cjqJobQueueName :: !Text- , _cjqPriority :: !Int- , _cjqComputeEnvironmentOrder :: ![ComputeEnvironmentOrder]- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateJobQueue' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cjqState' - The state of the job queue. If the job queue state is @ENABLED@ , it is able to accept jobs.------ * 'cjqJobQueueName' - The name of the job queue.------ * 'cjqPriority' - 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 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@ .------ * 'cjqComputeEnvironmentOrder' - 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 should execute a given 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.-createJobQueue- :: Text -- ^ 'cjqJobQueueName'- -> Int -- ^ 'cjqPriority'- -> CreateJobQueue-createJobQueue pJobQueueName_ pPriority_ =- CreateJobQueue'- { _cjqState = Nothing- , _cjqJobQueueName = pJobQueueName_- , _cjqPriority = pPriority_- , _cjqComputeEnvironmentOrder = mempty- }----- | The state of the job queue. If the job queue state is @ENABLED@ , it is able to accept jobs.-cjqState :: Lens' CreateJobQueue (Maybe JQState)-cjqState = lens _cjqState (\ s a -> s{_cjqState = a})---- | The name of the job queue.-cjqJobQueueName :: Lens' CreateJobQueue Text-cjqJobQueueName = lens _cjqJobQueueName (\ s a -> s{_cjqJobQueueName = a})---- | 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 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@ .-cjqPriority :: Lens' CreateJobQueue Int-cjqPriority = lens _cjqPriority (\ s a -> s{_cjqPriority = a})---- | 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 should execute a given 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.-cjqComputeEnvironmentOrder :: Lens' CreateJobQueue [ComputeEnvironmentOrder]-cjqComputeEnvironmentOrder = lens _cjqComputeEnvironmentOrder (\ s a -> s{_cjqComputeEnvironmentOrder = a}) . _Coerce--instance AWSRequest CreateJobQueue where- type Rs CreateJobQueue = CreateJobQueueResponse- request = postJSON batch- response- = receiveJSON- (\ s h x ->- CreateJobQueueResponse' <$>- (pure (fromEnum s)) <*> (x .:> "jobQueueName") <*>- (x .:> "jobQueueArn"))--instance Hashable CreateJobQueue where--instance NFData CreateJobQueue where--instance ToHeaders CreateJobQueue where- toHeaders- = const- (mconcat- ["Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateJobQueue where- toJSON CreateJobQueue'{..}- = object- (catMaybes- [("state" .=) <$> _cjqState,- Just ("jobQueueName" .= _cjqJobQueueName),- Just ("priority" .= _cjqPriority),- Just- ("computeEnvironmentOrder" .=- _cjqComputeEnvironmentOrder)])--instance ToPath CreateJobQueue where- toPath = const "/v1/createjobqueue"--instance ToQuery CreateJobQueue where- toQuery = const mempty---- | /See:/ 'createJobQueueResponse' smart constructor.-data CreateJobQueueResponse = CreateJobQueueResponse'- { _cjqrsResponseStatus :: !Int- , _cjqrsJobQueueName :: !Text- , _cjqrsJobQueueARN :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateJobQueueResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cjqrsResponseStatus' - -- | The response status code.------ * 'cjqrsJobQueueName' - The name of the job queue.------ * 'cjqrsJobQueueARN' - The Amazon Resource Name (ARN) of the job queue.-createJobQueueResponse- :: Int -- ^ 'cjqrsResponseStatus'- -> Text -- ^ 'cjqrsJobQueueName'- -> Text -- ^ 'cjqrsJobQueueARN'- -> CreateJobQueueResponse-createJobQueueResponse pResponseStatus_ pJobQueueName_ pJobQueueARN_ =- CreateJobQueueResponse'- { _cjqrsResponseStatus = pResponseStatus_- , _cjqrsJobQueueName = pJobQueueName_- , _cjqrsJobQueueARN = pJobQueueARN_- }----- | -- | The response status code.-cjqrsResponseStatus :: Lens' CreateJobQueueResponse Int-cjqrsResponseStatus = lens _cjqrsResponseStatus (\ s a -> s{_cjqrsResponseStatus = a})---- | The name of the job queue.-cjqrsJobQueueName :: Lens' CreateJobQueueResponse Text-cjqrsJobQueueName = lens _cjqrsJobQueueName (\ s a -> s{_cjqrsJobQueueName = a})---- | The Amazon Resource Name (ARN) of the job queue.-cjqrsJobQueueARN :: Lens' CreateJobQueueResponse Text-cjqrsJobQueueARN = lens _cjqrsJobQueueARN (\ s a -> s{_cjqrsJobQueueARN = a})--instance NFData CreateJobQueueResponse where
− gen/Network/AWS/Batch/DeleteComputeEnvironment.hs
@@ -1,127 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Batch.DeleteComputeEnvironment--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes an AWS 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.----module Network.AWS.Batch.DeleteComputeEnvironment- (- -- * Creating a Request- deleteComputeEnvironment- , DeleteComputeEnvironment- -- * Request Lenses- , dceComputeEnvironment-- -- * Destructuring the Response- , deleteComputeEnvironmentResponse- , DeleteComputeEnvironmentResponse- -- * Response Lenses- , dcersResponseStatus- ) where--import Network.AWS.Batch.Types-import Network.AWS.Batch.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deleteComputeEnvironment' smart constructor.-newtype DeleteComputeEnvironment = DeleteComputeEnvironment'- { _dceComputeEnvironment :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteComputeEnvironment' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dceComputeEnvironment' - The name or Amazon Resource Name (ARN) of the compute environment to delete.-deleteComputeEnvironment- :: Text -- ^ 'dceComputeEnvironment'- -> DeleteComputeEnvironment-deleteComputeEnvironment pComputeEnvironment_ =- DeleteComputeEnvironment' {_dceComputeEnvironment = pComputeEnvironment_}----- | The name or Amazon Resource Name (ARN) of the compute environment to delete.-dceComputeEnvironment :: Lens' DeleteComputeEnvironment Text-dceComputeEnvironment = lens _dceComputeEnvironment (\ s a -> s{_dceComputeEnvironment = a})--instance AWSRequest DeleteComputeEnvironment where- type Rs DeleteComputeEnvironment =- DeleteComputeEnvironmentResponse- request = postJSON batch- response- = receiveEmpty- (\ s h x ->- DeleteComputeEnvironmentResponse' <$>- (pure (fromEnum s)))--instance Hashable DeleteComputeEnvironment where--instance NFData DeleteComputeEnvironment where--instance ToHeaders DeleteComputeEnvironment where- toHeaders- = const- (mconcat- ["Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteComputeEnvironment where- toJSON DeleteComputeEnvironment'{..}- = object- (catMaybes- [Just- ("computeEnvironment" .= _dceComputeEnvironment)])--instance ToPath DeleteComputeEnvironment where- toPath = const "/v1/deletecomputeenvironment"--instance ToQuery DeleteComputeEnvironment where- toQuery = const mempty---- | /See:/ 'deleteComputeEnvironmentResponse' smart constructor.-newtype DeleteComputeEnvironmentResponse = DeleteComputeEnvironmentResponse'- { _dcersResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteComputeEnvironmentResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dcersResponseStatus' - -- | The response status code.-deleteComputeEnvironmentResponse- :: Int -- ^ 'dcersResponseStatus'- -> DeleteComputeEnvironmentResponse-deleteComputeEnvironmentResponse pResponseStatus_ =- DeleteComputeEnvironmentResponse' {_dcersResponseStatus = pResponseStatus_}----- | -- | The response status code.-dcersResponseStatus :: Lens' DeleteComputeEnvironmentResponse Int-dcersResponseStatus = lens _dcersResponseStatus (\ s a -> s{_dcersResponseStatus = a})--instance NFData DeleteComputeEnvironmentResponse- where
− gen/Network/AWS/Batch/DeleteJobQueue.hs
@@ -1,121 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Batch.DeleteJobQueue--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes the specified job queue. You must first disable submissions for a queue with the 'UpdateJobQueue' operation. All jobs in the queue are terminated when you delete a job queue.--------- It is not necessary to disassociate compute environments from a queue before submitting a @DeleteJobQueue@ request.----module Network.AWS.Batch.DeleteJobQueue- (- -- * Creating a Request- deleteJobQueue- , DeleteJobQueue- -- * Request Lenses- , djqJobQueue-- -- * Destructuring the Response- , deleteJobQueueResponse- , DeleteJobQueueResponse- -- * Response Lenses- , djqrsResponseStatus- ) where--import Network.AWS.Batch.Types-import Network.AWS.Batch.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deleteJobQueue' smart constructor.-newtype DeleteJobQueue = DeleteJobQueue'- { _djqJobQueue :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteJobQueue' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'djqJobQueue' - The short name or full Amazon Resource Name (ARN) of the queue to delete.-deleteJobQueue- :: Text -- ^ 'djqJobQueue'- -> DeleteJobQueue-deleteJobQueue pJobQueue_ = DeleteJobQueue' {_djqJobQueue = pJobQueue_}----- | The short name or full Amazon Resource Name (ARN) of the queue to delete.-djqJobQueue :: Lens' DeleteJobQueue Text-djqJobQueue = lens _djqJobQueue (\ s a -> s{_djqJobQueue = a})--instance AWSRequest DeleteJobQueue where- type Rs DeleteJobQueue = DeleteJobQueueResponse- request = postJSON batch- response- = receiveEmpty- (\ s h x ->- DeleteJobQueueResponse' <$> (pure (fromEnum s)))--instance Hashable DeleteJobQueue where--instance NFData DeleteJobQueue where--instance ToHeaders DeleteJobQueue where- toHeaders- = const- (mconcat- ["Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteJobQueue where- toJSON DeleteJobQueue'{..}- = object- (catMaybes [Just ("jobQueue" .= _djqJobQueue)])--instance ToPath DeleteJobQueue where- toPath = const "/v1/deletejobqueue"--instance ToQuery DeleteJobQueue where- toQuery = const mempty---- | /See:/ 'deleteJobQueueResponse' smart constructor.-newtype DeleteJobQueueResponse = DeleteJobQueueResponse'- { _djqrsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteJobQueueResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'djqrsResponseStatus' - -- | The response status code.-deleteJobQueueResponse- :: Int -- ^ 'djqrsResponseStatus'- -> DeleteJobQueueResponse-deleteJobQueueResponse pResponseStatus_ =- DeleteJobQueueResponse' {_djqrsResponseStatus = pResponseStatus_}----- | -- | The response status code.-djqrsResponseStatus :: Lens' DeleteJobQueueResponse Int-djqrsResponseStatus = lens _djqrsResponseStatus (\ s a -> s{_djqrsResponseStatus = a})--instance NFData DeleteJobQueueResponse where
− gen/Network/AWS/Batch/DeregisterJobDefinition.hs
@@ -1,123 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Batch.DeregisterJobDefinition--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deregisters an AWS Batch job definition.-------module Network.AWS.Batch.DeregisterJobDefinition- (- -- * Creating a Request- deregisterJobDefinition- , DeregisterJobDefinition- -- * Request Lenses- , djdJobDefinition-- -- * Destructuring the Response- , deregisterJobDefinitionResponse- , DeregisterJobDefinitionResponse- -- * Response Lenses- , derrsResponseStatus- ) where--import Network.AWS.Batch.Types-import Network.AWS.Batch.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deregisterJobDefinition' smart constructor.-newtype DeregisterJobDefinition = DeregisterJobDefinition'- { _djdJobDefinition :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeregisterJobDefinition' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'djdJobDefinition' - The name and revision (@name:revision@ ) or full Amazon Resource Name (ARN) of the job definition to deregister.-deregisterJobDefinition- :: Text -- ^ 'djdJobDefinition'- -> DeregisterJobDefinition-deregisterJobDefinition pJobDefinition_ =- DeregisterJobDefinition' {_djdJobDefinition = pJobDefinition_}----- | The name and revision (@name:revision@ ) or full Amazon Resource Name (ARN) of the job definition to deregister.-djdJobDefinition :: Lens' DeregisterJobDefinition Text-djdJobDefinition = lens _djdJobDefinition (\ s a -> s{_djdJobDefinition = a})--instance AWSRequest DeregisterJobDefinition where- type Rs DeregisterJobDefinition =- DeregisterJobDefinitionResponse- request = postJSON batch- response- = receiveEmpty- (\ s h x ->- DeregisterJobDefinitionResponse' <$>- (pure (fromEnum s)))--instance Hashable DeregisterJobDefinition where--instance NFData DeregisterJobDefinition where--instance ToHeaders DeregisterJobDefinition where- toHeaders- = const- (mconcat- ["Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeregisterJobDefinition where- toJSON DeregisterJobDefinition'{..}- = object- (catMaybes- [Just ("jobDefinition" .= _djdJobDefinition)])--instance ToPath DeregisterJobDefinition where- toPath = const "/v1/deregisterjobdefinition"--instance ToQuery DeregisterJobDefinition where- toQuery = const mempty---- | /See:/ 'deregisterJobDefinitionResponse' smart constructor.-newtype DeregisterJobDefinitionResponse = DeregisterJobDefinitionResponse'- { _derrsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeregisterJobDefinitionResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'derrsResponseStatus' - -- | The response status code.-deregisterJobDefinitionResponse- :: Int -- ^ 'derrsResponseStatus'- -> DeregisterJobDefinitionResponse-deregisterJobDefinitionResponse pResponseStatus_ =- DeregisterJobDefinitionResponse' {_derrsResponseStatus = pResponseStatus_}----- | -- | The response status code.-derrsResponseStatus :: Lens' DeregisterJobDefinitionResponse Int-derrsResponseStatus = lens _derrsResponseStatus (\ s a -> s{_derrsResponseStatus = a})--instance NFData DeregisterJobDefinitionResponse where
− gen/Network/AWS/Batch/DescribeComputeEnvironments.hs
@@ -1,170 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Batch.DescribeComputeEnvironments--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Describes one or more of your compute environments.--------- If you are using an unmanaged compute environment, you can use the @DescribeComputeEnvironment@ operation to determine the @ecsClusterArn@ that you should launch your Amazon ECS container instances into.----module Network.AWS.Batch.DescribeComputeEnvironments- (- -- * Creating a Request- describeComputeEnvironments- , DescribeComputeEnvironments- -- * Request Lenses- , dceComputeEnvironments- , dceNextToken- , dceMaxResults-- -- * Destructuring the Response- , describeComputeEnvironmentsResponse- , DescribeComputeEnvironmentsResponse- -- * Response Lenses- , drsComputeEnvironments- , drsNextToken- , drsResponseStatus- ) where--import Network.AWS.Batch.Types-import Network.AWS.Batch.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeComputeEnvironments' smart constructor.-data DescribeComputeEnvironments = DescribeComputeEnvironments'- { _dceComputeEnvironments :: !(Maybe [Text])- , _dceNextToken :: !(Maybe Text)- , _dceMaxResults :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeComputeEnvironments' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dceComputeEnvironments' - A list of up to 100 compute environment names or full Amazon Resource Name (ARN) entries.------ * 'dceNextToken' - 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.------ * 'dceMaxResults' - 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 is not used, then @DescribeComputeEnvironments@ returns up to 100 results and a @nextToken@ value if applicable.-describeComputeEnvironments- :: DescribeComputeEnvironments-describeComputeEnvironments =- DescribeComputeEnvironments'- { _dceComputeEnvironments = Nothing- , _dceNextToken = Nothing- , _dceMaxResults = Nothing- }----- | A list of up to 100 compute environment names or full Amazon Resource Name (ARN) entries.-dceComputeEnvironments :: Lens' DescribeComputeEnvironments [Text]-dceComputeEnvironments = lens _dceComputeEnvironments (\ s a -> s{_dceComputeEnvironments = a}) . _Default . _Coerce---- | 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.-dceNextToken :: Lens' DescribeComputeEnvironments (Maybe Text)-dceNextToken = lens _dceNextToken (\ s a -> s{_dceNextToken = a})---- | 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 is not used, then @DescribeComputeEnvironments@ returns up to 100 results and a @nextToken@ value if applicable.-dceMaxResults :: Lens' DescribeComputeEnvironments (Maybe Int)-dceMaxResults = lens _dceMaxResults (\ s a -> s{_dceMaxResults = a})--instance AWSRequest DescribeComputeEnvironments where- type Rs DescribeComputeEnvironments =- DescribeComputeEnvironmentsResponse- request = postJSON batch- response- = receiveJSON- (\ s h x ->- DescribeComputeEnvironmentsResponse' <$>- (x .?> "computeEnvironments" .!@ mempty) <*>- (x .?> "nextToken")- <*> (pure (fromEnum s)))--instance Hashable DescribeComputeEnvironments where--instance NFData DescribeComputeEnvironments where--instance ToHeaders DescribeComputeEnvironments where- toHeaders- = const- (mconcat- ["Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeComputeEnvironments where- toJSON DescribeComputeEnvironments'{..}- = object- (catMaybes- [("computeEnvironments" .=) <$>- _dceComputeEnvironments,- ("nextToken" .=) <$> _dceNextToken,- ("maxResults" .=) <$> _dceMaxResults])--instance ToPath DescribeComputeEnvironments where- toPath = const "/v1/describecomputeenvironments"--instance ToQuery DescribeComputeEnvironments where- toQuery = const mempty---- | /See:/ 'describeComputeEnvironmentsResponse' smart constructor.-data DescribeComputeEnvironmentsResponse = DescribeComputeEnvironmentsResponse'- { _drsComputeEnvironments :: !(Maybe [ComputeEnvironmentDetail])- , _drsNextToken :: !(Maybe Text)- , _drsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeComputeEnvironmentsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'drsComputeEnvironments' - The list of compute environments.------ * 'drsNextToken' - The @nextToken@ value to include in a future @DescribeComputeEnvironments@ 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.------ * 'drsResponseStatus' - -- | The response status code.-describeComputeEnvironmentsResponse- :: Int -- ^ 'drsResponseStatus'- -> DescribeComputeEnvironmentsResponse-describeComputeEnvironmentsResponse pResponseStatus_ =- DescribeComputeEnvironmentsResponse'- { _drsComputeEnvironments = Nothing- , _drsNextToken = Nothing- , _drsResponseStatus = pResponseStatus_- }----- | The list of compute environments.-drsComputeEnvironments :: Lens' DescribeComputeEnvironmentsResponse [ComputeEnvironmentDetail]-drsComputeEnvironments = lens _drsComputeEnvironments (\ s a -> s{_drsComputeEnvironments = a}) . _Default . _Coerce---- | The @nextToken@ value to include in a future @DescribeComputeEnvironments@ 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.-drsNextToken :: Lens' DescribeComputeEnvironmentsResponse (Maybe Text)-drsNextToken = lens _drsNextToken (\ s a -> s{_drsNextToken = a})---- | -- | The response status code.-drsResponseStatus :: Lens' DescribeComputeEnvironmentsResponse Int-drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus = a})--instance NFData DescribeComputeEnvironmentsResponse- where
− gen/Network/AWS/Batch/DescribeJobDefinitions.hs
@@ -1,186 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Batch.DescribeJobDefinitions--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Describes a list of job definitions. You can specify a @status@ (such as @ACTIVE@ ) to only return job definitions that match that status.-------module Network.AWS.Batch.DescribeJobDefinitions- (- -- * Creating a Request- describeJobDefinitions- , DescribeJobDefinitions- -- * Request Lenses- , djdStatus- , djdJobDefinitionName- , djdJobDefinitions- , djdNextToken- , djdMaxResults-- -- * Destructuring the Response- , describeJobDefinitionsResponse- , DescribeJobDefinitionsResponse- -- * Response Lenses- , djdrsJobDefinitions- , djdrsNextToken- , djdrsResponseStatus- ) where--import Network.AWS.Batch.Types-import Network.AWS.Batch.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeJobDefinitions' smart constructor.-data DescribeJobDefinitions = DescribeJobDefinitions'- { _djdStatus :: !(Maybe Text)- , _djdJobDefinitionName :: !(Maybe Text)- , _djdJobDefinitions :: !(Maybe [Text])- , _djdNextToken :: !(Maybe Text)- , _djdMaxResults :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeJobDefinitions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'djdStatus' - The status with which to filter job definitions.------ * 'djdJobDefinitionName' - The name of the job definition to describe.------ * 'djdJobDefinitions' - A space-separated list of up to 100 job definition names or full Amazon Resource Name (ARN) entries.------ * 'djdNextToken' - 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.------ * 'djdMaxResults' - 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 along with 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 is not used, then @DescribeJobDefinitions@ returns up to 100 results and a @nextToken@ value if applicable.-describeJobDefinitions- :: DescribeJobDefinitions-describeJobDefinitions =- DescribeJobDefinitions'- { _djdStatus = Nothing- , _djdJobDefinitionName = Nothing- , _djdJobDefinitions = Nothing- , _djdNextToken = Nothing- , _djdMaxResults = Nothing- }----- | The status with which to filter job definitions.-djdStatus :: Lens' DescribeJobDefinitions (Maybe Text)-djdStatus = lens _djdStatus (\ s a -> s{_djdStatus = a})---- | The name of the job definition to describe.-djdJobDefinitionName :: Lens' DescribeJobDefinitions (Maybe Text)-djdJobDefinitionName = lens _djdJobDefinitionName (\ s a -> s{_djdJobDefinitionName = a})---- | A space-separated list of up to 100 job definition names or full Amazon Resource Name (ARN) entries.-djdJobDefinitions :: Lens' DescribeJobDefinitions [Text]-djdJobDefinitions = lens _djdJobDefinitions (\ s a -> s{_djdJobDefinitions = a}) . _Default . _Coerce---- | 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.-djdNextToken :: Lens' DescribeJobDefinitions (Maybe Text)-djdNextToken = lens _djdNextToken (\ s a -> s{_djdNextToken = a})---- | 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 along with 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 is not used, then @DescribeJobDefinitions@ returns up to 100 results and a @nextToken@ value if applicable.-djdMaxResults :: Lens' DescribeJobDefinitions (Maybe Int)-djdMaxResults = lens _djdMaxResults (\ s a -> s{_djdMaxResults = a})--instance AWSRequest DescribeJobDefinitions where- type Rs DescribeJobDefinitions =- DescribeJobDefinitionsResponse- request = postJSON batch- response- = receiveJSON- (\ s h x ->- DescribeJobDefinitionsResponse' <$>- (x .?> "jobDefinitions" .!@ mempty) <*>- (x .?> "nextToken")- <*> (pure (fromEnum s)))--instance Hashable DescribeJobDefinitions where--instance NFData DescribeJobDefinitions where--instance ToHeaders DescribeJobDefinitions where- toHeaders- = const- (mconcat- ["Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeJobDefinitions where- toJSON DescribeJobDefinitions'{..}- = object- (catMaybes- [("status" .=) <$> _djdStatus,- ("jobDefinitionName" .=) <$> _djdJobDefinitionName,- ("jobDefinitions" .=) <$> _djdJobDefinitions,- ("nextToken" .=) <$> _djdNextToken,- ("maxResults" .=) <$> _djdMaxResults])--instance ToPath DescribeJobDefinitions where- toPath = const "/v1/describejobdefinitions"--instance ToQuery DescribeJobDefinitions where- toQuery = const mempty---- | /See:/ 'describeJobDefinitionsResponse' smart constructor.-data DescribeJobDefinitionsResponse = DescribeJobDefinitionsResponse'- { _djdrsJobDefinitions :: !(Maybe [JobDefinition])- , _djdrsNextToken :: !(Maybe Text)- , _djdrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeJobDefinitionsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'djdrsJobDefinitions' - The list of job definitions.------ * 'djdrsNextToken' - 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.------ * 'djdrsResponseStatus' - -- | The response status code.-describeJobDefinitionsResponse- :: Int -- ^ 'djdrsResponseStatus'- -> DescribeJobDefinitionsResponse-describeJobDefinitionsResponse pResponseStatus_ =- DescribeJobDefinitionsResponse'- { _djdrsJobDefinitions = Nothing- , _djdrsNextToken = Nothing- , _djdrsResponseStatus = pResponseStatus_- }----- | The list of job definitions.-djdrsJobDefinitions :: Lens' DescribeJobDefinitionsResponse [JobDefinition]-djdrsJobDefinitions = lens _djdrsJobDefinitions (\ s a -> s{_djdrsJobDefinitions = a}) . _Default . _Coerce---- | 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.-djdrsNextToken :: Lens' DescribeJobDefinitionsResponse (Maybe Text)-djdrsNextToken = lens _djdrsNextToken (\ s a -> s{_djdrsNextToken = a})---- | -- | The response status code.-djdrsResponseStatus :: Lens' DescribeJobDefinitionsResponse Int-djdrsResponseStatus = lens _djdrsResponseStatus (\ s a -> s{_djdrsResponseStatus = a})--instance NFData DescribeJobDefinitionsResponse where
− gen/Network/AWS/Batch/DescribeJobQueues.hs
@@ -1,162 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Batch.DescribeJobQueues--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Describes one or more of your job queues.-------module Network.AWS.Batch.DescribeJobQueues- (- -- * Creating a Request- describeJobQueues- , DescribeJobQueues- -- * Request Lenses- , djqNextToken- , djqJobQueues- , djqMaxResults-- -- * Destructuring the Response- , describeJobQueuesResponse- , DescribeJobQueuesResponse- -- * Response Lenses- , djqsrsNextToken- , djqsrsJobQueues- , djqsrsResponseStatus- ) where--import Network.AWS.Batch.Types-import Network.AWS.Batch.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeJobQueues' smart constructor.-data DescribeJobQueues = DescribeJobQueues'- { _djqNextToken :: !(Maybe Text)- , _djqJobQueues :: !(Maybe [Text])- , _djqMaxResults :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeJobQueues' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'djqNextToken' - 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.------ * 'djqJobQueues' - A list of up to 100 queue names or full queue Amazon Resource Name (ARN) entries.------ * 'djqMaxResults' - 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 along with 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 is not used, then @DescribeJobQueues@ returns up to 100 results and a @nextToken@ value if applicable.-describeJobQueues- :: DescribeJobQueues-describeJobQueues =- DescribeJobQueues'- {_djqNextToken = Nothing, _djqJobQueues = Nothing, _djqMaxResults = Nothing}----- | 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.-djqNextToken :: Lens' DescribeJobQueues (Maybe Text)-djqNextToken = lens _djqNextToken (\ s a -> s{_djqNextToken = a})---- | A list of up to 100 queue names or full queue Amazon Resource Name (ARN) entries.-djqJobQueues :: Lens' DescribeJobQueues [Text]-djqJobQueues = lens _djqJobQueues (\ s a -> s{_djqJobQueues = a}) . _Default . _Coerce---- | 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 along with 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 is not used, then @DescribeJobQueues@ returns up to 100 results and a @nextToken@ value if applicable.-djqMaxResults :: Lens' DescribeJobQueues (Maybe Int)-djqMaxResults = lens _djqMaxResults (\ s a -> s{_djqMaxResults = a})--instance AWSRequest DescribeJobQueues where- type Rs DescribeJobQueues = DescribeJobQueuesResponse- request = postJSON batch- response- = receiveJSON- (\ s h x ->- DescribeJobQueuesResponse' <$>- (x .?> "nextToken") <*>- (x .?> "jobQueues" .!@ mempty)- <*> (pure (fromEnum s)))--instance Hashable DescribeJobQueues where--instance NFData DescribeJobQueues where--instance ToHeaders DescribeJobQueues where- toHeaders- = const- (mconcat- ["Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeJobQueues where- toJSON DescribeJobQueues'{..}- = object- (catMaybes- [("nextToken" .=) <$> _djqNextToken,- ("jobQueues" .=) <$> _djqJobQueues,- ("maxResults" .=) <$> _djqMaxResults])--instance ToPath DescribeJobQueues where- toPath = const "/v1/describejobqueues"--instance ToQuery DescribeJobQueues where- toQuery = const mempty---- | /See:/ 'describeJobQueuesResponse' smart constructor.-data DescribeJobQueuesResponse = DescribeJobQueuesResponse'- { _djqsrsNextToken :: !(Maybe Text)- , _djqsrsJobQueues :: !(Maybe [JobQueueDetail])- , _djqsrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeJobQueuesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'djqsrsNextToken' - 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.------ * 'djqsrsJobQueues' - The list of job queues.------ * 'djqsrsResponseStatus' - -- | The response status code.-describeJobQueuesResponse- :: Int -- ^ 'djqsrsResponseStatus'- -> DescribeJobQueuesResponse-describeJobQueuesResponse pResponseStatus_ =- DescribeJobQueuesResponse'- { _djqsrsNextToken = Nothing- , _djqsrsJobQueues = Nothing- , _djqsrsResponseStatus = pResponseStatus_- }----- | 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.-djqsrsNextToken :: Lens' DescribeJobQueuesResponse (Maybe Text)-djqsrsNextToken = lens _djqsrsNextToken (\ s a -> s{_djqsrsNextToken = a})---- | The list of job queues.-djqsrsJobQueues :: Lens' DescribeJobQueuesResponse [JobQueueDetail]-djqsrsJobQueues = lens _djqsrsJobQueues (\ s a -> s{_djqsrsJobQueues = a}) . _Default . _Coerce---- | -- | The response status code.-djqsrsResponseStatus :: Lens' DescribeJobQueuesResponse Int-djqsrsResponseStatus = lens _djqsrsResponseStatus (\ s a -> s{_djqsrsResponseStatus = a})--instance NFData DescribeJobQueuesResponse where
− gen/Network/AWS/Batch/DescribeJobs.hs
@@ -1,127 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Batch.DescribeJobs--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Describes a list of AWS Batch jobs.-------module Network.AWS.Batch.DescribeJobs- (- -- * Creating a Request- describeJobs- , DescribeJobs- -- * Request Lenses- , djJobs-- -- * Destructuring the Response- , describeJobsResponse- , DescribeJobsResponse- -- * Response Lenses- , djrsJobs- , djrsResponseStatus- ) where--import Network.AWS.Batch.Types-import Network.AWS.Batch.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeJobs' smart constructor.-newtype DescribeJobs = DescribeJobs'- { _djJobs :: [Text]- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeJobs' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'djJobs' - A space-separated list of up to 100 job IDs.-describeJobs- :: DescribeJobs-describeJobs = DescribeJobs' {_djJobs = mempty}----- | A space-separated list of up to 100 job IDs.-djJobs :: Lens' DescribeJobs [Text]-djJobs = lens _djJobs (\ s a -> s{_djJobs = a}) . _Coerce--instance AWSRequest DescribeJobs where- type Rs DescribeJobs = DescribeJobsResponse- request = postJSON batch- response- = receiveJSON- (\ s h x ->- DescribeJobsResponse' <$>- (x .?> "jobs" .!@ mempty) <*> (pure (fromEnum s)))--instance Hashable DescribeJobs where--instance NFData DescribeJobs where--instance ToHeaders DescribeJobs where- toHeaders- = const- (mconcat- ["Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeJobs where- toJSON DescribeJobs'{..}- = object (catMaybes [Just ("jobs" .= _djJobs)])--instance ToPath DescribeJobs where- toPath = const "/v1/describejobs"--instance ToQuery DescribeJobs where- toQuery = const mempty---- | /See:/ 'describeJobsResponse' smart constructor.-data DescribeJobsResponse = DescribeJobsResponse'- { _djrsJobs :: !(Maybe [JobDetail])- , _djrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeJobsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'djrsJobs' - The list of jobs.------ * 'djrsResponseStatus' - -- | The response status code.-describeJobsResponse- :: Int -- ^ 'djrsResponseStatus'- -> DescribeJobsResponse-describeJobsResponse pResponseStatus_ =- DescribeJobsResponse'- {_djrsJobs = Nothing, _djrsResponseStatus = pResponseStatus_}----- | The list of jobs.-djrsJobs :: Lens' DescribeJobsResponse [JobDetail]-djrsJobs = lens _djrsJobs (\ s a -> s{_djrsJobs = a}) . _Default . _Coerce---- | -- | The response status code.-djrsResponseStatus :: Lens' DescribeJobsResponse Int-djrsResponseStatus = lens _djrsResponseStatus (\ s a -> s{_djrsResponseStatus = a})--instance NFData DescribeJobsResponse where
− gen/Network/AWS/Batch/ListJobs.hs
@@ -1,184 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Batch.ListJobs--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns a list of task jobs for a specified job queue. You can filter the results by job status with the @jobStatus@ parameter. If you do not specify a status, only @RUNNING@ jobs are returned.-------module Network.AWS.Batch.ListJobs- (- -- * Creating a Request- listJobs- , ListJobs- -- * Request Lenses- , ljNextToken- , ljJobStatus- , ljArrayJobId- , ljJobQueue- , ljMaxResults-- -- * Destructuring the Response- , listJobsResponse- , ListJobsResponse- -- * Response Lenses- , ljrsNextToken- , ljrsResponseStatus- , ljrsJobSummaryList- ) where--import Network.AWS.Batch.Types-import Network.AWS.Batch.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listJobs' smart constructor.-data ListJobs = ListJobs'- { _ljNextToken :: !(Maybe Text)- , _ljJobStatus :: !(Maybe JobStatus)- , _ljArrayJobId :: !(Maybe Text)- , _ljJobQueue :: !(Maybe Text)- , _ljMaxResults :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListJobs' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ljNextToken' - 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.------ * 'ljJobStatus' - The job status with which to filter jobs in the specified queue. If you do not specify a status, only @RUNNING@ jobs are returned.------ * 'ljArrayJobId' - The job ID for an array job. Specifying an array job ID with this parameter lists all child jobs from within the specified array.------ * 'ljJobQueue' - The name or full Amazon Resource Name (ARN) of the job queue with which to list jobs.------ * 'ljMaxResults' - 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 along with 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 is not used, then @ListJobs@ returns up to 100 results and a @nextToken@ value if applicable.-listJobs- :: ListJobs-listJobs =- ListJobs'- { _ljNextToken = Nothing- , _ljJobStatus = Nothing- , _ljArrayJobId = Nothing- , _ljJobQueue = Nothing- , _ljMaxResults = Nothing- }----- | 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.-ljNextToken :: Lens' ListJobs (Maybe Text)-ljNextToken = lens _ljNextToken (\ s a -> s{_ljNextToken = a})---- | The job status with which to filter jobs in the specified queue. If you do not specify a status, only @RUNNING@ jobs are returned.-ljJobStatus :: Lens' ListJobs (Maybe JobStatus)-ljJobStatus = lens _ljJobStatus (\ s a -> s{_ljJobStatus = a})---- | The job ID for an array job. Specifying an array job ID with this parameter lists all child jobs from within the specified array.-ljArrayJobId :: Lens' ListJobs (Maybe Text)-ljArrayJobId = lens _ljArrayJobId (\ s a -> s{_ljArrayJobId = a})---- | The name or full Amazon Resource Name (ARN) of the job queue with which to list jobs.-ljJobQueue :: Lens' ListJobs (Maybe Text)-ljJobQueue = lens _ljJobQueue (\ s a -> s{_ljJobQueue = a})---- | 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 along with 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 is not used, then @ListJobs@ returns up to 100 results and a @nextToken@ value if applicable.-ljMaxResults :: Lens' ListJobs (Maybe Int)-ljMaxResults = lens _ljMaxResults (\ s a -> s{_ljMaxResults = a})--instance AWSRequest ListJobs where- type Rs ListJobs = ListJobsResponse- request = postJSON batch- response- = receiveJSON- (\ s h x ->- ListJobsResponse' <$>- (x .?> "nextToken") <*> (pure (fromEnum s)) <*>- (x .?> "jobSummaryList" .!@ mempty))--instance Hashable ListJobs where--instance NFData ListJobs where--instance ToHeaders ListJobs where- toHeaders- = const- (mconcat- ["Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListJobs where- toJSON ListJobs'{..}- = object- (catMaybes- [("nextToken" .=) <$> _ljNextToken,- ("jobStatus" .=) <$> _ljJobStatus,- ("arrayJobId" .=) <$> _ljArrayJobId,- ("jobQueue" .=) <$> _ljJobQueue,- ("maxResults" .=) <$> _ljMaxResults])--instance ToPath ListJobs where- toPath = const "/v1/listjobs"--instance ToQuery ListJobs where- toQuery = const mempty---- | /See:/ 'listJobsResponse' smart constructor.-data ListJobsResponse = ListJobsResponse'- { _ljrsNextToken :: !(Maybe Text)- , _ljrsResponseStatus :: !Int- , _ljrsJobSummaryList :: ![JobSummary]- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListJobsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ljrsNextToken' - 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.------ * 'ljrsResponseStatus' - -- | The response status code.------ * 'ljrsJobSummaryList' - A list of job summaries that match the request.-listJobsResponse- :: Int -- ^ 'ljrsResponseStatus'- -> ListJobsResponse-listJobsResponse pResponseStatus_ =- ListJobsResponse'- { _ljrsNextToken = Nothing- , _ljrsResponseStatus = pResponseStatus_- , _ljrsJobSummaryList = mempty- }----- | 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.-ljrsNextToken :: Lens' ListJobsResponse (Maybe Text)-ljrsNextToken = lens _ljrsNextToken (\ s a -> s{_ljrsNextToken = a})---- | -- | The response status code.-ljrsResponseStatus :: Lens' ListJobsResponse Int-ljrsResponseStatus = lens _ljrsResponseStatus (\ s a -> s{_ljrsResponseStatus = a})---- | A list of job summaries that match the request.-ljrsJobSummaryList :: Lens' ListJobsResponse [JobSummary]-ljrsJobSummaryList = lens _ljrsJobSummaryList (\ s a -> s{_ljrsJobSummaryList = a}) . _Coerce--instance NFData ListJobsResponse where
− gen/Network/AWS/Batch/RegisterJobDefinition.hs
@@ -1,211 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Batch.RegisterJobDefinition--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Registers an AWS Batch job definition.-------module Network.AWS.Batch.RegisterJobDefinition- (- -- * Creating a Request- registerJobDefinition- , RegisterJobDefinition- -- * Request Lenses- , rjdRetryStrategy- , rjdParameters- , rjdTimeout- , rjdContainerProperties- , rjdJobDefinitionName- , rjdType-- -- * Destructuring the Response- , registerJobDefinitionResponse- , RegisterJobDefinitionResponse- -- * Response Lenses- , rjdrsResponseStatus- , rjdrsJobDefinitionName- , rjdrsJobDefinitionARN- , rjdrsRevision- ) where--import Network.AWS.Batch.Types-import Network.AWS.Batch.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'registerJobDefinition' smart constructor.-data RegisterJobDefinition = RegisterJobDefinition'- { _rjdRetryStrategy :: !(Maybe RetryStrategy)- , _rjdParameters :: !(Maybe (Map Text Text))- , _rjdTimeout :: !(Maybe JobTimeout)- , _rjdContainerProperties :: !(Maybe ContainerProperties)- , _rjdJobDefinitionName :: !Text- , _rjdType :: !JobDefinitionType- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RegisterJobDefinition' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rjdRetryStrategy' - The retry strategy to use for failed jobs that are submitted with this job definition. Any retry strategy that is specified during a 'SubmitJob' operation overrides the retry strategy defined here. If a job is terminated due to a timeout, it is not retried.------ * 'rjdParameters' - 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.------ * 'rjdTimeout' - The timeout configuration for jobs that are submitted with this job definition, after which AWS Batch terminates your jobs if they have not finished. If a job is terminated due to a timeout, it is not retried. The minimum value for the timeout is 60 seconds. Any timeout configuration that is specified during a 'SubmitJob' operation overrides the timeout configuration defined here. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/job_timeouts.html Job Timeouts> in the /Amazon Elastic Container Service Developer Guide/ .------ * 'rjdContainerProperties' - An object with various properties specific for container-based jobs. This parameter is required if the @type@ parameter is @container@ .------ * 'rjdJobDefinitionName' - The name of the job definition to register. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.------ * 'rjdType' - The type of job definition.-registerJobDefinition- :: Text -- ^ 'rjdJobDefinitionName'- -> JobDefinitionType -- ^ 'rjdType'- -> RegisterJobDefinition-registerJobDefinition pJobDefinitionName_ pType_ =- RegisterJobDefinition'- { _rjdRetryStrategy = Nothing- , _rjdParameters = Nothing- , _rjdTimeout = Nothing- , _rjdContainerProperties = Nothing- , _rjdJobDefinitionName = pJobDefinitionName_- , _rjdType = pType_- }----- | The retry strategy to use for failed jobs that are submitted with this job definition. Any retry strategy that is specified during a 'SubmitJob' operation overrides the retry strategy defined here. If a job is terminated due to a timeout, it is not retried.-rjdRetryStrategy :: Lens' RegisterJobDefinition (Maybe RetryStrategy)-rjdRetryStrategy = lens _rjdRetryStrategy (\ s a -> s{_rjdRetryStrategy = a})---- | 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.-rjdParameters :: Lens' RegisterJobDefinition (HashMap Text Text)-rjdParameters = lens _rjdParameters (\ s a -> s{_rjdParameters = a}) . _Default . _Map---- | The timeout configuration for jobs that are submitted with this job definition, after which AWS Batch terminates your jobs if they have not finished. If a job is terminated due to a timeout, it is not retried. The minimum value for the timeout is 60 seconds. Any timeout configuration that is specified during a 'SubmitJob' operation overrides the timeout configuration defined here. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/job_timeouts.html Job Timeouts> in the /Amazon Elastic Container Service Developer Guide/ .-rjdTimeout :: Lens' RegisterJobDefinition (Maybe JobTimeout)-rjdTimeout = lens _rjdTimeout (\ s a -> s{_rjdTimeout = a})---- | An object with various properties specific for container-based jobs. This parameter is required if the @type@ parameter is @container@ .-rjdContainerProperties :: Lens' RegisterJobDefinition (Maybe ContainerProperties)-rjdContainerProperties = lens _rjdContainerProperties (\ s a -> s{_rjdContainerProperties = a})---- | The name of the job definition to register. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.-rjdJobDefinitionName :: Lens' RegisterJobDefinition Text-rjdJobDefinitionName = lens _rjdJobDefinitionName (\ s a -> s{_rjdJobDefinitionName = a})---- | The type of job definition.-rjdType :: Lens' RegisterJobDefinition JobDefinitionType-rjdType = lens _rjdType (\ s a -> s{_rjdType = a})--instance AWSRequest RegisterJobDefinition where- type Rs RegisterJobDefinition =- RegisterJobDefinitionResponse- request = postJSON batch- response- = receiveJSON- (\ s h x ->- RegisterJobDefinitionResponse' <$>- (pure (fromEnum s)) <*> (x .:> "jobDefinitionName")- <*> (x .:> "jobDefinitionArn")- <*> (x .:> "revision"))--instance Hashable RegisterJobDefinition where--instance NFData RegisterJobDefinition where--instance ToHeaders RegisterJobDefinition where- toHeaders- = const- (mconcat- ["Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON RegisterJobDefinition where- toJSON RegisterJobDefinition'{..}- = object- (catMaybes- [("retryStrategy" .=) <$> _rjdRetryStrategy,- ("parameters" .=) <$> _rjdParameters,- ("timeout" .=) <$> _rjdTimeout,- ("containerProperties" .=) <$>- _rjdContainerProperties,- Just ("jobDefinitionName" .= _rjdJobDefinitionName),- Just ("type" .= _rjdType)])--instance ToPath RegisterJobDefinition where- toPath = const "/v1/registerjobdefinition"--instance ToQuery RegisterJobDefinition where- toQuery = const mempty---- | /See:/ 'registerJobDefinitionResponse' smart constructor.-data RegisterJobDefinitionResponse = RegisterJobDefinitionResponse'- { _rjdrsResponseStatus :: !Int- , _rjdrsJobDefinitionName :: !Text- , _rjdrsJobDefinitionARN :: !Text- , _rjdrsRevision :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RegisterJobDefinitionResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rjdrsResponseStatus' - -- | The response status code.------ * 'rjdrsJobDefinitionName' - The name of the job definition.------ * 'rjdrsJobDefinitionARN' - The Amazon Resource Name (ARN) of the job definition.------ * 'rjdrsRevision' - The revision of the job definition.-registerJobDefinitionResponse- :: Int -- ^ 'rjdrsResponseStatus'- -> Text -- ^ 'rjdrsJobDefinitionName'- -> Text -- ^ 'rjdrsJobDefinitionARN'- -> Int -- ^ 'rjdrsRevision'- -> RegisterJobDefinitionResponse-registerJobDefinitionResponse pResponseStatus_ pJobDefinitionName_ pJobDefinitionARN_ pRevision_ =- RegisterJobDefinitionResponse'- { _rjdrsResponseStatus = pResponseStatus_- , _rjdrsJobDefinitionName = pJobDefinitionName_- , _rjdrsJobDefinitionARN = pJobDefinitionARN_- , _rjdrsRevision = pRevision_- }----- | -- | The response status code.-rjdrsResponseStatus :: Lens' RegisterJobDefinitionResponse Int-rjdrsResponseStatus = lens _rjdrsResponseStatus (\ s a -> s{_rjdrsResponseStatus = a})---- | The name of the job definition.-rjdrsJobDefinitionName :: Lens' RegisterJobDefinitionResponse Text-rjdrsJobDefinitionName = lens _rjdrsJobDefinitionName (\ s a -> s{_rjdrsJobDefinitionName = a})---- | The Amazon Resource Name (ARN) of the job definition.-rjdrsJobDefinitionARN :: Lens' RegisterJobDefinitionResponse Text-rjdrsJobDefinitionARN = lens _rjdrsJobDefinitionARN (\ s a -> s{_rjdrsJobDefinitionARN = a})---- | The revision of the job definition.-rjdrsRevision :: Lens' RegisterJobDefinitionResponse Int-rjdrsRevision = lens _rjdrsRevision (\ s a -> s{_rjdrsRevision = a})--instance NFData RegisterJobDefinitionResponse where
− gen/Network/AWS/Batch/SubmitJob.hs
@@ -1,229 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Batch.SubmitJob--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Submits an AWS Batch job from a job definition. Parameters specified during 'SubmitJob' override parameters defined in the job definition.-------module Network.AWS.Batch.SubmitJob- (- -- * Creating a Request- submitJob- , SubmitJob- -- * Request Lenses- , sjContainerOverrides- , sjRetryStrategy- , sjDependsOn- , sjParameters- , sjArrayProperties- , sjTimeout- , sjJobName- , sjJobQueue- , sjJobDefinition-- -- * Destructuring the Response- , submitJobResponse- , SubmitJobResponse- -- * Response Lenses- , sjrsResponseStatus- , sjrsJobName- , sjrsJobId- ) where--import Network.AWS.Batch.Types-import Network.AWS.Batch.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'submitJob' smart constructor.-data SubmitJob = SubmitJob'- { _sjContainerOverrides :: !(Maybe ContainerOverrides)- , _sjRetryStrategy :: !(Maybe RetryStrategy)- , _sjDependsOn :: !(Maybe [JobDependency])- , _sjParameters :: !(Maybe (Map Text Text))- , _sjArrayProperties :: !(Maybe ArrayProperties)- , _sjTimeout :: !(Maybe JobTimeout)- , _sjJobName :: !Text- , _sjJobQueue :: !Text- , _sjJobDefinition :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'SubmitJob' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sjContainerOverrides' - A list of container overrides in JSON format 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 (that is specified in the job definition or the Docker image) with a @command@ override. You can also override existing environment variables (that are specified in the job definition or Docker image) on a container or add new environment variables to it with an @environment@ override.------ * 'sjRetryStrategy' - 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.------ * 'sjDependsOn' - 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 so that each index child of this job must wait for the corresponding index child of each dependency to complete before it can begin.------ * 'sjParameters' - 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.------ * 'sjArrayProperties' - 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 <http://docs.aws.amazon.com/batch/latest/userguide/array_jobs.html Array Jobs> in the /AWS Batch User Guide/ .------ * 'sjTimeout' - The timeout configuration for this 'SubmitJob' operation. You can specify a timeout duration after which AWS Batch terminates your jobs if they have not finished. If a job is terminated due to a timeout, it is not 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 <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/job_timeouts.html Job Timeouts> in the /Amazon Elastic Container Service Developer Guide/ .------ * 'sjJobName' - The name of the job. The first character must be alphanumeric, and up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.------ * 'sjJobQueue' - The job queue into which the job is submitted. You can specify either the name or the Amazon Resource Name (ARN) of the queue.------ * 'sjJobDefinition' - The job definition used by this job. This value can be either a @name:revision@ or the Amazon Resource Name (ARN) for the job definition.-submitJob- :: Text -- ^ 'sjJobName'- -> Text -- ^ 'sjJobQueue'- -> Text -- ^ 'sjJobDefinition'- -> SubmitJob-submitJob pJobName_ pJobQueue_ pJobDefinition_ =- SubmitJob'- { _sjContainerOverrides = Nothing- , _sjRetryStrategy = Nothing- , _sjDependsOn = Nothing- , _sjParameters = Nothing- , _sjArrayProperties = Nothing- , _sjTimeout = Nothing- , _sjJobName = pJobName_- , _sjJobQueue = pJobQueue_- , _sjJobDefinition = pJobDefinition_- }----- | A list of container overrides in JSON format 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 (that is specified in the job definition or the Docker image) with a @command@ override. You can also override existing environment variables (that are specified in the job definition or Docker image) on a container or add new environment variables to it with an @environment@ override.-sjContainerOverrides :: Lens' SubmitJob (Maybe ContainerOverrides)-sjContainerOverrides = lens _sjContainerOverrides (\ s a -> s{_sjContainerOverrides = a})---- | 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.-sjRetryStrategy :: Lens' SubmitJob (Maybe RetryStrategy)-sjRetryStrategy = lens _sjRetryStrategy (\ s a -> s{_sjRetryStrategy = a})---- | 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 so that each index child of this job must wait for the corresponding index child of each dependency to complete before it can begin.-sjDependsOn :: Lens' SubmitJob [JobDependency]-sjDependsOn = lens _sjDependsOn (\ s a -> s{_sjDependsOn = a}) . _Default . _Coerce---- | 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.-sjParameters :: Lens' SubmitJob (HashMap Text Text)-sjParameters = lens _sjParameters (\ s a -> s{_sjParameters = a}) . _Default . _Map---- | 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 <http://docs.aws.amazon.com/batch/latest/userguide/array_jobs.html Array Jobs> in the /AWS Batch User Guide/ .-sjArrayProperties :: Lens' SubmitJob (Maybe ArrayProperties)-sjArrayProperties = lens _sjArrayProperties (\ s a -> s{_sjArrayProperties = a})---- | The timeout configuration for this 'SubmitJob' operation. You can specify a timeout duration after which AWS Batch terminates your jobs if they have not finished. If a job is terminated due to a timeout, it is not 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 <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/job_timeouts.html Job Timeouts> in the /Amazon Elastic Container Service Developer Guide/ .-sjTimeout :: Lens' SubmitJob (Maybe JobTimeout)-sjTimeout = lens _sjTimeout (\ s a -> s{_sjTimeout = a})---- | The name of the job. The first character must be alphanumeric, and up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.-sjJobName :: Lens' SubmitJob Text-sjJobName = lens _sjJobName (\ s a -> s{_sjJobName = a})---- | The job queue into which the job is submitted. You can specify either the name or the Amazon Resource Name (ARN) of the queue.-sjJobQueue :: Lens' SubmitJob Text-sjJobQueue = lens _sjJobQueue (\ s a -> s{_sjJobQueue = a})---- | The job definition used by this job. This value can be either a @name:revision@ or the Amazon Resource Name (ARN) for the job definition.-sjJobDefinition :: Lens' SubmitJob Text-sjJobDefinition = lens _sjJobDefinition (\ s a -> s{_sjJobDefinition = a})--instance AWSRequest SubmitJob where- type Rs SubmitJob = SubmitJobResponse- request = postJSON batch- response- = receiveJSON- (\ s h x ->- SubmitJobResponse' <$>- (pure (fromEnum s)) <*> (x .:> "jobName") <*>- (x .:> "jobId"))--instance Hashable SubmitJob where--instance NFData SubmitJob where--instance ToHeaders SubmitJob where- toHeaders- = const- (mconcat- ["Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON SubmitJob where- toJSON SubmitJob'{..}- = object- (catMaybes- [("containerOverrides" .=) <$> _sjContainerOverrides,- ("retryStrategy" .=) <$> _sjRetryStrategy,- ("dependsOn" .=) <$> _sjDependsOn,- ("parameters" .=) <$> _sjParameters,- ("arrayProperties" .=) <$> _sjArrayProperties,- ("timeout" .=) <$> _sjTimeout,- Just ("jobName" .= _sjJobName),- Just ("jobQueue" .= _sjJobQueue),- Just ("jobDefinition" .= _sjJobDefinition)])--instance ToPath SubmitJob where- toPath = const "/v1/submitjob"--instance ToQuery SubmitJob where- toQuery = const mempty---- | /See:/ 'submitJobResponse' smart constructor.-data SubmitJobResponse = SubmitJobResponse'- { _sjrsResponseStatus :: !Int- , _sjrsJobName :: !Text- , _sjrsJobId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'SubmitJobResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sjrsResponseStatus' - -- | The response status code.------ * 'sjrsJobName' - The name of the job.------ * 'sjrsJobId' - The unique identifier for the job.-submitJobResponse- :: Int -- ^ 'sjrsResponseStatus'- -> Text -- ^ 'sjrsJobName'- -> Text -- ^ 'sjrsJobId'- -> SubmitJobResponse-submitJobResponse pResponseStatus_ pJobName_ pJobId_ =- SubmitJobResponse'- { _sjrsResponseStatus = pResponseStatus_- , _sjrsJobName = pJobName_- , _sjrsJobId = pJobId_- }----- | -- | The response status code.-sjrsResponseStatus :: Lens' SubmitJobResponse Int-sjrsResponseStatus = lens _sjrsResponseStatus (\ s a -> s{_sjrsResponseStatus = a})---- | The name of the job.-sjrsJobName :: Lens' SubmitJobResponse Text-sjrsJobName = lens _sjrsJobName (\ s a -> s{_sjrsJobName = a})---- | The unique identifier for the job.-sjrsJobId :: Lens' SubmitJobResponse Text-sjrsJobId = lens _sjrsJobId (\ s a -> s{_sjrsJobId = a})--instance NFData SubmitJobResponse where
− gen/Network/AWS/Batch/TerminateJob.hs
@@ -1,131 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Batch.TerminateJob--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ 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.-------module Network.AWS.Batch.TerminateJob- (- -- * Creating a Request- terminateJob- , TerminateJob- -- * Request Lenses- , tjJobId- , tjReason-- -- * Destructuring the Response- , terminateJobResponse- , TerminateJobResponse- -- * Response Lenses- , tjrsResponseStatus- ) where--import Network.AWS.Batch.Types-import Network.AWS.Batch.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'terminateJob' smart constructor.-data TerminateJob = TerminateJob'- { _tjJobId :: !Text- , _tjReason :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'TerminateJob' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tjJobId' - The AWS Batch job ID of the job to terminate.------ * 'tjReason' - 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 AWS Batch activity logs.-terminateJob- :: Text -- ^ 'tjJobId'- -> Text -- ^ 'tjReason'- -> TerminateJob-terminateJob pJobId_ pReason_ =- TerminateJob' {_tjJobId = pJobId_, _tjReason = pReason_}----- | The AWS Batch job ID of the job to terminate.-tjJobId :: Lens' TerminateJob Text-tjJobId = lens _tjJobId (\ s a -> s{_tjJobId = a})---- | 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 AWS Batch activity logs.-tjReason :: Lens' TerminateJob Text-tjReason = lens _tjReason (\ s a -> s{_tjReason = a})--instance AWSRequest TerminateJob where- type Rs TerminateJob = TerminateJobResponse- request = postJSON batch- response- = receiveEmpty- (\ s h x ->- TerminateJobResponse' <$> (pure (fromEnum s)))--instance Hashable TerminateJob where--instance NFData TerminateJob where--instance ToHeaders TerminateJob where- toHeaders- = const- (mconcat- ["Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON TerminateJob where- toJSON TerminateJob'{..}- = object- (catMaybes- [Just ("jobId" .= _tjJobId),- Just ("reason" .= _tjReason)])--instance ToPath TerminateJob where- toPath = const "/v1/terminatejob"--instance ToQuery TerminateJob where- toQuery = const mempty---- | /See:/ 'terminateJobResponse' smart constructor.-newtype TerminateJobResponse = TerminateJobResponse'- { _tjrsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'TerminateJobResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tjrsResponseStatus' - -- | The response status code.-terminateJobResponse- :: Int -- ^ 'tjrsResponseStatus'- -> TerminateJobResponse-terminateJobResponse pResponseStatus_ =- TerminateJobResponse' {_tjrsResponseStatus = pResponseStatus_}----- | -- | The response status code.-tjrsResponseStatus :: Lens' TerminateJobResponse Int-tjrsResponseStatus = lens _tjrsResponseStatus (\ s a -> s{_tjrsResponseStatus = a})--instance NFData TerminateJobResponse where
− gen/Network/AWS/Batch/Types.hs
@@ -1,340 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Batch.Types--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.Batch.Types- (- -- * Service Configuration- batch-- -- * Errors- , _ServerException- , _ClientException-- -- * ArrayJobDependency- , ArrayJobDependency (..)-- -- * CEState- , CEState (..)-- -- * CEStatus- , CEStatus (..)-- -- * CEType- , CEType (..)-- -- * CRType- , CRType (..)-- -- * JQState- , JQState (..)-- -- * JQStatus- , JQStatus (..)-- -- * JobDefinitionType- , JobDefinitionType (..)-- -- * JobStatus- , JobStatus (..)-- -- * ArrayProperties- , ArrayProperties- , arrayProperties- , apSize-- -- * ArrayPropertiesDetail- , ArrayPropertiesDetail- , arrayPropertiesDetail- , apdSize- , apdStatusSummary- , apdIndex-- -- * ArrayPropertiesSummary- , ArrayPropertiesSummary- , arrayPropertiesSummary- , apsSize- , apsIndex-- -- * AttemptContainerDetail- , AttemptContainerDetail- , attemptContainerDetail- , acdTaskARN- , acdContainerInstanceARN- , acdReason- , acdLogStreamName- , acdExitCode-- -- * AttemptDetail- , AttemptDetail- , attemptDetail- , adStoppedAt- , adStartedAt- , adContainer- , adStatusReason-- -- * ComputeEnvironmentDetail- , ComputeEnvironmentDetail- , computeEnvironmentDetail- , cedStatus- , cedState- , cedComputeResources- , cedStatusReason- , cedType- , cedServiceRole- , cedComputeEnvironmentName- , cedComputeEnvironmentARN- , cedEcsClusterARN-- -- * ComputeEnvironmentOrder- , ComputeEnvironmentOrder- , computeEnvironmentOrder- , ceoOrder- , ceoComputeEnvironment-- -- * ComputeResource- , ComputeResource- , computeResource- , crEc2KeyPair- , crBidPercentage- , crSpotIAMFleetRole- , crImageId- , crDesiredvCPUs- , crTags- , crType- , crMinvCPUs- , crMaxvCPUs- , crInstanceTypes- , crSubnets- , crSecurityGroupIds- , crInstanceRole-- -- * ComputeResourceUpdate- , ComputeResourceUpdate- , computeResourceUpdate- , cruMinvCPUs- , cruMaxvCPUs- , cruDesiredvCPUs-- -- * ContainerDetail- , ContainerDetail- , containerDetail- , cdImage- , cdCommand- , cdEnvironment- , cdTaskARN- , cdUlimits- , cdContainerInstanceARN- , cdPrivileged- , cdJobRoleARN- , cdMemory- , cdUser- , cdReason- , cdLogStreamName- , cdMountPoints- , cdExitCode- , cdVcpus- , cdReadonlyRootFilesystem- , cdVolumes-- -- * ContainerOverrides- , ContainerOverrides- , containerOverrides- , coCommand- , coEnvironment- , coMemory- , coVcpus-- -- * ContainerProperties- , ContainerProperties- , containerProperties- , cpCommand- , cpEnvironment- , cpUlimits- , cpPrivileged- , cpJobRoleARN- , cpUser- , cpMountPoints- , cpReadonlyRootFilesystem- , cpVolumes- , cpImage- , cpVcpus- , cpMemory-- -- * ContainerSummary- , ContainerSummary- , containerSummary- , csReason- , csExitCode-- -- * Host- , Host- , host- , hSourcePath-- -- * JobDefinition- , JobDefinition- , jobDefinition- , jddStatus- , jddRetryStrategy- , jddParameters- , jddTimeout- , jddContainerProperties- , jddJobDefinitionName- , jddJobDefinitionARN- , jddRevision- , jddType-- -- * JobDependency- , JobDependency- , jobDependency- , jJobId- , jType-- -- * JobDetail- , JobDetail- , jobDetail- , jdStoppedAt- , jdCreatedAt- , jdRetryStrategy- , jdAttempts- , jdDependsOn- , jdContainer- , jdParameters- , jdStatusReason- , jdArrayProperties- , jdTimeout- , jdJobName- , jdJobId- , jdJobQueue- , jdStatus- , jdStartedAt- , jdJobDefinition-- -- * JobQueueDetail- , JobQueueDetail- , jobQueueDetail- , jqdStatus- , jqdStatusReason- , jqdJobQueueName- , jqdJobQueueARN- , jqdState- , jqdPriority- , jqdComputeEnvironmentOrder-- -- * JobSummary- , JobSummary- , jobSummary- , jsStoppedAt- , jsStatus- , jsCreatedAt- , jsStartedAt- , jsContainer- , jsStatusReason- , jsArrayProperties- , jsJobId- , jsJobName-- -- * JobTimeout- , JobTimeout- , jobTimeout- , jtAttemptDurationSeconds-- -- * KeyValuePair- , KeyValuePair- , keyValuePair- , kvpValue- , kvpName-- -- * MountPoint- , MountPoint- , mountPoint- , mpContainerPath- , mpSourceVolume- , mpReadOnly-- -- * RetryStrategy- , RetryStrategy- , retryStrategy- , rsAttempts-- -- * Ulimit- , Ulimit- , ulimit- , uHardLimit- , uName- , uSoftLimit-- -- * Volume- , Volume- , volume- , vName- , vHost- ) where--import Network.AWS.Batch.Types.Product-import Network.AWS.Batch.Types.Sum-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Sign.V4---- | API version @2016-08-10@ of the Amazon Batch SDK configuration.-batch :: Service-batch =- Service- { _svcAbbrev = "Batch"- , _svcSigner = v4- , _svcPrefix = "batch"- , _svcVersion = "2016-08-10"- , _svcEndpoint = defaultEndpoint batch- , _svcTimeout = Just 70- , _svcCheck = statusSuccess- , _svcError = parseJSONError "Batch"- , _svcRetry = retry- }- where- retry =- Exponential- { _retryBase = 5.0e-2- , _retryGrowth = 2- , _retryAttempts = 5- , _retryCheck = check- }- check e- | has (hasCode "ThrottledException" . hasStatus 400) e =- Just "throttled_exception"- | has (hasStatus 429) e = Just "too_many_requests"- | has (hasCode "ThrottlingException" . hasStatus 400) e =- Just "throttling_exception"- | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"- | has (hasStatus 504) e = Just "gateway_timeout"- | has (hasCode "RequestThrottledException" . hasStatus 400) e =- Just "request_throttled_exception"- | has (hasStatus 502) e = Just "bad_gateway"- | has (hasStatus 503) e = Just "service_unavailable"- | has (hasStatus 500) e = Just "general_server_error"- | has (hasStatus 509) e = Just "limit_exceeded"- | otherwise = Nothing----- | These errors are usually caused by a server issue.-------_ServerException :: AsError a => Getting (First ServiceError) a ServiceError-_ServerException = _MatchServiceError batch "ServerException" . hasStatus 500----- | These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an identifier that is not valid.-------_ClientException :: AsError a => Getting (First ServiceError) a ServiceError-_ClientException = _MatchServiceError batch "ClientException" . hasStatus 400-
− gen/Network/AWS/Batch/Types/Product.hs
@@ -1,1999 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Batch.Types.Product--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.Batch.Types.Product where--import Network.AWS.Batch.Types.Sum-import Network.AWS.Lens-import Network.AWS.Prelude---- | An object representing an AWS Batch array job.------------ /See:/ 'arrayProperties' smart constructor.-newtype ArrayProperties = ArrayProperties'- { _apSize :: Maybe Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ArrayProperties' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'apSize' - The size of the array job.-arrayProperties- :: ArrayProperties-arrayProperties = ArrayProperties' {_apSize = Nothing}----- | The size of the array job.-apSize :: Lens' ArrayProperties (Maybe Int)-apSize = lens _apSize (\ s a -> s{_apSize = a})--instance Hashable ArrayProperties where--instance NFData ArrayProperties where--instance ToJSON ArrayProperties where- toJSON ArrayProperties'{..}- = object (catMaybes [("size" .=) <$> _apSize])---- | An object representing the array properties of a job.------------ /See:/ 'arrayPropertiesDetail' smart constructor.-data ArrayPropertiesDetail = ArrayPropertiesDetail'- { _apdSize :: !(Maybe Int)- , _apdStatusSummary :: !(Maybe (Map Text Int))- , _apdIndex :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ArrayPropertiesDetail' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'apdSize' - The size of the array job. This parameter is returned for parent array jobs.------ * 'apdStatusSummary' - A summary of the number of array job children in each available job status. This parameter is returned for parent array jobs.------ * 'apdIndex' - The job index within the array that is associated with this job. This parameter is returned for array job children.-arrayPropertiesDetail- :: ArrayPropertiesDetail-arrayPropertiesDetail =- ArrayPropertiesDetail'- {_apdSize = Nothing, _apdStatusSummary = Nothing, _apdIndex = Nothing}----- | The size of the array job. This parameter is returned for parent array jobs.-apdSize :: Lens' ArrayPropertiesDetail (Maybe Int)-apdSize = lens _apdSize (\ s a -> s{_apdSize = a})---- | A summary of the number of array job children in each available job status. This parameter is returned for parent array jobs.-apdStatusSummary :: Lens' ArrayPropertiesDetail (HashMap Text Int)-apdStatusSummary = lens _apdStatusSummary (\ s a -> s{_apdStatusSummary = a}) . _Default . _Map---- | The job index within the array that is associated with this job. This parameter is returned for array job children.-apdIndex :: Lens' ArrayPropertiesDetail (Maybe Int)-apdIndex = lens _apdIndex (\ s a -> s{_apdIndex = a})--instance FromJSON ArrayPropertiesDetail where- parseJSON- = withObject "ArrayPropertiesDetail"- (\ x ->- ArrayPropertiesDetail' <$>- (x .:? "size") <*> (x .:? "statusSummary" .!= mempty)- <*> (x .:? "index"))--instance Hashable ArrayPropertiesDetail where--instance NFData ArrayPropertiesDetail where---- | An object representing the array properties of a job.------------ /See:/ 'arrayPropertiesSummary' smart constructor.-data ArrayPropertiesSummary = ArrayPropertiesSummary'- { _apsSize :: !(Maybe Int)- , _apsIndex :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ArrayPropertiesSummary' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'apsSize' - The size of the array job. This parameter is returned for parent array jobs.------ * 'apsIndex' - The job index within the array that is associated with this job. This parameter is returned for children of array jobs.-arrayPropertiesSummary- :: ArrayPropertiesSummary-arrayPropertiesSummary =- ArrayPropertiesSummary' {_apsSize = Nothing, _apsIndex = Nothing}----- | The size of the array job. This parameter is returned for parent array jobs.-apsSize :: Lens' ArrayPropertiesSummary (Maybe Int)-apsSize = lens _apsSize (\ s a -> s{_apsSize = a})---- | The job index within the array that is associated with this job. This parameter is returned for children of array jobs.-apsIndex :: Lens' ArrayPropertiesSummary (Maybe Int)-apsIndex = lens _apsIndex (\ s a -> s{_apsIndex = a})--instance FromJSON ArrayPropertiesSummary where- parseJSON- = withObject "ArrayPropertiesSummary"- (\ x ->- ArrayPropertiesSummary' <$>- (x .:? "size") <*> (x .:? "index"))--instance Hashable ArrayPropertiesSummary where--instance NFData ArrayPropertiesSummary where---- | An object representing the details of a container that is part of a job attempt.------------ /See:/ 'attemptContainerDetail' smart constructor.-data AttemptContainerDetail = AttemptContainerDetail'- { _acdTaskARN :: !(Maybe Text)- , _acdContainerInstanceARN :: !(Maybe Text)- , _acdReason :: !(Maybe Text)- , _acdLogStreamName :: !(Maybe Text)- , _acdExitCode :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'AttemptContainerDetail' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'acdTaskARN' - The Amazon Resource Name (ARN) of the Amazon ECS task that is associated with the job attempt. Each container attempt receives a task ARN when they reach the @STARTING@ status.------ * 'acdContainerInstanceARN' - The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.------ * 'acdReason' - A short (255 max characters) human-readable string to provide additional details about a running or stopped container.------ * 'acdLogStreamName' - The name of the CloudWatch Logs log stream associated with the container. The log group for AWS Batch jobs is @/aws/batch/job@ . Each container attempt receives a log stream name when they reach the @RUNNING@ status.------ * 'acdExitCode' - The exit code for the job attempt. A non-zero exit code is considered a failure.-attemptContainerDetail- :: AttemptContainerDetail-attemptContainerDetail =- AttemptContainerDetail'- { _acdTaskARN = Nothing- , _acdContainerInstanceARN = Nothing- , _acdReason = Nothing- , _acdLogStreamName = Nothing- , _acdExitCode = Nothing- }----- | The Amazon Resource Name (ARN) of the Amazon ECS task that is associated with the job attempt. Each container attempt receives a task ARN when they reach the @STARTING@ status.-acdTaskARN :: Lens' AttemptContainerDetail (Maybe Text)-acdTaskARN = lens _acdTaskARN (\ s a -> s{_acdTaskARN = a})---- | The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.-acdContainerInstanceARN :: Lens' AttemptContainerDetail (Maybe Text)-acdContainerInstanceARN = lens _acdContainerInstanceARN (\ s a -> s{_acdContainerInstanceARN = a})---- | A short (255 max characters) human-readable string to provide additional details about a running or stopped container.-acdReason :: Lens' AttemptContainerDetail (Maybe Text)-acdReason = lens _acdReason (\ s a -> s{_acdReason = a})---- | The name of the CloudWatch Logs log stream associated with the container. The log group for AWS Batch jobs is @/aws/batch/job@ . Each container attempt receives a log stream name when they reach the @RUNNING@ status.-acdLogStreamName :: Lens' AttemptContainerDetail (Maybe Text)-acdLogStreamName = lens _acdLogStreamName (\ s a -> s{_acdLogStreamName = a})---- | The exit code for the job attempt. A non-zero exit code is considered a failure.-acdExitCode :: Lens' AttemptContainerDetail (Maybe Int)-acdExitCode = lens _acdExitCode (\ s a -> s{_acdExitCode = a})--instance FromJSON AttemptContainerDetail where- parseJSON- = withObject "AttemptContainerDetail"- (\ x ->- AttemptContainerDetail' <$>- (x .:? "taskArn") <*> (x .:? "containerInstanceArn")- <*> (x .:? "reason")- <*> (x .:? "logStreamName")- <*> (x .:? "exitCode"))--instance Hashable AttemptContainerDetail where--instance NFData AttemptContainerDetail where---- | An object representing a job attempt.------------ /See:/ 'attemptDetail' smart constructor.-data AttemptDetail = AttemptDetail'- { _adStoppedAt :: !(Maybe Integer)- , _adStartedAt :: !(Maybe Integer)- , _adContainer :: !(Maybe AttemptContainerDetail)- , _adStatusReason :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'AttemptDetail' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'adStoppedAt' - The Unix time stamp (in seconds and milliseconds) for when the attempt was stopped (when the attempt transitioned from the @RUNNING@ state to a terminal state, such as @SUCCEEDED@ or @FAILED@ ).------ * 'adStartedAt' - The Unix time stamp (in seconds and milliseconds) for when the attempt was started (when the attempt transitioned from the @STARTING@ state to the @RUNNING@ state).------ * 'adContainer' - Details about the container in this job attempt.------ * 'adStatusReason' - A short, human-readable string to provide additional details about the current status of the job attempt.-attemptDetail- :: AttemptDetail-attemptDetail =- AttemptDetail'- { _adStoppedAt = Nothing- , _adStartedAt = Nothing- , _adContainer = Nothing- , _adStatusReason = Nothing- }----- | The Unix time stamp (in seconds and milliseconds) for when the attempt was stopped (when the attempt transitioned from the @RUNNING@ state to a terminal state, such as @SUCCEEDED@ or @FAILED@ ).-adStoppedAt :: Lens' AttemptDetail (Maybe Integer)-adStoppedAt = lens _adStoppedAt (\ s a -> s{_adStoppedAt = a})---- | The Unix time stamp (in seconds and milliseconds) for when the attempt was started (when the attempt transitioned from the @STARTING@ state to the @RUNNING@ state).-adStartedAt :: Lens' AttemptDetail (Maybe Integer)-adStartedAt = lens _adStartedAt (\ s a -> s{_adStartedAt = a})---- | Details about the container in this job attempt.-adContainer :: Lens' AttemptDetail (Maybe AttemptContainerDetail)-adContainer = lens _adContainer (\ s a -> s{_adContainer = a})---- | A short, human-readable string to provide additional details about the current status of the job attempt.-adStatusReason :: Lens' AttemptDetail (Maybe Text)-adStatusReason = lens _adStatusReason (\ s a -> s{_adStatusReason = a})--instance FromJSON AttemptDetail where- parseJSON- = withObject "AttemptDetail"- (\ x ->- AttemptDetail' <$>- (x .:? "stoppedAt") <*> (x .:? "startedAt") <*>- (x .:? "container")- <*> (x .:? "statusReason"))--instance Hashable AttemptDetail where--instance NFData AttemptDetail where---- | An object representing an AWS Batch compute environment.------------ /See:/ 'computeEnvironmentDetail' smart constructor.-data ComputeEnvironmentDetail = ComputeEnvironmentDetail'- { _cedStatus :: !(Maybe CEStatus)- , _cedState :: !(Maybe CEState)- , _cedComputeResources :: !(Maybe ComputeResource)- , _cedStatusReason :: !(Maybe Text)- , _cedType :: !(Maybe CEType)- , _cedServiceRole :: !(Maybe Text)- , _cedComputeEnvironmentName :: !Text- , _cedComputeEnvironmentARN :: !Text- , _cedEcsClusterARN :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ComputeEnvironmentDetail' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cedStatus' - The current status of the compute environment (for example, @CREATING@ or @VALID@ ).------ * 'cedState' - The state of the compute environment. The valid values are @ENABLED@ or @DISABLED@ . An @ENABLED@ state indicates that you can register instances with the compute environment and that the associated instances can accept jobs.------ * 'cedComputeResources' - The compute resources defined for the compute environment.------ * 'cedStatusReason' - A short, human-readable string to provide additional details about the current status of the compute environment.------ * 'cedType' - The type of the compute environment.------ * 'cedServiceRole' - The service role associated with the compute environment that allows AWS Batch to make calls to AWS API operations on your behalf.------ * 'cedComputeEnvironmentName' - The name of the compute environment.------ * 'cedComputeEnvironmentARN' - The Amazon Resource Name (ARN) of the compute environment.------ * 'cedEcsClusterARN' - The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.-computeEnvironmentDetail- :: Text -- ^ 'cedComputeEnvironmentName'- -> Text -- ^ 'cedComputeEnvironmentARN'- -> Text -- ^ 'cedEcsClusterARN'- -> ComputeEnvironmentDetail-computeEnvironmentDetail pComputeEnvironmentName_ pComputeEnvironmentARN_ pEcsClusterARN_ =- ComputeEnvironmentDetail'- { _cedStatus = Nothing- , _cedState = Nothing- , _cedComputeResources = Nothing- , _cedStatusReason = Nothing- , _cedType = Nothing- , _cedServiceRole = Nothing- , _cedComputeEnvironmentName = pComputeEnvironmentName_- , _cedComputeEnvironmentARN = pComputeEnvironmentARN_- , _cedEcsClusterARN = pEcsClusterARN_- }----- | The current status of the compute environment (for example, @CREATING@ or @VALID@ ).-cedStatus :: Lens' ComputeEnvironmentDetail (Maybe CEStatus)-cedStatus = lens _cedStatus (\ s a -> s{_cedStatus = a})---- | The state of the compute environment. The valid values are @ENABLED@ or @DISABLED@ . An @ENABLED@ state indicates that you can register instances with the compute environment and that the associated instances can accept jobs.-cedState :: Lens' ComputeEnvironmentDetail (Maybe CEState)-cedState = lens _cedState (\ s a -> s{_cedState = a})---- | The compute resources defined for the compute environment.-cedComputeResources :: Lens' ComputeEnvironmentDetail (Maybe ComputeResource)-cedComputeResources = lens _cedComputeResources (\ s a -> s{_cedComputeResources = a})---- | A short, human-readable string to provide additional details about the current status of the compute environment.-cedStatusReason :: Lens' ComputeEnvironmentDetail (Maybe Text)-cedStatusReason = lens _cedStatusReason (\ s a -> s{_cedStatusReason = a})---- | The type of the compute environment.-cedType :: Lens' ComputeEnvironmentDetail (Maybe CEType)-cedType = lens _cedType (\ s a -> s{_cedType = a})---- | The service role associated with the compute environment that allows AWS Batch to make calls to AWS API operations on your behalf.-cedServiceRole :: Lens' ComputeEnvironmentDetail (Maybe Text)-cedServiceRole = lens _cedServiceRole (\ s a -> s{_cedServiceRole = a})---- | The name of the compute environment.-cedComputeEnvironmentName :: Lens' ComputeEnvironmentDetail Text-cedComputeEnvironmentName = lens _cedComputeEnvironmentName (\ s a -> s{_cedComputeEnvironmentName = a})---- | The Amazon Resource Name (ARN) of the compute environment.-cedComputeEnvironmentARN :: Lens' ComputeEnvironmentDetail Text-cedComputeEnvironmentARN = lens _cedComputeEnvironmentARN (\ s a -> s{_cedComputeEnvironmentARN = a})---- | The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.-cedEcsClusterARN :: Lens' ComputeEnvironmentDetail Text-cedEcsClusterARN = lens _cedEcsClusterARN (\ s a -> s{_cedEcsClusterARN = a})--instance FromJSON ComputeEnvironmentDetail where- parseJSON- = withObject "ComputeEnvironmentDetail"- (\ x ->- ComputeEnvironmentDetail' <$>- (x .:? "status") <*> (x .:? "state") <*>- (x .:? "computeResources")- <*> (x .:? "statusReason")- <*> (x .:? "type")- <*> (x .:? "serviceRole")- <*> (x .: "computeEnvironmentName")- <*> (x .: "computeEnvironmentArn")- <*> (x .: "ecsClusterArn"))--instance Hashable ComputeEnvironmentDetail where--instance NFData ComputeEnvironmentDetail where---- | The order in which compute environments are tried 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.------------ /See:/ 'computeEnvironmentOrder' smart constructor.-data ComputeEnvironmentOrder = ComputeEnvironmentOrder'- { _ceoOrder :: !Int- , _ceoComputeEnvironment :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ComputeEnvironmentOrder' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ceoOrder' - The order of the compute environment.------ * 'ceoComputeEnvironment' - The Amazon Resource Name (ARN) of the compute environment.-computeEnvironmentOrder- :: Int -- ^ 'ceoOrder'- -> Text -- ^ 'ceoComputeEnvironment'- -> ComputeEnvironmentOrder-computeEnvironmentOrder pOrder_ pComputeEnvironment_ =- ComputeEnvironmentOrder'- {_ceoOrder = pOrder_, _ceoComputeEnvironment = pComputeEnvironment_}----- | The order of the compute environment.-ceoOrder :: Lens' ComputeEnvironmentOrder Int-ceoOrder = lens _ceoOrder (\ s a -> s{_ceoOrder = a})---- | The Amazon Resource Name (ARN) of the compute environment.-ceoComputeEnvironment :: Lens' ComputeEnvironmentOrder Text-ceoComputeEnvironment = lens _ceoComputeEnvironment (\ s a -> s{_ceoComputeEnvironment = a})--instance FromJSON ComputeEnvironmentOrder where- parseJSON- = withObject "ComputeEnvironmentOrder"- (\ x ->- ComputeEnvironmentOrder' <$>- (x .: "order") <*> (x .: "computeEnvironment"))--instance Hashable ComputeEnvironmentOrder where--instance NFData ComputeEnvironmentOrder where--instance ToJSON ComputeEnvironmentOrder where- toJSON ComputeEnvironmentOrder'{..}- = object- (catMaybes- [Just ("order" .= _ceoOrder),- Just- ("computeEnvironment" .= _ceoComputeEnvironment)])---- | An object representing an AWS Batch compute resource.------------ /See:/ 'computeResource' smart constructor.-data ComputeResource = ComputeResource'- { _crEc2KeyPair :: !(Maybe Text)- , _crBidPercentage :: !(Maybe Int)- , _crSpotIAMFleetRole :: !(Maybe Text)- , _crImageId :: !(Maybe Text)- , _crDesiredvCPUs :: !(Maybe Int)- , _crTags :: !(Maybe (Map Text Text))- , _crType :: !CRType- , _crMinvCPUs :: !Int- , _crMaxvCPUs :: !Int- , _crInstanceTypes :: ![Text]- , _crSubnets :: ![Text]- , _crSecurityGroupIds :: ![Text]- , _crInstanceRole :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ComputeResource' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'crEc2KeyPair' - The EC2 key pair that is used for instances launched in the compute environment.------ * 'crBidPercentage' - The minimum percentage that a Spot Instance price must be when compared with the On-Demand price for that instance type before instances are launched. For example, if your bid percentage is 20%, then the Spot price must be below 20% of the current On-Demand price for that EC2 instance.------ * 'crSpotIAMFleetRole' - The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a @SPOT@ compute environment.------ * 'crImageId' - The Amazon Machine Image (AMI) ID used for instances launched in the compute environment.------ * 'crDesiredvCPUs' - The desired number of EC2 vCPUS in the compute environment.------ * 'crTags' - Key-value pair tags to be applied to resources that are launched in the compute environment.------ * 'crType' - The type of compute environment.------ * 'crMinvCPUs' - The minimum number of EC2 vCPUs that an environment should maintain.------ * 'crMaxvCPUs' - The maximum number of EC2 vCPUs that an environment can reach.------ * 'crInstanceTypes' - The instances types that may be launched. You can specify instance families to launch any instance type within those families (for example, @c4@ or @p3@ ), or you can specify specific sizes within a family (such as @c4.8xlarge@ ). You can also choose @optimal@ to pick instance types (from the latest C, M, and R instance families) on the fly that match the demand of your job queues.------ * 'crSubnets' - The VPC subnets into which the compute resources are launched.------ * 'crSecurityGroupIds' - The EC2 security group that is associated with instances launched in the compute environment.------ * 'crInstanceRole' - 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 <http://docs.aws.amazon.com/batch/latest/userguide/instance_IAM_role.html Amazon ECS Instance Role> in the /AWS Batch User Guide/ .-computeResource- :: CRType -- ^ 'crType'- -> Int -- ^ 'crMinvCPUs'- -> Int -- ^ 'crMaxvCPUs'- -> Text -- ^ 'crInstanceRole'- -> ComputeResource-computeResource pType_ pMinvCPUs_ pMaxvCPUs_ pInstanceRole_ =- ComputeResource'- { _crEc2KeyPair = Nothing- , _crBidPercentage = Nothing- , _crSpotIAMFleetRole = Nothing- , _crImageId = Nothing- , _crDesiredvCPUs = Nothing- , _crTags = Nothing- , _crType = pType_- , _crMinvCPUs = pMinvCPUs_- , _crMaxvCPUs = pMaxvCPUs_- , _crInstanceTypes = mempty- , _crSubnets = mempty- , _crSecurityGroupIds = mempty- , _crInstanceRole = pInstanceRole_- }----- | The EC2 key pair that is used for instances launched in the compute environment.-crEc2KeyPair :: Lens' ComputeResource (Maybe Text)-crEc2KeyPair = lens _crEc2KeyPair (\ s a -> s{_crEc2KeyPair = a})---- | The minimum percentage that a Spot Instance price must be when compared with the On-Demand price for that instance type before instances are launched. For example, if your bid percentage is 20%, then the Spot price must be below 20% of the current On-Demand price for that EC2 instance.-crBidPercentage :: Lens' ComputeResource (Maybe Int)-crBidPercentage = lens _crBidPercentage (\ s a -> s{_crBidPercentage = a})---- | The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a @SPOT@ compute environment.-crSpotIAMFleetRole :: Lens' ComputeResource (Maybe Text)-crSpotIAMFleetRole = lens _crSpotIAMFleetRole (\ s a -> s{_crSpotIAMFleetRole = a})---- | The Amazon Machine Image (AMI) ID used for instances launched in the compute environment.-crImageId :: Lens' ComputeResource (Maybe Text)-crImageId = lens _crImageId (\ s a -> s{_crImageId = a})---- | The desired number of EC2 vCPUS in the compute environment.-crDesiredvCPUs :: Lens' ComputeResource (Maybe Int)-crDesiredvCPUs = lens _crDesiredvCPUs (\ s a -> s{_crDesiredvCPUs = a})---- | Key-value pair tags to be applied to resources that are launched in the compute environment.-crTags :: Lens' ComputeResource (HashMap Text Text)-crTags = lens _crTags (\ s a -> s{_crTags = a}) . _Default . _Map---- | The type of compute environment.-crType :: Lens' ComputeResource CRType-crType = lens _crType (\ s a -> s{_crType = a})---- | The minimum number of EC2 vCPUs that an environment should maintain.-crMinvCPUs :: Lens' ComputeResource Int-crMinvCPUs = lens _crMinvCPUs (\ s a -> s{_crMinvCPUs = a})---- | The maximum number of EC2 vCPUs that an environment can reach.-crMaxvCPUs :: Lens' ComputeResource Int-crMaxvCPUs = lens _crMaxvCPUs (\ s a -> s{_crMaxvCPUs = a})---- | The instances types that may be launched. You can specify instance families to launch any instance type within those families (for example, @c4@ or @p3@ ), or you can specify specific sizes within a family (such as @c4.8xlarge@ ). You can also choose @optimal@ to pick instance types (from the latest C, M, and R instance families) on the fly that match the demand of your job queues.-crInstanceTypes :: Lens' ComputeResource [Text]-crInstanceTypes = lens _crInstanceTypes (\ s a -> s{_crInstanceTypes = a}) . _Coerce---- | The VPC subnets into which the compute resources are launched.-crSubnets :: Lens' ComputeResource [Text]-crSubnets = lens _crSubnets (\ s a -> s{_crSubnets = a}) . _Coerce---- | The EC2 security group that is associated with instances launched in the compute environment.-crSecurityGroupIds :: Lens' ComputeResource [Text]-crSecurityGroupIds = lens _crSecurityGroupIds (\ s a -> s{_crSecurityGroupIds = a}) . _Coerce---- | 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 <http://docs.aws.amazon.com/batch/latest/userguide/instance_IAM_role.html Amazon ECS Instance Role> in the /AWS Batch User Guide/ .-crInstanceRole :: Lens' ComputeResource Text-crInstanceRole = lens _crInstanceRole (\ s a -> s{_crInstanceRole = a})--instance FromJSON ComputeResource where- parseJSON- = withObject "ComputeResource"- (\ x ->- ComputeResource' <$>- (x .:? "ec2KeyPair") <*> (x .:? "bidPercentage") <*>- (x .:? "spotIamFleetRole")- <*> (x .:? "imageId")- <*> (x .:? "desiredvCpus")- <*> (x .:? "tags" .!= mempty)- <*> (x .: "type")- <*> (x .: "minvCpus")- <*> (x .: "maxvCpus")- <*> (x .:? "instanceTypes" .!= mempty)- <*> (x .:? "subnets" .!= mempty)- <*> (x .:? "securityGroupIds" .!= mempty)- <*> (x .: "instanceRole"))--instance Hashable ComputeResource where--instance NFData ComputeResource where--instance ToJSON ComputeResource where- toJSON ComputeResource'{..}- = object- (catMaybes- [("ec2KeyPair" .=) <$> _crEc2KeyPair,- ("bidPercentage" .=) <$> _crBidPercentage,- ("spotIamFleetRole" .=) <$> _crSpotIAMFleetRole,- ("imageId" .=) <$> _crImageId,- ("desiredvCpus" .=) <$> _crDesiredvCPUs,- ("tags" .=) <$> _crTags, Just ("type" .= _crType),- Just ("minvCpus" .= _crMinvCPUs),- Just ("maxvCpus" .= _crMaxvCPUs),- Just ("instanceTypes" .= _crInstanceTypes),- Just ("subnets" .= _crSubnets),- Just ("securityGroupIds" .= _crSecurityGroupIds),- Just ("instanceRole" .= _crInstanceRole)])---- | An object representing the attributes of a compute environment that can be updated.------------ /See:/ 'computeResourceUpdate' smart constructor.-data ComputeResourceUpdate = ComputeResourceUpdate'- { _cruMinvCPUs :: !(Maybe Int)- , _cruMaxvCPUs :: !(Maybe Int)- , _cruDesiredvCPUs :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ComputeResourceUpdate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cruMinvCPUs' - The minimum number of EC2 vCPUs that an environment should maintain.------ * 'cruMaxvCPUs' - The maximum number of EC2 vCPUs that an environment can reach.------ * 'cruDesiredvCPUs' - The desired number of EC2 vCPUS in the compute environment.-computeResourceUpdate- :: ComputeResourceUpdate-computeResourceUpdate =- ComputeResourceUpdate'- {_cruMinvCPUs = Nothing, _cruMaxvCPUs = Nothing, _cruDesiredvCPUs = Nothing}----- | The minimum number of EC2 vCPUs that an environment should maintain.-cruMinvCPUs :: Lens' ComputeResourceUpdate (Maybe Int)-cruMinvCPUs = lens _cruMinvCPUs (\ s a -> s{_cruMinvCPUs = a})---- | The maximum number of EC2 vCPUs that an environment can reach.-cruMaxvCPUs :: Lens' ComputeResourceUpdate (Maybe Int)-cruMaxvCPUs = lens _cruMaxvCPUs (\ s a -> s{_cruMaxvCPUs = a})---- | The desired number of EC2 vCPUS in the compute environment.-cruDesiredvCPUs :: Lens' ComputeResourceUpdate (Maybe Int)-cruDesiredvCPUs = lens _cruDesiredvCPUs (\ s a -> s{_cruDesiredvCPUs = a})--instance Hashable ComputeResourceUpdate where--instance NFData ComputeResourceUpdate where--instance ToJSON ComputeResourceUpdate where- toJSON ComputeResourceUpdate'{..}- = object- (catMaybes- [("minvCpus" .=) <$> _cruMinvCPUs,- ("maxvCpus" .=) <$> _cruMaxvCPUs,- ("desiredvCpus" .=) <$> _cruDesiredvCPUs])---- | An object representing the details of a container that is part of a job.------------ /See:/ 'containerDetail' smart constructor.-data ContainerDetail = ContainerDetail'- { _cdImage :: !(Maybe Text)- , _cdCommand :: !(Maybe [Text])- , _cdEnvironment :: !(Maybe [KeyValuePair])- , _cdTaskARN :: !(Maybe Text)- , _cdUlimits :: !(Maybe [Ulimit])- , _cdContainerInstanceARN :: !(Maybe Text)- , _cdPrivileged :: !(Maybe Bool)- , _cdJobRoleARN :: !(Maybe Text)- , _cdMemory :: !(Maybe Int)- , _cdUser :: !(Maybe Text)- , _cdReason :: !(Maybe Text)- , _cdLogStreamName :: !(Maybe Text)- , _cdMountPoints :: !(Maybe [MountPoint])- , _cdExitCode :: !(Maybe Int)- , _cdVcpus :: !(Maybe Int)- , _cdReadonlyRootFilesystem :: !(Maybe Bool)- , _cdVolumes :: !(Maybe [Volume])- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ContainerDetail' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cdImage' - The image used to start the container.------ * 'cdCommand' - The command that is passed to the container.------ * 'cdEnvironment' - The environment variables to pass to a container.------ * 'cdTaskARN' - The Amazon Resource Name (ARN) of the Amazon ECS task that is associated with the container job. Each container attempt receives a task ARN when they reach the @STARTING@ status.------ * 'cdUlimits' - A list of @ulimit@ values to set in the container.------ * 'cdContainerInstanceARN' - The Amazon Resource Name (ARN) of the container instance on which the container is running.------ * 'cdPrivileged' - When this parameter is true, the container is given elevated privileges on the host container instance (similar to the @root@ user).------ * 'cdJobRoleARN' - The Amazon Resource Name (ARN) associated with the job upon execution.------ * 'cdMemory' - The number of MiB of memory reserved for the job.------ * 'cdUser' - The user name to use inside the container.------ * 'cdReason' - A short (255 max characters) human-readable string to provide additional details about a running or stopped container.------ * 'cdLogStreamName' - The name of the CloudWatch Logs log stream associated with the container. The log group for AWS Batch jobs is @/aws/batch/job@ . Each container attempt receives a log stream name when they reach the @RUNNING@ status.------ * 'cdMountPoints' - The mount points for data volumes in your container.------ * 'cdExitCode' - The exit code to return upon completion.------ * 'cdVcpus' - The number of VCPUs allocated for the job.------ * 'cdReadonlyRootFilesystem' - When this parameter is true, the container is given read-only access to its root file system.------ * 'cdVolumes' - A list of volumes associated with the job.-containerDetail- :: ContainerDetail-containerDetail =- ContainerDetail'- { _cdImage = Nothing- , _cdCommand = Nothing- , _cdEnvironment = Nothing- , _cdTaskARN = Nothing- , _cdUlimits = Nothing- , _cdContainerInstanceARN = Nothing- , _cdPrivileged = Nothing- , _cdJobRoleARN = Nothing- , _cdMemory = Nothing- , _cdUser = Nothing- , _cdReason = Nothing- , _cdLogStreamName = Nothing- , _cdMountPoints = Nothing- , _cdExitCode = Nothing- , _cdVcpus = Nothing- , _cdReadonlyRootFilesystem = Nothing- , _cdVolumes = Nothing- }----- | The image used to start the container.-cdImage :: Lens' ContainerDetail (Maybe Text)-cdImage = lens _cdImage (\ s a -> s{_cdImage = a})---- | The command that is passed to the container.-cdCommand :: Lens' ContainerDetail [Text]-cdCommand = lens _cdCommand (\ s a -> s{_cdCommand = a}) . _Default . _Coerce---- | The environment variables to pass to a container.-cdEnvironment :: Lens' ContainerDetail [KeyValuePair]-cdEnvironment = lens _cdEnvironment (\ s a -> s{_cdEnvironment = a}) . _Default . _Coerce---- | The Amazon Resource Name (ARN) of the Amazon ECS task that is associated with the container job. Each container attempt receives a task ARN when they reach the @STARTING@ status.-cdTaskARN :: Lens' ContainerDetail (Maybe Text)-cdTaskARN = lens _cdTaskARN (\ s a -> s{_cdTaskARN = a})---- | A list of @ulimit@ values to set in the container.-cdUlimits :: Lens' ContainerDetail [Ulimit]-cdUlimits = lens _cdUlimits (\ s a -> s{_cdUlimits = a}) . _Default . _Coerce---- | The Amazon Resource Name (ARN) of the container instance on which the container is running.-cdContainerInstanceARN :: Lens' ContainerDetail (Maybe Text)-cdContainerInstanceARN = lens _cdContainerInstanceARN (\ s a -> s{_cdContainerInstanceARN = a})---- | When this parameter is true, the container is given elevated privileges on the host container instance (similar to the @root@ user).-cdPrivileged :: Lens' ContainerDetail (Maybe Bool)-cdPrivileged = lens _cdPrivileged (\ s a -> s{_cdPrivileged = a})---- | The Amazon Resource Name (ARN) associated with the job upon execution.-cdJobRoleARN :: Lens' ContainerDetail (Maybe Text)-cdJobRoleARN = lens _cdJobRoleARN (\ s a -> s{_cdJobRoleARN = a})---- | The number of MiB of memory reserved for the job.-cdMemory :: Lens' ContainerDetail (Maybe Int)-cdMemory = lens _cdMemory (\ s a -> s{_cdMemory = a})---- | The user name to use inside the container.-cdUser :: Lens' ContainerDetail (Maybe Text)-cdUser = lens _cdUser (\ s a -> s{_cdUser = a})---- | A short (255 max characters) human-readable string to provide additional details about a running or stopped container.-cdReason :: Lens' ContainerDetail (Maybe Text)-cdReason = lens _cdReason (\ s a -> s{_cdReason = a})---- | The name of the CloudWatch Logs log stream associated with the container. The log group for AWS Batch jobs is @/aws/batch/job@ . Each container attempt receives a log stream name when they reach the @RUNNING@ status.-cdLogStreamName :: Lens' ContainerDetail (Maybe Text)-cdLogStreamName = lens _cdLogStreamName (\ s a -> s{_cdLogStreamName = a})---- | The mount points for data volumes in your container.-cdMountPoints :: Lens' ContainerDetail [MountPoint]-cdMountPoints = lens _cdMountPoints (\ s a -> s{_cdMountPoints = a}) . _Default . _Coerce---- | The exit code to return upon completion.-cdExitCode :: Lens' ContainerDetail (Maybe Int)-cdExitCode = lens _cdExitCode (\ s a -> s{_cdExitCode = a})---- | The number of VCPUs allocated for the job.-cdVcpus :: Lens' ContainerDetail (Maybe Int)-cdVcpus = lens _cdVcpus (\ s a -> s{_cdVcpus = a})---- | When this parameter is true, the container is given read-only access to its root file system.-cdReadonlyRootFilesystem :: Lens' ContainerDetail (Maybe Bool)-cdReadonlyRootFilesystem = lens _cdReadonlyRootFilesystem (\ s a -> s{_cdReadonlyRootFilesystem = a})---- | A list of volumes associated with the job.-cdVolumes :: Lens' ContainerDetail [Volume]-cdVolumes = lens _cdVolumes (\ s a -> s{_cdVolumes = a}) . _Default . _Coerce--instance FromJSON ContainerDetail where- parseJSON- = withObject "ContainerDetail"- (\ x ->- ContainerDetail' <$>- (x .:? "image") <*> (x .:? "command" .!= mempty) <*>- (x .:? "environment" .!= mempty)- <*> (x .:? "taskArn")- <*> (x .:? "ulimits" .!= mempty)- <*> (x .:? "containerInstanceArn")- <*> (x .:? "privileged")- <*> (x .:? "jobRoleArn")- <*> (x .:? "memory")- <*> (x .:? "user")- <*> (x .:? "reason")- <*> (x .:? "logStreamName")- <*> (x .:? "mountPoints" .!= mempty)- <*> (x .:? "exitCode")- <*> (x .:? "vcpus")- <*> (x .:? "readonlyRootFilesystem")- <*> (x .:? "volumes" .!= mempty))--instance Hashable ContainerDetail where--instance NFData ContainerDetail where---- | The overrides that should be sent to a container.------------ /See:/ 'containerOverrides' smart constructor.-data ContainerOverrides = ContainerOverrides'- { _coCommand :: !(Maybe [Text])- , _coEnvironment :: !(Maybe [KeyValuePair])- , _coMemory :: !(Maybe Int)- , _coVcpus :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ContainerOverrides' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'coCommand' - The command to send to the container that overrides the default command from the Docker image or the job definition.------ * 'coEnvironment' - 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.------ * 'coMemory' - The number of MiB of memory reserved for the job. This value overrides the value set in the job definition.------ * 'coVcpus' - The number of vCPUs to reserve for the container. This value overrides the value set in the job definition.-containerOverrides- :: ContainerOverrides-containerOverrides =- ContainerOverrides'- { _coCommand = Nothing- , _coEnvironment = Nothing- , _coMemory = Nothing- , _coVcpus = Nothing- }----- | The command to send to the container that overrides the default command from the Docker image or the job definition.-coCommand :: Lens' ContainerOverrides [Text]-coCommand = lens _coCommand (\ s a -> s{_coCommand = a}) . _Default . _Coerce---- | 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.-coEnvironment :: Lens' ContainerOverrides [KeyValuePair]-coEnvironment = lens _coEnvironment (\ s a -> s{_coEnvironment = a}) . _Default . _Coerce---- | The number of MiB of memory reserved for the job. This value overrides the value set in the job definition.-coMemory :: Lens' ContainerOverrides (Maybe Int)-coMemory = lens _coMemory (\ s a -> s{_coMemory = a})---- | The number of vCPUs to reserve for the container. This value overrides the value set in the job definition.-coVcpus :: Lens' ContainerOverrides (Maybe Int)-coVcpus = lens _coVcpus (\ s a -> s{_coVcpus = a})--instance Hashable ContainerOverrides where--instance NFData ContainerOverrides where--instance ToJSON ContainerOverrides where- toJSON ContainerOverrides'{..}- = object- (catMaybes- [("command" .=) <$> _coCommand,- ("environment" .=) <$> _coEnvironment,- ("memory" .=) <$> _coMemory,- ("vcpus" .=) <$> _coVcpus])---- | Container properties are used in job definitions to describe the container that is launched as part of a job.------------ /See:/ 'containerProperties' smart constructor.-data ContainerProperties = ContainerProperties'- { _cpCommand :: !(Maybe [Text])- , _cpEnvironment :: !(Maybe [KeyValuePair])- , _cpUlimits :: !(Maybe [Ulimit])- , _cpPrivileged :: !(Maybe Bool)- , _cpJobRoleARN :: !(Maybe Text)- , _cpUser :: !(Maybe Text)- , _cpMountPoints :: !(Maybe [MountPoint])- , _cpReadonlyRootFilesystem :: !(Maybe Bool)- , _cpVolumes :: !(Maybe [Volume])- , _cpImage :: !Text- , _cpVcpus :: !Int- , _cpMemory :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ContainerProperties' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cpCommand' - The command that is passed to the container. This parameter maps to @Cmd@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/ Docker Remote API> and the @COMMAND@ parameter to <https://docs.docker.com/engine/reference/run/ docker run> . For more information, see <https://docs.docker.com/engine/reference/builder/#cmd https://docs.docker.com/engine/reference/builder/#cmd> .------ * 'cpEnvironment' - The environment variables to pass to a container. This parameter maps to @Env@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/ Docker Remote API> and the @--env@ option to <https://docs.docker.com/engine/reference/run/ docker run> . /Important:/ We do not recommend using plaintext environment variables for sensitive information, such as credential data.------ * 'cpUlimits' - A list of @ulimits@ to set in the container. This parameter maps to @Ulimits@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/ Docker Remote API> and the @--ulimit@ option to <https://docs.docker.com/engine/reference/run/ docker run> .------ * 'cpPrivileged' - When this parameter is true, the container is given elevated privileges on the host container instance (similar to the @root@ user). This parameter maps to @Privileged@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/ Docker Remote API> and the @--privileged@ option to <https://docs.docker.com/engine/reference/run/ docker run> .------ * 'cpJobRoleARN' - The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions.------ * 'cpUser' - The user name to use inside the container. This parameter maps to @User@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/ Docker Remote API> and the @--user@ option to <https://docs.docker.com/engine/reference/run/ docker run> .------ * 'cpMountPoints' - The mount points for data volumes in your container. This parameter maps to @Volumes@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/ Docker Remote API> and the @--volume@ option to <https://docs.docker.com/engine/reference/run/ docker run> .------ * 'cpReadonlyRootFilesystem' - When this parameter is true, the container is given read-only access to its root file system. This parameter maps to @ReadonlyRootfs@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/ Docker Remote API> and the @--read-only@ option to @docker run@ .------ * 'cpVolumes' - A list of data volumes used in a job.------ * 'cpImage' - 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/ @ . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to @Image@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/ Docker Remote API> and the @IMAGE@ parameter of <https://docs.docker.com/engine/reference/run/ docker run> . * Images in Amazon ECR repositories use the full registry and repository URI (for example, @012345678910.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@ ).------ * 'cpVcpus' - The number of vCPUs reserved for the container. This parameter maps to @CpuShares@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/ Docker Remote API> and the @--cpu-shares@ option to <https://docs.docker.com/engine/reference/run/ docker run> . Each vCPU is equivalent to 1,024 CPU shares. You must specify at least one vCPU.------ * 'cpMemory' - The hard limit (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. This parameter maps to @Memory@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/ Docker Remote API> and the @--memory@ option to <https://docs.docker.com/engine/reference/run/ docker run> . You must specify at least 4 MiB of memory for a job.-containerProperties- :: Text -- ^ 'cpImage'- -> Int -- ^ 'cpVcpus'- -> Int -- ^ 'cpMemory'- -> ContainerProperties-containerProperties pImage_ pVcpus_ pMemory_ =- ContainerProperties'- { _cpCommand = Nothing- , _cpEnvironment = Nothing- , _cpUlimits = Nothing- , _cpPrivileged = Nothing- , _cpJobRoleARN = Nothing- , _cpUser = Nothing- , _cpMountPoints = Nothing- , _cpReadonlyRootFilesystem = Nothing- , _cpVolumes = Nothing- , _cpImage = pImage_- , _cpVcpus = pVcpus_- , _cpMemory = pMemory_- }----- | The command that is passed to the container. This parameter maps to @Cmd@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/ Docker Remote API> and the @COMMAND@ parameter to <https://docs.docker.com/engine/reference/run/ docker run> . For more information, see <https://docs.docker.com/engine/reference/builder/#cmd https://docs.docker.com/engine/reference/builder/#cmd> .-cpCommand :: Lens' ContainerProperties [Text]-cpCommand = lens _cpCommand (\ s a -> s{_cpCommand = a}) . _Default . _Coerce---- | The environment variables to pass to a container. This parameter maps to @Env@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/ Docker Remote API> and the @--env@ option to <https://docs.docker.com/engine/reference/run/ docker run> . /Important:/ We do not recommend using plaintext environment variables for sensitive information, such as credential data.-cpEnvironment :: Lens' ContainerProperties [KeyValuePair]-cpEnvironment = lens _cpEnvironment (\ s a -> s{_cpEnvironment = a}) . _Default . _Coerce---- | A list of @ulimits@ to set in the container. This parameter maps to @Ulimits@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/ Docker Remote API> and the @--ulimit@ option to <https://docs.docker.com/engine/reference/run/ docker run> .-cpUlimits :: Lens' ContainerProperties [Ulimit]-cpUlimits = lens _cpUlimits (\ s a -> s{_cpUlimits = a}) . _Default . _Coerce---- | When this parameter is true, the container is given elevated privileges on the host container instance (similar to the @root@ user). This parameter maps to @Privileged@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/ Docker Remote API> and the @--privileged@ option to <https://docs.docker.com/engine/reference/run/ docker run> .-cpPrivileged :: Lens' ContainerProperties (Maybe Bool)-cpPrivileged = lens _cpPrivileged (\ s a -> s{_cpPrivileged = a})---- | The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions.-cpJobRoleARN :: Lens' ContainerProperties (Maybe Text)-cpJobRoleARN = lens _cpJobRoleARN (\ s a -> s{_cpJobRoleARN = a})---- | The user name to use inside the container. This parameter maps to @User@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/ Docker Remote API> and the @--user@ option to <https://docs.docker.com/engine/reference/run/ docker run> .-cpUser :: Lens' ContainerProperties (Maybe Text)-cpUser = lens _cpUser (\ s a -> s{_cpUser = a})---- | The mount points for data volumes in your container. This parameter maps to @Volumes@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/ Docker Remote API> and the @--volume@ option to <https://docs.docker.com/engine/reference/run/ docker run> .-cpMountPoints :: Lens' ContainerProperties [MountPoint]-cpMountPoints = lens _cpMountPoints (\ s a -> s{_cpMountPoints = a}) . _Default . _Coerce---- | When this parameter is true, the container is given read-only access to its root file system. This parameter maps to @ReadonlyRootfs@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/ Docker Remote API> and the @--read-only@ option to @docker run@ .-cpReadonlyRootFilesystem :: Lens' ContainerProperties (Maybe Bool)-cpReadonlyRootFilesystem = lens _cpReadonlyRootFilesystem (\ s a -> s{_cpReadonlyRootFilesystem = a})---- | A list of data volumes used in a job.-cpVolumes :: Lens' ContainerProperties [Volume]-cpVolumes = lens _cpVolumes (\ s a -> s{_cpVolumes = a}) . _Default . _Coerce---- | 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/ @ . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to @Image@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/ Docker Remote API> and the @IMAGE@ parameter of <https://docs.docker.com/engine/reference/run/ docker run> . * Images in Amazon ECR repositories use the full registry and repository URI (for example, @012345678910.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@ ).-cpImage :: Lens' ContainerProperties Text-cpImage = lens _cpImage (\ s a -> s{_cpImage = a})---- | The number of vCPUs reserved for the container. This parameter maps to @CpuShares@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/ Docker Remote API> and the @--cpu-shares@ option to <https://docs.docker.com/engine/reference/run/ docker run> . Each vCPU is equivalent to 1,024 CPU shares. You must specify at least one vCPU.-cpVcpus :: Lens' ContainerProperties Int-cpVcpus = lens _cpVcpus (\ s a -> s{_cpVcpus = a})---- | The hard limit (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. This parameter maps to @Memory@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/ Docker Remote API> and the @--memory@ option to <https://docs.docker.com/engine/reference/run/ docker run> . You must specify at least 4 MiB of memory for a job.-cpMemory :: Lens' ContainerProperties Int-cpMemory = lens _cpMemory (\ s a -> s{_cpMemory = a})--instance FromJSON ContainerProperties where- parseJSON- = withObject "ContainerProperties"- (\ x ->- ContainerProperties' <$>- (x .:? "command" .!= mempty) <*>- (x .:? "environment" .!= mempty)- <*> (x .:? "ulimits" .!= mempty)- <*> (x .:? "privileged")- <*> (x .:? "jobRoleArn")- <*> (x .:? "user")- <*> (x .:? "mountPoints" .!= mempty)- <*> (x .:? "readonlyRootFilesystem")- <*> (x .:? "volumes" .!= mempty)- <*> (x .: "image")- <*> (x .: "vcpus")- <*> (x .: "memory"))--instance Hashable ContainerProperties where--instance NFData ContainerProperties where--instance ToJSON ContainerProperties where- toJSON ContainerProperties'{..}- = object- (catMaybes- [("command" .=) <$> _cpCommand,- ("environment" .=) <$> _cpEnvironment,- ("ulimits" .=) <$> _cpUlimits,- ("privileged" .=) <$> _cpPrivileged,- ("jobRoleArn" .=) <$> _cpJobRoleARN,- ("user" .=) <$> _cpUser,- ("mountPoints" .=) <$> _cpMountPoints,- ("readonlyRootFilesystem" .=) <$>- _cpReadonlyRootFilesystem,- ("volumes" .=) <$> _cpVolumes,- Just ("image" .= _cpImage),- Just ("vcpus" .= _cpVcpus),- Just ("memory" .= _cpMemory)])---- | An object representing summary details of a container within a job.------------ /See:/ 'containerSummary' smart constructor.-data ContainerSummary = ContainerSummary'- { _csReason :: !(Maybe Text)- , _csExitCode :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ContainerSummary' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'csReason' - A short (255 max characters) human-readable string to provide additional details about a running or stopped container.------ * 'csExitCode' - The exit code to return upon completion.-containerSummary- :: ContainerSummary-containerSummary =- ContainerSummary' {_csReason = Nothing, _csExitCode = Nothing}----- | A short (255 max characters) human-readable string to provide additional details about a running or stopped container.-csReason :: Lens' ContainerSummary (Maybe Text)-csReason = lens _csReason (\ s a -> s{_csReason = a})---- | The exit code to return upon completion.-csExitCode :: Lens' ContainerSummary (Maybe Int)-csExitCode = lens _csExitCode (\ s a -> s{_csExitCode = a})--instance FromJSON ContainerSummary where- parseJSON- = withObject "ContainerSummary"- (\ x ->- ContainerSummary' <$>- (x .:? "reason") <*> (x .:? "exitCode"))--instance Hashable ContainerSummary where--instance NFData ContainerSummary where---- | The contents of the @host@ parameter determine whether your data volume persists on the host container instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume, but the data is not guaranteed to persist after the containers associated with it stop running.------------ /See:/ 'host' smart constructor.-newtype Host = Host'- { _hSourcePath :: Maybe Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Host' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'hSourcePath' - The path on the host container instance that is presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If the @host@ parameter contains a @sourcePath@ file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the @sourcePath@ value does not 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.-host- :: Host-host = Host' {_hSourcePath = Nothing}----- | The path on the host container instance that is presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If the @host@ parameter contains a @sourcePath@ file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the @sourcePath@ value does not 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.-hSourcePath :: Lens' Host (Maybe Text)-hSourcePath = lens _hSourcePath (\ s a -> s{_hSourcePath = a})--instance FromJSON Host where- parseJSON- = withObject "Host"- (\ x -> Host' <$> (x .:? "sourcePath"))--instance Hashable Host where--instance NFData Host where--instance ToJSON Host where- toJSON Host'{..}- = object- (catMaybes [("sourcePath" .=) <$> _hSourcePath])---- | An object representing an AWS Batch job definition.------------ /See:/ 'jobDefinition' smart constructor.-data JobDefinition = JobDefinition'- { _jddStatus :: !(Maybe Text)- , _jddRetryStrategy :: !(Maybe RetryStrategy)- , _jddParameters :: !(Maybe (Map Text Text))- , _jddTimeout :: !(Maybe JobTimeout)- , _jddContainerProperties :: !(Maybe ContainerProperties)- , _jddJobDefinitionName :: !Text- , _jddJobDefinitionARN :: !Text- , _jddRevision :: !Int- , _jddType :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'JobDefinition' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jddStatus' - The status of the job definition.------ * 'jddRetryStrategy' - The retry strategy to use for failed jobs that are submitted with this job definition.------ * 'jddParameters' - 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.------ * 'jddTimeout' - The timeout configuration for jobs that are submitted with this job definition. You can specify a timeout duration after which AWS Batch terminates your jobs if they have not finished.------ * 'jddContainerProperties' - An object with various properties specific to container-based jobs.------ * 'jddJobDefinitionName' - The name of the job definition.------ * 'jddJobDefinitionARN' - The Amazon Resource Name (ARN) for the job definition.------ * 'jddRevision' - The revision of the job definition.------ * 'jddType' - The type of job definition.-jobDefinition- :: Text -- ^ 'jddJobDefinitionName'- -> Text -- ^ 'jddJobDefinitionARN'- -> Int -- ^ 'jddRevision'- -> Text -- ^ 'jddType'- -> JobDefinition-jobDefinition pJobDefinitionName_ pJobDefinitionARN_ pRevision_ pType_ =- JobDefinition'- { _jddStatus = Nothing- , _jddRetryStrategy = Nothing- , _jddParameters = Nothing- , _jddTimeout = Nothing- , _jddContainerProperties = Nothing- , _jddJobDefinitionName = pJobDefinitionName_- , _jddJobDefinitionARN = pJobDefinitionARN_- , _jddRevision = pRevision_- , _jddType = pType_- }----- | The status of the job definition.-jddStatus :: Lens' JobDefinition (Maybe Text)-jddStatus = lens _jddStatus (\ s a -> s{_jddStatus = a})---- | The retry strategy to use for failed jobs that are submitted with this job definition.-jddRetryStrategy :: Lens' JobDefinition (Maybe RetryStrategy)-jddRetryStrategy = lens _jddRetryStrategy (\ s a -> s{_jddRetryStrategy = a})---- | 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.-jddParameters :: Lens' JobDefinition (HashMap Text Text)-jddParameters = lens _jddParameters (\ s a -> s{_jddParameters = a}) . _Default . _Map---- | The timeout configuration for jobs that are submitted with this job definition. You can specify a timeout duration after which AWS Batch terminates your jobs if they have not finished.-jddTimeout :: Lens' JobDefinition (Maybe JobTimeout)-jddTimeout = lens _jddTimeout (\ s a -> s{_jddTimeout = a})---- | An object with various properties specific to container-based jobs.-jddContainerProperties :: Lens' JobDefinition (Maybe ContainerProperties)-jddContainerProperties = lens _jddContainerProperties (\ s a -> s{_jddContainerProperties = a})---- | The name of the job definition.-jddJobDefinitionName :: Lens' JobDefinition Text-jddJobDefinitionName = lens _jddJobDefinitionName (\ s a -> s{_jddJobDefinitionName = a})---- | The Amazon Resource Name (ARN) for the job definition.-jddJobDefinitionARN :: Lens' JobDefinition Text-jddJobDefinitionARN = lens _jddJobDefinitionARN (\ s a -> s{_jddJobDefinitionARN = a})---- | The revision of the job definition.-jddRevision :: Lens' JobDefinition Int-jddRevision = lens _jddRevision (\ s a -> s{_jddRevision = a})---- | The type of job definition.-jddType :: Lens' JobDefinition Text-jddType = lens _jddType (\ s a -> s{_jddType = a})--instance FromJSON JobDefinition where- parseJSON- = withObject "JobDefinition"- (\ x ->- JobDefinition' <$>- (x .:? "status") <*> (x .:? "retryStrategy") <*>- (x .:? "parameters" .!= mempty)- <*> (x .:? "timeout")- <*> (x .:? "containerProperties")- <*> (x .: "jobDefinitionName")- <*> (x .: "jobDefinitionArn")- <*> (x .: "revision")- <*> (x .: "type"))--instance Hashable JobDefinition where--instance NFData JobDefinition where---- | An object representing an AWS Batch job dependency.------------ /See:/ 'jobDependency' smart constructor.-data JobDependency = JobDependency'- { _jJobId :: !(Maybe Text)- , _jType :: !(Maybe ArrayJobDependency)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'JobDependency' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jJobId' - The job ID of the AWS Batch job associated with this dependency.------ * 'jType' - The type of the job dependency.-jobDependency- :: JobDependency-jobDependency = JobDependency' {_jJobId = Nothing, _jType = Nothing}----- | The job ID of the AWS Batch job associated with this dependency.-jJobId :: Lens' JobDependency (Maybe Text)-jJobId = lens _jJobId (\ s a -> s{_jJobId = a})---- | The type of the job dependency.-jType :: Lens' JobDependency (Maybe ArrayJobDependency)-jType = lens _jType (\ s a -> s{_jType = a})--instance FromJSON JobDependency where- parseJSON- = withObject "JobDependency"- (\ x ->- JobDependency' <$>- (x .:? "jobId") <*> (x .:? "type"))--instance Hashable JobDependency where--instance NFData JobDependency where--instance ToJSON JobDependency where- toJSON JobDependency'{..}- = object- (catMaybes- [("jobId" .=) <$> _jJobId, ("type" .=) <$> _jType])---- | An object representing an AWS Batch job.------------ /See:/ 'jobDetail' smart constructor.-data JobDetail = JobDetail'- { _jdStoppedAt :: !(Maybe Integer)- , _jdCreatedAt :: !(Maybe Integer)- , _jdRetryStrategy :: !(Maybe RetryStrategy)- , _jdAttempts :: !(Maybe [AttemptDetail])- , _jdDependsOn :: !(Maybe [JobDependency])- , _jdContainer :: !(Maybe ContainerDetail)- , _jdParameters :: !(Maybe (Map Text Text))- , _jdStatusReason :: !(Maybe Text)- , _jdArrayProperties :: !(Maybe ArrayPropertiesDetail)- , _jdTimeout :: !(Maybe JobTimeout)- , _jdJobName :: !Text- , _jdJobId :: !Text- , _jdJobQueue :: !Text- , _jdStatus :: !JobStatus- , _jdStartedAt :: !Integer- , _jdJobDefinition :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'JobDetail' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jdStoppedAt' - The Unix time stamp (in seconds and milliseconds) for when the job was stopped (when the job transitioned from the @RUNNING@ state to a terminal state, such as @SUCCEEDED@ or @FAILED@ ).------ * 'jdCreatedAt' - The Unix time stamp (in seconds and 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.------ * 'jdRetryStrategy' - The retry strategy to use for this job if an attempt fails.------ * 'jdAttempts' - A list of job attempts associated with this job.------ * 'jdDependsOn' - A list of job names or IDs on which this job depends.------ * 'jdContainer' - An object representing the details of the container that is associated with the job.------ * 'jdParameters' - Additional parameters passed to the job that replace parameter substitution placeholders or override any corresponding parameter defaults from the job definition.------ * 'jdStatusReason' - A short, human-readable string to provide additional details about the current status of the job.------ * 'jdArrayProperties' - The array properties of the job, if it is an array job.------ * 'jdTimeout' - The timeout configuration for the job.------ * 'jdJobName' - The name of the job.------ * 'jdJobId' - The ID for the job.------ * 'jdJobQueue' - The Amazon Resource Name (ARN) of the job queue with which the job is associated.------ * 'jdStatus' - The current status for the job.------ * 'jdStartedAt' - The Unix time stamp (in seconds and milliseconds) for when the job was started (when the job transitioned from the @STARTING@ state to the @RUNNING@ state).------ * 'jdJobDefinition' - The job definition that is used by this job.-jobDetail- :: Text -- ^ 'jdJobName'- -> Text -- ^ 'jdJobId'- -> Text -- ^ 'jdJobQueue'- -> JobStatus -- ^ 'jdStatus'- -> Integer -- ^ 'jdStartedAt'- -> Text -- ^ 'jdJobDefinition'- -> JobDetail-jobDetail pJobName_ pJobId_ pJobQueue_ pStatus_ pStartedAt_ pJobDefinition_ =- JobDetail'- { _jdStoppedAt = Nothing- , _jdCreatedAt = Nothing- , _jdRetryStrategy = Nothing- , _jdAttempts = Nothing- , _jdDependsOn = Nothing- , _jdContainer = Nothing- , _jdParameters = Nothing- , _jdStatusReason = Nothing- , _jdArrayProperties = Nothing- , _jdTimeout = Nothing- , _jdJobName = pJobName_- , _jdJobId = pJobId_- , _jdJobQueue = pJobQueue_- , _jdStatus = pStatus_- , _jdStartedAt = pStartedAt_- , _jdJobDefinition = pJobDefinition_- }----- | The Unix time stamp (in seconds and milliseconds) for when the job was stopped (when the job transitioned from the @RUNNING@ state to a terminal state, such as @SUCCEEDED@ or @FAILED@ ).-jdStoppedAt :: Lens' JobDetail (Maybe Integer)-jdStoppedAt = lens _jdStoppedAt (\ s a -> s{_jdStoppedAt = a})---- | The Unix time stamp (in seconds and 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.-jdCreatedAt :: Lens' JobDetail (Maybe Integer)-jdCreatedAt = lens _jdCreatedAt (\ s a -> s{_jdCreatedAt = a})---- | The retry strategy to use for this job if an attempt fails.-jdRetryStrategy :: Lens' JobDetail (Maybe RetryStrategy)-jdRetryStrategy = lens _jdRetryStrategy (\ s a -> s{_jdRetryStrategy = a})---- | A list of job attempts associated with this job.-jdAttempts :: Lens' JobDetail [AttemptDetail]-jdAttempts = lens _jdAttempts (\ s a -> s{_jdAttempts = a}) . _Default . _Coerce---- | A list of job names or IDs on which this job depends.-jdDependsOn :: Lens' JobDetail [JobDependency]-jdDependsOn = lens _jdDependsOn (\ s a -> s{_jdDependsOn = a}) . _Default . _Coerce---- | An object representing the details of the container that is associated with the job.-jdContainer :: Lens' JobDetail (Maybe ContainerDetail)-jdContainer = lens _jdContainer (\ s a -> s{_jdContainer = a})---- | Additional parameters passed to the job that replace parameter substitution placeholders or override any corresponding parameter defaults from the job definition.-jdParameters :: Lens' JobDetail (HashMap Text Text)-jdParameters = lens _jdParameters (\ s a -> s{_jdParameters = a}) . _Default . _Map---- | A short, human-readable string to provide additional details about the current status of the job.-jdStatusReason :: Lens' JobDetail (Maybe Text)-jdStatusReason = lens _jdStatusReason (\ s a -> s{_jdStatusReason = a})---- | The array properties of the job, if it is an array job.-jdArrayProperties :: Lens' JobDetail (Maybe ArrayPropertiesDetail)-jdArrayProperties = lens _jdArrayProperties (\ s a -> s{_jdArrayProperties = a})---- | The timeout configuration for the job.-jdTimeout :: Lens' JobDetail (Maybe JobTimeout)-jdTimeout = lens _jdTimeout (\ s a -> s{_jdTimeout = a})---- | The name of the job.-jdJobName :: Lens' JobDetail Text-jdJobName = lens _jdJobName (\ s a -> s{_jdJobName = a})---- | The ID for the job.-jdJobId :: Lens' JobDetail Text-jdJobId = lens _jdJobId (\ s a -> s{_jdJobId = a})---- | The Amazon Resource Name (ARN) of the job queue with which the job is associated.-jdJobQueue :: Lens' JobDetail Text-jdJobQueue = lens _jdJobQueue (\ s a -> s{_jdJobQueue = a})---- | The current status for the job.-jdStatus :: Lens' JobDetail JobStatus-jdStatus = lens _jdStatus (\ s a -> s{_jdStatus = a})---- | The Unix time stamp (in seconds and milliseconds) for when the job was started (when the job transitioned from the @STARTING@ state to the @RUNNING@ state).-jdStartedAt :: Lens' JobDetail Integer-jdStartedAt = lens _jdStartedAt (\ s a -> s{_jdStartedAt = a})---- | The job definition that is used by this job.-jdJobDefinition :: Lens' JobDetail Text-jdJobDefinition = lens _jdJobDefinition (\ s a -> s{_jdJobDefinition = a})--instance FromJSON JobDetail where- parseJSON- = withObject "JobDetail"- (\ x ->- JobDetail' <$>- (x .:? "stoppedAt") <*> (x .:? "createdAt") <*>- (x .:? "retryStrategy")- <*> (x .:? "attempts" .!= mempty)- <*> (x .:? "dependsOn" .!= mempty)- <*> (x .:? "container")- <*> (x .:? "parameters" .!= mempty)- <*> (x .:? "statusReason")- <*> (x .:? "arrayProperties")- <*> (x .:? "timeout")- <*> (x .: "jobName")- <*> (x .: "jobId")- <*> (x .: "jobQueue")- <*> (x .: "status")- <*> (x .: "startedAt")- <*> (x .: "jobDefinition"))--instance Hashable JobDetail where--instance NFData JobDetail where---- | An object representing the details of an AWS Batch job queue.------------ /See:/ 'jobQueueDetail' smart constructor.-data JobQueueDetail = JobQueueDetail'- { _jqdStatus :: !(Maybe JQStatus)- , _jqdStatusReason :: !(Maybe Text)- , _jqdJobQueueName :: !Text- , _jqdJobQueueARN :: !Text- , _jqdState :: !JQState- , _jqdPriority :: !Int- , _jqdComputeEnvironmentOrder :: ![ComputeEnvironmentOrder]- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'JobQueueDetail' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jqdStatus' - The status of the job queue (for example, @CREATING@ or @VALID@ ).------ * 'jqdStatusReason' - A short, human-readable string to provide additional details about the current status of the job queue.------ * 'jqdJobQueueName' - The name of the job queue.------ * 'jqdJobQueueARN' - The Amazon Resource Name (ARN) of the job queue.------ * 'jqdState' - Describes the ability of the queue to accept new jobs.------ * 'jqdPriority' - The priority of the job queue.------ * 'jqdComputeEnvironmentOrder' - The compute environments that are attached to the job queue and the order in which job placement is preferred. Compute environments are selected for job placement in ascending order.-jobQueueDetail- :: Text -- ^ 'jqdJobQueueName'- -> Text -- ^ 'jqdJobQueueARN'- -> JQState -- ^ 'jqdState'- -> Int -- ^ 'jqdPriority'- -> JobQueueDetail-jobQueueDetail pJobQueueName_ pJobQueueARN_ pState_ pPriority_ =- JobQueueDetail'- { _jqdStatus = Nothing- , _jqdStatusReason = Nothing- , _jqdJobQueueName = pJobQueueName_- , _jqdJobQueueARN = pJobQueueARN_- , _jqdState = pState_- , _jqdPriority = pPriority_- , _jqdComputeEnvironmentOrder = mempty- }----- | The status of the job queue (for example, @CREATING@ or @VALID@ ).-jqdStatus :: Lens' JobQueueDetail (Maybe JQStatus)-jqdStatus = lens _jqdStatus (\ s a -> s{_jqdStatus = a})---- | A short, human-readable string to provide additional details about the current status of the job queue.-jqdStatusReason :: Lens' JobQueueDetail (Maybe Text)-jqdStatusReason = lens _jqdStatusReason (\ s a -> s{_jqdStatusReason = a})---- | The name of the job queue.-jqdJobQueueName :: Lens' JobQueueDetail Text-jqdJobQueueName = lens _jqdJobQueueName (\ s a -> s{_jqdJobQueueName = a})---- | The Amazon Resource Name (ARN) of the job queue.-jqdJobQueueARN :: Lens' JobQueueDetail Text-jqdJobQueueARN = lens _jqdJobQueueARN (\ s a -> s{_jqdJobQueueARN = a})---- | Describes the ability of the queue to accept new jobs.-jqdState :: Lens' JobQueueDetail JQState-jqdState = lens _jqdState (\ s a -> s{_jqdState = a})---- | The priority of the job queue.-jqdPriority :: Lens' JobQueueDetail Int-jqdPriority = lens _jqdPriority (\ s a -> s{_jqdPriority = a})---- | The compute environments that are attached to the job queue and the order in which job placement is preferred. Compute environments are selected for job placement in ascending order.-jqdComputeEnvironmentOrder :: Lens' JobQueueDetail [ComputeEnvironmentOrder]-jqdComputeEnvironmentOrder = lens _jqdComputeEnvironmentOrder (\ s a -> s{_jqdComputeEnvironmentOrder = a}) . _Coerce--instance FromJSON JobQueueDetail where- parseJSON- = withObject "JobQueueDetail"- (\ x ->- JobQueueDetail' <$>- (x .:? "status") <*> (x .:? "statusReason") <*>- (x .: "jobQueueName")- <*> (x .: "jobQueueArn")- <*> (x .: "state")- <*> (x .: "priority")- <*> (x .:? "computeEnvironmentOrder" .!= mempty))--instance Hashable JobQueueDetail where--instance NFData JobQueueDetail where---- | An object representing summary details of a job.------------ /See:/ 'jobSummary' smart constructor.-data JobSummary = JobSummary'- { _jsStoppedAt :: !(Maybe Integer)- , _jsStatus :: !(Maybe JobStatus)- , _jsCreatedAt :: !(Maybe Integer)- , _jsStartedAt :: !(Maybe Integer)- , _jsContainer :: !(Maybe ContainerSummary)- , _jsStatusReason :: !(Maybe Text)- , _jsArrayProperties :: !(Maybe ArrayPropertiesSummary)- , _jsJobId :: !Text- , _jsJobName :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'JobSummary' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jsStoppedAt' - The Unix time stamp for when the job was stopped (when the job transitioned from the @RUNNING@ state to a terminal state, such as @SUCCEEDED@ or @FAILED@ ).------ * 'jsStatus' - The current status for the job.------ * 'jsCreatedAt' - The Unix time stamp 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.------ * 'jsStartedAt' - The Unix time stamp for when the job was started (when the job transitioned from the @STARTING@ state to the @RUNNING@ state).------ * 'jsContainer' - An object representing the details of the container that is associated with the job.------ * 'jsStatusReason' - A short, human-readable string to provide additional details about the current status of the job.------ * 'jsArrayProperties' - The array properties of the job, if it is an array job.------ * 'jsJobId' - The ID of the job.------ * 'jsJobName' - The name of the job.-jobSummary- :: Text -- ^ 'jsJobId'- -> Text -- ^ 'jsJobName'- -> JobSummary-jobSummary pJobId_ pJobName_ =- JobSummary'- { _jsStoppedAt = Nothing- , _jsStatus = Nothing- , _jsCreatedAt = Nothing- , _jsStartedAt = Nothing- , _jsContainer = Nothing- , _jsStatusReason = Nothing- , _jsArrayProperties = Nothing- , _jsJobId = pJobId_- , _jsJobName = pJobName_- }----- | The Unix time stamp for when the job was stopped (when the job transitioned from the @RUNNING@ state to a terminal state, such as @SUCCEEDED@ or @FAILED@ ).-jsStoppedAt :: Lens' JobSummary (Maybe Integer)-jsStoppedAt = lens _jsStoppedAt (\ s a -> s{_jsStoppedAt = a})---- | The current status for the job.-jsStatus :: Lens' JobSummary (Maybe JobStatus)-jsStatus = lens _jsStatus (\ s a -> s{_jsStatus = a})---- | The Unix time stamp 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.-jsCreatedAt :: Lens' JobSummary (Maybe Integer)-jsCreatedAt = lens _jsCreatedAt (\ s a -> s{_jsCreatedAt = a})---- | The Unix time stamp for when the job was started (when the job transitioned from the @STARTING@ state to the @RUNNING@ state).-jsStartedAt :: Lens' JobSummary (Maybe Integer)-jsStartedAt = lens _jsStartedAt (\ s a -> s{_jsStartedAt = a})---- | An object representing the details of the container that is associated with the job.-jsContainer :: Lens' JobSummary (Maybe ContainerSummary)-jsContainer = lens _jsContainer (\ s a -> s{_jsContainer = a})---- | A short, human-readable string to provide additional details about the current status of the job.-jsStatusReason :: Lens' JobSummary (Maybe Text)-jsStatusReason = lens _jsStatusReason (\ s a -> s{_jsStatusReason = a})---- | The array properties of the job, if it is an array job.-jsArrayProperties :: Lens' JobSummary (Maybe ArrayPropertiesSummary)-jsArrayProperties = lens _jsArrayProperties (\ s a -> s{_jsArrayProperties = a})---- | The ID of the job.-jsJobId :: Lens' JobSummary Text-jsJobId = lens _jsJobId (\ s a -> s{_jsJobId = a})---- | The name of the job.-jsJobName :: Lens' JobSummary Text-jsJobName = lens _jsJobName (\ s a -> s{_jsJobName = a})--instance FromJSON JobSummary where- parseJSON- = withObject "JobSummary"- (\ x ->- JobSummary' <$>- (x .:? "stoppedAt") <*> (x .:? "status") <*>- (x .:? "createdAt")- <*> (x .:? "startedAt")- <*> (x .:? "container")- <*> (x .:? "statusReason")- <*> (x .:? "arrayProperties")- <*> (x .: "jobId")- <*> (x .: "jobName"))--instance Hashable JobSummary where--instance NFData JobSummary where---- | An object representing a job timeout configuration.------------ /See:/ 'jobTimeout' smart constructor.-newtype JobTimeout = JobTimeout'- { _jtAttemptDurationSeconds :: Maybe Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'JobTimeout' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jtAttemptDurationSeconds' - The time duration in seconds (measured from the job attempt's @startedAt@ timestamp) after which AWS Batch terminates your jobs if they have not finished.-jobTimeout- :: JobTimeout-jobTimeout = JobTimeout' {_jtAttemptDurationSeconds = Nothing}----- | The time duration in seconds (measured from the job attempt's @startedAt@ timestamp) after which AWS Batch terminates your jobs if they have not finished.-jtAttemptDurationSeconds :: Lens' JobTimeout (Maybe Int)-jtAttemptDurationSeconds = lens _jtAttemptDurationSeconds (\ s a -> s{_jtAttemptDurationSeconds = a})--instance FromJSON JobTimeout where- parseJSON- = withObject "JobTimeout"- (\ x ->- JobTimeout' <$> (x .:? "attemptDurationSeconds"))--instance Hashable JobTimeout where--instance NFData JobTimeout where--instance ToJSON JobTimeout where- toJSON JobTimeout'{..}- = object- (catMaybes- [("attemptDurationSeconds" .=) <$>- _jtAttemptDurationSeconds])---- | A key-value pair object.------------ /See:/ 'keyValuePair' smart constructor.-data KeyValuePair = KeyValuePair'- { _kvpValue :: !(Maybe Text)- , _kvpName :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'KeyValuePair' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'kvpValue' - The value of the key-value pair. For environment variables, this is the value of the environment variable.------ * 'kvpName' - The name of the key-value pair. For environment variables, this is the name of the environment variable.-keyValuePair- :: KeyValuePair-keyValuePair = KeyValuePair' {_kvpValue = Nothing, _kvpName = Nothing}----- | The value of the key-value pair. For environment variables, this is the value of the environment variable.-kvpValue :: Lens' KeyValuePair (Maybe Text)-kvpValue = lens _kvpValue (\ s a -> s{_kvpValue = a})---- | The name of the key-value pair. For environment variables, this is the name of the environment variable.-kvpName :: Lens' KeyValuePair (Maybe Text)-kvpName = lens _kvpName (\ s a -> s{_kvpName = a})--instance FromJSON KeyValuePair where- parseJSON- = withObject "KeyValuePair"- (\ x ->- KeyValuePair' <$> (x .:? "value") <*> (x .:? "name"))--instance Hashable KeyValuePair where--instance NFData KeyValuePair where--instance ToJSON KeyValuePair where- toJSON KeyValuePair'{..}- = object- (catMaybes- [("value" .=) <$> _kvpValue,- ("name" .=) <$> _kvpName])---- | Details on a Docker volume mount point that is used in a job's container properties.------------ /See:/ 'mountPoint' smart constructor.-data MountPoint = MountPoint'- { _mpContainerPath :: !(Maybe Text)- , _mpSourceVolume :: !(Maybe Text)- , _mpReadOnly :: !(Maybe Bool)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'MountPoint' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'mpContainerPath' - The path on the container at which to mount the host volume.------ * 'mpSourceVolume' - The name of the volume to mount.------ * 'mpReadOnly' - 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@ .-mountPoint- :: MountPoint-mountPoint =- MountPoint'- { _mpContainerPath = Nothing- , _mpSourceVolume = Nothing- , _mpReadOnly = Nothing- }----- | The path on the container at which to mount the host volume.-mpContainerPath :: Lens' MountPoint (Maybe Text)-mpContainerPath = lens _mpContainerPath (\ s a -> s{_mpContainerPath = a})---- | The name of the volume to mount.-mpSourceVolume :: Lens' MountPoint (Maybe Text)-mpSourceVolume = lens _mpSourceVolume (\ s a -> s{_mpSourceVolume = a})---- | 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@ .-mpReadOnly :: Lens' MountPoint (Maybe Bool)-mpReadOnly = lens _mpReadOnly (\ s a -> s{_mpReadOnly = a})--instance FromJSON MountPoint where- parseJSON- = withObject "MountPoint"- (\ x ->- MountPoint' <$>- (x .:? "containerPath") <*> (x .:? "sourceVolume")- <*> (x .:? "readOnly"))--instance Hashable MountPoint where--instance NFData MountPoint where--instance ToJSON MountPoint where- toJSON MountPoint'{..}- = object- (catMaybes- [("containerPath" .=) <$> _mpContainerPath,- ("sourceVolume" .=) <$> _mpSourceVolume,- ("readOnly" .=) <$> _mpReadOnly])---- | The retry strategy associated with a job.------------ /See:/ 'retryStrategy' smart constructor.-newtype RetryStrategy = RetryStrategy'- { _rsAttempts :: Maybe Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RetryStrategy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rsAttempts' - The number of times to move a job to the @RUNNABLE@ status. You may specify between 1 and 10 attempts. If the value of @attempts@ is greater than one, the job is retried if it fails until it has moved to @RUNNABLE@ that many times.-retryStrategy- :: RetryStrategy-retryStrategy = RetryStrategy' {_rsAttempts = Nothing}----- | The number of times to move a job to the @RUNNABLE@ status. You may specify between 1 and 10 attempts. If the value of @attempts@ is greater than one, the job is retried if it fails until it has moved to @RUNNABLE@ that many times.-rsAttempts :: Lens' RetryStrategy (Maybe Int)-rsAttempts = lens _rsAttempts (\ s a -> s{_rsAttempts = a})--instance FromJSON RetryStrategy where- parseJSON- = withObject "RetryStrategy"- (\ x -> RetryStrategy' <$> (x .:? "attempts"))--instance Hashable RetryStrategy where--instance NFData RetryStrategy where--instance ToJSON RetryStrategy where- toJSON RetryStrategy'{..}- = object- (catMaybes [("attempts" .=) <$> _rsAttempts])---- | The @ulimit@ settings to pass to the container.------------ /See:/ 'ulimit' smart constructor.-data Ulimit = Ulimit'- { _uHardLimit :: !Int- , _uName :: !Text- , _uSoftLimit :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Ulimit' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'uHardLimit' - The hard limit for the @ulimit@ type.------ * 'uName' - The @type@ of the @ulimit@ .------ * 'uSoftLimit' - The soft limit for the @ulimit@ type.-ulimit- :: Int -- ^ 'uHardLimit'- -> Text -- ^ 'uName'- -> Int -- ^ 'uSoftLimit'- -> Ulimit-ulimit pHardLimit_ pName_ pSoftLimit_ =- Ulimit'- {_uHardLimit = pHardLimit_, _uName = pName_, _uSoftLimit = pSoftLimit_}----- | The hard limit for the @ulimit@ type.-uHardLimit :: Lens' Ulimit Int-uHardLimit = lens _uHardLimit (\ s a -> s{_uHardLimit = a})---- | The @type@ of the @ulimit@ .-uName :: Lens' Ulimit Text-uName = lens _uName (\ s a -> s{_uName = a})---- | The soft limit for the @ulimit@ type.-uSoftLimit :: Lens' Ulimit Int-uSoftLimit = lens _uSoftLimit (\ s a -> s{_uSoftLimit = a})--instance FromJSON Ulimit where- parseJSON- = withObject "Ulimit"- (\ x ->- Ulimit' <$>- (x .: "hardLimit") <*> (x .: "name") <*>- (x .: "softLimit"))--instance Hashable Ulimit where--instance NFData Ulimit where--instance ToJSON Ulimit where- toJSON Ulimit'{..}- = object- (catMaybes- [Just ("hardLimit" .= _uHardLimit),- Just ("name" .= _uName),- Just ("softLimit" .= _uSoftLimit)])---- | A data volume used in a job's container properties.------------ /See:/ 'volume' smart constructor.-data Volume = Volume'- { _vName :: !(Maybe Text)- , _vHost :: !(Maybe Host)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Volume' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'vName' - The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This name is referenced in the @sourceVolume@ parameter of container definition @mountPoints@ .------ * 'vHost' - The contents of the @host@ parameter determine whether your data volume persists on the host container instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data is not guaranteed to persist after the containers associated with it stop running.-volume- :: Volume-volume = Volume' {_vName = Nothing, _vHost = Nothing}----- | The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This name is referenced in the @sourceVolume@ parameter of container definition @mountPoints@ .-vName :: Lens' Volume (Maybe Text)-vName = lens _vName (\ s a -> s{_vName = a})---- | The contents of the @host@ parameter determine whether your data volume persists on the host container instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data is not guaranteed to persist after the containers associated with it stop running.-vHost :: Lens' Volume (Maybe Host)-vHost = lens _vHost (\ s a -> s{_vHost = a})--instance FromJSON Volume where- parseJSON- = withObject "Volume"- (\ x ->- Volume' <$> (x .:? "name") <*> (x .:? "host"))--instance Hashable Volume where--instance NFData Volume where--instance ToJSON Volume where- toJSON Volume'{..}- = object- (catMaybes- [("name" .=) <$> _vName, ("host" .=) <$> _vHost])
− gen/Network/AWS/Batch/Types/Sum.hs
@@ -1,317 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE LambdaCase #-}-{-# LANGUAGE OverloadedStrings #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Batch.Types.Sum--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.Batch.Types.Sum where--import Network.AWS.Prelude--data ArrayJobDependency- = NToN- | Sequential- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText ArrayJobDependency where- parser = takeLowerText >>= \case- "n_to_n" -> pure NToN- "sequential" -> pure Sequential- e -> fromTextError $ "Failure parsing ArrayJobDependency from value: '" <> e- <> "'. Accepted values: n_to_n, sequential"--instance ToText ArrayJobDependency where- toText = \case- NToN -> "N_TO_N"- Sequential -> "SEQUENTIAL"--instance Hashable ArrayJobDependency-instance NFData ArrayJobDependency-instance ToByteString ArrayJobDependency-instance ToQuery ArrayJobDependency-instance ToHeader ArrayJobDependency--instance ToJSON ArrayJobDependency where- toJSON = toJSONText--instance FromJSON ArrayJobDependency where- parseJSON = parseJSONText "ArrayJobDependency"--data CEState- = Disabled- | Enabled- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText CEState where- parser = takeLowerText >>= \case- "disabled" -> pure Disabled- "enabled" -> pure Enabled- e -> fromTextError $ "Failure parsing CEState from value: '" <> e- <> "'. Accepted values: disabled, enabled"--instance ToText CEState where- toText = \case- Disabled -> "DISABLED"- Enabled -> "ENABLED"--instance Hashable CEState-instance NFData CEState-instance ToByteString CEState-instance ToQuery CEState-instance ToHeader CEState--instance ToJSON CEState where- toJSON = toJSONText--instance FromJSON CEState where- parseJSON = parseJSONText "CEState"--data CEStatus- = CESCreating- | CESDeleted- | CESDeleting- | CESInvalid- | CESUpdating- | CESValid- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText CEStatus where- parser = takeLowerText >>= \case- "creating" -> pure CESCreating- "deleted" -> pure CESDeleted- "deleting" -> pure CESDeleting- "invalid" -> pure CESInvalid- "updating" -> pure CESUpdating- "valid" -> pure CESValid- e -> fromTextError $ "Failure parsing CEStatus from value: '" <> e- <> "'. Accepted values: creating, deleted, deleting, invalid, updating, valid"--instance ToText CEStatus where- toText = \case- CESCreating -> "CREATING"- CESDeleted -> "DELETED"- CESDeleting -> "DELETING"- CESInvalid -> "INVALID"- CESUpdating -> "UPDATING"- CESValid -> "VALID"--instance Hashable CEStatus-instance NFData CEStatus-instance ToByteString CEStatus-instance ToQuery CEStatus-instance ToHeader CEStatus--instance FromJSON CEStatus where- parseJSON = parseJSONText "CEStatus"--data CEType- = Managed- | Unmanaged- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText CEType where- parser = takeLowerText >>= \case- "managed" -> pure Managed- "unmanaged" -> pure Unmanaged- e -> fromTextError $ "Failure parsing CEType from value: '" <> e- <> "'. Accepted values: managed, unmanaged"--instance ToText CEType where- toText = \case- Managed -> "MANAGED"- Unmanaged -> "UNMANAGED"--instance Hashable CEType-instance NFData CEType-instance ToByteString CEType-instance ToQuery CEType-instance ToHeader CEType--instance ToJSON CEType where- toJSON = toJSONText--instance FromJSON CEType where- parseJSON = parseJSONText "CEType"--data CRType- = EC2- | Spot- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText CRType where- parser = takeLowerText >>= \case- "ec2" -> pure EC2- "spot" -> pure Spot- e -> fromTextError $ "Failure parsing CRType from value: '" <> e- <> "'. Accepted values: ec2, spot"--instance ToText CRType where- toText = \case- EC2 -> "EC2"- Spot -> "SPOT"--instance Hashable CRType-instance NFData CRType-instance ToByteString CRType-instance ToQuery CRType-instance ToHeader CRType--instance ToJSON CRType where- toJSON = toJSONText--instance FromJSON CRType where- parseJSON = parseJSONText "CRType"--data JQState- = JQSDisabled- | JQSEnabled- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText JQState where- parser = takeLowerText >>= \case- "disabled" -> pure JQSDisabled- "enabled" -> pure JQSEnabled- e -> fromTextError $ "Failure parsing JQState from value: '" <> e- <> "'. Accepted values: disabled, enabled"--instance ToText JQState where- toText = \case- JQSDisabled -> "DISABLED"- JQSEnabled -> "ENABLED"--instance Hashable JQState-instance NFData JQState-instance ToByteString JQState-instance ToQuery JQState-instance ToHeader JQState--instance ToJSON JQState where- toJSON = toJSONText--instance FromJSON JQState where- parseJSON = parseJSONText "JQState"--data JQStatus- = Creating- | Deleted- | Deleting- | Invalid- | Updating- | Valid- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText JQStatus where- parser = takeLowerText >>= \case- "creating" -> pure Creating- "deleted" -> pure Deleted- "deleting" -> pure Deleting- "invalid" -> pure Invalid- "updating" -> pure Updating- "valid" -> pure Valid- e -> fromTextError $ "Failure parsing JQStatus from value: '" <> e- <> "'. Accepted values: creating, deleted, deleting, invalid, updating, valid"--instance ToText JQStatus where- toText = \case- Creating -> "CREATING"- Deleted -> "DELETED"- Deleting -> "DELETING"- Invalid -> "INVALID"- Updating -> "UPDATING"- Valid -> "VALID"--instance Hashable JQStatus-instance NFData JQStatus-instance ToByteString JQStatus-instance ToQuery JQStatus-instance ToHeader JQStatus--instance FromJSON JQStatus where- parseJSON = parseJSONText "JQStatus"--data JobDefinitionType =- Container- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText JobDefinitionType where- parser = takeLowerText >>= \case- "container" -> pure Container- e -> fromTextError $ "Failure parsing JobDefinitionType from value: '" <> e- <> "'. Accepted values: container"--instance ToText JobDefinitionType where- toText = \case- Container -> "container"--instance Hashable JobDefinitionType-instance NFData JobDefinitionType-instance ToByteString JobDefinitionType-instance ToQuery JobDefinitionType-instance ToHeader JobDefinitionType--instance ToJSON JobDefinitionType where- toJSON = toJSONText--data JobStatus- = Failed- | Pending- | Runnable- | Running- | Starting- | Submitted- | Succeeded- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText JobStatus where- parser = takeLowerText >>= \case- "failed" -> pure Failed- "pending" -> pure Pending- "runnable" -> pure Runnable- "running" -> pure Running- "starting" -> pure Starting- "submitted" -> pure Submitted- "succeeded" -> pure Succeeded- e -> fromTextError $ "Failure parsing JobStatus from value: '" <> e- <> "'. Accepted values: failed, pending, runnable, running, starting, submitted, succeeded"--instance ToText JobStatus where- toText = \case- Failed -> "FAILED"- Pending -> "PENDING"- Runnable -> "RUNNABLE"- Running -> "RUNNING"- Starting -> "STARTING"- Submitted -> "SUBMITTED"- Succeeded -> "SUCCEEDED"--instance Hashable JobStatus-instance NFData JobStatus-instance ToByteString JobStatus-instance ToQuery JobStatus-instance ToHeader JobStatus--instance ToJSON JobStatus where- toJSON = toJSONText--instance FromJSON JobStatus where- parseJSON = parseJSONText "JobStatus"
− gen/Network/AWS/Batch/UpdateComputeEnvironment.hs
@@ -1,179 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Batch.UpdateComputeEnvironment--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Updates an AWS Batch compute environment.-------module Network.AWS.Batch.UpdateComputeEnvironment- (- -- * Creating a Request- updateComputeEnvironment- , UpdateComputeEnvironment- -- * Request Lenses- , uceState- , uceComputeResources- , uceServiceRole- , uceComputeEnvironment-- -- * Destructuring the Response- , updateComputeEnvironmentResponse- , UpdateComputeEnvironmentResponse- -- * Response Lenses- , ucersComputeEnvironmentName- , ucersComputeEnvironmentARN- , ucersResponseStatus- ) where--import Network.AWS.Batch.Types-import Network.AWS.Batch.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'updateComputeEnvironment' smart constructor.-data UpdateComputeEnvironment = UpdateComputeEnvironment'- { _uceState :: !(Maybe CEState)- , _uceComputeResources :: !(Maybe ComputeResourceUpdate)- , _uceServiceRole :: !(Maybe Text)- , _uceComputeEnvironment :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateComputeEnvironment' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'uceState' - 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.------ * 'uceComputeResources' - Details of the compute resources managed by the compute environment. Required for a managed compute environment.------ * 'uceServiceRole' - The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf. If your specified role has a path other than @/@ , then you must either specify the full role ARN (this is recommended) or prefix the role name with the path.------ * 'uceComputeEnvironment' - The name or full Amazon Resource Name (ARN) of the compute environment to update.-updateComputeEnvironment- :: Text -- ^ 'uceComputeEnvironment'- -> UpdateComputeEnvironment-updateComputeEnvironment pComputeEnvironment_ =- UpdateComputeEnvironment'- { _uceState = Nothing- , _uceComputeResources = Nothing- , _uceServiceRole = Nothing- , _uceComputeEnvironment = pComputeEnvironment_- }----- | 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.-uceState :: Lens' UpdateComputeEnvironment (Maybe CEState)-uceState = lens _uceState (\ s a -> s{_uceState = a})---- | Details of the compute resources managed by the compute environment. Required for a managed compute environment.-uceComputeResources :: Lens' UpdateComputeEnvironment (Maybe ComputeResourceUpdate)-uceComputeResources = lens _uceComputeResources (\ s a -> s{_uceComputeResources = a})---- | The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf. If your specified role has a path other than @/@ , then you must either specify the full role ARN (this is recommended) or prefix the role name with the path.-uceServiceRole :: Lens' UpdateComputeEnvironment (Maybe Text)-uceServiceRole = lens _uceServiceRole (\ s a -> s{_uceServiceRole = a})---- | The name or full Amazon Resource Name (ARN) of the compute environment to update.-uceComputeEnvironment :: Lens' UpdateComputeEnvironment Text-uceComputeEnvironment = lens _uceComputeEnvironment (\ s a -> s{_uceComputeEnvironment = a})--instance AWSRequest UpdateComputeEnvironment where- type Rs UpdateComputeEnvironment =- UpdateComputeEnvironmentResponse- request = postJSON batch- response- = receiveJSON- (\ s h x ->- UpdateComputeEnvironmentResponse' <$>- (x .?> "computeEnvironmentName") <*>- (x .?> "computeEnvironmentArn")- <*> (pure (fromEnum s)))--instance Hashable UpdateComputeEnvironment where--instance NFData UpdateComputeEnvironment where--instance ToHeaders UpdateComputeEnvironment where- toHeaders- = const- (mconcat- ["Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON UpdateComputeEnvironment where- toJSON UpdateComputeEnvironment'{..}- = object- (catMaybes- [("state" .=) <$> _uceState,- ("computeResources" .=) <$> _uceComputeResources,- ("serviceRole" .=) <$> _uceServiceRole,- Just- ("computeEnvironment" .= _uceComputeEnvironment)])--instance ToPath UpdateComputeEnvironment where- toPath = const "/v1/updatecomputeenvironment"--instance ToQuery UpdateComputeEnvironment where- toQuery = const mempty---- | /See:/ 'updateComputeEnvironmentResponse' smart constructor.-data UpdateComputeEnvironmentResponse = UpdateComputeEnvironmentResponse'- { _ucersComputeEnvironmentName :: !(Maybe Text)- , _ucersComputeEnvironmentARN :: !(Maybe Text)- , _ucersResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateComputeEnvironmentResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ucersComputeEnvironmentName' - The name of compute environment.------ * 'ucersComputeEnvironmentARN' - The Amazon Resource Name (ARN) of the compute environment.------ * 'ucersResponseStatus' - -- | The response status code.-updateComputeEnvironmentResponse- :: Int -- ^ 'ucersResponseStatus'- -> UpdateComputeEnvironmentResponse-updateComputeEnvironmentResponse pResponseStatus_ =- UpdateComputeEnvironmentResponse'- { _ucersComputeEnvironmentName = Nothing- , _ucersComputeEnvironmentARN = Nothing- , _ucersResponseStatus = pResponseStatus_- }----- | The name of compute environment.-ucersComputeEnvironmentName :: Lens' UpdateComputeEnvironmentResponse (Maybe Text)-ucersComputeEnvironmentName = lens _ucersComputeEnvironmentName (\ s a -> s{_ucersComputeEnvironmentName = a})---- | The Amazon Resource Name (ARN) of the compute environment.-ucersComputeEnvironmentARN :: Lens' UpdateComputeEnvironmentResponse (Maybe Text)-ucersComputeEnvironmentARN = lens _ucersComputeEnvironmentARN (\ s a -> s{_ucersComputeEnvironmentARN = a})---- | -- | The response status code.-ucersResponseStatus :: Lens' UpdateComputeEnvironmentResponse Int-ucersResponseStatus = lens _ucersResponseStatus (\ s a -> s{_ucersResponseStatus = a})--instance NFData UpdateComputeEnvironmentResponse- where
− gen/Network/AWS/Batch/UpdateJobQueue.hs
@@ -1,176 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Batch.UpdateJobQueue--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Updates a job queue.-------module Network.AWS.Batch.UpdateJobQueue- (- -- * Creating a Request- updateJobQueue- , UpdateJobQueue- -- * Request Lenses- , ujqState- , ujqPriority- , ujqComputeEnvironmentOrder- , ujqJobQueue-- -- * Destructuring the Response- , updateJobQueueResponse- , UpdateJobQueueResponse- -- * Response Lenses- , ujqrsJobQueueARN- , ujqrsJobQueueName- , ujqrsResponseStatus- ) where--import Network.AWS.Batch.Types-import Network.AWS.Batch.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'updateJobQueue' smart constructor.-data UpdateJobQueue = UpdateJobQueue'- { _ujqState :: !(Maybe JQState)- , _ujqPriority :: !(Maybe Int)- , _ujqComputeEnvironmentOrder :: !(Maybe [ComputeEnvironmentOrder])- , _ujqJobQueue :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateJobQueue' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ujqState' - Describes the queue's ability to accept new jobs.------ * 'ujqPriority' - 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 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@ .------ * 'ujqComputeEnvironmentOrder' - 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 should execute a given job.------ * 'ujqJobQueue' - The name or the Amazon Resource Name (ARN) of the job queue.-updateJobQueue- :: Text -- ^ 'ujqJobQueue'- -> UpdateJobQueue-updateJobQueue pJobQueue_ =- UpdateJobQueue'- { _ujqState = Nothing- , _ujqPriority = Nothing- , _ujqComputeEnvironmentOrder = Nothing- , _ujqJobQueue = pJobQueue_- }----- | Describes the queue's ability to accept new jobs.-ujqState :: Lens' UpdateJobQueue (Maybe JQState)-ujqState = lens _ujqState (\ s a -> s{_ujqState = a})---- | 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 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@ .-ujqPriority :: Lens' UpdateJobQueue (Maybe Int)-ujqPriority = lens _ujqPriority (\ s a -> s{_ujqPriority = a})---- | 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 should execute a given job.-ujqComputeEnvironmentOrder :: Lens' UpdateJobQueue [ComputeEnvironmentOrder]-ujqComputeEnvironmentOrder = lens _ujqComputeEnvironmentOrder (\ s a -> s{_ujqComputeEnvironmentOrder = a}) . _Default . _Coerce---- | The name or the Amazon Resource Name (ARN) of the job queue.-ujqJobQueue :: Lens' UpdateJobQueue Text-ujqJobQueue = lens _ujqJobQueue (\ s a -> s{_ujqJobQueue = a})--instance AWSRequest UpdateJobQueue where- type Rs UpdateJobQueue = UpdateJobQueueResponse- request = postJSON batch- response- = receiveJSON- (\ s h x ->- UpdateJobQueueResponse' <$>- (x .?> "jobQueueArn") <*> (x .?> "jobQueueName") <*>- (pure (fromEnum s)))--instance Hashable UpdateJobQueue where--instance NFData UpdateJobQueue where--instance ToHeaders UpdateJobQueue where- toHeaders- = const- (mconcat- ["Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON UpdateJobQueue where- toJSON UpdateJobQueue'{..}- = object- (catMaybes- [("state" .=) <$> _ujqState,- ("priority" .=) <$> _ujqPriority,- ("computeEnvironmentOrder" .=) <$>- _ujqComputeEnvironmentOrder,- Just ("jobQueue" .= _ujqJobQueue)])--instance ToPath UpdateJobQueue where- toPath = const "/v1/updatejobqueue"--instance ToQuery UpdateJobQueue where- toQuery = const mempty---- | /See:/ 'updateJobQueueResponse' smart constructor.-data UpdateJobQueueResponse = UpdateJobQueueResponse'- { _ujqrsJobQueueARN :: !(Maybe Text)- , _ujqrsJobQueueName :: !(Maybe Text)- , _ujqrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateJobQueueResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ujqrsJobQueueARN' - The Amazon Resource Name (ARN) of the job queue.------ * 'ujqrsJobQueueName' - The name of the job queue.------ * 'ujqrsResponseStatus' - -- | The response status code.-updateJobQueueResponse- :: Int -- ^ 'ujqrsResponseStatus'- -> UpdateJobQueueResponse-updateJobQueueResponse pResponseStatus_ =- UpdateJobQueueResponse'- { _ujqrsJobQueueARN = Nothing- , _ujqrsJobQueueName = Nothing- , _ujqrsResponseStatus = pResponseStatus_- }----- | The Amazon Resource Name (ARN) of the job queue.-ujqrsJobQueueARN :: Lens' UpdateJobQueueResponse (Maybe Text)-ujqrsJobQueueARN = lens _ujqrsJobQueueARN (\ s a -> s{_ujqrsJobQueueARN = a})---- | The name of the job queue.-ujqrsJobQueueName :: Lens' UpdateJobQueueResponse (Maybe Text)-ujqrsJobQueueName = lens _ujqrsJobQueueName (\ s a -> s{_ujqrsJobQueueName = a})---- | -- | The response status code.-ujqrsResponseStatus :: Lens' UpdateJobQueueResponse Int-ujqrsResponseStatus = lens _ujqrsResponseStatus (\ s a -> s{_ujqrsResponseStatus = a})--instance NFData UpdateJobQueueResponse where
− gen/Network/AWS/Batch/Waiters.hs
@@ -1,21 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.Batch.Waiters--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.Batch.Waiters where--import Network.AWS.Batch.Types-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Waiter
test/Main.hs view
@@ -2,20 +2,22 @@ -- | -- Module : Main--- Copyright : (c) 2013-2018 Brendan Hay+-- Copyright : (c) 2013-2023 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Maintainer : Brendan Hay -- Stability : auto-generated -- Portability : non-portable (GHC extensions)--- module Main (main) where +import Test.Amazonka.Batch+import Test.Amazonka.Batch.Internal import Test.Tasty-import Test.AWS.Batch-import Test.AWS.Batch.Internal main :: IO ()-main = defaultMain $ testGroup "Batch"- [ testGroup "tests" tests- , testGroup "fixtures" fixtures- ]+main =+ defaultMain $+ testGroup+ "Batch"+ [ testGroup "tests" tests,+ testGroup "fixtures" fixtures+ ]
− test/Test/AWS/Batch.hs
@@ -1,20 +0,0 @@--- |--- Module : Test.AWS.Batch--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.Batch- ( tests- , fixtures- ) where--import Test.Tasty (TestTree)--tests :: [TestTree]-tests = []--fixtures :: [TestTree]-fixtures = []
− test/Test/AWS/Batch/Internal.hs
@@ -1,9 +0,0 @@--- |--- Module : Test.AWS.Batch.Internal--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.Batch.Internal where
− test/Test/AWS/Gen/Batch.hs
@@ -1,327 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Test.AWS.Gen.Batch--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.Gen.Batch where--import Data.Proxy-import Network.AWS.Batch-import Test.AWS.Batch.Internal-import Test.AWS.Fixture-import Test.AWS.Prelude-import Test.Tasty---- Auto-generated: the actual test selection needs to be manually placed into--- the top-level so that real test data can be incrementally added.------ This commented snippet is what the entire set should look like:---- fixtures :: TestTree--- fixtures =--- [ testGroup "request"--- [ requestCreateComputeEnvironment $--- createComputeEnvironment------ , requestRegisterJobDefinition $--- registerJobDefinition------ , requestSubmitJob $--- submitJob------ , requestListJobs $--- listJobs------ , requestTerminateJob $--- terminateJob------ , requestDescribeJobs $--- describeJobs------ , requestDeleteComputeEnvironment $--- deleteComputeEnvironment------ , requestUpdateComputeEnvironment $--- updateComputeEnvironment------ , requestDescribeJobDefinitions $--- describeJobDefinitions------ , requestUpdateJobQueue $--- updateJobQueue------ , requestDeleteJobQueue $--- deleteJobQueue------ , requestCreateJobQueue $--- createJobQueue------ , requestDeregisterJobDefinition $--- deregisterJobDefinition------ , requestDescribeJobQueues $--- describeJobQueues------ , requestDescribeComputeEnvironments $--- describeComputeEnvironments------ , requestCancelJob $--- cancelJob------ ]---- , testGroup "response"--- [ responseCreateComputeEnvironment $--- createComputeEnvironmentResponse------ , responseRegisterJobDefinition $--- registerJobDefinitionResponse------ , responseSubmitJob $--- submitJobResponse------ , responseListJobs $--- listJobsResponse------ , responseTerminateJob $--- terminateJobResponse------ , responseDescribeJobs $--- describeJobsResponse------ , responseDeleteComputeEnvironment $--- deleteComputeEnvironmentResponse------ , responseUpdateComputeEnvironment $--- updateComputeEnvironmentResponse------ , responseDescribeJobDefinitions $--- describeJobDefinitionsResponse------ , responseUpdateJobQueue $--- updateJobQueueResponse------ , responseDeleteJobQueue $--- deleteJobQueueResponse------ , responseCreateJobQueue $--- createJobQueueResponse------ , responseDeregisterJobDefinition $--- deregisterJobDefinitionResponse------ , responseDescribeJobQueues $--- describeJobQueuesResponse------ , responseDescribeComputeEnvironments $--- describeComputeEnvironmentsResponse------ , responseCancelJob $--- cancelJobResponse------ ]--- ]---- Requests--requestCreateComputeEnvironment :: CreateComputeEnvironment -> TestTree-requestCreateComputeEnvironment = req- "CreateComputeEnvironment"- "fixture/CreateComputeEnvironment.yaml"--requestRegisterJobDefinition :: RegisterJobDefinition -> TestTree-requestRegisterJobDefinition = req- "RegisterJobDefinition"- "fixture/RegisterJobDefinition.yaml"--requestSubmitJob :: SubmitJob -> TestTree-requestSubmitJob = req- "SubmitJob"- "fixture/SubmitJob.yaml"--requestListJobs :: ListJobs -> TestTree-requestListJobs = req- "ListJobs"- "fixture/ListJobs.yaml"--requestTerminateJob :: TerminateJob -> TestTree-requestTerminateJob = req- "TerminateJob"- "fixture/TerminateJob.yaml"--requestDescribeJobs :: DescribeJobs -> TestTree-requestDescribeJobs = req- "DescribeJobs"- "fixture/DescribeJobs.yaml"--requestDeleteComputeEnvironment :: DeleteComputeEnvironment -> TestTree-requestDeleteComputeEnvironment = req- "DeleteComputeEnvironment"- "fixture/DeleteComputeEnvironment.yaml"--requestUpdateComputeEnvironment :: UpdateComputeEnvironment -> TestTree-requestUpdateComputeEnvironment = req- "UpdateComputeEnvironment"- "fixture/UpdateComputeEnvironment.yaml"--requestDescribeJobDefinitions :: DescribeJobDefinitions -> TestTree-requestDescribeJobDefinitions = req- "DescribeJobDefinitions"- "fixture/DescribeJobDefinitions.yaml"--requestUpdateJobQueue :: UpdateJobQueue -> TestTree-requestUpdateJobQueue = req- "UpdateJobQueue"- "fixture/UpdateJobQueue.yaml"--requestDeleteJobQueue :: DeleteJobQueue -> TestTree-requestDeleteJobQueue = req- "DeleteJobQueue"- "fixture/DeleteJobQueue.yaml"--requestCreateJobQueue :: CreateJobQueue -> TestTree-requestCreateJobQueue = req- "CreateJobQueue"- "fixture/CreateJobQueue.yaml"--requestDeregisterJobDefinition :: DeregisterJobDefinition -> TestTree-requestDeregisterJobDefinition = req- "DeregisterJobDefinition"- "fixture/DeregisterJobDefinition.yaml"--requestDescribeJobQueues :: DescribeJobQueues -> TestTree-requestDescribeJobQueues = req- "DescribeJobQueues"- "fixture/DescribeJobQueues.yaml"--requestDescribeComputeEnvironments :: DescribeComputeEnvironments -> TestTree-requestDescribeComputeEnvironments = req- "DescribeComputeEnvironments"- "fixture/DescribeComputeEnvironments.yaml"--requestCancelJob :: CancelJob -> TestTree-requestCancelJob = req- "CancelJob"- "fixture/CancelJob.yaml"---- Responses--responseCreateComputeEnvironment :: CreateComputeEnvironmentResponse -> TestTree-responseCreateComputeEnvironment = res- "CreateComputeEnvironmentResponse"- "fixture/CreateComputeEnvironmentResponse.proto"- batch- (Proxy :: Proxy CreateComputeEnvironment)--responseRegisterJobDefinition :: RegisterJobDefinitionResponse -> TestTree-responseRegisterJobDefinition = res- "RegisterJobDefinitionResponse"- "fixture/RegisterJobDefinitionResponse.proto"- batch- (Proxy :: Proxy RegisterJobDefinition)--responseSubmitJob :: SubmitJobResponse -> TestTree-responseSubmitJob = res- "SubmitJobResponse"- "fixture/SubmitJobResponse.proto"- batch- (Proxy :: Proxy SubmitJob)--responseListJobs :: ListJobsResponse -> TestTree-responseListJobs = res- "ListJobsResponse"- "fixture/ListJobsResponse.proto"- batch- (Proxy :: Proxy ListJobs)--responseTerminateJob :: TerminateJobResponse -> TestTree-responseTerminateJob = res- "TerminateJobResponse"- "fixture/TerminateJobResponse.proto"- batch- (Proxy :: Proxy TerminateJob)--responseDescribeJobs :: DescribeJobsResponse -> TestTree-responseDescribeJobs = res- "DescribeJobsResponse"- "fixture/DescribeJobsResponse.proto"- batch- (Proxy :: Proxy DescribeJobs)--responseDeleteComputeEnvironment :: DeleteComputeEnvironmentResponse -> TestTree-responseDeleteComputeEnvironment = res- "DeleteComputeEnvironmentResponse"- "fixture/DeleteComputeEnvironmentResponse.proto"- batch- (Proxy :: Proxy DeleteComputeEnvironment)--responseUpdateComputeEnvironment :: UpdateComputeEnvironmentResponse -> TestTree-responseUpdateComputeEnvironment = res- "UpdateComputeEnvironmentResponse"- "fixture/UpdateComputeEnvironmentResponse.proto"- batch- (Proxy :: Proxy UpdateComputeEnvironment)--responseDescribeJobDefinitions :: DescribeJobDefinitionsResponse -> TestTree-responseDescribeJobDefinitions = res- "DescribeJobDefinitionsResponse"- "fixture/DescribeJobDefinitionsResponse.proto"- batch- (Proxy :: Proxy DescribeJobDefinitions)--responseUpdateJobQueue :: UpdateJobQueueResponse -> TestTree-responseUpdateJobQueue = res- "UpdateJobQueueResponse"- "fixture/UpdateJobQueueResponse.proto"- batch- (Proxy :: Proxy UpdateJobQueue)--responseDeleteJobQueue :: DeleteJobQueueResponse -> TestTree-responseDeleteJobQueue = res- "DeleteJobQueueResponse"- "fixture/DeleteJobQueueResponse.proto"- batch- (Proxy :: Proxy DeleteJobQueue)--responseCreateJobQueue :: CreateJobQueueResponse -> TestTree-responseCreateJobQueue = res- "CreateJobQueueResponse"- "fixture/CreateJobQueueResponse.proto"- batch- (Proxy :: Proxy CreateJobQueue)--responseDeregisterJobDefinition :: DeregisterJobDefinitionResponse -> TestTree-responseDeregisterJobDefinition = res- "DeregisterJobDefinitionResponse"- "fixture/DeregisterJobDefinitionResponse.proto"- batch- (Proxy :: Proxy DeregisterJobDefinition)--responseDescribeJobQueues :: DescribeJobQueuesResponse -> TestTree-responseDescribeJobQueues = res- "DescribeJobQueuesResponse"- "fixture/DescribeJobQueuesResponse.proto"- batch- (Proxy :: Proxy DescribeJobQueues)--responseDescribeComputeEnvironments :: DescribeComputeEnvironmentsResponse -> TestTree-responseDescribeComputeEnvironments = res- "DescribeComputeEnvironmentsResponse"- "fixture/DescribeComputeEnvironmentsResponse.proto"- batch- (Proxy :: Proxy DescribeComputeEnvironments)--responseCancelJob :: CancelJobResponse -> TestTree-responseCancelJob = res- "CancelJobResponse"- "fixture/CancelJobResponse.proto"- batch- (Proxy :: Proxy CancelJob)
+ test/Test/Amazonka/Batch.hs view
@@ -0,0 +1,20 @@+-- |+-- Module : Test.Amazonka.Batch+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Batch+ ( tests,+ fixtures,+ )+where++import Test.Tasty (TestTree)++tests :: [TestTree]+tests = []++fixtures :: [TestTree]+fixtures = []
+ test/Test/Amazonka/Batch/Internal.hs view
@@ -0,0 +1,8 @@+-- |+-- Module : Test.Amazonka.Batch.Internal+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Batch.Internal where
+ test/Test/Amazonka/Gen/Batch.hs view
@@ -0,0 +1,518 @@+{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Test.Amazonka.Gen.Batch+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Gen.Batch where++import Amazonka.Batch+import qualified Data.Proxy as Proxy+import Test.Amazonka.Batch.Internal+import Test.Amazonka.Fixture+import Test.Amazonka.Prelude+import Test.Tasty++-- Auto-generated: the actual test selection needs to be manually placed into+-- the top-level so that real test data can be incrementally added.+--+-- This commented snippet is what the entire set should look like:++-- fixtures :: TestTree+-- fixtures =+-- [ testGroup "request"+-- [ requestCancelJob $+-- newCancelJob+--+-- , requestCreateComputeEnvironment $+-- newCreateComputeEnvironment+--+-- , requestCreateJobQueue $+-- newCreateJobQueue+--+-- , requestCreateSchedulingPolicy $+-- newCreateSchedulingPolicy+--+-- , requestDeleteComputeEnvironment $+-- newDeleteComputeEnvironment+--+-- , requestDeleteJobQueue $+-- newDeleteJobQueue+--+-- , requestDeleteSchedulingPolicy $+-- newDeleteSchedulingPolicy+--+-- , requestDeregisterJobDefinition $+-- newDeregisterJobDefinition+--+-- , requestDescribeComputeEnvironments $+-- newDescribeComputeEnvironments+--+-- , requestDescribeJobDefinitions $+-- newDescribeJobDefinitions+--+-- , requestDescribeJobQueues $+-- newDescribeJobQueues+--+-- , requestDescribeJobs $+-- newDescribeJobs+--+-- , requestDescribeSchedulingPolicies $+-- newDescribeSchedulingPolicies+--+-- , requestListJobs $+-- newListJobs+--+-- , requestListSchedulingPolicies $+-- newListSchedulingPolicies+--+-- , requestListTagsForResource $+-- newListTagsForResource+--+-- , requestRegisterJobDefinition $+-- newRegisterJobDefinition+--+-- , requestSubmitJob $+-- newSubmitJob+--+-- , requestTagResource $+-- newTagResource+--+-- , requestTerminateJob $+-- newTerminateJob+--+-- , requestUntagResource $+-- newUntagResource+--+-- , requestUpdateComputeEnvironment $+-- newUpdateComputeEnvironment+--+-- , requestUpdateJobQueue $+-- newUpdateJobQueue+--+-- , requestUpdateSchedulingPolicy $+-- newUpdateSchedulingPolicy+--+-- ]++-- , testGroup "response"+-- [ responseCancelJob $+-- newCancelJobResponse+--+-- , responseCreateComputeEnvironment $+-- newCreateComputeEnvironmentResponse+--+-- , responseCreateJobQueue $+-- newCreateJobQueueResponse+--+-- , responseCreateSchedulingPolicy $+-- newCreateSchedulingPolicyResponse+--+-- , responseDeleteComputeEnvironment $+-- newDeleteComputeEnvironmentResponse+--+-- , responseDeleteJobQueue $+-- newDeleteJobQueueResponse+--+-- , responseDeleteSchedulingPolicy $+-- newDeleteSchedulingPolicyResponse+--+-- , responseDeregisterJobDefinition $+-- newDeregisterJobDefinitionResponse+--+-- , responseDescribeComputeEnvironments $+-- newDescribeComputeEnvironmentsResponse+--+-- , responseDescribeJobDefinitions $+-- newDescribeJobDefinitionsResponse+--+-- , responseDescribeJobQueues $+-- newDescribeJobQueuesResponse+--+-- , responseDescribeJobs $+-- newDescribeJobsResponse+--+-- , responseDescribeSchedulingPolicies $+-- newDescribeSchedulingPoliciesResponse+--+-- , responseListJobs $+-- newListJobsResponse+--+-- , responseListSchedulingPolicies $+-- newListSchedulingPoliciesResponse+--+-- , responseListTagsForResource $+-- newListTagsForResourceResponse+--+-- , responseRegisterJobDefinition $+-- newRegisterJobDefinitionResponse+--+-- , responseSubmitJob $+-- newSubmitJobResponse+--+-- , responseTagResource $+-- newTagResourceResponse+--+-- , responseTerminateJob $+-- newTerminateJobResponse+--+-- , responseUntagResource $+-- newUntagResourceResponse+--+-- , responseUpdateComputeEnvironment $+-- newUpdateComputeEnvironmentResponse+--+-- , responseUpdateJobQueue $+-- newUpdateJobQueueResponse+--+-- , responseUpdateSchedulingPolicy $+-- newUpdateSchedulingPolicyResponse+--+-- ]+-- ]++-- Requests++requestCancelJob :: CancelJob -> TestTree+requestCancelJob =+ req+ "CancelJob"+ "fixture/CancelJob.yaml"++requestCreateComputeEnvironment :: CreateComputeEnvironment -> TestTree+requestCreateComputeEnvironment =+ req+ "CreateComputeEnvironment"+ "fixture/CreateComputeEnvironment.yaml"++requestCreateJobQueue :: CreateJobQueue -> TestTree+requestCreateJobQueue =+ req+ "CreateJobQueue"+ "fixture/CreateJobQueue.yaml"++requestCreateSchedulingPolicy :: CreateSchedulingPolicy -> TestTree+requestCreateSchedulingPolicy =+ req+ "CreateSchedulingPolicy"+ "fixture/CreateSchedulingPolicy.yaml"++requestDeleteComputeEnvironment :: DeleteComputeEnvironment -> TestTree+requestDeleteComputeEnvironment =+ req+ "DeleteComputeEnvironment"+ "fixture/DeleteComputeEnvironment.yaml"++requestDeleteJobQueue :: DeleteJobQueue -> TestTree+requestDeleteJobQueue =+ req+ "DeleteJobQueue"+ "fixture/DeleteJobQueue.yaml"++requestDeleteSchedulingPolicy :: DeleteSchedulingPolicy -> TestTree+requestDeleteSchedulingPolicy =+ req+ "DeleteSchedulingPolicy"+ "fixture/DeleteSchedulingPolicy.yaml"++requestDeregisterJobDefinition :: DeregisterJobDefinition -> TestTree+requestDeregisterJobDefinition =+ req+ "DeregisterJobDefinition"+ "fixture/DeregisterJobDefinition.yaml"++requestDescribeComputeEnvironments :: DescribeComputeEnvironments -> TestTree+requestDescribeComputeEnvironments =+ req+ "DescribeComputeEnvironments"+ "fixture/DescribeComputeEnvironments.yaml"++requestDescribeJobDefinitions :: DescribeJobDefinitions -> TestTree+requestDescribeJobDefinitions =+ req+ "DescribeJobDefinitions"+ "fixture/DescribeJobDefinitions.yaml"++requestDescribeJobQueues :: DescribeJobQueues -> TestTree+requestDescribeJobQueues =+ req+ "DescribeJobQueues"+ "fixture/DescribeJobQueues.yaml"++requestDescribeJobs :: DescribeJobs -> TestTree+requestDescribeJobs =+ req+ "DescribeJobs"+ "fixture/DescribeJobs.yaml"++requestDescribeSchedulingPolicies :: DescribeSchedulingPolicies -> TestTree+requestDescribeSchedulingPolicies =+ req+ "DescribeSchedulingPolicies"+ "fixture/DescribeSchedulingPolicies.yaml"++requestListJobs :: ListJobs -> TestTree+requestListJobs =+ req+ "ListJobs"+ "fixture/ListJobs.yaml"++requestListSchedulingPolicies :: ListSchedulingPolicies -> TestTree+requestListSchedulingPolicies =+ req+ "ListSchedulingPolicies"+ "fixture/ListSchedulingPolicies.yaml"++requestListTagsForResource :: ListTagsForResource -> TestTree+requestListTagsForResource =+ req+ "ListTagsForResource"+ "fixture/ListTagsForResource.yaml"++requestRegisterJobDefinition :: RegisterJobDefinition -> TestTree+requestRegisterJobDefinition =+ req+ "RegisterJobDefinition"+ "fixture/RegisterJobDefinition.yaml"++requestSubmitJob :: SubmitJob -> TestTree+requestSubmitJob =+ req+ "SubmitJob"+ "fixture/SubmitJob.yaml"++requestTagResource :: TagResource -> TestTree+requestTagResource =+ req+ "TagResource"+ "fixture/TagResource.yaml"++requestTerminateJob :: TerminateJob -> TestTree+requestTerminateJob =+ req+ "TerminateJob"+ "fixture/TerminateJob.yaml"++requestUntagResource :: UntagResource -> TestTree+requestUntagResource =+ req+ "UntagResource"+ "fixture/UntagResource.yaml"++requestUpdateComputeEnvironment :: UpdateComputeEnvironment -> TestTree+requestUpdateComputeEnvironment =+ req+ "UpdateComputeEnvironment"+ "fixture/UpdateComputeEnvironment.yaml"++requestUpdateJobQueue :: UpdateJobQueue -> TestTree+requestUpdateJobQueue =+ req+ "UpdateJobQueue"+ "fixture/UpdateJobQueue.yaml"++requestUpdateSchedulingPolicy :: UpdateSchedulingPolicy -> TestTree+requestUpdateSchedulingPolicy =+ req+ "UpdateSchedulingPolicy"+ "fixture/UpdateSchedulingPolicy.yaml"++-- Responses++responseCancelJob :: CancelJobResponse -> TestTree+responseCancelJob =+ res+ "CancelJobResponse"+ "fixture/CancelJobResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CancelJob)++responseCreateComputeEnvironment :: CreateComputeEnvironmentResponse -> TestTree+responseCreateComputeEnvironment =+ res+ "CreateComputeEnvironmentResponse"+ "fixture/CreateComputeEnvironmentResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateComputeEnvironment)++responseCreateJobQueue :: CreateJobQueueResponse -> TestTree+responseCreateJobQueue =+ res+ "CreateJobQueueResponse"+ "fixture/CreateJobQueueResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateJobQueue)++responseCreateSchedulingPolicy :: CreateSchedulingPolicyResponse -> TestTree+responseCreateSchedulingPolicy =+ res+ "CreateSchedulingPolicyResponse"+ "fixture/CreateSchedulingPolicyResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateSchedulingPolicy)++responseDeleteComputeEnvironment :: DeleteComputeEnvironmentResponse -> TestTree+responseDeleteComputeEnvironment =+ res+ "DeleteComputeEnvironmentResponse"+ "fixture/DeleteComputeEnvironmentResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteComputeEnvironment)++responseDeleteJobQueue :: DeleteJobQueueResponse -> TestTree+responseDeleteJobQueue =+ res+ "DeleteJobQueueResponse"+ "fixture/DeleteJobQueueResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteJobQueue)++responseDeleteSchedulingPolicy :: DeleteSchedulingPolicyResponse -> TestTree+responseDeleteSchedulingPolicy =+ res+ "DeleteSchedulingPolicyResponse"+ "fixture/DeleteSchedulingPolicyResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteSchedulingPolicy)++responseDeregisterJobDefinition :: DeregisterJobDefinitionResponse -> TestTree+responseDeregisterJobDefinition =+ res+ "DeregisterJobDefinitionResponse"+ "fixture/DeregisterJobDefinitionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeregisterJobDefinition)++responseDescribeComputeEnvironments :: DescribeComputeEnvironmentsResponse -> TestTree+responseDescribeComputeEnvironments =+ res+ "DescribeComputeEnvironmentsResponse"+ "fixture/DescribeComputeEnvironmentsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeComputeEnvironments)++responseDescribeJobDefinitions :: DescribeJobDefinitionsResponse -> TestTree+responseDescribeJobDefinitions =+ res+ "DescribeJobDefinitionsResponse"+ "fixture/DescribeJobDefinitionsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeJobDefinitions)++responseDescribeJobQueues :: DescribeJobQueuesResponse -> TestTree+responseDescribeJobQueues =+ res+ "DescribeJobQueuesResponse"+ "fixture/DescribeJobQueuesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeJobQueues)++responseDescribeJobs :: DescribeJobsResponse -> TestTree+responseDescribeJobs =+ res+ "DescribeJobsResponse"+ "fixture/DescribeJobsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeJobs)++responseDescribeSchedulingPolicies :: DescribeSchedulingPoliciesResponse -> TestTree+responseDescribeSchedulingPolicies =+ res+ "DescribeSchedulingPoliciesResponse"+ "fixture/DescribeSchedulingPoliciesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeSchedulingPolicies)++responseListJobs :: ListJobsResponse -> TestTree+responseListJobs =+ res+ "ListJobsResponse"+ "fixture/ListJobsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListJobs)++responseListSchedulingPolicies :: ListSchedulingPoliciesResponse -> TestTree+responseListSchedulingPolicies =+ res+ "ListSchedulingPoliciesResponse"+ "fixture/ListSchedulingPoliciesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListSchedulingPolicies)++responseListTagsForResource :: ListTagsForResourceResponse -> TestTree+responseListTagsForResource =+ res+ "ListTagsForResourceResponse"+ "fixture/ListTagsForResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListTagsForResource)++responseRegisterJobDefinition :: RegisterJobDefinitionResponse -> TestTree+responseRegisterJobDefinition =+ res+ "RegisterJobDefinitionResponse"+ "fixture/RegisterJobDefinitionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy RegisterJobDefinition)++responseSubmitJob :: SubmitJobResponse -> TestTree+responseSubmitJob =+ res+ "SubmitJobResponse"+ "fixture/SubmitJobResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy SubmitJob)++responseTagResource :: TagResourceResponse -> TestTree+responseTagResource =+ res+ "TagResourceResponse"+ "fixture/TagResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy TagResource)++responseTerminateJob :: TerminateJobResponse -> TestTree+responseTerminateJob =+ res+ "TerminateJobResponse"+ "fixture/TerminateJobResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy TerminateJob)++responseUntagResource :: UntagResourceResponse -> TestTree+responseUntagResource =+ res+ "UntagResourceResponse"+ "fixture/UntagResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UntagResource)++responseUpdateComputeEnvironment :: UpdateComputeEnvironmentResponse -> TestTree+responseUpdateComputeEnvironment =+ res+ "UpdateComputeEnvironmentResponse"+ "fixture/UpdateComputeEnvironmentResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateComputeEnvironment)++responseUpdateJobQueue :: UpdateJobQueueResponse -> TestTree+responseUpdateJobQueue =+ res+ "UpdateJobQueueResponse"+ "fixture/UpdateJobQueueResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateJobQueue)++responseUpdateSchedulingPolicy :: UpdateSchedulingPolicyResponse -> TestTree+responseUpdateSchedulingPolicy =+ res+ "UpdateSchedulingPolicyResponse"+ "fixture/UpdateSchedulingPolicyResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateSchedulingPolicy)