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 the attributes of the platform application object for the supported push notification services, such as APNS and GCM (Firebase Cloud Messaging). For more information, see Using Amazon SNS Mobile Push Notifications.
Synopsis
- data GetPlatformApplicationAttributes = GetPlatformApplicationAttributes' {}
- newGetPlatformApplicationAttributes :: Text -> GetPlatformApplicationAttributes
- getPlatformApplicationAttributes_platformApplicationArn :: Lens' GetPlatformApplicationAttributes Text
- data GetPlatformApplicationAttributesResponse = GetPlatformApplicationAttributesResponse' {
- attributes :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newGetPlatformApplicationAttributesResponse :: Int -> GetPlatformApplicationAttributesResponse
- getPlatformApplicationAttributesResponse_attributes :: Lens' GetPlatformApplicationAttributesResponse (Maybe (HashMap Text Text))
- getPlatformApplicationAttributesResponse_httpStatus :: Lens' GetPlatformApplicationAttributesResponse Int
Creating a Request
data GetPlatformApplicationAttributes Source #
Input for GetPlatformApplicationAttributes action.
See: newGetPlatformApplicationAttributes
smart constructor.
GetPlatformApplicationAttributes' | |
|
Instances
newGetPlatformApplicationAttributes Source #
:: Text |
|
-> GetPlatformApplicationAttributes |
Create a value of GetPlatformApplicationAttributes
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:platformApplicationArn:GetPlatformApplicationAttributes'
, getPlatformApplicationAttributes_platformApplicationArn
- PlatformApplicationArn for GetPlatformApplicationAttributesInput.
Request Lenses
getPlatformApplicationAttributes_platformApplicationArn :: Lens' GetPlatformApplicationAttributes Text Source #
PlatformApplicationArn for GetPlatformApplicationAttributesInput.
Destructuring the Response
data GetPlatformApplicationAttributesResponse Source #
Response for GetPlatformApplicationAttributes action.
See: newGetPlatformApplicationAttributesResponse
smart constructor.
GetPlatformApplicationAttributesResponse' | |
|
Instances
newGetPlatformApplicationAttributesResponse Source #
Create a value of GetPlatformApplicationAttributesResponse
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:attributes:GetPlatformApplicationAttributesResponse'
, getPlatformApplicationAttributesResponse_attributes
- 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.
$sel:httpStatus:GetPlatformApplicationAttributesResponse'
, getPlatformApplicationAttributesResponse_httpStatus
- The response's http status code.
Response Lenses
getPlatformApplicationAttributesResponse_attributes :: Lens' GetPlatformApplicationAttributesResponse (Maybe (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.
getPlatformApplicationAttributesResponse_httpStatus :: Lens' GetPlatformApplicationAttributesResponse Int Source #
The response's http status code.