public class SMSDeliveryReports extends Object
Constructor and Description |
---|
SMSDeliveryReports(RetrieveCloudWatchLogs cloudwatchLogs) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Shuts down the client object, releasing any resources that might be held open.
|
List<com.amazonaws.services.logs.model.OutputLogEvent> |
getAllDeliveryReports()
Generates all Delivery Reports
|
RetrieveCloudWatchLogs |
getCloudwatchLogs()
Interacts with Amazon CloudWatch to retrieve logs
|
List<com.amazonaws.services.logs.model.OutputLogEvent> |
getDeliveryReportsFromLogGroup(String logGroupName)
Generates Delivery Reports from a specified LogGroup
|
List<com.amazonaws.services.logs.model.OutputLogEvent> |
getDeliveryReportsFromLogGroupNamePrefix(String logGroupNamePrefix)
Generates Delivery Reports from a specified LogGroup containing the LogGroupNamePrefix
|
List<com.amazonaws.services.logs.model.OutputLogEvent> |
getDeliveryReportsFromLogStream(String logGroupName,
String logStreamName)
Generates Delivery Reports from a specified LogStream of specified LogGroup
|
List<com.amazonaws.services.logs.model.OutputLogEvent> |
getDeliveryReportsFromLogStreamNamePrefix(String logGroupName,
String logStreamNamePrefix)
Generates Delivery Reports from a specified LogStream of specified LogGroup
|
DeliveryStatus |
getDeliveryStatus(com.amazonaws.services.logs.model.OutputLogEvent logEvent)
Retrieves Delivery Status from a given Report
|
List<com.amazonaws.services.logs.model.OutputLogEvent> |
getMessageIdDeliveryReportFromList(String messageId,
List<com.amazonaws.services.logs.model.OutputLogEvent> logEvents)
Retrieves Delivery Report of given Message Id from a given list of Log Events
|
List<com.amazonaws.services.logs.model.OutputLogEvent> |
getMessageIdDeliveryReports(String messageId,
String logGroupName,
String logStreamName)
Generates Delivery Reports of given Message Id
|
void |
setCloudwatchLogs(RetrieveCloudWatchLogs cloudwatchLogs)
Interacts with Amazon CloudWatch to retrieve logs
|
public SMSDeliveryReports(RetrieveCloudWatchLogs cloudwatchLogs)
public List<com.amazonaws.services.logs.model.OutputLogEvent> getAllDeliveryReports()
public List<com.amazonaws.services.logs.model.OutputLogEvent> getDeliveryReportsFromLogGroup(String logGroupName)
logGroupName
- : Log Group to generate delivery reports fromLogGroup
public List<com.amazonaws.services.logs.model.OutputLogEvent> getDeliveryReportsFromLogGroupNamePrefix(String logGroupNamePrefix)
logGroupNamePrefix
- : Log Group Name prefix to match to generate delivery reports fromLogGroup
public List<com.amazonaws.services.logs.model.OutputLogEvent> getDeliveryReportsFromLogStream(String logGroupName, String logStreamName)
logGroupName
- : Log Group to generate delivery reports fromlogStreamName
- : Log Stream to generate delivery reports fromLogGroup
,
LogStream
public List<com.amazonaws.services.logs.model.OutputLogEvent> getDeliveryReportsFromLogStreamNamePrefix(String logGroupName, String logStreamNamePrefix)
logGroupName
- : Log Group to generate delivery reports fromlogStreamNamePrefix
- : Log Stream containing logStreamNamePrefix to generate delivery reports fromLogGroup
,
LogStream
public List<com.amazonaws.services.logs.model.OutputLogEvent> getMessageIdDeliveryReports(String messageId, String logGroupName, String logStreamName)
logGroupName
- : Log Group to generate delivery reports fromlogStreamName
- : Log Stream to generate delivery reports frompublic List<com.amazonaws.services.logs.model.OutputLogEvent> getMessageIdDeliveryReportFromList(String messageId, List<com.amazonaws.services.logs.model.OutputLogEvent> logEvents)
public DeliveryStatus getDeliveryStatus(com.amazonaws.services.logs.model.OutputLogEvent logEvent)
public void close()
AmazonWebServiceClient.shutdown()
public RetrieveCloudWatchLogs getCloudwatchLogs()
RetrieveCloudWatchLogs
public void setCloudwatchLogs(RetrieveCloudWatchLogs cloudwatchLogs)
RetrieveCloudWatchLogs
Copyright © 2018. All rights reserved.