Class: Aws::CodeStarNotifications::Types::UnsubscribeRequest

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

Overview

Note:

When making an API call, you may pass UnsubscribeRequest data as a hash:

{
  arn: "NotificationRuleArn", # required
  target_address: "TargetAddress", # required
}

Constant Summary collapse

SENSITIVE =
[:target_address]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the notification rule.

Returns:

  • (String)


895
896
897
898
899
900
# File 'gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/types.rb', line 895

class UnsubscribeRequest < Struct.new(
  :arn,
  :target_address)
  SENSITIVE = [:target_address]
  include Aws::Structure
end

#target_addressString

The ARN of the SNS topic to unsubscribe from the notification rule.

Returns:

  • (String)


895
896
897
898
899
900
# File 'gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/types.rb', line 895

class UnsubscribeRequest < Struct.new(
  :arn,
  :target_address)
  SENSITIVE = [:target_address]
  include Aws::Structure
end