Class: Aws::CodeStarNotifications::Types::UpdateNotificationRuleRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:name]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

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

Returns:

  • (String)


855
856
857
858
859
860
861
862
863
864
# File 'gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/types.rb', line 855

class UpdateNotificationRuleRequest < Struct.new(
  :arn,
  :name,
  :status,
  :event_type_ids,
  :targets,
  :detail_type)
  SENSITIVE = [:name]
  include Aws::Structure
end

#detail_typeString

The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by CodeStar Notifications and/or the service for the resource for which the notification is created.

Returns:

  • (String)


855
856
857
858
859
860
861
862
863
864
# File 'gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/types.rb', line 855

class UpdateNotificationRuleRequest < Struct.new(
  :arn,
  :name,
  :status,
  :event_type_ids,
  :targets,
  :detail_type)
  SENSITIVE = [:name]
  include Aws::Structure
end

#event_type_idsArray<String>

A list of event types associated with this notification rule. For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.

Returns:

  • (Array<String>)


855
856
857
858
859
860
861
862
863
864
# File 'gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/types.rb', line 855

class UpdateNotificationRuleRequest < Struct.new(
  :arn,
  :name,
  :status,
  :event_type_ids,
  :targets,
  :detail_type)
  SENSITIVE = [:name]
  include Aws::Structure
end

#nameString

The name of the notification rule.

Returns:

  • (String)


855
856
857
858
859
860
861
862
863
864
# File 'gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/types.rb', line 855

class UpdateNotificationRuleRequest < Struct.new(
  :arn,
  :name,
  :status,
  :event_type_ids,
  :targets,
  :detail_type)
  SENSITIVE = [:name]
  include Aws::Structure
end

#statusString

The status of the notification rule. Valid statuses include enabled (sending notifications) or disabled (not sending notifications).

Returns:

  • (String)


855
856
857
858
859
860
861
862
863
864
# File 'gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/types.rb', line 855

class UpdateNotificationRuleRequest < Struct.new(
  :arn,
  :name,
  :status,
  :event_type_ids,
  :targets,
  :detail_type)
  SENSITIVE = [:name]
  include Aws::Structure
end

#targetsArray<Types::Target>

The address and type of the targets to receive notifications from this notification rule.

Returns:



855
856
857
858
859
860
861
862
863
864
# File 'gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/types.rb', line 855

class UpdateNotificationRuleRequest < Struct.new(
  :arn,
  :name,
  :status,
  :event_type_ids,
  :targets,
  :detail_type)
  SENSITIVE = [:name]
  include Aws::Structure
end