| 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.SNS.Types.Endpoint
Description
Synopsis
- data Endpoint = Endpoint' {
- attributes :: Maybe (HashMap Text Text)
- endpointArn :: Maybe Text
- newEndpoint :: Endpoint
- endpoint_attributes :: Lens' Endpoint (Maybe (HashMap Text Text))
- endpoint_endpointArn :: Lens' Endpoint (Maybe Text)
Documentation
The endpoint for mobile app and device.
See: newEndpoint smart constructor.
Constructors
| Endpoint' | |
Fields
| |
Instances
| FromXML Endpoint Source # | |
| Generic Endpoint Source # | |
| Read Endpoint Source # | |
| Show Endpoint Source # | |
| NFData Endpoint Source # | |
Defined in Amazonka.SNS.Types.Endpoint | |
| Eq Endpoint Source # | |
| Hashable Endpoint Source # | |
Defined in Amazonka.SNS.Types.Endpoint | |
| type Rep Endpoint Source # | |
Defined in Amazonka.SNS.Types.Endpoint type Rep Endpoint = D1 ('MetaData "Endpoint" "Amazonka.SNS.Types.Endpoint" "amazonka-sns-2.0-4k7AiJI7DyqhOUy5o4qb9" 'False) (C1 ('MetaCons "Endpoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "endpointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |
newEndpoint :: Endpoint Source #
Create a value of Endpoint 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:Endpoint', endpoint_attributes - Attributes for endpoint.
$sel:endpointArn:Endpoint', endpoint_endpointArn - The EndpointArn for mobile app and device.