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 |
Retrieves information about the settings and attributes of a specific endpoint for an application.
Synopsis
- data GetEndpoint = GetEndpoint' {
- applicationId :: Text
- endpointId :: Text
- newGetEndpoint :: Text -> Text -> GetEndpoint
- getEndpoint_applicationId :: Lens' GetEndpoint Text
- getEndpoint_endpointId :: Lens' GetEndpoint Text
- data GetEndpointResponse = GetEndpointResponse' {}
- newGetEndpointResponse :: Int -> EndpointResponse -> GetEndpointResponse
- getEndpointResponse_httpStatus :: Lens' GetEndpointResponse Int
- getEndpointResponse_endpointResponse :: Lens' GetEndpointResponse EndpointResponse
Creating a Request
data GetEndpoint Source #
See: newGetEndpoint
smart constructor.
GetEndpoint' | |
|
Instances
Create a value of GetEndpoint
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:applicationId:GetEndpoint'
, getEndpoint_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:endpointId:GetEndpoint'
, getEndpoint_endpointId
- The unique identifier for the endpoint.
Request Lenses
getEndpoint_applicationId :: Lens' GetEndpoint Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
getEndpoint_endpointId :: Lens' GetEndpoint Text Source #
The unique identifier for the endpoint.
Destructuring the Response
data GetEndpointResponse Source #
See: newGetEndpointResponse
smart constructor.
GetEndpointResponse' | |
|
Instances
newGetEndpointResponse Source #
Create a value of GetEndpointResponse
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:GetEndpointResponse'
, getEndpointResponse_httpStatus
- The response's http status code.
$sel:endpointResponse:GetEndpointResponse'
, getEndpointResponse_endpointResponse
- Undocumented member.
Response Lenses
getEndpointResponse_httpStatus :: Lens' GetEndpointResponse Int Source #
The response's http status code.
getEndpointResponse_endpointResponse :: Lens' GetEndpointResponse EndpointResponse Source #
Undocumented member.