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 |
Shows the status of any inbound or outbound datashares available in the specified account.
Synopsis
- data DescribeDataShares = DescribeDataShares' {
- marker :: Maybe Text
- maxRecords :: Maybe Int
- dataShareArn :: Maybe Text
- newDescribeDataShares :: DescribeDataShares
- describeDataShares_marker :: Lens' DescribeDataShares (Maybe Text)
- describeDataShares_maxRecords :: Lens' DescribeDataShares (Maybe Int)
- describeDataShares_dataShareArn :: Lens' DescribeDataShares (Maybe Text)
- data DescribeDataSharesResponse = DescribeDataSharesResponse' {
- marker :: Maybe Text
- dataShares :: Maybe [DataShare]
- httpStatus :: Int
- newDescribeDataSharesResponse :: Int -> DescribeDataSharesResponse
- describeDataSharesResponse_marker :: Lens' DescribeDataSharesResponse (Maybe Text)
- describeDataSharesResponse_dataShares :: Lens' DescribeDataSharesResponse (Maybe [DataShare])
- describeDataSharesResponse_httpStatus :: Lens' DescribeDataSharesResponse Int
Creating a Request
data DescribeDataShares Source #
See: newDescribeDataShares
smart constructor.
DescribeDataShares' | |
|
Instances
newDescribeDataShares :: DescribeDataShares Source #
Create a value of DescribeDataShares
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:marker:DescribeDataShares'
, describeDataShares_marker
- An optional parameter that specifies the starting point to return a set
of response records. When the results of a DescribeDataShares request
exceed the value specified in MaxRecords
, AWS returns a value in the
Marker
field of the response. You can retrieve the next set of
response records by providing the returned marker value in the Marker
parameter and retrying the request.
$sel:maxRecords:DescribeDataShares'
, describeDataShares_maxRecords
- The maximum number of response records to return in each call. If the
number of remaining response records exceeds the specified MaxRecords
value, a value is returned in a marker
field of the response. You can
retrieve the next set of records by retrying the command with the
returned marker value.
$sel:dataShareArn:DescribeDataShares'
, describeDataShares_dataShareArn
- The identifier of the datashare to describe details of.
Request Lenses
describeDataShares_marker :: Lens' DescribeDataShares (Maybe Text) Source #
An optional parameter that specifies the starting point to return a set
of response records. When the results of a DescribeDataShares request
exceed the value specified in MaxRecords
, AWS returns a value in the
Marker
field of the response. You can retrieve the next set of
response records by providing the returned marker value in the Marker
parameter and retrying the request.
describeDataShares_maxRecords :: Lens' DescribeDataShares (Maybe Int) Source #
The maximum number of response records to return in each call. If the
number of remaining response records exceeds the specified MaxRecords
value, a value is returned in a marker
field of the response. You can
retrieve the next set of records by retrying the command with the
returned marker value.
describeDataShares_dataShareArn :: Lens' DescribeDataShares (Maybe Text) Source #
The identifier of the datashare to describe details of.
Destructuring the Response
data DescribeDataSharesResponse Source #
See: newDescribeDataSharesResponse
smart constructor.
DescribeDataSharesResponse' | |
|
Instances
newDescribeDataSharesResponse Source #
Create a value of DescribeDataSharesResponse
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:marker:DescribeDataShares'
, describeDataSharesResponse_marker
- An optional parameter that specifies the starting point to return a set
of response records. When the results of a DescribeDataShares request
exceed the value specified in MaxRecords
, AWS returns a value in the
Marker
field of the response. You can retrieve the next set of
response records by providing the returned marker value in the Marker
parameter and retrying the request.
$sel:dataShares:DescribeDataSharesResponse'
, describeDataSharesResponse_dataShares
- The results returned from describing datashares.
$sel:httpStatus:DescribeDataSharesResponse'
, describeDataSharesResponse_httpStatus
- The response's http status code.
Response Lenses
describeDataSharesResponse_marker :: Lens' DescribeDataSharesResponse (Maybe Text) Source #
An optional parameter that specifies the starting point to return a set
of response records. When the results of a DescribeDataShares request
exceed the value specified in MaxRecords
, AWS returns a value in the
Marker
field of the response. You can retrieve the next set of
response records by providing the returned marker value in the Marker
parameter and retrying the request.
describeDataSharesResponse_dataShares :: Lens' DescribeDataSharesResponse (Maybe [DataShare]) Source #
The results returned from describing datashares.
describeDataSharesResponse_httpStatus :: Lens' DescribeDataSharesResponse Int Source #
The response's http status code.