appsync

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: Apache-2.0 Imports: 7 Imported by: 44

Documentation

Overview

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

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

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

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

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

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

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

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

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

	// ErrCodeInternalFailureException for service response error code
	// "InternalFailureException".
	//
	// An internal 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"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AdditionalAuthenticationProvider added in v0.9.0

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AdditionalAuthenticationProvider

func (AdditionalAuthenticationProvider) MarshalFields added in v0.9.0

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

func (AdditionalAuthenticationProvider) String added in v0.9.0

String returns the string representation

func (*AdditionalAuthenticationProvider) Validate added in v0.9.0

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

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.

  • ListApiKeys returns the expiration time in milliseconds.

  • CreateApiKey returns the expiration time in milliseconds.

  • UpdateApiKey is not available for this key version.

  • DeleteApiKey deletes the item from the table.

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

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

  • ListApiKeys returns the expiration time in seconds.

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

  • UpdateApiKey returns the expiration time in seconds and accepts a user-provided expiration time in seconds. Key expiration can only be updated while the key has not expired.

  • DeleteApiKey deletes the item from the table.

  • Expiration is stored in Amazon DynamoDB as seconds.

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

func (ApiKey) MarshalFields added in v0.3.0

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 added in v0.3.0

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

func (AuthenticationType) MarshalValueBuf added in v0.3.0

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

type AuthorizationConfig added in v0.6.0

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AuthorizationConfig

func (AuthorizationConfig) MarshalFields added in v0.6.0

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

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

func (AuthorizationConfig) String added in v0.6.0

func (s AuthorizationConfig) String() string

String returns the string representation

func (*AuthorizationConfig) Validate added in v0.6.0

func (s *AuthorizationConfig) Validate() error

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

type AuthorizationType added in v0.6.0

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

Enum values for AuthorizationType

func (AuthorizationType) MarshalValue added in v0.6.0

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

func (AuthorizationType) MarshalValueBuf added in v0.6.0

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

type AwsIamConfig added in v0.6.0

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AwsIamConfig

func (AwsIamConfig) MarshalFields added in v0.6.0

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

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

func (AwsIamConfig) String added in v0.6.0

func (s AwsIamConfig) String() string

String returns the string representation

type Client added in v0.9.0

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) CreateApiKeyRequest added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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) DeleteApiKeyRequest added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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) GetDataSourceRequest added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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) UpdateApiKeyRequest added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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 added in v0.9.0

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CognitoUserPoolConfig

func (CognitoUserPoolConfig) MarshalFields added in v0.9.0

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

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

func (CognitoUserPoolConfig) String added in v0.9.0

func (s CognitoUserPoolConfig) String() string

String returns the string representation

func (*CognitoUserPoolConfig) Validate added in v0.9.0

func (s *CognitoUserPoolConfig) Validate() error

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

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
}

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

func (CreateApiKeyInput) MarshalFields added in v0.3.0

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
}

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

func (CreateApiKeyOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

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

CreateApiKeyResponse is the response type for the CreateApiKey API operation.

func (*CreateApiKeyResponse) SDKResponseMetdata added in v0.9.0

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

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

func (CreateDataSourceInput) MarshalFields added in v0.3.0

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
}

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

func (CreateDataSourceOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

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

CreateDataSourceResponse is the response type for the CreateDataSource API operation.

func (*CreateDataSourceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateDataSource request.

type CreateFunctionInput added in v0.6.0

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

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

func (CreateFunctionInput) MarshalFields added in v0.6.0

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

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

func (CreateFunctionInput) String added in v0.6.0

func (s CreateFunctionInput) String() string

String returns the string representation

func (*CreateFunctionInput) Validate added in v0.6.0

func (s *CreateFunctionInput) Validate() error

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

type CreateFunctionOutput added in v0.6.0

type CreateFunctionOutput struct {

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

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

func (CreateFunctionOutput) MarshalFields added in v0.6.0

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

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

func (CreateFunctionOutput) String added in v0.6.0

func (s CreateFunctionOutput) String() string

String returns the string representation

type CreateFunctionRequest added in v0.6.0

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

CreateFunctionRequest is the request type for the CreateFunction API operation.

func (CreateFunctionRequest) Send added in v0.6.0

Send marshals and sends the CreateFunction API request.

type CreateFunctionResponse added in v0.9.0

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

CreateFunctionResponse is the response type for the CreateFunction API operation.

func (*CreateFunctionResponse) SDKResponseMetdata added in v0.9.0

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
}

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

func (CreateGraphqlApiInput) MarshalFields added in v0.3.0

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
}

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

func (CreateGraphqlApiOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

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

CreateGraphqlApiResponse is the response type for the CreateGraphqlApi API operation.

func (*CreateGraphqlApiResponse) SDKResponseMetdata added in v0.9.0

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

	// The name of the field to attach the resolver to.
	//
	// FieldName is a required field
	FieldName *string `locationName:"fieldName" 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 name of the Type.
	//
	// TypeName is a required field
	TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

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

func (CreateResolverInput) MarshalFields added in v0.3.0

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
}

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

func (CreateResolverOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

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

CreateResolverResponse is the response type for the CreateResolver API operation.

func (*CreateResolverResponse) SDKResponseMetdata added in v0.9.0

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
}

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

func (CreateTypeInput) MarshalFields added in v0.3.0

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
}

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

func (CreateTypeOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

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

CreateTypeResponse is the response type for the CreateType API operation.

func (*CreateTypeResponse) SDKResponseMetdata added in v0.9.0

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" 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DataSource

func (DataSource) MarshalFields added in v0.3.0

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 added in v0.3.0

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

func (DataSourceType) MarshalValueBuf added in v0.3.0

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 added in v0.3.0

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

func (DefaultAction) MarshalValueBuf added in v0.3.0

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

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
}

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

func (DeleteApiKeyInput) MarshalFields added in v0.3.0

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
}

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

func (DeleteApiKeyOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

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

DeleteApiKeyResponse is the response type for the DeleteApiKey API operation.

func (*DeleteApiKeyResponse) SDKResponseMetdata added in v0.9.0

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

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

func (DeleteDataSourceInput) MarshalFields added in v0.3.0

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
}

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

func (DeleteDataSourceOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

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

DeleteDataSourceResponse is the response type for the DeleteDataSource API operation.

func (*DeleteDataSourceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteDataSource request.

type DeleteFunctionInput added in v0.6.0

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

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

func (DeleteFunctionInput) MarshalFields added in v0.6.0

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

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

func (DeleteFunctionInput) String added in v0.6.0

func (s DeleteFunctionInput) String() string

String returns the string representation

func (*DeleteFunctionInput) Validate added in v0.6.0

func (s *DeleteFunctionInput) Validate() error

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

type DeleteFunctionOutput added in v0.6.0

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

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

func (DeleteFunctionOutput) MarshalFields added in v0.6.0

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

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

func (DeleteFunctionOutput) String added in v0.6.0

func (s DeleteFunctionOutput) String() string

String returns the string representation

type DeleteFunctionRequest added in v0.6.0

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

DeleteFunctionRequest is the request type for the DeleteFunction API operation.

func (DeleteFunctionRequest) Send added in v0.6.0

Send marshals and sends the DeleteFunction API request.

type DeleteFunctionResponse added in v0.9.0

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

DeleteFunctionResponse is the response type for the DeleteFunction API operation.

func (*DeleteFunctionResponse) SDKResponseMetdata added in v0.9.0

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
}

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

func (DeleteGraphqlApiInput) MarshalFields added in v0.3.0

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
}

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

func (DeleteGraphqlApiOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

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

DeleteGraphqlApiResponse is the response type for the DeleteGraphqlApi API operation.

func (*DeleteGraphqlApiResponse) SDKResponseMetdata added in v0.9.0

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

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

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

func (DeleteResolverInput) MarshalFields added in v0.3.0

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
}

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

func (DeleteResolverOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

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

DeleteResolverResponse is the response type for the DeleteResolver API operation.

func (*DeleteResolverResponse) SDKResponseMetdata added in v0.9.0

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

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

func (DeleteTypeInput) MarshalFields added in v0.3.0

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
}

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

func (DeleteTypeOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

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

DeleteTypeResponse is the response type for the DeleteType API operation.

func (*DeleteTypeResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteType request.

type DynamodbDataSourceConfig

type DynamodbDataSourceConfig struct {

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

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

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

Describes an Amazon DynamoDB data source configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DynamodbDataSourceConfig

func (DynamodbDataSourceConfig) MarshalFields added in v0.3.0

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ElasticsearchDataSourceConfig

func (ElasticsearchDataSourceConfig) MarshalFields added in v0.3.0

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 added in v0.4.0

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

Enum values for FieldLogLevel

func (FieldLogLevel) MarshalValue added in v0.4.0

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

func (FieldLogLevel) MarshalValueBuf added in v0.4.0

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

type FunctionConfiguration added in v0.6.0

type FunctionConfiguration struct {

	// The name of the DataSource.
	DataSourceName *string `locationName:"dataSourceName" 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" 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/FunctionConfiguration

func (FunctionConfiguration) MarshalFields added in v0.6.0

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

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

func (FunctionConfiguration) String added in v0.6.0

func (s FunctionConfiguration) String() string

String returns the string representation

type GetDataSourceInput

type GetDataSourceInput struct {

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

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

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

func (GetDataSourceInput) MarshalFields added in v0.3.0

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
}

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

func (GetDataSourceOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

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

GetDataSourceResponse is the response type for the GetDataSource API operation.

func (*GetDataSourceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetDataSource request.

type GetFunctionInput added in v0.6.0

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

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

func (GetFunctionInput) MarshalFields added in v0.6.0

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

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

func (GetFunctionInput) String added in v0.6.0

func (s GetFunctionInput) String() string

String returns the string representation

func (*GetFunctionInput) Validate added in v0.6.0

func (s *GetFunctionInput) Validate() error

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

type GetFunctionOutput added in v0.6.0

type GetFunctionOutput struct {

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

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

func (GetFunctionOutput) MarshalFields added in v0.6.0

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

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

func (GetFunctionOutput) String added in v0.6.0

func (s GetFunctionOutput) String() string

String returns the string representation

type GetFunctionRequest added in v0.6.0

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

GetFunctionRequest is the request type for the GetFunction API operation.

func (GetFunctionRequest) Send added in v0.6.0

Send marshals and sends the GetFunction API request.

type GetFunctionResponse added in v0.9.0

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

GetFunctionResponse is the response type for the GetFunction API operation.

func (*GetFunctionResponse) SDKResponseMetdata added in v0.9.0

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
}

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

func (GetGraphqlApiInput) MarshalFields added in v0.3.0

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
}

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

func (GetGraphqlApiOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

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

GetGraphqlApiResponse is the response type for the GetGraphqlApi API operation.

func (*GetGraphqlApiResponse) SDKResponseMetdata added in v0.9.0

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
}

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

func (GetIntrospectionSchemaInput) MarshalFields added in v0.3.0

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
}

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

func (GetIntrospectionSchemaOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

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

GetIntrospectionSchemaResponse is the response type for the GetIntrospectionSchema API operation.

func (*GetIntrospectionSchemaResponse) SDKResponseMetdata added in v0.9.0

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

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

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

func (GetResolverInput) MarshalFields added in v0.3.0

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
}

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

func (GetResolverOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

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

GetResolverResponse is the response type for the GetResolver API operation.

func (*GetResolverResponse) SDKResponseMetdata added in v0.9.0

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
}

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

func (GetSchemaCreationStatusInput) MarshalFields added in v0.3.0

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
}

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

func (GetSchemaCreationStatusOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

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

GetSchemaCreationStatusResponse is the response type for the GetSchemaCreationStatus API operation.

func (*GetSchemaCreationStatusResponse) SDKResponseMetdata added in v0.9.0

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

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

func (GetTypeInput) MarshalFields added in v0.3.0

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
}

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

func (GetTypeOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

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

GetTypeResponse is the response type for the GetType API operation.

func (*GetTypeResponse) SDKResponseMetdata added in v0.9.0

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" 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GraphqlApi

func (GraphqlApi) MarshalFields added in v0.3.0

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 added in v0.5.0

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/HttpDataSourceConfig

func (HttpDataSourceConfig) MarshalFields added in v0.5.0

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

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

func (HttpDataSourceConfig) String added in v0.5.0

func (s HttpDataSourceConfig) String() string

String returns the string representation

func (*HttpDataSourceConfig) Validate added in v0.6.0

func (s *HttpDataSourceConfig) Validate() error

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

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/LambdaDataSourceConfig

func (LambdaDataSourceConfig) MarshalFields added in v0.3.0

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

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

func (ListApiKeysInput) MarshalFields added in v0.3.0

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

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

func (ListApiKeysOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

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

ListApiKeysResponse is the response type for the ListApiKeys API operation.

func (*ListApiKeysResponse) SDKResponseMetdata added in v0.9.0

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

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

func (ListDataSourcesInput) MarshalFields added in v0.3.0

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

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

func (ListDataSourcesOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

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

ListDataSourcesResponse is the response type for the ListDataSources API operation.

func (*ListDataSourcesResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ListDataSources request.

type ListFunctionsInput added in v0.6.0

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

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

func (ListFunctionsInput) MarshalFields added in v0.6.0

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

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

func (ListFunctionsInput) String added in v0.6.0

func (s ListFunctionsInput) String() string

String returns the string representation

func (*ListFunctionsInput) Validate added in v0.6.0

func (s *ListFunctionsInput) Validate() error

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

type ListFunctionsOutput added in v0.6.0

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

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

func (ListFunctionsOutput) MarshalFields added in v0.6.0

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

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

func (ListFunctionsOutput) String added in v0.6.0

func (s ListFunctionsOutput) String() string

String returns the string representation

type ListFunctionsRequest added in v0.6.0

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

ListFunctionsRequest is the request type for the ListFunctions API operation.

func (ListFunctionsRequest) Send added in v0.6.0

Send marshals and sends the ListFunctions API request.

type ListFunctionsResponse added in v0.9.0

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

ListFunctionsResponse is the response type for the ListFunctions API operation.

func (*ListFunctionsResponse) SDKResponseMetdata added in v0.9.0

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

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

func (ListGraphqlApisInput) MarshalFields added in v0.3.0

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

type ListGraphqlApisOutput

type ListGraphqlApisOutput struct {

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

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

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

func (ListGraphqlApisOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

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

ListGraphqlApisResponse is the response type for the ListGraphqlApis API operation.

func (*ListGraphqlApisResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ListGraphqlApis request.

type ListResolversByFunctionInput added in v0.6.0

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

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

func (ListResolversByFunctionInput) MarshalFields added in v0.6.0

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

func (ListResolversByFunctionInput) String added in v0.6.0

String returns the string representation

func (*ListResolversByFunctionInput) Validate added in v0.6.0

func (s *ListResolversByFunctionInput) Validate() error

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

type ListResolversByFunctionOutput added in v0.6.0

type ListResolversByFunctionOutput struct {

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

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

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

func (ListResolversByFunctionOutput) MarshalFields added in v0.6.0

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

func (ListResolversByFunctionOutput) String added in v0.6.0

String returns the string representation

type ListResolversByFunctionRequest added in v0.6.0

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

ListResolversByFunctionRequest is the request type for the ListResolversByFunction API operation.

func (ListResolversByFunctionRequest) Send added in v0.6.0

Send marshals and sends the ListResolversByFunction API request.

type ListResolversByFunctionResponse added in v0.9.0

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

ListResolversByFunctionResponse is the response type for the ListResolversByFunction API operation.

func (*ListResolversByFunctionResponse) SDKResponseMetdata added in v0.9.0

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

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

func (ListResolversInput) MarshalFields added in v0.3.0

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

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

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

func (ListResolversOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

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

ListResolversResponse is the response type for the ListResolvers API operation.

func (*ListResolversResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ListResolvers request.

type ListTagsForResourceInput added in v0.9.0

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
}

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

func (ListTagsForResourceInput) MarshalFields added in v0.9.0

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

func (ListTagsForResourceInput) String added in v0.9.0

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate added in v0.9.0

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput added in v0.9.0

type ListTagsForResourceOutput struct {

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

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

func (ListTagsForResourceOutput) MarshalFields added in v0.9.0

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

func (ListTagsForResourceOutput) String added in v0.9.0

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTagsForResourceRequest added in v0.9.0

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

ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.

func (ListTagsForResourceRequest) Send added in v0.9.0

Send marshals and sends the ListTagsForResource API request.

type ListTagsForResourceResponse added in v0.9.0

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

ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.

func (*ListTagsForResourceResponse) SDKResponseMetdata added in v0.9.0

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

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

func (ListTypesInput) MarshalFields added in v0.3.0

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

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

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

func (ListTypesOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

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

ListTypesResponse is the response type for the ListTypes API operation.

func (*ListTypesResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ListTypes request.

type LogConfig added in v0.4.0

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/LogConfig

func (LogConfig) MarshalFields added in v0.4.0

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

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

func (LogConfig) String added in v0.4.0

func (s LogConfig) String() string

String returns the string representation

func (*LogConfig) Validate added in v0.4.0

func (s *LogConfig) Validate() error

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

type OpenIDConnectConfig added in v0.4.0

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/OpenIDConnectConfig

func (OpenIDConnectConfig) MarshalFields added in v0.4.0

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

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

func (OpenIDConnectConfig) String added in v0.4.0

func (s OpenIDConnectConfig) String() string

String returns the string representation

func (*OpenIDConnectConfig) Validate added in v0.4.0

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 added in v0.3.0

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

func (OutputType) MarshalValueBuf added in v0.3.0

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

type PipelineConfig added in v0.6.0

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/PipelineConfig

func (PipelineConfig) MarshalFields added in v0.6.0

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

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

func (PipelineConfig) String added in v0.6.0

func (s PipelineConfig) String() string

String returns the string representation

type RdsHttpEndpointConfig added in v0.6.0

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/RdsHttpEndpointConfig

func (RdsHttpEndpointConfig) MarshalFields added in v0.6.0

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

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

func (RdsHttpEndpointConfig) String added in v0.6.0

func (s RdsHttpEndpointConfig) String() string

String returns the string representation

type RelationalDatabaseDataSourceConfig added in v0.6.0

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/RelationalDatabaseDataSourceConfig

func (RelationalDatabaseDataSourceConfig) MarshalFields added in v0.6.0

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

func (RelationalDatabaseDataSourceConfig) String added in v0.6.0

String returns the string representation

type RelationalDatabaseSourceType added in v0.6.0

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

Enum values for RelationalDatabaseSourceType

func (RelationalDatabaseSourceType) MarshalValue added in v0.6.0

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

func (RelationalDatabaseSourceType) MarshalValueBuf added in v0.6.0

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

type Resolver

type Resolver struct {

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

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

	// The 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 resolver type name.
	TypeName *string `locationName:"typeName" type:"string"`
	// contains filtered or unexported fields
}

Describes a resolver. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/Resolver

func (Resolver) MarshalFields added in v0.3.0

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 added in v0.6.0

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

Enum values for ResolverKind

func (ResolverKind) MarshalValue added in v0.6.0

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

func (ResolverKind) MarshalValueBuf added in v0.6.0

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 added in v0.3.0

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

func (SchemaStatus) MarshalValueBuf added in v0.3.0

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
}

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

func (StartSchemaCreationInput) MarshalFields added in v0.3.0

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
}

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

func (StartSchemaCreationOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

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

StartSchemaCreationResponse is the response type for the StartSchemaCreation API operation.

func (*StartSchemaCreationResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the StartSchemaCreation request.

type TagResourceInput added in v0.9.0

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
}

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

func (TagResourceInput) MarshalFields added in v0.9.0

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

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

func (TagResourceInput) String added in v0.9.0

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate added in v0.9.0

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput added in v0.9.0

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

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

func (TagResourceOutput) MarshalFields added in v0.9.0

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

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

func (TagResourceOutput) String added in v0.9.0

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest added in v0.9.0

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

TagResourceRequest is the request type for the TagResource API operation.

func (TagResourceRequest) Send added in v0.9.0

Send marshals and sends the TagResource API request.

type TagResourceResponse added in v0.9.0

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

TagResourceResponse is the response type for the TagResource API operation.

func (*TagResourceResponse) SDKResponseMetdata added in v0.9.0

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

Describes a type. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/Type

func (Type) MarshalFields added in v0.3.0

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 added in v0.3.0

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

func (TypeDefinitionFormat) MarshalValueBuf added in v0.3.0

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

type UntagResourceInput added in v0.9.0

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
}

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

func (UntagResourceInput) MarshalFields added in v0.9.0

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

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

func (UntagResourceInput) String added in v0.9.0

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate added in v0.9.0

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput added in v0.9.0

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

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

func (UntagResourceOutput) MarshalFields added in v0.9.0

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

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

func (UntagResourceOutput) String added in v0.9.0

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest added in v0.9.0

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

UntagResourceRequest is the request type for the UntagResource API operation.

func (UntagResourceRequest) Send added in v0.9.0

Send marshals and sends the UntagResource API request.

type UntagResourceResponse added in v0.9.0

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

UntagResourceResponse is the response type for the UntagResource API operation.

func (*UntagResourceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UntagResource request.

type UpdateApiKeyInput added in v0.3.0

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
}

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

func (UpdateApiKeyInput) MarshalFields added in v0.3.0

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

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

func (UpdateApiKeyInput) String added in v0.3.0

func (s UpdateApiKeyInput) String() string

String returns the string representation

func (*UpdateApiKeyInput) Validate added in v0.3.0

func (s *UpdateApiKeyInput) Validate() error

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

type UpdateApiKeyOutput added in v0.3.0

type UpdateApiKeyOutput struct {

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

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

func (UpdateApiKeyOutput) MarshalFields added in v0.3.0

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

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

func (UpdateApiKeyOutput) String added in v0.3.0

func (s UpdateApiKeyOutput) String() string

String returns the string representation

type UpdateApiKeyRequest added in v0.3.0

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

UpdateApiKeyRequest is the request type for the UpdateApiKey API operation.

func (UpdateApiKeyRequest) Send added in v0.3.0

Send marshals and sends the UpdateApiKey API request.

type UpdateApiKeyResponse added in v0.9.0

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

UpdateApiKeyResponse is the response type for the UpdateApiKey API operation.

func (*UpdateApiKeyResponse) SDKResponseMetdata added in v0.9.0

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

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

func (UpdateDataSourceInput) MarshalFields added in v0.3.0

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
}

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

func (UpdateDataSourceOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

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

UpdateDataSourceResponse is the response type for the UpdateDataSource API operation.

func (*UpdateDataSourceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UpdateDataSource request.

type UpdateFunctionInput added in v0.6.0

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

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

func (UpdateFunctionInput) MarshalFields added in v0.6.0

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

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

func (UpdateFunctionInput) String added in v0.6.0

func (s UpdateFunctionInput) String() string

String returns the string representation

func (*UpdateFunctionInput) Validate added in v0.6.0

func (s *UpdateFunctionInput) Validate() error

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

type UpdateFunctionOutput added in v0.6.0

type UpdateFunctionOutput struct {

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

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

func (UpdateFunctionOutput) MarshalFields added in v0.6.0

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

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

func (UpdateFunctionOutput) String added in v0.6.0

func (s UpdateFunctionOutput) String() string

String returns the string representation

type UpdateFunctionRequest added in v0.6.0

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

UpdateFunctionRequest is the request type for the UpdateFunction API operation.

func (UpdateFunctionRequest) Send added in v0.6.0

Send marshals and sends the UpdateFunction API request.

type UpdateFunctionResponse added in v0.9.0

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

UpdateFunctionResponse is the response type for the UpdateFunction API operation.

func (*UpdateFunctionResponse) SDKResponseMetdata added in v0.9.0

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
}

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

func (UpdateGraphqlApiInput) MarshalFields added in v0.3.0

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
}

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

func (UpdateGraphqlApiOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

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

UpdateGraphqlApiResponse is the response type for the UpdateGraphqlApi API operation.

func (*UpdateGraphqlApiResponse) SDKResponseMetdata added in v0.9.0

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 new data source name.
	DataSourceName *string `locationName:"dataSourceName" type:"string"`

	// The new field name.
	//
	// FieldName is a required field
	FieldName *string `location:"uri" locationName:"fieldName" 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 new type name.
	//
	// TypeName is a required field
	TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

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

func (UpdateResolverInput) MarshalFields added in v0.3.0

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
}

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

func (UpdateResolverOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

type UpdateResolverResponse struct {
	*UpdateResolverOutput
	// contains filtered or unexported fields
}

UpdateResolverResponse is the response type for the UpdateResolver API operation.

func (*UpdateResolverResponse) SDKResponseMetdata added in v0.9.0

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

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

func (UpdateTypeInput) MarshalFields added in v0.3.0

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
}

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

func (UpdateTypeOutput) MarshalFields added in v0.3.0

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 added in v0.9.0

type UpdateTypeResponse struct {
	*UpdateTypeOutput
	// contains filtered or unexported fields
}

UpdateTypeResponse is the response type for the UpdateType API operation.

func (*UpdateTypeResponse) SDKResponseMetdata added in v0.9.0

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UserPoolConfig

func (UserPoolConfig) MarshalFields added in v0.3.0

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.

Directories

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

Jump to

Keyboard shortcuts

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