aws-sdk-go: github.com/aws/aws-sdk-go/service/appsync Index | Files | Directories

package appsync

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

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

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

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

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

Using the Client

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

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

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

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

Index

Package Files

api.go doc.go errors.go service.go

Constants

const (
    // AuthenticationTypeApiKey is a AuthenticationType enum value
    AuthenticationTypeApiKey = "API_KEY"

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

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

    // AuthenticationTypeOpenidConnect is a AuthenticationType enum value
    AuthenticationTypeOpenidConnect = "OPENID_CONNECT"
)
const (
    // DataSourceTypeAwsLambda is a DataSourceType enum value
    DataSourceTypeAwsLambda = "AWS_LAMBDA"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Service information constants

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

type AdditionalAuthenticationProvider Uses

type AdditionalAuthenticationProvider struct {

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

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

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

Describes an additional authentication provider.

func (AdditionalAuthenticationProvider) GoString Uses

func (s AdditionalAuthenticationProvider) GoString() string

GoString returns the string representation

func (*AdditionalAuthenticationProvider) SetAuthenticationType Uses

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

SetAuthenticationType sets the AuthenticationType field's value.

func (*AdditionalAuthenticationProvider) SetOpenIDConnectConfig Uses

func (s *AdditionalAuthenticationProvider) SetOpenIDConnectConfig(v *OpenIDConnectConfig) *AdditionalAuthenticationProvider

SetOpenIDConnectConfig sets the OpenIDConnectConfig field's value.

func (*AdditionalAuthenticationProvider) SetUserPoolConfig Uses

func (s *AdditionalAuthenticationProvider) SetUserPoolConfig(v *CognitoUserPoolConfig) *AdditionalAuthenticationProvider

SetUserPoolConfig sets the UserPoolConfig field's value.

func (AdditionalAuthenticationProvider) String Uses

func (s AdditionalAuthenticationProvider) String() string

String returns the string representation

func (*AdditionalAuthenticationProvider) Validate Uses

func (s *AdditionalAuthenticationProvider) Validate() error

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

type ApiKey Uses

type ApiKey struct {

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

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

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

Describes an API key.

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

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

* ListApiKeys returns the expiration time in milliseconds.

* CreateApiKey returns the expiration time in milliseconds.

* UpdateApiKey is not available for this key version.

* DeleteApiKey deletes the item from the table.

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

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

* ListApiKeys returns the expiration time in seconds.

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

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

* DeleteApiKey deletes the item from the table.

* Expiration is stored in Amazon DynamoDB as seconds.

func (ApiKey) GoString Uses

func (s ApiKey) GoString() string

GoString returns the string representation

func (*ApiKey) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*ApiKey) SetExpires Uses

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

SetExpires sets the Expires field's value.

func (*ApiKey) SetId Uses

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

SetId sets the Id field's value.

func (ApiKey) String Uses

func (s ApiKey) String() string

String returns the string representation

type AppSync Uses

type AppSync struct {
    *client.Client
}

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

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

func New Uses

func New(p client.ConfigProvider, cfgs ...*aws.Config) *AppSync

New creates a new instance of the AppSync client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a AppSync client from just a session.
svc := appsync.New(mySession)

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

func (*AppSync) CreateApiKey Uses

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

CreateApiKey API operation for AWS AppSync.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation CreateApiKey for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

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

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

func (*AppSync) CreateApiKeyRequest Uses

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

CreateApiKeyRequest generates a "aws/request.Request" representing the client's request for the CreateApiKey operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateApiKey for more information on using the CreateApiKey API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateApiKeyRequest method.
req, resp := client.CreateApiKeyRequest(params)

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

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

func (*AppSync) CreateApiKeyWithContext Uses

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

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

See CreateApiKey for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) CreateDataSource Uses

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

CreateDataSource API operation for AWS AppSync.

Creates a DataSource object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation CreateDataSource for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

func (*AppSync) CreateDataSourceRequest Uses

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

CreateDataSourceRequest generates a "aws/request.Request" representing the client's request for the CreateDataSource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDataSource for more information on using the CreateDataSource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDataSourceRequest method.
req, resp := client.CreateDataSourceRequest(params)

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

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

func (*AppSync) CreateDataSourceWithContext Uses

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

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

See CreateDataSource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) CreateFunction Uses

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

CreateFunction API operation for AWS AppSync.

Creates a Function object.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation CreateFunction for usage and error information.

Returned Error Codes:

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

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

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

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

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

func (*AppSync) CreateFunctionRequest Uses

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

CreateFunctionRequest generates a "aws/request.Request" representing the client's request for the CreateFunction operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateFunction for more information on using the CreateFunction API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateFunctionRequest method.
req, resp := client.CreateFunctionRequest(params)

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

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

func (*AppSync) CreateFunctionWithContext Uses

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

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

See CreateFunction for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) CreateGraphqlApi Uses

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

CreateGraphqlApi API operation for AWS AppSync.

Creates a GraphqlApi object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation CreateGraphqlApi for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

func (*AppSync) CreateGraphqlApiRequest Uses

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

CreateGraphqlApiRequest generates a "aws/request.Request" representing the client's request for the CreateGraphqlApi operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateGraphqlApi for more information on using the CreateGraphqlApi API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateGraphqlApiRequest method.
req, resp := client.CreateGraphqlApiRequest(params)

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

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

func (*AppSync) CreateGraphqlApiWithContext Uses

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

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

See CreateGraphqlApi for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) CreateResolver Uses

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

CreateResolver API operation for AWS AppSync.

Creates a Resolver object.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation CreateResolver for usage and error information.

Returned Error Codes:

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

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

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

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

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

func (*AppSync) CreateResolverRequest Uses

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

CreateResolverRequest generates a "aws/request.Request" representing the client's request for the CreateResolver operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateResolver for more information on using the CreateResolver API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateResolverRequest method.
req, resp := client.CreateResolverRequest(params)

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

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

func (*AppSync) CreateResolverWithContext Uses

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

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

See CreateResolver for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) CreateType Uses

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

CreateType API operation for AWS AppSync.

Creates a Type object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation CreateType for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

func (*AppSync) CreateTypeRequest Uses

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

CreateTypeRequest generates a "aws/request.Request" representing the client's request for the CreateType operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateType for more information on using the CreateType API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateTypeRequest method.
req, resp := client.CreateTypeRequest(params)

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

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

func (*AppSync) CreateTypeWithContext Uses

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

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

See CreateType for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) DeleteApiKey Uses

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

DeleteApiKey API operation for AWS AppSync.

Deletes an API key.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation DeleteApiKey for usage and error information.

Returned Error Codes:

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

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

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

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

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

func (*AppSync) DeleteApiKeyRequest Uses

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

DeleteApiKeyRequest generates a "aws/request.Request" representing the client's request for the DeleteApiKey operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteApiKey for more information on using the DeleteApiKey API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteApiKeyRequest method.
req, resp := client.DeleteApiKeyRequest(params)

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

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

func (*AppSync) DeleteApiKeyWithContext Uses

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

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

See DeleteApiKey for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) DeleteDataSource Uses

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

DeleteDataSource API operation for AWS AppSync.

Deletes a DataSource object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation DeleteDataSource for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

func (*AppSync) DeleteDataSourceRequest Uses

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

DeleteDataSourceRequest generates a "aws/request.Request" representing the client's request for the DeleteDataSource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDataSource for more information on using the DeleteDataSource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDataSourceRequest method.
req, resp := client.DeleteDataSourceRequest(params)

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

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

func (*AppSync) DeleteDataSourceWithContext Uses

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

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

See DeleteDataSource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) DeleteFunction Uses

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

DeleteFunction API operation for AWS AppSync.

Deletes a Function.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation DeleteFunction for usage and error information.

Returned Error Codes:

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

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

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

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

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

func (*AppSync) DeleteFunctionRequest Uses

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

DeleteFunctionRequest generates a "aws/request.Request" representing the client's request for the DeleteFunction operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteFunction for more information on using the DeleteFunction API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteFunctionRequest method.
req, resp := client.DeleteFunctionRequest(params)

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

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

func (*AppSync) DeleteFunctionWithContext Uses

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

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

See DeleteFunction for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) DeleteGraphqlApi Uses

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

DeleteGraphqlApi API operation for AWS AppSync.

Deletes a GraphqlApi object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation DeleteGraphqlApi for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

func (*AppSync) DeleteGraphqlApiRequest Uses

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

DeleteGraphqlApiRequest generates a "aws/request.Request" representing the client's request for the DeleteGraphqlApi operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteGraphqlApi for more information on using the DeleteGraphqlApi API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteGraphqlApiRequest method.
req, resp := client.DeleteGraphqlApiRequest(params)

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

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

func (*AppSync) DeleteGraphqlApiWithContext Uses

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

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

See DeleteGraphqlApi for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) DeleteResolver Uses

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

DeleteResolver API operation for AWS AppSync.

Deletes a Resolver object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation DeleteResolver for usage and error information.

Returned Error Codes:

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

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

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

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

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

func (*AppSync) DeleteResolverRequest Uses

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

DeleteResolverRequest generates a "aws/request.Request" representing the client's request for the DeleteResolver operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteResolver for more information on using the DeleteResolver API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteResolverRequest method.
req, resp := client.DeleteResolverRequest(params)

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

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

func (*AppSync) DeleteResolverWithContext Uses

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

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

See DeleteResolver for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) DeleteType Uses

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

DeleteType API operation for AWS AppSync.

Deletes a Type object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation DeleteType for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

func (*AppSync) DeleteTypeRequest Uses

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

DeleteTypeRequest generates a "aws/request.Request" representing the client's request for the DeleteType operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteType for more information on using the DeleteType API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteTypeRequest method.
req, resp := client.DeleteTypeRequest(params)

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

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

func (*AppSync) DeleteTypeWithContext Uses

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

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

See DeleteType for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) GetDataSource Uses

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

GetDataSource API operation for AWS AppSync.

Retrieves a DataSource object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation GetDataSource for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

func (*AppSync) GetDataSourceRequest Uses

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

GetDataSourceRequest generates a "aws/request.Request" representing the client's request for the GetDataSource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDataSource for more information on using the GetDataSource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDataSourceRequest method.
req, resp := client.GetDataSourceRequest(params)

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

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

func (*AppSync) GetDataSourceWithContext Uses

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

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

See GetDataSource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) GetFunction Uses

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

GetFunction API operation for AWS AppSync.

Get a Function.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation GetFunction for usage and error information.

Returned Error Codes:

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

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

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

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

func (*AppSync) GetFunctionRequest Uses

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

GetFunctionRequest generates a "aws/request.Request" representing the client's request for the GetFunction operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetFunction for more information on using the GetFunction API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetFunctionRequest method.
req, resp := client.GetFunctionRequest(params)

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

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

func (*AppSync) GetFunctionWithContext Uses

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

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

See GetFunction for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) GetGraphqlApi Uses

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

GetGraphqlApi API operation for AWS AppSync.

Retrieves a GraphqlApi object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation GetGraphqlApi for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

func (*AppSync) GetGraphqlApiRequest Uses

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

GetGraphqlApiRequest generates a "aws/request.Request" representing the client's request for the GetGraphqlApi operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetGraphqlApi for more information on using the GetGraphqlApi API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetGraphqlApiRequest method.
req, resp := client.GetGraphqlApiRequest(params)

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

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

func (*AppSync) GetGraphqlApiWithContext Uses

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

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

See GetGraphqlApi for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) GetIntrospectionSchema Uses

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

GetIntrospectionSchema API operation for AWS AppSync.

Retrieves the introspection schema for a GraphQL API.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation GetIntrospectionSchema for usage and error information.

Returned Error Codes:

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

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

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

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

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

func (*AppSync) GetIntrospectionSchemaRequest Uses

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

GetIntrospectionSchemaRequest generates a "aws/request.Request" representing the client's request for the GetIntrospectionSchema operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetIntrospectionSchema for more information on using the GetIntrospectionSchema API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetIntrospectionSchemaRequest method.
req, resp := client.GetIntrospectionSchemaRequest(params)

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

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

func (*AppSync) GetIntrospectionSchemaWithContext Uses

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

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

See GetIntrospectionSchema for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) GetResolver Uses

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

GetResolver API operation for AWS AppSync.

Retrieves a Resolver object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation GetResolver for usage and error information.

Returned Error Codes:

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

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

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

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

func (*AppSync) GetResolverRequest Uses

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

GetResolverRequest generates a "aws/request.Request" representing the client's request for the GetResolver operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetResolver for more information on using the GetResolver API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetResolverRequest method.
req, resp := client.GetResolverRequest(params)

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

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

func (*AppSync) GetResolverWithContext Uses

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

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

See GetResolver for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) GetSchemaCreationStatus Uses

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

GetSchemaCreationStatus API operation for AWS AppSync.

Retrieves the current status of a schema creation operation.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation GetSchemaCreationStatus for usage and error information.

Returned Error Codes:

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

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

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

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

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

func (*AppSync) GetSchemaCreationStatusRequest Uses

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

GetSchemaCreationStatusRequest generates a "aws/request.Request" representing the client's request for the GetSchemaCreationStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetSchemaCreationStatus for more information on using the GetSchemaCreationStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetSchemaCreationStatusRequest method.
req, resp := client.GetSchemaCreationStatusRequest(params)

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

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

func (*AppSync) GetSchemaCreationStatusWithContext Uses

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

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

See GetSchemaCreationStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) GetType Uses

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

GetType API operation for AWS AppSync.

Retrieves a Type object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation GetType for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

func (*AppSync) GetTypeRequest Uses

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

GetTypeRequest generates a "aws/request.Request" representing the client's request for the GetType operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetType for more information on using the GetType API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetTypeRequest method.
req, resp := client.GetTypeRequest(params)

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

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

func (*AppSync) GetTypeWithContext Uses

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

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

See GetType for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) ListApiKeys Uses

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

ListApiKeys API operation for AWS AppSync.

Lists the API keys for a given API.

API keys are deleted automatically 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation ListApiKeys for usage and error information.

Returned Error Codes:

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

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

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

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

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

func (*AppSync) ListApiKeysRequest Uses

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

ListApiKeysRequest generates a "aws/request.Request" representing the client's request for the ListApiKeys operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListApiKeys for more information on using the ListApiKeys API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListApiKeysRequest method.
req, resp := client.ListApiKeysRequest(params)

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

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

func (*AppSync) ListApiKeysWithContext Uses

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

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

See ListApiKeys for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) ListDataSources Uses

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

ListDataSources API operation for AWS AppSync.

Lists the data sources for a given API.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation ListDataSources for usage and error information.

Returned Error Codes:

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

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

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

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

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

func (*AppSync) ListDataSourcesRequest Uses

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

ListDataSourcesRequest generates a "aws/request.Request" representing the client's request for the ListDataSources operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListDataSources for more information on using the ListDataSources API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListDataSourcesRequest method.
req, resp := client.ListDataSourcesRequest(params)

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

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

func (*AppSync) ListDataSourcesWithContext Uses

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

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

See ListDataSources for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) ListFunctions Uses

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

ListFunctions API operation for AWS AppSync.

List multiple functions.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation ListFunctions for usage and error information.

Returned Error Codes:

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

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

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

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

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

func (*AppSync) ListFunctionsRequest Uses

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

ListFunctionsRequest generates a "aws/request.Request" representing the client's request for the ListFunctions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListFunctions for more information on using the ListFunctions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListFunctionsRequest method.
req, resp := client.ListFunctionsRequest(params)

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

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

func (*AppSync) ListFunctionsWithContext Uses

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

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

See ListFunctions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) ListGraphqlApis Uses

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

ListGraphqlApis API operation for AWS AppSync.

Lists your GraphQL APIs.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation ListGraphqlApis for usage and error information.

Returned Error Codes:

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

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

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

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

func (*AppSync) ListGraphqlApisRequest Uses

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

ListGraphqlApisRequest generates a "aws/request.Request" representing the client's request for the ListGraphqlApis operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListGraphqlApis for more information on using the ListGraphqlApis API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListGraphqlApisRequest method.
req, resp := client.ListGraphqlApisRequest(params)

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

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

func (*AppSync) ListGraphqlApisWithContext Uses

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

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

See ListGraphqlApis for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) ListResolvers Uses

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

ListResolvers API operation for AWS AppSync.

Lists the resolvers for a given API and type.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation ListResolvers for usage and error information.

Returned Error Codes:

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

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

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

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

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

func (*AppSync) ListResolversByFunction Uses

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

ListResolversByFunction API operation for AWS AppSync.

List the resolvers that are associated with a specific function.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation ListResolversByFunction for usage and error information.

Returned Error Codes:

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

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

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

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

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

func (*AppSync) ListResolversByFunctionRequest Uses

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

ListResolversByFunctionRequest generates a "aws/request.Request" representing the client's request for the ListResolversByFunction operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListResolversByFunction for more information on using the ListResolversByFunction API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListResolversByFunctionRequest method.
req, resp := client.ListResolversByFunctionRequest(params)

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

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

func (*AppSync) ListResolversByFunctionWithContext Uses

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

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

See ListResolversByFunction for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) ListResolversRequest Uses

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

ListResolversRequest generates a "aws/request.Request" representing the client's request for the ListResolvers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListResolvers for more information on using the ListResolvers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListResolversRequest method.
req, resp := client.ListResolversRequest(params)

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

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

func (*AppSync) ListResolversWithContext Uses

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

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

See ListResolvers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) ListTagsForResource Uses

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

ListTagsForResource API operation for AWS AppSync.

Lists the tags for a resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation ListTagsForResource for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

func (*AppSync) ListTagsForResourceRequest Uses

func (c *AppSync) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

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

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

func (*AppSync) ListTagsForResourceWithContext Uses

func (c *AppSync) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

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

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) ListTypes Uses

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

ListTypes API operation for AWS AppSync.

Lists the types for a given API.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation ListTypes for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

func (*AppSync) ListTypesRequest Uses

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

ListTypesRequest generates a "aws/request.Request" representing the client's request for the ListTypes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTypes for more information on using the ListTypes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTypesRequest method.
req, resp := client.ListTypesRequest(params)

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

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

func (*AppSync) ListTypesWithContext Uses

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

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

See ListTypes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) StartSchemaCreation Uses

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

StartSchemaCreation API operation for AWS AppSync.

Adds a new schema to your GraphQL API.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation StartSchemaCreation for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

func (*AppSync) StartSchemaCreationRequest Uses

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

StartSchemaCreationRequest generates a "aws/request.Request" representing the client's request for the StartSchemaCreation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartSchemaCreation for more information on using the StartSchemaCreation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartSchemaCreationRequest method.
req, resp := client.StartSchemaCreationRequest(params)

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

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

func (*AppSync) StartSchemaCreationWithContext Uses

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

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

See StartSchemaCreation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) TagResource Uses

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

TagResource API operation for AWS AppSync.

Tags a resource with user-supplied tags.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation TagResource for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

func (*AppSync) TagResourceRequest Uses

func (c *AppSync) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

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

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

func (*AppSync) TagResourceWithContext Uses

func (c *AppSync) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

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

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) UntagResource Uses

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

UntagResource API operation for AWS AppSync.

Untags a resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation UntagResource for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

func (*AppSync) UntagResourceRequest Uses

func (c *AppSync) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

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

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

func (*AppSync) UntagResourceWithContext Uses

func (c *AppSync) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

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

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) UpdateApiKey Uses

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

UpdateApiKey API operation for AWS AppSync.

Updates an API key.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation UpdateApiKey for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

func (*AppSync) UpdateApiKeyRequest Uses

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

UpdateApiKeyRequest generates a "aws/request.Request" representing the client's request for the UpdateApiKey operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateApiKey for more information on using the UpdateApiKey API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateApiKeyRequest method.
req, resp := client.UpdateApiKeyRequest(params)

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

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

func (*AppSync) UpdateApiKeyWithContext Uses

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

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

See UpdateApiKey for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) UpdateDataSource Uses

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

UpdateDataSource API operation for AWS AppSync.

Updates a DataSource object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation UpdateDataSource for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

func (*AppSync) UpdateDataSourceRequest Uses

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

UpdateDataSourceRequest generates a "aws/request.Request" representing the client's request for the UpdateDataSource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateDataSource for more information on using the UpdateDataSource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateDataSourceRequest method.
req, resp := client.UpdateDataSourceRequest(params)

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

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

func (*AppSync) UpdateDataSourceWithContext Uses

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

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

See UpdateDataSource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) UpdateFunction Uses

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

UpdateFunction API operation for AWS AppSync.

Updates a Function object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation UpdateFunction for usage and error information.

Returned Error Codes:

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

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

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

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

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

func (*AppSync) UpdateFunctionRequest Uses

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

UpdateFunctionRequest generates a "aws/request.Request" representing the client's request for the UpdateFunction operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateFunction for more information on using the UpdateFunction API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateFunctionRequest method.
req, resp := client.UpdateFunctionRequest(params)

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

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

func (*AppSync) UpdateFunctionWithContext Uses

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

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

See UpdateFunction for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) UpdateGraphqlApi Uses

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

UpdateGraphqlApi API operation for AWS AppSync.

Updates a GraphqlApi object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation UpdateGraphqlApi for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

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

func (*AppSync) UpdateGraphqlApiRequest Uses

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

UpdateGraphqlApiRequest generates a "aws/request.Request" representing the client's request for the UpdateGraphqlApi operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateGraphqlApi for more information on using the UpdateGraphqlApi API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateGraphqlApiRequest method.
req, resp := client.UpdateGraphqlApiRequest(params)

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

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

func (*AppSync) UpdateGraphqlApiWithContext Uses

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

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

See UpdateGraphqlApi for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) UpdateResolver Uses

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

UpdateResolver API operation for AWS AppSync.

Updates a Resolver object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation UpdateResolver for usage and error information.

Returned Error Codes:

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

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

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

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

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

func (*AppSync) UpdateResolverRequest Uses

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

UpdateResolverRequest generates a "aws/request.Request" representing the client's request for the UpdateResolver operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateResolver for more information on using the UpdateResolver API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateResolverRequest method.
req, resp := client.UpdateResolverRequest(params)

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

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

func (*AppSync) UpdateResolverWithContext Uses

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

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

See UpdateResolver for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppSync) UpdateType Uses

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

UpdateType API operation for AWS AppSync.

Updates a Type object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS AppSync's API operation UpdateType for usage and error information.

Returned Error Codes:

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

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

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

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

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

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

func (*AppSync) UpdateTypeRequest Uses

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

UpdateTypeRequest generates a "aws/request.Request" representing the client's request for the UpdateType operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateType for more information on using the UpdateType API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateTypeRequest method.
req, resp := client.UpdateTypeRequest(params)

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

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

func (*AppSync) UpdateTypeWithContext Uses

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

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

See UpdateType for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type AuthorizationConfig Uses

type AuthorizationConfig struct {

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

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

The authorization config in case the HTTP endpoint requires authorization.

func (AuthorizationConfig) GoString Uses

func (s AuthorizationConfig) GoString() string

GoString returns the string representation

func (*AuthorizationConfig) SetAuthorizationType Uses

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

SetAuthorizationType sets the AuthorizationType field's value.

func (*AuthorizationConfig) SetAwsIamConfig Uses

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

SetAwsIamConfig sets the AwsIamConfig field's value.

func (AuthorizationConfig) String Uses

func (s AuthorizationConfig) String() string

String returns the string representation

func (*AuthorizationConfig) Validate Uses

func (s *AuthorizationConfig) Validate() error

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

type AwsIamConfig Uses

type AwsIamConfig struct {

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

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

The AWS IAM configuration.

func (AwsIamConfig) GoString Uses

func (s AwsIamConfig) GoString() string

GoString returns the string representation

func (*AwsIamConfig) SetSigningRegion Uses

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

SetSigningRegion sets the SigningRegion field's value.

func (*AwsIamConfig) SetSigningServiceName Uses

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

SetSigningServiceName sets the SigningServiceName field's value.

func (AwsIamConfig) String Uses

func (s AwsIamConfig) String() string

String returns the string representation

type CognitoUserPoolConfig Uses

type CognitoUserPoolConfig struct {

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

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

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

Describes an Amazon Cognito user pool configuration.

func (CognitoUserPoolConfig) GoString Uses

func (s CognitoUserPoolConfig) GoString() string

GoString returns the string representation

func (*CognitoUserPoolConfig) SetAppIdClientRegex Uses

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

SetAppIdClientRegex sets the AppIdClientRegex field's value.

func (*CognitoUserPoolConfig) SetAwsRegion Uses

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

SetAwsRegion sets the AwsRegion field's value.

func (*CognitoUserPoolConfig) SetUserPoolId Uses

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

SetUserPoolId sets the UserPoolId field's value.

func (CognitoUserPoolConfig) String Uses

func (s CognitoUserPoolConfig) String() string

String returns the string representation

func (*CognitoUserPoolConfig) Validate Uses

func (s *CognitoUserPoolConfig) Validate() error

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

type CreateApiKeyInput Uses

type CreateApiKeyInput struct {

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

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

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

func (CreateApiKeyInput) GoString Uses

func (s CreateApiKeyInput) GoString() string

GoString returns the string representation

func (*CreateApiKeyInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*CreateApiKeyInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateApiKeyInput) SetExpires Uses

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

SetExpires sets the Expires field's value.

func (CreateApiKeyInput) String Uses

func (s CreateApiKeyInput) String() string

String returns the string representation

func (*CreateApiKeyInput) Validate Uses

func (s *CreateApiKeyInput) Validate() error

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

type CreateApiKeyOutput Uses

type CreateApiKeyOutput struct {

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

func (CreateApiKeyOutput) GoString Uses

func (s CreateApiKeyOutput) GoString() string

GoString returns the string representation

func (*CreateApiKeyOutput) SetApiKey Uses

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

SetApiKey sets the ApiKey field's value.

func (CreateApiKeyOutput) String Uses

func (s CreateApiKeyOutput) String() string

String returns the string representation

type CreateDataSourceInput Uses

type CreateDataSourceInput struct {

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

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

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

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

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

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

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

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

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

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

func (CreateDataSourceInput) GoString Uses

func (s CreateDataSourceInput) GoString() string

GoString returns the string representation

func (*CreateDataSourceInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*CreateDataSourceInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateDataSourceInput) SetDynamodbConfig Uses

func (s *CreateDataSourceInput) SetDynamodbConfig(v *DynamodbDataSourceConfig) *CreateDataSourceInput

SetDynamodbConfig sets the DynamodbConfig field's value.

func (*CreateDataSourceInput) SetElasticsearchConfig Uses

func (s *CreateDataSourceInput) SetElasticsearchConfig(v *ElasticsearchDataSourceConfig) *CreateDataSourceInput

SetElasticsearchConfig sets the ElasticsearchConfig field's value.

func (*CreateDataSourceInput) SetHttpConfig Uses

func (s *CreateDataSourceInput) SetHttpConfig(v *HttpDataSourceConfig) *CreateDataSourceInput

SetHttpConfig sets the HttpConfig field's value.

func (*CreateDataSourceInput) SetLambdaConfig Uses

func (s *CreateDataSourceInput) SetLambdaConfig(v *LambdaDataSourceConfig) *CreateDataSourceInput

SetLambdaConfig sets the LambdaConfig field's value.

func (*CreateDataSourceInput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateDataSourceInput) SetRelationalDatabaseConfig Uses

func (s *CreateDataSourceInput) SetRelationalDatabaseConfig(v *RelationalDatabaseDataSourceConfig) *CreateDataSourceInput

SetRelationalDatabaseConfig sets the RelationalDatabaseConfig field's value.

func (*CreateDataSourceInput) SetServiceRoleArn Uses

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

SetServiceRoleArn sets the ServiceRoleArn field's value.

func (*CreateDataSourceInput) SetType Uses

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

SetType sets the Type field's value.

func (CreateDataSourceInput) String Uses

func (s CreateDataSourceInput) String() string

String returns the string representation

func (*CreateDataSourceInput) Validate Uses

func (s *CreateDataSourceInput) Validate() error

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

type CreateDataSourceOutput Uses

type CreateDataSourceOutput struct {

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

func (CreateDataSourceOutput) GoString Uses

func (s CreateDataSourceOutput) GoString() string

GoString returns the string representation

func (*CreateDataSourceOutput) SetDataSource Uses

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

SetDataSource sets the DataSource field's value.

func (CreateDataSourceOutput) String Uses

func (s CreateDataSourceOutput) String() string

String returns the string representation

type CreateFunctionInput Uses

type CreateFunctionInput struct {

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

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

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

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

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

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

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

func (CreateFunctionInput) GoString Uses

func (s CreateFunctionInput) GoString() string

GoString returns the string representation

func (*CreateFunctionInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*CreateFunctionInput) SetDataSourceName Uses

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

SetDataSourceName sets the DataSourceName field's value.

func (*CreateFunctionInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateFunctionInput) SetFunctionVersion Uses

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

SetFunctionVersion sets the FunctionVersion field's value.

func (*CreateFunctionInput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateFunctionInput) SetRequestMappingTemplate Uses

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

SetRequestMappingTemplate sets the RequestMappingTemplate field's value.

func (*CreateFunctionInput) SetResponseMappingTemplate Uses

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

SetResponseMappingTemplate sets the ResponseMappingTemplate field's value.

func (CreateFunctionInput) String Uses

func (s CreateFunctionInput) String() string

String returns the string representation

func (*CreateFunctionInput) Validate Uses

func (s *CreateFunctionInput) Validate() error

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

type CreateFunctionOutput Uses

type CreateFunctionOutput struct {

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

func (CreateFunctionOutput) GoString Uses

func (s CreateFunctionOutput) GoString() string

GoString returns the string representation

func (*CreateFunctionOutput) SetFunctionConfiguration Uses

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

SetFunctionConfiguration sets the FunctionConfiguration field's value.

func (CreateFunctionOutput) String Uses

func (s CreateFunctionOutput) String() string

String returns the string representation

type CreateGraphqlApiInput Uses

type CreateGraphqlApiInput struct {

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

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

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

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

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

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

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

func (CreateGraphqlApiInput) GoString Uses

func (s CreateGraphqlApiInput) GoString() string

GoString returns the string representation

func (*CreateGraphqlApiInput) SetAdditionalAuthenticationProviders Uses

func (s *CreateGraphqlApiInput) SetAdditionalAuthenticationProviders(v []*AdditionalAuthenticationProvider) *CreateGraphqlApiInput

SetAdditionalAuthenticationProviders sets the AdditionalAuthenticationProviders field's value.

func (*CreateGraphqlApiInput) SetAuthenticationType Uses

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

SetAuthenticationType sets the AuthenticationType field's value.

func (*CreateGraphqlApiInput) SetLogConfig Uses

func (s *CreateGraphqlApiInput) SetLogConfig(v *LogConfig) *CreateGraphqlApiInput

SetLogConfig sets the LogConfig field's value.

func (*CreateGraphqlApiInput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateGraphqlApiInput) SetOpenIDConnectConfig Uses

func (s *CreateGraphqlApiInput) SetOpenIDConnectConfig(v *OpenIDConnectConfig) *CreateGraphqlApiInput

SetOpenIDConnectConfig sets the OpenIDConnectConfig field's value.

func (*CreateGraphqlApiInput) SetTags Uses

func (s *CreateGraphqlApiInput) SetTags(v map[string]*string) *CreateGraphqlApiInput

SetTags sets the Tags field's value.

func (*CreateGraphqlApiInput) SetUserPoolConfig Uses

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

SetUserPoolConfig sets the UserPoolConfig field's value.

func (CreateGraphqlApiInput) String Uses

func (s CreateGraphqlApiInput) String() string

String returns the string representation

func (*CreateGraphqlApiInput) Validate Uses

func (s *CreateGraphqlApiInput) Validate() error

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

type CreateGraphqlApiOutput Uses

type CreateGraphqlApiOutput struct {

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

func (CreateGraphqlApiOutput) GoString Uses

func (s CreateGraphqlApiOutput) GoString() string

GoString returns the string representation

func (*CreateGraphqlApiOutput) SetGraphqlApi Uses

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

SetGraphqlApi sets the GraphqlApi field's value.

func (CreateGraphqlApiOutput) String Uses

func (s CreateGraphqlApiOutput) String() string

String returns the string representation

type CreateResolverInput Uses

type CreateResolverInput struct {

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

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

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

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

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

    // The mapping template to be used for requests.
    //
    // A resolver uses a request mapping template to convert a GraphQL expression
    // into a format that a data source can understand. Mapping templates are written
    // in Apache Velocity Template Language (VTL).
    //
    // 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
}

func (CreateResolverInput) GoString Uses

func (s CreateResolverInput) GoString() string

GoString returns the string representation

func (*CreateResolverInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*CreateResolverInput) SetDataSourceName Uses

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

SetDataSourceName sets the DataSourceName field's value.

func (*CreateResolverInput) SetFieldName Uses

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

SetFieldName sets the FieldName field's value.

func (*CreateResolverInput) SetKind Uses

func (s *CreateResolverInput) SetKind(v string) *CreateResolverInput

SetKind sets the Kind field's value.

func (*CreateResolverInput) SetPipelineConfig Uses

func (s *CreateResolverInput) SetPipelineConfig(v *PipelineConfig) *CreateResolverInput

SetPipelineConfig sets the PipelineConfig field's value.

func (*CreateResolverInput) SetRequestMappingTemplate Uses

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

SetRequestMappingTemplate sets the RequestMappingTemplate field's value.

func (*CreateResolverInput) SetResponseMappingTemplate Uses

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

SetResponseMappingTemplate sets the ResponseMappingTemplate field's value.

func (*CreateResolverInput) SetTypeName Uses

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

SetTypeName sets the TypeName field's value.

func (CreateResolverInput) String Uses

func (s CreateResolverInput) String() string

String returns the string representation

func (*CreateResolverInput) Validate Uses

func (s *CreateResolverInput) Validate() error

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

type CreateResolverOutput Uses

type CreateResolverOutput struct {

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

func (CreateResolverOutput) GoString Uses

func (s CreateResolverOutput) GoString() string

GoString returns the string representation

func (*CreateResolverOutput) SetResolver Uses

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

SetResolver sets the Resolver field's value.

func (CreateResolverOutput) String Uses

func (s CreateResolverOutput) String() string

String returns the string representation

type CreateTypeInput Uses

type CreateTypeInput struct {

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

    // The type definition, in GraphQL Schema Definition Language (SDL) format.
    //
    // For more information, see the GraphQL SDL documentation (http://graphql.org/learn/schema/).
    //
    // Definition is a required field
    Definition *string `locationName:"definition" type:"string" required:"true"`

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

func (CreateTypeInput) GoString Uses

func (s CreateTypeInput) GoString() string

GoString returns the string representation

func (*CreateTypeInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*CreateTypeInput) SetDefinition Uses

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

SetDefinition sets the Definition field's value.

func (*CreateTypeInput) SetFormat Uses

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

SetFormat sets the Format field's value.

func (CreateTypeInput) String Uses

func (s CreateTypeInput) String() string

String returns the string representation

func (*CreateTypeInput) Validate Uses

func (s *CreateTypeInput) Validate() error

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

type CreateTypeOutput Uses

type CreateTypeOutput struct {

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

func (CreateTypeOutput) GoString Uses

func (s CreateTypeOutput) GoString() string

GoString returns the string representation

func (*CreateTypeOutput) SetType Uses

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

SetType sets the Type field's value.

func (CreateTypeOutput) String Uses

func (s CreateTypeOutput) String() string

String returns the string representation

type DataSource Uses

type DataSource struct {

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

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

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

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

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

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

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

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

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

    // The type of the data source.
    //
    //    * AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table.
    //
    //    * AMAZON_ELASTICSEARCH: The data source is an Amazon Elasticsearch Service
    //    domain.
    //
    //    * AWS_LAMBDA: The data source is an AWS Lambda function.
    //
    //    * NONE: There is no data source. This type is used when you wish to invoke
    //    a GraphQL operation without connecting to a data source, such as performing
    //    data transformation with resolvers or triggering a subscription to be
    //    invoked from a mutation.
    //
    //    * HTTP: The data source is an HTTP endpoint.
    //
    //    * RELATIONAL_DATABASE: The data source is a relational database.
    Type *string `locationName:"type" type:"string" enum:"DataSourceType"`
    // contains filtered or unexported fields
}

Describes a data source.

func (DataSource) GoString Uses

func (s DataSource) GoString() string

GoString returns the string representation

func (*DataSource) SetDataSourceArn Uses

func (s *DataSource) SetDataSourceArn(v string) *DataSource

SetDataSourceArn sets the DataSourceArn field's value.

func (*DataSource) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*DataSource) SetDynamodbConfig Uses

func (s *DataSource) SetDynamodbConfig(v *DynamodbDataSourceConfig) *DataSource

SetDynamodbConfig sets the DynamodbConfig field's value.

func (*DataSource) SetElasticsearchConfig Uses

func (s *DataSource) SetElasticsearchConfig(v *ElasticsearchDataSourceConfig) *DataSource

SetElasticsearchConfig sets the ElasticsearchConfig field's value.

func (*DataSource) SetHttpConfig Uses

func (s *DataSource) SetHttpConfig(v *HttpDataSourceConfig) *DataSource

SetHttpConfig sets the HttpConfig field's value.

func (*DataSource) SetLambdaConfig Uses

func (s *DataSource) SetLambdaConfig(v *LambdaDataSourceConfig) *DataSource

SetLambdaConfig sets the LambdaConfig field's value.

func (*DataSource) SetName Uses

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

SetName sets the Name field's value.

func (*DataSource) SetRelationalDatabaseConfig Uses

func (s *DataSource) SetRelationalDatabaseConfig(v *RelationalDatabaseDataSourceConfig) *DataSource

SetRelationalDatabaseConfig sets the RelationalDatabaseConfig field's value.

func (*DataSource) SetServiceRoleArn Uses

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

SetServiceRoleArn sets the ServiceRoleArn field's value.

func (*DataSource) SetType Uses

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

SetType sets the Type field's value.

func (DataSource) String Uses

func (s DataSource) String() string

String returns the string representation

type DeleteApiKeyInput Uses

type DeleteApiKeyInput struct {

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

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

func (DeleteApiKeyInput) GoString Uses

func (s DeleteApiKeyInput) GoString() string

GoString returns the string representation

func (*DeleteApiKeyInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*DeleteApiKeyInput) SetId Uses

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

SetId sets the Id field's value.

func (DeleteApiKeyInput) String Uses

func (s DeleteApiKeyInput) String() string

String returns the string representation

func (*DeleteApiKeyInput) Validate Uses

func (s *DeleteApiKeyInput) Validate() error

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

type DeleteApiKeyOutput Uses

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

func (DeleteApiKeyOutput) GoString Uses

func (s DeleteApiKeyOutput) GoString() string

GoString returns the string representation

func (DeleteApiKeyOutput) String Uses

func (s DeleteApiKeyOutput) String() string

String returns the string representation

type DeleteDataSourceInput Uses

type DeleteDataSourceInput struct {

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

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

func (DeleteDataSourceInput) GoString Uses

func (s DeleteDataSourceInput) GoString() string

GoString returns the string representation

func (*DeleteDataSourceInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*DeleteDataSourceInput) SetName Uses

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

SetName sets the Name field's value.

func (DeleteDataSourceInput) String Uses

func (s DeleteDataSourceInput) String() string

String returns the string representation

func (*DeleteDataSourceInput) Validate Uses

func (s *DeleteDataSourceInput) Validate() error

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

type DeleteDataSourceOutput Uses

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

func (DeleteDataSourceOutput) GoString Uses

func (s DeleteDataSourceOutput) GoString() string

GoString returns the string representation

func (DeleteDataSourceOutput) String Uses

func (s DeleteDataSourceOutput) String() string

String returns the string representation

type DeleteFunctionInput Uses

type DeleteFunctionInput struct {

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

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

func (DeleteFunctionInput) GoString Uses

func (s DeleteFunctionInput) GoString() string

GoString returns the string representation

func (*DeleteFunctionInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*DeleteFunctionInput) SetFunctionId Uses

func (s *DeleteFunctionInput) SetFunctionId(v string) *DeleteFunctionInput

SetFunctionId sets the FunctionId field's value.

func (DeleteFunctionInput) String Uses

func (s DeleteFunctionInput) String() string

String returns the string representation

func (*DeleteFunctionInput) Validate Uses

func (s *DeleteFunctionInput) Validate() error

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

type DeleteFunctionOutput Uses

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

func (DeleteFunctionOutput) GoString Uses

func (s DeleteFunctionOutput) GoString() string

GoString returns the string representation

func (DeleteFunctionOutput) String Uses

func (s DeleteFunctionOutput) String() string

String returns the string representation

type DeleteGraphqlApiInput Uses

type DeleteGraphqlApiInput struct {

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

func (DeleteGraphqlApiInput) GoString Uses

func (s DeleteGraphqlApiInput) GoString() string

GoString returns the string representation

func (*DeleteGraphqlApiInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (DeleteGraphqlApiInput) String Uses

func (s DeleteGraphqlApiInput) String() string

String returns the string representation

func (*DeleteGraphqlApiInput) Validate Uses

func (s *DeleteGraphqlApiInput) Validate() error

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

type DeleteGraphqlApiOutput Uses

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

func (DeleteGraphqlApiOutput) GoString Uses

func (s DeleteGraphqlApiOutput) GoString() string

GoString returns the string representation

func (DeleteGraphqlApiOutput) String Uses

func (s DeleteGraphqlApiOutput) String() string

String returns the string representation

type DeleteResolverInput Uses

type DeleteResolverInput struct {

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

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

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

func (DeleteResolverInput) GoString Uses

func (s DeleteResolverInput) GoString() string

GoString returns the string representation

func (*DeleteResolverInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*DeleteResolverInput) SetFieldName Uses

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

SetFieldName sets the FieldName field's value.

func (*DeleteResolverInput) SetTypeName Uses

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

SetTypeName sets the TypeName field's value.

func (DeleteResolverInput) String Uses

func (s DeleteResolverInput) String() string

String returns the string representation

func (*DeleteResolverInput) Validate Uses

func (s *DeleteResolverInput) Validate() error

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

type DeleteResolverOutput Uses

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

func (DeleteResolverOutput) GoString Uses

func (s DeleteResolverOutput) GoString() string

GoString returns the string representation

func (DeleteResolverOutput) String Uses

func (s DeleteResolverOutput) String() string

String returns the string representation

type DeleteTypeInput Uses

type DeleteTypeInput struct {

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

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

func (DeleteTypeInput) GoString Uses

func (s DeleteTypeInput) GoString() string

GoString returns the string representation

func (*DeleteTypeInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*DeleteTypeInput) SetTypeName Uses

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

SetTypeName sets the TypeName field's value.

func (DeleteTypeInput) String Uses

func (s DeleteTypeInput) String() string

String returns the string representation

func (*DeleteTypeInput) Validate Uses

func (s *DeleteTypeInput) Validate() error

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

type DeleteTypeOutput Uses

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

func (DeleteTypeOutput) GoString Uses

func (s DeleteTypeOutput) GoString() string

GoString returns the string representation

func (DeleteTypeOutput) String Uses

func (s DeleteTypeOutput) String() string

String returns the string representation

type DynamodbDataSourceConfig Uses

type DynamodbDataSourceConfig struct {

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

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

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

Describes an Amazon DynamoDB data source configuration.

func (DynamodbDataSourceConfig) GoString Uses

func (s DynamodbDataSourceConfig) GoString() string

GoString returns the string representation

func (*DynamodbDataSourceConfig) SetAwsRegion Uses

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

SetAwsRegion sets the AwsRegion field's value.

func (*DynamodbDataSourceConfig) SetTableName Uses

func (s *DynamodbDataSourceConfig) SetTableName(v string) *DynamodbDataSourceConfig

SetTableName sets the TableName field's value.

func (*DynamodbDataSourceConfig) SetUseCallerCredentials Uses

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

SetUseCallerCredentials sets the UseCallerCredentials field's value.

func (DynamodbDataSourceConfig) String Uses

func (s DynamodbDataSourceConfig) String() string

String returns the string representation

func (*DynamodbDataSourceConfig) Validate Uses

func (s *DynamodbDataSourceConfig) Validate() error

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

type ElasticsearchDataSourceConfig Uses

type ElasticsearchDataSourceConfig struct {

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

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

Describes an Elasticsearch data source configuration.

func (ElasticsearchDataSourceConfig) GoString Uses

func (s ElasticsearchDataSourceConfig) GoString() string

GoString returns the string representation

func (*ElasticsearchDataSourceConfig) SetAwsRegion Uses

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

SetAwsRegion sets the AwsRegion field's value.

func (*ElasticsearchDataSourceConfig) SetEndpoint Uses

func (s *ElasticsearchDataSourceConfig) SetEndpoint(v string) *ElasticsearchDataSourceConfig

SetEndpoint sets the Endpoint field's value.

func (ElasticsearchDataSourceConfig) String Uses

func (s ElasticsearchDataSourceConfig) String() string

String returns the string representation

func (*ElasticsearchDataSourceConfig) Validate Uses

func (s *ElasticsearchDataSourceConfig) Validate() error

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

type FunctionConfiguration Uses

type FunctionConfiguration struct {

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

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

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

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

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

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

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

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

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

func (FunctionConfiguration) GoString Uses

func (s FunctionConfiguration) GoString() string

GoString returns the string representation

func (*FunctionConfiguration) SetDataSourceName Uses

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

SetDataSourceName sets the DataSourceName field's value.

func (*FunctionConfiguration) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*FunctionConfiguration) SetFunctionArn Uses

func (s *FunctionConfiguration) SetFunctionArn(v string) *FunctionConfiguration

SetFunctionArn sets the FunctionArn field's value.

func (*FunctionConfiguration) SetFunctionId Uses

func (s *FunctionConfiguration) SetFunctionId(v string) *FunctionConfiguration

SetFunctionId sets the FunctionId field's value.

func (*FunctionConfiguration) SetFunctionVersion Uses

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

SetFunctionVersion sets the FunctionVersion field's value.

func (*FunctionConfiguration) SetName Uses

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

SetName sets the Name field's value.

func (*FunctionConfiguration) SetRequestMappingTemplate Uses

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

SetRequestMappingTemplate sets the RequestMappingTemplate field's value.

func (*FunctionConfiguration) SetResponseMappingTemplate Uses

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

SetResponseMappingTemplate sets the ResponseMappingTemplate field's value.

func (FunctionConfiguration) String Uses

func (s FunctionConfiguration) String() string

String returns the string representation

type GetDataSourceInput Uses

type GetDataSourceInput struct {

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

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

func (GetDataSourceInput) GoString Uses

func (s GetDataSourceInput) GoString() string

GoString returns the string representation

func (*GetDataSourceInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*GetDataSourceInput) SetName Uses

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

SetName sets the Name field's value.

func (GetDataSourceInput) String Uses

func (s GetDataSourceInput) String() string

String returns the string representation

func (*GetDataSourceInput) Validate Uses

func (s *GetDataSourceInput) Validate() error

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

type GetDataSourceOutput Uses

type GetDataSourceOutput struct {

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

func (GetDataSourceOutput) GoString Uses

func (s GetDataSourceOutput) GoString() string

GoString returns the string representation

func (*GetDataSourceOutput) SetDataSource Uses

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

SetDataSource sets the DataSource field's value.

func (GetDataSourceOutput) String Uses

func (s GetDataSourceOutput) String() string

String returns the string representation

type GetFunctionInput Uses

type GetFunctionInput struct {

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

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

func (GetFunctionInput) GoString Uses

func (s GetFunctionInput) GoString() string

GoString returns the string representation

func (*GetFunctionInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*GetFunctionInput) SetFunctionId Uses

func (s *GetFunctionInput) SetFunctionId(v string) *GetFunctionInput

SetFunctionId sets the FunctionId field's value.

func (GetFunctionInput) String Uses

func (s GetFunctionInput) String() string

String returns the string representation

func (*GetFunctionInput) Validate Uses

func (s *GetFunctionInput) Validate() error

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

type GetFunctionOutput Uses

type GetFunctionOutput struct {

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

func (GetFunctionOutput) GoString Uses

func (s GetFunctionOutput) GoString() string

GoString returns the string representation

func (*GetFunctionOutput) SetFunctionConfiguration Uses

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

SetFunctionConfiguration sets the FunctionConfiguration field's value.

func (GetFunctionOutput) String Uses

func (s GetFunctionOutput) String() string

String returns the string representation

type GetGraphqlApiInput Uses

type GetGraphqlApiInput struct {

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

func (GetGraphqlApiInput) GoString Uses

func (s GetGraphqlApiInput) GoString() string

GoString returns the string representation

func (*GetGraphqlApiInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (GetGraphqlApiInput) String Uses

func (s GetGraphqlApiInput) String() string

String returns the string representation

func (*GetGraphqlApiInput) Validate Uses

func (s *GetGraphqlApiInput) Validate() error

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

type GetGraphqlApiOutput Uses

type GetGraphqlApiOutput struct {

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

func (GetGraphqlApiOutput) GoString Uses

func (s GetGraphqlApiOutput) GoString() string

GoString returns the string representation

func (*GetGraphqlApiOutput) SetGraphqlApi Uses

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

SetGraphqlApi sets the GraphqlApi field's value.

func (GetGraphqlApiOutput) String Uses

func (s GetGraphqlApiOutput) String() string

String returns the string representation

type GetIntrospectionSchemaInput Uses

type GetIntrospectionSchemaInput struct {

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

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

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

func (GetIntrospectionSchemaInput) GoString Uses

func (s GetIntrospectionSchemaInput) GoString() string

GoString returns the string representation

func (*GetIntrospectionSchemaInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*GetIntrospectionSchemaInput) SetFormat Uses

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

SetFormat sets the Format field's value.

func (*GetIntrospectionSchemaInput) SetIncludeDirectives Uses

func (s *GetIntrospectionSchemaInput) SetIncludeDirectives(v bool) *GetIntrospectionSchemaInput

SetIncludeDirectives sets the IncludeDirectives field's value.

func (GetIntrospectionSchemaInput) String Uses

func (s GetIntrospectionSchemaInput) String() string

String returns the string representation

func (*GetIntrospectionSchemaInput) Validate Uses

func (s *GetIntrospectionSchemaInput) Validate() error

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

type GetIntrospectionSchemaOutput Uses

type GetIntrospectionSchemaOutput struct {

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

func (GetIntrospectionSchemaOutput) GoString Uses

func (s GetIntrospectionSchemaOutput) GoString() string

GoString returns the string representation

func (*GetIntrospectionSchemaOutput) SetSchema Uses

func (s *GetIntrospectionSchemaOutput) SetSchema(v []byte) *GetIntrospectionSchemaOutput

SetSchema sets the Schema field's value.

func (GetIntrospectionSchemaOutput) String Uses

func (s GetIntrospectionSchemaOutput) String() string

String returns the string representation

type GetResolverInput Uses

type GetResolverInput struct {

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

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

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

func (GetResolverInput) GoString Uses

func (s GetResolverInput) GoString() string

GoString returns the string representation

func (*GetResolverInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*GetResolverInput) SetFieldName Uses

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

SetFieldName sets the FieldName field's value.

func (*GetResolverInput) SetTypeName Uses

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

SetTypeName sets the TypeName field's value.

func (GetResolverInput) String Uses

func (s GetResolverInput) String() string

String returns the string representation

func (*GetResolverInput) Validate Uses

func (s *GetResolverInput) Validate() error

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

type GetResolverOutput Uses

type GetResolverOutput struct {

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

func (GetResolverOutput) GoString Uses

func (s GetResolverOutput) GoString() string

GoString returns the string representation

func (*GetResolverOutput) SetResolver Uses

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

SetResolver sets the Resolver field's value.

func (GetResolverOutput) String Uses

func (s GetResolverOutput) String() string

String returns the string representation

type GetSchemaCreationStatusInput Uses

type GetSchemaCreationStatusInput struct {

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

func (GetSchemaCreationStatusInput) GoString Uses

func (s GetSchemaCreationStatusInput) GoString() string

GoString returns the string representation

func (*GetSchemaCreationStatusInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (GetSchemaCreationStatusInput) String Uses

func (s GetSchemaCreationStatusInput) String() string

String returns the string representation

func (*GetSchemaCreationStatusInput) Validate Uses

func (s *GetSchemaCreationStatusInput) Validate() error

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

type GetSchemaCreationStatusOutput Uses

type GetSchemaCreationStatusOutput struct {

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

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

func (GetSchemaCreationStatusOutput) GoString Uses

func (s GetSchemaCreationStatusOutput) GoString() string

GoString returns the string representation

func (*GetSchemaCreationStatusOutput) SetDetails Uses

func (s *GetSchemaCreationStatusOutput) SetDetails(v string) *GetSchemaCreationStatusOutput

SetDetails sets the Details field's value.

func (*GetSchemaCreationStatusOutput) SetStatus Uses

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

SetStatus sets the Status field's value.

func (GetSchemaCreationStatusOutput) String Uses

func (s GetSchemaCreationStatusOutput) String() string

String returns the string representation

type GetTypeInput Uses

type GetTypeInput struct {

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

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

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

func (GetTypeInput) GoString Uses

func (s GetTypeInput) GoString() string

GoString returns the string representation

func (*GetTypeInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*GetTypeInput) SetFormat Uses

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

SetFormat sets the Format field's value.

func (*GetTypeInput) SetTypeName Uses

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

SetTypeName sets the TypeName field's value.

func (GetTypeInput) String Uses

func (s GetTypeInput) String() string

String returns the string representation

func (*GetTypeInput) Validate Uses

func (s *GetTypeInput) Validate() error

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

type GetTypeOutput Uses

type GetTypeOutput struct {

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

func (GetTypeOutput) GoString Uses

func (s GetTypeOutput) GoString() string

GoString returns the string representation

func (*GetTypeOutput) SetType Uses

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

SetType sets the Type field's value.

func (GetTypeOutput) String Uses

func (s GetTypeOutput) String() string

String returns the string representation

type GraphqlApi Uses

type GraphqlApi struct {

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

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

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

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

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

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

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

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

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

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

Describes a GraphQL API.

func (GraphqlApi) GoString Uses

func (s GraphqlApi) GoString() string

GoString returns the string representation

func (*GraphqlApi) SetAdditionalAuthenticationProviders Uses

func (s *GraphqlApi) SetAdditionalAuthenticationProviders(v []*AdditionalAuthenticationProvider) *GraphqlApi

SetAdditionalAuthenticationProviders sets the AdditionalAuthenticationProviders field's value.

func (*GraphqlApi) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*GraphqlApi) SetArn Uses

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

SetArn sets the Arn field's value.

func (*GraphqlApi) SetAuthenticationType Uses

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

SetAuthenticationType sets the AuthenticationType field's value.

func (*GraphqlApi) SetLogConfig Uses

func (s *GraphqlApi) SetLogConfig(v *LogConfig) *GraphqlApi

SetLogConfig sets the LogConfig field's value.

func (*GraphqlApi) SetName Uses

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

SetName sets the Name field's value.

func (*GraphqlApi) SetOpenIDConnectConfig Uses

func (s *GraphqlApi) SetOpenIDConnectConfig(v *OpenIDConnectConfig) *GraphqlApi

SetOpenIDConnectConfig sets the OpenIDConnectConfig field's value.

func (*GraphqlApi) SetTags Uses

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

SetTags sets the Tags field's value.

func (*GraphqlApi) SetUris Uses

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

SetUris sets the Uris field's value.

func (*GraphqlApi) SetUserPoolConfig Uses

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

SetUserPoolConfig sets the UserPoolConfig field's value.

func (GraphqlApi) String Uses

func (s GraphqlApi) String() string

String returns the string representation

type HttpDataSourceConfig Uses

type HttpDataSourceConfig struct {

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

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

Describes an HTTP data source configuration.

func (HttpDataSourceConfig) GoString Uses

func (s HttpDataSourceConfig) GoString() string

GoString returns the string representation

func (*HttpDataSourceConfig) SetAuthorizationConfig Uses

func (s *HttpDataSourceConfig) SetAuthorizationConfig(v *AuthorizationConfig) *HttpDataSourceConfig

SetAuthorizationConfig sets the AuthorizationConfig field's value.

func (*HttpDataSourceConfig) SetEndpoint Uses

func (s *HttpDataSourceConfig) SetEndpoint(v string) *HttpDataSourceConfig

SetEndpoint sets the Endpoint field's value.

func (HttpDataSourceConfig) String Uses

func (s HttpDataSourceConfig) String() string

String returns the string representation

func (*HttpDataSourceConfig) Validate Uses

func (s *HttpDataSourceConfig) Validate() error

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

type LambdaDataSourceConfig Uses

type LambdaDataSourceConfig struct {

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

Describes an AWS Lambda data source configuration.

func (LambdaDataSourceConfig) GoString Uses

func (s LambdaDataSourceConfig) GoString() string

GoString returns the string representation

func (*LambdaDataSourceConfig) SetLambdaFunctionArn Uses

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

SetLambdaFunctionArn sets the LambdaFunctionArn field's value.

func (LambdaDataSourceConfig) String Uses

func (s LambdaDataSourceConfig) String() string

String returns the string representation

func (*LambdaDataSourceConfig) Validate Uses

func (s *LambdaDataSourceConfig) Validate() error

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

type ListApiKeysInput Uses

type ListApiKeysInput struct {

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

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

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

func (ListApiKeysInput) GoString Uses

func (s ListApiKeysInput) GoString() string

GoString returns the string representation

func (*ListApiKeysInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*ListApiKeysInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListApiKeysInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListApiKeysInput) String Uses

func (s ListApiKeysInput) String() string

String returns the string representation

func (*ListApiKeysInput) Validate Uses

func (s *ListApiKeysInput) Validate() error

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

type ListApiKeysOutput Uses

type ListApiKeysOutput struct {

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

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

func (ListApiKeysOutput) GoString Uses

func (s ListApiKeysOutput) GoString() string

GoString returns the string representation

func (*ListApiKeysOutput) SetApiKeys Uses

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

SetApiKeys sets the ApiKeys field's value.

func (*ListApiKeysOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListApiKeysOutput) String Uses

func (s ListApiKeysOutput) String() string

String returns the string representation

type ListDataSourcesInput Uses

type ListDataSourcesInput struct {

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

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

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

func (ListDataSourcesInput) GoString Uses

func (s ListDataSourcesInput) GoString() string

GoString returns the string representation

func (*ListDataSourcesInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*ListDataSourcesInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListDataSourcesInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListDataSourcesInput) String Uses

func (s ListDataSourcesInput) String() string

String returns the string representation

func (*ListDataSourcesInput) Validate Uses

func (s *ListDataSourcesInput) Validate() error

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

type ListDataSourcesOutput Uses

type ListDataSourcesOutput struct {

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

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

func (ListDataSourcesOutput) GoString Uses

func (s ListDataSourcesOutput) GoString() string

GoString returns the string representation

func (*ListDataSourcesOutput) SetDataSources Uses

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

SetDataSources sets the DataSources field's value.

func (*ListDataSourcesOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListDataSourcesOutput) String Uses

func (s ListDataSourcesOutput) String() string

String returns the string representation

type ListFunctionsInput Uses

type ListFunctionsInput struct {

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

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

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

func (ListFunctionsInput) GoString Uses

func (s ListFunctionsInput) GoString() string

GoString returns the string representation

func (*ListFunctionsInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*ListFunctionsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListFunctionsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListFunctionsInput) String Uses

func (s ListFunctionsInput) String() string

String returns the string representation

func (*ListFunctionsInput) Validate Uses

func (s *ListFunctionsInput) Validate() error

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

type ListFunctionsOutput Uses

type ListFunctionsOutput struct {

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

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

func (ListFunctionsOutput) GoString Uses

func (s ListFunctionsOutput) GoString() string

GoString returns the string representation

func (*ListFunctionsOutput) SetFunctions Uses

func (s *ListFunctionsOutput) SetFunctions(v []*FunctionConfiguration) *ListFunctionsOutput

SetFunctions sets the Functions field's value.

func (*ListFunctionsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListFunctionsOutput) String Uses

func (s ListFunctionsOutput) String() string

String returns the string representation

type ListGraphqlApisInput Uses

type ListGraphqlApisInput struct {

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

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

func (ListGraphqlApisInput) GoString Uses

func (s ListGraphqlApisInput) GoString() string

GoString returns the string representation

func (*ListGraphqlApisInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListGraphqlApisInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListGraphqlApisInput) String Uses

func (s ListGraphqlApisInput) String() string

String returns the string representation

type ListGraphqlApisOutput Uses

type ListGraphqlApisOutput struct {

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

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

func (ListGraphqlApisOutput) GoString Uses

func (s ListGraphqlApisOutput) GoString() string

GoString returns the string representation

func (*ListGraphqlApisOutput) SetGraphqlApis Uses

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

SetGraphqlApis sets the GraphqlApis field's value.

func (*ListGraphqlApisOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListGraphqlApisOutput) String Uses

func (s ListGraphqlApisOutput) String() string

String returns the string representation

type ListResolversByFunctionInput Uses

type ListResolversByFunctionInput struct {

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

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

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

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

func (ListResolversByFunctionInput) GoString Uses

func (s ListResolversByFunctionInput) GoString() string

GoString returns the string representation

func (*ListResolversByFunctionInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*ListResolversByFunctionInput) SetFunctionId Uses

func (s *ListResolversByFunctionInput) SetFunctionId(v string) *ListResolversByFunctionInput

SetFunctionId sets the FunctionId field's value.

func (*ListResolversByFunctionInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListResolversByFunctionInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListResolversByFunctionInput) String Uses

func (s ListResolversByFunctionInput) String() string

String returns the string representation

func (*ListResolversByFunctionInput) Validate Uses

func (s *ListResolversByFunctionInput) Validate() error

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

type ListResolversByFunctionOutput Uses

type ListResolversByFunctionOutput struct {

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

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

func (ListResolversByFunctionOutput) GoString Uses

func (s ListResolversByFunctionOutput) GoString() string

GoString returns the string representation

func (*ListResolversByFunctionOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListResolversByFunctionOutput) SetResolvers Uses

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

SetResolvers sets the Resolvers field's value.

func (ListResolversByFunctionOutput) String Uses

func (s ListResolversByFunctionOutput) String() string

String returns the string representation

type ListResolversInput Uses

type ListResolversInput struct {

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

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

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

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

func (ListResolversInput) GoString Uses

func (s ListResolversInput) GoString() string

GoString returns the string representation

func (*ListResolversInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*ListResolversInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListResolversInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListResolversInput) SetTypeName Uses

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

SetTypeName sets the TypeName field's value.

func (ListResolversInput) String Uses

func (s ListResolversInput) String() string

String returns the string representation

func (*ListResolversInput) Validate Uses

func (s *ListResolversInput) Validate() error

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

type ListResolversOutput Uses

type ListResolversOutput struct {

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

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

func (ListResolversOutput) GoString Uses

func (s ListResolversOutput) GoString() string

GoString returns the string representation

func (*ListResolversOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListResolversOutput) SetResolvers Uses

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

SetResolvers sets the Resolvers field's value.

func (ListResolversOutput) String Uses

func (s ListResolversOutput) String() string

String returns the string representation

type ListTagsForResourceInput Uses

type ListTagsForResourceInput struct {

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

func (ListTagsForResourceInput) GoString Uses

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn Uses

func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String Uses

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate Uses

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput Uses

type ListTagsForResourceOutput struct {

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

func (ListTagsForResourceOutput) GoString Uses

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags Uses

func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String Uses

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTypesInput Uses

type ListTypesInput struct {

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

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

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

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

func (ListTypesInput) GoString Uses

func (s ListTypesInput) GoString() string

GoString returns the string representation

func (*ListTypesInput) SetApiId Uses

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

SetApiId sets the ApiId field's value.

func (*ListTypesInput) SetFormat Uses

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

SetFormat sets the Format field's value.

func (*ListTypesInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListTypesInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListTypesInput) String Uses

func (s ListTypesInput) String() string

String returns the string representation

func (*ListTypesInput) Validate Uses

func (s *ListTypesInput) Validate() error

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

type ListTypesOutput Uses

type ListTypesOutput struct {

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

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

func (ListTypesOutput) GoString Uses

func (s ListTypesOutput) GoString() string

GoString returns the string representation

func (*ListTypesOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListTypesOutput) SetTypes Uses

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

SetTypes sets the Types field's value.

func (ListTypesOutput) String Uses

func (s ListTypesOutput) String() string

String returns the string representation

type LogConfig Uses

type LogConfig struct {

    // The service role that AWS AppSync will assume to publish to Amazon CloudWatch
    // logs in your account.
    //
    // CloudWatchLogsRoleArn is a required field
    CloudWatchLogsRoleArn *string `locationName:"cloudWatchLogsRoleArn" type:"string" required:"true"`

    // Set to TRUE to exclude sections that contain information such as headers,
    // context, and evaluated mapping templates, regardless of logging level.
    ExcludeVerboseContent *bool `locationName:"excludeVerboseContent" type:"boolean"`

    // The field logging level. Values can be NONE, ERROR, or ALL.
    //
    //    * NONE: No field-level logs are captured.
    //
    //    * ERROR: Logs the following information only for the fields that are in
    //    error: The error section in the server response. Field-level errors. The
    //    generated request/response functions that got resolved for error fields.
    //
    //    * ALL: The following information is logged for all fields in the query:
    //    Field-level tracing information. The generated request/response functions
    //    that got resolved for each field.
    //
    // FieldLogLevel is a required field
    FieldLogLevel *string `locationName:"fieldLogLevel" type:"string" required:"true" enum:"FieldLogLevel"`
    // contains filtered or unexported fields
}

The CloudWatch Logs configuration.

func (LogConfig) GoString Uses

func (s LogConfig) GoString() string

GoString returns the string representation

func (*LogConfig) SetCloudWatchLogsRoleArn Uses

func (s *LogConfig) SetCloudWatchLogsRoleArn(v string) *LogConfig

SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value.

func (*LogConfig) SetExcludeVerboseContent Uses

func (s *LogConfig) SetExcludeVerboseContent(v bool) *LogConfig

SetExcludeVerboseContent sets the ExcludeVerboseContent field's value.

func (*LogConfig) SetFieldLogLevel Uses

func (s *LogConfig) SetFieldLogLevel(v string) *LogConfig

SetFieldLogLevel sets the FieldLogLevel field's value.

func (LogConfig) String Uses

func (s LogConfig) String() string

String returns the string representation

func (*LogConfig) Validate Uses

func (s *LogConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type OpenIDConnectConfig Uses

type OpenIDConnectConfig struct {

    // The number of milliseconds a token is valid after being authenticated.
    AuthTTL *int64 `locationName:"authTTL" type:"long"`

    // The client identifier of the Relying party at the OpenID identity provider.
    // This identifier is typically obtained when the Relying party is registered
    // with the OpenID identity provider. You can specify a regular expression so
    // the AWS AppSync can validate against multiple client identifiers at a time.
    ClientId *string `locationName:"clientId" type:"string"`

    // The number of milliseconds a token is valid after being issued to a user.
    IatTTL *int64 `locationName:"iatTTL" type:"long"`

    // The issuer for the OpenID Connect configuration. The issuer returned by discovery
    // must exactly match the value of iss in the ID token.
    //
    // Issuer is a required field
    Issuer *string `locationName:"issuer" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Describes an OpenID Connect configuration.

func (OpenIDConnectConfig) GoString Uses

func (s OpenIDConnectConfig) GoString() string

GoString returns the string representation

func (*OpenIDConnectConfig) SetAuthTTL Uses

func (s *OpenIDConnectConfig) SetAuthTTL(v int64) *OpenIDConnectConfig

SetAuthTTL sets the AuthTTL field's value.

func (*OpenIDConnectConfig) SetClientId Uses

func (s *OpenIDConnectConfig) SetClientId(v string) *OpenIDConnectConfig

SetClientId sets the ClientId field's value.

func (*OpenIDConnectConfig) SetIatTTL Uses

func (s *OpenIDConnectConfig) SetIatTTL(v int64) *OpenIDConnectConfig

SetIatTTL sets the IatTTL field's value.

func (*OpenIDConnectConfig) SetIssuer Uses

func (s *OpenIDConnectConfig) SetIssuer(v string) *OpenIDConnectConfig

SetIssuer sets the Issuer field's value.

func (OpenIDConnectConfig) String Uses

func (s OpenIDConnectConfig) String() string

String returns the string representation

func (*OpenIDConnectConfig) Validate Uses

func (s *OpenIDConnectConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PipelineConfig Uses

type PipelineConfig struct {

    // A list of Function objects.
    Functions []*string `locationName:"functions" type:"list"`
    // contains filtered or unexported fields
}

The pipeline configuration for a resolver of kind PIPELINE.

func (PipelineConfig) GoString Uses

func (s PipelineConfig) GoString() string

GoString returns the string representation

func (*PipelineConfig) SetFunctions Uses

func (s *PipelineConfig) SetFunctions(v []*string) *PipelineConfig

SetFunctions sets the Functions field's value.

func (PipelineConfig) String Uses

func (s PipelineConfig) String() string

String returns the string representation

type RdsHttpEndpointConfig Uses

type RdsHttpEndpointConfig struct {

    // AWS Region for RDS HTTP endpoint.
    AwsRegion *string `locationName:"awsRegion" type:"string"`

    // AWS secret store ARN for database credentials.
    AwsSecretStoreArn *string `locationName:"awsSecretStoreArn" type:"string"`

    // Logical database name.
    DatabaseName *string `locationName:"databaseName" type:"string"`

    // Amazon RDS cluster identifier.
    DbClusterIdentifier *string `locationName:"dbClusterIdentifier" type:"string"`

    // Logical schema name.
    Schema *string `locationName:"schema" type:"string"`
    // contains filtered or unexported fields
}

The Amazon RDS HTTP endpoint configuration.

func (RdsHttpEndpointConfig) GoString Uses

func (s RdsHttpEndpointConfig) GoString() string

GoString returns the string representation

func (*RdsHttpEndpointConfig) SetAwsRegion Uses

func (s *RdsHttpEndpointConfig) SetAwsRegion(v string) *RdsHttpEndpointConfig

SetAwsRegion sets the AwsRegion field's value.

func (*RdsHttpEndpointConfig) SetAwsSecretStoreArn Uses

func (s *RdsHttpEndpointConfig) SetAwsSecretStoreArn(v string) *RdsHttpEndpointConfig

SetAwsSecretStoreArn sets the AwsSecretStoreArn field's value.

func (*RdsHttpEndpointConfig) SetDatabaseName Uses

func (s *RdsHttpEndpointConfig) SetDatabaseName(v string) *RdsHttpEndpointConfig

SetDatabaseName sets the DatabaseName field's value.

func (*RdsHttpEndpointConfig) SetDbClusterIdentifier Uses

func (s *RdsHttpEndpointConfig) SetDbClusterIdentifier(v string) *RdsHttpEndpointConfig

SetDbClusterIdentifier sets the DbClusterIdentifier field's value.

func (*RdsHttpEndpointConfig) SetSchema Uses

func (s *RdsHttpEndpointConfig) SetSchema(v string) *RdsHttpEndpointConfig

SetSchema sets the Schema field's value.

func (RdsHttpEndpointConfig) String Uses

func (s RdsHttpEndpointConfig) String() string

String returns the string representation

type RelationalDatabaseDataSourceConfig Uses

type RelationalDatabaseDataSourceConfig struct {

    // Amazon RDS HTTP endpoint settings.
    RdsHttpEndpointConfig *RdsHttpEndpointConfig `locationName:"rdsHttpEndpointConfig" type:"structure"`

    // Source type for the relational database.
    //
    //    * RDS_HTTP_ENDPOINT: The relational database source type is an Amazon
    //    RDS HTTP endpoint.
    RelationalDatabaseSourceType *string `locationName:"relationalDatabaseSourceType" type:"string" enum:"RelationalDatabaseSourceType"`
    // contains filtered or unexported fields
}

Describes a relational database data source configuration.

func (RelationalDatabaseDataSourceConfig) GoString Uses

func (s RelationalDatabaseDataSourceConfig) GoString() string

GoString returns the string representation

func (*RelationalDatabaseDataSourceConfig) SetRdsHttpEndpointConfig Uses

func (s *RelationalDatabaseDataSourceConfig) SetRdsHttpEndpointConfig(v *RdsHttpEndpointConfig) *RelationalDatabaseDataSourceConfig

SetRdsHttpEndpointConfig sets the RdsHttpEndpointConfig field's value.

func (*RelationalDatabaseDataSourceConfig) SetRelationalDatabaseSourceType Uses

func (s *RelationalDatabaseDataSourceConfig) SetRelationalDatabaseSourceType(v string) *RelationalDatabaseDataSourceConfig

SetRelationalDatabaseSourceType sets the RelationalDatabaseSourceType field's value.

func (RelationalDatabaseDataSourceConfig) String Uses

func (s RelationalDatabaseDataSourceConfig) String() string

String returns the string representation

type Resolver Uses

type Resolver struct {

    // The resolver data source name.
    DataSourceName *string `locationName:"dataSourceName" type:"string"`

    // The resolver field name.
    FieldName *string `locationName:"fieldName" type:"string"`

    // The resolver type.
    //
    //    * UNIT: A UNIT resolver type. A UNIT resolver is the default resolver
    //    type. A UNIT resolver enables you to execute a GraphQL query against a
    //    single data source.
    //
    //    * PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you
    //    to execute a series of Function in a serial manner. You can use a pipeline
    //    resolver to execute a GraphQL query against multiple data sources.
    Kind *string `locationName:"kind" type:"string" enum:"ResolverKind"`

    // The PipelineConfig.
    PipelineConfig *PipelineConfig `locationName:"pipelineConfig" type:"structure"`

    // The request mapping template.
    RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string"`

    // The resolver ARN.
    ResolverArn *string `locationName:"resolverArn" type:"string"`

    // The response mapping template.
    ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"`

    // The resolver type name.
    TypeName *string `locationName:"typeName" type:"string"`
    // contains filtered or unexported fields
}

Describes a resolver.

func (Resolver) GoString Uses

func (s Resolver) GoString() string

GoString returns the string representation

func (*Resolver) SetDataSourceName Uses

func (s *Resolver) SetDataSourceName(v string) *Resolver

SetDataSourceName sets the DataSourceName field's value.

func (*Resolver) SetFieldName Uses

func (s *Resolver) SetFieldName(v string) *Resolver

SetFieldName sets the FieldName field's value.

func (*Resolver) SetKind Uses

func (s *Resolver) SetKind(v string) *Resolver

SetKind sets the Kind field's value.

func (*Resolver) SetPipelineConfig Uses

func (s *Resolver) SetPipelineConfig(v *PipelineConfig) *Resolver

SetPipelineConfig sets the PipelineConfig field's value.

func (*Resolver) SetRequestMappingTemplate Uses

func (s *Resolver) SetRequestMappingTemplate(v string) *Resolver

SetRequestMappingTemplate sets the RequestMappingTemplate field's value.

func (*Resolver) SetResolverArn Uses

func (s *Resolver) SetResolverArn(v string) *Resolver

SetResolverArn sets the ResolverArn field's value.

func (*Resolver) SetResponseMappingTemplate Uses

func (s *Resolver) SetResponseMappingTemplate(v string) *Resolver

SetResponseMappingTemplate sets the ResponseMappingTemplate field's value.

func (*Resolver) SetTypeName Uses

func (s *Resolver) SetTypeName(v string) *Resolver

SetTypeName sets the TypeName field's value.

func (Resolver) String Uses

func (s Resolver) String() string

String returns the string representation

type StartSchemaCreationInput Uses

type StartSchemaCreationInput struct {

    // The API ID.
    //
    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // The schema definition, in GraphQL schema language format.
    //
    // Definition is automatically base64 encoded/decoded by the SDK.
    //
    // Definition is a required field
    Definition []byte `locationName:"definition" type:"blob" required:"true"`
    // contains filtered or unexported fields
}

func (StartSchemaCreationInput) GoString Uses

func (s StartSchemaCreationInput) GoString() string

GoString returns the string representation

func (*StartSchemaCreationInput) SetApiId Uses

func (s *StartSchemaCreationInput) SetApiId(v string) *StartSchemaCreationInput

SetApiId sets the ApiId field's value.

func (*StartSchemaCreationInput) SetDefinition Uses

func (s *StartSchemaCreationInput) SetDefinition(v []byte) *StartSchemaCreationInput

SetDefinition sets the Definition field's value.

func (StartSchemaCreationInput) String Uses

func (s StartSchemaCreationInput) String() string

String returns the string representation

func (*StartSchemaCreationInput) Validate Uses

func (s *StartSchemaCreationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StartSchemaCreationOutput Uses

type StartSchemaCreationOutput struct {

    // The current state of the schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE).
    // When the schema is in the ACTIVE state, you can add data.
    Status *string `locationName:"status" type:"string" enum:"SchemaStatus"`
    // contains filtered or unexported fields
}

func (StartSchemaCreationOutput) GoString Uses

func (s StartSchemaCreationOutput) GoString() string

GoString returns the string representation

func (*StartSchemaCreationOutput) SetStatus Uses

func (s *StartSchemaCreationOutput) SetStatus(v string) *StartSchemaCreationOutput

SetStatus sets the Status field's value.

func (StartSchemaCreationOutput) String Uses

func (s StartSchemaCreationOutput) String() string

String returns the string representation

type TagResourceInput Uses

type TagResourceInput struct {

    // The GraphqlApi ARN.
    //
    // ResourceArn is a required field
    ResourceArn *string `location:"uri" locationName:"resourceArn" min:"70" type:"string" required:"true"`

    // A TagMap object.
    //
    // Tags is a required field
    Tags map[string]*string `locationName:"tags" min:"1" type:"map" required:"true"`
    // contains filtered or unexported fields
}

func (TagResourceInput) GoString Uses

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn Uses

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags Uses

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String Uses

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate Uses

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput Uses

type TagResourceOutput struct {
    // contains filtered or unexported fields
}

func (TagResourceOutput) GoString Uses

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String Uses

func (s TagResourceOutput) String() string

String returns the string representation

type Type Uses

type Type struct {

    // The type ARN.
    Arn *string `locationName:"arn" type:"string"`

    // The type definition.
    Definition *string `locationName:"definition" type:"string"`

    // The type description.
    Description *string `locationName:"description" type:"string"`

    // The type format: SDL or JSON.
    Format *string `locationName:"format" type:"string" enum:"TypeDefinitionFormat"`

    // The type name.
    Name *string `locationName:"name" type:"string"`
    // contains filtered or unexported fields
}

Describes a type.

func (Type) GoString Uses

func (s Type) GoString() string

GoString returns the string representation

func (*Type) SetArn Uses

func (s *Type) SetArn(v string) *Type

SetArn sets the Arn field's value.

func (*Type) SetDefinition Uses

func (s *Type) SetDefinition(v string) *Type

SetDefinition sets the Definition field's value.

func (*Type) SetDescription Uses

func (s *Type) SetDescription(v string) *Type

SetDescription sets the Description field's value.

func (*Type) SetFormat Uses

func (s *Type) SetFormat(v string) *Type

SetFormat sets the Format field's value.

func (*Type) SetName Uses

func (s *Type) SetName(v string) *Type

SetName sets the Name field's value.

func (Type) String Uses

func (s Type) String() string

String returns the string representation

type UntagResourceInput Uses

type UntagResourceInput struct {

    // The GraphqlApi ARN.
    //
    // ResourceArn is a required field
    ResourceArn *string `location:"uri" locationName:"resourceArn" min:"70" type:"string" required:"true"`

    // A list of TagKey objects.
    //
    // TagKeys is a required field
    TagKeys []*string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (UntagResourceInput) GoString Uses

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn Uses

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys Uses

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String Uses

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate Uses

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput Uses

type UntagResourceOutput struct {
    // contains filtered or unexported fields
}

func (UntagResourceOutput) GoString Uses

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String Uses

func (s UntagResourceOutput) String() string

String returns the string representation

type UpdateApiKeyInput Uses

type UpdateApiKeyInput struct {

    // The ID for the GraphQL API.
    //
    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // A description of the purpose of the API key.
    Description *string `locationName:"description" type:"string"`

    // The time from update time after which the API key expires. The date is represented
    // as seconds since the epoch. For more information, see .
    Expires *int64 `locationName:"expires" type:"long"`

    // The API key ID.
    //
    // Id is a required field
    Id  *string `location:"uri" locationName:"id" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (UpdateApiKeyInput) GoString Uses

func (s UpdateApiKeyInput) GoString() string

GoString returns the string representation

func (*UpdateApiKeyInput) SetApiId Uses

func (s *UpdateApiKeyInput) SetApiId(v string) *UpdateApiKeyInput

SetApiId sets the ApiId field's value.

func (*UpdateApiKeyInput) SetDescription Uses

func (s *UpdateApiKeyInput) SetDescription(v string) *UpdateApiKeyInput

SetDescription sets the Description field's value.

func (*UpdateApiKeyInput) SetExpires Uses

func (s *UpdateApiKeyInput) SetExpires(v int64) *UpdateApiKeyInput

SetExpires sets the Expires field's value.

func (*UpdateApiKeyInput) SetId Uses

func (s *UpdateApiKeyInput) SetId(v string) *UpdateApiKeyInput

SetId sets the Id field's value.

func (UpdateApiKeyInput) String Uses

func (s UpdateApiKeyInput) String() string

String returns the string representation

func (*UpdateApiKeyInput) Validate Uses

func (s *UpdateApiKeyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateApiKeyOutput Uses

type UpdateApiKeyOutput struct {

    // The API key.
    ApiKey *ApiKey `locationName:"apiKey" type:"structure"`
    // contains filtered or unexported fields
}

func (UpdateApiKeyOutput) GoString Uses

func (s UpdateApiKeyOutput) GoString() string

GoString returns the string representation

func (*UpdateApiKeyOutput) SetApiKey Uses

func (s *UpdateApiKeyOutput) SetApiKey(v *ApiKey) *UpdateApiKeyOutput

SetApiKey sets the ApiKey field's value.

func (UpdateApiKeyOutput) String Uses

func (s UpdateApiKeyOutput) String() string

String returns the string representation

type UpdateDataSourceInput Uses

type UpdateDataSourceInput struct {

    // The API ID.
    //
    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // The new description for the data source.
    Description *string `locationName:"description" type:"string"`

    // The new Amazon DynamoDB configuration.
    DynamodbConfig *DynamodbDataSourceConfig `locationName:"dynamodbConfig" type:"structure"`

    // The new Elasticsearch Service configuration.
    ElasticsearchConfig *ElasticsearchDataSourceConfig `locationName:"elasticsearchConfig" type:"structure"`

    // The new HTTP endpoint configuration.
    HttpConfig *HttpDataSourceConfig `locationName:"httpConfig" type:"structure"`

    // The new AWS Lambda configuration.
    LambdaConfig *LambdaDataSourceConfig `locationName:"lambdaConfig" type:"structure"`

    // The new name for the data source.
    //
    // Name is a required field
    Name *string `location:"uri" locationName:"name" type:"string" required:"true"`

    // The new relational database configuration.
    RelationalDatabaseConfig *RelationalDatabaseDataSourceConfig `locationName:"relationalDatabaseConfig" type:"structure"`

    // The new service role ARN for the data source.
    ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"`

    // The new data source type.
    //
    // Type is a required field
    Type *string `locationName:"type" type:"string" required:"true" enum:"DataSourceType"`
    // contains filtered or unexported fields
}

func (UpdateDataSourceInput) GoString Uses

func (s UpdateDataSourceInput) GoString() string

GoString returns the string representation

func (*UpdateDataSourceInput) SetApiId Uses

func (s *UpdateDataSourceInput) SetApiId(v string) *UpdateDataSourceInput

SetApiId sets the ApiId field's value.

func (*UpdateDataSourceInput) SetDescription Uses

func (s *UpdateDataSourceInput) SetDescription(v string) *UpdateDataSourceInput

SetDescription sets the Description field's value.

func (*UpdateDataSourceInput) SetDynamodbConfig Uses

func (s *UpdateDataSourceInput) SetDynamodbConfig(v *DynamodbDataSourceConfig) *UpdateDataSourceInput

SetDynamodbConfig sets the DynamodbConfig field's value.

func (*UpdateDataSourceInput) SetElasticsearchConfig Uses

func (s *UpdateDataSourceInput) SetElasticsearchConfig(v *ElasticsearchDataSourceConfig) *UpdateDataSourceInput

SetElasticsearchConfig sets the ElasticsearchConfig field's value.

func (*UpdateDataSourceInput) SetHttpConfig Uses

func (s *UpdateDataSourceInput) SetHttpConfig(v *HttpDataSourceConfig) *UpdateDataSourceInput

SetHttpConfig sets the HttpConfig field's value.

func (*UpdateDataSourceInput) SetLambdaConfig Uses

func (s *UpdateDataSourceInput) SetLambdaConfig(v *LambdaDataSourceConfig) *UpdateDataSourceInput

SetLambdaConfig sets the LambdaConfig field's value.

func (*UpdateDataSourceInput) SetName Uses

func (s *UpdateDataSourceInput) SetName(v string) *UpdateDataSourceInput

SetName sets the Name field's value.

func (*UpdateDataSourceInput) SetRelationalDatabaseConfig Uses

func (s *UpdateDataSourceInput) SetRelationalDatabaseConfig(v *RelationalDatabaseDataSourceConfig) *UpdateDataSourceInput

SetRelationalDatabaseConfig sets the RelationalDatabaseConfig field's value.

func (*UpdateDataSourceInput) SetServiceRoleArn Uses

func (s *UpdateDataSourceInput) SetServiceRoleArn(v string) *UpdateDataSourceInput

SetServiceRoleArn sets the ServiceRoleArn field's value.

func (*UpdateDataSourceInput) SetType Uses

func (s *UpdateDataSourceInput) SetType(v string) *UpdateDataSourceInput

SetType sets the Type field's value.

func (UpdateDataSourceInput) String Uses

func (s UpdateDataSourceInput) String() string

String returns the string representation

func (*UpdateDataSourceInput) Validate Uses

func (s *UpdateDataSourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateDataSourceOutput Uses

type UpdateDataSourceOutput struct {

    // The updated DataSource object.
    DataSource *DataSource `locationName:"dataSource" type:"structure"`
    // contains filtered or unexported fields
}

func (UpdateDataSourceOutput) GoString Uses

func (s UpdateDataSourceOutput) GoString() string

GoString returns the string representation

func (*UpdateDataSourceOutput) SetDataSource Uses

func (s *UpdateDataSourceOutput) SetDataSource(v *DataSource) *UpdateDataSourceOutput

SetDataSource sets the DataSource field's value.

func (UpdateDataSourceOutput) String Uses

func (s UpdateDataSourceOutput) String() string

String returns the string representation

type UpdateFunctionInput Uses

type UpdateFunctionInput struct {

    // The GraphQL API ID.
    //
    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // The Function DataSource name.
    //
    // DataSourceName is a required field
    DataSourceName *string `locationName:"dataSourceName" type:"string" required:"true"`

    // The Function description.
    Description *string `locationName:"description" type:"string"`

    // The function ID.
    //
    // FunctionId is a required field
    FunctionId *string `location:"uri" locationName:"functionId" type:"string" required:"true"`

    // The version of the request mapping template. Currently the supported value
    // is 2018-05-29.
    //
    // FunctionVersion is a required field
    FunctionVersion *string `locationName:"functionVersion" type:"string" required:"true"`

    // The Function name.
    //
    // Name is a required field
    Name *string `locationName:"name" type:"string" required:"true"`

    // The Function request mapping template. Functions support only the 2018-05-29
    // version of the request mapping template.
    //
    // RequestMappingTemplate is a required field
    RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string" required:"true"`

    // The Function request mapping template.
    ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (UpdateFunctionInput) GoString Uses

func (s UpdateFunctionInput) GoString() string

GoString returns the string representation

func (*UpdateFunctionInput) SetApiId Uses

func (s *UpdateFunctionInput) SetApiId(v string) *UpdateFunctionInput

SetApiId sets the ApiId field's value.

func (*UpdateFunctionInput) SetDataSourceName Uses

func (s *UpdateFunctionInput) SetDataSourceName(v string) *UpdateFunctionInput

SetDataSourceName sets the DataSourceName field's value.

func (*UpdateFunctionInput) SetDescription Uses

func (s *UpdateFunctionInput) SetDescription(v string) *UpdateFunctionInput

SetDescription sets the Description field's value.

func (*UpdateFunctionInput) SetFunctionId Uses

func (s *UpdateFunctionInput) SetFunctionId(v string) *UpdateFunctionInput

SetFunctionId sets the FunctionId field's value.

func (*UpdateFunctionInput) SetFunctionVersion Uses

func (s *UpdateFunctionInput) SetFunctionVersion(v string) *UpdateFunctionInput

SetFunctionVersion sets the FunctionVersion field's value.

func (*UpdateFunctionInput) SetName Uses

func (s *UpdateFunctionInput) SetName(v string) *UpdateFunctionInput

SetName sets the Name field's value.

func (*UpdateFunctionInput) SetRequestMappingTemplate Uses

func (s *UpdateFunctionInput) SetRequestMappingTemplate(v string) *UpdateFunctionInput

SetRequestMappingTemplate sets the RequestMappingTemplate field's value.

func (*UpdateFunctionInput) SetResponseMappingTemplate Uses

func (s *UpdateFunctionInput) SetResponseMappingTemplate(v string) *UpdateFunctionInput

SetResponseMappingTemplate sets the ResponseMappingTemplate field's value.

func (UpdateFunctionInput) String Uses

func (s UpdateFunctionInput) String() string

String returns the string representation

func (*UpdateFunctionInput) Validate Uses

func (s *UpdateFunctionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateFunctionOutput Uses

type UpdateFunctionOutput struct {

    // The Function object.
    FunctionConfiguration *FunctionConfiguration `locationName:"functionConfiguration" type:"structure"`
    // contains filtered or unexported fields
}

func (UpdateFunctionOutput) GoString Uses

func (s UpdateFunctionOutput) GoString() string

GoString returns the string representation

func (*UpdateFunctionOutput) SetFunctionConfiguration Uses

func (s *UpdateFunctionOutput) SetFunctionConfiguration(v *FunctionConfiguration) *UpdateFunctionOutput

SetFunctionConfiguration sets the FunctionConfiguration field's value.

func (UpdateFunctionOutput) String Uses

func (s UpdateFunctionOutput) String() string

String returns the string representation

type UpdateGraphqlApiInput Uses

type UpdateGraphqlApiInput struct {

    // A list of additional authentication providers for the GraphqlApi API.
    AdditionalAuthenticationProviders []*AdditionalAuthenticationProvider `locationName:"additionalAuthenticationProviders" type:"list"`

    // The API ID.
    //
    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // The new authentication type for the GraphqlApi object.
    AuthenticationType *string `locationName:"authenticationType" type:"string" enum:"AuthenticationType"`

    // The Amazon CloudWatch Logs configuration for the GraphqlApi object.
    LogConfig *LogConfig `locationName:"logConfig" type:"structure"`

    // The new name for the GraphqlApi object.
    //
    // Name is a required field
    Name *string `locationName:"name" type:"string" required:"true"`

    // The OpenID Connect configuration for the GraphqlApi object.
    OpenIDConnectConfig *OpenIDConnectConfig `locationName:"openIDConnectConfig" type:"structure"`

    // The new Amazon Cognito user pool configuration for the GraphqlApi object.
    UserPoolConfig *UserPoolConfig `locationName:"userPoolConfig" type:"structure"`
    // contains filtered or unexported fields
}

func (UpdateGraphqlApiInput) GoString Uses

func (s UpdateGraphqlApiInput) GoString() string

GoString returns the string representation

func (*UpdateGraphqlApiInput) SetAdditionalAuthenticationProviders Uses

func (s *UpdateGraphqlApiInput) SetAdditionalAuthenticationProviders(v []*AdditionalAuthenticationProvider) *UpdateGraphqlApiInput

SetAdditionalAuthenticationProviders sets the AdditionalAuthenticationProviders field's value.

func (*UpdateGraphqlApiInput) SetApiId Uses

func (s *UpdateGraphqlApiInput) SetApiId(v string) *UpdateGraphqlApiInput

SetApiId sets the ApiId field's value.

func (*UpdateGraphqlApiInput) SetAuthenticationType Uses

func (s *UpdateGraphqlApiInput) SetAuthenticationType(v string) *UpdateGraphqlApiInput

SetAuthenticationType sets the AuthenticationType field's value.

func (*UpdateGraphqlApiInput) SetLogConfig Uses

func (s *UpdateGraphqlApiInput) SetLogConfig(v *LogConfig) *UpdateGraphqlApiInput

SetLogConfig sets the LogConfig field's value.

func (*UpdateGraphqlApiInput) SetName Uses

func (s *UpdateGraphqlApiInput) SetName(v string) *UpdateGraphqlApiInput

SetName sets the Name field's value.

func (*UpdateGraphqlApiInput) SetOpenIDConnectConfig Uses

func (s *UpdateGraphqlApiInput) SetOpenIDConnectConfig(v *OpenIDConnectConfig) *UpdateGraphqlApiInput

SetOpenIDConnectConfig sets the OpenIDConnectConfig field's value.

func (*UpdateGraphqlApiInput) SetUserPoolConfig Uses

func (s *UpdateGraphqlApiInput) SetUserPoolConfig(v *UserPoolConfig) *UpdateGraphqlApiInput

SetUserPoolConfig sets the UserPoolConfig field's value.

func (UpdateGraphqlApiInput) String Uses

func (s UpdateGraphqlApiInput) String() string

String returns the string representation

func (*UpdateGraphqlApiInput) Validate Uses

func (s *UpdateGraphqlApiInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateGraphqlApiOutput Uses

type UpdateGraphqlApiOutput struct {

    // The updated GraphqlApi object.
    GraphqlApi *GraphqlApi `locationName:"graphqlApi" type:"structure"`
    // contains filtered or unexported fields
}

func (UpdateGraphqlApiOutput) GoString Uses

func (s UpdateGraphqlApiOutput) GoString() string

GoString returns the string representation

func (*UpdateGraphqlApiOutput) SetGraphqlApi Uses

func (s *UpdateGraphqlApiOutput) SetGraphqlApi(v *GraphqlApi) *UpdateGraphqlApiOutput

SetGraphqlApi sets the GraphqlApi field's value.

func (UpdateGraphqlApiOutput) String Uses

func (s UpdateGraphqlApiOutput) String() string

String returns the string representation

type UpdateResolverInput Uses

type UpdateResolverInput struct {

    // The API ID.
    //
    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // The new data source name.
    DataSourceName *string `locationName:"dataSourceName" type:"string"`

    // The new field name.
    //
    // FieldName is a required field
    FieldName *string `location:"uri" locationName:"fieldName" type:"string" required:"true"`

    // The resolver type.
    //
    //    * UNIT: A UNIT resolver type. A UNIT resolver is the default resolver
    //    type. A UNIT resolver enables you to execute a GraphQL query against a
    //    single data source.
    //
    //    * PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you
    //    to execute a series of Function in a serial manner. You can use a pipeline
    //    resolver to execute a GraphQL query against multiple data sources.
    Kind *string `locationName:"kind" type:"string" enum:"ResolverKind"`

    // The PipelineConfig.
    PipelineConfig *PipelineConfig `locationName:"pipelineConfig" type:"structure"`

    // The new request mapping template.
    //
    // RequestMappingTemplate is a required field
    RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string" required:"true"`

    // The new response mapping template.
    ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"`

    // The new type name.
    //
    // TypeName is a required field
    TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (UpdateResolverInput) GoString Uses

func (s UpdateResolverInput) GoString() string

GoString returns the string representation

func (*UpdateResolverInput) SetApiId Uses

func (s *UpdateResolverInput) SetApiId(v string) *UpdateResolverInput

SetApiId sets the ApiId field's value.

func (*UpdateResolverInput) SetDataSourceName Uses

func (s *UpdateResolverInput) SetDataSourceName(v string) *UpdateResolverInput

SetDataSourceName sets the DataSourceName field's value.

func (*UpdateResolverInput) SetFieldName Uses

func (s *UpdateResolverInput) SetFieldName(v string) *UpdateResolverInput

SetFieldName sets the FieldName field's value.

func (*UpdateResolverInput) SetKind Uses

func (s *UpdateResolverInput) SetKind(v string) *UpdateResolverInput

SetKind sets the Kind field's value.

func (*UpdateResolverInput) SetPipelineConfig Uses

func (s *UpdateResolverInput) SetPipelineConfig(v *PipelineConfig) *UpdateResolverInput

SetPipelineConfig sets the PipelineConfig field's value.

func (*UpdateResolverInput) SetRequestMappingTemplate Uses

func (s *UpdateResolverInput) SetRequestMappingTemplate(v string) *UpdateResolverInput

SetRequestMappingTemplate sets the RequestMappingTemplate field's value.

func (*UpdateResolverInput) SetResponseMappingTemplate Uses

func (s *UpdateResolverInput) SetResponseMappingTemplate(v string) *UpdateResolverInput

SetResponseMappingTemplate sets the ResponseMappingTemplate field's value.

func (*UpdateResolverInput) SetTypeName Uses

func (s *UpdateResolverInput) SetTypeName(v string) *UpdateResolverInput

SetTypeName sets the TypeName field's value.

func (UpdateResolverInput) String Uses

func (s UpdateResolverInput) String() string

String returns the string representation

func (*UpdateResolverInput) Validate Uses

func (s *UpdateResolverInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateResolverOutput Uses

type UpdateResolverOutput struct {

    // The updated Resolver object.
    Resolver *Resolver `locationName:"resolver" type:"structure"`
    // contains filtered or unexported fields
}

func (UpdateResolverOutput) GoString Uses

func (s UpdateResolverOutput) GoString() string

GoString returns the string representation

func (*UpdateResolverOutput) SetResolver Uses

func (s *UpdateResolverOutput) SetResolver(v *Resolver) *UpdateResolverOutput

SetResolver sets the Resolver field's value.

func (UpdateResolverOutput) String Uses

func (s UpdateResolverOutput) String() string

String returns the string representation

type UpdateTypeInput Uses

type UpdateTypeInput struct {

    // The API ID.
    //
    // ApiId is a required field
    ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

    // The new definition.
    Definition *string `locationName:"definition" type:"string"`

    // The new type format: SDL or JSON.
    //
    // Format is a required field
    Format *string `locationName:"format" type:"string" required:"true" enum:"TypeDefinitionFormat"`

    // The new type name.
    //
    // TypeName is a required field
    TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (UpdateTypeInput) GoString Uses

func (s UpdateTypeInput) GoString() string

GoString returns the string representation

func (*UpdateTypeInput) SetApiId Uses

func (s *UpdateTypeInput) SetApiId(v string) *UpdateTypeInput

SetApiId sets the ApiId field's value.

func (*UpdateTypeInput) SetDefinition Uses

func (s *UpdateTypeInput) SetDefinition(v string) *UpdateTypeInput

SetDefinition sets the Definition field's value.

func (*UpdateTypeInput) SetFormat Uses

func (s *UpdateTypeInput) SetFormat(v string) *UpdateTypeInput

SetFormat sets the Format field's value.

func (*UpdateTypeInput) SetTypeName Uses

func (s *UpdateTypeInput) SetTypeName(v string) *UpdateTypeInput

SetTypeName sets the TypeName field's value.

func (UpdateTypeInput) String Uses

func (s UpdateTypeInput) String() string

String returns the string representation

func (*UpdateTypeInput) Validate Uses

func (s *UpdateTypeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateTypeOutput Uses

type UpdateTypeOutput struct {

    // The updated Type object.
    Type *Type `locationName:"type" type:"structure"`
    // contains filtered or unexported fields
}

func (UpdateTypeOutput) GoString Uses

func (s UpdateTypeOutput) GoString() string

GoString returns the string representation

func (*UpdateTypeOutput) SetType Uses

func (s *UpdateTypeOutput) SetType(v *Type) *UpdateTypeOutput

SetType sets the Type field's value.

func (UpdateTypeOutput) String Uses

func (s UpdateTypeOutput) String() string

String returns the string representation

type UserPoolConfig Uses

type UserPoolConfig struct {

    // A regular expression for validating the incoming Amazon Cognito user pool
    // app client ID.
    AppIdClientRegex *string `locationName:"appIdClientRegex" type:"string"`

    // The AWS Region in which the user pool was created.
    //
    // AwsRegion is a required field
    AwsRegion *string `locationName:"awsRegion" type:"string" required:"true"`

    // The action that you want your GraphQL API to take when a request that uses
    // Amazon Cognito user pool authentication doesn't match the Amazon Cognito
    // user pool configuration.
    //
    // DefaultAction is a required field
    DefaultAction *string `locationName:"defaultAction" type:"string" required:"true" enum:"DefaultAction"`

    // The user pool ID.
    //
    // UserPoolId is a required field
    UserPoolId *string `locationName:"userPoolId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Describes an Amazon Cognito user pool configuration.

func (UserPoolConfig) GoString Uses

func (s UserPoolConfig) GoString() string

GoString returns the string representation

func (*UserPoolConfig) SetAppIdClientRegex Uses

func (s *UserPoolConfig) SetAppIdClientRegex(v string) *UserPoolConfig

SetAppIdClientRegex sets the AppIdClientRegex field's value.

func (*UserPoolConfig) SetAwsRegion Uses

func (s *UserPoolConfig) SetAwsRegion(v string) *UserPoolConfig

SetAwsRegion sets the AwsRegion field's value.

func (*UserPoolConfig) SetDefaultAction Uses

func (s *UserPoolConfig) SetDefaultAction(v string) *UserPoolConfig

SetDefaultAction sets the DefaultAction field's value.

func (*UserPoolConfig) SetUserPoolId Uses

func (s *UserPoolConfig) SetUserPoolId(v string) *UserPoolConfig

SetUserPoolId sets the UserPoolId field's value.

func (UserPoolConfig) String Uses

func (s UserPoolConfig) String() string

String returns the string representation

func (*UserPoolConfig) Validate Uses

func (s *UserPoolConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

Directories

PathSynopsis
appsyncifacePackage appsynciface provides an interface to enable mocking the AWS AppSync service client for testing your code.

Package appsync imports 9 packages (graph) and is imported by 16 packages. Updated 2019-08-13. Refresh now. Tools for package owners.