Class: Aws::CodeStarNotifications::Types::SubscribeRequest

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 SubscribeRequest data as a hash:

{
  arn: "NotificationRuleArn", # required
  target: { # required
    target_type: "TargetType",
    target_address: "TargetAddress",
  },
  client_request_token: "ClientRequestToken",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the notification rule for which you want to create the association.

Returns:

  • (String)


765
766
767
768
769
770
771
# File 'gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/types.rb', line 765

class SubscribeRequest < Struct.new(
  :arn,
  :target,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#client_request_tokenString

An enumeration token that, when provided in a request, returns the next batch of the results.

Returns:

  • (String)


765
766
767
768
769
770
771
# File 'gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/types.rb', line 765

class SubscribeRequest < Struct.new(
  :arn,
  :target,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#targetTypes::Target

Information about the SNS topics associated with a notification rule.

Returns:



765
766
767
768
769
770
771
# File 'gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/types.rb', line 765

class SubscribeRequest < Struct.new(
  :arn,
  :target,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end