| 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.AppSync.GetApiAssociation
Description
Retrieves an ApiAssociation object.
Synopsis
- data GetApiAssociation = GetApiAssociation' {
- domainName :: Text
- newGetApiAssociation :: Text -> GetApiAssociation
- getApiAssociation_domainName :: Lens' GetApiAssociation Text
- data GetApiAssociationResponse = GetApiAssociationResponse' {}
- newGetApiAssociationResponse :: Int -> GetApiAssociationResponse
- getApiAssociationResponse_apiAssociation :: Lens' GetApiAssociationResponse (Maybe ApiAssociation)
- getApiAssociationResponse_httpStatus :: Lens' GetApiAssociationResponse Int
Creating a Request
data GetApiAssociation Source #
See: newGetApiAssociation smart constructor.
Constructors
| GetApiAssociation' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetApiAssociation |
Create a value of GetApiAssociation 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:
GetApiAssociation, getApiAssociation_domainName - The domain name.
Request Lenses
getApiAssociation_domainName :: Lens' GetApiAssociation Text Source #
The domain name.
Destructuring the Response
data GetApiAssociationResponse Source #
See: newGetApiAssociationResponse smart constructor.
Constructors
| GetApiAssociationResponse' | |
Fields
| |
Instances
newGetApiAssociationResponse Source #
Create a value of GetApiAssociationResponse 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:apiAssociation:GetApiAssociationResponse', getApiAssociationResponse_apiAssociation - The ApiAssociation object.
$sel:httpStatus:GetApiAssociationResponse', getApiAssociationResponse_httpStatus - The response's http status code.
Response Lenses
getApiAssociationResponse_apiAssociation :: Lens' GetApiAssociationResponse (Maybe ApiAssociation) Source #
The ApiAssociation object.
getApiAssociationResponse_httpStatus :: Lens' GetApiAssociationResponse Int Source #
The response's http status code.