Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Retrieves the specified Amazon Braket job.
Synopsis
- data GetJob = GetJob' {}
- newGetJob :: Text -> GetJob
- getJob_jobArn :: Lens' GetJob Text
- data GetJobResponse = GetJobResponse' {
- billableDuration :: Maybe Int
- checkpointConfig :: Maybe JobCheckpointConfig
- deviceConfig :: Maybe DeviceConfig
- endedAt :: Maybe ISO8601
- events :: Maybe [JobEventDetails]
- failureReason :: Maybe Text
- hyperParameters :: Maybe (HashMap Text Text)
- inputDataConfig :: Maybe [InputFileConfig]
- startedAt :: Maybe ISO8601
- stoppingCondition :: Maybe JobStoppingCondition
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- algorithmSpecification :: AlgorithmSpecification
- createdAt :: ISO8601
- instanceConfig :: InstanceConfig
- jobArn :: Text
- jobName :: Text
- outputDataConfig :: JobOutputDataConfig
- roleArn :: Text
- status :: JobPrimaryStatus
- newGetJobResponse :: Int -> AlgorithmSpecification -> UTCTime -> InstanceConfig -> Text -> Text -> JobOutputDataConfig -> Text -> JobPrimaryStatus -> GetJobResponse
- getJobResponse_billableDuration :: Lens' GetJobResponse (Maybe Int)
- getJobResponse_checkpointConfig :: Lens' GetJobResponse (Maybe JobCheckpointConfig)
- getJobResponse_deviceConfig :: Lens' GetJobResponse (Maybe DeviceConfig)
- getJobResponse_endedAt :: Lens' GetJobResponse (Maybe UTCTime)
- getJobResponse_events :: Lens' GetJobResponse (Maybe [JobEventDetails])
- getJobResponse_failureReason :: Lens' GetJobResponse (Maybe Text)
- getJobResponse_hyperParameters :: Lens' GetJobResponse (Maybe (HashMap Text Text))
- getJobResponse_inputDataConfig :: Lens' GetJobResponse (Maybe [InputFileConfig])
- getJobResponse_startedAt :: Lens' GetJobResponse (Maybe UTCTime)
- getJobResponse_stoppingCondition :: Lens' GetJobResponse (Maybe JobStoppingCondition)
- getJobResponse_tags :: Lens' GetJobResponse (Maybe (HashMap Text Text))
- getJobResponse_httpStatus :: Lens' GetJobResponse Int
- getJobResponse_algorithmSpecification :: Lens' GetJobResponse AlgorithmSpecification
- getJobResponse_createdAt :: Lens' GetJobResponse UTCTime
- getJobResponse_instanceConfig :: Lens' GetJobResponse InstanceConfig
- getJobResponse_jobArn :: Lens' GetJobResponse Text
- getJobResponse_jobName :: Lens' GetJobResponse Text
- getJobResponse_outputDataConfig :: Lens' GetJobResponse JobOutputDataConfig
- getJobResponse_roleArn :: Lens' GetJobResponse Text
- getJobResponse_status :: Lens' GetJobResponse JobPrimaryStatus
Creating a Request
See: newGetJob
smart constructor.
Instances
ToHeaders GetJob Source # | |
Defined in Amazonka.Braket.GetJob | |
ToPath GetJob Source # | |
Defined in Amazonka.Braket.GetJob toPath :: GetJob -> ByteString # | |
ToQuery GetJob Source # | |
Defined in Amazonka.Braket.GetJob toQuery :: GetJob -> QueryString # | |
AWSRequest GetJob Source # | |
Defined in Amazonka.Braket.GetJob type AWSResponse GetJob # request :: (Service -> Service) -> GetJob -> Request GetJob # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy GetJob -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetJob))) # | |
Generic GetJob Source # | |
Read GetJob Source # | |
Show GetJob Source # | |
NFData GetJob Source # | |
Defined in Amazonka.Braket.GetJob | |
Eq GetJob Source # | |
Hashable GetJob Source # | |
Defined in Amazonka.Braket.GetJob | |
type AWSResponse GetJob Source # | |
Defined in Amazonka.Braket.GetJob | |
type Rep GetJob Source # | |
Defined in Amazonka.Braket.GetJob |
Create a value of GetJob
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetJob
, getJob_jobArn
- The ARN of the job to retrieve.
Request Lenses
Destructuring the Response
data GetJobResponse Source #
See: newGetJobResponse
smart constructor.
GetJobResponse' | |
|
Instances
:: Int | |
-> AlgorithmSpecification | |
-> UTCTime | |
-> InstanceConfig | |
-> Text | |
-> Text | |
-> JobOutputDataConfig | |
-> Text | |
-> JobPrimaryStatus | |
-> GetJobResponse |
Create a value of GetJobResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:billableDuration:GetJobResponse'
, getJobResponse_billableDuration
- The billable time the Amazon Braket job used to complete.
$sel:checkpointConfig:GetJobResponse'
, getJobResponse_checkpointConfig
- Information about the output locations for job checkpoint data.
$sel:deviceConfig:GetJobResponse'
, getJobResponse_deviceConfig
- The quantum processing unit (QPU) or simulator used to run the Amazon
Braket job.
GetJobResponse
, getJobResponse_endedAt
- The date and time that the Amazon Braket job ended.
$sel:events:GetJobResponse'
, getJobResponse_events
- Details about the type and time events occurred related to the Amazon
Braket job.
$sel:failureReason:GetJobResponse'
, getJobResponse_failureReason
- A description of the reason why an Amazon Braket job failed, if it
failed.
$sel:hyperParameters:GetJobResponse'
, getJobResponse_hyperParameters
- Algorithm-specific parameters used by an Amazon Braket job that
influence the quality of the traiing job. The values are set with a
string of JSON key:value pairs, where the key is the name of the
hyperparameter and the value is the value of th hyperparameter.
$sel:inputDataConfig:GetJobResponse'
, getJobResponse_inputDataConfig
- A list of parameters that specify the name and type of input data and
where it is located.
GetJobResponse
, getJobResponse_startedAt
- The date and time that the Amazon Braket job was started.
$sel:stoppingCondition:GetJobResponse'
, getJobResponse_stoppingCondition
- The user-defined criteria that specifies when to stop a job running.
GetJobResponse
, getJobResponse_tags
- A tag object that consists of a key and an optional value, used to
manage metadata for Amazon Braket resources.
$sel:httpStatus:GetJobResponse'
, getJobResponse_httpStatus
- The response's http status code.
$sel:algorithmSpecification:GetJobResponse'
, getJobResponse_algorithmSpecification
- Definition of the Amazon Braket job created. Specifies the container
image the job uses, information about the Python scripts used for entry
and training, and the user-defined metrics used to evaluation the job.
GetJobResponse
, getJobResponse_createdAt
- The date and time that the Amazon Braket job was created.
$sel:instanceConfig:GetJobResponse'
, getJobResponse_instanceConfig
- The resource instances to use while running the hybrid job on Amazon
Braket.
GetJob
, getJobResponse_jobArn
- The ARN of the Amazon Braket job.
GetJobResponse
, getJobResponse_jobName
- The name of the Amazon Braket job.
$sel:outputDataConfig:GetJobResponse'
, getJobResponse_outputDataConfig
- The path to the S3 location where job artifacts are stored and the
encryption key used to store them there.
$sel:roleArn:GetJobResponse'
, getJobResponse_roleArn
- The Amazon Resource Name (ARN) of an IAM role that Amazon Braket can
assume to perform tasks on behalf of a user. It can access user
resources, run an Amazon Braket job container on behalf of user, and
output resources to the s3 buckets of a user.
GetJobResponse
, getJobResponse_status
- The status of the Amazon Braket job.
Response Lenses
getJobResponse_billableDuration :: Lens' GetJobResponse (Maybe Int) Source #
The billable time the Amazon Braket job used to complete.
getJobResponse_checkpointConfig :: Lens' GetJobResponse (Maybe JobCheckpointConfig) Source #
Information about the output locations for job checkpoint data.
getJobResponse_deviceConfig :: Lens' GetJobResponse (Maybe DeviceConfig) Source #
The quantum processing unit (QPU) or simulator used to run the Amazon Braket job.
getJobResponse_endedAt :: Lens' GetJobResponse (Maybe UTCTime) Source #
The date and time that the Amazon Braket job ended.
getJobResponse_events :: Lens' GetJobResponse (Maybe [JobEventDetails]) Source #
Details about the type and time events occurred related to the Amazon Braket job.
getJobResponse_failureReason :: Lens' GetJobResponse (Maybe Text) Source #
A description of the reason why an Amazon Braket job failed, if it failed.
getJobResponse_hyperParameters :: Lens' GetJobResponse (Maybe (HashMap Text Text)) Source #
Algorithm-specific parameters used by an Amazon Braket job that influence the quality of the traiing job. The values are set with a string of JSON key:value pairs, where the key is the name of the hyperparameter and the value is the value of th hyperparameter.
getJobResponse_inputDataConfig :: Lens' GetJobResponse (Maybe [InputFileConfig]) Source #
A list of parameters that specify the name and type of input data and where it is located.
getJobResponse_startedAt :: Lens' GetJobResponse (Maybe UTCTime) Source #
The date and time that the Amazon Braket job was started.
getJobResponse_stoppingCondition :: Lens' GetJobResponse (Maybe JobStoppingCondition) Source #
The user-defined criteria that specifies when to stop a job running.
getJobResponse_tags :: Lens' GetJobResponse (Maybe (HashMap Text Text)) Source #
A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket resources.
getJobResponse_httpStatus :: Lens' GetJobResponse Int Source #
The response's http status code.
getJobResponse_algorithmSpecification :: Lens' GetJobResponse AlgorithmSpecification Source #
Definition of the Amazon Braket job created. Specifies the container image the job uses, information about the Python scripts used for entry and training, and the user-defined metrics used to evaluation the job.
getJobResponse_createdAt :: Lens' GetJobResponse UTCTime Source #
The date and time that the Amazon Braket job was created.
getJobResponse_instanceConfig :: Lens' GetJobResponse InstanceConfig Source #
The resource instances to use while running the hybrid job on Amazon Braket.
getJobResponse_jobArn :: Lens' GetJobResponse Text Source #
The ARN of the Amazon Braket job.
getJobResponse_jobName :: Lens' GetJobResponse Text Source #
The name of the Amazon Braket job.
getJobResponse_outputDataConfig :: Lens' GetJobResponse JobOutputDataConfig Source #
The path to the S3 location where job artifacts are stored and the encryption key used to store them there.
getJobResponse_roleArn :: Lens' GetJobResponse Text Source #
The Amazon Resource Name (ARN) of an IAM role that Amazon Braket can assume to perform tasks on behalf of a user. It can access user resources, run an Amazon Braket job container on behalf of user, and output resources to the s3 buckets of a user.
getJobResponse_status :: Lens' GetJobResponse JobPrimaryStatus Source #
The status of the Amazon Braket job.