types

package
v1.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BadRequestDetails

type BadRequestDetails interface {
	// contains filtered or unexported methods
}

Detailed information about the input that failed to satisfy the constraints specified by a call.

The following types satisfy this interface:

BadRequestDetailsMemberInvalidParameters
Example (OutputUsage)
// Code generated by smithy-go-codegen DO NOT EDIT.

package main

import (
	"fmt"
	"github.com/aws/aws-sdk-go-v2/service/appconfigdata/types"
)

func main() {
	var union types.BadRequestDetails
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.BadRequestDetailsMemberInvalidParameters:
		_ = v.Value // Value is map[string]types.InvalidParameterDetail

	case *types.UnknownUnionMember:
		fmt.Println("unknown tag:", v.Tag)

	default:
		fmt.Println("union is nil or unknown type")

	}
}

var _ map[string]types.InvalidParameterDetail
Output:

type BadRequestDetailsMemberInvalidParameters

type BadRequestDetailsMemberInvalidParameters struct {
	Value map[string]InvalidParameterDetail
	// contains filtered or unexported fields
}

One or more specified parameters are not valid for the call.

type BadRequestException

type BadRequestException struct {
	Message *string

	ErrorCodeOverride *string

	Reason  BadRequestReason
	Details BadRequestDetails
	// contains filtered or unexported fields
}

The input fails to satisfy the constraints specified by the service.

func (*BadRequestException) Error

func (e *BadRequestException) Error() string

func (*BadRequestException) ErrorCode

func (e *BadRequestException) ErrorCode() string

func (*BadRequestException) ErrorFault

func (e *BadRequestException) ErrorFault() smithy.ErrorFault

func (*BadRequestException) ErrorMessage

func (e *BadRequestException) ErrorMessage() string

type BadRequestReason

type BadRequestReason string
const (
	// Indicates there was a problem with one or more of the parameters. See
	// InvalidParameters in the BadRequestDetails for more information.
	BadRequestReasonInvalidParameters BadRequestReason = "InvalidParameters"
)

Enum values for BadRequestReason

func (BadRequestReason) Values

Values returns all known values for BadRequestReason. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type InternalServerException

type InternalServerException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

There was an internal failure in the service.

func (*InternalServerException) Error

func (e *InternalServerException) Error() string

func (*InternalServerException) ErrorCode

func (e *InternalServerException) ErrorCode() string

func (*InternalServerException) ErrorFault

func (e *InternalServerException) ErrorFault() smithy.ErrorFault

func (*InternalServerException) ErrorMessage

func (e *InternalServerException) ErrorMessage() string

type InvalidParameterDetail

type InvalidParameterDetail struct {

	// The reason the parameter is invalid.
	Problem InvalidParameterProblem
	// contains filtered or unexported fields
}

Information about an invalid parameter.

type InvalidParameterProblem

type InvalidParameterProblem string
const (
	// The parameter was corrupted and could not be understood by the service.
	InvalidParameterProblemCorrupted InvalidParameterProblem = "Corrupted"
	// The parameter was expired and can no longer be used.
	InvalidParameterProblemExpired InvalidParameterProblem = "Expired"
	// The client called the service before the time specified in the poll interval.
	InvalidParameterProblemPollIntervalNotSatisfied InvalidParameterProblem = "PollIntervalNotSatisfied"
)

Enum values for InvalidParameterProblem

func (InvalidParameterProblem) Values

Values returns all known values for InvalidParameterProblem. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string

	ErrorCodeOverride *string

	ResourceType ResourceType
	ReferencedBy map[string]string
	// contains filtered or unexported fields
}

The requested resource could not be found.

func (*ResourceNotFoundException) Error

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) ErrorFault

func (*ResourceNotFoundException) ErrorMessage

func (e *ResourceNotFoundException) ErrorMessage() string

type ResourceType

type ResourceType string
const (
	// Resource type value for the Application resource.
	ResourceTypeApplication ResourceType = "Application"
	// Resource type value for the ConfigurationProfile resource.
	ResourceTypeConfigurationProfile ResourceType = "ConfigurationProfile"
	// Resource type value for the Deployment resource.
	ResourceTypeDeployment ResourceType = "Deployment"
	// Resource type value for the Environment resource.
	ResourceTypeEnvironment ResourceType = "Environment"
	// Resource type value for the Configuration resource.
	ResourceTypeConfiguration ResourceType = "Configuration"
)

Enum values for ResourceType

func (ResourceType) Values

func (ResourceType) Values() []ResourceType

Values returns all known values for ResourceType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ThrottlingException

type ThrottlingException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The request was denied due to request throttling.

func (*ThrottlingException) Error

func (e *ThrottlingException) Error() string

func (*ThrottlingException) ErrorCode

func (e *ThrottlingException) ErrorCode() string

func (*ThrottlingException) ErrorFault

func (e *ThrottlingException) ErrorFault() smithy.ErrorFault

func (*ThrottlingException) ErrorMessage

func (e *ThrottlingException) ErrorMessage() string

type UnknownUnionMember

type UnknownUnionMember struct {
	Tag   string
	Value []byte
	// contains filtered or unexported fields
}

UnknownUnionMember is returned when a union member is returned over the wire, but has an unknown tag.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL