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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb

Overview

Note:

When making an API call, you may pass UnsubscribeFromEventRequest data as a 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.

Returns:

  • (String)


2430
2431
2432
2433
2434
2435
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2430

class UnsubscribeFromEventRequest < Struct.new(
  :resource_arn,
  :event,
  :topic_arn)
  include Aws::Structure
end

#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)


2430
2431
2432
2433
2434
2435
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2430

class UnsubscribeFromEventRequest < Struct.new(
  :resource_arn,
  :event,
  :topic_arn)
  include Aws::Structure
end

#topic_arnString

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

Returns:

  • (String)


2430
2431
2432
2433
2434
2435
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2430

class UnsubscribeFromEventRequest < Struct.new(
  :resource_arn,
  :event,
  :topic_arn)
  include Aws::Structure
end