|
NAMEPaws::CognitoSync::RegisterDevice - Arguments for method RegisterDevice on Paws::CognitoSync DESCRIPTIONThis class represents the parameters used for calling the method RegisterDevice on the Amazon Cognito Sync service. Use the attributes of this class as arguments to method RegisterDevice. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RegisterDevice. SYNOPSIS my $cognito-sync = Paws->service('CognitoSync');
my $RegisterDeviceResponse = $cognito -sync->RegisterDevice(
IdentityId => 'MyIdentityId',
IdentityPoolId => 'MyIdentityPoolId',
Platform => 'APNS',
Token => 'MyPushToken',
);
# Results:
my $DeviceId = $RegisterDeviceResponse->DeviceId;
# Returns a L<Paws::CognitoSync::RegisterDeviceResponse> object.
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/cognito-sync/RegisterDevice> ATTRIBUTESREQUIRED IdentityId => StrThe unique ID for this identity. REQUIRED IdentityPoolId => StrA name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. Here, the ID of the pool that the identity belongs to. REQUIRED Platform => StrThe SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX). Valid values are: "APNS", "APNS_SANDBOX", "GCM", "ADM" REQUIRED Token => StrThe push token. SEE ALSOThis class forms part of Paws, documenting arguments for method RegisterDevice in Paws::CognitoSync BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|