The Amazon SNS subscribe operation by default returns either the subscription ARN (if the subscribed endpoint is managed by AWS and it belongs to the same account as the topic) or the phrase: PENDING CONFIRMATION
. If you want to always return the subscription ARN, set the ReturnSubscriptionArn
argument to True
.