Documentation ¶
Overview ¶
Package appsync provides the client and types for making API requests to AWS AppSync.
AWS AppSync provides API actions for creating and interacting with data sources using GraphQL from your application.
See https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25 for more information on this service.
See appsync package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/appsync/
Using the Client ¶
To AWS AppSync with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the AWS AppSync client AppSync for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/appsync/#New
Index ¶
- Constants
- type ApiKey
- type AppSync
- func (c *AppSync) CreateApiKeyRequest(input *CreateApiKeyInput) CreateApiKeyRequest
- func (c *AppSync) CreateDataSourceRequest(input *CreateDataSourceInput) CreateDataSourceRequest
- func (c *AppSync) CreateGraphqlApiRequest(input *CreateGraphqlApiInput) CreateGraphqlApiRequest
- func (c *AppSync) CreateResolverRequest(input *CreateResolverInput) CreateResolverRequest
- func (c *AppSync) CreateTypeRequest(input *CreateTypeInput) CreateTypeRequest
- func (c *AppSync) DeleteApiKeyRequest(input *DeleteApiKeyInput) DeleteApiKeyRequest
- func (c *AppSync) DeleteDataSourceRequest(input *DeleteDataSourceInput) DeleteDataSourceRequest
- func (c *AppSync) DeleteGraphqlApiRequest(input *DeleteGraphqlApiInput) DeleteGraphqlApiRequest
- func (c *AppSync) DeleteResolverRequest(input *DeleteResolverInput) DeleteResolverRequest
- func (c *AppSync) DeleteTypeRequest(input *DeleteTypeInput) DeleteTypeRequest
- func (c *AppSync) GetDataSourceRequest(input *GetDataSourceInput) GetDataSourceRequest
- func (c *AppSync) GetGraphqlApiRequest(input *GetGraphqlApiInput) GetGraphqlApiRequest
- func (c *AppSync) GetIntrospectionSchemaRequest(input *GetIntrospectionSchemaInput) GetIntrospectionSchemaRequest
- func (c *AppSync) GetResolverRequest(input *GetResolverInput) GetResolverRequest
- func (c *AppSync) GetSchemaCreationStatusRequest(input *GetSchemaCreationStatusInput) GetSchemaCreationStatusRequest
- func (c *AppSync) GetTypeRequest(input *GetTypeInput) GetTypeRequest
- func (c *AppSync) ListApiKeysRequest(input *ListApiKeysInput) ListApiKeysRequest
- func (c *AppSync) ListDataSourcesRequest(input *ListDataSourcesInput) ListDataSourcesRequest
- func (c *AppSync) ListGraphqlApisRequest(input *ListGraphqlApisInput) ListGraphqlApisRequest
- func (c *AppSync) ListResolversRequest(input *ListResolversInput) ListResolversRequest
- func (c *AppSync) ListTypesRequest(input *ListTypesInput) ListTypesRequest
- func (c *AppSync) StartSchemaCreationRequest(input *StartSchemaCreationInput) StartSchemaCreationRequest
- func (c *AppSync) UpdateDataSourceRequest(input *UpdateDataSourceInput) UpdateDataSourceRequest
- func (c *AppSync) UpdateGraphqlApiRequest(input *UpdateGraphqlApiInput) UpdateGraphqlApiRequest
- func (c *AppSync) UpdateResolverRequest(input *UpdateResolverInput) UpdateResolverRequest
- func (c *AppSync) UpdateTypeRequest(input *UpdateTypeInput) UpdateTypeRequest
- type AuthenticationType
- type CreateApiKeyInput
- type CreateApiKeyOutput
- type CreateApiKeyRequest
- type CreateDataSourceInput
- func (s CreateDataSourceInput) GoString() string
- func (s *CreateDataSourceInput) SetApiId(v string) *CreateDataSourceInput
- func (s *CreateDataSourceInput) SetDescription(v string) *CreateDataSourceInput
- func (s *CreateDataSourceInput) SetDynamodbConfig(v *DynamodbDataSourceConfig) *CreateDataSourceInput
- func (s *CreateDataSourceInput) SetElasticsearchConfig(v *ElasticsearchDataSourceConfig) *CreateDataSourceInput
- func (s *CreateDataSourceInput) SetLambdaConfig(v *LambdaDataSourceConfig) *CreateDataSourceInput
- func (s *CreateDataSourceInput) SetName(v string) *CreateDataSourceInput
- func (s *CreateDataSourceInput) SetServiceRoleArn(v string) *CreateDataSourceInput
- func (s *CreateDataSourceInput) SetType(v DataSourceType) *CreateDataSourceInput
- func (s CreateDataSourceInput) String() string
- func (s *CreateDataSourceInput) Validate() error
- type CreateDataSourceOutput
- type CreateDataSourceRequest
- type CreateGraphqlApiInput
- func (s CreateGraphqlApiInput) GoString() string
- func (s *CreateGraphqlApiInput) SetAuthenticationType(v AuthenticationType) *CreateGraphqlApiInput
- func (s *CreateGraphqlApiInput) SetName(v string) *CreateGraphqlApiInput
- func (s *CreateGraphqlApiInput) SetUserPoolConfig(v *UserPoolConfig) *CreateGraphqlApiInput
- func (s CreateGraphqlApiInput) String() string
- func (s *CreateGraphqlApiInput) Validate() error
- type CreateGraphqlApiOutput
- type CreateGraphqlApiRequest
- type CreateResolverInput
- func (s CreateResolverInput) GoString() string
- func (s *CreateResolverInput) SetApiId(v string) *CreateResolverInput
- func (s *CreateResolverInput) SetDataSourceName(v string) *CreateResolverInput
- func (s *CreateResolverInput) SetFieldName(v string) *CreateResolverInput
- func (s *CreateResolverInput) SetRequestMappingTemplate(v string) *CreateResolverInput
- func (s *CreateResolverInput) SetResponseMappingTemplate(v string) *CreateResolverInput
- func (s *CreateResolverInput) SetTypeName(v string) *CreateResolverInput
- func (s CreateResolverInput) String() string
- func (s *CreateResolverInput) Validate() error
- type CreateResolverOutput
- type CreateResolverRequest
- type CreateTypeInput
- func (s CreateTypeInput) GoString() string
- func (s *CreateTypeInput) SetApiId(v string) *CreateTypeInput
- func (s *CreateTypeInput) SetDefinition(v string) *CreateTypeInput
- func (s *CreateTypeInput) SetFormat(v TypeDefinitionFormat) *CreateTypeInput
- func (s CreateTypeInput) String() string
- func (s *CreateTypeInput) Validate() error
- type CreateTypeOutput
- type CreateTypeRequest
- type DataSource
- func (s DataSource) GoString() string
- func (s *DataSource) SetDataSourceArn(v string) *DataSource
- func (s *DataSource) SetDescription(v string) *DataSource
- func (s *DataSource) SetDynamodbConfig(v *DynamodbDataSourceConfig) *DataSource
- func (s *DataSource) SetElasticsearchConfig(v *ElasticsearchDataSourceConfig) *DataSource
- func (s *DataSource) SetLambdaConfig(v *LambdaDataSourceConfig) *DataSource
- func (s *DataSource) SetName(v string) *DataSource
- func (s *DataSource) SetServiceRoleArn(v string) *DataSource
- func (s *DataSource) SetType(v DataSourceType) *DataSource
- func (s DataSource) String() string
- type DataSourceType
- type DefaultAction
- type DeleteApiKeyInput
- type DeleteApiKeyOutput
- type DeleteApiKeyRequest
- type DeleteDataSourceInput
- type DeleteDataSourceOutput
- type DeleteDataSourceRequest
- type DeleteGraphqlApiInput
- type DeleteGraphqlApiOutput
- type DeleteGraphqlApiRequest
- type DeleteResolverInput
- func (s DeleteResolverInput) GoString() string
- func (s *DeleteResolverInput) SetApiId(v string) *DeleteResolverInput
- func (s *DeleteResolverInput) SetFieldName(v string) *DeleteResolverInput
- func (s *DeleteResolverInput) SetTypeName(v string) *DeleteResolverInput
- func (s DeleteResolverInput) String() string
- func (s *DeleteResolverInput) Validate() error
- type DeleteResolverOutput
- type DeleteResolverRequest
- type DeleteTypeInput
- type DeleteTypeOutput
- type DeleteTypeRequest
- type DynamodbDataSourceConfig
- func (s DynamodbDataSourceConfig) GoString() string
- func (s *DynamodbDataSourceConfig) SetAwsRegion(v string) *DynamodbDataSourceConfig
- func (s *DynamodbDataSourceConfig) SetTableName(v string) *DynamodbDataSourceConfig
- func (s *DynamodbDataSourceConfig) SetUseCallerCredentials(v bool) *DynamodbDataSourceConfig
- func (s DynamodbDataSourceConfig) String() string
- func (s *DynamodbDataSourceConfig) Validate() error
- type ElasticsearchDataSourceConfig
- func (s ElasticsearchDataSourceConfig) GoString() string
- func (s *ElasticsearchDataSourceConfig) SetAwsRegion(v string) *ElasticsearchDataSourceConfig
- func (s *ElasticsearchDataSourceConfig) SetEndpoint(v string) *ElasticsearchDataSourceConfig
- func (s ElasticsearchDataSourceConfig) String() string
- func (s *ElasticsearchDataSourceConfig) Validate() error
- type GetDataSourceInput
- type GetDataSourceOutput
- type GetDataSourceRequest
- type GetGraphqlApiInput
- type GetGraphqlApiOutput
- type GetGraphqlApiRequest
- type GetIntrospectionSchemaInput
- func (s GetIntrospectionSchemaInput) GoString() string
- func (s *GetIntrospectionSchemaInput) SetApiId(v string) *GetIntrospectionSchemaInput
- func (s *GetIntrospectionSchemaInput) SetFormat(v OutputType) *GetIntrospectionSchemaInput
- func (s GetIntrospectionSchemaInput) String() string
- func (s *GetIntrospectionSchemaInput) Validate() error
- type GetIntrospectionSchemaOutput
- type GetIntrospectionSchemaRequest
- type GetResolverInput
- func (s GetResolverInput) GoString() string
- func (s *GetResolverInput) SetApiId(v string) *GetResolverInput
- func (s *GetResolverInput) SetFieldName(v string) *GetResolverInput
- func (s *GetResolverInput) SetTypeName(v string) *GetResolverInput
- func (s GetResolverInput) String() string
- func (s *GetResolverInput) Validate() error
- type GetResolverOutput
- type GetResolverRequest
- type GetSchemaCreationStatusInput
- type GetSchemaCreationStatusOutput
- func (s GetSchemaCreationStatusOutput) GoString() string
- func (s GetSchemaCreationStatusOutput) SDKResponseMetadata() aws.Response
- func (s *GetSchemaCreationStatusOutput) SetDetails(v string) *GetSchemaCreationStatusOutput
- func (s *GetSchemaCreationStatusOutput) SetStatus(v SchemaStatus) *GetSchemaCreationStatusOutput
- func (s GetSchemaCreationStatusOutput) String() string
- type GetSchemaCreationStatusRequest
- type GetTypeInput
- func (s GetTypeInput) GoString() string
- func (s *GetTypeInput) SetApiId(v string) *GetTypeInput
- func (s *GetTypeInput) SetFormat(v TypeDefinitionFormat) *GetTypeInput
- func (s *GetTypeInput) SetTypeName(v string) *GetTypeInput
- func (s GetTypeInput) String() string
- func (s *GetTypeInput) Validate() error
- type GetTypeOutput
- type GetTypeRequest
- type GraphqlApi
- func (s GraphqlApi) GoString() string
- func (s *GraphqlApi) SetApiId(v string) *GraphqlApi
- func (s *GraphqlApi) SetArn(v string) *GraphqlApi
- func (s *GraphqlApi) SetAuthenticationType(v AuthenticationType) *GraphqlApi
- func (s *GraphqlApi) SetName(v string) *GraphqlApi
- func (s *GraphqlApi) SetUris(v map[string]string) *GraphqlApi
- func (s *GraphqlApi) SetUserPoolConfig(v *UserPoolConfig) *GraphqlApi
- func (s GraphqlApi) String() string
- type LambdaDataSourceConfig
- type ListApiKeysInput
- func (s ListApiKeysInput) GoString() string
- func (s *ListApiKeysInput) SetApiId(v string) *ListApiKeysInput
- func (s *ListApiKeysInput) SetMaxResults(v int64) *ListApiKeysInput
- func (s *ListApiKeysInput) SetNextToken(v string) *ListApiKeysInput
- func (s ListApiKeysInput) String() string
- func (s *ListApiKeysInput) Validate() error
- type ListApiKeysOutput
- type ListApiKeysRequest
- type ListDataSourcesInput
- func (s ListDataSourcesInput) GoString() string
- func (s *ListDataSourcesInput) SetApiId(v string) *ListDataSourcesInput
- func (s *ListDataSourcesInput) SetMaxResults(v int64) *ListDataSourcesInput
- func (s *ListDataSourcesInput) SetNextToken(v string) *ListDataSourcesInput
- func (s ListDataSourcesInput) String() string
- func (s *ListDataSourcesInput) Validate() error
- type ListDataSourcesOutput
- func (s ListDataSourcesOutput) GoString() string
- func (s ListDataSourcesOutput) SDKResponseMetadata() aws.Response
- func (s *ListDataSourcesOutput) SetDataSources(v []DataSource) *ListDataSourcesOutput
- func (s *ListDataSourcesOutput) SetNextToken(v string) *ListDataSourcesOutput
- func (s ListDataSourcesOutput) String() string
- type ListDataSourcesRequest
- type ListGraphqlApisInput
- type ListGraphqlApisOutput
- func (s ListGraphqlApisOutput) GoString() string
- func (s ListGraphqlApisOutput) SDKResponseMetadata() aws.Response
- func (s *ListGraphqlApisOutput) SetGraphqlApis(v []GraphqlApi) *ListGraphqlApisOutput
- func (s *ListGraphqlApisOutput) SetNextToken(v string) *ListGraphqlApisOutput
- func (s ListGraphqlApisOutput) String() string
- type ListGraphqlApisRequest
- type ListResolversInput
- func (s ListResolversInput) GoString() string
- func (s *ListResolversInput) SetApiId(v string) *ListResolversInput
- func (s *ListResolversInput) SetMaxResults(v int64) *ListResolversInput
- func (s *ListResolversInput) SetNextToken(v string) *ListResolversInput
- func (s *ListResolversInput) SetTypeName(v string) *ListResolversInput
- func (s ListResolversInput) String() string
- func (s *ListResolversInput) Validate() error
- type ListResolversOutput
- func (s ListResolversOutput) GoString() string
- func (s ListResolversOutput) SDKResponseMetadata() aws.Response
- func (s *ListResolversOutput) SetNextToken(v string) *ListResolversOutput
- func (s *ListResolversOutput) SetResolvers(v []Resolver) *ListResolversOutput
- func (s ListResolversOutput) String() string
- type ListResolversRequest
- type ListTypesInput
- func (s ListTypesInput) GoString() string
- func (s *ListTypesInput) SetApiId(v string) *ListTypesInput
- func (s *ListTypesInput) SetFormat(v TypeDefinitionFormat) *ListTypesInput
- func (s *ListTypesInput) SetMaxResults(v int64) *ListTypesInput
- func (s *ListTypesInput) SetNextToken(v string) *ListTypesInput
- func (s ListTypesInput) String() string
- func (s *ListTypesInput) Validate() error
- type ListTypesOutput
- type ListTypesRequest
- type OutputType
- type Resolver
- func (s Resolver) GoString() string
- func (s *Resolver) SetDataSourceName(v string) *Resolver
- func (s *Resolver) SetFieldName(v string) *Resolver
- func (s *Resolver) SetRequestMappingTemplate(v string) *Resolver
- func (s *Resolver) SetResolverArn(v string) *Resolver
- func (s *Resolver) SetResponseMappingTemplate(v string) *Resolver
- func (s *Resolver) SetTypeName(v string) *Resolver
- func (s Resolver) String() string
- type SchemaStatus
- type StartSchemaCreationInput
- func (s StartSchemaCreationInput) GoString() string
- func (s *StartSchemaCreationInput) SetApiId(v string) *StartSchemaCreationInput
- func (s *StartSchemaCreationInput) SetDefinition(v []byte) *StartSchemaCreationInput
- func (s StartSchemaCreationInput) String() string
- func (s *StartSchemaCreationInput) Validate() error
- type StartSchemaCreationOutput
- type StartSchemaCreationRequest
- type Type
- type TypeDefinitionFormat
- type UpdateDataSourceInput
- func (s UpdateDataSourceInput) GoString() string
- func (s *UpdateDataSourceInput) SetApiId(v string) *UpdateDataSourceInput
- func (s *UpdateDataSourceInput) SetDescription(v string) *UpdateDataSourceInput
- func (s *UpdateDataSourceInput) SetDynamodbConfig(v *DynamodbDataSourceConfig) *UpdateDataSourceInput
- func (s *UpdateDataSourceInput) SetElasticsearchConfig(v *ElasticsearchDataSourceConfig) *UpdateDataSourceInput
- func (s *UpdateDataSourceInput) SetLambdaConfig(v *LambdaDataSourceConfig) *UpdateDataSourceInput
- func (s *UpdateDataSourceInput) SetName(v string) *UpdateDataSourceInput
- func (s *UpdateDataSourceInput) SetServiceRoleArn(v string) *UpdateDataSourceInput
- func (s *UpdateDataSourceInput) SetType(v DataSourceType) *UpdateDataSourceInput
- func (s UpdateDataSourceInput) String() string
- func (s *UpdateDataSourceInput) Validate() error
- type UpdateDataSourceOutput
- type UpdateDataSourceRequest
- type UpdateGraphqlApiInput
- func (s UpdateGraphqlApiInput) GoString() string
- func (s *UpdateGraphqlApiInput) SetApiId(v string) *UpdateGraphqlApiInput
- func (s *UpdateGraphqlApiInput) SetAuthenticationType(v AuthenticationType) *UpdateGraphqlApiInput
- func (s *UpdateGraphqlApiInput) SetName(v string) *UpdateGraphqlApiInput
- func (s *UpdateGraphqlApiInput) SetUserPoolConfig(v *UserPoolConfig) *UpdateGraphqlApiInput
- func (s UpdateGraphqlApiInput) String() string
- func (s *UpdateGraphqlApiInput) Validate() error
- type UpdateGraphqlApiOutput
- type UpdateGraphqlApiRequest
- type UpdateResolverInput
- func (s UpdateResolverInput) GoString() string
- func (s *UpdateResolverInput) SetApiId(v string) *UpdateResolverInput
- func (s *UpdateResolverInput) SetDataSourceName(v string) *UpdateResolverInput
- func (s *UpdateResolverInput) SetFieldName(v string) *UpdateResolverInput
- func (s *UpdateResolverInput) SetRequestMappingTemplate(v string) *UpdateResolverInput
- func (s *UpdateResolverInput) SetResponseMappingTemplate(v string) *UpdateResolverInput
- func (s *UpdateResolverInput) SetTypeName(v string) *UpdateResolverInput
- func (s UpdateResolverInput) String() string
- func (s *UpdateResolverInput) Validate() error
- type UpdateResolverOutput
- type UpdateResolverRequest
- type UpdateTypeInput
- func (s UpdateTypeInput) GoString() string
- func (s *UpdateTypeInput) SetApiId(v string) *UpdateTypeInput
- func (s *UpdateTypeInput) SetDefinition(v string) *UpdateTypeInput
- func (s *UpdateTypeInput) SetFormat(v TypeDefinitionFormat) *UpdateTypeInput
- func (s *UpdateTypeInput) SetTypeName(v string) *UpdateTypeInput
- func (s UpdateTypeInput) String() string
- func (s *UpdateTypeInput) Validate() error
- type UpdateTypeOutput
- type UpdateTypeRequest
- type UserPoolConfig
- func (s UserPoolConfig) GoString() string
- func (s *UserPoolConfig) SetAppIdClientRegex(v string) *UserPoolConfig
- func (s *UserPoolConfig) SetAwsRegion(v string) *UserPoolConfig
- func (s *UserPoolConfig) SetDefaultAction(v DefaultAction) *UserPoolConfig
- func (s *UserPoolConfig) SetUserPoolId(v string) *UserPoolConfig
- func (s UserPoolConfig) String() string
- func (s *UserPoolConfig) Validate() error
Constants ¶
const ( // ErrCodeApiKeyLimitExceededException for service response error code // "ApiKeyLimitExceededException". // // The API key exceeded a limit. Try your request again. ErrCodeApiKeyLimitExceededException = "ApiKeyLimitExceededException" // ErrCodeApiLimitExceededException for service response error code // "ApiLimitExceededException". // // The GraphQL API exceeded a limit. Try your request again. ErrCodeApiLimitExceededException = "ApiLimitExceededException" // ErrCodeBadRequestException for service response error code // "BadRequestException". // // The request is not well formed. For example, a value is invalid or a required // field is missing. Check the field values, and try again. ErrCodeBadRequestException = "BadRequestException" // ErrCodeConcurrentModificationException for service response error code // "ConcurrentModificationException". // // Another modification is being made. That modification must complete before // you can make your change. ErrCodeConcurrentModificationException = "ConcurrentModificationException" // ErrCodeGraphQLSchemaException for service response error code // "GraphQLSchemaException". // // The GraphQL schema is not valid. ErrCodeGraphQLSchemaException = "GraphQLSchemaException" // ErrCodeInternalFailureException for service response error code // "InternalFailureException". // // An internal AWS AppSync error occurred. Try your request again. ErrCodeInternalFailureException = "InternalFailureException" // ErrCodeLimitExceededException for service response error code // "LimitExceededException". // // The request exceeded a limit. Try your request again. ErrCodeLimitExceededException = "LimitExceededException" // ErrCodeNotFoundException for service response error code // "NotFoundException". // // The resource specified in the request was not found. Check the resource and // try again. ErrCodeNotFoundException = "NotFoundException" // "UnauthorizedException". // // You are not authorized to perform this operation. ErrCodeUnauthorizedException = "UnauthorizedException" )
const ( ServiceName = "appsync" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiKey ¶
type ApiKey struct { // A description of the purpose of the API key. Description *string `locationName:"description" type:"string"` // The time when the API key expires. 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ApiKey
func (*ApiKey) SetDescription ¶
SetDescription sets the Description field's value.
func (*ApiKey) SetExpires ¶
SetExpires sets the Expires field's value.
type AppSync ¶
AppSync provides the API operation methods for making requests to AWS AppSync. See this package's package overview docs for details on the service.
AppSync methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
New creates a new instance of the AppSync client with a config. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
// Create a AppSync client from just a config. svc := appsync.New(myConfig) // Create a AppSync client with additional configuration svc := appsync.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func (*AppSync) CreateApiKeyRequest ¶
func (c *AppSync) CreateApiKeyRequest(input *CreateApiKeyInput) CreateApiKeyRequest
CreateApiKeyRequest returns a request value for making API operation for AWS AppSync.
Creates a unique key that you can distribute to clients who are executing your API.
// Example sending a request using the CreateApiKeyRequest method. req := client.CreateApiKeyRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiKey
func (*AppSync) CreateDataSourceRequest ¶
func (c *AppSync) CreateDataSourceRequest(input *CreateDataSourceInput) CreateDataSourceRequest
CreateDataSourceRequest returns a request value for making API operation for AWS AppSync.
Creates a DataSource object.
// Example sending a request using the CreateDataSourceRequest method. req := client.CreateDataSourceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDataSource
func (*AppSync) CreateGraphqlApiRequest ¶
func (c *AppSync) CreateGraphqlApiRequest(input *CreateGraphqlApiInput) CreateGraphqlApiRequest
CreateGraphqlApiRequest returns a request value for making API operation for AWS AppSync.
Creates a GraphqlApi object.
// Example sending a request using the CreateGraphqlApiRequest method. req := client.CreateGraphqlApiRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApi
func (*AppSync) CreateResolverRequest ¶
func (c *AppSync) CreateResolverRequest(input *CreateResolverInput) CreateResolverRequest
CreateResolverRequest returns a request value for making API operation for AWS AppSync.
Creates a Resolver object.
A resolver converts incoming requests into a format that a data source can understand and converts the data source's responses into GraphQL.
// Example sending a request using the CreateResolverRequest method. req := client.CreateResolverRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateResolver
func (*AppSync) CreateTypeRequest ¶
func (c *AppSync) CreateTypeRequest(input *CreateTypeInput) CreateTypeRequest
CreateTypeRequest returns a request value for making API operation for AWS AppSync.
Creates a Type object.
// Example sending a request using the CreateTypeRequest method. req := client.CreateTypeRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateType
func (*AppSync) DeleteApiKeyRequest ¶
func (c *AppSync) DeleteApiKeyRequest(input *DeleteApiKeyInput) DeleteApiKeyRequest
DeleteApiKeyRequest returns a request value for making API operation for AWS AppSync.
Deletes an API key.
// Example sending a request using the DeleteApiKeyRequest method. req := client.DeleteApiKeyRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiKey
func (*AppSync) DeleteDataSourceRequest ¶
func (c *AppSync) DeleteDataSourceRequest(input *DeleteDataSourceInput) DeleteDataSourceRequest
DeleteDataSourceRequest returns a request value for making API operation for AWS AppSync.
Deletes a DataSource object.
// Example sending a request using the DeleteDataSourceRequest method. req := client.DeleteDataSourceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDataSource
func (*AppSync) DeleteGraphqlApiRequest ¶
func (c *AppSync) DeleteGraphqlApiRequest(input *DeleteGraphqlApiInput) DeleteGraphqlApiRequest
DeleteGraphqlApiRequest returns a request value for making API operation for AWS AppSync.
Deletes a GraphqlApi object.
// Example sending a request using the DeleteGraphqlApiRequest method. req := client.DeleteGraphqlApiRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteGraphqlApi
func (*AppSync) DeleteResolverRequest ¶
func (c *AppSync) DeleteResolverRequest(input *DeleteResolverInput) DeleteResolverRequest
DeleteResolverRequest returns a request value for making API operation for AWS AppSync.
Deletes a Resolver object.
// Example sending a request using the DeleteResolverRequest method. req := client.DeleteResolverRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteResolver
func (*AppSync) DeleteTypeRequest ¶
func (c *AppSync) DeleteTypeRequest(input *DeleteTypeInput) DeleteTypeRequest
DeleteTypeRequest returns a request value for making API operation for AWS AppSync.
Deletes a Type object.
// Example sending a request using the DeleteTypeRequest method. req := client.DeleteTypeRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteType
func (*AppSync) GetDataSourceRequest ¶
func (c *AppSync) GetDataSourceRequest(input *GetDataSourceInput) GetDataSourceRequest
GetDataSourceRequest returns a request value for making API operation for AWS AppSync.
Retrieves a DataSource object.
// Example sending a request using the GetDataSourceRequest method. req := client.GetDataSourceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDataSource
func (*AppSync) GetGraphqlApiRequest ¶
func (c *AppSync) GetGraphqlApiRequest(input *GetGraphqlApiInput) GetGraphqlApiRequest
GetGraphqlApiRequest returns a request value for making API operation for AWS AppSync.
Retrieves a GraphqlApi object.
// Example sending a request using the GetGraphqlApiRequest method. req := client.GetGraphqlApiRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApi
func (*AppSync) GetIntrospectionSchemaRequest ¶
func (c *AppSync) GetIntrospectionSchemaRequest(input *GetIntrospectionSchemaInput) GetIntrospectionSchemaRequest
GetIntrospectionSchemaRequest returns a request value for making API operation for AWS AppSync.
Retrieves the introspection schema for a GraphQL API.
// Example sending a request using the GetIntrospectionSchemaRequest method. req := client.GetIntrospectionSchemaRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetIntrospectionSchema
func (*AppSync) GetResolverRequest ¶
func (c *AppSync) GetResolverRequest(input *GetResolverInput) GetResolverRequest
GetResolverRequest returns a request value for making API operation for AWS AppSync.
Retrieves a Resolver object.
// Example sending a request using the GetResolverRequest method. req := client.GetResolverRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetResolver
func (*AppSync) GetSchemaCreationStatusRequest ¶
func (c *AppSync) GetSchemaCreationStatusRequest(input *GetSchemaCreationStatusInput) GetSchemaCreationStatusRequest
GetSchemaCreationStatusRequest returns a request value for making API operation for AWS AppSync.
Retrieves the current status of a schema creation operation.
// Example sending a request using the GetSchemaCreationStatusRequest method. req := client.GetSchemaCreationStatusRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSchemaCreationStatus
func (*AppSync) GetTypeRequest ¶
func (c *AppSync) GetTypeRequest(input *GetTypeInput) GetTypeRequest
GetTypeRequest returns a request value for making API operation for AWS AppSync.
Retrieves a Type object.
// Example sending a request using the GetTypeRequest method. req := client.GetTypeRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetType
func (*AppSync) ListApiKeysRequest ¶
func (c *AppSync) ListApiKeysRequest(input *ListApiKeysInput) ListApiKeysRequest
ListApiKeysRequest returns a request value for making API operation for AWS AppSync.
Lists the API keys for a given API.
// Example sending a request using the ListApiKeysRequest method. req := client.ListApiKeysRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeys
func (*AppSync) ListDataSourcesRequest ¶
func (c *AppSync) ListDataSourcesRequest(input *ListDataSourcesInput) ListDataSourcesRequest
ListDataSourcesRequest returns a request value for making API operation for AWS AppSync.
Lists the data sources for a given API.
// Example sending a request using the ListDataSourcesRequest method. req := client.ListDataSourcesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDataSources
func (*AppSync) ListGraphqlApisRequest ¶
func (c *AppSync) ListGraphqlApisRequest(input *ListGraphqlApisInput) ListGraphqlApisRequest
ListGraphqlApisRequest returns a request value for making API operation for AWS AppSync.
Lists your GraphQL APIs.
// Example sending a request using the ListGraphqlApisRequest method. req := client.ListGraphqlApisRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApis
func (*AppSync) ListResolversRequest ¶
func (c *AppSync) ListResolversRequest(input *ListResolversInput) ListResolversRequest
ListResolversRequest returns a request value for making API operation for AWS AppSync.
Lists the resolvers for a given API and type.
// Example sending a request using the ListResolversRequest method. req := client.ListResolversRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolvers
func (*AppSync) ListTypesRequest ¶
func (c *AppSync) ListTypesRequest(input *ListTypesInput) ListTypesRequest
ListTypesRequest returns a request value for making API operation for AWS AppSync.
Lists the types for a given API.
// Example sending a request using the ListTypesRequest method. req := client.ListTypesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypes
func (*AppSync) StartSchemaCreationRequest ¶
func (c *AppSync) StartSchemaCreationRequest(input *StartSchemaCreationInput) StartSchemaCreationRequest
StartSchemaCreationRequest returns a request value for making API operation for AWS AppSync.
Adds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.
// Example sending a request using the StartSchemaCreationRequest method. req := client.StartSchemaCreationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaCreation
func (*AppSync) UpdateDataSourceRequest ¶
func (c *AppSync) UpdateDataSourceRequest(input *UpdateDataSourceInput) UpdateDataSourceRequest
UpdateDataSourceRequest returns a request value for making API operation for AWS AppSync.
Updates a DataSource object.
// Example sending a request using the UpdateDataSourceRequest method. req := client.UpdateDataSourceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDataSource
func (*AppSync) UpdateGraphqlApiRequest ¶
func (c *AppSync) UpdateGraphqlApiRequest(input *UpdateGraphqlApiInput) UpdateGraphqlApiRequest
UpdateGraphqlApiRequest returns a request value for making API operation for AWS AppSync.
Updates a GraphqlApi object.
// Example sending a request using the UpdateGraphqlApiRequest method. req := client.UpdateGraphqlApiRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApi
func (*AppSync) UpdateResolverRequest ¶
func (c *AppSync) UpdateResolverRequest(input *UpdateResolverInput) UpdateResolverRequest
UpdateResolverRequest returns a request value for making API operation for AWS AppSync.
Updates a Resolver object.
// Example sending a request using the UpdateResolverRequest method. req := client.UpdateResolverRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateResolver
func (*AppSync) UpdateTypeRequest ¶
func (c *AppSync) UpdateTypeRequest(input *UpdateTypeInput) UpdateTypeRequest
UpdateTypeRequest returns a request value for making API operation for AWS AppSync.
Updates a Type object.
// Example sending a request using the UpdateTypeRequest method. req := client.UpdateTypeRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateType
type AuthenticationType ¶
type AuthenticationType string
const ( AuthenticationTypeApiKey AuthenticationType = "API_KEY" AuthenticationTypeAwsIam AuthenticationType = "AWS_IAM" AuthenticationTypeAmazonCognitoUserPools AuthenticationType = "AMAZON_COGNITO_USER_POOLS" )
Enum values for AuthenticationType
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"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiKeyRequest
func (CreateApiKeyInput) GoString ¶
func (s CreateApiKeyInput) GoString() string
GoString returns the string representation
func (*CreateApiKeyInput) SetApiId ¶
func (s *CreateApiKeyInput) SetApiId(v string) *CreateApiKeyInput
SetApiId sets the ApiId field's value.
func (*CreateApiKeyInput) SetDescription ¶
func (s *CreateApiKeyInput) SetDescription(v string) *CreateApiKeyInput
SetDescription sets the Description field's value.
func (CreateApiKeyInput) String ¶
func (s CreateApiKeyInput) String() string
String returns the string representation
func (*CreateApiKeyInput) Validate ¶
func (s *CreateApiKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateApiKeyOutput ¶
type CreateApiKeyOutput struct { // The API key. ApiKey *ApiKey `locationName:"apiKey" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiKeyResponse
func (CreateApiKeyOutput) GoString ¶
func (s CreateApiKeyOutput) GoString() string
GoString returns the string representation
func (CreateApiKeyOutput) SDKResponseMetadata ¶
func (s CreateApiKeyOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateApiKeyOutput) SetApiKey ¶
func (s *CreateApiKeyOutput) SetApiKey(v *ApiKey) *CreateApiKeyOutput
SetApiKey sets the ApiKey field's value.
func (CreateApiKeyOutput) String ¶
func (s CreateApiKeyOutput) String() string
String returns the string representation
type CreateApiKeyRequest ¶
type CreateApiKeyRequest struct { *aws.Request Input *CreateApiKeyInput }
CreateApiKeyRequest is a API request type for the CreateApiKey API operation.
func (CreateApiKeyRequest) Send ¶
func (r CreateApiKeyRequest) Send() (*CreateApiKeyOutput, error)
Send marshals and sends the CreateApiKey API request.
type CreateDataSourceInput ¶
type CreateDataSourceInput struct { // The API ID for the GraphQL API for the DataSource. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // A description of the DataSource. Description *string `locationName:"description" type:"string"` // DynamoDB settings. DynamodbConfig *DynamodbDataSourceConfig `locationName:"dynamodbConfig" type:"structure"` // Amazon Elasticsearch settings. ElasticsearchConfig *ElasticsearchDataSourceConfig `locationName:"elasticsearchConfig" type:"structure"` // AWS Lambda settings. LambdaConfig *LambdaDataSourceConfig `locationName:"lambdaConfig" type:"structure"` // A user-supplied name for the DataSource. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The IAM service role ARN for the data source. The system assumes this role // when accessing the data source. ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"` // The type of the DataSource. // // Type is a required field Type DataSourceType `locationName:"type" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDataSourceRequest
func (CreateDataSourceInput) GoString ¶
func (s CreateDataSourceInput) GoString() string
GoString returns the string representation
func (*CreateDataSourceInput) SetApiId ¶
func (s *CreateDataSourceInput) SetApiId(v string) *CreateDataSourceInput
SetApiId sets the ApiId field's value.
func (*CreateDataSourceInput) SetDescription ¶
func (s *CreateDataSourceInput) SetDescription(v string) *CreateDataSourceInput
SetDescription sets the Description field's value.
func (*CreateDataSourceInput) SetDynamodbConfig ¶
func (s *CreateDataSourceInput) SetDynamodbConfig(v *DynamodbDataSourceConfig) *CreateDataSourceInput
SetDynamodbConfig sets the DynamodbConfig field's value.
func (*CreateDataSourceInput) SetElasticsearchConfig ¶
func (s *CreateDataSourceInput) SetElasticsearchConfig(v *ElasticsearchDataSourceConfig) *CreateDataSourceInput
SetElasticsearchConfig sets the ElasticsearchConfig field's value.
func (*CreateDataSourceInput) SetLambdaConfig ¶
func (s *CreateDataSourceInput) SetLambdaConfig(v *LambdaDataSourceConfig) *CreateDataSourceInput
SetLambdaConfig sets the LambdaConfig field's value.
func (*CreateDataSourceInput) SetName ¶
func (s *CreateDataSourceInput) SetName(v string) *CreateDataSourceInput
SetName sets the Name field's value.
func (*CreateDataSourceInput) SetServiceRoleArn ¶
func (s *CreateDataSourceInput) SetServiceRoleArn(v string) *CreateDataSourceInput
SetServiceRoleArn sets the ServiceRoleArn field's value.
func (*CreateDataSourceInput) SetType ¶
func (s *CreateDataSourceInput) SetType(v DataSourceType) *CreateDataSourceInput
SetType sets the Type field's value.
func (CreateDataSourceInput) String ¶
func (s CreateDataSourceInput) String() string
String returns the string representation
func (*CreateDataSourceInput) Validate ¶
func (s *CreateDataSourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDataSourceOutput ¶
type CreateDataSourceOutput struct { // The DataSource object. DataSource *DataSource `locationName:"dataSource" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDataSourceResponse
func (CreateDataSourceOutput) GoString ¶
func (s CreateDataSourceOutput) GoString() string
GoString returns the string representation
func (CreateDataSourceOutput) SDKResponseMetadata ¶
func (s CreateDataSourceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateDataSourceOutput) SetDataSource ¶
func (s *CreateDataSourceOutput) SetDataSource(v *DataSource) *CreateDataSourceOutput
SetDataSource sets the DataSource field's value.
func (CreateDataSourceOutput) String ¶
func (s CreateDataSourceOutput) String() string
String returns the string representation
type CreateDataSourceRequest ¶
type CreateDataSourceRequest struct { *aws.Request Input *CreateDataSourceInput }
CreateDataSourceRequest is a API request type for the CreateDataSource API operation.
func (CreateDataSourceRequest) Send ¶
func (r CreateDataSourceRequest) Send() (*CreateDataSourceOutput, error)
Send marshals and sends the CreateDataSource API request.
type CreateGraphqlApiInput ¶
type CreateGraphqlApiInput struct { // The authentication type: API key, IAM, or Amazon Cognito User Pools. // // AuthenticationType is a required field AuthenticationType AuthenticationType `locationName:"authenticationType" type:"string" required:"true" enum:"true"` // A user-supplied name for the GraphqlApi. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The Amazon Cognito User Pool configuration. UserPoolConfig *UserPoolConfig `locationName:"userPoolConfig" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApiRequest
func (CreateGraphqlApiInput) GoString ¶
func (s CreateGraphqlApiInput) GoString() string
GoString returns the string representation
func (*CreateGraphqlApiInput) SetAuthenticationType ¶
func (s *CreateGraphqlApiInput) SetAuthenticationType(v AuthenticationType) *CreateGraphqlApiInput
SetAuthenticationType sets the AuthenticationType field's value.
func (*CreateGraphqlApiInput) SetName ¶
func (s *CreateGraphqlApiInput) SetName(v string) *CreateGraphqlApiInput
SetName sets the Name field's value.
func (*CreateGraphqlApiInput) SetUserPoolConfig ¶
func (s *CreateGraphqlApiInput) SetUserPoolConfig(v *UserPoolConfig) *CreateGraphqlApiInput
SetUserPoolConfig sets the UserPoolConfig field's value.
func (CreateGraphqlApiInput) String ¶
func (s CreateGraphqlApiInput) String() string
String returns the string representation
func (*CreateGraphqlApiInput) Validate ¶
func (s *CreateGraphqlApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateGraphqlApiOutput ¶
type CreateGraphqlApiOutput struct { // The GraphqlApi. GraphqlApi *GraphqlApi `locationName:"graphqlApi" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApiResponse
func (CreateGraphqlApiOutput) GoString ¶
func (s CreateGraphqlApiOutput) GoString() string
GoString returns the string representation
func (CreateGraphqlApiOutput) SDKResponseMetadata ¶
func (s CreateGraphqlApiOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateGraphqlApiOutput) SetGraphqlApi ¶
func (s *CreateGraphqlApiOutput) SetGraphqlApi(v *GraphqlApi) *CreateGraphqlApiOutput
SetGraphqlApi sets the GraphqlApi field's value.
func (CreateGraphqlApiOutput) String ¶
func (s CreateGraphqlApiOutput) String() string
String returns the string representation
type CreateGraphqlApiRequest ¶
type CreateGraphqlApiRequest struct { *aws.Request Input *CreateGraphqlApiInput }
CreateGraphqlApiRequest is a API request type for the CreateGraphqlApi API operation.
func (CreateGraphqlApiRequest) Send ¶
func (r CreateGraphqlApiRequest) Send() (*CreateGraphqlApiOutput, error)
Send marshals and sends the CreateGraphqlApi API request.
type CreateResolverInput ¶
type CreateResolverInput struct { // The ID for the GraphQL API for which the resolver is being created. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The name of the data source for which the resolver is being created. // // DataSourceName is a required field DataSourceName *string `locationName:"dataSourceName" type:"string" required:"true"` // The name of the field to attach the resolver to. // // FieldName is a required field FieldName *string `locationName:"fieldName" type:"string" required:"true"` // The mapping template to be used for requests. // // A resolver use 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" type:"string" required:"true"` // The mapping template to be used for responses from the data source. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" type:"string"` // The name of the Type. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateResolverRequest
func (CreateResolverInput) GoString ¶
func (s CreateResolverInput) GoString() string
GoString returns the string representation
func (*CreateResolverInput) SetApiId ¶
func (s *CreateResolverInput) SetApiId(v string) *CreateResolverInput
SetApiId sets the ApiId field's value.
func (*CreateResolverInput) SetDataSourceName ¶
func (s *CreateResolverInput) SetDataSourceName(v string) *CreateResolverInput
SetDataSourceName sets the DataSourceName field's value.
func (*CreateResolverInput) SetFieldName ¶
func (s *CreateResolverInput) SetFieldName(v string) *CreateResolverInput
SetFieldName sets the FieldName field's value.
func (*CreateResolverInput) SetRequestMappingTemplate ¶
func (s *CreateResolverInput) SetRequestMappingTemplate(v string) *CreateResolverInput
SetRequestMappingTemplate sets the RequestMappingTemplate field's value.
func (*CreateResolverInput) SetResponseMappingTemplate ¶
func (s *CreateResolverInput) SetResponseMappingTemplate(v string) *CreateResolverInput
SetResponseMappingTemplate sets the ResponseMappingTemplate field's value.
func (*CreateResolverInput) SetTypeName ¶
func (s *CreateResolverInput) SetTypeName(v string) *CreateResolverInput
SetTypeName sets the TypeName field's value.
func (CreateResolverInput) String ¶
func (s CreateResolverInput) String() string
String returns the string representation
func (*CreateResolverInput) Validate ¶
func (s *CreateResolverInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateResolverOutput ¶
type CreateResolverOutput struct { // The Resolver object. Resolver *Resolver `locationName:"resolver" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateResolverResponse
func (CreateResolverOutput) GoString ¶
func (s CreateResolverOutput) GoString() string
GoString returns the string representation
func (CreateResolverOutput) SDKResponseMetadata ¶
func (s CreateResolverOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateResolverOutput) SetResolver ¶
func (s *CreateResolverOutput) SetResolver(v *Resolver) *CreateResolverOutput
SetResolver sets the Resolver field's value.
func (CreateResolverOutput) String ¶
func (s CreateResolverOutput) String() string
String returns the string representation
type CreateResolverRequest ¶
type CreateResolverRequest struct { *aws.Request Input *CreateResolverInput }
CreateResolverRequest is a API request type for the CreateResolver API operation.
func (CreateResolverRequest) Send ¶
func (r CreateResolverRequest) Send() (*CreateResolverOutput, error)
Send marshals and sends the CreateResolver API request.
type CreateTypeInput ¶
type CreateTypeInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The type definition, in GraphQL Schema Definition Language (SDL) format. // // For more information, see the GraphQL SDL documentation (http://graphql.org/learn/schema/). // // Definition is a required field Definition *string `locationName:"definition" type:"string" required:"true"` // The type format: SDL or JSON. // // Format is a required field Format TypeDefinitionFormat `locationName:"format" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateTypeRequest
func (CreateTypeInput) GoString ¶
func (s CreateTypeInput) GoString() string
GoString returns the string representation
func (*CreateTypeInput) SetApiId ¶
func (s *CreateTypeInput) SetApiId(v string) *CreateTypeInput
SetApiId sets the ApiId field's value.
func (*CreateTypeInput) SetDefinition ¶
func (s *CreateTypeInput) SetDefinition(v string) *CreateTypeInput
SetDefinition sets the Definition field's value.
func (*CreateTypeInput) SetFormat ¶
func (s *CreateTypeInput) SetFormat(v TypeDefinitionFormat) *CreateTypeInput
SetFormat sets the Format field's value.
func (CreateTypeInput) String ¶
func (s CreateTypeInput) String() string
String returns the string representation
func (*CreateTypeInput) Validate ¶
func (s *CreateTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateTypeOutput ¶
type CreateTypeOutput struct { // The Type object. Type *Type `locationName:"type" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateTypeResponse
func (CreateTypeOutput) GoString ¶
func (s CreateTypeOutput) GoString() string
GoString returns the string representation
func (CreateTypeOutput) SDKResponseMetadata ¶
func (s CreateTypeOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateTypeOutput) SetType ¶
func (s *CreateTypeOutput) SetType(v *Type) *CreateTypeOutput
SetType sets the Type field's value.
func (CreateTypeOutput) String ¶
func (s CreateTypeOutput) String() string
String returns the string representation
type CreateTypeRequest ¶
type CreateTypeRequest struct { *aws.Request Input *CreateTypeInput }
CreateTypeRequest is a API request type for the CreateType API operation.
func (CreateTypeRequest) Send ¶
func (r CreateTypeRequest) Send() (*CreateTypeOutput, error)
Send marshals and sends the CreateType API request.
type DataSource ¶
type DataSource struct { // The data source ARN. DataSourceArn *string `locationName:"dataSourceArn" type:"string"` // The description of the data source. Description *string `locationName:"description" type:"string"` // DynamoDB settings. DynamodbConfig *DynamodbDataSourceConfig `locationName:"dynamodbConfig" type:"structure"` // Amazon Elasticsearch settings. ElasticsearchConfig *ElasticsearchDataSourceConfig `locationName:"elasticsearchConfig" type:"structure"` // Lambda settings. LambdaConfig *LambdaDataSourceConfig `locationName:"lambdaConfig" type:"structure"` // The name of the data source. Name *string `locationName:"name" type:"string"` // The IAM service role ARN for the data source. The system assumes this role // when accessing the data source. ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"` // The type of the data source. Type DataSourceType `locationName:"type" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes a data source. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DataSource
func (DataSource) GoString ¶
func (s DataSource) GoString() string
GoString returns the string representation
func (*DataSource) SetDataSourceArn ¶
func (s *DataSource) SetDataSourceArn(v string) *DataSource
SetDataSourceArn sets the DataSourceArn field's value.
func (*DataSource) SetDescription ¶
func (s *DataSource) SetDescription(v string) *DataSource
SetDescription sets the Description field's value.
func (*DataSource) SetDynamodbConfig ¶
func (s *DataSource) SetDynamodbConfig(v *DynamodbDataSourceConfig) *DataSource
SetDynamodbConfig sets the DynamodbConfig field's value.
func (*DataSource) SetElasticsearchConfig ¶
func (s *DataSource) SetElasticsearchConfig(v *ElasticsearchDataSourceConfig) *DataSource
SetElasticsearchConfig sets the ElasticsearchConfig field's value.
func (*DataSource) SetLambdaConfig ¶
func (s *DataSource) SetLambdaConfig(v *LambdaDataSourceConfig) *DataSource
SetLambdaConfig sets the LambdaConfig field's value.
func (*DataSource) SetName ¶
func (s *DataSource) SetName(v string) *DataSource
SetName sets the Name field's value.
func (*DataSource) SetServiceRoleArn ¶
func (s *DataSource) SetServiceRoleArn(v string) *DataSource
SetServiceRoleArn sets the ServiceRoleArn field's value.
func (*DataSource) SetType ¶
func (s *DataSource) SetType(v DataSourceType) *DataSource
SetType sets the Type field's value.
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" )
Enum values for DataSourceType
type DefaultAction ¶
type DefaultAction string
const ( DefaultActionAllow DefaultAction = "ALLOW" DefaultActionDeny DefaultAction = "DENY" )
Enum values for DefaultAction
type DeleteApiKeyInput ¶
type DeleteApiKeyInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The ID for the API key. // // Id is a required field Id *string `location:"uri" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiKeyRequest
func (DeleteApiKeyInput) GoString ¶
func (s DeleteApiKeyInput) GoString() string
GoString returns the string representation
func (*DeleteApiKeyInput) SetApiId ¶
func (s *DeleteApiKeyInput) SetApiId(v string) *DeleteApiKeyInput
SetApiId sets the ApiId field's value.
func (*DeleteApiKeyInput) SetId ¶
func (s *DeleteApiKeyInput) SetId(v string) *DeleteApiKeyInput
SetId sets the Id field's value.
func (DeleteApiKeyInput) String ¶
func (s DeleteApiKeyInput) String() string
String returns the string representation
func (*DeleteApiKeyInput) Validate ¶
func (s *DeleteApiKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteApiKeyOutput ¶
type DeleteApiKeyOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiKeyResponse
func (DeleteApiKeyOutput) GoString ¶
func (s DeleteApiKeyOutput) GoString() string
GoString returns the string representation
func (DeleteApiKeyOutput) SDKResponseMetadata ¶
func (s DeleteApiKeyOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteApiKeyOutput) String ¶
func (s DeleteApiKeyOutput) String() string
String returns the string representation
type DeleteApiKeyRequest ¶
type DeleteApiKeyRequest struct { *aws.Request Input *DeleteApiKeyInput }
DeleteApiKeyRequest is a API request type for the DeleteApiKey API operation.
func (DeleteApiKeyRequest) Send ¶
func (r DeleteApiKeyRequest) Send() (*DeleteApiKeyOutput, error)
Send marshals and sends the DeleteApiKey API request.
type DeleteDataSourceInput ¶
type DeleteDataSourceInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The name of the data source. // // Name is a required field Name *string `location:"uri" locationName:"name" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDataSourceRequest
func (DeleteDataSourceInput) GoString ¶
func (s DeleteDataSourceInput) GoString() string
GoString returns the string representation
func (*DeleteDataSourceInput) SetApiId ¶
func (s *DeleteDataSourceInput) SetApiId(v string) *DeleteDataSourceInput
SetApiId sets the ApiId field's value.
func (*DeleteDataSourceInput) SetName ¶
func (s *DeleteDataSourceInput) SetName(v string) *DeleteDataSourceInput
SetName sets the Name field's value.
func (DeleteDataSourceInput) String ¶
func (s DeleteDataSourceInput) String() string
String returns the string representation
func (*DeleteDataSourceInput) Validate ¶
func (s *DeleteDataSourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDataSourceOutput ¶
type DeleteDataSourceOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDataSourceResponse
func (DeleteDataSourceOutput) GoString ¶
func (s DeleteDataSourceOutput) GoString() string
GoString returns the string representation
func (DeleteDataSourceOutput) SDKResponseMetadata ¶
func (s DeleteDataSourceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteDataSourceOutput) String ¶
func (s DeleteDataSourceOutput) String() string
String returns the string representation
type DeleteDataSourceRequest ¶
type DeleteDataSourceRequest struct { *aws.Request Input *DeleteDataSourceInput }
DeleteDataSourceRequest is a API request type for the DeleteDataSource API operation.
func (DeleteDataSourceRequest) Send ¶
func (r DeleteDataSourceRequest) Send() (*DeleteDataSourceOutput, error)
Send marshals and sends the DeleteDataSource API request.
type DeleteGraphqlApiInput ¶
type DeleteGraphqlApiInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteGraphqlApiRequest
func (DeleteGraphqlApiInput) GoString ¶
func (s DeleteGraphqlApiInput) GoString() string
GoString returns the string representation
func (*DeleteGraphqlApiInput) SetApiId ¶
func (s *DeleteGraphqlApiInput) SetApiId(v string) *DeleteGraphqlApiInput
SetApiId sets the ApiId field's value.
func (DeleteGraphqlApiInput) String ¶
func (s DeleteGraphqlApiInput) String() string
String returns the string representation
func (*DeleteGraphqlApiInput) Validate ¶
func (s *DeleteGraphqlApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteGraphqlApiOutput ¶
type DeleteGraphqlApiOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteGraphqlApiResponse
func (DeleteGraphqlApiOutput) GoString ¶
func (s DeleteGraphqlApiOutput) GoString() string
GoString returns the string representation
func (DeleteGraphqlApiOutput) SDKResponseMetadata ¶
func (s DeleteGraphqlApiOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteGraphqlApiOutput) String ¶
func (s DeleteGraphqlApiOutput) String() string
String returns the string representation
type DeleteGraphqlApiRequest ¶
type DeleteGraphqlApiRequest struct { *aws.Request Input *DeleteGraphqlApiInput }
DeleteGraphqlApiRequest is a API request type for the DeleteGraphqlApi API operation.
func (DeleteGraphqlApiRequest) Send ¶
func (r DeleteGraphqlApiRequest) Send() (*DeleteGraphqlApiOutput, error)
Send marshals and sends the DeleteGraphqlApi API request.
type DeleteResolverInput ¶
type DeleteResolverInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The resolver field name. // // FieldName is a required field FieldName *string `location:"uri" locationName:"fieldName" type:"string" required:"true"` // The name of the resolver type. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteResolverRequest
func (DeleteResolverInput) GoString ¶
func (s DeleteResolverInput) GoString() string
GoString returns the string representation
func (*DeleteResolverInput) SetApiId ¶
func (s *DeleteResolverInput) SetApiId(v string) *DeleteResolverInput
SetApiId sets the ApiId field's value.
func (*DeleteResolverInput) SetFieldName ¶
func (s *DeleteResolverInput) SetFieldName(v string) *DeleteResolverInput
SetFieldName sets the FieldName field's value.
func (*DeleteResolverInput) SetTypeName ¶
func (s *DeleteResolverInput) SetTypeName(v string) *DeleteResolverInput
SetTypeName sets the TypeName field's value.
func (DeleteResolverInput) String ¶
func (s DeleteResolverInput) String() string
String returns the string representation
func (*DeleteResolverInput) Validate ¶
func (s *DeleteResolverInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteResolverOutput ¶
type DeleteResolverOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteResolverResponse
func (DeleteResolverOutput) GoString ¶
func (s DeleteResolverOutput) GoString() string
GoString returns the string representation
func (DeleteResolverOutput) SDKResponseMetadata ¶
func (s DeleteResolverOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteResolverOutput) String ¶
func (s DeleteResolverOutput) String() string
String returns the string representation
type DeleteResolverRequest ¶
type DeleteResolverRequest struct { *aws.Request Input *DeleteResolverInput }
DeleteResolverRequest is a API request type for the DeleteResolver API operation.
func (DeleteResolverRequest) Send ¶
func (r DeleteResolverRequest) Send() (*DeleteResolverOutput, error)
Send marshals and sends the DeleteResolver API request.
type DeleteTypeInput ¶
type DeleteTypeInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The type name. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteTypeRequest
func (DeleteTypeInput) GoString ¶
func (s DeleteTypeInput) GoString() string
GoString returns the string representation
func (*DeleteTypeInput) SetApiId ¶
func (s *DeleteTypeInput) SetApiId(v string) *DeleteTypeInput
SetApiId sets the ApiId field's value.
func (*DeleteTypeInput) SetTypeName ¶
func (s *DeleteTypeInput) SetTypeName(v string) *DeleteTypeInput
SetTypeName sets the TypeName field's value.
func (DeleteTypeInput) String ¶
func (s DeleteTypeInput) String() string
String returns the string representation
func (*DeleteTypeInput) Validate ¶
func (s *DeleteTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteTypeOutput ¶
type DeleteTypeOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteTypeResponse
func (DeleteTypeOutput) GoString ¶
func (s DeleteTypeOutput) GoString() string
GoString returns the string representation
func (DeleteTypeOutput) SDKResponseMetadata ¶
func (s DeleteTypeOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteTypeOutput) String ¶
func (s DeleteTypeOutput) String() string
String returns the string representation
type DeleteTypeRequest ¶
type DeleteTypeRequest struct { *aws.Request Input *DeleteTypeInput }
DeleteTypeRequest is a API request type for the DeleteType API operation.
func (DeleteTypeRequest) Send ¶
func (r DeleteTypeRequest) Send() (*DeleteTypeOutput, error)
Send marshals and sends the DeleteType API request.
type DynamodbDataSourceConfig ¶
type DynamodbDataSourceConfig struct { // The AWS region. // // AwsRegion is a required field AwsRegion *string `locationName:"awsRegion" type:"string" required:"true"` // The table name. // // TableName is a required field TableName *string `locationName:"tableName" type:"string" required:"true"` // Set to TRUE to use Amazon Cognito credentials with this data source. UseCallerCredentials *bool `locationName:"useCallerCredentials" type:"boolean"` // contains filtered or unexported fields }
Describes a DynamoDB data source configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DynamodbDataSourceConfig
func (DynamodbDataSourceConfig) GoString ¶
func (s DynamodbDataSourceConfig) GoString() string
GoString returns the string representation
func (*DynamodbDataSourceConfig) SetAwsRegion ¶
func (s *DynamodbDataSourceConfig) SetAwsRegion(v string) *DynamodbDataSourceConfig
SetAwsRegion sets the AwsRegion field's value.
func (*DynamodbDataSourceConfig) SetTableName ¶
func (s *DynamodbDataSourceConfig) SetTableName(v string) *DynamodbDataSourceConfig
SetTableName sets the TableName field's value.
func (*DynamodbDataSourceConfig) SetUseCallerCredentials ¶
func (s *DynamodbDataSourceConfig) SetUseCallerCredentials(v bool) *DynamodbDataSourceConfig
SetUseCallerCredentials sets the UseCallerCredentials field's value.
func (DynamodbDataSourceConfig) String ¶
func (s DynamodbDataSourceConfig) String() string
String returns the string representation
func (*DynamodbDataSourceConfig) Validate ¶
func (s *DynamodbDataSourceConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ElasticsearchDataSourceConfig ¶
type ElasticsearchDataSourceConfig struct { // The AWS region. // // AwsRegion is a required field AwsRegion *string `locationName:"awsRegion" type:"string" required:"true"` // The endpoint. // // Endpoint is a required field Endpoint *string `locationName:"endpoint" type:"string" required:"true"` // contains filtered or unexported fields }
Describes an Elasticsearch data source configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ElasticsearchDataSourceConfig
func (ElasticsearchDataSourceConfig) GoString ¶
func (s ElasticsearchDataSourceConfig) GoString() string
GoString returns the string representation
func (*ElasticsearchDataSourceConfig) SetAwsRegion ¶
func (s *ElasticsearchDataSourceConfig) SetAwsRegion(v string) *ElasticsearchDataSourceConfig
SetAwsRegion sets the AwsRegion field's value.
func (*ElasticsearchDataSourceConfig) SetEndpoint ¶
func (s *ElasticsearchDataSourceConfig) SetEndpoint(v string) *ElasticsearchDataSourceConfig
SetEndpoint sets the Endpoint field's value.
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 GetDataSourceInput ¶
type GetDataSourceInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The name of the data source. // // Name is a required field Name *string `location:"uri" locationName:"name" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDataSourceRequest
func (GetDataSourceInput) GoString ¶
func (s GetDataSourceInput) GoString() string
GoString returns the string representation
func (*GetDataSourceInput) SetApiId ¶
func (s *GetDataSourceInput) SetApiId(v string) *GetDataSourceInput
SetApiId sets the ApiId field's value.
func (*GetDataSourceInput) SetName ¶
func (s *GetDataSourceInput) SetName(v string) *GetDataSourceInput
SetName sets the Name field's value.
func (GetDataSourceInput) String ¶
func (s GetDataSourceInput) String() string
String returns the string representation
func (*GetDataSourceInput) Validate ¶
func (s *GetDataSourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDataSourceOutput ¶
type GetDataSourceOutput struct { // The DataSource object. DataSource *DataSource `locationName:"dataSource" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDataSourceResponse
func (GetDataSourceOutput) GoString ¶
func (s GetDataSourceOutput) GoString() string
GoString returns the string representation
func (GetDataSourceOutput) SDKResponseMetadata ¶
func (s GetDataSourceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetDataSourceOutput) SetDataSource ¶
func (s *GetDataSourceOutput) SetDataSource(v *DataSource) *GetDataSourceOutput
SetDataSource sets the DataSource field's value.
func (GetDataSourceOutput) String ¶
func (s GetDataSourceOutput) String() string
String returns the string representation
type GetDataSourceRequest ¶
type GetDataSourceRequest struct { *aws.Request Input *GetDataSourceInput }
GetDataSourceRequest is a API request type for the GetDataSource API operation.
func (GetDataSourceRequest) Send ¶
func (r GetDataSourceRequest) Send() (*GetDataSourceOutput, error)
Send marshals and sends the GetDataSource API request.
type GetGraphqlApiInput ¶
type GetGraphqlApiInput struct { // The API ID for the GraphQL API. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApiRequest
func (GetGraphqlApiInput) GoString ¶
func (s GetGraphqlApiInput) GoString() string
GoString returns the string representation
func (*GetGraphqlApiInput) SetApiId ¶
func (s *GetGraphqlApiInput) SetApiId(v string) *GetGraphqlApiInput
SetApiId sets the ApiId field's value.
func (GetGraphqlApiInput) String ¶
func (s GetGraphqlApiInput) String() string
String returns the string representation
func (*GetGraphqlApiInput) Validate ¶
func (s *GetGraphqlApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetGraphqlApiOutput ¶
type GetGraphqlApiOutput struct { // The GraphqlApi object. GraphqlApi *GraphqlApi `locationName:"graphqlApi" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApiResponse
func (GetGraphqlApiOutput) GoString ¶
func (s GetGraphqlApiOutput) GoString() string
GoString returns the string representation
func (GetGraphqlApiOutput) SDKResponseMetadata ¶
func (s GetGraphqlApiOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetGraphqlApiOutput) SetGraphqlApi ¶
func (s *GetGraphqlApiOutput) SetGraphqlApi(v *GraphqlApi) *GetGraphqlApiOutput
SetGraphqlApi sets the GraphqlApi field's value.
func (GetGraphqlApiOutput) String ¶
func (s GetGraphqlApiOutput) String() string
String returns the string representation
type GetGraphqlApiRequest ¶
type GetGraphqlApiRequest struct { *aws.Request Input *GetGraphqlApiInput }
GetGraphqlApiRequest is a API request type for the GetGraphqlApi API operation.
func (GetGraphqlApiRequest) Send ¶
func (r GetGraphqlApiRequest) Send() (*GetGraphqlApiOutput, error)
Send marshals and sends the GetGraphqlApi API request.
type GetIntrospectionSchemaInput ¶
type GetIntrospectionSchemaInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The schema format: SDL or JSON. // // Format is a required field Format OutputType `location:"querystring" locationName:"format" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetIntrospectionSchemaRequest
func (GetIntrospectionSchemaInput) GoString ¶
func (s GetIntrospectionSchemaInput) GoString() string
GoString returns the string representation
func (*GetIntrospectionSchemaInput) SetApiId ¶
func (s *GetIntrospectionSchemaInput) SetApiId(v string) *GetIntrospectionSchemaInput
SetApiId sets the ApiId field's value.
func (*GetIntrospectionSchemaInput) SetFormat ¶
func (s *GetIntrospectionSchemaInput) SetFormat(v OutputType) *GetIntrospectionSchemaInput
SetFormat sets the Format field's value.
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) GoString ¶
func (s GetIntrospectionSchemaOutput) GoString() string
GoString returns the string representation
func (GetIntrospectionSchemaOutput) SDKResponseMetadata ¶
func (s GetIntrospectionSchemaOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetIntrospectionSchemaOutput) SetSchema ¶
func (s *GetIntrospectionSchemaOutput) SetSchema(v []byte) *GetIntrospectionSchemaOutput
SetSchema sets the Schema field's value.
func (GetIntrospectionSchemaOutput) String ¶
func (s GetIntrospectionSchemaOutput) String() string
String returns the string representation
type GetIntrospectionSchemaRequest ¶
type GetIntrospectionSchemaRequest struct { *aws.Request Input *GetIntrospectionSchemaInput }
GetIntrospectionSchemaRequest is a API request type for the GetIntrospectionSchema API operation.
func (GetIntrospectionSchemaRequest) Send ¶
func (r GetIntrospectionSchemaRequest) Send() (*GetIntrospectionSchemaOutput, error)
Send marshals and sends the GetIntrospectionSchema API request.
type GetResolverInput ¶
type GetResolverInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The resolver field name. // // FieldName is a required field FieldName *string `location:"uri" locationName:"fieldName" type:"string" required:"true"` // The resolver type name. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetResolverRequest
func (GetResolverInput) GoString ¶
func (s GetResolverInput) GoString() string
GoString returns the string representation
func (*GetResolverInput) SetApiId ¶
func (s *GetResolverInput) SetApiId(v string) *GetResolverInput
SetApiId sets the ApiId field's value.
func (*GetResolverInput) SetFieldName ¶
func (s *GetResolverInput) SetFieldName(v string) *GetResolverInput
SetFieldName sets the FieldName field's value.
func (*GetResolverInput) SetTypeName ¶
func (s *GetResolverInput) SetTypeName(v string) *GetResolverInput
SetTypeName sets the TypeName field's value.
func (GetResolverInput) String ¶
func (s GetResolverInput) String() string
String returns the string representation
func (*GetResolverInput) Validate ¶
func (s *GetResolverInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetResolverOutput ¶
type GetResolverOutput struct { // The Resolver object. Resolver *Resolver `locationName:"resolver" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetResolverResponse
func (GetResolverOutput) GoString ¶
func (s GetResolverOutput) GoString() string
GoString returns the string representation
func (GetResolverOutput) SDKResponseMetadata ¶
func (s GetResolverOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetResolverOutput) SetResolver ¶
func (s *GetResolverOutput) SetResolver(v *Resolver) *GetResolverOutput
SetResolver sets the Resolver field's value.
func (GetResolverOutput) String ¶
func (s GetResolverOutput) String() string
String returns the string representation
type GetResolverRequest ¶
type GetResolverRequest struct { *aws.Request Input *GetResolverInput }
GetResolverRequest is a API request type for the GetResolver API operation.
func (GetResolverRequest) Send ¶
func (r GetResolverRequest) Send() (*GetResolverOutput, error)
Send marshals and sends the GetResolver API request.
type GetSchemaCreationStatusInput ¶
type GetSchemaCreationStatusInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSchemaCreationStatusRequest
func (GetSchemaCreationStatusInput) GoString ¶
func (s GetSchemaCreationStatusInput) GoString() string
GoString returns the string representation
func (*GetSchemaCreationStatusInput) SetApiId ¶
func (s *GetSchemaCreationStatusInput) SetApiId(v string) *GetSchemaCreationStatusInput
SetApiId sets the ApiId field's value.
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, ACTIVE, or DELETING). Once the // schema is in the ACTIVE state, you can add data. Status SchemaStatus `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSchemaCreationStatusResponse
func (GetSchemaCreationStatusOutput) GoString ¶
func (s GetSchemaCreationStatusOutput) GoString() string
GoString returns the string representation
func (GetSchemaCreationStatusOutput) SDKResponseMetadata ¶
func (s GetSchemaCreationStatusOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetSchemaCreationStatusOutput) SetDetails ¶
func (s *GetSchemaCreationStatusOutput) SetDetails(v string) *GetSchemaCreationStatusOutput
SetDetails sets the Details field's value.
func (*GetSchemaCreationStatusOutput) SetStatus ¶
func (s *GetSchemaCreationStatusOutput) SetStatus(v SchemaStatus) *GetSchemaCreationStatusOutput
SetStatus sets the Status field's value.
func (GetSchemaCreationStatusOutput) String ¶
func (s GetSchemaCreationStatusOutput) String() string
String returns the string representation
type GetSchemaCreationStatusRequest ¶
type GetSchemaCreationStatusRequest struct { *aws.Request Input *GetSchemaCreationStatusInput }
GetSchemaCreationStatusRequest is a API request type for the GetSchemaCreationStatus API operation.
func (GetSchemaCreationStatusRequest) Send ¶
func (r GetSchemaCreationStatusRequest) Send() (*GetSchemaCreationStatusOutput, error)
Send marshals and sends the GetSchemaCreationStatus API request.
type GetTypeInput ¶
type GetTypeInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The type format: SDL or JSON. // // Format is a required field Format TypeDefinitionFormat `location:"querystring" locationName:"format" type:"string" required:"true" enum:"true"` // The type name. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetTypeRequest
func (GetTypeInput) GoString ¶
func (s GetTypeInput) GoString() string
GoString returns the string representation
func (*GetTypeInput) SetApiId ¶
func (s *GetTypeInput) SetApiId(v string) *GetTypeInput
SetApiId sets the ApiId field's value.
func (*GetTypeInput) SetFormat ¶
func (s *GetTypeInput) SetFormat(v TypeDefinitionFormat) *GetTypeInput
SetFormat sets the Format field's value.
func (*GetTypeInput) SetTypeName ¶
func (s *GetTypeInput) SetTypeName(v string) *GetTypeInput
SetTypeName sets the TypeName field's value.
func (GetTypeInput) String ¶
func (s GetTypeInput) String() string
String returns the string representation
func (*GetTypeInput) Validate ¶
func (s *GetTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetTypeOutput ¶
type GetTypeOutput struct { // The Type object. Type *Type `locationName:"type" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetTypeResponse
func (GetTypeOutput) GoString ¶
func (s GetTypeOutput) GoString() string
GoString returns the string representation
func (GetTypeOutput) SDKResponseMetadata ¶
func (s GetTypeOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetTypeOutput) SetType ¶
func (s *GetTypeOutput) SetType(v *Type) *GetTypeOutput
SetType sets the Type field's value.
func (GetTypeOutput) String ¶
func (s GetTypeOutput) String() string
String returns the string representation
type GetTypeRequest ¶
type GetTypeRequest struct { *aws.Request Input *GetTypeInput }
GetTypeRequest is a API request type for the GetType API operation.
func (GetTypeRequest) Send ¶
func (r GetTypeRequest) Send() (*GetTypeOutput, error)
Send marshals and sends the GetType API request.
type GraphqlApi ¶
type GraphqlApi struct { // The API ID. ApiId *string `locationName:"apiId" type:"string"` // The ARN. Arn *string `locationName:"arn" type:"string"` // The authentication type. AuthenticationType AuthenticationType `locationName:"authenticationType" type:"string" enum:"true"` // The API name. Name *string `locationName:"name" type:"string"` // The URIs. Uris map[string]string `locationName:"uris" type:"map"` // The Amazon Cognito User Pool configuration. UserPoolConfig *UserPoolConfig `locationName:"userPoolConfig" type:"structure"` // contains filtered or unexported fields }
Describes a GraphQL API. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GraphqlApi
func (GraphqlApi) GoString ¶
func (s GraphqlApi) GoString() string
GoString returns the string representation
func (*GraphqlApi) SetApiId ¶
func (s *GraphqlApi) SetApiId(v string) *GraphqlApi
SetApiId sets the ApiId field's value.
func (*GraphqlApi) SetArn ¶
func (s *GraphqlApi) SetArn(v string) *GraphqlApi
SetArn sets the Arn field's value.
func (*GraphqlApi) SetAuthenticationType ¶
func (s *GraphqlApi) SetAuthenticationType(v AuthenticationType) *GraphqlApi
SetAuthenticationType sets the AuthenticationType field's value.
func (*GraphqlApi) SetName ¶
func (s *GraphqlApi) SetName(v string) *GraphqlApi
SetName sets the Name field's value.
func (*GraphqlApi) SetUris ¶
func (s *GraphqlApi) SetUris(v map[string]string) *GraphqlApi
SetUris sets the Uris field's value.
func (*GraphqlApi) SetUserPoolConfig ¶
func (s *GraphqlApi) SetUserPoolConfig(v *UserPoolConfig) *GraphqlApi
SetUserPoolConfig sets the UserPoolConfig field's value.
func (GraphqlApi) String ¶
func (s GraphqlApi) String() string
String returns the string representation
type LambdaDataSourceConfig ¶
type LambdaDataSourceConfig struct { // The ARN for the Lambda function. // // LambdaFunctionArn is a required field LambdaFunctionArn *string `locationName:"lambdaFunctionArn" type:"string" required:"true"` // contains filtered or unexported fields }
Describes a Lambda data source configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/LambdaDataSourceConfig
func (LambdaDataSourceConfig) GoString ¶
func (s LambdaDataSourceConfig) GoString() string
GoString returns the string representation
func (*LambdaDataSourceConfig) SetLambdaFunctionArn ¶
func (s *LambdaDataSourceConfig) SetLambdaFunctionArn(v string) *LambdaDataSourceConfig
SetLambdaFunctionArn sets the LambdaFunctionArn field's value.
func (LambdaDataSourceConfig) String ¶
func (s LambdaDataSourceConfig) String() string
String returns the string representation
func (*LambdaDataSourceConfig) Validate ¶
func (s *LambdaDataSourceConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListApiKeysInput ¶
type ListApiKeysInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The maximum number of results you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeysRequest
func (ListApiKeysInput) GoString ¶
func (s ListApiKeysInput) GoString() string
GoString returns the string representation
func (*ListApiKeysInput) SetApiId ¶
func (s *ListApiKeysInput) SetApiId(v string) *ListApiKeysInput
SetApiId sets the ApiId field's value.
func (*ListApiKeysInput) SetMaxResults ¶
func (s *ListApiKeysInput) SetMaxResults(v int64) *ListApiKeysInput
SetMaxResults sets the MaxResults field's value.
func (*ListApiKeysInput) SetNextToken ¶
func (s *ListApiKeysInput) SetNextToken(v string) *ListApiKeysInput
SetNextToken sets the NextToken field's value.
func (ListApiKeysInput) String ¶
func (s ListApiKeysInput) String() string
String returns the string representation
func (*ListApiKeysInput) Validate ¶
func (s *ListApiKeysInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListApiKeysOutput ¶
type ListApiKeysOutput struct { // The ApiKey objects. ApiKeys []ApiKey `locationName:"apiKeys" type:"list"` // An identifier to be passed in the next request to this operation to return // the next set of items in the list. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeysResponse
func (ListApiKeysOutput) GoString ¶
func (s ListApiKeysOutput) GoString() string
GoString returns the string representation
func (ListApiKeysOutput) SDKResponseMetadata ¶
func (s ListApiKeysOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ListApiKeysOutput) SetApiKeys ¶
func (s *ListApiKeysOutput) SetApiKeys(v []ApiKey) *ListApiKeysOutput
SetApiKeys sets the ApiKeys field's value.
func (*ListApiKeysOutput) SetNextToken ¶
func (s *ListApiKeysOutput) SetNextToken(v string) *ListApiKeysOutput
SetNextToken sets the NextToken field's value.
func (ListApiKeysOutput) String ¶
func (s ListApiKeysOutput) String() string
String returns the string representation
type ListApiKeysRequest ¶
type ListApiKeysRequest struct { *aws.Request Input *ListApiKeysInput }
ListApiKeysRequest is a API request type for the ListApiKeys API operation.
func (ListApiKeysRequest) Send ¶
func (r ListApiKeysRequest) Send() (*ListApiKeysOutput, error)
Send marshals and sends the ListApiKeys API request.
type ListDataSourcesInput ¶
type ListDataSourcesInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The maximum number of results you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDataSourcesRequest
func (ListDataSourcesInput) GoString ¶
func (s ListDataSourcesInput) GoString() string
GoString returns the string representation
func (*ListDataSourcesInput) SetApiId ¶
func (s *ListDataSourcesInput) SetApiId(v string) *ListDataSourcesInput
SetApiId sets the ApiId field's value.
func (*ListDataSourcesInput) SetMaxResults ¶
func (s *ListDataSourcesInput) SetMaxResults(v int64) *ListDataSourcesInput
SetMaxResults sets the MaxResults field's value.
func (*ListDataSourcesInput) SetNextToken ¶
func (s *ListDataSourcesInput) SetNextToken(v string) *ListDataSourcesInput
SetNextToken sets the NextToken field's value.
func (ListDataSourcesInput) String ¶
func (s ListDataSourcesInput) String() string
String returns the string representation
func (*ListDataSourcesInput) Validate ¶
func (s *ListDataSourcesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListDataSourcesOutput ¶
type ListDataSourcesOutput struct { // The DataSource objects. DataSources []DataSource `locationName:"dataSources" type:"list"` // An identifier to be passed in the next request to this operation to return // the next set of items in the list. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDataSourcesResponse
func (ListDataSourcesOutput) GoString ¶
func (s ListDataSourcesOutput) GoString() string
GoString returns the string representation
func (ListDataSourcesOutput) SDKResponseMetadata ¶
func (s ListDataSourcesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ListDataSourcesOutput) SetDataSources ¶
func (s *ListDataSourcesOutput) SetDataSources(v []DataSource) *ListDataSourcesOutput
SetDataSources sets the DataSources field's value.
func (*ListDataSourcesOutput) SetNextToken ¶
func (s *ListDataSourcesOutput) SetNextToken(v string) *ListDataSourcesOutput
SetNextToken sets the NextToken field's value.
func (ListDataSourcesOutput) String ¶
func (s ListDataSourcesOutput) String() string
String returns the string representation
type ListDataSourcesRequest ¶
type ListDataSourcesRequest struct { *aws.Request Input *ListDataSourcesInput }
ListDataSourcesRequest is a API request type for the ListDataSources API operation.
func (ListDataSourcesRequest) Send ¶
func (r ListDataSourcesRequest) Send() (*ListDataSourcesOutput, error)
Send marshals and sends the ListDataSources API request.
type ListGraphqlApisInput ¶
type ListGraphqlApisInput struct { // The maximum number of results you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApisRequest
func (ListGraphqlApisInput) GoString ¶
func (s ListGraphqlApisInput) GoString() string
GoString returns the string representation
func (*ListGraphqlApisInput) SetMaxResults ¶
func (s *ListGraphqlApisInput) SetMaxResults(v int64) *ListGraphqlApisInput
SetMaxResults sets the MaxResults field's value.
func (*ListGraphqlApisInput) SetNextToken ¶
func (s *ListGraphqlApisInput) SetNextToken(v string) *ListGraphqlApisInput
SetNextToken sets the NextToken field's value.
func (ListGraphqlApisInput) String ¶
func (s ListGraphqlApisInput) String() string
String returns the string representation
type ListGraphqlApisOutput ¶
type ListGraphqlApisOutput struct { // The GraphqlApi objects. GraphqlApis []GraphqlApi `locationName:"graphqlApis" type:"list"` // An identifier to be passed in the next request to this operation to return // the next set of items in the list. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApisResponse
func (ListGraphqlApisOutput) GoString ¶
func (s ListGraphqlApisOutput) GoString() string
GoString returns the string representation
func (ListGraphqlApisOutput) SDKResponseMetadata ¶
func (s ListGraphqlApisOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ListGraphqlApisOutput) SetGraphqlApis ¶
func (s *ListGraphqlApisOutput) SetGraphqlApis(v []GraphqlApi) *ListGraphqlApisOutput
SetGraphqlApis sets the GraphqlApis field's value.
func (*ListGraphqlApisOutput) SetNextToken ¶
func (s *ListGraphqlApisOutput) SetNextToken(v string) *ListGraphqlApisOutput
SetNextToken sets the NextToken field's value.
func (ListGraphqlApisOutput) String ¶
func (s ListGraphqlApisOutput) String() string
String returns the string representation
type ListGraphqlApisRequest ¶
type ListGraphqlApisRequest struct { *aws.Request Input *ListGraphqlApisInput }
ListGraphqlApisRequest is a API request type for the ListGraphqlApis API operation.
func (ListGraphqlApisRequest) Send ¶
func (r ListGraphqlApisRequest) Send() (*ListGraphqlApisOutput, error)
Send marshals and sends the ListGraphqlApis API request.
type ListResolversInput ¶
type ListResolversInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The maximum number of results you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The type name. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolversRequest
func (ListResolversInput) GoString ¶
func (s ListResolversInput) GoString() string
GoString returns the string representation
func (*ListResolversInput) SetApiId ¶
func (s *ListResolversInput) SetApiId(v string) *ListResolversInput
SetApiId sets the ApiId field's value.
func (*ListResolversInput) SetMaxResults ¶
func (s *ListResolversInput) SetMaxResults(v int64) *ListResolversInput
SetMaxResults sets the MaxResults field's value.
func (*ListResolversInput) SetNextToken ¶
func (s *ListResolversInput) SetNextToken(v string) *ListResolversInput
SetNextToken sets the NextToken field's value.
func (*ListResolversInput) SetTypeName ¶
func (s *ListResolversInput) SetTypeName(v string) *ListResolversInput
SetTypeName sets the TypeName field's value.
func (ListResolversInput) String ¶
func (s ListResolversInput) String() string
String returns the string representation
func (*ListResolversInput) Validate ¶
func (s *ListResolversInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListResolversOutput ¶
type ListResolversOutput struct { // An identifier to be passed in the next request to this operation to return // the next set of items in the list. NextToken *string `locationName:"nextToken" type:"string"` // The Resolver objects. Resolvers []Resolver `locationName:"resolvers" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolversResponse
func (ListResolversOutput) GoString ¶
func (s ListResolversOutput) GoString() string
GoString returns the string representation
func (ListResolversOutput) SDKResponseMetadata ¶
func (s ListResolversOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ListResolversOutput) SetNextToken ¶
func (s *ListResolversOutput) SetNextToken(v string) *ListResolversOutput
SetNextToken sets the NextToken field's value.
func (*ListResolversOutput) SetResolvers ¶
func (s *ListResolversOutput) SetResolvers(v []Resolver) *ListResolversOutput
SetResolvers sets the Resolvers field's value.
func (ListResolversOutput) String ¶
func (s ListResolversOutput) String() string
String returns the string representation
type ListResolversRequest ¶
type ListResolversRequest struct { *aws.Request Input *ListResolversInput }
ListResolversRequest is a API request type for the ListResolvers API operation.
func (ListResolversRequest) Send ¶
func (r ListResolversRequest) Send() (*ListResolversOutput, error)
Send marshals and sends the ListResolvers API request.
type ListTypesInput ¶
type ListTypesInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The type format: SDL or JSON. // // Format is a required field Format TypeDefinitionFormat `location:"querystring" locationName:"format" type:"string" required:"true" enum:"true"` // The maximum number of results you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypesRequest
func (ListTypesInput) GoString ¶
func (s ListTypesInput) GoString() string
GoString returns the string representation
func (*ListTypesInput) SetApiId ¶
func (s *ListTypesInput) SetApiId(v string) *ListTypesInput
SetApiId sets the ApiId field's value.
func (*ListTypesInput) SetFormat ¶
func (s *ListTypesInput) SetFormat(v TypeDefinitionFormat) *ListTypesInput
SetFormat sets the Format field's value.
func (*ListTypesInput) SetMaxResults ¶
func (s *ListTypesInput) SetMaxResults(v int64) *ListTypesInput
SetMaxResults sets the MaxResults field's value.
func (*ListTypesInput) SetNextToken ¶
func (s *ListTypesInput) SetNextToken(v string) *ListTypesInput
SetNextToken sets the NextToken field's value.
func (ListTypesInput) String ¶
func (s ListTypesInput) String() string
String returns the string representation
func (*ListTypesInput) Validate ¶
func (s *ListTypesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTypesOutput ¶
type ListTypesOutput struct { // An identifier to be passed in the next request to this operation to return // the next set of items in the list. NextToken *string `locationName:"nextToken" type:"string"` // The Type objects. Types []Type `locationName:"types" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypesResponse
func (ListTypesOutput) GoString ¶
func (s ListTypesOutput) GoString() string
GoString returns the string representation
func (ListTypesOutput) SDKResponseMetadata ¶
func (s ListTypesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ListTypesOutput) SetNextToken ¶
func (s *ListTypesOutput) SetNextToken(v string) *ListTypesOutput
SetNextToken sets the NextToken field's value.
func (*ListTypesOutput) SetTypes ¶
func (s *ListTypesOutput) SetTypes(v []Type) *ListTypesOutput
SetTypes sets the Types field's value.
func (ListTypesOutput) String ¶
func (s ListTypesOutput) String() string
String returns the string representation
type ListTypesRequest ¶
type ListTypesRequest struct { *aws.Request Input *ListTypesInput }
ListTypesRequest is a API request type for the ListTypes API operation.
func (ListTypesRequest) Send ¶
func (r ListTypesRequest) Send() (*ListTypesOutput, error)
Send marshals and sends the ListTypes API request.
type OutputType ¶
type OutputType string
const ( OutputTypeSdl OutputType = "SDL" OutputTypeJson OutputType = "JSON" )
Enum values for OutputType
type Resolver ¶
type Resolver struct { // The resolver data source name. DataSourceName *string `locationName:"dataSourceName" type:"string"` // The resolver field name. FieldName *string `locationName:"fieldName" type:"string"` // The request mapping template. RequestMappingTemplate *string `locationName:"requestMappingTemplate" type:"string"` // The resolver ARN. ResolverArn *string `locationName:"resolverArn" type:"string"` // The response mapping template. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" 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) SetDataSourceName ¶
SetDataSourceName sets the DataSourceName field's value.
func (*Resolver) SetFieldName ¶
SetFieldName sets the FieldName field's value.
func (*Resolver) SetRequestMappingTemplate ¶
SetRequestMappingTemplate sets the RequestMappingTemplate field's value.
func (*Resolver) SetResolverArn ¶
SetResolverArn sets the ResolverArn field's value.
func (*Resolver) SetResponseMappingTemplate ¶
SetResponseMappingTemplate sets the ResponseMappingTemplate field's value.
func (*Resolver) SetTypeName ¶
SetTypeName sets the TypeName field's value.
type SchemaStatus ¶
type SchemaStatus string
const ( SchemaStatusProcessing SchemaStatus = "PROCESSING" SchemaStatusActive SchemaStatus = "ACTIVE" SchemaStatusDeleting SchemaStatus = "DELETING" )
Enum values for SchemaStatus
type StartSchemaCreationInput ¶
type StartSchemaCreationInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The schema definition, in GraphQL schema language format. // // Definition is automatically base64 encoded/decoded by the SDK. // // Definition is a required field Definition []byte `locationName:"definition" type:"blob" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaCreationRequest
func (StartSchemaCreationInput) GoString ¶
func (s StartSchemaCreationInput) GoString() string
GoString returns the string representation
func (*StartSchemaCreationInput) SetApiId ¶
func (s *StartSchemaCreationInput) SetApiId(v string) *StartSchemaCreationInput
SetApiId sets the ApiId field's value.
func (*StartSchemaCreationInput) SetDefinition ¶
func (s *StartSchemaCreationInput) SetDefinition(v []byte) *StartSchemaCreationInput
SetDefinition sets the Definition field's value.
func (StartSchemaCreationInput) String ¶
func (s StartSchemaCreationInput) String() string
String returns the string representation
func (*StartSchemaCreationInput) Validate ¶
func (s *StartSchemaCreationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartSchemaCreationOutput ¶
type StartSchemaCreationOutput struct { // The current state of the schema (PROCESSING, ACTIVE, or DELETING). Once the // schema is in the ACTIVE state, you can add data. Status SchemaStatus `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaCreationResponse
func (StartSchemaCreationOutput) GoString ¶
func (s StartSchemaCreationOutput) GoString() string
GoString returns the string representation
func (StartSchemaCreationOutput) SDKResponseMetadata ¶
func (s StartSchemaCreationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*StartSchemaCreationOutput) SetStatus ¶
func (s *StartSchemaCreationOutput) SetStatus(v SchemaStatus) *StartSchemaCreationOutput
SetStatus sets the Status field's value.
func (StartSchemaCreationOutput) String ¶
func (s StartSchemaCreationOutput) String() string
String returns the string representation
type StartSchemaCreationRequest ¶
type StartSchemaCreationRequest struct { *aws.Request Input *StartSchemaCreationInput }
StartSchemaCreationRequest is a API request type for the StartSchemaCreation API operation.
func (StartSchemaCreationRequest) Send ¶
func (r StartSchemaCreationRequest) Send() (*StartSchemaCreationOutput, error)
Send marshals and sends the StartSchemaCreation API request.
type Type ¶
type Type struct { // The type ARN. Arn *string `locationName:"arn" type:"string"` // The type definition. Definition *string `locationName:"definition" type:"string"` // The type description. Description *string `locationName:"description" type:"string"` // The type format: SDL or JSON. Format TypeDefinitionFormat `locationName:"format" type:"string" enum:"true"` // The type name. Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
Describes a type. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/Type
func (*Type) SetDefinition ¶
SetDefinition sets the Definition field's value.
func (*Type) SetDescription ¶
SetDescription sets the Description field's value.
func (*Type) SetFormat ¶
func (s *Type) SetFormat(v TypeDefinitionFormat) *Type
SetFormat sets the Format field's value.
type TypeDefinitionFormat ¶
type TypeDefinitionFormat string
const ( TypeDefinitionFormatSdl TypeDefinitionFormat = "SDL" TypeDefinitionFormatJson TypeDefinitionFormat = "JSON" )
Enum values for TypeDefinitionFormat
type UpdateDataSourceInput ¶
type UpdateDataSourceInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The new description for the data source. Description *string `locationName:"description" type:"string"` // The new DynamoDB configuration. DynamodbConfig *DynamodbDataSourceConfig `locationName:"dynamodbConfig" type:"structure"` // The new Elasticsearch configuration. ElasticsearchConfig *ElasticsearchDataSourceConfig `locationName:"elasticsearchConfig" type:"structure"` // The new Lambda configuration. LambdaConfig *LambdaDataSourceConfig `locationName:"lambdaConfig" type:"structure"` // The new name for the data source. // // Name is a required field Name *string `location:"uri" locationName:"name" type:"string" required:"true"` // The new service role ARN for the data source. ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"` // The new data source type. // // Type is a required field Type DataSourceType `locationName:"type" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDataSourceRequest
func (UpdateDataSourceInput) GoString ¶
func (s UpdateDataSourceInput) GoString() string
GoString returns the string representation
func (*UpdateDataSourceInput) SetApiId ¶
func (s *UpdateDataSourceInput) SetApiId(v string) *UpdateDataSourceInput
SetApiId sets the ApiId field's value.
func (*UpdateDataSourceInput) SetDescription ¶
func (s *UpdateDataSourceInput) SetDescription(v string) *UpdateDataSourceInput
SetDescription sets the Description field's value.
func (*UpdateDataSourceInput) SetDynamodbConfig ¶
func (s *UpdateDataSourceInput) SetDynamodbConfig(v *DynamodbDataSourceConfig) *UpdateDataSourceInput
SetDynamodbConfig sets the DynamodbConfig field's value.
func (*UpdateDataSourceInput) SetElasticsearchConfig ¶
func (s *UpdateDataSourceInput) SetElasticsearchConfig(v *ElasticsearchDataSourceConfig) *UpdateDataSourceInput
SetElasticsearchConfig sets the ElasticsearchConfig field's value.
func (*UpdateDataSourceInput) SetLambdaConfig ¶
func (s *UpdateDataSourceInput) SetLambdaConfig(v *LambdaDataSourceConfig) *UpdateDataSourceInput
SetLambdaConfig sets the LambdaConfig field's value.
func (*UpdateDataSourceInput) SetName ¶
func (s *UpdateDataSourceInput) SetName(v string) *UpdateDataSourceInput
SetName sets the Name field's value.
func (*UpdateDataSourceInput) SetServiceRoleArn ¶
func (s *UpdateDataSourceInput) SetServiceRoleArn(v string) *UpdateDataSourceInput
SetServiceRoleArn sets the ServiceRoleArn field's value.
func (*UpdateDataSourceInput) SetType ¶
func (s *UpdateDataSourceInput) SetType(v DataSourceType) *UpdateDataSourceInput
SetType sets the Type field's value.
func (UpdateDataSourceInput) String ¶
func (s UpdateDataSourceInput) String() string
String returns the string representation
func (*UpdateDataSourceInput) Validate ¶
func (s *UpdateDataSourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateDataSourceOutput ¶
type UpdateDataSourceOutput struct { // The updated DataSource object. DataSource *DataSource `locationName:"dataSource" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDataSourceResponse
func (UpdateDataSourceOutput) GoString ¶
func (s UpdateDataSourceOutput) GoString() string
GoString returns the string representation
func (UpdateDataSourceOutput) SDKResponseMetadata ¶
func (s UpdateDataSourceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UpdateDataSourceOutput) SetDataSource ¶
func (s *UpdateDataSourceOutput) SetDataSource(v *DataSource) *UpdateDataSourceOutput
SetDataSource sets the DataSource field's value.
func (UpdateDataSourceOutput) String ¶
func (s UpdateDataSourceOutput) String() string
String returns the string representation
type UpdateDataSourceRequest ¶
type UpdateDataSourceRequest struct { *aws.Request Input *UpdateDataSourceInput }
UpdateDataSourceRequest is a API request type for the UpdateDataSource API operation.
func (UpdateDataSourceRequest) Send ¶
func (r UpdateDataSourceRequest) Send() (*UpdateDataSourceOutput, error)
Send marshals and sends the UpdateDataSource API request.
type UpdateGraphqlApiInput ¶
type UpdateGraphqlApiInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The new authentication type for the GraphqlApi object. AuthenticationType AuthenticationType `locationName:"authenticationType" type:"string" enum:"true"` // The new name for the GraphqlApi object. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The new Amazon Cognito User Pool configuration for the GraphqlApi object. UserPoolConfig *UserPoolConfig `locationName:"userPoolConfig" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApiRequest
func (UpdateGraphqlApiInput) GoString ¶
func (s UpdateGraphqlApiInput) GoString() string
GoString returns the string representation
func (*UpdateGraphqlApiInput) SetApiId ¶
func (s *UpdateGraphqlApiInput) SetApiId(v string) *UpdateGraphqlApiInput
SetApiId sets the ApiId field's value.
func (*UpdateGraphqlApiInput) SetAuthenticationType ¶
func (s *UpdateGraphqlApiInput) SetAuthenticationType(v AuthenticationType) *UpdateGraphqlApiInput
SetAuthenticationType sets the AuthenticationType field's value.
func (*UpdateGraphqlApiInput) SetName ¶
func (s *UpdateGraphqlApiInput) SetName(v string) *UpdateGraphqlApiInput
SetName sets the Name field's value.
func (*UpdateGraphqlApiInput) SetUserPoolConfig ¶
func (s *UpdateGraphqlApiInput) SetUserPoolConfig(v *UserPoolConfig) *UpdateGraphqlApiInput
SetUserPoolConfig sets the UserPoolConfig field's value.
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 udpated GraphqlApi object. GraphqlApi *GraphqlApi `locationName:"graphqlApi" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApiResponse
func (UpdateGraphqlApiOutput) GoString ¶
func (s UpdateGraphqlApiOutput) GoString() string
GoString returns the string representation
func (UpdateGraphqlApiOutput) SDKResponseMetadata ¶
func (s UpdateGraphqlApiOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UpdateGraphqlApiOutput) SetGraphqlApi ¶
func (s *UpdateGraphqlApiOutput) SetGraphqlApi(v *GraphqlApi) *UpdateGraphqlApiOutput
SetGraphqlApi sets the GraphqlApi field's value.
func (UpdateGraphqlApiOutput) String ¶
func (s UpdateGraphqlApiOutput) String() string
String returns the string representation
type UpdateGraphqlApiRequest ¶
type UpdateGraphqlApiRequest struct { *aws.Request Input *UpdateGraphqlApiInput }
UpdateGraphqlApiRequest is a API request type for the UpdateGraphqlApi API operation.
func (UpdateGraphqlApiRequest) Send ¶
func (r UpdateGraphqlApiRequest) Send() (*UpdateGraphqlApiOutput, error)
Send marshals and sends the UpdateGraphqlApi API request.
type UpdateResolverInput ¶
type UpdateResolverInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The new data source name. // // DataSourceName is a required field DataSourceName *string `locationName:"dataSourceName" type:"string" required:"true"` // The new field name. // // FieldName is a required field FieldName *string `location:"uri" locationName:"fieldName" type:"string" required:"true"` // The new request mapping template. // // RequestMappingTemplate is a required field RequestMappingTemplate *string `locationName:"requestMappingTemplate" type:"string" required:"true"` // The new response mapping template. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" type:"string"` // The new type name. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateResolverRequest
func (UpdateResolverInput) GoString ¶
func (s UpdateResolverInput) GoString() string
GoString returns the string representation
func (*UpdateResolverInput) SetApiId ¶
func (s *UpdateResolverInput) SetApiId(v string) *UpdateResolverInput
SetApiId sets the ApiId field's value.
func (*UpdateResolverInput) SetDataSourceName ¶
func (s *UpdateResolverInput) SetDataSourceName(v string) *UpdateResolverInput
SetDataSourceName sets the DataSourceName field's value.
func (*UpdateResolverInput) SetFieldName ¶
func (s *UpdateResolverInput) SetFieldName(v string) *UpdateResolverInput
SetFieldName sets the FieldName field's value.
func (*UpdateResolverInput) SetRequestMappingTemplate ¶
func (s *UpdateResolverInput) SetRequestMappingTemplate(v string) *UpdateResolverInput
SetRequestMappingTemplate sets the RequestMappingTemplate field's value.
func (*UpdateResolverInput) SetResponseMappingTemplate ¶
func (s *UpdateResolverInput) SetResponseMappingTemplate(v string) *UpdateResolverInput
SetResponseMappingTemplate sets the ResponseMappingTemplate field's value.
func (*UpdateResolverInput) SetTypeName ¶
func (s *UpdateResolverInput) SetTypeName(v string) *UpdateResolverInput
SetTypeName sets the TypeName field's value.
func (UpdateResolverInput) String ¶
func (s UpdateResolverInput) String() string
String returns the string representation
func (*UpdateResolverInput) Validate ¶
func (s *UpdateResolverInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateResolverOutput ¶
type UpdateResolverOutput struct { // The updated Resolver object. Resolver *Resolver `locationName:"resolver" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateResolverResponse
func (UpdateResolverOutput) GoString ¶
func (s UpdateResolverOutput) GoString() string
GoString returns the string representation
func (UpdateResolverOutput) SDKResponseMetadata ¶
func (s UpdateResolverOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UpdateResolverOutput) SetResolver ¶
func (s *UpdateResolverOutput) SetResolver(v *Resolver) *UpdateResolverOutput
SetResolver sets the Resolver field's value.
func (UpdateResolverOutput) String ¶
func (s UpdateResolverOutput) String() string
String returns the string representation
type UpdateResolverRequest ¶
type UpdateResolverRequest struct { *aws.Request Input *UpdateResolverInput }
UpdateResolverRequest is a API request type for the UpdateResolver API operation.
func (UpdateResolverRequest) Send ¶
func (r UpdateResolverRequest) Send() (*UpdateResolverOutput, error)
Send marshals and sends the UpdateResolver API request.
type UpdateTypeInput ¶
type UpdateTypeInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The new definition. Definition *string `locationName:"definition" type:"string"` // The new type format: SDL or JSON. // // Format is a required field Format TypeDefinitionFormat `locationName:"format" type:"string" required:"true" enum:"true"` // The new type name. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateTypeRequest
func (UpdateTypeInput) GoString ¶
func (s UpdateTypeInput) GoString() string
GoString returns the string representation
func (*UpdateTypeInput) SetApiId ¶
func (s *UpdateTypeInput) SetApiId(v string) *UpdateTypeInput
SetApiId sets the ApiId field's value.
func (*UpdateTypeInput) SetDefinition ¶
func (s *UpdateTypeInput) SetDefinition(v string) *UpdateTypeInput
SetDefinition sets the Definition field's value.
func (*UpdateTypeInput) SetFormat ¶
func (s *UpdateTypeInput) SetFormat(v TypeDefinitionFormat) *UpdateTypeInput
SetFormat sets the Format field's value.
func (*UpdateTypeInput) SetTypeName ¶
func (s *UpdateTypeInput) SetTypeName(v string) *UpdateTypeInput
SetTypeName sets the TypeName field's value.
func (UpdateTypeInput) String ¶
func (s UpdateTypeInput) String() string
String returns the string representation
func (*UpdateTypeInput) Validate ¶
func (s *UpdateTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateTypeOutput ¶
type UpdateTypeOutput struct { // The updated Type object. Type *Type `locationName:"type" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateTypeResponse
func (UpdateTypeOutput) GoString ¶
func (s UpdateTypeOutput) GoString() string
GoString returns the string representation
func (UpdateTypeOutput) SDKResponseMetadata ¶
func (s UpdateTypeOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UpdateTypeOutput) SetType ¶
func (s *UpdateTypeOutput) SetType(v *Type) *UpdateTypeOutput
SetType sets the Type field's value.
func (UpdateTypeOutput) String ¶
func (s UpdateTypeOutput) String() string
String returns the string representation
type UpdateTypeRequest ¶
type UpdateTypeRequest struct { *aws.Request Input *UpdateTypeInput }
UpdateTypeRequest is a API request type for the UpdateType API operation.
func (UpdateTypeRequest) Send ¶
func (r UpdateTypeRequest) Send() (*UpdateTypeOutput, error)
Send marshals and sends the UpdateType API request.
type UserPoolConfig ¶
type UserPoolConfig struct { // A regular expression for validating the incoming Amazon Cognito User Pool // app client ID. AppIdClientRegex *string `locationName:"appIdClientRegex" type:"string"` // The AWS region in which the user pool was created. // // AwsRegion is a required field AwsRegion *string `locationName:"awsRegion" type:"string" required:"true"` // The action that you want your GraphQL API to take when a request that uses // Amazon Cognito User Pool authentication doesn't match the Amazon Cognito // User Pool configuration. // // DefaultAction is a required field DefaultAction DefaultAction `locationName:"defaultAction" type:"string" required:"true" enum:"true"` // The user pool ID. // // UserPoolId is a required field UserPoolId *string `locationName:"userPoolId" type:"string" required:"true"` // contains filtered or unexported fields }
Describes an Amazon Cognito User Pool configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UserPoolConfig
func (UserPoolConfig) GoString ¶
func (s UserPoolConfig) GoString() string
GoString returns the string representation
func (*UserPoolConfig) SetAppIdClientRegex ¶
func (s *UserPoolConfig) SetAppIdClientRegex(v string) *UserPoolConfig
SetAppIdClientRegex sets the AppIdClientRegex field's value.
func (*UserPoolConfig) SetAwsRegion ¶
func (s *UserPoolConfig) SetAwsRegion(v string) *UserPoolConfig
SetAwsRegion sets the AwsRegion field's value.
func (*UserPoolConfig) SetDefaultAction ¶
func (s *UserPoolConfig) SetDefaultAction(v DefaultAction) *UserPoolConfig
SetDefaultAction sets the DefaultAction field's value.
func (*UserPoolConfig) SetUserPoolId ¶
func (s *UserPoolConfig) SetUserPoolId(v string) *UserPoolConfig
SetUserPoolId sets the UserPoolId field's value.
func (UserPoolConfig) String ¶
func (s UserPoolConfig) String() string
String returns the string representation
func (*UserPoolConfig) Validate ¶
func (s *UserPoolConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
Directories ¶
Path | Synopsis |
---|---|
Package appsynciface provides an interface to enable mocking the AWS AppSync service client for testing your code.
|
Package appsynciface provides an interface to enable mocking the AWS AppSync service client for testing your code. |