| 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 |
Amazonka.Snowball.DescribeJob
Description
Returns information about a specific job including shipping information, job status, and other important metadata.
Synopsis
- data DescribeJob = DescribeJob' {}
- newDescribeJob :: Text -> DescribeJob
- describeJob_jobId :: Lens' DescribeJob Text
- data DescribeJobResponse = DescribeJobResponse' {}
- newDescribeJobResponse :: Int -> DescribeJobResponse
- describeJobResponse_jobMetadata :: Lens' DescribeJobResponse (Maybe JobMetadata)
- describeJobResponse_subJobMetadata :: Lens' DescribeJobResponse (Maybe [JobMetadata])
- describeJobResponse_httpStatus :: Lens' DescribeJobResponse Int
Creating a Request
data DescribeJob Source #
See: newDescribeJob smart constructor.
Constructors
| DescribeJob' | |
Instances
Arguments
| :: Text | |
| -> DescribeJob |
Create a value of DescribeJob 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:
DescribeJob, describeJob_jobId - The automatically generated ID for a job, for example
JID123e4567-e89b-12d3-a456-426655440000.
Request Lenses
describeJob_jobId :: Lens' DescribeJob Text Source #
The automatically generated ID for a job, for example
JID123e4567-e89b-12d3-a456-426655440000.
Destructuring the Response
data DescribeJobResponse Source #
See: newDescribeJobResponse smart constructor.
Constructors
| DescribeJobResponse' | |
Fields
| |
Instances
newDescribeJobResponse Source #
Arguments
| :: Int | |
| -> DescribeJobResponse |
Create a value of DescribeJobResponse 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:jobMetadata:DescribeJobResponse', describeJobResponse_jobMetadata - Information about a specific job, including shipping information, job
status, and other important metadata.
$sel:subJobMetadata:DescribeJobResponse', describeJobResponse_subJobMetadata - Information about a specific job part (in the case of an export job),
including shipping information, job status, and other important
metadata.
$sel:httpStatus:DescribeJobResponse', describeJobResponse_httpStatus - The response's http status code.
Response Lenses
describeJobResponse_jobMetadata :: Lens' DescribeJobResponse (Maybe JobMetadata) Source #
Information about a specific job, including shipping information, job status, and other important metadata.
describeJobResponse_subJobMetadata :: Lens' DescribeJobResponse (Maybe [JobMetadata]) Source #
Information about a specific job part (in the case of an export job), including shipping information, job status, and other important metadata.
describeJobResponse_httpStatus :: Lens' DescribeJobResponse Int Source #
The response's http status code.