appsync

package
v1.13.28 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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

AWS 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 (
	// 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"
)
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"
)
View Source
const (
	// DefaultActionAllow is a DefaultAction enum value
	DefaultActionAllow = "ALLOW"

	// DefaultActionDeny is a DefaultAction enum value
	DefaultActionDeny = "DENY"
)
View Source
const (
	// OutputTypeSdl is a OutputType enum value
	OutputTypeSdl = "SDL"

	// OutputTypeJson is a OutputType enum value
	OutputTypeJson = "JSON"
)
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"
)
View Source
const (
	// TypeDefinitionFormatSdl is a TypeDefinitionFormat enum value
	TypeDefinitionFormatSdl = "SDL"

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

	// 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.
	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 try again.
	ErrCodeBadRequestException = "BadRequestException"

	// ErrCodeConcurrentModificationException for service response error code
	// "ConcurrentModificationException".
	//
	// Another modification is being made. That modification 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 AWS 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
	// 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"   // Service endpoint prefix API calls made to.
	EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiKey

type ApiKey struct {

	// 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.

func (ApiKey) GoString

func (s ApiKey) GoString() string

GoString returns the string representation

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

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:

// 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) 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 Codes:

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

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded a limit. Try your request again.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded a limit. Try your request again.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS AppSync error occurred. Try your request again.

  • ErrCodeApiKeyLimitExceededException "ApiKeyLimitExceededException" The API key exceeded a limit. Try your request again.

  • ErrCodeApiKeyValidityOutOfBoundsException "ApiKeyValidityOutOfBoundsException" The API key expiration must be set to a value between 1 and 365 days.

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 successfuly.

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 Codes:

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

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" Another modification is being made. That modification must complete before you can make your change.

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS 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 successfuly.

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) 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 Codes:

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

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded a limit. Try your request again.

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" Another modification is being made. That modification must complete before you can make your change.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS AppSync error occurred. Try your request again.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded a limit. Try your request again.

  • ErrCodeApiLimitExceededException "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 successfuly.

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 Codes:

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" Another modification is being made. That modification must complete before you can make your change.

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS 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 successfuly.

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 Codes:

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

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" Another modification is being made. That modification must complete before you can make your change.

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS 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 successfuly.

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) 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 Codes:

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

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS 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 successfuly.

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 Codes:

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

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" Another modification is being made. That modification must complete before you can make your change.

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS 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 successfuly.

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) 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 Codes:

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

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" Another modification is being made. That modification must complete before you can make your change.

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS AppSync error occurred. Try your request again.

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 successfuly.

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 Codes:

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" Another modification is being made. That modification must complete before you can make your change.

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS 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 successfuly.

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 Codes:

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

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" Another modification is being made. That modification must complete before you can make your change.

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS 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 successfuly.

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) 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 Codes:

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

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" Another modification is being made. That modification must complete before you can make your change.

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS 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 successfuly.

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) 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 Codes:

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

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS AppSync error occurred. Try your request again.

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 successfuly.

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 Codes:

  • ErrCodeGraphQLSchemaException "GraphQLSchemaException" The GraphQL schema is not valid.

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS 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 successfuly.

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 Codes:

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" Another modification is being made. That modification must complete before you can make your change.

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeUnauthorizedException "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 successfuly.

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 Codes:

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

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS 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 successfuly.

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 Codes:

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

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" Another modification is being made. That modification must complete before you can make your change.

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS 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 successfuly.

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.

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 Codes:

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

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS 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 successfuly.

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 Codes:

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

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS 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 successfuly.

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) 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 Codes:

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

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS 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 successfuly.

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 Codes:

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

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS AppSync error occurred. Try your request again.

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

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 successfuly.

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) 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 Codes:

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

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" Another modification is being made. That modification must complete before you can make your change.

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS 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 successfuly.

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 Codes:

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

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" Another modification is being made. That modification must complete before you can make your change.

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS 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 successfuly.

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) UpdateApiKey added in v1.12.79

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

UpdateApiKey API operation for AWS AppSync.

Updates 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 UpdateApiKey for usage and error information.

Returned Error Codes:

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

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeLimitExceededException "LimitExceededException" The request exceeded a limit. Try your request again.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS AppSync error occurred. Try your request again.

  • ErrCodeApiKeyValidityOutOfBoundsException "ApiKeyValidityOutOfBoundsException" The API key expiration must be set to a value between 1 and 365 days.

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

func (*AppSync) UpdateApiKeyRequest added in v1.12.79

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 successfuly.

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.79

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 Codes:

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

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" Another modification is being made. That modification must complete before you can make your change.

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS 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 successfuly.

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) 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 Codes:

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

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" Another modification is being made. That modification must complete before you can make your change.

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS AppSync error occurred. Try your request again.

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 successfuly.

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 Codes:

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" Another modification is being made. That modification must complete before you can make your change.

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS 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 successfuly.

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 Codes:

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

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" Another modification is being made. That modification must complete before you can make your change.

  • ErrCodeNotFoundException "NotFoundException" The resource specified in the request was not found. Check the resource and try again.

  • ErrCodeUnauthorizedException "UnauthorizedException" You are not authorized to perform this operation.

  • ErrCodeInternalFailureException "InternalFailureException" An internal AWS 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 successfuly.

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 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 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.
	Expires *int64 `locationName:"expires" type:"long"`
	// contains filtered or unexported fields
}

func (CreateApiKeyInput) GoString

func (s CreateApiKeyInput) GoString() string

GoString returns the string representation

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.79

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

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

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

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"`

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

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

	// AWS Lambda settings.
	LambdaConfig *LambdaDataSourceConfig `locationName:"lambdaConfig" type:"structure"`

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

	// The IAM 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

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) SetLambdaConfig

SetLambdaConfig sets the LambdaConfig field's value.

func (*CreateDataSourceInput) SetName

SetName sets the Name 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

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

func (*CreateDataSourceOutput) SetDataSource

SetDataSource sets the DataSource field's value.

func (CreateDataSourceOutput) String

func (s CreateDataSourceOutput) String() string

String returns the string representation

type CreateGraphqlApiInput

type CreateGraphqlApiInput struct {

	// The authentication type: API key, IAM, or Amazon Cognito User Pools.
	//
	// AuthenticationType is a required field
	AuthenticationType *string `locationName:"authenticationType" type:"string" required:"true" enum:"AuthenticationType"`

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

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

func (CreateGraphqlApiInput) GoString

func (s CreateGraphqlApiInput) GoString() string

GoString returns the string representation

func (*CreateGraphqlApiInput) SetAuthenticationType

func (s *CreateGraphqlApiInput) SetAuthenticationType(v string) *CreateGraphqlApiInput

SetAuthenticationType sets the AuthenticationType field's value.

func (*CreateGraphqlApiInput) SetName

SetName sets the Name field's value.

func (*CreateGraphqlApiInput) SetUserPoolConfig

SetUserPoolConfig sets the UserPoolConfig field's value.

func (CreateGraphqlApiInput) String

func (s CreateGraphqlApiInput) String() string

String returns the string representation

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

func (*CreateGraphqlApiOutput) SetGraphqlApi

SetGraphqlApi sets the GraphqlApi field's value.

func (CreateGraphqlApiOutput) String

func (s CreateGraphqlApiOutput) String() string

String returns the string representation

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 name of the data source for which the resolver is being created.
	//
	// DataSourceName is a required field
	DataSourceName *string `locationName:"dataSourceName" type:"string" required:"true"`

	// The name of the field to attach the resolver to.
	//
	// FieldName is a required field
	FieldName *string `locationName:"fieldName" type:"string" required:"true"`

	// 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).
	//
	// RequestMappingTemplate is a required field
	RequestMappingTemplate *string `locationName:"requestMappingTemplate" type:"string" required:"true"`

	// The mapping template to be used for responses from the data source.
	ResponseMappingTemplate *string `locationName:"responseMappingTemplate" type:"string"`

	// The name of the Type.
	//
	// TypeName is a required field
	TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateResolverInput) GoString

func (s CreateResolverInput) GoString() string

GoString returns the string representation

func (*CreateResolverInput) SetApiId

SetApiId sets the ApiId 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) 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) 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

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

func (*CreateResolverOutput) SetResolver

SetResolver sets the Resolver field's value.

func (CreateResolverOutput) String

func (s CreateResolverOutput) String() string

String returns the string representation

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

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

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

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

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"`

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

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

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

	// The name of the data source.
	Name *string `locationName:"name" type:"string"`

	// The IAM 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 AWS Lambda function.
	//
	//    * NONE: There is no data source. This type is used when the required information
	//    can be computed on the fly without connecting to a back-end data source.
	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

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

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

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

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

func (DeleteApiKeyOutput) String

func (s DeleteApiKeyOutput) String() string

String returns the string representation

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" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteDataSourceInput) GoString

func (s DeleteDataSourceInput) GoString() string

GoString returns the string representation

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

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

func (DeleteDataSourceOutput) String

func (s DeleteDataSourceOutput) String() string

String returns the string representation

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

func (*DeleteGraphqlApiInput) SetApiId

SetApiId sets the ApiId field's value.

func (DeleteGraphqlApiInput) String

func (s DeleteGraphqlApiInput) String() string

String returns the string representation

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

func (DeleteGraphqlApiOutput) String

func (s DeleteGraphqlApiOutput) String() string

String returns the string representation

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" type:"string" required:"true"`

	// The name of the resolver type.
	//
	// TypeName is a required field
	TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteResolverInput) GoString

func (s DeleteResolverInput) GoString() string

GoString returns the string representation

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

func (s DeleteResolverInput) String() string

String returns the string representation

func (*DeleteResolverInput) Validate

func (s *DeleteResolverInput) Validate() error

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

type DeleteResolverOutput

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

func (DeleteResolverOutput) GoString

func (s DeleteResolverOutput) GoString() string

GoString returns the string representation

func (DeleteResolverOutput) String

func (s DeleteResolverOutput) String() string

String returns the string representation

type DeleteTypeInput

type DeleteTypeInput struct {

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

	// The type name.
	//
	// TypeName is a required field
	TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteTypeInput) GoString

func (s DeleteTypeInput) GoString() string

GoString returns the string representation

func (*DeleteTypeInput) SetApiId

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

SetApiId sets the ApiId field's value.

func (*DeleteTypeInput) SetTypeName

func (s *DeleteTypeInput) SetTypeName(v string) *DeleteTypeInput

SetTypeName sets the TypeName field's value.

func (DeleteTypeInput) String

func (s DeleteTypeInput) String() string

String returns the string representation

func (*DeleteTypeInput) Validate

func (s *DeleteTypeInput) Validate() error

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

type DeleteTypeOutput

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

func (DeleteTypeOutput) GoString

func (s DeleteTypeOutput) GoString() string

GoString returns the string representation

func (DeleteTypeOutput) String

func (s DeleteTypeOutput) String() string

String returns the string representation

type DynamodbDataSourceConfig

type DynamodbDataSourceConfig struct {

	// The AWS region.
	//
	// AwsRegion is a required field
	AwsRegion *string `locationName:"awsRegion" type:"string" required:"true"`

	// The table name.
	//
	// TableName is a required field
	TableName *string `locationName:"tableName" type:"string" required:"true"`

	// Set to TRUE to use Amazon Cognito credentials with this data source.
	UseCallerCredentials *bool `locationName:"useCallerCredentials" type:"boolean"`
	// contains filtered or unexported fields
}

Describes a DynamoDB data source configuration.

func (DynamodbDataSourceConfig) GoString

func (s DynamodbDataSourceConfig) GoString() string

GoString returns the string representation

func (*DynamodbDataSourceConfig) SetAwsRegion

SetAwsRegion sets the AwsRegion field's value.

func (*DynamodbDataSourceConfig) SetTableName

SetTableName sets the TableName field's value.

func (*DynamodbDataSourceConfig) SetUseCallerCredentials

func (s *DynamodbDataSourceConfig) SetUseCallerCredentials(v bool) *DynamodbDataSourceConfig

SetUseCallerCredentials sets the UseCallerCredentials field's value.

func (DynamodbDataSourceConfig) String

func (s DynamodbDataSourceConfig) String() string

String returns the string representation

func (*DynamodbDataSourceConfig) Validate

func (s *DynamodbDataSourceConfig) Validate() error

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

type ElasticsearchDataSourceConfig

type ElasticsearchDataSourceConfig struct {

	// The AWS region.
	//
	// AwsRegion is a required field
	AwsRegion *string `locationName:"awsRegion" type:"string" required:"true"`

	// The endpoint.
	//
	// Endpoint is a required field
	Endpoint *string `locationName:"endpoint" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes an Elasticsearch data source configuration.

func (ElasticsearchDataSourceConfig) GoString

GoString returns the string representation

func (*ElasticsearchDataSourceConfig) SetAwsRegion

SetAwsRegion sets the AwsRegion field's value.

func (*ElasticsearchDataSourceConfig) SetEndpoint

SetEndpoint sets the Endpoint field's value.

func (ElasticsearchDataSourceConfig) String

String returns the string representation

func (*ElasticsearchDataSourceConfig) Validate

func (s *ElasticsearchDataSourceConfig) Validate() error

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

type GetDataSourceInput

type GetDataSourceInput 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" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetDataSourceInput) GoString

func (s GetDataSourceInput) GoString() string

GoString returns the string representation

func (*GetDataSourceInput) SetApiId

SetApiId sets the ApiId field's value.

func (*GetDataSourceInput) SetName

SetName sets the Name field's value.

func (GetDataSourceInput) String

func (s GetDataSourceInput) String() string

String returns the string representation

func (*GetDataSourceInput) Validate

func (s *GetDataSourceInput) Validate() error

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

type GetDataSourceOutput

type GetDataSourceOutput struct {

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

func (GetDataSourceOutput) GoString

func (s GetDataSourceOutput) GoString() string

GoString returns the string representation

func (*GetDataSourceOutput) SetDataSource

func (s *GetDataSourceOutput) SetDataSource(v *DataSource) *GetDataSourceOutput

SetDataSource sets the DataSource field's value.

func (GetDataSourceOutput) String

func (s GetDataSourceOutput) String() string

String returns the string representation

type GetGraphqlApiInput

type GetGraphqlApiInput struct {

	// The API ID for the GraphQL API.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetGraphqlApiInput) GoString

func (s GetGraphqlApiInput) GoString() string

GoString returns the string representation

func (*GetGraphqlApiInput) SetApiId

SetApiId sets the ApiId field's value.

func (GetGraphqlApiInput) String

func (s GetGraphqlApiInput) String() string

String returns the string representation

func (*GetGraphqlApiInput) Validate

func (s *GetGraphqlApiInput) Validate() error

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

type GetGraphqlApiOutput

type GetGraphqlApiOutput struct {

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

func (GetGraphqlApiOutput) GoString

func (s GetGraphqlApiOutput) GoString() string

GoString returns the string representation

func (*GetGraphqlApiOutput) SetGraphqlApi

func (s *GetGraphqlApiOutput) SetGraphqlApi(v *GraphqlApi) *GetGraphqlApiOutput

SetGraphqlApi sets the GraphqlApi field's value.

func (GetGraphqlApiOutput) String

func (s GetGraphqlApiOutput) String() string

String returns the string representation

type GetIntrospectionSchemaInput

type GetIntrospectionSchemaInput struct {

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

	// The schema format: SDL or JSON.
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"OutputType"`
	// contains filtered or unexported fields
}

func (GetIntrospectionSchemaInput) GoString

func (s GetIntrospectionSchemaInput) GoString() string

GoString returns the string representation

func (*GetIntrospectionSchemaInput) SetApiId

SetApiId sets the ApiId field's value.

func (*GetIntrospectionSchemaInput) SetFormat

SetFormat sets the Format field's value.

func (GetIntrospectionSchemaInput) String

String returns the string representation

func (*GetIntrospectionSchemaInput) Validate

func (s *GetIntrospectionSchemaInput) Validate() error

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

type GetIntrospectionSchemaOutput

type GetIntrospectionSchemaOutput struct {

	// The schema, in GraphQL Schema Definition Language (SDL) format.
	//
	// For more information, see the GraphQL SDL documentation (http://graphql.org/learn/schema/).
	Schema []byte `locationName:"schema" type:"blob"`
	// contains filtered or unexported fields
}

func (GetIntrospectionSchemaOutput) GoString

func (s GetIntrospectionSchemaOutput) GoString() string

GoString returns the string representation

func (*GetIntrospectionSchemaOutput) SetSchema

SetSchema sets the Schema field's value.

func (GetIntrospectionSchemaOutput) String

String returns the string representation

type GetResolverInput

type GetResolverInput 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" type:"string" required:"true"`

	// The resolver type name.
	//
	// TypeName is a required field
	TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetResolverInput) GoString

func (s GetResolverInput) GoString() string

GoString returns the string representation

func (*GetResolverInput) SetApiId

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

SetApiId sets the ApiId field's value.

func (*GetResolverInput) SetFieldName

func (s *GetResolverInput) SetFieldName(v string) *GetResolverInput

SetFieldName sets the FieldName field's value.

func (*GetResolverInput) SetTypeName

func (s *GetResolverInput) SetTypeName(v string) *GetResolverInput

SetTypeName sets the TypeName field's value.

func (GetResolverInput) String

func (s GetResolverInput) String() string

String returns the string representation

func (*GetResolverInput) Validate

func (s *GetResolverInput) Validate() error

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

type GetResolverOutput

type GetResolverOutput struct {

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

func (GetResolverOutput) GoString

func (s GetResolverOutput) GoString() string

GoString returns the string representation

func (*GetResolverOutput) SetResolver

func (s *GetResolverOutput) SetResolver(v *Resolver) *GetResolverOutput

SetResolver sets the Resolver field's value.

func (GetResolverOutput) String

func (s GetResolverOutput) String() string

String returns the string representation

type GetSchemaCreationStatusInput

type GetSchemaCreationStatusInput 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 (GetSchemaCreationStatusInput) GoString

func (s GetSchemaCreationStatusInput) GoString() string

GoString returns the string representation

func (*GetSchemaCreationStatusInput) SetApiId

SetApiId sets the ApiId field's value.

func (GetSchemaCreationStatusInput) String

String returns the string representation

func (*GetSchemaCreationStatusInput) Validate

func (s *GetSchemaCreationStatusInput) Validate() error

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

type GetSchemaCreationStatusOutput

type GetSchemaCreationStatusOutput struct {

	// Detailed information about the status of the schema creation operation.
	Details *string `locationName:"details" type:"string"`

	// The current state of the schema (PROCESSING, ACTIVE, or DELETING). Once the
	// schema is in the ACTIVE state, you can add data.
	Status *string `locationName:"status" type:"string" enum:"SchemaStatus"`
	// contains filtered or unexported fields
}

func (GetSchemaCreationStatusOutput) GoString

GoString returns the string representation

func (*GetSchemaCreationStatusOutput) SetDetails

SetDetails sets the Details field's value.

func (*GetSchemaCreationStatusOutput) SetStatus

SetStatus sets the Status field's value.

func (GetSchemaCreationStatusOutput) String

String returns the string representation

type GetTypeInput

type GetTypeInput struct {

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

	// The type format: SDL or JSON.
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"TypeDefinitionFormat"`

	// The type name.
	//
	// TypeName is a required field
	TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetTypeInput) GoString

func (s GetTypeInput) GoString() string

GoString returns the string representation

func (*GetTypeInput) SetApiId

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

SetApiId sets the ApiId field's value.

func (*GetTypeInput) SetFormat

func (s *GetTypeInput) SetFormat(v string) *GetTypeInput

SetFormat sets the Format field's value.

func (*GetTypeInput) SetTypeName

func (s *GetTypeInput) SetTypeName(v string) *GetTypeInput

SetTypeName sets the TypeName field's value.

func (GetTypeInput) String

func (s GetTypeInput) String() string

String returns the string representation

func (*GetTypeInput) Validate

func (s *GetTypeInput) Validate() error

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

type GetTypeOutput

type GetTypeOutput struct {

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

func (GetTypeOutput) GoString

func (s GetTypeOutput) GoString() string

GoString returns the string representation

func (*GetTypeOutput) SetType

func (s *GetTypeOutput) SetType(v *Type) *GetTypeOutput

SetType sets the Type field's value.

func (GetTypeOutput) String

func (s GetTypeOutput) String() string

String returns the string representation

type GraphqlApi

type GraphqlApi struct {

	// The API ID.
	ApiId *string `locationName:"apiId" type:"string"`

	// The ARN.
	Arn *string `locationName:"arn" type:"string"`

	// The authentication type.
	AuthenticationType *string `locationName:"authenticationType" type:"string" enum:"AuthenticationType"`

	// The API name.
	Name *string `locationName:"name" type:"string"`

	// The URIs.
	Uris map[string]*string `locationName:"uris" type:"map"`

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

Describes a GraphQL API.

func (GraphqlApi) GoString

func (s GraphqlApi) GoString() string

GoString returns the string representation

func (*GraphqlApi) SetApiId

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

SetApiId sets the ApiId field's value.

func (*GraphqlApi) SetArn

func (s *GraphqlApi) SetArn(v string) *GraphqlApi

SetArn sets the Arn field's value.

func (*GraphqlApi) SetAuthenticationType

func (s *GraphqlApi) SetAuthenticationType(v string) *GraphqlApi

SetAuthenticationType sets the AuthenticationType field's value.

func (*GraphqlApi) SetName

func (s *GraphqlApi) SetName(v string) *GraphqlApi

SetName sets the Name field's value.

func (*GraphqlApi) SetUris

func (s *GraphqlApi) SetUris(v map[string]*string) *GraphqlApi

SetUris sets the Uris field's value.

func (*GraphqlApi) SetUserPoolConfig

func (s *GraphqlApi) SetUserPoolConfig(v *UserPoolConfig) *GraphqlApi

SetUserPoolConfig sets the UserPoolConfig field's value.

func (GraphqlApi) String

func (s GraphqlApi) String() string

String returns the string representation

type LambdaDataSourceConfig

type LambdaDataSourceConfig struct {

	// The ARN for the Lambda function.
	//
	// LambdaFunctionArn is a required field
	LambdaFunctionArn *string `locationName:"lambdaFunctionArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes a Lambda data source configuration.

func (LambdaDataSourceConfig) GoString

func (s LambdaDataSourceConfig) GoString() string

GoString returns the string representation

func (*LambdaDataSourceConfig) SetLambdaFunctionArn

func (s *LambdaDataSourceConfig) SetLambdaFunctionArn(v string) *LambdaDataSourceConfig

SetLambdaFunctionArn sets the LambdaFunctionArn field's value.

func (LambdaDataSourceConfig) String

func (s LambdaDataSourceConfig) String() string

String returns the string representation

func (*LambdaDataSourceConfig) Validate

func (s *LambdaDataSourceConfig) Validate() error

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

type ListApiKeysInput

type ListApiKeysInput struct {

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

	// The maximum number of results you want the request to return.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"`

	// An identifier that was returned from the previous call to this operation,
	// which can be used to return the next set of items in the list.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListApiKeysInput) GoString

func (s ListApiKeysInput) GoString() string

GoString returns the string representation

func (*ListApiKeysInput) SetApiId

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

SetApiId sets the ApiId field's value.

func (*ListApiKeysInput) SetMaxResults

func (s *ListApiKeysInput) SetMaxResults(v int64) *ListApiKeysInput

SetMaxResults sets the MaxResults field's value.

func (*ListApiKeysInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListApiKeysInput) String

func (s ListApiKeysInput) String() string

String returns the string representation

func (*ListApiKeysInput) Validate

func (s *ListApiKeysInput) Validate() error

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

type ListApiKeysOutput

type ListApiKeysOutput struct {

	// The ApiKey objects.
	ApiKeys []*ApiKey `locationName:"apiKeys" type:"list"`

	// An identifier to be passed in the next request to this operation to return
	// the next set of items in the list.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListApiKeysOutput) GoString

func (s ListApiKeysOutput) GoString() string

GoString returns the string representation

func (*ListApiKeysOutput) SetApiKeys

func (s *ListApiKeysOutput) SetApiKeys(v []*ApiKey) *ListApiKeysOutput

SetApiKeys sets the ApiKeys field's value.

func (*ListApiKeysOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListApiKeysOutput) String

func (s ListApiKeysOutput) String() string

String returns the string representation

type ListDataSourcesInput

type ListDataSourcesInput struct {

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

	// The maximum number of results you want the request to return.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"`

	// An identifier that was returned from the previous call to this operation,
	// which can be used to return the next set of items in the list.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListDataSourcesInput) GoString

func (s ListDataSourcesInput) GoString() string

GoString returns the string representation

func (*ListDataSourcesInput) SetApiId

SetApiId sets the ApiId field's value.

func (*ListDataSourcesInput) SetMaxResults

func (s *ListDataSourcesInput) SetMaxResults(v int64) *ListDataSourcesInput

SetMaxResults sets the MaxResults field's value.

func (*ListDataSourcesInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListDataSourcesInput) String

func (s ListDataSourcesInput) String() string

String returns the string representation

func (*ListDataSourcesInput) Validate

func (s *ListDataSourcesInput) Validate() error

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

type ListDataSourcesOutput

type ListDataSourcesOutput struct {

	// The DataSource objects.
	DataSources []*DataSource `locationName:"dataSources" type:"list"`

	// An identifier to be passed in the next request to this operation to return
	// the next set of items in the list.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListDataSourcesOutput) GoString

func (s ListDataSourcesOutput) GoString() string

GoString returns the string representation

func (*ListDataSourcesOutput) SetDataSources

func (s *ListDataSourcesOutput) SetDataSources(v []*DataSource) *ListDataSourcesOutput

SetDataSources sets the DataSources field's value.

func (*ListDataSourcesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListDataSourcesOutput) String

func (s ListDataSourcesOutput) String() string

String returns the string representation

type ListGraphqlApisInput

type ListGraphqlApisInput struct {

	// The maximum number of results you want the request to return.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"`

	// An identifier that was returned from the previous call to this operation,
	// which can be used to return the next set of items in the list.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListGraphqlApisInput) GoString

func (s ListGraphqlApisInput) GoString() string

GoString returns the string representation

func (*ListGraphqlApisInput) SetMaxResults

func (s *ListGraphqlApisInput) SetMaxResults(v int64) *ListGraphqlApisInput

SetMaxResults sets the MaxResults field's value.

func (*ListGraphqlApisInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListGraphqlApisInput) String

func (s ListGraphqlApisInput) String() string

String returns the string representation

type ListGraphqlApisOutput

type ListGraphqlApisOutput struct {

	// The GraphqlApi objects.
	GraphqlApis []*GraphqlApi `locationName:"graphqlApis" type:"list"`

	// An identifier to be passed in the next request to this operation to return
	// the next set of items in the list.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListGraphqlApisOutput) GoString

func (s ListGraphqlApisOutput) GoString() string

GoString returns the string representation

func (*ListGraphqlApisOutput) SetGraphqlApis

func (s *ListGraphqlApisOutput) SetGraphqlApis(v []*GraphqlApi) *ListGraphqlApisOutput

SetGraphqlApis sets the GraphqlApis field's value.

func (*ListGraphqlApisOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListGraphqlApisOutput) String

func (s ListGraphqlApisOutput) String() string

String returns the string representation

type ListResolversInput

type ListResolversInput struct {

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

	// The maximum number of results you want the request to return.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"`

	// An identifier that was returned from the previous call to this operation,
	// which can be used to return the next set of items in the list.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The type name.
	//
	// TypeName is a required field
	TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListResolversInput) GoString

func (s ListResolversInput) GoString() string

GoString returns the string representation

func (*ListResolversInput) SetApiId

SetApiId sets the ApiId field's value.

func (*ListResolversInput) SetMaxResults

func (s *ListResolversInput) SetMaxResults(v int64) *ListResolversInput

SetMaxResults sets the MaxResults field's value.

func (*ListResolversInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListResolversInput) SetTypeName

func (s *ListResolversInput) SetTypeName(v string) *ListResolversInput

SetTypeName sets the TypeName field's value.

func (ListResolversInput) String

func (s ListResolversInput) String() string

String returns the string representation

func (*ListResolversInput) Validate

func (s *ListResolversInput) Validate() error

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

type ListResolversOutput

type ListResolversOutput struct {

	// An identifier to be passed in the next request to this operation to return
	// the next set of items in the list.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The Resolver objects.
	Resolvers []*Resolver `locationName:"resolvers" type:"list"`
	// contains filtered or unexported fields
}

func (ListResolversOutput) GoString

func (s ListResolversOutput) GoString() string

GoString returns the string representation

func (*ListResolversOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListResolversOutput) SetResolvers

func (s *ListResolversOutput) SetResolvers(v []*Resolver) *ListResolversOutput

SetResolvers sets the Resolvers field's value.

func (ListResolversOutput) String

func (s ListResolversOutput) String() string

String returns the string representation

type ListTypesInput

type ListTypesInput struct {

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

	// The type format: SDL or JSON.
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"TypeDefinitionFormat"`

	// The maximum number of results you want the request to return.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"`

	// An identifier that was returned from the previous call to this operation,
	// which can be used to return the next set of items in the list.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListTypesInput) GoString

func (s ListTypesInput) GoString() string

GoString returns the string representation

func (*ListTypesInput) SetApiId

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

SetApiId sets the ApiId field's value.

func (*ListTypesInput) SetFormat

func (s *ListTypesInput) SetFormat(v string) *ListTypesInput

SetFormat sets the Format field's value.

func (*ListTypesInput) SetMaxResults

func (s *ListTypesInput) SetMaxResults(v int64) *ListTypesInput

SetMaxResults sets the MaxResults field's value.

func (*ListTypesInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListTypesInput) String

func (s ListTypesInput) String() string

String returns the string representation

func (*ListTypesInput) Validate

func (s *ListTypesInput) Validate() error

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

type ListTypesOutput

type ListTypesOutput struct {

	// An identifier to be passed in the next request to this operation to return
	// the next set of items in the list.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The Type objects.
	Types []*Type `locationName:"types" type:"list"`
	// contains filtered or unexported fields
}

func (ListTypesOutput) GoString

func (s ListTypesOutput) GoString() string

GoString returns the string representation

func (*ListTypesOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListTypesOutput) SetTypes

func (s *ListTypesOutput) SetTypes(v []*Type) *ListTypesOutput

SetTypes sets the Types field's value.

func (ListTypesOutput) String

func (s ListTypesOutput) String() string

String returns the string representation

type Resolver

type Resolver struct {

	// The resolver data source name.
	DataSourceName *string `locationName:"dataSourceName" type:"string"`

	// The resolver field name.
	FieldName *string `locationName:"fieldName" type:"string"`

	// The request mapping template.
	RequestMappingTemplate *string `locationName:"requestMappingTemplate" type:"string"`

	// The resolver ARN.
	ResolverArn *string `locationName:"resolverArn" type:"string"`

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

	// The resolver type name.
	TypeName *string `locationName:"typeName" type:"string"`
	// contains filtered or unexported fields
}

Describes a resolver.

func (Resolver) GoString

func (s Resolver) GoString() string

GoString returns the string representation

func (*Resolver) SetDataSourceName

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

SetDataSourceName sets the DataSourceName field's value.

func (*Resolver) SetFieldName

func (s *Resolver) SetFieldName(v string) *Resolver

SetFieldName sets the FieldName field's value.

func (*Resolver) SetRequestMappingTemplate

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

SetRequestMappingTemplate sets the RequestMappingTemplate field's value.

func (*Resolver) SetResolverArn

func (s *Resolver) SetResolverArn(v string) *Resolver

SetResolverArn sets the ResolverArn field's value.

func (*Resolver) SetResponseMappingTemplate

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

SetResponseMappingTemplate sets the ResponseMappingTemplate field's value.

func (*Resolver) SetTypeName

func (s *Resolver) SetTypeName(v string) *Resolver

SetTypeName sets the TypeName field's value.

func (Resolver) String

func (s Resolver) String() string

String returns the string representation

type StartSchemaCreationInput

type StartSchemaCreationInput struct {

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

	// The schema definition, in GraphQL schema language format.
	//
	// Definition is automatically base64 encoded/decoded by the SDK.
	//
	// Definition is a required field
	Definition []byte `locationName:"definition" type:"blob" required:"true"`
	// contains filtered or unexported fields
}

func (StartSchemaCreationInput) GoString

func (s StartSchemaCreationInput) GoString() string

GoString returns the string representation

func (*StartSchemaCreationInput) SetApiId

SetApiId sets the ApiId field's value.

func (*StartSchemaCreationInput) SetDefinition

SetDefinition sets the Definition field's value.

func (StartSchemaCreationInput) String

func (s StartSchemaCreationInput) String() string

String returns the string representation

func (*StartSchemaCreationInput) Validate

func (s *StartSchemaCreationInput) Validate() error

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

type StartSchemaCreationOutput

type StartSchemaCreationOutput struct {

	// The current state of the schema (PROCESSING, ACTIVE, or DELETING). Once the
	// schema is in the ACTIVE state, you can add data.
	Status *string `locationName:"status" type:"string" enum:"SchemaStatus"`
	// contains filtered or unexported fields
}

func (StartSchemaCreationOutput) GoString

func (s StartSchemaCreationOutput) GoString() string

GoString returns the string representation

func (*StartSchemaCreationOutput) SetStatus

SetStatus sets the Status field's value.

func (StartSchemaCreationOutput) String

func (s StartSchemaCreationOutput) String() string

String returns the string representation

type Type

type Type struct {

	// The type ARN.
	Arn *string `locationName:"arn" type:"string"`

	// The type definition.
	Definition *string `locationName:"definition" type:"string"`

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

	// The type format: SDL or JSON.
	Format *string `locationName:"format" type:"string" enum:"TypeDefinitionFormat"`

	// The type name.
	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

Describes a type.

func (Type) GoString

func (s Type) GoString() string

GoString returns the string representation

func (*Type) SetArn

func (s *Type) SetArn(v string) *Type

SetArn sets the Arn field's value.

func (*Type) SetDefinition

func (s *Type) SetDefinition(v string) *Type

SetDefinition sets the Definition field's value.

func (*Type) SetDescription

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

SetDescription sets the Description field's value.

func (*Type) SetFormat

func (s *Type) SetFormat(v string) *Type

SetFormat sets the Format field's value.

func (*Type) SetName

func (s *Type) SetName(v string) *Type

SetName sets the Name field's value.

func (Type) String

func (s Type) String() string

String returns the string representation

type UpdateApiKeyInput added in v1.12.79

type UpdateApiKeyInput struct {

	// The ID for the 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 after which the API key expires. The date is represented as seconds
	// since the epoch.
	Expires *int64 `locationName:"expires" type:"long"`

	// The API key ID.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateApiKeyInput) GoString added in v1.12.79

func (s UpdateApiKeyInput) GoString() string

GoString returns the string representation

func (*UpdateApiKeyInput) SetApiId added in v1.12.79

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

SetApiId sets the ApiId field's value.

func (*UpdateApiKeyInput) SetDescription added in v1.12.79

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

SetDescription sets the Description field's value.

func (*UpdateApiKeyInput) SetExpires added in v1.12.79

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

SetExpires sets the Expires field's value.

func (*UpdateApiKeyInput) SetId added in v1.12.79

SetId sets the Id field's value.

func (UpdateApiKeyInput) String added in v1.12.79

func (s UpdateApiKeyInput) String() string

String returns the string representation

func (*UpdateApiKeyInput) Validate added in v1.12.79

func (s *UpdateApiKeyInput) Validate() error

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

type UpdateApiKeyOutput added in v1.12.79

type UpdateApiKeyOutput struct {

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

func (UpdateApiKeyOutput) GoString added in v1.12.79

func (s UpdateApiKeyOutput) GoString() string

GoString returns the string representation

func (*UpdateApiKeyOutput) SetApiKey added in v1.12.79

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

SetApiKey sets the ApiKey field's value.

func (UpdateApiKeyOutput) String added in v1.12.79

func (s UpdateApiKeyOutput) String() string

String returns the string representation

type UpdateDataSourceInput

type UpdateDataSourceInput struct {

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

	// The new description for the data source.
	Description *string `locationName:"description" type:"string"`

	// The new DynamoDB configuration.
	DynamodbConfig *DynamodbDataSourceConfig `locationName:"dynamodbConfig" type:"structure"`

	// The new Elasticsearch configuration.
	ElasticsearchConfig *ElasticsearchDataSourceConfig `locationName:"elasticsearchConfig" type:"structure"`

	// The new Lambda configuration.
	LambdaConfig *LambdaDataSourceConfig `locationName:"lambdaConfig" type:"structure"`

	// The new name for the data source.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" type:"string" required:"true"`

	// The new service role ARN for the data source.
	ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"`

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

func (UpdateDataSourceInput) GoString

func (s UpdateDataSourceInput) GoString() string

GoString returns the string representation

func (*UpdateDataSourceInput) SetApiId

SetApiId sets the ApiId field's value.

func (*UpdateDataSourceInput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateDataSourceInput) SetDynamodbConfig

SetDynamodbConfig sets the DynamodbConfig field's value.

func (*UpdateDataSourceInput) SetElasticsearchConfig

SetElasticsearchConfig sets the ElasticsearchConfig field's value.

func (*UpdateDataSourceInput) SetLambdaConfig

SetLambdaConfig sets the LambdaConfig field's value.

func (*UpdateDataSourceInput) SetName

SetName sets the Name field's value.

func (*UpdateDataSourceInput) SetServiceRoleArn

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

SetServiceRoleArn sets the ServiceRoleArn field's value.

func (*UpdateDataSourceInput) SetType

SetType sets the Type field's value.

func (UpdateDataSourceInput) String

func (s UpdateDataSourceInput) String() string

String returns the string representation

func (*UpdateDataSourceInput) Validate

func (s *UpdateDataSourceInput) Validate() error

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

type UpdateDataSourceOutput

type UpdateDataSourceOutput struct {

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

func (UpdateDataSourceOutput) GoString

func (s UpdateDataSourceOutput) GoString() string

GoString returns the string representation

func (*UpdateDataSourceOutput) SetDataSource

SetDataSource sets the DataSource field's value.

func (UpdateDataSourceOutput) String

func (s UpdateDataSourceOutput) String() string

String returns the string representation

type UpdateGraphqlApiInput

type UpdateGraphqlApiInput struct {

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

	// The new authentication type for the GraphqlApi object.
	AuthenticationType *string `locationName:"authenticationType" type:"string" enum:"AuthenticationType"`

	// The new name for the GraphqlApi object.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// The new Amazon Cognito User Pool configuration for the GraphqlApi object.
	UserPoolConfig *UserPoolConfig `locationName:"userPoolConfig" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateGraphqlApiInput) GoString

func (s UpdateGraphqlApiInput) GoString() string

GoString returns the string representation

func (*UpdateGraphqlApiInput) SetApiId

SetApiId sets the ApiId field's value.

func (*UpdateGraphqlApiInput) SetAuthenticationType

func (s *UpdateGraphqlApiInput) SetAuthenticationType(v string) *UpdateGraphqlApiInput

SetAuthenticationType sets the AuthenticationType field's value.

func (*UpdateGraphqlApiInput) SetName

SetName sets the Name field's value.

func (*UpdateGraphqlApiInput) SetUserPoolConfig

SetUserPoolConfig sets the UserPoolConfig field's value.

func (UpdateGraphqlApiInput) String

func (s UpdateGraphqlApiInput) String() string

String returns the string representation

func (*UpdateGraphqlApiInput) Validate

func (s *UpdateGraphqlApiInput) Validate() error

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

type UpdateGraphqlApiOutput

type UpdateGraphqlApiOutput struct {

	// The updated GraphqlApi object.
	GraphqlApi *GraphqlApi `locationName:"graphqlApi" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateGraphqlApiOutput) GoString

func (s UpdateGraphqlApiOutput) GoString() string

GoString returns the string representation

func (*UpdateGraphqlApiOutput) SetGraphqlApi

SetGraphqlApi sets the GraphqlApi field's value.

func (UpdateGraphqlApiOutput) String

func (s UpdateGraphqlApiOutput) String() string

String returns the string representation

type UpdateResolverInput

type UpdateResolverInput struct {

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

	// The new data source name.
	//
	// DataSourceName is a required field
	DataSourceName *string `locationName:"dataSourceName" type:"string" required:"true"`

	// The new field name.
	//
	// FieldName is a required field
	FieldName *string `location:"uri" locationName:"fieldName" type:"string" required:"true"`

	// The new request mapping template.
	//
	// RequestMappingTemplate is a required field
	RequestMappingTemplate *string `locationName:"requestMappingTemplate" type:"string" required:"true"`

	// The new response mapping template.
	ResponseMappingTemplate *string `locationName:"responseMappingTemplate" type:"string"`

	// The new type name.
	//
	// TypeName is a required field
	TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateResolverInput) GoString

func (s UpdateResolverInput) GoString() string

GoString returns the string representation

func (*UpdateResolverInput) SetApiId

SetApiId sets the ApiId field's value.

func (*UpdateResolverInput) SetDataSourceName

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

SetDataSourceName sets the DataSourceName field's value.

func (*UpdateResolverInput) SetFieldName

func (s *UpdateResolverInput) SetFieldName(v string) *UpdateResolverInput

SetFieldName sets the FieldName field's value.

func (*UpdateResolverInput) SetRequestMappingTemplate

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

SetRequestMappingTemplate sets the RequestMappingTemplate field's value.

func (*UpdateResolverInput) SetResponseMappingTemplate

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

SetResponseMappingTemplate sets the ResponseMappingTemplate field's value.

func (*UpdateResolverInput) SetTypeName

func (s *UpdateResolverInput) SetTypeName(v string) *UpdateResolverInput

SetTypeName sets the TypeName field's value.

func (UpdateResolverInput) String

func (s UpdateResolverInput) String() string

String returns the string representation

func (*UpdateResolverInput) Validate

func (s *UpdateResolverInput) Validate() error

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

type UpdateResolverOutput

type UpdateResolverOutput struct {

	// The updated Resolver object.
	Resolver *Resolver `locationName:"resolver" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateResolverOutput) GoString

func (s UpdateResolverOutput) GoString() string

GoString returns the string representation

func (*UpdateResolverOutput) SetResolver

SetResolver sets the Resolver field's value.

func (UpdateResolverOutput) String

func (s UpdateResolverOutput) String() string

String returns the string representation

type UpdateTypeInput

type UpdateTypeInput struct {

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

	// The new definition.
	Definition *string `locationName:"definition" type:"string"`

	// The new type format: SDL or JSON.
	//
	// Format is a required field
	Format *string `locationName:"format" type:"string" required:"true" enum:"TypeDefinitionFormat"`

	// The new type name.
	//
	// TypeName is a required field
	TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateTypeInput) GoString

func (s UpdateTypeInput) GoString() string

GoString returns the string representation

func (*UpdateTypeInput) SetApiId

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

SetApiId sets the ApiId field's value.

func (*UpdateTypeInput) SetDefinition

func (s *UpdateTypeInput) SetDefinition(v string) *UpdateTypeInput

SetDefinition sets the Definition field's value.

func (*UpdateTypeInput) SetFormat

func (s *UpdateTypeInput) SetFormat(v string) *UpdateTypeInput

SetFormat sets the Format field's value.

func (*UpdateTypeInput) SetTypeName

func (s *UpdateTypeInput) SetTypeName(v string) *UpdateTypeInput

SetTypeName sets the TypeName field's value.

func (UpdateTypeInput) String

func (s UpdateTypeInput) String() string

String returns the string representation

func (*UpdateTypeInput) Validate

func (s *UpdateTypeInput) Validate() error

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

type UpdateTypeOutput

type UpdateTypeOutput struct {

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

func (UpdateTypeOutput) GoString

func (s UpdateTypeOutput) GoString() string

GoString returns the string representation

func (*UpdateTypeOutput) SetType

func (s *UpdateTypeOutput) SetType(v *Type) *UpdateTypeOutput

SetType sets the Type field's value.

func (UpdateTypeOutput) String

func (s UpdateTypeOutput) String() string

String returns the string representation

type UserPoolConfig

type UserPoolConfig struct {

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

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

	// The action that you want your GraphQL API to take when a request that uses
	// Amazon Cognito User Pool authentication doesn't match the Amazon Cognito
	// User Pool configuration.
	//
	// DefaultAction is a required field
	DefaultAction *string `locationName:"defaultAction" type:"string" required:"true" enum:"DefaultAction"`

	// 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 (UserPoolConfig) GoString

func (s UserPoolConfig) GoString() string

GoString returns the string representation

func (*UserPoolConfig) SetAppIdClientRegex

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

SetAppIdClientRegex sets the AppIdClientRegex field's value.

func (*UserPoolConfig) SetAwsRegion

func (s *UserPoolConfig) SetAwsRegion(v string) *UserPoolConfig

SetAwsRegion sets the AwsRegion field's value.

func (*UserPoolConfig) SetDefaultAction

func (s *UserPoolConfig) SetDefaultAction(v string) *UserPoolConfig

SetDefaultAction sets the DefaultAction field's value.

func (*UserPoolConfig) SetUserPoolId

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

SetUserPoolId sets the UserPoolId field's value.

func (UserPoolConfig) String

func (s UserPoolConfig) String() string

String returns the string representation

func (*UserPoolConfig) Validate

func (s *UserPoolConfig) Validate() error

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

Directories

Path Synopsis
Package appsynciface provides an interface to enable mocking the AWS AppSync service client for testing your code.
Package appsynciface provides an interface to enable mocking the AWS AppSync service client for testing your code.

Jump to

Keyboard shortcuts

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