schemas

package
v1.38.32 Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: Apache-2.0 Imports: 10 Imported by: 19

Documentation

Overview

Package schemas provides the client and types for making API requests to Schemas.

Amazon EventBridge Schema Registry

See https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02 for more information on this service.

See schemas package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/schemas/

Using the Client

To contact Schemas with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Schemas client Schemas for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/schemas/#New

Index

Constants

View Source
const (
	// CodeGenerationStatusCreateInProgress is a CodeGenerationStatus enum value
	CodeGenerationStatusCreateInProgress = "CREATE_IN_PROGRESS"

	// CodeGenerationStatusCreateComplete is a CodeGenerationStatus enum value
	CodeGenerationStatusCreateComplete = "CREATE_COMPLETE"

	// CodeGenerationStatusCreateFailed is a CodeGenerationStatus enum value
	CodeGenerationStatusCreateFailed = "CREATE_FAILED"
)
View Source
const (
	// DiscovererStateStarted is a DiscovererState enum value
	DiscovererStateStarted = "STARTED"

	// DiscovererStateStopped is a DiscovererState enum value
	DiscovererStateStopped = "STOPPED"
)
View Source
const (

	// ErrCodeBadRequestException for service response error code
	// "BadRequestException".
	ErrCodeBadRequestException = "BadRequestException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	ErrCodeConflictException = "ConflictException"

	// ErrCodeForbiddenException for service response error code
	// "ForbiddenException".
	ErrCodeForbiddenException = "ForbiddenException"

	// ErrCodeGoneException for service response error code
	// "GoneException".
	ErrCodeGoneException = "GoneException"

	// ErrCodeInternalServerErrorException for service response error code
	// "InternalServerErrorException".
	ErrCodeInternalServerErrorException = "InternalServerErrorException"

	// ErrCodeNotFoundException for service response error code
	// "NotFoundException".
	ErrCodeNotFoundException = "NotFoundException"

	// ErrCodePreconditionFailedException for service response error code
	// "PreconditionFailedException".
	ErrCodePreconditionFailedException = "PreconditionFailedException"

	// ErrCodeServiceUnavailableException for service response error code
	// "ServiceUnavailableException".
	ErrCodeServiceUnavailableException = "ServiceUnavailableException"

	// ErrCodeTooManyRequestsException for service response error code
	// "TooManyRequestsException".
	ErrCodeTooManyRequestsException = "TooManyRequestsException"

	// ErrCodeUnauthorizedException for service response error code
	// "UnauthorizedException".
	ErrCodeUnauthorizedException = "UnauthorizedException"
)
View Source
const (
	ServiceName = "schemas"   // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "schemas"   // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// TypeOpenApi3 is a Type enum value
	TypeOpenApi3 = "OpenApi3"
)

Variables

This section is empty.

Functions

func CodeGenerationStatus_Values added in v1.34.3

func CodeGenerationStatus_Values() []string

CodeGenerationStatus_Values returns all elements of the CodeGenerationStatus enum

func DiscovererState_Values added in v1.34.3

func DiscovererState_Values() []string

DiscovererState_Values returns all elements of the DiscovererState enum

func Type_Values added in v1.34.3

func Type_Values() []string

Type_Values returns all elements of the Type enum

Types

type BadRequestException added in v1.28.0

type BadRequestException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Code_ *string `locationName:"Code" type:"string"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

func (*BadRequestException) Code added in v1.28.0

func (s *BadRequestException) Code() string

Code returns the exception type name.

func (*BadRequestException) Error added in v1.28.0

func (s *BadRequestException) Error() string

func (BadRequestException) GoString added in v1.28.0

func (s BadRequestException) GoString() string

GoString returns the string representation

func (*BadRequestException) Message added in v1.28.0

func (s *BadRequestException) Message() string

Message returns the exception's message.

func (*BadRequestException) OrigErr added in v1.28.0

func (s *BadRequestException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*BadRequestException) RequestID added in v1.28.0

func (s *BadRequestException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*BadRequestException) StatusCode added in v1.28.0

func (s *BadRequestException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (BadRequestException) String added in v1.28.0

func (s BadRequestException) String() string

String returns the string representation

type ConflictException added in v1.28.0

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Code_ *string `locationName:"Code" type:"string"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

func (*ConflictException) Code added in v1.28.0

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error added in v1.28.0

func (s *ConflictException) Error() string

func (ConflictException) GoString added in v1.28.0

func (s ConflictException) GoString() string

GoString returns the string representation

func (*ConflictException) Message added in v1.28.0

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr added in v1.28.0

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID added in v1.28.0

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode added in v1.28.0

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String added in v1.28.0

func (s ConflictException) String() string

String returns the string representation

type CreateDiscovererInput

type CreateDiscovererInput struct {
	Description *string `type:"string"`

	// SourceArn is a required field
	SourceArn *string `min:"20" type:"string" required:"true"`

	// Key-value pairs associated with a resource.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (CreateDiscovererInput) GoString

func (s CreateDiscovererInput) GoString() string

GoString returns the string representation

func (*CreateDiscovererInput) SetDescription

func (s *CreateDiscovererInput) SetDescription(v string) *CreateDiscovererInput

SetDescription sets the Description field's value.

func (*CreateDiscovererInput) SetSourceArn

SetSourceArn sets the SourceArn field's value.

func (*CreateDiscovererInput) SetTags

SetTags sets the Tags field's value.

func (CreateDiscovererInput) String

func (s CreateDiscovererInput) String() string

String returns the string representation

func (*CreateDiscovererInput) Validate

func (s *CreateDiscovererInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDiscovererOutput

type CreateDiscovererOutput struct {
	Description *string `type:"string"`

	DiscovererArn *string `type:"string"`

	DiscovererId *string `type:"string"`

	SourceArn *string `type:"string"`

	State *string `type:"string" enum:"DiscovererState"`

	// Key-value pairs associated with a resource.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (CreateDiscovererOutput) GoString

func (s CreateDiscovererOutput) GoString() string

GoString returns the string representation

func (*CreateDiscovererOutput) SetDescription

SetDescription sets the Description field's value.

func (*CreateDiscovererOutput) SetDiscovererArn

func (s *CreateDiscovererOutput) SetDiscovererArn(v string) *CreateDiscovererOutput

SetDiscovererArn sets the DiscovererArn field's value.

func (*CreateDiscovererOutput) SetDiscovererId

func (s *CreateDiscovererOutput) SetDiscovererId(v string) *CreateDiscovererOutput

SetDiscovererId sets the DiscovererId field's value.

func (*CreateDiscovererOutput) SetSourceArn

SetSourceArn sets the SourceArn field's value.

func (*CreateDiscovererOutput) SetState

SetState sets the State field's value.

func (*CreateDiscovererOutput) SetTags

SetTags sets the Tags field's value.

func (CreateDiscovererOutput) String

func (s CreateDiscovererOutput) String() string

String returns the string representation

type CreateRegistryInput

type CreateRegistryInput struct {
	Description *string `type:"string"`

	// RegistryName is a required field
	RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"`

	// Key-value pairs associated with a resource.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (CreateRegistryInput) GoString

func (s CreateRegistryInput) GoString() string

GoString returns the string representation

func (*CreateRegistryInput) SetDescription

func (s *CreateRegistryInput) SetDescription(v string) *CreateRegistryInput

SetDescription sets the Description field's value.

func (*CreateRegistryInput) SetRegistryName

func (s *CreateRegistryInput) SetRegistryName(v string) *CreateRegistryInput

SetRegistryName sets the RegistryName field's value.

func (*CreateRegistryInput) SetTags

SetTags sets the Tags field's value.

func (CreateRegistryInput) String

func (s CreateRegistryInput) String() string

String returns the string representation

func (*CreateRegistryInput) Validate

func (s *CreateRegistryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateRegistryOutput

type CreateRegistryOutput struct {
	Description *string `type:"string"`

	RegistryArn *string `type:"string"`

	RegistryName *string `type:"string"`

	// Key-value pairs associated with a resource.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (CreateRegistryOutput) GoString

func (s CreateRegistryOutput) GoString() string

GoString returns the string representation

func (*CreateRegistryOutput) SetDescription

func (s *CreateRegistryOutput) SetDescription(v string) *CreateRegistryOutput

SetDescription sets the Description field's value.

func (*CreateRegistryOutput) SetRegistryArn

func (s *CreateRegistryOutput) SetRegistryArn(v string) *CreateRegistryOutput

SetRegistryArn sets the RegistryArn field's value.

func (*CreateRegistryOutput) SetRegistryName

func (s *CreateRegistryOutput) SetRegistryName(v string) *CreateRegistryOutput

SetRegistryName sets the RegistryName field's value.

func (*CreateRegistryOutput) SetTags

SetTags sets the Tags field's value.

func (CreateRegistryOutput) String

func (s CreateRegistryOutput) String() string

String returns the string representation

type CreateSchemaInput

type CreateSchemaInput struct {

	// Content is a required field
	Content *string `min:"1" type:"string" required:"true"`

	Description *string `type:"string"`

	// RegistryName is a required field
	RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"`

	// SchemaName is a required field
	SchemaName *string `location:"uri" locationName:"schemaName" type:"string" required:"true"`

	// Key-value pairs associated with a resource.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// Type is a required field
	Type *string `type:"string" required:"true" enum:"Type"`
	// contains filtered or unexported fields
}

func (CreateSchemaInput) GoString

func (s CreateSchemaInput) GoString() string

GoString returns the string representation

func (*CreateSchemaInput) SetContent

func (s *CreateSchemaInput) SetContent(v string) *CreateSchemaInput

SetContent sets the Content field's value.

func (*CreateSchemaInput) SetDescription

func (s *CreateSchemaInput) SetDescription(v string) *CreateSchemaInput

SetDescription sets the Description field's value.

func (*CreateSchemaInput) SetRegistryName

func (s *CreateSchemaInput) SetRegistryName(v string) *CreateSchemaInput

SetRegistryName sets the RegistryName field's value.

func (*CreateSchemaInput) SetSchemaName

func (s *CreateSchemaInput) SetSchemaName(v string) *CreateSchemaInput

SetSchemaName sets the SchemaName field's value.

func (*CreateSchemaInput) SetTags

func (s *CreateSchemaInput) SetTags(v map[string]*string) *CreateSchemaInput

SetTags sets the Tags field's value.

func (*CreateSchemaInput) SetType

SetType sets the Type field's value.

func (CreateSchemaInput) String

func (s CreateSchemaInput) String() string

String returns the string representation

func (*CreateSchemaInput) Validate

func (s *CreateSchemaInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateSchemaOutput

type CreateSchemaOutput struct {
	Description *string `type:"string"`

	LastModified *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	SchemaArn *string `type:"string"`

	SchemaName *string `type:"string"`

	SchemaVersion *string `type:"string"`

	// Key-value pairs associated with a resource.
	Tags map[string]*string `locationName:"tags" type:"map"`

	Type *string `type:"string"`

	VersionCreatedDate *time.Time `type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

func (CreateSchemaOutput) GoString

func (s CreateSchemaOutput) GoString() string

GoString returns the string representation

func (*CreateSchemaOutput) SetDescription

func (s *CreateSchemaOutput) SetDescription(v string) *CreateSchemaOutput

SetDescription sets the Description field's value.

func (*CreateSchemaOutput) SetLastModified

func (s *CreateSchemaOutput) SetLastModified(v time.Time) *CreateSchemaOutput

SetLastModified sets the LastModified field's value.

func (*CreateSchemaOutput) SetSchemaArn

func (s *CreateSchemaOutput) SetSchemaArn(v string) *CreateSchemaOutput

SetSchemaArn sets the SchemaArn field's value.

func (*CreateSchemaOutput) SetSchemaName

func (s *CreateSchemaOutput) SetSchemaName(v string) *CreateSchemaOutput

SetSchemaName sets the SchemaName field's value.

func (*CreateSchemaOutput) SetSchemaVersion

func (s *CreateSchemaOutput) SetSchemaVersion(v string) *CreateSchemaOutput

SetSchemaVersion sets the SchemaVersion field's value.

func (*CreateSchemaOutput) SetTags

func (s *CreateSchemaOutput) SetTags(v map[string]*string) *CreateSchemaOutput

SetTags sets the Tags field's value.

func (*CreateSchemaOutput) SetType

SetType sets the Type field's value.

func (*CreateSchemaOutput) SetVersionCreatedDate

func (s *CreateSchemaOutput) SetVersionCreatedDate(v time.Time) *CreateSchemaOutput

SetVersionCreatedDate sets the VersionCreatedDate field's value.

func (CreateSchemaOutput) String

func (s CreateSchemaOutput) String() string

String returns the string representation

type DeleteDiscovererInput

type DeleteDiscovererInput struct {

	// DiscovererId is a required field
	DiscovererId *string `location:"uri" locationName:"discovererId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteDiscovererInput) GoString

func (s DeleteDiscovererInput) GoString() string

GoString returns the string representation

func (*DeleteDiscovererInput) SetDiscovererId

func (s *DeleteDiscovererInput) SetDiscovererId(v string) *DeleteDiscovererInput

SetDiscovererId sets the DiscovererId field's value.

func (DeleteDiscovererInput) String

func (s DeleteDiscovererInput) String() string

String returns the string representation

func (*DeleteDiscovererInput) Validate

func (s *DeleteDiscovererInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteDiscovererOutput

type DeleteDiscovererOutput struct {
	// contains filtered or unexported fields
}

func (DeleteDiscovererOutput) GoString

func (s DeleteDiscovererOutput) GoString() string

GoString returns the string representation

func (DeleteDiscovererOutput) String

func (s DeleteDiscovererOutput) String() string

String returns the string representation

type DeleteRegistryInput

type DeleteRegistryInput struct {

	// RegistryName is a required field
	RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRegistryInput) GoString

func (s DeleteRegistryInput) GoString() string

GoString returns the string representation

func (*DeleteRegistryInput) SetRegistryName

func (s *DeleteRegistryInput) SetRegistryName(v string) *DeleteRegistryInput

SetRegistryName sets the RegistryName field's value.

func (DeleteRegistryInput) String

func (s DeleteRegistryInput) String() string

String returns the string representation

func (*DeleteRegistryInput) Validate

func (s *DeleteRegistryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteRegistryOutput

type DeleteRegistryOutput struct {
	// contains filtered or unexported fields
}

func (DeleteRegistryOutput) GoString

func (s DeleteRegistryOutput) GoString() string

GoString returns the string representation

func (DeleteRegistryOutput) String

func (s DeleteRegistryOutput) String() string

String returns the string representation

type DeleteResourcePolicyInput added in v1.30.18

type DeleteResourcePolicyInput struct {
	RegistryName *string `location:"querystring" locationName:"registryName" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteResourcePolicyInput) GoString added in v1.30.18

func (s DeleteResourcePolicyInput) GoString() string

GoString returns the string representation

func (*DeleteResourcePolicyInput) SetRegistryName added in v1.30.18

SetRegistryName sets the RegistryName field's value.

func (DeleteResourcePolicyInput) String added in v1.30.18

func (s DeleteResourcePolicyInput) String() string

String returns the string representation

type DeleteResourcePolicyOutput added in v1.30.18

type DeleteResourcePolicyOutput struct {
	// contains filtered or unexported fields
}

func (DeleteResourcePolicyOutput) GoString added in v1.30.18

func (s DeleteResourcePolicyOutput) GoString() string

GoString returns the string representation

func (DeleteResourcePolicyOutput) String added in v1.30.18

String returns the string representation

type DeleteSchemaInput

type DeleteSchemaInput struct {

	// RegistryName is a required field
	RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"`

	// SchemaName is a required field
	SchemaName *string `location:"uri" locationName:"schemaName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteSchemaInput) GoString

func (s DeleteSchemaInput) GoString() string

GoString returns the string representation

func (*DeleteSchemaInput) SetRegistryName

func (s *DeleteSchemaInput) SetRegistryName(v string) *DeleteSchemaInput

SetRegistryName sets the RegistryName field's value.

func (*DeleteSchemaInput) SetSchemaName

func (s *DeleteSchemaInput) SetSchemaName(v string) *DeleteSchemaInput

SetSchemaName sets the SchemaName field's value.

func (DeleteSchemaInput) String

func (s DeleteSchemaInput) String() string

String returns the string representation

func (*DeleteSchemaInput) Validate

func (s *DeleteSchemaInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteSchemaOutput

type DeleteSchemaOutput struct {
	// contains filtered or unexported fields
}

func (DeleteSchemaOutput) GoString

func (s DeleteSchemaOutput) GoString() string

GoString returns the string representation

func (DeleteSchemaOutput) String

func (s DeleteSchemaOutput) String() string

String returns the string representation

type DeleteSchemaVersionInput

type DeleteSchemaVersionInput struct {

	// RegistryName is a required field
	RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"`

	// SchemaName is a required field
	SchemaName *string `location:"uri" locationName:"schemaName" type:"string" required:"true"`

	// SchemaVersion is a required field
	SchemaVersion *string `location:"uri" locationName:"schemaVersion" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteSchemaVersionInput) GoString

func (s DeleteSchemaVersionInput) GoString() string

GoString returns the string representation

func (*DeleteSchemaVersionInput) SetRegistryName

SetRegistryName sets the RegistryName field's value.

func (*DeleteSchemaVersionInput) SetSchemaName

SetSchemaName sets the SchemaName field's value.

func (*DeleteSchemaVersionInput) SetSchemaVersion

SetSchemaVersion sets the SchemaVersion field's value.

func (DeleteSchemaVersionInput) String

func (s DeleteSchemaVersionInput) String() string

String returns the string representation

func (*DeleteSchemaVersionInput) Validate

func (s *DeleteSchemaVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteSchemaVersionOutput

type DeleteSchemaVersionOutput struct {
	// contains filtered or unexported fields
}

func (DeleteSchemaVersionOutput) GoString

func (s DeleteSchemaVersionOutput) GoString() string

GoString returns the string representation

func (DeleteSchemaVersionOutput) String

func (s DeleteSchemaVersionOutput) String() string

String returns the string representation

type DescribeCodeBindingInput

type DescribeCodeBindingInput struct {

	// Language is a required field
	Language *string `location:"uri" locationName:"language" type:"string" required:"true"`

	// RegistryName is a required field
	RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"`

	// SchemaName is a required field
	SchemaName *string `location:"uri" locationName:"schemaName" type:"string" required:"true"`

	SchemaVersion *string `location:"querystring" locationName:"schemaVersion" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeCodeBindingInput) GoString

func (s DescribeCodeBindingInput) GoString() string

GoString returns the string representation

func (*DescribeCodeBindingInput) SetLanguage

SetLanguage sets the Language field's value.

func (*DescribeCodeBindingInput) SetRegistryName

SetRegistryName sets the RegistryName field's value.

func (*DescribeCodeBindingInput) SetSchemaName

SetSchemaName sets the SchemaName field's value.

func (*DescribeCodeBindingInput) SetSchemaVersion

SetSchemaVersion sets the SchemaVersion field's value.

func (DescribeCodeBindingInput) String

func (s DescribeCodeBindingInput) String() string

String returns the string representation

func (*DescribeCodeBindingInput) Validate

func (s *DescribeCodeBindingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeCodeBindingOutput

type DescribeCodeBindingOutput struct {
	CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	LastModified *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	SchemaVersion *string `type:"string"`

	Status *string `type:"string" enum:"CodeGenerationStatus"`
	// contains filtered or unexported fields
}

func (DescribeCodeBindingOutput) GoString

func (s DescribeCodeBindingOutput) GoString() string

GoString returns the string representation

func (*DescribeCodeBindingOutput) SetCreationDate

SetCreationDate sets the CreationDate field's value.

func (*DescribeCodeBindingOutput) SetLastModified

SetLastModified sets the LastModified field's value.

func (*DescribeCodeBindingOutput) SetSchemaVersion

SetSchemaVersion sets the SchemaVersion field's value.

func (*DescribeCodeBindingOutput) SetStatus

SetStatus sets the Status field's value.

func (DescribeCodeBindingOutput) String

func (s DescribeCodeBindingOutput) String() string

String returns the string representation

type DescribeDiscovererInput

type DescribeDiscovererInput struct {

	// DiscovererId is a required field
	DiscovererId *string `location:"uri" locationName:"discovererId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeDiscovererInput) GoString

func (s DescribeDiscovererInput) GoString() string

GoString returns the string representation

func (*DescribeDiscovererInput) SetDiscovererId

SetDiscovererId sets the DiscovererId field's value.

func (DescribeDiscovererInput) String

func (s DescribeDiscovererInput) String() string

String returns the string representation

func (*DescribeDiscovererInput) Validate

func (s *DescribeDiscovererInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeDiscovererOutput

type DescribeDiscovererOutput struct {
	Description *string `type:"string"`

	DiscovererArn *string `type:"string"`

	DiscovererId *string `type:"string"`

	SourceArn *string `type:"string"`

	State *string `type:"string" enum:"DiscovererState"`

	// Key-value pairs associated with a resource.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (DescribeDiscovererOutput) GoString

func (s DescribeDiscovererOutput) GoString() string

GoString returns the string representation

func (*DescribeDiscovererOutput) SetDescription

SetDescription sets the Description field's value.

func (*DescribeDiscovererOutput) SetDiscovererArn

SetDiscovererArn sets the DiscovererArn field's value.

func (*DescribeDiscovererOutput) SetDiscovererId

SetDiscovererId sets the DiscovererId field's value.

func (*DescribeDiscovererOutput) SetSourceArn

SetSourceArn sets the SourceArn field's value.

func (*DescribeDiscovererOutput) SetState

SetState sets the State field's value.

func (*DescribeDiscovererOutput) SetTags

SetTags sets the Tags field's value.

func (DescribeDiscovererOutput) String

func (s DescribeDiscovererOutput) String() string

String returns the string representation

type DescribeRegistryInput

type DescribeRegistryInput struct {

	// RegistryName is a required field
	RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeRegistryInput) GoString

func (s DescribeRegistryInput) GoString() string

GoString returns the string representation

func (*DescribeRegistryInput) SetRegistryName

func (s *DescribeRegistryInput) SetRegistryName(v string) *DescribeRegistryInput

SetRegistryName sets the RegistryName field's value.

func (DescribeRegistryInput) String

func (s DescribeRegistryInput) String() string

String returns the string representation

func (*DescribeRegistryInput) Validate

func (s *DescribeRegistryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeRegistryOutput

type DescribeRegistryOutput struct {
	Description *string `type:"string"`

	RegistryArn *string `type:"string"`

	RegistryName *string `type:"string"`

	// Key-value pairs associated with a resource.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (DescribeRegistryOutput) GoString

func (s DescribeRegistryOutput) GoString() string

GoString returns the string representation

func (*DescribeRegistryOutput) SetDescription

SetDescription sets the Description field's value.

func (*DescribeRegistryOutput) SetRegistryArn

SetRegistryArn sets the RegistryArn field's value.

func (*DescribeRegistryOutput) SetRegistryName

func (s *DescribeRegistryOutput) SetRegistryName(v string) *DescribeRegistryOutput

SetRegistryName sets the RegistryName field's value.

func (*DescribeRegistryOutput) SetTags

SetTags sets the Tags field's value.

func (DescribeRegistryOutput) String

func (s DescribeRegistryOutput) String() string

String returns the string representation

type DescribeSchemaInput

type DescribeSchemaInput struct {

	// RegistryName is a required field
	RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"`

	// SchemaName is a required field
	SchemaName *string `location:"uri" locationName:"schemaName" type:"string" required:"true"`

	SchemaVersion *string `location:"querystring" locationName:"schemaVersion" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeSchemaInput) GoString

func (s DescribeSchemaInput) GoString() string

GoString returns the string representation

func (*DescribeSchemaInput) SetRegistryName

func (s *DescribeSchemaInput) SetRegistryName(v string) *DescribeSchemaInput

SetRegistryName sets the RegistryName field's value.

func (*DescribeSchemaInput) SetSchemaName

func (s *DescribeSchemaInput) SetSchemaName(v string) *DescribeSchemaInput

SetSchemaName sets the SchemaName field's value.

func (*DescribeSchemaInput) SetSchemaVersion

func (s *DescribeSchemaInput) SetSchemaVersion(v string) *DescribeSchemaInput

SetSchemaVersion sets the SchemaVersion field's value.

func (DescribeSchemaInput) String

func (s DescribeSchemaInput) String() string

String returns the string representation

func (*DescribeSchemaInput) Validate

func (s *DescribeSchemaInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeSchemaOutput

type DescribeSchemaOutput struct {
	Content *string `type:"string"`

	Description *string `type:"string"`

	LastModified *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	SchemaArn *string `type:"string"`

	SchemaName *string `type:"string"`

	SchemaVersion *string `type:"string"`

	// Key-value pairs associated with a resource.
	Tags map[string]*string `locationName:"tags" type:"map"`

	Type *string `type:"string"`

	VersionCreatedDate *time.Time `type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

func (DescribeSchemaOutput) GoString

func (s DescribeSchemaOutput) GoString() string

GoString returns the string representation

func (*DescribeSchemaOutput) SetContent

SetContent sets the Content field's value.

func (*DescribeSchemaOutput) SetDescription

func (s *DescribeSchemaOutput) SetDescription(v string) *DescribeSchemaOutput

SetDescription sets the Description field's value.

func (*DescribeSchemaOutput) SetLastModified

func (s *DescribeSchemaOutput) SetLastModified(v time.Time) *DescribeSchemaOutput

SetLastModified sets the LastModified field's value.

func (*DescribeSchemaOutput) SetSchemaArn

func (s *DescribeSchemaOutput) SetSchemaArn(v string) *DescribeSchemaOutput

SetSchemaArn sets the SchemaArn field's value.

func (*DescribeSchemaOutput) SetSchemaName

func (s *DescribeSchemaOutput) SetSchemaName(v string) *DescribeSchemaOutput

SetSchemaName sets the SchemaName field's value.

func (*DescribeSchemaOutput) SetSchemaVersion

func (s *DescribeSchemaOutput) SetSchemaVersion(v string) *DescribeSchemaOutput

SetSchemaVersion sets the SchemaVersion field's value.

func (*DescribeSchemaOutput) SetTags

SetTags sets the Tags field's value.

func (*DescribeSchemaOutput) SetType

SetType sets the Type field's value.

func (*DescribeSchemaOutput) SetVersionCreatedDate

func (s *DescribeSchemaOutput) SetVersionCreatedDate(v time.Time) *DescribeSchemaOutput

SetVersionCreatedDate sets the VersionCreatedDate field's value.

func (DescribeSchemaOutput) String

func (s DescribeSchemaOutput) String() string

String returns the string representation

type DiscovererSummary

type DiscovererSummary struct {

	// The ARN of the discoverer.
	DiscovererArn *string `type:"string"`

	// The ID of the discoverer.
	DiscovererId *string `type:"string"`

	// The ARN of the event bus.
	SourceArn *string `type:"string"`

	// The state of the discoverer.
	State *string `type:"string" enum:"DiscovererState"`

	// Tags associated with the resource.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (DiscovererSummary) GoString

func (s DiscovererSummary) GoString() string

GoString returns the string representation

func (*DiscovererSummary) SetDiscovererArn

func (s *DiscovererSummary) SetDiscovererArn(v string) *DiscovererSummary

SetDiscovererArn sets the DiscovererArn field's value.

func (*DiscovererSummary) SetDiscovererId

func (s *DiscovererSummary) SetDiscovererId(v string) *DiscovererSummary

SetDiscovererId sets the DiscovererId field's value.

func (*DiscovererSummary) SetSourceArn

func (s *DiscovererSummary) SetSourceArn(v string) *DiscovererSummary

SetSourceArn sets the SourceArn field's value.

func (*DiscovererSummary) SetState

func (s *DiscovererSummary) SetState(v string) *DiscovererSummary

SetState sets the State field's value.

func (*DiscovererSummary) SetTags

func (s *DiscovererSummary) SetTags(v map[string]*string) *DiscovererSummary

SetTags sets the Tags field's value.

func (DiscovererSummary) String

func (s DiscovererSummary) String() string

String returns the string representation

type ExportSchemaInput added in v1.34.34

type ExportSchemaInput struct {

	// RegistryName is a required field
	RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"`

	// SchemaName is a required field
	SchemaName *string `location:"uri" locationName:"schemaName" type:"string" required:"true"`

	SchemaVersion *string `location:"querystring" locationName:"schemaVersion" type:"string"`

	// Type is a required field
	Type *string `location:"querystring" locationName:"type" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ExportSchemaInput) GoString added in v1.34.34

func (s ExportSchemaInput) GoString() string

GoString returns the string representation

func (*ExportSchemaInput) SetRegistryName added in v1.34.34

func (s *ExportSchemaInput) SetRegistryName(v string) *ExportSchemaInput

SetRegistryName sets the RegistryName field's value.

func (*ExportSchemaInput) SetSchemaName added in v1.34.34

func (s *ExportSchemaInput) SetSchemaName(v string) *ExportSchemaInput

SetSchemaName sets the SchemaName field's value.

func (*ExportSchemaInput) SetSchemaVersion added in v1.34.34

func (s *ExportSchemaInput) SetSchemaVersion(v string) *ExportSchemaInput

SetSchemaVersion sets the SchemaVersion field's value.

func (*ExportSchemaInput) SetType added in v1.34.34

SetType sets the Type field's value.

func (ExportSchemaInput) String added in v1.34.34

func (s ExportSchemaInput) String() string

String returns the string representation

func (*ExportSchemaInput) Validate added in v1.34.34

func (s *ExportSchemaInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ExportSchemaOutput added in v1.34.34

type ExportSchemaOutput struct {
	Content *string `type:"string"`

	SchemaArn *string `type:"string"`

	SchemaName *string `type:"string"`

	SchemaVersion *string `type:"string"`

	Type *string `type:"string"`
	// contains filtered or unexported fields
}

func (ExportSchemaOutput) GoString added in v1.34.34

func (s ExportSchemaOutput) GoString() string

GoString returns the string representation

func (*ExportSchemaOutput) SetContent added in v1.34.34

func (s *ExportSchemaOutput) SetContent(v string) *ExportSchemaOutput

SetContent sets the Content field's value.

func (*ExportSchemaOutput) SetSchemaArn added in v1.34.34

func (s *ExportSchemaOutput) SetSchemaArn(v string) *ExportSchemaOutput

SetSchemaArn sets the SchemaArn field's value.

func (*ExportSchemaOutput) SetSchemaName added in v1.34.34

func (s *ExportSchemaOutput) SetSchemaName(v string) *ExportSchemaOutput

SetSchemaName sets the SchemaName field's value.

func (*ExportSchemaOutput) SetSchemaVersion added in v1.34.34

func (s *ExportSchemaOutput) SetSchemaVersion(v string) *ExportSchemaOutput

SetSchemaVersion sets the SchemaVersion field's value.

func (*ExportSchemaOutput) SetType added in v1.34.34

SetType sets the Type field's value.

func (ExportSchemaOutput) String added in v1.34.34

func (s ExportSchemaOutput) String() string

String returns the string representation

type ForbiddenException added in v1.28.0

type ForbiddenException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Code_ *string `locationName:"Code" type:"string"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

func (*ForbiddenException) Code added in v1.28.0

func (s *ForbiddenException) Code() string

Code returns the exception type name.

func (*ForbiddenException) Error added in v1.28.0

func (s *ForbiddenException) Error() string

func (ForbiddenException) GoString added in v1.28.0

func (s ForbiddenException) GoString() string

GoString returns the string representation

func (*ForbiddenException) Message added in v1.28.0

func (s *ForbiddenException) Message() string

Message returns the exception's message.

func (*ForbiddenException) OrigErr added in v1.28.0

func (s *ForbiddenException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ForbiddenException) RequestID added in v1.28.0

func (s *ForbiddenException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ForbiddenException) StatusCode added in v1.28.0

func (s *ForbiddenException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ForbiddenException) String added in v1.28.0

func (s ForbiddenException) String() string

String returns the string representation

type GetCodeBindingSourceInput

type GetCodeBindingSourceInput struct {

	// Language is a required field
	Language *string `location:"uri" locationName:"language" type:"string" required:"true"`

	// RegistryName is a required field
	RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"`

	// SchemaName is a required field
	SchemaName *string `location:"uri" locationName:"schemaName" type:"string" required:"true"`

	SchemaVersion *string `location:"querystring" locationName:"schemaVersion" type:"string"`
	// contains filtered or unexported fields
}

func (GetCodeBindingSourceInput) GoString

func (s GetCodeBindingSourceInput) GoString() string

GoString returns the string representation

func (*GetCodeBindingSourceInput) SetLanguage

SetLanguage sets the Language field's value.

func (*GetCodeBindingSourceInput) SetRegistryName

SetRegistryName sets the RegistryName field's value.

func (*GetCodeBindingSourceInput) SetSchemaName

SetSchemaName sets the SchemaName field's value.

func (*GetCodeBindingSourceInput) SetSchemaVersion

SetSchemaVersion sets the SchemaVersion field's value.

func (GetCodeBindingSourceInput) String

func (s GetCodeBindingSourceInput) String() string

String returns the string representation

func (*GetCodeBindingSourceInput) Validate

func (s *GetCodeBindingSourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetCodeBindingSourceOutput

type GetCodeBindingSourceOutput struct {
	Body []byte `type:"blob"`
	// contains filtered or unexported fields
}

func (GetCodeBindingSourceOutput) GoString

func (s GetCodeBindingSourceOutput) GoString() string

GoString returns the string representation

func (*GetCodeBindingSourceOutput) SetBody

SetBody sets the Body field's value.

func (GetCodeBindingSourceOutput) String

String returns the string representation

type GetDiscoveredSchemaInput

type GetDiscoveredSchemaInput struct {

	// Events is a required field
	Events []*string `min:"1" type:"list" required:"true"`

	// Type is a required field
	Type *string `type:"string" required:"true" enum:"Type"`
	// contains filtered or unexported fields
}

func (GetDiscoveredSchemaInput) GoString

func (s GetDiscoveredSchemaInput) GoString() string

GoString returns the string representation

func (*GetDiscoveredSchemaInput) SetEvents

SetEvents sets the Events field's value.

func (*GetDiscoveredSchemaInput) SetType

SetType sets the Type field's value.

func (GetDiscoveredSchemaInput) String

func (s GetDiscoveredSchemaInput) String() string

String returns the string representation

func (*GetDiscoveredSchemaInput) Validate

func (s *GetDiscoveredSchemaInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetDiscoveredSchemaOutput

type GetDiscoveredSchemaOutput struct {
	Content *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetDiscoveredSchemaOutput) GoString

func (s GetDiscoveredSchemaOutput) GoString() string

GoString returns the string representation

func (*GetDiscoveredSchemaOutput) SetContent

SetContent sets the Content field's value.

func (GetDiscoveredSchemaOutput) String

func (s GetDiscoveredSchemaOutput) String() string

String returns the string representation

type GetResourcePolicyInput added in v1.30.18

type GetResourcePolicyInput struct {
	RegistryName *string `location:"querystring" locationName:"registryName" type:"string"`
	// contains filtered or unexported fields
}

func (GetResourcePolicyInput) GoString added in v1.30.18

func (s GetResourcePolicyInput) GoString() string

GoString returns the string representation

func (*GetResourcePolicyInput) SetRegistryName added in v1.30.18

func (s *GetResourcePolicyInput) SetRegistryName(v string) *GetResourcePolicyInput

SetRegistryName sets the RegistryName field's value.

func (GetResourcePolicyInput) String added in v1.30.18

func (s GetResourcePolicyInput) String() string

String returns the string representation

type GetResourcePolicyOutput added in v1.30.18

type GetResourcePolicyOutput struct {
	Policy aws.JSONValue `type:"jsonvalue"`

	RevisionId *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetResourcePolicyOutput) GoString added in v1.30.18

func (s GetResourcePolicyOutput) GoString() string

GoString returns the string representation

func (*GetResourcePolicyOutput) SetPolicy added in v1.30.18

SetPolicy sets the Policy field's value.

func (*GetResourcePolicyOutput) SetRevisionId added in v1.30.18

SetRevisionId sets the RevisionId field's value.

func (GetResourcePolicyOutput) String added in v1.30.18

func (s GetResourcePolicyOutput) String() string

String returns the string representation

type GoneException added in v1.28.0

type GoneException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Code_ *string `locationName:"Code" type:"string"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

func (*GoneException) Code added in v1.28.0

func (s *GoneException) Code() string

Code returns the exception type name.

func (*GoneException) Error added in v1.28.0

func (s *GoneException) Error() string

func (GoneException) GoString added in v1.28.0

func (s GoneException) GoString() string

GoString returns the string representation

func (*GoneException) Message added in v1.28.0

func (s *GoneException) Message() string

Message returns the exception's message.

func (*GoneException) OrigErr added in v1.28.0

func (s *GoneException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*GoneException) RequestID added in v1.28.0

func (s *GoneException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*GoneException) StatusCode added in v1.28.0

func (s *GoneException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (GoneException) String added in v1.28.0

func (s GoneException) String() string

String returns the string representation

type InternalServerErrorException added in v1.28.0

type InternalServerErrorException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Code_ *string `locationName:"Code" type:"string"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

func (*InternalServerErrorException) Code added in v1.28.0

Code returns the exception type name.

func (*InternalServerErrorException) Error added in v1.28.0

func (InternalServerErrorException) GoString added in v1.28.0

func (s InternalServerErrorException) GoString() string

GoString returns the string representation

func (*InternalServerErrorException) Message added in v1.28.0

func (s *InternalServerErrorException) Message() string

Message returns the exception's message.

func (*InternalServerErrorException) OrigErr added in v1.28.0

func (s *InternalServerErrorException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerErrorException) RequestID added in v1.28.0

func (s *InternalServerErrorException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerErrorException) StatusCode added in v1.28.0

func (s *InternalServerErrorException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerErrorException) String added in v1.28.0

String returns the string representation

type ListDiscoverersInput

type ListDiscoverersInput struct {
	DiscovererIdPrefix *string `location:"querystring" locationName:"discovererIdPrefix" type:"string"`

	Limit *int64 `location:"querystring" locationName:"limit" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	SourceArnPrefix *string `location:"querystring" locationName:"sourceArnPrefix" type:"string"`
	// contains filtered or unexported fields
}

func (ListDiscoverersInput) GoString

func (s ListDiscoverersInput) GoString() string

GoString returns the string representation

func (*ListDiscoverersInput) SetDiscovererIdPrefix

func (s *ListDiscoverersInput) SetDiscovererIdPrefix(v string) *ListDiscoverersInput

SetDiscovererIdPrefix sets the DiscovererIdPrefix field's value.

func (*ListDiscoverersInput) SetLimit

SetLimit sets the Limit field's value.

func (*ListDiscoverersInput) SetNextToken

func (s *ListDiscoverersInput) SetNextToken(v string) *ListDiscoverersInput

SetNextToken sets the NextToken field's value.

func (*ListDiscoverersInput) SetSourceArnPrefix

func (s *ListDiscoverersInput) SetSourceArnPrefix(v string) *ListDiscoverersInput

SetSourceArnPrefix sets the SourceArnPrefix field's value.

func (ListDiscoverersInput) String

func (s ListDiscoverersInput) String() string

String returns the string representation

type ListDiscoverersOutput

type ListDiscoverersOutput struct {
	Discoverers []*DiscovererSummary `type:"list"`

	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListDiscoverersOutput) GoString

func (s ListDiscoverersOutput) GoString() string

GoString returns the string representation

func (*ListDiscoverersOutput) SetDiscoverers

SetDiscoverers sets the Discoverers field's value.

func (*ListDiscoverersOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListDiscoverersOutput) String

func (s ListDiscoverersOutput) String() string

String returns the string representation

type ListRegistriesInput

type ListRegistriesInput struct {
	Limit *int64 `location:"querystring" locationName:"limit" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	RegistryNamePrefix *string `location:"querystring" locationName:"registryNamePrefix" type:"string"`

	Scope *string `location:"querystring" locationName:"scope" type:"string"`
	// contains filtered or unexported fields
}

func (ListRegistriesInput) GoString

func (s ListRegistriesInput) GoString() string

GoString returns the string representation

func (*ListRegistriesInput) SetLimit

SetLimit sets the Limit field's value.

func (*ListRegistriesInput) SetNextToken

func (s *ListRegistriesInput) SetNextToken(v string) *ListRegistriesInput

SetNextToken sets the NextToken field's value.

func (*ListRegistriesInput) SetRegistryNamePrefix

func (s *ListRegistriesInput) SetRegistryNamePrefix(v string) *ListRegistriesInput

SetRegistryNamePrefix sets the RegistryNamePrefix field's value.

func (*ListRegistriesInput) SetScope

SetScope sets the Scope field's value.

func (ListRegistriesInput) String

func (s ListRegistriesInput) String() string

String returns the string representation

type ListRegistriesOutput

type ListRegistriesOutput struct {
	NextToken *string `type:"string"`

	Registries []*RegistrySummary `type:"list"`
	// contains filtered or unexported fields
}

func (ListRegistriesOutput) GoString

func (s ListRegistriesOutput) GoString() string

GoString returns the string representation

func (*ListRegistriesOutput) SetNextToken

func (s *ListRegistriesOutput) SetNextToken(v string) *ListRegistriesOutput

SetNextToken sets the NextToken field's value.

func (*ListRegistriesOutput) SetRegistries

SetRegistries sets the Registries field's value.

func (ListRegistriesOutput) String

func (s ListRegistriesOutput) String() string

String returns the string representation

type ListSchemaVersionsInput

type ListSchemaVersionsInput struct {
	Limit *int64 `location:"querystring" locationName:"limit" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// RegistryName is a required field
	RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"`

	// SchemaName is a required field
	SchemaName *string `location:"uri" locationName:"schemaName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListSchemaVersionsInput) GoString

func (s ListSchemaVersionsInput) GoString() string

GoString returns the string representation

func (*ListSchemaVersionsInput) SetLimit

SetLimit sets the Limit field's value.

func (*ListSchemaVersionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListSchemaVersionsInput) SetRegistryName

SetRegistryName sets the RegistryName field's value.

func (*ListSchemaVersionsInput) SetSchemaName

SetSchemaName sets the SchemaName field's value.

func (ListSchemaVersionsInput) String

func (s ListSchemaVersionsInput) String() string

String returns the string representation

func (*ListSchemaVersionsInput) Validate

func (s *ListSchemaVersionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListSchemaVersionsOutput

type ListSchemaVersionsOutput struct {
	NextToken *string `type:"string"`

	SchemaVersions []*SchemaVersionSummary `type:"list"`
	// contains filtered or unexported fields
}

func (ListSchemaVersionsOutput) GoString

func (s ListSchemaVersionsOutput) GoString() string

GoString returns the string representation

func (*ListSchemaVersionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListSchemaVersionsOutput) SetSchemaVersions

SetSchemaVersions sets the SchemaVersions field's value.

func (ListSchemaVersionsOutput) String

func (s ListSchemaVersionsOutput) String() string

String returns the string representation

type ListSchemasInput

type ListSchemasInput struct {
	Limit *int64 `location:"querystring" locationName:"limit" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// RegistryName is a required field
	RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"`

	SchemaNamePrefix *string `location:"querystring" locationName:"schemaNamePrefix" type:"string"`
	// contains filtered or unexported fields
}

func (ListSchemasInput) GoString

func (s ListSchemasInput) GoString() string

GoString returns the string representation

func (*ListSchemasInput) SetLimit

func (s *ListSchemasInput) SetLimit(v int64) *ListSchemasInput

SetLimit sets the Limit field's value.

func (*ListSchemasInput) SetNextToken

func (s *ListSchemasInput) SetNextToken(v string) *ListSchemasInput

SetNextToken sets the NextToken field's value.

func (*ListSchemasInput) SetRegistryName

func (s *ListSchemasInput) SetRegistryName(v string) *ListSchemasInput

SetRegistryName sets the RegistryName field's value.

func (*ListSchemasInput) SetSchemaNamePrefix

func (s *ListSchemasInput) SetSchemaNamePrefix(v string) *ListSchemasInput

SetSchemaNamePrefix sets the SchemaNamePrefix field's value.

func (ListSchemasInput) String

func (s ListSchemasInput) String() string

String returns the string representation

func (*ListSchemasInput) Validate

func (s *ListSchemasInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListSchemasOutput

type ListSchemasOutput struct {
	NextToken *string `type:"string"`

	Schemas []*SchemaSummary `type:"list"`
	// contains filtered or unexported fields
}

func (ListSchemasOutput) GoString

func (s ListSchemasOutput) GoString() string

GoString returns the string representation

func (*ListSchemasOutput) SetNextToken

func (s *ListSchemasOutput) SetNextToken(v string) *ListSchemasOutput

SetNextToken sets the NextToken field's value.

func (*ListSchemasOutput) SetSchemas

func (s *ListSchemasOutput) SetSchemas(v []*SchemaSummary) *ListSchemasOutput

SetSchemas sets the Schemas field's value.

func (ListSchemasOutput) String

func (s ListSchemasOutput) String() string

String returns the string representation

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// Key-value pairs associated with a resource.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type NotFoundException added in v1.28.0

type NotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Code_ *string `locationName:"Code" type:"string"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

func (*NotFoundException) Code added in v1.28.0

func (s *NotFoundException) Code() string

Code returns the exception type name.

func (*NotFoundException) Error added in v1.28.0

func (s *NotFoundException) Error() string

func (NotFoundException) GoString added in v1.28.0

func (s NotFoundException) GoString() string

GoString returns the string representation

func (*NotFoundException) Message added in v1.28.0

func (s *NotFoundException) Message() string

Message returns the exception's message.

func (*NotFoundException) OrigErr added in v1.28.0

func (s *NotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*NotFoundException) RequestID added in v1.28.0

func (s *NotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*NotFoundException) StatusCode added in v1.28.0

func (s *NotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (NotFoundException) String added in v1.28.0

func (s NotFoundException) String() string

String returns the string representation

type PreconditionFailedException added in v1.30.18

type PreconditionFailedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Code_ *string `locationName:"Code" type:"string"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

func (*PreconditionFailedException) Code added in v1.30.18

Code returns the exception type name.

func (*PreconditionFailedException) Error added in v1.30.18

func (PreconditionFailedException) GoString added in v1.30.18

func (s PreconditionFailedException) GoString() string

GoString returns the string representation

func (*PreconditionFailedException) Message added in v1.30.18

func (s *PreconditionFailedException) Message() string

Message returns the exception's message.

func (*PreconditionFailedException) OrigErr added in v1.30.18

func (s *PreconditionFailedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*PreconditionFailedException) RequestID added in v1.30.18

func (s *PreconditionFailedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*PreconditionFailedException) StatusCode added in v1.30.18

func (s *PreconditionFailedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (PreconditionFailedException) String added in v1.30.18

String returns the string representation

type PutCodeBindingInput

type PutCodeBindingInput struct {

	// Language is a required field
	Language *string `location:"uri" locationName:"language" type:"string" required:"true"`

	// RegistryName is a required field
	RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"`

	// SchemaName is a required field
	SchemaName *string `location:"uri" locationName:"schemaName" type:"string" required:"true"`

	SchemaVersion *string `location:"querystring" locationName:"schemaVersion" type:"string"`
	// contains filtered or unexported fields
}

func (PutCodeBindingInput) GoString

func (s PutCodeBindingInput) GoString() string

GoString returns the string representation

func (*PutCodeBindingInput) SetLanguage

func (s *PutCodeBindingInput) SetLanguage(v string) *PutCodeBindingInput

SetLanguage sets the Language field's value.

func (*PutCodeBindingInput) SetRegistryName

func (s *PutCodeBindingInput) SetRegistryName(v string) *PutCodeBindingInput

SetRegistryName sets the RegistryName field's value.

func (*PutCodeBindingInput) SetSchemaName

func (s *PutCodeBindingInput) SetSchemaName(v string) *PutCodeBindingInput

SetSchemaName sets the SchemaName field's value.

func (*PutCodeBindingInput) SetSchemaVersion

func (s *PutCodeBindingInput) SetSchemaVersion(v string) *PutCodeBindingInput

SetSchemaVersion sets the SchemaVersion field's value.

func (PutCodeBindingInput) String

func (s PutCodeBindingInput) String() string

String returns the string representation

func (*PutCodeBindingInput) Validate

func (s *PutCodeBindingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutCodeBindingOutput

type PutCodeBindingOutput struct {
	CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	LastModified *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	SchemaVersion *string `type:"string"`

	Status *string `type:"string" enum:"CodeGenerationStatus"`
	// contains filtered or unexported fields
}

func (PutCodeBindingOutput) GoString

func (s PutCodeBindingOutput) GoString() string

GoString returns the string representation

func (*PutCodeBindingOutput) SetCreationDate

func (s *PutCodeBindingOutput) SetCreationDate(v time.Time) *PutCodeBindingOutput

SetCreationDate sets the CreationDate field's value.

func (*PutCodeBindingOutput) SetLastModified

func (s *PutCodeBindingOutput) SetLastModified(v time.Time) *PutCodeBindingOutput

SetLastModified sets the LastModified field's value.

func (*PutCodeBindingOutput) SetSchemaVersion

func (s *PutCodeBindingOutput) SetSchemaVersion(v string) *PutCodeBindingOutput

SetSchemaVersion sets the SchemaVersion field's value.

func (*PutCodeBindingOutput) SetStatus

SetStatus sets the Status field's value.

func (PutCodeBindingOutput) String

func (s PutCodeBindingOutput) String() string

String returns the string representation

type PutResourcePolicyInput added in v1.30.18

type PutResourcePolicyInput struct {

	// Policy is a required field
	Policy aws.JSONValue `type:"jsonvalue" required:"true"`

	RegistryName *string `location:"querystring" locationName:"registryName" type:"string"`

	RevisionId *string `type:"string"`
	// contains filtered or unexported fields
}

func (PutResourcePolicyInput) GoString added in v1.30.18

func (s PutResourcePolicyInput) GoString() string

GoString returns the string representation

func (*PutResourcePolicyInput) SetPolicy added in v1.30.18

SetPolicy sets the Policy field's value.

func (*PutResourcePolicyInput) SetRegistryName added in v1.30.18

func (s *PutResourcePolicyInput) SetRegistryName(v string) *PutResourcePolicyInput

SetRegistryName sets the RegistryName field's value.

func (*PutResourcePolicyInput) SetRevisionId added in v1.30.18

SetRevisionId sets the RevisionId field's value.

func (PutResourcePolicyInput) String added in v1.30.18

func (s PutResourcePolicyInput) String() string

String returns the string representation

func (*PutResourcePolicyInput) Validate added in v1.30.18

func (s *PutResourcePolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutResourcePolicyOutput added in v1.30.18

type PutResourcePolicyOutput struct {
	Policy aws.JSONValue `type:"jsonvalue"`

	RevisionId *string `type:"string"`
	// contains filtered or unexported fields
}

func (PutResourcePolicyOutput) GoString added in v1.30.18

func (s PutResourcePolicyOutput) GoString() string

GoString returns the string representation

func (*PutResourcePolicyOutput) SetPolicy added in v1.30.18

SetPolicy sets the Policy field's value.

func (*PutResourcePolicyOutput) SetRevisionId added in v1.30.18

SetRevisionId sets the RevisionId field's value.

func (PutResourcePolicyOutput) String added in v1.30.18

func (s PutResourcePolicyOutput) String() string

String returns the string representation

type RegistrySummary

type RegistrySummary struct {

	// The ARN of the registry.
	RegistryArn *string `type:"string"`

	// The name of the registry.
	RegistryName *string `type:"string"`

	// Tags associated with the registry.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (RegistrySummary) GoString

func (s RegistrySummary) GoString() string

GoString returns the string representation

func (*RegistrySummary) SetRegistryArn

func (s *RegistrySummary) SetRegistryArn(v string) *RegistrySummary

SetRegistryArn sets the RegistryArn field's value.

func (*RegistrySummary) SetRegistryName

func (s *RegistrySummary) SetRegistryName(v string) *RegistrySummary

SetRegistryName sets the RegistryName field's value.

func (*RegistrySummary) SetTags

func (s *RegistrySummary) SetTags(v map[string]*string) *RegistrySummary

SetTags sets the Tags field's value.

func (RegistrySummary) String

func (s RegistrySummary) String() string

String returns the string representation

type SchemaSummary

type SchemaSummary struct {

	// The date and time that schema was modified.
	LastModified *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The ARN of the schema.
	SchemaArn *string `type:"string"`

	// The name of the schema.
	SchemaName *string `type:"string"`

	// Tags associated with the schema.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// The number of versions available for the schema.
	VersionCount *int64 `type:"long"`
	// contains filtered or unexported fields
}

A summary of schema details.

func (SchemaSummary) GoString

func (s SchemaSummary) GoString() string

GoString returns the string representation

func (*SchemaSummary) SetLastModified

func (s *SchemaSummary) SetLastModified(v time.Time) *SchemaSummary

SetLastModified sets the LastModified field's value.

func (*SchemaSummary) SetSchemaArn

func (s *SchemaSummary) SetSchemaArn(v string) *SchemaSummary

SetSchemaArn sets the SchemaArn field's value.

func (*SchemaSummary) SetSchemaName

func (s *SchemaSummary) SetSchemaName(v string) *SchemaSummary

SetSchemaName sets the SchemaName field's value.

func (*SchemaSummary) SetTags

func (s *SchemaSummary) SetTags(v map[string]*string) *SchemaSummary

SetTags sets the Tags field's value.

func (*SchemaSummary) SetVersionCount

func (s *SchemaSummary) SetVersionCount(v int64) *SchemaSummary

SetVersionCount sets the VersionCount field's value.

func (SchemaSummary) String

func (s SchemaSummary) String() string

String returns the string representation

type SchemaVersionSummary

type SchemaVersionSummary struct {

	// The ARN of the schema version.
	SchemaArn *string `type:"string"`

	// The name of the schema.
	SchemaName *string `type:"string"`

	// The version number of the schema.
	SchemaVersion *string `type:"string"`

	Type *string `type:"string"`
	// contains filtered or unexported fields
}

func (SchemaVersionSummary) GoString

func (s SchemaVersionSummary) GoString() string

GoString returns the string representation

func (*SchemaVersionSummary) SetSchemaArn

func (s *SchemaVersionSummary) SetSchemaArn(v string) *SchemaVersionSummary

SetSchemaArn sets the SchemaArn field's value.

func (*SchemaVersionSummary) SetSchemaName

func (s *SchemaVersionSummary) SetSchemaName(v string) *SchemaVersionSummary

SetSchemaName sets the SchemaName field's value.

func (*SchemaVersionSummary) SetSchemaVersion

func (s *SchemaVersionSummary) SetSchemaVersion(v string) *SchemaVersionSummary

SetSchemaVersion sets the SchemaVersion field's value.

func (*SchemaVersionSummary) SetType added in v1.34.34

SetType sets the Type field's value.

func (SchemaVersionSummary) String

func (s SchemaVersionSummary) String() string

String returns the string representation

type Schemas

type Schemas struct {
	*client.Client
}

Schemas provides the API operation methods for making requests to Schemas. See this package's package overview docs for details on the service.

Schemas methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *Schemas

New creates a new instance of the Schemas client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a Schemas client from just a session.
svc := schemas.New(mySession)

// Create a Schemas client with additional configuration
svc := schemas.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*Schemas) CreateDiscoverer

func (c *Schemas) CreateDiscoverer(input *CreateDiscovererInput) (*CreateDiscovererOutput, error)

CreateDiscoverer API operation for Schemas.

Creates a discoverer.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation CreateDiscoverer for usage and error information.

Returned Error Types:

  • BadRequestException

  • InternalServerErrorException

  • UnauthorizedException

  • ForbiddenException

  • ServiceUnavailableException

  • ConflictException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/CreateDiscoverer

func (*Schemas) CreateDiscovererRequest

func (c *Schemas) CreateDiscovererRequest(input *CreateDiscovererInput) (req *request.Request, output *CreateDiscovererOutput)

CreateDiscovererRequest generates a "aws/request.Request" representing the client's request for the CreateDiscoverer operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDiscoverer for more information on using the CreateDiscoverer API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDiscovererRequest method.
req, resp := client.CreateDiscovererRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/CreateDiscoverer

func (*Schemas) CreateDiscovererWithContext

func (c *Schemas) CreateDiscovererWithContext(ctx aws.Context, input *CreateDiscovererInput, opts ...request.Option) (*CreateDiscovererOutput, error)

CreateDiscovererWithContext is the same as CreateDiscoverer with the addition of the ability to pass a context and additional request options.

See CreateDiscoverer for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) CreateRegistry

func (c *Schemas) CreateRegistry(input *CreateRegistryInput) (*CreateRegistryOutput, error)

CreateRegistry API operation for Schemas.

Creates a registry.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation CreateRegistry for usage and error information.

Returned Error Types:

  • BadRequestException

  • InternalServerErrorException

  • UnauthorizedException

  • ForbiddenException

  • ServiceUnavailableException

  • ConflictException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/CreateRegistry

func (*Schemas) CreateRegistryRequest

func (c *Schemas) CreateRegistryRequest(input *CreateRegistryInput) (req *request.Request, output *CreateRegistryOutput)

CreateRegistryRequest generates a "aws/request.Request" representing the client's request for the CreateRegistry operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateRegistry for more information on using the CreateRegistry API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateRegistryRequest method.
req, resp := client.CreateRegistryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/CreateRegistry

func (*Schemas) CreateRegistryWithContext

func (c *Schemas) CreateRegistryWithContext(ctx aws.Context, input *CreateRegistryInput, opts ...request.Option) (*CreateRegistryOutput, error)

CreateRegistryWithContext is the same as CreateRegistry with the addition of the ability to pass a context and additional request options.

See CreateRegistry for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) CreateSchema

func (c *Schemas) CreateSchema(input *CreateSchemaInput) (*CreateSchemaOutput, error)

CreateSchema API operation for Schemas.

Creates a schema definition.

Inactive schemas will be deleted after two years.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation CreateSchema for usage and error information.

Returned Error Types:

  • ServiceUnavailableException

  • BadRequestException

  • InternalServerErrorException

  • ForbiddenException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/CreateSchema

func (*Schemas) CreateSchemaRequest

func (c *Schemas) CreateSchemaRequest(input *CreateSchemaInput) (req *request.Request, output *CreateSchemaOutput)

CreateSchemaRequest generates a "aws/request.Request" representing the client's request for the CreateSchema operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateSchema for more information on using the CreateSchema API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateSchemaRequest method.
req, resp := client.CreateSchemaRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/CreateSchema

func (*Schemas) CreateSchemaWithContext

func (c *Schemas) CreateSchemaWithContext(ctx aws.Context, input *CreateSchemaInput, opts ...request.Option) (*CreateSchemaOutput, error)

CreateSchemaWithContext is the same as CreateSchema with the addition of the ability to pass a context and additional request options.

See CreateSchema for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) DeleteDiscoverer

func (c *Schemas) DeleteDiscoverer(input *DeleteDiscovererInput) (*DeleteDiscovererOutput, error)

DeleteDiscoverer API operation for Schemas.

Deletes a discoverer.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation DeleteDiscoverer for usage and error information.

Returned Error Types:

  • BadRequestException

  • UnauthorizedException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteDiscoverer

func (*Schemas) DeleteDiscovererRequest

func (c *Schemas) DeleteDiscovererRequest(input *DeleteDiscovererInput) (req *request.Request, output *DeleteDiscovererOutput)

DeleteDiscovererRequest generates a "aws/request.Request" representing the client's request for the DeleteDiscoverer operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDiscoverer for more information on using the DeleteDiscoverer API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDiscovererRequest method.
req, resp := client.DeleteDiscovererRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteDiscoverer

func (*Schemas) DeleteDiscovererWithContext

func (c *Schemas) DeleteDiscovererWithContext(ctx aws.Context, input *DeleteDiscovererInput, opts ...request.Option) (*DeleteDiscovererOutput, error)

DeleteDiscovererWithContext is the same as DeleteDiscoverer with the addition of the ability to pass a context and additional request options.

See DeleteDiscoverer for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) DeleteRegistry

func (c *Schemas) DeleteRegistry(input *DeleteRegistryInput) (*DeleteRegistryOutput, error)

DeleteRegistry API operation for Schemas.

Deletes a Registry.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation DeleteRegistry for usage and error information.

Returned Error Types:

  • BadRequestException

  • UnauthorizedException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteRegistry

func (*Schemas) DeleteRegistryRequest

func (c *Schemas) DeleteRegistryRequest(input *DeleteRegistryInput) (req *request.Request, output *DeleteRegistryOutput)

DeleteRegistryRequest generates a "aws/request.Request" representing the client's request for the DeleteRegistry operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteRegistry for more information on using the DeleteRegistry API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteRegistryRequest method.
req, resp := client.DeleteRegistryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteRegistry

func (*Schemas) DeleteRegistryWithContext

func (c *Schemas) DeleteRegistryWithContext(ctx aws.Context, input *DeleteRegistryInput, opts ...request.Option) (*DeleteRegistryOutput, error)

DeleteRegistryWithContext is the same as DeleteRegistry with the addition of the ability to pass a context and additional request options.

See DeleteRegistry for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) DeleteResourcePolicy added in v1.30.18

func (c *Schemas) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error)

DeleteResourcePolicy API operation for Schemas.

Delete the resource-based policy attached to the specified registry.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation DeleteResourcePolicy for usage and error information.

Returned Error Types:

  • BadRequestException

  • UnauthorizedException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteResourcePolicy

func (*Schemas) DeleteResourcePolicyRequest added in v1.30.18

func (c *Schemas) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput)

DeleteResourcePolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteResourcePolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteResourcePolicy for more information on using the DeleteResourcePolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteResourcePolicyRequest method.
req, resp := client.DeleteResourcePolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteResourcePolicy

func (*Schemas) DeleteResourcePolicyWithContext added in v1.30.18

func (c *Schemas) DeleteResourcePolicyWithContext(ctx aws.Context, input *DeleteResourcePolicyInput, opts ...request.Option) (*DeleteResourcePolicyOutput, error)

DeleteResourcePolicyWithContext is the same as DeleteResourcePolicy with the addition of the ability to pass a context and additional request options.

See DeleteResourcePolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) DeleteSchema

func (c *Schemas) DeleteSchema(input *DeleteSchemaInput) (*DeleteSchemaOutput, error)

DeleteSchema API operation for Schemas.

Delete a schema definition.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation DeleteSchema for usage and error information.

Returned Error Types:

  • BadRequestException

  • UnauthorizedException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteSchema

func (*Schemas) DeleteSchemaRequest

func (c *Schemas) DeleteSchemaRequest(input *DeleteSchemaInput) (req *request.Request, output *DeleteSchemaOutput)

DeleteSchemaRequest generates a "aws/request.Request" representing the client's request for the DeleteSchema operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteSchema for more information on using the DeleteSchema API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteSchemaRequest method.
req, resp := client.DeleteSchemaRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteSchema

func (*Schemas) DeleteSchemaVersion

func (c *Schemas) DeleteSchemaVersion(input *DeleteSchemaVersionInput) (*DeleteSchemaVersionOutput, error)

DeleteSchemaVersion API operation for Schemas.

Delete the schema version definition

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation DeleteSchemaVersion for usage and error information.

Returned Error Types:

  • BadRequestException

  • UnauthorizedException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteSchemaVersion

func (*Schemas) DeleteSchemaVersionRequest

func (c *Schemas) DeleteSchemaVersionRequest(input *DeleteSchemaVersionInput) (req *request.Request, output *DeleteSchemaVersionOutput)

DeleteSchemaVersionRequest generates a "aws/request.Request" representing the client's request for the DeleteSchemaVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteSchemaVersion for more information on using the DeleteSchemaVersion API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteSchemaVersionRequest method.
req, resp := client.DeleteSchemaVersionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteSchemaVersion

func (*Schemas) DeleteSchemaVersionWithContext

func (c *Schemas) DeleteSchemaVersionWithContext(ctx aws.Context, input *DeleteSchemaVersionInput, opts ...request.Option) (*DeleteSchemaVersionOutput, error)

DeleteSchemaVersionWithContext is the same as DeleteSchemaVersion with the addition of the ability to pass a context and additional request options.

See DeleteSchemaVersion for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) DeleteSchemaWithContext

func (c *Schemas) DeleteSchemaWithContext(ctx aws.Context, input *DeleteSchemaInput, opts ...request.Option) (*DeleteSchemaOutput, error)

DeleteSchemaWithContext is the same as DeleteSchema with the addition of the ability to pass a context and additional request options.

See DeleteSchema for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) DescribeCodeBinding

func (c *Schemas) DescribeCodeBinding(input *DescribeCodeBindingInput) (*DescribeCodeBindingOutput, error)

DescribeCodeBinding API operation for Schemas.

Describe the code binding URI.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation DescribeCodeBinding for usage and error information.

Returned Error Types:

  • BadRequestException

  • UnauthorizedException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DescribeCodeBinding

func (*Schemas) DescribeCodeBindingRequest

func (c *Schemas) DescribeCodeBindingRequest(input *DescribeCodeBindingInput) (req *request.Request, output *DescribeCodeBindingOutput)

DescribeCodeBindingRequest generates a "aws/request.Request" representing the client's request for the DescribeCodeBinding operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeCodeBinding for more information on using the DescribeCodeBinding API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeCodeBindingRequest method.
req, resp := client.DescribeCodeBindingRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DescribeCodeBinding

func (*Schemas) DescribeCodeBindingWithContext

func (c *Schemas) DescribeCodeBindingWithContext(ctx aws.Context, input *DescribeCodeBindingInput, opts ...request.Option) (*DescribeCodeBindingOutput, error)

DescribeCodeBindingWithContext is the same as DescribeCodeBinding with the addition of the ability to pass a context and additional request options.

See DescribeCodeBinding for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) DescribeDiscoverer

func (c *Schemas) DescribeDiscoverer(input *DescribeDiscovererInput) (*DescribeDiscovererOutput, error)

DescribeDiscoverer API operation for Schemas.

Describes the discoverer.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation DescribeDiscoverer for usage and error information.

Returned Error Types:

  • BadRequestException

  • UnauthorizedException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DescribeDiscoverer

func (*Schemas) DescribeDiscovererRequest

func (c *Schemas) DescribeDiscovererRequest(input *DescribeDiscovererInput) (req *request.Request, output *DescribeDiscovererOutput)

DescribeDiscovererRequest generates a "aws/request.Request" representing the client's request for the DescribeDiscoverer operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDiscoverer for more information on using the DescribeDiscoverer API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDiscovererRequest method.
req, resp := client.DescribeDiscovererRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DescribeDiscoverer

func (*Schemas) DescribeDiscovererWithContext

func (c *Schemas) DescribeDiscovererWithContext(ctx aws.Context, input *DescribeDiscovererInput, opts ...request.Option) (*DescribeDiscovererOutput, error)

DescribeDiscovererWithContext is the same as DescribeDiscoverer with the addition of the ability to pass a context and additional request options.

See DescribeDiscoverer for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) DescribeRegistry

func (c *Schemas) DescribeRegistry(input *DescribeRegistryInput) (*DescribeRegistryOutput, error)

DescribeRegistry API operation for Schemas.

Describes the registry.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation DescribeRegistry for usage and error information.

Returned Error Types:

  • BadRequestException

  • UnauthorizedException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DescribeRegistry

func (*Schemas) DescribeRegistryRequest

func (c *Schemas) DescribeRegistryRequest(input *DescribeRegistryInput) (req *request.Request, output *DescribeRegistryOutput)

DescribeRegistryRequest generates a "aws/request.Request" representing the client's request for the DescribeRegistry operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeRegistry for more information on using the DescribeRegistry API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeRegistryRequest method.
req, resp := client.DescribeRegistryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DescribeRegistry

func (*Schemas) DescribeRegistryWithContext

func (c *Schemas) DescribeRegistryWithContext(ctx aws.Context, input *DescribeRegistryInput, opts ...request.Option) (*DescribeRegistryOutput, error)

DescribeRegistryWithContext is the same as DescribeRegistry with the addition of the ability to pass a context and additional request options.

See DescribeRegistry for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) DescribeSchema

func (c *Schemas) DescribeSchema(input *DescribeSchemaInput) (*DescribeSchemaOutput, error)

DescribeSchema API operation for Schemas.

Retrieve the schema definition.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation DescribeSchema for usage and error information.

Returned Error Types:

  • BadRequestException

  • UnauthorizedException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DescribeSchema

func (*Schemas) DescribeSchemaRequest

func (c *Schemas) DescribeSchemaRequest(input *DescribeSchemaInput) (req *request.Request, output *DescribeSchemaOutput)

DescribeSchemaRequest generates a "aws/request.Request" representing the client's request for the DescribeSchema operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeSchema for more information on using the DescribeSchema API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeSchemaRequest method.
req, resp := client.DescribeSchemaRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DescribeSchema

func (*Schemas) DescribeSchemaWithContext

func (c *Schemas) DescribeSchemaWithContext(ctx aws.Context, input *DescribeSchemaInput, opts ...request.Option) (*DescribeSchemaOutput, error)

DescribeSchemaWithContext is the same as DescribeSchema with the addition of the ability to pass a context and additional request options.

See DescribeSchema for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) ExportSchema added in v1.34.34

func (c *Schemas) ExportSchema(input *ExportSchemaInput) (*ExportSchemaOutput, error)

ExportSchema API operation for Schemas.

Exports a schema to a different specification.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation ExportSchema for usage and error information.

Returned Error Types:

  • BadRequestException

  • UnauthorizedException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ExportSchema

func (*Schemas) ExportSchemaRequest added in v1.34.34

func (c *Schemas) ExportSchemaRequest(input *ExportSchemaInput) (req *request.Request, output *ExportSchemaOutput)

ExportSchemaRequest generates a "aws/request.Request" representing the client's request for the ExportSchema operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ExportSchema for more information on using the ExportSchema API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ExportSchemaRequest method.
req, resp := client.ExportSchemaRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ExportSchema

func (*Schemas) ExportSchemaWithContext added in v1.34.34

func (c *Schemas) ExportSchemaWithContext(ctx aws.Context, input *ExportSchemaInput, opts ...request.Option) (*ExportSchemaOutput, error)

ExportSchemaWithContext is the same as ExportSchema with the addition of the ability to pass a context and additional request options.

See ExportSchema for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) GetCodeBindingSource

func (c *Schemas) GetCodeBindingSource(input *GetCodeBindingSourceInput) (*GetCodeBindingSourceOutput, error)

GetCodeBindingSource API operation for Schemas.

Get the code binding source URI.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation GetCodeBindingSource for usage and error information.

Returned Error Types:

  • BadRequestException

  • UnauthorizedException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/GetCodeBindingSource

func (*Schemas) GetCodeBindingSourceRequest

func (c *Schemas) GetCodeBindingSourceRequest(input *GetCodeBindingSourceInput) (req *request.Request, output *GetCodeBindingSourceOutput)

GetCodeBindingSourceRequest generates a "aws/request.Request" representing the client's request for the GetCodeBindingSource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetCodeBindingSource for more information on using the GetCodeBindingSource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetCodeBindingSourceRequest method.
req, resp := client.GetCodeBindingSourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/GetCodeBindingSource

func (*Schemas) GetCodeBindingSourceWithContext

func (c *Schemas) GetCodeBindingSourceWithContext(ctx aws.Context, input *GetCodeBindingSourceInput, opts ...request.Option) (*GetCodeBindingSourceOutput, error)

GetCodeBindingSourceWithContext is the same as GetCodeBindingSource with the addition of the ability to pass a context and additional request options.

See GetCodeBindingSource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) GetDiscoveredSchema

func (c *Schemas) GetDiscoveredSchema(input *GetDiscoveredSchemaInput) (*GetDiscoveredSchemaOutput, error)

GetDiscoveredSchema API operation for Schemas.

Get the discovered schema that was generated based on sampled events.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation GetDiscoveredSchema for usage and error information.

Returned Error Types:

  • ServiceUnavailableException

  • BadRequestException

  • UnauthorizedException

  • InternalServerErrorException

  • ForbiddenException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/GetDiscoveredSchema

func (*Schemas) GetDiscoveredSchemaRequest

func (c *Schemas) GetDiscoveredSchemaRequest(input *GetDiscoveredSchemaInput) (req *request.Request, output *GetDiscoveredSchemaOutput)

GetDiscoveredSchemaRequest generates a "aws/request.Request" representing the client's request for the GetDiscoveredSchema operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDiscoveredSchema for more information on using the GetDiscoveredSchema API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDiscoveredSchemaRequest method.
req, resp := client.GetDiscoveredSchemaRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/GetDiscoveredSchema

func (*Schemas) GetDiscoveredSchemaWithContext

func (c *Schemas) GetDiscoveredSchemaWithContext(ctx aws.Context, input *GetDiscoveredSchemaInput, opts ...request.Option) (*GetDiscoveredSchemaOutput, error)

GetDiscoveredSchemaWithContext is the same as GetDiscoveredSchema with the addition of the ability to pass a context and additional request options.

See GetDiscoveredSchema for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) GetResourcePolicy added in v1.30.18

func (c *Schemas) GetResourcePolicy(input *GetResourcePolicyInput) (*GetResourcePolicyOutput, error)

GetResourcePolicy API operation for Schemas.

Retrieves the resource-based policy attached to a given registry.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation GetResourcePolicy for usage and error information.

Returned Error Types:

  • BadRequestException

  • UnauthorizedException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/GetResourcePolicy

func (*Schemas) GetResourcePolicyRequest added in v1.30.18

func (c *Schemas) GetResourcePolicyRequest(input *GetResourcePolicyInput) (req *request.Request, output *GetResourcePolicyOutput)

GetResourcePolicyRequest generates a "aws/request.Request" representing the client's request for the GetResourcePolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetResourcePolicy for more information on using the GetResourcePolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetResourcePolicyRequest method.
req, resp := client.GetResourcePolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/GetResourcePolicy

func (*Schemas) GetResourcePolicyWithContext added in v1.30.18

func (c *Schemas) GetResourcePolicyWithContext(ctx aws.Context, input *GetResourcePolicyInput, opts ...request.Option) (*GetResourcePolicyOutput, error)

GetResourcePolicyWithContext is the same as GetResourcePolicy with the addition of the ability to pass a context and additional request options.

See GetResourcePolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) ListDiscoverers

func (c *Schemas) ListDiscoverers(input *ListDiscoverersInput) (*ListDiscoverersOutput, error)

ListDiscoverers API operation for Schemas.

List the discoverers.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation ListDiscoverers for usage and error information.

Returned Error Types:

  • ServiceUnavailableException

  • BadRequestException

  • UnauthorizedException

  • InternalServerErrorException

  • ForbiddenException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListDiscoverers

func (*Schemas) ListDiscoverersPages

func (c *Schemas) ListDiscoverersPages(input *ListDiscoverersInput, fn func(*ListDiscoverersOutput, bool) bool) error

ListDiscoverersPages iterates over the pages of a ListDiscoverers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListDiscoverers method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListDiscoverers operation.
pageNum := 0
err := client.ListDiscoverersPages(params,
    func(page *schemas.ListDiscoverersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Schemas) ListDiscoverersPagesWithContext

func (c *Schemas) ListDiscoverersPagesWithContext(ctx aws.Context, input *ListDiscoverersInput, fn func(*ListDiscoverersOutput, bool) bool, opts ...request.Option) error

ListDiscoverersPagesWithContext same as ListDiscoverersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) ListDiscoverersRequest

func (c *Schemas) ListDiscoverersRequest(input *ListDiscoverersInput) (req *request.Request, output *ListDiscoverersOutput)

ListDiscoverersRequest generates a "aws/request.Request" representing the client's request for the ListDiscoverers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListDiscoverers for more information on using the ListDiscoverers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListDiscoverersRequest method.
req, resp := client.ListDiscoverersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListDiscoverers

func (*Schemas) ListDiscoverersWithContext

func (c *Schemas) ListDiscoverersWithContext(ctx aws.Context, input *ListDiscoverersInput, opts ...request.Option) (*ListDiscoverersOutput, error)

ListDiscoverersWithContext is the same as ListDiscoverers with the addition of the ability to pass a context and additional request options.

See ListDiscoverers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) ListRegistries

func (c *Schemas) ListRegistries(input *ListRegistriesInput) (*ListRegistriesOutput, error)

ListRegistries API operation for Schemas.

List the registries.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation ListRegistries for usage and error information.

Returned Error Types:

  • ServiceUnavailableException

  • BadRequestException

  • UnauthorizedException

  • InternalServerErrorException

  • ForbiddenException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListRegistries

func (*Schemas) ListRegistriesPages

func (c *Schemas) ListRegistriesPages(input *ListRegistriesInput, fn func(*ListRegistriesOutput, bool) bool) error

ListRegistriesPages iterates over the pages of a ListRegistries operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListRegistries method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListRegistries operation.
pageNum := 0
err := client.ListRegistriesPages(params,
    func(page *schemas.ListRegistriesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Schemas) ListRegistriesPagesWithContext

func (c *Schemas) ListRegistriesPagesWithContext(ctx aws.Context, input *ListRegistriesInput, fn func(*ListRegistriesOutput, bool) bool, opts ...request.Option) error

ListRegistriesPagesWithContext same as ListRegistriesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) ListRegistriesRequest

func (c *Schemas) ListRegistriesRequest(input *ListRegistriesInput) (req *request.Request, output *ListRegistriesOutput)

ListRegistriesRequest generates a "aws/request.Request" representing the client's request for the ListRegistries operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListRegistries for more information on using the ListRegistries API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListRegistriesRequest method.
req, resp := client.ListRegistriesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListRegistries

func (*Schemas) ListRegistriesWithContext

func (c *Schemas) ListRegistriesWithContext(ctx aws.Context, input *ListRegistriesInput, opts ...request.Option) (*ListRegistriesOutput, error)

ListRegistriesWithContext is the same as ListRegistries with the addition of the ability to pass a context and additional request options.

See ListRegistries for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) ListSchemaVersions

func (c *Schemas) ListSchemaVersions(input *ListSchemaVersionsInput) (*ListSchemaVersionsOutput, error)

ListSchemaVersions API operation for Schemas.

Provides a list of the schema versions and related information.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation ListSchemaVersions for usage and error information.

Returned Error Types:

  • BadRequestException

  • UnauthorizedException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListSchemaVersions

func (*Schemas) ListSchemaVersionsPages

func (c *Schemas) ListSchemaVersionsPages(input *ListSchemaVersionsInput, fn func(*ListSchemaVersionsOutput, bool) bool) error

ListSchemaVersionsPages iterates over the pages of a ListSchemaVersions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListSchemaVersions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListSchemaVersions operation.
pageNum := 0
err := client.ListSchemaVersionsPages(params,
    func(page *schemas.ListSchemaVersionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Schemas) ListSchemaVersionsPagesWithContext

func (c *Schemas) ListSchemaVersionsPagesWithContext(ctx aws.Context, input *ListSchemaVersionsInput, fn func(*ListSchemaVersionsOutput, bool) bool, opts ...request.Option) error

ListSchemaVersionsPagesWithContext same as ListSchemaVersionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) ListSchemaVersionsRequest

func (c *Schemas) ListSchemaVersionsRequest(input *ListSchemaVersionsInput) (req *request.Request, output *ListSchemaVersionsOutput)

ListSchemaVersionsRequest generates a "aws/request.Request" representing the client's request for the ListSchemaVersions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListSchemaVersions for more information on using the ListSchemaVersions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListSchemaVersionsRequest method.
req, resp := client.ListSchemaVersionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListSchemaVersions

func (*Schemas) ListSchemaVersionsWithContext

func (c *Schemas) ListSchemaVersionsWithContext(ctx aws.Context, input *ListSchemaVersionsInput, opts ...request.Option) (*ListSchemaVersionsOutput, error)

ListSchemaVersionsWithContext is the same as ListSchemaVersions with the addition of the ability to pass a context and additional request options.

See ListSchemaVersions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) ListSchemas

func (c *Schemas) ListSchemas(input *ListSchemasInput) (*ListSchemasOutput, error)

ListSchemas API operation for Schemas.

List the schemas.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation ListSchemas for usage and error information.

Returned Error Types:

  • ServiceUnavailableException

  • BadRequestException

  • UnauthorizedException

  • InternalServerErrorException

  • ForbiddenException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListSchemas

func (*Schemas) ListSchemasPages

func (c *Schemas) ListSchemasPages(input *ListSchemasInput, fn func(*ListSchemasOutput, bool) bool) error

ListSchemasPages iterates over the pages of a ListSchemas operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListSchemas method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListSchemas operation.
pageNum := 0
err := client.ListSchemasPages(params,
    func(page *schemas.ListSchemasOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Schemas) ListSchemasPagesWithContext

func (c *Schemas) ListSchemasPagesWithContext(ctx aws.Context, input *ListSchemasInput, fn func(*ListSchemasOutput, bool) bool, opts ...request.Option) error

ListSchemasPagesWithContext same as ListSchemasPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) ListSchemasRequest

func (c *Schemas) ListSchemasRequest(input *ListSchemasInput) (req *request.Request, output *ListSchemasOutput)

ListSchemasRequest generates a "aws/request.Request" representing the client's request for the ListSchemas operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListSchemas for more information on using the ListSchemas API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListSchemasRequest method.
req, resp := client.ListSchemasRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListSchemas

func (*Schemas) ListSchemasWithContext

func (c *Schemas) ListSchemasWithContext(ctx aws.Context, input *ListSchemasInput, opts ...request.Option) (*ListSchemasOutput, error)

ListSchemasWithContext is the same as ListSchemas with the addition of the ability to pass a context and additional request options.

See ListSchemas for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) ListTagsForResource

func (c *Schemas) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for Schemas.

Get tags for resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • NotFoundException

  • BadRequestException

  • InternalServerErrorException

  • ForbiddenException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListTagsForResource

func (*Schemas) ListTagsForResourceRequest

func (c *Schemas) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListTagsForResource

func (*Schemas) ListTagsForResourceWithContext

func (c *Schemas) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) PutCodeBinding

func (c *Schemas) PutCodeBinding(input *PutCodeBindingInput) (*PutCodeBindingOutput, error)

PutCodeBinding API operation for Schemas.

Put code binding URI

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation PutCodeBinding for usage and error information.

Returned Error Types:

  • GoneException

  • BadRequestException

  • UnauthorizedException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/PutCodeBinding

func (*Schemas) PutCodeBindingRequest

func (c *Schemas) PutCodeBindingRequest(input *PutCodeBindingInput) (req *request.Request, output *PutCodeBindingOutput)

PutCodeBindingRequest generates a "aws/request.Request" representing the client's request for the PutCodeBinding operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutCodeBinding for more information on using the PutCodeBinding API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutCodeBindingRequest method.
req, resp := client.PutCodeBindingRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/PutCodeBinding

func (*Schemas) PutCodeBindingWithContext

func (c *Schemas) PutCodeBindingWithContext(ctx aws.Context, input *PutCodeBindingInput, opts ...request.Option) (*PutCodeBindingOutput, error)

PutCodeBindingWithContext is the same as PutCodeBinding with the addition of the ability to pass a context and additional request options.

See PutCodeBinding for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) PutResourcePolicy added in v1.30.18

func (c *Schemas) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error)

PutResourcePolicy API operation for Schemas.

The name of the policy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation PutResourcePolicy for usage and error information.

Returned Error Types:

  • BadRequestException

  • UnauthorizedException

  • PreconditionFailedException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/PutResourcePolicy

func (*Schemas) PutResourcePolicyRequest added in v1.30.18

func (c *Schemas) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput)

PutResourcePolicyRequest generates a "aws/request.Request" representing the client's request for the PutResourcePolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutResourcePolicy for more information on using the PutResourcePolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutResourcePolicyRequest method.
req, resp := client.PutResourcePolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/PutResourcePolicy

func (*Schemas) PutResourcePolicyWithContext added in v1.30.18

func (c *Schemas) PutResourcePolicyWithContext(ctx aws.Context, input *PutResourcePolicyInput, opts ...request.Option) (*PutResourcePolicyOutput, error)

PutResourcePolicyWithContext is the same as PutResourcePolicy with the addition of the ability to pass a context and additional request options.

See PutResourcePolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) SearchSchemas

func (c *Schemas) SearchSchemas(input *SearchSchemasInput) (*SearchSchemasOutput, error)

SearchSchemas API operation for Schemas.

Search the schemas

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation SearchSchemas for usage and error information.

Returned Error Types:

  • ServiceUnavailableException

  • BadRequestException

  • UnauthorizedException

  • InternalServerErrorException

  • ForbiddenException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/SearchSchemas

func (*Schemas) SearchSchemasPages

func (c *Schemas) SearchSchemasPages(input *SearchSchemasInput, fn func(*SearchSchemasOutput, bool) bool) error

SearchSchemasPages iterates over the pages of a SearchSchemas operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See SearchSchemas method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a SearchSchemas operation.
pageNum := 0
err := client.SearchSchemasPages(params,
    func(page *schemas.SearchSchemasOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Schemas) SearchSchemasPagesWithContext

func (c *Schemas) SearchSchemasPagesWithContext(ctx aws.Context, input *SearchSchemasInput, fn func(*SearchSchemasOutput, bool) bool, opts ...request.Option) error

SearchSchemasPagesWithContext same as SearchSchemasPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) SearchSchemasRequest

func (c *Schemas) SearchSchemasRequest(input *SearchSchemasInput) (req *request.Request, output *SearchSchemasOutput)

SearchSchemasRequest generates a "aws/request.Request" representing the client's request for the SearchSchemas operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SearchSchemas for more information on using the SearchSchemas API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SearchSchemasRequest method.
req, resp := client.SearchSchemasRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/SearchSchemas

func (*Schemas) SearchSchemasWithContext

func (c *Schemas) SearchSchemasWithContext(ctx aws.Context, input *SearchSchemasInput, opts ...request.Option) (*SearchSchemasOutput, error)

SearchSchemasWithContext is the same as SearchSchemas with the addition of the ability to pass a context and additional request options.

See SearchSchemas for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) StartDiscoverer

func (c *Schemas) StartDiscoverer(input *StartDiscovererInput) (*StartDiscovererOutput, error)

StartDiscoverer API operation for Schemas.

Starts the discoverer

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation StartDiscoverer for usage and error information.

Returned Error Types:

  • BadRequestException

  • UnauthorizedException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/StartDiscoverer

func (*Schemas) StartDiscovererRequest

func (c *Schemas) StartDiscovererRequest(input *StartDiscovererInput) (req *request.Request, output *StartDiscovererOutput)

StartDiscovererRequest generates a "aws/request.Request" representing the client's request for the StartDiscoverer operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartDiscoverer for more information on using the StartDiscoverer API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartDiscovererRequest method.
req, resp := client.StartDiscovererRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/StartDiscoverer

func (*Schemas) StartDiscovererWithContext

func (c *Schemas) StartDiscovererWithContext(ctx aws.Context, input *StartDiscovererInput, opts ...request.Option) (*StartDiscovererOutput, error)

StartDiscovererWithContext is the same as StartDiscoverer with the addition of the ability to pass a context and additional request options.

See StartDiscoverer for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) StopDiscoverer

func (c *Schemas) StopDiscoverer(input *StopDiscovererInput) (*StopDiscovererOutput, error)

StopDiscoverer API operation for Schemas.

Stops the discoverer

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation StopDiscoverer for usage and error information.

Returned Error Types:

  • BadRequestException

  • UnauthorizedException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/StopDiscoverer

func (*Schemas) StopDiscovererRequest

func (c *Schemas) StopDiscovererRequest(input *StopDiscovererInput) (req *request.Request, output *StopDiscovererOutput)

StopDiscovererRequest generates a "aws/request.Request" representing the client's request for the StopDiscoverer operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StopDiscoverer for more information on using the StopDiscoverer API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StopDiscovererRequest method.
req, resp := client.StopDiscovererRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/StopDiscoverer

func (*Schemas) StopDiscovererWithContext

func (c *Schemas) StopDiscovererWithContext(ctx aws.Context, input *StopDiscovererInput, opts ...request.Option) (*StopDiscovererOutput, error)

StopDiscovererWithContext is the same as StopDiscoverer with the addition of the ability to pass a context and additional request options.

See StopDiscoverer for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) TagResource

func (c *Schemas) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for Schemas.

Add tags to a resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation TagResource for usage and error information.

Returned Error Types:

  • NotFoundException

  • BadRequestException

  • InternalServerErrorException

  • ForbiddenException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/TagResource

func (*Schemas) TagResourceRequest

func (c *Schemas) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/TagResource

func (*Schemas) TagResourceWithContext

func (c *Schemas) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) UntagResource

func (c *Schemas) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for Schemas.

Removes tags from a resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation UntagResource for usage and error information.

Returned Error Types:

  • NotFoundException

  • BadRequestException

  • InternalServerErrorException

  • ForbiddenException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/UntagResource

func (*Schemas) UntagResourceRequest

func (c *Schemas) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/UntagResource

func (*Schemas) UntagResourceWithContext

func (c *Schemas) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) UpdateDiscoverer

func (c *Schemas) UpdateDiscoverer(input *UpdateDiscovererInput) (*UpdateDiscovererOutput, error)

UpdateDiscoverer API operation for Schemas.

Updates the discoverer

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation UpdateDiscoverer for usage and error information.

Returned Error Types:

  • BadRequestException

  • UnauthorizedException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/UpdateDiscoverer

func (*Schemas) UpdateDiscovererRequest

func (c *Schemas) UpdateDiscovererRequest(input *UpdateDiscovererInput) (req *request.Request, output *UpdateDiscovererOutput)

UpdateDiscovererRequest generates a "aws/request.Request" representing the client's request for the UpdateDiscoverer operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateDiscoverer for more information on using the UpdateDiscoverer API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateDiscovererRequest method.
req, resp := client.UpdateDiscovererRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/UpdateDiscoverer

func (*Schemas) UpdateDiscovererWithContext

func (c *Schemas) UpdateDiscovererWithContext(ctx aws.Context, input *UpdateDiscovererInput, opts ...request.Option) (*UpdateDiscovererOutput, error)

UpdateDiscovererWithContext is the same as UpdateDiscoverer with the addition of the ability to pass a context and additional request options.

See UpdateDiscoverer for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) UpdateRegistry

func (c *Schemas) UpdateRegistry(input *UpdateRegistryInput) (*UpdateRegistryOutput, error)

UpdateRegistry API operation for Schemas.

Updates a registry.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation UpdateRegistry for usage and error information.

Returned Error Types:

  • BadRequestException

  • UnauthorizedException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/UpdateRegistry

func (*Schemas) UpdateRegistryRequest

func (c *Schemas) UpdateRegistryRequest(input *UpdateRegistryInput) (req *request.Request, output *UpdateRegistryOutput)

UpdateRegistryRequest generates a "aws/request.Request" representing the client's request for the UpdateRegistry operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateRegistry for more information on using the UpdateRegistry API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateRegistryRequest method.
req, resp := client.UpdateRegistryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/UpdateRegistry

func (*Schemas) UpdateRegistryWithContext

func (c *Schemas) UpdateRegistryWithContext(ctx aws.Context, input *UpdateRegistryInput, opts ...request.Option) (*UpdateRegistryOutput, error)

UpdateRegistryWithContext is the same as UpdateRegistry with the addition of the ability to pass a context and additional request options.

See UpdateRegistry for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) UpdateSchema

func (c *Schemas) UpdateSchema(input *UpdateSchemaInput) (*UpdateSchemaOutput, error)

UpdateSchema API operation for Schemas.

Updates the schema definition

Inactive schemas will be deleted after two years.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Schemas's API operation UpdateSchema for usage and error information.

Returned Error Types:

  • BadRequestException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/UpdateSchema

func (*Schemas) UpdateSchemaRequest

func (c *Schemas) UpdateSchemaRequest(input *UpdateSchemaInput) (req *request.Request, output *UpdateSchemaOutput)

UpdateSchemaRequest generates a "aws/request.Request" representing the client's request for the UpdateSchema operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateSchema for more information on using the UpdateSchema API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateSchemaRequest method.
req, resp := client.UpdateSchemaRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/UpdateSchema

func (*Schemas) UpdateSchemaWithContext

func (c *Schemas) UpdateSchemaWithContext(ctx aws.Context, input *UpdateSchemaInput, opts ...request.Option) (*UpdateSchemaOutput, error)

UpdateSchemaWithContext is the same as UpdateSchema with the addition of the ability to pass a context and additional request options.

See UpdateSchema for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Schemas) WaitUntilCodeBindingExists

func (c *Schemas) WaitUntilCodeBindingExists(input *DescribeCodeBindingInput) error

WaitUntilCodeBindingExists uses the Schemas API operation DescribeCodeBinding to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*Schemas) WaitUntilCodeBindingExistsWithContext

func (c *Schemas) WaitUntilCodeBindingExistsWithContext(ctx aws.Context, input *DescribeCodeBindingInput, opts ...request.WaiterOption) error

WaitUntilCodeBindingExistsWithContext is an extended version of WaitUntilCodeBindingExists. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type SearchSchemaSummary

type SearchSchemaSummary struct {

	// The name of the registry.
	RegistryName *string `type:"string"`

	// The ARN of the schema.
	SchemaArn *string `type:"string"`

	// The name of the schema.
	SchemaName *string `type:"string"`

	// An array of schema version summaries.
	SchemaVersions []*SearchSchemaVersionSummary `type:"list"`
	// contains filtered or unexported fields
}

func (SearchSchemaSummary) GoString

func (s SearchSchemaSummary) GoString() string

GoString returns the string representation

func (*SearchSchemaSummary) SetRegistryName

func (s *SearchSchemaSummary) SetRegistryName(v string) *SearchSchemaSummary

SetRegistryName sets the RegistryName field's value.

func (*SearchSchemaSummary) SetSchemaArn

func (s *SearchSchemaSummary) SetSchemaArn(v string) *SearchSchemaSummary

SetSchemaArn sets the SchemaArn field's value.

func (*SearchSchemaSummary) SetSchemaName

func (s *SearchSchemaSummary) SetSchemaName(v string) *SearchSchemaSummary

SetSchemaName sets the SchemaName field's value.

func (*SearchSchemaSummary) SetSchemaVersions

SetSchemaVersions sets the SchemaVersions field's value.

func (SearchSchemaSummary) String

func (s SearchSchemaSummary) String() string

String returns the string representation

type SearchSchemaVersionSummary

type SearchSchemaVersionSummary struct {

	// The date the schema version was created.
	CreatedDate *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The version number of the schema
	SchemaVersion *string `type:"string"`

	Type *string `type:"string"`
	// contains filtered or unexported fields
}

func (SearchSchemaVersionSummary) GoString

func (s SearchSchemaVersionSummary) GoString() string

GoString returns the string representation

func (*SearchSchemaVersionSummary) SetCreatedDate

SetCreatedDate sets the CreatedDate field's value.

func (*SearchSchemaVersionSummary) SetSchemaVersion

SetSchemaVersion sets the SchemaVersion field's value.

func (*SearchSchemaVersionSummary) SetType added in v1.34.34

SetType sets the Type field's value.

func (SearchSchemaVersionSummary) String

String returns the string representation

type SearchSchemasInput

type SearchSchemasInput struct {

	// Keywords is a required field
	Keywords *string `location:"querystring" locationName:"keywords" type:"string" required:"true"`

	Limit *int64 `location:"querystring" locationName:"limit" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// RegistryName is a required field
	RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (SearchSchemasInput) GoString

func (s SearchSchemasInput) GoString() string

GoString returns the string representation

func (*SearchSchemasInput) SetKeywords

func (s *SearchSchemasInput) SetKeywords(v string) *SearchSchemasInput

SetKeywords sets the Keywords field's value.

func (*SearchSchemasInput) SetLimit

SetLimit sets the Limit field's value.

func (*SearchSchemasInput) SetNextToken

func (s *SearchSchemasInput) SetNextToken(v string) *SearchSchemasInput

SetNextToken sets the NextToken field's value.

func (*SearchSchemasInput) SetRegistryName

func (s *SearchSchemasInput) SetRegistryName(v string) *SearchSchemasInput

SetRegistryName sets the RegistryName field's value.

func (SearchSchemasInput) String

func (s SearchSchemasInput) String() string

String returns the string representation

func (*SearchSchemasInput) Validate

func (s *SearchSchemasInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SearchSchemasOutput

type SearchSchemasOutput struct {
	NextToken *string `type:"string"`

	Schemas []*SearchSchemaSummary `type:"list"`
	// contains filtered or unexported fields
}

func (SearchSchemasOutput) GoString

func (s SearchSchemasOutput) GoString() string

GoString returns the string representation

func (*SearchSchemasOutput) SetNextToken

func (s *SearchSchemasOutput) SetNextToken(v string) *SearchSchemasOutput

SetNextToken sets the NextToken field's value.

func (*SearchSchemasOutput) SetSchemas

SetSchemas sets the Schemas field's value.

func (SearchSchemasOutput) String

func (s SearchSchemasOutput) String() string

String returns the string representation

type ServiceUnavailableException added in v1.28.0

type ServiceUnavailableException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Code_ *string `locationName:"Code" type:"string"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

func (*ServiceUnavailableException) Code added in v1.28.0

Code returns the exception type name.

func (*ServiceUnavailableException) Error added in v1.28.0

func (ServiceUnavailableException) GoString added in v1.28.0

func (s ServiceUnavailableException) GoString() string

GoString returns the string representation

func (*ServiceUnavailableException) Message added in v1.28.0

func (s *ServiceUnavailableException) Message() string

Message returns the exception's message.

func (*ServiceUnavailableException) OrigErr added in v1.28.0

func (s *ServiceUnavailableException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceUnavailableException) RequestID added in v1.28.0

func (s *ServiceUnavailableException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceUnavailableException) StatusCode added in v1.28.0

func (s *ServiceUnavailableException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServiceUnavailableException) String added in v1.28.0

String returns the string representation

type StartDiscovererInput

type StartDiscovererInput struct {

	// DiscovererId is a required field
	DiscovererId *string `location:"uri" locationName:"discovererId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StartDiscovererInput) GoString

func (s StartDiscovererInput) GoString() string

GoString returns the string representation

func (*StartDiscovererInput) SetDiscovererId

func (s *StartDiscovererInput) SetDiscovererId(v string) *StartDiscovererInput

SetDiscovererId sets the DiscovererId field's value.

func (StartDiscovererInput) String

func (s StartDiscovererInput) String() string

String returns the string representation

func (*StartDiscovererInput) Validate

func (s *StartDiscovererInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StartDiscovererOutput

type StartDiscovererOutput struct {
	DiscovererId *string `type:"string"`

	State *string `type:"string" enum:"DiscovererState"`
	// contains filtered or unexported fields
}

func (StartDiscovererOutput) GoString

func (s StartDiscovererOutput) GoString() string

GoString returns the string representation

func (*StartDiscovererOutput) SetDiscovererId

func (s *StartDiscovererOutput) SetDiscovererId(v string) *StartDiscovererOutput

SetDiscovererId sets the DiscovererId field's value.

func (*StartDiscovererOutput) SetState

SetState sets the State field's value.

func (StartDiscovererOutput) String

func (s StartDiscovererOutput) String() string

String returns the string representation

type StopDiscovererInput

type StopDiscovererInput struct {

	// DiscovererId is a required field
	DiscovererId *string `location:"uri" locationName:"discovererId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StopDiscovererInput) GoString

func (s StopDiscovererInput) GoString() string

GoString returns the string representation

func (*StopDiscovererInput) SetDiscovererId

func (s *StopDiscovererInput) SetDiscovererId(v string) *StopDiscovererInput

SetDiscovererId sets the DiscovererId field's value.

func (StopDiscovererInput) String

func (s StopDiscovererInput) String() string

String returns the string representation

func (*StopDiscovererInput) Validate

func (s *StopDiscovererInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StopDiscovererOutput

type StopDiscovererOutput struct {
	DiscovererId *string `type:"string"`

	State *string `type:"string" enum:"DiscovererState"`
	// contains filtered or unexported fields
}

func (StopDiscovererOutput) GoString

func (s StopDiscovererOutput) GoString() string

GoString returns the string representation

func (*StopDiscovererOutput) SetDiscovererId

func (s *StopDiscovererOutput) SetDiscovererId(v string) *StopDiscovererOutput

SetDiscovererId sets the DiscovererId field's value.

func (*StopDiscovererOutput) SetState

SetState sets the State field's value.

func (StopDiscovererOutput) String

func (s StopDiscovererOutput) String() string

String returns the string representation

type TagResourceInput

type TagResourceInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"`

	// Key-value pairs associated with a resource.
	//
	// Tags is a required field
	Tags map[string]*string `locationName:"tags" type:"map" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type TooManyRequestsException added in v1.28.0

type TooManyRequestsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Code_ *string `locationName:"Code" type:"string"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

func (*TooManyRequestsException) Code added in v1.28.0

func (s *TooManyRequestsException) Code() string

Code returns the exception type name.

func (*TooManyRequestsException) Error added in v1.28.0

func (s *TooManyRequestsException) Error() string

func (TooManyRequestsException) GoString added in v1.28.0

func (s TooManyRequestsException) GoString() string

GoString returns the string representation

func (*TooManyRequestsException) Message added in v1.28.0

func (s *TooManyRequestsException) Message() string

Message returns the exception's message.

func (*TooManyRequestsException) OrigErr added in v1.28.0

func (s *TooManyRequestsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TooManyRequestsException) RequestID added in v1.28.0

func (s *TooManyRequestsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TooManyRequestsException) StatusCode added in v1.28.0

func (s *TooManyRequestsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (TooManyRequestsException) String added in v1.28.0

func (s TooManyRequestsException) String() string

String returns the string representation

type UnauthorizedException added in v1.28.0

type UnauthorizedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Code_ *string `locationName:"Code" type:"string"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

func (*UnauthorizedException) Code added in v1.28.0

func (s *UnauthorizedException) Code() string

Code returns the exception type name.

func (*UnauthorizedException) Error added in v1.28.0

func (s *UnauthorizedException) Error() string

func (UnauthorizedException) GoString added in v1.28.0

func (s UnauthorizedException) GoString() string

GoString returns the string representation

func (*UnauthorizedException) Message added in v1.28.0

func (s *UnauthorizedException) Message() string

Message returns the exception's message.

func (*UnauthorizedException) OrigErr added in v1.28.0

func (s *UnauthorizedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*UnauthorizedException) RequestID added in v1.28.0

func (s *UnauthorizedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*UnauthorizedException) StatusCode added in v1.28.0

func (s *UnauthorizedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (UnauthorizedException) String added in v1.28.0

func (s UnauthorizedException) String() string

String returns the string representation

type UntagResourceInput

type UntagResourceInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"`

	// TagKeys is a required field
	TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UpdateDiscovererInput

type UpdateDiscovererInput struct {
	Description *string `type:"string"`

	// DiscovererId is a required field
	DiscovererId *string `location:"uri" locationName:"discovererId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateDiscovererInput) GoString

func (s UpdateDiscovererInput) GoString() string

GoString returns the string representation

func (*UpdateDiscovererInput) SetDescription

func (s *UpdateDiscovererInput) SetDescription(v string) *UpdateDiscovererInput

SetDescription sets the Description field's value.

func (*UpdateDiscovererInput) SetDiscovererId

func (s *UpdateDiscovererInput) SetDiscovererId(v string) *UpdateDiscovererInput

SetDiscovererId sets the DiscovererId field's value.

func (UpdateDiscovererInput) String

func (s UpdateDiscovererInput) String() string

String returns the string representation

func (*UpdateDiscovererInput) Validate

func (s *UpdateDiscovererInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateDiscovererOutput

type UpdateDiscovererOutput struct {
	Description *string `type:"string"`

	DiscovererArn *string `type:"string"`

	DiscovererId *string `type:"string"`

	SourceArn *string `type:"string"`

	State *string `type:"string" enum:"DiscovererState"`

	// Key-value pairs associated with a resource.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (UpdateDiscovererOutput) GoString

func (s UpdateDiscovererOutput) GoString() string

GoString returns the string representation

func (*UpdateDiscovererOutput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateDiscovererOutput) SetDiscovererArn

func (s *UpdateDiscovererOutput) SetDiscovererArn(v string) *UpdateDiscovererOutput

SetDiscovererArn sets the DiscovererArn field's value.

func (*UpdateDiscovererOutput) SetDiscovererId

func (s *UpdateDiscovererOutput) SetDiscovererId(v string) *UpdateDiscovererOutput

SetDiscovererId sets the DiscovererId field's value.

func (*UpdateDiscovererOutput) SetSourceArn

SetSourceArn sets the SourceArn field's value.

func (*UpdateDiscovererOutput) SetState

SetState sets the State field's value.

func (*UpdateDiscovererOutput) SetTags

SetTags sets the Tags field's value.

func (UpdateDiscovererOutput) String

func (s UpdateDiscovererOutput) String() string

String returns the string representation

type UpdateRegistryInput

type UpdateRegistryInput struct {
	Description *string `type:"string"`

	// RegistryName is a required field
	RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateRegistryInput) GoString

func (s UpdateRegistryInput) GoString() string

GoString returns the string representation

func (*UpdateRegistryInput) SetDescription

func (s *UpdateRegistryInput) SetDescription(v string) *UpdateRegistryInput

SetDescription sets the Description field's value.

func (*UpdateRegistryInput) SetRegistryName

func (s *UpdateRegistryInput) SetRegistryName(v string) *UpdateRegistryInput

SetRegistryName sets the RegistryName field's value.

func (UpdateRegistryInput) String

func (s UpdateRegistryInput) String() string

String returns the string representation

func (*UpdateRegistryInput) Validate

func (s *UpdateRegistryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateRegistryOutput

type UpdateRegistryOutput struct {
	Description *string `type:"string"`

	RegistryArn *string `type:"string"`

	RegistryName *string `type:"string"`

	// Key-value pairs associated with a resource.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (UpdateRegistryOutput) GoString

func (s UpdateRegistryOutput) GoString() string

GoString returns the string representation

func (*UpdateRegistryOutput) SetDescription

func (s *UpdateRegistryOutput) SetDescription(v string) *UpdateRegistryOutput

SetDescription sets the Description field's value.

func (*UpdateRegistryOutput) SetRegistryArn

func (s *UpdateRegistryOutput) SetRegistryArn(v string) *UpdateRegistryOutput

SetRegistryArn sets the RegistryArn field's value.

func (*UpdateRegistryOutput) SetRegistryName

func (s *UpdateRegistryOutput) SetRegistryName(v string) *UpdateRegistryOutput

SetRegistryName sets the RegistryName field's value.

func (*UpdateRegistryOutput) SetTags

SetTags sets the Tags field's value.

func (UpdateRegistryOutput) String

func (s UpdateRegistryOutput) String() string

String returns the string representation

type UpdateSchemaInput

type UpdateSchemaInput struct {
	ClientTokenId *string `type:"string" idempotencyToken:"true"`

	Content *string `min:"1" type:"string"`

	Description *string `type:"string"`

	// RegistryName is a required field
	RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"`

	// SchemaName is a required field
	SchemaName *string `location:"uri" locationName:"schemaName" type:"string" required:"true"`

	Type *string `type:"string" enum:"Type"`
	// contains filtered or unexported fields
}

func (UpdateSchemaInput) GoString

func (s UpdateSchemaInput) GoString() string

GoString returns the string representation

func (*UpdateSchemaInput) SetClientTokenId

func (s *UpdateSchemaInput) SetClientTokenId(v string) *UpdateSchemaInput

SetClientTokenId sets the ClientTokenId field's value.

func (*UpdateSchemaInput) SetContent

func (s *UpdateSchemaInput) SetContent(v string) *UpdateSchemaInput

SetContent sets the Content field's value.

func (*UpdateSchemaInput) SetDescription

func (s *UpdateSchemaInput) SetDescription(v string) *UpdateSchemaInput

SetDescription sets the Description field's value.

func (*UpdateSchemaInput) SetRegistryName

func (s *UpdateSchemaInput) SetRegistryName(v string) *UpdateSchemaInput

SetRegistryName sets the RegistryName field's value.

func (*UpdateSchemaInput) SetSchemaName

func (s *UpdateSchemaInput) SetSchemaName(v string) *UpdateSchemaInput

SetSchemaName sets the SchemaName field's value.

func (*UpdateSchemaInput) SetType

SetType sets the Type field's value.

func (UpdateSchemaInput) String

func (s UpdateSchemaInput) String() string

String returns the string representation

func (*UpdateSchemaInput) Validate

func (s *UpdateSchemaInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateSchemaOutput

type UpdateSchemaOutput struct {
	Description *string `type:"string"`

	LastModified *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	SchemaArn *string `type:"string"`

	SchemaName *string `type:"string"`

	SchemaVersion *string `type:"string"`

	// Key-value pairs associated with a resource.
	Tags map[string]*string `locationName:"tags" type:"map"`

	Type *string `type:"string"`

	VersionCreatedDate *time.Time `type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

func (UpdateSchemaOutput) GoString

func (s UpdateSchemaOutput) GoString() string

GoString returns the string representation

func (*UpdateSchemaOutput) SetDescription

func (s *UpdateSchemaOutput) SetDescription(v string) *UpdateSchemaOutput

SetDescription sets the Description field's value.

func (*UpdateSchemaOutput) SetLastModified

func (s *UpdateSchemaOutput) SetLastModified(v time.Time) *UpdateSchemaOutput

SetLastModified sets the LastModified field's value.

func (*UpdateSchemaOutput) SetSchemaArn

func (s *UpdateSchemaOutput) SetSchemaArn(v string) *UpdateSchemaOutput

SetSchemaArn sets the SchemaArn field's value.

func (*UpdateSchemaOutput) SetSchemaName

func (s *UpdateSchemaOutput) SetSchemaName(v string) *UpdateSchemaOutput

SetSchemaName sets the SchemaName field's value.

func (*UpdateSchemaOutput) SetSchemaVersion

func (s *UpdateSchemaOutput) SetSchemaVersion(v string) *UpdateSchemaOutput

SetSchemaVersion sets the SchemaVersion field's value.

func (*UpdateSchemaOutput) SetTags

func (s *UpdateSchemaOutput) SetTags(v map[string]*string) *UpdateSchemaOutput

SetTags sets the Tags field's value.

func (*UpdateSchemaOutput) SetType

SetType sets the Type field's value.

func (*UpdateSchemaOutput) SetVersionCreatedDate

func (s *UpdateSchemaOutput) SetVersionCreatedDate(v time.Time) *UpdateSchemaOutput

SetVersionCreatedDate sets the VersionCreatedDate field's value.

func (UpdateSchemaOutput) String

func (s UpdateSchemaOutput) String() string

String returns the string representation

Directories

Path Synopsis
Package schemasiface provides an interface to enable mocking the Schemas service client for testing your code.
Package schemasiface provides an interface to enable mocking the Schemas service client for testing your code.

Jump to

Keyboard shortcuts

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