github.com/aldelo/common@v1.5.1/wrapper/sns/snsprotocol/snsprotocol.go (about)

     1  package snsprotocol
     2  
     3  /*
     4   * Copyright 2020-2023 Aldelo, LP
     5   *
     6   * Licensed under the Apache License, Version 2.0 (the "License");
     7   * you may not use this file except in compliance with the License.
     8   * You may obtain a copy of the License at
     9   *
    10   *     http://www.apache.org/licenses/LICENSE-2.0
    11   *
    12   * Unless required by applicable law or agreed to in writing, software
    13   * distributed under the License is distributed on an "AS IS" BASIS,
    14   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    15   * See the License for the specific language governing permissions and
    16   * limitations under the License.
    17   */
    18  
    19  // go:generate gen-enumer -type SNSProtocol
    20  
    21  type SNSProtocol int
    22  
    23  const (
    24  	UNKNOWN             SNSProtocol = 0
    25  	Http                SNSProtocol = 1
    26  	Https               SNSProtocol = 2
    27  	Email               SNSProtocol = 3
    28  	EmailJson           SNSProtocol = 4
    29  	Sms                 SNSProtocol = 5
    30  	Sqs                 SNSProtocol = 6
    31  	ApplicationEndpoint SNSProtocol = 7
    32  	Lambda              SNSProtocol = 8
    33  )
    34  
    35  const (
    36  	_SNSProtocolKey_0 = "UNKNOWN"
    37  	_SNSProtocolKey_1 = "http"
    38  	_SNSProtocolKey_2 = "https"
    39  	_SNSProtocolKey_3 = "email"
    40  	_SNSProtocolKey_4 = "email-json"
    41  	_SNSProtocolKey_5 = "sms"
    42  	_SNSProtocolKey_6 = "sqs"
    43  	_SNSProtocolKey_7 = "application"
    44  	_SNSProtocolKey_8 = "lambda"
    45  )
    46  
    47  const (
    48  	_SNSProtocolCaption_0 = "UNKNOWN"
    49  	_SNSProtocolCaption_1 = "Http"
    50  	_SNSProtocolCaption_2 = "Https"
    51  	_SNSProtocolCaption_3 = "Email"
    52  	_SNSProtocolCaption_4 = "EmailJson"
    53  	_SNSProtocolCaption_5 = "Sms"
    54  	_SNSProtocolCaption_6 = "Sqs"
    55  	_SNSProtocolCaption_7 = "ApplicationEndpoint"
    56  	_SNSProtocolCaption_8 = "Lambda"
    57  )
    58  
    59  const (
    60  	_SNSProtocolDescription_0 = "UNKNOWN"
    61  	_SNSProtocolDescription_1 = "Http"
    62  	_SNSProtocolDescription_2 = "Https"
    63  	_SNSProtocolDescription_3 = "Email"
    64  	_SNSProtocolDescription_4 = "EmailJson"
    65  	_SNSProtocolDescription_5 = "Sms"
    66  	_SNSProtocolDescription_6 = "Sqs"
    67  	_SNSProtocolDescription_7 = "ApplicationEndpoint"
    68  	_SNSProtocolDescription_8 = "Lambda"
    69  )