Copyright | (c) 2013-2016 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) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves a paginated list of the full details of a specific request. Use this operation after calling a request operation (ProvisionProduct, TerminateProvisionedProduct, or UpdateProvisionedProduct).
- describeRecord :: Text -> DescribeRecord
- data DescribeRecord
- drAcceptLanguage :: Lens' DescribeRecord (Maybe Text)
- drPageToken :: Lens' DescribeRecord (Maybe Text)
- drPageSize :: Lens' DescribeRecord (Maybe Natural)
- drId :: Lens' DescribeRecord Text
- describeRecordResponse :: Int -> DescribeRecordResponse
- data DescribeRecordResponse
- drrsRecordDetail :: Lens' DescribeRecordResponse (Maybe RecordDetail)
- drrsNextPageToken :: Lens' DescribeRecordResponse (Maybe Text)
- drrsRecordOutputs :: Lens' DescribeRecordResponse [RecordOutput]
- drrsResponseStatus :: Lens' DescribeRecordResponse Int
Creating a Request
:: Text | |
-> DescribeRecord |
Creates a value of DescribeRecord
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeRecord Source #
See: describeRecord
smart constructor.
Request Lenses
drAcceptLanguage :: Lens' DescribeRecord (Maybe Text) Source #
Optional language code. Supported language codes are as follows:
"en" (English)
"jp" (Japanese)
"zh" (Chinese)
If no code is specified, "en" is used as the default.
drPageToken :: Lens' DescribeRecord (Maybe Text) Source #
The page token of the first page retrieve. If null, this retrieves the first page of size PageSize
.
drPageSize :: Lens' DescribeRecord (Maybe Natural) Source #
The maximum number of items to return in the results. If more results exist than fit in the specified PageSize
, the value of NextPageToken
in the response is non-null.
drId :: Lens' DescribeRecord Text Source #
The record identifier of the ProvisionedProduct object for which to retrieve output information. This is the RecordId
obtained from the request operation's response.
Destructuring the Response
describeRecordResponse Source #
Creates a value of DescribeRecordResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeRecordResponse Source #
See: describeRecordResponse
smart constructor.
Response Lenses
drrsRecordDetail :: Lens' DescribeRecordResponse (Maybe RecordDetail) Source #
Detailed record information for the specified product.
drrsNextPageToken :: Lens' DescribeRecordResponse (Maybe Text) Source #
The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
drrsRecordOutputs :: Lens' DescribeRecordResponse [RecordOutput] Source #
A list of outputs for the specified Product object created as the result of a request. For example, a CloudFormation-backed product that creates an S3 bucket would have an output for the S3 bucket URL.
drrsResponseStatus :: Lens' DescribeRecordResponse Int Source #
The response status code.