Copyright | (c) 2013-2021 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) |
Safe Haskell | None |
Amazonka.Backup.DescribeCopyJob
Description
Returns metadata associated with creating a copy of a resource.
Synopsis
- data DescribeCopyJob = DescribeCopyJob' {}
- newDescribeCopyJob :: Text -> DescribeCopyJob
- describeCopyJob_copyJobId :: Lens' DescribeCopyJob Text
- data DescribeCopyJobResponse = DescribeCopyJobResponse' {
- copyJob :: Maybe CopyJob
- httpStatus :: Int
- newDescribeCopyJobResponse :: Int -> DescribeCopyJobResponse
- describeCopyJobResponse_copyJob :: Lens' DescribeCopyJobResponse (Maybe CopyJob)
- describeCopyJobResponse_httpStatus :: Lens' DescribeCopyJobResponse Int
Creating a Request
data DescribeCopyJob Source #
See: newDescribeCopyJob
smart constructor.
Constructors
DescribeCopyJob' | |
Instances
Arguments
:: Text | |
-> DescribeCopyJob |
Create a value of DescribeCopyJob
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:copyJobId:DescribeCopyJob'
, describeCopyJob_copyJobId
- Uniquely identifies a copy job.
Request Lenses
describeCopyJob_copyJobId :: Lens' DescribeCopyJob Text Source #
Uniquely identifies a copy job.
Destructuring the Response
data DescribeCopyJobResponse Source #
See: newDescribeCopyJobResponse
smart constructor.
Constructors
DescribeCopyJobResponse' | |
Fields
|
Instances
newDescribeCopyJobResponse Source #
Create a value of DescribeCopyJobResponse
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:copyJob:DescribeCopyJobResponse'
, describeCopyJobResponse_copyJob
- Contains detailed information about a copy job.
$sel:httpStatus:DescribeCopyJobResponse'
, describeCopyJobResponse_httpStatus
- The response's http status code.
Response Lenses
describeCopyJobResponse_copyJob :: Lens' DescribeCopyJobResponse (Maybe CopyJob) Source #
Contains detailed information about a copy job.
describeCopyJobResponse_httpStatus :: Lens' DescribeCopyJobResponse Int Source #
The response's http status code.