Skip to content

Commit b82df31

Browse files
author
Tianlu Shi
committed
Use latest SDKv1 and bump up SQS Extended Client version
1 parent 54fa652 commit b82df31

File tree

2 files changed

+81
-2
lines changed

2 files changed

+81
-2
lines changed

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>software.amazon.sns</groupId>
88
<artifactId>sns-extended-client</artifactId>
9-
<version>1.1.2</version>
9+
<version>1.1.3</version>
1010
<packaging>jar</packaging>
1111
<name>Amazon SNS Extended Client Library for Java</name>
1212
<description>An extension to the Amazon SNS client that enables sending messages up to 2GB via Amazon S3.
@@ -49,7 +49,7 @@
4949
<dependency>
5050
<groupId>com.amazonaws</groupId>
5151
<artifactId>amazon-sqs-java-extended-client-lib</artifactId>
52-
<version>1.1.0</version>
52+
<version>1.2.2</version>
5353
<type>jar</type>
5454
</dependency>
5555
<dependency>

src/main/java/software/amazon/sns/AmazonSNSExtendedClientBase.java

+79
Original file line numberDiff line numberDiff line change
@@ -1139,4 +1139,83 @@ public TagResourceResult tagResource(TagResourceRequest request) {
11391139
public UntagResourceResult untagResource(UntagResourceRequest request) {
11401140
return amazonSNSToBeExtended.untagResource(request);
11411141
}
1142+
1143+
/**
1144+
* Adds a destination phone number to an AWS account in the SMS sandbox and sends a one-time password (OTP) to that
1145+
* phone number.
1146+
*
1147+
* @param request The originally executed request
1148+
* @return Result of the CreateSMSSandboxPhoneNumber operation returned by the service.
1149+
*/
1150+
@Override
1151+
public CreateSMSSandboxPhoneNumberResult createSMSSandboxPhoneNumber(CreateSMSSandboxPhoneNumberRequest request) {
1152+
return amazonSNSToBeExtended.createSMSSandboxPhoneNumber(request);
1153+
}
1154+
1155+
/**
1156+
* Deletes an AWS account's verified or pending phone number from the SMS sandbox.
1157+
*
1158+
* @param request The originally executed request
1159+
* @return Result of the DeleteSMSSandboxPhoneNumber operation returned by the service.
1160+
*/
1161+
@Override
1162+
public DeleteSMSSandboxPhoneNumberResult deleteSMSSandboxPhoneNumber(DeleteSMSSandboxPhoneNumberRequest request) {
1163+
return amazonSNSToBeExtended.deleteSMSSandboxPhoneNumber(request);
1164+
}
1165+
1166+
/**
1167+
* Retrieves the SMS sandbox status for the calling AWS account in the target AWS Region.
1168+
*
1169+
* @param request The originally executed request
1170+
* @return Result of the GetSMSSandboxAccountStatus operation returned by the service.
1171+
*/
1172+
@Override
1173+
public GetSMSSandboxAccountStatusResult getSMSSandboxAccountStatus(GetSMSSandboxAccountStatusRequest request) {
1174+
return amazonSNSToBeExtended.getSMSSandboxAccountStatus(request);
1175+
}
1176+
1177+
/**
1178+
* Lists the calling AWS account's dedicated origination numbers and their metadata. For more information about
1179+
* origination numbers, see Origination numbers in the Amazon SNS Developer Guide.
1180+
*
1181+
* @param request The originally executed request
1182+
* @return Result of the ListOriginationNumbers operation returned by the service.
1183+
*/
1184+
@Override
1185+
public ListOriginationNumbersResult listOriginationNumbers(ListOriginationNumbersRequest request) {
1186+
return amazonSNSToBeExtended.listOriginationNumbers(request);
1187+
}
1188+
1189+
/**
1190+
* Lists the calling AWS account's current verified and pending destination phone numbers in the SMS sandbox.
1191+
*
1192+
* @param request The originally executed request
1193+
* @return Result of the ListSMSSandboxPhoneNumbers operation returned by the service.
1194+
*/
1195+
@Override
1196+
public ListSMSSandboxPhoneNumbersResult listSMSSandboxPhoneNumbers(ListSMSSandboxPhoneNumbersRequest request) {
1197+
return amazonSNSToBeExtended.listSMSSandboxPhoneNumbers(request);
1198+
}
1199+
1200+
/**
1201+
* Publishes up to ten messages to the specified topic. This is a batch version of Publish
1202+
*
1203+
* @param request
1204+
* @return Result of the PublishBatch operation returned by the service.
1205+
*/
1206+
@Override
1207+
public PublishBatchResult publishBatch(PublishBatchRequest request) {
1208+
return amazonSNSToBeExtended.publishBatch(request);
1209+
}
1210+
1211+
/**
1212+
* Verifies a destination phone number with a one-time password (OTP) for the calling AWS account.
1213+
*
1214+
* @param request
1215+
* @return Result of the VerifySMSSandboxPhoneNumber operation returned by the service.
1216+
*/
1217+
@Override
1218+
public VerifySMSSandboxPhoneNumberResult verifySMSSandboxPhoneNumber(VerifySMSSandboxPhoneNumberRequest request) {
1219+
return amazonSNSToBeExtended.verifySMSSandboxPhoneNumber(request);
1220+
}
11421221
}

0 commit comments

Comments
 (0)