| 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.Pinpoint.GetEndpoint
Description
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.
Constructors
| GetEndpoint' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> GetEndpoint |
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:
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.
Constructors
| GetEndpointResponse' | |
Fields
| |
Instances
newGetEndpointResponse Source #
Arguments
| :: Int | |
| -> EndpointResponse | |
| -> GetEndpointResponse |
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.