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 |
Returns a list of datashares when the account identifier being called is a producer account identifier.
Synopsis
- data DescribeDataSharesForProducer = DescribeDataSharesForProducer' {}
- newDescribeDataSharesForProducer :: DescribeDataSharesForProducer
- describeDataSharesForProducer_status :: Lens' DescribeDataSharesForProducer (Maybe DataShareStatusForProducer)
- describeDataSharesForProducer_producerArn :: Lens' DescribeDataSharesForProducer (Maybe Text)
- describeDataSharesForProducer_marker :: Lens' DescribeDataSharesForProducer (Maybe Text)
- describeDataSharesForProducer_maxRecords :: Lens' DescribeDataSharesForProducer (Maybe Int)
- data DescribeDataSharesForProducerResponse = DescribeDataSharesForProducerResponse' {
- marker :: Maybe Text
- dataShares :: Maybe [DataShare]
- httpStatus :: Int
- newDescribeDataSharesForProducerResponse :: Int -> DescribeDataSharesForProducerResponse
- describeDataSharesForProducerResponse_marker :: Lens' DescribeDataSharesForProducerResponse (Maybe Text)
- describeDataSharesForProducerResponse_dataShares :: Lens' DescribeDataSharesForProducerResponse (Maybe [DataShare])
- describeDataSharesForProducerResponse_httpStatus :: Lens' DescribeDataSharesForProducerResponse Int
Creating a Request
data DescribeDataSharesForProducer Source #
See: newDescribeDataSharesForProducer
smart constructor.
DescribeDataSharesForProducer' | |
|
Instances
newDescribeDataSharesForProducer :: DescribeDataSharesForProducer Source #
Create a value of DescribeDataSharesForProducer
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:status:DescribeDataSharesForProducer'
, describeDataSharesForProducer_status
- An identifier giving the status of a datashare in the producer. If this
field is specified, Amazon Redshift returns the list of datashares that
have the specified status.
$sel:producerArn:DescribeDataSharesForProducer'
, describeDataSharesForProducer_producerArn
- The Amazon Resource Name (ARN) of the producer that returns in the list
of datashares.
$sel:marker:DescribeDataSharesForProducer'
, describeDataSharesForProducer_marker
- An optional parameter that specifies the starting point to return a set
of response records. When the results of a DescribeDataSharesForProducer
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:DescribeDataSharesForProducer'
, describeDataSharesForProducer_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
describeDataSharesForProducer_status :: Lens' DescribeDataSharesForProducer (Maybe DataShareStatusForProducer) Source #
An identifier giving the status of a datashare in the producer. If this field is specified, Amazon Redshift returns the list of datashares that have the specified status.
describeDataSharesForProducer_producerArn :: Lens' DescribeDataSharesForProducer (Maybe Text) Source #
The Amazon Resource Name (ARN) of the producer that returns in the list of datashares.
describeDataSharesForProducer_marker :: Lens' DescribeDataSharesForProducer (Maybe Text) Source #
An optional parameter that specifies the starting point to return a set
of response records. When the results of a DescribeDataSharesForProducer
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.
describeDataSharesForProducer_maxRecords :: Lens' DescribeDataSharesForProducer (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 DescribeDataSharesForProducerResponse Source #
See: newDescribeDataSharesForProducerResponse
smart constructor.
DescribeDataSharesForProducerResponse' | |
|
Instances
newDescribeDataSharesForProducerResponse Source #
Create a value of DescribeDataSharesForProducerResponse
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:DescribeDataSharesForProducer'
, describeDataSharesForProducerResponse_marker
- An optional parameter that specifies the starting point to return a set
of response records. When the results of a DescribeDataSharesForProducer
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:DescribeDataSharesForProducerResponse'
, describeDataSharesForProducerResponse_dataShares
- Shows the results of datashares available for producers.
$sel:httpStatus:DescribeDataSharesForProducerResponse'
, describeDataSharesForProducerResponse_httpStatus
- The response's http status code.
Response Lenses
describeDataSharesForProducerResponse_marker :: Lens' DescribeDataSharesForProducerResponse (Maybe Text) Source #
An optional parameter that specifies the starting point to return a set
of response records. When the results of a DescribeDataSharesForProducer
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.
describeDataSharesForProducerResponse_dataShares :: Lens' DescribeDataSharesForProducerResponse (Maybe [DataShare]) Source #
Shows the results of datashares available for producers.
describeDataSharesForProducerResponse_httpStatus :: Lens' DescribeDataSharesForProducerResponse Int Source #
The response's http status code.