55 class HttpClientFactory;
60 template<
typename R,
typename E>
class Outcome;
76 class AWSCredentialsProvider;
89 class AddPermissionRequest;
90 class CheckIfPhoneNumberIsOptedOutRequest;
91 class ConfirmSubscriptionRequest;
92 class CreatePlatformApplicationRequest;
93 class CreatePlatformEndpointRequest;
94 class CreateTopicRequest;
95 class DeleteEndpointRequest;
96 class DeletePlatformApplicationRequest;
97 class DeleteTopicRequest;
98 class GetEndpointAttributesRequest;
99 class GetPlatformApplicationAttributesRequest;
100 class GetSMSAttributesRequest;
101 class GetSubscriptionAttributesRequest;
102 class GetTopicAttributesRequest;
103 class ListEndpointsByPlatformApplicationRequest;
104 class ListPhoneNumbersOptedOutRequest;
105 class ListPlatformApplicationsRequest;
106 class ListSubscriptionsRequest;
107 class ListSubscriptionsByTopicRequest;
108 class ListTopicsRequest;
109 class OptInPhoneNumberRequest;
110 class PublishRequest;
111 class RemovePermissionRequest;
112 class SetEndpointAttributesRequest;
113 class SetPlatformApplicationAttributesRequest;
114 class SetSMSAttributesRequest;
115 class SetSubscriptionAttributesRequest;
116 class SetTopicAttributesRequest;
117 class SubscribeRequest;
185 typedef std::function<void(const SNSClient*, const Model::AddPermissionRequest&, const Model::AddPermissionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
AddPermissionResponseReceivedHandler;
187 typedef std::function<void(const SNSClient*, const Model::ConfirmSubscriptionRequest&, const Model::ConfirmSubscriptionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
ConfirmSubscriptionResponseReceivedHandler;
188 typedef std::function<void(const SNSClient*, const Model::CreatePlatformApplicationRequest&, const Model::CreatePlatformApplicationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
CreatePlatformApplicationResponseReceivedHandler;
189 typedef std::function<void(const SNSClient*, const Model::CreatePlatformEndpointRequest&, const Model::CreatePlatformEndpointOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
CreatePlatformEndpointResponseReceivedHandler;
190 typedef std::function<void(const SNSClient*, const Model::CreateTopicRequest&, const Model::CreateTopicOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
CreateTopicResponseReceivedHandler;
191 typedef std::function<void(const SNSClient*, const Model::DeleteEndpointRequest&, const Model::DeleteEndpointOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
DeleteEndpointResponseReceivedHandler;
192 typedef std::function<void(const SNSClient*, const Model::DeletePlatformApplicationRequest&, const Model::DeletePlatformApplicationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
DeletePlatformApplicationResponseReceivedHandler;
193 typedef std::function<void(const SNSClient*, const Model::DeleteTopicRequest&, const Model::DeleteTopicOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
DeleteTopicResponseReceivedHandler;
194 typedef std::function<void(const SNSClient*, const Model::GetEndpointAttributesRequest&, const Model::GetEndpointAttributesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
GetEndpointAttributesResponseReceivedHandler;
196 typedef std::function<void(const SNSClient*, const Model::GetSMSAttributesRequest&, const Model::GetSMSAttributesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
GetSMSAttributesResponseReceivedHandler;
197 typedef std::function<void(const SNSClient*, const Model::GetSubscriptionAttributesRequest&, const Model::GetSubscriptionAttributesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
GetSubscriptionAttributesResponseReceivedHandler;
198 typedef std::function<void(const SNSClient*, const Model::GetTopicAttributesRequest&, const Model::GetTopicAttributesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
GetTopicAttributesResponseReceivedHandler;
200 typedef std::function<void(const SNSClient*, const Model::ListPhoneNumbersOptedOutRequest&, const Model::ListPhoneNumbersOptedOutOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
ListPhoneNumbersOptedOutResponseReceivedHandler;
201 typedef std::function<void(const SNSClient*, const Model::ListPlatformApplicationsRequest&, const Model::ListPlatformApplicationsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
ListPlatformApplicationsResponseReceivedHandler;
202 typedef std::function<void(const SNSClient*, const Model::ListSubscriptionsRequest&, const Model::ListSubscriptionsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
ListSubscriptionsResponseReceivedHandler;
203 typedef std::function<void(const SNSClient*, const Model::ListSubscriptionsByTopicRequest&, const Model::ListSubscriptionsByTopicOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
ListSubscriptionsByTopicResponseReceivedHandler;
204 typedef std::function<void(const SNSClient*, const Model::ListTopicsRequest&, const Model::ListTopicsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
ListTopicsResponseReceivedHandler;
205 typedef std::function<void(const SNSClient*, const Model::OptInPhoneNumberRequest&, const Model::OptInPhoneNumberOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
OptInPhoneNumberResponseReceivedHandler;
206 typedef std::function<void(const SNSClient*, const Model::PublishRequest&, const Model::PublishOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
PublishResponseReceivedHandler;
207 typedef std::function<void(const SNSClient*, const Model::RemovePermissionRequest&, const Model::RemovePermissionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
RemovePermissionResponseReceivedHandler;
208 typedef std::function<void(const SNSClient*, const Model::SetEndpointAttributesRequest&, const Model::SetEndpointAttributesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
SetEndpointAttributesResponseReceivedHandler;
210 typedef std::function<void(const SNSClient*, const Model::SetSMSAttributesRequest&, const Model::SetSMSAttributesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
SetSMSAttributesResponseReceivedHandler;
211 typedef std::function<void(const SNSClient*, const Model::SetSubscriptionAttributesRequest&, const Model::SetSubscriptionAttributesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
SetSubscriptionAttributesResponseReceivedHandler;
212 typedef std::function<void(const SNSClient*, const Model::SetTopicAttributesRequest&, const Model::SetTopicAttributesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
SetTopicAttributesResponseReceivedHandler;
213 typedef std::function<void(const SNSClient*, const Model::SubscribeRequest&, const Model::SubscribeOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
SubscribeResponseReceivedHandler;
214 typedef std::function<void(const SNSClient*, const Model::UnsubscribeRequest&, const Model::UnsubscribeOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) >
UnsubscribeResponseReceivedHandler;
253 SNSClient(
const std::shared_ptr<Auth::AWSCredentialsProvider>& credentialsProvider,
1327 std::shared_ptr<Utils::Threading::Executor> m_executor;
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SNSErrors > > UnsubscribeOutcome
std::function< void(const SNSClient *, const Model::ListPlatformApplicationsRequest &, const Model::ListPlatformApplicationsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListPlatformApplicationsResponseReceivedHandler
std::future< UnsubscribeOutcome > UnsubscribeOutcomeCallable
std::function< void(const SNSClient *, const Model::GetSubscriptionAttributesRequest &, const Model::GetSubscriptionAttributesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetSubscriptionAttributesResponseReceivedHandler
std::function< void(const SNSClient *, const Model::SetSubscriptionAttributesRequest &, const Model::SetSubscriptionAttributesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SetSubscriptionAttributesResponseReceivedHandler
std::future< GetEndpointAttributesOutcome > GetEndpointAttributesOutcomeCallable
Aws::Utils::Outcome< ConfirmSubscriptionResult, Aws::Client::AWSError< SNSErrors > > ConfirmSubscriptionOutcome
Aws::Utils::Outcome< OptInPhoneNumberResult, Aws::Client::AWSError< SNSErrors > > OptInPhoneNumberOutcome
std::future< CheckIfPhoneNumberIsOptedOutOutcome > CheckIfPhoneNumberIsOptedOutOutcomeCallable
std::future< GetSMSAttributesOutcome > GetSMSAttributesOutcomeCallable
Aws::Utils::Outcome< GetPlatformApplicationAttributesResult, Aws::Client::AWSError< SNSErrors > > GetPlatformApplicationAttributesOutcome
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SNSErrors > > SetSubscriptionAttributesOutcome
Aws::Utils::Outcome< GetSubscriptionAttributesResult, Aws::Client::AWSError< SNSErrors > > GetSubscriptionAttributesOutcome
Aws::Utils::Outcome< GetEndpointAttributesResult, Aws::Client::AWSError< SNSErrors > > GetEndpointAttributesOutcome
std::function< void(const SNSClient *, const Model::ListEndpointsByPlatformApplicationRequest &, const Model::ListEndpointsByPlatformApplicationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListEndpointsByPlatformApplicationResponseReceivedHandler
std::function< void(const SNSClient *, const Model::CreatePlatformApplicationRequest &, const Model::CreatePlatformApplicationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreatePlatformApplicationResponseReceivedHandler
std::function< void(const SNSClient *, const Model::ListTopicsRequest &, const Model::ListTopicsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTopicsResponseReceivedHandler
std::future< CreatePlatformEndpointOutcome > CreatePlatformEndpointOutcomeCallable
std::function< void(const SNSClient *, const Model::SetEndpointAttributesRequest &, const Model::SetEndpointAttributesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SetEndpointAttributesResponseReceivedHandler
std::function< void(const SNSClient *, const Model::CreatePlatformEndpointRequest &, const Model::CreatePlatformEndpointOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreatePlatformEndpointResponseReceivedHandler
std::function< void(const SNSClient *, const Model::CheckIfPhoneNumberIsOptedOutRequest &, const Model::CheckIfPhoneNumberIsOptedOutOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CheckIfPhoneNumberIsOptedOutResponseReceivedHandler
std::future< PublishOutcome > PublishOutcomeCallable
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SNSErrors > > SetPlatformApplicationAttributesOutcome
std::function< void(const SNSClient *, const Model::OptInPhoneNumberRequest &, const Model::OptInPhoneNumberOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > OptInPhoneNumberResponseReceivedHandler
std::function< void(const SNSClient *, const Model::GetTopicAttributesRequest &, const Model::GetTopicAttributesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetTopicAttributesResponseReceivedHandler
std::future< GetSubscriptionAttributesOutcome > GetSubscriptionAttributesOutcomeCallable
std::function< void(const SNSClient *, const Model::GetPlatformApplicationAttributesRequest &, const Model::GetPlatformApplicationAttributesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetPlatformApplicationAttributesResponseReceivedHandler
Aws::Utils::Outcome< ListSubscriptionsByTopicResult, Aws::Client::AWSError< SNSErrors > > ListSubscriptionsByTopicOutcome
std::future< CreateTopicOutcome > CreateTopicOutcomeCallable
std::future< SubscribeOutcome > SubscribeOutcomeCallable
std::function< void(const SNSClient *, const Model::UnsubscribeRequest &, const Model::UnsubscribeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UnsubscribeResponseReceivedHandler
std::future< SetSubscriptionAttributesOutcome > SetSubscriptionAttributesOutcomeCallable
std::function< void(const SNSClient *, const Model::DeleteTopicRequest &, const Model::DeleteTopicOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteTopicResponseReceivedHandler
std::future< ListTopicsOutcome > ListTopicsOutcomeCallable
Aws::Utils::Outcome< CreatePlatformApplicationResult, Aws::Client::AWSError< SNSErrors > > CreatePlatformApplicationOutcome
std::function< void(const SNSClient *, const Model::SetTopicAttributesRequest &, const Model::SetTopicAttributesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SetTopicAttributesResponseReceivedHandler
std::future< SetTopicAttributesOutcome > SetTopicAttributesOutcomeCallable
Aws::Utils::Outcome< CreatePlatformEndpointResult, Aws::Client::AWSError< SNSErrors > > CreatePlatformEndpointOutcome
Aws::Utils::Outcome< ListPhoneNumbersOptedOutResult, Aws::Client::AWSError< SNSErrors > > ListPhoneNumbersOptedOutOutcome
std::function< void(const SNSClient *, const Model::GetSMSAttributesRequest &, const Model::GetSMSAttributesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetSMSAttributesResponseReceivedHandler
Aws::Utils::Outcome< ListEndpointsByPlatformApplicationResult, Aws::Client::AWSError< SNSErrors > > ListEndpointsByPlatformApplicationOutcome
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SNSErrors > > SetEndpointAttributesOutcome
Aws::Utils::Outcome< SubscribeResult, Aws::Client::AWSError< SNSErrors > > SubscribeOutcome
std::future< GetTopicAttributesOutcome > GetTopicAttributesOutcomeCallable
std::function< void(const SNSClient *, const Model::SetPlatformApplicationAttributesRequest &, const Model::SetPlatformApplicationAttributesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SetPlatformApplicationAttributesResponseReceivedHandler
std::future< ListPhoneNumbersOptedOutOutcome > ListPhoneNumbersOptedOutOutcomeCallable
Aws::Utils::Outcome< SetSMSAttributesResult, Aws::Client::AWSError< SNSErrors > > SetSMSAttributesOutcome
Aws::Utils::Outcome< CheckIfPhoneNumberIsOptedOutResult, Aws::Client::AWSError< SNSErrors > > CheckIfPhoneNumberIsOptedOutOutcome
std::future< ListSubscriptionsOutcome > ListSubscriptionsOutcomeCallable
std::future< AddPermissionOutcome > AddPermissionOutcomeCallable
std::function< void(const SNSClient *, const Model::ListSubscriptionsRequest &, const Model::ListSubscriptionsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListSubscriptionsResponseReceivedHandler
std::function< void(const SNSClient *, const Model::AddPermissionRequest &, const Model::AddPermissionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > AddPermissionResponseReceivedHandler
std::future< DeleteTopicOutcome > DeleteTopicOutcomeCallable
Aws::Utils::Outcome< GetSMSAttributesResult, Aws::Client::AWSError< SNSErrors > > GetSMSAttributesOutcome
Aws::Utils::Outcome< PublishResult, Aws::Client::AWSError< SNSErrors > > PublishOutcome
std::function< void(const SNSClient *, const Model::CreateTopicRequest &, const Model::CreateTopicOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateTopicResponseReceivedHandler
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SNSErrors > > DeletePlatformApplicationOutcome
std::function< void(const SNSClient *, const Model::DeletePlatformApplicationRequest &, const Model::DeletePlatformApplicationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeletePlatformApplicationResponseReceivedHandler
std::function< void(const SNSClient *, const Model::DeleteEndpointRequest &, const Model::DeleteEndpointOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteEndpointResponseReceivedHandler
Aws::Client::AWSXMLClient BASECLASS
std::future< ListSubscriptionsByTopicOutcome > ListSubscriptionsByTopicOutcomeCallable
std::function< void(const SNSClient *, const Model::SubscribeRequest &, const Model::SubscribeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SubscribeResponseReceivedHandler
Aws::Utils::Outcome< CreateTopicResult, Aws::Client::AWSError< SNSErrors > > CreateTopicOutcome
Aws::Utils::Outcome< ListTopicsResult, Aws::Client::AWSError< SNSErrors > > ListTopicsOutcome
Aws::Utils::Outcome< ListPlatformApplicationsResult, Aws::Client::AWSError< SNSErrors > > ListPlatformApplicationsOutcome
std::future< ConfirmSubscriptionOutcome > ConfirmSubscriptionOutcomeCallable
std::function< void(const SNSClient *, const Model::RemovePermissionRequest &, const Model::RemovePermissionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RemovePermissionResponseReceivedHandler
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SNSErrors > > SetTopicAttributesOutcome
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SNSErrors > > DeleteTopicOutcome
std::future< CreatePlatformApplicationOutcome > CreatePlatformApplicationOutcomeCallable
std::future< RemovePermissionOutcome > RemovePermissionOutcomeCallable
std::function< void(const SNSClient *, const Model::ListSubscriptionsByTopicRequest &, const Model::ListSubscriptionsByTopicOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListSubscriptionsByTopicResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::future< SetSMSAttributesOutcome > SetSMSAttributesOutcomeCallable
std::future< DeleteEndpointOutcome > DeleteEndpointOutcomeCallable
std::future< GetPlatformApplicationAttributesOutcome > GetPlatformApplicationAttributesOutcomeCallable
std::future< DeletePlatformApplicationOutcome > DeletePlatformApplicationOutcomeCallable
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SNSErrors > > AddPermissionOutcome
std::future< SetEndpointAttributesOutcome > SetEndpointAttributesOutcomeCallable
std::future< SetPlatformApplicationAttributesOutcome > SetPlatformApplicationAttributesOutcomeCallable
std::future< ListPlatformApplicationsOutcome > ListPlatformApplicationsOutcomeCallable
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SNSErrors > > RemovePermissionOutcome
Aws::Utils::Outcome< ListSubscriptionsResult, Aws::Client::AWSError< SNSErrors > > ListSubscriptionsOutcome
std::function< void(const SNSClient *, const Model::SetSMSAttributesRequest &, const Model::SetSMSAttributesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SetSMSAttributesResponseReceivedHandler
Aws::Utils::Outcome< GetTopicAttributesResult, Aws::Client::AWSError< SNSErrors > > GetTopicAttributesOutcome
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< SNSErrors > > DeleteEndpointOutcome
std::function< void(const SNSClient *, const Model::GetEndpointAttributesRequest &, const Model::GetEndpointAttributesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetEndpointAttributesResponseReceivedHandler
std::future< OptInPhoneNumberOutcome > OptInPhoneNumberOutcomeCallable
std::function< void(const SNSClient *, const Model::PublishRequest &, const Model::PublishOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PublishResponseReceivedHandler
std::function< void(const SNSClient *, const Model::ListPhoneNumbersOptedOutRequest &, const Model::ListPhoneNumbersOptedOutOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListPhoneNumbersOptedOutResponseReceivedHandler
JSON (JavaScript Object Notation).
std::function< void(const SNSClient *, const Model::ConfirmSubscriptionRequest &, const Model::ConfirmSubscriptionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ConfirmSubscriptionResponseReceivedHandler
std::future< ListEndpointsByPlatformApplicationOutcome > ListEndpointsByPlatformApplicationOutcomeCallable