// https://docs.aws.amazon.com/sns/latest/dg/sns-monitoring-using-cloudwatch.html export const AwsSnsManagedMetricName = { NUMBER_OF_MESSAGES_PUBLISHED: "NumberOfMessagesPublished", NUMBER_OF_NOTIFICATIONS_DELIVERED: "NumberOfNotificationsDelivered", NUMBER_OF_NOTIFICATIONS_FAILED: "NumberOfNotificationsFailed", NUMBER_OF_NOTIFICATIONS_FILTERED_OUT: "NumberOfNotificationsFilteredOut", NUMBER_OF_NOTIFICATIONS_FILTERED_OUT_INVALID_ATTRIBUTES: "NumberOfNotificationsFilteredOut-InvalidAttributes", NUMBER_OF_NOTIFICATIONS_FILTERED_OUT_NO_MESSAGE_ATTRIBUTES: "NumberOfNotificationsFilteredOut-NoMessageAttributes", NUMBER_OF_NOTIFICATIONS_REDRIVEN_TO_DLQ: "NumberOfNotificationsRedrivenToDlq", NUMBER_OF_NOTIFICATIONS_FAILED_TO_REDRIVE_TO_DLQ: "NumberOfNotificationsFailedToRedriveToDlq", PUBLISH_SIZE: "PublishSize", SMS_MONTH_TO_DATE_SPENT_USD: "SMSMonthToDateSpentUSD", SMS_SUCCESS_RATE: "SMSSuccessRate", }; export const AwsSnsManagedDimensionName = { APPLICATION: "Application", COUNTRY: "Country", PLATFORM: "Platform", TOPIC_NAME: "TopicName", SMS_TYPE: "SMSType", }; // https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonsns.html export const AwsSnsIamPolicyAction = { ADD_PERMISSION: "sns:AddPermission", CHECK_IF_PHONE_NUMBER_IS_OPTED_OUT: "sns:CheckIfPhoneNumberIsOptedOut", CONFIRM_SUBSCRIPTION: "sns:ConfirmSubscription", CREATE_PLATFORM_APPLICATION: "sns:CreatePlatformApplication", CREATE_PLATFORM_ENDPOINT: "sns:CreatePlatformEndpoint", CREATE_SMS_SANDBOX_PHONE_NUMBER: "sns:CreateSMSSandboxPhoneNumber", CREATE_TOPIC: "sns:CreateTopic", DELETE_ENDPOINT: "sns:DeleteEndpoint", DELETE_PLATFORM_APPLICATION: "sns:DeletePlatformApplication", DELETE_SMS_SANDBOX_PHONE_NUMBER: "sns:DeleteSMSSandboxPhoneNumber", DELETE_TOPIC: "sns:DeleteTopic", GET_ENDPOINT_ATTRIBUTES: "sns:GetEndpointAttributes", GET_PLATFORM_APPLICATION_ATTRIBUTES: "sns:GetPlatformApplicationAttributes", GET_SMS_ATTRIBUTES: "sns:GetSMSAttributes", GET_SMS_SANDBOX_ACCOUNT_STATUS: "sns:GetSMSSandboxAccountStatus", GET_SUBSCRIPTION_ATTRIBUTES: "sns:GetSubscriptionAttributes", GET_TOPIC_ATTRIBUTES: "sns:GetTopicAttributes", LIST_ENDPOINTS_BY_PLATFORM_APPLICATION: "sns:ListEndpointsByPlatformApplication", LIST_ORIGINATION_NUMBERS: "sns:ListOriginationNumbers", LIST_PHONE_NUMBERS_OPTED_OUT: "sns:ListPhoneNumbersOptedOut", LIST_PLATFORM_APPLICATIONS: "sns:ListPlatformApplications", LIST_SMS_SANDBOX_PHONE_NUMBERS: "sns:ListSMSSandboxPhoneNumbers", LIST_SUBSCRIPTIONS: "sns:ListSubscriptions", LIST_SUBSCRIPTIONS_BY_TOPIC: "sns:ListSubscriptionsByTopic", LIST_TAGS_FOR_RESOURCE: "sns:ListTagsForResource", LIST_TOPICS: "sns:ListTopics", OPT_IN_PHONE_NUMBER: "sns:OptInPhoneNumber", PUBLISH: "sns:Publish", REMOVE_PERMISSION: "sns:RemovePermission", SET_ENDPOINT_ATTRIBUTES: "sns:SetEndpointAttributes", SET_PLATFORM_APPLICATION_ATTRIBUTES: "sns:SetPlatformApplicationAttributes", SET_SMS_ATTRIBUTES: "sns:SetSMSAttributes", SET_SUBSCRIPTION_ATTRIBUTES: "sns:SetSubscriptionAttributes", SET_TOPIC_ATTRIBUTES: "sns:SetTopicAttributes", SUBSCRIBE: "sns:Subscribe", TAG_RESOURCE: "sns:TagResource", UNSUBSCRIBE: "sns:Unsubscribe", UNTAG_RESOURCE: "sns:UntagResource", VERIFY_SMS_SANDBOX_PHONE_NUMBER: "sns:VerifySMSSandboxPhoneNumber", };