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

     1  package snsplatformapplicationattribute
     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 SNSPlatformApplicationAttribute
    20  
    21  type SNSPlatformApplicationAttribute int
    22  
    23  const (
    24  	UNKNOWN                   SNSPlatformApplicationAttribute = 0
    25  	PlatformCredential        SNSPlatformApplicationAttribute = 1
    26  	PlatformPrincipal         SNSPlatformApplicationAttribute = 2
    27  	EventEndpointCreated      SNSPlatformApplicationAttribute = 3
    28  	EventEndpointDeleted      SNSPlatformApplicationAttribute = 4
    29  	EventEndpointUpdated      SNSPlatformApplicationAttribute = 5
    30  	EventDeliveryFailure      SNSPlatformApplicationAttribute = 6
    31  	SuccessFeedbackRoleArn    SNSPlatformApplicationAttribute = 7
    32  	FailureFeedbackRoleArn    SNSPlatformApplicationAttribute = 8
    33  	SuccessFeedbackSampleRate SNSPlatformApplicationAttribute = 9
    34  )
    35  
    36  const (
    37  	_SNSPlatformApplicationAttributeKey_0 = "UNKNOWN"
    38  	_SNSPlatformApplicationAttributeKey_1 = "PlatformCredential"
    39  	_SNSPlatformApplicationAttributeKey_2 = "PlatformPrincipal"
    40  	_SNSPlatformApplicationAttributeKey_3 = "EventEndpointCreated"
    41  	_SNSPlatformApplicationAttributeKey_4 = "EventEndpointDeleted"
    42  	_SNSPlatformApplicationAttributeKey_5 = "EventEndpointUpdated"
    43  	_SNSPlatformApplicationAttributeKey_6 = "EventDeliveryFailure"
    44  	_SNSPlatformApplicationAttributeKey_7 = "SuccessFeedbackRoleArn"
    45  	_SNSPlatformApplicationAttributeKey_8 = "FailureFeedbackRoleArn"
    46  	_SNSPlatformApplicationAttributeKey_9 = "SuccessFeedbackSampleRate"
    47  )
    48  
    49  const (
    50  	_SNSPlatformApplicationAttributeCaption_0 = "UNKNOWN"
    51  	_SNSPlatformApplicationAttributeCaption_1 = "PlatformCredential"
    52  	_SNSPlatformApplicationAttributeCaption_2 = "PlatformPrincipal"
    53  	_SNSPlatformApplicationAttributeCaption_3 = "EventEndpointCreated"
    54  	_SNSPlatformApplicationAttributeCaption_4 = "EventEndpointDeleted"
    55  	_SNSPlatformApplicationAttributeCaption_5 = "EventEndpointUpdated"
    56  	_SNSPlatformApplicationAttributeCaption_6 = "EventDeliveryFailure"
    57  	_SNSPlatformApplicationAttributeCaption_7 = "SuccessFeedbackRoleArn"
    58  	_SNSPlatformApplicationAttributeCaption_8 = "FailureFeedbackRoleArn"
    59  	_SNSPlatformApplicationAttributeCaption_9 = "SuccessFeedbackSampleRate"
    60  )
    61  
    62  const (
    63  	_SNSPlatformApplicationAttributeDescription_0 = "UNKNOWN"
    64  	_SNSPlatformApplicationAttributeDescription_1 = "PlatformCredential"
    65  	_SNSPlatformApplicationAttributeDescription_2 = "PlatformPrincipal"
    66  	_SNSPlatformApplicationAttributeDescription_3 = "EventEndpointCreated"
    67  	_SNSPlatformApplicationAttributeDescription_4 = "EventEndpointDeleted"
    68  	_SNSPlatformApplicationAttributeDescription_5 = "EventEndpointUpdated"
    69  	_SNSPlatformApplicationAttributeDescription_6 = "EventDeliveryFailure"
    70  	_SNSPlatformApplicationAttributeDescription_7 = "SuccessFeedbackRoleArn"
    71  	_SNSPlatformApplicationAttributeDescription_8 = "FailureFeedbackRoleArn"
    72  	_SNSPlatformApplicationAttributeDescription_9 = "SuccessFeedbackSampleRate"
    73  )