View source: R/codestarnotifications_service.R
codestarnotifications | R Documentation |
This AWS CodeStar Notifications API Reference provides descriptions and usage examples of the operations and data types for the AWS CodeStar Notifications API. You can use the AWS CodeStar Notifications API to work with the following objects:
Notification rules, by calling the following:
create_notification_rule
,
which creates a notification rule for a resource in your account.
delete_notification_rule
,
which deletes a notification rule.
describe_notification_rule
,
which provides information about a notification rule.
list_notification_rules
,
which lists the notification rules associated with your account.
update_notification_rule
,
which changes the name, events, or targets associated with a
notification rule.
subscribe
, which subscribes a
target to a notification rule.
unsubscribe
, which removes a
target from a notification rule.
Targets, by calling the following:
delete_target
, which
removes a notification rule target from a notification rule.
list_targets
, which lists
the targets associated with a notification rule.
Events, by calling the following:
list_event_types
, which
lists the event types you can include in a notification rule.
Tags, by calling the following:
list_tags_for_resource
,
which lists the tags already associated with a notification rule in
your account.
tag_resource
, which
associates a tag you provide with a notification rule in your
account.
untag_resource
, which
removes a tag from a notification rule in your account.
For information about how to use AWS CodeStar Notifications, see the Amazon Web Services Developer Tools Console User Guide.
codestarnotifications(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
svc <- codestarnotifications( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
create_notification_rule | Creates a notification rule for a resource |
delete_notification_rule | Deletes a notification rule for a resource |
delete_target | Deletes a specified target for notifications |
describe_notification_rule | Returns information about a specified notification rule |
list_event_types | Returns information about the event types available for configuring notifications |
list_notification_rules | Returns a list of the notification rules for an Amazon Web Services account |
list_tags_for_resource | Returns a list of the tags associated with a notification rule |
list_targets | Returns a list of the notification rule targets for an Amazon Web Services account |
subscribe | 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 |
tag_resource | Associates a set of provided tags with a notification rule |
unsubscribe | 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 |
untag_resource | Removes the association between one or more provided tags and a notification rule |
update_notification_rule | Updates a notification rule for a resource |
## Not run:
svc <- codestarnotifications()
svc$create_notification_rule(
Foo = 123
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.