package appsync
import "github.com/aws/aws-sdk-go-v2/service/appsync"
Package appsync provides the client and types for making API requests to AWSAppSync.
AWS AppSync provides API actions for creating and interacting with data sources using GraphQL from your application.
See https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25 for more information on this service.
See appsync package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/appsync/
Using the Client
To use AWSAppSync with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the AWSAppSync client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/appsync/#New
Index ¶
- Constants
- type AdditionalAuthenticationProvider
- func (s AdditionalAuthenticationProvider) MarshalFields(e protocol.FieldEncoder) error
- func (s AdditionalAuthenticationProvider) String() string
- func (s *AdditionalAuthenticationProvider) Validate() error
- type ApiKey
- type AuthenticationType
- func (enum AuthenticationType) MarshalValue() (string, error)
- func (enum AuthenticationType) MarshalValueBuf(b []byte) ([]byte, error)
- type AuthorizationConfig
- func (s AuthorizationConfig) MarshalFields(e protocol.FieldEncoder) error
- func (s AuthorizationConfig) String() string
- func (s *AuthorizationConfig) Validate() error
- type AuthorizationType
- func (enum AuthorizationType) MarshalValue() (string, error)
- func (enum AuthorizationType) MarshalValueBuf(b []byte) ([]byte, error)
- type AwsIamConfig
- func (s AwsIamConfig) MarshalFields(e protocol.FieldEncoder) error
- func (s AwsIamConfig) String() string
- type Client
- func New(config aws.Config) *Client
- 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) 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) 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) 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
- func (s CognitoUserPoolConfig) MarshalFields(e protocol.FieldEncoder) error
- func (s CognitoUserPoolConfig) String() string
- func (s *CognitoUserPoolConfig) Validate() error
- type CreateApiKeyInput
- func (s CreateApiKeyInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateApiKeyInput) String() string
- func (s *CreateApiKeyInput) Validate() error
- type CreateApiKeyOutput
- func (s CreateApiKeyOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateApiKeyOutput) String() string
- type CreateApiKeyRequest
- type CreateApiKeyResponse
- type CreateDataSourceInput
- func (s CreateDataSourceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateDataSourceInput) String() string
- func (s *CreateDataSourceInput) Validate() error
- type CreateDataSourceOutput
- func (s CreateDataSourceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateDataSourceOutput) String() string
- type CreateDataSourceRequest
- type CreateDataSourceResponse
- type CreateFunctionInput
- func (s CreateFunctionInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateFunctionInput) String() string
- func (s *CreateFunctionInput) Validate() error
- type CreateFunctionOutput
- func (s CreateFunctionOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateFunctionOutput) String() string
- type CreateFunctionRequest
- type CreateFunctionResponse
- type CreateGraphqlApiInput
- func (s CreateGraphqlApiInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateGraphqlApiInput) String() string
- func (s *CreateGraphqlApiInput) Validate() error
- type CreateGraphqlApiOutput
- func (s CreateGraphqlApiOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateGraphqlApiOutput) String() string
- type CreateGraphqlApiRequest
- type CreateGraphqlApiResponse
- type CreateResolverInput
- func (s CreateResolverInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateResolverInput) String() string
- func (s *CreateResolverInput) Validate() error
- type CreateResolverOutput
- func (s CreateResolverOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateResolverOutput) String() string
- type CreateResolverRequest
- type CreateResolverResponse
- type CreateTypeInput
- func (s CreateTypeInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateTypeInput) String() string
- func (s *CreateTypeInput) Validate() error
- type CreateTypeOutput
- func (s CreateTypeOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateTypeOutput) String() string
- type CreateTypeRequest
- type CreateTypeResponse
- type DataSource
- func (s DataSource) MarshalFields(e protocol.FieldEncoder) error
- func (s DataSource) String() string
- type DataSourceType
- func (enum DataSourceType) MarshalValue() (string, error)
- func (enum DataSourceType) MarshalValueBuf(b []byte) ([]byte, error)
- type DefaultAction
- func (enum DefaultAction) MarshalValue() (string, error)
- func (enum DefaultAction) MarshalValueBuf(b []byte) ([]byte, error)
- type DeleteApiKeyInput
- func (s DeleteApiKeyInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteApiKeyInput) String() string
- func (s *DeleteApiKeyInput) Validate() error
- type DeleteApiKeyOutput
- func (s DeleteApiKeyOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteApiKeyOutput) String() string
- type DeleteApiKeyRequest
- type DeleteApiKeyResponse
- type DeleteDataSourceInput
- func (s DeleteDataSourceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteDataSourceInput) String() string
- func (s *DeleteDataSourceInput) Validate() error
- type DeleteDataSourceOutput
- func (s DeleteDataSourceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteDataSourceOutput) String() string
- type DeleteDataSourceRequest
- type DeleteDataSourceResponse
- type DeleteFunctionInput
- func (s DeleteFunctionInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteFunctionInput) String() string
- func (s *DeleteFunctionInput) Validate() error
- type DeleteFunctionOutput
- func (s DeleteFunctionOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteFunctionOutput) String() string
- type DeleteFunctionRequest
- type DeleteFunctionResponse
- type DeleteGraphqlApiInput
- func (s DeleteGraphqlApiInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteGraphqlApiInput) String() string
- func (s *DeleteGraphqlApiInput) Validate() error
- type DeleteGraphqlApiOutput
- func (s DeleteGraphqlApiOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteGraphqlApiOutput) String() string
- type DeleteGraphqlApiRequest
- type DeleteGraphqlApiResponse
- type DeleteResolverInput
- func (s DeleteResolverInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteResolverInput) String() string
- func (s *DeleteResolverInput) Validate() error
- type DeleteResolverOutput
- func (s DeleteResolverOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteResolverOutput) String() string
- type DeleteResolverRequest
- type DeleteResolverResponse
- type DeleteTypeInput
- func (s DeleteTypeInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteTypeInput) String() string
- func (s *DeleteTypeInput) Validate() error
- type DeleteTypeOutput
- func (s DeleteTypeOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteTypeOutput) String() string
- type DeleteTypeRequest
- type DeleteTypeResponse
- type DynamodbDataSourceConfig
- func (s DynamodbDataSourceConfig) MarshalFields(e protocol.FieldEncoder) error
- func (s DynamodbDataSourceConfig) String() string
- func (s *DynamodbDataSourceConfig) Validate() error
- type ElasticsearchDataSourceConfig
- func (s ElasticsearchDataSourceConfig) MarshalFields(e protocol.FieldEncoder) error
- func (s ElasticsearchDataSourceConfig) String() string
- func (s *ElasticsearchDataSourceConfig) Validate() error
- type FieldLogLevel
- func (enum FieldLogLevel) MarshalValue() (string, error)
- func (enum FieldLogLevel) MarshalValueBuf(b []byte) ([]byte, error)
- type FunctionConfiguration
- func (s FunctionConfiguration) MarshalFields(e protocol.FieldEncoder) error
- func (s FunctionConfiguration) String() string
- type GetDataSourceInput
- func (s GetDataSourceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetDataSourceInput) String() string
- func (s *GetDataSourceInput) Validate() error
- type GetDataSourceOutput
- func (s GetDataSourceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetDataSourceOutput) String() string
- type GetDataSourceRequest
- type GetDataSourceResponse
- type GetFunctionInput
- func (s GetFunctionInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetFunctionInput) String() string
- func (s *GetFunctionInput) Validate() error
- type GetFunctionOutput
- func (s GetFunctionOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetFunctionOutput) String() string
- type GetFunctionRequest
- type GetFunctionResponse
- type GetGraphqlApiInput
- func (s GetGraphqlApiInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetGraphqlApiInput) String() string
- func (s *GetGraphqlApiInput) Validate() error
- type GetGraphqlApiOutput
- func (s GetGraphqlApiOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetGraphqlApiOutput) String() string
- type GetGraphqlApiRequest
- type GetGraphqlApiResponse
- type GetIntrospectionSchemaInput
- func (s GetIntrospectionSchemaInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetIntrospectionSchemaInput) String() string
- func (s *GetIntrospectionSchemaInput) Validate() error
- type GetIntrospectionSchemaOutput
- func (s GetIntrospectionSchemaOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetIntrospectionSchemaOutput) String() string
- type GetIntrospectionSchemaRequest
- type GetIntrospectionSchemaResponse
- type GetResolverInput
- func (s GetResolverInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetResolverInput) String() string
- func (s *GetResolverInput) Validate() error
- type GetResolverOutput
- func (s GetResolverOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetResolverOutput) String() string
- type GetResolverRequest
- type GetResolverResponse
- type GetSchemaCreationStatusInput
- func (s GetSchemaCreationStatusInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetSchemaCreationStatusInput) String() string
- func (s *GetSchemaCreationStatusInput) Validate() error
- type GetSchemaCreationStatusOutput
- func (s GetSchemaCreationStatusOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetSchemaCreationStatusOutput) String() string
- type GetSchemaCreationStatusRequest
- type GetSchemaCreationStatusResponse
- type GetTypeInput
- func (s GetTypeInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetTypeInput) String() string
- func (s *GetTypeInput) Validate() error
- type GetTypeOutput
- func (s GetTypeOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetTypeOutput) String() string
- type GetTypeRequest
- type GetTypeResponse
- type GraphqlApi
- func (s GraphqlApi) MarshalFields(e protocol.FieldEncoder) error
- func (s GraphqlApi) String() string
- type HttpDataSourceConfig
- func (s HttpDataSourceConfig) MarshalFields(e protocol.FieldEncoder) error
- func (s HttpDataSourceConfig) String() string
- func (s *HttpDataSourceConfig) Validate() error
- type LambdaDataSourceConfig
- func (s LambdaDataSourceConfig) MarshalFields(e protocol.FieldEncoder) error
- func (s LambdaDataSourceConfig) String() string
- func (s *LambdaDataSourceConfig) Validate() error
- type ListApiKeysInput
- func (s ListApiKeysInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListApiKeysInput) String() string
- func (s *ListApiKeysInput) Validate() error
- type ListApiKeysOutput
- func (s ListApiKeysOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListApiKeysOutput) String() string
- type ListApiKeysRequest
- type ListApiKeysResponse
- type ListDataSourcesInput
- func (s ListDataSourcesInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListDataSourcesInput) String() string
- func (s *ListDataSourcesInput) Validate() error
- type ListDataSourcesOutput
- func (s ListDataSourcesOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListDataSourcesOutput) String() string
- type ListDataSourcesRequest
- type ListDataSourcesResponse
- type ListFunctionsInput
- func (s ListFunctionsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListFunctionsInput) String() string
- func (s *ListFunctionsInput) Validate() error
- type ListFunctionsOutput
- func (s ListFunctionsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListFunctionsOutput) String() string
- type ListFunctionsRequest
- type ListFunctionsResponse
- type ListGraphqlApisInput
- func (s ListGraphqlApisInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListGraphqlApisInput) String() string
- type ListGraphqlApisOutput
- func (s ListGraphqlApisOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListGraphqlApisOutput) String() string
- type ListGraphqlApisRequest
- type ListGraphqlApisResponse
- type ListResolversByFunctionInput
- func (s ListResolversByFunctionInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListResolversByFunctionInput) String() string
- func (s *ListResolversByFunctionInput) Validate() error
- type ListResolversByFunctionOutput
- func (s ListResolversByFunctionOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListResolversByFunctionOutput) String() string
- type ListResolversByFunctionRequest
- type ListResolversByFunctionResponse
- type ListResolversInput
- func (s ListResolversInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListResolversInput) String() string
- func (s *ListResolversInput) Validate() error
- type ListResolversOutput
- func (s ListResolversOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListResolversOutput) String() string
- type ListResolversRequest
- type ListResolversResponse
- type ListTagsForResourceInput
- func (s ListTagsForResourceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListTagsForResourceInput) String() string
- func (s *ListTagsForResourceInput) Validate() error
- type ListTagsForResourceOutput
- func (s ListTagsForResourceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListTagsForResourceOutput) String() string
- type ListTagsForResourceRequest
- type ListTagsForResourceResponse
- type ListTypesInput
- func (s ListTypesInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListTypesInput) String() string
- func (s *ListTypesInput) Validate() error
- type ListTypesOutput
- func (s ListTypesOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListTypesOutput) String() string
- type ListTypesRequest
- type ListTypesResponse
- type LogConfig
- func (s LogConfig) MarshalFields(e protocol.FieldEncoder) error
- func (s LogConfig) String() string
- func (s *LogConfig) Validate() error
- type OpenIDConnectConfig
- func (s OpenIDConnectConfig) MarshalFields(e protocol.FieldEncoder) error
- func (s OpenIDConnectConfig) String() string
- func (s *OpenIDConnectConfig) Validate() error
- type OutputType
- func (enum OutputType) MarshalValue() (string, error)
- func (enum OutputType) MarshalValueBuf(b []byte) ([]byte, error)
- type PipelineConfig
- func (s PipelineConfig) MarshalFields(e protocol.FieldEncoder) error
- func (s PipelineConfig) String() string
- type RdsHttpEndpointConfig
- func (s RdsHttpEndpointConfig) MarshalFields(e protocol.FieldEncoder) error
- func (s RdsHttpEndpointConfig) String() string
- type RelationalDatabaseDataSourceConfig
- func (s RelationalDatabaseDataSourceConfig) MarshalFields(e protocol.FieldEncoder) error
- func (s RelationalDatabaseDataSourceConfig) String() string
- type RelationalDatabaseSourceType
- func (enum RelationalDatabaseSourceType) MarshalValue() (string, error)
- func (enum RelationalDatabaseSourceType) MarshalValueBuf(b []byte) ([]byte, error)
- type Resolver
- type ResolverKind
- func (enum ResolverKind) MarshalValue() (string, error)
- func (enum ResolverKind) MarshalValueBuf(b []byte) ([]byte, error)
- type SchemaStatus
- func (enum SchemaStatus) MarshalValue() (string, error)
- func (enum SchemaStatus) MarshalValueBuf(b []byte) ([]byte, error)
- type StartSchemaCreationInput
- func (s StartSchemaCreationInput) MarshalFields(e protocol.FieldEncoder) error
- func (s StartSchemaCreationInput) String() string
- func (s *StartSchemaCreationInput) Validate() error
- type StartSchemaCreationOutput
- func (s StartSchemaCreationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s StartSchemaCreationOutput) String() string
- type StartSchemaCreationRequest
- type StartSchemaCreationResponse
- type TagResourceInput
- func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s TagResourceInput) String() string
- func (s *TagResourceInput) Validate() error
- type TagResourceOutput
- func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s TagResourceOutput) String() string
- type TagResourceRequest
- type TagResourceResponse
- type Type
- type TypeDefinitionFormat
- func (enum TypeDefinitionFormat) MarshalValue() (string, error)
- func (enum TypeDefinitionFormat) MarshalValueBuf(b []byte) ([]byte, error)
- type UntagResourceInput
- func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UntagResourceInput) String() string
- func (s *UntagResourceInput) Validate() error
- type UntagResourceOutput
- func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UntagResourceOutput) String() string
- type UntagResourceRequest
- type UntagResourceResponse
- type UpdateApiKeyInput
- func (s UpdateApiKeyInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateApiKeyInput) String() string
- func (s *UpdateApiKeyInput) Validate() error
- type UpdateApiKeyOutput
- func (s UpdateApiKeyOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateApiKeyOutput) String() string
- type UpdateApiKeyRequest
- type UpdateApiKeyResponse
- type UpdateDataSourceInput
- func (s UpdateDataSourceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateDataSourceInput) String() string
- func (s *UpdateDataSourceInput) Validate() error
- type UpdateDataSourceOutput
- func (s UpdateDataSourceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateDataSourceOutput) String() string
- type UpdateDataSourceRequest
- type UpdateDataSourceResponse
- type UpdateFunctionInput
- func (s UpdateFunctionInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateFunctionInput) String() string
- func (s *UpdateFunctionInput) Validate() error
- type UpdateFunctionOutput
- func (s UpdateFunctionOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateFunctionOutput) String() string
- type UpdateFunctionRequest
- type UpdateFunctionResponse
- type UpdateGraphqlApiInput
- func (s UpdateGraphqlApiInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateGraphqlApiInput) String() string
- func (s *UpdateGraphqlApiInput) Validate() error
- type UpdateGraphqlApiOutput
- func (s UpdateGraphqlApiOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateGraphqlApiOutput) String() string
- type UpdateGraphqlApiRequest
- type UpdateGraphqlApiResponse
- type UpdateResolverInput
- func (s UpdateResolverInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateResolverInput) String() string
- func (s *UpdateResolverInput) Validate() error
- type UpdateResolverOutput
- func (s UpdateResolverOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateResolverOutput) String() string
- type UpdateResolverRequest
- type UpdateResolverResponse
- type UpdateTypeInput
- func (s UpdateTypeInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateTypeInput) String() string
- func (s *UpdateTypeInput) Validate() error
- type UpdateTypeOutput
- func (s UpdateTypeOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateTypeOutput) String() string
- 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" // ErrCodeUnauthorizedException for service response error code // "UnauthorizedException". // // You are not authorized to perform this operation. = "UnauthorizedException" )
Types ¶
type AdditionalAuthenticationProvider ¶
type AdditionalAuthenticationProvider struct { // The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user pools. AuthenticationType AuthenticationType `locationName:"authenticationType" type:"string" enum:"true"` // The OpenID Connect configuration. OpenIDConnectConfig *OpenIDConnectConfig `locationName:"openIDConnectConfig" type:"structure"` // The Amazon Cognito user pool configuration. UserPoolConfig *CognitoUserPoolConfig `locationName:"userPoolConfig" type:"structure"` // contains filtered or unexported fields }
Describes an additional authentication provider. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AdditionalAuthenticationProvider
func (AdditionalAuthenticationProvider) MarshalFields ¶
func (s AdditionalAuthenticationProvider) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AdditionalAuthenticationProvider) String ¶
func (s AdditionalAuthenticationProvider) String() string
String returns the string representation
func (*AdditionalAuthenticationProvider) Validate ¶
func (s *AdditionalAuthenticationProvider) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ApiKey ¶
type ApiKey struct { // A description of the purpose of the API key. Description *string `locationName:"description" type:"string"` // The time after which the API key expires. The date is represented as seconds // since the epoch, rounded down to the nearest hour. Expires *int64 `locationName:"expires" type:"long"` // The API key ID. Id *string `locationName:"id" type:"string"` // contains filtered or unexported fields }
Describes an API key.
Customers invoke AWS AppSync GraphQL API operations with API keys as an identity mechanism. There are two key versions:
da1: This version was introduced at launch in November 2017. These keys always expire after 7 days. Key expiration is managed by Amazon DynamoDB TTL. The keys ceased to be valid after February 21, 2018 and should not be used after that date.
ListApiKeys returns the expiration time in milliseconds.
CreateApiKey returns the expiration time in milliseconds.
UpdateApiKey is not available for this key version.
DeleteApiKey deletes the item from the table.
Expiration is stored in Amazon DynamoDB as milliseconds. This results in a bug where keys are not automatically deleted because DynamoDB expects the TTL to be stored in seconds. As a one-time action, we will delete these keys from the table after February 21, 2018.
da2: This version was introduced in February 2018 when AppSync added support to extend key expiration.
ListApiKeys returns the expiration time in seconds.
CreateApiKey returns the expiration time in seconds and accepts a user-provided expiration time in seconds.
UpdateApiKey returns the expiration time in seconds and accepts a user-provided expiration time in seconds. Key expiration can only be updated while the key has not expired.
DeleteApiKey deletes the item from the table.
Expiration is stored in Amazon DynamoDB as seconds.
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ApiKey
func (ApiKey) MarshalFields ¶
func (s ApiKey) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ApiKey) String ¶
String returns the string representation
type AuthenticationType ¶
type AuthenticationType string
const ( AuthenticationTypeApiKey AuthenticationType = "API_KEY" AuthenticationTypeAwsIam AuthenticationType = "AWS_IAM" AuthenticationTypeAmazonCognitoUserPools AuthenticationType = "AMAZON_COGNITO_USER_POOLS" AuthenticationTypeOpenidConnect AuthenticationType = "OPENID_CONNECT" )
Enum values for AuthenticationType
func (AuthenticationType) MarshalValue ¶
func (enum AuthenticationType) MarshalValue() (string, error)
func (AuthenticationType) MarshalValueBuf ¶
func (enum AuthenticationType) MarshalValueBuf(b []byte) ([]byte, error)
type AuthorizationConfig ¶
type AuthorizationConfig struct { // The authorization type required by the HTTP endpoint. // // * AWS_IAM: The authorization type is Sigv4. // // AuthorizationType is a required field AuthorizationType AuthorizationType `locationName:"authorizationType" type:"string" required:"true" enum:"true"` // The AWS IAM settings. AwsIamConfig *AwsIamConfig `locationName:"awsIamConfig" type:"structure"` // contains filtered or unexported fields }
The authorization config in case the HTTP endpoint requires authorization. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AuthorizationConfig
func (AuthorizationConfig) MarshalFields ¶
func (s AuthorizationConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AuthorizationConfig) String ¶
func (s AuthorizationConfig) String() string
String returns the string representation
func (*AuthorizationConfig) Validate ¶
func (s *AuthorizationConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AuthorizationType ¶
type AuthorizationType string
const ( AuthorizationTypeAwsIam AuthorizationType = "AWS_IAM" )
Enum values for AuthorizationType
func (AuthorizationType) MarshalValue ¶
func (enum AuthorizationType) MarshalValue() (string, error)
func (AuthorizationType) MarshalValueBuf ¶
func (enum AuthorizationType) MarshalValueBuf(b []byte) ([]byte, error)
type AwsIamConfig ¶
type AwsIamConfig struct { // The signing region for AWS IAM authorization. SigningRegion *string `locationName:"signingRegion" type:"string"` // The signing service name for AWS IAM authorization. SigningServiceName *string `locationName:"signingServiceName" type:"string"` // contains filtered or unexported fields }
The AWS IAM configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AwsIamConfig
func (AwsIamConfig) MarshalFields ¶
func (s AwsIamConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AwsIamConfig) String ¶
func (s AwsIamConfig) String() string
String returns the string representation
type Client ¶
Client provides the API operation methods for making requests to AWSAppSync. See this package's package overview docs for details on the service.
The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
New creates a new instance of the client from the provided Config.
Example:
// Create a client from just a config. svc := appsync.New(myConfig)
func (*Client) CreateApiKeyRequest ¶
func (c *Client) CreateApiKeyRequest(input *CreateApiKeyInput) CreateApiKeyRequest
CreateApiKeyRequest returns a request value for making API operation for AWS AppSync.
Creates a unique key that you can distribute to clients who are executing your API.
// Example sending a request using CreateApiKeyRequest. req := client.CreateApiKeyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiKey
func (*Client) CreateDataSourceRequest ¶
func (c *Client) CreateDataSourceRequest(input *CreateDataSourceInput) CreateDataSourceRequest
CreateDataSourceRequest returns a request value for making API operation for AWS AppSync.
Creates a DataSource object.
// Example sending a request using CreateDataSourceRequest. req := client.CreateDataSourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDataSource
func (*Client) CreateFunctionRequest ¶
func (c *Client) CreateFunctionRequest(input *CreateFunctionInput) CreateFunctionRequest
CreateFunctionRequest returns a request value for making API operation for AWS AppSync.
Creates a Function object.
A function is a reusable entity. Multiple functions can be used to compose the resolver logic.
// Example sending a request using CreateFunctionRequest. req := client.CreateFunctionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateFunction
func (*Client) CreateGraphqlApiRequest ¶
func (c *Client) CreateGraphqlApiRequest(input *CreateGraphqlApiInput) CreateGraphqlApiRequest
CreateGraphqlApiRequest returns a request value for making API operation for AWS AppSync.
Creates a GraphqlApi object.
// Example sending a request using CreateGraphqlApiRequest. req := client.CreateGraphqlApiRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApi
func (*Client) CreateResolverRequest ¶
func (c *Client) CreateResolverRequest(input *CreateResolverInput) CreateResolverRequest
CreateResolverRequest returns a request value for making API operation for AWS AppSync.
Creates a Resolver object.
A resolver converts incoming requests into a format that a data source can understand and converts the data source's responses into GraphQL.
// Example sending a request using CreateResolverRequest. req := client.CreateResolverRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateResolver
func (*Client) CreateTypeRequest ¶
func (c *Client) CreateTypeRequest(input *CreateTypeInput) CreateTypeRequest
CreateTypeRequest returns a request value for making API operation for AWS AppSync.
Creates a Type object.
// Example sending a request using CreateTypeRequest. req := client.CreateTypeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateType
func (*Client) DeleteApiKeyRequest ¶
func (c *Client) DeleteApiKeyRequest(input *DeleteApiKeyInput) DeleteApiKeyRequest
DeleteApiKeyRequest returns a request value for making API operation for AWS AppSync.
Deletes an API key.
// Example sending a request using DeleteApiKeyRequest. req := client.DeleteApiKeyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiKey
func (*Client) DeleteDataSourceRequest ¶
func (c *Client) DeleteDataSourceRequest(input *DeleteDataSourceInput) DeleteDataSourceRequest
DeleteDataSourceRequest returns a request value for making API operation for AWS AppSync.
Deletes a DataSource object.
// Example sending a request using DeleteDataSourceRequest. req := client.DeleteDataSourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDataSource
func (*Client) DeleteFunctionRequest ¶
func (c *Client) DeleteFunctionRequest(input *DeleteFunctionInput) DeleteFunctionRequest
DeleteFunctionRequest returns a request value for making API operation for AWS AppSync.
Deletes a Function.
// Example sending a request using DeleteFunctionRequest. req := client.DeleteFunctionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteFunction
func (*Client) DeleteGraphqlApiRequest ¶
func (c *Client) DeleteGraphqlApiRequest(input *DeleteGraphqlApiInput) DeleteGraphqlApiRequest
DeleteGraphqlApiRequest returns a request value for making API operation for AWS AppSync.
Deletes a GraphqlApi object.
// Example sending a request using DeleteGraphqlApiRequest. req := client.DeleteGraphqlApiRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteGraphqlApi
func (*Client) DeleteResolverRequest ¶
func (c *Client) DeleteResolverRequest(input *DeleteResolverInput) DeleteResolverRequest
DeleteResolverRequest returns a request value for making API operation for AWS AppSync.
Deletes a Resolver object.
// Example sending a request using DeleteResolverRequest. req := client.DeleteResolverRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteResolver
func (*Client) DeleteTypeRequest ¶
func (c *Client) DeleteTypeRequest(input *DeleteTypeInput) DeleteTypeRequest
DeleteTypeRequest returns a request value for making API operation for AWS AppSync.
Deletes a Type object.
// Example sending a request using DeleteTypeRequest. req := client.DeleteTypeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteType
func (*Client) GetDataSourceRequest ¶
func (c *Client) GetDataSourceRequest(input *GetDataSourceInput) GetDataSourceRequest
GetDataSourceRequest returns a request value for making API operation for AWS AppSync.
Retrieves a DataSource object.
// Example sending a request using GetDataSourceRequest. req := client.GetDataSourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDataSource
func (*Client) GetFunctionRequest ¶
func (c *Client) GetFunctionRequest(input *GetFunctionInput) GetFunctionRequest
GetFunctionRequest returns a request value for making API operation for AWS AppSync.
Get a Function.
// Example sending a request using GetFunctionRequest. req := client.GetFunctionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetFunction
func (*Client) GetGraphqlApiRequest ¶
func (c *Client) GetGraphqlApiRequest(input *GetGraphqlApiInput) GetGraphqlApiRequest
GetGraphqlApiRequest returns a request value for making API operation for AWS AppSync.
Retrieves a GraphqlApi object.
// Example sending a request using GetGraphqlApiRequest. req := client.GetGraphqlApiRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApi
func (*Client) GetIntrospectionSchemaRequest ¶
func (c *Client) GetIntrospectionSchemaRequest(input *GetIntrospectionSchemaInput) GetIntrospectionSchemaRequest
GetIntrospectionSchemaRequest returns a request value for making API operation for AWS AppSync.
Retrieves the introspection schema for a GraphQL API.
// Example sending a request using GetIntrospectionSchemaRequest. req := client.GetIntrospectionSchemaRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetIntrospectionSchema
func (*Client) GetResolverRequest ¶
func (c *Client) GetResolverRequest(input *GetResolverInput) GetResolverRequest
GetResolverRequest returns a request value for making API operation for AWS AppSync.
Retrieves a Resolver object.
// Example sending a request using GetResolverRequest. req := client.GetResolverRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetResolver
func (*Client) GetSchemaCreationStatusRequest ¶
func (c *Client) GetSchemaCreationStatusRequest(input *GetSchemaCreationStatusInput) GetSchemaCreationStatusRequest
GetSchemaCreationStatusRequest returns a request value for making API operation for AWS AppSync.
Retrieves the current status of a schema creation operation.
// Example sending a request using GetSchemaCreationStatusRequest. req := client.GetSchemaCreationStatusRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSchemaCreationStatus
func (*Client) GetTypeRequest ¶
func (c *Client) GetTypeRequest(input *GetTypeInput) GetTypeRequest
GetTypeRequest returns a request value for making API operation for AWS AppSync.
Retrieves a Type object.
// Example sending a request using GetTypeRequest. req := client.GetTypeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetType
func (*Client) ListApiKeysRequest ¶
func (c *Client) ListApiKeysRequest(input *ListApiKeysInput) ListApiKeysRequest
ListApiKeysRequest returns a request value for making API operation for AWS AppSync.
Lists the API keys for a given API.
API keys are deleted automatically sometime after they expire. However, they may still be included in the response until they have actually been deleted. You can safely call DeleteApiKey to manually delete a key before it's automatically deleted.
// Example sending a request using ListApiKeysRequest. req := client.ListApiKeysRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeys
func (*Client) ListDataSourcesRequest ¶
func (c *Client) ListDataSourcesRequest(input *ListDataSourcesInput) ListDataSourcesRequest
ListDataSourcesRequest returns a request value for making API operation for AWS AppSync.
Lists the data sources for a given API.
// Example sending a request using ListDataSourcesRequest. req := client.ListDataSourcesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDataSources
func (*Client) ListFunctionsRequest ¶
func (c *Client) ListFunctionsRequest(input *ListFunctionsInput) ListFunctionsRequest
ListFunctionsRequest returns a request value for making API operation for AWS AppSync.
List multiple functions.
// Example sending a request using ListFunctionsRequest. req := client.ListFunctionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListFunctions
func (*Client) ListGraphqlApisRequest ¶
func (c *Client) ListGraphqlApisRequest(input *ListGraphqlApisInput) ListGraphqlApisRequest
ListGraphqlApisRequest returns a request value for making API operation for AWS AppSync.
Lists your GraphQL APIs.
// Example sending a request using ListGraphqlApisRequest. req := client.ListGraphqlApisRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApis
func (*Client) ListResolversByFunctionRequest ¶
func (c *Client) ListResolversByFunctionRequest(input *ListResolversByFunctionInput) ListResolversByFunctionRequest
ListResolversByFunctionRequest returns a request value for making API operation for AWS AppSync.
List the resolvers that are associated with a specific function.
// Example sending a request using ListResolversByFunctionRequest. req := client.ListResolversByFunctionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolversByFunction
func (*Client) ListResolversRequest ¶
func (c *Client) ListResolversRequest(input *ListResolversInput) ListResolversRequest
ListResolversRequest returns a request value for making API operation for AWS AppSync.
Lists the resolvers for a given API and type.
// Example sending a request using ListResolversRequest. req := client.ListResolversRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolvers
func (*Client) ListTagsForResourceRequest ¶
func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
ListTagsForResourceRequest returns a request value for making API operation for AWS AppSync.
Lists the tags for a resource.
// Example sending a request using ListTagsForResourceRequest. req := client.ListTagsForResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTagsForResource
func (*Client) ListTypesRequest ¶
func (c *Client) ListTypesRequest(input *ListTypesInput) ListTypesRequest
ListTypesRequest returns a request value for making API operation for AWS AppSync.
Lists the types for a given API.
// Example sending a request using ListTypesRequest. req := client.ListTypesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypes
func (*Client) StartSchemaCreationRequest ¶
func (c *Client) StartSchemaCreationRequest(input *StartSchemaCreationInput) StartSchemaCreationRequest
StartSchemaCreationRequest returns a request value for making API operation for AWS AppSync.
Adds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.
// Example sending a request using StartSchemaCreationRequest. req := client.StartSchemaCreationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaCreation
func (*Client) TagResourceRequest ¶
func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
TagResourceRequest returns a request value for making API operation for AWS AppSync.
Tags a resource with user-supplied tags.
// Example sending a request using TagResourceRequest. req := client.TagResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/TagResource
func (*Client) UntagResourceRequest ¶
func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
UntagResourceRequest returns a request value for making API operation for AWS AppSync.
Untags a resource.
// Example sending a request using UntagResourceRequest. req := client.UntagResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UntagResource
func (*Client) UpdateApiKeyRequest ¶
func (c *Client) UpdateApiKeyRequest(input *UpdateApiKeyInput) UpdateApiKeyRequest
UpdateApiKeyRequest returns a request value for making API operation for AWS AppSync.
Updates an API key.
// Example sending a request using UpdateApiKeyRequest. req := client.UpdateApiKeyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiKey
func (*Client) UpdateDataSourceRequest ¶
func (c *Client) UpdateDataSourceRequest(input *UpdateDataSourceInput) UpdateDataSourceRequest
UpdateDataSourceRequest returns a request value for making API operation for AWS AppSync.
Updates a DataSource object.
// Example sending a request using UpdateDataSourceRequest. req := client.UpdateDataSourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDataSource
func (*Client) UpdateFunctionRequest ¶
func (c *Client) UpdateFunctionRequest(input *UpdateFunctionInput) UpdateFunctionRequest
UpdateFunctionRequest returns a request value for making API operation for AWS AppSync.
Updates a Function object.
// Example sending a request using UpdateFunctionRequest. req := client.UpdateFunctionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateFunction
func (*Client) UpdateGraphqlApiRequest ¶
func (c *Client) UpdateGraphqlApiRequest(input *UpdateGraphqlApiInput) UpdateGraphqlApiRequest
UpdateGraphqlApiRequest returns a request value for making API operation for AWS AppSync.
Updates a GraphqlApi object.
// Example sending a request using UpdateGraphqlApiRequest. req := client.UpdateGraphqlApiRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApi
func (*Client) UpdateResolverRequest ¶
func (c *Client) UpdateResolverRequest(input *UpdateResolverInput) UpdateResolverRequest
UpdateResolverRequest returns a request value for making API operation for AWS AppSync.
Updates a Resolver object.
// Example sending a request using UpdateResolverRequest. req := client.UpdateResolverRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateResolver
func (*Client) UpdateTypeRequest ¶
func (c *Client) UpdateTypeRequest(input *UpdateTypeInput) UpdateTypeRequest
UpdateTypeRequest returns a request value for making API operation for AWS AppSync.
Updates a Type object.
// Example sending a request using UpdateTypeRequest. req := client.UpdateTypeRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateType
type CognitoUserPoolConfig ¶
type CognitoUserPoolConfig struct { // A regular expression for validating the incoming Amazon Cognito user pool // app client ID. AppIdClientRegex *string `locationName:"appIdClientRegex" type:"string"` // The AWS Region in which the user pool was created. // // AwsRegion is a required field AwsRegion *string `locationName:"awsRegion" type:"string" required:"true"` // The user pool ID. // // UserPoolId is a required field UserPoolId *string `locationName:"userPoolId" type:"string" required:"true"` // contains filtered or unexported fields }
Describes an Amazon Cognito user pool configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CognitoUserPoolConfig
func (CognitoUserPoolConfig) MarshalFields ¶
func (s CognitoUserPoolConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CognitoUserPoolConfig) String ¶
func (s CognitoUserPoolConfig) String() string
String returns the string representation
func (*CognitoUserPoolConfig) Validate ¶
func (s *CognitoUserPoolConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateApiKeyInput ¶
type CreateApiKeyInput struct { // The ID for your GraphQL API. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // A description of the purpose of the API key. Description *string `locationName:"description" type:"string"` // The time from creation time after which the API key expires. The date is // represented as seconds since the epoch, rounded down to the nearest hour. // The default value for this parameter is 7 days from creation time. For more // information, see . Expires *int64 `locationName:"expires" type:"long"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiKeyRequest
func (CreateApiKeyInput) MarshalFields ¶
func (s CreateApiKeyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateApiKeyInput) String ¶
func (s CreateApiKeyInput) String() string
String returns the string representation
func (*CreateApiKeyInput) Validate ¶
func (s *CreateApiKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateApiKeyOutput ¶
type CreateApiKeyOutput struct { // The API key. ApiKey *ApiKey `locationName:"apiKey" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiKeyResponse
func (CreateApiKeyOutput) MarshalFields ¶
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 ¶
type CreateApiKeyResponse struct { *CreateApiKeyOutput // contains filtered or unexported fields }
CreateApiKeyResponse is the response type for the CreateApiKey API operation.
func (*CreateApiKeyResponse) SDKResponseMetdata ¶
func (r *CreateApiKeyResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateApiKey request.
type CreateDataSourceInput ¶
type CreateDataSourceInput struct { // The API ID for the GraphQL API for the DataSource. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // A description of the DataSource. Description *string `locationName:"description" type:"string"` // Amazon DynamoDB settings. DynamodbConfig *DynamodbDataSourceConfig `locationName:"dynamodbConfig" type:"structure"` // Amazon Elasticsearch Service settings. ElasticsearchConfig *ElasticsearchDataSourceConfig `locationName:"elasticsearchConfig" type:"structure"` // HTTP endpoint settings. HttpConfig *HttpDataSourceConfig `locationName:"httpConfig" type:"structure"` // AWS Lambda settings. LambdaConfig *LambdaDataSourceConfig `locationName:"lambdaConfig" type:"structure"` // A user-supplied name for the DataSource. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // Relational database settings. RelationalDatabaseConfig *RelationalDatabaseDataSourceConfig `locationName:"relationalDatabaseConfig" type:"structure"` // The AWS IAM service role ARN for the data source. The system assumes this // role when accessing the data source. ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"` // The type of the DataSource. // // Type is a required field Type DataSourceType `locationName:"type" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDataSourceRequest
func (CreateDataSourceInput) MarshalFields ¶
func (s CreateDataSourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateDataSourceInput) String ¶
func (s CreateDataSourceInput) String() string
String returns the string representation
func (*CreateDataSourceInput) Validate ¶
func (s *CreateDataSourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDataSourceOutput ¶
type CreateDataSourceOutput struct { // The DataSource object. DataSource *DataSource `locationName:"dataSource" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDataSourceResponse
func (CreateDataSourceOutput) MarshalFields ¶
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 ¶
type CreateDataSourceResponse struct { *CreateDataSourceOutput // contains filtered or unexported fields }
CreateDataSourceResponse is the response type for the CreateDataSource API operation.
func (*CreateDataSourceResponse) SDKResponseMetdata ¶
func (r *CreateDataSourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateDataSource request.
type CreateFunctionInput ¶
type CreateFunctionInput struct { // The GraphQL API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The Function DataSource name. // // DataSourceName is a required field DataSourceName *string `locationName:"dataSourceName" type:"string" required:"true"` // The Function description. Description *string `locationName:"description" type:"string"` // The version of the request mapping template. Currently the supported value // is 2018-05-29. // // FunctionVersion is a required field FunctionVersion *string `locationName:"functionVersion" type:"string" required:"true"` // The Function name. The function name does not have to be unique. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The Function request mapping template. Functions support only the 2018-05-29 // version of the request mapping template. // // RequestMappingTemplate is a required field RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string" required:"true"` // The Function response mapping template. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateFunctionRequest
func (CreateFunctionInput) MarshalFields ¶
func (s CreateFunctionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateFunctionInput) String ¶
func (s CreateFunctionInput) String() string
String returns the string representation
func (*CreateFunctionInput) Validate ¶
func (s *CreateFunctionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateFunctionOutput ¶
type CreateFunctionOutput struct { // The Function object. FunctionConfiguration *FunctionConfiguration `locationName:"functionConfiguration" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateFunctionResponse
func (CreateFunctionOutput) MarshalFields ¶
func (s CreateFunctionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateFunctionOutput) String ¶
func (s CreateFunctionOutput) String() string
String returns the string representation
type CreateFunctionRequest ¶
type CreateFunctionRequest struct { *aws.Request Input *CreateFunctionInput Copy func(*CreateFunctionInput) CreateFunctionRequest }
CreateFunctionRequest is the request type for the CreateFunction API operation.
func (CreateFunctionRequest) Send ¶
func (r CreateFunctionRequest) Send(ctx context.Context) (*CreateFunctionResponse, error)
Send marshals and sends the CreateFunction API request.
type CreateFunctionResponse ¶
type CreateFunctionResponse struct { *CreateFunctionOutput // contains filtered or unexported fields }
CreateFunctionResponse is the response type for the CreateFunction API operation.
func (*CreateFunctionResponse) SDKResponseMetdata ¶
func (r *CreateFunctionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateFunction request.
type CreateGraphqlApiInput ¶
type CreateGraphqlApiInput struct { // A list of additional authentication providers for the GraphqlApi API. AdditionalAuthenticationProviders []AdditionalAuthenticationProvider `locationName:"additionalAuthenticationProviders" type:"list"` // The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user pools. // // AuthenticationType is a required field AuthenticationType AuthenticationType `locationName:"authenticationType" type:"string" required:"true" enum:"true"` // The Amazon CloudWatch Logs configuration. LogConfig *LogConfig `locationName:"logConfig" type:"structure"` // A user-supplied name for the GraphqlApi. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The OpenID Connect configuration. OpenIDConnectConfig *OpenIDConnectConfig `locationName:"openIDConnectConfig" type:"structure"` // A TagMap object. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // The Amazon Cognito user pool configuration. UserPoolConfig *UserPoolConfig `locationName:"userPoolConfig" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApiRequest
func (CreateGraphqlApiInput) MarshalFields ¶
func (s CreateGraphqlApiInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateGraphqlApiInput) String ¶
func (s CreateGraphqlApiInput) String() string
String returns the string representation
func (*CreateGraphqlApiInput) Validate ¶
func (s *CreateGraphqlApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateGraphqlApiOutput ¶
type CreateGraphqlApiOutput struct { // The GraphqlApi. GraphqlApi *GraphqlApi `locationName:"graphqlApi" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApiResponse
func (CreateGraphqlApiOutput) MarshalFields ¶
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 ¶
type CreateGraphqlApiResponse struct { *CreateGraphqlApiOutput // contains filtered or unexported fields }
CreateGraphqlApiResponse is the response type for the CreateGraphqlApi API operation.
func (*CreateGraphqlApiResponse) SDKResponseMetdata ¶
func (r *CreateGraphqlApiResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateGraphqlApi request.
type CreateResolverInput ¶
type CreateResolverInput struct { // The ID for the GraphQL API for which the resolver is being created. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The name of the data source for which the resolver is being created. DataSourceName *string `locationName:"dataSourceName" type:"string"` // The name of the field to attach the resolver to. // // FieldName is a required field FieldName *string `locationName:"fieldName" type:"string" required:"true"` // The resolver type. // // * UNIT: A UNIT resolver type. A UNIT resolver is the default resolver // type. A UNIT resolver enables you to execute a GraphQL query against a // single data source. // // * PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you // to execute a series of Function in a serial manner. You can use a pipeline // resolver to execute a GraphQL query against multiple data sources. Kind ResolverKind `locationName:"kind" type:"string" enum:"true"` // The PipelineConfig. PipelineConfig *PipelineConfig `locationName:"pipelineConfig" type:"structure"` // The mapping template to be used for requests. // // A resolver uses a request mapping template to convert a GraphQL expression // into a format that a data source can understand. Mapping templates are written // in Apache Velocity Template Language (VTL). // // RequestMappingTemplate is a required field RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string" required:"true"` // The mapping template to be used for responses from the data source. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` // The name of the Type. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateResolverRequest
func (CreateResolverInput) MarshalFields ¶
func (s CreateResolverInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateResolverInput) String ¶
func (s CreateResolverInput) String() string
String returns the string representation
func (*CreateResolverInput) Validate ¶
func (s *CreateResolverInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateResolverOutput ¶
type CreateResolverOutput struct { // The Resolver object. Resolver *Resolver `locationName:"resolver" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateResolverResponse
func (CreateResolverOutput) MarshalFields ¶
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 ¶
type CreateResolverResponse struct { *CreateResolverOutput // contains filtered or unexported fields }
CreateResolverResponse is the response type for the CreateResolver API operation.
func (*CreateResolverResponse) SDKResponseMetdata ¶
func (r *CreateResolverResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateResolver request.
type CreateTypeInput ¶
type CreateTypeInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The type definition, in GraphQL Schema Definition Language (SDL) format. // // For more information, see the GraphQL SDL documentation (http://graphql.org/learn/schema/). // // Definition is a required field Definition *string `locationName:"definition" type:"string" required:"true"` // The type format: SDL or JSON. // // Format is a required field Format TypeDefinitionFormat `locationName:"format" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateTypeRequest
func (CreateTypeInput) MarshalFields ¶
func (s CreateTypeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateTypeInput) String ¶
func (s CreateTypeInput) String() string
String returns the string representation
func (*CreateTypeInput) Validate ¶
func (s *CreateTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateTypeOutput ¶
type CreateTypeOutput struct { // The Type object. Type *Type `locationName:"type" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateTypeResponse
func (CreateTypeOutput) MarshalFields ¶
func (s CreateTypeOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateTypeOutput) String ¶
func (s CreateTypeOutput) String() string
String returns the string representation
type CreateTypeRequest ¶
type CreateTypeRequest struct { *aws.Request Input *CreateTypeInput Copy func(*CreateTypeInput) CreateTypeRequest }
CreateTypeRequest is the request type for the CreateType API operation.
func (CreateTypeRequest) Send ¶
func (r CreateTypeRequest) Send(ctx context.Context) (*CreateTypeResponse, error)
Send marshals and sends the CreateType API request.
type CreateTypeResponse ¶
type CreateTypeResponse struct { *CreateTypeOutput // contains filtered or unexported fields }
CreateTypeResponse is the response type for the CreateType API operation.
func (*CreateTypeResponse) SDKResponseMetdata ¶
func (r *CreateTypeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateType request.
type DataSource ¶
type DataSource struct { // The data source ARN. DataSourceArn *string `locationName:"dataSourceArn" type:"string"` // The description of the data source. Description *string `locationName:"description" type:"string"` // Amazon DynamoDB settings. DynamodbConfig *DynamodbDataSourceConfig `locationName:"dynamodbConfig" type:"structure"` // Amazon Elasticsearch Service settings. ElasticsearchConfig *ElasticsearchDataSourceConfig `locationName:"elasticsearchConfig" type:"structure"` // HTTP endpoint settings. HttpConfig *HttpDataSourceConfig `locationName:"httpConfig" type:"structure"` // AWS Lambda settings. LambdaConfig *LambdaDataSourceConfig `locationName:"lambdaConfig" type:"structure"` // The name of the data source. Name *string `locationName:"name" type:"string"` // Relational database settings. RelationalDatabaseConfig *RelationalDatabaseDataSourceConfig `locationName:"relationalDatabaseConfig" type:"structure"` // The AWS IAM service role ARN for the data source. The system assumes this // role when accessing the data source. ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"` // The type of the data source. // // * AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table. // // * AMAZON_ELASTICSEARCH: The data source is an Amazon Elasticsearch Service // domain. // // * AWS_LAMBDA: The data source is an AWS Lambda function. // // * NONE: There is no data source. This type is used when you wish to invoke // a GraphQL operation without connecting to a data source, such as performing // data transformation with resolvers or triggering a subscription to be // invoked from a mutation. // // * HTTP: The data source is an HTTP endpoint. // // * RELATIONAL_DATABASE: The data source is a relational database. Type DataSourceType `locationName:"type" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a data source. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DataSource
func (DataSource) MarshalFields ¶
func (s DataSource) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DataSource) String ¶
func (s DataSource) String() string
String returns the string representation
type DataSourceType ¶
type DataSourceType string
const ( DataSourceTypeAwsLambda DataSourceType = "AWS_LAMBDA" DataSourceTypeAmazonDynamodb DataSourceType = "AMAZON_DYNAMODB" DataSourceTypeAmazonElasticsearch DataSourceType = "AMAZON_ELASTICSEARCH" DataSourceTypeNone DataSourceType = "NONE" DataSourceTypeHttp DataSourceType = "HTTP" DataSourceTypeRelationalDatabase DataSourceType = "RELATIONAL_DATABASE" )
Enum values for DataSourceType
func (DataSourceType) MarshalValue ¶
func (enum DataSourceType) MarshalValue() (string, error)
func (DataSourceType) MarshalValueBuf ¶
func (enum DataSourceType) MarshalValueBuf(b []byte) ([]byte, error)
type DefaultAction ¶
type DefaultAction string
const ( DefaultActionAllow DefaultAction = "ALLOW" DefaultActionDeny DefaultAction = "DENY" )
Enum values for DefaultAction
func (DefaultAction) MarshalValue ¶
func (enum DefaultAction) MarshalValue() (string, error)
func (DefaultAction) MarshalValueBuf ¶
func (enum DefaultAction) MarshalValueBuf(b []byte) ([]byte, error)
type DeleteApiKeyInput ¶
type DeleteApiKeyInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The ID for the API key. // // Id is a required field Id *string `location:"uri" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiKeyRequest
func (DeleteApiKeyInput) MarshalFields ¶
func (s DeleteApiKeyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteApiKeyInput) String ¶
func (s DeleteApiKeyInput) String() string
String returns the string representation
func (*DeleteApiKeyInput) Validate ¶
func (s *DeleteApiKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteApiKeyOutput ¶
type DeleteApiKeyOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiKeyResponse
func (DeleteApiKeyOutput) MarshalFields ¶
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 ¶
type DeleteApiKeyResponse struct { *DeleteApiKeyOutput // contains filtered or unexported fields }
DeleteApiKeyResponse is the response type for the DeleteApiKey API operation.
func (*DeleteApiKeyResponse) SDKResponseMetdata ¶
func (r *DeleteApiKeyResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteApiKey request.
type DeleteDataSourceInput ¶
type DeleteDataSourceInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The name of the data source. // // Name is a required field Name *string `location:"uri" locationName:"name" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDataSourceRequest
func (DeleteDataSourceInput) MarshalFields ¶
func (s DeleteDataSourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteDataSourceInput) String ¶
func (s DeleteDataSourceInput) String() string
String returns the string representation
func (*DeleteDataSourceInput) Validate ¶
func (s *DeleteDataSourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDataSourceOutput ¶
type DeleteDataSourceOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDataSourceResponse
func (DeleteDataSourceOutput) MarshalFields ¶
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 ¶
type DeleteDataSourceResponse struct { *DeleteDataSourceOutput // contains filtered or unexported fields }
DeleteDataSourceResponse is the response type for the DeleteDataSource API operation.
func (*DeleteDataSourceResponse) SDKResponseMetdata ¶
func (r *DeleteDataSourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteDataSource request.
type DeleteFunctionInput ¶
type DeleteFunctionInput struct { // The GraphQL API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The Function ID. // // FunctionId is a required field FunctionId *string `location:"uri" locationName:"functionId" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteFunctionRequest
func (DeleteFunctionInput) MarshalFields ¶
func (s DeleteFunctionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteFunctionInput) String ¶
func (s DeleteFunctionInput) String() string
String returns the string representation
func (*DeleteFunctionInput) Validate ¶
func (s *DeleteFunctionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteFunctionOutput ¶
type DeleteFunctionOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteFunctionResponse
func (DeleteFunctionOutput) MarshalFields ¶
func (s DeleteFunctionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteFunctionOutput) String ¶
func (s DeleteFunctionOutput) String() string
String returns the string representation
type DeleteFunctionRequest ¶
type DeleteFunctionRequest struct { *aws.Request Input *DeleteFunctionInput Copy func(*DeleteFunctionInput) DeleteFunctionRequest }
DeleteFunctionRequest is the request type for the DeleteFunction API operation.
func (DeleteFunctionRequest) Send ¶
func (r DeleteFunctionRequest) Send(ctx context.Context) (*DeleteFunctionResponse, error)
Send marshals and sends the DeleteFunction API request.
type DeleteFunctionResponse ¶
type DeleteFunctionResponse struct { *DeleteFunctionOutput // contains filtered or unexported fields }
DeleteFunctionResponse is the response type for the DeleteFunction API operation.
func (*DeleteFunctionResponse) SDKResponseMetdata ¶
func (r *DeleteFunctionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteFunction request.
type DeleteGraphqlApiInput ¶
type DeleteGraphqlApiInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteGraphqlApiRequest
func (DeleteGraphqlApiInput) MarshalFields ¶
func (s DeleteGraphqlApiInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteGraphqlApiInput) String ¶
func (s DeleteGraphqlApiInput) String() string
String returns the string representation
func (*DeleteGraphqlApiInput) Validate ¶
func (s *DeleteGraphqlApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteGraphqlApiOutput ¶
type DeleteGraphqlApiOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteGraphqlApiResponse
func (DeleteGraphqlApiOutput) MarshalFields ¶
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 ¶
type DeleteGraphqlApiResponse struct { *DeleteGraphqlApiOutput // contains filtered or unexported fields }
DeleteGraphqlApiResponse is the response type for the DeleteGraphqlApi API operation.
func (*DeleteGraphqlApiResponse) SDKResponseMetdata ¶
func (r *DeleteGraphqlApiResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteGraphqlApi request.
type DeleteResolverInput ¶
type DeleteResolverInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The resolver field name. // // FieldName is a required field FieldName *string `location:"uri" locationName:"fieldName" type:"string" required:"true"` // The name of the resolver type. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteResolverRequest
func (DeleteResolverInput) MarshalFields ¶
func (s DeleteResolverInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteResolverInput) String ¶
func (s DeleteResolverInput) String() string
String returns the string representation
func (*DeleteResolverInput) Validate ¶
func (s *DeleteResolverInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteResolverOutput ¶
type DeleteResolverOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteResolverResponse
func (DeleteResolverOutput) MarshalFields ¶
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 ¶
type DeleteResolverResponse struct { *DeleteResolverOutput // contains filtered or unexported fields }
DeleteResolverResponse is the response type for the DeleteResolver API operation.
func (*DeleteResolverResponse) SDKResponseMetdata ¶
func (r *DeleteResolverResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteResolver request.
type DeleteTypeInput ¶
type DeleteTypeInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The type name. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteTypeRequest
func (DeleteTypeInput) MarshalFields ¶
func (s DeleteTypeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteTypeInput) String ¶
func (s DeleteTypeInput) String() string
String returns the string representation
func (*DeleteTypeInput) Validate ¶
func (s *DeleteTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteTypeOutput ¶
type DeleteTypeOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteTypeResponse
func (DeleteTypeOutput) MarshalFields ¶
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 ¶
type DeleteTypeResponse struct { *DeleteTypeOutput // contains filtered or unexported fields }
DeleteTypeResponse is the response type for the DeleteType API operation.
func (*DeleteTypeResponse) SDKResponseMetdata ¶
func (r *DeleteTypeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteType request.
type DynamodbDataSourceConfig ¶
type DynamodbDataSourceConfig struct { // The AWS Region. // // AwsRegion is a required field AwsRegion *string `locationName:"awsRegion" type:"string" required:"true"` // The table name. // // TableName is a required field TableName *string `locationName:"tableName" type:"string" required:"true"` // Set to TRUE to use Amazon Cognito credentials with this data source. UseCallerCredentials *bool `locationName:"useCallerCredentials" type:"boolean"` // contains filtered or unexported fields }
Describes an Amazon DynamoDB data source configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DynamodbDataSourceConfig
func (DynamodbDataSourceConfig) MarshalFields ¶
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ElasticsearchDataSourceConfig
func (ElasticsearchDataSourceConfig) MarshalFields ¶
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 ¶
type FieldLogLevel string
const ( FieldLogLevelNone FieldLogLevel = "NONE" FieldLogLevelError FieldLogLevel = "ERROR" FieldLogLevelAll FieldLogLevel = "ALL" )
Enum values for FieldLogLevel
func (FieldLogLevel) MarshalValue ¶
func (enum FieldLogLevel) MarshalValue() (string, error)
func (FieldLogLevel) MarshalValueBuf ¶
func (enum FieldLogLevel) MarshalValueBuf(b []byte) ([]byte, error)
type FunctionConfiguration ¶
type FunctionConfiguration struct { // The name of the DataSource. DataSourceName *string `locationName:"dataSourceName" type:"string"` // The Function description. Description *string `locationName:"description" type:"string"` // The ARN of the Function object. FunctionArn *string `locationName:"functionArn" type:"string"` // A unique ID representing the Function object. FunctionId *string `locationName:"functionId" type:"string"` // The version of the request mapping template. Currently only the 2018-05-29 // version of the template is supported. FunctionVersion *string `locationName:"functionVersion" type:"string"` // The name of the Function object. Name *string `locationName:"name" type:"string"` // The Function request mapping template. Functions support only the 2018-05-29 // version of the request mapping template. RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string"` // The Function response mapping template. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` // contains filtered or unexported fields }
A function is a reusable entity. Multiple functions can be used to compose the resolver logic. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/FunctionConfiguration
func (FunctionConfiguration) MarshalFields ¶
func (s FunctionConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (FunctionConfiguration) String ¶
func (s FunctionConfiguration) String() string
String returns the string representation
type GetDataSourceInput ¶
type GetDataSourceInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The name of the data source. // // Name is a required field Name *string `location:"uri" locationName:"name" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDataSourceRequest
func (GetDataSourceInput) MarshalFields ¶
func (s GetDataSourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetDataSourceInput) String ¶
func (s GetDataSourceInput) String() string
String returns the string representation
func (*GetDataSourceInput) Validate ¶
func (s *GetDataSourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDataSourceOutput ¶
type GetDataSourceOutput struct { // The DataSource object. DataSource *DataSource `locationName:"dataSource" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDataSourceResponse
func (GetDataSourceOutput) MarshalFields ¶
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 ¶
type GetDataSourceResponse struct { *GetDataSourceOutput // contains filtered or unexported fields }
GetDataSourceResponse is the response type for the GetDataSource API operation.
func (*GetDataSourceResponse) SDKResponseMetdata ¶
func (r *GetDataSourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetDataSource request.
type GetFunctionInput ¶
type GetFunctionInput struct { // The GraphQL API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The Function ID. // // FunctionId is a required field FunctionId *string `location:"uri" locationName:"functionId" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetFunctionRequest
func (GetFunctionInput) MarshalFields ¶
func (s GetFunctionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetFunctionInput) String ¶
func (s GetFunctionInput) String() string
String returns the string representation
func (*GetFunctionInput) Validate ¶
func (s *GetFunctionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetFunctionOutput ¶
type GetFunctionOutput struct { // The Function object. FunctionConfiguration *FunctionConfiguration `locationName:"functionConfiguration" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetFunctionResponse
func (GetFunctionOutput) MarshalFields ¶
func (s GetFunctionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetFunctionOutput) String ¶
func (s GetFunctionOutput) String() string
String returns the string representation
type GetFunctionRequest ¶
type GetFunctionRequest struct { *aws.Request Input *GetFunctionInput Copy func(*GetFunctionInput) GetFunctionRequest }
GetFunctionRequest is the request type for the GetFunction API operation.
func (GetFunctionRequest) Send ¶
func (r GetFunctionRequest) Send(ctx context.Context) (*GetFunctionResponse, error)
Send marshals and sends the GetFunction API request.
type GetFunctionResponse ¶
type GetFunctionResponse struct { *GetFunctionOutput // contains filtered or unexported fields }
GetFunctionResponse is the response type for the GetFunction API operation.
func (*GetFunctionResponse) SDKResponseMetdata ¶
func (r *GetFunctionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetFunction request.
type GetGraphqlApiInput ¶
type GetGraphqlApiInput struct { // The API ID for the GraphQL API. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApiRequest
func (GetGraphqlApiInput) MarshalFields ¶
func (s GetGraphqlApiInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetGraphqlApiInput) String ¶
func (s GetGraphqlApiInput) String() string
String returns the string representation
func (*GetGraphqlApiInput) Validate ¶
func (s *GetGraphqlApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetGraphqlApiOutput ¶
type GetGraphqlApiOutput struct { // The GraphqlApi object. GraphqlApi *GraphqlApi `locationName:"graphqlApi" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApiResponse
func (GetGraphqlApiOutput) MarshalFields ¶
func (s GetGraphqlApiOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetGraphqlApiOutput) String ¶
func (s GetGraphqlApiOutput) String() string
String returns the string representation
type GetGraphqlApiRequest ¶
type GetGraphqlApiRequest struct { *aws.Request Input *GetGraphqlApiInput Copy func(*GetGraphqlApiInput) GetGraphqlApiRequest }
GetGraphqlApiRequest is the request type for the GetGraphqlApi API operation.
func (GetGraphqlApiRequest) Send ¶
func (r GetGraphqlApiRequest) Send(ctx context.Context) (*GetGraphqlApiResponse, error)
Send marshals and sends the GetGraphqlApi API request.
type GetGraphqlApiResponse ¶
type GetGraphqlApiResponse struct { *GetGraphqlApiOutput // contains filtered or unexported fields }
GetGraphqlApiResponse is the response type for the GetGraphqlApi API operation.
func (*GetGraphqlApiResponse) SDKResponseMetdata ¶
func (r *GetGraphqlApiResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetGraphqlApi request.
type GetIntrospectionSchemaInput ¶
type GetIntrospectionSchemaInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The schema format: SDL or JSON. // // Format is a required field Format OutputType `location:"querystring" locationName:"format" type:"string" required:"true" enum:"true"` // A flag that specifies whether the schema introspection should contain directives. IncludeDirectives *bool `location:"querystring" locationName:"includeDirectives" type:"boolean"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetIntrospectionSchemaRequest
func (GetIntrospectionSchemaInput) MarshalFields ¶
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetIntrospectionSchemaResponse
func (GetIntrospectionSchemaOutput) MarshalFields ¶
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 ¶
type GetIntrospectionSchemaResponse struct { *GetIntrospectionSchemaOutput // contains filtered or unexported fields }
GetIntrospectionSchemaResponse is the response type for the GetIntrospectionSchema API operation.
func (*GetIntrospectionSchemaResponse) SDKResponseMetdata ¶
func (r *GetIntrospectionSchemaResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetIntrospectionSchema request.
type GetResolverInput ¶
type GetResolverInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The resolver field name. // // FieldName is a required field FieldName *string `location:"uri" locationName:"fieldName" type:"string" required:"true"` // The resolver type name. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetResolverRequest
func (GetResolverInput) MarshalFields ¶
func (s GetResolverInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetResolverInput) String ¶
func (s GetResolverInput) String() string
String returns the string representation
func (*GetResolverInput) Validate ¶
func (s *GetResolverInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetResolverOutput ¶
type GetResolverOutput struct { // The Resolver object. Resolver *Resolver `locationName:"resolver" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetResolverResponse
func (GetResolverOutput) MarshalFields ¶
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 ¶
type GetResolverResponse struct { *GetResolverOutput // contains filtered or unexported fields }
GetResolverResponse is the response type for the GetResolver API operation.
func (*GetResolverResponse) SDKResponseMetdata ¶
func (r *GetResolverResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetResolver request.
type GetSchemaCreationStatusInput ¶
type GetSchemaCreationStatusInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSchemaCreationStatusRequest
func (GetSchemaCreationStatusInput) MarshalFields ¶
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSchemaCreationStatusResponse
func (GetSchemaCreationStatusOutput) MarshalFields ¶
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 ¶
type GetSchemaCreationStatusResponse struct { *GetSchemaCreationStatusOutput // contains filtered or unexported fields }
GetSchemaCreationStatusResponse is the response type for the GetSchemaCreationStatus API operation.
func (*GetSchemaCreationStatusResponse) SDKResponseMetdata ¶
func (r *GetSchemaCreationStatusResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetSchemaCreationStatus request.
type GetTypeInput ¶
type GetTypeInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The type format: SDL or JSON. // // Format is a required field Format TypeDefinitionFormat `location:"querystring" locationName:"format" type:"string" required:"true" enum:"true"` // The type name. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetTypeRequest
func (GetTypeInput) MarshalFields ¶
func (s GetTypeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetTypeInput) String ¶
func (s GetTypeInput) String() string
String returns the string representation
func (*GetTypeInput) Validate ¶
func (s *GetTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetTypeOutput ¶
type GetTypeOutput struct { // The Type object. Type *Type `locationName:"type" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetTypeResponse
func (GetTypeOutput) MarshalFields ¶
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 ¶
type GetTypeResponse struct { *GetTypeOutput // contains filtered or unexported fields }
GetTypeResponse is the response type for the GetType API operation.
func (*GetTypeResponse) SDKResponseMetdata ¶
func (r *GetTypeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetType request.
type GraphqlApi ¶
type GraphqlApi struct { // A list of additional authentication providers for the GraphqlApi API. AdditionalAuthenticationProviders []AdditionalAuthenticationProvider `locationName:"additionalAuthenticationProviders" type:"list"` // The API ID. ApiId *string `locationName:"apiId" type:"string"` // The ARN. Arn *string `locationName:"arn" type:"string"` // The authentication type. AuthenticationType AuthenticationType `locationName:"authenticationType" type:"string" enum:"true"` // The Amazon CloudWatch Logs configuration. LogConfig *LogConfig `locationName:"logConfig" type:"structure"` // The API name. Name *string `locationName:"name" type:"string"` // The OpenID Connect configuration. OpenIDConnectConfig *OpenIDConnectConfig `locationName:"openIDConnectConfig" type:"structure"` // The tags. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // The URIs. Uris map[string]string `locationName:"uris" type:"map"` // The Amazon Cognito user pool configuration. UserPoolConfig *UserPoolConfig `locationName:"userPoolConfig" type:"structure"` // contains filtered or unexported fields }
Describes a GraphQL API. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GraphqlApi
func (GraphqlApi) MarshalFields ¶
func (s GraphqlApi) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GraphqlApi) String ¶
func (s GraphqlApi) String() string
String returns the string representation
type HttpDataSourceConfig ¶
type HttpDataSourceConfig struct { // The authorization config in case the HTTP endpoint requires authorization. AuthorizationConfig *AuthorizationConfig `locationName:"authorizationConfig" type:"structure"` // The HTTP URL endpoint. You can either specify the domain name or IP, and // port combination, and the URL scheme must be HTTP or HTTPS. If the port is // not specified, AWS AppSync uses the default port 80 for the HTTP endpoint // and port 443 for HTTPS endpoints. Endpoint *string `locationName:"endpoint" type:"string"` // contains filtered or unexported fields }
Describes an HTTP data source configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/HttpDataSourceConfig
func (HttpDataSourceConfig) MarshalFields ¶
func (s HttpDataSourceConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HttpDataSourceConfig) String ¶
func (s HttpDataSourceConfig) String() string
String returns the string representation
func (*HttpDataSourceConfig) Validate ¶
func (s *HttpDataSourceConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LambdaDataSourceConfig ¶
type LambdaDataSourceConfig struct { // The ARN for the Lambda function. // // LambdaFunctionArn is a required field LambdaFunctionArn *string `locationName:"lambdaFunctionArn" type:"string" required:"true"` // contains filtered or unexported fields }
Describes an AWS Lambda data source configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/LambdaDataSourceConfig
func (LambdaDataSourceConfig) MarshalFields ¶
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" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeysRequest
func (ListApiKeysInput) MarshalFields ¶
func (s ListApiKeysInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListApiKeysInput) String ¶
func (s ListApiKeysInput) String() string
String returns the string representation
func (*ListApiKeysInput) Validate ¶
func (s *ListApiKeysInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListApiKeysOutput ¶
type ListApiKeysOutput struct { // The ApiKey objects. ApiKeys []ApiKey `locationName:"apiKeys" type:"list"` // An identifier to be passed in the next request to this operation to return // the next set of items in the list. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeysResponse
func (ListApiKeysOutput) MarshalFields ¶
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 ¶
type ListApiKeysResponse struct { *ListApiKeysOutput // contains filtered or unexported fields }
ListApiKeysResponse is the response type for the ListApiKeys API operation.
func (*ListApiKeysResponse) SDKResponseMetdata ¶
func (r *ListApiKeysResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListApiKeys request.
type ListDataSourcesInput ¶
type ListDataSourcesInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The maximum number of results you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDataSourcesRequest
func (ListDataSourcesInput) MarshalFields ¶
func (s ListDataSourcesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListDataSourcesInput) String ¶
func (s ListDataSourcesInput) String() string
String returns the string representation
func (*ListDataSourcesInput) Validate ¶
func (s *ListDataSourcesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListDataSourcesOutput ¶
type ListDataSourcesOutput struct { // The DataSource objects. DataSources []DataSource `locationName:"dataSources" type:"list"` // An identifier to be passed in the next request to this operation to return // the next set of items in the list. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDataSourcesResponse
func (ListDataSourcesOutput) MarshalFields ¶
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 ¶
type ListDataSourcesResponse struct { *ListDataSourcesOutput // contains filtered or unexported fields }
ListDataSourcesResponse is the response type for the ListDataSources API operation.
func (*ListDataSourcesResponse) SDKResponseMetdata ¶
func (r *ListDataSourcesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListDataSources request.
type ListFunctionsInput ¶
type ListFunctionsInput struct { // The GraphQL API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The maximum number of results you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListFunctionsRequest
func (ListFunctionsInput) MarshalFields ¶
func (s ListFunctionsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListFunctionsInput) String ¶
func (s ListFunctionsInput) String() string
String returns the string representation
func (*ListFunctionsInput) Validate ¶
func (s *ListFunctionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListFunctionsOutput ¶
type ListFunctionsOutput struct { // A list of Function objects. Functions []FunctionConfiguration `locationName:"functions" type:"list"` // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListFunctionsResponse
func (ListFunctionsOutput) MarshalFields ¶
func (s ListFunctionsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListFunctionsOutput) String ¶
func (s ListFunctionsOutput) String() string
String returns the string representation
type ListFunctionsRequest ¶
type ListFunctionsRequest struct { *aws.Request Input *ListFunctionsInput Copy func(*ListFunctionsInput) ListFunctionsRequest }
ListFunctionsRequest is the request type for the ListFunctions API operation.
func (ListFunctionsRequest) Send ¶
func (r ListFunctionsRequest) Send(ctx context.Context) (*ListFunctionsResponse, error)
Send marshals and sends the ListFunctions API request.
type ListFunctionsResponse ¶
type ListFunctionsResponse struct { *ListFunctionsOutput // contains filtered or unexported fields }
ListFunctionsResponse is the response type for the ListFunctions API operation.
func (*ListFunctionsResponse) SDKResponseMetdata ¶
func (r *ListFunctionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListFunctions request.
type ListGraphqlApisInput ¶
type ListGraphqlApisInput struct { // The maximum number of results you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApisRequest
func (ListGraphqlApisInput) MarshalFields ¶
func (s ListGraphqlApisInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListGraphqlApisInput) String ¶
func (s ListGraphqlApisInput) String() string
String returns the string representation
type ListGraphqlApisOutput ¶
type ListGraphqlApisOutput struct { // The GraphqlApi objects. GraphqlApis []GraphqlApi `locationName:"graphqlApis" type:"list"` // An identifier to be passed in the next request to this operation to return // the next set of items in the list. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApisResponse
func (ListGraphqlApisOutput) MarshalFields ¶
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 ¶
type ListGraphqlApisResponse struct { *ListGraphqlApisOutput // contains filtered or unexported fields }
ListGraphqlApisResponse is the response type for the ListGraphqlApis API operation.
func (*ListGraphqlApisResponse) SDKResponseMetdata ¶
func (r *ListGraphqlApisResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListGraphqlApis request.
type ListResolversByFunctionInput ¶
type ListResolversByFunctionInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The Function ID. // // FunctionId is a required field FunctionId *string `location:"uri" locationName:"functionId" type:"string" required:"true"` // The maximum number of results you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which you can use to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolversByFunctionRequest
func (ListResolversByFunctionInput) MarshalFields ¶
func (s ListResolversByFunctionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListResolversByFunctionInput) String ¶
func (s ListResolversByFunctionInput) String() string
String returns the string representation
func (*ListResolversByFunctionInput) Validate ¶
func (s *ListResolversByFunctionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListResolversByFunctionOutput ¶
type ListResolversByFunctionOutput struct { // An identifier that can be used to return the next set of items in the list. NextToken *string `locationName:"nextToken" type:"string"` // The list of resolvers. Resolvers []Resolver `locationName:"resolvers" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolversByFunctionResponse
func (ListResolversByFunctionOutput) MarshalFields ¶
func (s ListResolversByFunctionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListResolversByFunctionOutput) String ¶
func (s ListResolversByFunctionOutput) String() string
String returns the string representation
type ListResolversByFunctionRequest ¶
type ListResolversByFunctionRequest struct { *aws.Request Input *ListResolversByFunctionInput Copy func(*ListResolversByFunctionInput) ListResolversByFunctionRequest }
ListResolversByFunctionRequest is the request type for the ListResolversByFunction API operation.
func (ListResolversByFunctionRequest) Send ¶
func (r ListResolversByFunctionRequest) Send(ctx context.Context) (*ListResolversByFunctionResponse, error)
Send marshals and sends the ListResolversByFunction API request.
type ListResolversByFunctionResponse ¶
type ListResolversByFunctionResponse struct { *ListResolversByFunctionOutput // contains filtered or unexported fields }
ListResolversByFunctionResponse is the response type for the ListResolversByFunction API operation.
func (*ListResolversByFunctionResponse) SDKResponseMetdata ¶
func (r *ListResolversByFunctionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListResolversByFunction request.
type ListResolversInput ¶
type ListResolversInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The maximum number of results you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The type name. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolversRequest
func (ListResolversInput) MarshalFields ¶
func (s ListResolversInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListResolversInput) String ¶
func (s ListResolversInput) String() string
String returns the string representation
func (*ListResolversInput) Validate ¶
func (s *ListResolversInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListResolversOutput ¶
type ListResolversOutput struct { // An identifier to be passed in the next request to this operation to return // the next set of items in the list. NextToken *string `locationName:"nextToken" type:"string"` // The Resolver objects. Resolvers []Resolver `locationName:"resolvers" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolversResponse
func (ListResolversOutput) MarshalFields ¶
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 ¶
type ListResolversResponse struct { *ListResolversOutput // contains filtered or unexported fields }
ListResolversResponse is the response type for the ListResolvers API operation.
func (*ListResolversResponse) SDKResponseMetdata ¶
func (r *ListResolversResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListResolvers request.
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The GraphqlApi ARN. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" min:"70" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTagsForResourceRequest
func (ListTagsForResourceInput) MarshalFields ¶
func (s ListTagsForResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTagsForResourceInput) String ¶
func (s ListTagsForResourceInput) String() string
String returns the string representation
func (*ListTagsForResourceInput) Validate ¶
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // A TagMap object. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTagsForResourceResponse
func (ListTagsForResourceOutput) MarshalFields ¶
func (s ListTagsForResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTagsForResourceOutput) String ¶
func (s ListTagsForResourceOutput) String() string
String returns the string representation
type ListTagsForResourceRequest ¶
type ListTagsForResourceRequest struct { *aws.Request Input *ListTagsForResourceInput Copy func(*ListTagsForResourceInput) ListTagsForResourceRequest }
ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.
func (ListTagsForResourceRequest) Send ¶
func (r ListTagsForResourceRequest) Send(ctx context.Context) (*ListTagsForResourceResponse, error)
Send marshals and sends the ListTagsForResource API request.
type ListTagsForResourceResponse ¶
type ListTagsForResourceResponse struct { *ListTagsForResourceOutput // contains filtered or unexported fields }
ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.
func (*ListTagsForResourceResponse) SDKResponseMetdata ¶
func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListTagsForResource request.
type ListTypesInput ¶
type ListTypesInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The type format: SDL or JSON. // // Format is a required field Format TypeDefinitionFormat `location:"querystring" locationName:"format" type:"string" required:"true" enum:"true"` // The maximum number of results you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypesRequest
func (ListTypesInput) MarshalFields ¶
func (s ListTypesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTypesInput) String ¶
func (s ListTypesInput) String() string
String returns the string representation
func (*ListTypesInput) Validate ¶
func (s *ListTypesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTypesOutput ¶
type ListTypesOutput struct { // An identifier to be passed in the next request to this operation to return // the next set of items in the list. NextToken *string `locationName:"nextToken" type:"string"` // The Type objects. Types []Type `locationName:"types" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypesResponse
func (ListTypesOutput) MarshalFields ¶
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 ¶
type ListTypesResponse struct { *ListTypesOutput // contains filtered or unexported fields }
ListTypesResponse is the response type for the ListTypes API operation.
func (*ListTypesResponse) SDKResponseMetdata ¶
func (r *ListTypesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListTypes request.
type LogConfig ¶
type LogConfig struct { // The service role that AWS AppSync will assume to publish to Amazon CloudWatch // logs in your account. // // CloudWatchLogsRoleArn is a required field CloudWatchLogsRoleArn *string `locationName:"cloudWatchLogsRoleArn" type:"string" required:"true"` // Set to TRUE to exclude sections that contain information such as headers, // context, and evaluated mapping templates, regardless of logging level. ExcludeVerboseContent *bool `locationName:"excludeVerboseContent" type:"boolean"` // The field logging level. Values can be NONE, ERROR, or ALL. // // * NONE: No field-level logs are captured. // // * ERROR: Logs the following information only for the fields that are in // error: The error section in the server response. Field-level errors. The // generated request/response functions that got resolved for error fields. // // * ALL: The following information is logged for all fields in the query: // Field-level tracing information. The generated request/response functions // that got resolved for each field. // // FieldLogLevel is a required field FieldLogLevel FieldLogLevel `locationName:"fieldLogLevel" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
The CloudWatch Logs configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/LogConfig
func (LogConfig) MarshalFields ¶
func (s LogConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (LogConfig) String ¶
String returns the string representation
func (*LogConfig) Validate ¶
Validate inspects the fields of the type to determine if they are valid.
type OpenIDConnectConfig ¶
type OpenIDConnectConfig struct { // The number of milliseconds a token is valid after being authenticated. AuthTTL *int64 `locationName:"authTTL" type:"long"` // The client identifier of the Relying party at the OpenID identity provider. // This identifier is typically obtained when the Relying party is registered // with the OpenID identity provider. You can specify a regular expression so // the AWS AppSync can validate against multiple client identifiers at a time. ClientId *string `locationName:"clientId" type:"string"` // The number of milliseconds a token is valid after being issued to a user. IatTTL *int64 `locationName:"iatTTL" type:"long"` // The issuer for the OpenID Connect configuration. The issuer returned by discovery // must exactly match the value of iss in the ID token. // // Issuer is a required field Issuer *string `locationName:"issuer" type:"string" required:"true"` // contains filtered or unexported fields }
Describes an OpenID Connect configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/OpenIDConnectConfig
func (OpenIDConnectConfig) MarshalFields ¶
func (s OpenIDConnectConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (OpenIDConnectConfig) String ¶
func (s OpenIDConnectConfig) String() string
String returns the string representation
func (*OpenIDConnectConfig) Validate ¶
func (s *OpenIDConnectConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type OutputType ¶
type OutputType string
const ( OutputTypeSdl OutputType = "SDL" OutputTypeJson OutputType = "JSON" )
Enum values for OutputType
func (OutputType) MarshalValue ¶
func (enum OutputType) MarshalValue() (string, error)
func (OutputType) MarshalValueBuf ¶
func (enum OutputType) MarshalValueBuf(b []byte) ([]byte, error)
type PipelineConfig ¶
type PipelineConfig struct { // A list of Function objects. Functions []string `locationName:"functions" type:"list"` // contains filtered or unexported fields }
The pipeline configuration for a resolver of kind PIPELINE. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/PipelineConfig
func (PipelineConfig) MarshalFields ¶
func (s PipelineConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PipelineConfig) String ¶
func (s PipelineConfig) String() string
String returns the string representation
type RdsHttpEndpointConfig ¶
type RdsHttpEndpointConfig struct { // AWS Region for RDS HTTP endpoint. AwsRegion *string `locationName:"awsRegion" type:"string"` // AWS secret store ARN for database credentials. AwsSecretStoreArn *string `locationName:"awsSecretStoreArn" type:"string"` // Logical database name. DatabaseName *string `locationName:"databaseName" type:"string"` // Amazon RDS cluster identifier. DbClusterIdentifier *string `locationName:"dbClusterIdentifier" type:"string"` // Logical schema name. Schema *string `locationName:"schema" type:"string"` // contains filtered or unexported fields }
The Amazon RDS HTTP endpoint configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/RdsHttpEndpointConfig
func (RdsHttpEndpointConfig) MarshalFields ¶
func (s RdsHttpEndpointConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RdsHttpEndpointConfig) String ¶
func (s RdsHttpEndpointConfig) String() string
String returns the string representation
type RelationalDatabaseDataSourceConfig ¶
type RelationalDatabaseDataSourceConfig struct { // Amazon RDS HTTP endpoint settings. RdsHttpEndpointConfig *RdsHttpEndpointConfig `locationName:"rdsHttpEndpointConfig" type:"structure"` // Source type for the relational database. // // * RDS_HTTP_ENDPOINT: The relational database source type is an Amazon // RDS HTTP endpoint. RelationalDatabaseSourceType RelationalDatabaseSourceType `locationName:"relationalDatabaseSourceType" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a relational database data source configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/RelationalDatabaseDataSourceConfig
func (RelationalDatabaseDataSourceConfig) MarshalFields ¶
func (s RelationalDatabaseDataSourceConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RelationalDatabaseDataSourceConfig) String ¶
func (s RelationalDatabaseDataSourceConfig) String() string
String returns the string representation
type RelationalDatabaseSourceType ¶
type RelationalDatabaseSourceType string
const ( RelationalDatabaseSourceTypeRdsHttpEndpoint RelationalDatabaseSourceType = "RDS_HTTP_ENDPOINT" )
Enum values for RelationalDatabaseSourceType
func (RelationalDatabaseSourceType) MarshalValue ¶
func (enum RelationalDatabaseSourceType) MarshalValue() (string, error)
func (RelationalDatabaseSourceType) MarshalValueBuf ¶
func (enum RelationalDatabaseSourceType) MarshalValueBuf(b []byte) ([]byte, error)
type Resolver ¶
type Resolver struct { // The resolver data source name. DataSourceName *string `locationName:"dataSourceName" type:"string"` // The resolver field name. FieldName *string `locationName:"fieldName" type:"string"` // The resolver type. // // * UNIT: A UNIT resolver type. A UNIT resolver is the default resolver // type. A UNIT resolver enables you to execute a GraphQL query against a // single data source. // // * PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you // to execute a series of Function in a serial manner. You can use a pipeline // resolver to execute a GraphQL query against multiple data sources. Kind ResolverKind `locationName:"kind" type:"string" enum:"true"` // The PipelineConfig. PipelineConfig *PipelineConfig `locationName:"pipelineConfig" type:"structure"` // The request mapping template. RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string"` // The resolver ARN. ResolverArn *string `locationName:"resolverArn" type:"string"` // The response mapping template. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` // The resolver type name. TypeName *string `locationName:"typeName" type:"string"` // contains filtered or unexported fields }
Describes a resolver. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/Resolver
func (Resolver) MarshalFields ¶
func (s Resolver) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Resolver) String ¶
String returns the string representation
type ResolverKind ¶
type ResolverKind string
const ( ResolverKindUnit ResolverKind = "UNIT" ResolverKindPipeline ResolverKind = "PIPELINE" )
Enum values for ResolverKind
func (ResolverKind) MarshalValue ¶
func (enum ResolverKind) MarshalValue() (string, error)
func (ResolverKind) MarshalValueBuf ¶
func (enum ResolverKind) MarshalValueBuf(b []byte) ([]byte, error)
type SchemaStatus ¶
type SchemaStatus string
const ( SchemaStatusProcessing SchemaStatus = "PROCESSING" SchemaStatusActive SchemaStatus = "ACTIVE" SchemaStatusDeleting SchemaStatus = "DELETING" SchemaStatusFailed SchemaStatus = "FAILED" SchemaStatusSuccess SchemaStatus = "SUCCESS" SchemaStatusNotApplicable SchemaStatus = "NOT_APPLICABLE" )
Enum values for SchemaStatus
func (SchemaStatus) MarshalValue ¶
func (enum SchemaStatus) MarshalValue() (string, error)
func (SchemaStatus) MarshalValueBuf ¶
func (enum SchemaStatus) MarshalValueBuf(b []byte) ([]byte, error)
type StartSchemaCreationInput ¶
type StartSchemaCreationInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The schema definition, in GraphQL schema language format. // // Definition is automatically base64 encoded/decoded by the SDK. // // Definition is a required field Definition []byte `locationName:"definition" type:"blob" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaCreationRequest
func (StartSchemaCreationInput) MarshalFields ¶
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaCreationResponse
func (StartSchemaCreationOutput) MarshalFields ¶
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 ¶
type StartSchemaCreationResponse struct { *StartSchemaCreationOutput // contains filtered or unexported fields }
StartSchemaCreationResponse is the response type for the StartSchemaCreation API operation.
func (*StartSchemaCreationResponse) SDKResponseMetdata ¶
func (r *StartSchemaCreationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StartSchemaCreation request.
type TagResourceInput ¶
type TagResourceInput struct { // The GraphqlApi ARN. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" min:"70" type:"string" required:"true"` // A TagMap object. // // Tags is a required field Tags map[string]string `locationName:"tags" min:"1" type:"map" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/TagResourceRequest
func (TagResourceInput) MarshalFields ¶
func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceInput) String ¶
func (s TagResourceInput) String() string
String returns the string representation
func (*TagResourceInput) Validate ¶
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶
type TagResourceOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/TagResourceResponse
func (TagResourceOutput) MarshalFields ¶
func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceOutput) String ¶
func (s TagResourceOutput) String() string
String returns the string representation
type TagResourceRequest ¶
type TagResourceRequest struct { *aws.Request Input *TagResourceInput Copy func(*TagResourceInput) TagResourceRequest }
TagResourceRequest is the request type for the TagResource API operation.
func (TagResourceRequest) Send ¶
func (r TagResourceRequest) Send(ctx context.Context) (*TagResourceResponse, error)
Send marshals and sends the TagResource API request.
type TagResourceResponse ¶
type TagResourceResponse struct { *TagResourceOutput // contains filtered or unexported fields }
TagResourceResponse is the response type for the TagResource API operation.
func (*TagResourceResponse) SDKResponseMetdata ¶
func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the TagResource request.
type Type ¶
type Type struct { // The type ARN. Arn *string `locationName:"arn" type:"string"` // The type definition. Definition *string `locationName:"definition" type:"string"` // The type description. Description *string `locationName:"description" type:"string"` // The type format: SDL or JSON. Format TypeDefinitionFormat `locationName:"format" type:"string" enum:"true"` // The type name. Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
Describes a type. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/Type
func (Type) MarshalFields ¶
func (s Type) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Type) String ¶
String returns the string representation
type TypeDefinitionFormat ¶
type TypeDefinitionFormat string
const ( TypeDefinitionFormatSdl TypeDefinitionFormat = "SDL" TypeDefinitionFormatJson TypeDefinitionFormat = "JSON" )
Enum values for TypeDefinitionFormat
func (TypeDefinitionFormat) MarshalValue ¶
func (enum TypeDefinitionFormat) MarshalValue() (string, error)
func (TypeDefinitionFormat) MarshalValueBuf ¶
func (enum TypeDefinitionFormat) MarshalValueBuf(b []byte) ([]byte, error)
type UntagResourceInput ¶
type UntagResourceInput struct { // The GraphqlApi ARN. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" min:"70" type:"string" required:"true"` // A list of TagKey objects. // // TagKeys is a required field TagKeys []string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UntagResourceRequest
func (UntagResourceInput) MarshalFields ¶
func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceInput) String ¶
func (s UntagResourceInput) String() string
String returns the string representation
func (*UntagResourceInput) Validate ¶
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UntagResourceResponse
func (UntagResourceOutput) MarshalFields ¶
func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation
type UntagResourceRequest ¶
type UntagResourceRequest struct { *aws.Request Input *UntagResourceInput Copy func(*UntagResourceInput) UntagResourceRequest }
UntagResourceRequest is the request type for the UntagResource API operation.
func (UntagResourceRequest) Send ¶
func (r UntagResourceRequest) Send(ctx context.Context) (*UntagResourceResponse, error)
Send marshals and sends the UntagResource API request.
type UntagResourceResponse ¶
type UntagResourceResponse struct { *UntagResourceOutput // contains filtered or unexported fields }
UntagResourceResponse is the response type for the UntagResource API operation.
func (*UntagResourceResponse) SDKResponseMetdata ¶
func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UntagResource request.
type UpdateApiKeyInput ¶
type UpdateApiKeyInput struct { // The ID for the GraphQL API. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // A description of the purpose of the API key. Description *string `locationName:"description" type:"string"` // The time from update time after which the API key expires. The date is represented // as seconds since the epoch. For more information, see . Expires *int64 `locationName:"expires" type:"long"` // The API key ID. // // Id is a required field Id *string `location:"uri" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiKeyRequest
func (UpdateApiKeyInput) MarshalFields ¶
func (s UpdateApiKeyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateApiKeyInput) String ¶
func (s UpdateApiKeyInput) String() string
String returns the string representation
func (*UpdateApiKeyInput) Validate ¶
func (s *UpdateApiKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateApiKeyOutput ¶
type UpdateApiKeyOutput struct { // The API key. ApiKey *ApiKey `locationName:"apiKey" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiKeyResponse
func (UpdateApiKeyOutput) MarshalFields ¶
func (s UpdateApiKeyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateApiKeyOutput) String ¶
func (s UpdateApiKeyOutput) String() string
String returns the string representation
type UpdateApiKeyRequest ¶
type UpdateApiKeyRequest struct { *aws.Request Input *UpdateApiKeyInput Copy func(*UpdateApiKeyInput) UpdateApiKeyRequest }
UpdateApiKeyRequest is the request type for the UpdateApiKey API operation.
func (UpdateApiKeyRequest) Send ¶
func (r UpdateApiKeyRequest) Send(ctx context.Context) (*UpdateApiKeyResponse, error)
Send marshals and sends the UpdateApiKey API request.
type UpdateApiKeyResponse ¶
type UpdateApiKeyResponse struct { *UpdateApiKeyOutput // contains filtered or unexported fields }
UpdateApiKeyResponse is the response type for the UpdateApiKey API operation.
func (*UpdateApiKeyResponse) SDKResponseMetdata ¶
func (r *UpdateApiKeyResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateApiKey request.
type UpdateDataSourceInput ¶
type UpdateDataSourceInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The new description for the data source. Description *string `locationName:"description" type:"string"` // The new Amazon DynamoDB configuration. DynamodbConfig *DynamodbDataSourceConfig `locationName:"dynamodbConfig" type:"structure"` // The new Elasticsearch Service configuration. ElasticsearchConfig *ElasticsearchDataSourceConfig `locationName:"elasticsearchConfig" type:"structure"` // The new HTTP endpoint configuration. HttpConfig *HttpDataSourceConfig `locationName:"httpConfig" type:"structure"` // The new AWS Lambda configuration. LambdaConfig *LambdaDataSourceConfig `locationName:"lambdaConfig" type:"structure"` // The new name for the data source. // // Name is a required field Name *string `location:"uri" locationName:"name" type:"string" required:"true"` // The new relational database configuration. RelationalDatabaseConfig *RelationalDatabaseDataSourceConfig `locationName:"relationalDatabaseConfig" type:"structure"` // The new service role ARN for the data source. ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"` // The new data source type. // // Type is a required field Type DataSourceType `locationName:"type" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDataSourceRequest
func (UpdateDataSourceInput) MarshalFields ¶
func (s UpdateDataSourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateDataSourceInput) String ¶
func (s UpdateDataSourceInput) String() string
String returns the string representation
func (*UpdateDataSourceInput) Validate ¶
func (s *UpdateDataSourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateDataSourceOutput ¶
type UpdateDataSourceOutput struct { // The updated DataSource object. DataSource *DataSource `locationName:"dataSource" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDataSourceResponse
func (UpdateDataSourceOutput) MarshalFields ¶
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 ¶
type UpdateDataSourceResponse struct { *UpdateDataSourceOutput // contains filtered or unexported fields }
UpdateDataSourceResponse is the response type for the UpdateDataSource API operation.
func (*UpdateDataSourceResponse) SDKResponseMetdata ¶
func (r *UpdateDataSourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateDataSource request.
type UpdateFunctionInput ¶
type UpdateFunctionInput struct { // The GraphQL API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The Function DataSource name. // // DataSourceName is a required field DataSourceName *string `locationName:"dataSourceName" type:"string" required:"true"` // The Function description. Description *string `locationName:"description" type:"string"` // The function ID. // // FunctionId is a required field FunctionId *string `location:"uri" locationName:"functionId" type:"string" required:"true"` // The version of the request mapping template. Currently the supported value // is 2018-05-29. // // FunctionVersion is a required field FunctionVersion *string `locationName:"functionVersion" type:"string" required:"true"` // The Function name. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The Function request mapping template. Functions support only the 2018-05-29 // version of the request mapping template. // // RequestMappingTemplate is a required field RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string" required:"true"` // The Function request mapping template. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateFunctionRequest
func (UpdateFunctionInput) MarshalFields ¶
func (s UpdateFunctionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateFunctionInput) String ¶
func (s UpdateFunctionInput) String() string
String returns the string representation
func (*UpdateFunctionInput) Validate ¶
func (s *UpdateFunctionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateFunctionOutput ¶
type UpdateFunctionOutput struct { // The Function object. FunctionConfiguration *FunctionConfiguration `locationName:"functionConfiguration" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateFunctionResponse
func (UpdateFunctionOutput) MarshalFields ¶
func (s UpdateFunctionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateFunctionOutput) String ¶
func (s UpdateFunctionOutput) String() string
String returns the string representation
type UpdateFunctionRequest ¶
type UpdateFunctionRequest struct { *aws.Request Input *UpdateFunctionInput Copy func(*UpdateFunctionInput) UpdateFunctionRequest }
UpdateFunctionRequest is the request type for the UpdateFunction API operation.
func (UpdateFunctionRequest) Send ¶
func (r UpdateFunctionRequest) Send(ctx context.Context) (*UpdateFunctionResponse, error)
Send marshals and sends the UpdateFunction API request.
type UpdateFunctionResponse ¶
type UpdateFunctionResponse struct { *UpdateFunctionOutput // contains filtered or unexported fields }
UpdateFunctionResponse is the response type for the UpdateFunction API operation.
func (*UpdateFunctionResponse) SDKResponseMetdata ¶
func (r *UpdateFunctionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateFunction request.
type UpdateGraphqlApiInput ¶
type UpdateGraphqlApiInput struct { // A list of additional authentication providers for the GraphqlApi API. AdditionalAuthenticationProviders []AdditionalAuthenticationProvider `locationName:"additionalAuthenticationProviders" type:"list"` // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The new authentication type for the GraphqlApi object. AuthenticationType AuthenticationType `locationName:"authenticationType" type:"string" enum:"true"` // The Amazon CloudWatch Logs configuration for the GraphqlApi object. LogConfig *LogConfig `locationName:"logConfig" type:"structure"` // The new name for the GraphqlApi object. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The OpenID Connect configuration for the GraphqlApi object. OpenIDConnectConfig *OpenIDConnectConfig `locationName:"openIDConnectConfig" type:"structure"` // The new Amazon Cognito user pool configuration for the GraphqlApi object. UserPoolConfig *UserPoolConfig `locationName:"userPoolConfig" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApiRequest
func (UpdateGraphqlApiInput) MarshalFields ¶
func (s UpdateGraphqlApiInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateGraphqlApiInput) String ¶
func (s UpdateGraphqlApiInput) String() string
String returns the string representation
func (*UpdateGraphqlApiInput) Validate ¶
func (s *UpdateGraphqlApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateGraphqlApiOutput ¶
type UpdateGraphqlApiOutput struct { // The updated GraphqlApi object. GraphqlApi *GraphqlApi `locationName:"graphqlApi" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApiResponse
func (UpdateGraphqlApiOutput) MarshalFields ¶
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 ¶
type UpdateGraphqlApiResponse struct { *UpdateGraphqlApiOutput // contains filtered or unexported fields }
UpdateGraphqlApiResponse is the response type for the UpdateGraphqlApi API operation.
func (*UpdateGraphqlApiResponse) SDKResponseMetdata ¶
func (r *UpdateGraphqlApiResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateGraphqlApi request.
type UpdateResolverInput ¶
type UpdateResolverInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The new data source name. DataSourceName *string `locationName:"dataSourceName" type:"string"` // The new field name. // // FieldName is a required field FieldName *string `location:"uri" locationName:"fieldName" type:"string" required:"true"` // The resolver type. // // * UNIT: A UNIT resolver type. A UNIT resolver is the default resolver // type. A UNIT resolver enables you to execute a GraphQL query against a // single data source. // // * PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you // to execute a series of Function in a serial manner. You can use a pipeline // resolver to execute a GraphQL query against multiple data sources. Kind ResolverKind `locationName:"kind" type:"string" enum:"true"` // The PipelineConfig. PipelineConfig *PipelineConfig `locationName:"pipelineConfig" type:"structure"` // The new request mapping template. // // RequestMappingTemplate is a required field RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string" required:"true"` // The new response mapping template. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` // The new type name. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateResolverRequest
func (UpdateResolverInput) MarshalFields ¶
func (s UpdateResolverInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateResolverInput) String ¶
func (s UpdateResolverInput) String() string
String returns the string representation
func (*UpdateResolverInput) Validate ¶
func (s *UpdateResolverInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateResolverOutput ¶
type UpdateResolverOutput struct { // The updated Resolver object. Resolver *Resolver `locationName:"resolver" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateResolverResponse
func (UpdateResolverOutput) MarshalFields ¶
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 ¶
type UpdateResolverResponse struct { *UpdateResolverOutput // contains filtered or unexported fields }
UpdateResolverResponse is the response type for the UpdateResolver API operation.
func (*UpdateResolverResponse) SDKResponseMetdata ¶
func (r *UpdateResolverResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateResolver request.
type UpdateTypeInput ¶
type UpdateTypeInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The new definition. Definition *string `locationName:"definition" type:"string"` // The new type format: SDL or JSON. // // Format is a required field Format TypeDefinitionFormat `locationName:"format" type:"string" required:"true" enum:"true"` // The new type name. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateTypeRequest
func (UpdateTypeInput) MarshalFields ¶
func (s UpdateTypeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateTypeInput) String ¶
func (s UpdateTypeInput) String() string
String returns the string representation
func (*UpdateTypeInput) Validate ¶
func (s *UpdateTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateTypeOutput ¶
type UpdateTypeOutput struct { // The updated Type object. Type *Type `locationName:"type" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateTypeResponse
func (UpdateTypeOutput) MarshalFields ¶
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 ¶
type UpdateTypeResponse struct { *UpdateTypeOutput // contains filtered or unexported fields }
UpdateTypeResponse is the response type for the UpdateType API operation.
func (*UpdateTypeResponse) SDKResponseMetdata ¶
func (r *UpdateTypeResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateType request.
type UserPoolConfig ¶
type UserPoolConfig struct { // A regular expression for validating the incoming Amazon Cognito user pool // app client ID. AppIdClientRegex *string `locationName:"appIdClientRegex" type:"string"` // The AWS Region in which the user pool was created. // // AwsRegion is a required field AwsRegion *string `locationName:"awsRegion" type:"string" required:"true"` // The action that you want your GraphQL API to take when a request that uses // Amazon Cognito user pool authentication doesn't match the Amazon Cognito // user pool configuration. // // DefaultAction is a required field DefaultAction DefaultAction `locationName:"defaultAction" type:"string" required:"true" enum:"true"` // The user pool ID. // // UserPoolId is a required field UserPoolId *string `locationName:"userPoolId" type:"string" required:"true"` // contains filtered or unexported fields }
Describes an Amazon Cognito user pool configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UserPoolConfig
func (UserPoolConfig) MarshalFields ¶
func (s UserPoolConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UserPoolConfig) String ¶
func (s UserPoolConfig) String() string
String returns the string representation
func (*UserPoolConfig) Validate ¶
func (s *UserPoolConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
Source Files ¶
api_client.go api_doc.go api_enums.go api_errors.go api_op_CreateApiKey.go api_op_CreateDataSource.go api_op_CreateFunction.go api_op_CreateGraphqlApi.go api_op_CreateResolver.go api_op_CreateType.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_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_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 |
---|---|
service/appsync/appsynciface | Package appsynciface provides an interface to enable mocking the AWS AppSync service client for testing your code. |
- Version
- v0.11.0
- Published
- Aug 23, 2019
- Platform
- js/wasm
- Imports
- 7 packages
- Last checked
- 11 seconds ago –
Tools for package owners.