| 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.GetUserEndpoints
Description
Retrieves information about all the endpoints that are associated with a specific user ID.
Synopsis
- data GetUserEndpoints = GetUserEndpoints' {
- applicationId :: Text
- userId :: Text
- newGetUserEndpoints :: Text -> Text -> GetUserEndpoints
- getUserEndpoints_applicationId :: Lens' GetUserEndpoints Text
- getUserEndpoints_userId :: Lens' GetUserEndpoints Text
- data GetUserEndpointsResponse = GetUserEndpointsResponse' {}
- newGetUserEndpointsResponse :: Int -> EndpointsResponse -> GetUserEndpointsResponse
- getUserEndpointsResponse_httpStatus :: Lens' GetUserEndpointsResponse Int
- getUserEndpointsResponse_endpointsResponse :: Lens' GetUserEndpointsResponse EndpointsResponse
Creating a Request
data GetUserEndpoints Source #
See: newGetUserEndpoints smart constructor.
Constructors
| GetUserEndpoints' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> GetUserEndpoints |
Create a value of GetUserEndpoints 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:
GetUserEndpoints, getUserEndpoints_applicationId - The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
GetUserEndpoints, getUserEndpoints_userId - The unique identifier for the user.
Request Lenses
getUserEndpoints_applicationId :: Lens' GetUserEndpoints Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
getUserEndpoints_userId :: Lens' GetUserEndpoints Text Source #
The unique identifier for the user.
Destructuring the Response
data GetUserEndpointsResponse Source #
See: newGetUserEndpointsResponse smart constructor.
Constructors
| GetUserEndpointsResponse' | |
Fields
| |
Instances
newGetUserEndpointsResponse Source #
Arguments
| :: Int | |
| -> EndpointsResponse | |
| -> GetUserEndpointsResponse |
Create a value of GetUserEndpointsResponse 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:GetUserEndpointsResponse', getUserEndpointsResponse_httpStatus - The response's http status code.
$sel:endpointsResponse:GetUserEndpointsResponse', getUserEndpointsResponse_endpointsResponse - Undocumented member.
Response Lenses
getUserEndpointsResponse_httpStatus :: Lens' GetUserEndpointsResponse Int Source #
The response's http status code.
getUserEndpointsResponse_endpointsResponse :: Lens' GetUserEndpointsResponse EndpointsResponse Source #
Undocumented member.