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 |
Describes the agreement that's identified by the AgreementId
.
Synopsis
- data DescribeAgreement = DescribeAgreement' {
- agreementId :: Text
- serverId :: Text
- newDescribeAgreement :: Text -> Text -> DescribeAgreement
- describeAgreement_agreementId :: Lens' DescribeAgreement Text
- describeAgreement_serverId :: Lens' DescribeAgreement Text
- data DescribeAgreementResponse = DescribeAgreementResponse' {}
- newDescribeAgreementResponse :: Int -> DescribedAgreement -> DescribeAgreementResponse
- describeAgreementResponse_httpStatus :: Lens' DescribeAgreementResponse Int
- describeAgreementResponse_agreement :: Lens' DescribeAgreementResponse DescribedAgreement
Creating a Request
data DescribeAgreement Source #
See: newDescribeAgreement
smart constructor.
DescribeAgreement' | |
|
Instances
Create a value of DescribeAgreement
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:
DescribeAgreement
, describeAgreement_agreementId
- A unique identifier for the agreement. This identifier is returned when
you create an agreement.
DescribeAgreement
, describeAgreement_serverId
- The server identifier that's associated with the agreement.
Request Lenses
describeAgreement_agreementId :: Lens' DescribeAgreement Text Source #
A unique identifier for the agreement. This identifier is returned when you create an agreement.
describeAgreement_serverId :: Lens' DescribeAgreement Text Source #
The server identifier that's associated with the agreement.
Destructuring the Response
data DescribeAgreementResponse Source #
See: newDescribeAgreementResponse
smart constructor.
DescribeAgreementResponse' | |
|
Instances
newDescribeAgreementResponse Source #
Create a value of DescribeAgreementResponse
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:httpStatus:DescribeAgreementResponse'
, describeAgreementResponse_httpStatus
- The response's http status code.
$sel:agreement:DescribeAgreementResponse'
, describeAgreementResponse_agreement
- The details for the specified agreement, returned as a
DescribedAgreement
object.
Response Lenses
describeAgreementResponse_httpStatus :: Lens' DescribeAgreementResponse Int Source #
The response's http status code.
describeAgreementResponse_agreement :: Lens' DescribeAgreementResponse DescribedAgreement Source #
The details for the specified agreement, returned as a
DescribedAgreement
object.