Documentation
¶
Overview ¶
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PatchAndPostRewardBody ¶
type PatchAndPostRewardBody struct {
Title string `json:"title"`
Cost *int `json:"cost"`
RewardPrompt string `json:"prompt"`
IsEnabled *bool `json:"is_enabled"`
BackgroundColor string `json:"background_color"`
IsUserInputRequired bool `json:"is_user_input_required"`
StreamMaxEnabled bool `json:"is_max_per_stream_enabled"`
StreamMaxCount int `json:"max_per_stream"`
StreamUserMaxEnabled bool `json:"is_max_per_user_per_stream_enabled"`
StreamUserMaxCount int `json:"max_per_user_per_stream"`
GlobalCooldownEnabled bool `json:"is_global_cooldown_enabled"`
GlobalCooldownSeconds int `json:"global_cooldown_seconds"`
ShouldRedemptionsSkipQueue bool `json:"should_redemptions_skip_request_queue"`
}
type PatchRedemptionBody ¶
type PatchRedemptionBody struct {
Status string `json:"status"`
}
type Redemption ¶
type Redemption struct{}
func (Redemption) GetRequiredScopes ¶
func (e Redemption) GetRequiredScopes(method string) []string
func (Redemption) Path ¶
func (e Redemption) Path() string
func (Redemption) ServeHTTP ¶
func (e Redemption) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (Redemption) ValidMethod ¶
func (e Redemption) ValidMethod(method string) bool
Click to show internal directories.
Click to hide internal directories.