package appsync

import "github.com/aws/aws-sdk-go-v2/service/appsync"

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

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

Index

Constants

const (
	ServiceName = "AWSAppSync" // Service's name
	ServiceID   = "AppSync"    // Service's identifier
	EndpointsID = "appsync"    // Service's Endpoint identifier
)
const (

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

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

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

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

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

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

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

	// ErrCodeInternalFailureException for service response error code
	// "InternalFailureException".
	//
	// An internal 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 then try again.
	ErrCodeNotFoundException = "NotFoundException"

	// ErrCodeUnauthorizedException for service response error code
	// "UnauthorizedException".
	//
	// You are not authorized to perform this operation.
	ErrCodeUnauthorizedException = "UnauthorizedException"
)

Types

type AdditionalAuthenticationProvider

type AdditionalAuthenticationProvider struct {

	// The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user pools.
	AuthenticationType AuthenticationType `locationName:"authenticationType" type:"string" enum:"true"`

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

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

Describes an additional authentication provider.

func (AdditionalAuthenticationProvider) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AdditionalAuthenticationProvider) String

String returns the string representation

func (*AdditionalAuthenticationProvider) Validate

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

type ApiCache

type ApiCache struct {

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

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

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

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

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

	// The cache instance type.
	//
	//    * T2_SMALL: A t2.small instance type.
	//
	//    * T2_MEDIUM: A t2.medium instance type.
	//
	//    * R4_LARGE: A r4.large instance type.
	//
	//    * R4_XLARGE: A r4.xlarge instance type.
	//
	//    * R4_2XLARGE: A r4.2xlarge instance type.
	//
	//    * R4_4XLARGE: A r4.4xlarge instance type.
	//
	//    * R4_8XLARGE: A r4.8xlarge instance type.
	Type ApiCacheType `locationName:"type" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (ApiCache) MarshalFields

func (s ApiCache) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ApiCache) String

func (s ApiCache) String() string

String returns the string representation

type ApiCacheStatus

type ApiCacheStatus string
const (
	ApiCacheStatusAvailable ApiCacheStatus = "AVAILABLE"
	ApiCacheStatusCreating  ApiCacheStatus = "CREATING"
	ApiCacheStatusDeleting  ApiCacheStatus = "DELETING"
	ApiCacheStatusModifying ApiCacheStatus = "MODIFYING"
	ApiCacheStatusFailed    ApiCacheStatus = "FAILED"
)

Enum values for ApiCacheStatus

func (ApiCacheStatus) MarshalValue

func (enum ApiCacheStatus) MarshalValue() (string, error)

func (ApiCacheStatus) MarshalValueBuf

func (enum ApiCacheStatus) MarshalValueBuf(b []byte) ([]byte, error)

type ApiCacheType

type ApiCacheType string
const (
	ApiCacheTypeT2Small   ApiCacheType = "T2_SMALL"
	ApiCacheTypeT2Medium  ApiCacheType = "T2_MEDIUM"
	ApiCacheTypeR4Large   ApiCacheType = "R4_LARGE"
	ApiCacheTypeR4Xlarge  ApiCacheType = "R4_XLARGE"
	ApiCacheTypeR42xlarge ApiCacheType = "R4_2XLARGE"
	ApiCacheTypeR44xlarge ApiCacheType = "R4_4XLARGE"
	ApiCacheTypeR48xlarge ApiCacheType = "R4_8XLARGE"
)

Enum values for ApiCacheType

func (ApiCacheType) MarshalValue

func (enum ApiCacheType) MarshalValue() (string, error)

func (ApiCacheType) MarshalValueBuf

func (enum ApiCacheType) MarshalValueBuf(b []byte) ([]byte, error)

type ApiCachingBehavior

type ApiCachingBehavior string
const (
	ApiCachingBehaviorFullRequestCaching ApiCachingBehavior = "FULL_REQUEST_CACHING"
	ApiCachingBehaviorPerResolverCaching ApiCachingBehavior = "PER_RESOLVER_CACHING"
)

Enum values for ApiCachingBehavior

func (ApiCachingBehavior) MarshalValue

func (enum ApiCachingBehavior) MarshalValue() (string, error)

func (ApiCachingBehavior) MarshalValueBuf

func (enum ApiCachingBehavior) MarshalValueBuf(b []byte) ([]byte, error)

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.

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

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

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

func (ApiKey) MarshalFields

func (s ApiKey) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ApiKey) String

func (s ApiKey) String() string

String returns the string representation

type AuthenticationType

type AuthenticationType string
const (
	AuthenticationTypeApiKey                 AuthenticationType = "API_KEY"
	AuthenticationTypeAwsIam                 AuthenticationType = "AWS_IAM"
	AuthenticationTypeAmazonCognitoUserPools AuthenticationType = "AMAZON_COGNITO_USER_POOLS"
	AuthenticationTypeOpenidConnect          AuthenticationType = "OPENID_CONNECT"
)

Enum values for AuthenticationType

func (AuthenticationType) MarshalValue

func (enum AuthenticationType) MarshalValue() (string, error)

func (AuthenticationType) MarshalValueBuf

func (enum AuthenticationType) MarshalValueBuf(b []byte) ([]byte, error)

type AuthorizationConfig

type AuthorizationConfig struct {

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

	// The AWS IAM settings.
	AwsIamConfig *AwsIamConfig `locationName:"awsIamConfig" type:"structure"`
	// contains filtered or unexported fields
}

The authorization config in case the HTTP endpoint requires authorization.

func (AuthorizationConfig) MarshalFields

func (s AuthorizationConfig) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AuthorizationConfig) String

func (s AuthorizationConfig) String() string

String returns the string representation

func (*AuthorizationConfig) Validate

func (s *AuthorizationConfig) Validate() error

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

type AuthorizationType

type AuthorizationType string
const (
	AuthorizationTypeAwsIam AuthorizationType = "AWS_IAM"
)

Enum values for AuthorizationType

func (AuthorizationType) MarshalValue

func (enum AuthorizationType) MarshalValue() (string, error)

func (AuthorizationType) MarshalValueBuf

func (enum AuthorizationType) MarshalValueBuf(b []byte) ([]byte, error)

type AwsIamConfig

type AwsIamConfig struct {

	// The signing region for AWS IAM authorization.
	SigningRegion *string `locationName:"signingRegion" type:"string"`

	// The signing service name for AWS IAM authorization.
	SigningServiceName *string `locationName:"signingServiceName" type:"string"`
	// contains filtered or unexported fields
}

The AWS IAM configuration.

func (AwsIamConfig) MarshalFields

func (s AwsIamConfig) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AwsIamConfig) String

func (s AwsIamConfig) String() string

String returns the string representation

type CachingConfig

type CachingConfig struct {

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

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

The caching configuration for a resolver that has caching enabled.

func (CachingConfig) MarshalFields

func (s CachingConfig) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CachingConfig) String

func (s CachingConfig) String() string

String returns the string representation

type Client

type Client struct {
	*aws.Client
}

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

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

func New

func New(config aws.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := appsync.New(myConfig)

func (*Client) CreateApiCacheRequest

func (c *Client) CreateApiCacheRequest(input *CreateApiCacheInput) CreateApiCacheRequest

CreateApiCacheRequest returns a request value for making API operation for AWS AppSync.

Creates a cache for the GraphQL API.

// Example sending a request using CreateApiCacheRequest.
req := client.CreateApiCacheRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateApiKeyRequest

func (c *Client) CreateApiKeyRequest(input *CreateApiKeyInput) CreateApiKeyRequest

CreateApiKeyRequest returns a request value for making API operation for AWS AppSync.

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

// Example sending a request using CreateApiKeyRequest.
req := client.CreateApiKeyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateDataSourceRequest

func (c *Client) CreateDataSourceRequest(input *CreateDataSourceInput) CreateDataSourceRequest

CreateDataSourceRequest returns a request value for making API operation for AWS AppSync.

Creates a DataSource object.

// Example sending a request using CreateDataSourceRequest.
req := client.CreateDataSourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateFunctionRequest

func (c *Client) CreateFunctionRequest(input *CreateFunctionInput) CreateFunctionRequest

CreateFunctionRequest returns a request value for making API operation for AWS AppSync.

Creates a Function object.

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

// Example sending a request using CreateFunctionRequest.
req := client.CreateFunctionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateGraphqlApiRequest

func (c *Client) CreateGraphqlApiRequest(input *CreateGraphqlApiInput) CreateGraphqlApiRequest

CreateGraphqlApiRequest returns a request value for making API operation for AWS AppSync.

Creates a GraphqlApi object.

// Example sending a request using CreateGraphqlApiRequest.
req := client.CreateGraphqlApiRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateResolverRequest

func (c *Client) CreateResolverRequest(input *CreateResolverInput) CreateResolverRequest

CreateResolverRequest returns a request value for making 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.

// Example sending a request using CreateResolverRequest.
req := client.CreateResolverRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateTypeRequest

func (c *Client) CreateTypeRequest(input *CreateTypeInput) CreateTypeRequest

CreateTypeRequest returns a request value for making API operation for AWS AppSync.

Creates a Type object.

// Example sending a request using CreateTypeRequest.
req := client.CreateTypeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteApiCacheRequest

func (c *Client) DeleteApiCacheRequest(input *DeleteApiCacheInput) DeleteApiCacheRequest

DeleteApiCacheRequest returns a request value for making API operation for AWS AppSync.

Deletes an ApiCache object.

// Example sending a request using DeleteApiCacheRequest.
req := client.DeleteApiCacheRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteApiKeyRequest

func (c *Client) DeleteApiKeyRequest(input *DeleteApiKeyInput) DeleteApiKeyRequest

DeleteApiKeyRequest returns a request value for making API operation for AWS AppSync.

Deletes an API key.

// Example sending a request using DeleteApiKeyRequest.
req := client.DeleteApiKeyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteDataSourceRequest

func (c *Client) DeleteDataSourceRequest(input *DeleteDataSourceInput) DeleteDataSourceRequest

DeleteDataSourceRequest returns a request value for making API operation for AWS AppSync.

Deletes a DataSource object.

// Example sending a request using DeleteDataSourceRequest.
req := client.DeleteDataSourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteFunctionRequest

func (c *Client) DeleteFunctionRequest(input *DeleteFunctionInput) DeleteFunctionRequest

DeleteFunctionRequest returns a request value for making API operation for AWS AppSync.

Deletes a Function.

// Example sending a request using DeleteFunctionRequest.
req := client.DeleteFunctionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteGraphqlApiRequest

func (c *Client) DeleteGraphqlApiRequest(input *DeleteGraphqlApiInput) DeleteGraphqlApiRequest

DeleteGraphqlApiRequest returns a request value for making API operation for AWS AppSync.

Deletes a GraphqlApi object.

// Example sending a request using DeleteGraphqlApiRequest.
req := client.DeleteGraphqlApiRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteResolverRequest

func (c *Client) DeleteResolverRequest(input *DeleteResolverInput) DeleteResolverRequest

DeleteResolverRequest returns a request value for making API operation for AWS AppSync.

Deletes a Resolver object.

// Example sending a request using DeleteResolverRequest.
req := client.DeleteResolverRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteTypeRequest

func (c *Client) DeleteTypeRequest(input *DeleteTypeInput) DeleteTypeRequest

DeleteTypeRequest returns a request value for making API operation for AWS AppSync.

Deletes a Type object.

// Example sending a request using DeleteTypeRequest.
req := client.DeleteTypeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) FlushApiCacheRequest

func (c *Client) FlushApiCacheRequest(input *FlushApiCacheInput) FlushApiCacheRequest

FlushApiCacheRequest returns a request value for making API operation for AWS AppSync.

Flushes an ApiCache object.

// Example sending a request using FlushApiCacheRequest.
req := client.FlushApiCacheRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetApiCacheRequest

func (c *Client) GetApiCacheRequest(input *GetApiCacheInput) GetApiCacheRequest

GetApiCacheRequest returns a request value for making API operation for AWS AppSync.

Retrieves an ApiCache object.

// Example sending a request using GetApiCacheRequest.
req := client.GetApiCacheRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetDataSourceRequest

func (c *Client) GetDataSourceRequest(input *GetDataSourceInput) GetDataSourceRequest

GetDataSourceRequest returns a request value for making API operation for AWS AppSync.

Retrieves a DataSource object.

// Example sending a request using GetDataSourceRequest.
req := client.GetDataSourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetFunctionRequest

func (c *Client) GetFunctionRequest(input *GetFunctionInput) GetFunctionRequest

GetFunctionRequest returns a request value for making API operation for AWS AppSync.

Get a Function.

// Example sending a request using GetFunctionRequest.
req := client.GetFunctionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetGraphqlApiRequest

func (c *Client) GetGraphqlApiRequest(input *GetGraphqlApiInput) GetGraphqlApiRequest

GetGraphqlApiRequest returns a request value for making API operation for AWS AppSync.

Retrieves a GraphqlApi object.

// Example sending a request using GetGraphqlApiRequest.
req := client.GetGraphqlApiRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetIntrospectionSchemaRequest

func (c *Client) GetIntrospectionSchemaRequest(input *GetIntrospectionSchemaInput) GetIntrospectionSchemaRequest

GetIntrospectionSchemaRequest returns a request value for making API operation for AWS AppSync.

Retrieves the introspection schema for a GraphQL API.

// Example sending a request using GetIntrospectionSchemaRequest.
req := client.GetIntrospectionSchemaRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetResolverRequest

func (c *Client) GetResolverRequest(input *GetResolverInput) GetResolverRequest

GetResolverRequest returns a request value for making API operation for AWS AppSync.

Retrieves a Resolver object.

// Example sending a request using GetResolverRequest.
req := client.GetResolverRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetSchemaCreationStatusRequest

func (c *Client) GetSchemaCreationStatusRequest(input *GetSchemaCreationStatusInput) GetSchemaCreationStatusRequest

GetSchemaCreationStatusRequest returns a request value for making API operation for AWS AppSync.

Retrieves the current status of a schema creation operation.

// Example sending a request using GetSchemaCreationStatusRequest.
req := client.GetSchemaCreationStatusRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetTypeRequest

func (c *Client) GetTypeRequest(input *GetTypeInput) GetTypeRequest

GetTypeRequest returns a request value for making API operation for AWS AppSync.

Retrieves a Type object.

// Example sending a request using GetTypeRequest.
req := client.GetTypeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ListApiKeysRequest

func (c *Client) ListApiKeysRequest(input *ListApiKeysInput) ListApiKeysRequest

ListApiKeysRequest returns a request value for making API operation for AWS AppSync.

Lists the API keys for a given API.

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

// Example sending a request using ListApiKeysRequest.
req := client.ListApiKeysRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ListDataSourcesRequest

func (c *Client) ListDataSourcesRequest(input *ListDataSourcesInput) ListDataSourcesRequest

ListDataSourcesRequest returns a request value for making API operation for AWS AppSync.

Lists the data sources for a given API.

// Example sending a request using ListDataSourcesRequest.
req := client.ListDataSourcesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ListFunctionsRequest

func (c *Client) ListFunctionsRequest(input *ListFunctionsInput) ListFunctionsRequest

ListFunctionsRequest returns a request value for making API operation for AWS AppSync.

List multiple functions.

// Example sending a request using ListFunctionsRequest.
req := client.ListFunctionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ListGraphqlApisRequest

func (c *Client) ListGraphqlApisRequest(input *ListGraphqlApisInput) ListGraphqlApisRequest

ListGraphqlApisRequest returns a request value for making API operation for AWS AppSync.

Lists your GraphQL APIs.

// Example sending a request using ListGraphqlApisRequest.
req := client.ListGraphqlApisRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ListResolversByFunctionRequest

func (c *Client) ListResolversByFunctionRequest(input *ListResolversByFunctionInput) ListResolversByFunctionRequest

ListResolversByFunctionRequest returns a request value for making API operation for AWS AppSync.

List the resolvers that are associated with a specific function.

// Example sending a request using ListResolversByFunctionRequest.
req := client.ListResolversByFunctionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ListResolversRequest

func (c *Client) ListResolversRequest(input *ListResolversInput) ListResolversRequest

ListResolversRequest returns a request value for making API operation for AWS AppSync.

Lists the resolvers for a given API and type.

// Example sending a request using ListResolversRequest.
req := client.ListResolversRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ListTagsForResourceRequest

func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest

ListTagsForResourceRequest returns a request value for making API operation for AWS AppSync.

Lists the tags for a resource.

// Example sending a request using ListTagsForResourceRequest.
req := client.ListTagsForResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ListTypesRequest

func (c *Client) ListTypesRequest(input *ListTypesInput) ListTypesRequest

ListTypesRequest returns a request value for making API operation for AWS AppSync.

Lists the types for a given API.

// Example sending a request using ListTypesRequest.
req := client.ListTypesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) StartSchemaCreationRequest

func (c *Client) StartSchemaCreationRequest(input *StartSchemaCreationInput) StartSchemaCreationRequest

StartSchemaCreationRequest returns a request value for making API operation for AWS AppSync.

Adds a new schema to your GraphQL API.

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

// Example sending a request using StartSchemaCreationRequest.
req := client.StartSchemaCreationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) TagResourceRequest

func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest

TagResourceRequest returns a request value for making API operation for AWS AppSync.

Tags a resource with user-supplied tags.

// Example sending a request using TagResourceRequest.
req := client.TagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UntagResourceRequest

func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest

UntagResourceRequest returns a request value for making API operation for AWS AppSync.

Untags a resource.

// Example sending a request using UntagResourceRequest.
req := client.UntagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateApiCacheRequest

func (c *Client) UpdateApiCacheRequest(input *UpdateApiCacheInput) UpdateApiCacheRequest

UpdateApiCacheRequest returns a request value for making API operation for AWS AppSync.

Updates the cache for the GraphQL API.

// Example sending a request using UpdateApiCacheRequest.
req := client.UpdateApiCacheRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateApiKeyRequest

func (c *Client) UpdateApiKeyRequest(input *UpdateApiKeyInput) UpdateApiKeyRequest

UpdateApiKeyRequest returns a request value for making API operation for AWS AppSync.

Updates an API key.

// Example sending a request using UpdateApiKeyRequest.
req := client.UpdateApiKeyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateDataSourceRequest

func (c *Client) UpdateDataSourceRequest(input *UpdateDataSourceInput) UpdateDataSourceRequest

UpdateDataSourceRequest returns a request value for making API operation for AWS AppSync.

Updates a DataSource object.

// Example sending a request using UpdateDataSourceRequest.
req := client.UpdateDataSourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateFunctionRequest

func (c *Client) UpdateFunctionRequest(input *UpdateFunctionInput) UpdateFunctionRequest

UpdateFunctionRequest returns a request value for making API operation for AWS AppSync.

Updates a Function object.

// Example sending a request using UpdateFunctionRequest.
req := client.UpdateFunctionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateGraphqlApiRequest

func (c *Client) UpdateGraphqlApiRequest(input *UpdateGraphqlApiInput) UpdateGraphqlApiRequest

UpdateGraphqlApiRequest returns a request value for making API operation for AWS AppSync.

Updates a GraphqlApi object.

// Example sending a request using UpdateGraphqlApiRequest.
req := client.UpdateGraphqlApiRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateResolverRequest

func (c *Client) UpdateResolverRequest(input *UpdateResolverInput) UpdateResolverRequest

UpdateResolverRequest returns a request value for making API operation for AWS AppSync.

Updates a Resolver object.

// Example sending a request using UpdateResolverRequest.
req := client.UpdateResolverRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateTypeRequest

func (c *Client) UpdateTypeRequest(input *UpdateTypeInput) UpdateTypeRequest

UpdateTypeRequest returns a request value for making API operation for AWS AppSync.

Updates a Type object.

// Example sending a request using UpdateTypeRequest.
req := client.UpdateTypeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

type CognitoUserPoolConfig

type CognitoUserPoolConfig 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 user pool ID.
	//
	// UserPoolId is a required field
	UserPoolId *string `locationName:"userPoolId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes an Amazon Cognito user pool configuration.

func (CognitoUserPoolConfig) MarshalFields

func (s CognitoUserPoolConfig) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CognitoUserPoolConfig) String

func (s CognitoUserPoolConfig) String() string

String returns the string representation

func (*CognitoUserPoolConfig) Validate

func (s *CognitoUserPoolConfig) Validate() error

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

type ConflictDetectionType

type ConflictDetectionType string
const (
	ConflictDetectionTypeVersion ConflictDetectionType = "VERSION"
	ConflictDetectionTypeNone    ConflictDetectionType = "NONE"
)

Enum values for ConflictDetectionType

func (ConflictDetectionType) MarshalValue

func (enum ConflictDetectionType) MarshalValue() (string, error)

func (ConflictDetectionType) MarshalValueBuf

func (enum ConflictDetectionType) MarshalValueBuf(b []byte) ([]byte, error)

type ConflictHandlerType

type ConflictHandlerType string
const (
	ConflictHandlerTypeOptimisticConcurrency ConflictHandlerType = "OPTIMISTIC_CONCURRENCY"
	ConflictHandlerTypeLambda                ConflictHandlerType = "LAMBDA"
	ConflictHandlerTypeAutomerge             ConflictHandlerType = "AUTOMERGE"
	ConflictHandlerTypeNone                  ConflictHandlerType = "NONE"
)

Enum values for ConflictHandlerType

func (ConflictHandlerType) MarshalValue

func (enum ConflictHandlerType) MarshalValue() (string, error)

func (ConflictHandlerType) MarshalValueBuf

func (enum ConflictHandlerType) MarshalValueBuf(b []byte) ([]byte, error)

type CreateApiCacheInput

type CreateApiCacheInput struct {

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

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

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

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

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

	// The cache instance type.
	//
	//    * T2_SMALL: A t2.small instance type.
	//
	//    * T2_MEDIUM: A t2.medium instance type.
	//
	//    * R4_LARGE: A r4.large instance type.
	//
	//    * R4_XLARGE: A r4.xlarge instance type.
	//
	//    * R4_2XLARGE: A r4.2xlarge instance type.
	//
	//    * R4_4XLARGE: A r4.4xlarge instance type.
	//
	//    * R4_8XLARGE: A r4.8xlarge instance type.
	//
	// Type is a required field
	Type ApiCacheType `locationName:"type" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Represents the input of a CreateApiCache operation.

func (CreateApiCacheInput) MarshalFields

func (s CreateApiCacheInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateApiCacheInput) String

func (s CreateApiCacheInput) String() string

String returns the string representation

func (*CreateApiCacheInput) Validate

func (s *CreateApiCacheInput) Validate() error

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

type CreateApiCacheOutput

type CreateApiCacheOutput struct {

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

Represents the output of a CreateApiCache operation.

func (CreateApiCacheOutput) MarshalFields

func (s CreateApiCacheOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateApiCacheOutput) String

func (s CreateApiCacheOutput) String() string

String returns the string representation

type CreateApiCacheRequest

type CreateApiCacheRequest struct {
	*aws.Request
	Input *CreateApiCacheInput
	Copy  func(*CreateApiCacheInput) CreateApiCacheRequest
}

CreateApiCacheRequest is the request type for the CreateApiCache API operation.

func (CreateApiCacheRequest) Send

Send marshals and sends the CreateApiCache API request.

type CreateApiCacheResponse

type CreateApiCacheResponse struct {
	*CreateApiCacheOutput
	// contains filtered or unexported fields
}

CreateApiCacheResponse is the response type for the CreateApiCache API operation.

func (*CreateApiCacheResponse) SDKResponseMetdata

func (r *CreateApiCacheResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateApiCache request.

type CreateApiKeyInput

type CreateApiKeyInput struct {

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

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

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

func (CreateApiKeyInput) MarshalFields

func (s CreateApiKeyInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

func (s CreateApiKeyOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateApiKeyOutput) String

func (s CreateApiKeyOutput) String() string

String returns the string representation

type CreateApiKeyRequest

type CreateApiKeyRequest struct {
	*aws.Request
	Input *CreateApiKeyInput
	Copy  func(*CreateApiKeyInput) CreateApiKeyRequest
}

CreateApiKeyRequest is the request type for the CreateApiKey API operation.

func (CreateApiKeyRequest) Send

Send marshals and sends the CreateApiKey API request.

type CreateApiKeyResponse

type CreateApiKeyResponse struct {
	*CreateApiKeyOutput
	// contains filtered or unexported fields
}

CreateApiKeyResponse is the response type for the CreateApiKey API operation.

func (*CreateApiKeyResponse) SDKResponseMetdata

func (r *CreateApiKeyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateApiKey request.

type CreateDataSourceInput

type CreateDataSourceInput struct {

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

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

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

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

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

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

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

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

func (CreateDataSourceInput) MarshalFields

func (s CreateDataSourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateDataSourceOutput) String

func (s CreateDataSourceOutput) String() string

String returns the string representation

type CreateDataSourceRequest

type CreateDataSourceRequest struct {
	*aws.Request
	Input *CreateDataSourceInput
	Copy  func(*CreateDataSourceInput) CreateDataSourceRequest
}

CreateDataSourceRequest is the request type for the CreateDataSource API operation.

func (CreateDataSourceRequest) Send

Send marshals and sends the CreateDataSource API request.

type CreateDataSourceResponse

type CreateDataSourceResponse struct {
	*CreateDataSourceOutput
	// contains filtered or unexported fields
}

CreateDataSourceResponse is the response type for the CreateDataSource API operation.

func (*CreateDataSourceResponse) SDKResponseMetdata

func (r *CreateDataSourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateDataSource request.

type CreateFunctionInput

type CreateFunctionInput struct {

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

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

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

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

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

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

	// The Function response mapping template.
	ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateFunctionInput) MarshalFields

func (s CreateFunctionInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateFunctionInput) String

func (s CreateFunctionInput) String() string

String returns the string representation

func (*CreateFunctionInput) Validate

func (s *CreateFunctionInput) Validate() error

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

type CreateFunctionOutput

type CreateFunctionOutput struct {

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

func (CreateFunctionOutput) MarshalFields

func (s CreateFunctionOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateFunctionOutput) String

func (s CreateFunctionOutput) String() string

String returns the string representation

type CreateFunctionRequest

type CreateFunctionRequest struct {
	*aws.Request
	Input *CreateFunctionInput
	Copy  func(*CreateFunctionInput) CreateFunctionRequest
}

CreateFunctionRequest is the request type for the CreateFunction API operation.

func (CreateFunctionRequest) Send

Send marshals and sends the CreateFunction API request.

type CreateFunctionResponse

type CreateFunctionResponse struct {
	*CreateFunctionOutput
	// contains filtered or unexported fields
}

CreateFunctionResponse is the response type for the CreateFunction API operation.

func (*CreateFunctionResponse) SDKResponseMetdata

func (r *CreateFunctionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateFunction request.

type CreateGraphqlApiInput

type CreateGraphqlApiInput struct {

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

	// The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user pools.
	//
	// AuthenticationType is a required field
	AuthenticationType AuthenticationType `locationName:"authenticationType" type:"string" required:"true" enum:"true"`

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

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

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

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

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

func (CreateGraphqlApiInput) MarshalFields

func (s CreateGraphqlApiInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateGraphqlApiOutput) String

func (s CreateGraphqlApiOutput) String() string

String returns the string representation

type CreateGraphqlApiRequest

type CreateGraphqlApiRequest struct {
	*aws.Request
	Input *CreateGraphqlApiInput
	Copy  func(*CreateGraphqlApiInput) CreateGraphqlApiRequest
}

CreateGraphqlApiRequest is the request type for the CreateGraphqlApi API operation.

func (CreateGraphqlApiRequest) Send

Send marshals and sends the CreateGraphqlApi API request.

type CreateGraphqlApiResponse

type CreateGraphqlApiResponse struct {
	*CreateGraphqlApiOutput
	// contains filtered or unexported fields
}

CreateGraphqlApiResponse is the response type for the CreateGraphqlApi API operation.

func (*CreateGraphqlApiResponse) SDKResponseMetdata

func (r *CreateGraphqlApiResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateGraphqlApi request.

type CreateResolverInput

type CreateResolverInput struct {

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

	// The caching configuration for the resolver.
	CachingConfig *CachingConfig `locationName:"cachingConfig" type:"structure"`

	// The name of the data source for which the resolver is being created.
	DataSourceName *string `locationName:"dataSourceName" min:"1" type:"string"`

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

	// The resolver type.
	//
	//    * UNIT: A UNIT resolver type. A UNIT resolver is the default resolver
	//    type. A UNIT resolver enables you to execute a GraphQL query against a
	//    single data source.
	//
	//    * PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you
	//    to execute a series of Function in a serial manner. You can use a pipeline
	//    resolver to execute a GraphQL query against multiple data sources.
	Kind ResolverKind `locationName:"kind" type:"string" enum:"true"`

	// The PipelineConfig.
	PipelineConfig *PipelineConfig `locationName:"pipelineConfig" type:"structure"`

	// The mapping template to be used for requests.
	//
	// A resolver uses a request mapping template to convert a GraphQL expression
	// into a format that a data source can understand. Mapping templates are written
	// in Apache Velocity Template Language (VTL).
	//
	// RequestMappingTemplate is a required field
	RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string" required:"true"`

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

	// The SyncConfig for a resolver attached to a versioned datasource.
	SyncConfig *SyncConfig `locationName:"syncConfig" type:"structure"`

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

func (CreateResolverInput) MarshalFields

func (s CreateResolverInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

func (s CreateResolverOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateResolverOutput) String

func (s CreateResolverOutput) String() string

String returns the string representation

type CreateResolverRequest

type CreateResolverRequest struct {
	*aws.Request
	Input *CreateResolverInput
	Copy  func(*CreateResolverInput) CreateResolverRequest
}

CreateResolverRequest is the request type for the CreateResolver API operation.

func (CreateResolverRequest) Send

Send marshals and sends the CreateResolver API request.

type CreateResolverResponse

type CreateResolverResponse struct {
	*CreateResolverOutput
	// contains filtered or unexported fields
}

CreateResolverResponse is the response type for the CreateResolver API operation.

func (*CreateResolverResponse) SDKResponseMetdata

func (r *CreateResolverResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateResolver request.

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

func (CreateTypeInput) MarshalFields

func (s CreateTypeInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

func (s CreateTypeOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateTypeOutput) String

func (s CreateTypeOutput) String() string

String returns the string representation

type CreateTypeRequest

type CreateTypeRequest struct {
	*aws.Request
	Input *CreateTypeInput
	Copy  func(*CreateTypeInput) CreateTypeRequest
}

CreateTypeRequest is the request type for the CreateType API operation.

func (CreateTypeRequest) Send

Send marshals and sends the CreateType API request.

type CreateTypeResponse

type CreateTypeResponse struct {
	*CreateTypeOutput
	// contains filtered or unexported fields
}

CreateTypeResponse is the response type for the CreateType API operation.

func (*CreateTypeResponse) SDKResponseMetdata

func (r *CreateTypeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateType request.

type DataSource

type DataSource struct {

	// The data source ARN.
	DataSourceArn *string `locationName:"dataSourceArn" type:"string"`

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

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

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

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

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

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

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

	// The AWS 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 you wish to invoke
	//    a GraphQL operation without connecting to a data source, such as performing
	//    data transformation with resolvers or triggering a subscription to be
	//    invoked from a mutation.
	//
	//    * HTTP: The data source is an HTTP endpoint.
	//
	//    * RELATIONAL_DATABASE: The data source is a relational database.
	Type DataSourceType `locationName:"type" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes a data source.

func (DataSource) MarshalFields

func (s DataSource) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DataSource) String

func (s DataSource) String() string

String returns the string representation

type DataSourceType

type DataSourceType string
const (
	DataSourceTypeAwsLambda           DataSourceType = "AWS_LAMBDA"
	DataSourceTypeAmazonDynamodb      DataSourceType = "AMAZON_DYNAMODB"
	DataSourceTypeAmazonElasticsearch DataSourceType = "AMAZON_ELASTICSEARCH"
	DataSourceTypeNone                DataSourceType = "NONE"
	DataSourceTypeHttp                DataSourceType = "HTTP"
	DataSourceTypeRelationalDatabase  DataSourceType = "RELATIONAL_DATABASE"
)

Enum values for DataSourceType

func (DataSourceType) MarshalValue

func (enum DataSourceType) MarshalValue() (string, error)

func (DataSourceType) MarshalValueBuf

func (enum DataSourceType) MarshalValueBuf(b []byte) ([]byte, error)

type DefaultAction

type DefaultAction string
const (
	DefaultActionAllow DefaultAction = "ALLOW"
	DefaultActionDeny  DefaultAction = "DENY"
)

Enum values for DefaultAction

func (DefaultAction) MarshalValue

func (enum DefaultAction) MarshalValue() (string, error)

func (DefaultAction) MarshalValueBuf

func (enum DefaultAction) MarshalValueBuf(b []byte) ([]byte, error)

type DeleteApiCacheInput

type DeleteApiCacheInput struct {

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

Represents the input of a DeleteApiCache operation.

func (DeleteApiCacheInput) MarshalFields

func (s DeleteApiCacheInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteApiCacheInput) String

func (s DeleteApiCacheInput) String() string

String returns the string representation

func (*DeleteApiCacheInput) Validate

func (s *DeleteApiCacheInput) Validate() error

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

type DeleteApiCacheOutput

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

Represents the output of a DeleteApiCache operation.

func (DeleteApiCacheOutput) MarshalFields

func (s DeleteApiCacheOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteApiCacheOutput) String

func (s DeleteApiCacheOutput) String() string

String returns the string representation

type DeleteApiCacheRequest

type DeleteApiCacheRequest struct {
	*aws.Request
	Input *DeleteApiCacheInput
	Copy  func(*DeleteApiCacheInput) DeleteApiCacheRequest
}

DeleteApiCacheRequest is the request type for the DeleteApiCache API operation.

func (DeleteApiCacheRequest) Send

Send marshals and sends the DeleteApiCache API request.

type DeleteApiCacheResponse

type DeleteApiCacheResponse struct {
	*DeleteApiCacheOutput
	// contains filtered or unexported fields
}

DeleteApiCacheResponse is the response type for the DeleteApiCache API operation.

func (*DeleteApiCacheResponse) SDKResponseMetdata

func (r *DeleteApiCacheResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteApiCache request.

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

func (s DeleteApiKeyInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

func (s DeleteApiKeyOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteApiKeyOutput) String

func (s DeleteApiKeyOutput) String() string

String returns the string representation

type DeleteApiKeyRequest

type DeleteApiKeyRequest struct {
	*aws.Request
	Input *DeleteApiKeyInput
	Copy  func(*DeleteApiKeyInput) DeleteApiKeyRequest
}

DeleteApiKeyRequest is the request type for the DeleteApiKey API operation.

func (DeleteApiKeyRequest) Send

Send marshals and sends the DeleteApiKey API request.

type DeleteApiKeyResponse

type DeleteApiKeyResponse struct {
	*DeleteApiKeyOutput
	// contains filtered or unexported fields
}

DeleteApiKeyResponse is the response type for the DeleteApiKey API operation.

func (*DeleteApiKeyResponse) SDKResponseMetdata

func (r *DeleteApiKeyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteApiKey request.

type DeleteDataSourceInput

type DeleteDataSourceInput struct {

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

	// The name of the data source.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteDataSourceInput) MarshalFields

func (s DeleteDataSourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteDataSourceOutput) String

func (s DeleteDataSourceOutput) String() string

String returns the string representation

type DeleteDataSourceRequest

type DeleteDataSourceRequest struct {
	*aws.Request
	Input *DeleteDataSourceInput
	Copy  func(*DeleteDataSourceInput) DeleteDataSourceRequest
}

DeleteDataSourceRequest is the request type for the DeleteDataSource API operation.

func (DeleteDataSourceRequest) Send

Send marshals and sends the DeleteDataSource API request.

type DeleteDataSourceResponse

type DeleteDataSourceResponse struct {
	*DeleteDataSourceOutput
	// contains filtered or unexported fields
}

DeleteDataSourceResponse is the response type for the DeleteDataSource API operation.

func (*DeleteDataSourceResponse) SDKResponseMetdata

func (r *DeleteDataSourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteDataSource request.

type DeleteFunctionInput

type DeleteFunctionInput struct {

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

	// The Function ID.
	//
	// FunctionId is a required field
	FunctionId *string `location:"uri" locationName:"functionId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteFunctionInput) MarshalFields

func (s DeleteFunctionInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteFunctionInput) String

func (s DeleteFunctionInput) String() string

String returns the string representation

func (*DeleteFunctionInput) Validate

func (s *DeleteFunctionInput) Validate() error

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

type DeleteFunctionOutput

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

func (DeleteFunctionOutput) MarshalFields

func (s DeleteFunctionOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteFunctionOutput) String

func (s DeleteFunctionOutput) String() string

String returns the string representation

type DeleteFunctionRequest

type DeleteFunctionRequest struct {
	*aws.Request
	Input *DeleteFunctionInput
	Copy  func(*DeleteFunctionInput) DeleteFunctionRequest
}

DeleteFunctionRequest is the request type for the DeleteFunction API operation.

func (DeleteFunctionRequest) Send

Send marshals and sends the DeleteFunction API request.

type DeleteFunctionResponse

type DeleteFunctionResponse struct {
	*DeleteFunctionOutput
	// contains filtered or unexported fields
}

DeleteFunctionResponse is the response type for the DeleteFunction API operation.

func (*DeleteFunctionResponse) SDKResponseMetdata

func (r *DeleteFunctionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteFunction request.

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

func (s DeleteGraphqlApiInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteGraphqlApiOutput) String

func (s DeleteGraphqlApiOutput) String() string

String returns the string representation

type DeleteGraphqlApiRequest

type DeleteGraphqlApiRequest struct {
	*aws.Request
	Input *DeleteGraphqlApiInput
	Copy  func(*DeleteGraphqlApiInput) DeleteGraphqlApiRequest
}

DeleteGraphqlApiRequest is the request type for the DeleteGraphqlApi API operation.

func (DeleteGraphqlApiRequest) Send

Send marshals and sends the DeleteGraphqlApi API request.

type DeleteGraphqlApiResponse

type DeleteGraphqlApiResponse struct {
	*DeleteGraphqlApiOutput
	// contains filtered or unexported fields
}

DeleteGraphqlApiResponse is the response type for the DeleteGraphqlApi API operation.

func (*DeleteGraphqlApiResponse) SDKResponseMetdata

func (r *DeleteGraphqlApiResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteGraphqlApi request.

type DeleteResolverInput

type DeleteResolverInput struct {

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

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

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

func (DeleteResolverInput) MarshalFields

func (s DeleteResolverInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

func (s DeleteResolverOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteResolverOutput) String

func (s DeleteResolverOutput) String() string

String returns the string representation

type DeleteResolverRequest

type DeleteResolverRequest struct {
	*aws.Request
	Input *DeleteResolverInput
	Copy  func(*DeleteResolverInput) DeleteResolverRequest
}

DeleteResolverRequest is the request type for the DeleteResolver API operation.

func (DeleteResolverRequest) Send

Send marshals and sends the DeleteResolver API request.

type DeleteResolverResponse

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

DeleteResolverResponse is the response type for the DeleteResolver API operation.

func (*DeleteResolverResponse) SDKResponseMetdata

func (r *DeleteResolverResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteResolver request.

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

func (DeleteTypeInput) MarshalFields

func (s DeleteTypeInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

func (s DeleteTypeOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteTypeOutput) String

func (s DeleteTypeOutput) String() string

String returns the string representation

type DeleteTypeRequest

type DeleteTypeRequest struct {
	*aws.Request
	Input *DeleteTypeInput
	Copy  func(*DeleteTypeInput) DeleteTypeRequest
}

DeleteTypeRequest is the request type for the DeleteType API operation.

func (DeleteTypeRequest) Send

Send marshals and sends the DeleteType API request.

type DeleteTypeResponse

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

DeleteTypeResponse is the response type for the DeleteType API operation.

func (*DeleteTypeResponse) SDKResponseMetdata

func (r *DeleteTypeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteType request.

type DeltaSyncConfig

type DeltaSyncConfig struct {

	// The number of minutes an Item is stored in the datasource.
	BaseTableTTL *int64 `locationName:"baseTableTTL" type:"long"`

	// The Delta Sync table name.
	DeltaSyncTableName *string `locationName:"deltaSyncTableName" type:"string"`

	// The number of minutes a Delta Sync log entry is stored in the Delta Sync
	// table.
	DeltaSyncTableTTL *int64 `locationName:"deltaSyncTableTTL" type:"long"`
	// contains filtered or unexported fields
}

Describes a Delta Sync configuration.

func (DeltaSyncConfig) MarshalFields

func (s DeltaSyncConfig) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeltaSyncConfig) String

func (s DeltaSyncConfig) 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 DeltaSyncConfig for a versioned datasource.
	DeltaSyncConfig *DeltaSyncConfig `locationName:"deltaSyncConfig" type:"structure"`

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

	// Set to TRUE to use Conflict Detection and Resolution with this data source.
	Versioned *bool `locationName:"versioned" type:"boolean"`
	// contains filtered or unexported fields
}

Describes an Amazon DynamoDB data source configuration.

func (DynamodbDataSourceConfig) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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 FieldLogLevel

type FieldLogLevel string
const (
	FieldLogLevelNone  FieldLogLevel = "NONE"
	FieldLogLevelError FieldLogLevel = "ERROR"
	FieldLogLevelAll   FieldLogLevel = "ALL"
)

Enum values for FieldLogLevel

func (FieldLogLevel) MarshalValue

func (enum FieldLogLevel) MarshalValue() (string, error)

func (FieldLogLevel) MarshalValueBuf

func (enum FieldLogLevel) MarshalValueBuf(b []byte) ([]byte, error)

type FlushApiCacheInput

type FlushApiCacheInput struct {

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

Represents the input of a FlushApiCache operation.

func (FlushApiCacheInput) MarshalFields

func (s FlushApiCacheInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (FlushApiCacheInput) String

func (s FlushApiCacheInput) String() string

String returns the string representation

func (*FlushApiCacheInput) Validate

func (s *FlushApiCacheInput) Validate() error

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

type FlushApiCacheOutput

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

Represents the output of a FlushApiCache operation.

func (FlushApiCacheOutput) MarshalFields

func (s FlushApiCacheOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (FlushApiCacheOutput) String

func (s FlushApiCacheOutput) String() string

String returns the string representation

type FlushApiCacheRequest

type FlushApiCacheRequest struct {
	*aws.Request
	Input *FlushApiCacheInput
	Copy  func(*FlushApiCacheInput) FlushApiCacheRequest
}

FlushApiCacheRequest is the request type for the FlushApiCache API operation.

func (FlushApiCacheRequest) Send

Send marshals and sends the FlushApiCache API request.

type FlushApiCacheResponse

type FlushApiCacheResponse struct {
	*FlushApiCacheOutput
	// contains filtered or unexported fields
}

FlushApiCacheResponse is the response type for the FlushApiCache API operation.

func (*FlushApiCacheResponse) SDKResponseMetdata

func (r *FlushApiCacheResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the FlushApiCache request.

type FunctionConfiguration

type FunctionConfiguration struct {

	// The name of the DataSource.
	DataSourceName *string `locationName:"dataSourceName" min:"1" type:"string"`

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

	// The ARN of the Function object.
	FunctionArn *string `locationName:"functionArn" type:"string"`

	// A unique ID representing the Function object.
	FunctionId *string `locationName:"functionId" type:"string"`

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

	// The name of the Function object.
	Name *string `locationName:"name" min:"1" type:"string"`

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

	// The Function response mapping template.
	ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"`
	// contains filtered or unexported fields
}

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

func (FunctionConfiguration) MarshalFields

func (s FunctionConfiguration) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (FunctionConfiguration) String

func (s FunctionConfiguration) String() string

String returns the string representation

type GetApiCacheInput

type GetApiCacheInput struct {

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

Represents the input of a GetApiCache operation.

func (GetApiCacheInput) MarshalFields

func (s GetApiCacheInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApiCacheInput) String

func (s GetApiCacheInput) String() string

String returns the string representation

func (*GetApiCacheInput) Validate

func (s *GetApiCacheInput) Validate() error

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

type GetApiCacheOutput

type GetApiCacheOutput struct {
	ApiCache *ApiCache `locationName:"apiCache" type:"structure"`
	// contains filtered or unexported fields
}

Represents the output of a GetApiCache operation.

func (GetApiCacheOutput) MarshalFields

func (s GetApiCacheOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApiCacheOutput) String

func (s GetApiCacheOutput) String() string

String returns the string representation

type GetApiCacheRequest

type GetApiCacheRequest struct {
	*aws.Request
	Input *GetApiCacheInput
	Copy  func(*GetApiCacheInput) GetApiCacheRequest
}

GetApiCacheRequest is the request type for the GetApiCache API operation.

func (GetApiCacheRequest) Send

Send marshals and sends the GetApiCache API request.

type GetApiCacheResponse

type GetApiCacheResponse struct {
	*GetApiCacheOutput
	// contains filtered or unexported fields
}

GetApiCacheResponse is the response type for the GetApiCache API operation.

func (*GetApiCacheResponse) SDKResponseMetdata

func (r *GetApiCacheResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetApiCache request.

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

func (GetDataSourceInput) MarshalFields

func (s GetDataSourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

func (s GetDataSourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDataSourceOutput) String

func (s GetDataSourceOutput) String() string

String returns the string representation

type GetDataSourceRequest

type GetDataSourceRequest struct {
	*aws.Request
	Input *GetDataSourceInput
	Copy  func(*GetDataSourceInput) GetDataSourceRequest
}

GetDataSourceRequest is the request type for the GetDataSource API operation.

func (GetDataSourceRequest) Send

Send marshals and sends the GetDataSource API request.

type GetDataSourceResponse

type GetDataSourceResponse struct {
	*GetDataSourceOutput
	// contains filtered or unexported fields
}

GetDataSourceResponse is the response type for the GetDataSource API operation.

func (*GetDataSourceResponse) SDKResponseMetdata

func (r *GetDataSourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetDataSource request.

type GetFunctionInput

type GetFunctionInput struct {

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

	// The Function ID.
	//
	// FunctionId is a required field
	FunctionId *string `location:"uri" locationName:"functionId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetFunctionInput) MarshalFields

func (s GetFunctionInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetFunctionInput) String

func (s GetFunctionInput) String() string

String returns the string representation

func (*GetFunctionInput) Validate

func (s *GetFunctionInput) Validate() error

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

type GetFunctionOutput

type GetFunctionOutput struct {

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

func (GetFunctionOutput) MarshalFields

func (s GetFunctionOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetFunctionOutput) String

func (s GetFunctionOutput) String() string

String returns the string representation

type GetFunctionRequest

type GetFunctionRequest struct {
	*aws.Request
	Input *GetFunctionInput
	Copy  func(*GetFunctionInput) GetFunctionRequest
}

GetFunctionRequest is the request type for the GetFunction API operation.

func (GetFunctionRequest) Send

Send marshals and sends the GetFunction API request.

type GetFunctionResponse

type GetFunctionResponse struct {
	*GetFunctionOutput
	// contains filtered or unexported fields
}

GetFunctionResponse is the response type for the GetFunction API operation.

func (*GetFunctionResponse) SDKResponseMetdata

func (r *GetFunctionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetFunction request.

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

func (s GetGraphqlApiInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

func (s GetGraphqlApiOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetGraphqlApiOutput) String

func (s GetGraphqlApiOutput) String() string

String returns the string representation

type GetGraphqlApiRequest

type GetGraphqlApiRequest struct {
	*aws.Request
	Input *GetGraphqlApiInput
	Copy  func(*GetGraphqlApiInput) GetGraphqlApiRequest
}

GetGraphqlApiRequest is the request type for the GetGraphqlApi API operation.

func (GetGraphqlApiRequest) Send

Send marshals and sends the GetGraphqlApi API request.

type GetGraphqlApiResponse

type GetGraphqlApiResponse struct {
	*GetGraphqlApiOutput
	// contains filtered or unexported fields
}

GetGraphqlApiResponse is the response type for the GetGraphqlApi API operation.

func (*GetGraphqlApiResponse) SDKResponseMetdata

func (r *GetGraphqlApiResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetGraphqlApi request.

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 OutputType `location:"querystring" locationName:"format" type:"string" required:"true" enum:"true"`

	// A flag that specifies whether the schema introspection should contain directives.
	IncludeDirectives *bool `location:"querystring" locationName:"includeDirectives" type:"boolean"`
	// contains filtered or unexported fields
}

func (GetIntrospectionSchemaInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetIntrospectionSchemaOutput) String

String returns the string representation

type GetIntrospectionSchemaRequest

type GetIntrospectionSchemaRequest struct {
	*aws.Request
	Input *GetIntrospectionSchemaInput
	Copy  func(*GetIntrospectionSchemaInput) GetIntrospectionSchemaRequest
}

GetIntrospectionSchemaRequest is the request type for the GetIntrospectionSchema API operation.

func (GetIntrospectionSchemaRequest) Send

Send marshals and sends the GetIntrospectionSchema API request.

type GetIntrospectionSchemaResponse

type GetIntrospectionSchemaResponse struct {
	*GetIntrospectionSchemaOutput
	// contains filtered or unexported fields
}

GetIntrospectionSchemaResponse is the response type for the GetIntrospectionSchema API operation.

func (*GetIntrospectionSchemaResponse) SDKResponseMetdata

func (r *GetIntrospectionSchemaResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetIntrospectionSchema request.

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

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

func (GetResolverInput) MarshalFields

func (s GetResolverInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

func (s GetResolverOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetResolverOutput) String

func (s GetResolverOutput) String() string

String returns the string representation

type GetResolverRequest

type GetResolverRequest struct {
	*aws.Request
	Input *GetResolverInput
	Copy  func(*GetResolverInput) GetResolverRequest
}

GetResolverRequest is the request type for the GetResolver API operation.

func (GetResolverRequest) Send

Send marshals and sends the GetResolver API request.

type GetResolverResponse

type GetResolverResponse struct {
	*GetResolverOutput
	// contains filtered or unexported fields
}

GetResolverResponse is the response type for the GetResolver API operation.

func (*GetResolverResponse) SDKResponseMetdata

func (r *GetResolverResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetResolver request.

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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, FAILED, SUCCESS, or NOT_APPLICABLE).
	// When the schema is in the ACTIVE state, you can add data.
	Status SchemaStatus `locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (GetSchemaCreationStatusOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetSchemaCreationStatusOutput) String

String returns the string representation

type GetSchemaCreationStatusRequest

type GetSchemaCreationStatusRequest struct {
	*aws.Request
	Input *GetSchemaCreationStatusInput
	Copy  func(*GetSchemaCreationStatusInput) GetSchemaCreationStatusRequest
}

GetSchemaCreationStatusRequest is the request type for the GetSchemaCreationStatus API operation.

func (GetSchemaCreationStatusRequest) Send

Send marshals and sends the GetSchemaCreationStatus API request.

type GetSchemaCreationStatusResponse

type GetSchemaCreationStatusResponse struct {
	*GetSchemaCreationStatusOutput
	// contains filtered or unexported fields
}

GetSchemaCreationStatusResponse is the response type for the GetSchemaCreationStatus API operation.

func (*GetSchemaCreationStatusResponse) SDKResponseMetdata

func (r *GetSchemaCreationStatusResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetSchemaCreationStatus request.

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 TypeDefinitionFormat `location:"querystring" locationName:"format" type:"string" required:"true" enum:"true"`

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

func (GetTypeInput) MarshalFields

func (s GetTypeInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

func (s GetTypeOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetTypeOutput) String

func (s GetTypeOutput) String() string

String returns the string representation

type GetTypeRequest

type GetTypeRequest struct {
	*aws.Request
	Input *GetTypeInput
	Copy  func(*GetTypeInput) GetTypeRequest
}

GetTypeRequest is the request type for the GetType API operation.

func (GetTypeRequest) Send

Send marshals and sends the GetType API request.

type GetTypeResponse

type GetTypeResponse struct {
	*GetTypeOutput
	// contains filtered or unexported fields
}

GetTypeResponse is the response type for the GetType API operation.

func (*GetTypeResponse) SDKResponseMetdata

func (r *GetTypeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetType request.

type GraphqlApi

type GraphqlApi struct {

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

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

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

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

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

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

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

	// The tags.
	Tags map[string]string `locationName:"tags" min:"1" type:"map"`

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

func (s GraphqlApi) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GraphqlApi) String

func (s GraphqlApi) String() string

String returns the string representation

type HttpDataSourceConfig

type HttpDataSourceConfig struct {

	// The authorization config in case the HTTP endpoint requires authorization.
	AuthorizationConfig *AuthorizationConfig `locationName:"authorizationConfig" type:"structure"`

	// The HTTP URL endpoint. You can either specify the domain name or IP, and
	// port combination, and the URL scheme must be HTTP or HTTPS. If the port is
	// not specified, AWS AppSync uses the default port 80 for the HTTP endpoint
	// and port 443 for HTTPS endpoints.
	Endpoint *string `locationName:"endpoint" type:"string"`
	// contains filtered or unexported fields
}

Describes an HTTP data source configuration.

func (HttpDataSourceConfig) MarshalFields

func (s HttpDataSourceConfig) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (HttpDataSourceConfig) String

func (s HttpDataSourceConfig) String() string

String returns the string representation

func (*HttpDataSourceConfig) Validate

func (s *HttpDataSourceConfig) Validate() error

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

type LambdaConflictHandlerConfig

type LambdaConflictHandlerConfig struct {

	// The Arn for the Lambda function to use as the Conflict Handler.
	LambdaConflictHandlerArn *string `locationName:"lambdaConflictHandlerArn" type:"string"`
	// contains filtered or unexported fields
}

func (LambdaConflictHandlerConfig) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (LambdaConflictHandlerConfig) 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 an AWS Lambda data source configuration.

func (LambdaDataSourceConfig) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

func (ListApiKeysInput) MarshalFields

func (s ListApiKeysInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

func (ListApiKeysOutput) MarshalFields

func (s ListApiKeysOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListApiKeysOutput) String

func (s ListApiKeysOutput) String() string

String returns the string representation

type ListApiKeysRequest

type ListApiKeysRequest struct {
	*aws.Request
	Input *ListApiKeysInput
	Copy  func(*ListApiKeysInput) ListApiKeysRequest
}

ListApiKeysRequest is the request type for the ListApiKeys API operation.

func (ListApiKeysRequest) Send

Send marshals and sends the ListApiKeys API request.

type ListApiKeysResponse

type ListApiKeysResponse struct {
	*ListApiKeysOutput
	// contains filtered or unexported fields
}

ListApiKeysResponse is the response type for the ListApiKeys API operation.

func (*ListApiKeysResponse) SDKResponseMetdata

func (r *ListApiKeysResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListApiKeys request.

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

func (ListDataSourcesInput) MarshalFields

func (s ListDataSourcesInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

func (ListDataSourcesOutput) MarshalFields

func (s ListDataSourcesOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListDataSourcesOutput) String

func (s ListDataSourcesOutput) String() string

String returns the string representation

type ListDataSourcesRequest

type ListDataSourcesRequest struct {
	*aws.Request
	Input *ListDataSourcesInput
	Copy  func(*ListDataSourcesInput) ListDataSourcesRequest
}

ListDataSourcesRequest is the request type for the ListDataSources API operation.

func (ListDataSourcesRequest) Send

Send marshals and sends the ListDataSources API request.

type ListDataSourcesResponse

type ListDataSourcesResponse struct {
	*ListDataSourcesOutput
	// contains filtered or unexported fields
}

ListDataSourcesResponse is the response type for the ListDataSources API operation.

func (*ListDataSourcesResponse) SDKResponseMetdata

func (r *ListDataSourcesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListDataSources request.

type ListFunctionsInput

type ListFunctionsInput struct {

	// The GraphQL 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" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListFunctionsInput) MarshalFields

func (s ListFunctionsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListFunctionsInput) String

func (s ListFunctionsInput) String() string

String returns the string representation

func (*ListFunctionsInput) Validate

func (s *ListFunctionsInput) Validate() error

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

type ListFunctionsOutput

type ListFunctionsOutput struct {

	// A list of Function objects.
	Functions []FunctionConfiguration `locationName:"functions" type:"list"`

	// 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 `locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListFunctionsOutput) MarshalFields

func (s ListFunctionsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListFunctionsOutput) String

func (s ListFunctionsOutput) String() string

String returns the string representation

type ListFunctionsRequest

type ListFunctionsRequest struct {
	*aws.Request
	Input *ListFunctionsInput
	Copy  func(*ListFunctionsInput) ListFunctionsRequest
}

ListFunctionsRequest is the request type for the ListFunctions API operation.

func (ListFunctionsRequest) Send

Send marshals and sends the ListFunctions API request.

type ListFunctionsResponse

type ListFunctionsResponse struct {
	*ListFunctionsOutput
	// contains filtered or unexported fields
}

ListFunctionsResponse is the response type for the ListFunctions API operation.

func (*ListFunctionsResponse) SDKResponseMetdata

func (r *ListFunctionsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListFunctions request.

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

func (ListGraphqlApisInput) MarshalFields

func (s ListGraphqlApisInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListGraphqlApisInput) String

func (s ListGraphqlApisInput) String() string

String returns the string representation

func (*ListGraphqlApisInput) Validate

func (s *ListGraphqlApisInput) Validate() error

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

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

func (ListGraphqlApisOutput) MarshalFields

func (s ListGraphqlApisOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListGraphqlApisOutput) String

func (s ListGraphqlApisOutput) String() string

String returns the string representation

type ListGraphqlApisRequest

type ListGraphqlApisRequest struct {
	*aws.Request
	Input *ListGraphqlApisInput
	Copy  func(*ListGraphqlApisInput) ListGraphqlApisRequest
}

ListGraphqlApisRequest is the request type for the ListGraphqlApis API operation.

func (ListGraphqlApisRequest) Send

Send marshals and sends the ListGraphqlApis API request.

type ListGraphqlApisResponse

type ListGraphqlApisResponse struct {
	*ListGraphqlApisOutput
	// contains filtered or unexported fields
}

ListGraphqlApisResponse is the response type for the ListGraphqlApis API operation.

func (*ListGraphqlApisResponse) SDKResponseMetdata

func (r *ListGraphqlApisResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListGraphqlApis request.

type ListResolversByFunctionInput

type ListResolversByFunctionInput struct {

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

	// The Function ID.
	//
	// FunctionId is a required field
	FunctionId *string `location:"uri" locationName:"functionId" 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 you can use to return the next set of items in the list.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListResolversByFunctionInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListResolversByFunctionInput) String

String returns the string representation

func (*ListResolversByFunctionInput) Validate

func (s *ListResolversByFunctionInput) Validate() error

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

type ListResolversByFunctionOutput

type ListResolversByFunctionOutput struct {

	// An identifier that can be used to return the next set of items in the list.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

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

func (ListResolversByFunctionOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListResolversByFunctionOutput) String

String returns the string representation

type ListResolversByFunctionRequest

type ListResolversByFunctionRequest struct {
	*aws.Request
	Input *ListResolversByFunctionInput
	Copy  func(*ListResolversByFunctionInput) ListResolversByFunctionRequest
}

ListResolversByFunctionRequest is the request type for the ListResolversByFunction API operation.

func (ListResolversByFunctionRequest) Send

Send marshals and sends the ListResolversByFunction API request.

type ListResolversByFunctionResponse

type ListResolversByFunctionResponse struct {
	*ListResolversByFunctionOutput
	// contains filtered or unexported fields
}

ListResolversByFunctionResponse is the response type for the ListResolversByFunction API operation.

func (*ListResolversByFunctionResponse) SDKResponseMetdata

func (r *ListResolversByFunctionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListResolversByFunction request.

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" min:"1" 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) MarshalFields

func (s ListResolversInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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" min:"1" type:"string"`

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

func (ListResolversOutput) MarshalFields

func (s ListResolversOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListResolversOutput) String

func (s ListResolversOutput) String() string

String returns the string representation

type ListResolversRequest

type ListResolversRequest struct {
	*aws.Request
	Input *ListResolversInput
	Copy  func(*ListResolversInput) ListResolversRequest
}

ListResolversRequest is the request type for the ListResolvers API operation.

func (ListResolversRequest) Send

Send marshals and sends the ListResolvers API request.

type ListResolversResponse

type ListResolversResponse struct {
	*ListResolversOutput
	// contains filtered or unexported fields
}

ListResolversResponse is the response type for the ListResolvers API operation.

func (*ListResolversResponse) SDKResponseMetdata

func (r *ListResolversResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListResolvers request.

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The GraphqlApi ARN.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"70" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// A TagMap object.
	Tags map[string]string `locationName:"tags" min:"1" type:"map"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTagsForResourceRequest

type ListTagsForResourceRequest struct {
	*aws.Request
	Input *ListTagsForResourceInput
	Copy  func(*ListTagsForResourceInput) ListTagsForResourceRequest
}

ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.

func (ListTagsForResourceRequest) Send

Send marshals and sends the ListTagsForResource API request.

type ListTagsForResourceResponse

type ListTagsForResourceResponse struct {
	*ListTagsForResourceOutput
	// contains filtered or unexported fields
}

ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.

func (*ListTagsForResourceResponse) SDKResponseMetdata

func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListTagsForResource request.

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 TypeDefinitionFormat `location:"querystring" locationName:"format" type:"string" required:"true" enum:"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" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListTypesInput) MarshalFields

func (s ListTypesInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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" min:"1" type:"string"`

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

func (ListTypesOutput) MarshalFields

func (s ListTypesOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTypesOutput) String

func (s ListTypesOutput) String() string

String returns the string representation

type ListTypesRequest

type ListTypesRequest struct {
	*aws.Request
	Input *ListTypesInput
	Copy  func(*ListTypesInput) ListTypesRequest
}

ListTypesRequest is the request type for the ListTypes API operation.

func (ListTypesRequest) Send

Send marshals and sends the ListTypes API request.

type ListTypesResponse

type ListTypesResponse struct {
	*ListTypesOutput
	// contains filtered or unexported fields
}

ListTypesResponse is the response type for the ListTypes API operation.

func (*ListTypesResponse) SDKResponseMetdata

func (r *ListTypesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListTypes request.

type LogConfig

type LogConfig struct {

	// The service role that AWS AppSync will assume to publish to Amazon CloudWatch
	// logs in your account.
	//
	// CloudWatchLogsRoleArn is a required field
	CloudWatchLogsRoleArn *string `locationName:"cloudWatchLogsRoleArn" type:"string" required:"true"`

	// Set to TRUE to exclude sections that contain information such as headers,
	// context, and evaluated mapping templates, regardless of logging level.
	ExcludeVerboseContent *bool `locationName:"excludeVerboseContent" type:"boolean"`

	// The field logging level. Values can be NONE, ERROR, or ALL.
	//
	//    * NONE: No field-level logs are captured.
	//
	//    * ERROR: Logs the following information only for the fields that are in
	//    error: The error section in the server response. Field-level errors. The
	//    generated request/response functions that got resolved for error fields.
	//
	//    * ALL: The following information is logged for all fields in the query:
	//    Field-level tracing information. The generated request/response functions
	//    that got resolved for each field.
	//
	// FieldLogLevel is a required field
	FieldLogLevel FieldLogLevel `locationName:"fieldLogLevel" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

The CloudWatch Logs configuration.

func (LogConfig) MarshalFields

func (s LogConfig) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (LogConfig) String

func (s LogConfig) String() string

String returns the string representation

func (*LogConfig) Validate

func (s *LogConfig) Validate() error

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

type OpenIDConnectConfig

type OpenIDConnectConfig struct {

	// The number of milliseconds a token is valid after being authenticated.
	AuthTTL *int64 `locationName:"authTTL" type:"long"`

	// The client identifier of the Relying party at the OpenID identity provider.
	// This identifier is typically obtained when the Relying party is registered
	// with the OpenID identity provider. You can specify a regular expression so
	// the AWS AppSync can validate against multiple client identifiers at a time.
	ClientId *string `locationName:"clientId" type:"string"`

	// The number of milliseconds a token is valid after being issued to a user.
	IatTTL *int64 `locationName:"iatTTL" type:"long"`

	// The issuer for the OpenID Connect configuration. The issuer returned by discovery
	// must exactly match the value of iss in the ID token.
	//
	// Issuer is a required field
	Issuer *string `locationName:"issuer" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes an OpenID Connect configuration.

func (OpenIDConnectConfig) MarshalFields

func (s OpenIDConnectConfig) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (OpenIDConnectConfig) String

func (s OpenIDConnectConfig) String() string

String returns the string representation

func (*OpenIDConnectConfig) Validate

func (s *OpenIDConnectConfig) Validate() error

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

type OutputType

type OutputType string
const (
	OutputTypeSdl  OutputType = "SDL"
	OutputTypeJson OutputType = "JSON"
)

Enum values for OutputType

func (OutputType) MarshalValue

func (enum OutputType) MarshalValue() (string, error)

func (OutputType) MarshalValueBuf

func (enum OutputType) MarshalValueBuf(b []byte) ([]byte, error)

type PipelineConfig

type PipelineConfig struct {

	// A list of Function objects.
	Functions []string `locationName:"functions" type:"list"`
	// contains filtered or unexported fields
}

The pipeline configuration for a resolver of kind PIPELINE.

func (PipelineConfig) MarshalFields

func (s PipelineConfig) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PipelineConfig) String

func (s PipelineConfig) String() string

String returns the string representation

type RdsHttpEndpointConfig

type RdsHttpEndpointConfig struct {

	// AWS Region for RDS HTTP endpoint.
	AwsRegion *string `locationName:"awsRegion" type:"string"`

	// AWS secret store ARN for database credentials.
	AwsSecretStoreArn *string `locationName:"awsSecretStoreArn" type:"string"`

	// Logical database name.
	DatabaseName *string `locationName:"databaseName" type:"string"`

	// Amazon RDS cluster identifier.
	DbClusterIdentifier *string `locationName:"dbClusterIdentifier" type:"string"`

	// Logical schema name.
	Schema *string `locationName:"schema" type:"string"`
	// contains filtered or unexported fields
}

The Amazon RDS HTTP endpoint configuration.

func (RdsHttpEndpointConfig) MarshalFields

func (s RdsHttpEndpointConfig) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RdsHttpEndpointConfig) String

func (s RdsHttpEndpointConfig) String() string

String returns the string representation

type RelationalDatabaseDataSourceConfig

type RelationalDatabaseDataSourceConfig struct {

	// Amazon RDS HTTP endpoint settings.
	RdsHttpEndpointConfig *RdsHttpEndpointConfig `locationName:"rdsHttpEndpointConfig" type:"structure"`

	// Source type for the relational database.
	//
	//    * RDS_HTTP_ENDPOINT: The relational database source type is an Amazon
	//    RDS HTTP endpoint.
	RelationalDatabaseSourceType RelationalDatabaseSourceType `locationName:"relationalDatabaseSourceType" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes a relational database data source configuration.

func (RelationalDatabaseDataSourceConfig) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RelationalDatabaseDataSourceConfig) String

String returns the string representation

type RelationalDatabaseSourceType

type RelationalDatabaseSourceType string
const (
	RelationalDatabaseSourceTypeRdsHttpEndpoint RelationalDatabaseSourceType = "RDS_HTTP_ENDPOINT"
)

Enum values for RelationalDatabaseSourceType

func (RelationalDatabaseSourceType) MarshalValue

func (enum RelationalDatabaseSourceType) MarshalValue() (string, error)

func (RelationalDatabaseSourceType) MarshalValueBuf

func (enum RelationalDatabaseSourceType) MarshalValueBuf(b []byte) ([]byte, error)

type Resolver

type Resolver struct {

	// The caching configuration for the resolver.
	CachingConfig *CachingConfig `locationName:"cachingConfig" type:"structure"`

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

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

	// The resolver type.
	//
	//    * UNIT: A UNIT resolver type. A UNIT resolver is the default resolver
	//    type. A UNIT resolver enables you to execute a GraphQL query against a
	//    single data source.
	//
	//    * PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you
	//    to execute a series of Function in a serial manner. You can use a pipeline
	//    resolver to execute a GraphQL query against multiple data sources.
	Kind ResolverKind `locationName:"kind" type:"string" enum:"true"`

	// The PipelineConfig.
	PipelineConfig *PipelineConfig `locationName:"pipelineConfig" type:"structure"`

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

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

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

	// The SyncConfig for a resolver attached to a versioned datasource.
	SyncConfig *SyncConfig `locationName:"syncConfig" type:"structure"`

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

Describes a resolver.

func (Resolver) MarshalFields

func (s Resolver) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Resolver) String

func (s Resolver) String() string

String returns the string representation

type ResolverKind

type ResolverKind string
const (
	ResolverKindUnit     ResolverKind = "UNIT"
	ResolverKindPipeline ResolverKind = "PIPELINE"
)

Enum values for ResolverKind

func (ResolverKind) MarshalValue

func (enum ResolverKind) MarshalValue() (string, error)

func (ResolverKind) MarshalValueBuf

func (enum ResolverKind) MarshalValueBuf(b []byte) ([]byte, error)

type SchemaStatus

type SchemaStatus string
const (
	SchemaStatusProcessing    SchemaStatus = "PROCESSING"
	SchemaStatusActive        SchemaStatus = "ACTIVE"
	SchemaStatusDeleting      SchemaStatus = "DELETING"
	SchemaStatusFailed        SchemaStatus = "FAILED"
	SchemaStatusSuccess       SchemaStatus = "SUCCESS"
	SchemaStatusNotApplicable SchemaStatus = "NOT_APPLICABLE"
)

Enum values for SchemaStatus

func (SchemaStatus) MarshalValue

func (enum SchemaStatus) MarshalValue() (string, error)

func (SchemaStatus) MarshalValueBuf

func (enum SchemaStatus) MarshalValueBuf(b []byte) ([]byte, error)

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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, FAILED, SUCCESS, or NOT_APPLICABLE).
	// When the schema is in the ACTIVE state, you can add data.
	Status SchemaStatus `locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (StartSchemaCreationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StartSchemaCreationOutput) String

func (s StartSchemaCreationOutput) String() string

String returns the string representation

type StartSchemaCreationRequest

type StartSchemaCreationRequest struct {
	*aws.Request
	Input *StartSchemaCreationInput
	Copy  func(*StartSchemaCreationInput) StartSchemaCreationRequest
}

StartSchemaCreationRequest is the request type for the StartSchemaCreation API operation.

func (StartSchemaCreationRequest) Send

Send marshals and sends the StartSchemaCreation API request.

type StartSchemaCreationResponse

type StartSchemaCreationResponse struct {
	*StartSchemaCreationOutput
	// contains filtered or unexported fields
}

StartSchemaCreationResponse is the response type for the StartSchemaCreation API operation.

func (*StartSchemaCreationResponse) SDKResponseMetdata

func (r *StartSchemaCreationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StartSchemaCreation request.

type SyncConfig

type SyncConfig struct {

	// The Conflict Detection strategy to use.
	//
	//    * VERSION: Detect conflicts based on object versions for this resolver.
	//
	//    * NONE: Do not detect conflicts when executing this resolver.
	ConflictDetection ConflictDetectionType `locationName:"conflictDetection" type:"string" enum:"true"`

	// The Conflict Resolution strategy to perform in the event of a conflict.
	//
	//    * OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when
	//    versions do not match the latest version at the server.
	//
	//    * AUTOMERGE: Resolve conflicts with the Automerge conflict resolution
	//    strategy.
	//
	//    * LAMBDA: Resolve conflicts with a Lambda function supplied in the LambdaConflictHandlerConfig.
	ConflictHandler ConflictHandlerType `locationName:"conflictHandler" type:"string" enum:"true"`

	// The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.
	LambdaConflictHandlerConfig *LambdaConflictHandlerConfig `locationName:"lambdaConflictHandlerConfig" type:"structure"`
	// contains filtered or unexported fields
}

Describes a Sync configuration for a resolver.

Contains information on which Conflict Detection as well as Resolution strategy should be performed when the resolver is invoked.

func (SyncConfig) MarshalFields

func (s SyncConfig) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SyncConfig) String

func (s SyncConfig) String() string

String returns the string representation

type TagResourceInput

type TagResourceInput struct {

	// The GraphqlApi ARN.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"70" type:"string" required:"true"`

	// A TagMap object.
	//
	// Tags is a required field
	Tags map[string]string `locationName:"tags" min:"1" type:"map" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) MarshalFields

func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput

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

func (TagResourceOutput) MarshalFields

func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest

type TagResourceRequest struct {
	*aws.Request
	Input *TagResourceInput
	Copy  func(*TagResourceInput) TagResourceRequest
}

TagResourceRequest is the request type for the TagResource API operation.

func (TagResourceRequest) Send

Send marshals and sends the TagResource API request.

type TagResourceResponse

type TagResourceResponse struct {
	*TagResourceOutput
	// contains filtered or unexported fields
}

TagResourceResponse is the response type for the TagResource API operation.

func (*TagResourceResponse) SDKResponseMetdata

func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the TagResource request.

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 TypeDefinitionFormat `locationName:"format" type:"string" enum:"true"`

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

Describes a type.

func (Type) MarshalFields

func (s Type) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Type) String

func (s Type) String() string

String returns the string representation

type TypeDefinitionFormat

type TypeDefinitionFormat string
const (
	TypeDefinitionFormatSdl  TypeDefinitionFormat = "SDL"
	TypeDefinitionFormatJson TypeDefinitionFormat = "JSON"
)

Enum values for TypeDefinitionFormat

func (TypeDefinitionFormat) MarshalValue

func (enum TypeDefinitionFormat) MarshalValue() (string, error)

func (TypeDefinitionFormat) MarshalValueBuf

func (enum TypeDefinitionFormat) MarshalValueBuf(b []byte) ([]byte, error)

type UntagResourceInput

type UntagResourceInput struct {

	// The GraphqlApi ARN.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"70" type:"string" required:"true"`

	// A list of TagKey objects.
	//
	// TagKeys is a required field
	TagKeys []string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) MarshalFields

func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput

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

func (UntagResourceOutput) MarshalFields

func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest

type UntagResourceRequest struct {
	*aws.Request
	Input *UntagResourceInput
	Copy  func(*UntagResourceInput) UntagResourceRequest
}

UntagResourceRequest is the request type for the UntagResource API operation.

func (UntagResourceRequest) Send

Send marshals and sends the UntagResource API request.

type UntagResourceResponse

type UntagResourceResponse struct {
	*UntagResourceOutput
	// contains filtered or unexported fields
}

UntagResourceResponse is the response type for the UntagResource API operation.

func (*UntagResourceResponse) SDKResponseMetdata

func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UntagResource request.

type UpdateApiCacheInput

type UpdateApiCacheInput struct {

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

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

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

	// The cache instance type.
	//
	//    * T2_SMALL: A t2.small instance type.
	//
	//    * T2_MEDIUM: A t2.medium instance type.
	//
	//    * R4_LARGE: A r4.large instance type.
	//
	//    * R4_XLARGE: A r4.xlarge instance type.
	//
	//    * R4_2XLARGE: A r4.2xlarge instance type.
	//
	//    * R4_4XLARGE: A r4.4xlarge instance type.
	//
	//    * R4_8XLARGE: A r4.8xlarge instance type.
	//
	// Type is a required field
	Type ApiCacheType `locationName:"type" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Represents the input of a UpdateApiCache operation.

func (UpdateApiCacheInput) MarshalFields

func (s UpdateApiCacheInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateApiCacheInput) String

func (s UpdateApiCacheInput) String() string

String returns the string representation

func (*UpdateApiCacheInput) Validate

func (s *UpdateApiCacheInput) Validate() error

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

type UpdateApiCacheOutput

type UpdateApiCacheOutput struct {

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

Represents the output of a UpdateApiCache operation.

func (UpdateApiCacheOutput) MarshalFields

func (s UpdateApiCacheOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateApiCacheOutput) String

func (s UpdateApiCacheOutput) String() string

String returns the string representation

type UpdateApiCacheRequest

type UpdateApiCacheRequest struct {
	*aws.Request
	Input *UpdateApiCacheInput
	Copy  func(*UpdateApiCacheInput) UpdateApiCacheRequest
}

UpdateApiCacheRequest is the request type for the UpdateApiCache API operation.

func (UpdateApiCacheRequest) Send

Send marshals and sends the UpdateApiCache API request.

type UpdateApiCacheResponse

type UpdateApiCacheResponse struct {
	*UpdateApiCacheOutput
	// contains filtered or unexported fields
}

UpdateApiCacheResponse is the response type for the UpdateApiCache API operation.

func (*UpdateApiCacheResponse) SDKResponseMetdata

func (r *UpdateApiCacheResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateApiCache request.

type UpdateApiKeyInput

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 from update time after which the API key expires. The date is represented
	// as seconds since the epoch. For more information, see .
	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) MarshalFields

func (s UpdateApiKeyInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateApiKeyInput) String

func (s UpdateApiKeyInput) String() string

String returns the string representation

func (*UpdateApiKeyInput) Validate

func (s *UpdateApiKeyInput) Validate() error

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

type UpdateApiKeyOutput

type UpdateApiKeyOutput struct {

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

func (UpdateApiKeyOutput) MarshalFields

func (s UpdateApiKeyOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateApiKeyOutput) String

func (s UpdateApiKeyOutput) String() string

String returns the string representation

type UpdateApiKeyRequest

type UpdateApiKeyRequest struct {
	*aws.Request
	Input *UpdateApiKeyInput
	Copy  func(*UpdateApiKeyInput) UpdateApiKeyRequest
}

UpdateApiKeyRequest is the request type for the UpdateApiKey API operation.

func (UpdateApiKeyRequest) Send

Send marshals and sends the UpdateApiKey API request.

type UpdateApiKeyResponse

type UpdateApiKeyResponse struct {
	*UpdateApiKeyOutput
	// contains filtered or unexported fields
}

UpdateApiKeyResponse is the response type for the UpdateApiKey API operation.

func (*UpdateApiKeyResponse) SDKResponseMetdata

func (r *UpdateApiKeyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateApiKey request.

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 Amazon DynamoDB configuration.
	DynamodbConfig *DynamodbDataSourceConfig `locationName:"dynamodbConfig" type:"structure"`

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

	// The new HTTP endpoint configuration.
	HttpConfig *HttpDataSourceConfig `locationName:"httpConfig" type:"structure"`

	// The new AWS 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" min:"1" type:"string" required:"true"`

	// The new relational database configuration.
	RelationalDatabaseConfig *RelationalDatabaseDataSourceConfig `locationName:"relationalDatabaseConfig" type:"structure"`

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

func (UpdateDataSourceInput) MarshalFields

func (s UpdateDataSourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateDataSourceOutput) String

func (s UpdateDataSourceOutput) String() string

String returns the string representation

type UpdateDataSourceRequest

type UpdateDataSourceRequest struct {
	*aws.Request
	Input *UpdateDataSourceInput
	Copy  func(*UpdateDataSourceInput) UpdateDataSourceRequest
}

UpdateDataSourceRequest is the request type for the UpdateDataSource API operation.

func (UpdateDataSourceRequest) Send

Send marshals and sends the UpdateDataSource API request.

type UpdateDataSourceResponse

type UpdateDataSourceResponse struct {
	*UpdateDataSourceOutput
	// contains filtered or unexported fields
}

UpdateDataSourceResponse is the response type for the UpdateDataSource API operation.

func (*UpdateDataSourceResponse) SDKResponseMetdata

func (r *UpdateDataSourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateDataSource request.

type UpdateFunctionInput

type UpdateFunctionInput struct {

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

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

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

	// The function ID.
	//
	// FunctionId is a required field
	FunctionId *string `location:"uri" locationName:"functionId" min:"1" type:"string" required:"true"`

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

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

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

	// The Function request mapping template.
	ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateFunctionInput) MarshalFields

func (s UpdateFunctionInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateFunctionInput) String

func (s UpdateFunctionInput) String() string

String returns the string representation

func (*UpdateFunctionInput) Validate

func (s *UpdateFunctionInput) Validate() error

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

type UpdateFunctionOutput

type UpdateFunctionOutput struct {

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

func (UpdateFunctionOutput) MarshalFields

func (s UpdateFunctionOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateFunctionOutput) String

func (s UpdateFunctionOutput) String() string

String returns the string representation

type UpdateFunctionRequest

type UpdateFunctionRequest struct {
	*aws.Request
	Input *UpdateFunctionInput
	Copy  func(*UpdateFunctionInput) UpdateFunctionRequest
}

UpdateFunctionRequest is the request type for the UpdateFunction API operation.

func (UpdateFunctionRequest) Send

Send marshals and sends the UpdateFunction API request.

type UpdateFunctionResponse

type UpdateFunctionResponse struct {
	*UpdateFunctionOutput
	// contains filtered or unexported fields
}

UpdateFunctionResponse is the response type for the UpdateFunction API operation.

func (*UpdateFunctionResponse) SDKResponseMetdata

func (r *UpdateFunctionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateFunction request.

type UpdateGraphqlApiInput

type UpdateGraphqlApiInput struct {

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

	// 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 AuthenticationType `locationName:"authenticationType" type:"string" enum:"true"`

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

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

	// The OpenID Connect configuration for the GraphqlApi object.
	OpenIDConnectConfig *OpenIDConnectConfig `locationName:"openIDConnectConfig" type:"structure"`

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

func (UpdateGraphqlApiInput) MarshalFields

func (s UpdateGraphqlApiInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateGraphqlApiOutput) String

func (s UpdateGraphqlApiOutput) String() string

String returns the string representation

type UpdateGraphqlApiRequest

type UpdateGraphqlApiRequest struct {
	*aws.Request
	Input *UpdateGraphqlApiInput
	Copy  func(*UpdateGraphqlApiInput) UpdateGraphqlApiRequest
}

UpdateGraphqlApiRequest is the request type for the UpdateGraphqlApi API operation.

func (UpdateGraphqlApiRequest) Send

Send marshals and sends the UpdateGraphqlApi API request.

type UpdateGraphqlApiResponse

type UpdateGraphqlApiResponse struct {
	*UpdateGraphqlApiOutput
	// contains filtered or unexported fields
}

UpdateGraphqlApiResponse is the response type for the UpdateGraphqlApi API operation.

func (*UpdateGraphqlApiResponse) SDKResponseMetdata

func (r *UpdateGraphqlApiResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateGraphqlApi request.

type UpdateResolverInput

type UpdateResolverInput struct {

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

	// The caching configuration for the resolver.
	CachingConfig *CachingConfig `locationName:"cachingConfig" type:"structure"`

	// The new data source name.
	DataSourceName *string `locationName:"dataSourceName" min:"1" type:"string"`

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

	// The resolver type.
	//
	//    * UNIT: A UNIT resolver type. A UNIT resolver is the default resolver
	//    type. A UNIT resolver enables you to execute a GraphQL query against a
	//    single data source.
	//
	//    * PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you
	//    to execute a series of Function in a serial manner. You can use a pipeline
	//    resolver to execute a GraphQL query against multiple data sources.
	Kind ResolverKind `locationName:"kind" type:"string" enum:"true"`

	// The PipelineConfig.
	PipelineConfig *PipelineConfig `locationName:"pipelineConfig" type:"structure"`

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

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

	// The SyncConfig for a resolver attached to a versioned datasource.
	SyncConfig *SyncConfig `locationName:"syncConfig" type:"structure"`

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

func (UpdateResolverInput) MarshalFields

func (s UpdateResolverInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

func (s UpdateResolverOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateResolverOutput) String

func (s UpdateResolverOutput) String() string

String returns the string representation

type UpdateResolverRequest

type UpdateResolverRequest struct {
	*aws.Request
	Input *UpdateResolverInput
	Copy  func(*UpdateResolverInput) UpdateResolverRequest
}

UpdateResolverRequest is the request type for the UpdateResolver API operation.

func (UpdateResolverRequest) Send

Send marshals and sends the UpdateResolver API request.

type UpdateResolverResponse

type UpdateResolverResponse struct {
	*UpdateResolverOutput
	// contains filtered or unexported fields
}

UpdateResolverResponse is the response type for the UpdateResolver API operation.

func (*UpdateResolverResponse) SDKResponseMetdata

func (r *UpdateResolverResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateResolver request.

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 TypeDefinitionFormat `locationName:"format" type:"string" required:"true" enum:"true"`

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

func (UpdateTypeInput) MarshalFields

func (s UpdateTypeInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

func (s UpdateTypeOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateTypeOutput) String

func (s UpdateTypeOutput) String() string

String returns the string representation

type UpdateTypeRequest

type UpdateTypeRequest struct {
	*aws.Request
	Input *UpdateTypeInput
	Copy  func(*UpdateTypeInput) UpdateTypeRequest
}

UpdateTypeRequest is the request type for the UpdateType API operation.

func (UpdateTypeRequest) Send

Send marshals and sends the UpdateType API request.

type UpdateTypeResponse

type UpdateTypeResponse struct {
	*UpdateTypeOutput
	// contains filtered or unexported fields
}

UpdateTypeResponse is the response type for the UpdateType API operation.

func (*UpdateTypeResponse) SDKResponseMetdata

func (r *UpdateTypeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateType request.

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 DefaultAction `locationName:"defaultAction" type:"string" required:"true" enum:"true"`

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

Describes an Amazon Cognito user pool configuration.

func (UserPoolConfig) MarshalFields

func (s UserPoolConfig) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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.

Source Files

api_client.go api_doc.go api_enums.go api_errors.go api_op_CreateApiCache.go api_op_CreateApiKey.go api_op_CreateDataSource.go api_op_CreateFunction.go api_op_CreateGraphqlApi.go api_op_CreateResolver.go api_op_CreateType.go api_op_DeleteApiCache.go api_op_DeleteApiKey.go api_op_DeleteDataSource.go api_op_DeleteFunction.go api_op_DeleteGraphqlApi.go api_op_DeleteResolver.go api_op_DeleteType.go api_op_FlushApiCache.go api_op_GetApiCache.go api_op_GetDataSource.go api_op_GetFunction.go api_op_GetGraphqlApi.go api_op_GetIntrospectionSchema.go api_op_GetResolver.go api_op_GetSchemaCreationStatus.go api_op_GetType.go api_op_ListApiKeys.go api_op_ListDataSources.go api_op_ListFunctions.go api_op_ListGraphqlApis.go api_op_ListResolvers.go api_op_ListResolversByFunction.go api_op_ListTagsForResource.go api_op_ListTypes.go api_op_StartSchemaCreation.go api_op_TagResource.go api_op_UntagResource.go api_op_UpdateApiCache.go api_op_UpdateApiKey.go api_op_UpdateDataSource.go api_op_UpdateFunction.go api_op_UpdateGraphqlApi.go api_op_UpdateResolver.go api_op_UpdateType.go api_types.go

Directories

PathSynopsis
service/appsync/appsyncifacePackage appsynciface provides an interface to enable mocking the AWS AppSync service client for testing your code.
Version
v0.19.0
Published
Jan 30, 2020
Platform
windows/amd64
Imports
7 packages
Last checked
46 seconds ago

Tools for package owners.