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 |
Gets information about the specified request operation.
Use this operation after calling a request operation (for example, ProvisionProduct, TerminateProvisionedProduct, or UpdateProvisionedProduct).
If a provisioned product was transferred to a new owner using UpdateProvisionedProductProperties, the new owner will be able to describe all past records for that product. The previous owner will no longer be able to describe the records, but will be able to use ListRecordHistory to see the product's history from when he was the owner.
Synopsis
- data DescribeRecord = DescribeRecord' {}
- newDescribeRecord :: Text -> DescribeRecord
- describeRecord_acceptLanguage :: Lens' DescribeRecord (Maybe Text)
- describeRecord_pageToken :: Lens' DescribeRecord (Maybe Text)
- describeRecord_pageSize :: Lens' DescribeRecord (Maybe Natural)
- describeRecord_id :: Lens' DescribeRecord Text
- data DescribeRecordResponse = DescribeRecordResponse' {}
- newDescribeRecordResponse :: Int -> DescribeRecordResponse
- describeRecordResponse_recordDetail :: Lens' DescribeRecordResponse (Maybe RecordDetail)
- describeRecordResponse_nextPageToken :: Lens' DescribeRecordResponse (Maybe Text)
- describeRecordResponse_recordOutputs :: Lens' DescribeRecordResponse (Maybe [RecordOutput])
- describeRecordResponse_httpStatus :: Lens' DescribeRecordResponse Int
Creating a Request
data DescribeRecord Source #
See: newDescribeRecord
smart constructor.
DescribeRecord' | |
|
Instances
Create a value of DescribeRecord
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:acceptLanguage:DescribeRecord'
, describeRecord_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:pageToken:DescribeRecord'
, describeRecord_pageToken
- The page token for the next set of results. To retrieve the first set of
results, use null.
$sel:pageSize:DescribeRecord'
, describeRecord_pageSize
- The maximum number of items to return with this call.
$sel:id:DescribeRecord'
, describeRecord_id
- The record identifier of the provisioned product. This identifier is
returned by the request operation.
Request Lenses
describeRecord_acceptLanguage :: Lens' DescribeRecord (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
describeRecord_pageToken :: Lens' DescribeRecord (Maybe Text) Source #
The page token for the next set of results. To retrieve the first set of results, use null.
describeRecord_pageSize :: Lens' DescribeRecord (Maybe Natural) Source #
The maximum number of items to return with this call.
describeRecord_id :: Lens' DescribeRecord Text Source #
The record identifier of the provisioned product. This identifier is returned by the request operation.
Destructuring the Response
data DescribeRecordResponse Source #
See: newDescribeRecordResponse
smart constructor.
DescribeRecordResponse' | |
|
Instances
newDescribeRecordResponse Source #
Create a value of DescribeRecordResponse
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:recordDetail:DescribeRecordResponse'
, describeRecordResponse_recordDetail
- Information about the product.
$sel:nextPageToken:DescribeRecordResponse'
, describeRecordResponse_nextPageToken
- The page token to use to retrieve the next set of results. If there are
no additional results, this value is null.
$sel:recordOutputs:DescribeRecordResponse'
, describeRecordResponse_recordOutputs
- Information about the product created as the result of a request. For
example, the output for a CloudFormation-backed product that creates an
S3 bucket would include the S3 bucket URL.
$sel:httpStatus:DescribeRecordResponse'
, describeRecordResponse_httpStatus
- The response's http status code.
Response Lenses
describeRecordResponse_recordDetail :: Lens' DescribeRecordResponse (Maybe RecordDetail) Source #
Information about the product.
describeRecordResponse_nextPageToken :: Lens' DescribeRecordResponse (Maybe Text) Source #
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
describeRecordResponse_recordOutputs :: Lens' DescribeRecordResponse (Maybe [RecordOutput]) Source #
Information about the product created as the result of a request. For example, the output for a CloudFormation-backed product that creates an S3 bucket would include the S3 bucket URL.
describeRecordResponse_httpStatus :: Lens' DescribeRecordResponse Int Source #
The response's http status code.