You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Inspector::Types::UnsubscribeFromEventRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UnsubscribeFromEventRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  resource_arn: "Arn", # required
  event: "ASSESSMENT_RUN_STARTED", # required, accepts ASSESSMENT_RUN_STARTED, ASSESSMENT_RUN_COMPLETED, ASSESSMENT_RUN_STATE_CHANGED, FINDING_REPORTED, OTHER
  topic_arn: "Arn", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#eventString

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

Possible values:

  • ASSESSMENT_RUN_STARTED
  • ASSESSMENT_RUN_COMPLETED
  • ASSESSMENT_RUN_STATE_CHANGED
  • FINDING_REPORTED
  • OTHER

Returns:

  • (String)

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

#resource_arnString

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

Returns:

  • (String)

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

#topic_arnString

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

Returns:

  • (String)

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