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
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#eventString

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

Returns:

  • (String)


3222
3223
3224
3225
3226
3227
3228
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 3222

class UnsubscribeFromEventRequest < Struct.new(
  :resource_arn,
  :event,
  :topic_arn)
  SENSITIVE = []
  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)


3222
3223
3224
3225
3226
3227
3228
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 3222

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

#topic_arnString

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

Returns:

  • (String)


3222
3223
3224
3225
3226
3227
3228
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 3222

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