CmdID

CmdID / aws / aws workdocs

aws workdocs create-notification-subscription

Configure Amazon WorkDocs to use Amazon SNS notifications. AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To create a notification subscription

The following create-notification-subscription example configures a notification subscription for the specified Amazon WorkDocs organization.

aws workdocs create-notification-subscription --organization-id d-123456789c --protocol HTTPS --subscription-type ALL --notification-endpoint "https://example.com/example"Identify
--organization-idThe ID of the organization.
--protocolThe protocol to use.
--subscription-typeThe notification type.
--notification-endpointThe endpoint to receive the notifications.
Its output
{
    "Subscription": {
        "SubscriptionId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
        "EndPoint": "https://example.com/example",
        "Protocol": "HTTPS"
    }
}

Options

4 in the AWS CLI reference
--notification-endpointThe endpoint to receive the notifications.
--organization-idThe ID of the organization.
--protocolThe protocol to use.
--subscription-typeThe notification type.