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 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.
GetUserEndpoints' | |
|
Instances
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:
$sel:applicationId:GetUserEndpoints'
, getUserEndpoints_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:userId: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.
GetUserEndpointsResponse' | |
|
Instances
newGetUserEndpointsResponse Source #
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.