Documentation ¶
Overview ¶
Package appsync provides the client and types for making API requests to AWSAppSync.
AWS AppSync provides API actions for creating and interacting with data sources using GraphQL from your application.
See https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25 for more information on this service.
See appsync package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/appsync/
Using the Client ¶
To use AWSAppSync with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the AWSAppSync client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/appsync/#New
Index ¶
- Constants
- type AdditionalAuthenticationProvider
- type ApiCache
- type ApiCacheStatus
- type ApiCacheType
- type ApiCachingBehavior
- type ApiKey
- type AuthenticationType
- type AuthorizationConfig
- type AuthorizationType
- type AwsIamConfig
- type CachingConfig
- type Client
- func (c *Client) CreateApiCacheRequest(input *CreateApiCacheInput) CreateApiCacheRequest
- func (c *Client) CreateApiKeyRequest(input *CreateApiKeyInput) CreateApiKeyRequest
- func (c *Client) CreateDataSourceRequest(input *CreateDataSourceInput) CreateDataSourceRequest
- func (c *Client) CreateFunctionRequest(input *CreateFunctionInput) CreateFunctionRequest
- func (c *Client) CreateGraphqlApiRequest(input *CreateGraphqlApiInput) CreateGraphqlApiRequest
- func (c *Client) CreateResolverRequest(input *CreateResolverInput) CreateResolverRequest
- func (c *Client) CreateTypeRequest(input *CreateTypeInput) CreateTypeRequest
- func (c *Client) DeleteApiCacheRequest(input *DeleteApiCacheInput) DeleteApiCacheRequest
- func (c *Client) DeleteApiKeyRequest(input *DeleteApiKeyInput) DeleteApiKeyRequest
- func (c *Client) DeleteDataSourceRequest(input *DeleteDataSourceInput) DeleteDataSourceRequest
- func (c *Client) DeleteFunctionRequest(input *DeleteFunctionInput) DeleteFunctionRequest
- func (c *Client) DeleteGraphqlApiRequest(input *DeleteGraphqlApiInput) DeleteGraphqlApiRequest
- func (c *Client) DeleteResolverRequest(input *DeleteResolverInput) DeleteResolverRequest
- func (c *Client) DeleteTypeRequest(input *DeleteTypeInput) DeleteTypeRequest
- func (c *Client) FlushApiCacheRequest(input *FlushApiCacheInput) FlushApiCacheRequest
- func (c *Client) GetApiCacheRequest(input *GetApiCacheInput) GetApiCacheRequest
- func (c *Client) GetDataSourceRequest(input *GetDataSourceInput) GetDataSourceRequest
- func (c *Client) GetFunctionRequest(input *GetFunctionInput) GetFunctionRequest
- func (c *Client) GetGraphqlApiRequest(input *GetGraphqlApiInput) GetGraphqlApiRequest
- func (c *Client) GetIntrospectionSchemaRequest(input *GetIntrospectionSchemaInput) GetIntrospectionSchemaRequest
- func (c *Client) GetResolverRequest(input *GetResolverInput) GetResolverRequest
- func (c *Client) GetSchemaCreationStatusRequest(input *GetSchemaCreationStatusInput) GetSchemaCreationStatusRequest
- func (c *Client) GetTypeRequest(input *GetTypeInput) GetTypeRequest
- func (c *Client) ListApiKeysRequest(input *ListApiKeysInput) ListApiKeysRequest
- func (c *Client) ListDataSourcesRequest(input *ListDataSourcesInput) ListDataSourcesRequest
- func (c *Client) ListFunctionsRequest(input *ListFunctionsInput) ListFunctionsRequest
- func (c *Client) ListGraphqlApisRequest(input *ListGraphqlApisInput) ListGraphqlApisRequest
- func (c *Client) ListResolversByFunctionRequest(input *ListResolversByFunctionInput) ListResolversByFunctionRequest
- func (c *Client) ListResolversRequest(input *ListResolversInput) ListResolversRequest
- func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
- func (c *Client) ListTypesRequest(input *ListTypesInput) ListTypesRequest
- func (c *Client) StartSchemaCreationRequest(input *StartSchemaCreationInput) StartSchemaCreationRequest
- func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
- func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
- func (c *Client) UpdateApiCacheRequest(input *UpdateApiCacheInput) UpdateApiCacheRequest
- func (c *Client) UpdateApiKeyRequest(input *UpdateApiKeyInput) UpdateApiKeyRequest
- func (c *Client) UpdateDataSourceRequest(input *UpdateDataSourceInput) UpdateDataSourceRequest
- func (c *Client) UpdateFunctionRequest(input *UpdateFunctionInput) UpdateFunctionRequest
- func (c *Client) UpdateGraphqlApiRequest(input *UpdateGraphqlApiInput) UpdateGraphqlApiRequest
- func (c *Client) UpdateResolverRequest(input *UpdateResolverInput) UpdateResolverRequest
- func (c *Client) UpdateTypeRequest(input *UpdateTypeInput) UpdateTypeRequest
- type CognitoUserPoolConfig
- type ConflictDetectionType
- type ConflictHandlerType
- type CreateApiCacheInput
- type CreateApiCacheOutput
- type CreateApiCacheRequest
- type CreateApiCacheResponse
- type CreateApiKeyInput
- type CreateApiKeyOutput
- type CreateApiKeyRequest
- type CreateApiKeyResponse
- type CreateDataSourceInput
- type CreateDataSourceOutput
- type CreateDataSourceRequest
- type CreateDataSourceResponse
- type CreateFunctionInput
- type CreateFunctionOutput
- type CreateFunctionRequest
- type CreateFunctionResponse
- type CreateGraphqlApiInput
- type CreateGraphqlApiOutput
- type CreateGraphqlApiRequest
- type CreateGraphqlApiResponse
- type CreateResolverInput
- type CreateResolverOutput
- type CreateResolverRequest
- type CreateResolverResponse
- type CreateTypeInput
- type CreateTypeOutput
- type CreateTypeRequest
- type CreateTypeResponse
- type DataSource
- type DataSourceType
- type DefaultAction
- type DeleteApiCacheInput
- type DeleteApiCacheOutput
- type DeleteApiCacheRequest
- type DeleteApiCacheResponse
- type DeleteApiKeyInput
- type DeleteApiKeyOutput
- type DeleteApiKeyRequest
- type DeleteApiKeyResponse
- type DeleteDataSourceInput
- type DeleteDataSourceOutput
- type DeleteDataSourceRequest
- type DeleteDataSourceResponse
- type DeleteFunctionInput
- type DeleteFunctionOutput
- type DeleteFunctionRequest
- type DeleteFunctionResponse
- type DeleteGraphqlApiInput
- type DeleteGraphqlApiOutput
- type DeleteGraphqlApiRequest
- type DeleteGraphqlApiResponse
- type DeleteResolverInput
- type DeleteResolverOutput
- type DeleteResolverRequest
- type DeleteResolverResponse
- type DeleteTypeInput
- type DeleteTypeOutput
- type DeleteTypeRequest
- type DeleteTypeResponse
- type DeltaSyncConfig
- type DynamodbDataSourceConfig
- type ElasticsearchDataSourceConfig
- type FieldLogLevel
- type FlushApiCacheInput
- type FlushApiCacheOutput
- type FlushApiCacheRequest
- type FlushApiCacheResponse
- type FunctionConfiguration
- type GetApiCacheInput
- type GetApiCacheOutput
- type GetApiCacheRequest
- type GetApiCacheResponse
- type GetDataSourceInput
- type GetDataSourceOutput
- type GetDataSourceRequest
- type GetDataSourceResponse
- type GetFunctionInput
- type GetFunctionOutput
- type GetFunctionRequest
- type GetFunctionResponse
- type GetGraphqlApiInput
- type GetGraphqlApiOutput
- type GetGraphqlApiRequest
- type GetGraphqlApiResponse
- type GetIntrospectionSchemaInput
- type GetIntrospectionSchemaOutput
- type GetIntrospectionSchemaRequest
- type GetIntrospectionSchemaResponse
- type GetResolverInput
- type GetResolverOutput
- type GetResolverRequest
- type GetResolverResponse
- type GetSchemaCreationStatusInput
- type GetSchemaCreationStatusOutput
- type GetSchemaCreationStatusRequest
- type GetSchemaCreationStatusResponse
- type GetTypeInput
- type GetTypeOutput
- type GetTypeRequest
- type GetTypeResponse
- type GraphqlApi
- type HttpDataSourceConfig
- type LambdaConflictHandlerConfig
- type LambdaDataSourceConfig
- type ListApiKeysInput
- type ListApiKeysOutput
- type ListApiKeysRequest
- type ListApiKeysResponse
- type ListDataSourcesInput
- type ListDataSourcesOutput
- type ListDataSourcesRequest
- type ListDataSourcesResponse
- type ListFunctionsInput
- type ListFunctionsOutput
- type ListFunctionsRequest
- type ListFunctionsResponse
- type ListGraphqlApisInput
- type ListGraphqlApisOutput
- type ListGraphqlApisRequest
- type ListGraphqlApisResponse
- type ListResolversByFunctionInput
- type ListResolversByFunctionOutput
- type ListResolversByFunctionRequest
- type ListResolversByFunctionResponse
- type ListResolversInput
- type ListResolversOutput
- type ListResolversRequest
- type ListResolversResponse
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListTagsForResourceRequest
- type ListTagsForResourceResponse
- type ListTypesInput
- type ListTypesOutput
- type ListTypesRequest
- type ListTypesResponse
- type LogConfig
- type OpenIDConnectConfig
- type OutputType
- type PipelineConfig
- type RdsHttpEndpointConfig
- type RelationalDatabaseDataSourceConfig
- type RelationalDatabaseSourceType
- type Resolver
- type ResolverKind
- type SchemaStatus
- type StartSchemaCreationInput
- type StartSchemaCreationOutput
- type StartSchemaCreationRequest
- type StartSchemaCreationResponse
- type SyncConfig
- type TagResourceInput
- type TagResourceOutput
- type TagResourceRequest
- type TagResourceResponse
- type Type
- type TypeDefinitionFormat
- type UntagResourceInput
- type UntagResourceOutput
- type UntagResourceRequest
- type UntagResourceResponse
- type UpdateApiCacheInput
- type UpdateApiCacheOutput
- type UpdateApiCacheRequest
- type UpdateApiCacheResponse
- type UpdateApiKeyInput
- type UpdateApiKeyOutput
- type UpdateApiKeyRequest
- type UpdateApiKeyResponse
- type UpdateDataSourceInput
- type UpdateDataSourceOutput
- type UpdateDataSourceRequest
- type UpdateDataSourceResponse
- type UpdateFunctionInput
- type UpdateFunctionOutput
- type UpdateFunctionRequest
- type UpdateFunctionResponse
- type UpdateGraphqlApiInput
- type UpdateGraphqlApiOutput
- type UpdateGraphqlApiRequest
- type UpdateGraphqlApiResponse
- type UpdateResolverInput
- type UpdateResolverOutput
- type UpdateResolverRequest
- type UpdateResolverResponse
- type UpdateTypeInput
- type UpdateTypeOutput
- type UpdateTypeRequest
- type UpdateTypeResponse
- type UserPoolConfig
Constants ¶
const ( ServiceName = "AWSAppSync" // Service's name ServiceID = "AppSync" // Service's identifier EndpointsID = "appsync" // Service's Endpoint identifier )
const ( // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". // // You do not have access to perform this operation on this resource. ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCodeApiKeyLimitExceededException for service response error code // "ApiKeyLimitExceededException". // // The API key exceeded a limit. Try your request again. ErrCodeApiKeyLimitExceededException = "ApiKeyLimitExceededException" // ErrCodeApiKeyValidityOutOfBoundsException for service response error code // "ApiKeyValidityOutOfBoundsException". // // The API key expiration must be set to a value between 1 and 365 days from // creation (for CreateApiKey) or from update (for UpdateApiKey). ErrCodeApiKeyValidityOutOfBoundsException = "ApiKeyValidityOutOfBoundsException" // ErrCodeApiLimitExceededException for service response error code // "ApiLimitExceededException". // // The GraphQL API exceeded a limit. Try your request again. ErrCodeApiLimitExceededException = "ApiLimitExceededException" // ErrCodeBadRequestException for service response error code // "BadRequestException". // // The request is not well formed. For example, a value is invalid or a required // field is missing. Check the field values, and then try again. ErrCodeBadRequestException = "BadRequestException" // ErrCodeConcurrentModificationException for service response error code // "ConcurrentModificationException". // // Another modification is in progress at this time and it must complete before // you can make your change. ErrCodeConcurrentModificationException = "ConcurrentModificationException" // ErrCodeGraphQLSchemaException for service response error code // "GraphQLSchemaException". // // The GraphQL schema is not valid. ErrCodeGraphQLSchemaException = "GraphQLSchemaException" // ErrCodeInternalFailureException for service response error code // "InternalFailureException". // // An internal AWS AppSync error occurred. Try your request again. ErrCodeInternalFailureException = "InternalFailureException" // ErrCodeLimitExceededException for service response error code // "LimitExceededException". // // The request exceeded a limit. Try your request again. ErrCodeLimitExceededException = "LimitExceededException" // ErrCodeNotFoundException for service response error code // "NotFoundException". // // The resource specified in the request was not found. Check the resource, // and then try again. ErrCodeNotFoundException = "NotFoundException" // "UnauthorizedException". // // You are not authorized to perform this operation. ErrCodeUnauthorizedException = "UnauthorizedException" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdditionalAuthenticationProvider ¶ added in v0.9.0
type AdditionalAuthenticationProvider struct { // The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user pools. AuthenticationType AuthenticationType `locationName:"authenticationType" type:"string" enum:"true"` // The OpenID Connect configuration. OpenIDConnectConfig *OpenIDConnectConfig `locationName:"openIDConnectConfig" type:"structure"` // The Amazon Cognito user pool configuration. UserPoolConfig *CognitoUserPoolConfig `locationName:"userPoolConfig" type:"structure"` // contains filtered or unexported fields }
Describes an additional authentication provider.
func (AdditionalAuthenticationProvider) MarshalFields ¶ added in v0.9.0
func (s AdditionalAuthenticationProvider) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AdditionalAuthenticationProvider) String ¶ added in v0.9.0
func (s AdditionalAuthenticationProvider) String() string
String returns the string representation
func (*AdditionalAuthenticationProvider) Validate ¶ added in v0.9.0
func (s *AdditionalAuthenticationProvider) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ApiCache ¶ added in v0.18.0
type ApiCache struct { // Caching behavior. // // * FULL_REQUEST_CACHING: All requests are fully cached. // // * PER_RESOLVER_CACHING: Individual resovlers that you specify are cached. ApiCachingBehavior ApiCachingBehavior `locationName:"apiCachingBehavior" type:"string" enum:"true"` // At rest encryption flag for cache. This setting cannot be updated after creation. AtRestEncryptionEnabled *bool `locationName:"atRestEncryptionEnabled" type:"boolean"` // The cache instance status. // // * AVAILABLE: The instance is available for use. // // * CREATING: The instance is currently creating. // // * DELETING: The instance is currently deleting. // // * MODIFYING: The instance is currently modifying. // // * FAILED: The instance has failed creation. Status ApiCacheStatus `locationName:"status" type:"string" enum:"true"` // Transit encryption flag when connecting to cache. This setting cannot be // updated after creation. TransitEncryptionEnabled *bool `locationName:"transitEncryptionEnabled" type:"boolean"` // TTL in seconds for cache entries. // // Valid values are between 1 and 3600 seconds. Ttl *int64 `locationName:"ttl" type:"long"` // The cache instance type. // // * T2_SMALL: A t2.small instance type. // // * T2_MEDIUM: A t2.medium instance type. // // * R4_LARGE: A r4.large instance type. // // * R4_XLARGE: A r4.xlarge instance type. // // * R4_2XLARGE: A r4.2xlarge instance type. // // * R4_4XLARGE: A r4.4xlarge instance type. // // * R4_8XLARGE: A r4.8xlarge instance type. Type ApiCacheType `locationName:"type" type:"string" enum:"true"` // contains filtered or unexported fields }
The ApiCache object.
func (ApiCache) MarshalFields ¶ added in v0.18.0
func (s ApiCache) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type ApiCacheStatus ¶ added in v0.18.0
type ApiCacheStatus string
const ( ApiCacheStatusAvailable ApiCacheStatus = "AVAILABLE" ApiCacheStatusCreating ApiCacheStatus = "CREATING" ApiCacheStatusDeleting ApiCacheStatus = "DELETING" ApiCacheStatusModifying ApiCacheStatus = "MODIFYING" ApiCacheStatusFailed ApiCacheStatus = "FAILED" )
Enum values for ApiCacheStatus
func (ApiCacheStatus) MarshalValue ¶ added in v0.18.0
func (enum ApiCacheStatus) MarshalValue() (string, error)
func (ApiCacheStatus) MarshalValueBuf ¶ added in v0.18.0
func (enum ApiCacheStatus) MarshalValueBuf(b []byte) ([]byte, error)
type ApiCacheType ¶ added in v0.18.0
type ApiCacheType string
const ( ApiCacheTypeT2Small ApiCacheType = "T2_SMALL" ApiCacheTypeT2Medium ApiCacheType = "T2_MEDIUM" ApiCacheTypeR4Large ApiCacheType = "R4_LARGE" ApiCacheTypeR4Xlarge ApiCacheType = "R4_XLARGE" ApiCacheTypeR42xlarge ApiCacheType = "R4_2XLARGE" ApiCacheTypeR44xlarge ApiCacheType = "R4_4XLARGE" ApiCacheTypeR48xlarge ApiCacheType = "R4_8XLARGE" )
Enum values for ApiCacheType
func (ApiCacheType) MarshalValue ¶ added in v0.18.0
func (enum ApiCacheType) MarshalValue() (string, error)
func (ApiCacheType) MarshalValueBuf ¶ added in v0.18.0
func (enum ApiCacheType) MarshalValueBuf(b []byte) ([]byte, error)
type ApiCachingBehavior ¶ added in v0.18.0
type ApiCachingBehavior string
const ( ApiCachingBehaviorFullRequestCaching ApiCachingBehavior = "FULL_REQUEST_CACHING" ApiCachingBehaviorPerResolverCaching ApiCachingBehavior = "PER_RESOLVER_CACHING" )
Enum values for ApiCachingBehavior
func (ApiCachingBehavior) MarshalValue ¶ added in v0.18.0
func (enum ApiCachingBehavior) MarshalValue() (string, error)
func (ApiCachingBehavior) MarshalValueBuf ¶ added in v0.18.0
func (enum ApiCachingBehavior) MarshalValueBuf(b []byte) ([]byte, error)
type ApiKey ¶
type ApiKey struct { // A description of the purpose of the API key. Description *string `locationName:"description" type:"string"` // The time after which the API key expires. The date is represented as seconds // since the epoch, rounded down to the nearest hour. Expires *int64 `locationName:"expires" type:"long"` // The API key ID. Id *string `locationName:"id" type:"string"` // contains filtered or unexported fields }
Describes an API key.
Customers invoke AWS AppSync GraphQL API operations with API keys as an identity mechanism. There are two key versions:
da1: This version was introduced at launch in November 2017. These keys always expire after 7 days. Key expiration is managed by Amazon DynamoDB TTL. The keys ceased to be valid after February 21, 2018 and should not be used after that date.
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) MarshalFields ¶ added in v0.3.0
func (s ApiKey) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type AuthenticationType ¶
type AuthenticationType string
const ( AuthenticationTypeApiKey AuthenticationType = "API_KEY" AuthenticationTypeAwsIam AuthenticationType = "AWS_IAM" AuthenticationTypeAmazonCognitoUserPools AuthenticationType = "AMAZON_COGNITO_USER_POOLS" AuthenticationTypeOpenidConnect AuthenticationType = "OPENID_CONNECT" )
Enum values for AuthenticationType
func (AuthenticationType) MarshalValue ¶ added in v0.3.0
func (enum AuthenticationType) MarshalValue() (string, error)
func (AuthenticationType) MarshalValueBuf ¶ added in v0.3.0
func (enum AuthenticationType) MarshalValueBuf(b []byte) ([]byte, error)
type AuthorizationConfig ¶ added in v0.6.0
type AuthorizationConfig struct { // The authorization type required by the HTTP endpoint. // // * AWS_IAM: The authorization type is Sigv4. // // AuthorizationType is a required field AuthorizationType AuthorizationType `locationName:"authorizationType" type:"string" required:"true" enum:"true"` // The AWS IAM settings. AwsIamConfig *AwsIamConfig `locationName:"awsIamConfig" type:"structure"` // contains filtered or unexported fields }
The authorization config in case the HTTP endpoint requires authorization.
func (AuthorizationConfig) MarshalFields ¶ added in v0.6.0
func (s AuthorizationConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AuthorizationConfig) String ¶ added in v0.6.0
func (s AuthorizationConfig) String() string
String returns the string representation
func (*AuthorizationConfig) Validate ¶ added in v0.6.0
func (s *AuthorizationConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AuthorizationType ¶ added in v0.6.0
type AuthorizationType string
const (
AuthorizationTypeAwsIam AuthorizationType = "AWS_IAM"
)
Enum values for AuthorizationType
func (AuthorizationType) MarshalValue ¶ added in v0.6.0
func (enum AuthorizationType) MarshalValue() (string, error)
func (AuthorizationType) MarshalValueBuf ¶ added in v0.6.0
func (enum AuthorizationType) MarshalValueBuf(b []byte) ([]byte, error)
type AwsIamConfig ¶ added in v0.6.0
type AwsIamConfig struct { // The signing region for AWS IAM authorization. SigningRegion *string `locationName:"signingRegion" type:"string"` // The signing service name for AWS IAM authorization. SigningServiceName *string `locationName:"signingServiceName" type:"string"` // contains filtered or unexported fields }
The AWS IAM configuration.
func (AwsIamConfig) MarshalFields ¶ added in v0.6.0
func (s AwsIamConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AwsIamConfig) String ¶ added in v0.6.0
func (s AwsIamConfig) String() string
String returns the string representation
type CachingConfig ¶ added in v0.18.0
type CachingConfig struct { // The caching keys for a resolver that has caching enabled. // // Valid values are entries from the $context.identity and $context.arguments // maps. CachingKeys []string `locationName:"cachingKeys" type:"list"` // The TTL in seconds for a resolver that has caching enabled. // // Valid values are between 1 and 3600 seconds. Ttl *int64 `locationName:"ttl" type:"long"` // contains filtered or unexported fields }
The caching configuration for a resolver that has caching enabled.
func (CachingConfig) MarshalFields ¶ added in v0.18.0
func (s CachingConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CachingConfig) String ¶ added in v0.18.0
func (s CachingConfig) String() string
String returns the string representation
type Client ¶ added in v0.9.0
Client provides the API operation methods for making requests to AWSAppSync. See this package's package overview docs for details on the service.
The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
New creates a new instance of the client from the provided Config.
Example:
// Create a client from just a config. svc := appsync.New(myConfig)
func (*Client) CreateApiCacheRequest ¶ added in v0.18.0
func (c *Client) CreateApiCacheRequest(input *CreateApiCacheInput) CreateApiCacheRequest
CreateApiCacheRequest returns a request value for making API operation for AWS AppSync.
Creates a cache for the GraphQL API.
// Example sending a request using CreateApiCacheRequest. req := client.CreateApiCacheRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiCache
func (*Client) CreateApiKeyRequest ¶ added in v0.9.0
func (c *Client) CreateApiKeyRequest(input *CreateApiKeyInput) CreateApiKeyRequest
CreateApiKeyRequest returns a request value for making API operation for AWS AppSync.
Creates a unique key that you can distribute to clients who are executing your API.
// Example sending a request using CreateApiKeyRequest. req := client.CreateApiKeyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiKey
func (*Client) CreateDataSourceRequest ¶ added in v0.9.0
func (c *Client) CreateDataSourceRequest(input *CreateDataSourceInput) CreateDataSourceRequest
CreateDataSourceRequest returns a request value for making API operation for AWS AppSync.
Creates a DataSource object.
// Example sending a request using CreateDataSourceRequest. req := client.CreateDataSourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDataSource
func (*Client) CreateFunctionRequest ¶ added in v0.9.0
func (c *Client) CreateFunctionRequest(input *CreateFunctionInput) CreateFunctionRequest
CreateFunctionRequest returns a request value for making API operation for AWS AppSync.
Creates a Function object.
A function is a reusable entity. Multiple functions can be used to compose the resolver logic.
// Example sending a request using CreateFunctionRequest. req := client.CreateFunctionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateFunction
func (*Client) CreateGraphqlApiRequest ¶ added in v0.9.0
func (c *Client) CreateGraphqlApiRequest(input *CreateGraphqlApiInput) CreateGraphqlApiRequest
CreateGraphqlApiRequest returns a request value for making API operation for AWS AppSync.
Creates a GraphqlApi object.
// Example sending a request using CreateGraphqlApiRequest. req := client.CreateGraphqlApiRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApi
func (*Client) CreateResolverRequest ¶ added in v0.9.0
func (c *Client) CreateResolverRequest(input *CreateResolverInput) CreateResolverRequest
CreateResolverRequest returns a request value for making API operation for AWS AppSync.
Creates a Resolver object.
A resolver converts incoming requests into a format that a data source can understand and converts the data source's responses into GraphQL.
// Example sending a request using CreateResolverRequest. req := client.CreateResolverRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateResolver
func (*Client) CreateTypeRequest ¶ added in v0.9.0
func (c *Client) CreateTypeRequest(input *CreateTypeInput) CreateTypeRequest
CreateTypeRequest returns a request value for making API operation for AWS AppSync.
Creates a Type object.
// Example sending a request using CreateTypeRequest. req := client.CreateTypeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateType
func (*Client) DeleteApiCacheRequest ¶ added in v0.18.0
func (c *Client) DeleteApiCacheRequest(input *DeleteApiCacheInput) DeleteApiCacheRequest
DeleteApiCacheRequest returns a request value for making API operation for AWS AppSync.
Deletes an ApiCache object.
// Example sending a request using DeleteApiCacheRequest. req := client.DeleteApiCacheRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiCache
func (*Client) DeleteApiKeyRequest ¶ added in v0.9.0
func (c *Client) DeleteApiKeyRequest(input *DeleteApiKeyInput) DeleteApiKeyRequest
DeleteApiKeyRequest returns a request value for making API operation for AWS AppSync.
Deletes an API key.
// Example sending a request using DeleteApiKeyRequest. req := client.DeleteApiKeyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiKey
func (*Client) DeleteDataSourceRequest ¶ added in v0.9.0
func (c *Client) DeleteDataSourceRequest(input *DeleteDataSourceInput) DeleteDataSourceRequest
DeleteDataSourceRequest returns a request value for making API operation for AWS AppSync.
Deletes a DataSource object.
// Example sending a request using DeleteDataSourceRequest. req := client.DeleteDataSourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDataSource
func (*Client) DeleteFunctionRequest ¶ added in v0.9.0
func (c *Client) DeleteFunctionRequest(input *DeleteFunctionInput) DeleteFunctionRequest
DeleteFunctionRequest returns a request value for making API operation for AWS AppSync.
Deletes a Function.
// Example sending a request using DeleteFunctionRequest. req := client.DeleteFunctionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteFunction
func (*Client) DeleteGraphqlApiRequest ¶ added in v0.9.0
func (c *Client) DeleteGraphqlApiRequest(input *DeleteGraphqlApiInput) DeleteGraphqlApiRequest
DeleteGraphqlApiRequest returns a request value for making API operation for AWS AppSync.
Deletes a GraphqlApi object.
// Example sending a request using DeleteGraphqlApiRequest. req := client.DeleteGraphqlApiRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteGraphqlApi
func (*Client) DeleteResolverRequest ¶ added in v0.9.0
func (c *Client) DeleteResolverRequest(input *DeleteResolverInput) DeleteResolverRequest
DeleteResolverRequest returns a request value for making API operation for AWS AppSync.
Deletes a Resolver object.
// Example sending a request using DeleteResolverRequest. req := client.DeleteResolverRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteResolver
func (*Client) DeleteTypeRequest ¶ added in v0.9.0
func (c *Client) DeleteTypeRequest(input *DeleteTypeInput) DeleteTypeRequest
DeleteTypeRequest returns a request value for making API operation for AWS AppSync.
Deletes a Type object.
// Example sending a request using DeleteTypeRequest. req := client.DeleteTypeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteType
func (*Client) FlushApiCacheRequest ¶ added in v0.18.0
func (c *Client) FlushApiCacheRequest(input *FlushApiCacheInput) FlushApiCacheRequest
FlushApiCacheRequest returns a request value for making API operation for AWS AppSync.
Flushes an ApiCache object.
// Example sending a request using FlushApiCacheRequest. req := client.FlushApiCacheRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/FlushApiCache
func (*Client) GetApiCacheRequest ¶ added in v0.18.0
func (c *Client) GetApiCacheRequest(input *GetApiCacheInput) GetApiCacheRequest
GetApiCacheRequest returns a request value for making API operation for AWS AppSync.
Retrieves an ApiCache object.
// Example sending a request using GetApiCacheRequest. req := client.GetApiCacheRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetApiCache
func (*Client) GetDataSourceRequest ¶ added in v0.9.0
func (c *Client) GetDataSourceRequest(input *GetDataSourceInput) GetDataSourceRequest
GetDataSourceRequest returns a request value for making API operation for AWS AppSync.
Retrieves a DataSource object.
// Example sending a request using GetDataSourceRequest. req := client.GetDataSourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDataSource
func (*Client) GetFunctionRequest ¶ added in v0.9.0
func (c *Client) GetFunctionRequest(input *GetFunctionInput) GetFunctionRequest
GetFunctionRequest returns a request value for making API operation for AWS AppSync.
Get a Function.
// Example sending a request using GetFunctionRequest. req := client.GetFunctionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetFunction
func (*Client) GetGraphqlApiRequest ¶ added in v0.9.0
func (c *Client) GetGraphqlApiRequest(input *GetGraphqlApiInput) GetGraphqlApiRequest
GetGraphqlApiRequest returns a request value for making API operation for AWS AppSync.
Retrieves a GraphqlApi object.
// Example sending a request using GetGraphqlApiRequest. req := client.GetGraphqlApiRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApi
func (*Client) GetIntrospectionSchemaRequest ¶ added in v0.9.0
func (c *Client) GetIntrospectionSchemaRequest(input *GetIntrospectionSchemaInput) GetIntrospectionSchemaRequest
GetIntrospectionSchemaRequest returns a request value for making API operation for AWS AppSync.
Retrieves the introspection schema for a GraphQL API.
// Example sending a request using GetIntrospectionSchemaRequest. req := client.GetIntrospectionSchemaRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetIntrospectionSchema
func (*Client) GetResolverRequest ¶ added in v0.9.0
func (c *Client) GetResolverRequest(input *GetResolverInput) GetResolverRequest
GetResolverRequest returns a request value for making API operation for AWS AppSync.
Retrieves a Resolver object.
// Example sending a request using GetResolverRequest. req := client.GetResolverRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetResolver
func (*Client) GetSchemaCreationStatusRequest ¶ added in v0.9.0
func (c *Client) GetSchemaCreationStatusRequest(input *GetSchemaCreationStatusInput) GetSchemaCreationStatusRequest
GetSchemaCreationStatusRequest returns a request value for making API operation for AWS AppSync.
Retrieves the current status of a schema creation operation.
// Example sending a request using GetSchemaCreationStatusRequest. req := client.GetSchemaCreationStatusRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSchemaCreationStatus
func (*Client) GetTypeRequest ¶ added in v0.9.0
func (c *Client) GetTypeRequest(input *GetTypeInput) GetTypeRequest
GetTypeRequest returns a request value for making API operation for AWS AppSync.
Retrieves a Type object.
// Example sending a request using GetTypeRequest. req := client.GetTypeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetType
func (*Client) ListApiKeysRequest ¶ added in v0.9.0
func (c *Client) ListApiKeysRequest(input *ListApiKeysInput) ListApiKeysRequest
ListApiKeysRequest returns a request value for making API operation for AWS AppSync.
Lists the API keys for a given API.
API keys are deleted automatically sometime after they expire. However, they may still be included in the response until they have actually been deleted. You can safely call DeleteApiKey to manually delete a key before it's automatically deleted.
// Example sending a request using ListApiKeysRequest. req := client.ListApiKeysRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeys
func (*Client) ListDataSourcesRequest ¶ added in v0.9.0
func (c *Client) ListDataSourcesRequest(input *ListDataSourcesInput) ListDataSourcesRequest
ListDataSourcesRequest returns a request value for making API operation for AWS AppSync.
Lists the data sources for a given API.
// Example sending a request using ListDataSourcesRequest. req := client.ListDataSourcesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDataSources
func (*Client) ListFunctionsRequest ¶ added in v0.9.0
func (c *Client) ListFunctionsRequest(input *ListFunctionsInput) ListFunctionsRequest
ListFunctionsRequest returns a request value for making API operation for AWS AppSync.
List multiple functions.
// Example sending a request using ListFunctionsRequest. req := client.ListFunctionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListFunctions
func (*Client) ListGraphqlApisRequest ¶ added in v0.9.0
func (c *Client) ListGraphqlApisRequest(input *ListGraphqlApisInput) ListGraphqlApisRequest
ListGraphqlApisRequest returns a request value for making API operation for AWS AppSync.
Lists your GraphQL APIs.
// Example sending a request using ListGraphqlApisRequest. req := client.ListGraphqlApisRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApis
func (*Client) ListResolversByFunctionRequest ¶ added in v0.9.0
func (c *Client) ListResolversByFunctionRequest(input *ListResolversByFunctionInput) ListResolversByFunctionRequest
ListResolversByFunctionRequest returns a request value for making API operation for AWS AppSync.
List the resolvers that are associated with a specific function.
// Example sending a request using ListResolversByFunctionRequest. req := client.ListResolversByFunctionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolversByFunction
func (*Client) ListResolversRequest ¶ added in v0.9.0
func (c *Client) ListResolversRequest(input *ListResolversInput) ListResolversRequest
ListResolversRequest returns a request value for making API operation for AWS AppSync.
Lists the resolvers for a given API and type.
// Example sending a request using ListResolversRequest. req := client.ListResolversRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolvers
func (*Client) ListTagsForResourceRequest ¶ added in v0.9.0
func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
ListTagsForResourceRequest returns a request value for making API operation for AWS AppSync.
Lists the tags for a resource.
// Example sending a request using ListTagsForResourceRequest. req := client.ListTagsForResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTagsForResource
func (*Client) ListTypesRequest ¶ added in v0.9.0
func (c *Client) ListTypesRequest(input *ListTypesInput) ListTypesRequest
ListTypesRequest returns a request value for making API operation for AWS AppSync.
Lists the types for a given API.
// Example sending a request using ListTypesRequest. req := client.ListTypesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypes
func (*Client) StartSchemaCreationRequest ¶ added in v0.9.0
func (c *Client) StartSchemaCreationRequest(input *StartSchemaCreationInput) StartSchemaCreationRequest
StartSchemaCreationRequest returns a request value for making API operation for AWS AppSync.
Adds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.
// Example sending a request using StartSchemaCreationRequest. req := client.StartSchemaCreationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaCreation
func (*Client) TagResourceRequest ¶ added in v0.9.0
func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
TagResourceRequest returns a request value for making API operation for AWS AppSync.
Tags a resource with user-supplied tags.
// Example sending a request using TagResourceRequest. req := client.TagResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/TagResource
func (*Client) UntagResourceRequest ¶ added in v0.9.0
func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
UntagResourceRequest returns a request value for making API operation for AWS AppSync.
Untags a resource.
// Example sending a request using UntagResourceRequest. req := client.UntagResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UntagResource
func (*Client) UpdateApiCacheRequest ¶ added in v0.18.0
func (c *Client) UpdateApiCacheRequest(input *UpdateApiCacheInput) UpdateApiCacheRequest
UpdateApiCacheRequest returns a request value for making API operation for AWS AppSync.
Updates the cache for the GraphQL API.
// Example sending a request using UpdateApiCacheRequest. req := client.UpdateApiCacheRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiCache
func (*Client) UpdateApiKeyRequest ¶ added in v0.9.0
func (c *Client) UpdateApiKeyRequest(input *UpdateApiKeyInput) UpdateApiKeyRequest
UpdateApiKeyRequest returns a request value for making API operation for AWS AppSync.
Updates an API key.
// Example sending a request using UpdateApiKeyRequest. req := client.UpdateApiKeyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiKey
func (*Client) UpdateDataSourceRequest ¶ added in v0.9.0
func (c *Client) UpdateDataSourceRequest(input *UpdateDataSourceInput) UpdateDataSourceRequest
UpdateDataSourceRequest returns a request value for making API operation for AWS AppSync.
Updates a DataSource object.
// Example sending a request using UpdateDataSourceRequest. req := client.UpdateDataSourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDataSource
func (*Client) UpdateFunctionRequest ¶ added in v0.9.0
func (c *Client) UpdateFunctionRequest(input *UpdateFunctionInput) UpdateFunctionRequest
UpdateFunctionRequest returns a request value for making API operation for AWS AppSync.
Updates a Function object.
// Example sending a request using UpdateFunctionRequest. req := client.UpdateFunctionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateFunction
func (*Client) UpdateGraphqlApiRequest ¶ added in v0.9.0
func (c *Client) UpdateGraphqlApiRequest(input *UpdateGraphqlApiInput) UpdateGraphqlApiRequest
UpdateGraphqlApiRequest returns a request value for making API operation for AWS AppSync.
Updates a GraphqlApi object.
// Example sending a request using UpdateGraphqlApiRequest. req := client.UpdateGraphqlApiRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApi
func (*Client) UpdateResolverRequest ¶ added in v0.9.0
func (c *Client) UpdateResolverRequest(input *UpdateResolverInput) UpdateResolverRequest
UpdateResolverRequest returns a request value for making API operation for AWS AppSync.
Updates a Resolver object.
// Example sending a request using UpdateResolverRequest. req := client.UpdateResolverRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateResolver
func (*Client) UpdateTypeRequest ¶ added in v0.9.0
func (c *Client) UpdateTypeRequest(input *UpdateTypeInput) UpdateTypeRequest
UpdateTypeRequest returns a request value for making API operation for AWS AppSync.
Updates a Type object.
// Example sending a request using UpdateTypeRequest. req := client.UpdateTypeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateType
type CognitoUserPoolConfig ¶ added in v0.9.0
type CognitoUserPoolConfig struct { // A regular expression for validating the incoming Amazon Cognito user pool // app client ID. AppIdClientRegex *string `locationName:"appIdClientRegex" type:"string"` // The AWS Region in which the user pool was created. // // AwsRegion is a required field AwsRegion *string `locationName:"awsRegion" type:"string" required:"true"` // The user pool ID. // // UserPoolId is a required field UserPoolId *string `locationName:"userPoolId" type:"string" required:"true"` // contains filtered or unexported fields }
Describes an Amazon Cognito user pool configuration.
func (CognitoUserPoolConfig) MarshalFields ¶ added in v0.9.0
func (s CognitoUserPoolConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CognitoUserPoolConfig) String ¶ added in v0.9.0
func (s CognitoUserPoolConfig) String() string
String returns the string representation
func (*CognitoUserPoolConfig) Validate ¶ added in v0.9.0
func (s *CognitoUserPoolConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ConflictDetectionType ¶ added in v0.18.0
type ConflictDetectionType string
const ( ConflictDetectionTypeVersion ConflictDetectionType = "VERSION" ConflictDetectionTypeNone ConflictDetectionType = "NONE" )
Enum values for ConflictDetectionType
func (ConflictDetectionType) MarshalValue ¶ added in v0.18.0
func (enum ConflictDetectionType) MarshalValue() (string, error)
func (ConflictDetectionType) MarshalValueBuf ¶ added in v0.18.0
func (enum ConflictDetectionType) MarshalValueBuf(b []byte) ([]byte, error)
type ConflictHandlerType ¶ added in v0.18.0
type ConflictHandlerType string
const ( ConflictHandlerTypeOptimisticConcurrency ConflictHandlerType = "OPTIMISTIC_CONCURRENCY" ConflictHandlerTypeLambda ConflictHandlerType = "LAMBDA" ConflictHandlerTypeAutomerge ConflictHandlerType = "AUTOMERGE" ConflictHandlerTypeNone ConflictHandlerType = "NONE" )
Enum values for ConflictHandlerType
func (ConflictHandlerType) MarshalValue ¶ added in v0.18.0
func (enum ConflictHandlerType) MarshalValue() (string, error)
func (ConflictHandlerType) MarshalValueBuf ¶ added in v0.18.0
func (enum ConflictHandlerType) MarshalValueBuf(b []byte) ([]byte, error)
type CreateApiCacheInput ¶ added in v0.18.0
type CreateApiCacheInput struct { // Caching behavior. // // * FULL_REQUEST_CACHING: All requests are fully cached. // // * PER_RESOLVER_CACHING: Individual resovlers that you specify are cached. // // ApiCachingBehavior is a required field ApiCachingBehavior ApiCachingBehavior `locationName:"apiCachingBehavior" type:"string" required:"true" enum:"true"` // The GraphQL API Id. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // At rest encryption flag for cache. This setting cannot be updated after creation. AtRestEncryptionEnabled *bool `locationName:"atRestEncryptionEnabled" type:"boolean"` // Transit encryption flag when connecting to cache. This setting cannot be // updated after creation. TransitEncryptionEnabled *bool `locationName:"transitEncryptionEnabled" type:"boolean"` // TTL in seconds for cache entries. // // Valid values are between 1 and 3600 seconds. // // Ttl is a required field Ttl *int64 `locationName:"ttl" type:"long" required:"true"` // The cache instance type. // // * T2_SMALL: A t2.small instance type. // // * T2_MEDIUM: A t2.medium instance type. // // * R4_LARGE: A r4.large instance type. // // * R4_XLARGE: A r4.xlarge instance type. // // * R4_2XLARGE: A r4.2xlarge instance type. // // * R4_4XLARGE: A r4.4xlarge instance type. // // * R4_8XLARGE: A r4.8xlarge instance type. // // Type is a required field Type ApiCacheType `locationName:"type" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Represents the input of a CreateApiCache operation.
func (CreateApiCacheInput) MarshalFields ¶ added in v0.18.0
func (s CreateApiCacheInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateApiCacheInput) String ¶ added in v0.18.0
func (s CreateApiCacheInput) String() string
String returns the string representation
func (*CreateApiCacheInput) Validate ¶ added in v0.18.0
func (s *CreateApiCacheInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateApiCacheOutput ¶ added in v0.18.0
type CreateApiCacheOutput struct { // The ApiCache object. ApiCache *ApiCache `locationName:"apiCache" type:"structure"` // contains filtered or unexported fields }
Represents the output of a CreateApiCache operation.
func (CreateApiCacheOutput) MarshalFields ¶ added in v0.18.0
func (s CreateApiCacheOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateApiCacheOutput) String ¶ added in v0.18.0
func (s CreateApiCacheOutput) String() string
String returns the string representation
type CreateApiCacheRequest ¶ added in v0.18.0
type CreateApiCacheRequest struct { *aws.Request Input *CreateApiCacheInput Copy func(*CreateApiCacheInput) CreateApiCacheRequest }
CreateApiCacheRequest is the request type for the CreateApiCache API operation.
func (CreateApiCacheRequest) Send ¶ added in v0.18.0
func (r CreateApiCacheRequest) Send(ctx context.Context) (*CreateApiCacheResponse, error)
Send marshals and sends the CreateApiCache API request.
type CreateApiCacheResponse ¶ added in v0.18.0
type CreateApiCacheResponse struct { *CreateApiCacheOutput // contains filtered or unexported fields }
CreateApiCacheResponse is the response type for the CreateApiCache API operation.
func (*CreateApiCacheResponse) SDKResponseMetdata ¶ added in v0.18.0
func (r *CreateApiCacheResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateApiCache request.
type CreateApiKeyInput ¶
type CreateApiKeyInput struct { // The ID for your GraphQL API. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // A description of the purpose of the API key. Description *string `locationName:"description" type:"string"` // The time from creation time after which the API key expires. The date is // represented as seconds since the epoch, rounded down to the nearest hour. // The default value for this parameter is 7 days from creation time. For more // information, see . Expires *int64 `locationName:"expires" type:"long"` // contains filtered or unexported fields }
func (CreateApiKeyInput) MarshalFields ¶ added in v0.3.0
func (s CreateApiKeyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateApiKeyInput) String ¶
func (s CreateApiKeyInput) String() string
String returns the string representation
func (*CreateApiKeyInput) Validate ¶
func (s *CreateApiKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateApiKeyOutput ¶
type CreateApiKeyOutput struct { // The API key. ApiKey *ApiKey `locationName:"apiKey" type:"structure"` // contains filtered or unexported fields }
func (CreateApiKeyOutput) MarshalFields ¶ added in v0.3.0
func (s CreateApiKeyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateApiKeyOutput) String ¶
func (s CreateApiKeyOutput) String() string
String returns the string representation
type CreateApiKeyRequest ¶
type CreateApiKeyRequest struct { *aws.Request Input *CreateApiKeyInput Copy func(*CreateApiKeyInput) CreateApiKeyRequest }
CreateApiKeyRequest is the request type for the CreateApiKey API operation.
func (CreateApiKeyRequest) Send ¶
func (r CreateApiKeyRequest) Send(ctx context.Context) (*CreateApiKeyResponse, error)
Send marshals and sends the CreateApiKey API request.
type CreateApiKeyResponse ¶ added in v0.9.0
type CreateApiKeyResponse struct { *CreateApiKeyOutput // contains filtered or unexported fields }
CreateApiKeyResponse is the response type for the CreateApiKey API operation.
func (*CreateApiKeyResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateApiKeyResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateApiKey request.
type CreateDataSourceInput ¶
type CreateDataSourceInput struct { // The API ID for the GraphQL API for the DataSource. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // A description of the DataSource. Description *string `locationName:"description" type:"string"` // Amazon DynamoDB settings. DynamodbConfig *DynamodbDataSourceConfig `locationName:"dynamodbConfig" type:"structure"` // Amazon Elasticsearch Service settings. ElasticsearchConfig *ElasticsearchDataSourceConfig `locationName:"elasticsearchConfig" type:"structure"` // HTTP endpoint settings. HttpConfig *HttpDataSourceConfig `locationName:"httpConfig" type:"structure"` // AWS Lambda settings. LambdaConfig *LambdaDataSourceConfig `locationName:"lambdaConfig" type:"structure"` // A user-supplied name for the DataSource. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // Relational database settings. RelationalDatabaseConfig *RelationalDatabaseDataSourceConfig `locationName:"relationalDatabaseConfig" type:"structure"` // The AWS IAM service role ARN for the data source. The system assumes this // role when accessing the data source. ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"` // The type of the DataSource. // // Type is a required field Type DataSourceType `locationName:"type" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
func (CreateDataSourceInput) MarshalFields ¶ added in v0.3.0
func (s CreateDataSourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateDataSourceInput) String ¶
func (s CreateDataSourceInput) String() string
String returns the string representation
func (*CreateDataSourceInput) Validate ¶
func (s *CreateDataSourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDataSourceOutput ¶
type CreateDataSourceOutput struct { // The DataSource object. DataSource *DataSource `locationName:"dataSource" type:"structure"` // contains filtered or unexported fields }
func (CreateDataSourceOutput) MarshalFields ¶ added in v0.3.0
func (s CreateDataSourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateDataSourceOutput) String ¶
func (s CreateDataSourceOutput) String() string
String returns the string representation
type CreateDataSourceRequest ¶
type CreateDataSourceRequest struct { *aws.Request Input *CreateDataSourceInput Copy func(*CreateDataSourceInput) CreateDataSourceRequest }
CreateDataSourceRequest is the request type for the CreateDataSource API operation.
func (CreateDataSourceRequest) Send ¶
func (r CreateDataSourceRequest) Send(ctx context.Context) (*CreateDataSourceResponse, error)
Send marshals and sends the CreateDataSource API request.
type CreateDataSourceResponse ¶ added in v0.9.0
type CreateDataSourceResponse struct { *CreateDataSourceOutput // contains filtered or unexported fields }
CreateDataSourceResponse is the response type for the CreateDataSource API operation.
func (*CreateDataSourceResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateDataSourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateDataSource request.
type CreateFunctionInput ¶ added in v0.6.0
type CreateFunctionInput struct { // The GraphQL API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The Function DataSource name. // // DataSourceName is a required field DataSourceName *string `locationName:"dataSourceName" min:"1" type:"string" required:"true"` // The Function description. Description *string `locationName:"description" type:"string"` // The version of the request mapping template. Currently the supported value // is 2018-05-29. // // FunctionVersion is a required field FunctionVersion *string `locationName:"functionVersion" type:"string" required:"true"` // The Function name. The function name does not have to be unique. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The Function request mapping template. Functions support only the 2018-05-29 // version of the request mapping template. // // RequestMappingTemplate is a required field RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string" required:"true"` // The Function response mapping template. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` // contains filtered or unexported fields }
func (CreateFunctionInput) MarshalFields ¶ added in v0.6.0
func (s CreateFunctionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateFunctionInput) String ¶ added in v0.6.0
func (s CreateFunctionInput) String() string
String returns the string representation
func (*CreateFunctionInput) Validate ¶ added in v0.6.0
func (s *CreateFunctionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateFunctionOutput ¶ added in v0.6.0
type CreateFunctionOutput struct { // The Function object. FunctionConfiguration *FunctionConfiguration `locationName:"functionConfiguration" type:"structure"` // contains filtered or unexported fields }
func (CreateFunctionOutput) MarshalFields ¶ added in v0.6.0
func (s CreateFunctionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateFunctionOutput) String ¶ added in v0.6.0
func (s CreateFunctionOutput) String() string
String returns the string representation
type CreateFunctionRequest ¶ added in v0.6.0
type CreateFunctionRequest struct { *aws.Request Input *CreateFunctionInput Copy func(*CreateFunctionInput) CreateFunctionRequest }
CreateFunctionRequest is the request type for the CreateFunction API operation.
func (CreateFunctionRequest) Send ¶ added in v0.6.0
func (r CreateFunctionRequest) Send(ctx context.Context) (*CreateFunctionResponse, error)
Send marshals and sends the CreateFunction API request.
type CreateFunctionResponse ¶ added in v0.9.0
type CreateFunctionResponse struct { *CreateFunctionOutput // contains filtered or unexported fields }
CreateFunctionResponse is the response type for the CreateFunction API operation.
func (*CreateFunctionResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateFunctionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateFunction request.
type CreateGraphqlApiInput ¶
type CreateGraphqlApiInput struct { // A list of additional authentication providers for the GraphqlApi API. AdditionalAuthenticationProviders []AdditionalAuthenticationProvider `locationName:"additionalAuthenticationProviders" type:"list"` // The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user pools. // // AuthenticationType is a required field AuthenticationType AuthenticationType `locationName:"authenticationType" type:"string" required:"true" enum:"true"` // The Amazon CloudWatch Logs configuration. LogConfig *LogConfig `locationName:"logConfig" type:"structure"` // A user-supplied name for the GraphqlApi. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The OpenID Connect configuration. OpenIDConnectConfig *OpenIDConnectConfig `locationName:"openIDConnectConfig" type:"structure"` // A TagMap object. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // The Amazon Cognito user pool configuration. UserPoolConfig *UserPoolConfig `locationName:"userPoolConfig" type:"structure"` // A flag indicating whether to enable X-Ray tracing for the GraphqlApi. XrayEnabled *bool `locationName:"xrayEnabled" type:"boolean"` // contains filtered or unexported fields }
func (CreateGraphqlApiInput) MarshalFields ¶ added in v0.3.0
func (s CreateGraphqlApiInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateGraphqlApiInput) String ¶
func (s CreateGraphqlApiInput) String() string
String returns the string representation
func (*CreateGraphqlApiInput) Validate ¶
func (s *CreateGraphqlApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateGraphqlApiOutput ¶
type CreateGraphqlApiOutput struct { // The GraphqlApi. GraphqlApi *GraphqlApi `locationName:"graphqlApi" type:"structure"` // contains filtered or unexported fields }
func (CreateGraphqlApiOutput) MarshalFields ¶ added in v0.3.0
func (s CreateGraphqlApiOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateGraphqlApiOutput) String ¶
func (s CreateGraphqlApiOutput) String() string
String returns the string representation
type CreateGraphqlApiRequest ¶
type CreateGraphqlApiRequest struct { *aws.Request Input *CreateGraphqlApiInput Copy func(*CreateGraphqlApiInput) CreateGraphqlApiRequest }
CreateGraphqlApiRequest is the request type for the CreateGraphqlApi API operation.
func (CreateGraphqlApiRequest) Send ¶
func (r CreateGraphqlApiRequest) Send(ctx context.Context) (*CreateGraphqlApiResponse, error)
Send marshals and sends the CreateGraphqlApi API request.
type CreateGraphqlApiResponse ¶ added in v0.9.0
type CreateGraphqlApiResponse struct { *CreateGraphqlApiOutput // contains filtered or unexported fields }
CreateGraphqlApiResponse is the response type for the CreateGraphqlApi API operation.
func (*CreateGraphqlApiResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateGraphqlApiResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateGraphqlApi request.
type CreateResolverInput ¶
type CreateResolverInput struct { // The ID for the GraphQL API for which the resolver is being created. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The caching configuration for the resolver. CachingConfig *CachingConfig `locationName:"cachingConfig" type:"structure"` // The name of the data source for which the resolver is being created. DataSourceName *string `locationName:"dataSourceName" min:"1" type:"string"` // The name of the field to attach the resolver to. // // FieldName is a required field FieldName *string `locationName:"fieldName" min:"1" type:"string" required:"true"` // The resolver type. // // * UNIT: A UNIT resolver type. A UNIT resolver is the default resolver // type. A UNIT resolver enables you to execute a GraphQL query against a // single data source. // // * PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you // to execute a series of Function in a serial manner. You can use a pipeline // resolver to execute a GraphQL query against multiple data sources. Kind ResolverKind `locationName:"kind" type:"string" enum:"true"` // The PipelineConfig. PipelineConfig *PipelineConfig `locationName:"pipelineConfig" type:"structure"` // The mapping template to be used for requests. // // A resolver uses a request mapping template to convert a GraphQL expression // into a format that a data source can understand. Mapping templates are written // in Apache Velocity Template Language (VTL). // // RequestMappingTemplate is a required field RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string" required:"true"` // The mapping template to be used for responses from the data source. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` // The SyncConfig for a resolver attached to a versioned datasource. SyncConfig *SyncConfig `locationName:"syncConfig" type:"structure"` // The name of the Type. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateResolverInput) MarshalFields ¶ added in v0.3.0
func (s CreateResolverInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateResolverInput) String ¶
func (s CreateResolverInput) String() string
String returns the string representation
func (*CreateResolverInput) Validate ¶
func (s *CreateResolverInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateResolverOutput ¶
type CreateResolverOutput struct { // The Resolver object. Resolver *Resolver `locationName:"resolver" type:"structure"` // contains filtered or unexported fields }
func (CreateResolverOutput) MarshalFields ¶ added in v0.3.0
func (s CreateResolverOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateResolverOutput) String ¶
func (s CreateResolverOutput) String() string
String returns the string representation
type CreateResolverRequest ¶
type CreateResolverRequest struct { *aws.Request Input *CreateResolverInput Copy func(*CreateResolverInput) CreateResolverRequest }
CreateResolverRequest is the request type for the CreateResolver API operation.
func (CreateResolverRequest) Send ¶
func (r CreateResolverRequest) Send(ctx context.Context) (*CreateResolverResponse, error)
Send marshals and sends the CreateResolver API request.
type CreateResolverResponse ¶ added in v0.9.0
type CreateResolverResponse struct { *CreateResolverOutput // contains filtered or unexported fields }
CreateResolverResponse is the response type for the CreateResolver API operation.
func (*CreateResolverResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateResolverResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateResolver request.
type CreateTypeInput ¶
type CreateTypeInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The type definition, in GraphQL Schema Definition Language (SDL) format. // // For more information, see the GraphQL SDL documentation (http://graphql.org/learn/schema/). // // Definition is a required field Definition *string `locationName:"definition" type:"string" required:"true"` // The type format: SDL or JSON. // // Format is a required field Format TypeDefinitionFormat `locationName:"format" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
func (CreateTypeInput) MarshalFields ¶ added in v0.3.0
func (s CreateTypeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateTypeInput) String ¶
func (s CreateTypeInput) String() string
String returns the string representation
func (*CreateTypeInput) Validate ¶
func (s *CreateTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateTypeOutput ¶
type CreateTypeOutput struct { // The Type object. Type *Type `locationName:"type" type:"structure"` // contains filtered or unexported fields }
func (CreateTypeOutput) MarshalFields ¶ added in v0.3.0
func (s CreateTypeOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateTypeOutput) String ¶
func (s CreateTypeOutput) String() string
String returns the string representation
type CreateTypeRequest ¶
type CreateTypeRequest struct { *aws.Request Input *CreateTypeInput Copy func(*CreateTypeInput) CreateTypeRequest }
CreateTypeRequest is the request type for the CreateType API operation.
func (CreateTypeRequest) Send ¶
func (r CreateTypeRequest) Send(ctx context.Context) (*CreateTypeResponse, error)
Send marshals and sends the CreateType API request.
type CreateTypeResponse ¶ added in v0.9.0
type CreateTypeResponse struct { *CreateTypeOutput // contains filtered or unexported fields }
CreateTypeResponse is the response type for the CreateType API operation.
func (*CreateTypeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateTypeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateType request.
type DataSource ¶
type DataSource struct { // The data source ARN. DataSourceArn *string `locationName:"dataSourceArn" type:"string"` // The description of the data source. Description *string `locationName:"description" type:"string"` // Amazon DynamoDB settings. DynamodbConfig *DynamodbDataSourceConfig `locationName:"dynamodbConfig" type:"structure"` // Amazon Elasticsearch Service settings. ElasticsearchConfig *ElasticsearchDataSourceConfig `locationName:"elasticsearchConfig" type:"structure"` // HTTP endpoint settings. HttpConfig *HttpDataSourceConfig `locationName:"httpConfig" type:"structure"` // AWS Lambda settings. LambdaConfig *LambdaDataSourceConfig `locationName:"lambdaConfig" type:"structure"` // The name of the data source. Name *string `locationName:"name" min:"1" type:"string"` // Relational database settings. RelationalDatabaseConfig *RelationalDatabaseDataSourceConfig `locationName:"relationalDatabaseConfig" type:"structure"` // The AWS IAM service role ARN for the data source. The system assumes this // role when accessing the data source. ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"` // The type of the data source. // // * AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table. // // * AMAZON_ELASTICSEARCH: The data source is an Amazon Elasticsearch Service // domain. // // * AWS_LAMBDA: The data source is an AWS Lambda function. // // * NONE: There is no data source. This type is used when you wish to invoke // a GraphQL operation without connecting to a data source, such as performing // data transformation with resolvers or triggering a subscription to be // invoked from a mutation. // // * HTTP: The data source is an HTTP endpoint. // // * RELATIONAL_DATABASE: The data source is a relational database. Type DataSourceType `locationName:"type" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a data source.
func (DataSource) MarshalFields ¶ added in v0.3.0
func (s DataSource) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DataSource) String ¶
func (s DataSource) String() string
String returns the string representation
type DataSourceType ¶
type DataSourceType string
const ( DataSourceTypeAwsLambda DataSourceType = "AWS_LAMBDA" DataSourceTypeAmazonDynamodb DataSourceType = "AMAZON_DYNAMODB" DataSourceTypeAmazonElasticsearch DataSourceType = "AMAZON_ELASTICSEARCH" DataSourceTypeNone DataSourceType = "NONE" DataSourceTypeHttp DataSourceType = "HTTP" DataSourceTypeRelationalDatabase DataSourceType = "RELATIONAL_DATABASE" )
Enum values for DataSourceType
func (DataSourceType) MarshalValue ¶ added in v0.3.0
func (enum DataSourceType) MarshalValue() (string, error)
func (DataSourceType) MarshalValueBuf ¶ added in v0.3.0
func (enum DataSourceType) MarshalValueBuf(b []byte) ([]byte, error)
type DefaultAction ¶
type DefaultAction string
const ( DefaultActionAllow DefaultAction = "ALLOW" DefaultActionDeny DefaultAction = "DENY" )
Enum values for DefaultAction
func (DefaultAction) MarshalValue ¶ added in v0.3.0
func (enum DefaultAction) MarshalValue() (string, error)
func (DefaultAction) MarshalValueBuf ¶ added in v0.3.0
func (enum DefaultAction) MarshalValueBuf(b []byte) ([]byte, error)
type DeleteApiCacheInput ¶ added in v0.18.0
type DeleteApiCacheInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a DeleteApiCache operation.
func (DeleteApiCacheInput) MarshalFields ¶ added in v0.18.0
func (s DeleteApiCacheInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteApiCacheInput) String ¶ added in v0.18.0
func (s DeleteApiCacheInput) String() string
String returns the string representation
func (*DeleteApiCacheInput) Validate ¶ added in v0.18.0
func (s *DeleteApiCacheInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteApiCacheOutput ¶ added in v0.18.0
type DeleteApiCacheOutput struct {
// contains filtered or unexported fields
}
Represents the output of a DeleteApiCache operation.
func (DeleteApiCacheOutput) MarshalFields ¶ added in v0.18.0
func (s DeleteApiCacheOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteApiCacheOutput) String ¶ added in v0.18.0
func (s DeleteApiCacheOutput) String() string
String returns the string representation
type DeleteApiCacheRequest ¶ added in v0.18.0
type DeleteApiCacheRequest struct { *aws.Request Input *DeleteApiCacheInput Copy func(*DeleteApiCacheInput) DeleteApiCacheRequest }
DeleteApiCacheRequest is the request type for the DeleteApiCache API operation.
func (DeleteApiCacheRequest) Send ¶ added in v0.18.0
func (r DeleteApiCacheRequest) Send(ctx context.Context) (*DeleteApiCacheResponse, error)
Send marshals and sends the DeleteApiCache API request.
type DeleteApiCacheResponse ¶ added in v0.18.0
type DeleteApiCacheResponse struct { *DeleteApiCacheOutput // contains filtered or unexported fields }
DeleteApiCacheResponse is the response type for the DeleteApiCache API operation.
func (*DeleteApiCacheResponse) SDKResponseMetdata ¶ added in v0.18.0
func (r *DeleteApiCacheResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteApiCache request.
type DeleteApiKeyInput ¶
type DeleteApiKeyInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The ID for the API key. // // Id is a required field Id *string `location:"uri" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteApiKeyInput) MarshalFields ¶ added in v0.3.0
func (s DeleteApiKeyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteApiKeyInput) String ¶
func (s DeleteApiKeyInput) String() string
String returns the string representation
func (*DeleteApiKeyInput) Validate ¶
func (s *DeleteApiKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteApiKeyOutput ¶
type DeleteApiKeyOutput struct {
// contains filtered or unexported fields
}
func (DeleteApiKeyOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteApiKeyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteApiKeyOutput) String ¶
func (s DeleteApiKeyOutput) String() string
String returns the string representation
type DeleteApiKeyRequest ¶
type DeleteApiKeyRequest struct { *aws.Request Input *DeleteApiKeyInput Copy func(*DeleteApiKeyInput) DeleteApiKeyRequest }
DeleteApiKeyRequest is the request type for the DeleteApiKey API operation.
func (DeleteApiKeyRequest) Send ¶
func (r DeleteApiKeyRequest) Send(ctx context.Context) (*DeleteApiKeyResponse, error)
Send marshals and sends the DeleteApiKey API request.
type DeleteApiKeyResponse ¶ added in v0.9.0
type DeleteApiKeyResponse struct { *DeleteApiKeyOutput // contains filtered or unexported fields }
DeleteApiKeyResponse is the response type for the DeleteApiKey API operation.
func (*DeleteApiKeyResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteApiKeyResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteApiKey request.
type DeleteDataSourceInput ¶
type DeleteDataSourceInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The name of the data source. // // Name is a required field Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteDataSourceInput) MarshalFields ¶ added in v0.3.0
func (s DeleteDataSourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteDataSourceInput) String ¶
func (s DeleteDataSourceInput) String() string
String returns the string representation
func (*DeleteDataSourceInput) Validate ¶
func (s *DeleteDataSourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDataSourceOutput ¶
type DeleteDataSourceOutput struct {
// contains filtered or unexported fields
}
func (DeleteDataSourceOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteDataSourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteDataSourceOutput) String ¶
func (s DeleteDataSourceOutput) String() string
String returns the string representation
type DeleteDataSourceRequest ¶
type DeleteDataSourceRequest struct { *aws.Request Input *DeleteDataSourceInput Copy func(*DeleteDataSourceInput) DeleteDataSourceRequest }
DeleteDataSourceRequest is the request type for the DeleteDataSource API operation.
func (DeleteDataSourceRequest) Send ¶
func (r DeleteDataSourceRequest) Send(ctx context.Context) (*DeleteDataSourceResponse, error)
Send marshals and sends the DeleteDataSource API request.
type DeleteDataSourceResponse ¶ added in v0.9.0
type DeleteDataSourceResponse struct { *DeleteDataSourceOutput // contains filtered or unexported fields }
DeleteDataSourceResponse is the response type for the DeleteDataSource API operation.
func (*DeleteDataSourceResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteDataSourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteDataSource request.
type DeleteFunctionInput ¶ added in v0.6.0
type DeleteFunctionInput struct { // The GraphQL API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The Function ID. // // FunctionId is a required field FunctionId *string `location:"uri" locationName:"functionId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteFunctionInput) MarshalFields ¶ added in v0.6.0
func (s DeleteFunctionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteFunctionInput) String ¶ added in v0.6.0
func (s DeleteFunctionInput) String() string
String returns the string representation
func (*DeleteFunctionInput) Validate ¶ added in v0.6.0
func (s *DeleteFunctionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteFunctionOutput ¶ added in v0.6.0
type DeleteFunctionOutput struct {
// contains filtered or unexported fields
}
func (DeleteFunctionOutput) MarshalFields ¶ added in v0.6.0
func (s DeleteFunctionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteFunctionOutput) String ¶ added in v0.6.0
func (s DeleteFunctionOutput) String() string
String returns the string representation
type DeleteFunctionRequest ¶ added in v0.6.0
type DeleteFunctionRequest struct { *aws.Request Input *DeleteFunctionInput Copy func(*DeleteFunctionInput) DeleteFunctionRequest }
DeleteFunctionRequest is the request type for the DeleteFunction API operation.
func (DeleteFunctionRequest) Send ¶ added in v0.6.0
func (r DeleteFunctionRequest) Send(ctx context.Context) (*DeleteFunctionResponse, error)
Send marshals and sends the DeleteFunction API request.
type DeleteFunctionResponse ¶ added in v0.9.0
type DeleteFunctionResponse struct { *DeleteFunctionOutput // contains filtered or unexported fields }
DeleteFunctionResponse is the response type for the DeleteFunction API operation.
func (*DeleteFunctionResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteFunctionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteFunction request.
type DeleteGraphqlApiInput ¶
type DeleteGraphqlApiInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteGraphqlApiInput) MarshalFields ¶ added in v0.3.0
func (s DeleteGraphqlApiInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteGraphqlApiInput) String ¶
func (s DeleteGraphqlApiInput) String() string
String returns the string representation
func (*DeleteGraphqlApiInput) Validate ¶
func (s *DeleteGraphqlApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteGraphqlApiOutput ¶
type DeleteGraphqlApiOutput struct {
// contains filtered or unexported fields
}
func (DeleteGraphqlApiOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteGraphqlApiOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteGraphqlApiOutput) String ¶
func (s DeleteGraphqlApiOutput) String() string
String returns the string representation
type DeleteGraphqlApiRequest ¶
type DeleteGraphqlApiRequest struct { *aws.Request Input *DeleteGraphqlApiInput Copy func(*DeleteGraphqlApiInput) DeleteGraphqlApiRequest }
DeleteGraphqlApiRequest is the request type for the DeleteGraphqlApi API operation.
func (DeleteGraphqlApiRequest) Send ¶
func (r DeleteGraphqlApiRequest) Send(ctx context.Context) (*DeleteGraphqlApiResponse, error)
Send marshals and sends the DeleteGraphqlApi API request.
type DeleteGraphqlApiResponse ¶ added in v0.9.0
type DeleteGraphqlApiResponse struct { *DeleteGraphqlApiOutput // contains filtered or unexported fields }
DeleteGraphqlApiResponse is the response type for the DeleteGraphqlApi API operation.
func (*DeleteGraphqlApiResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteGraphqlApiResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteGraphqlApi request.
type DeleteResolverInput ¶
type DeleteResolverInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The resolver field name. // // FieldName is a required field FieldName *string `location:"uri" locationName:"fieldName" min:"1" type:"string" required:"true"` // The name of the resolver type. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteResolverInput) MarshalFields ¶ added in v0.3.0
func (s DeleteResolverInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteResolverInput) String ¶
func (s DeleteResolverInput) String() string
String returns the string representation
func (*DeleteResolverInput) Validate ¶
func (s *DeleteResolverInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteResolverOutput ¶
type DeleteResolverOutput struct {
// contains filtered or unexported fields
}
func (DeleteResolverOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteResolverOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteResolverOutput) String ¶
func (s DeleteResolverOutput) String() string
String returns the string representation
type DeleteResolverRequest ¶
type DeleteResolverRequest struct { *aws.Request Input *DeleteResolverInput Copy func(*DeleteResolverInput) DeleteResolverRequest }
DeleteResolverRequest is the request type for the DeleteResolver API operation.
func (DeleteResolverRequest) Send ¶
func (r DeleteResolverRequest) Send(ctx context.Context) (*DeleteResolverResponse, error)
Send marshals and sends the DeleteResolver API request.
type DeleteResolverResponse ¶ added in v0.9.0
type DeleteResolverResponse struct { *DeleteResolverOutput // contains filtered or unexported fields }
DeleteResolverResponse is the response type for the DeleteResolver API operation.
func (*DeleteResolverResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteResolverResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteResolver request.
type DeleteTypeInput ¶
type DeleteTypeInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The type name. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteTypeInput) MarshalFields ¶ added in v0.3.0
func (s DeleteTypeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteTypeInput) String ¶
func (s DeleteTypeInput) String() string
String returns the string representation
func (*DeleteTypeInput) Validate ¶
func (s *DeleteTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteTypeOutput ¶
type DeleteTypeOutput struct {
// contains filtered or unexported fields
}
func (DeleteTypeOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteTypeOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteTypeOutput) String ¶
func (s DeleteTypeOutput) String() string
String returns the string representation
type DeleteTypeRequest ¶
type DeleteTypeRequest struct { *aws.Request Input *DeleteTypeInput Copy func(*DeleteTypeInput) DeleteTypeRequest }
DeleteTypeRequest is the request type for the DeleteType API operation.
func (DeleteTypeRequest) Send ¶
func (r DeleteTypeRequest) Send(ctx context.Context) (*DeleteTypeResponse, error)
Send marshals and sends the DeleteType API request.
type DeleteTypeResponse ¶ added in v0.9.0
type DeleteTypeResponse struct { *DeleteTypeOutput // contains filtered or unexported fields }
DeleteTypeResponse is the response type for the DeleteType API operation.
func (*DeleteTypeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteTypeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteType request.
type DeltaSyncConfig ¶ added in v0.18.0
type DeltaSyncConfig struct { // The number of minutes an Item is stored in the datasource. BaseTableTTL *int64 `locationName:"baseTableTTL" type:"long"` // The Delta Sync table name. DeltaSyncTableName *string `locationName:"deltaSyncTableName" type:"string"` // The number of minutes a Delta Sync log entry is stored in the Delta Sync // table. DeltaSyncTableTTL *int64 `locationName:"deltaSyncTableTTL" type:"long"` // contains filtered or unexported fields }
Describes a Delta Sync configuration.
func (DeltaSyncConfig) MarshalFields ¶ added in v0.18.0
func (s DeltaSyncConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeltaSyncConfig) String ¶ added in v0.18.0
func (s DeltaSyncConfig) String() string
String returns the string representation
type DynamodbDataSourceConfig ¶
type DynamodbDataSourceConfig struct { // The AWS Region. // // AwsRegion is a required field AwsRegion *string `locationName:"awsRegion" type:"string" required:"true"` // The DeltaSyncConfig for a versioned datasource. DeltaSyncConfig *DeltaSyncConfig `locationName:"deltaSyncConfig" type:"structure"` // The table name. // // TableName is a required field TableName *string `locationName:"tableName" type:"string" required:"true"` // Set to TRUE to use Amazon Cognito credentials with this data source. UseCallerCredentials *bool `locationName:"useCallerCredentials" type:"boolean"` // Set to TRUE to use Conflict Detection and Resolution with this data source. Versioned *bool `locationName:"versioned" type:"boolean"` // contains filtered or unexported fields }
Describes an Amazon DynamoDB data source configuration.
func (DynamodbDataSourceConfig) MarshalFields ¶ added in v0.3.0
func (s DynamodbDataSourceConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DynamodbDataSourceConfig) String ¶
func (s DynamodbDataSourceConfig) String() string
String returns the string representation
func (*DynamodbDataSourceConfig) Validate ¶
func (s *DynamodbDataSourceConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ElasticsearchDataSourceConfig ¶
type ElasticsearchDataSourceConfig struct { // The AWS Region. // // AwsRegion is a required field AwsRegion *string `locationName:"awsRegion" type:"string" required:"true"` // The endpoint. // // Endpoint is a required field Endpoint *string `locationName:"endpoint" type:"string" required:"true"` // contains filtered or unexported fields }
Describes an Elasticsearch data source configuration.
func (ElasticsearchDataSourceConfig) MarshalFields ¶ added in v0.3.0
func (s ElasticsearchDataSourceConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ElasticsearchDataSourceConfig) String ¶
func (s ElasticsearchDataSourceConfig) String() string
String returns the string representation
func (*ElasticsearchDataSourceConfig) Validate ¶
func (s *ElasticsearchDataSourceConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type FieldLogLevel ¶ added in v0.4.0
type FieldLogLevel string
const ( FieldLogLevelNone FieldLogLevel = "NONE" FieldLogLevelError FieldLogLevel = "ERROR" FieldLogLevelAll FieldLogLevel = "ALL" )
Enum values for FieldLogLevel
func (FieldLogLevel) MarshalValue ¶ added in v0.4.0
func (enum FieldLogLevel) MarshalValue() (string, error)
func (FieldLogLevel) MarshalValueBuf ¶ added in v0.4.0
func (enum FieldLogLevel) MarshalValueBuf(b []byte) ([]byte, error)
type FlushApiCacheInput ¶ added in v0.18.0
type FlushApiCacheInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a FlushApiCache operation.
func (FlushApiCacheInput) MarshalFields ¶ added in v0.18.0
func (s FlushApiCacheInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (FlushApiCacheInput) String ¶ added in v0.18.0
func (s FlushApiCacheInput) String() string
String returns the string representation
func (*FlushApiCacheInput) Validate ¶ added in v0.18.0
func (s *FlushApiCacheInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type FlushApiCacheOutput ¶ added in v0.18.0
type FlushApiCacheOutput struct {
// contains filtered or unexported fields
}
Represents the output of a FlushApiCache operation.
func (FlushApiCacheOutput) MarshalFields ¶ added in v0.18.0
func (s FlushApiCacheOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (FlushApiCacheOutput) String ¶ added in v0.18.0
func (s FlushApiCacheOutput) String() string
String returns the string representation
type FlushApiCacheRequest ¶ added in v0.18.0
type FlushApiCacheRequest struct { *aws.Request Input *FlushApiCacheInput Copy func(*FlushApiCacheInput) FlushApiCacheRequest }
FlushApiCacheRequest is the request type for the FlushApiCache API operation.
func (FlushApiCacheRequest) Send ¶ added in v0.18.0
func (r FlushApiCacheRequest) Send(ctx context.Context) (*FlushApiCacheResponse, error)
Send marshals and sends the FlushApiCache API request.
type FlushApiCacheResponse ¶ added in v0.18.0
type FlushApiCacheResponse struct { *FlushApiCacheOutput // contains filtered or unexported fields }
FlushApiCacheResponse is the response type for the FlushApiCache API operation.
func (*FlushApiCacheResponse) SDKResponseMetdata ¶ added in v0.18.0
func (r *FlushApiCacheResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the FlushApiCache request.
type FunctionConfiguration ¶ added in v0.6.0
type FunctionConfiguration struct { // The name of the DataSource. DataSourceName *string `locationName:"dataSourceName" min:"1" type:"string"` // The Function description. Description *string `locationName:"description" type:"string"` // The ARN of the Function object. FunctionArn *string `locationName:"functionArn" type:"string"` // A unique ID representing the Function object. FunctionId *string `locationName:"functionId" type:"string"` // The version of the request mapping template. Currently only the 2018-05-29 // version of the template is supported. FunctionVersion *string `locationName:"functionVersion" type:"string"` // The name of the Function object. Name *string `locationName:"name" min:"1" type:"string"` // The Function request mapping template. Functions support only the 2018-05-29 // version of the request mapping template. RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string"` // The Function response mapping template. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` // contains filtered or unexported fields }
A function is a reusable entity. Multiple functions can be used to compose the resolver logic.
func (FunctionConfiguration) MarshalFields ¶ added in v0.6.0
func (s FunctionConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (FunctionConfiguration) String ¶ added in v0.6.0
func (s FunctionConfiguration) String() string
String returns the string representation
type GetApiCacheInput ¶ added in v0.18.0
type GetApiCacheInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a GetApiCache operation.
func (GetApiCacheInput) MarshalFields ¶ added in v0.18.0
func (s GetApiCacheInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetApiCacheInput) String ¶ added in v0.18.0
func (s GetApiCacheInput) String() string
String returns the string representation
func (*GetApiCacheInput) Validate ¶ added in v0.18.0
func (s *GetApiCacheInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetApiCacheOutput ¶ added in v0.18.0
type GetApiCacheOutput struct { // The ApiCache object. ApiCache *ApiCache `locationName:"apiCache" type:"structure"` // contains filtered or unexported fields }
Represents the output of a GetApiCache operation.
func (GetApiCacheOutput) MarshalFields ¶ added in v0.18.0
func (s GetApiCacheOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetApiCacheOutput) String ¶ added in v0.18.0
func (s GetApiCacheOutput) String() string
String returns the string representation
type GetApiCacheRequest ¶ added in v0.18.0
type GetApiCacheRequest struct { *aws.Request Input *GetApiCacheInput Copy func(*GetApiCacheInput) GetApiCacheRequest }
GetApiCacheRequest is the request type for the GetApiCache API operation.
func (GetApiCacheRequest) Send ¶ added in v0.18.0
func (r GetApiCacheRequest) Send(ctx context.Context) (*GetApiCacheResponse, error)
Send marshals and sends the GetApiCache API request.
type GetApiCacheResponse ¶ added in v0.18.0
type GetApiCacheResponse struct { *GetApiCacheOutput // contains filtered or unexported fields }
GetApiCacheResponse is the response type for the GetApiCache API operation.
func (*GetApiCacheResponse) SDKResponseMetdata ¶ added in v0.18.0
func (r *GetApiCacheResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetApiCache request.
type GetDataSourceInput ¶
type GetDataSourceInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The name of the data source. // // Name is a required field Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetDataSourceInput) MarshalFields ¶ added in v0.3.0
func (s GetDataSourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetDataSourceInput) String ¶
func (s GetDataSourceInput) String() string
String returns the string representation
func (*GetDataSourceInput) Validate ¶
func (s *GetDataSourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDataSourceOutput ¶
type GetDataSourceOutput struct { // The DataSource object. DataSource *DataSource `locationName:"dataSource" type:"structure"` // contains filtered or unexported fields }
func (GetDataSourceOutput) MarshalFields ¶ added in v0.3.0
func (s GetDataSourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetDataSourceOutput) String ¶
func (s GetDataSourceOutput) String() string
String returns the string representation
type GetDataSourceRequest ¶
type GetDataSourceRequest struct { *aws.Request Input *GetDataSourceInput Copy func(*GetDataSourceInput) GetDataSourceRequest }
GetDataSourceRequest is the request type for the GetDataSource API operation.
func (GetDataSourceRequest) Send ¶
func (r GetDataSourceRequest) Send(ctx context.Context) (*GetDataSourceResponse, error)
Send marshals and sends the GetDataSource API request.
type GetDataSourceResponse ¶ added in v0.9.0
type GetDataSourceResponse struct { *GetDataSourceOutput // contains filtered or unexported fields }
GetDataSourceResponse is the response type for the GetDataSource API operation.
func (*GetDataSourceResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetDataSourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetDataSource request.
type GetFunctionInput ¶ added in v0.6.0
type GetFunctionInput struct { // The GraphQL API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The Function ID. // // FunctionId is a required field FunctionId *string `location:"uri" locationName:"functionId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetFunctionInput) MarshalFields ¶ added in v0.6.0
func (s GetFunctionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetFunctionInput) String ¶ added in v0.6.0
func (s GetFunctionInput) String() string
String returns the string representation
func (*GetFunctionInput) Validate ¶ added in v0.6.0
func (s *GetFunctionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetFunctionOutput ¶ added in v0.6.0
type GetFunctionOutput struct { // The Function object. FunctionConfiguration *FunctionConfiguration `locationName:"functionConfiguration" type:"structure"` // contains filtered or unexported fields }
func (GetFunctionOutput) MarshalFields ¶ added in v0.6.0
func (s GetFunctionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetFunctionOutput) String ¶ added in v0.6.0
func (s GetFunctionOutput) String() string
String returns the string representation
type GetFunctionRequest ¶ added in v0.6.0
type GetFunctionRequest struct { *aws.Request Input *GetFunctionInput Copy func(*GetFunctionInput) GetFunctionRequest }
GetFunctionRequest is the request type for the GetFunction API operation.
func (GetFunctionRequest) Send ¶ added in v0.6.0
func (r GetFunctionRequest) Send(ctx context.Context) (*GetFunctionResponse, error)
Send marshals and sends the GetFunction API request.
type GetFunctionResponse ¶ added in v0.9.0
type GetFunctionResponse struct { *GetFunctionOutput // contains filtered or unexported fields }
GetFunctionResponse is the response type for the GetFunction API operation.
func (*GetFunctionResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetFunctionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetFunction request.
type GetGraphqlApiInput ¶
type GetGraphqlApiInput struct { // The API ID for the GraphQL API. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetGraphqlApiInput) MarshalFields ¶ added in v0.3.0
func (s GetGraphqlApiInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetGraphqlApiInput) String ¶
func (s GetGraphqlApiInput) String() string
String returns the string representation
func (*GetGraphqlApiInput) Validate ¶
func (s *GetGraphqlApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetGraphqlApiOutput ¶
type GetGraphqlApiOutput struct { // The GraphqlApi object. GraphqlApi *GraphqlApi `locationName:"graphqlApi" type:"structure"` // contains filtered or unexported fields }
func (GetGraphqlApiOutput) MarshalFields ¶ added in v0.3.0
func (s GetGraphqlApiOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetGraphqlApiOutput) String ¶
func (s GetGraphqlApiOutput) String() string
String returns the string representation
type GetGraphqlApiRequest ¶
type GetGraphqlApiRequest struct { *aws.Request Input *GetGraphqlApiInput Copy func(*GetGraphqlApiInput) GetGraphqlApiRequest }
GetGraphqlApiRequest is the request type for the GetGraphqlApi API operation.
func (GetGraphqlApiRequest) Send ¶
func (r GetGraphqlApiRequest) Send(ctx context.Context) (*GetGraphqlApiResponse, error)
Send marshals and sends the GetGraphqlApi API request.
type GetGraphqlApiResponse ¶ added in v0.9.0
type GetGraphqlApiResponse struct { *GetGraphqlApiOutput // contains filtered or unexported fields }
GetGraphqlApiResponse is the response type for the GetGraphqlApi API operation.
func (*GetGraphqlApiResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetGraphqlApiResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetGraphqlApi request.
type GetIntrospectionSchemaInput ¶
type GetIntrospectionSchemaInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The schema format: SDL or JSON. // // Format is a required field Format OutputType `location:"querystring" locationName:"format" type:"string" required:"true" enum:"true"` // A flag that specifies whether the schema introspection should contain directives. IncludeDirectives *bool `location:"querystring" locationName:"includeDirectives" type:"boolean"` // contains filtered or unexported fields }
func (GetIntrospectionSchemaInput) MarshalFields ¶ added in v0.3.0
func (s GetIntrospectionSchemaInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetIntrospectionSchemaInput) String ¶
func (s GetIntrospectionSchemaInput) String() string
String returns the string representation
func (*GetIntrospectionSchemaInput) Validate ¶
func (s *GetIntrospectionSchemaInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetIntrospectionSchemaOutput ¶
type GetIntrospectionSchemaOutput struct { // The schema, in GraphQL Schema Definition Language (SDL) format. // // For more information, see the GraphQL SDL documentation (http://graphql.org/learn/schema/). Schema []byte `locationName:"schema" type:"blob"` // contains filtered or unexported fields }
func (GetIntrospectionSchemaOutput) MarshalFields ¶ added in v0.3.0
func (s GetIntrospectionSchemaOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetIntrospectionSchemaOutput) String ¶
func (s GetIntrospectionSchemaOutput) String() string
String returns the string representation
type GetIntrospectionSchemaRequest ¶
type GetIntrospectionSchemaRequest struct { *aws.Request Input *GetIntrospectionSchemaInput Copy func(*GetIntrospectionSchemaInput) GetIntrospectionSchemaRequest }
GetIntrospectionSchemaRequest is the request type for the GetIntrospectionSchema API operation.
func (GetIntrospectionSchemaRequest) Send ¶
func (r GetIntrospectionSchemaRequest) Send(ctx context.Context) (*GetIntrospectionSchemaResponse, error)
Send marshals and sends the GetIntrospectionSchema API request.
type GetIntrospectionSchemaResponse ¶ added in v0.9.0
type GetIntrospectionSchemaResponse struct { *GetIntrospectionSchemaOutput // contains filtered or unexported fields }
GetIntrospectionSchemaResponse is the response type for the GetIntrospectionSchema API operation.
func (*GetIntrospectionSchemaResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetIntrospectionSchemaResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetIntrospectionSchema request.
type GetResolverInput ¶
type GetResolverInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The resolver field name. // // FieldName is a required field FieldName *string `location:"uri" locationName:"fieldName" min:"1" type:"string" required:"true"` // The resolver type name. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetResolverInput) MarshalFields ¶ added in v0.3.0
func (s GetResolverInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetResolverInput) String ¶
func (s GetResolverInput) String() string
String returns the string representation
func (*GetResolverInput) Validate ¶
func (s *GetResolverInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetResolverOutput ¶
type GetResolverOutput struct { // The Resolver object. Resolver *Resolver `locationName:"resolver" type:"structure"` // contains filtered or unexported fields }
func (GetResolverOutput) MarshalFields ¶ added in v0.3.0
func (s GetResolverOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetResolverOutput) String ¶
func (s GetResolverOutput) String() string
String returns the string representation
type GetResolverRequest ¶
type GetResolverRequest struct { *aws.Request Input *GetResolverInput Copy func(*GetResolverInput) GetResolverRequest }
GetResolverRequest is the request type for the GetResolver API operation.
func (GetResolverRequest) Send ¶
func (r GetResolverRequest) Send(ctx context.Context) (*GetResolverResponse, error)
Send marshals and sends the GetResolver API request.
type GetResolverResponse ¶ added in v0.9.0
type GetResolverResponse struct { *GetResolverOutput // contains filtered or unexported fields }
GetResolverResponse is the response type for the GetResolver API operation.
func (*GetResolverResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetResolverResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetResolver request.
type GetSchemaCreationStatusInput ¶
type GetSchemaCreationStatusInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetSchemaCreationStatusInput) MarshalFields ¶ added in v0.3.0
func (s GetSchemaCreationStatusInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetSchemaCreationStatusInput) String ¶
func (s GetSchemaCreationStatusInput) String() string
String returns the string representation
func (*GetSchemaCreationStatusInput) Validate ¶
func (s *GetSchemaCreationStatusInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetSchemaCreationStatusOutput ¶
type GetSchemaCreationStatusOutput struct { // Detailed information about the status of the schema creation operation. Details *string `locationName:"details" type:"string"` // The current state of the schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE). // When the schema is in the ACTIVE state, you can add data. Status SchemaStatus `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
func (GetSchemaCreationStatusOutput) MarshalFields ¶ added in v0.3.0
func (s GetSchemaCreationStatusOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetSchemaCreationStatusOutput) String ¶
func (s GetSchemaCreationStatusOutput) String() string
String returns the string representation
type GetSchemaCreationStatusRequest ¶
type GetSchemaCreationStatusRequest struct { *aws.Request Input *GetSchemaCreationStatusInput Copy func(*GetSchemaCreationStatusInput) GetSchemaCreationStatusRequest }
GetSchemaCreationStatusRequest is the request type for the GetSchemaCreationStatus API operation.
func (GetSchemaCreationStatusRequest) Send ¶
func (r GetSchemaCreationStatusRequest) Send(ctx context.Context) (*GetSchemaCreationStatusResponse, error)
Send marshals and sends the GetSchemaCreationStatus API request.
type GetSchemaCreationStatusResponse ¶ added in v0.9.0
type GetSchemaCreationStatusResponse struct { *GetSchemaCreationStatusOutput // contains filtered or unexported fields }
GetSchemaCreationStatusResponse is the response type for the GetSchemaCreationStatus API operation.
func (*GetSchemaCreationStatusResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetSchemaCreationStatusResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetSchemaCreationStatus request.
type GetTypeInput ¶
type GetTypeInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The type format: SDL or JSON. // // Format is a required field Format TypeDefinitionFormat `location:"querystring" locationName:"format" type:"string" required:"true" enum:"true"` // The type name. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetTypeInput) MarshalFields ¶ added in v0.3.0
func (s GetTypeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetTypeInput) String ¶
func (s GetTypeInput) String() string
String returns the string representation
func (*GetTypeInput) Validate ¶
func (s *GetTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetTypeOutput ¶
type GetTypeOutput struct { // The Type object. Type *Type `locationName:"type" type:"structure"` // contains filtered or unexported fields }
func (GetTypeOutput) MarshalFields ¶ added in v0.3.0
func (s GetTypeOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetTypeOutput) String ¶
func (s GetTypeOutput) String() string
String returns the string representation
type GetTypeRequest ¶
type GetTypeRequest struct { *aws.Request Input *GetTypeInput Copy func(*GetTypeInput) GetTypeRequest }
GetTypeRequest is the request type for the GetType API operation.
func (GetTypeRequest) Send ¶
func (r GetTypeRequest) Send(ctx context.Context) (*GetTypeResponse, error)
Send marshals and sends the GetType API request.
type GetTypeResponse ¶ added in v0.9.0
type GetTypeResponse struct { *GetTypeOutput // contains filtered or unexported fields }
GetTypeResponse is the response type for the GetType API operation.
func (*GetTypeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetTypeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetType request.
type GraphqlApi ¶
type GraphqlApi struct { // A list of additional authentication providers for the GraphqlApi API. AdditionalAuthenticationProviders []AdditionalAuthenticationProvider `locationName:"additionalAuthenticationProviders" type:"list"` // The API ID. ApiId *string `locationName:"apiId" type:"string"` // The ARN. Arn *string `locationName:"arn" type:"string"` // The authentication type. AuthenticationType AuthenticationType `locationName:"authenticationType" type:"string" enum:"true"` // The Amazon CloudWatch Logs configuration. LogConfig *LogConfig `locationName:"logConfig" type:"structure"` // The API name. Name *string `locationName:"name" min:"1" type:"string"` // The OpenID Connect configuration. OpenIDConnectConfig *OpenIDConnectConfig `locationName:"openIDConnectConfig" type:"structure"` // The tags. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // The URIs. Uris map[string]string `locationName:"uris" type:"map"` // The Amazon Cognito user pool configuration. UserPoolConfig *UserPoolConfig `locationName:"userPoolConfig" type:"structure"` // A flag representing whether X-Ray tracing is enabled for this GraphqlApi. XrayEnabled *bool `locationName:"xrayEnabled" type:"boolean"` // contains filtered or unexported fields }
Describes a GraphQL API.
func (GraphqlApi) MarshalFields ¶ added in v0.3.0
func (s GraphqlApi) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GraphqlApi) String ¶
func (s GraphqlApi) String() string
String returns the string representation
type HttpDataSourceConfig ¶ added in v0.5.0
type HttpDataSourceConfig struct { // The authorization config in case the HTTP endpoint requires authorization. AuthorizationConfig *AuthorizationConfig `locationName:"authorizationConfig" type:"structure"` // The HTTP URL endpoint. You can either specify the domain name or IP, and // port combination, and the URL scheme must be HTTP or HTTPS. If the port is // not specified, AWS AppSync uses the default port 80 for the HTTP endpoint // and port 443 for HTTPS endpoints. Endpoint *string `locationName:"endpoint" type:"string"` // contains filtered or unexported fields }
Describes an HTTP data source configuration.
func (HttpDataSourceConfig) MarshalFields ¶ added in v0.5.0
func (s HttpDataSourceConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HttpDataSourceConfig) String ¶ added in v0.5.0
func (s HttpDataSourceConfig) String() string
String returns the string representation
func (*HttpDataSourceConfig) Validate ¶ added in v0.6.0
func (s *HttpDataSourceConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LambdaConflictHandlerConfig ¶ added in v0.18.0
type LambdaConflictHandlerConfig struct { // The Arn for the Lambda function to use as the Conflict Handler. LambdaConflictHandlerArn *string `locationName:"lambdaConflictHandlerArn" type:"string"` // contains filtered or unexported fields }
The LambdaConflictHandlerConfig object when configuring LAMBDA as the Conflict Handler.
func (LambdaConflictHandlerConfig) MarshalFields ¶ added in v0.18.0
func (s LambdaConflictHandlerConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (LambdaConflictHandlerConfig) String ¶ added in v0.18.0
func (s LambdaConflictHandlerConfig) String() string
String returns the string representation
type LambdaDataSourceConfig ¶
type LambdaDataSourceConfig struct { // The ARN for the Lambda function. // // LambdaFunctionArn is a required field LambdaFunctionArn *string `locationName:"lambdaFunctionArn" type:"string" required:"true"` // contains filtered or unexported fields }
Describes an AWS Lambda data source configuration.
func (LambdaDataSourceConfig) MarshalFields ¶ added in v0.3.0
func (s LambdaDataSourceConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (LambdaDataSourceConfig) String ¶
func (s LambdaDataSourceConfig) String() string
String returns the string representation
func (*LambdaDataSourceConfig) Validate ¶
func (s *LambdaDataSourceConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListApiKeysInput ¶
type ListApiKeysInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The maximum number of results you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListApiKeysInput) MarshalFields ¶ added in v0.3.0
func (s ListApiKeysInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListApiKeysInput) String ¶
func (s ListApiKeysInput) String() string
String returns the string representation
func (*ListApiKeysInput) Validate ¶
func (s *ListApiKeysInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListApiKeysOutput ¶
type ListApiKeysOutput struct { // The ApiKey objects. ApiKeys []ApiKey `locationName:"apiKeys" type:"list"` // An identifier to be passed in the next request to this operation to return // the next set of items in the list. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListApiKeysOutput) MarshalFields ¶ added in v0.3.0
func (s ListApiKeysOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListApiKeysOutput) String ¶
func (s ListApiKeysOutput) String() string
String returns the string representation
type ListApiKeysRequest ¶
type ListApiKeysRequest struct { *aws.Request Input *ListApiKeysInput Copy func(*ListApiKeysInput) ListApiKeysRequest }
ListApiKeysRequest is the request type for the ListApiKeys API operation.
func (ListApiKeysRequest) Send ¶
func (r ListApiKeysRequest) Send(ctx context.Context) (*ListApiKeysResponse, error)
Send marshals and sends the ListApiKeys API request.
type ListApiKeysResponse ¶ added in v0.9.0
type ListApiKeysResponse struct { *ListApiKeysOutput // contains filtered or unexported fields }
ListApiKeysResponse is the response type for the ListApiKeys API operation.
func (*ListApiKeysResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListApiKeysResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListApiKeys request.
type ListDataSourcesInput ¶
type ListDataSourcesInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The maximum number of results you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListDataSourcesInput) MarshalFields ¶ added in v0.3.0
func (s ListDataSourcesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListDataSourcesInput) String ¶
func (s ListDataSourcesInput) String() string
String returns the string representation
func (*ListDataSourcesInput) Validate ¶
func (s *ListDataSourcesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListDataSourcesOutput ¶
type ListDataSourcesOutput struct { // The DataSource objects. DataSources []DataSource `locationName:"dataSources" type:"list"` // An identifier to be passed in the next request to this operation to return // the next set of items in the list. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListDataSourcesOutput) MarshalFields ¶ added in v0.3.0
func (s ListDataSourcesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListDataSourcesOutput) String ¶
func (s ListDataSourcesOutput) String() string
String returns the string representation
type ListDataSourcesRequest ¶
type ListDataSourcesRequest struct { *aws.Request Input *ListDataSourcesInput Copy func(*ListDataSourcesInput) ListDataSourcesRequest }
ListDataSourcesRequest is the request type for the ListDataSources API operation.
func (ListDataSourcesRequest) Send ¶
func (r ListDataSourcesRequest) Send(ctx context.Context) (*ListDataSourcesResponse, error)
Send marshals and sends the ListDataSources API request.
type ListDataSourcesResponse ¶ added in v0.9.0
type ListDataSourcesResponse struct { *ListDataSourcesOutput // contains filtered or unexported fields }
ListDataSourcesResponse is the response type for the ListDataSources API operation.
func (*ListDataSourcesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListDataSourcesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListDataSources request.
type ListFunctionsInput ¶ added in v0.6.0
type ListFunctionsInput struct { // The GraphQL API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The maximum number of results you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListFunctionsInput) MarshalFields ¶ added in v0.6.0
func (s ListFunctionsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListFunctionsInput) String ¶ added in v0.6.0
func (s ListFunctionsInput) String() string
String returns the string representation
func (*ListFunctionsInput) Validate ¶ added in v0.6.0
func (s *ListFunctionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListFunctionsOutput ¶ added in v0.6.0
type ListFunctionsOutput struct { // A list of Function objects. Functions []FunctionConfiguration `locationName:"functions" type:"list"` // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListFunctionsOutput) MarshalFields ¶ added in v0.6.0
func (s ListFunctionsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListFunctionsOutput) String ¶ added in v0.6.0
func (s ListFunctionsOutput) String() string
String returns the string representation
type ListFunctionsRequest ¶ added in v0.6.0
type ListFunctionsRequest struct { *aws.Request Input *ListFunctionsInput Copy func(*ListFunctionsInput) ListFunctionsRequest }
ListFunctionsRequest is the request type for the ListFunctions API operation.
func (ListFunctionsRequest) Send ¶ added in v0.6.0
func (r ListFunctionsRequest) Send(ctx context.Context) (*ListFunctionsResponse, error)
Send marshals and sends the ListFunctions API request.
type ListFunctionsResponse ¶ added in v0.9.0
type ListFunctionsResponse struct { *ListFunctionsOutput // contains filtered or unexported fields }
ListFunctionsResponse is the response type for the ListFunctions API operation.
func (*ListFunctionsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListFunctionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListFunctions request.
type ListGraphqlApisInput ¶
type ListGraphqlApisInput struct { // The maximum number of results you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListGraphqlApisInput) MarshalFields ¶ added in v0.3.0
func (s ListGraphqlApisInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListGraphqlApisInput) String ¶
func (s ListGraphqlApisInput) String() string
String returns the string representation
func (*ListGraphqlApisInput) Validate ¶ added in v0.18.0
func (s *ListGraphqlApisInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListGraphqlApisOutput ¶
type ListGraphqlApisOutput struct { // The GraphqlApi objects. GraphqlApis []GraphqlApi `locationName:"graphqlApis" type:"list"` // An identifier to be passed in the next request to this operation to return // the next set of items in the list. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListGraphqlApisOutput) MarshalFields ¶ added in v0.3.0
func (s ListGraphqlApisOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListGraphqlApisOutput) String ¶
func (s ListGraphqlApisOutput) String() string
String returns the string representation
type ListGraphqlApisRequest ¶
type ListGraphqlApisRequest struct { *aws.Request Input *ListGraphqlApisInput Copy func(*ListGraphqlApisInput) ListGraphqlApisRequest }
ListGraphqlApisRequest is the request type for the ListGraphqlApis API operation.
func (ListGraphqlApisRequest) Send ¶
func (r ListGraphqlApisRequest) Send(ctx context.Context) (*ListGraphqlApisResponse, error)
Send marshals and sends the ListGraphqlApis API request.
type ListGraphqlApisResponse ¶ added in v0.9.0
type ListGraphqlApisResponse struct { *ListGraphqlApisOutput // contains filtered or unexported fields }
ListGraphqlApisResponse is the response type for the ListGraphqlApis API operation.
func (*ListGraphqlApisResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListGraphqlApisResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListGraphqlApis request.
type ListResolversByFunctionInput ¶ added in v0.6.0
type ListResolversByFunctionInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The Function ID. // // FunctionId is a required field FunctionId *string `location:"uri" locationName:"functionId" type:"string" required:"true"` // The maximum number of results you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which you can use to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListResolversByFunctionInput) MarshalFields ¶ added in v0.6.0
func (s ListResolversByFunctionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListResolversByFunctionInput) String ¶ added in v0.6.0
func (s ListResolversByFunctionInput) String() string
String returns the string representation
func (*ListResolversByFunctionInput) Validate ¶ added in v0.6.0
func (s *ListResolversByFunctionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListResolversByFunctionOutput ¶ added in v0.6.0
type ListResolversByFunctionOutput struct { // An identifier that can be used to return the next set of items in the list. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The list of resolvers. Resolvers []Resolver `locationName:"resolvers" type:"list"` // contains filtered or unexported fields }
func (ListResolversByFunctionOutput) MarshalFields ¶ added in v0.6.0
func (s ListResolversByFunctionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListResolversByFunctionOutput) String ¶ added in v0.6.0
func (s ListResolversByFunctionOutput) String() string
String returns the string representation
type ListResolversByFunctionRequest ¶ added in v0.6.0
type ListResolversByFunctionRequest struct { *aws.Request Input *ListResolversByFunctionInput Copy func(*ListResolversByFunctionInput) ListResolversByFunctionRequest }
ListResolversByFunctionRequest is the request type for the ListResolversByFunction API operation.
func (ListResolversByFunctionRequest) Send ¶ added in v0.6.0
func (r ListResolversByFunctionRequest) Send(ctx context.Context) (*ListResolversByFunctionResponse, error)
Send marshals and sends the ListResolversByFunction API request.
type ListResolversByFunctionResponse ¶ added in v0.9.0
type ListResolversByFunctionResponse struct { *ListResolversByFunctionOutput // contains filtered or unexported fields }
ListResolversByFunctionResponse is the response type for the ListResolversByFunction API operation.
func (*ListResolversByFunctionResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListResolversByFunctionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListResolversByFunction request.
type ListResolversInput ¶
type ListResolversInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The maximum number of results you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // The type name. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListResolversInput) MarshalFields ¶ added in v0.3.0
func (s ListResolversInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListResolversInput) String ¶
func (s ListResolversInput) String() string
String returns the string representation
func (*ListResolversInput) Validate ¶
func (s *ListResolversInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListResolversOutput ¶
type ListResolversOutput struct { // An identifier to be passed in the next request to this operation to return // the next set of items in the list. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The Resolver objects. Resolvers []Resolver `locationName:"resolvers" type:"list"` // contains filtered or unexported fields }
func (ListResolversOutput) MarshalFields ¶ added in v0.3.0
func (s ListResolversOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListResolversOutput) String ¶
func (s ListResolversOutput) String() string
String returns the string representation
type ListResolversRequest ¶
type ListResolversRequest struct { *aws.Request Input *ListResolversInput Copy func(*ListResolversInput) ListResolversRequest }
ListResolversRequest is the request type for the ListResolvers API operation.
func (ListResolversRequest) Send ¶
func (r ListResolversRequest) Send(ctx context.Context) (*ListResolversResponse, error)
Send marshals and sends the ListResolvers API request.
type ListResolversResponse ¶ added in v0.9.0
type ListResolversResponse struct { *ListResolversOutput // contains filtered or unexported fields }
ListResolversResponse is the response type for the ListResolvers API operation.
func (*ListResolversResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListResolversResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListResolvers request.
type ListTagsForResourceInput ¶ added in v0.9.0
type ListTagsForResourceInput struct { // The GraphqlApi ARN. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" min:"70" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListTagsForResourceInput) MarshalFields ¶ added in v0.9.0
func (s ListTagsForResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTagsForResourceInput) String ¶ added in v0.9.0
func (s ListTagsForResourceInput) String() string
String returns the string representation
func (*ListTagsForResourceInput) Validate ¶ added in v0.9.0
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶ added in v0.9.0
type ListTagsForResourceOutput struct { // A TagMap object. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
func (ListTagsForResourceOutput) MarshalFields ¶ added in v0.9.0
func (s ListTagsForResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTagsForResourceOutput) String ¶ added in v0.9.0
func (s ListTagsForResourceOutput) String() string
String returns the string representation
type ListTagsForResourceRequest ¶ added in v0.9.0
type ListTagsForResourceRequest struct { *aws.Request Input *ListTagsForResourceInput Copy func(*ListTagsForResourceInput) ListTagsForResourceRequest }
ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.
func (ListTagsForResourceRequest) Send ¶ added in v0.9.0
func (r ListTagsForResourceRequest) Send(ctx context.Context) (*ListTagsForResourceResponse, error)
Send marshals and sends the ListTagsForResource API request.
type ListTagsForResourceResponse ¶ added in v0.9.0
type ListTagsForResourceResponse struct { *ListTagsForResourceOutput // contains filtered or unexported fields }
ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.
func (*ListTagsForResourceResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListTagsForResource request.
type ListTypesInput ¶
type ListTypesInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The type format: SDL or JSON. // // Format is a required field Format TypeDefinitionFormat `location:"querystring" locationName:"format" type:"string" required:"true" enum:"true"` // The maximum number of results you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListTypesInput) MarshalFields ¶ added in v0.3.0
func (s ListTypesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTypesInput) String ¶
func (s ListTypesInput) String() string
String returns the string representation
func (*ListTypesInput) Validate ¶
func (s *ListTypesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTypesOutput ¶
type ListTypesOutput struct { // An identifier to be passed in the next request to this operation to return // the next set of items in the list. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The Type objects. Types []Type `locationName:"types" type:"list"` // contains filtered or unexported fields }
func (ListTypesOutput) MarshalFields ¶ added in v0.3.0
func (s ListTypesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTypesOutput) String ¶
func (s ListTypesOutput) String() string
String returns the string representation
type ListTypesRequest ¶
type ListTypesRequest struct { *aws.Request Input *ListTypesInput Copy func(*ListTypesInput) ListTypesRequest }
ListTypesRequest is the request type for the ListTypes API operation.
func (ListTypesRequest) Send ¶
func (r ListTypesRequest) Send(ctx context.Context) (*ListTypesResponse, error)
Send marshals and sends the ListTypes API request.
type ListTypesResponse ¶ added in v0.9.0
type ListTypesResponse struct { *ListTypesOutput // contains filtered or unexported fields }
ListTypesResponse is the response type for the ListTypes API operation.
func (*ListTypesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListTypesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListTypes request.
type LogConfig ¶ added in v0.4.0
type LogConfig struct { // The service role that AWS AppSync will assume to publish to Amazon CloudWatch // logs in your account. // // CloudWatchLogsRoleArn is a required field CloudWatchLogsRoleArn *string `locationName:"cloudWatchLogsRoleArn" type:"string" required:"true"` // Set to TRUE to exclude sections that contain information such as headers, // context, and evaluated mapping templates, regardless of logging level. ExcludeVerboseContent *bool `locationName:"excludeVerboseContent" type:"boolean"` // The field logging level. Values can be NONE, ERROR, or ALL. // // * NONE: No field-level logs are captured. // // * ERROR: Logs the following information only for the fields that are in // error: The error section in the server response. Field-level errors. The // generated request/response functions that got resolved for error fields. // // * ALL: The following information is logged for all fields in the query: // Field-level tracing information. The generated request/response functions // that got resolved for each field. // // FieldLogLevel is a required field FieldLogLevel FieldLogLevel `locationName:"fieldLogLevel" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
The CloudWatch Logs configuration.
func (LogConfig) MarshalFields ¶ added in v0.4.0
func (s LogConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type OpenIDConnectConfig ¶ added in v0.4.0
type OpenIDConnectConfig struct { // The number of milliseconds a token is valid after being authenticated. AuthTTL *int64 `locationName:"authTTL" type:"long"` // The client identifier of the Relying party at the OpenID identity provider. // This identifier is typically obtained when the Relying party is registered // with the OpenID identity provider. You can specify a regular expression so // the AWS AppSync can validate against multiple client identifiers at a time. ClientId *string `locationName:"clientId" type:"string"` // The number of milliseconds a token is valid after being issued to a user. IatTTL *int64 `locationName:"iatTTL" type:"long"` // The issuer for the OpenID Connect configuration. The issuer returned by discovery // must exactly match the value of iss in the ID token. // // Issuer is a required field Issuer *string `locationName:"issuer" type:"string" required:"true"` // contains filtered or unexported fields }
Describes an OpenID Connect configuration.
func (OpenIDConnectConfig) MarshalFields ¶ added in v0.4.0
func (s OpenIDConnectConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (OpenIDConnectConfig) String ¶ added in v0.4.0
func (s OpenIDConnectConfig) String() string
String returns the string representation
func (*OpenIDConnectConfig) Validate ¶ added in v0.4.0
func (s *OpenIDConnectConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type OutputType ¶
type OutputType string
const ( OutputTypeSdl OutputType = "SDL" OutputTypeJson OutputType = "JSON" )
Enum values for OutputType
func (OutputType) MarshalValue ¶ added in v0.3.0
func (enum OutputType) MarshalValue() (string, error)
func (OutputType) MarshalValueBuf ¶ added in v0.3.0
func (enum OutputType) MarshalValueBuf(b []byte) ([]byte, error)
type PipelineConfig ¶ added in v0.6.0
type PipelineConfig struct { // A list of Function objects. Functions []string `locationName:"functions" type:"list"` // contains filtered or unexported fields }
The pipeline configuration for a resolver of kind PIPELINE.
func (PipelineConfig) MarshalFields ¶ added in v0.6.0
func (s PipelineConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PipelineConfig) String ¶ added in v0.6.0
func (s PipelineConfig) String() string
String returns the string representation
type RdsHttpEndpointConfig ¶ added in v0.6.0
type RdsHttpEndpointConfig struct { // AWS Region for RDS HTTP endpoint. AwsRegion *string `locationName:"awsRegion" type:"string"` // AWS secret store ARN for database credentials. AwsSecretStoreArn *string `locationName:"awsSecretStoreArn" type:"string"` // Logical database name. DatabaseName *string `locationName:"databaseName" type:"string"` // Amazon RDS cluster identifier. DbClusterIdentifier *string `locationName:"dbClusterIdentifier" type:"string"` // Logical schema name. Schema *string `locationName:"schema" type:"string"` // contains filtered or unexported fields }
The Amazon RDS HTTP endpoint configuration.
func (RdsHttpEndpointConfig) MarshalFields ¶ added in v0.6.0
func (s RdsHttpEndpointConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RdsHttpEndpointConfig) String ¶ added in v0.6.0
func (s RdsHttpEndpointConfig) String() string
String returns the string representation
type RelationalDatabaseDataSourceConfig ¶ added in v0.6.0
type RelationalDatabaseDataSourceConfig struct { // Amazon RDS HTTP endpoint settings. RdsHttpEndpointConfig *RdsHttpEndpointConfig `locationName:"rdsHttpEndpointConfig" type:"structure"` // Source type for the relational database. // // * RDS_HTTP_ENDPOINT: The relational database source type is an Amazon // RDS HTTP endpoint. RelationalDatabaseSourceType RelationalDatabaseSourceType `locationName:"relationalDatabaseSourceType" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a relational database data source configuration.
func (RelationalDatabaseDataSourceConfig) MarshalFields ¶ added in v0.6.0
func (s RelationalDatabaseDataSourceConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RelationalDatabaseDataSourceConfig) String ¶ added in v0.6.0
func (s RelationalDatabaseDataSourceConfig) String() string
String returns the string representation
type RelationalDatabaseSourceType ¶ added in v0.6.0
type RelationalDatabaseSourceType string
const (
RelationalDatabaseSourceTypeRdsHttpEndpoint RelationalDatabaseSourceType = "RDS_HTTP_ENDPOINT"
)
Enum values for RelationalDatabaseSourceType
func (RelationalDatabaseSourceType) MarshalValue ¶ added in v0.6.0
func (enum RelationalDatabaseSourceType) MarshalValue() (string, error)
func (RelationalDatabaseSourceType) MarshalValueBuf ¶ added in v0.6.0
func (enum RelationalDatabaseSourceType) MarshalValueBuf(b []byte) ([]byte, error)
type Resolver ¶
type Resolver struct { // The caching configuration for the resolver. CachingConfig *CachingConfig `locationName:"cachingConfig" type:"structure"` // The resolver data source name. DataSourceName *string `locationName:"dataSourceName" min:"1" type:"string"` // The resolver field name. FieldName *string `locationName:"fieldName" min:"1" type:"string"` // The resolver type. // // * UNIT: A UNIT resolver type. A UNIT resolver is the default resolver // type. A UNIT resolver enables you to execute a GraphQL query against a // single data source. // // * PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you // to execute a series of Function in a serial manner. You can use a pipeline // resolver to execute a GraphQL query against multiple data sources. Kind ResolverKind `locationName:"kind" type:"string" enum:"true"` // The PipelineConfig. PipelineConfig *PipelineConfig `locationName:"pipelineConfig" type:"structure"` // The request mapping template. RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string"` // The resolver ARN. ResolverArn *string `locationName:"resolverArn" type:"string"` // The response mapping template. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` // The SyncConfig for a resolver attached to a versioned datasource. SyncConfig *SyncConfig `locationName:"syncConfig" type:"structure"` // The resolver type name. TypeName *string `locationName:"typeName" min:"1" type:"string"` // contains filtered or unexported fields }
Describes a resolver.
func (Resolver) MarshalFields ¶ added in v0.3.0
func (s Resolver) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type ResolverKind ¶ added in v0.6.0
type ResolverKind string
const ( ResolverKindUnit ResolverKind = "UNIT" ResolverKindPipeline ResolverKind = "PIPELINE" )
Enum values for ResolverKind
func (ResolverKind) MarshalValue ¶ added in v0.6.0
func (enum ResolverKind) MarshalValue() (string, error)
func (ResolverKind) MarshalValueBuf ¶ added in v0.6.0
func (enum ResolverKind) MarshalValueBuf(b []byte) ([]byte, error)
type SchemaStatus ¶
type SchemaStatus string
const ( SchemaStatusProcessing SchemaStatus = "PROCESSING" SchemaStatusActive SchemaStatus = "ACTIVE" SchemaStatusDeleting SchemaStatus = "DELETING" SchemaStatusFailed SchemaStatus = "FAILED" SchemaStatusSuccess SchemaStatus = "SUCCESS" SchemaStatusNotApplicable SchemaStatus = "NOT_APPLICABLE" )
Enum values for SchemaStatus
func (SchemaStatus) MarshalValue ¶ added in v0.3.0
func (enum SchemaStatus) MarshalValue() (string, error)
func (SchemaStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum SchemaStatus) MarshalValueBuf(b []byte) ([]byte, error)
type StartSchemaCreationInput ¶
type StartSchemaCreationInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The schema definition, in GraphQL schema language format. // // Definition is automatically base64 encoded/decoded by the SDK. // // Definition is a required field Definition []byte `locationName:"definition" type:"blob" required:"true"` // contains filtered or unexported fields }
func (StartSchemaCreationInput) MarshalFields ¶ added in v0.3.0
func (s StartSchemaCreationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StartSchemaCreationInput) String ¶
func (s StartSchemaCreationInput) String() string
String returns the string representation
func (*StartSchemaCreationInput) Validate ¶
func (s *StartSchemaCreationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartSchemaCreationOutput ¶
type StartSchemaCreationOutput struct { // The current state of the schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE). // When the schema is in the ACTIVE state, you can add data. Status SchemaStatus `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
func (StartSchemaCreationOutput) MarshalFields ¶ added in v0.3.0
func (s StartSchemaCreationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StartSchemaCreationOutput) String ¶
func (s StartSchemaCreationOutput) String() string
String returns the string representation
type StartSchemaCreationRequest ¶
type StartSchemaCreationRequest struct { *aws.Request Input *StartSchemaCreationInput Copy func(*StartSchemaCreationInput) StartSchemaCreationRequest }
StartSchemaCreationRequest is the request type for the StartSchemaCreation API operation.
func (StartSchemaCreationRequest) Send ¶
func (r StartSchemaCreationRequest) Send(ctx context.Context) (*StartSchemaCreationResponse, error)
Send marshals and sends the StartSchemaCreation API request.
type StartSchemaCreationResponse ¶ added in v0.9.0
type StartSchemaCreationResponse struct { *StartSchemaCreationOutput // contains filtered or unexported fields }
StartSchemaCreationResponse is the response type for the StartSchemaCreation API operation.
func (*StartSchemaCreationResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *StartSchemaCreationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StartSchemaCreation request.
type SyncConfig ¶ added in v0.18.0
type SyncConfig struct { // The Conflict Detection strategy to use. // // * VERSION: Detect conflicts based on object versions for this resolver. // // * NONE: Do not detect conflicts when executing this resolver. ConflictDetection ConflictDetectionType `locationName:"conflictDetection" type:"string" enum:"true"` // The Conflict Resolution strategy to perform in the event of a conflict. // // * OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when // versions do not match the latest version at the server. // // * AUTOMERGE: Resolve conflicts with the Automerge conflict resolution // strategy. // // * LAMBDA: Resolve conflicts with a Lambda function supplied in the LambdaConflictHandlerConfig. ConflictHandler ConflictHandlerType `locationName:"conflictHandler" type:"string" enum:"true"` // The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler. LambdaConflictHandlerConfig *LambdaConflictHandlerConfig `locationName:"lambdaConflictHandlerConfig" type:"structure"` // contains filtered or unexported fields }
Describes a Sync configuration for a resolver.
Contains information on which Conflict Detection as well as Resolution strategy should be performed when the resolver is invoked.
func (SyncConfig) MarshalFields ¶ added in v0.18.0
func (s SyncConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SyncConfig) String ¶ added in v0.18.0
func (s SyncConfig) String() string
String returns the string representation
type TagResourceInput ¶ added in v0.9.0
type TagResourceInput struct { // The GraphqlApi ARN. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" min:"70" type:"string" required:"true"` // A TagMap object. // // Tags is a required field Tags map[string]string `locationName:"tags" min:"1" type:"map" required:"true"` // contains filtered or unexported fields }
func (TagResourceInput) MarshalFields ¶ added in v0.9.0
func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceInput) String ¶ added in v0.9.0
func (s TagResourceInput) String() string
String returns the string representation
func (*TagResourceInput) Validate ¶ added in v0.9.0
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶ added in v0.9.0
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) MarshalFields ¶ added in v0.9.0
func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceOutput) String ¶ added in v0.9.0
func (s TagResourceOutput) String() string
String returns the string representation
type TagResourceRequest ¶ added in v0.9.0
type TagResourceRequest struct { *aws.Request Input *TagResourceInput Copy func(*TagResourceInput) TagResourceRequest }
TagResourceRequest is the request type for the TagResource API operation.
func (TagResourceRequest) Send ¶ added in v0.9.0
func (r TagResourceRequest) Send(ctx context.Context) (*TagResourceResponse, error)
Send marshals and sends the TagResource API request.
type TagResourceResponse ¶ added in v0.9.0
type TagResourceResponse struct { *TagResourceOutput // contains filtered or unexported fields }
TagResourceResponse is the response type for the TagResource API operation.
func (*TagResourceResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the TagResource request.
type Type ¶
type Type struct { // The type ARN. Arn *string `locationName:"arn" type:"string"` // The type definition. Definition *string `locationName:"definition" type:"string"` // The type description. Description *string `locationName:"description" type:"string"` // The type format: SDL or JSON. Format TypeDefinitionFormat `locationName:"format" type:"string" enum:"true"` // The type name. Name *string `locationName:"name" min:"1" type:"string"` // contains filtered or unexported fields }
Describes a type.
func (Type) MarshalFields ¶ added in v0.3.0
func (s Type) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type TypeDefinitionFormat ¶
type TypeDefinitionFormat string
const ( TypeDefinitionFormatSdl TypeDefinitionFormat = "SDL" TypeDefinitionFormatJson TypeDefinitionFormat = "JSON" )
Enum values for TypeDefinitionFormat
func (TypeDefinitionFormat) MarshalValue ¶ added in v0.3.0
func (enum TypeDefinitionFormat) MarshalValue() (string, error)
func (TypeDefinitionFormat) MarshalValueBuf ¶ added in v0.3.0
func (enum TypeDefinitionFormat) MarshalValueBuf(b []byte) ([]byte, error)
type UntagResourceInput ¶ added in v0.9.0
type UntagResourceInput struct { // The GraphqlApi ARN. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" min:"70" type:"string" required:"true"` // A list of TagKey objects. // // TagKeys is a required field TagKeys []string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) MarshalFields ¶ added in v0.9.0
func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceInput) String ¶ added in v0.9.0
func (s UntagResourceInput) String() string
String returns the string representation
func (*UntagResourceInput) Validate ¶ added in v0.9.0
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶ added in v0.9.0
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) MarshalFields ¶ added in v0.9.0
func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceOutput) String ¶ added in v0.9.0
func (s UntagResourceOutput) String() string
String returns the string representation
type UntagResourceRequest ¶ added in v0.9.0
type UntagResourceRequest struct { *aws.Request Input *UntagResourceInput Copy func(*UntagResourceInput) UntagResourceRequest }
UntagResourceRequest is the request type for the UntagResource API operation.
func (UntagResourceRequest) Send ¶ added in v0.9.0
func (r UntagResourceRequest) Send(ctx context.Context) (*UntagResourceResponse, error)
Send marshals and sends the UntagResource API request.
type UntagResourceResponse ¶ added in v0.9.0
type UntagResourceResponse struct { *UntagResourceOutput // contains filtered or unexported fields }
UntagResourceResponse is the response type for the UntagResource API operation.
func (*UntagResourceResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UntagResource request.
type UpdateApiCacheInput ¶ added in v0.18.0
type UpdateApiCacheInput struct { // Caching behavior. // // * FULL_REQUEST_CACHING: All requests are fully cached. // // * PER_RESOLVER_CACHING: Individual resovlers that you specify are cached. // // ApiCachingBehavior is a required field ApiCachingBehavior ApiCachingBehavior `locationName:"apiCachingBehavior" type:"string" required:"true" enum:"true"` // The GraphQL API Id. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // TTL in seconds for cache entries. // // Valid values are between 1 and 3600 seconds. // // Ttl is a required field Ttl *int64 `locationName:"ttl" type:"long" required:"true"` // The cache instance type. // // * T2_SMALL: A t2.small instance type. // // * T2_MEDIUM: A t2.medium instance type. // // * R4_LARGE: A r4.large instance type. // // * R4_XLARGE: A r4.xlarge instance type. // // * R4_2XLARGE: A r4.2xlarge instance type. // // * R4_4XLARGE: A r4.4xlarge instance type. // // * R4_8XLARGE: A r4.8xlarge instance type. // // Type is a required field Type ApiCacheType `locationName:"type" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Represents the input of a UpdateApiCache operation.
func (UpdateApiCacheInput) MarshalFields ¶ added in v0.18.0
func (s UpdateApiCacheInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateApiCacheInput) String ¶ added in v0.18.0
func (s UpdateApiCacheInput) String() string
String returns the string representation
func (*UpdateApiCacheInput) Validate ¶ added in v0.18.0
func (s *UpdateApiCacheInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateApiCacheOutput ¶ added in v0.18.0
type UpdateApiCacheOutput struct { // The ApiCache object. ApiCache *ApiCache `locationName:"apiCache" type:"structure"` // contains filtered or unexported fields }
Represents the output of a UpdateApiCache operation.
func (UpdateApiCacheOutput) MarshalFields ¶ added in v0.18.0
func (s UpdateApiCacheOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateApiCacheOutput) String ¶ added in v0.18.0
func (s UpdateApiCacheOutput) String() string
String returns the string representation
type UpdateApiCacheRequest ¶ added in v0.18.0
type UpdateApiCacheRequest struct { *aws.Request Input *UpdateApiCacheInput Copy func(*UpdateApiCacheInput) UpdateApiCacheRequest }
UpdateApiCacheRequest is the request type for the UpdateApiCache API operation.
func (UpdateApiCacheRequest) Send ¶ added in v0.18.0
func (r UpdateApiCacheRequest) Send(ctx context.Context) (*UpdateApiCacheResponse, error)
Send marshals and sends the UpdateApiCache API request.
type UpdateApiCacheResponse ¶ added in v0.18.0
type UpdateApiCacheResponse struct { *UpdateApiCacheOutput // contains filtered or unexported fields }
UpdateApiCacheResponse is the response type for the UpdateApiCache API operation.
func (*UpdateApiCacheResponse) SDKResponseMetdata ¶ added in v0.18.0
func (r *UpdateApiCacheResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateApiCache request.
type UpdateApiKeyInput ¶ added in v0.3.0
type UpdateApiKeyInput struct { // The ID for the GraphQL API. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // A description of the purpose of the API key. Description *string `locationName:"description" type:"string"` // The time from update time after which the API key expires. The date is represented // as seconds since the epoch. For more information, see . Expires *int64 `locationName:"expires" type:"long"` // The API key ID. // // Id is a required field Id *string `location:"uri" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateApiKeyInput) MarshalFields ¶ added in v0.3.0
func (s UpdateApiKeyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateApiKeyInput) String ¶ added in v0.3.0
func (s UpdateApiKeyInput) String() string
String returns the string representation
func (*UpdateApiKeyInput) Validate ¶ added in v0.3.0
func (s *UpdateApiKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateApiKeyOutput ¶ added in v0.3.0
type UpdateApiKeyOutput struct { // The API key. ApiKey *ApiKey `locationName:"apiKey" type:"structure"` // contains filtered or unexported fields }
func (UpdateApiKeyOutput) MarshalFields ¶ added in v0.3.0
func (s UpdateApiKeyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateApiKeyOutput) String ¶ added in v0.3.0
func (s UpdateApiKeyOutput) String() string
String returns the string representation
type UpdateApiKeyRequest ¶ added in v0.3.0
type UpdateApiKeyRequest struct { *aws.Request Input *UpdateApiKeyInput Copy func(*UpdateApiKeyInput) UpdateApiKeyRequest }
UpdateApiKeyRequest is the request type for the UpdateApiKey API operation.
func (UpdateApiKeyRequest) Send ¶ added in v0.3.0
func (r UpdateApiKeyRequest) Send(ctx context.Context) (*UpdateApiKeyResponse, error)
Send marshals and sends the UpdateApiKey API request.
type UpdateApiKeyResponse ¶ added in v0.9.0
type UpdateApiKeyResponse struct { *UpdateApiKeyOutput // contains filtered or unexported fields }
UpdateApiKeyResponse is the response type for the UpdateApiKey API operation.
func (*UpdateApiKeyResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *UpdateApiKeyResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateApiKey request.
type UpdateDataSourceInput ¶
type UpdateDataSourceInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The new description for the data source. Description *string `locationName:"description" type:"string"` // The new Amazon DynamoDB configuration. DynamodbConfig *DynamodbDataSourceConfig `locationName:"dynamodbConfig" type:"structure"` // The new Elasticsearch Service configuration. ElasticsearchConfig *ElasticsearchDataSourceConfig `locationName:"elasticsearchConfig" type:"structure"` // The new HTTP endpoint configuration. HttpConfig *HttpDataSourceConfig `locationName:"httpConfig" type:"structure"` // The new AWS Lambda configuration. LambdaConfig *LambdaDataSourceConfig `locationName:"lambdaConfig" type:"structure"` // The new name for the data source. // // Name is a required field Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` // The new relational database configuration. RelationalDatabaseConfig *RelationalDatabaseDataSourceConfig `locationName:"relationalDatabaseConfig" type:"structure"` // The new service role ARN for the data source. ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"` // The new data source type. // // Type is a required field Type DataSourceType `locationName:"type" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
func (UpdateDataSourceInput) MarshalFields ¶ added in v0.3.0
func (s UpdateDataSourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateDataSourceInput) String ¶
func (s UpdateDataSourceInput) String() string
String returns the string representation
func (*UpdateDataSourceInput) Validate ¶
func (s *UpdateDataSourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateDataSourceOutput ¶
type UpdateDataSourceOutput struct { // The updated DataSource object. DataSource *DataSource `locationName:"dataSource" type:"structure"` // contains filtered or unexported fields }
func (UpdateDataSourceOutput) MarshalFields ¶ added in v0.3.0
func (s UpdateDataSourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateDataSourceOutput) String ¶
func (s UpdateDataSourceOutput) String() string
String returns the string representation
type UpdateDataSourceRequest ¶
type UpdateDataSourceRequest struct { *aws.Request Input *UpdateDataSourceInput Copy func(*UpdateDataSourceInput) UpdateDataSourceRequest }
UpdateDataSourceRequest is the request type for the UpdateDataSource API operation.
func (UpdateDataSourceRequest) Send ¶
func (r UpdateDataSourceRequest) Send(ctx context.Context) (*UpdateDataSourceResponse, error)
Send marshals and sends the UpdateDataSource API request.
type UpdateDataSourceResponse ¶ added in v0.9.0
type UpdateDataSourceResponse struct { *UpdateDataSourceOutput // contains filtered or unexported fields }
UpdateDataSourceResponse is the response type for the UpdateDataSource API operation.
func (*UpdateDataSourceResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *UpdateDataSourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateDataSource request.
type UpdateFunctionInput ¶ added in v0.6.0
type UpdateFunctionInput struct { // The GraphQL API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The Function DataSource name. // // DataSourceName is a required field DataSourceName *string `locationName:"dataSourceName" min:"1" type:"string" required:"true"` // The Function description. Description *string `locationName:"description" type:"string"` // The function ID. // // FunctionId is a required field FunctionId *string `location:"uri" locationName:"functionId" min:"1" type:"string" required:"true"` // The version of the request mapping template. Currently the supported value // is 2018-05-29. // // FunctionVersion is a required field FunctionVersion *string `locationName:"functionVersion" type:"string" required:"true"` // The Function name. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The Function request mapping template. Functions support only the 2018-05-29 // version of the request mapping template. // // RequestMappingTemplate is a required field RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string" required:"true"` // The Function request mapping template. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` // contains filtered or unexported fields }
func (UpdateFunctionInput) MarshalFields ¶ added in v0.6.0
func (s UpdateFunctionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateFunctionInput) String ¶ added in v0.6.0
func (s UpdateFunctionInput) String() string
String returns the string representation
func (*UpdateFunctionInput) Validate ¶ added in v0.6.0
func (s *UpdateFunctionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateFunctionOutput ¶ added in v0.6.0
type UpdateFunctionOutput struct { // The Function object. FunctionConfiguration *FunctionConfiguration `locationName:"functionConfiguration" type:"structure"` // contains filtered or unexported fields }
func (UpdateFunctionOutput) MarshalFields ¶ added in v0.6.0
func (s UpdateFunctionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateFunctionOutput) String ¶ added in v0.6.0
func (s UpdateFunctionOutput) String() string
String returns the string representation
type UpdateFunctionRequest ¶ added in v0.6.0
type UpdateFunctionRequest struct { *aws.Request Input *UpdateFunctionInput Copy func(*UpdateFunctionInput) UpdateFunctionRequest }
UpdateFunctionRequest is the request type for the UpdateFunction API operation.
func (UpdateFunctionRequest) Send ¶ added in v0.6.0
func (r UpdateFunctionRequest) Send(ctx context.Context) (*UpdateFunctionResponse, error)
Send marshals and sends the UpdateFunction API request.
type UpdateFunctionResponse ¶ added in v0.9.0
type UpdateFunctionResponse struct { *UpdateFunctionOutput // contains filtered or unexported fields }
UpdateFunctionResponse is the response type for the UpdateFunction API operation.
func (*UpdateFunctionResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *UpdateFunctionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateFunction request.
type UpdateGraphqlApiInput ¶
type UpdateGraphqlApiInput struct { // A list of additional authentication providers for the GraphqlApi API. AdditionalAuthenticationProviders []AdditionalAuthenticationProvider `locationName:"additionalAuthenticationProviders" type:"list"` // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The new authentication type for the GraphqlApi object. AuthenticationType AuthenticationType `locationName:"authenticationType" type:"string" enum:"true"` // The Amazon CloudWatch Logs configuration for the GraphqlApi object. LogConfig *LogConfig `locationName:"logConfig" type:"structure"` // The new name for the GraphqlApi object. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The OpenID Connect configuration for the GraphqlApi object. OpenIDConnectConfig *OpenIDConnectConfig `locationName:"openIDConnectConfig" type:"structure"` // The new Amazon Cognito user pool configuration for the GraphqlApi object. UserPoolConfig *UserPoolConfig `locationName:"userPoolConfig" type:"structure"` // A flag indicating whether to enable X-Ray tracing for the GraphqlApi. XrayEnabled *bool `locationName:"xrayEnabled" type:"boolean"` // contains filtered or unexported fields }
func (UpdateGraphqlApiInput) MarshalFields ¶ added in v0.3.0
func (s UpdateGraphqlApiInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateGraphqlApiInput) String ¶
func (s UpdateGraphqlApiInput) String() string
String returns the string representation
func (*UpdateGraphqlApiInput) Validate ¶
func (s *UpdateGraphqlApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateGraphqlApiOutput ¶
type UpdateGraphqlApiOutput struct { // The updated GraphqlApi object. GraphqlApi *GraphqlApi `locationName:"graphqlApi" type:"structure"` // contains filtered or unexported fields }
func (UpdateGraphqlApiOutput) MarshalFields ¶ added in v0.3.0
func (s UpdateGraphqlApiOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateGraphqlApiOutput) String ¶
func (s UpdateGraphqlApiOutput) String() string
String returns the string representation
type UpdateGraphqlApiRequest ¶
type UpdateGraphqlApiRequest struct { *aws.Request Input *UpdateGraphqlApiInput Copy func(*UpdateGraphqlApiInput) UpdateGraphqlApiRequest }
UpdateGraphqlApiRequest is the request type for the UpdateGraphqlApi API operation.
func (UpdateGraphqlApiRequest) Send ¶
func (r UpdateGraphqlApiRequest) Send(ctx context.Context) (*UpdateGraphqlApiResponse, error)
Send marshals and sends the UpdateGraphqlApi API request.
type UpdateGraphqlApiResponse ¶ added in v0.9.0
type UpdateGraphqlApiResponse struct { *UpdateGraphqlApiOutput // contains filtered or unexported fields }
UpdateGraphqlApiResponse is the response type for the UpdateGraphqlApi API operation.
func (*UpdateGraphqlApiResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *UpdateGraphqlApiResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateGraphqlApi request.
type UpdateResolverInput ¶
type UpdateResolverInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The caching configuration for the resolver. CachingConfig *CachingConfig `locationName:"cachingConfig" type:"structure"` // The new data source name. DataSourceName *string `locationName:"dataSourceName" min:"1" type:"string"` // The new field name. // // FieldName is a required field FieldName *string `location:"uri" locationName:"fieldName" min:"1" type:"string" required:"true"` // The resolver type. // // * UNIT: A UNIT resolver type. A UNIT resolver is the default resolver // type. A UNIT resolver enables you to execute a GraphQL query against a // single data source. // // * PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you // to execute a series of Function in a serial manner. You can use a pipeline // resolver to execute a GraphQL query against multiple data sources. Kind ResolverKind `locationName:"kind" type:"string" enum:"true"` // The PipelineConfig. PipelineConfig *PipelineConfig `locationName:"pipelineConfig" type:"structure"` // The new request mapping template. // // RequestMappingTemplate is a required field RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string" required:"true"` // The new response mapping template. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` // The SyncConfig for a resolver attached to a versioned datasource. SyncConfig *SyncConfig `locationName:"syncConfig" type:"structure"` // The new type name. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateResolverInput) MarshalFields ¶ added in v0.3.0
func (s UpdateResolverInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateResolverInput) String ¶
func (s UpdateResolverInput) String() string
String returns the string representation
func (*UpdateResolverInput) Validate ¶
func (s *UpdateResolverInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateResolverOutput ¶
type UpdateResolverOutput struct { // The updated Resolver object. Resolver *Resolver `locationName:"resolver" type:"structure"` // contains filtered or unexported fields }
func (UpdateResolverOutput) MarshalFields ¶ added in v0.3.0
func (s UpdateResolverOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateResolverOutput) String ¶
func (s UpdateResolverOutput) String() string
String returns the string representation
type UpdateResolverRequest ¶
type UpdateResolverRequest struct { *aws.Request Input *UpdateResolverInput Copy func(*UpdateResolverInput) UpdateResolverRequest }
UpdateResolverRequest is the request type for the UpdateResolver API operation.
func (UpdateResolverRequest) Send ¶
func (r UpdateResolverRequest) Send(ctx context.Context) (*UpdateResolverResponse, error)
Send marshals and sends the UpdateResolver API request.
type UpdateResolverResponse ¶ added in v0.9.0
type UpdateResolverResponse struct { *UpdateResolverOutput // contains filtered or unexported fields }
UpdateResolverResponse is the response type for the UpdateResolver API operation.
func (*UpdateResolverResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *UpdateResolverResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateResolver request.
type UpdateTypeInput ¶
type UpdateTypeInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The new definition. Definition *string `locationName:"definition" type:"string"` // The new type format: SDL or JSON. // // Format is a required field Format TypeDefinitionFormat `locationName:"format" type:"string" required:"true" enum:"true"` // The new type name. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateTypeInput) MarshalFields ¶ added in v0.3.0
func (s UpdateTypeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateTypeInput) String ¶
func (s UpdateTypeInput) String() string
String returns the string representation
func (*UpdateTypeInput) Validate ¶
func (s *UpdateTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateTypeOutput ¶
type UpdateTypeOutput struct { // The updated Type object. Type *Type `locationName:"type" type:"structure"` // contains filtered or unexported fields }
func (UpdateTypeOutput) MarshalFields ¶ added in v0.3.0
func (s UpdateTypeOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateTypeOutput) String ¶
func (s UpdateTypeOutput) String() string
String returns the string representation
type UpdateTypeRequest ¶
type UpdateTypeRequest struct { *aws.Request Input *UpdateTypeInput Copy func(*UpdateTypeInput) UpdateTypeRequest }
UpdateTypeRequest is the request type for the UpdateType API operation.
func (UpdateTypeRequest) Send ¶
func (r UpdateTypeRequest) Send(ctx context.Context) (*UpdateTypeResponse, error)
Send marshals and sends the UpdateType API request.
type UpdateTypeResponse ¶ added in v0.9.0
type UpdateTypeResponse struct { *UpdateTypeOutput // contains filtered or unexported fields }
UpdateTypeResponse is the response type for the UpdateType API operation.
func (*UpdateTypeResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *UpdateTypeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateType request.
type UserPoolConfig ¶
type UserPoolConfig struct { // A regular expression for validating the incoming Amazon Cognito user pool // app client ID. AppIdClientRegex *string `locationName:"appIdClientRegex" type:"string"` // The AWS Region in which the user pool was created. // // AwsRegion is a required field AwsRegion *string `locationName:"awsRegion" type:"string" required:"true"` // The action that you want your GraphQL API to take when a request that uses // Amazon Cognito user pool authentication doesn't match the Amazon Cognito // user pool configuration. // // DefaultAction is a required field DefaultAction DefaultAction `locationName:"defaultAction" type:"string" required:"true" enum:"true"` // The user pool ID. // // UserPoolId is a required field UserPoolId *string `locationName:"userPoolId" type:"string" required:"true"` // contains filtered or unexported fields }
Describes an Amazon Cognito user pool configuration.
func (UserPoolConfig) MarshalFields ¶ added in v0.3.0
func (s UserPoolConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UserPoolConfig) String ¶
func (s UserPoolConfig) String() string
String returns the string representation
func (*UserPoolConfig) Validate ¶
func (s *UserPoolConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
Source Files ¶
- api_client.go
- api_doc.go
- api_enums.go
- api_errors.go
- api_op_CreateApiCache.go
- api_op_CreateApiKey.go
- api_op_CreateDataSource.go
- api_op_CreateFunction.go
- api_op_CreateGraphqlApi.go
- api_op_CreateResolver.go
- api_op_CreateType.go
- api_op_DeleteApiCache.go
- api_op_DeleteApiKey.go
- api_op_DeleteDataSource.go
- api_op_DeleteFunction.go
- api_op_DeleteGraphqlApi.go
- api_op_DeleteResolver.go
- api_op_DeleteType.go
- api_op_FlushApiCache.go
- api_op_GetApiCache.go
- api_op_GetDataSource.go
- api_op_GetFunction.go
- api_op_GetGraphqlApi.go
- api_op_GetIntrospectionSchema.go
- api_op_GetResolver.go
- api_op_GetSchemaCreationStatus.go
- api_op_GetType.go
- api_op_ListApiKeys.go
- api_op_ListDataSources.go
- api_op_ListFunctions.go
- api_op_ListGraphqlApis.go
- api_op_ListResolvers.go
- api_op_ListResolversByFunction.go
- api_op_ListTagsForResource.go
- api_op_ListTypes.go
- api_op_StartSchemaCreation.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateApiCache.go
- api_op_UpdateApiKey.go
- api_op_UpdateDataSource.go
- api_op_UpdateFunction.go
- api_op_UpdateGraphqlApi.go
- api_op_UpdateResolver.go
- api_op_UpdateType.go
- api_types.go
Directories ¶
Path | Synopsis |
---|---|
Package appsynciface provides an interface to enable mocking the AWS AppSync service client for testing your code.
|
Package appsynciface provides an interface to enable mocking the AWS AppSync service client for testing your code. |