appsync

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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

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

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

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

Using the Client

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

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

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

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

Index

Constants

View Source
const (

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

	// ErrCodeConcurrentModificationException for service response error code
	// "ConcurrentModificationException".
	//
	// Another modification is being made. That modification must complete before
	// you can make your change.
	ErrCodeConcurrentModificationException = "ConcurrentModificationException"

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

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

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

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

	// ErrCodeUnauthorizedException for service response error code
	// "UnauthorizedException".
	//
	// You are not authorized to perform this operation.
	ErrCodeUnauthorizedException = "UnauthorizedException"
)
View Source
const (
	ServiceName = "appsync"   // Service endpoint prefix API calls made to.
	EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiKey

type ApiKey struct {

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

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

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

Describes an API key.

Customers invoke AWS AppSync GraphQL APIs 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 DynamoDB TTL. The keys will cease to be valid after Feb 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 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 Feb 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 DynamoDB as seconds.

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

func (ApiKey) GoString

func (s ApiKey) GoString() string

GoString returns the string representation

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 AppSync

type AppSync struct {
	*aws.Client
}

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

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

func New

func New(config aws.Config) *AppSync

New creates a new instance of the AppSync client with a config.

Example:

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

func (*AppSync) CreateApiKeyRequest

func (c *AppSync) 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 the CreateApiKeyRequest method.
req := client.CreateApiKeyRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) CreateDataSourceRequest

func (c *AppSync) 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 the CreateDataSourceRequest method.
req := client.CreateDataSourceRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) CreateGraphqlApiRequest

func (c *AppSync) 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 the CreateGraphqlApiRequest method.
req := client.CreateGraphqlApiRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) CreateResolverRequest

func (c *AppSync) 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 the CreateResolverRequest method.
req := client.CreateResolverRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) CreateTypeRequest

func (c *AppSync) 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 the CreateTypeRequest method.
req := client.CreateTypeRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) DeleteApiKeyRequest

func (c *AppSync) 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 the DeleteApiKeyRequest method.
req := client.DeleteApiKeyRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) DeleteDataSourceRequest

func (c *AppSync) 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 the DeleteDataSourceRequest method.
req := client.DeleteDataSourceRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) DeleteGraphqlApiRequest

func (c *AppSync) 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 the DeleteGraphqlApiRequest method.
req := client.DeleteGraphqlApiRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) DeleteResolverRequest

func (c *AppSync) 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 the DeleteResolverRequest method.
req := client.DeleteResolverRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) DeleteTypeRequest

func (c *AppSync) 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 the DeleteTypeRequest method.
req := client.DeleteTypeRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) GetDataSourceRequest

func (c *AppSync) 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 the GetDataSourceRequest method.
req := client.GetDataSourceRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) GetGraphqlApiRequest

func (c *AppSync) 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 the GetGraphqlApiRequest method.
req := client.GetGraphqlApiRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) GetIntrospectionSchemaRequest

func (c *AppSync) 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 the GetIntrospectionSchemaRequest method.
req := client.GetIntrospectionSchemaRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) GetResolverRequest

func (c *AppSync) 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 the GetResolverRequest method.
req := client.GetResolverRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) GetSchemaCreationStatusRequest

func (c *AppSync) 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 the GetSchemaCreationStatusRequest method.
req := client.GetSchemaCreationStatusRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) GetTypeRequest

func (c *AppSync) 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 the GetTypeRequest method.
req := client.GetTypeRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) ListApiKeysRequest

func (c *AppSync) 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 the ListApiKeysRequest method.
req := client.ListApiKeysRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) ListDataSourcesRequest

func (c *AppSync) 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 the ListDataSourcesRequest method.
req := client.ListDataSourcesRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) ListGraphqlApisRequest

func (c *AppSync) 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 the ListGraphqlApisRequest method.
req := client.ListGraphqlApisRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) ListResolversRequest

func (c *AppSync) 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 the ListResolversRequest method.
req := client.ListResolversRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) ListTypesRequest

func (c *AppSync) 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 the ListTypesRequest method.
req := client.ListTypesRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) StartSchemaCreationRequest

func (c *AppSync) 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 the StartSchemaCreationRequest method.
req := client.StartSchemaCreationRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) UpdateApiKeyRequest added in v0.3.0

func (c *AppSync) 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 the UpdateApiKeyRequest method.
req := client.UpdateApiKeyRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) UpdateDataSourceRequest

func (c *AppSync) 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 the UpdateDataSourceRequest method.
req := client.UpdateDataSourceRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) UpdateGraphqlApiRequest

func (c *AppSync) 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 the UpdateGraphqlApiRequest method.
req := client.UpdateGraphqlApiRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) UpdateResolverRequest

func (c *AppSync) 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 the UpdateResolverRequest method.
req := client.UpdateResolverRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

func (*AppSync) UpdateTypeRequest

func (c *AppSync) 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 the UpdateTypeRequest method.
req := client.UpdateTypeRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

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

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

func (s CreateApiKeyInput) GoString() string

GoString returns the string representation

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

func (s CreateApiKeyOutput) GoString() string

GoString returns the string representation

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

func (s CreateApiKeyOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the CreateApiKey API operation.

func (CreateApiKeyRequest) Send

Send marshals and sends the CreateApiKey API 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"`

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

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

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

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

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

	// The type of the DataSource.
	//
	// Type is a required field
	Type 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) GoString

func (s CreateDataSourceInput) GoString() string

GoString returns the string representation

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

func (s CreateDataSourceOutput) GoString() string

GoString returns the string representation

func (CreateDataSourceOutput) MarshalFields added in v0.3.0

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

func (CreateDataSourceOutput) SDKResponseMetadata

func (s CreateDataSourceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the CreateDataSource API operation.

func (CreateDataSourceRequest) Send

Send marshals and sends the CreateDataSource API request.

type CreateGraphqlApiInput

type CreateGraphqlApiInput struct {

	// The authentication type: API key, IAM, 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 Open Id Connect configuration configuration.
	OpenIDConnectConfig *OpenIDConnectConfig `locationName:"openIDConnectConfig" type:"structure"`

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

func (s CreateGraphqlApiInput) GoString() string

GoString returns the string representation

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

func (s CreateGraphqlApiOutput) GoString() string

GoString returns the string representation

func (CreateGraphqlApiOutput) MarshalFields added in v0.3.0

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

func (CreateGraphqlApiOutput) SDKResponseMetadata

func (s CreateGraphqlApiOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the CreateGraphqlApi API operation.

func (CreateGraphqlApiRequest) Send

Send marshals and sends the CreateGraphqlApi API 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 is a required field
	DataSourceName *string `locationName:"dataSourceName" type:"string" required:"true"`

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

	// The mapping template to be used for requests.
	//
	// A resolver uses a request mapping template to convert a GraphQL expression
	// into a format that a data source can understand. Mapping templates are written
	// in Apache Velocity Template Language (VTL).
	//
	// RequestMappingTemplate is a required field
	RequestMappingTemplate *string `locationName:"requestMappingTemplate" 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) GoString

func (s CreateResolverInput) GoString() string

GoString returns the string representation

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

func (s CreateResolverOutput) GoString() string

GoString returns the string representation

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

func (s CreateResolverOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the CreateResolver API operation.

func (CreateResolverRequest) Send

Send marshals and sends the CreateResolver API 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) GoString

func (s CreateTypeInput) GoString() string

GoString returns the string representation

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

func (s CreateTypeOutput) GoString() string

GoString returns the string representation

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

func (s CreateTypeOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the CreateType API operation.

func (CreateTypeRequest) Send

Send marshals and sends the CreateType API 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"`

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

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

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

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

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

	// The type of the data source.
	//
	//    * AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table.
	//
	//    * AMAZON_ELASTICSEARCH: The data source is an Amazon Elasticsearch Service
	//    domain.
	//
	//    * AWS_LAMBDA: The data source is an AWS Lambda function.
	//
	//    * NONE: There is no data source. This type is used when 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.
	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) GoString

func (s DataSource) GoString() string

GoString returns the string representation

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

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

func (s DeleteApiKeyInput) GoString() string

GoString returns the string representation

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

func (s DeleteApiKeyOutput) GoString() string

GoString returns the string representation

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

func (s DeleteApiKeyOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the DeleteApiKey API operation.

func (DeleteApiKeyRequest) Send

Send marshals and sends the DeleteApiKey API 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) GoString

func (s DeleteDataSourceInput) GoString() string

GoString returns the string representation

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

func (s DeleteDataSourceOutput) GoString() string

GoString returns the string representation

func (DeleteDataSourceOutput) MarshalFields added in v0.3.0

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

func (DeleteDataSourceOutput) SDKResponseMetadata

func (s DeleteDataSourceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the DeleteDataSource API operation.

func (DeleteDataSourceRequest) Send

Send marshals and sends the DeleteDataSource API 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) GoString

func (s DeleteGraphqlApiInput) GoString() string

GoString returns the string representation

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

func (s DeleteGraphqlApiOutput) GoString() string

GoString returns the string representation

func (DeleteGraphqlApiOutput) MarshalFields added in v0.3.0

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

func (DeleteGraphqlApiOutput) SDKResponseMetadata

func (s DeleteGraphqlApiOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the DeleteGraphqlApi API operation.

func (DeleteGraphqlApiRequest) Send

Send marshals and sends the DeleteGraphqlApi API 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) GoString

func (s DeleteResolverInput) GoString() string

GoString returns the string representation

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

func (s DeleteResolverOutput) GoString() string

GoString returns the string representation

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

func (s DeleteResolverOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the DeleteResolver API operation.

func (DeleteResolverRequest) Send

Send marshals and sends the DeleteResolver API 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) GoString

func (s DeleteTypeInput) GoString() string

GoString returns the string representation

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

func (s DeleteTypeOutput) GoString() string

GoString returns the string representation

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

func (s DeleteTypeOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the DeleteType API operation.

func (DeleteTypeRequest) Send

Send marshals and sends the DeleteType API 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 a DynamoDB data source configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DynamodbDataSourceConfig

func (DynamodbDataSourceConfig) GoString

func (s DynamodbDataSourceConfig) GoString() string

GoString returns the string representation

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

GoString returns the string representation

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

func (s GetDataSourceInput) GoString() string

GoString returns the string representation

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

func (s GetDataSourceOutput) GoString() string

GoString returns the string representation

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

func (s GetDataSourceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the GetDataSource API operation.

func (GetDataSourceRequest) Send

Send marshals and sends the GetDataSource API 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) GoString

func (s GetGraphqlApiInput) GoString() string

GoString returns the string representation

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

func (s GetGraphqlApiOutput) GoString() string

GoString returns the string representation

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

func (s GetGraphqlApiOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the GetGraphqlApi API operation.

func (GetGraphqlApiRequest) Send

Send marshals and sends the GetGraphqlApi API 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"`
	// contains filtered or unexported fields
}

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

func (GetIntrospectionSchemaInput) GoString

func (s GetIntrospectionSchemaInput) GoString() string

GoString returns the string representation

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

func (s GetIntrospectionSchemaOutput) GoString() string

GoString returns the string representation

func (GetIntrospectionSchemaOutput) MarshalFields added in v0.3.0

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

func (GetIntrospectionSchemaOutput) SDKResponseMetadata

func (s GetIntrospectionSchemaOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetIntrospectionSchemaOutput) String

String returns the string representation

type GetIntrospectionSchemaRequest

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

GetIntrospectionSchemaRequest is a API request type for the GetIntrospectionSchema API operation.

func (GetIntrospectionSchemaRequest) Send

Send marshals and sends the GetIntrospectionSchema API 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) GoString

func (s GetResolverInput) GoString() string

GoString returns the string representation

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

func (s GetResolverOutput) GoString() string

GoString returns the string representation

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

func (s GetResolverOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the GetResolver API operation.

func (GetResolverRequest) Send

Send marshals and sends the GetResolver API 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) GoString

func (s GetSchemaCreationStatusInput) GoString() string

GoString returns the string representation

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, ACTIVE, or DELETING). Once 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) GoString

GoString returns the string representation

func (GetSchemaCreationStatusOutput) MarshalFields added in v0.3.0

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

func (GetSchemaCreationStatusOutput) SDKResponseMetadata

func (s GetSchemaCreationStatusOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetSchemaCreationStatusOutput) String

String returns the string representation

type GetSchemaCreationStatusRequest

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

GetSchemaCreationStatusRequest is a API request type for the GetSchemaCreationStatus API operation.

func (GetSchemaCreationStatusRequest) Send

Send marshals and sends the GetSchemaCreationStatus API 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) GoString

func (s GetTypeInput) GoString() string

GoString returns the string representation

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

func (s GetTypeOutput) GoString() string

GoString returns the string representation

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

func (s GetTypeOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the GetType API operation.

func (GetTypeRequest) Send

func (r GetTypeRequest) Send() (*GetTypeOutput, error)

Send marshals and sends the GetType API request.

type GraphqlApi

type GraphqlApi struct {

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

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

	// The authentication type.
	AuthenticationType 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 Open Id Connect configuration.
	OpenIDConnectConfig *OpenIDConnectConfig `locationName:"openIDConnectConfig" type:"structure"`

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

func (s GraphqlApi) GoString() string

GoString returns the string representation

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 LambdaDataSourceConfig

type LambdaDataSourceConfig struct {

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

Describes a Lambda data source configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/LambdaDataSourceConfig

func (LambdaDataSourceConfig) GoString

func (s LambdaDataSourceConfig) GoString() string

GoString returns the string representation

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

func (s ListApiKeysInput) GoString() string

GoString returns the string representation

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

func (s ListApiKeysOutput) GoString() string

GoString returns the string representation

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

func (s ListApiKeysOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the ListApiKeys API operation.

func (ListApiKeysRequest) Send

Send marshals and sends the ListApiKeys API 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) GoString

func (s ListDataSourcesInput) GoString() string

GoString returns the string representation

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

func (s ListDataSourcesOutput) GoString() string

GoString returns the string representation

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

func (s ListDataSourcesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the ListDataSources API operation.

func (ListDataSourcesRequest) Send

Send marshals and sends the ListDataSources API 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) GoString

func (s ListGraphqlApisInput) GoString() string

GoString returns the string representation

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

func (s ListGraphqlApisOutput) GoString() string

GoString returns the string representation

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

func (s ListGraphqlApisOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the ListGraphqlApis API operation.

func (ListGraphqlApisRequest) Send

Send marshals and sends the ListGraphqlApis API 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) GoString

func (s ListResolversInput) GoString() string

GoString returns the string representation

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

func (s ListResolversOutput) GoString() string

GoString returns the string representation

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

func (s ListResolversOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the ListResolvers API operation.

func (ListResolversRequest) Send

Send marshals and sends the ListResolvers API 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) GoString

func (s ListTypesInput) GoString() string

GoString returns the string representation

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

func (s ListTypesOutput) GoString() string

GoString returns the string representation

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

func (s ListTypesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the ListTypes API operation.

func (ListTypesRequest) Send

func (r ListTypesRequest) Send() (*ListTypesOutput, error)

Send marshals and sends the ListTypes API 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"`

	// The field logging level. Values can be NONE, ERROR, 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) GoString added in v0.4.0

func (s LogConfig) GoString() string

GoString returns the string representation

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 Provider. This identifier
	// is typically obtained when the Relying party is registered with the OpenID
	// 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 open id 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 Open Id Connect configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/OpenIDConnectConfig

func (OpenIDConnectConfig) GoString added in v0.4.0

func (s OpenIDConnectConfig) GoString() string

GoString returns the string representation

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 Resolver

type Resolver struct {

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

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

	// The request mapping template.
	RequestMappingTemplate *string `locationName:"requestMappingTemplate" 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) GoString

func (s Resolver) GoString() string

GoString returns the string representation

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 SchemaStatus

type SchemaStatus string
const (
	SchemaStatusProcessing SchemaStatus = "PROCESSING"
	SchemaStatusActive     SchemaStatus = "ACTIVE"
	SchemaStatusDeleting   SchemaStatus = "DELETING"
)

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

func (s StartSchemaCreationInput) GoString() string

GoString returns the string representation

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, ACTIVE, or DELETING). Once 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) GoString

func (s StartSchemaCreationOutput) GoString() string

GoString returns the string representation

func (StartSchemaCreationOutput) MarshalFields added in v0.3.0

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

func (StartSchemaCreationOutput) SDKResponseMetadata

func (s StartSchemaCreationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the StartSchemaCreation API operation.

func (StartSchemaCreationRequest) Send

Send marshals and sends the StartSchemaCreation API 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) GoString

func (s Type) GoString() string

GoString returns the string representation

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

func (s UpdateApiKeyInput) GoString() string

GoString returns the string representation

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

func (s UpdateApiKeyOutput) GoString() string

GoString returns the string representation

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

func (s UpdateApiKeyOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the UpdateApiKey API operation.

func (UpdateApiKeyRequest) Send added in v0.3.0

Send marshals and sends the UpdateApiKey API 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 DynamoDB configuration.
	DynamodbConfig *DynamodbDataSourceConfig `locationName:"dynamodbConfig" type:"structure"`

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

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

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

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

	// The new data source type.
	//
	// Type is a required field
	Type 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) GoString

func (s UpdateDataSourceInput) GoString() string

GoString returns the string representation

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

func (s UpdateDataSourceOutput) GoString() string

GoString returns the string representation

func (UpdateDataSourceOutput) MarshalFields added in v0.3.0

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

func (UpdateDataSourceOutput) SDKResponseMetadata

func (s UpdateDataSourceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the UpdateDataSource API operation.

func (UpdateDataSourceRequest) Send

Send marshals and sends the UpdateDataSource API request.

type UpdateGraphqlApiInput

type UpdateGraphqlApiInput struct {

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

	// The new authentication type for the GraphqlApi object.
	AuthenticationType 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 Open Id Connect configuration 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) GoString

func (s UpdateGraphqlApiInput) GoString() string

GoString returns the string representation

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

func (s UpdateGraphqlApiOutput) GoString() string

GoString returns the string representation

func (UpdateGraphqlApiOutput) MarshalFields added in v0.3.0

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

func (UpdateGraphqlApiOutput) SDKResponseMetadata

func (s UpdateGraphqlApiOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the UpdateGraphqlApi API operation.

func (UpdateGraphqlApiRequest) Send

Send marshals and sends the UpdateGraphqlApi API 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 is a required field
	DataSourceName *string `locationName:"dataSourceName" type:"string" required:"true"`

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

	// The new request mapping template.
	//
	// RequestMappingTemplate is a required field
	RequestMappingTemplate *string `locationName:"requestMappingTemplate" 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) GoString

func (s UpdateResolverInput) GoString() string

GoString returns the string representation

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

func (s UpdateResolverOutput) GoString() string

GoString returns the string representation

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

func (s UpdateResolverOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the UpdateResolver API operation.

func (UpdateResolverRequest) Send

Send marshals and sends the UpdateResolver API 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) GoString

func (s UpdateTypeInput) GoString() string

GoString returns the string representation

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

func (s UpdateTypeOutput) GoString() string

GoString returns the string representation

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

func (s UpdateTypeOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 a API request type for the UpdateType API operation.

func (UpdateTypeRequest) Send

Send marshals and sends the UpdateType API 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) GoString

func (s UserPoolConfig) GoString() string

GoString returns the string representation

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