Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Retrieves the attributes of the platform application object for the supported push notification services, such as APNS and GCM. For more information, see Using Amazon SNS Mobile Push Notifications .
Synopsis
- getPlatformApplicationAttributes :: Text -> GetPlatformApplicationAttributes
- data GetPlatformApplicationAttributes
- gpaaPlatformApplicationARN :: Lens' GetPlatformApplicationAttributes Text
- getPlatformApplicationAttributesResponse :: Int -> GetPlatformApplicationAttributesResponse
- data GetPlatformApplicationAttributesResponse
- gpaarsAttributes :: Lens' GetPlatformApplicationAttributesResponse (HashMap Text Text)
- gpaarsResponseStatus :: Lens' GetPlatformApplicationAttributesResponse Int
Creating a Request
getPlatformApplicationAttributes Source #
Creates a value of GetPlatformApplicationAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gpaaPlatformApplicationARN
- PlatformApplicationArn for GetPlatformApplicationAttributesInput.
data GetPlatformApplicationAttributes Source #
Input for GetPlatformApplicationAttributes action.
See: getPlatformApplicationAttributes
smart constructor.
Instances
Request Lenses
gpaaPlatformApplicationARN :: Lens' GetPlatformApplicationAttributes Text Source #
PlatformApplicationArn for GetPlatformApplicationAttributesInput.
Destructuring the Response
getPlatformApplicationAttributesResponse Source #
Creates a value of GetPlatformApplicationAttributesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gpaarsAttributes
- Attributes include the following: *EventEndpointCreated
-- Topic ARN to which EndpointCreated event notifications should be sent. *EventEndpointDeleted
-- Topic ARN to which EndpointDeleted event notifications should be sent. *EventEndpointUpdated
-- Topic ARN to which EndpointUpdate event notifications should be sent. *EventDeliveryFailure
-- Topic ARN to which DeliveryFailure event notifications should be sent upon Direct Publish delivery failure (permanent) to one of the application's endpoints.gpaarsResponseStatus
- -- | The response status code.
data GetPlatformApplicationAttributesResponse Source #
Response for GetPlatformApplicationAttributes action.
See: getPlatformApplicationAttributesResponse
smart constructor.
Instances
Response Lenses
gpaarsAttributes :: Lens' GetPlatformApplicationAttributesResponse (HashMap Text Text) Source #
Attributes include the following: * EventEndpointCreated
-- Topic ARN to which EndpointCreated event notifications should be sent. * EventEndpointDeleted
-- Topic ARN to which EndpointDeleted event notifications should be sent. * EventEndpointUpdated
-- Topic ARN to which EndpointUpdate event notifications should be sent. * EventDeliveryFailure
-- Topic ARN to which DeliveryFailure event notifications should be sent upon Direct Publish delivery failure (permanent) to one of the application's endpoints.
gpaarsResponseStatus :: Lens' GetPlatformApplicationAttributesResponse Int Source #
- - | The response status code.