@ConnectionManagement(friendlyName="Configuration", configElementName="config") public class SNSBasicConfig extends SNSCommonConfig
clientBuilder
Constructor and Description |
---|
SNSBasicConfig() |
Modifier and Type | Method and Description |
---|---|
void |
connect(String accessKey,
String secretKey,
String sessionToken,
boolean tryDefaultAWSCredentialsProviderChain)
Login to Amazon SNS
|
String |
connectionId()
Connection identifier
|
void |
testConnect(String accessKey,
String secretKey,
String sessionToken,
boolean tryDefaultAWSCredentialsProviderChain)
Test connectivity to Amazon SNS
|
disconnect, getDefaultRegion, getMaxConnections, getRegion, getTestTopicArn, isConnected, setClientBuilder, setMaxConnections, setRegion, setTestTopicArn
getAsyncClient, getClientBuilder, getConfigRegion, getConnectionTimeout, getProtocol, getProxyDomain, getProxyHost, getProxyPassword, getProxyPort, getProxyUsername, getProxyWorkstation, getSocketTimeout, getSyncClient, setConnectionTimeout, setProtocol, setProxyDomain, setProxyHost, setProxyPassword, setProxyPort, setProxyUsername, setProxyWorkstation, setSocketTimeout
@Connect public void connect(@ConnectionKey String accessKey, String secretKey, @Optional String sessionToken, @Optional boolean tryDefaultAWSCredentialsProviderChain) throws org.mule.api.ConnectionException
accessKey
- The access key provided by AmazonsecretKey
- The secret key provided by AmazontryDefaultAWSCredentialsProviderChain
- Set it to true to try first to obtain credentials from AWS environment. See: http://docs.aws.amazon.com/java-sdk/latest/developer-guide/credentials.html#using-the-default-credential-provider-chainorg.mule.api.ConnectionException
@TestConnectivity public void testConnect(@ConnectionKey String accessKey, String secretKey, @Optional String sessionToken, @Optional boolean tryDefaultAWSCredentialsProviderChain) throws org.mule.api.ConnectionException
accessKey
- The access key provided by AmazonsecretKey
- The secret key provided by AmazontryDefaultAWSCredentialsProviderChain
- Set it to true to try first to obtain credentials from AWS environment. See: http://docs.aws.amazon.com/java-sdk/latest/developer-guide/credentials.html#using-the-default-credential-provider-chainorg.mule.api.ConnectionException
@ConnectionIdentifier public String connectionId()
Copyright © 2010–2019. All rights reserved.