NAME

Paws::SNS::SetEndpointAttributes - Arguments for method SetEndpointAttributes on Paws::SNS

DESCRIPTION

This class represents the parameters used for calling the method SetEndpointAttributes on the Amazon Simple Notification Service service. Use the attributes of this class as arguments to method SetEndpointAttributes.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SetEndpointAttributes.

SYNOPSIS

my $sns = Paws->service('SNS');
$sns->SetEndpointAttributes(
  Attributes  => { 'MyString' => 'MyString', },
  EndpointArn => 'MyString',

);

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/sns/SetEndpointAttributes

ATTRIBUTES

REQUIRED Attributes => Paws::SNS::MapStringToString

A map of the endpoint attributes. Attributes in this map include the following:

  • CustomUserData – arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB.

  • Enabled – flag that enables/disables delivery to the endpoint. Amazon SNS will set this to false when a notification service indicates to Amazon SNS that the endpoint is invalid. Users can set it back to true, typically after updating Token.

  • Token – device token, also referred to as a registration id, for an app and mobile device. This is returned from the notification service when an app and mobile device are registered with the notification service.

REQUIRED EndpointArn => Str

EndpointArn used for SetEndpointAttributes action.

SEE ALSO

This class forms part of Paws, documenting arguments for method SetEndpointAttributes in Paws::SNS

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues