{ "version": "2010-03-31", "metadata": { "endpoint_prefix": "sns", "regional_endpoints": { "ap-northeast-1": "sns.ap-northeast-1.amazonaws.com", "ap-southeast-1": "sns.ap-southeast-1.amazonaws.com", "ap-southeast-2": "sns.ap-southeast-2.amazonaws.com", "cn-north-1": "sns.cn-north-1.amazonaws.com.cn", "eu-west-1": "sns.eu-west-1.amazonaws.com", "sa-east-1": "sns.sa-east-1.amazonaws.com", "us-east-1": "sns.us-east-1.amazonaws.com", "us-gov-west-1": "sns.us-gov-west-1.amazonaws.com", "us-west-1": "sns.us-west-1.amazonaws.com", "us-west-2": "sns.us-west-2.amazonaws.com" }, "service_abbreviation": "Amazon SNS", "service_class_name": "SNS", "service_full_name": "Amazon Simple Notification Service" }, "plugins": [ "Seahorse::Client::Plugins::Logging", "Seahorse::Client::Plugins::RestfulBindings", "Seahorse::Client::Plugins::ContentLength", "Aws::Plugins::UserAgent", "Aws::Plugins::RetryErrors", "Aws::Plugins::GlobalConfiguration", "Aws::Plugins::RegionalEndpoint", "Aws::Plugins::ResponsePaging", "Aws::Plugins::Credentials", "Aws::Plugins::QueryProtocol", "Aws::Plugins::SignatureV4" ], "operations": { "add_permission": { "name": "AddPermission", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "topic_arn": { "type": "string", "required": true, "serialized_name": "TopicArn" }, "label": { "type": "string", "required": true, "serialized_name": "Label" }, "aws_account_id": { "type": "list", "required": true, "serialized_name": "AWSAccountId", "members": { "type": "string" } }, "action_name": { "type": "list", "required": true, "serialized_name": "ActionName", "members": { "type": "string" } } } } }, "confirm_subscription": { "name": "ConfirmSubscription", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "topic_arn": { "type": "string", "required": true, "serialized_name": "TopicArn" }, "token": { "type": "string", "required": true, "serialized_name": "Token" }, "authenticate_on_unsubscribe": { "type": "string", "serialized_name": "AuthenticateOnUnsubscribe" } } }, "output": { "type": "output", "metadata": { "wrapper": "ConfirmSubscriptionResult" }, "members": { "subscription_arn": { "type": "string", "serialized_name": "SubscriptionArn" } } } }, "create_platform_application": { "name": "CreatePlatformApplication", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "name": { "type": "string", "required": true, "serialized_name": "Name" }, "platform": { "type": "string", "required": true, "serialized_name": "Platform" }, "attributes": { "type": "map", "required": true, "serialized_name": "Attributes", "keys": { "type": "string" }, "members": { "type": "string" } } } }, "output": { "type": "output", "metadata": { "wrapper": "CreatePlatformApplicationResult" }, "members": { "platform_application_arn": { "type": "string", "serialized_name": "PlatformApplicationArn" } } } }, "create_platform_endpoint": { "name": "CreatePlatformEndpoint", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "platform_application_arn": { "type": "string", "required": true, "serialized_name": "PlatformApplicationArn" }, "token": { "type": "string", "required": true, "serialized_name": "Token" }, "custom_user_data": { "type": "string", "serialized_name": "CustomUserData" }, "attributes": { "type": "map", "serialized_name": "Attributes", "keys": { "type": "string" }, "members": { "type": "string" } } } }, "output": { "type": "output", "metadata": { "wrapper": "CreatePlatformEndpointResult" }, "members": { "endpoint_arn": { "type": "string", "serialized_name": "EndpointArn" } } } }, "create_topic": { "name": "CreateTopic", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "name": { "type": "string", "required": true, "serialized_name": "Name" } } }, "output": { "type": "output", "metadata": { "wrapper": "CreateTopicResult" }, "members": { "topic_arn": { "type": "string", "serialized_name": "TopicArn" } } } }, "delete_endpoint": { "name": "DeleteEndpoint", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "endpoint_arn": { "type": "string", "required": true, "serialized_name": "EndpointArn" } } } }, "delete_platform_application": { "name": "DeletePlatformApplication", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "platform_application_arn": { "type": "string", "required": true, "serialized_name": "PlatformApplicationArn" } } } }, "delete_topic": { "name": "DeleteTopic", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "topic_arn": { "type": "string", "required": true, "serialized_name": "TopicArn" } } } }, "get_endpoint_attributes": { "name": "GetEndpointAttributes", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "endpoint_arn": { "type": "string", "required": true, "serialized_name": "EndpointArn" } } }, "output": { "type": "output", "metadata": { "wrapper": "GetEndpointAttributesResult" }, "members": { "attributes": { "type": "map", "serialized_name": "Attributes", "keys": { "type": "string" }, "members": { "type": "string" } } } } }, "get_platform_application_attributes": { "name": "GetPlatformApplicationAttributes", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "platform_application_arn": { "type": "string", "required": true, "serialized_name": "PlatformApplicationArn" } } }, "output": { "type": "output", "metadata": { "wrapper": "GetPlatformApplicationAttributesResult" }, "members": { "attributes": { "type": "map", "serialized_name": "Attributes", "keys": { "type": "string" }, "members": { "type": "string" } } } } }, "get_subscription_attributes": { "name": "GetSubscriptionAttributes", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "subscription_arn": { "type": "string", "required": true, "serialized_name": "SubscriptionArn" } } }, "output": { "type": "output", "metadata": { "wrapper": "GetSubscriptionAttributesResult" }, "members": { "attributes": { "type": "map", "serialized_name": "Attributes", "keys": { "type": "string" }, "members": { "type": "string" } } } } }, "get_topic_attributes": { "name": "GetTopicAttributes", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "topic_arn": { "type": "string", "required": true, "serialized_name": "TopicArn" } } }, "output": { "type": "output", "metadata": { "wrapper": "GetTopicAttributesResult" }, "members": { "attributes": { "type": "map", "serialized_name": "Attributes", "keys": { "type": "string" }, "members": { "type": "string" } } } } }, "list_endpoints_by_platform_application": { "name": "ListEndpointsByPlatformApplication", "http_method": "POST", "http_path": "/", "metadata": { "paging": { "tokens": { "next_token": "next_token" } } }, "input": { "type": "input", "members": { "platform_application_arn": { "type": "string", "required": true, "serialized_name": "PlatformApplicationArn" }, "next_token": { "type": "string", "serialized_name": "NextToken" } } }, "output": { "type": "output", "metadata": { "wrapper": "ListEndpointsByPlatformApplicationResult" }, "members": { "endpoints": { "type": "list", "serialized_name": "Endpoints", "members": { "type": "structure", "members": { "endpoint_arn": { "type": "string", "serialized_name": "EndpointArn" }, "attributes": { "type": "map", "serialized_name": "Attributes", "keys": { "type": "string" }, "members": { "type": "string" } } } } }, "next_token": { "type": "string", "serialized_name": "NextToken" } } } }, "list_platform_applications": { "name": "ListPlatformApplications", "http_method": "POST", "http_path": "/", "metadata": { "paging": { "tokens": { "next_token": "next_token" } } }, "input": { "type": "input", "members": { "next_token": { "type": "string", "serialized_name": "NextToken" } } }, "output": { "type": "output", "metadata": { "wrapper": "ListPlatformApplicationsResult" }, "members": { "platform_applications": { "type": "list", "serialized_name": "PlatformApplications", "members": { "type": "structure", "members": { "platform_application_arn": { "type": "string", "serialized_name": "PlatformApplicationArn" }, "attributes": { "type": "map", "serialized_name": "Attributes", "keys": { "type": "string" }, "members": { "type": "string" } } } } }, "next_token": { "type": "string", "serialized_name": "NextToken" } } } }, "list_subscriptions": { "name": "ListSubscriptions", "http_method": "POST", "http_path": "/", "metadata": { "paging": { "tokens": { "next_token": "next_token" } } }, "input": { "type": "input", "members": { "next_token": { "type": "string", "serialized_name": "NextToken" } } }, "output": { "type": "output", "metadata": { "wrapper": "ListSubscriptionsResult" }, "members": { "subscriptions": { "type": "list", "serialized_name": "Subscriptions", "members": { "type": "structure", "members": { "subscription_arn": { "type": "string", "serialized_name": "SubscriptionArn" }, "owner": { "type": "string", "serialized_name": "Owner" }, "protocol": { "type": "string", "serialized_name": "Protocol" }, "endpoint": { "type": "string", "serialized_name": "Endpoint" }, "topic_arn": { "type": "string", "serialized_name": "TopicArn" } } } }, "next_token": { "type": "string", "serialized_name": "NextToken" } } } }, "list_subscriptions_by_topic": { "name": "ListSubscriptionsByTopic", "http_method": "POST", "http_path": "/", "metadata": { "paging": { "tokens": { "next_token": "next_token" } } }, "input": { "type": "input", "members": { "topic_arn": { "type": "string", "required": true, "serialized_name": "TopicArn" }, "next_token": { "type": "string", "serialized_name": "NextToken" } } }, "output": { "type": "output", "metadata": { "wrapper": "ListSubscriptionsByTopicResult" }, "members": { "subscriptions": { "type": "list", "serialized_name": "Subscriptions", "members": { "type": "structure", "members": { "subscription_arn": { "type": "string", "serialized_name": "SubscriptionArn" }, "owner": { "type": "string", "serialized_name": "Owner" }, "protocol": { "type": "string", "serialized_name": "Protocol" }, "endpoint": { "type": "string", "serialized_name": "Endpoint" }, "topic_arn": { "type": "string", "serialized_name": "TopicArn" } } } }, "next_token": { "type": "string", "serialized_name": "NextToken" } } } }, "list_topics": { "name": "ListTopics", "http_method": "POST", "http_path": "/", "metadata": { "paging": { "tokens": { "next_token": "next_token" } } }, "input": { "type": "input", "members": { "next_token": { "type": "string", "serialized_name": "NextToken" } } }, "output": { "type": "output", "metadata": { "wrapper": "ListTopicsResult" }, "members": { "topics": { "type": "list", "serialized_name": "Topics", "members": { "type": "structure", "members": { "topic_arn": { "type": "string", "serialized_name": "TopicArn" } } } }, "next_token": { "type": "string", "serialized_name": "NextToken" } } } }, "publish": { "name": "Publish", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "topic_arn": { "type": "string", "serialized_name": "TopicArn" }, "target_arn": { "type": "string", "serialized_name": "TargetArn" }, "message": { "type": "string", "required": true, "serialized_name": "Message" }, "subject": { "type": "string", "serialized_name": "Subject" }, "message_structure": { "type": "string", "serialized_name": "MessageStructure" } } }, "output": { "type": "output", "metadata": { "wrapper": "PublishResult" }, "members": { "message_id": { "type": "string", "serialized_name": "MessageId" } } } }, "remove_permission": { "name": "RemovePermission", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "topic_arn": { "type": "string", "required": true, "serialized_name": "TopicArn" }, "label": { "type": "string", "required": true, "serialized_name": "Label" } } } }, "set_endpoint_attributes": { "name": "SetEndpointAttributes", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "endpoint_arn": { "type": "string", "required": true, "serialized_name": "EndpointArn" }, "attributes": { "type": "map", "required": true, "serialized_name": "Attributes", "keys": { "type": "string" }, "members": { "type": "string" } } } } }, "set_platform_application_attributes": { "name": "SetPlatformApplicationAttributes", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "platform_application_arn": { "type": "string", "required": true, "serialized_name": "PlatformApplicationArn" }, "attributes": { "type": "map", "required": true, "serialized_name": "Attributes", "keys": { "type": "string" }, "members": { "type": "string" } } } } }, "set_subscription_attributes": { "name": "SetSubscriptionAttributes", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "subscription_arn": { "type": "string", "required": true, "serialized_name": "SubscriptionArn" }, "attribute_name": { "type": "string", "required": true, "serialized_name": "AttributeName" }, "attribute_value": { "type": "string", "serialized_name": "AttributeValue" } } } }, "set_topic_attributes": { "name": "SetTopicAttributes", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "topic_arn": { "type": "string", "required": true, "serialized_name": "TopicArn" }, "attribute_name": { "type": "string", "required": true, "serialized_name": "AttributeName" }, "attribute_value": { "type": "string", "serialized_name": "AttributeValue" } } } }, "subscribe": { "name": "Subscribe", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "topic_arn": { "type": "string", "required": true, "serialized_name": "TopicArn" }, "protocol": { "type": "string", "required": true, "serialized_name": "Protocol" }, "endpoint": { "type": "string", "serialized_name": "Endpoint" } } }, "output": { "type": "output", "metadata": { "wrapper": "SubscribeResult" }, "members": { "subscription_arn": { "type": "string", "serialized_name": "SubscriptionArn" } } } }, "unsubscribe": { "name": "Unsubscribe", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "subscription_arn": { "type": "string", "required": true, "serialized_name": "SubscriptionArn" } } } } } }