Copyright | (c) 2013-2017 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 |
Returns information about the schema for the specified endpoint.
- describeSchemas :: Text -> DescribeSchemas
- data DescribeSchemas
- dsMarker :: Lens' DescribeSchemas (Maybe Text)
- dsMaxRecords :: Lens' DescribeSchemas (Maybe Int)
- dsEndpointARN :: Lens' DescribeSchemas Text
- describeSchemasResponse :: Int -> DescribeSchemasResponse
- data DescribeSchemasResponse
- dsrsSchemas :: Lens' DescribeSchemasResponse [Text]
- dsrsMarker :: Lens' DescribeSchemasResponse (Maybe Text)
- dsrsResponseStatus :: Lens' DescribeSchemasResponse Int
Creating a Request
Creates a value of DescribeSchemas
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsMarker
- An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords
.dsMaxRecords
- The maximum number of records to include in the response. If more records exist than the specifiedMaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.dsEndpointARN
- The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
data DescribeSchemas Source #
See: describeSchemas
smart constructor.
Request Lenses
dsMarker :: Lens' DescribeSchemas (Maybe Text) Source #
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.
dsMaxRecords :: Lens' DescribeSchemas (Maybe Int) Source #
The maximum number of records to include in the response. If more records exist than the specified MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.
dsEndpointARN :: Lens' DescribeSchemas Text Source #
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
Destructuring the Response
describeSchemasResponse Source #
Creates a value of DescribeSchemasResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsrsSchemas
- The described schema.dsrsMarker
- An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords
.dsrsResponseStatus
- -- | The response status code.
data DescribeSchemasResponse Source #
See: describeSchemasResponse
smart constructor.
Response Lenses
dsrsSchemas :: Lens' DescribeSchemasResponse [Text] Source #
The described schema.
dsrsMarker :: Lens' DescribeSchemasResponse (Maybe Text) Source #
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.
dsrsResponseStatus :: Lens' DescribeSchemasResponse Int Source #
- - | The response status code.