appsync

package
Version: v1.40.44 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: Apache-2.0 Imports: 9 Imported by: 39

Documentation

Overview

Package appsync provides the client and types for making API requests to AWS AppSync.

AppSync provides API actions for creating and interacting with data sources using GraphQL from your application.

See https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25 for more information on this service.

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

Using the Client

To contact AWS AppSync 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 AWS AppSync client AppSync for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/appsync/#New

Index

Constants

View Source
const (
	// ApiCacheStatusAvailable is a ApiCacheStatus enum value
	ApiCacheStatusAvailable = "AVAILABLE"

	// ApiCacheStatusCreating is a ApiCacheStatus enum value
	ApiCacheStatusCreating = "CREATING"

	// ApiCacheStatusDeleting is a ApiCacheStatus enum value
	ApiCacheStatusDeleting = "DELETING"

	// ApiCacheStatusModifying is a ApiCacheStatus enum value
	ApiCacheStatusModifying = "MODIFYING"

	// ApiCacheStatusFailed is a ApiCacheStatus enum value
	ApiCacheStatusFailed = "FAILED"
)
View Source
const (
	// ApiCacheTypeT2Small is a ApiCacheType enum value
	ApiCacheTypeT2Small = "T2_SMALL"

	// ApiCacheTypeT2Medium is a ApiCacheType enum value
	ApiCacheTypeT2Medium = "T2_MEDIUM"

	// ApiCacheTypeR4Large is a ApiCacheType enum value
	ApiCacheTypeR4Large = "R4_LARGE"

	// ApiCacheTypeR4Xlarge is a ApiCacheType enum value
	ApiCacheTypeR4Xlarge = "R4_XLARGE"

	// ApiCacheTypeR42xlarge is a ApiCacheType enum value
	ApiCacheTypeR42xlarge = "R4_2XLARGE"

	// ApiCacheTypeR44xlarge is a ApiCacheType enum value
	ApiCacheTypeR44xlarge = "R4_4XLARGE"

	// ApiCacheTypeR48xlarge is a ApiCacheType enum value
	ApiCacheTypeR48xlarge = "R4_8XLARGE"

	// ApiCacheTypeSmall is a ApiCacheType enum value
	ApiCacheTypeSmall = "SMALL"

	// ApiCacheTypeMedium is a ApiCacheType enum value
	ApiCacheTypeMedium = "MEDIUM"

	// ApiCacheTypeLarge is a ApiCacheType enum value
	ApiCacheTypeLarge = "LARGE"

	// ApiCacheTypeXlarge is a ApiCacheType enum value
	ApiCacheTypeXlarge = "XLARGE"

	// ApiCacheTypeLarge2x is a ApiCacheType enum value
	ApiCacheTypeLarge2x = "LARGE_2X"

	// ApiCacheTypeLarge4x is a ApiCacheType enum value
	ApiCacheTypeLarge4x = "LARGE_4X"

	// ApiCacheTypeLarge8x is a ApiCacheType enum value
	ApiCacheTypeLarge8x = "LARGE_8X"

	// ApiCacheTypeLarge12x is a ApiCacheType enum value
	ApiCacheTypeLarge12x = "LARGE_12X"
)
View Source
const (
	// ApiCachingBehaviorFullRequestCaching is a ApiCachingBehavior enum value
	ApiCachingBehaviorFullRequestCaching = "FULL_REQUEST_CACHING"

	// ApiCachingBehaviorPerResolverCaching is a ApiCachingBehavior enum value
	ApiCachingBehaviorPerResolverCaching = "PER_RESOLVER_CACHING"
)
View Source
const (
	// AuthenticationTypeApiKey is a AuthenticationType enum value
	AuthenticationTypeApiKey = "API_KEY"

	// AuthenticationTypeAwsIam is a AuthenticationType enum value
	AuthenticationTypeAwsIam = "AWS_IAM"

	// AuthenticationTypeAmazonCognitoUserPools is a AuthenticationType enum value
	AuthenticationTypeAmazonCognitoUserPools = "AMAZON_COGNITO_USER_POOLS"

	// AuthenticationTypeOpenidConnect is a AuthenticationType enum value
	AuthenticationTypeOpenidConnect = "OPENID_CONNECT"

	// AuthenticationTypeAwsLambda is a AuthenticationType enum value
	AuthenticationTypeAwsLambda = "AWS_LAMBDA"
)
View Source
const (
	// ConflictDetectionTypeVersion is a ConflictDetectionType enum value
	ConflictDetectionTypeVersion = "VERSION"

	// ConflictDetectionTypeNone is a ConflictDetectionType enum value
	ConflictDetectionTypeNone = "NONE"
)
View Source
const (
	// ConflictHandlerTypeOptimisticConcurrency is a ConflictHandlerType enum value
	ConflictHandlerTypeOptimisticConcurrency = "OPTIMISTIC_CONCURRENCY"

	// ConflictHandlerTypeLambda is a ConflictHandlerType enum value
	ConflictHandlerTypeLambda = "LAMBDA"

	// ConflictHandlerTypeAutomerge is a ConflictHandlerType enum value
	ConflictHandlerTypeAutomerge = "AUTOMERGE"

	// ConflictHandlerTypeNone is a ConflictHandlerType enum value
	ConflictHandlerTypeNone = "NONE"
)
View Source
const (
	// DataSourceTypeAwsLambda is a DataSourceType enum value
	DataSourceTypeAwsLambda = "AWS_LAMBDA"

	// DataSourceTypeAmazonDynamodb is a DataSourceType enum value
	DataSourceTypeAmazonDynamodb = "AMAZON_DYNAMODB"

	// DataSourceTypeAmazonElasticsearch is a DataSourceType enum value
	DataSourceTypeAmazonElasticsearch = "AMAZON_ELASTICSEARCH"

	// DataSourceTypeNone is a DataSourceType enum value
	DataSourceTypeNone = "NONE"

	// DataSourceTypeHttp is a DataSourceType enum value
	DataSourceTypeHttp = "HTTP"

	// DataSourceTypeRelationalDatabase is a DataSourceType enum value
	DataSourceTypeRelationalDatabase = "RELATIONAL_DATABASE"
)
View Source
const (
	// DefaultActionAllow is a DefaultAction enum value
	DefaultActionAllow = "ALLOW"

	// DefaultActionDeny is a DefaultAction enum value
	DefaultActionDeny = "DENY"
)
View Source
const (
	// FieldLogLevelNone is a FieldLogLevel enum value
	FieldLogLevelNone = "NONE"

	// FieldLogLevelError is a FieldLogLevel enum value
	FieldLogLevelError = "ERROR"

	// FieldLogLevelAll is a FieldLogLevel enum value
	FieldLogLevelAll = "ALL"
)
View Source
const (
	// OutputTypeSdl is a OutputType enum value
	OutputTypeSdl = "SDL"

	// OutputTypeJson is a OutputType enum value
	OutputTypeJson = "JSON"
)
View Source
const (
	// ResolverKindUnit is a ResolverKind enum value
	ResolverKindUnit = "UNIT"

	// ResolverKindPipeline is a ResolverKind enum value
	ResolverKindPipeline = "PIPELINE"
)
View Source
const (
	// SchemaStatusProcessing is a SchemaStatus enum value
	SchemaStatusProcessing = "PROCESSING"

	// SchemaStatusActive is a SchemaStatus enum value
	SchemaStatusActive = "ACTIVE"

	// SchemaStatusDeleting is a SchemaStatus enum value
	SchemaStatusDeleting = "DELETING"

	// SchemaStatusFailed is a SchemaStatus enum value
	SchemaStatusFailed = "FAILED"

	// SchemaStatusSuccess is a SchemaStatus enum value
	SchemaStatusSuccess = "SUCCESS"

	// SchemaStatusNotApplicable is a SchemaStatus enum value
	SchemaStatusNotApplicable = "NOT_APPLICABLE"
)
View Source
const (
	// TypeDefinitionFormatSdl is a TypeDefinitionFormat enum value
	TypeDefinitionFormatSdl = "SDL"

	// TypeDefinitionFormatJson is a TypeDefinitionFormat enum value
	TypeDefinitionFormatJson = "JSON"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// You do not have access to perform this operation on this resource.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeApiKeyLimitExceededException for service response error code
	// "ApiKeyLimitExceededException".
	//
	// The API key exceeded a limit. Try your request again.
	ErrCodeApiKeyLimitExceededException = "ApiKeyLimitExceededException"

	// ErrCodeApiKeyValidityOutOfBoundsException for service response error code
	// "ApiKeyValidityOutOfBoundsException".
	//
	// The API key expiration must be set to a value between 1 and 365 days from
	// creation (for CreateApiKey) or from update (for UpdateApiKey).
	ErrCodeApiKeyValidityOutOfBoundsException = "ApiKeyValidityOutOfBoundsException"

	// ErrCodeApiLimitExceededException for service response error code
	// "ApiLimitExceededException".
	//
	// The GraphQL API exceeded a limit. Try your request again.
	ErrCodeApiLimitExceededException = "ApiLimitExceededException"

	// ErrCodeBadRequestException for service response error code
	// "BadRequestException".
	//
	// The request is not well formed. For example, a value is invalid or a required
	// field is missing. Check the field values, and then try again.
	ErrCodeBadRequestException = "BadRequestException"

	// ErrCodeConcurrentModificationException for service response error code
	// "ConcurrentModificationException".
	//
	// Another modification is in progress at this time and it must complete before
	// you can make your change.
	ErrCodeConcurrentModificationException = "ConcurrentModificationException"

	// ErrCodeGraphQLSchemaException for service response error code
	// "GraphQLSchemaException".
	//
	// The GraphQL schema is not valid.
	ErrCodeGraphQLSchemaException = "GraphQLSchemaException"

	// ErrCodeInternalFailureException for service response error code
	// "InternalFailureException".
	//
	// An internal AppSync error occurred. Try your request again.
	ErrCodeInternalFailureException = "InternalFailureException"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// The request exceeded a limit. Try your request again.
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodeNotFoundException for service response error code
	// "NotFoundException".
	//
	// The resource specified in the request was not found. Check the resource,
	// and then try again.
	ErrCodeNotFoundException = "NotFoundException"

	// ErrCodeUnauthorizedException for service response error code
	// "UnauthorizedException".
	//
	// You are not authorized to perform this operation.
	ErrCodeUnauthorizedException = "UnauthorizedException"
)
View Source
const (
	ServiceName = "appsync"   // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "AppSync"   // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// AuthorizationTypeAwsIam is a AuthorizationType enum value
	AuthorizationTypeAwsIam = "AWS_IAM"
)
View Source
const (
	// RelationalDatabaseSourceTypeRdsHttpEndpoint is a RelationalDatabaseSourceType enum value
	RelationalDatabaseSourceTypeRdsHttpEndpoint = "RDS_HTTP_ENDPOINT"
)

Variables

This section is empty.

Functions

func ApiCacheStatus_Values added in v1.34.3

func ApiCacheStatus_Values() []string

ApiCacheStatus_Values returns all elements of the ApiCacheStatus enum

func ApiCacheType_Values added in v1.34.3

func ApiCacheType_Values() []string

ApiCacheType_Values returns all elements of the ApiCacheType enum

func ApiCachingBehavior_Values added in v1.34.3

func ApiCachingBehavior_Values() []string

ApiCachingBehavior_Values returns all elements of the ApiCachingBehavior enum

func AuthenticationType_Values added in v1.34.3

func AuthenticationType_Values() []string

AuthenticationType_Values returns all elements of the AuthenticationType enum

func AuthorizationType_Values added in v1.34.3

func AuthorizationType_Values() []string

AuthorizationType_Values returns all elements of the AuthorizationType enum

func ConflictDetectionType_Values added in v1.34.3

func ConflictDetectionType_Values() []string

ConflictDetectionType_Values returns all elements of the ConflictDetectionType enum

func ConflictHandlerType_Values added in v1.34.3

func ConflictHandlerType_Values() []string

ConflictHandlerType_Values returns all elements of the ConflictHandlerType enum

func DataSourceType_Values added in v1.34.3

func DataSourceType_Values() []string

DataSourceType_Values returns all elements of the DataSourceType enum

func DefaultAction_Values added in v1.34.3

func DefaultAction_Values() []string

DefaultAction_Values returns all elements of the DefaultAction enum

func FieldLogLevel_Values added in v1.34.3

func FieldLogLevel_Values() []string

FieldLogLevel_Values returns all elements of the FieldLogLevel enum

func OutputType_Values added in v1.34.3

func OutputType_Values() []string

OutputType_Values returns all elements of the OutputType enum

func RelationalDatabaseSourceType_Values added in v1.34.3

func RelationalDatabaseSourceType_Values() []string

RelationalDatabaseSourceType_Values returns all elements of the RelationalDatabaseSourceType enum

func ResolverKind_Values added in v1.34.3

func ResolverKind_Values() []string

ResolverKind_Values returns all elements of the ResolverKind enum

func SchemaStatus_Values added in v1.34.3

func SchemaStatus_Values() []string

SchemaStatus_Values returns all elements of the SchemaStatus enum

func TypeDefinitionFormat_Values added in v1.34.3

func TypeDefinitionFormat_Values() []string

TypeDefinitionFormat_Values returns all elements of the TypeDefinitionFormat enum

Types

type AccessDeniedException added in v1.28.0

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

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

You do not have access to perform this operation on this resource.

func (*AccessDeniedException) Code added in v1.28.0

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error added in v1.28.0

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString added in v1.28.0

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessDeniedException) Message added in v1.28.0

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr added in v1.28.0

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID added in v1.28.0

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode added in v1.28.0

func (s *AccessDeniedException) StatusCode() int

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

func (AccessDeniedException) String added in v1.28.0

func (s AccessDeniedException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AdditionalAuthenticationProvider added in v1.19.26

type AdditionalAuthenticationProvider struct {

	// The authentication type: API key, Identity and Access Management, OIDC, or
	// Amazon Cognito user pools.
	AuthenticationType *string `locationName:"authenticationType" type:"string" enum:"AuthenticationType"`

	// Configuration for AWS Lambda function authorization.
	LambdaAuthorizerConfig *LambdaAuthorizerConfig `locationName:"lambdaAuthorizerConfig" type:"structure"`

	// The OpenID Connect configuration.
	OpenIDConnectConfig *OpenIDConnectConfig `locationName:"openIDConnectConfig" type:"structure"`

	// The Amazon Cognito user pool configuration.
	UserPoolConfig *CognitoUserPoolConfig `locationName:"userPoolConfig" type:"structure"`
	// contains filtered or unexported fields
}

Describes an additional authentication provider.

func (AdditionalAuthenticationProvider) GoString added in v1.19.26

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AdditionalAuthenticationProvider) SetAuthenticationType added in v1.19.26

SetAuthenticationType sets the AuthenticationType field's value.

func (*AdditionalAuthenticationProvider) SetLambdaAuthorizerConfig added in v1.40.12

SetLambdaAuthorizerConfig sets the LambdaAuthorizerConfig field's value.

func (*AdditionalAuthenticationProvider) SetOpenIDConnectConfig added in v1.19.26

SetOpenIDConnectConfig sets the OpenIDConnectConfig field's value.

func (*AdditionalAuthenticationProvider) SetUserPoolConfig added in v1.19.26

SetUserPoolConfig sets the UserPoolConfig field's value.

func (AdditionalAuthenticationProvider) String added in v1.19.26

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AdditionalAuthenticationProvider) Validate added in v1.19.26

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

type ApiCache added in v1.25.40

type ApiCache struct {

	// Caching behavior.
	//
	//    * FULL_REQUEST_CACHING: All requests are fully cached.
	//
	//    * PER_RESOLVER_CACHING: Individual resolvers that you specify are cached.
	ApiCachingBehavior *string `locationName:"apiCachingBehavior" type:"string" enum:"ApiCachingBehavior"`

	// At rest encryption flag for cache. This setting cannot be updated after creation.
	AtRestEncryptionEnabled *bool `locationName:"atRestEncryptionEnabled" type:"boolean"`

	// The cache instance status.
	//
	//    * AVAILABLE: The instance is available for use.
	//
	//    * CREATING: The instance is currently creating.
	//
	//    * DELETING: The instance is currently deleting.
	//
	//    * MODIFYING: The instance is currently modifying.
	//
	//    * FAILED: The instance has failed creation.
	Status *string `locationName:"status" type:"string" enum:"ApiCacheStatus"`

	// Transit encryption flag when connecting to cache. This setting cannot be
	// updated after creation.
	TransitEncryptionEnabled *bool `locationName:"transitEncryptionEnabled" type:"boolean"`

	// TTL in seconds for cache entries.
	//
	// Valid values are between 1 and 3600 seconds.
	Ttl *int64 `locationName:"ttl" type:"long"`

	// The cache instance type. Valid values are
	//
	//    * SMALL
	//
	//    * MEDIUM
	//
	//    * LARGE
	//
	//    * XLARGE
	//
	//    * LARGE_2X
	//
	//    * LARGE_4X
	//
	//    * LARGE_8X (not available in all regions)
	//
	//    * LARGE_12X
	//
	// Historically, instance types were identified by an EC2-style value. As of
	// July 2020, this is deprecated, and the generic identifiers above should be
	// used.
	//
	// The following legacy instance types are available, but their use is discouraged:
	//
	//    * T2_SMALL: A t2.small instance type.
	//
	//    * T2_MEDIUM: A t2.medium instance type.
	//
	//    * R4_LARGE: A r4.large instance type.
	//
	//    * R4_XLARGE: A r4.xlarge instance type.
	//
	//    * R4_2XLARGE: A r4.2xlarge instance type.
	//
	//    * R4_4XLARGE: A r4.4xlarge instance type.
	//
	//    * R4_8XLARGE: A r4.8xlarge instance type.
	Type *string `locationName:"type" type:"string" enum:"ApiCacheType"`
	// contains filtered or unexported fields
}

The ApiCache object.

func (ApiCache) GoString added in v1.25.40

func (s ApiCache) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApiCache) SetApiCachingBehavior added in v1.25.40

func (s *ApiCache) SetApiCachingBehavior(v string) *ApiCache

SetApiCachingBehavior sets the ApiCachingBehavior field's value.

func (*ApiCache) SetAtRestEncryptionEnabled added in v1.25.40

func (s *ApiCache) SetAtRestEncryptionEnabled(v bool) *ApiCache

SetAtRestEncryptionEnabled sets the AtRestEncryptionEnabled field's value.

func (*ApiCache) SetStatus added in v1.25.40

func (s *ApiCache) SetStatus(v string) *ApiCache

SetStatus sets the Status field's value.

func (*ApiCache) SetTransitEncryptionEnabled added in v1.25.40

func (s *ApiCache) SetTransitEncryptionEnabled(v bool) *ApiCache

SetTransitEncryptionEnabled sets the TransitEncryptionEnabled field's value.

func (*ApiCache) SetTtl added in v1.25.40

func (s *ApiCache) SetTtl(v int64) *ApiCache

SetTtl sets the Ttl field's value.

func (*ApiCache) SetType added in v1.25.40

func (s *ApiCache) SetType(v string) *ApiCache

SetType sets the Type field's value.

func (ApiCache) String added in v1.25.40

func (s ApiCache) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ApiKey

type ApiKey struct {

	// The time after which the API key is deleted. The date is represented as seconds
	// since the epoch, rounded down to the nearest hour.
	Deletes *int64 `locationName:"deletes" type:"long"`

	// A description of the purpose of the API key.
	Description *string `locationName:"description" type:"string"`

	// The time after which the API key expires. The date is represented as seconds
	// since the epoch, rounded down to the nearest hour.
	Expires *int64 `locationName:"expires" type:"long"`

	// The API key ID.
	Id *string `locationName:"id" type:"string"`
	// contains filtered or unexported fields
}

Describes an API key.

Customers invoke AppSync GraphQL API operations with API keys as an identity mechanism. There are two key versions:

da1: This version was introduced at launch in November 2017. These keys always expire after 7 days. Key expiration is managed by Amazon DynamoDB TTL. The keys ceased to be valid after February 21, 2018 and should not be used after that date.

* ListApiKeys returns the expiration time in milliseconds.

* CreateApiKey returns the expiration time in milliseconds.

* UpdateApiKey is not available for this key version.

* DeleteApiKey deletes the item from the table.

* Expiration is stored in Amazon DynamoDB as milliseconds. This results
in a bug where keys are not automatically deleted because DynamoDB expects
the TTL to be stored in seconds. As a one-time action, we will delete
these keys from the table after February 21, 2018.

da2: This version was introduced in February 2018 when AppSync added support to extend key expiration.

* ListApiKeys returns the expiration time and deletion time in seconds.

* CreateApiKey returns the expiration time and deletion time in seconds
and accepts a user-provided expiration time in seconds.

* UpdateApiKey returns the expiration time and and deletion time in seconds
and accepts a user-provided expiration time in seconds. Expired API keys
are kept for 60 days after the expiration time. Key expiration time can
be updated while the key is not deleted.

* DeleteApiKey deletes the item from the table.

* Expiration is stored in Amazon DynamoDB as seconds. After the expiration
time, using the key to authenticate will fail. But the key can be reinstated
before deletion.

* Deletion is stored in Amazon DynamoDB as seconds. The key will be deleted
after deletion time.

func (ApiKey) GoString

func (s ApiKey) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApiKey) SetDeletes added in v1.35.1

func (s *ApiKey) SetDeletes(v int64) *ApiKey

SetDeletes sets the Deletes field's value.

func (*ApiKey) SetDescription

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

SetDescription sets the Description field's value.

func (*ApiKey) SetExpires

func (s *ApiKey) SetExpires(v int64) *ApiKey

SetExpires sets the Expires field's value.

func (*ApiKey) SetId

func (s *ApiKey) SetId(v string) *ApiKey

SetId sets the Id field's value.

func (ApiKey) String

func (s ApiKey) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ApiKeyLimitExceededException added in v1.28.0

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

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

The API key exceeded a limit. Try your request again.

func (*ApiKeyLimitExceededException) Code added in v1.28.0

Code returns the exception type name.

func (*ApiKeyLimitExceededException) Error added in v1.28.0

func (ApiKeyLimitExceededException) GoString added in v1.28.0

func (s ApiKeyLimitExceededException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApiKeyLimitExceededException) Message added in v1.28.0

func (s *ApiKeyLimitExceededException) Message() string

Message returns the exception's message.

func (*ApiKeyLimitExceededException) OrigErr added in v1.28.0

func (s *ApiKeyLimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ApiKeyLimitExceededException) RequestID added in v1.28.0

func (s *ApiKeyLimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ApiKeyLimitExceededException) StatusCode added in v1.28.0

func (s *ApiKeyLimitExceededException) StatusCode() int

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

func (ApiKeyLimitExceededException) String added in v1.28.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ApiKeyValidityOutOfBoundsException added in v1.28.0

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

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

The API key expiration must be set to a value between 1 and 365 days from creation (for CreateApiKey) or from update (for UpdateApiKey).

func (*ApiKeyValidityOutOfBoundsException) Code added in v1.28.0

Code returns the exception type name.

func (*ApiKeyValidityOutOfBoundsException) Error added in v1.28.0

func (ApiKeyValidityOutOfBoundsException) GoString added in v1.28.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApiKeyValidityOutOfBoundsException) Message added in v1.28.0

Message returns the exception's message.

func (*ApiKeyValidityOutOfBoundsException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ApiKeyValidityOutOfBoundsException) RequestID added in v1.28.0

RequestID returns the service's response RequestID for request.

func (*ApiKeyValidityOutOfBoundsException) StatusCode added in v1.28.0

func (s *ApiKeyValidityOutOfBoundsException) StatusCode() int

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

func (ApiKeyValidityOutOfBoundsException) String added in v1.28.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ApiLimitExceededException added in v1.28.0

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

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

The GraphQL API exceeded a limit. Try your request again.

func (*ApiLimitExceededException) Code added in v1.28.0

Code returns the exception type name.

func (*ApiLimitExceededException) Error added in v1.28.0

func (s *ApiLimitExceededException) Error() string

func (ApiLimitExceededException) GoString added in v1.28.0

func (s ApiLimitExceededException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ApiLimitExceededException) Message added in v1.28.0

func (s *ApiLimitExceededException) Message() string

Message returns the exception's message.

func (*ApiLimitExceededException) OrigErr added in v1.28.0

func (s *ApiLimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ApiLimitExceededException) RequestID added in v1.28.0

func (s *ApiLimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ApiLimitExceededException) StatusCode added in v1.28.0

func (s *ApiLimitExceededException) StatusCode() int

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

func (ApiLimitExceededException) String added in v1.28.0

func (s ApiLimitExceededException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AppSync

type AppSync struct {
	*client.Client
}

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

AppSync 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) *AppSync

New creates a new instance of the AppSync 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 AppSync client from just a session.
svc := appsync.New(mySession)

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

func (*AppSync) CreateApiCache added in v1.25.40

func (c *AppSync) CreateApiCache(input *CreateApiCacheInput) (*CreateApiCacheOutput, error)

CreateApiCache API operation for AWS AppSync.

Creates a cache for the GraphQL API.

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 AWS AppSync's API operation CreateApiCache for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiCache

func (*AppSync) CreateApiCacheRequest added in v1.25.40

func (c *AppSync) CreateApiCacheRequest(input *CreateApiCacheInput) (req *request.Request, output *CreateApiCacheOutput)

CreateApiCacheRequest generates a "aws/request.Request" representing the client's request for the CreateApiCache 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 CreateApiCache for more information on using the CreateApiCache 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 CreateApiCacheRequest method.
req, resp := client.CreateApiCacheRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiCache

func (*AppSync) CreateApiCacheWithContext added in v1.25.40

func (c *AppSync) CreateApiCacheWithContext(ctx aws.Context, input *CreateApiCacheInput, opts ...request.Option) (*CreateApiCacheOutput, error)

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

See CreateApiCache 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 (*AppSync) CreateApiKey

func (c *AppSync) CreateApiKey(input *CreateApiKeyInput) (*CreateApiKeyOutput, error)

CreateApiKey API operation for AWS AppSync.

Creates a unique key that you can distribute to clients who are executing your API.

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 AWS AppSync's API operation CreateApiKey for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* LimitExceededException
The request exceeded a limit. Try your request again.

* UnauthorizedException
You are not authorized to perform this operation.

* LimitExceededException
The request exceeded a limit. Try your request again.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

* ApiKeyLimitExceededException
The API key exceeded a limit. Try your request again.

* ApiKeyValidityOutOfBoundsException
The API key expiration must be set to a value between 1 and 365 days from
creation (for CreateApiKey) or from update (for UpdateApiKey).

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiKey

func (*AppSync) CreateApiKeyRequest

func (c *AppSync) CreateApiKeyRequest(input *CreateApiKeyInput) (req *request.Request, output *CreateApiKeyOutput)

CreateApiKeyRequest generates a "aws/request.Request" representing the client's request for the CreateApiKey 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 CreateApiKey for more information on using the CreateApiKey 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 CreateApiKeyRequest method.
req, resp := client.CreateApiKeyRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiKey

func (*AppSync) CreateApiKeyWithContext

func (c *AppSync) CreateApiKeyWithContext(ctx aws.Context, input *CreateApiKeyInput, opts ...request.Option) (*CreateApiKeyOutput, error)

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

See CreateApiKey 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 (*AppSync) CreateDataSource

func (c *AppSync) CreateDataSource(input *CreateDataSourceInput) (*CreateDataSourceOutput, error)

CreateDataSource API operation for AWS AppSync.

Creates a DataSource object.

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 AWS AppSync's API operation CreateDataSource for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDataSource

func (*AppSync) CreateDataSourceRequest

func (c *AppSync) CreateDataSourceRequest(input *CreateDataSourceInput) (req *request.Request, output *CreateDataSourceOutput)

CreateDataSourceRequest generates a "aws/request.Request" representing the client's request for the CreateDataSource 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 CreateDataSource for more information on using the CreateDataSource 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 CreateDataSourceRequest method.
req, resp := client.CreateDataSourceRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDataSource

func (*AppSync) CreateDataSourceWithContext

func (c *AppSync) CreateDataSourceWithContext(ctx aws.Context, input *CreateDataSourceInput, opts ...request.Option) (*CreateDataSourceOutput, error)

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

See CreateDataSource 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 (*AppSync) CreateFunction added in v1.15.80

func (c *AppSync) CreateFunction(input *CreateFunctionInput) (*CreateFunctionOutput, error)

CreateFunction API operation for AWS AppSync.

Creates a Function object.

A function is a reusable entity. Multiple functions can be used to compose the resolver logic.

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 AWS AppSync's API operation CreateFunction for usage and error information.

Returned Error Types:

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateFunction

func (*AppSync) CreateFunctionRequest added in v1.15.80

func (c *AppSync) CreateFunctionRequest(input *CreateFunctionInput) (req *request.Request, output *CreateFunctionOutput)

CreateFunctionRequest generates a "aws/request.Request" representing the client's request for the CreateFunction 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 CreateFunction for more information on using the CreateFunction 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 CreateFunctionRequest method.
req, resp := client.CreateFunctionRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateFunction

func (*AppSync) CreateFunctionWithContext added in v1.15.80

func (c *AppSync) CreateFunctionWithContext(ctx aws.Context, input *CreateFunctionInput, opts ...request.Option) (*CreateFunctionOutput, error)

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

See CreateFunction 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 (*AppSync) CreateGraphqlApi

func (c *AppSync) CreateGraphqlApi(input *CreateGraphqlApiInput) (*CreateGraphqlApiOutput, error)

CreateGraphqlApi API operation for AWS AppSync.

Creates a GraphqlApi object.

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 AWS AppSync's API operation CreateGraphqlApi for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* LimitExceededException
The request exceeded a limit. Try your request again.

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

* ApiLimitExceededException
The GraphQL API exceeded a limit. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApi

func (*AppSync) CreateGraphqlApiRequest

func (c *AppSync) CreateGraphqlApiRequest(input *CreateGraphqlApiInput) (req *request.Request, output *CreateGraphqlApiOutput)

CreateGraphqlApiRequest generates a "aws/request.Request" representing the client's request for the CreateGraphqlApi 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 CreateGraphqlApi for more information on using the CreateGraphqlApi 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 CreateGraphqlApiRequest method.
req, resp := client.CreateGraphqlApiRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApi

func (*AppSync) CreateGraphqlApiWithContext

func (c *AppSync) CreateGraphqlApiWithContext(ctx aws.Context, input *CreateGraphqlApiInput, opts ...request.Option) (*CreateGraphqlApiOutput, error)

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

See CreateGraphqlApi 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 (*AppSync) CreateResolver

func (c *AppSync) CreateResolver(input *CreateResolverInput) (*CreateResolverOutput, error)

CreateResolver API operation for AWS AppSync.

Creates a Resolver object.

A resolver converts incoming requests into a format that a data source can understand and converts the data source's responses into GraphQL.

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 AWS AppSync's API operation CreateResolver for usage and error information.

Returned Error Types:

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateResolver

func (*AppSync) CreateResolverRequest

func (c *AppSync) CreateResolverRequest(input *CreateResolverInput) (req *request.Request, output *CreateResolverOutput)

CreateResolverRequest generates a "aws/request.Request" representing the client's request for the CreateResolver 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 CreateResolver for more information on using the CreateResolver 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 CreateResolverRequest method.
req, resp := client.CreateResolverRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateResolver

func (*AppSync) CreateResolverWithContext

func (c *AppSync) CreateResolverWithContext(ctx aws.Context, input *CreateResolverInput, opts ...request.Option) (*CreateResolverOutput, error)

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

See CreateResolver 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 (*AppSync) CreateType

func (c *AppSync) CreateType(input *CreateTypeInput) (*CreateTypeOutput, error)

CreateType API operation for AWS AppSync.

Creates a Type object.

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 AWS AppSync's API operation CreateType for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateType

func (*AppSync) CreateTypeRequest

func (c *AppSync) CreateTypeRequest(input *CreateTypeInput) (req *request.Request, output *CreateTypeOutput)

CreateTypeRequest generates a "aws/request.Request" representing the client's request for the CreateType 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 CreateType for more information on using the CreateType 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 CreateTypeRequest method.
req, resp := client.CreateTypeRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateType

func (*AppSync) CreateTypeWithContext

func (c *AppSync) CreateTypeWithContext(ctx aws.Context, input *CreateTypeInput, opts ...request.Option) (*CreateTypeOutput, error)

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

See CreateType 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 (*AppSync) DeleteApiCache added in v1.25.40

func (c *AppSync) DeleteApiCache(input *DeleteApiCacheInput) (*DeleteApiCacheOutput, error)

DeleteApiCache API operation for AWS AppSync.

Deletes an ApiCache object.

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 AWS AppSync's API operation DeleteApiCache for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiCache

func (*AppSync) DeleteApiCacheRequest added in v1.25.40

func (c *AppSync) DeleteApiCacheRequest(input *DeleteApiCacheInput) (req *request.Request, output *DeleteApiCacheOutput)

DeleteApiCacheRequest generates a "aws/request.Request" representing the client's request for the DeleteApiCache 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 DeleteApiCache for more information on using the DeleteApiCache 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 DeleteApiCacheRequest method.
req, resp := client.DeleteApiCacheRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiCache

func (*AppSync) DeleteApiCacheWithContext added in v1.25.40

func (c *AppSync) DeleteApiCacheWithContext(ctx aws.Context, input *DeleteApiCacheInput, opts ...request.Option) (*DeleteApiCacheOutput, error)

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

See DeleteApiCache 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 (*AppSync) DeleteApiKey

func (c *AppSync) DeleteApiKey(input *DeleteApiKeyInput) (*DeleteApiKeyOutput, error)

DeleteApiKey API operation for AWS AppSync.

Deletes an API key.

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 AWS AppSync's API operation DeleteApiKey for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiKey

func (*AppSync) DeleteApiKeyRequest

func (c *AppSync) DeleteApiKeyRequest(input *DeleteApiKeyInput) (req *request.Request, output *DeleteApiKeyOutput)

DeleteApiKeyRequest generates a "aws/request.Request" representing the client's request for the DeleteApiKey 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 DeleteApiKey for more information on using the DeleteApiKey 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 DeleteApiKeyRequest method.
req, resp := client.DeleteApiKeyRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiKey

func (*AppSync) DeleteApiKeyWithContext

func (c *AppSync) DeleteApiKeyWithContext(ctx aws.Context, input *DeleteApiKeyInput, opts ...request.Option) (*DeleteApiKeyOutput, error)

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

See DeleteApiKey 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 (*AppSync) DeleteDataSource

func (c *AppSync) DeleteDataSource(input *DeleteDataSourceInput) (*DeleteDataSourceOutput, error)

DeleteDataSource API operation for AWS AppSync.

Deletes a DataSource object.

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 AWS AppSync's API operation DeleteDataSource for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDataSource

func (*AppSync) DeleteDataSourceRequest

func (c *AppSync) DeleteDataSourceRequest(input *DeleteDataSourceInput) (req *request.Request, output *DeleteDataSourceOutput)

DeleteDataSourceRequest generates a "aws/request.Request" representing the client's request for the DeleteDataSource 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 DeleteDataSource for more information on using the DeleteDataSource 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 DeleteDataSourceRequest method.
req, resp := client.DeleteDataSourceRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDataSource

func (*AppSync) DeleteDataSourceWithContext

func (c *AppSync) DeleteDataSourceWithContext(ctx aws.Context, input *DeleteDataSourceInput, opts ...request.Option) (*DeleteDataSourceOutput, error)

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

See DeleteDataSource 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 (*AppSync) DeleteFunction added in v1.15.80

func (c *AppSync) DeleteFunction(input *DeleteFunctionInput) (*DeleteFunctionOutput, error)

DeleteFunction API operation for AWS AppSync.

Deletes a Function.

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 AWS AppSync's API operation DeleteFunction for usage and error information.

Returned Error Types:

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteFunction

func (*AppSync) DeleteFunctionRequest added in v1.15.80

func (c *AppSync) DeleteFunctionRequest(input *DeleteFunctionInput) (req *request.Request, output *DeleteFunctionOutput)

DeleteFunctionRequest generates a "aws/request.Request" representing the client's request for the DeleteFunction 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 DeleteFunction for more information on using the DeleteFunction 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 DeleteFunctionRequest method.
req, resp := client.DeleteFunctionRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteFunction

func (*AppSync) DeleteFunctionWithContext added in v1.15.80

func (c *AppSync) DeleteFunctionWithContext(ctx aws.Context, input *DeleteFunctionInput, opts ...request.Option) (*DeleteFunctionOutput, error)

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

See DeleteFunction 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 (*AppSync) DeleteGraphqlApi

func (c *AppSync) DeleteGraphqlApi(input *DeleteGraphqlApiInput) (*DeleteGraphqlApiOutput, error)

DeleteGraphqlApi API operation for AWS AppSync.

Deletes a GraphqlApi object.

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 AWS AppSync's API operation DeleteGraphqlApi for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

* AccessDeniedException
You do not have access to perform this operation on this resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteGraphqlApi

func (*AppSync) DeleteGraphqlApiRequest

func (c *AppSync) DeleteGraphqlApiRequest(input *DeleteGraphqlApiInput) (req *request.Request, output *DeleteGraphqlApiOutput)

DeleteGraphqlApiRequest generates a "aws/request.Request" representing the client's request for the DeleteGraphqlApi 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 DeleteGraphqlApi for more information on using the DeleteGraphqlApi 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 DeleteGraphqlApiRequest method.
req, resp := client.DeleteGraphqlApiRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteGraphqlApi

func (*AppSync) DeleteGraphqlApiWithContext

func (c *AppSync) DeleteGraphqlApiWithContext(ctx aws.Context, input *DeleteGraphqlApiInput, opts ...request.Option) (*DeleteGraphqlApiOutput, error)

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

See DeleteGraphqlApi 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 (*AppSync) DeleteResolver

func (c *AppSync) DeleteResolver(input *DeleteResolverInput) (*DeleteResolverOutput, error)

DeleteResolver API operation for AWS AppSync.

Deletes a Resolver object.

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 AWS AppSync's API operation DeleteResolver for usage and error information.

Returned Error Types:

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteResolver

func (*AppSync) DeleteResolverRequest

func (c *AppSync) DeleteResolverRequest(input *DeleteResolverInput) (req *request.Request, output *DeleteResolverOutput)

DeleteResolverRequest generates a "aws/request.Request" representing the client's request for the DeleteResolver 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 DeleteResolver for more information on using the DeleteResolver 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 DeleteResolverRequest method.
req, resp := client.DeleteResolverRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteResolver

func (*AppSync) DeleteResolverWithContext

func (c *AppSync) DeleteResolverWithContext(ctx aws.Context, input *DeleteResolverInput, opts ...request.Option) (*DeleteResolverOutput, error)

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

See DeleteResolver 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 (*AppSync) DeleteType

func (c *AppSync) DeleteType(input *DeleteTypeInput) (*DeleteTypeOutput, error)

DeleteType API operation for AWS AppSync.

Deletes a Type object.

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 AWS AppSync's API operation DeleteType for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteType

func (*AppSync) DeleteTypeRequest

func (c *AppSync) DeleteTypeRequest(input *DeleteTypeInput) (req *request.Request, output *DeleteTypeOutput)

DeleteTypeRequest generates a "aws/request.Request" representing the client's request for the DeleteType 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 DeleteType for more information on using the DeleteType 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 DeleteTypeRequest method.
req, resp := client.DeleteTypeRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteType

func (*AppSync) DeleteTypeWithContext

func (c *AppSync) DeleteTypeWithContext(ctx aws.Context, input *DeleteTypeInput, opts ...request.Option) (*DeleteTypeOutput, error)

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

See DeleteType 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 (*AppSync) FlushApiCache added in v1.25.40

func (c *AppSync) FlushApiCache(input *FlushApiCacheInput) (*FlushApiCacheOutput, error)

FlushApiCache API operation for AWS AppSync.

Flushes an ApiCache object.

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 AWS AppSync's API operation FlushApiCache for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/FlushApiCache

func (*AppSync) FlushApiCacheRequest added in v1.25.40

func (c *AppSync) FlushApiCacheRequest(input *FlushApiCacheInput) (req *request.Request, output *FlushApiCacheOutput)

FlushApiCacheRequest generates a "aws/request.Request" representing the client's request for the FlushApiCache 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 FlushApiCache for more information on using the FlushApiCache 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 FlushApiCacheRequest method.
req, resp := client.FlushApiCacheRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/FlushApiCache

func (*AppSync) FlushApiCacheWithContext added in v1.25.40

func (c *AppSync) FlushApiCacheWithContext(ctx aws.Context, input *FlushApiCacheInput, opts ...request.Option) (*FlushApiCacheOutput, error)

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

See FlushApiCache 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 (*AppSync) GetApiCache added in v1.25.40

func (c *AppSync) GetApiCache(input *GetApiCacheInput) (*GetApiCacheOutput, error)

GetApiCache API operation for AWS AppSync.

Retrieves an ApiCache object.

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 AWS AppSync's API operation GetApiCache for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetApiCache

func (*AppSync) GetApiCacheRequest added in v1.25.40

func (c *AppSync) GetApiCacheRequest(input *GetApiCacheInput) (req *request.Request, output *GetApiCacheOutput)

GetApiCacheRequest generates a "aws/request.Request" representing the client's request for the GetApiCache 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 GetApiCache for more information on using the GetApiCache 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 GetApiCacheRequest method.
req, resp := client.GetApiCacheRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetApiCache

func (*AppSync) GetApiCacheWithContext added in v1.25.40

func (c *AppSync) GetApiCacheWithContext(ctx aws.Context, input *GetApiCacheInput, opts ...request.Option) (*GetApiCacheOutput, error)

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

See GetApiCache 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 (*AppSync) GetDataSource

func (c *AppSync) GetDataSource(input *GetDataSourceInput) (*GetDataSourceOutput, error)

GetDataSource API operation for AWS AppSync.

Retrieves a DataSource object.

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 AWS AppSync's API operation GetDataSource for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDataSource

func (*AppSync) GetDataSourceRequest

func (c *AppSync) GetDataSourceRequest(input *GetDataSourceInput) (req *request.Request, output *GetDataSourceOutput)

GetDataSourceRequest generates a "aws/request.Request" representing the client's request for the GetDataSource 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 GetDataSource for more information on using the GetDataSource 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 GetDataSourceRequest method.
req, resp := client.GetDataSourceRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDataSource

func (*AppSync) GetDataSourceWithContext

func (c *AppSync) GetDataSourceWithContext(ctx aws.Context, input *GetDataSourceInput, opts ...request.Option) (*GetDataSourceOutput, error)

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

See GetDataSource 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 (*AppSync) GetFunction added in v1.15.80

func (c *AppSync) GetFunction(input *GetFunctionInput) (*GetFunctionOutput, error)

GetFunction API operation for AWS AppSync.

Get a Function.

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 AWS AppSync's API operation GetFunction for usage and error information.

Returned Error Types:

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetFunction

func (*AppSync) GetFunctionRequest added in v1.15.80

func (c *AppSync) GetFunctionRequest(input *GetFunctionInput) (req *request.Request, output *GetFunctionOutput)

GetFunctionRequest generates a "aws/request.Request" representing the client's request for the GetFunction 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 GetFunction for more information on using the GetFunction 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 GetFunctionRequest method.
req, resp := client.GetFunctionRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetFunction

func (*AppSync) GetFunctionWithContext added in v1.15.80

func (c *AppSync) GetFunctionWithContext(ctx aws.Context, input *GetFunctionInput, opts ...request.Option) (*GetFunctionOutput, error)

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

See GetFunction 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 (*AppSync) GetGraphqlApi

func (c *AppSync) GetGraphqlApi(input *GetGraphqlApiInput) (*GetGraphqlApiOutput, error)

GetGraphqlApi API operation for AWS AppSync.

Retrieves a GraphqlApi object.

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 AWS AppSync's API operation GetGraphqlApi for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

* AccessDeniedException
You do not have access to perform this operation on this resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApi

func (*AppSync) GetGraphqlApiRequest

func (c *AppSync) GetGraphqlApiRequest(input *GetGraphqlApiInput) (req *request.Request, output *GetGraphqlApiOutput)

GetGraphqlApiRequest generates a "aws/request.Request" representing the client's request for the GetGraphqlApi 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 GetGraphqlApi for more information on using the GetGraphqlApi 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 GetGraphqlApiRequest method.
req, resp := client.GetGraphqlApiRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApi

func (*AppSync) GetGraphqlApiWithContext

func (c *AppSync) GetGraphqlApiWithContext(ctx aws.Context, input *GetGraphqlApiInput, opts ...request.Option) (*GetGraphqlApiOutput, error)

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

See GetGraphqlApi 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 (*AppSync) GetIntrospectionSchema

func (c *AppSync) GetIntrospectionSchema(input *GetIntrospectionSchemaInput) (*GetIntrospectionSchemaOutput, error)

GetIntrospectionSchema API operation for AWS AppSync.

Retrieves the introspection schema for a GraphQL API.

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 AWS AppSync's API operation GetIntrospectionSchema for usage and error information.

Returned Error Types:

* GraphQLSchemaException
The GraphQL schema is not valid.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetIntrospectionSchema

func (*AppSync) GetIntrospectionSchemaRequest

func (c *AppSync) GetIntrospectionSchemaRequest(input *GetIntrospectionSchemaInput) (req *request.Request, output *GetIntrospectionSchemaOutput)

GetIntrospectionSchemaRequest generates a "aws/request.Request" representing the client's request for the GetIntrospectionSchema 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 GetIntrospectionSchema for more information on using the GetIntrospectionSchema 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 GetIntrospectionSchemaRequest method.
req, resp := client.GetIntrospectionSchemaRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetIntrospectionSchema

func (*AppSync) GetIntrospectionSchemaWithContext

func (c *AppSync) GetIntrospectionSchemaWithContext(ctx aws.Context, input *GetIntrospectionSchemaInput, opts ...request.Option) (*GetIntrospectionSchemaOutput, error)

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

See GetIntrospectionSchema 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 (*AppSync) GetResolver

func (c *AppSync) GetResolver(input *GetResolverInput) (*GetResolverOutput, error)

GetResolver API operation for AWS AppSync.

Retrieves a Resolver object.

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 AWS AppSync's API operation GetResolver for usage and error information.

Returned Error Types:

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetResolver

func (*AppSync) GetResolverRequest

func (c *AppSync) GetResolverRequest(input *GetResolverInput) (req *request.Request, output *GetResolverOutput)

GetResolverRequest generates a "aws/request.Request" representing the client's request for the GetResolver 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 GetResolver for more information on using the GetResolver 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 GetResolverRequest method.
req, resp := client.GetResolverRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetResolver

func (*AppSync) GetResolverWithContext

func (c *AppSync) GetResolverWithContext(ctx aws.Context, input *GetResolverInput, opts ...request.Option) (*GetResolverOutput, error)

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

See GetResolver 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 (*AppSync) GetSchemaCreationStatus

func (c *AppSync) GetSchemaCreationStatus(input *GetSchemaCreationStatusInput) (*GetSchemaCreationStatusOutput, error)

GetSchemaCreationStatus API operation for AWS AppSync.

Retrieves the current status of a schema creation operation.

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 AWS AppSync's API operation GetSchemaCreationStatus for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSchemaCreationStatus

func (*AppSync) GetSchemaCreationStatusRequest

func (c *AppSync) GetSchemaCreationStatusRequest(input *GetSchemaCreationStatusInput) (req *request.Request, output *GetSchemaCreationStatusOutput)

GetSchemaCreationStatusRequest generates a "aws/request.Request" representing the client's request for the GetSchemaCreationStatus 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 GetSchemaCreationStatus for more information on using the GetSchemaCreationStatus 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 GetSchemaCreationStatusRequest method.
req, resp := client.GetSchemaCreationStatusRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSchemaCreationStatus

func (*AppSync) GetSchemaCreationStatusWithContext

func (c *AppSync) GetSchemaCreationStatusWithContext(ctx aws.Context, input *GetSchemaCreationStatusInput, opts ...request.Option) (*GetSchemaCreationStatusOutput, error)

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

See GetSchemaCreationStatus 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 (*AppSync) GetType

func (c *AppSync) GetType(input *GetTypeInput) (*GetTypeOutput, error)

GetType API operation for AWS AppSync.

Retrieves a Type object.

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 AWS AppSync's API operation GetType for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetType

func (*AppSync) GetTypeRequest

func (c *AppSync) GetTypeRequest(input *GetTypeInput) (req *request.Request, output *GetTypeOutput)

GetTypeRequest generates a "aws/request.Request" representing the client's request for the GetType 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 GetType for more information on using the GetType 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 GetTypeRequest method.
req, resp := client.GetTypeRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetType

func (*AppSync) GetTypeWithContext

func (c *AppSync) GetTypeWithContext(ctx aws.Context, input *GetTypeInput, opts ...request.Option) (*GetTypeOutput, error)

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

See GetType 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 (*AppSync) ListApiKeys

func (c *AppSync) ListApiKeys(input *ListApiKeysInput) (*ListApiKeysOutput, error)

ListApiKeys API operation for AWS AppSync.

Lists the API keys for a given API.

API keys are deleted automatically 60 days after they expire. However, they may still be included in the response until they have actually been deleted. You can safely call DeleteApiKey to manually delete a key before it's automatically deleted.

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 AWS AppSync's API operation ListApiKeys for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeys

func (*AppSync) ListApiKeysRequest

func (c *AppSync) ListApiKeysRequest(input *ListApiKeysInput) (req *request.Request, output *ListApiKeysOutput)

ListApiKeysRequest generates a "aws/request.Request" representing the client's request for the ListApiKeys 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 ListApiKeys for more information on using the ListApiKeys 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 ListApiKeysRequest method.
req, resp := client.ListApiKeysRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeys

func (*AppSync) ListApiKeysWithContext

func (c *AppSync) ListApiKeysWithContext(ctx aws.Context, input *ListApiKeysInput, opts ...request.Option) (*ListApiKeysOutput, error)

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

See ListApiKeys 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 (*AppSync) ListDataSources

func (c *AppSync) ListDataSources(input *ListDataSourcesInput) (*ListDataSourcesOutput, error)

ListDataSources API operation for AWS AppSync.

Lists the data sources for a given API.

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 AWS AppSync's API operation ListDataSources for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDataSources

func (*AppSync) ListDataSourcesRequest

func (c *AppSync) ListDataSourcesRequest(input *ListDataSourcesInput) (req *request.Request, output *ListDataSourcesOutput)

ListDataSourcesRequest generates a "aws/request.Request" representing the client's request for the ListDataSources 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 ListDataSources for more information on using the ListDataSources 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 ListDataSourcesRequest method.
req, resp := client.ListDataSourcesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDataSources

func (*AppSync) ListDataSourcesWithContext

func (c *AppSync) ListDataSourcesWithContext(ctx aws.Context, input *ListDataSourcesInput, opts ...request.Option) (*ListDataSourcesOutput, error)

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

See ListDataSources 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 (*AppSync) ListFunctions added in v1.15.80

func (c *AppSync) ListFunctions(input *ListFunctionsInput) (*ListFunctionsOutput, error)

ListFunctions API operation for AWS AppSync.

List multiple functions.

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 AWS AppSync's API operation ListFunctions for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListFunctions

func (*AppSync) ListFunctionsRequest added in v1.15.80

func (c *AppSync) ListFunctionsRequest(input *ListFunctionsInput) (req *request.Request, output *ListFunctionsOutput)

ListFunctionsRequest generates a "aws/request.Request" representing the client's request for the ListFunctions 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 ListFunctions for more information on using the ListFunctions 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 ListFunctionsRequest method.
req, resp := client.ListFunctionsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListFunctions

func (*AppSync) ListFunctionsWithContext added in v1.15.80

func (c *AppSync) ListFunctionsWithContext(ctx aws.Context, input *ListFunctionsInput, opts ...request.Option) (*ListFunctionsOutput, error)

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

See ListFunctions 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 (*AppSync) ListGraphqlApis

func (c *AppSync) ListGraphqlApis(input *ListGraphqlApisInput) (*ListGraphqlApisOutput, error)

ListGraphqlApis API operation for AWS AppSync.

Lists your GraphQL APIs.

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 AWS AppSync's API operation ListGraphqlApis for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApis

func (*AppSync) ListGraphqlApisRequest

func (c *AppSync) ListGraphqlApisRequest(input *ListGraphqlApisInput) (req *request.Request, output *ListGraphqlApisOutput)

ListGraphqlApisRequest generates a "aws/request.Request" representing the client's request for the ListGraphqlApis 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 ListGraphqlApis for more information on using the ListGraphqlApis 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 ListGraphqlApisRequest method.
req, resp := client.ListGraphqlApisRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApis

func (*AppSync) ListGraphqlApisWithContext

func (c *AppSync) ListGraphqlApisWithContext(ctx aws.Context, input *ListGraphqlApisInput, opts ...request.Option) (*ListGraphqlApisOutput, error)

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

See ListGraphqlApis 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 (*AppSync) ListResolvers

func (c *AppSync) ListResolvers(input *ListResolversInput) (*ListResolversOutput, error)

ListResolvers API operation for AWS AppSync.

Lists the resolvers for a given API and type.

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 AWS AppSync's API operation ListResolvers for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolvers

func (*AppSync) ListResolversByFunction added in v1.15.80

func (c *AppSync) ListResolversByFunction(input *ListResolversByFunctionInput) (*ListResolversByFunctionOutput, error)

ListResolversByFunction API operation for AWS AppSync.

List the resolvers that are associated with a specific function.

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 AWS AppSync's API operation ListResolversByFunction for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolversByFunction

func (*AppSync) ListResolversByFunctionRequest added in v1.15.80

func (c *AppSync) ListResolversByFunctionRequest(input *ListResolversByFunctionInput) (req *request.Request, output *ListResolversByFunctionOutput)

ListResolversByFunctionRequest generates a "aws/request.Request" representing the client's request for the ListResolversByFunction 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 ListResolversByFunction for more information on using the ListResolversByFunction 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 ListResolversByFunctionRequest method.
req, resp := client.ListResolversByFunctionRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolversByFunction

func (*AppSync) ListResolversByFunctionWithContext added in v1.15.80

func (c *AppSync) ListResolversByFunctionWithContext(ctx aws.Context, input *ListResolversByFunctionInput, opts ...request.Option) (*ListResolversByFunctionOutput, error)

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

See ListResolversByFunction 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 (*AppSync) ListResolversRequest

func (c *AppSync) ListResolversRequest(input *ListResolversInput) (req *request.Request, output *ListResolversOutput)

ListResolversRequest generates a "aws/request.Request" representing the client's request for the ListResolvers 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 ListResolvers for more information on using the ListResolvers 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 ListResolversRequest method.
req, resp := client.ListResolversRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolvers

func (*AppSync) ListResolversWithContext

func (c *AppSync) ListResolversWithContext(ctx aws.Context, input *ListResolversInput, opts ...request.Option) (*ListResolversOutput, error)

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

See ListResolvers 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 (*AppSync) ListTagsForResource added in v1.19.26

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

ListTagsForResource API operation for AWS AppSync.

Lists the tags for 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 AWS AppSync's API operation ListTagsForResource for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* LimitExceededException
The request exceeded a limit. Try your request again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

* AccessDeniedException
You do not have access to perform this operation on this resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTagsForResource

func (*AppSync) ListTagsForResourceRequest added in v1.19.26

func (c *AppSync) 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/appsync-2017-07-25/ListTagsForResource

func (*AppSync) ListTagsForResourceWithContext added in v1.19.26

func (c *AppSync) 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 (*AppSync) ListTypes

func (c *AppSync) ListTypes(input *ListTypesInput) (*ListTypesOutput, error)

ListTypes API operation for AWS AppSync.

Lists the types for a given API.

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 AWS AppSync's API operation ListTypes for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypes

func (*AppSync) ListTypesRequest

func (c *AppSync) ListTypesRequest(input *ListTypesInput) (req *request.Request, output *ListTypesOutput)

ListTypesRequest generates a "aws/request.Request" representing the client's request for the ListTypes 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 ListTypes for more information on using the ListTypes 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 ListTypesRequest method.
req, resp := client.ListTypesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypes

func (*AppSync) ListTypesWithContext

func (c *AppSync) ListTypesWithContext(ctx aws.Context, input *ListTypesInput, opts ...request.Option) (*ListTypesOutput, error)

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

See ListTypes 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 (*AppSync) StartSchemaCreation

func (c *AppSync) StartSchemaCreation(input *StartSchemaCreationInput) (*StartSchemaCreationOutput, error)

StartSchemaCreation API operation for AWS AppSync.

Adds a new schema to your GraphQL API.

This operation is asynchronous. Use to determine when it has completed.

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 AWS AppSync's API operation StartSchemaCreation for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaCreation

func (*AppSync) StartSchemaCreationRequest

func (c *AppSync) StartSchemaCreationRequest(input *StartSchemaCreationInput) (req *request.Request, output *StartSchemaCreationOutput)

StartSchemaCreationRequest generates a "aws/request.Request" representing the client's request for the StartSchemaCreation 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 StartSchemaCreation for more information on using the StartSchemaCreation 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 StartSchemaCreationRequest method.
req, resp := client.StartSchemaCreationRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaCreation

func (*AppSync) StartSchemaCreationWithContext

func (c *AppSync) StartSchemaCreationWithContext(ctx aws.Context, input *StartSchemaCreationInput, opts ...request.Option) (*StartSchemaCreationOutput, error)

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

See StartSchemaCreation 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 (*AppSync) TagResource added in v1.19.26

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

TagResource API operation for AWS AppSync.

Tags a resource with user-supplied tags.

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 AWS AppSync's API operation TagResource for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* LimitExceededException
The request exceeded a limit. Try your request again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

* AccessDeniedException
You do not have access to perform this operation on this resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/TagResource

func (*AppSync) TagResourceRequest added in v1.19.26

func (c *AppSync) 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/appsync-2017-07-25/TagResource

func (*AppSync) TagResourceWithContext added in v1.19.26

func (c *AppSync) 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 (*AppSync) UntagResource added in v1.19.26

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

UntagResource API operation for AWS AppSync.

Untags 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 AWS AppSync's API operation UntagResource for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* LimitExceededException
The request exceeded a limit. Try your request again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

* AccessDeniedException
You do not have access to perform this operation on this resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UntagResource

func (*AppSync) UntagResourceRequest added in v1.19.26

func (c *AppSync) 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/appsync-2017-07-25/UntagResource

func (*AppSync) UntagResourceWithContext added in v1.19.26

func (c *AppSync) 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 (*AppSync) UpdateApiCache added in v1.25.40

func (c *AppSync) UpdateApiCache(input *UpdateApiCacheInput) (*UpdateApiCacheOutput, error)

UpdateApiCache API operation for AWS AppSync.

Updates the cache for the GraphQL API.

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 AWS AppSync's API operation UpdateApiCache for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiCache

func (*AppSync) UpdateApiCacheRequest added in v1.25.40

func (c *AppSync) UpdateApiCacheRequest(input *UpdateApiCacheInput) (req *request.Request, output *UpdateApiCacheOutput)

UpdateApiCacheRequest generates a "aws/request.Request" representing the client's request for the UpdateApiCache 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 UpdateApiCache for more information on using the UpdateApiCache 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 UpdateApiCacheRequest method.
req, resp := client.UpdateApiCacheRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiCache

func (*AppSync) UpdateApiCacheWithContext added in v1.25.40

func (c *AppSync) UpdateApiCacheWithContext(ctx aws.Context, input *UpdateApiCacheInput, opts ...request.Option) (*UpdateApiCacheOutput, error)

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

See UpdateApiCache 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 (*AppSync) UpdateApiKey added in v1.12.77

func (c *AppSync) UpdateApiKey(input *UpdateApiKeyInput) (*UpdateApiKeyOutput, error)

UpdateApiKey API operation for AWS AppSync.

Updates an API key. The key can be updated while it is not deleted.

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 AWS AppSync's API operation UpdateApiKey for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* LimitExceededException
The request exceeded a limit. Try your request again.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

* ApiKeyValidityOutOfBoundsException
The API key expiration must be set to a value between 1 and 365 days from
creation (for CreateApiKey) or from update (for UpdateApiKey).

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiKey

func (*AppSync) UpdateApiKeyRequest added in v1.12.77

func (c *AppSync) UpdateApiKeyRequest(input *UpdateApiKeyInput) (req *request.Request, output *UpdateApiKeyOutput)

UpdateApiKeyRequest generates a "aws/request.Request" representing the client's request for the UpdateApiKey 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 UpdateApiKey for more information on using the UpdateApiKey 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 UpdateApiKeyRequest method.
req, resp := client.UpdateApiKeyRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiKey

func (*AppSync) UpdateApiKeyWithContext added in v1.12.77

func (c *AppSync) UpdateApiKeyWithContext(ctx aws.Context, input *UpdateApiKeyInput, opts ...request.Option) (*UpdateApiKeyOutput, error)

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

See UpdateApiKey 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 (*AppSync) UpdateDataSource

func (c *AppSync) UpdateDataSource(input *UpdateDataSourceInput) (*UpdateDataSourceOutput, error)

UpdateDataSource API operation for AWS AppSync.

Updates a DataSource object.

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 AWS AppSync's API operation UpdateDataSource for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDataSource

func (*AppSync) UpdateDataSourceRequest

func (c *AppSync) UpdateDataSourceRequest(input *UpdateDataSourceInput) (req *request.Request, output *UpdateDataSourceOutput)

UpdateDataSourceRequest generates a "aws/request.Request" representing the client's request for the UpdateDataSource 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 UpdateDataSource for more information on using the UpdateDataSource 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 UpdateDataSourceRequest method.
req, resp := client.UpdateDataSourceRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDataSource

func (*AppSync) UpdateDataSourceWithContext

func (c *AppSync) UpdateDataSourceWithContext(ctx aws.Context, input *UpdateDataSourceInput, opts ...request.Option) (*UpdateDataSourceOutput, error)

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

See UpdateDataSource 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 (*AppSync) UpdateFunction added in v1.15.80

func (c *AppSync) UpdateFunction(input *UpdateFunctionInput) (*UpdateFunctionOutput, error)

UpdateFunction API operation for AWS AppSync.

Updates a Function object.

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 AWS AppSync's API operation UpdateFunction for usage and error information.

Returned Error Types:

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateFunction

func (*AppSync) UpdateFunctionRequest added in v1.15.80

func (c *AppSync) UpdateFunctionRequest(input *UpdateFunctionInput) (req *request.Request, output *UpdateFunctionOutput)

UpdateFunctionRequest generates a "aws/request.Request" representing the client's request for the UpdateFunction 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 UpdateFunction for more information on using the UpdateFunction 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 UpdateFunctionRequest method.
req, resp := client.UpdateFunctionRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateFunction

func (*AppSync) UpdateFunctionWithContext added in v1.15.80

func (c *AppSync) UpdateFunctionWithContext(ctx aws.Context, input *UpdateFunctionInput, opts ...request.Option) (*UpdateFunctionOutput, error)

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

See UpdateFunction 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 (*AppSync) UpdateGraphqlApi

func (c *AppSync) UpdateGraphqlApi(input *UpdateGraphqlApiInput) (*UpdateGraphqlApiOutput, error)

UpdateGraphqlApi API operation for AWS AppSync.

Updates a GraphqlApi object.

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 AWS AppSync's API operation UpdateGraphqlApi for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

* AccessDeniedException
You do not have access to perform this operation on this resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApi

func (*AppSync) UpdateGraphqlApiRequest

func (c *AppSync) UpdateGraphqlApiRequest(input *UpdateGraphqlApiInput) (req *request.Request, output *UpdateGraphqlApiOutput)

UpdateGraphqlApiRequest generates a "aws/request.Request" representing the client's request for the UpdateGraphqlApi 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 UpdateGraphqlApi for more information on using the UpdateGraphqlApi 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 UpdateGraphqlApiRequest method.
req, resp := client.UpdateGraphqlApiRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApi

func (*AppSync) UpdateGraphqlApiWithContext

func (c *AppSync) UpdateGraphqlApiWithContext(ctx aws.Context, input *UpdateGraphqlApiInput, opts ...request.Option) (*UpdateGraphqlApiOutput, error)

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

See UpdateGraphqlApi 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 (*AppSync) UpdateResolver

func (c *AppSync) UpdateResolver(input *UpdateResolverInput) (*UpdateResolverOutput, error)

UpdateResolver API operation for AWS AppSync.

Updates a Resolver object.

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 AWS AppSync's API operation UpdateResolver for usage and error information.

Returned Error Types:

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateResolver

func (*AppSync) UpdateResolverRequest

func (c *AppSync) UpdateResolverRequest(input *UpdateResolverInput) (req *request.Request, output *UpdateResolverOutput)

UpdateResolverRequest generates a "aws/request.Request" representing the client's request for the UpdateResolver 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 UpdateResolver for more information on using the UpdateResolver 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 UpdateResolverRequest method.
req, resp := client.UpdateResolverRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateResolver

func (*AppSync) UpdateResolverWithContext

func (c *AppSync) UpdateResolverWithContext(ctx aws.Context, input *UpdateResolverInput, opts ...request.Option) (*UpdateResolverOutput, error)

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

See UpdateResolver 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 (*AppSync) UpdateType

func (c *AppSync) UpdateType(input *UpdateTypeInput) (*UpdateTypeOutput, error)

UpdateType API operation for AWS AppSync.

Updates a Type object.

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 AWS AppSync's API operation UpdateType for usage and error information.

Returned Error Types:

* BadRequestException
The request is not well formed. For example, a value is invalid or a required
field is missing. Check the field values, and then try again.

* ConcurrentModificationException
Another modification is in progress at this time and it must complete before
you can make your change.

* NotFoundException
The resource specified in the request was not found. Check the resource,
and then try again.

* UnauthorizedException
You are not authorized to perform this operation.

* InternalFailureException
An internal AppSync error occurred. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateType

func (*AppSync) UpdateTypeRequest

func (c *AppSync) UpdateTypeRequest(input *UpdateTypeInput) (req *request.Request, output *UpdateTypeOutput)

UpdateTypeRequest generates a "aws/request.Request" representing the client's request for the UpdateType 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 UpdateType for more information on using the UpdateType 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 UpdateTypeRequest method.
req, resp := client.UpdateTypeRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateType

func (*AppSync) UpdateTypeWithContext

func (c *AppSync) UpdateTypeWithContext(ctx aws.Context, input *UpdateTypeInput, opts ...request.Option) (*UpdateTypeOutput, error)

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

See UpdateType 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.

type AuthorizationConfig added in v1.15.80

type AuthorizationConfig struct {

	// The authorization type required by the HTTP endpoint.
	//
	//    * AWS_IAM: The authorization type is Sigv4.
	//
	// AuthorizationType is a required field
	AuthorizationType *string `locationName:"authorizationType" type:"string" required:"true" enum:"AuthorizationType"`

	// The Identity and Access Management settings.
	AwsIamConfig *AwsIamConfig `locationName:"awsIamConfig" type:"structure"`
	// contains filtered or unexported fields
}

The authorization config in case the HTTP endpoint requires authorization.

func (AuthorizationConfig) GoString added in v1.15.80

func (s AuthorizationConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AuthorizationConfig) SetAuthorizationType added in v1.15.80

func (s *AuthorizationConfig) SetAuthorizationType(v string) *AuthorizationConfig

SetAuthorizationType sets the AuthorizationType field's value.

func (*AuthorizationConfig) SetAwsIamConfig added in v1.15.80

func (s *AuthorizationConfig) SetAwsIamConfig(v *AwsIamConfig) *AuthorizationConfig

SetAwsIamConfig sets the AwsIamConfig field's value.

func (AuthorizationConfig) String added in v1.15.80

func (s AuthorizationConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AuthorizationConfig) Validate added in v1.15.80

func (s *AuthorizationConfig) Validate() error

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

type AwsIamConfig added in v1.15.80

type AwsIamConfig struct {

	// The signing region for Identity and Access Management authorization.
	SigningRegion *string `locationName:"signingRegion" type:"string"`

	// The signing service name for Identity and Access Management authorization.
	SigningServiceName *string `locationName:"signingServiceName" type:"string"`
	// contains filtered or unexported fields
}

The Identity and Access Management configuration.

func (AwsIamConfig) GoString added in v1.15.80

func (s AwsIamConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AwsIamConfig) SetSigningRegion added in v1.15.80

func (s *AwsIamConfig) SetSigningRegion(v string) *AwsIamConfig

SetSigningRegion sets the SigningRegion field's value.

func (*AwsIamConfig) SetSigningServiceName added in v1.15.80

func (s *AwsIamConfig) SetSigningServiceName(v string) *AwsIamConfig

SetSigningServiceName sets the SigningServiceName field's value.

func (AwsIamConfig) String added in v1.15.80

func (s AwsIamConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BadRequestException added in v1.28.0

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

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

The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CachingConfig added in v1.25.40

type CachingConfig struct {

	// The caching keys for a resolver that has caching enabled.
	//
	// Valid values are entries from the $context.arguments, $context.source, and
	// $context.identity maps.
	CachingKeys []*string `locationName:"cachingKeys" type:"list"`

	// The TTL in seconds for a resolver that has caching enabled.
	//
	// Valid values are between 1 and 3600 seconds.
	Ttl *int64 `locationName:"ttl" type:"long"`
	// contains filtered or unexported fields
}

The caching configuration for a resolver that has caching enabled.

func (CachingConfig) GoString added in v1.25.40

func (s CachingConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CachingConfig) SetCachingKeys added in v1.25.40

func (s *CachingConfig) SetCachingKeys(v []*string) *CachingConfig

SetCachingKeys sets the CachingKeys field's value.

func (*CachingConfig) SetTtl added in v1.25.40

func (s *CachingConfig) SetTtl(v int64) *CachingConfig

SetTtl sets the Ttl field's value.

func (CachingConfig) String added in v1.25.40

func (s CachingConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CognitoUserPoolConfig added in v1.19.26

type CognitoUserPoolConfig struct {

	// A regular expression for validating the incoming Amazon Cognito user pool
	// app client ID.
	AppIdClientRegex *string `locationName:"appIdClientRegex" type:"string"`

	// The Amazon Web Services Region in which the user pool was created.
	//
	// AwsRegion is a required field
	AwsRegion *string `locationName:"awsRegion" type:"string" required:"true"`

	// The user pool ID.
	//
	// UserPoolId is a required field
	UserPoolId *string `locationName:"userPoolId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes an Amazon Cognito user pool configuration.

func (CognitoUserPoolConfig) GoString added in v1.19.26

func (s CognitoUserPoolConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CognitoUserPoolConfig) SetAppIdClientRegex added in v1.19.26

func (s *CognitoUserPoolConfig) SetAppIdClientRegex(v string) *CognitoUserPoolConfig

SetAppIdClientRegex sets the AppIdClientRegex field's value.

func (*CognitoUserPoolConfig) SetAwsRegion added in v1.19.26

SetAwsRegion sets the AwsRegion field's value.

func (*CognitoUserPoolConfig) SetUserPoolId added in v1.19.26

func (s *CognitoUserPoolConfig) SetUserPoolId(v string) *CognitoUserPoolConfig

SetUserPoolId sets the UserPoolId field's value.

func (CognitoUserPoolConfig) String added in v1.19.26

func (s CognitoUserPoolConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CognitoUserPoolConfig) Validate added in v1.19.26

func (s *CognitoUserPoolConfig) Validate() error

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

type ConcurrentModificationException added in v1.28.0

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

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

Another modification is in progress at this time and it must complete before you can make your change.

func (*ConcurrentModificationException) Code added in v1.28.0

Code returns the exception type name.

func (*ConcurrentModificationException) Error added in v1.28.0

func (ConcurrentModificationException) GoString added in v1.28.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConcurrentModificationException) Message added in v1.28.0

Message returns the exception's message.

func (*ConcurrentModificationException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConcurrentModificationException) RequestID added in v1.28.0

func (s *ConcurrentModificationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConcurrentModificationException) StatusCode added in v1.28.0

func (s *ConcurrentModificationException) StatusCode() int

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

func (ConcurrentModificationException) String added in v1.28.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateApiCacheInput added in v1.25.40

type CreateApiCacheInput struct {

	// Caching behavior.
	//
	//    * FULL_REQUEST_CACHING: All requests are fully cached.
	//
	//    * PER_RESOLVER_CACHING: Individual resolvers that you specify are cached.
	//
	// ApiCachingBehavior is a required field
	ApiCachingBehavior *string `locationName:"apiCachingBehavior" type:"string" required:"true" enum:"ApiCachingBehavior"`

	// The GraphQL API Id.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// At rest encryption flag for cache. This setting cannot be updated after creation.
	AtRestEncryptionEnabled *bool `locationName:"atRestEncryptionEnabled" type:"boolean"`

	// Transit encryption flag when connecting to cache. This setting cannot be
	// updated after creation.
	TransitEncryptionEnabled *bool `locationName:"transitEncryptionEnabled" type:"boolean"`

	// TTL in seconds for cache entries.
	//
	// Valid values are between 1 and 3600 seconds.
	//
	// Ttl is a required field
	Ttl *int64 `locationName:"ttl" type:"long" required:"true"`

	// The cache instance type. Valid values are
	//
	//    * SMALL
	//
	//    * MEDIUM
	//
	//    * LARGE
	//
	//    * XLARGE
	//
	//    * LARGE_2X
	//
	//    * LARGE_4X
	//
	//    * LARGE_8X (not available in all regions)
	//
	//    * LARGE_12X
	//
	// Historically, instance types were identified by an EC2-style value. As of
	// July 2020, this is deprecated, and the generic identifiers above should be
	// used.
	//
	// The following legacy instance types are available, but their use is discouraged:
	//
	//    * T2_SMALL: A t2.small instance type.
	//
	//    * T2_MEDIUM: A t2.medium instance type.
	//
	//    * R4_LARGE: A r4.large instance type.
	//
	//    * R4_XLARGE: A r4.xlarge instance type.
	//
	//    * R4_2XLARGE: A r4.2xlarge instance type.
	//
	//    * R4_4XLARGE: A r4.4xlarge instance type.
	//
	//    * R4_8XLARGE: A r4.8xlarge instance type.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"ApiCacheType"`
	// contains filtered or unexported fields
}

Represents the input of a CreateApiCache operation.

func (CreateApiCacheInput) GoString added in v1.25.40

func (s CreateApiCacheInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateApiCacheInput) SetApiCachingBehavior added in v1.25.40

func (s *CreateApiCacheInput) SetApiCachingBehavior(v string) *CreateApiCacheInput

SetApiCachingBehavior sets the ApiCachingBehavior field's value.

func (*CreateApiCacheInput) SetApiId added in v1.25.40

SetApiId sets the ApiId field's value.

func (*CreateApiCacheInput) SetAtRestEncryptionEnabled added in v1.25.40

func (s *CreateApiCacheInput) SetAtRestEncryptionEnabled(v bool) *CreateApiCacheInput

SetAtRestEncryptionEnabled sets the AtRestEncryptionEnabled field's value.

func (*CreateApiCacheInput) SetTransitEncryptionEnabled added in v1.25.40

func (s *CreateApiCacheInput) SetTransitEncryptionEnabled(v bool) *CreateApiCacheInput

SetTransitEncryptionEnabled sets the TransitEncryptionEnabled field's value.

func (*CreateApiCacheInput) SetTtl added in v1.25.40

SetTtl sets the Ttl field's value.

func (*CreateApiCacheInput) SetType added in v1.25.40

SetType sets the Type field's value.

func (CreateApiCacheInput) String added in v1.25.40

func (s CreateApiCacheInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateApiCacheInput) Validate added in v1.25.40

func (s *CreateApiCacheInput) Validate() error

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

type CreateApiCacheOutput added in v1.25.40

type CreateApiCacheOutput struct {

	// The ApiCache object.
	ApiCache *ApiCache `locationName:"apiCache" type:"structure"`
	// contains filtered or unexported fields
}

Represents the output of a CreateApiCache operation.

func (CreateApiCacheOutput) GoString added in v1.25.40

func (s CreateApiCacheOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateApiCacheOutput) SetApiCache added in v1.25.40

SetApiCache sets the ApiCache field's value.

func (CreateApiCacheOutput) String added in v1.25.40

func (s CreateApiCacheOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateApiKeyInput

type CreateApiKeyInput struct {

	// The ID for your GraphQL API.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// A description of the purpose of the API key.
	Description *string `locationName:"description" type:"string"`

	// The time from creation time after which the API key expires. The date is
	// represented as seconds since the epoch, rounded down to the nearest hour.
	// The default value for this parameter is 7 days from creation time. For more
	// information, see .
	Expires *int64 `locationName:"expires" type:"long"`
	// contains filtered or unexported fields
}

func (CreateApiKeyInput) GoString

func (s CreateApiKeyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateApiKeyInput) SetApiId

func (s *CreateApiKeyInput) SetApiId(v string) *CreateApiKeyInput

SetApiId sets the ApiId field's value.

func (*CreateApiKeyInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateApiKeyInput) SetExpires added in v1.12.77

func (s *CreateApiKeyInput) SetExpires(v int64) *CreateApiKeyInput

SetExpires sets the Expires field's value.

func (CreateApiKeyInput) String

func (s CreateApiKeyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateApiKeyInput) Validate

func (s *CreateApiKeyInput) Validate() error

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

type CreateApiKeyOutput

type CreateApiKeyOutput struct {

	// The API key.
	ApiKey *ApiKey `locationName:"apiKey" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateApiKeyOutput) GoString

func (s CreateApiKeyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateApiKeyOutput) SetApiKey

func (s *CreateApiKeyOutput) SetApiKey(v *ApiKey) *CreateApiKeyOutput

SetApiKey sets the ApiKey field's value.

func (CreateApiKeyOutput) String

func (s CreateApiKeyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateDataSourceInput

type CreateDataSourceInput struct {

	// The API ID for the GraphQL API for the DataSource.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// A description of the DataSource.
	Description *string `locationName:"description" type:"string"`

	// Amazon DynamoDB settings.
	DynamodbConfig *DynamodbDataSourceConfig `locationName:"dynamodbConfig" type:"structure"`

	// Amazon Elasticsearch Service settings.
	ElasticsearchConfig *ElasticsearchDataSourceConfig `locationName:"elasticsearchConfig" type:"structure"`

	// HTTP endpoint settings.
	HttpConfig *HttpDataSourceConfig `locationName:"httpConfig" type:"structure"`

	// Amazon Web Services Lambda settings.
	LambdaConfig *LambdaDataSourceConfig `locationName:"lambdaConfig" type:"structure"`

	// A user-supplied name for the DataSource.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`

	// Relational database settings.
	RelationalDatabaseConfig *RelationalDatabaseDataSourceConfig `locationName:"relationalDatabaseConfig" type:"structure"`

	// The Identity and Access Management service role ARN for the data source.
	// The system assumes this role when accessing the data source.
	ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"`

	// The type of the DataSource.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"DataSourceType"`
	// contains filtered or unexported fields
}

func (CreateDataSourceInput) GoString

func (s CreateDataSourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateDataSourceInput) SetApiId

SetApiId sets the ApiId field's value.

func (*CreateDataSourceInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateDataSourceInput) SetDynamodbConfig

SetDynamodbConfig sets the DynamodbConfig field's value.

func (*CreateDataSourceInput) SetElasticsearchConfig

SetElasticsearchConfig sets the ElasticsearchConfig field's value.

func (*CreateDataSourceInput) SetHttpConfig added in v1.14.26

SetHttpConfig sets the HttpConfig field's value.

func (*CreateDataSourceInput) SetLambdaConfig

SetLambdaConfig sets the LambdaConfig field's value.

func (*CreateDataSourceInput) SetName

SetName sets the Name field's value.

func (*CreateDataSourceInput) SetRelationalDatabaseConfig added in v1.15.80

SetRelationalDatabaseConfig sets the RelationalDatabaseConfig field's value.

func (*CreateDataSourceInput) SetServiceRoleArn

func (s *CreateDataSourceInput) SetServiceRoleArn(v string) *CreateDataSourceInput

SetServiceRoleArn sets the ServiceRoleArn field's value.

func (*CreateDataSourceInput) SetType

SetType sets the Type field's value.

func (CreateDataSourceInput) String

func (s CreateDataSourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateDataSourceInput) Validate

func (s *CreateDataSourceInput) Validate() error

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

type CreateDataSourceOutput

type CreateDataSourceOutput struct {

	// The DataSource object.
	DataSource *DataSource `locationName:"dataSource" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateDataSourceOutput) GoString

func (s CreateDataSourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateDataSourceOutput) SetDataSource

SetDataSource sets the DataSource field's value.

func (CreateDataSourceOutput) String

func (s CreateDataSourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateFunctionInput added in v1.15.80

type CreateFunctionInput struct {

	// The GraphQL API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// The Function DataSource name.
	//
	// DataSourceName is a required field
	DataSourceName *string `locationName:"dataSourceName" min:"1" type:"string" required:"true"`

	// The Function description.
	Description *string `locationName:"description" type:"string"`

	// The version of the request mapping template. Currently the supported value
	// is 2018-05-29.
	//
	// FunctionVersion is a required field
	FunctionVersion *string `locationName:"functionVersion" type:"string" required:"true"`

	// The Function name. The function name does not have to be unique.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`

	// The Function request mapping template. Functions support only the 2018-05-29
	// version of the request mapping template.
	RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string"`

	// The Function response mapping template.
	ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"`

	// Describes a Sync configuration for a resolver.
	//
	// Contains information on which Conflict Detection as well as Resolution strategy
	// should be performed when the resolver is invoked.
	SyncConfig *SyncConfig `locationName:"syncConfig" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateFunctionInput) GoString added in v1.15.80

func (s CreateFunctionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateFunctionInput) SetApiId added in v1.15.80

SetApiId sets the ApiId field's value.

func (*CreateFunctionInput) SetDataSourceName added in v1.15.80

func (s *CreateFunctionInput) SetDataSourceName(v string) *CreateFunctionInput

SetDataSourceName sets the DataSourceName field's value.

func (*CreateFunctionInput) SetDescription added in v1.15.80

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

SetDescription sets the Description field's value.

func (*CreateFunctionInput) SetFunctionVersion added in v1.15.80

func (s *CreateFunctionInput) SetFunctionVersion(v string) *CreateFunctionInput

SetFunctionVersion sets the FunctionVersion field's value.

func (*CreateFunctionInput) SetName added in v1.15.80

SetName sets the Name field's value.

func (*CreateFunctionInput) SetRequestMappingTemplate added in v1.15.80

func (s *CreateFunctionInput) SetRequestMappingTemplate(v string) *CreateFunctionInput

SetRequestMappingTemplate sets the RequestMappingTemplate field's value.

func (*CreateFunctionInput) SetResponseMappingTemplate added in v1.15.80

func (s *CreateFunctionInput) SetResponseMappingTemplate(v string) *CreateFunctionInput

SetResponseMappingTemplate sets the ResponseMappingTemplate field's value.

func (*CreateFunctionInput) SetSyncConfig added in v1.37.10

func (s *CreateFunctionInput) SetSyncConfig(v *SyncConfig) *CreateFunctionInput

SetSyncConfig sets the SyncConfig field's value.

func (CreateFunctionInput) String added in v1.15.80

func (s CreateFunctionInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateFunctionInput) Validate added in v1.15.80

func (s *CreateFunctionInput) Validate() error

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

type CreateFunctionOutput added in v1.15.80

type CreateFunctionOutput struct {

	// The Function object.
	FunctionConfiguration *FunctionConfiguration `locationName:"functionConfiguration" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateFunctionOutput) GoString added in v1.15.80

func (s CreateFunctionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateFunctionOutput) SetFunctionConfiguration added in v1.15.80

func (s *CreateFunctionOutput) SetFunctionConfiguration(v *FunctionConfiguration) *CreateFunctionOutput

SetFunctionConfiguration sets the FunctionConfiguration field's value.

func (CreateFunctionOutput) String added in v1.15.80

func (s CreateFunctionOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateGraphqlApiInput

type CreateGraphqlApiInput struct {

	// A list of additional authentication providers for the GraphqlApi API.
	AdditionalAuthenticationProviders []*AdditionalAuthenticationProvider `locationName:"additionalAuthenticationProviders" type:"list"`

	// The authentication type: API key, Identity and Access Management, OIDC, or
	// Amazon Cognito user pools.
	//
	// AuthenticationType is a required field
	AuthenticationType *string `locationName:"authenticationType" type:"string" required:"true" enum:"AuthenticationType"`

	// Configuration for AWS Lambda function authorization.
	LambdaAuthorizerConfig *LambdaAuthorizerConfig `locationName:"lambdaAuthorizerConfig" type:"structure"`

	// The Amazon CloudWatch Logs configuration.
	LogConfig *LogConfig `locationName:"logConfig" type:"structure"`

	// A user-supplied name for the GraphqlApi.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// The OpenID Connect configuration.
	OpenIDConnectConfig *OpenIDConnectConfig `locationName:"openIDConnectConfig" type:"structure"`

	// A TagMap object.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map"`

	// The Amazon Cognito user pool configuration.
	UserPoolConfig *UserPoolConfig `locationName:"userPoolConfig" type:"structure"`

	// A flag indicating whether to enable X-Ray tracing for the GraphqlApi.
	XrayEnabled *bool `locationName:"xrayEnabled" type:"boolean"`
	// contains filtered or unexported fields
}

func (CreateGraphqlApiInput) GoString

func (s CreateGraphqlApiInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateGraphqlApiInput) SetAdditionalAuthenticationProviders added in v1.19.26

func (s *CreateGraphqlApiInput) SetAdditionalAuthenticationProviders(v []*AdditionalAuthenticationProvider) *CreateGraphqlApiInput

SetAdditionalAuthenticationProviders sets the AdditionalAuthenticationProviders field's value.

func (*CreateGraphqlApiInput) SetAuthenticationType

func (s *CreateGraphqlApiInput) SetAuthenticationType(v string) *CreateGraphqlApiInput

SetAuthenticationType sets the AuthenticationType field's value.

func (*CreateGraphqlApiInput) SetLambdaAuthorizerConfig added in v1.40.12

func (s *CreateGraphqlApiInput) SetLambdaAuthorizerConfig(v *LambdaAuthorizerConfig) *CreateGraphqlApiInput

SetLambdaAuthorizerConfig sets the LambdaAuthorizerConfig field's value.

func (*CreateGraphqlApiInput) SetLogConfig added in v1.13.41

SetLogConfig sets the LogConfig field's value.

func (*CreateGraphqlApiInput) SetName

SetName sets the Name field's value.

func (*CreateGraphqlApiInput) SetOpenIDConnectConfig added in v1.13.41

func (s *CreateGraphqlApiInput) SetOpenIDConnectConfig(v *OpenIDConnectConfig) *CreateGraphqlApiInput

SetOpenIDConnectConfig sets the OpenIDConnectConfig field's value.

func (*CreateGraphqlApiInput) SetTags added in v1.19.26

SetTags sets the Tags field's value.

func (*CreateGraphqlApiInput) SetUserPoolConfig

SetUserPoolConfig sets the UserPoolConfig field's value.

func (*CreateGraphqlApiInput) SetXrayEnabled added in v1.28.12

func (s *CreateGraphqlApiInput) SetXrayEnabled(v bool) *CreateGraphqlApiInput

SetXrayEnabled sets the XrayEnabled field's value.

func (CreateGraphqlApiInput) String

func (s CreateGraphqlApiInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateGraphqlApiInput) Validate

func (s *CreateGraphqlApiInput) Validate() error

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

type CreateGraphqlApiOutput

type CreateGraphqlApiOutput struct {

	// The GraphqlApi.
	GraphqlApi *GraphqlApi `locationName:"graphqlApi" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateGraphqlApiOutput) GoString

func (s CreateGraphqlApiOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateGraphqlApiOutput) SetGraphqlApi

SetGraphqlApi sets the GraphqlApi field's value.

func (CreateGraphqlApiOutput) String

func (s CreateGraphqlApiOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateResolverInput

type CreateResolverInput struct {

	// The ID for the GraphQL API for which the resolver is being created.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// The caching configuration for the resolver.
	CachingConfig *CachingConfig `locationName:"cachingConfig" type:"structure"`

	// The name of the data source for which the resolver is being created.
	DataSourceName *string `locationName:"dataSourceName" min:"1" type:"string"`

	// The name of the field to attach the resolver to.
	//
	// FieldName is a required field
	FieldName *string `locationName:"fieldName" min:"1" type:"string" required:"true"`

	// The resolver type.
	//
	//    * UNIT: A UNIT resolver type. A UNIT resolver is the default resolver
	//    type. A UNIT resolver enables you to execute a GraphQL query against a
	//    single data source.
	//
	//    * PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you
	//    to execute a series of Function in a serial manner. You can use a pipeline
	//    resolver to execute a GraphQL query against multiple data sources.
	Kind *string `locationName:"kind" type:"string" enum:"ResolverKind"`

	// The PipelineConfig.
	PipelineConfig *PipelineConfig `locationName:"pipelineConfig" type:"structure"`

	// The mapping template to be used for requests.
	//
	// A resolver uses a request mapping template to convert a GraphQL expression
	// into a format that a data source can understand. Mapping templates are written
	// in Apache Velocity Template Language (VTL).
	//
	// VTL request mapping templates are optional when using a Lambda data source.
	// For all other data sources, VTL request and response mapping templates are
	// required.
	RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string"`

	// The mapping template to be used for responses from the data source.
	ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"`

	// The SyncConfig for a resolver attached to a versioned datasource.
	SyncConfig *SyncConfig `locationName:"syncConfig" type:"structure"`

	// The name of the Type.
	//
	// TypeName is a required field
	TypeName *string `location:"uri" locationName:"typeName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateResolverInput) GoString

func (s CreateResolverInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateResolverInput) SetApiId

SetApiId sets the ApiId field's value.

func (*CreateResolverInput) SetCachingConfig added in v1.25.40

func (s *CreateResolverInput) SetCachingConfig(v *CachingConfig) *CreateResolverInput

SetCachingConfig sets the CachingConfig field's value.

func (*CreateResolverInput) SetDataSourceName

func (s *CreateResolverInput) SetDataSourceName(v string) *CreateResolverInput

SetDataSourceName sets the DataSourceName field's value.

func (*CreateResolverInput) SetFieldName

func (s *CreateResolverInput) SetFieldName(v string) *CreateResolverInput

SetFieldName sets the FieldName field's value.

func (*CreateResolverInput) SetKind added in v1.15.80

SetKind sets the Kind field's value.

func (*CreateResolverInput) SetPipelineConfig added in v1.15.80

func (s *CreateResolverInput) SetPipelineConfig(v *PipelineConfig) *CreateResolverInput

SetPipelineConfig sets the PipelineConfig field's value.

func (*CreateResolverInput) SetRequestMappingTemplate

func (s *CreateResolverInput) SetRequestMappingTemplate(v string) *CreateResolverInput

SetRequestMappingTemplate sets the RequestMappingTemplate field's value.

func (*CreateResolverInput) SetResponseMappingTemplate

func (s *CreateResolverInput) SetResponseMappingTemplate(v string) *CreateResolverInput

SetResponseMappingTemplate sets the ResponseMappingTemplate field's value.

func (*CreateResolverInput) SetSyncConfig added in v1.25.40

func (s *CreateResolverInput) SetSyncConfig(v *SyncConfig) *CreateResolverInput

SetSyncConfig sets the SyncConfig field's value.

func (*CreateResolverInput) SetTypeName

func (s *CreateResolverInput) SetTypeName(v string) *CreateResolverInput

SetTypeName sets the TypeName field's value.

func (CreateResolverInput) String

func (s CreateResolverInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateResolverInput) Validate

func (s *CreateResolverInput) Validate() error

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

type CreateResolverOutput

type CreateResolverOutput struct {

	// The Resolver object.
	Resolver *Resolver `locationName:"resolver" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateResolverOutput) GoString

func (s CreateResolverOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateResolverOutput) SetResolver

SetResolver sets the Resolver field's value.

func (CreateResolverOutput) String

func (s CreateResolverOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateTypeInput

type CreateTypeInput struct {

	// The API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// The type definition, in GraphQL Schema Definition Language (SDL) format.
	//
	// For more information, see the GraphQL SDL documentation (http://graphql.org/learn/schema/).
	//
	// Definition is a required field
	Definition *string `locationName:"definition" type:"string" required:"true"`

	// The type format: SDL or JSON.
	//
	// Format is a required field
	Format *string `locationName:"format" type:"string" required:"true" enum:"TypeDefinitionFormat"`
	// contains filtered or unexported fields
}

func (CreateTypeInput) GoString

func (s CreateTypeInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateTypeInput) SetApiId

func (s *CreateTypeInput) SetApiId(v string) *CreateTypeInput

SetApiId sets the ApiId field's value.

func (*CreateTypeInput) SetDefinition

func (s *CreateTypeInput) SetDefinition(v string) *CreateTypeInput

SetDefinition sets the Definition field's value.

func (*CreateTypeInput) SetFormat

func (s *CreateTypeInput) SetFormat(v string) *CreateTypeInput

SetFormat sets the Format field's value.

func (CreateTypeInput) String

func (s CreateTypeInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateTypeInput) Validate

func (s *CreateTypeInput) Validate() error

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

type CreateTypeOutput

type CreateTypeOutput struct {

	// The Type object.
	Type *Type `locationName:"type" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateTypeOutput) GoString

func (s CreateTypeOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateTypeOutput) SetType

func (s *CreateTypeOutput) SetType(v *Type) *CreateTypeOutput

SetType sets the Type field's value.

func (CreateTypeOutput) String

func (s CreateTypeOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DataSource

type DataSource struct {

	// The data source ARN.
	DataSourceArn *string `locationName:"dataSourceArn" type:"string"`

	// The description of the data source.
	Description *string `locationName:"description" type:"string"`

	// Amazon DynamoDB settings.
	DynamodbConfig *DynamodbDataSourceConfig `locationName:"dynamodbConfig" type:"structure"`

	// Amazon Elasticsearch Service settings.
	ElasticsearchConfig *ElasticsearchDataSourceConfig `locationName:"elasticsearchConfig" type:"structure"`

	// HTTP endpoint settings.
	HttpConfig *HttpDataSourceConfig `locationName:"httpConfig" type:"structure"`

	// Amazon Web Services Lambda settings.
	LambdaConfig *LambdaDataSourceConfig `locationName:"lambdaConfig" type:"structure"`

	// The name of the data source.
	Name *string `locationName:"name" min:"1" type:"string"`

	// Relational database settings.
	RelationalDatabaseConfig *RelationalDatabaseDataSourceConfig `locationName:"relationalDatabaseConfig" type:"structure"`

	// The Identity and Access Management service role ARN for the data source.
	// The system assumes this role when accessing the data source.
	ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"`

	// The type of the data source.
	//
	//    * AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table.
	//
	//    * AMAZON_ELASTICSEARCH: The data source is an Amazon Elasticsearch Service
	//    domain.
	//
	//    * AWS_LAMBDA: The data source is an Amazon Web Services Lambda function.
	//
	//    * NONE: There is no data source. This type is used when you wish to invoke
	//    a GraphQL operation without connecting to a data source, such as performing
	//    data transformation with resolvers or triggering a subscription to be
	//    invoked from a mutation.
	//
	//    * HTTP: The data source is an HTTP endpoint.
	//
	//    * RELATIONAL_DATABASE: The data source is a relational database.
	Type *string `locationName:"type" type:"string" enum:"DataSourceType"`
	// contains filtered or unexported fields
}

Describes a data source.

func (DataSource) GoString

func (s DataSource) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DataSource) SetDataSourceArn

func (s *DataSource) SetDataSourceArn(v string) *DataSource

SetDataSourceArn sets the DataSourceArn field's value.

func (*DataSource) SetDescription

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

SetDescription sets the Description field's value.

func (*DataSource) SetDynamodbConfig

func (s *DataSource) SetDynamodbConfig(v *DynamodbDataSourceConfig) *DataSource

SetDynamodbConfig sets the DynamodbConfig field's value.

func (*DataSource) SetElasticsearchConfig

func (s *DataSource) SetElasticsearchConfig(v *ElasticsearchDataSourceConfig) *DataSource

SetElasticsearchConfig sets the ElasticsearchConfig field's value.

func (*DataSource) SetHttpConfig added in v1.14.26

func (s *DataSource) SetHttpConfig(v *HttpDataSourceConfig) *DataSource

SetHttpConfig sets the HttpConfig field's value.

func (*DataSource) SetLambdaConfig

func (s *DataSource) SetLambdaConfig(v *LambdaDataSourceConfig) *DataSource

SetLambdaConfig sets the LambdaConfig field's value.

func (*DataSource) SetName

func (s *DataSource) SetName(v string) *DataSource

SetName sets the Name field's value.

func (*DataSource) SetRelationalDatabaseConfig added in v1.15.80

func (s *DataSource) SetRelationalDatabaseConfig(v *RelationalDatabaseDataSourceConfig) *DataSource

SetRelationalDatabaseConfig sets the RelationalDatabaseConfig field's value.

func (*DataSource) SetServiceRoleArn

func (s *DataSource) SetServiceRoleArn(v string) *DataSource

SetServiceRoleArn sets the ServiceRoleArn field's value.

func (*DataSource) SetType

func (s *DataSource) SetType(v string) *DataSource

SetType sets the Type field's value.

func (DataSource) String

func (s DataSource) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteApiCacheInput added in v1.25.40

type DeleteApiCacheInput struct {

	// The API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a DeleteApiCache operation.

func (DeleteApiCacheInput) GoString added in v1.25.40

func (s DeleteApiCacheInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteApiCacheInput) SetApiId added in v1.25.40

SetApiId sets the ApiId field's value.

func (DeleteApiCacheInput) String added in v1.25.40

func (s DeleteApiCacheInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteApiCacheInput) Validate added in v1.25.40

func (s *DeleteApiCacheInput) Validate() error

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

type DeleteApiCacheOutput added in v1.25.40

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

Represents the output of a DeleteApiCache operation.

func (DeleteApiCacheOutput) GoString added in v1.25.40

func (s DeleteApiCacheOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteApiCacheOutput) String added in v1.25.40

func (s DeleteApiCacheOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteApiKeyInput

type DeleteApiKeyInput struct {

	// The API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// The ID for the API key.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteApiKeyInput) GoString

func (s DeleteApiKeyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteApiKeyInput) SetApiId

func (s *DeleteApiKeyInput) SetApiId(v string) *DeleteApiKeyInput

SetApiId sets the ApiId field's value.

func (*DeleteApiKeyInput) SetId

SetId sets the Id field's value.

func (DeleteApiKeyInput) String

func (s DeleteApiKeyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteApiKeyInput) Validate

func (s *DeleteApiKeyInput) Validate() error

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

type DeleteApiKeyOutput

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

func (DeleteApiKeyOutput) GoString

func (s DeleteApiKeyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteApiKeyOutput) String

func (s DeleteApiKeyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteDataSourceInput

type DeleteDataSourceInput struct {

	// The API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// The name of the data source.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteDataSourceInput) GoString

func (s DeleteDataSourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteDataSourceInput) SetApiId

SetApiId sets the ApiId field's value.

func (*DeleteDataSourceInput) SetName

SetName sets the Name field's value.

func (DeleteDataSourceInput) String

func (s DeleteDataSourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteDataSourceInput) Validate

func (s *DeleteDataSourceInput) Validate() error

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

type DeleteDataSourceOutput

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

func (DeleteDataSourceOutput) GoString

func (s DeleteDataSourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteDataSourceOutput) String

func (s DeleteDataSourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteFunctionInput added in v1.15.80

type DeleteFunctionInput struct {

	// The GraphQL API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// The Function ID.
	//
	// FunctionId is a required field
	FunctionId *string `location:"uri" locationName:"functionId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteFunctionInput) GoString added in v1.15.80

func (s DeleteFunctionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteFunctionInput) SetApiId added in v1.15.80

SetApiId sets the ApiId field's value.

func (*DeleteFunctionInput) SetFunctionId added in v1.15.80

func (s *DeleteFunctionInput) SetFunctionId(v string) *DeleteFunctionInput

SetFunctionId sets the FunctionId field's value.

func (DeleteFunctionInput) String added in v1.15.80

func (s DeleteFunctionInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteFunctionInput) Validate added in v1.15.80

func (s *DeleteFunctionInput) Validate() error

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

type DeleteFunctionOutput added in v1.15.80

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

func (DeleteFunctionOutput) GoString added in v1.15.80

func (s DeleteFunctionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteFunctionOutput) String added in v1.15.80

func (s DeleteFunctionOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteGraphqlApiInput

type DeleteGraphqlApiInput struct {

	// The API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteGraphqlApiInput) GoString

func (s DeleteGraphqlApiInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteGraphqlApiInput) SetApiId

SetApiId sets the ApiId field's value.

func (DeleteGraphqlApiInput) String

func (s DeleteGraphqlApiInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteGraphqlApiInput) Validate

func (s *DeleteGraphqlApiInput) Validate() error

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

type DeleteGraphqlApiOutput

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

func (DeleteGraphqlApiOutput) GoString

func (s DeleteGraphqlApiOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteGraphqlApiOutput) String

func (s DeleteGraphqlApiOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteResolverInput

type DeleteResolverInput struct {

	// The API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// The resolver field name.
	//
	// FieldName is a required field
	FieldName *string `location:"uri" locationName:"fieldName" min:"1" type:"string" required:"true"`

	// The name of the resolver type.
	//
	// TypeName is a required field
	TypeName *string `location:"uri" locationName:"typeName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteResolverInput) GoString

func (s DeleteResolverInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteResolverInput) SetApiId

SetApiId sets the ApiId field's value.

func (*DeleteResolverInput) SetFieldName

func (s *DeleteResolverInput) SetFieldName(v string) *DeleteResolverInput

SetFieldName sets the FieldName field's value.

func (*DeleteResolverInput) SetTypeName

func (s *DeleteResolverInput) SetTypeName(v string) *DeleteResolverInput

SetTypeName sets the TypeName field's value.

func (DeleteResolverInput) String