Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Gets information about the specified request operation.
Use this operation after calling a request operation (for example, ProvisionProduct
, TerminateProvisionedProduct
, or UpdateProvisionedProduct
).
Synopsis
- 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:
drAcceptLanguage
- The language code. *en
- English (default) *jp
- Japanese *zh
- ChinesedrPageToken
- The page token for the next set of results. To retrieve the first set of results, use null.drPageSize
- The maximum number of items to return with this call.drId
- The record identifier of the provisioned product. This identifier is returned by the request operation.
data DescribeRecord Source #
See: describeRecord
smart constructor.
Instances
Request Lenses
drAcceptLanguage :: Lens' DescribeRecord (Maybe Text) Source #
The language code. * en
- English (default) * jp
- Japanese * zh
- Chinese
drPageToken :: Lens' DescribeRecord (Maybe Text) Source #
The page token for the next set of results. To retrieve the first set of results, use null.
drPageSize :: Lens' DescribeRecord (Maybe Natural) Source #
The maximum number of items to return with this call.
drId :: Lens' DescribeRecord Text Source #
The record identifier of the provisioned product. This identifier is returned by the request operation.
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:
drrsRecordDetail
- Information about the product.drrsNextPageToken
- The page token to use to retrieve the next set of results. If there are no additional results, this value is null.drrsRecordOutputs
- 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.drrsResponseStatus
- -- | The response status code.
data DescribeRecordResponse Source #
See: describeRecordResponse
smart constructor.
Instances
Response Lenses
drrsRecordDetail :: Lens' DescribeRecordResponse (Maybe RecordDetail) Source #
Information about the product.
drrsNextPageToken :: 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.
drrsRecordOutputs :: Lens' DescribeRecordResponse [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.
drrsResponseStatus :: Lens' DescribeRecordResponse Int Source #
- - | The response status code.