@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSCodeStarNotifications extends Object implements AWSCodeStarNotifications
AWSCodeStarNotifications
. Convenient method forms pass through to the
corresponding overload that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
CreateNotificationRuleResult |
createNotificationRule(CreateNotificationRuleRequest request)
Creates a notification rule for a resource.
|
DeleteNotificationRuleResult |
deleteNotificationRule(DeleteNotificationRuleRequest request)
Deletes a notification rule for a resource.
|
DeleteTargetResult |
deleteTarget(DeleteTargetRequest request)
Deletes a specified target for notifications.
|
DescribeNotificationRuleResult |
describeNotificationRule(DescribeNotificationRuleRequest request)
Returns information about a specified notification rule.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
ListEventTypesResult |
listEventTypes(ListEventTypesRequest request)
Returns information about the event types available for configuring notifications.
|
ListNotificationRulesResult |
listNotificationRules(ListNotificationRulesRequest request)
Returns a list of the notification rules for an Amazon Web Services account.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Returns a list of the tags associated with a notification rule.
|
ListTargetsResult |
listTargets(ListTargetsRequest request)
Returns a list of the notification rule targets for an Amazon Web Services account.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
SubscribeResult |
subscribe(SubscribeRequest request)
Creates an association between a notification rule and an Chatbot topic or Chatbot client so that the associated
target can receive notifications when the events described in the rule are triggered.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Associates a set of provided tags with a notification rule.
|
UnsubscribeResult |
unsubscribe(UnsubscribeRequest request)
Removes an association between a notification rule and an Chatbot topic so that subscribers to that topic stop
receiving notifications when the events described in the rule are triggered.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes the association between one or more provided tags and a notification rule.
|
UpdateNotificationRuleResult |
updateNotificationRule(UpdateNotificationRuleRequest request)
Updates a notification rule for a resource.
|
public CreateNotificationRuleResult createNotificationRule(CreateNotificationRuleRequest request)
AWSCodeStarNotifications
Creates a notification rule for a resource. The rule specifies the events you want notifications about and the targets (such as Chatbot topics or Chatbot clients configured for Slack) where you want to receive them.
createNotificationRule
in interface AWSCodeStarNotifications
public DeleteNotificationRuleResult deleteNotificationRule(DeleteNotificationRuleRequest request)
AWSCodeStarNotifications
Deletes a notification rule for a resource.
deleteNotificationRule
in interface AWSCodeStarNotifications
public DeleteTargetResult deleteTarget(DeleteTargetRequest request)
AWSCodeStarNotifications
Deletes a specified target for notifications.
deleteTarget
in interface AWSCodeStarNotifications
public DescribeNotificationRuleResult describeNotificationRule(DescribeNotificationRuleRequest request)
AWSCodeStarNotifications
Returns information about a specified notification rule.
describeNotificationRule
in interface AWSCodeStarNotifications
public ListEventTypesResult listEventTypes(ListEventTypesRequest request)
AWSCodeStarNotifications
Returns information about the event types available for configuring notifications.
listEventTypes
in interface AWSCodeStarNotifications
public ListNotificationRulesResult listNotificationRules(ListNotificationRulesRequest request)
AWSCodeStarNotifications
Returns a list of the notification rules for an Amazon Web Services account.
listNotificationRules
in interface AWSCodeStarNotifications
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AWSCodeStarNotifications
Returns a list of the tags associated with a notification rule.
listTagsForResource
in interface AWSCodeStarNotifications
public ListTargetsResult listTargets(ListTargetsRequest request)
AWSCodeStarNotifications
Returns a list of the notification rule targets for an Amazon Web Services account.
listTargets
in interface AWSCodeStarNotifications
public SubscribeResult subscribe(SubscribeRequest request)
AWSCodeStarNotifications
Creates an association between a notification rule and an Chatbot topic or Chatbot client so that the associated target can receive notifications when the events described in the rule are triggered.
subscribe
in interface AWSCodeStarNotifications
public TagResourceResult tagResource(TagResourceRequest request)
AWSCodeStarNotifications
Associates a set of provided tags with a notification rule.
tagResource
in interface AWSCodeStarNotifications
public UnsubscribeResult unsubscribe(UnsubscribeRequest request)
AWSCodeStarNotifications
Removes an association between a notification rule and an Chatbot topic so that subscribers to that topic stop receiving notifications when the events described in the rule are triggered.
unsubscribe
in interface AWSCodeStarNotifications
public UntagResourceResult untagResource(UntagResourceRequest request)
AWSCodeStarNotifications
Removes the association between one or more provided tags and a notification rule.
untagResource
in interface AWSCodeStarNotifications
public UpdateNotificationRuleResult updateNotificationRule(UpdateNotificationRuleRequest request)
AWSCodeStarNotifications
Updates a notification rule for a resource. You can change the events that trigger the notification rule, the status of the rule, and the targets that receive the notifications.
To add or remove tags for a notification rule, you must use TagResource and UntagResource.
updateNotificationRule
in interface AWSCodeStarNotifications
public void shutdown()
AWSCodeStarNotifications
shutdown
in interface AWSCodeStarNotifications
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSCodeStarNotifications
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata
in interface AWSCodeStarNotifications
request
- The originally executed request.