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 |
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
Endpoint for mobile app and device.
See: newEndpoint
smart constructor.
Endpoint' | |
|
Instances
Eq Endpoint Source # | |
Read Endpoint Source # | |
Show Endpoint Source # | |
Generic Endpoint Source # | |
NFData Endpoint Source # | |
Defined in Amazonka.SNS.Types.Endpoint | |
Hashable Endpoint Source # | |
Defined in Amazonka.SNS.Types.Endpoint | |
FromXML Endpoint Source # | |
type Rep Endpoint Source # | |
Defined in Amazonka.SNS.Types.Endpoint type Rep Endpoint = D1 ('MetaData "Endpoint" "Amazonka.SNS.Types.Endpoint" "libZSservicesZSamazonka-snsZSamazonka-sns" '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
- EndpointArn for mobile app and device.