amazonka-chime-sdk-identity-2.0: Amazon Chime SDK Identity SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ChimeSDKIdentity.RegisterAppInstanceUserEndpoint

Description

Registers an endpoint under an Amazon Chime AppInstanceUser. The endpoint receives messages for a user. For push notifications, the endpoint is a mobile device used to receive mobile push notifications for a user.

Synopsis

Creating a Request

data RegisterAppInstanceUserEndpoint Source #

See: newRegisterAppInstanceUserEndpoint smart constructor.

Constructors

RegisterAppInstanceUserEndpoint' 

Fields

Instances

Instances details
ToJSON RegisterAppInstanceUserEndpoint Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.RegisterAppInstanceUserEndpoint

ToHeaders RegisterAppInstanceUserEndpoint Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.RegisterAppInstanceUserEndpoint

ToPath RegisterAppInstanceUserEndpoint Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.RegisterAppInstanceUserEndpoint

ToQuery RegisterAppInstanceUserEndpoint Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.RegisterAppInstanceUserEndpoint

AWSRequest RegisterAppInstanceUserEndpoint Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.RegisterAppInstanceUserEndpoint

Generic RegisterAppInstanceUserEndpoint Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.RegisterAppInstanceUserEndpoint

Associated Types

type Rep RegisterAppInstanceUserEndpoint :: Type -> Type #

Show RegisterAppInstanceUserEndpoint Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.RegisterAppInstanceUserEndpoint

NFData RegisterAppInstanceUserEndpoint Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.RegisterAppInstanceUserEndpoint

Eq RegisterAppInstanceUserEndpoint Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.RegisterAppInstanceUserEndpoint

Hashable RegisterAppInstanceUserEndpoint Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.RegisterAppInstanceUserEndpoint

type AWSResponse RegisterAppInstanceUserEndpoint Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.RegisterAppInstanceUserEndpoint

type Rep RegisterAppInstanceUserEndpoint Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.RegisterAppInstanceUserEndpoint

type Rep RegisterAppInstanceUserEndpoint = D1 ('MetaData "RegisterAppInstanceUserEndpoint" "Amazonka.ChimeSDKIdentity.RegisterAppInstanceUserEndpoint" "amazonka-chime-sdk-identity-2.0-4Oyp0DV6v8255OObqkKpjC" 'False) (C1 ('MetaCons "RegisterAppInstanceUserEndpoint'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "allowMessages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AllowMessages)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "appInstanceUserArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)))) :*: ((S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AppInstanceUserEndpointType) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text))) :*: (S1 ('MetaSel ('Just "endpointAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EndpointAttributes) :*: S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text))))))

newRegisterAppInstanceUserEndpoint Source #

Create a value of RegisterAppInstanceUserEndpoint 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:

RegisterAppInstanceUserEndpoint, registerAppInstanceUserEndpoint_allowMessages - Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages. ALL indicates the endpoint receives all messages. NONE indicates the endpoint receives no messages.

RegisterAppInstanceUserEndpoint, registerAppInstanceUserEndpoint_name - The name of the AppInstanceUserEndpoint.

RegisterAppInstanceUserEndpoint, registerAppInstanceUserEndpoint_appInstanceUserArn - The ARN of the AppInstanceUser.

RegisterAppInstanceUserEndpoint, registerAppInstanceUserEndpoint_type - The type of the AppInstanceUserEndpoint. Supported types:

  • APNS: The mobile notification service for an Apple device.
  • APNS_SANDBOX: The sandbox environment of the mobile notification service for an Apple device.
  • GCM: The mobile notification service for an Android device.

Populate the ResourceArn value of each type as PinpointAppArn.

RegisterAppInstanceUserEndpoint, registerAppInstanceUserEndpoint_resourceArn - The ARN of the resource to which the endpoint belongs.

RegisterAppInstanceUserEndpoint, registerAppInstanceUserEndpoint_endpointAttributes - The attributes of an Endpoint.

$sel:clientRequestToken:RegisterAppInstanceUserEndpoint', registerAppInstanceUserEndpoint_clientRequestToken - The idempotency token for each client request.

Request Lenses

registerAppInstanceUserEndpoint_allowMessages :: Lens' RegisterAppInstanceUserEndpoint (Maybe AllowMessages) Source #

Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages. ALL indicates the endpoint receives all messages. NONE indicates the endpoint receives no messages.

registerAppInstanceUserEndpoint_type :: Lens' RegisterAppInstanceUserEndpoint AppInstanceUserEndpointType Source #

The type of the AppInstanceUserEndpoint. Supported types:

  • APNS: The mobile notification service for an Apple device.
  • APNS_SANDBOX: The sandbox environment of the mobile notification service for an Apple device.
  • GCM: The mobile notification service for an Android device.

Populate the ResourceArn value of each type as PinpointAppArn.

registerAppInstanceUserEndpoint_resourceArn :: Lens' RegisterAppInstanceUserEndpoint Text Source #

The ARN of the resource to which the endpoint belongs.

Destructuring the Response

data RegisterAppInstanceUserEndpointResponse Source #

Constructors

RegisterAppInstanceUserEndpointResponse' 

Fields

Instances

Instances details
Generic RegisterAppInstanceUserEndpointResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.RegisterAppInstanceUserEndpoint

Show RegisterAppInstanceUserEndpointResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.RegisterAppInstanceUserEndpoint

NFData RegisterAppInstanceUserEndpointResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.RegisterAppInstanceUserEndpoint

Eq RegisterAppInstanceUserEndpointResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.RegisterAppInstanceUserEndpoint

type Rep RegisterAppInstanceUserEndpointResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.RegisterAppInstanceUserEndpoint

type Rep RegisterAppInstanceUserEndpointResponse = D1 ('MetaData "RegisterAppInstanceUserEndpointResponse" "Amazonka.ChimeSDKIdentity.RegisterAppInstanceUserEndpoint" "amazonka-chime-sdk-identity-2.0-4Oyp0DV6v8255OObqkKpjC" 'False) (C1 ('MetaCons "RegisterAppInstanceUserEndpointResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "appInstanceUserArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "endpointId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newRegisterAppInstanceUserEndpointResponse Source #

Create a value of RegisterAppInstanceUserEndpointResponse 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:

RegisterAppInstanceUserEndpoint, registerAppInstanceUserEndpointResponse_appInstanceUserArn - The ARN of the AppInstanceUser.

RegisterAppInstanceUserEndpointResponse, registerAppInstanceUserEndpointResponse_endpointId - The unique identifier of the AppInstanceUserEndpoint.

$sel:httpStatus:RegisterAppInstanceUserEndpointResponse', registerAppInstanceUserEndpointResponse_httpStatus - The response's http status code.

Response Lenses