Class: Aws::WorkDocs::Types::CreateNotificationSubscriptionRequest

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

Overview

Note:

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

{
  organization_id: "IdType", # required
  endpoint: "SubscriptionEndPointType", # required
  protocol: "HTTPS", # required, accepts HTTPS
  subscription_type: "ALL", # required, accepts ALL
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#endpointString

The endpoint to receive the notifications. If the protocol is HTTPS, the endpoint is a URL that begins with https.

Returns:

  • (String)


557
558
559
560
561
562
563
564
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 557

class CreateNotificationSubscriptionRequest < Struct.new(
  :organization_id,
  :endpoint,
  :protocol,
  :subscription_type)
  SENSITIVE = []
  include Aws::Structure
end

#organization_idString

The ID of the organization.

Returns:

  • (String)


557
558
559
560
561
562
563
564
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 557

class CreateNotificationSubscriptionRequest < Struct.new(
  :organization_id,
  :endpoint,
  :protocol,
  :subscription_type)
  SENSITIVE = []
  include Aws::Structure
end

#protocolString

The protocol to use. The supported value is https, which delivers JSON-encoded messages using HTTPS POST.

Returns:

  • (String)


557
558
559
560
561
562
563
564
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 557

class CreateNotificationSubscriptionRequest < Struct.new(
  :organization_id,
  :endpoint,
  :protocol,
  :subscription_type)
  SENSITIVE = []
  include Aws::Structure
end

#subscription_typeString

The notification type.

Returns:

  • (String)


557
558
559
560
561
562
563
564
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 557

class CreateNotificationSubscriptionRequest < Struct.new(
  :organization_id,
  :endpoint,
  :protocol,
  :subscription_type)
  SENSITIVE = []
  include Aws::Structure
end