inspector_unsubscribe_from_event: Disables the process of sending Amazon Simple Notification...

Description Usage Arguments Request syntax Examples

View source: R/inspector_operations.R

Description

Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.

Usage

1
inspector_unsubscribe_from_event(resourceArn, event, topicArn)

Arguments

resourceArn

[required] The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.

event

[required] The event for which you want to stop receiving SNS notifications.

topicArn

[required] The ARN of the SNS topic to which SNS notifications are sent.

Request syntax

1
2
3
4
5
svc$unsubscribe_from_event(
  resourceArn = "string",
  event = "ASSESSMENT_RUN_STARTED"|"ASSESSMENT_RUN_COMPLETED"|"ASSESSMENT_RUN_STATE_CHANGED"|"FINDING_REPORTED"|"OTHER",
  topicArn = "string"
)

Examples

1
2
3
4
5
6
7
# Disables the process of sending Amazon Simple Notification Service (SNS)
# notifications about a specified event to a specified SNS topic.
svc$unsubscribe_from_event(
  event = "ASSESSMENT_RUN_COMPLETED",
  resourceArn = "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-7sbz2...",
  topicArn = "arn:aws:sns:us-west-2:123456789012:exampletopic"
)

paws.security.identity documentation built on Oct. 30, 2019, 11:26 a.m.