Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Shows the status of any inbound or outbound datashares available in the specified account.
This operation returns paginated results.
Synopsis
- data DescribeDataShares = DescribeDataShares' {
- dataShareArn :: Maybe Text
- marker :: Maybe Text
- maxRecords :: Maybe Int
- newDescribeDataShares :: DescribeDataShares
- describeDataShares_dataShareArn :: Lens' DescribeDataShares (Maybe Text)
- describeDataShares_marker :: Lens' DescribeDataShares (Maybe Text)
- describeDataShares_maxRecords :: Lens' DescribeDataShares (Maybe Int)
- data DescribeDataSharesResponse = DescribeDataSharesResponse' {
- dataShares :: Maybe [DataShare]
- marker :: Maybe Text
- httpStatus :: Int
- newDescribeDataSharesResponse :: Int -> DescribeDataSharesResponse
- describeDataSharesResponse_dataShares :: Lens' DescribeDataSharesResponse (Maybe [DataShare])
- describeDataSharesResponse_marker :: Lens' DescribeDataSharesResponse (Maybe Text)
- 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:
DescribeDataShares
, describeDataShares_dataShareArn
- The identifier of the datashare to describe details of.
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
, Amazon Web Services 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.
Request Lenses
describeDataShares_dataShareArn :: Lens' DescribeDataShares (Maybe Text) Source #
The identifier of the datashare to describe details of.
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
, Amazon Web Services 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.
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:dataShares:DescribeDataSharesResponse'
, describeDataSharesResponse_dataShares
- The results returned from describing datashares.
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
, Amazon Web Services 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:httpStatus:DescribeDataSharesResponse'
, describeDataSharesResponse_httpStatus
- The response's http status code.
Response Lenses
describeDataSharesResponse_dataShares :: Lens' DescribeDataSharesResponse (Maybe [DataShare]) Source #
The results returned from describing datashares.
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
, Amazon Web Services 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_httpStatus :: Lens' DescribeDataSharesResponse Int Source #
The response's http status code.