// Configure Amazon WorkDocs to use Amazon SNS notifications. The endpoint receives
// a confirmation message, and must confirm the subscription. For more information,
// see Subscribe to Notifications
// (https://docs.aws.amazon.com/workdocs/latest/developerguide/subscribe-notifications.html)
// in the Amazon WorkDocs Developer Guide.
Configure Amazon WorkDocs to use Amazon SNS notifications. The endpoint receives
a confirmation message, and must confirm the subscription. For more information,
see Subscribe to Notifications

in the Amazon WorkDocs Developer Guide.
// Configure Amazon WorkDocs to use Amazon SNS notifications . The endpoint receives // a confirmation message and must confirm the subscription . For more information // see Subscribe to Notifications // ( https : // docs . aws . amazon . com / workdocs / latest / developerguide / subscribe - notifications . html ) // in the Amazon WorkDocs Developer Guide .
func (c *Client) CreateNotificationSubscription(ctx context.Context, params *CreateNotificationSubscriptionInput, optFns ...func(*Options)) (*CreateNotificationSubscriptionOutput, error) {
	if params == nil {
		params = &CreateNotificationSubscriptionInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "CreateNotificationSubscription", params, optFns, addOperationCreateNotificationSubscriptionMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*CreateNotificationSubscriptionOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) CreateNotificationSubscription ( ctx context . Context , params * CreateNotificationSubscriptionInput , optFns ... func ( * Options ) ) ( * CreateNotificationSubscriptionOutput , error ) { if params == nil { params = & CreateNotificationSubscriptionInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationCreateNotificationSubscriptionMiddlewares ) if err != nil { return nil , err } out := result . ( * CreateNotificationSubscriptionOutput ) out . ResultMetadata = metadata return out , nil }
Configure Amazon WorkDocs to use Amazon SNS notifications.
Configure Amazon WorkDocs to use Amazon SNS notifications .