| 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 |
Amazonka.Redshift.DescribePartners
Description
Returns information about the partner integrations defined for a cluster.
Synopsis
- data DescribePartners = DescribePartners' {}
- newDescribePartners :: Text -> Text -> DescribePartners
- describePartners_databaseName :: Lens' DescribePartners (Maybe Text)
- describePartners_partnerName :: Lens' DescribePartners (Maybe Text)
- describePartners_accountId :: Lens' DescribePartners Text
- describePartners_clusterIdentifier :: Lens' DescribePartners Text
- data DescribePartnersResponse = DescribePartnersResponse' {}
- newDescribePartnersResponse :: Int -> DescribePartnersResponse
- describePartnersResponse_partnerIntegrationInfoList :: Lens' DescribePartnersResponse (Maybe [PartnerIntegrationInfo])
- describePartnersResponse_httpStatus :: Lens' DescribePartnersResponse Int
Creating a Request
data DescribePartners Source #
See: newDescribePartners smart constructor.
Constructors
| DescribePartners' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DescribePartners |
Create a value of DescribePartners 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:
DescribePartners, describePartners_databaseName - The name of the database whose partner integration is being described.
If database name is not specified, then all databases in the cluster are
described.
DescribePartners, describePartners_partnerName - The name of the partner that is being described. If partner name is not
specified, then all partner integrations are described.
DescribePartners, describePartners_accountId - The Amazon Web Services account ID that owns the cluster.
DescribePartners, describePartners_clusterIdentifier - The cluster identifier of the cluster whose partner integration is being
described.
Request Lenses
describePartners_databaseName :: Lens' DescribePartners (Maybe Text) Source #
The name of the database whose partner integration is being described. If database name is not specified, then all databases in the cluster are described.
describePartners_partnerName :: Lens' DescribePartners (Maybe Text) Source #
The name of the partner that is being described. If partner name is not specified, then all partner integrations are described.
describePartners_accountId :: Lens' DescribePartners Text Source #
The Amazon Web Services account ID that owns the cluster.
describePartners_clusterIdentifier :: Lens' DescribePartners Text Source #
The cluster identifier of the cluster whose partner integration is being described.
Destructuring the Response
data DescribePartnersResponse Source #
See: newDescribePartnersResponse smart constructor.
Constructors
| DescribePartnersResponse' | |
Fields
| |
Instances
newDescribePartnersResponse Source #
Create a value of DescribePartnersResponse 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:partnerIntegrationInfoList:DescribePartnersResponse', describePartnersResponse_partnerIntegrationInfoList - A list of partner integrations.
$sel:httpStatus:DescribePartnersResponse', describePartnersResponse_httpStatus - The response's http status code.
Response Lenses
describePartnersResponse_partnerIntegrationInfoList :: Lens' DescribePartnersResponse (Maybe [PartnerIntegrationInfo]) Source #
A list of partner integrations.
describePartnersResponse_httpStatus :: Lens' DescribePartnersResponse Int Source #
The response's http status code.