func ApiCacheStatus_Values() []string
ApiCacheStatus_Values returns all elements of the ApiCacheStatus enum
func ApiCacheType_Values() []string
ApiCacheType_Values returns all elements of the ApiCacheType enum
func ApiCachingBehavior_Values() []string
ApiCachingBehavior_Values returns all elements of the ApiCachingBehavior enum
func AssociationStatus_Values() []string
AssociationStatus_Values returns all elements of the AssociationStatus enum
func AuthenticationType_Values() []string
AuthenticationType_Values returns all elements of the AuthenticationType enum
func AuthorizationType_Values() []string
AuthorizationType_Values returns all elements of the AuthorizationType enum
func BadRequestReason_Values() []string
BadRequestReason_Values returns all elements of the BadRequestReason enum
func CacheHealthMetricsConfig_Values() []string
CacheHealthMetricsConfig_Values returns all elements of the CacheHealthMetricsConfig enum
func ConflictDetectionType_Values() []string
ConflictDetectionType_Values returns all elements of the ConflictDetectionType enum
func ConflictHandlerType_Values() []string
ConflictHandlerType_Values returns all elements of the ConflictHandlerType enum
func DataSourceIntrospectionStatus_Values() []string
DataSourceIntrospectionStatus_Values returns all elements of the DataSourceIntrospectionStatus enum
func DataSourceLevelMetricsBehavior_Values() []string
DataSourceLevelMetricsBehavior_Values returns all elements of the DataSourceLevelMetricsBehavior enum
func DataSourceLevelMetricsConfig_Values() []string
DataSourceLevelMetricsConfig_Values returns all elements of the DataSourceLevelMetricsConfig enum
func DataSourceType_Values() []string
DataSourceType_Values returns all elements of the DataSourceType enum
func DefaultAction_Values() []string
DefaultAction_Values returns all elements of the DefaultAction enum
func FieldLogLevel_Values() []string
FieldLogLevel_Values returns all elements of the FieldLogLevel enum
func GraphQLApiIntrospectionConfig_Values() []string
GraphQLApiIntrospectionConfig_Values returns all elements of the GraphQLApiIntrospectionConfig enum
func GraphQLApiType_Values() []string
GraphQLApiType_Values returns all elements of the GraphQLApiType enum
func GraphQLApiVisibility_Values() []string
GraphQLApiVisibility_Values returns all elements of the GraphQLApiVisibility enum
func MergeType_Values() []string
MergeType_Values returns all elements of the MergeType enum
func OperationLevelMetricsConfig_Values() []string
OperationLevelMetricsConfig_Values returns all elements of the OperationLevelMetricsConfig enum
func OutputType_Values() []string
OutputType_Values returns all elements of the OutputType enum
func Ownership_Values() []string
Ownership_Values returns all elements of the Ownership enum
func RelationalDatabaseSourceType_Values() []string
RelationalDatabaseSourceType_Values returns all elements of the RelationalDatabaseSourceType enum
func ResolverKind_Values() []string
ResolverKind_Values returns all elements of the ResolverKind enum
func ResolverLevelMetricsBehavior_Values() []string
ResolverLevelMetricsBehavior_Values returns all elements of the ResolverLevelMetricsBehavior enum
func ResolverLevelMetricsConfig_Values() []string
ResolverLevelMetricsConfig_Values returns all elements of the ResolverLevelMetricsConfig enum
func RuntimeName_Values() []string
RuntimeName_Values returns all elements of the RuntimeName enum
func SchemaStatus_Values() []string
SchemaStatus_Values returns all elements of the SchemaStatus enum
func SourceApiAssociationStatus_Values() []string
SourceApiAssociationStatus_Values returns all elements of the SourceApiAssociationStatus enum
func TypeDefinitionFormat_Values() []string
TypeDefinitionFormat_Values returns all elements of the TypeDefinitionFormat enum
type AccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
You don't have access to perform this operation on this resource.
func (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (s *AccessDeniedException) Error() string
func (s AccessDeniedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s AccessDeniedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AdditionalAuthenticationProvider struct { // The authentication type: API key, Identity and Access Management (IAM), OpenID // Connect (OIDC), Amazon Cognito user pools, or Lambda. AuthenticationType *string `locationName:"authenticationType" type:"string" enum:"AuthenticationType"` // Configuration for Lambda function authorization. LambdaAuthorizerConfig *LambdaAuthorizerConfig `locationName:"lambdaAuthorizerConfig" type:"structure"` // The OIDC configuration. OpenIDConnectConfig *OpenIDConnectConfig `locationName:"openIDConnectConfig" type:"structure"` // The Amazon Cognito user pool configuration. UserPoolConfig *CognitoUserPoolConfig `locationName:"userPoolConfig" type:"structure"` // contains filtered or unexported fields }
Describes an additional authentication provider.
func (s AdditionalAuthenticationProvider) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AdditionalAuthenticationProvider) SetAuthenticationType(v string) *AdditionalAuthenticationProvider
SetAuthenticationType sets the AuthenticationType field's value.
func (s *AdditionalAuthenticationProvider) SetLambdaAuthorizerConfig(v *LambdaAuthorizerConfig) *AdditionalAuthenticationProvider
SetLambdaAuthorizerConfig sets the LambdaAuthorizerConfig field's value.
func (s *AdditionalAuthenticationProvider) SetOpenIDConnectConfig(v *OpenIDConnectConfig) *AdditionalAuthenticationProvider
SetOpenIDConnectConfig sets the OpenIDConnectConfig field's value.
func (s *AdditionalAuthenticationProvider) SetUserPoolConfig(v *CognitoUserPoolConfig) *AdditionalAuthenticationProvider
SetUserPoolConfig sets the UserPoolConfig field's value.
func (s AdditionalAuthenticationProvider) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AdditionalAuthenticationProvider) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ApiAssociation struct { // The API ID. ApiId *string `locationName:"apiId" type:"string"` // Identifies the status of an association. // // * PROCESSING: The API association is being created. You cannot modify // association requests during processing. // // * SUCCESS: The API association was successful. You can modify associations // after success. // // * FAILED: The API association has failed. You can modify associations // after failure. AssociationStatus *string `locationName:"associationStatus" type:"string" enum:"AssociationStatus"` // Details about the last deployment status. DeploymentDetail *string `locationName:"deploymentDetail" type:"string"` // The domain name. DomainName *string `locationName:"domainName" min:"1" type:"string"` // contains filtered or unexported fields }
Describes an ApiAssociation object.
func (s ApiAssociation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ApiAssociation) SetApiId(v string) *ApiAssociation
SetApiId sets the ApiId field's value.
func (s *ApiAssociation) SetAssociationStatus(v string) *ApiAssociation
SetAssociationStatus sets the AssociationStatus field's value.
func (s *ApiAssociation) SetDeploymentDetail(v string) *ApiAssociation
SetDeploymentDetail sets the DeploymentDetail field's value.
func (s *ApiAssociation) SetDomainName(v string) *ApiAssociation
SetDomainName sets the DomainName field's value.
func (s ApiAssociation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ApiCache struct { // Caching behavior. // // * FULL_REQUEST_CACHING: All requests are fully cached. // // * PER_RESOLVER_CACHING: Individual resolvers that you specify are cached. ApiCachingBehavior *string `locationName:"apiCachingBehavior" type:"string" enum:"ApiCachingBehavior"` // At-rest encryption flag for cache. You cannot update this setting after creation. AtRestEncryptionEnabled *bool `locationName:"atRestEncryptionEnabled" type:"boolean"` // Controls how cache health metrics will be emitted to CloudWatch. Cache health // metrics include: // // * NetworkBandwidthOutAllowanceExceeded: The network packets dropped because // the throughput exceeded the aggregated bandwidth limit. This is useful // for diagnosing bottlenecks in a cache configuration. // // * EngineCPUUtilization: The CPU utilization (percentage) allocated to // the Redis process. This is useful for diagnosing bottlenecks in a cache // configuration. // // Metrics will be recorded by API ID. You can set the value to ENABLED or DISABLED. HealthMetricsConfig *string `locationName:"healthMetricsConfig" type:"string" enum:"CacheHealthMetricsConfig"` // The cache instance status. // // * AVAILABLE: The instance is available for use. // // * CREATING: The instance is currently creating. // // * DELETING: The instance is currently deleting. // // * MODIFYING: The instance is currently modifying. // // * FAILED: The instance has failed creation. Status *string `locationName:"status" type:"string" enum:"ApiCacheStatus"` // Transit encryption flag when connecting to cache. You cannot update this // setting after creation. TransitEncryptionEnabled *bool `locationName:"transitEncryptionEnabled" type:"boolean"` // TTL in seconds for cache entries. // // Valid values are 1–3,600 seconds. Ttl *int64 `locationName:"ttl" type:"long"` // The cache instance type. Valid values are // // * SMALL // // * MEDIUM // // * LARGE // // * XLARGE // // * LARGE_2X // // * LARGE_4X // // * LARGE_8X (not available in all regions) // // * LARGE_12X // // Historically, instance types were identified by an EC2-style value. As of // July 2020, this is deprecated, and the generic identifiers above should be // used. // // The following legacy instance types are available, but their use is discouraged: // // * T2_SMALL: A t2.small instance type. // // * T2_MEDIUM: A t2.medium instance type. // // * R4_LARGE: A r4.large instance type. // // * R4_XLARGE: A r4.xlarge instance type. // // * R4_2XLARGE: A r4.2xlarge instance type. // // * R4_4XLARGE: A r4.4xlarge instance type. // // * R4_8XLARGE: A r4.8xlarge instance type. Type *string `locationName:"type" type:"string" enum:"ApiCacheType"` // contains filtered or unexported fields }
The ApiCache object.
func (s ApiCache) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ApiCache) SetApiCachingBehavior(v string) *ApiCache
SetApiCachingBehavior sets the ApiCachingBehavior field's value.
func (s *ApiCache) SetAtRestEncryptionEnabled(v bool) *ApiCache
SetAtRestEncryptionEnabled sets the AtRestEncryptionEnabled field's value.
func (s *ApiCache) SetHealthMetricsConfig(v string) *ApiCache
SetHealthMetricsConfig sets the HealthMetricsConfig field's value.
func (s *ApiCache) SetStatus(v string) *ApiCache
SetStatus sets the Status field's value.
func (s *ApiCache) SetTransitEncryptionEnabled(v bool) *ApiCache
SetTransitEncryptionEnabled sets the TransitEncryptionEnabled field's value.
func (s *ApiCache) SetTtl(v int64) *ApiCache
SetTtl sets the Ttl field's value.
func (s *ApiCache) SetType(v string) *ApiCache
SetType sets the Type field's value.
func (s ApiCache) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ApiKey struct { // The time after which the API key is deleted. The date is represented as seconds // since the epoch, rounded down to the nearest hour. Deletes *int64 `locationName:"deletes" type:"long"` // A description of the purpose of the API key. Description *string `locationName:"description" type:"string"` // The time after which the API key expires. The date is represented as seconds // since the epoch, rounded down to the nearest hour. Expires *int64 `locationName:"expires" type:"long"` // The API key ID. Id *string `locationName:"id" type:"string"` // contains filtered or unexported fields }
Describes an API key.
Customers invoke AppSync GraphQL API operations with API keys as an identity mechanism. There are two key versions:
da1: We introduced this version at launch in November 2017. These keys always expire after 7 days. Amazon DynamoDB TTL manages key expiration. These keys ceased to be valid after February 21, 2018, and they should no longer be used.
ListApiKeys returns the expiration time in milliseconds.
CreateApiKey returns the expiration time in milliseconds.
UpdateApiKey is not available for this key version.
DeleteApiKey deletes the item from the table.
Expiration is stored in DynamoDB as milliseconds. This results in a bug where keys are not automatically deleted because DynamoDB expects the TTL to be stored in seconds. As a one-time action, we deleted these keys from the table on February 21, 2018.
da2: We introduced this version in February 2018 when AppSync added support to extend key expiration.
ListApiKeys returns the expiration time and deletion time in seconds.
CreateApiKey returns the expiration time and deletion time in seconds and accepts a user-provided expiration time in seconds.
UpdateApiKey returns the expiration time and and deletion time in seconds and accepts a user-provided expiration time in seconds. Expired API keys are kept for 60 days after the expiration time. You can update the key expiration time as long as the key isn't deleted.
DeleteApiKey deletes the item from the table.
Expiration is stored in DynamoDB as seconds. After the expiration time, using the key to authenticate will fail. However, you can reinstate the key before deletion.
Deletion is stored in DynamoDB as seconds. The key is deleted after deletion time.
func (s ApiKey) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ApiKey) SetDeletes(v int64) *ApiKey
SetDeletes sets the Deletes field's value.
func (s *ApiKey) SetDescription(v string) *ApiKey
SetDescription sets the Description field's value.
func (s *ApiKey) SetExpires(v int64) *ApiKey
SetExpires sets the Expires field's value.
func (s *ApiKey) SetId(v string) *ApiKey
SetId sets the Id field's value.
func (s ApiKey) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ApiKeyLimitExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The API key exceeded a limit. Try your request again.
func (s *ApiKeyLimitExceededException) Code() string
Code returns the exception type name.
func (s *ApiKeyLimitExceededException) Error() string
func (s ApiKeyLimitExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ApiKeyLimitExceededException) Message() string
Message returns the exception's message.
func (s *ApiKeyLimitExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ApiKeyLimitExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ApiKeyLimitExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ApiKeyLimitExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ApiKeyValidityOutOfBoundsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The API key expiration must be set to a value between 1 and 365 days from creation (for CreateApiKey) or from update (for UpdateApiKey).
func (s *ApiKeyValidityOutOfBoundsException) Code() string
Code returns the exception type name.
func (s *ApiKeyValidityOutOfBoundsException) Error() string
func (s ApiKeyValidityOutOfBoundsException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ApiKeyValidityOutOfBoundsException) Message() string
Message returns the exception's message.
func (s *ApiKeyValidityOutOfBoundsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ApiKeyValidityOutOfBoundsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ApiKeyValidityOutOfBoundsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ApiKeyValidityOutOfBoundsException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ApiLimitExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The GraphQL API exceeded a limit. Try your request again.
func (s *ApiLimitExceededException) Code() string
Code returns the exception type name.
func (s *ApiLimitExceededException) Error() string
func (s ApiLimitExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ApiLimitExceededException) Message() string
Message returns the exception's message.
func (s *ApiLimitExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ApiLimitExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ApiLimitExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ApiLimitExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AppSync struct { *client.Client }
AppSync provides the API operation methods for making requests to AWS AppSync. See this package's package overview docs for details on the service.
AppSync methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New(p client.ConfigProvider, cfgs ...*aws.Config) *AppSync
New creates a new instance of the AppSync client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a AppSync client from just a session. svc := appsync.New(mySession) // Create a AppSync client with additional configuration svc := appsync.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (c *AppSync) AssociateApi(input *AssociateApiInput) (*AssociateApiOutput, error)
AssociateApi API operation for AWS AppSync.
Maps an endpoint to your custom domain.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation AssociateApi for usage and error information.
Returned Error Types:
AccessDeniedException You don't have access to perform this operation on this resource.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
InternalFailureException An internal AppSync error occurred. Try your request again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AssociateApi
func (c *AppSync) AssociateApiRequest(input *AssociateApiInput) (req *request.Request, output *AssociateApiOutput)
AssociateApiRequest generates a "aws/request.Request" representing the client's request for the AssociateApi operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AssociateApi for more information on using the AssociateApi API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AssociateApiRequest method. req, resp := client.AssociateApiRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AssociateApi
func (c *AppSync) AssociateApiWithContext(ctx aws.Context, input *AssociateApiInput, opts ...request.Option) (*AssociateApiOutput, error)
AssociateApiWithContext is the same as AssociateApi with the addition of the ability to pass a context and additional request options.
See AssociateApi for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) AssociateMergedGraphqlApi(input *AssociateMergedGraphqlApiInput) (*AssociateMergedGraphqlApiOutput, error)
AssociateMergedGraphqlApi API operation for AWS AppSync.
Creates an association between a Merged API and source API using the source API's identifier.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation AssociateMergedGraphqlApi for usage and error information.
Returned Error Types:
UnauthorizedException You aren't authorized to perform this operation.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
InternalFailureException An internal AppSync error occurred. Try your request again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
LimitExceededException The request exceeded a limit. Try your request again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AssociateMergedGraphqlApi
func (c *AppSync) AssociateMergedGraphqlApiRequest(input *AssociateMergedGraphqlApiInput) (req *request.Request, output *AssociateMergedGraphqlApiOutput)
AssociateMergedGraphqlApiRequest generates a "aws/request.Request" representing the client's request for the AssociateMergedGraphqlApi operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AssociateMergedGraphqlApi for more information on using the AssociateMergedGraphqlApi API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AssociateMergedGraphqlApiRequest method. req, resp := client.AssociateMergedGraphqlApiRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AssociateMergedGraphqlApi
func (c *AppSync) AssociateMergedGraphqlApiWithContext(ctx aws.Context, input *AssociateMergedGraphqlApiInput, opts ...request.Option) (*AssociateMergedGraphqlApiOutput, error)
AssociateMergedGraphqlApiWithContext is the same as AssociateMergedGraphqlApi with the addition of the ability to pass a context and additional request options.
See AssociateMergedGraphqlApi for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) AssociateSourceGraphqlApi(input *AssociateSourceGraphqlApiInput) (*AssociateSourceGraphqlApiOutput, error)
AssociateSourceGraphqlApi API operation for AWS AppSync.
Creates an association between a Merged API and source API using the Merged API's identifier.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation AssociateSourceGraphqlApi for usage and error information.
Returned Error Types:
UnauthorizedException You aren't authorized to perform this operation.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
InternalFailureException An internal AppSync error occurred. Try your request again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
LimitExceededException The request exceeded a limit. Try your request again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AssociateSourceGraphqlApi
func (c *AppSync) AssociateSourceGraphqlApiRequest(input *AssociateSourceGraphqlApiInput) (req *request.Request, output *AssociateSourceGraphqlApiOutput)
AssociateSourceGraphqlApiRequest generates a "aws/request.Request" representing the client's request for the AssociateSourceGraphqlApi operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AssociateSourceGraphqlApi for more information on using the AssociateSourceGraphqlApi API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AssociateSourceGraphqlApiRequest method. req, resp := client.AssociateSourceGraphqlApiRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AssociateSourceGraphqlApi
func (c *AppSync) AssociateSourceGraphqlApiWithContext(ctx aws.Context, input *AssociateSourceGraphqlApiInput, opts ...request.Option) (*AssociateSourceGraphqlApiOutput, error)
AssociateSourceGraphqlApiWithContext is the same as AssociateSourceGraphqlApi with the addition of the ability to pass a context and additional request options.
See AssociateSourceGraphqlApi for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) CreateApiCache(input *CreateApiCacheInput) (*CreateApiCacheOutput, error)
CreateApiCache API operation for AWS AppSync.
Creates a cache for the GraphQL API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation CreateApiCache for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiCache
func (c *AppSync) CreateApiCacheRequest(input *CreateApiCacheInput) (req *request.Request, output *CreateApiCacheOutput)
CreateApiCacheRequest generates a "aws/request.Request" representing the client's request for the CreateApiCache operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateApiCache for more information on using the CreateApiCache API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateApiCacheRequest method. req, resp := client.CreateApiCacheRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiCache
func (c *AppSync) CreateApiCacheWithContext(ctx aws.Context, input *CreateApiCacheInput, opts ...request.Option) (*CreateApiCacheOutput, error)
CreateApiCacheWithContext is the same as CreateApiCache with the addition of the ability to pass a context and additional request options.
See CreateApiCache for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) CreateApiKey(input *CreateApiKeyInput) (*CreateApiKeyOutput, error)
CreateApiKey API operation for AWS AppSync.
Creates a unique key that you can distribute to clients who invoke your API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation CreateApiKey for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
LimitExceededException The request exceeded a limit. Try your request again.
UnauthorizedException You aren't authorized to perform this operation.
LimitExceededException The request exceeded a limit. Try your request again.
InternalFailureException An internal AppSync error occurred. Try your request again.
ApiKeyLimitExceededException The API key exceeded a limit. Try your request again.
ApiKeyValidityOutOfBoundsException The API key expiration must be set to a value between 1 and 365 days from creation (for CreateApiKey) or from update (for UpdateApiKey).
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiKey
func (c *AppSync) CreateApiKeyRequest(input *CreateApiKeyInput) (req *request.Request, output *CreateApiKeyOutput)
CreateApiKeyRequest generates a "aws/request.Request" representing the client's request for the CreateApiKey operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateApiKey for more information on using the CreateApiKey API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateApiKeyRequest method. req, resp := client.CreateApiKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiKey
func (c *AppSync) CreateApiKeyWithContext(ctx aws.Context, input *CreateApiKeyInput, opts ...request.Option) (*CreateApiKeyOutput, error)
CreateApiKeyWithContext is the same as CreateApiKey with the addition of the ability to pass a context and additional request options.
See CreateApiKey for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) CreateDataSource(input *CreateDataSourceInput) (*CreateDataSourceOutput, error)
CreateDataSource API operation for AWS AppSync.
Creates a DataSource object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation CreateDataSource for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDataSource
func (c *AppSync) CreateDataSourceRequest(input *CreateDataSourceInput) (req *request.Request, output *CreateDataSourceOutput)
CreateDataSourceRequest generates a "aws/request.Request" representing the client's request for the CreateDataSource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateDataSource for more information on using the CreateDataSource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateDataSourceRequest method. req, resp := client.CreateDataSourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDataSource
func (c *AppSync) CreateDataSourceWithContext(ctx aws.Context, input *CreateDataSourceInput, opts ...request.Option) (*CreateDataSourceOutput, error)
CreateDataSourceWithContext is the same as CreateDataSource with the addition of the ability to pass a context and additional request options.
See CreateDataSource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) CreateDomainName(input *CreateDomainNameInput) (*CreateDomainNameOutput, error)
CreateDomainName API operation for AWS AppSync.
Creates a custom DomainName object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation CreateDomainName for usage and error information.
Returned Error Types:
AccessDeniedException You don't have access to perform this operation on this resource.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDomainName
func (c *AppSync) CreateDomainNameRequest(input *CreateDomainNameInput) (req *request.Request, output *CreateDomainNameOutput)
CreateDomainNameRequest generates a "aws/request.Request" representing the client's request for the CreateDomainName operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateDomainName for more information on using the CreateDomainName API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateDomainNameRequest method. req, resp := client.CreateDomainNameRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDomainName
func (c *AppSync) CreateDomainNameWithContext(ctx aws.Context, input *CreateDomainNameInput, opts ...request.Option) (*CreateDomainNameOutput, error)
CreateDomainNameWithContext is the same as CreateDomainName with the addition of the ability to pass a context and additional request options.
See CreateDomainName for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) CreateFunction(input *CreateFunctionInput) (*CreateFunctionOutput, error)
CreateFunction API operation for AWS AppSync.
Creates a Function object.
A function is a reusable entity. You can use multiple functions to compose the resolver logic.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation CreateFunction for usage and error information.
Returned Error Types:
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateFunction
func (c *AppSync) CreateFunctionRequest(input *CreateFunctionInput) (req *request.Request, output *CreateFunctionOutput)
CreateFunctionRequest generates a "aws/request.Request" representing the client's request for the CreateFunction operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateFunction for more information on using the CreateFunction API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateFunctionRequest method. req, resp := client.CreateFunctionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateFunction
func (c *AppSync) CreateFunctionWithContext(ctx aws.Context, input *CreateFunctionInput, opts ...request.Option) (*CreateFunctionOutput, error)
CreateFunctionWithContext is the same as CreateFunction with the addition of the ability to pass a context and additional request options.
See CreateFunction for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) CreateGraphqlApi(input *CreateGraphqlApiInput) (*CreateGraphqlApiOutput, error)
CreateGraphqlApi API operation for AWS AppSync.
Creates a GraphqlApi object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation CreateGraphqlApi for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
LimitExceededException The request exceeded a limit. Try your request again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
ApiLimitExceededException The GraphQL API exceeded a limit. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApi
func (c *AppSync) CreateGraphqlApiRequest(input *CreateGraphqlApiInput) (req *request.Request, output *CreateGraphqlApiOutput)
CreateGraphqlApiRequest generates a "aws/request.Request" representing the client's request for the CreateGraphqlApi operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateGraphqlApi for more information on using the CreateGraphqlApi API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateGraphqlApiRequest method. req, resp := client.CreateGraphqlApiRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApi
func (c *AppSync) CreateGraphqlApiWithContext(ctx aws.Context, input *CreateGraphqlApiInput, opts ...request.Option) (*CreateGraphqlApiOutput, error)
CreateGraphqlApiWithContext is the same as CreateGraphqlApi with the addition of the ability to pass a context and additional request options.
See CreateGraphqlApi for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) CreateResolver(input *CreateResolverInput) (*CreateResolverOutput, error)
CreateResolver API operation for AWS AppSync.
Creates a Resolver object.
A resolver converts incoming requests into a format that a data source can understand, and converts the data source's responses into GraphQL.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation CreateResolver for usage and error information.
Returned Error Types:
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateResolver
func (c *AppSync) CreateResolverRequest(input *CreateResolverInput) (req *request.Request, output *CreateResolverOutput)
CreateResolverRequest generates a "aws/request.Request" representing the client's request for the CreateResolver operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateResolver for more information on using the CreateResolver API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateResolverRequest method. req, resp := client.CreateResolverRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateResolver
func (c *AppSync) CreateResolverWithContext(ctx aws.Context, input *CreateResolverInput, opts ...request.Option) (*CreateResolverOutput, error)
CreateResolverWithContext is the same as CreateResolver with the addition of the ability to pass a context and additional request options.
See CreateResolver for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) CreateType(input *CreateTypeInput) (*CreateTypeOutput, error)
CreateType API operation for AWS AppSync.
Creates a Type object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation CreateType for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateType
func (c *AppSync) CreateTypeRequest(input *CreateTypeInput) (req *request.Request, output *CreateTypeOutput)
CreateTypeRequest generates a "aws/request.Request" representing the client's request for the CreateType operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateType for more information on using the CreateType API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateTypeRequest method. req, resp := client.CreateTypeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateType
func (c *AppSync) CreateTypeWithContext(ctx aws.Context, input *CreateTypeInput, opts ...request.Option) (*CreateTypeOutput, error)
CreateTypeWithContext is the same as CreateType with the addition of the ability to pass a context and additional request options.
See CreateType for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) DeleteApiCache(input *DeleteApiCacheInput) (*DeleteApiCacheOutput, error)
DeleteApiCache API operation for AWS AppSync.
Deletes an ApiCache object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation DeleteApiCache for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiCache
func (c *AppSync) DeleteApiCacheRequest(input *DeleteApiCacheInput) (req *request.Request, output *DeleteApiCacheOutput)
DeleteApiCacheRequest generates a "aws/request.Request" representing the client's request for the DeleteApiCache operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteApiCache for more information on using the DeleteApiCache API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteApiCacheRequest method. req, resp := client.DeleteApiCacheRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiCache
func (c *AppSync) DeleteApiCacheWithContext(ctx aws.Context, input *DeleteApiCacheInput, opts ...request.Option) (*DeleteApiCacheOutput, error)
DeleteApiCacheWithContext is the same as DeleteApiCache with the addition of the ability to pass a context and additional request options.
See DeleteApiCache for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) DeleteApiKey(input *DeleteApiKeyInput) (*DeleteApiKeyOutput, error)
DeleteApiKey API operation for AWS AppSync.
Deletes an API key.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation DeleteApiKey for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiKey
func (c *AppSync) DeleteApiKeyRequest(input *DeleteApiKeyInput) (req *request.Request, output *DeleteApiKeyOutput)
DeleteApiKeyRequest generates a "aws/request.Request" representing the client's request for the DeleteApiKey operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteApiKey for more information on using the DeleteApiKey API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteApiKeyRequest method. req, resp := client.DeleteApiKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiKey
func (c *AppSync) DeleteApiKeyWithContext(ctx aws.Context, input *DeleteApiKeyInput, opts ...request.Option) (*DeleteApiKeyOutput, error)
DeleteApiKeyWithContext is the same as DeleteApiKey with the addition of the ability to pass a context and additional request options.
See DeleteApiKey for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) DeleteDataSource(input *DeleteDataSourceInput) (*DeleteDataSourceOutput, error)
DeleteDataSource API operation for AWS AppSync.
Deletes a DataSource object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation DeleteDataSource for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDataSource
func (c *AppSync) DeleteDataSourceRequest(input *DeleteDataSourceInput) (req *request.Request, output *DeleteDataSourceOutput)
DeleteDataSourceRequest generates a "aws/request.Request" representing the client's request for the DeleteDataSource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteDataSource for more information on using the DeleteDataSource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteDataSourceRequest method. req, resp := client.DeleteDataSourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDataSource
func (c *AppSync) DeleteDataSourceWithContext(ctx aws.Context, input *DeleteDataSourceInput, opts ...request.Option) (*DeleteDataSourceOutput, error)
DeleteDataSourceWithContext is the same as DeleteDataSource with the addition of the ability to pass a context and additional request options.
See DeleteDataSource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) DeleteDomainName(input *DeleteDomainNameInput) (*DeleteDomainNameOutput, error)
DeleteDomainName API operation for AWS AppSync.
Deletes a custom DomainName object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation DeleteDomainName for usage and error information.
Returned Error Types:
AccessDeniedException You don't have access to perform this operation on this resource.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
InternalFailureException An internal AppSync error occurred. Try your request again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDomainName
func (c *AppSync) DeleteDomainNameRequest(input *DeleteDomainNameInput) (req *request.Request, output *DeleteDomainNameOutput)
DeleteDomainNameRequest generates a "aws/request.Request" representing the client's request for the DeleteDomainName operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteDomainName for more information on using the DeleteDomainName API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteDomainNameRequest method. req, resp := client.DeleteDomainNameRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDomainName
func (c *AppSync) DeleteDomainNameWithContext(ctx aws.Context, input *DeleteDomainNameInput, opts ...request.Option) (*DeleteDomainNameOutput, error)
DeleteDomainNameWithContext is the same as DeleteDomainName with the addition of the ability to pass a context and additional request options.
See DeleteDomainName for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) DeleteFunction(input *DeleteFunctionInput) (*DeleteFunctionOutput, error)
DeleteFunction API operation for AWS AppSync.
Deletes a Function.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation DeleteFunction for usage and error information.
Returned Error Types:
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteFunction
func (c *AppSync) DeleteFunctionRequest(input *DeleteFunctionInput) (req *request.Request, output *DeleteFunctionOutput)
DeleteFunctionRequest generates a "aws/request.Request" representing the client's request for the DeleteFunction operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteFunction for more information on using the DeleteFunction API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteFunctionRequest method. req, resp := client.DeleteFunctionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteFunction
func (c *AppSync) DeleteFunctionWithContext(ctx aws.Context, input *DeleteFunctionInput, opts ...request.Option) (*DeleteFunctionOutput, error)
DeleteFunctionWithContext is the same as DeleteFunction with the addition of the ability to pass a context and additional request options.
See DeleteFunction for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) DeleteGraphqlApi(input *DeleteGraphqlApiInput) (*DeleteGraphqlApiOutput, error)
DeleteGraphqlApi API operation for AWS AppSync.
Deletes a GraphqlApi object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation DeleteGraphqlApi for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
AccessDeniedException You don't have access to perform this operation on this resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteGraphqlApi
func (c *AppSync) DeleteGraphqlApiRequest(input *DeleteGraphqlApiInput) (req *request.Request, output *DeleteGraphqlApiOutput)
DeleteGraphqlApiRequest generates a "aws/request.Request" representing the client's request for the DeleteGraphqlApi operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteGraphqlApi for more information on using the DeleteGraphqlApi API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteGraphqlApiRequest method. req, resp := client.DeleteGraphqlApiRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteGraphqlApi
func (c *AppSync) DeleteGraphqlApiWithContext(ctx aws.Context, input *DeleteGraphqlApiInput, opts ...request.Option) (*DeleteGraphqlApiOutput, error)
DeleteGraphqlApiWithContext is the same as DeleteGraphqlApi with the addition of the ability to pass a context and additional request options.
See DeleteGraphqlApi for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) DeleteResolver(input *DeleteResolverInput) (*DeleteResolverOutput, error)
DeleteResolver API operation for AWS AppSync.
Deletes a Resolver object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation DeleteResolver for usage and error information.
Returned Error Types:
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteResolver
func (c *AppSync) DeleteResolverRequest(input *DeleteResolverInput) (req *request.Request, output *DeleteResolverOutput)
DeleteResolverRequest generates a "aws/request.Request" representing the client's request for the DeleteResolver operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteResolver for more information on using the DeleteResolver API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteResolverRequest method. req, resp := client.DeleteResolverRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteResolver
func (c *AppSync) DeleteResolverWithContext(ctx aws.Context, input *DeleteResolverInput, opts ...request.Option) (*DeleteResolverOutput, error)
DeleteResolverWithContext is the same as DeleteResolver with the addition of the ability to pass a context and additional request options.
See DeleteResolver for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) DeleteType(input *DeleteTypeInput) (*DeleteTypeOutput, error)
DeleteType API operation for AWS AppSync.
Deletes a Type object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation DeleteType for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteType
func (c *AppSync) DeleteTypeRequest(input *DeleteTypeInput) (req *request.Request, output *DeleteTypeOutput)
DeleteTypeRequest generates a "aws/request.Request" representing the client's request for the DeleteType operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteType for more information on using the DeleteType API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteTypeRequest method. req, resp := client.DeleteTypeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteType
func (c *AppSync) DeleteTypeWithContext(ctx aws.Context, input *DeleteTypeInput, opts ...request.Option) (*DeleteTypeOutput, error)
DeleteTypeWithContext is the same as DeleteType with the addition of the ability to pass a context and additional request options.
See DeleteType for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) DisassociateApi(input *DisassociateApiInput) (*DisassociateApiOutput, error)
DisassociateApi API operation for AWS AppSync.
Removes an ApiAssociation object from a custom domain.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation DisassociateApi for usage and error information.
Returned Error Types:
AccessDeniedException You don't have access to perform this operation on this resource.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
InternalFailureException An internal AppSync error occurred. Try your request again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DisassociateApi
func (c *AppSync) DisassociateApiRequest(input *DisassociateApiInput) (req *request.Request, output *DisassociateApiOutput)
DisassociateApiRequest generates a "aws/request.Request" representing the client's request for the DisassociateApi operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DisassociateApi for more information on using the DisassociateApi API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DisassociateApiRequest method. req, resp := client.DisassociateApiRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DisassociateApi
func (c *AppSync) DisassociateApiWithContext(ctx aws.Context, input *DisassociateApiInput, opts ...request.Option) (*DisassociateApiOutput, error)
DisassociateApiWithContext is the same as DisassociateApi with the addition of the ability to pass a context and additional request options.
See DisassociateApi for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) DisassociateMergedGraphqlApi(input *DisassociateMergedGraphqlApiInput) (*DisassociateMergedGraphqlApiOutput, error)
DisassociateMergedGraphqlApi API operation for AWS AppSync.
Deletes an association between a Merged API and source API using the source API's identifier and the association ID.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation DisassociateMergedGraphqlApi for usage and error information.
Returned Error Types:
UnauthorizedException You aren't authorized to perform this operation.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
InternalFailureException An internal AppSync error occurred. Try your request again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DisassociateMergedGraphqlApi
func (c *AppSync) DisassociateMergedGraphqlApiRequest(input *DisassociateMergedGraphqlApiInput) (req *request.Request, output *DisassociateMergedGraphqlApiOutput)
DisassociateMergedGraphqlApiRequest generates a "aws/request.Request" representing the client's request for the DisassociateMergedGraphqlApi operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DisassociateMergedGraphqlApi for more information on using the DisassociateMergedGraphqlApi API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DisassociateMergedGraphqlApiRequest method. req, resp := client.DisassociateMergedGraphqlApiRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DisassociateMergedGraphqlApi
func (c *AppSync) DisassociateMergedGraphqlApiWithContext(ctx aws.Context, input *DisassociateMergedGraphqlApiInput, opts ...request.Option) (*DisassociateMergedGraphqlApiOutput, error)
DisassociateMergedGraphqlApiWithContext is the same as DisassociateMergedGraphqlApi with the addition of the ability to pass a context and additional request options.
See DisassociateMergedGraphqlApi for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) DisassociateSourceGraphqlApi(input *DisassociateSourceGraphqlApiInput) (*DisassociateSourceGraphqlApiOutput, error)
DisassociateSourceGraphqlApi API operation for AWS AppSync.
Deletes an association between a Merged API and source API using the Merged API's identifier and the association ID.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation DisassociateSourceGraphqlApi for usage and error information.
Returned Error Types:
UnauthorizedException You aren't authorized to perform this operation.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
InternalFailureException An internal AppSync error occurred. Try your request again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DisassociateSourceGraphqlApi
func (c *AppSync) DisassociateSourceGraphqlApiRequest(input *DisassociateSourceGraphqlApiInput) (req *request.Request, output *DisassociateSourceGraphqlApiOutput)
DisassociateSourceGraphqlApiRequest generates a "aws/request.Request" representing the client's request for the DisassociateSourceGraphqlApi operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DisassociateSourceGraphqlApi for more information on using the DisassociateSourceGraphqlApi API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DisassociateSourceGraphqlApiRequest method. req, resp := client.DisassociateSourceGraphqlApiRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DisassociateSourceGraphqlApi
func (c *AppSync) DisassociateSourceGraphqlApiWithContext(ctx aws.Context, input *DisassociateSourceGraphqlApiInput, opts ...request.Option) (*DisassociateSourceGraphqlApiOutput, error)
DisassociateSourceGraphqlApiWithContext is the same as DisassociateSourceGraphqlApi with the addition of the ability to pass a context and additional request options.
See DisassociateSourceGraphqlApi for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) EvaluateCode(input *EvaluateCodeInput) (*EvaluateCodeOutput, error)
EvaluateCode API operation for AWS AppSync.
Evaluates the given code and returns the response. The code definition requirements depend on the specified runtime. For APPSYNC_JS runtimes, the code defines the request and response functions. The request function takes the incoming request after a GraphQL operation is parsed and converts it into a request configuration for the selected data source operation. The response function interprets responses from the data source and maps it to the shape of the GraphQL field output type.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation EvaluateCode for usage and error information.
Returned Error Types:
AccessDeniedException You don't have access to perform this operation on this resource.
InternalFailureException An internal AppSync error occurred. Try your request again.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateCode
func (c *AppSync) EvaluateCodeRequest(input *EvaluateCodeInput) (req *request.Request, output *EvaluateCodeOutput)
EvaluateCodeRequest generates a "aws/request.Request" representing the client's request for the EvaluateCode operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See EvaluateCode for more information on using the EvaluateCode API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the EvaluateCodeRequest method. req, resp := client.EvaluateCodeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateCode
func (c *AppSync) EvaluateCodeWithContext(ctx aws.Context, input *EvaluateCodeInput, opts ...request.Option) (*EvaluateCodeOutput, error)
EvaluateCodeWithContext is the same as EvaluateCode with the addition of the ability to pass a context and additional request options.
See EvaluateCode for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) EvaluateMappingTemplate(input *EvaluateMappingTemplateInput) (*EvaluateMappingTemplateOutput, error)
EvaluateMappingTemplate API operation for AWS AppSync.
Evaluates a given template and returns the response. The mapping template can be a request or response template.
Request templates take the incoming request after a GraphQL operation is parsed and convert it into a request configuration for the selected data source operation. Response templates interpret responses from the data source and map it to the shape of the GraphQL field output type.
Mapping templates are written in the Apache Velocity Template Language (VTL).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation EvaluateMappingTemplate for usage and error information.
Returned Error Types:
AccessDeniedException You don't have access to perform this operation on this resource.
InternalFailureException An internal AppSync error occurred. Try your request again.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateMappingTemplate
func (c *AppSync) EvaluateMappingTemplateRequest(input *EvaluateMappingTemplateInput) (req *request.Request, output *EvaluateMappingTemplateOutput)
EvaluateMappingTemplateRequest generates a "aws/request.Request" representing the client's request for the EvaluateMappingTemplate operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See EvaluateMappingTemplate for more information on using the EvaluateMappingTemplate API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the EvaluateMappingTemplateRequest method. req, resp := client.EvaluateMappingTemplateRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateMappingTemplate
func (c *AppSync) EvaluateMappingTemplateWithContext(ctx aws.Context, input *EvaluateMappingTemplateInput, opts ...request.Option) (*EvaluateMappingTemplateOutput, error)
EvaluateMappingTemplateWithContext is the same as EvaluateMappingTemplate with the addition of the ability to pass a context and additional request options.
See EvaluateMappingTemplate for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) FlushApiCache(input *FlushApiCacheInput) (*FlushApiCacheOutput, error)
FlushApiCache API operation for AWS AppSync.
Flushes an ApiCache object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation FlushApiCache for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/FlushApiCache
func (c *AppSync) FlushApiCacheRequest(input *FlushApiCacheInput) (req *request.Request, output *FlushApiCacheOutput)
FlushApiCacheRequest generates a "aws/request.Request" representing the client's request for the FlushApiCache operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See FlushApiCache for more information on using the FlushApiCache API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the FlushApiCacheRequest method. req, resp := client.FlushApiCacheRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/FlushApiCache
func (c *AppSync) FlushApiCacheWithContext(ctx aws.Context, input *FlushApiCacheInput, opts ...request.Option) (*FlushApiCacheOutput, error)
FlushApiCacheWithContext is the same as FlushApiCache with the addition of the ability to pass a context and additional request options.
See FlushApiCache for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) GetApiAssociation(input *GetApiAssociationInput) (*GetApiAssociationOutput, error)
GetApiAssociation API operation for AWS AppSync.
Retrieves an ApiAssociation object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation GetApiAssociation for usage and error information.
Returned Error Types:
AccessDeniedException You don't have access to perform this operation on this resource.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
InternalFailureException An internal AppSync error occurred. Try your request again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetApiAssociation
func (c *AppSync) GetApiAssociationRequest(input *GetApiAssociationInput) (req *request.Request, output *GetApiAssociationOutput)
GetApiAssociationRequest generates a "aws/request.Request" representing the client's request for the GetApiAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetApiAssociation for more information on using the GetApiAssociation API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetApiAssociationRequest method. req, resp := client.GetApiAssociationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetApiAssociation
func (c *AppSync) GetApiAssociationWithContext(ctx aws.Context, input *GetApiAssociationInput, opts ...request.Option) (*GetApiAssociationOutput, error)
GetApiAssociationWithContext is the same as GetApiAssociation with the addition of the ability to pass a context and additional request options.
See GetApiAssociation for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) GetApiCache(input *GetApiCacheInput) (*GetApiCacheOutput, error)
GetApiCache API operation for AWS AppSync.
Retrieves an ApiCache object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation GetApiCache for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetApiCache
func (c *AppSync) GetApiCacheRequest(input *GetApiCacheInput) (req *request.Request, output *GetApiCacheOutput)
GetApiCacheRequest generates a "aws/request.Request" representing the client's request for the GetApiCache operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetApiCache for more information on using the GetApiCache API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetApiCacheRequest method. req, resp := client.GetApiCacheRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetApiCache
func (c *AppSync) GetApiCacheWithContext(ctx aws.Context, input *GetApiCacheInput, opts ...request.Option) (*GetApiCacheOutput, error)
GetApiCacheWithContext is the same as GetApiCache with the addition of the ability to pass a context and additional request options.
See GetApiCache for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) GetDataSource(input *GetDataSourceInput) (*GetDataSourceOutput, error)
GetDataSource API operation for AWS AppSync.
Retrieves a DataSource object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation GetDataSource for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDataSource
func (c *AppSync) GetDataSourceIntrospection(input *GetDataSourceIntrospectionInput) (*GetDataSourceIntrospectionOutput, error)
GetDataSourceIntrospection API operation for AWS AppSync.
Retrieves the record of an existing introspection. If the retrieval is successful, the result of the instrospection will also be returned. If the retrieval fails the operation, an error message will be returned instead.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation GetDataSourceIntrospection for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDataSourceIntrospection
func (c *AppSync) GetDataSourceIntrospectionRequest(input *GetDataSourceIntrospectionInput) (req *request.Request, output *GetDataSourceIntrospectionOutput)
GetDataSourceIntrospectionRequest generates a "aws/request.Request" representing the client's request for the GetDataSourceIntrospection operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetDataSourceIntrospection for more information on using the GetDataSourceIntrospection API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetDataSourceIntrospectionRequest method. req, resp := client.GetDataSourceIntrospectionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDataSourceIntrospection
func (c *AppSync) GetDataSourceIntrospectionWithContext(ctx aws.Context, input *GetDataSourceIntrospectionInput, opts ...request.Option) (*GetDataSourceIntrospectionOutput, error)
GetDataSourceIntrospectionWithContext is the same as GetDataSourceIntrospection with the addition of the ability to pass a context and additional request options.
See GetDataSourceIntrospection for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) GetDataSourceRequest(input *GetDataSourceInput) (req *request.Request, output *GetDataSourceOutput)
GetDataSourceRequest generates a "aws/request.Request" representing the client's request for the GetDataSource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetDataSource for more information on using the GetDataSource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetDataSourceRequest method. req, resp := client.GetDataSourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDataSource
func (c *AppSync) GetDataSourceWithContext(ctx aws.Context, input *GetDataSourceInput, opts ...request.Option) (*GetDataSourceOutput, error)
GetDataSourceWithContext is the same as GetDataSource with the addition of the ability to pass a context and additional request options.
See GetDataSource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) GetDomainName(input *GetDomainNameInput) (*GetDomainNameOutput, error)
GetDomainName API operation for AWS AppSync.
Retrieves a custom DomainName object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation GetDomainName for usage and error information.
Returned Error Types:
AccessDeniedException You don't have access to perform this operation on this resource.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
InternalFailureException An internal AppSync error occurred. Try your request again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDomainName
func (c *AppSync) GetDomainNameRequest(input *GetDomainNameInput) (req *request.Request, output *GetDomainNameOutput)
GetDomainNameRequest generates a "aws/request.Request" representing the client's request for the GetDomainName operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetDomainName for more information on using the GetDomainName API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetDomainNameRequest method. req, resp := client.GetDomainNameRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDomainName
func (c *AppSync) GetDomainNameWithContext(ctx aws.Context, input *GetDomainNameInput, opts ...request.Option) (*GetDomainNameOutput, error)
GetDomainNameWithContext is the same as GetDomainName with the addition of the ability to pass a context and additional request options.
See GetDomainName for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) GetFunction(input *GetFunctionInput) (*GetFunctionOutput, error)
GetFunction API operation for AWS AppSync.
Get a Function.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation GetFunction for usage and error information.
Returned Error Types:
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetFunction
func (c *AppSync) GetFunctionRequest(input *GetFunctionInput) (req *request.Request, output *GetFunctionOutput)
GetFunctionRequest generates a "aws/request.Request" representing the client's request for the GetFunction operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetFunction for more information on using the GetFunction API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetFunctionRequest method. req, resp := client.GetFunctionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetFunction
func (c *AppSync) GetFunctionWithContext(ctx aws.Context, input *GetFunctionInput, opts ...request.Option) (*GetFunctionOutput, error)
GetFunctionWithContext is the same as GetFunction with the addition of the ability to pass a context and additional request options.
See GetFunction for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) GetGraphqlApi(input *GetGraphqlApiInput) (*GetGraphqlApiOutput, error)
GetGraphqlApi API operation for AWS AppSync.
Retrieves a GraphqlApi object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation GetGraphqlApi for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
AccessDeniedException You don't have access to perform this operation on this resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApi
func (c *AppSync) GetGraphqlApiEnvironmentVariables(input *GetGraphqlApiEnvironmentVariablesInput) (*GetGraphqlApiEnvironmentVariablesOutput, error)
GetGraphqlApiEnvironmentVariables API operation for AWS AppSync.
Retrieves the list of environmental variable key-value pairs associated with an API by its ID value.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation GetGraphqlApiEnvironmentVariables for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
AccessDeniedException You don't have access to perform this operation on this resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApiEnvironmentVariables
func (c *AppSync) GetGraphqlApiEnvironmentVariablesRequest(input *GetGraphqlApiEnvironmentVariablesInput) (req *request.Request, output *GetGraphqlApiEnvironmentVariablesOutput)
GetGraphqlApiEnvironmentVariablesRequest generates a "aws/request.Request" representing the client's request for the GetGraphqlApiEnvironmentVariables operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetGraphqlApiEnvironmentVariables for more information on using the GetGraphqlApiEnvironmentVariables API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetGraphqlApiEnvironmentVariablesRequest method. req, resp := client.GetGraphqlApiEnvironmentVariablesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApiEnvironmentVariables
func (c *AppSync) GetGraphqlApiEnvironmentVariablesWithContext(ctx aws.Context, input *GetGraphqlApiEnvironmentVariablesInput, opts ...request.Option) (*GetGraphqlApiEnvironmentVariablesOutput, error)
GetGraphqlApiEnvironmentVariablesWithContext is the same as GetGraphqlApiEnvironmentVariables with the addition of the ability to pass a context and additional request options.
See GetGraphqlApiEnvironmentVariables for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) GetGraphqlApiRequest(input *GetGraphqlApiInput) (req *request.Request, output *GetGraphqlApiOutput)
GetGraphqlApiRequest generates a "aws/request.Request" representing the client's request for the GetGraphqlApi operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetGraphqlApi for more information on using the GetGraphqlApi API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetGraphqlApiRequest method. req, resp := client.GetGraphqlApiRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApi
func (c *AppSync) GetGraphqlApiWithContext(ctx aws.Context, input *GetGraphqlApiInput, opts ...request.Option) (*GetGraphqlApiOutput, error)
GetGraphqlApiWithContext is the same as GetGraphqlApi with the addition of the ability to pass a context and additional request options.
See GetGraphqlApi for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) GetIntrospectionSchema(input *GetIntrospectionSchemaInput) (*GetIntrospectionSchemaOutput, error)
GetIntrospectionSchema API operation for AWS AppSync.
Retrieves the introspection schema for a GraphQL API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation GetIntrospectionSchema for usage and error information.
Returned Error Types:
GraphQLSchemaException The GraphQL schema is not valid.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetIntrospectionSchema
func (c *AppSync) GetIntrospectionSchemaRequest(input *GetIntrospectionSchemaInput) (req *request.Request, output *GetIntrospectionSchemaOutput)
GetIntrospectionSchemaRequest generates a "aws/request.Request" representing the client's request for the GetIntrospectionSchema operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetIntrospectionSchema for more information on using the GetIntrospectionSchema API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetIntrospectionSchemaRequest method. req, resp := client.GetIntrospectionSchemaRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetIntrospectionSchema
func (c *AppSync) GetIntrospectionSchemaWithContext(ctx aws.Context, input *GetIntrospectionSchemaInput, opts ...request.Option) (*GetIntrospectionSchemaOutput, error)
GetIntrospectionSchemaWithContext is the same as GetIntrospectionSchema with the addition of the ability to pass a context and additional request options.
See GetIntrospectionSchema for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) GetResolver(input *GetResolverInput) (*GetResolverOutput, error)
GetResolver API operation for AWS AppSync.
Retrieves a Resolver object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation GetResolver for usage and error information.
Returned Error Types:
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetResolver
func (c *AppSync) GetResolverRequest(input *GetResolverInput) (req *request.Request, output *GetResolverOutput)
GetResolverRequest generates a "aws/request.Request" representing the client's request for the GetResolver operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetResolver for more information on using the GetResolver API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetResolverRequest method. req, resp := client.GetResolverRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetResolver
func (c *AppSync) GetResolverWithContext(ctx aws.Context, input *GetResolverInput, opts ...request.Option) (*GetResolverOutput, error)
GetResolverWithContext is the same as GetResolver with the addition of the ability to pass a context and additional request options.
See GetResolver for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) GetSchemaCreationStatus(input *GetSchemaCreationStatusInput) (*GetSchemaCreationStatusOutput, error)
GetSchemaCreationStatus API operation for AWS AppSync.
Retrieves the current status of a schema creation operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation GetSchemaCreationStatus for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSchemaCreationStatus
func (c *AppSync) GetSchemaCreationStatusRequest(input *GetSchemaCreationStatusInput) (req *request.Request, output *GetSchemaCreationStatusOutput)
GetSchemaCreationStatusRequest generates a "aws/request.Request" representing the client's request for the GetSchemaCreationStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetSchemaCreationStatus for more information on using the GetSchemaCreationStatus API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetSchemaCreationStatusRequest method. req, resp := client.GetSchemaCreationStatusRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSchemaCreationStatus
func (c *AppSync) GetSchemaCreationStatusWithContext(ctx aws.Context, input *GetSchemaCreationStatusInput, opts ...request.Option) (*GetSchemaCreationStatusOutput, error)
GetSchemaCreationStatusWithContext is the same as GetSchemaCreationStatus with the addition of the ability to pass a context and additional request options.
See GetSchemaCreationStatus for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) GetSourceApiAssociation(input *GetSourceApiAssociationInput) (*GetSourceApiAssociationOutput, error)
GetSourceApiAssociation API operation for AWS AppSync.
Retrieves a SourceApiAssociation object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation GetSourceApiAssociation for usage and error information.
Returned Error Types:
UnauthorizedException You aren't authorized to perform this operation.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
InternalFailureException An internal AppSync error occurred. Try your request again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSourceApiAssociation
func (c *AppSync) GetSourceApiAssociationRequest(input *GetSourceApiAssociationInput) (req *request.Request, output *GetSourceApiAssociationOutput)
GetSourceApiAssociationRequest generates a "aws/request.Request" representing the client's request for the GetSourceApiAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetSourceApiAssociation for more information on using the GetSourceApiAssociation API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetSourceApiAssociationRequest method. req, resp := client.GetSourceApiAssociationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSourceApiAssociation
func (c *AppSync) GetSourceApiAssociationWithContext(ctx aws.Context, input *GetSourceApiAssociationInput, opts ...request.Option) (*GetSourceApiAssociationOutput, error)
GetSourceApiAssociationWithContext is the same as GetSourceApiAssociation with the addition of the ability to pass a context and additional request options.
See GetSourceApiAssociation for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) GetType(input *GetTypeInput) (*GetTypeOutput, error)
GetType API operation for AWS AppSync.
Retrieves a Type object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation GetType for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetType
func (c *AppSync) GetTypeRequest(input *GetTypeInput) (req *request.Request, output *GetTypeOutput)
GetTypeRequest generates a "aws/request.Request" representing the client's request for the GetType operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetType for more information on using the GetType API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetTypeRequest method. req, resp := client.GetTypeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetType
func (c *AppSync) GetTypeWithContext(ctx aws.Context, input *GetTypeInput, opts ...request.Option) (*GetTypeOutput, error)
GetTypeWithContext is the same as GetType with the addition of the ability to pass a context and additional request options.
See GetType for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) ListApiKeys(input *ListApiKeysInput) (*ListApiKeysOutput, error)
ListApiKeys API operation for AWS AppSync.
Lists the API keys for a given API.
API keys are deleted automatically 60 days after they expire. However, they may still be included in the response until they have actually been deleted. You can safely call DeleteApiKey to manually delete a key before it's automatically deleted.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation ListApiKeys for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeys
func (c *AppSync) ListApiKeysPages(input *ListApiKeysInput, fn func(*ListApiKeysOutput, bool) bool) error
ListApiKeysPages iterates over the pages of a ListApiKeys operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListApiKeys method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListApiKeys operation. pageNum := 0 err := client.ListApiKeysPages(params, func(page *appsync.ListApiKeysOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *AppSync) ListApiKeysPagesWithContext(ctx aws.Context, input *ListApiKeysInput, fn func(*ListApiKeysOutput, bool) bool, opts ...request.Option) error
ListApiKeysPagesWithContext same as ListApiKeysPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) ListApiKeysRequest(input *ListApiKeysInput) (req *request.Request, output *ListApiKeysOutput)
ListApiKeysRequest generates a "aws/request.Request" representing the client's request for the ListApiKeys operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListApiKeys for more information on using the ListApiKeys API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListApiKeysRequest method. req, resp := client.ListApiKeysRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeys
func (c *AppSync) ListApiKeysWithContext(ctx aws.Context, input *ListApiKeysInput, opts ...request.Option) (*ListApiKeysOutput, error)
ListApiKeysWithContext is the same as ListApiKeys with the addition of the ability to pass a context and additional request options.
See ListApiKeys for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) ListDataSources(input *ListDataSourcesInput) (*ListDataSourcesOutput, error)
ListDataSources API operation for AWS AppSync.
Lists the data sources for a given API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation ListDataSources for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDataSources
func (c *AppSync) ListDataSourcesPages(input *ListDataSourcesInput, fn func(*ListDataSourcesOutput, bool) bool) error
ListDataSourcesPages iterates over the pages of a ListDataSources operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListDataSources method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListDataSources operation. pageNum := 0 err := client.ListDataSourcesPages(params, func(page *appsync.ListDataSourcesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *AppSync) ListDataSourcesPagesWithContext(ctx aws.Context, input *ListDataSourcesInput, fn func(*ListDataSourcesOutput, bool) bool, opts ...request.Option) error
ListDataSourcesPagesWithContext same as ListDataSourcesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) ListDataSourcesRequest(input *ListDataSourcesInput) (req *request.Request, output *ListDataSourcesOutput)
ListDataSourcesRequest generates a "aws/request.Request" representing the client's request for the ListDataSources operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListDataSources for more information on using the ListDataSources API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListDataSourcesRequest method. req, resp := client.ListDataSourcesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDataSources
func (c *AppSync) ListDataSourcesWithContext(ctx aws.Context, input *ListDataSourcesInput, opts ...request.Option) (*ListDataSourcesOutput, error)
ListDataSourcesWithContext is the same as ListDataSources with the addition of the ability to pass a context and additional request options.
See ListDataSources for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) ListDomainNames(input *ListDomainNamesInput) (*ListDomainNamesOutput, error)
ListDomainNames API operation for AWS AppSync.
Lists multiple custom domain names.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation ListDomainNames for usage and error information.
Returned Error Types:
AccessDeniedException You don't have access to perform this operation on this resource.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDomainNames
func (c *AppSync) ListDomainNamesPages(input *ListDomainNamesInput, fn func(*ListDomainNamesOutput, bool) bool) error
ListDomainNamesPages iterates over the pages of a ListDomainNames operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListDomainNames method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListDomainNames operation. pageNum := 0 err := client.ListDomainNamesPages(params, func(page *appsync.ListDomainNamesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *AppSync) ListDomainNamesPagesWithContext(ctx aws.Context, input *ListDomainNamesInput, fn func(*ListDomainNamesOutput, bool) bool, opts ...request.Option) error
ListDomainNamesPagesWithContext same as ListDomainNamesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) ListDomainNamesRequest(input *ListDomainNamesInput) (req *request.Request, output *ListDomainNamesOutput)
ListDomainNamesRequest generates a "aws/request.Request" representing the client's request for the ListDomainNames operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListDomainNames for more information on using the ListDomainNames API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListDomainNamesRequest method. req, resp := client.ListDomainNamesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDomainNames
func (c *AppSync) ListDomainNamesWithContext(ctx aws.Context, input *ListDomainNamesInput, opts ...request.Option) (*ListDomainNamesOutput, error)
ListDomainNamesWithContext is the same as ListDomainNames with the addition of the ability to pass a context and additional request options.
See ListDomainNames for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) ListFunctions(input *ListFunctionsInput) (*ListFunctionsOutput, error)
ListFunctions API operation for AWS AppSync.
List multiple functions.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation ListFunctions for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListFunctions
func (c *AppSync) ListFunctionsPages(input *ListFunctionsInput, fn func(*ListFunctionsOutput, bool) bool) error
ListFunctionsPages iterates over the pages of a ListFunctions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListFunctions method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListFunctions operation. pageNum := 0 err := client.ListFunctionsPages(params, func(page *appsync.ListFunctionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *AppSync) ListFunctionsPagesWithContext(ctx aws.Context, input *ListFunctionsInput, fn func(*ListFunctionsOutput, bool) bool, opts ...request.Option) error
ListFunctionsPagesWithContext same as ListFunctionsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) ListFunctionsRequest(input *ListFunctionsInput) (req *request.Request, output *ListFunctionsOutput)
ListFunctionsRequest generates a "aws/request.Request" representing the client's request for the ListFunctions operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListFunctions for more information on using the ListFunctions API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListFunctionsRequest method. req, resp := client.ListFunctionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListFunctions
func (c *AppSync) ListFunctionsWithContext(ctx aws.Context, input *ListFunctionsInput, opts ...request.Option) (*ListFunctionsOutput, error)
ListFunctionsWithContext is the same as ListFunctions with the addition of the ability to pass a context and additional request options.
See ListFunctions for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) ListGraphqlApis(input *ListGraphqlApisInput) (*ListGraphqlApisOutput, error)
ListGraphqlApis API operation for AWS AppSync.
Lists your GraphQL APIs.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation ListGraphqlApis for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApis
func (c *AppSync) ListGraphqlApisPages(input *ListGraphqlApisInput, fn func(*ListGraphqlApisOutput, bool) bool) error
ListGraphqlApisPages iterates over the pages of a ListGraphqlApis operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListGraphqlApis method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListGraphqlApis operation. pageNum := 0 err := client.ListGraphqlApisPages(params, func(page *appsync.ListGraphqlApisOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *AppSync) ListGraphqlApisPagesWithContext(ctx aws.Context, input *ListGraphqlApisInput, fn func(*ListGraphqlApisOutput, bool) bool, opts ...request.Option) error
ListGraphqlApisPagesWithContext same as ListGraphqlApisPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) ListGraphqlApisRequest(input *ListGraphqlApisInput) (req *request.Request, output *ListGraphqlApisOutput)
ListGraphqlApisRequest generates a "aws/request.Request" representing the client's request for the ListGraphqlApis operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListGraphqlApis for more information on using the ListGraphqlApis API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListGraphqlApisRequest method. req, resp := client.ListGraphqlApisRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApis
func (c *AppSync) ListGraphqlApisWithContext(ctx aws.Context, input *ListGraphqlApisInput, opts ...request.Option) (*ListGraphqlApisOutput, error)
ListGraphqlApisWithContext is the same as ListGraphqlApis with the addition of the ability to pass a context and additional request options.
See ListGraphqlApis for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) ListResolvers(input *ListResolversInput) (*ListResolversOutput, error)
ListResolvers API operation for AWS AppSync.
Lists the resolvers for a given API and type.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation ListResolvers for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolvers
func (c *AppSync) ListResolversByFunction(input *ListResolversByFunctionInput) (*ListResolversByFunctionOutput, error)
ListResolversByFunction API operation for AWS AppSync.
List the resolvers that are associated with a specific function.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation ListResolversByFunction for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolversByFunction
func (c *AppSync) ListResolversByFunctionPages(input *ListResolversByFunctionInput, fn func(*ListResolversByFunctionOutput, bool) bool) error
ListResolversByFunctionPages iterates over the pages of a ListResolversByFunction operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListResolversByFunction method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListResolversByFunction operation. pageNum := 0 err := client.ListResolversByFunctionPages(params, func(page *appsync.ListResolversByFunctionOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *AppSync) ListResolversByFunctionPagesWithContext(ctx aws.Context, input *ListResolversByFunctionInput, fn func(*ListResolversByFunctionOutput, bool) bool, opts ...request.Option) error
ListResolversByFunctionPagesWithContext same as ListResolversByFunctionPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) ListResolversByFunctionRequest(input *ListResolversByFunctionInput) (req *request.Request, output *ListResolversByFunctionOutput)
ListResolversByFunctionRequest generates a "aws/request.Request" representing the client's request for the ListResolversByFunction operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListResolversByFunction for more information on using the ListResolversByFunction API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListResolversByFunctionRequest method. req, resp := client.ListResolversByFunctionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolversByFunction
func (c *AppSync) ListResolversByFunctionWithContext(ctx aws.Context, input *ListResolversByFunctionInput, opts ...request.Option) (*ListResolversByFunctionOutput, error)
ListResolversByFunctionWithContext is the same as ListResolversByFunction with the addition of the ability to pass a context and additional request options.
See ListResolversByFunction for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) ListResolversPages(input *ListResolversInput, fn func(*ListResolversOutput, bool) bool) error
ListResolversPages iterates over the pages of a ListResolvers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListResolvers method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListResolvers operation. pageNum := 0 err := client.ListResolversPages(params, func(page *appsync.ListResolversOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *AppSync) ListResolversPagesWithContext(ctx aws.Context, input *ListResolversInput, fn func(*ListResolversOutput, bool) bool, opts ...request.Option) error
ListResolversPagesWithContext same as ListResolversPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) ListResolversRequest(input *ListResolversInput) (req *request.Request, output *ListResolversOutput)
ListResolversRequest generates a "aws/request.Request" representing the client's request for the ListResolvers operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListResolvers for more information on using the ListResolvers API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListResolversRequest method. req, resp := client.ListResolversRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolvers
func (c *AppSync) ListResolversWithContext(ctx aws.Context, input *ListResolversInput, opts ...request.Option) (*ListResolversOutput, error)
ListResolversWithContext is the same as ListResolvers with the addition of the ability to pass a context and additional request options.
See ListResolvers for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) ListSourceApiAssociations(input *ListSourceApiAssociationsInput) (*ListSourceApiAssociationsOutput, error)
ListSourceApiAssociations API operation for AWS AppSync.
Lists the SourceApiAssociationSummary data.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation ListSourceApiAssociations for usage and error information.
Returned Error Types:
UnauthorizedException You aren't authorized to perform this operation.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
InternalFailureException An internal AppSync error occurred. Try your request again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListSourceApiAssociations
func (c *AppSync) ListSourceApiAssociationsPages(input *ListSourceApiAssociationsInput, fn func(*ListSourceApiAssociationsOutput, bool) bool) error
ListSourceApiAssociationsPages iterates over the pages of a ListSourceApiAssociations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListSourceApiAssociations method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListSourceApiAssociations operation. pageNum := 0 err := client.ListSourceApiAssociationsPages(params, func(page *appsync.ListSourceApiAssociationsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *AppSync) ListSourceApiAssociationsPagesWithContext(ctx aws.Context, input *ListSourceApiAssociationsInput, fn func(*ListSourceApiAssociationsOutput, bool) bool, opts ...request.Option) error
ListSourceApiAssociationsPagesWithContext same as ListSourceApiAssociationsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) ListSourceApiAssociationsRequest(input *ListSourceApiAssociationsInput) (req *request.Request, output *ListSourceApiAssociationsOutput)
ListSourceApiAssociationsRequest generates a "aws/request.Request" representing the client's request for the ListSourceApiAssociations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListSourceApiAssociations for more information on using the ListSourceApiAssociations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListSourceApiAssociationsRequest method. req, resp := client.ListSourceApiAssociationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListSourceApiAssociations
func (c *AppSync) ListSourceApiAssociationsWithContext(ctx aws.Context, input *ListSourceApiAssociationsInput, opts ...request.Option) (*ListSourceApiAssociationsOutput, error)
ListSourceApiAssociationsWithContext is the same as ListSourceApiAssociations with the addition of the ability to pass a context and additional request options.
See ListSourceApiAssociations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for AWS AppSync.
Lists the tags for a resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation ListTagsForResource for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
LimitExceededException The request exceeded a limit. Try your request again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
AccessDeniedException You don't have access to perform this operation on this resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTagsForResource
func (c *AppSync) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTagsForResource
func (c *AppSync) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.
See ListTagsForResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) ListTypes(input *ListTypesInput) (*ListTypesOutput, error)
ListTypes API operation for AWS AppSync.
Lists the types for a given API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation ListTypes for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypes
func (c *AppSync) ListTypesByAssociation(input *ListTypesByAssociationInput) (*ListTypesByAssociationOutput, error)
ListTypesByAssociation API operation for AWS AppSync.
Lists Type objects by the source API association ID.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation ListTypesByAssociation for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypesByAssociation
func (c *AppSync) ListTypesByAssociationPages(input *ListTypesByAssociationInput, fn func(*ListTypesByAssociationOutput, bool) bool) error
ListTypesByAssociationPages iterates over the pages of a ListTypesByAssociation operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListTypesByAssociation method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListTypesByAssociation operation. pageNum := 0 err := client.ListTypesByAssociationPages(params, func(page *appsync.ListTypesByAssociationOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *AppSync) ListTypesByAssociationPagesWithContext(ctx aws.Context, input *ListTypesByAssociationInput, fn func(*ListTypesByAssociationOutput, bool) bool, opts ...request.Option) error
ListTypesByAssociationPagesWithContext same as ListTypesByAssociationPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) ListTypesByAssociationRequest(input *ListTypesByAssociationInput) (req *request.Request, output *ListTypesByAssociationOutput)
ListTypesByAssociationRequest generates a "aws/request.Request" representing the client's request for the ListTypesByAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTypesByAssociation for more information on using the ListTypesByAssociation API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTypesByAssociationRequest method. req, resp := client.ListTypesByAssociationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypesByAssociation
func (c *AppSync) ListTypesByAssociationWithContext(ctx aws.Context, input *ListTypesByAssociationInput, opts ...request.Option) (*ListTypesByAssociationOutput, error)
ListTypesByAssociationWithContext is the same as ListTypesByAssociation with the addition of the ability to pass a context and additional request options.
See ListTypesByAssociation for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) ListTypesPages(input *ListTypesInput, fn func(*ListTypesOutput, bool) bool) error
ListTypesPages iterates over the pages of a ListTypes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListTypes method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListTypes operation. pageNum := 0 err := client.ListTypesPages(params, func(page *appsync.ListTypesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *AppSync) ListTypesPagesWithContext(ctx aws.Context, input *ListTypesInput, fn func(*ListTypesOutput, bool) bool, opts ...request.Option) error
ListTypesPagesWithContext same as ListTypesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) ListTypesRequest(input *ListTypesInput) (req *request.Request, output *ListTypesOutput)
ListTypesRequest generates a "aws/request.Request" representing the client's request for the ListTypes operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTypes for more information on using the ListTypes API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTypesRequest method. req, resp := client.ListTypesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypes
func (c *AppSync) ListTypesWithContext(ctx aws.Context, input *ListTypesInput, opts ...request.Option) (*ListTypesOutput, error)
ListTypesWithContext is the same as ListTypes with the addition of the ability to pass a context and additional request options.
See ListTypes for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) PutGraphqlApiEnvironmentVariables(input *PutGraphqlApiEnvironmentVariablesInput) (*PutGraphqlApiEnvironmentVariablesOutput, error)
PutGraphqlApiEnvironmentVariables API operation for AWS AppSync.
Creates a list of environmental variables in an API by its ID value.
When creating an environmental variable, it must follow the constraints below:
Both JavaScript and VTL templates support environmental variables.
Environmental variables are not evaluated before function invocation.
Environmental variables only support string values.
Any defined value in an environmental variable is considered a string literal and not expanded.
Variable evaluations should ideally be performed in the function code.
When creating an environmental variable key-value pair, it must follow the additional constraints below:
Keys must begin with a letter.
Keys must be at least two characters long.
Keys can only contain letters, numbers, and the underscore character (_).
Values can be up to 512 characters long.
You can configure up to 50 key-value pairs in a GraphQL API.
You can create a list of environmental variables by adding it to the environmentVariables payload as a list in the format {"key1":"value1","key2":"value2", …}. Note that each call of the PutGraphqlApiEnvironmentVariables action will result in the overwriting of the existing environmental variable list of that API. This means the existing environmental variables will be lost. To avoid this, you must include all existing and new environmental variables in the list each time you call this action.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation PutGraphqlApiEnvironmentVariables for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
AccessDeniedException You don't have access to perform this operation on this resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/PutGraphqlApiEnvironmentVariables
func (c *AppSync) PutGraphqlApiEnvironmentVariablesRequest(input *PutGraphqlApiEnvironmentVariablesInput) (req *request.Request, output *PutGraphqlApiEnvironmentVariablesOutput)
PutGraphqlApiEnvironmentVariablesRequest generates a "aws/request.Request" representing the client's request for the PutGraphqlApiEnvironmentVariables operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutGraphqlApiEnvironmentVariables for more information on using the PutGraphqlApiEnvironmentVariables API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutGraphqlApiEnvironmentVariablesRequest method. req, resp := client.PutGraphqlApiEnvironmentVariablesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/PutGraphqlApiEnvironmentVariables
func (c *AppSync) PutGraphqlApiEnvironmentVariablesWithContext(ctx aws.Context, input *PutGraphqlApiEnvironmentVariablesInput, opts ...request.Option) (*PutGraphqlApiEnvironmentVariablesOutput, error)
PutGraphqlApiEnvironmentVariablesWithContext is the same as PutGraphqlApiEnvironmentVariables with the addition of the ability to pass a context and additional request options.
See PutGraphqlApiEnvironmentVariables for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) StartDataSourceIntrospection(input *StartDataSourceIntrospectionInput) (*StartDataSourceIntrospectionOutput, error)
StartDataSourceIntrospection API operation for AWS AppSync.
Creates a new introspection. Returns the introspectionId of the new introspection after its creation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation StartDataSourceIntrospection for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartDataSourceIntrospection
func (c *AppSync) StartDataSourceIntrospectionRequest(input *StartDataSourceIntrospectionInput) (req *request.Request, output *StartDataSourceIntrospectionOutput)
StartDataSourceIntrospectionRequest generates a "aws/request.Request" representing the client's request for the StartDataSourceIntrospection operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See StartDataSourceIntrospection for more information on using the StartDataSourceIntrospection API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the StartDataSourceIntrospectionRequest method. req, resp := client.StartDataSourceIntrospectionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartDataSourceIntrospection
func (c *AppSync) StartDataSourceIntrospectionWithContext(ctx aws.Context, input *StartDataSourceIntrospectionInput, opts ...request.Option) (*StartDataSourceIntrospectionOutput, error)
StartDataSourceIntrospectionWithContext is the same as StartDataSourceIntrospection with the addition of the ability to pass a context and additional request options.
See StartDataSourceIntrospection for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) StartSchemaCreation(input *StartSchemaCreationInput) (*StartSchemaCreationOutput, error)
StartSchemaCreation API operation for AWS AppSync.
Adds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation StartSchemaCreation for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaCreation
func (c *AppSync) StartSchemaCreationRequest(input *StartSchemaCreationInput) (req *request.Request, output *StartSchemaCreationOutput)
StartSchemaCreationRequest generates a "aws/request.Request" representing the client's request for the StartSchemaCreation operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See StartSchemaCreation for more information on using the StartSchemaCreation API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the StartSchemaCreationRequest method. req, resp := client.StartSchemaCreationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaCreation
func (c *AppSync) StartSchemaCreationWithContext(ctx aws.Context, input *StartSchemaCreationInput, opts ...request.Option) (*StartSchemaCreationOutput, error)
StartSchemaCreationWithContext is the same as StartSchemaCreation with the addition of the ability to pass a context and additional request options.
See StartSchemaCreation for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) StartSchemaMerge(input *StartSchemaMergeInput) (*StartSchemaMergeOutput, error)
StartSchemaMerge API operation for AWS AppSync.
Initiates a merge operation. Returns a status that shows the result of the merge operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation StartSchemaMerge for usage and error information.
Returned Error Types:
UnauthorizedException You aren't authorized to perform this operation.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
InternalFailureException An internal AppSync error occurred. Try your request again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaMerge
func (c *AppSync) StartSchemaMergeRequest(input *StartSchemaMergeInput) (req *request.Request, output *StartSchemaMergeOutput)
StartSchemaMergeRequest generates a "aws/request.Request" representing the client's request for the StartSchemaMerge operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See StartSchemaMerge for more information on using the StartSchemaMerge API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the StartSchemaMergeRequest method. req, resp := client.StartSchemaMergeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaMerge
func (c *AppSync) StartSchemaMergeWithContext(ctx aws.Context, input *StartSchemaMergeInput, opts ...request.Option) (*StartSchemaMergeOutput, error)
StartSchemaMergeWithContext is the same as StartSchemaMerge with the addition of the ability to pass a context and additional request options.
See StartSchemaMerge for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for AWS AppSync.
Tags a resource with user-supplied tags.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation TagResource for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
LimitExceededException The request exceeded a limit. Try your request again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
AccessDeniedException You don't have access to perform this operation on this resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/TagResource
func (c *AppSync) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TagResource for more information on using the TagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/TagResource
func (c *AppSync) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.
See TagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for AWS AppSync.
Untags a resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation UntagResource for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
LimitExceededException The request exceeded a limit. Try your request again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
AccessDeniedException You don't have access to perform this operation on this resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UntagResource
func (c *AppSync) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UntagResource for more information on using the UntagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UntagResource
func (c *AppSync) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.
See UntagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) UpdateApiCache(input *UpdateApiCacheInput) (*UpdateApiCacheOutput, error)
UpdateApiCache API operation for AWS AppSync.
Updates the cache for the GraphQL API.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation UpdateApiCache for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiCache
func (c *AppSync) UpdateApiCacheRequest(input *UpdateApiCacheInput) (req *request.Request, output *UpdateApiCacheOutput)
UpdateApiCacheRequest generates a "aws/request.Request" representing the client's request for the UpdateApiCache operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateApiCache for more information on using the UpdateApiCache API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateApiCacheRequest method. req, resp := client.UpdateApiCacheRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiCache
func (c *AppSync) UpdateApiCacheWithContext(ctx aws.Context, input *UpdateApiCacheInput, opts ...request.Option) (*UpdateApiCacheOutput, error)
UpdateApiCacheWithContext is the same as UpdateApiCache with the addition of the ability to pass a context and additional request options.
See UpdateApiCache for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) UpdateApiKey(input *UpdateApiKeyInput) (*UpdateApiKeyOutput, error)
UpdateApiKey API operation for AWS AppSync.
Updates an API key. You can update the key as long as it's not deleted.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation UpdateApiKey for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
LimitExceededException The request exceeded a limit. Try your request again.
InternalFailureException An internal AppSync error occurred. Try your request again.
ApiKeyValidityOutOfBoundsException The API key expiration must be set to a value between 1 and 365 days from creation (for CreateApiKey) or from update (for UpdateApiKey).
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiKey
func (c *AppSync) UpdateApiKeyRequest(input *UpdateApiKeyInput) (req *request.Request, output *UpdateApiKeyOutput)
UpdateApiKeyRequest generates a "aws/request.Request" representing the client's request for the UpdateApiKey operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateApiKey for more information on using the UpdateApiKey API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateApiKeyRequest method. req, resp := client.UpdateApiKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiKey
func (c *AppSync) UpdateApiKeyWithContext(ctx aws.Context, input *UpdateApiKeyInput, opts ...request.Option) (*UpdateApiKeyOutput, error)
UpdateApiKeyWithContext is the same as UpdateApiKey with the addition of the ability to pass a context and additional request options.
See UpdateApiKey for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) UpdateDataSource(input *UpdateDataSourceInput) (*UpdateDataSourceOutput, error)
UpdateDataSource API operation for AWS AppSync.
Updates a DataSource object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation UpdateDataSource for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDataSource
func (c *AppSync) UpdateDataSourceRequest(input *UpdateDataSourceInput) (req *request.Request, output *UpdateDataSourceOutput)
UpdateDataSourceRequest generates a "aws/request.Request" representing the client's request for the UpdateDataSource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateDataSource for more information on using the UpdateDataSource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateDataSourceRequest method. req, resp := client.UpdateDataSourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDataSource
func (c *AppSync) UpdateDataSourceWithContext(ctx aws.Context, input *UpdateDataSourceInput, opts ...request.Option) (*UpdateDataSourceOutput, error)
UpdateDataSourceWithContext is the same as UpdateDataSource with the addition of the ability to pass a context and additional request options.
See UpdateDataSource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) UpdateDomainName(input *UpdateDomainNameInput) (*UpdateDomainNameOutput, error)
UpdateDomainName API operation for AWS AppSync.
Updates a custom DomainName object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation UpdateDomainName for usage and error information.
Returned Error Types:
AccessDeniedException You don't have access to perform this operation on this resource.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
InternalFailureException An internal AppSync error occurred. Try your request again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDomainName
func (c *AppSync) UpdateDomainNameRequest(input *UpdateDomainNameInput) (req *request.Request, output *UpdateDomainNameOutput)
UpdateDomainNameRequest generates a "aws/request.Request" representing the client's request for the UpdateDomainName operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateDomainName for more information on using the UpdateDomainName API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateDomainNameRequest method. req, resp := client.UpdateDomainNameRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDomainName
func (c *AppSync) UpdateDomainNameWithContext(ctx aws.Context, input *UpdateDomainNameInput, opts ...request.Option) (*UpdateDomainNameOutput, error)
UpdateDomainNameWithContext is the same as UpdateDomainName with the addition of the ability to pass a context and additional request options.
See UpdateDomainName for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) UpdateFunction(input *UpdateFunctionInput) (*UpdateFunctionOutput, error)
UpdateFunction API operation for AWS AppSync.
Updates a Function object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation UpdateFunction for usage and error information.
Returned Error Types:
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateFunction
func (c *AppSync) UpdateFunctionRequest(input *UpdateFunctionInput) (req *request.Request, output *UpdateFunctionOutput)
UpdateFunctionRequest generates a "aws/request.Request" representing the client's request for the UpdateFunction operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateFunction for more information on using the UpdateFunction API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateFunctionRequest method. req, resp := client.UpdateFunctionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateFunction
func (c *AppSync) UpdateFunctionWithContext(ctx aws.Context, input *UpdateFunctionInput, opts ...request.Option) (*UpdateFunctionOutput, error)
UpdateFunctionWithContext is the same as UpdateFunction with the addition of the ability to pass a context and additional request options.
See UpdateFunction for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) UpdateGraphqlApi(input *UpdateGraphqlApiInput) (*UpdateGraphqlApiOutput, error)
UpdateGraphqlApi API operation for AWS AppSync.
Updates a GraphqlApi object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation UpdateGraphqlApi for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
AccessDeniedException You don't have access to perform this operation on this resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApi
func (c *AppSync) UpdateGraphqlApiRequest(input *UpdateGraphqlApiInput) (req *request.Request, output *UpdateGraphqlApiOutput)
UpdateGraphqlApiRequest generates a "aws/request.Request" representing the client's request for the UpdateGraphqlApi operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateGraphqlApi for more information on using the UpdateGraphqlApi API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateGraphqlApiRequest method. req, resp := client.UpdateGraphqlApiRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApi
func (c *AppSync) UpdateGraphqlApiWithContext(ctx aws.Context, input *UpdateGraphqlApiInput, opts ...request.Option) (*UpdateGraphqlApiOutput, error)
UpdateGraphqlApiWithContext is the same as UpdateGraphqlApi with the addition of the ability to pass a context and additional request options.
See UpdateGraphqlApi for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) UpdateResolver(input *UpdateResolverInput) (*UpdateResolverOutput, error)
UpdateResolver API operation for AWS AppSync.
Updates a Resolver object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation UpdateResolver for usage and error information.
Returned Error Types:
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateResolver
func (c *AppSync) UpdateResolverRequest(input *UpdateResolverInput) (req *request.Request, output *UpdateResolverOutput)
UpdateResolverRequest generates a "aws/request.Request" representing the client's request for the UpdateResolver operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateResolver for more information on using the UpdateResolver API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateResolverRequest method. req, resp := client.UpdateResolverRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateResolver
func (c *AppSync) UpdateResolverWithContext(ctx aws.Context, input *UpdateResolverInput, opts ...request.Option) (*UpdateResolverOutput, error)
UpdateResolverWithContext is the same as UpdateResolver with the addition of the ability to pass a context and additional request options.
See UpdateResolver for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) UpdateSourceApiAssociation(input *UpdateSourceApiAssociationInput) (*UpdateSourceApiAssociationOutput, error)
UpdateSourceApiAssociation API operation for AWS AppSync.
Updates some of the configuration choices of a particular source API association.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation UpdateSourceApiAssociation for usage and error information.
Returned Error Types:
UnauthorizedException You aren't authorized to perform this operation.
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
InternalFailureException An internal AppSync error occurred. Try your request again.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateSourceApiAssociation
func (c *AppSync) UpdateSourceApiAssociationRequest(input *UpdateSourceApiAssociationInput) (req *request.Request, output *UpdateSourceApiAssociationOutput)
UpdateSourceApiAssociationRequest generates a "aws/request.Request" representing the client's request for the UpdateSourceApiAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateSourceApiAssociation for more information on using the UpdateSourceApiAssociation API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateSourceApiAssociationRequest method. req, resp := client.UpdateSourceApiAssociationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateSourceApiAssociation
func (c *AppSync) UpdateSourceApiAssociationWithContext(ctx aws.Context, input *UpdateSourceApiAssociationInput, opts ...request.Option) (*UpdateSourceApiAssociationOutput, error)
UpdateSourceApiAssociationWithContext is the same as UpdateSourceApiAssociation with the addition of the ability to pass a context and additional request options.
See UpdateSourceApiAssociation for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *AppSync) UpdateType(input *UpdateTypeInput) (*UpdateTypeOutput, error)
UpdateType API operation for AWS AppSync.
Updates a Type object.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS AppSync's API operation UpdateType for usage and error information.
Returned Error Types:
BadRequestException The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
ConcurrentModificationException Another modification is in progress at this time and it must complete before you can make your change.
NotFoundException The resource specified in the request was not found. Check the resource, and then try again.
UnauthorizedException You aren't authorized to perform this operation.
InternalFailureException An internal AppSync error occurred. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateType
func (c *AppSync) UpdateTypeRequest(input *UpdateTypeInput) (req *request.Request, output *UpdateTypeOutput)
UpdateTypeRequest generates a "aws/request.Request" representing the client's request for the UpdateType operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateType for more information on using the UpdateType API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateTypeRequest method. req, resp := client.UpdateTypeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateType
func (c *AppSync) UpdateTypeWithContext(ctx aws.Context, input *UpdateTypeInput, opts ...request.Option) (*UpdateTypeOutput, error)
UpdateTypeWithContext is the same as UpdateType with the addition of the ability to pass a context and additional request options.
See UpdateType for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type AppSyncRuntime struct { // The name of the runtime to use. Currently, the only allowed value is APPSYNC_JS. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true" enum:"RuntimeName"` // The version of the runtime to use. Currently, the only allowed version is // 1.0.0. // // RuntimeVersion is a required field RuntimeVersion *string `locationName:"runtimeVersion" type:"string" required:"true"` // contains filtered or unexported fields }
Describes a runtime used by an Amazon Web Services AppSync pipeline resolver or Amazon Web Services AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
func (s AppSyncRuntime) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AppSyncRuntime) SetName(v string) *AppSyncRuntime
SetName sets the Name field's value.
func (s *AppSyncRuntime) SetRuntimeVersion(v string) *AppSyncRuntime
SetRuntimeVersion sets the RuntimeVersion field's value.
func (s AppSyncRuntime) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AppSyncRuntime) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateApiInput struct { // The API ID. Private APIs can not be associated with custom domains. // // ApiId is a required field ApiId *string `locationName:"apiId" type:"string" required:"true"` // The domain name. // // DomainName is a required field DomainName *string `location:"uri" locationName:"domainName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s AssociateApiInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssociateApiInput) SetApiId(v string) *AssociateApiInput
SetApiId sets the ApiId field's value.
func (s *AssociateApiInput) SetDomainName(v string) *AssociateApiInput
SetDomainName sets the DomainName field's value.
func (s AssociateApiInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssociateApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateApiOutput struct { // The ApiAssociation object. ApiAssociation *ApiAssociation `locationName:"apiAssociation" type:"structure"` // contains filtered or unexported fields }
func (s AssociateApiOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssociateApiOutput) SetApiAssociation(v *ApiAssociation) *AssociateApiOutput
SetApiAssociation sets the ApiAssociation field's value.
func (s AssociateApiOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AssociateMergedGraphqlApiInput struct { // The description field. Description *string `locationName:"description" type:"string"` // The identifier of the AppSync Merged API. This is generated by the AppSync // service. In most cases, Merged APIs (especially in your account) only require // the API ID value or ARN of the merged API. However, Merged APIs in other // accounts (cross-account use cases) strictly require the full resource ARN // of the merged API. // // MergedApiIdentifier is a required field MergedApiIdentifier *string `locationName:"mergedApiIdentifier" type:"string" required:"true"` // The SourceApiAssociationConfig object data. SourceApiAssociationConfig *SourceApiAssociationConfig `locationName:"sourceApiAssociationConfig" type:"structure"` // The identifier of the AppSync Source API. This is generated by the AppSync // service. In most cases, source APIs (especially in your account) only require // the API ID value or ARN of the source API. However, source APIs from other // accounts (cross-account use cases) strictly require the full resource ARN // of the source API. // // SourceApiIdentifier is a required field SourceApiIdentifier *string `location:"uri" locationName:"sourceApiIdentifier" type:"string" required:"true"` // contains filtered or unexported fields }
func (s AssociateMergedGraphqlApiInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssociateMergedGraphqlApiInput) SetDescription(v string) *AssociateMergedGraphqlApiInput
SetDescription sets the Description field's value.
func (s *AssociateMergedGraphqlApiInput) SetMergedApiIdentifier(v string) *AssociateMergedGraphqlApiInput
SetMergedApiIdentifier sets the MergedApiIdentifier field's value.
func (s *AssociateMergedGraphqlApiInput) SetSourceApiAssociationConfig(v *SourceApiAssociationConfig) *AssociateMergedGraphqlApiInput
SetSourceApiAssociationConfig sets the SourceApiAssociationConfig field's value.
func (s *AssociateMergedGraphqlApiInput) SetSourceApiIdentifier(v string) *AssociateMergedGraphqlApiInput
SetSourceApiIdentifier sets the SourceApiIdentifier field's value.
func (s AssociateMergedGraphqlApiInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssociateMergedGraphqlApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateMergedGraphqlApiOutput struct { // The SourceApiAssociation object data. SourceApiAssociation *SourceApiAssociation `locationName:"sourceApiAssociation" type:"structure"` // contains filtered or unexported fields }
func (s AssociateMergedGraphqlApiOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssociateMergedGraphqlApiOutput) SetSourceApiAssociation(v *SourceApiAssociation) *AssociateMergedGraphqlApiOutput
SetSourceApiAssociation sets the SourceApiAssociation field's value.
func (s AssociateMergedGraphqlApiOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AssociateSourceGraphqlApiInput struct { // The description field. Description *string `locationName:"description" type:"string"` // The identifier of the AppSync Merged API. This is generated by the AppSync // service. In most cases, Merged APIs (especially in your account) only require // the API ID value or ARN of the merged API. However, Merged APIs in other // accounts (cross-account use cases) strictly require the full resource ARN // of the merged API. // // MergedApiIdentifier is a required field MergedApiIdentifier *string `location:"uri" locationName:"mergedApiIdentifier" type:"string" required:"true"` // The SourceApiAssociationConfig object data. SourceApiAssociationConfig *SourceApiAssociationConfig `locationName:"sourceApiAssociationConfig" type:"structure"` // The identifier of the AppSync Source API. This is generated by the AppSync // service. In most cases, source APIs (especially in your account) only require // the API ID value or ARN of the source API. However, source APIs from other // accounts (cross-account use cases) strictly require the full resource ARN // of the source API. // // SourceApiIdentifier is a required field SourceApiIdentifier *string `locationName:"sourceApiIdentifier" type:"string" required:"true"` // contains filtered or unexported fields }
func (s AssociateSourceGraphqlApiInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssociateSourceGraphqlApiInput) SetDescription(v string) *AssociateSourceGraphqlApiInput
SetDescription sets the Description field's value.
func (s *AssociateSourceGraphqlApiInput) SetMergedApiIdentifier(v string) *AssociateSourceGraphqlApiInput
SetMergedApiIdentifier sets the MergedApiIdentifier field's value.
func (s *AssociateSourceGraphqlApiInput) SetSourceApiAssociationConfig(v *SourceApiAssociationConfig) *AssociateSourceGraphqlApiInput
SetSourceApiAssociationConfig sets the SourceApiAssociationConfig field's value.
func (s *AssociateSourceGraphqlApiInput) SetSourceApiIdentifier(v string) *AssociateSourceGraphqlApiInput
SetSourceApiIdentifier sets the SourceApiIdentifier field's value.
func (s AssociateSourceGraphqlApiInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssociateSourceGraphqlApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateSourceGraphqlApiOutput struct { // The SourceApiAssociation object data. SourceApiAssociation *SourceApiAssociation `locationName:"sourceApiAssociation" type:"structure"` // contains filtered or unexported fields }
func (s AssociateSourceGraphqlApiOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssociateSourceGraphqlApiOutput) SetSourceApiAssociation(v *SourceApiAssociation) *AssociateSourceGraphqlApiOutput
SetSourceApiAssociation sets the SourceApiAssociation field's value.
func (s AssociateSourceGraphqlApiOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AuthorizationConfig struct { // The authorization type that the HTTP endpoint requires. // // * AWS_IAM: The authorization type is Signature Version 4 (SigV4). // // AuthorizationType is a required field AuthorizationType *string `locationName:"authorizationType" type:"string" required:"true" enum:"AuthorizationType"` // The Identity and Access Management (IAM) settings. AwsIamConfig *AwsIamConfig `locationName:"awsIamConfig" type:"structure"` // contains filtered or unexported fields }
The authorization configuration in case the HTTP endpoint requires authorization.
func (s AuthorizationConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AuthorizationConfig) SetAuthorizationType(v string) *AuthorizationConfig
SetAuthorizationType sets the AuthorizationType field's value.
func (s *AuthorizationConfig) SetAwsIamConfig(v *AwsIamConfig) *AuthorizationConfig
SetAwsIamConfig sets the AwsIamConfig field's value.
func (s AuthorizationConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AuthorizationConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AwsIamConfig struct { // The signing Amazon Web Services Region for IAM authorization. SigningRegion *string `locationName:"signingRegion" type:"string"` // The signing service name for IAM authorization. SigningServiceName *string `locationName:"signingServiceName" type:"string"` // contains filtered or unexported fields }
The Identity and Access Management (IAM) configuration.
func (s AwsIamConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AwsIamConfig) SetSigningRegion(v string) *AwsIamConfig
SetSigningRegion sets the SigningRegion field's value.
func (s *AwsIamConfig) SetSigningServiceName(v string) *AwsIamConfig
SetSigningServiceName sets the SigningServiceName field's value.
func (s AwsIamConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BadRequestDetail struct { // Contains the list of errors in the request. CodeErrors []*CodeError `locationName:"codeErrors" type:"list"` // contains filtered or unexported fields }
Provides further details for the reason behind the bad request. For reason type CODE_ERROR, the detail will contain a list of code errors.
func (s BadRequestDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BadRequestDetail) SetCodeErrors(v []*CodeError) *BadRequestDetail
SetCodeErrors sets the CodeErrors field's value.
func (s BadRequestDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BadRequestException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // Provides further details for the reason behind the bad request. For reason // type CODE_ERROR, the detail will contain a list of code errors. Detail *BadRequestDetail `locationName:"detail" type:"structure"` Message_ *string `locationName:"message" type:"string"` // Provides context for the cause of the bad request. The only supported value // is CODE_ERROR. Reason *string `locationName:"reason" type:"string" enum:"BadRequestReason"` // contains filtered or unexported fields }
The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
func (s *BadRequestException) Code() string
Code returns the exception type name.
func (s *BadRequestException) Error() string
func (s BadRequestException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BadRequestException) Message() string
Message returns the exception's message.
func (s *BadRequestException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *BadRequestException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *BadRequestException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s BadRequestException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CachingConfig struct { // The caching keys for a resolver that has caching activated. // // Valid values are entries from the $context.arguments, $context.source, and // $context.identity maps. CachingKeys []*string `locationName:"cachingKeys" type:"list"` // The TTL in seconds for a resolver that has caching activated. // // Valid values are 1–3,600 seconds. // // Ttl is a required field Ttl *int64 `locationName:"ttl" type:"long" required:"true"` // contains filtered or unexported fields }
The caching configuration for a resolver that has caching activated.
func (s CachingConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CachingConfig) SetCachingKeys(v []*string) *CachingConfig
SetCachingKeys sets the CachingKeys field's value.
func (s *CachingConfig) SetTtl(v int64) *CachingConfig
SetTtl sets the Ttl field's value.
func (s CachingConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CachingConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CodeError struct { // The type of code error. // // Examples include, but aren't limited to: LINT_ERROR, PARSER_ERROR. ErrorType *string `locationName:"errorType" type:"string"` // The line, column, and span location of the error in the code. Location *CodeErrorLocation `locationName:"location" type:"structure"` // A user presentable error. // // Examples include, but aren't limited to: Parsing error: Unterminated string // literal. Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
Describes an AppSync error.
func (s CodeError) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CodeError) SetErrorType(v string) *CodeError
SetErrorType sets the ErrorType field's value.
func (s *CodeError) SetLocation(v *CodeErrorLocation) *CodeError
SetLocation sets the Location field's value.
func (s *CodeError) SetValue(v string) *CodeError
SetValue sets the Value field's value.
func (s CodeError) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CodeErrorLocation struct { // The column number in the code. Defaults to 0 if unknown. Column *int64 `locationName:"column" type:"integer"` // The line number in the code. Defaults to 0 if unknown. Line *int64 `locationName:"line" type:"integer"` // The span/length of the error. Defaults to -1 if unknown. Span *int64 `locationName:"span" type:"integer"` // contains filtered or unexported fields }
Describes the location of the error in a code sample.
func (s CodeErrorLocation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CodeErrorLocation) SetColumn(v int64) *CodeErrorLocation
SetColumn sets the Column field's value.
func (s *CodeErrorLocation) SetLine(v int64) *CodeErrorLocation
SetLine sets the Line field's value.
func (s *CodeErrorLocation) SetSpan(v int64) *CodeErrorLocation
SetSpan sets the Span field's value.
func (s CodeErrorLocation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CognitoUserPoolConfig struct { // A regular expression for validating the incoming Amazon Cognito user pool // app client ID. If this value isn't set, no filtering is applied. AppIdClientRegex *string `locationName:"appIdClientRegex" type:"string"` // The Amazon Web Services Region in which the user pool was created. // // AwsRegion is a required field AwsRegion *string `locationName:"awsRegion" type:"string" required:"true"` // The user pool ID. // // UserPoolId is a required field UserPoolId *string `locationName:"userPoolId" type:"string" required:"true"` // contains filtered or unexported fields }
Describes an Amazon Cognito user pool configuration.
func (s CognitoUserPoolConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CognitoUserPoolConfig) SetAppIdClientRegex(v string) *CognitoUserPoolConfig
SetAppIdClientRegex sets the AppIdClientRegex field's value.
func (s *CognitoUserPoolConfig) SetAwsRegion(v string) *CognitoUserPoolConfig
SetAwsRegion sets the AwsRegion field's value.
func (s *CognitoUserPoolConfig) SetUserPoolId(v string) *CognitoUserPoolConfig
SetUserPoolId sets the UserPoolId field's value.
func (s CognitoUserPoolConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CognitoUserPoolConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ConcurrentModificationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Another modification is in progress at this time and it must complete before you can make your change.
func (s *ConcurrentModificationException) Code() string
Code returns the exception type name.
func (s *ConcurrentModificationException) Error() string
func (s ConcurrentModificationException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ConcurrentModificationException) Message() string
Message returns the exception's message.
func (s *ConcurrentModificationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ConcurrentModificationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ConcurrentModificationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ConcurrentModificationException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateApiCacheInput struct { // Caching behavior. // // * FULL_REQUEST_CACHING: All requests are fully cached. // // * PER_RESOLVER_CACHING: Individual resolvers that you specify are cached. // // ApiCachingBehavior is a required field ApiCachingBehavior *string `locationName:"apiCachingBehavior" type:"string" required:"true" enum:"ApiCachingBehavior"` // The GraphQL API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // At-rest encryption flag for cache. You cannot update this setting after creation. AtRestEncryptionEnabled *bool `locationName:"atRestEncryptionEnabled" type:"boolean"` // Controls how cache health metrics will be emitted to CloudWatch. Cache health // metrics include: // // * NetworkBandwidthOutAllowanceExceeded: The network packets dropped because // the throughput exceeded the aggregated bandwidth limit. This is useful // for diagnosing bottlenecks in a cache configuration. // // * EngineCPUUtilization: The CPU utilization (percentage) allocated to // the Redis process. This is useful for diagnosing bottlenecks in a cache // configuration. // // Metrics will be recorded by API ID. You can set the value to ENABLED or DISABLED. HealthMetricsConfig *string `locationName:"healthMetricsConfig" type:"string" enum:"CacheHealthMetricsConfig"` // Transit encryption flag when connecting to cache. You cannot update this // setting after creation. TransitEncryptionEnabled *bool `locationName:"transitEncryptionEnabled" type:"boolean"` // TTL in seconds for cache entries. // // Valid values are 1–3,600 seconds. // // Ttl is a required field Ttl *int64 `locationName:"ttl" type:"long" required:"true"` // The cache instance type. Valid values are // // * SMALL // // * MEDIUM // // * LARGE // // * XLARGE // // * LARGE_2X // // * LARGE_4X // // * LARGE_8X (not available in all regions) // // * LARGE_12X // // Historically, instance types were identified by an EC2-style value. As of // July 2020, this is deprecated, and the generic identifiers above should be // used. // // The following legacy instance types are available, but their use is discouraged: // // * T2_SMALL: A t2.small instance type. // // * T2_MEDIUM: A t2.medium instance type. // // * R4_LARGE: A r4.large instance type. // // * R4_XLARGE: A r4.xlarge instance type. // // * R4_2XLARGE: A r4.2xlarge instance type. // // * R4_4XLARGE: A r4.4xlarge instance type. // // * R4_8XLARGE: A r4.8xlarge instance type. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"ApiCacheType"` // contains filtered or unexported fields }
Represents the input of a CreateApiCache operation.
func (s CreateApiCacheInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateApiCacheInput) SetApiCachingBehavior(v string) *CreateApiCacheInput
SetApiCachingBehavior sets the ApiCachingBehavior field's value.
func (s *CreateApiCacheInput) SetApiId(v string) *CreateApiCacheInput
SetApiId sets the ApiId field's value.
func (s *CreateApiCacheInput) SetAtRestEncryptionEnabled(v bool) *CreateApiCacheInput
SetAtRestEncryptionEnabled sets the AtRestEncryptionEnabled field's value.
func (s *CreateApiCacheInput) SetHealthMetricsConfig(v string) *CreateApiCacheInput
SetHealthMetricsConfig sets the HealthMetricsConfig field's value.
func (s *CreateApiCacheInput) SetTransitEncryptionEnabled(v bool) *CreateApiCacheInput
SetTransitEncryptionEnabled sets the TransitEncryptionEnabled field's value.
func (s *CreateApiCacheInput) SetTtl(v int64) *CreateApiCacheInput
SetTtl sets the Ttl field's value.
func (s *CreateApiCacheInput) SetType(v string) *CreateApiCacheInput
SetType sets the Type field's value.
func (s CreateApiCacheInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateApiCacheInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateApiCacheOutput struct { // The ApiCache object. ApiCache *ApiCache `locationName:"apiCache" type:"structure"` // contains filtered or unexported fields }
Represents the output of a CreateApiCache operation.
func (s CreateApiCacheOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateApiCacheOutput) SetApiCache(v *ApiCache) *CreateApiCacheOutput
SetApiCache sets the ApiCache field's value.
func (s CreateApiCacheOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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"` // From the creation time, the time after which the API key expires. The date // is represented as seconds since the epoch, rounded down to the nearest hour. // The default value for this parameter is 7 days from creation time. For more // information, see . Expires *int64 `locationName:"expires" type:"long"` // contains filtered or unexported fields }
func (s CreateApiKeyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateApiKeyInput) SetApiId(v string) *CreateApiKeyInput
SetApiId sets the ApiId field's value.
func (s *CreateApiKeyInput) SetDescription(v string) *CreateApiKeyInput
SetDescription sets the Description field's value.
func (s *CreateApiKeyInput) SetExpires(v int64) *CreateApiKeyInput
SetExpires sets the Expires field's value.
func (s CreateApiKeyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateApiKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateApiKeyOutput struct { // The API key. ApiKey *ApiKey `locationName:"apiKey" type:"structure"` // contains filtered or unexported fields }
func (s CreateApiKeyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateApiKeyOutput) SetApiKey(v *ApiKey) *CreateApiKeyOutput
SetApiKey sets the ApiKey field's value.
func (s CreateApiKeyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateDataSourceInput struct { // The API ID for the GraphQL API for the DataSource. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // A description of the DataSource. Description *string `locationName:"description" type:"string"` // Amazon DynamoDB settings. DynamodbConfig *DynamodbDataSourceConfig `locationName:"dynamodbConfig" type:"structure"` // Amazon OpenSearch Service settings. // // As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. // This configuration is deprecated. For new data sources, use CreateDataSourceRequest$openSearchServiceConfig // to create an OpenSearch data source. ElasticsearchConfig *ElasticsearchDataSourceConfig `locationName:"elasticsearchConfig" type:"structure"` // Amazon EventBridge settings. EventBridgeConfig *EventBridgeDataSourceConfig `locationName:"eventBridgeConfig" type:"structure"` // HTTP endpoint settings. HttpConfig *HttpDataSourceConfig `locationName:"httpConfig" type:"structure"` // Lambda settings. LambdaConfig *LambdaDataSourceConfig `locationName:"lambdaConfig" type:"structure"` // Enables or disables enhanced data source metrics for specified data sources. // Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior // value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior // is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be // ignored. However, you can still set its value. // // metricsConfig can be ENABLED or DISABLED. MetricsConfig *string `locationName:"metricsConfig" type:"string" enum:"DataSourceLevelMetricsConfig"` // A user-supplied name for the DataSource. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // Amazon OpenSearch Service settings. OpenSearchServiceConfig *OpenSearchServiceDataSourceConfig `locationName:"openSearchServiceConfig" type:"structure"` // Relational database settings. RelationalDatabaseConfig *RelationalDatabaseDataSourceConfig `locationName:"relationalDatabaseConfig" type:"structure"` // The Identity and Access Management (IAM) service role Amazon Resource Name // (ARN) for the data source. The system assumes this role when accessing the // data source. ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"` // The type of the DataSource. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"DataSourceType"` // contains filtered or unexported fields }
func (s CreateDataSourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateDataSourceInput) SetApiId(v string) *CreateDataSourceInput
SetApiId sets the ApiId field's value.
func (s *CreateDataSourceInput) SetDescription(v string) *CreateDataSourceInput
SetDescription sets the Description field's value.
func (s *CreateDataSourceInput) SetDynamodbConfig(v *DynamodbDataSourceConfig) *CreateDataSourceInput
SetDynamodbConfig sets the DynamodbConfig field's value.
func (s *CreateDataSourceInput) SetElasticsearchConfig(v *ElasticsearchDataSourceConfig) *CreateDataSourceInput
SetElasticsearchConfig sets the ElasticsearchConfig field's value.
func (s *CreateDataSourceInput) SetEventBridgeConfig(v *EventBridgeDataSourceConfig) *CreateDataSourceInput
SetEventBridgeConfig sets the EventBridgeConfig field's value.
func (s *CreateDataSourceInput) SetHttpConfig(v *HttpDataSourceConfig) *CreateDataSourceInput
SetHttpConfig sets the HttpConfig field's value.
func (s *CreateDataSourceInput) SetLambdaConfig(v *LambdaDataSourceConfig) *CreateDataSourceInput
SetLambdaConfig sets the LambdaConfig field's value.
func (s *CreateDataSourceInput) SetMetricsConfig(v string) *CreateDataSourceInput
SetMetricsConfig sets the MetricsConfig field's value.
func (s *CreateDataSourceInput) SetName(v string) *CreateDataSourceInput
SetName sets the Name field's value.
func (s *CreateDataSourceInput) SetOpenSearchServiceConfig(v *OpenSearchServiceDataSourceConfig) *CreateDataSourceInput
SetOpenSearchServiceConfig sets the OpenSearchServiceConfig field's value.
func (s *CreateDataSourceInput) SetRelationalDatabaseConfig(v *RelationalDatabaseDataSourceConfig) *CreateDataSourceInput
SetRelationalDatabaseConfig sets the RelationalDatabaseConfig field's value.
func (s *CreateDataSourceInput) SetServiceRoleArn(v string) *CreateDataSourceInput
SetServiceRoleArn sets the ServiceRoleArn field's value.
func (s *CreateDataSourceInput) SetType(v string) *CreateDataSourceInput
SetType sets the Type field's value.
func (s CreateDataSourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateDataSourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDataSourceOutput struct { // The DataSource object. DataSource *DataSource `locationName:"dataSource" type:"structure"` // contains filtered or unexported fields }
func (s CreateDataSourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateDataSourceOutput) SetDataSource(v *DataSource) *CreateDataSourceOutput
SetDataSource sets the DataSource field's value.
func (s CreateDataSourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateDomainNameInput struct { // The Amazon Resource Name (ARN) of the certificate. This can be an Certificate // Manager (ACM) certificate or an Identity and Access Management (IAM) server // certificate. // // CertificateArn is a required field CertificateArn *string `locationName:"certificateArn" min:"20" type:"string" required:"true"` // A description of the DomainName. Description *string `locationName:"description" type:"string"` // The domain name. // // DomainName is a required field DomainName *string `locationName:"domainName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s CreateDomainNameInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateDomainNameInput) SetCertificateArn(v string) *CreateDomainNameInput
SetCertificateArn sets the CertificateArn field's value.
func (s *CreateDomainNameInput) SetDescription(v string) *CreateDomainNameInput
SetDescription sets the Description field's value.
func (s *CreateDomainNameInput) SetDomainName(v string) *CreateDomainNameInput
SetDomainName sets the DomainName field's value.
func (s CreateDomainNameInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateDomainNameInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDomainNameOutput struct { // The configuration for the DomainName. DomainNameConfig *DomainNameConfig `locationName:"domainNameConfig" type:"structure"` // contains filtered or unexported fields }
func (s CreateDomainNameOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateDomainNameOutput) SetDomainNameConfig(v *DomainNameConfig) *CreateDomainNameOutput
SetDomainNameConfig sets the DomainNameConfig field's value.
func (s CreateDomainNameOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateFunctionInput struct { // The GraphQL API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The function code that contains the request and response functions. When // code is used, the runtime is required. The runtime value must be APPSYNC_JS. Code *string `locationName:"code" min:"1" type:"string"` // The Function DataSource name. // // DataSourceName is a required field DataSourceName *string `locationName:"dataSourceName" min:"1" type:"string" required:"true"` // The Function description. Description *string `locationName:"description" type:"string"` // The version of the request mapping template. Currently, the supported value // is 2018-05-29. Note that when using VTL and mapping templates, the functionVersion // is required. FunctionVersion *string `locationName:"functionVersion" type:"string"` // The maximum batching size for a resolver. MaxBatchSize *int64 `locationName:"maxBatchSize" type:"integer"` // The Function name. The function name does not have to be unique. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The Function request mapping template. Functions support only the 2018-05-29 // version of the request mapping template. RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string"` // The Function response mapping template. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` // Describes a runtime used by an Amazon Web Services AppSync pipeline resolver // or Amazon Web Services AppSync function. Specifies the name and version of // the runtime to use. Note that if a runtime is specified, code must also be // specified. Runtime *AppSyncRuntime `locationName:"runtime" type:"structure"` // Describes a Sync configuration for a resolver. // // Specifies which Conflict Detection strategy and Resolution strategy to use // when the resolver is invoked. SyncConfig *SyncConfig `locationName:"syncConfig" type:"structure"` // contains filtered or unexported fields }
func (s CreateFunctionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateFunctionInput) SetApiId(v string) *CreateFunctionInput
SetApiId sets the ApiId field's value.
func (s *CreateFunctionInput) SetCode(v string) *CreateFunctionInput
SetCode sets the Code field's value.
func (s *CreateFunctionInput) SetDataSourceName(v string) *CreateFunctionInput
SetDataSourceName sets the DataSourceName field's value.
func (s *CreateFunctionInput) SetDescription(v string) *CreateFunctionInput
SetDescription sets the Description field's value.
func (s *CreateFunctionInput) SetFunctionVersion(v string) *CreateFunctionInput
SetFunctionVersion sets the FunctionVersion field's value.
func (s *CreateFunctionInput) SetMaxBatchSize(v int64) *CreateFunctionInput
SetMaxBatchSize sets the MaxBatchSize field's value.
func (s *CreateFunctionInput) SetName(v string) *CreateFunctionInput
SetName sets the Name field's value.
func (s *CreateFunctionInput) SetRequestMappingTemplate(v string) *CreateFunctionInput
SetRequestMappingTemplate sets the RequestMappingTemplate field's value.
func (s *CreateFunctionInput) SetResponseMappingTemplate(v string) *CreateFunctionInput
SetResponseMappingTemplate sets the ResponseMappingTemplate field's value.
func (s *CreateFunctionInput) SetRuntime(v *AppSyncRuntime) *CreateFunctionInput
SetRuntime sets the Runtime field's value.
func (s *CreateFunctionInput) SetSyncConfig(v *SyncConfig) *CreateFunctionInput
SetSyncConfig sets the SyncConfig field's value.
func (s CreateFunctionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateFunctionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateFunctionOutput struct { // The Function object. FunctionConfiguration *FunctionConfiguration `locationName:"functionConfiguration" type:"structure"` // contains filtered or unexported fields }
func (s CreateFunctionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateFunctionOutput) SetFunctionConfiguration(v *FunctionConfiguration) *CreateFunctionOutput
SetFunctionConfiguration sets the FunctionConfiguration field's value.
func (s CreateFunctionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateGraphqlApiInput struct { // A list of additional authentication providers for the GraphqlApi API. AdditionalAuthenticationProviders []*AdditionalAuthenticationProvider `locationName:"additionalAuthenticationProviders" type:"list"` // The value that indicates whether the GraphQL API is a standard API (GRAPHQL) // or merged API (MERGED). ApiType *string `locationName:"apiType" type:"string" enum:"GraphQLApiType"` // The authentication type: API key, Identity and Access Management (IAM), OpenID // Connect (OIDC), Amazon Cognito user pools, or Lambda. // // AuthenticationType is a required field AuthenticationType *string `locationName:"authenticationType" type:"string" required:"true" enum:"AuthenticationType"` // The enhancedMetricsConfig object. EnhancedMetricsConfig *EnhancedMetricsConfig `locationName:"enhancedMetricsConfig" type:"structure"` // Sets the value of the GraphQL API to enable (ENABLED) or disable (DISABLED) // introspection. If no value is provided, the introspection configuration will // be set to ENABLED by default. This field will produce an error if the operation // attempts to use the introspection feature while this field is disabled. // // For more information about introspection, see GraphQL introspection (https://graphql.org/learn/introspection/). IntrospectionConfig *string `locationName:"introspectionConfig" type:"string" enum:"GraphQLApiIntrospectionConfig"` // Configuration for Lambda function authorization. LambdaAuthorizerConfig *LambdaAuthorizerConfig `locationName:"lambdaAuthorizerConfig" type:"structure"` // The Amazon CloudWatch Logs configuration. LogConfig *LogConfig `locationName:"logConfig" type:"structure"` // The Identity and Access Management service role ARN for a merged API. The // AppSync service assumes this role on behalf of the Merged API to validate // access to source APIs at runtime and to prompt the AUTO_MERGE to update the // merged API endpoint with the source API changes automatically. MergedApiExecutionRoleArn *string `locationName:"mergedApiExecutionRoleArn" type:"string"` // A user-supplied name for the GraphqlApi. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The OIDC configuration. OpenIDConnectConfig *OpenIDConnectConfig `locationName:"openIDConnectConfig" type:"structure"` // The owner contact information for an API resource. // // This field accepts any string input with a length of 0 - 256 characters. OwnerContact *string `locationName:"ownerContact" type:"string"` // The maximum depth a query can have in a single request. Depth refers to the // amount of nested levels allowed in the body of query. The default value is // 0 (or unspecified), which indicates there's no depth limit. If you set a // limit, it can be between 1 and 75 nested levels. This field will produce // a limit error if the operation falls out of bounds. // // Note that fields can still be set to nullable or non-nullable. If a non-nullable // field produces an error, the error will be thrown upwards to the first nullable // field available. QueryDepthLimit *int64 `locationName:"queryDepthLimit" type:"integer"` // The maximum number of resolvers that can be invoked in a single request. // The default value is 0 (or unspecified), which will set the limit to 10000. // When specified, the limit value can be between 1 and 10000. This field will // produce a limit error if the operation falls out of bounds. ResolverCountLimit *int64 `locationName:"resolverCountLimit" type:"integer"` // A TagMap object. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` // The Amazon Cognito user pool configuration. UserPoolConfig *UserPoolConfig `locationName:"userPoolConfig" type:"structure"` // Sets the value of the GraphQL API to public (GLOBAL) or private (PRIVATE). // If no value is provided, the visibility will be set to GLOBAL by default. // This value cannot be changed once the API has been created. Visibility *string `locationName:"visibility" type:"string" enum:"GraphQLApiVisibility"` // A flag indicating whether to use X-Ray tracing for the GraphqlApi. XrayEnabled *bool `locationName:"xrayEnabled" type:"boolean"` // contains filtered or unexported fields }
func (s CreateGraphqlApiInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateGraphqlApiInput) SetAdditionalAuthenticationProviders(v []*AdditionalAuthenticationProvider) *CreateGraphqlApiInput
SetAdditionalAuthenticationProviders sets the AdditionalAuthenticationProviders field's value.
func (s *CreateGraphqlApiInput) SetApiType(v string) *CreateGraphqlApiInput
SetApiType sets the ApiType field's value.
func (s *CreateGraphqlApiInput) SetAuthenticationType(v string) *CreateGraphqlApiInput
SetAuthenticationType sets the AuthenticationType field's value.
func (s *CreateGraphqlApiInput) SetEnhancedMetricsConfig(v *EnhancedMetricsConfig) *CreateGraphqlApiInput
SetEnhancedMetricsConfig sets the EnhancedMetricsConfig field's value.
func (s *CreateGraphqlApiInput) SetIntrospectionConfig(v string) *CreateGraphqlApiInput
SetIntrospectionConfig sets the IntrospectionConfig field's value.
func (s *CreateGraphqlApiInput) SetLambdaAuthorizerConfig(v *LambdaAuthorizerConfig) *CreateGraphqlApiInput
SetLambdaAuthorizerConfig sets the LambdaAuthorizerConfig field's value.
func (s *CreateGraphqlApiInput) SetLogConfig(v *LogConfig) *CreateGraphqlApiInput
SetLogConfig sets the LogConfig field's value.
func (s *CreateGraphqlApiInput) SetMergedApiExecutionRoleArn(v string) *CreateGraphqlApiInput
SetMergedApiExecutionRoleArn sets the MergedApiExecutionRoleArn field's value.
func (s *CreateGraphqlApiInput) SetName(v string) *CreateGraphqlApiInput
SetName sets the Name field's value.
func (s *CreateGraphqlApiInput) SetOpenIDConnectConfig(v *OpenIDConnectConfig) *CreateGraphqlApiInput
SetOpenIDConnectConfig sets the OpenIDConnectConfig field's value.
func (s *CreateGraphqlApiInput) SetOwnerContact(v string) *CreateGraphqlApiInput
SetOwnerContact sets the OwnerContact field's value.
func (s *CreateGraphqlApiInput) SetQueryDepthLimit(v int64) *CreateGraphqlApiInput
SetQueryDepthLimit sets the QueryDepthLimit field's value.
func (s *CreateGraphqlApiInput) SetResolverCountLimit(v int64) *CreateGraphqlApiInput
SetResolverCountLimit sets the ResolverCountLimit field's value.
func (s *CreateGraphqlApiInput) SetTags(v map[string]*string) *CreateGraphqlApiInput
SetTags sets the Tags field's value.
func (s *CreateGraphqlApiInput) SetUserPoolConfig(v *UserPoolConfig) *CreateGraphqlApiInput
SetUserPoolConfig sets the UserPoolConfig field's value.
func (s *CreateGraphqlApiInput) SetVisibility(v string) *CreateGraphqlApiInput
SetVisibility sets the Visibility field's value.
func (s *CreateGraphqlApiInput) SetXrayEnabled(v bool) *CreateGraphqlApiInput
SetXrayEnabled sets the XrayEnabled field's value.
func (s CreateGraphqlApiInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateGraphqlApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateGraphqlApiOutput struct { // The GraphqlApi. GraphqlApi *GraphqlApi `locationName:"graphqlApi" type:"structure"` // contains filtered or unexported fields }
func (s CreateGraphqlApiOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateGraphqlApiOutput) SetGraphqlApi(v *GraphqlApi) *CreateGraphqlApiOutput
SetGraphqlApi sets the GraphqlApi field's value.
func (s CreateGraphqlApiOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateResolverInput struct { // The ID for the GraphQL API for which the resolver is being created. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The caching configuration for the resolver. CachingConfig *CachingConfig `locationName:"cachingConfig" type:"structure"` // The resolver code that contains the request and response functions. When // code is used, the runtime is required. The runtime value must be APPSYNC_JS. Code *string `locationName:"code" min:"1" type:"string"` // The name of the data source for which the resolver is being created. DataSourceName *string `locationName:"dataSourceName" min:"1" type:"string"` // The name of the field to attach the resolver to. // // FieldName is a required field FieldName *string `locationName:"fieldName" min:"1" type:"string" required:"true"` // The resolver type. // // * UNIT: A UNIT resolver type. A UNIT resolver is the default resolver // type. You can use a UNIT resolver to run a GraphQL query against a single // data source. // // * PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver // to invoke a series of Function objects in a serial manner. You can use // a pipeline resolver to run a GraphQL query against multiple data sources. Kind *string `locationName:"kind" type:"string" enum:"ResolverKind"` // The maximum batching size for a resolver. MaxBatchSize *int64 `locationName:"maxBatchSize" type:"integer"` // Enables or disables enhanced resolver metrics for specified resolvers. Note // that metricsConfig won't be used unless the resolverLevelMetricsBehavior // value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior // is set to FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. // However, you can still set its value. // // metricsConfig can be ENABLED or DISABLED. MetricsConfig *string `locationName:"metricsConfig" type:"string" enum:"ResolverLevelMetricsConfig"` // The PipelineConfig. PipelineConfig *PipelineConfig `locationName:"pipelineConfig" type:"structure"` // The mapping template to use for requests. // // A resolver uses a request mapping template to convert a GraphQL expression // into a format that a data source can understand. Mapping templates are written // in Apache Velocity Template Language (VTL). // // VTL request mapping templates are optional when using an Lambda data source. // For all other data sources, VTL request and response mapping templates are // required. RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string"` // The mapping template to use for responses from the data source. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` // Describes a runtime used by an Amazon Web Services AppSync pipeline resolver // or Amazon Web Services AppSync function. Specifies the name and version of // the runtime to use. Note that if a runtime is specified, code must also be // specified. Runtime *AppSyncRuntime `locationName:"runtime" type:"structure"` // The SyncConfig for a resolver attached to a versioned data source. SyncConfig *SyncConfig `locationName:"syncConfig" type:"structure"` // The name of the Type. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s CreateResolverInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateResolverInput) SetApiId(v string) *CreateResolverInput
SetApiId sets the ApiId field's value.
func (s *CreateResolverInput) SetCachingConfig(v *CachingConfig) *CreateResolverInput
SetCachingConfig sets the CachingConfig field's value.
func (s *CreateResolverInput) SetCode(v string) *CreateResolverInput
SetCode sets the Code field's value.
func (s *CreateResolverInput) SetDataSourceName(v string) *CreateResolverInput
SetDataSourceName sets the DataSourceName field's value.
func (s *CreateResolverInput) SetFieldName(v string) *CreateResolverInput
SetFieldName sets the FieldName field's value.
func (s *CreateResolverInput) SetKind(v string) *CreateResolverInput
SetKind sets the Kind field's value.
func (s *CreateResolverInput) SetMaxBatchSize(v int64) *CreateResolverInput
SetMaxBatchSize sets the MaxBatchSize field's value.
func (s *CreateResolverInput) SetMetricsConfig(v string) *CreateResolverInput
SetMetricsConfig sets the MetricsConfig field's value.
func (s *CreateResolverInput) SetPipelineConfig(v *PipelineConfig) *CreateResolverInput
SetPipelineConfig sets the PipelineConfig field's value.
func (s *CreateResolverInput) SetRequestMappingTemplate(v string) *CreateResolverInput
SetRequestMappingTemplate sets the RequestMappingTemplate field's value.
func (s *CreateResolverInput) SetResponseMappingTemplate(v string) *CreateResolverInput
SetResponseMappingTemplate sets the ResponseMappingTemplate field's value.
func (s *CreateResolverInput) SetRuntime(v *AppSyncRuntime) *CreateResolverInput
SetRuntime sets the Runtime field's value.
func (s *CreateResolverInput) SetSyncConfig(v *SyncConfig) *CreateResolverInput
SetSyncConfig sets the SyncConfig field's value.
func (s *CreateResolverInput) SetTypeName(v string) *CreateResolverInput
SetTypeName sets the TypeName field's value.
func (s CreateResolverInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateResolverInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateResolverOutput struct { // The Resolver object. Resolver *Resolver `locationName:"resolver" type:"structure"` // contains filtered or unexported fields }
func (s CreateResolverOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateResolverOutput) SetResolver(v *Resolver) *CreateResolverOutput
SetResolver sets the Resolver field's value.
func (s CreateResolverOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateTypeInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The type definition, in GraphQL Schema Definition Language (SDL) format. // // For more information, see the GraphQL SDL documentation (http://graphql.org/learn/schema/). // // Definition is a required field Definition *string `locationName:"definition" type:"string" required:"true"` // The type format: SDL or JSON. // // Format is a required field Format *string `locationName:"format" type:"string" required:"true" enum:"TypeDefinitionFormat"` // contains filtered or unexported fields }
func (s CreateTypeInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateTypeInput) SetApiId(v string) *CreateTypeInput
SetApiId sets the ApiId field's value.
func (s *CreateTypeInput) SetDefinition(v string) *CreateTypeInput
SetDefinition sets the Definition field's value.
func (s *CreateTypeInput) SetFormat(v string) *CreateTypeInput
SetFormat sets the Format field's value.
func (s CreateTypeInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateTypeOutput struct { // The Type object. Type *Type `locationName:"type" type:"structure"` // contains filtered or unexported fields }
func (s CreateTypeOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateTypeOutput) SetType(v *Type) *CreateTypeOutput
SetType sets the Type field's value.
func (s CreateTypeOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DataSource struct { // The data source Amazon Resource Name (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 OpenSearch Service settings. ElasticsearchConfig *ElasticsearchDataSourceConfig `locationName:"elasticsearchConfig" type:"structure"` // Amazon EventBridge settings. EventBridgeConfig *EventBridgeDataSourceConfig `locationName:"eventBridgeConfig" type:"structure"` // HTTP endpoint settings. HttpConfig *HttpDataSourceConfig `locationName:"httpConfig" type:"structure"` // Lambda settings. LambdaConfig *LambdaDataSourceConfig `locationName:"lambdaConfig" type:"structure"` // Enables or disables enhanced data source metrics for specified data sources. // Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior // value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior // is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be // ignored. However, you can still set its value. // // metricsConfig can be ENABLED or DISABLED. MetricsConfig *string `locationName:"metricsConfig" type:"string" enum:"DataSourceLevelMetricsConfig"` // The name of the data source. Name *string `locationName:"name" min:"1" type:"string"` // Amazon OpenSearch Service settings. OpenSearchServiceConfig *OpenSearchServiceDataSourceConfig `locationName:"openSearchServiceConfig" type:"structure"` // Relational database settings. RelationalDatabaseConfig *RelationalDatabaseDataSourceConfig `locationName:"relationalDatabaseConfig" type:"structure"` // The Identity and Access Management (IAM) service role Amazon Resource Name // (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. // // * AWS_LAMBDA: The data source is an Lambda function. // // * AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table. // // * AMAZON_ELASTICSEARCH: The data source is an Amazon OpenSearch Service // domain. // // * AMAZON_OPENSEARCH_SERVICE: The data source is an Amazon OpenSearch Service // domain. // // * AMAZON_EVENTBRIDGE: The data source is an Amazon EventBridge configuration. // // * NONE: There is no data source. Use this type when you want to invoke // a GraphQL operation without connecting to a data source, such as when // you're performing data transformation with resolvers or invoking a subscription // from a mutation. // // * HTTP: The data source is an HTTP endpoint. // // * RELATIONAL_DATABASE: The data source is a relational database. Type *string `locationName:"type" type:"string" enum:"DataSourceType"` // contains filtered or unexported fields }
Describes a data source.
func (s DataSource) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DataSource) SetDataSourceArn(v string) *DataSource
SetDataSourceArn sets the DataSourceArn field's value.
func (s *DataSource) SetDescription(v string) *DataSource
SetDescription sets the Description field's value.
func (s *DataSource) SetDynamodbConfig(v *DynamodbDataSourceConfig) *DataSource
SetDynamodbConfig sets the DynamodbConfig field's value.
func (s *DataSource) SetElasticsearchConfig(v *ElasticsearchDataSourceConfig) *DataSource
SetElasticsearchConfig sets the ElasticsearchConfig field's value.
func (s *DataSource) SetEventBridgeConfig(v *EventBridgeDataSourceConfig) *DataSource
SetEventBridgeConfig sets the EventBridgeConfig field's value.
func (s *DataSource) SetHttpConfig(v *HttpDataSourceConfig) *DataSource
SetHttpConfig sets the HttpConfig field's value.
func (s *DataSource) SetLambdaConfig(v *LambdaDataSourceConfig) *DataSource
SetLambdaConfig sets the LambdaConfig field's value.
func (s *DataSource) SetMetricsConfig(v string) *DataSource
SetMetricsConfig sets the MetricsConfig field's value.
func (s *DataSource) SetName(v string) *DataSource
SetName sets the Name field's value.
func (s *DataSource) SetOpenSearchServiceConfig(v *OpenSearchServiceDataSourceConfig) *DataSource
SetOpenSearchServiceConfig sets the OpenSearchServiceConfig field's value.
func (s *DataSource) SetRelationalDatabaseConfig(v *RelationalDatabaseDataSourceConfig) *DataSource
SetRelationalDatabaseConfig sets the RelationalDatabaseConfig field's value.
func (s *DataSource) SetServiceRoleArn(v string) *DataSource
SetServiceRoleArn sets the ServiceRoleArn field's value.
func (s *DataSource) SetType(v string) *DataSource
SetType sets the Type field's value.
func (s DataSource) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DataSourceIntrospectionModel struct { // The DataSourceIntrospectionModelField object data. Fields []*DataSourceIntrospectionModelField `locationName:"fields" type:"list"` // The array of DataSourceIntrospectionModelIndex objects. Indexes []*DataSourceIntrospectionModelIndex `locationName:"indexes" type:"list"` // The name of the model. For example, this could be the name of a single table // in a database. Name *string `locationName:"name" type:"string"` // The primary key stored as a DataSourceIntrospectionModelIndex object. PrimaryKey *DataSourceIntrospectionModelIndex `locationName:"primaryKey" type:"structure"` // Contains the output of the SDL that was generated from the introspected types. // This is controlled by the includeModelsSDL parameter of the GetDataSourceIntrospection // operation. Sdl *string `locationName:"sdl" type:"string"` // contains filtered or unexported fields }
Contains the introspected data that was retrieved from the data source.
func (s DataSourceIntrospectionModel) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DataSourceIntrospectionModel) SetFields(v []*DataSourceIntrospectionModelField) *DataSourceIntrospectionModel
SetFields sets the Fields field's value.
func (s *DataSourceIntrospectionModel) SetIndexes(v []*DataSourceIntrospectionModelIndex) *DataSourceIntrospectionModel
SetIndexes sets the Indexes field's value.
func (s *DataSourceIntrospectionModel) SetName(v string) *DataSourceIntrospectionModel
SetName sets the Name field's value.
func (s *DataSourceIntrospectionModel) SetPrimaryKey(v *DataSourceIntrospectionModelIndex) *DataSourceIntrospectionModel
SetPrimaryKey sets the PrimaryKey field's value.
func (s *DataSourceIntrospectionModel) SetSdl(v string) *DataSourceIntrospectionModel
SetSdl sets the Sdl field's value.
func (s DataSourceIntrospectionModel) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DataSourceIntrospectionModelField struct { // The length value of the introspected field. Length *int64 `locationName:"length" type:"long"` // The name of the field that was retrieved from the introspected data. Name *string `locationName:"name" type:"string"` // The DataSourceIntrospectionModelFieldType object data. Type *DataSourceIntrospectionModelFieldType `locationName:"type" type:"structure"` // contains filtered or unexported fields }
Represents the fields that were retrieved from the introspected data.
func (s DataSourceIntrospectionModelField) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DataSourceIntrospectionModelField) SetLength(v int64) *DataSourceIntrospectionModelField
SetLength sets the Length field's value.
func (s *DataSourceIntrospectionModelField) SetName(v string) *DataSourceIntrospectionModelField
SetName sets the Name field's value.
func (s *DataSourceIntrospectionModelField) SetType(v *DataSourceIntrospectionModelFieldType) *DataSourceIntrospectionModelField
SetType sets the Type field's value.
func (s DataSourceIntrospectionModelField) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DataSourceIntrospectionModelFieldType struct { // Specifies the classification of data. For example, this could be set to values // like Scalar or NonNull to indicate a fundamental property of the field. // // Valid values include: // // * Scalar: Indicates the value is a primitive type (scalar). // // * NonNull: Indicates the field cannot be null. // // * List: Indicates the field contains a list. Kind *string `locationName:"kind" type:"string"` // The name of the data type that represents the field. For example, String // is a valid name value. Name *string `locationName:"name" type:"string"` // The DataSourceIntrospectionModelFieldType object data. The type is only present // if DataSourceIntrospectionModelFieldType.kind is set to NonNull or List. // // The type typically contains its own kind and name fields to represent the // actual type data. For instance, type could contain a kind value of Scalar // with a name value of String. The values Scalar and String will be collectively // stored in the values field. Type *DataSourceIntrospectionModelFieldType `locationName:"type" type:"structure"` // The values of the type field. This field represents the AppSync data type // equivalent of the introspected field. Values []*string `locationName:"values" type:"list"` // contains filtered or unexported fields }
Represents the type data for each field retrieved from the introspection.
func (s DataSourceIntrospectionModelFieldType) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DataSourceIntrospectionModelFieldType) SetKind(v string) *DataSourceIntrospectionModelFieldType
SetKind sets the Kind field's value.
func (s *DataSourceIntrospectionModelFieldType) SetName(v string) *DataSourceIntrospectionModelFieldType
SetName sets the Name field's value.
func (s *DataSourceIntrospectionModelFieldType) SetType(v *DataSourceIntrospectionModelFieldType) *DataSourceIntrospectionModelFieldType
SetType sets the Type field's value.
func (s *DataSourceIntrospectionModelFieldType) SetValues(v []*string) *DataSourceIntrospectionModelFieldType
SetValues sets the Values field's value.
func (s DataSourceIntrospectionModelFieldType) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DataSourceIntrospectionModelIndex struct { // The fields of the index. Fields []*string `locationName:"fields" type:"list"` // The name of the index. Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
The index that was retrieved from the introspected data.
func (s DataSourceIntrospectionModelIndex) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DataSourceIntrospectionModelIndex) SetFields(v []*string) *DataSourceIntrospectionModelIndex
SetFields sets the Fields field's value.
func (s *DataSourceIntrospectionModelIndex) SetName(v string) *DataSourceIntrospectionModelIndex
SetName sets the Name field's value.
func (s DataSourceIntrospectionModelIndex) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DataSourceIntrospectionResult struct { // The array of DataSourceIntrospectionModel objects. Models []*DataSourceIntrospectionModel `locationName:"models" type:"list"` // Determines the number of types to be returned in a single response before // paginating. This value is typically taken from nextToken value from the previous // response. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
Represents the output of a DataSourceIntrospectionResult. This is the populated result of a GetDataSourceIntrospection operation.
func (s DataSourceIntrospectionResult) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DataSourceIntrospectionResult) SetModels(v []*DataSourceIntrospectionModel) *DataSourceIntrospectionResult
SetModels sets the Models field's value.
func (s *DataSourceIntrospectionResult) SetNextToken(v string) *DataSourceIntrospectionResult
SetNextToken sets the NextToken field's value.
func (s DataSourceIntrospectionResult) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteApiCacheInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a DeleteApiCache operation.
func (s DeleteApiCacheInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteApiCacheInput) SetApiId(v string) *DeleteApiCacheInput
SetApiId sets the ApiId field's value.
func (s DeleteApiCacheInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteApiCacheInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteApiCacheOutput struct {
// contains filtered or unexported fields
}
Represents the output of a DeleteApiCache operation.
func (s DeleteApiCacheOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteApiCacheOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteApiKeyInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The ID for the API key. // // Id is a required field Id *string `location:"uri" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteApiKeyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteApiKeyInput) SetApiId(v string) *DeleteApiKeyInput
SetApiId sets the ApiId field's value.
func (s *DeleteApiKeyInput) SetId(v string) *DeleteApiKeyInput
SetId sets the Id field's value.
func (s DeleteApiKeyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteApiKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteApiKeyOutput struct {
// contains filtered or unexported fields
}
func (s DeleteApiKeyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteApiKeyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteDataSourceInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The name of the data source. // // Name is a required field Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteDataSourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteDataSourceInput) SetApiId(v string) *DeleteDataSourceInput
SetApiId sets the ApiId field's value.
func (s *DeleteDataSourceInput) SetName(v string) *DeleteDataSourceInput
SetName sets the Name field's value.
func (s DeleteDataSourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteDataSourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDataSourceOutput struct {
// contains filtered or unexported fields
}
func (s DeleteDataSourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteDataSourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteDomainNameInput struct { // The domain name. // // DomainName is a required field DomainName *string `location:"uri" locationName:"domainName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteDomainNameInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteDomainNameInput) SetDomainName(v string) *DeleteDomainNameInput
SetDomainName sets the DomainName field's value.
func (s DeleteDomainNameInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteDomainNameInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDomainNameOutput struct {
// contains filtered or unexported fields
}
func (s DeleteDomainNameOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteDomainNameOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteFunctionInput struct { // The GraphQL API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The Function ID. // // FunctionId is a required field FunctionId *string `location:"uri" locationName:"functionId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteFunctionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteFunctionInput) SetApiId(v string) *DeleteFunctionInput
SetApiId sets the ApiId field's value.
func (s *DeleteFunctionInput) SetFunctionId(v string) *DeleteFunctionInput
SetFunctionId sets the FunctionId field's value.
func (s DeleteFunctionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteFunctionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteFunctionOutput struct {
// contains filtered or unexported fields
}
func (s DeleteFunctionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteFunctionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteGraphqlApiInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteGraphqlApiInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteGraphqlApiInput) SetApiId(v string) *DeleteGraphqlApiInput
SetApiId sets the ApiId field's value.
func (s DeleteGraphqlApiInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteGraphqlApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteGraphqlApiOutput struct {
// contains filtered or unexported fields
}
func (s DeleteGraphqlApiOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteGraphqlApiOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteResolverInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The resolver field name. // // FieldName is a required field FieldName *string `location:"uri" locationName:"fieldName" min:"1" type:"string" required:"true"` // The name of the resolver type. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteResolverInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteResolverInput) SetApiId(v string) *DeleteResolverInput
SetApiId sets the ApiId field's value.
func (s *DeleteResolverInput) SetFieldName(v string) *DeleteResolverInput
SetFieldName sets the FieldName field's value.
func (s *DeleteResolverInput) SetTypeName(v string) *DeleteResolverInput
SetTypeName sets the TypeName field's value.
func (s DeleteResolverInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteResolverInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteResolverOutput struct {
// contains filtered or unexported fields
}
func (s DeleteResolverOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteResolverOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteTypeInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The type name. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteTypeInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteTypeInput) SetApiId(v string) *DeleteTypeInput
SetApiId sets the ApiId field's value.
func (s *DeleteTypeInput) SetTypeName(v string) *DeleteTypeInput
SetTypeName sets the TypeName field's value.
func (s DeleteTypeInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteTypeOutput struct {
// contains filtered or unexported fields
}
func (s DeleteTypeOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteTypeOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeltaSyncConfig struct { // The number of minutes that an Item is stored in the data source. BaseTableTTL *int64 `locationName:"baseTableTTL" type:"long"` // The Delta Sync table name. DeltaSyncTableName *string `locationName:"deltaSyncTableName" type:"string"` // The number of minutes that a Delta Sync log entry is stored in the Delta // Sync table. DeltaSyncTableTTL *int64 `locationName:"deltaSyncTableTTL" type:"long"` // contains filtered or unexported fields }
Describes a Delta Sync configuration.
func (s DeltaSyncConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeltaSyncConfig) SetBaseTableTTL(v int64) *DeltaSyncConfig
SetBaseTableTTL sets the BaseTableTTL field's value.
func (s *DeltaSyncConfig) SetDeltaSyncTableName(v string) *DeltaSyncConfig
SetDeltaSyncTableName sets the DeltaSyncTableName field's value.
func (s *DeltaSyncConfig) SetDeltaSyncTableTTL(v int64) *DeltaSyncConfig
SetDeltaSyncTableTTL sets the DeltaSyncTableTTL field's value.
func (s DeltaSyncConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DisassociateApiInput struct { // The domain name. // // DomainName is a required field DomainName *string `location:"uri" locationName:"domainName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DisassociateApiInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DisassociateApiInput) SetDomainName(v string) *DisassociateApiInput
SetDomainName sets the DomainName field's value.
func (s DisassociateApiInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DisassociateApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateApiOutput struct {
// contains filtered or unexported fields
}
func (s DisassociateApiOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DisassociateApiOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DisassociateMergedGraphqlApiInput struct { // The ID generated by the AppSync service for the source API association. // // AssociationId is a required field AssociationId *string `location:"uri" locationName:"associationId" type:"string" required:"true"` // The identifier of the AppSync Source API. This is generated by the AppSync // service. In most cases, source APIs (especially in your account) only require // the API ID value or ARN of the source API. However, source APIs from other // accounts (cross-account use cases) strictly require the full resource ARN // of the source API. // // SourceApiIdentifier is a required field SourceApiIdentifier *string `location:"uri" locationName:"sourceApiIdentifier" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DisassociateMergedGraphqlApiInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DisassociateMergedGraphqlApiInput) SetAssociationId(v string) *DisassociateMergedGraphqlApiInput
SetAssociationId sets the AssociationId field's value.
func (s *DisassociateMergedGraphqlApiInput) SetSourceApiIdentifier(v string) *DisassociateMergedGraphqlApiInput
SetSourceApiIdentifier sets the SourceApiIdentifier field's value.
func (s DisassociateMergedGraphqlApiInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DisassociateMergedGraphqlApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateMergedGraphqlApiOutput struct { // The state of the source API association. SourceApiAssociationStatus *string `locationName:"sourceApiAssociationStatus" type:"string" enum:"SourceApiAssociationStatus"` // contains filtered or unexported fields }
func (s DisassociateMergedGraphqlApiOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DisassociateMergedGraphqlApiOutput) SetSourceApiAssociationStatus(v string) *DisassociateMergedGraphqlApiOutput
SetSourceApiAssociationStatus sets the SourceApiAssociationStatus field's value.
func (s DisassociateMergedGraphqlApiOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DisassociateSourceGraphqlApiInput struct { // The ID generated by the AppSync service for the source API association. // // AssociationId is a required field AssociationId *string `location:"uri" locationName:"associationId" type:"string" required:"true"` // The identifier of the AppSync Merged API. This is generated by the AppSync // service. In most cases, Merged APIs (especially in your account) only require // the API ID value or ARN of the merged API. However, Merged APIs in other // accounts (cross-account use cases) strictly require the full resource ARN // of the merged API. // // MergedApiIdentifier is a required field MergedApiIdentifier *string `location:"uri" locationName:"mergedApiIdentifier" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DisassociateSourceGraphqlApiInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DisassociateSourceGraphqlApiInput) SetAssociationId(v string) *DisassociateSourceGraphqlApiInput
SetAssociationId sets the AssociationId field's value.
func (s *DisassociateSourceGraphqlApiInput) SetMergedApiIdentifier(v string) *DisassociateSourceGraphqlApiInput
SetMergedApiIdentifier sets the MergedApiIdentifier field's value.
func (s DisassociateSourceGraphqlApiInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DisassociateSourceGraphqlApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateSourceGraphqlApiOutput struct { // The state of the source API association. SourceApiAssociationStatus *string `locationName:"sourceApiAssociationStatus" type:"string" enum:"SourceApiAssociationStatus"` // contains filtered or unexported fields }
func (s DisassociateSourceGraphqlApiOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DisassociateSourceGraphqlApiOutput) SetSourceApiAssociationStatus(v string) *DisassociateSourceGraphqlApiOutput
SetSourceApiAssociationStatus sets the SourceApiAssociationStatus field's value.
func (s DisassociateSourceGraphqlApiOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DomainNameConfig struct { // The domain name that AppSync provides. AppsyncDomainName *string `locationName:"appsyncDomainName" type:"string"` // The Amazon Resource Name (ARN) of the certificate. This can be an Certificate // Manager (ACM) certificate or an Identity and Access Management (IAM) server // certificate. CertificateArn *string `locationName:"certificateArn" min:"20" type:"string"` // A description of the DomainName configuration. Description *string `locationName:"description" type:"string"` // The domain name. DomainName *string `locationName:"domainName" min:"1" type:"string"` // The ID of your Amazon Route 53 hosted zone. HostedZoneId *string `locationName:"hostedZoneId" type:"string"` // contains filtered or unexported fields }
Describes a configuration for a custom domain.
func (s DomainNameConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DomainNameConfig) SetAppsyncDomainName(v string) *DomainNameConfig
SetAppsyncDomainName sets the AppsyncDomainName field's value.
func (s *DomainNameConfig) SetCertificateArn(v string) *DomainNameConfig
SetCertificateArn sets the CertificateArn field's value.
func (s *DomainNameConfig) SetDescription(v string) *DomainNameConfig
SetDescription sets the Description field's value.
func (s *DomainNameConfig) SetDomainName(v string) *DomainNameConfig
SetDomainName sets the DomainName field's value.
func (s *DomainNameConfig) SetHostedZoneId(v string) *DomainNameConfig
SetHostedZoneId sets the HostedZoneId field's value.
func (s DomainNameConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DynamodbDataSourceConfig struct { // The Amazon Web Services Region. // // AwsRegion is a required field AwsRegion *string `locationName:"awsRegion" type:"string" required:"true"` // The DeltaSyncConfig for a versioned data source. DeltaSyncConfig *DeltaSyncConfig `locationName:"deltaSyncConfig" type:"structure"` // The table name. // // TableName is a required field TableName *string `locationName:"tableName" type:"string" required:"true"` // Set to TRUE to use Amazon Cognito credentials with this data source. UseCallerCredentials *bool `locationName:"useCallerCredentials" type:"boolean"` // Set to TRUE to use Conflict Detection and Resolution with this data source. Versioned *bool `locationName:"versioned" type:"boolean"` // contains filtered or unexported fields }
Describes an Amazon DynamoDB data source configuration.
func (s DynamodbDataSourceConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DynamodbDataSourceConfig) SetAwsRegion(v string) *DynamodbDataSourceConfig
SetAwsRegion sets the AwsRegion field's value.
func (s *DynamodbDataSourceConfig) SetDeltaSyncConfig(v *DeltaSyncConfig) *DynamodbDataSourceConfig
SetDeltaSyncConfig sets the DeltaSyncConfig field's value.
func (s *DynamodbDataSourceConfig) SetTableName(v string) *DynamodbDataSourceConfig
SetTableName sets the TableName field's value.
func (s *DynamodbDataSourceConfig) SetUseCallerCredentials(v bool) *DynamodbDataSourceConfig
SetUseCallerCredentials sets the UseCallerCredentials field's value.
func (s *DynamodbDataSourceConfig) SetVersioned(v bool) *DynamodbDataSourceConfig
SetVersioned sets the Versioned field's value.
func (s DynamodbDataSourceConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DynamodbDataSourceConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ElasticsearchDataSourceConfig struct { // The Amazon Web Services 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 OpenSearch data source configuration.
As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. For new data sources, use OpenSearchServiceDataSourceConfig to specify an OpenSearch data source.
func (s ElasticsearchDataSourceConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ElasticsearchDataSourceConfig) SetAwsRegion(v string) *ElasticsearchDataSourceConfig
SetAwsRegion sets the AwsRegion field's value.
func (s *ElasticsearchDataSourceConfig) SetEndpoint(v string) *ElasticsearchDataSourceConfig
SetEndpoint sets the Endpoint field's value.
func (s ElasticsearchDataSourceConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ElasticsearchDataSourceConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EnhancedMetricsConfig struct { // Controls how data source metrics will be emitted to CloudWatch. Data source // metrics include: // // * Requests: The number of invocations that occured during a request. // // * Latency: The time to complete a data source invocation. // // * Errors: The number of errors that occurred during a data source invocation. // // These metrics can be emitted to CloudWatch per data source or for all data // sources in the request. Metrics will be recorded by API ID and data source // name. dataSourceLevelMetricsBehavior accepts one of these values at a time: // // * FULL_REQUEST_DATA_SOURCE_METRICS: Records and emits metric data for // all data sources in the request. // // * PER_DATA_SOURCE_METRICS: Records and emits metric data for data sources // that have the metricsConfig value set to ENABLED. // // DataSourceLevelMetricsBehavior is a required field DataSourceLevelMetricsBehavior *string `locationName:"dataSourceLevelMetricsBehavior" type:"string" required:"true" enum:"DataSourceLevelMetricsBehavior"` // Controls how operation metrics will be emitted to CloudWatch. Operation metrics // include: // // * Requests: The number of times a specified GraphQL operation was called. // // * GraphQL errors: The number of GraphQL errors that occurred during a // specified GraphQL operation. // // Metrics will be recorded by API ID and operation name. You can set the value // to ENABLED or DISABLED. // // OperationLevelMetricsConfig is a required field OperationLevelMetricsConfig *string `locationName:"operationLevelMetricsConfig" type:"string" required:"true" enum:"OperationLevelMetricsConfig"` // Controls how resolver metrics will be emitted to CloudWatch. Resolver metrics // include: // // * GraphQL errors: The number of GraphQL errors that occurred. // // * Requests: The number of invocations that occurred during a request. // // * Latency: The time to complete a resolver invocation. // // * Cache hits: The number of cache hits during a request. // // * Cache misses: The number of cache misses during a request. // // These metrics can be emitted to CloudWatch per resolver or for all resolvers // in the request. Metrics will be recorded by API ID and resolver name. resolverLevelMetricsBehavior // accepts one of these values at a time: // // * FULL_REQUEST_RESOLVER_METRICS: Records and emits metric data for all // resolvers in the request. // // * PER_RESOLVER_METRICS: Records and emits metric data for resolvers that // have the metricsConfig value set to ENABLED. // // ResolverLevelMetricsBehavior is a required field ResolverLevelMetricsBehavior *string `locationName:"resolverLevelMetricsBehavior" type:"string" required:"true" enum:"ResolverLevelMetricsBehavior"` // contains filtered or unexported fields }
Enables and controls the enhanced metrics feature. Enhanced metrics emit granular data on API usage and performance such as AppSync request and error counts, latency, and cache hits/misses. All enhanced metric data is sent to your CloudWatch account, and you can configure the types of data that will be sent.
Enhanced metrics can be configured at the resolver, data source, and operation levels. EnhancedMetricsConfig contains three required parameters, each controlling one of these categories:
resolverLevelMetricsBehavior: Controls how resolver metrics will be emitted to CloudWatch. Resolver metrics include:
GraphQL errors: The number of GraphQL errors that occurred.
Requests: The number of invocations that occurred during a request.
Latency: The time to complete a resolver invocation.
Cache hits: The number of cache hits during a request.
Cache misses: The number of cache misses during a request.
These metrics can be emitted to CloudWatch per resolver or for all resolvers in the request. Metrics will be recorded by API ID and resolver name. resolverLevelMetricsBehavior accepts one of these values at a time:
FULL_REQUEST_RESOLVER_METRICS: Records and emits metric data for all resolvers in the request.
PER_RESOLVER_METRICS: Records and emits metric data for resolvers that have the metricsConfig value set to ENABLED.
dataSourceLevelMetricsBehavior: Controls how data source metrics will be emitted to CloudWatch. Data source metrics include:
Requests: The number of invocations that occured during a request.
Latency: The time to complete a data source invocation.
Errors: The number of errors that occurred during a data source invocation.
These metrics can be emitted to CloudWatch per data source or for all data sources in the request. Metrics will be recorded by API ID and data source name. dataSourceLevelMetricsBehavior accepts one of these values at a time:
FULL_REQUEST_DATA_SOURCE_METRICS: Records and emits metric data for all data sources in the request.
PER_DATA_SOURCE_METRICS: Records and emits metric data for data sources that have the metricsConfig value set to ENABLED.
operationLevelMetricsConfig: Controls how operation metrics will be emitted to CloudWatch. Operation metrics include:
Requests: The number of times a specified GraphQL operation was called.
GraphQL errors: The number of GraphQL errors that occurred during a specified GraphQL operation.
Metrics will be recorded by API ID and operation name. You can set the value to ENABLED or DISABLED.
func (s EnhancedMetricsConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EnhancedMetricsConfig) SetDataSourceLevelMetricsBehavior(v string) *EnhancedMetricsConfig
SetDataSourceLevelMetricsBehavior sets the DataSourceLevelMetricsBehavior field's value.
func (s *EnhancedMetricsConfig) SetOperationLevelMetricsConfig(v string) *EnhancedMetricsConfig
SetOperationLevelMetricsConfig sets the OperationLevelMetricsConfig field's value.
func (s *EnhancedMetricsConfig) SetResolverLevelMetricsBehavior(v string) *EnhancedMetricsConfig
SetResolverLevelMetricsBehavior sets the ResolverLevelMetricsBehavior field's value.
func (s EnhancedMetricsConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EnhancedMetricsConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ErrorDetail struct { // The error payload. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Contains the list of errors generated. When using JavaScript, this will apply to the request or response function evaluation.
func (s ErrorDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ErrorDetail) SetMessage(v string) *ErrorDetail
SetMessage sets the Message field's value.
func (s ErrorDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EvaluateCodeErrorDetail struct { // Contains the list of CodeError objects. CodeErrors []*CodeError `locationName:"codeErrors" type:"list"` // The error payload. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Contains the list of errors from a code evaluation response.
func (s EvaluateCodeErrorDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EvaluateCodeErrorDetail) SetCodeErrors(v []*CodeError) *EvaluateCodeErrorDetail
SetCodeErrors sets the CodeErrors field's value.
func (s *EvaluateCodeErrorDetail) SetMessage(v string) *EvaluateCodeErrorDetail
SetMessage sets the Message field's value.
func (s EvaluateCodeErrorDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EvaluateCodeInput struct { // The code definition to be evaluated. Note that code and runtime are both // required for this action. The runtime value must be APPSYNC_JS. // // Code is a required field Code *string `locationName:"code" min:"1" type:"string" required:"true"` // The map that holds all of the contextual information for your resolver invocation. // A context is required for this action. // // Context is a required field Context *string `locationName:"context" min:"2" type:"string" required:"true"` // The function within the code to be evaluated. If provided, the valid values // are request and response. Function *string `locationName:"function" type:"string"` // The runtime to be used when evaluating the code. Currently, only the APPSYNC_JS // runtime is supported. // // Runtime is a required field Runtime *AppSyncRuntime `locationName:"runtime" type:"structure" required:"true"` // contains filtered or unexported fields }
func (s EvaluateCodeInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EvaluateCodeInput) SetCode(v string) *EvaluateCodeInput
SetCode sets the Code field's value.
func (s *EvaluateCodeInput) SetContext(v string) *EvaluateCodeInput
SetContext sets the Context field's value.
func (s *EvaluateCodeInput) SetFunction(v string) *EvaluateCodeInput
SetFunction sets the Function field's value.
func (s *EvaluateCodeInput) SetRuntime(v *AppSyncRuntime) *EvaluateCodeInput
SetRuntime sets the Runtime field's value.
func (s EvaluateCodeInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EvaluateCodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EvaluateCodeOutput struct { // Contains the payload of the response error. Error *EvaluateCodeErrorDetail `locationName:"error" type:"structure"` // The result of the evaluation operation. EvaluationResult *string `locationName:"evaluationResult" type:"string"` // A list of logs that were generated by calls to util.log.info and util.log.error // in the evaluated code. Logs []*string `locationName:"logs" type:"list"` // contains filtered or unexported fields }
func (s EvaluateCodeOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EvaluateCodeOutput) SetError(v *EvaluateCodeErrorDetail) *EvaluateCodeOutput
SetError sets the Error field's value.
func (s *EvaluateCodeOutput) SetEvaluationResult(v string) *EvaluateCodeOutput
SetEvaluationResult sets the EvaluationResult field's value.
func (s *EvaluateCodeOutput) SetLogs(v []*string) *EvaluateCodeOutput
SetLogs sets the Logs field's value.
func (s EvaluateCodeOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EvaluateMappingTemplateInput struct { // The map that holds all of the contextual information for your resolver invocation. // A context is required for this action. // // Context is a required field Context *string `locationName:"context" min:"2" type:"string" required:"true"` // The mapping template; this can be a request or response template. A template // is required for this action. // // Template is a required field Template *string `locationName:"template" min:"2" type:"string" required:"true"` // contains filtered or unexported fields }
func (s EvaluateMappingTemplateInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EvaluateMappingTemplateInput) SetContext(v string) *EvaluateMappingTemplateInput
SetContext sets the Context field's value.
func (s *EvaluateMappingTemplateInput) SetTemplate(v string) *EvaluateMappingTemplateInput
SetTemplate sets the Template field's value.
func (s EvaluateMappingTemplateInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EvaluateMappingTemplateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EvaluateMappingTemplateOutput struct { // The ErrorDetail object. Error *ErrorDetail `locationName:"error" type:"structure"` // The mapping template; this can be a request or response template. EvaluationResult *string `locationName:"evaluationResult" type:"string"` // A list of logs that were generated by calls to util.log.info and util.log.error // in the evaluated code. Logs []*string `locationName:"logs" type:"list"` // contains filtered or unexported fields }
func (s EvaluateMappingTemplateOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EvaluateMappingTemplateOutput) SetError(v *ErrorDetail) *EvaluateMappingTemplateOutput
SetError sets the Error field's value.
func (s *EvaluateMappingTemplateOutput) SetEvaluationResult(v string) *EvaluateMappingTemplateOutput
SetEvaluationResult sets the EvaluationResult field's value.
func (s *EvaluateMappingTemplateOutput) SetLogs(v []*string) *EvaluateMappingTemplateOutput
SetLogs sets the Logs field's value.
func (s EvaluateMappingTemplateOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EventBridgeDataSourceConfig struct { // The ARN of the event bus. For more information about event buses, see Amazon // EventBridge event buses (https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-bus.html). // // EventBusArn is a required field EventBusArn *string `locationName:"eventBusArn" type:"string" required:"true"` // contains filtered or unexported fields }
Describes an Amazon EventBridge bus data source configuration.
func (s EventBridgeDataSourceConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EventBridgeDataSourceConfig) SetEventBusArn(v string) *EventBridgeDataSourceConfig
SetEventBusArn sets the EventBusArn field's value.
func (s EventBridgeDataSourceConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EventBridgeDataSourceConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type FlushApiCacheInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a FlushApiCache operation.
func (s FlushApiCacheInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *FlushApiCacheInput) SetApiId(v string) *FlushApiCacheInput
SetApiId sets the ApiId field's value.
func (s FlushApiCacheInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *FlushApiCacheInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type FlushApiCacheOutput struct {
// contains filtered or unexported fields
}
Represents the output of a FlushApiCache operation.
func (s FlushApiCacheOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s FlushApiCacheOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FunctionConfiguration struct { // The function code that contains the request and response functions. When // code is used, the runtime is required. The runtime value must be APPSYNC_JS. Code *string `locationName:"code" min:"1" type:"string"` // The name of the DataSource. DataSourceName *string `locationName:"dataSourceName" min:"1" type:"string"` // The Function description. Description *string `locationName:"description" type:"string"` // The Amazon Resource Name (ARN) of the Function object. FunctionArn *string `locationName:"functionArn" type:"string"` // A unique ID representing the Function object. FunctionId *string `locationName:"functionId" type:"string"` // The version of the request mapping template. Currently, only the 2018-05-29 // version of the template is supported. FunctionVersion *string `locationName:"functionVersion" type:"string"` // The maximum batching size for a resolver. MaxBatchSize *int64 `locationName:"maxBatchSize" type:"integer"` // The name of the Function object. Name *string `locationName:"name" min:"1" type:"string"` // The Function request mapping template. Functions support only the 2018-05-29 // version of the request mapping template. RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string"` // The Function response mapping template. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` // Describes a runtime used by an Amazon Web Services AppSync pipeline resolver // or Amazon Web Services AppSync function. Specifies the name and version of // the runtime to use. Note that if a runtime is specified, code must also be // specified. Runtime *AppSyncRuntime `locationName:"runtime" type:"structure"` // Describes a Sync configuration for a resolver. // // Specifies which Conflict Detection strategy and Resolution strategy to use // when the resolver is invoked. SyncConfig *SyncConfig `locationName:"syncConfig" type:"structure"` // contains filtered or unexported fields }
A function is a reusable entity. You can use multiple functions to compose the resolver logic.
func (s FunctionConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *FunctionConfiguration) SetCode(v string) *FunctionConfiguration
SetCode sets the Code field's value.
func (s *FunctionConfiguration) SetDataSourceName(v string) *FunctionConfiguration
SetDataSourceName sets the DataSourceName field's value.
func (s *FunctionConfiguration) SetDescription(v string) *FunctionConfiguration
SetDescription sets the Description field's value.
func (s *FunctionConfiguration) SetFunctionArn(v string) *FunctionConfiguration
SetFunctionArn sets the FunctionArn field's value.
func (s *FunctionConfiguration) SetFunctionId(v string) *FunctionConfiguration
SetFunctionId sets the FunctionId field's value.
func (s *FunctionConfiguration) SetFunctionVersion(v string) *FunctionConfiguration
SetFunctionVersion sets the FunctionVersion field's value.
func (s *FunctionConfiguration) SetMaxBatchSize(v int64) *FunctionConfiguration
SetMaxBatchSize sets the MaxBatchSize field's value.
func (s *FunctionConfiguration) SetName(v string) *FunctionConfiguration
SetName sets the Name field's value.
func (s *FunctionConfiguration) SetRequestMappingTemplate(v string) *FunctionConfiguration
SetRequestMappingTemplate sets the RequestMappingTemplate field's value.
func (s *FunctionConfiguration) SetResponseMappingTemplate(v string) *FunctionConfiguration
SetResponseMappingTemplate sets the ResponseMappingTemplate field's value.
func (s *FunctionConfiguration) SetRuntime(v *AppSyncRuntime) *FunctionConfiguration
SetRuntime sets the Runtime field's value.
func (s *FunctionConfiguration) SetSyncConfig(v *SyncConfig) *FunctionConfiguration
SetSyncConfig sets the SyncConfig field's value.
func (s FunctionConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetApiAssociationInput struct { // The domain name. // // DomainName is a required field DomainName *string `location:"uri" locationName:"domainName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetApiAssociationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetApiAssociationInput) SetDomainName(v string) *GetApiAssociationInput
SetDomainName sets the DomainName field's value.
func (s GetApiAssociationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetApiAssociationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetApiAssociationOutput struct { // The ApiAssociation object. ApiAssociation *ApiAssociation `locationName:"apiAssociation" type:"structure"` // contains filtered or unexported fields }
func (s GetApiAssociationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetApiAssociationOutput) SetApiAssociation(v *ApiAssociation) *GetApiAssociationOutput
SetApiAssociation sets the ApiAssociation field's value.
func (s GetApiAssociationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetApiCacheInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a GetApiCache operation.
func (s GetApiCacheInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetApiCacheInput) SetApiId(v string) *GetApiCacheInput
SetApiId sets the ApiId field's value.
func (s GetApiCacheInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetApiCacheInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetApiCacheOutput struct { // The ApiCache object. ApiCache *ApiCache `locationName:"apiCache" type:"structure"` // contains filtered or unexported fields }
Represents the output of a GetApiCache operation.
func (s GetApiCacheOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetApiCacheOutput) SetApiCache(v *ApiCache) *GetApiCacheOutput
SetApiCache sets the ApiCache field's value.
func (s GetApiCacheOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetDataSourceInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The name of the data source. // // Name is a required field Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetDataSourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDataSourceInput) SetApiId(v string) *GetDataSourceInput
SetApiId sets the ApiId field's value.
func (s *GetDataSourceInput) SetName(v string) *GetDataSourceInput
SetName sets the Name field's value.
func (s GetDataSourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDataSourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDataSourceIntrospectionInput struct { // A boolean flag that determines whether SDL should be generated for introspected // types or not. If set to true, each model will contain an sdl property that // contains the SDL for that type. The SDL only contains the type data and no // additional metadata or directives. IncludeModelsSDL *bool `location:"querystring" locationName:"includeModelsSDL" type:"boolean"` // The introspection ID. Each introspection contains a unique ID that can be // used to reference the instrospection record. // // IntrospectionId is a required field IntrospectionId *string `location:"uri" locationName:"introspectionId" type:"string" required:"true"` // The maximum number of introspected types that will be returned in a single // response. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // Determines the number of types to be returned in a single response before // paginating. This value is typically taken from nextToken value from the previous // response. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (s GetDataSourceIntrospectionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDataSourceIntrospectionInput) SetIncludeModelsSDL(v bool) *GetDataSourceIntrospectionInput
SetIncludeModelsSDL sets the IncludeModelsSDL field's value.
func (s *GetDataSourceIntrospectionInput) SetIntrospectionId(v string) *GetDataSourceIntrospectionInput
SetIntrospectionId sets the IntrospectionId field's value.
func (s *GetDataSourceIntrospectionInput) SetMaxResults(v int64) *GetDataSourceIntrospectionInput
SetMaxResults sets the MaxResults field's value.
func (s *GetDataSourceIntrospectionInput) SetNextToken(v string) *GetDataSourceIntrospectionInput
SetNextToken sets the NextToken field's value.
func (s GetDataSourceIntrospectionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDataSourceIntrospectionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDataSourceIntrospectionOutput struct { // The introspection ID. Each introspection contains a unique ID that can be // used to reference the instrospection record. IntrospectionId *string `locationName:"introspectionId" type:"string"` // The DataSourceIntrospectionResult object data. IntrospectionResult *DataSourceIntrospectionResult `locationName:"introspectionResult" type:"structure"` // The status of the introspection during retrieval. By default, when a new // instrospection is being retrieved, the status will be set to PROCESSING. // Once the operation has been completed, the status will change to SUCCESS // or FAILED depending on how the data was parsed. A FAILED operation will return // an error and its details as an introspectionStatusDetail. IntrospectionStatus *string `locationName:"introspectionStatus" type:"string" enum:"DataSourceIntrospectionStatus"` // The error detail field. When a FAILED introspectionStatus is returned, the // introspectionStatusDetail will also return the exact error that was generated // during the operation. IntrospectionStatusDetail *string `locationName:"introspectionStatusDetail" type:"string"` // contains filtered or unexported fields }
func (s GetDataSourceIntrospectionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDataSourceIntrospectionOutput) SetIntrospectionId(v string) *GetDataSourceIntrospectionOutput
SetIntrospectionId sets the IntrospectionId field's value.
func (s *GetDataSourceIntrospectionOutput) SetIntrospectionResult(v *DataSourceIntrospectionResult) *GetDataSourceIntrospectionOutput
SetIntrospectionResult sets the IntrospectionResult field's value.
func (s *GetDataSourceIntrospectionOutput) SetIntrospectionStatus(v string) *GetDataSourceIntrospectionOutput
SetIntrospectionStatus sets the IntrospectionStatus field's value.
func (s *GetDataSourceIntrospectionOutput) SetIntrospectionStatusDetail(v string) *GetDataSourceIntrospectionOutput
SetIntrospectionStatusDetail sets the IntrospectionStatusDetail field's value.
func (s GetDataSourceIntrospectionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetDataSourceOutput struct { // The DataSource object. DataSource *DataSource `locationName:"dataSource" type:"structure"` // contains filtered or unexported fields }
func (s GetDataSourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDataSourceOutput) SetDataSource(v *DataSource) *GetDataSourceOutput
SetDataSource sets the DataSource field's value.
func (s GetDataSourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetDomainNameInput struct { // The domain name. // // DomainName is a required field DomainName *string `location:"uri" locationName:"domainName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetDomainNameInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDomainNameInput) SetDomainName(v string) *GetDomainNameInput
SetDomainName sets the DomainName field's value.
func (s GetDomainNameInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDomainNameInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDomainNameOutput struct { // The configuration for the DomainName. DomainNameConfig *DomainNameConfig `locationName:"domainNameConfig" type:"structure"` // contains filtered or unexported fields }
func (s GetDomainNameOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDomainNameOutput) SetDomainNameConfig(v *DomainNameConfig) *GetDomainNameOutput
SetDomainNameConfig sets the DomainNameConfig field's value.
func (s GetDomainNameOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetFunctionInput struct { // The GraphQL API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The Function ID. // // FunctionId is a required field FunctionId *string `location:"uri" locationName:"functionId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetFunctionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetFunctionInput) SetApiId(v string) *GetFunctionInput
SetApiId sets the ApiId field's value.
func (s *GetFunctionInput) SetFunctionId(v string) *GetFunctionInput
SetFunctionId sets the FunctionId field's value.
func (s GetFunctionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetFunctionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetFunctionOutput struct { // The Function object. FunctionConfiguration *FunctionConfiguration `locationName:"functionConfiguration" type:"structure"` // contains filtered or unexported fields }
func (s GetFunctionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetFunctionOutput) SetFunctionConfiguration(v *FunctionConfiguration) *GetFunctionOutput
SetFunctionConfiguration sets the FunctionConfiguration field's value.
func (s GetFunctionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetGraphqlApiEnvironmentVariablesInput struct { // The ID of the API from which the environmental variable list will be retrieved. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetGraphqlApiEnvironmentVariablesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetGraphqlApiEnvironmentVariablesInput) SetApiId(v string) *GetGraphqlApiEnvironmentVariablesInput
SetApiId sets the ApiId field's value.
func (s GetGraphqlApiEnvironmentVariablesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetGraphqlApiEnvironmentVariablesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetGraphqlApiEnvironmentVariablesOutput struct { // The payload containing each environmental variable in the "key" : "value" // format. EnvironmentVariables map[string]*string `locationName:"environmentVariables" type:"map"` // contains filtered or unexported fields }
func (s GetGraphqlApiEnvironmentVariablesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetGraphqlApiEnvironmentVariablesOutput) SetEnvironmentVariables(v map[string]*string) *GetGraphqlApiEnvironmentVariablesOutput
SetEnvironmentVariables sets the EnvironmentVariables field's value.
func (s GetGraphqlApiEnvironmentVariablesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetGraphqlApiInput struct { // The API ID for the GraphQL API. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetGraphqlApiInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetGraphqlApiInput) SetApiId(v string) *GetGraphqlApiInput
SetApiId sets the ApiId field's value.
func (s GetGraphqlApiInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetGraphqlApiInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetGraphqlApiOutput struct { // The GraphqlApi object. GraphqlApi *GraphqlApi `locationName:"graphqlApi" type:"structure"` // contains filtered or unexported fields }
func (s GetGraphqlApiOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetGraphqlApiOutput) SetGraphqlApi(v *GraphqlApi) *GetGraphqlApiOutput
SetGraphqlApi sets the GraphqlApi field's value.
func (s GetGraphqlApiOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetIntrospectionSchemaInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The schema format: SDL or JSON. // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"OutputType"` // A flag that specifies whether the schema introspection should contain directives. IncludeDirectives *bool `location:"querystring" locationName:"includeDirectives" type:"boolean"` // contains filtered or unexported fields }
func (s GetIntrospectionSchemaInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetIntrospectionSchemaInput) SetApiId(v string) *GetIntrospectionSchemaInput
SetApiId sets the ApiId field's value.
func (s *GetIntrospectionSchemaInput) SetFormat(v string) *GetIntrospectionSchemaInput
SetFormat sets the Format field's value.
func (s *GetIntrospectionSchemaInput) SetIncludeDirectives(v bool) *GetIntrospectionSchemaInput
SetIncludeDirectives sets the IncludeDirectives field's value.
func (s GetIntrospectionSchemaInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetIntrospectionSchemaInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetIntrospectionSchemaOutput struct { // The schema, in GraphQL Schema Definition Language (SDL) format. // // For more information, see the GraphQL SDL documentation (http://graphql.org/learn/schema/). Schema []byte `locationName:"schema" type:"blob"` // contains filtered or unexported fields }
func (s GetIntrospectionSchemaOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetIntrospectionSchemaOutput) SetSchema(v []byte) *GetIntrospectionSchemaOutput
SetSchema sets the Schema field's value.
func (s GetIntrospectionSchemaOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetResolverInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The resolver field name. // // FieldName is a required field FieldName *string `location:"uri" locationName:"fieldName" min:"1" type:"string" required:"true"` // The resolver type name. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetResolverInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetResolverInput) SetApiId(v string) *GetResolverInput
SetApiId sets the ApiId field's value.
func (s *GetResolverInput) SetFieldName(v string) *GetResolverInput
SetFieldName sets the FieldName field's value.
func (s *GetResolverInput) SetTypeName(v string) *GetResolverInput
SetTypeName sets the TypeName field's value.
func (s GetResolverInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetResolverInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetResolverOutput struct { // The Resolver object. Resolver *Resolver `locationName:"resolver" type:"structure"` // contains filtered or unexported fields }
func (s GetResolverOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetResolverOutput) SetResolver(v *Resolver) *GetResolverOutput
SetResolver sets the Resolver field's value.
func (s GetResolverOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetSchemaCreationStatusInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetSchemaCreationStatusInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetSchemaCreationStatusInput) SetApiId(v string) *GetSchemaCreationStatusInput
SetApiId sets the ApiId field's value.
func (s GetSchemaCreationStatusInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetSchemaCreationStatusInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetSchemaCreationStatusOutput struct { // Detailed information about the status of the schema creation operation. Details *string `locationName:"details" type:"string"` // The current state of the schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE). // When the schema is in the ACTIVE state, you can add data. Status *string `locationName:"status" type:"string" enum:"SchemaStatus"` // contains filtered or unexported fields }
func (s GetSchemaCreationStatusOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetSchemaCreationStatusOutput) SetDetails(v string) *GetSchemaCreationStatusOutput
SetDetails sets the Details field's value.
func (s *GetSchemaCreationStatusOutput) SetStatus(v string) *GetSchemaCreationStatusOutput
SetStatus sets the Status field's value.
func (s GetSchemaCreationStatusOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetSourceApiAssociationInput struct { // The ID generated by the AppSync service for the source API association. // // AssociationId is a required field AssociationId *string `location:"uri" locationName:"associationId" type:"string" required:"true"` // The identifier of the AppSync Merged API. This is generated by the AppSync // service. In most cases, Merged APIs (especially in your account) only require // the API ID value or ARN of the merged API. However, Merged APIs in other // accounts (cross-account use cases) strictly require the full resource ARN // of the merged API. // // MergedApiIdentifier is a required field MergedApiIdentifier *string `location:"uri" locationName:"mergedApiIdentifier" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetSourceApiAssociationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetSourceApiAssociationInput) SetAssociationId(v string) *GetSourceApiAssociationInput
SetAssociationId sets the AssociationId field's value.
func (s *GetSourceApiAssociationInput) SetMergedApiIdentifier(v string) *GetSourceApiAssociationInput
SetMergedApiIdentifier sets the MergedApiIdentifier field's value.
func (s GetSourceApiAssociationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetSourceApiAssociationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetSourceApiAssociationOutput struct { // The SourceApiAssociation object data. SourceApiAssociation *SourceApiAssociation `locationName:"sourceApiAssociation" type:"structure"` // contains filtered or unexported fields }
func (s GetSourceApiAssociationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetSourceApiAssociationOutput) SetSourceApiAssociation(v *SourceApiAssociation) *GetSourceApiAssociationOutput
SetSourceApiAssociation sets the SourceApiAssociation field's value.
func (s GetSourceApiAssociationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetTypeInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The type format: SDL or JSON. // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"TypeDefinitionFormat"` // The type name. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetTypeInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetTypeInput) SetApiId(v string) *GetTypeInput
SetApiId sets the ApiId field's value.
func (s *GetTypeInput) SetFormat(v string) *GetTypeInput
SetFormat sets the Format field's value.
func (s *GetTypeInput) SetTypeName(v string) *GetTypeInput
SetTypeName sets the TypeName field's value.
func (s GetTypeInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetTypeOutput struct { // The Type object. Type *Type `locationName:"type" type:"structure"` // contains filtered or unexported fields }
func (s GetTypeOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetTypeOutput) SetType(v *Type) *GetTypeOutput
SetType sets the Type field's value.
func (s GetTypeOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GraphQLSchemaException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The GraphQL schema is not valid.
func (s *GraphQLSchemaException) Code() string
Code returns the exception type name.
func (s *GraphQLSchemaException) Error() string
func (s GraphQLSchemaException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GraphQLSchemaException) Message() string
Message returns the exception's message.
func (s *GraphQLSchemaException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *GraphQLSchemaException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *GraphQLSchemaException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s GraphQLSchemaException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GraphqlApi struct { // A list of additional authentication providers for the GraphqlApi API. AdditionalAuthenticationProviders []*AdditionalAuthenticationProvider `locationName:"additionalAuthenticationProviders" type:"list"` // The API ID. ApiId *string `locationName:"apiId" type:"string"` // The value that indicates whether the GraphQL API is a standard API (GRAPHQL) // or merged API (MERGED). ApiType *string `locationName:"apiType" type:"string" enum:"GraphQLApiType"` // The Amazon Resource Name (ARN). Arn *string `locationName:"arn" type:"string"` // The authentication type. AuthenticationType *string `locationName:"authenticationType" type:"string" enum:"AuthenticationType"` // The DNS records for the API. Dns map[string]*string `locationName:"dns" type:"map"` // The enhancedMetricsConfig object. EnhancedMetricsConfig *EnhancedMetricsConfig `locationName:"enhancedMetricsConfig" type:"structure"` // Sets the value of the GraphQL API to enable (ENABLED) or disable (DISABLED) // introspection. If no value is provided, the introspection configuration will // be set to ENABLED by default. This field will produce an error if the operation // attempts to use the introspection feature while this field is disabled. // // For more information about introspection, see GraphQL introspection (https://graphql.org/learn/introspection/). IntrospectionConfig *string `locationName:"introspectionConfig" type:"string" enum:"GraphQLApiIntrospectionConfig"` // Configuration for Lambda function authorization. LambdaAuthorizerConfig *LambdaAuthorizerConfig `locationName:"lambdaAuthorizerConfig" type:"structure"` // The Amazon CloudWatch Logs configuration. LogConfig *LogConfig `locationName:"logConfig" type:"structure"` // The Identity and Access Management service role ARN for a merged API. The // AppSync service assumes this role on behalf of the Merged API to validate // access to source APIs at runtime and to prompt the AUTO_MERGE to update the // merged API endpoint with the source API changes automatically. MergedApiExecutionRoleArn *string `locationName:"mergedApiExecutionRoleArn" type:"string"` // The API name. Name *string `locationName:"name" min:"1" type:"string"` // The OpenID Connect configuration. OpenIDConnectConfig *OpenIDConnectConfig `locationName:"openIDConnectConfig" type:"structure"` // The account owner of the GraphQL API. Owner *string `locationName:"owner" type:"string"` // The owner contact information for an API resource. // // This field accepts any string input with a length of 0 - 256 characters. OwnerContact *string `locationName:"ownerContact" type:"string"` // The maximum depth a query can have in a single request. Depth refers to the // amount of nested levels allowed in the body of query. The default value is // 0 (or unspecified), which indicates there's no depth limit. If you set a // limit, it can be between 1 and 75 nested levels. This field will produce // a limit error if the operation falls out of bounds. // // Note that fields can still be set to nullable or non-nullable. If a non-nullable // field produces an error, the error will be thrown upwards to the first nullable // field available. QueryDepthLimit *int64 `locationName:"queryDepthLimit" type:"integer"` // The maximum number of resolvers that can be invoked in a single request. // The default value is 0 (or unspecified), which will set the limit to 10000. // When specified, the limit value can be between 1 and 10000. This field will // produce a limit error if the operation falls out of bounds. ResolverCountLimit *int64 `locationName:"resolverCountLimit" type:"integer"` // The tags. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` // The URIs. Uris map[string]*string `locationName:"uris" type:"map"` // The Amazon Cognito user pool configuration. UserPoolConfig *UserPoolConfig `locationName:"userPoolConfig" type:"structure"` // Sets the value of the GraphQL API to public (GLOBAL) or private (PRIVATE). // If no value is provided, the visibility will be set to GLOBAL by default. // This value cannot be changed once the API has been created. Visibility *string `locationName:"visibility" type:"string" enum:"GraphQLApiVisibility"` // The ARN of the WAF access control list (ACL) associated with this GraphqlApi, // if one exists. WafWebAclArn *string `locationName:"wafWebAclArn" type:"string"` // A flag indicating whether to use X-Ray tracing for this GraphqlApi. XrayEnabled *bool `locationName:"xrayEnabled" type:"boolean"` // contains filtered or unexported fields }
Describes a GraphQL API.
func (s GraphqlApi) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GraphqlApi) SetAdditionalAuthenticationProviders(v []*AdditionalAuthenticationProvider) *GraphqlApi
SetAdditionalAuthenticationProviders sets the AdditionalAuthenticationProviders field's value.
func (s *GraphqlApi) SetApiId(v string) *GraphqlApi
SetApiId sets the ApiId field's value.
func (s *GraphqlApi) SetApiType(v string) *GraphqlApi
SetApiType sets the ApiType field's value.
func (s *GraphqlApi) SetArn(v string) *GraphqlApi
SetArn sets the Arn field's value.
func (s *GraphqlApi) SetAuthenticationType(v string) *GraphqlApi
SetAuthenticationType sets the AuthenticationType field's value.
func (s *GraphqlApi) SetDns(v map[string]*string) *GraphqlApi
SetDns sets the Dns field's value.
func (s *GraphqlApi) SetEnhancedMetricsConfig(v *EnhancedMetricsConfig) *GraphqlApi
SetEnhancedMetricsConfig sets the EnhancedMetricsConfig field's value.
func (s *GraphqlApi) SetIntrospectionConfig(v string) *GraphqlApi
SetIntrospectionConfig sets the IntrospectionConfig field's value.
func (s *GraphqlApi) SetLambdaAuthorizerConfig(v *LambdaAuthorizerConfig) *GraphqlApi
SetLambdaAuthorizerConfig sets the LambdaAuthorizerConfig field's value.
func (s *GraphqlApi) SetLogConfig(v *LogConfig) *GraphqlApi
SetLogConfig sets the LogConfig field's value.
func (s *GraphqlApi) SetMergedApiExecutionRoleArn(v string) *GraphqlApi
SetMergedApiExecutionRoleArn sets the MergedApiExecutionRoleArn field's value.
func (s *GraphqlApi) SetName(v string) *GraphqlApi
SetName sets the Name field's value.
func (s *GraphqlApi) SetOpenIDConnectConfig(v *OpenIDConnectConfig) *GraphqlApi
SetOpenIDConnectConfig sets the OpenIDConnectConfig field's value.
func (s *GraphqlApi) SetOwner(v string) *GraphqlApi
SetOwner sets the Owner field's value.
func (s *GraphqlApi) SetOwnerContact(v string) *GraphqlApi
SetOwnerContact sets the OwnerContact field's value.
func (s *GraphqlApi) SetQueryDepthLimit(v int64) *GraphqlApi
SetQueryDepthLimit sets the QueryDepthLimit field's value.
func (s *GraphqlApi) SetResolverCountLimit(v int64) *GraphqlApi
SetResolverCountLimit sets the ResolverCountLimit field's value.
func (s *GraphqlApi) SetTags(v map[string]*string) *GraphqlApi
SetTags sets the Tags field's value.
func (s *GraphqlApi) SetUris(v map[string]*string) *GraphqlApi
SetUris sets the Uris field's value.
func (s *GraphqlApi) SetUserPoolConfig(v *UserPoolConfig) *GraphqlApi
SetUserPoolConfig sets the UserPoolConfig field's value.
func (s *GraphqlApi) SetVisibility(v string) *GraphqlApi
SetVisibility sets the Visibility field's value.
func (s *GraphqlApi) SetWafWebAclArn(v string) *GraphqlApi
SetWafWebAclArn sets the WafWebAclArn field's value.
func (s *GraphqlApi) SetXrayEnabled(v bool) *GraphqlApi
SetXrayEnabled sets the XrayEnabled field's value.
func (s GraphqlApi) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type HttpDataSourceConfig struct { // The authorization configuration in case the HTTP endpoint requires authorization. AuthorizationConfig *AuthorizationConfig `locationName:"authorizationConfig" type:"structure"` // The HTTP URL endpoint. You can specify either the domain name or IP, and // port combination, and the URL scheme must be HTTP or HTTPS. If you don't // specify the port, AppSync uses the default port 80 for the HTTP endpoint // and port 443 for HTTPS endpoints. Endpoint *string `locationName:"endpoint" type:"string"` // contains filtered or unexported fields }
Describes an HTTP data source configuration.
func (s HttpDataSourceConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *HttpDataSourceConfig) SetAuthorizationConfig(v *AuthorizationConfig) *HttpDataSourceConfig
SetAuthorizationConfig sets the AuthorizationConfig field's value.
func (s *HttpDataSourceConfig) SetEndpoint(v string) *HttpDataSourceConfig
SetEndpoint sets the Endpoint field's value.
func (s HttpDataSourceConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *HttpDataSourceConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type InternalFailureException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
An internal AppSync error occurred. Try your request again.
func (s *InternalFailureException) Code() string
Code returns the exception type name.
func (s *InternalFailureException) Error() string
func (s InternalFailureException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *InternalFailureException) Message() string
Message returns the exception's message.
func (s *InternalFailureException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InternalFailureException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InternalFailureException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s InternalFailureException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LambdaAuthorizerConfig struct { // The number of seconds a response should be cached for. The default is 0 seconds, // which disables caching. If you don't specify a value for authorizerResultTtlInSeconds, // the default value is used. The maximum value is one hour (3600 seconds). // The Lambda function can override this by returning a ttlOverride key in its // response. AuthorizerResultTtlInSeconds *int64 `locationName:"authorizerResultTtlInSeconds" type:"integer"` // The Amazon Resource Name (ARN) of the Lambda function to be called for authorization. // This can be a standard Lambda ARN, a version ARN (.../v3), or an alias ARN. // // Note: This Lambda function must have the following resource-based policy // assigned to it. When configuring Lambda authorizers in the console, this // is done for you. To use the Command Line Interface (CLI), run the following: // // aws lambda add-permission --function-name "arn:aws:lambda:us-east-2:111122223333:function:my-function" // --statement-id "appsync" --principal appsync.amazonaws.com --action lambda:InvokeFunction // // AuthorizerUri is a required field AuthorizerUri *string `locationName:"authorizerUri" type:"string" required:"true"` // A regular expression for validation of tokens before the Lambda function // is called. IdentityValidationExpression *string `locationName:"identityValidationExpression" type:"string"` // contains filtered or unexported fields }
A LambdaAuthorizerConfig specifies how to authorize AppSync API access when using the AWS_LAMBDA authorizer mode. Be aware that an AppSync API can have only one Lambda authorizer configured at a time.
func (s LambdaAuthorizerConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *LambdaAuthorizerConfig) SetAuthorizerResultTtlInSeconds(v int64) *LambdaAuthorizerConfig
SetAuthorizerResultTtlInSeconds sets the AuthorizerResultTtlInSeconds field's value.
func (s *LambdaAuthorizerConfig) SetAuthorizerUri(v string) *LambdaAuthorizerConfig
SetAuthorizerUri sets the AuthorizerUri field's value.
func (s *LambdaAuthorizerConfig) SetIdentityValidationExpression(v string) *LambdaAuthorizerConfig
SetIdentityValidationExpression sets the IdentityValidationExpression field's value.
func (s LambdaAuthorizerConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *LambdaAuthorizerConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LambdaConflictHandlerConfig struct { // The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict // Handler. LambdaConflictHandlerArn *string `locationName:"lambdaConflictHandlerArn" type:"string"` // contains filtered or unexported fields }
The LambdaConflictHandlerConfig object when configuring LAMBDA as the Conflict Handler.
func (s LambdaConflictHandlerConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *LambdaConflictHandlerConfig) SetLambdaConflictHandlerArn(v string) *LambdaConflictHandlerConfig
SetLambdaConflictHandlerArn sets the LambdaConflictHandlerArn field's value.
func (s LambdaConflictHandlerConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LambdaDataSourceConfig struct { // The Amazon Resource Name (ARN) for the Lambda function. // // LambdaFunctionArn is a required field LambdaFunctionArn *string `locationName:"lambdaFunctionArn" type:"string" required:"true"` // contains filtered or unexported fields }
Describes an Lambda data source configuration.
func (s LambdaDataSourceConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *LambdaDataSourceConfig) SetLambdaFunctionArn(v string) *LambdaDataSourceConfig
SetLambdaFunctionArn sets the LambdaFunctionArn field's value.
func (s LambdaDataSourceConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *LambdaDataSourceConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LimitExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The request exceeded a limit. Try your request again.
func (s *LimitExceededException) Code() string
Code returns the exception type name.
func (s *LimitExceededException) Error() string
func (s LimitExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *LimitExceededException) Message() string
Message returns the exception's message.
func (s *LimitExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *LimitExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *LimitExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s LimitExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 that you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which you can use to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListApiKeysInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListApiKeysInput) SetApiId(v string) *ListApiKeysInput
SetApiId sets the ApiId field's value.
func (s *ListApiKeysInput) SetMaxResults(v int64) *ListApiKeysInput
SetMaxResults sets the MaxResults field's value.
func (s *ListApiKeysInput) SetNextToken(v string) *ListApiKeysInput
SetNextToken sets the NextToken field's value.
func (s ListApiKeysInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListApiKeysInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListApiKeysOutput struct { // The ApiKey objects. ApiKeys []*ApiKey `locationName:"apiKeys" type:"list"` // An identifier to pass in the next request to this operation to return the // next set of items in the list. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListApiKeysOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListApiKeysOutput) SetApiKeys(v []*ApiKey) *ListApiKeysOutput
SetApiKeys sets the ApiKeys field's value.
func (s *ListApiKeysOutput) SetNextToken(v string) *ListApiKeysOutput
SetNextToken sets the NextToken field's value.
func (s ListApiKeysOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 that you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which you can use to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListDataSourcesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListDataSourcesInput) SetApiId(v string) *ListDataSourcesInput
SetApiId sets the ApiId field's value.
func (s *ListDataSourcesInput) SetMaxResults(v int64) *ListDataSourcesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListDataSourcesInput) SetNextToken(v string) *ListDataSourcesInput
SetNextToken sets the NextToken field's value.
func (s ListDataSourcesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListDataSourcesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListDataSourcesOutput struct { // The DataSource objects. DataSources []*DataSource `locationName:"dataSources" type:"list"` // An identifier to pass in the next request to this operation to return the // next set of items in the list. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListDataSourcesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListDataSourcesOutput) SetDataSources(v []*DataSource) *ListDataSourcesOutput
SetDataSources sets the DataSources field's value.
func (s *ListDataSourcesOutput) SetNextToken(v string) *ListDataSourcesOutput
SetNextToken sets the NextToken field's value.
func (s ListDataSourcesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListDomainNamesInput struct { // The maximum number of results that you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which you can use to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListDomainNamesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListDomainNamesInput) SetMaxResults(v int64) *ListDomainNamesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListDomainNamesInput) SetNextToken(v string) *ListDomainNamesInput
SetNextToken sets the NextToken field's value.
func (s ListDomainNamesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListDomainNamesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListDomainNamesOutput struct { // Lists configurations for multiple domain names. DomainNameConfigs []*DomainNameConfig `locationName:"domainNameConfigs" type:"list"` // An identifier that was returned from the previous call to this operation, // which you can use to return the next set of items in the list. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListDomainNamesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListDomainNamesOutput) SetDomainNameConfigs(v []*DomainNameConfig) *ListDomainNamesOutput
SetDomainNameConfigs sets the DomainNameConfigs field's value.
func (s *ListDomainNamesOutput) SetNextToken(v string) *ListDomainNamesOutput
SetNextToken sets the NextToken field's value.
func (s ListDomainNamesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListFunctionsInput struct { // The GraphQL API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The maximum number of results that you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which you can use to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListFunctionsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListFunctionsInput) SetApiId(v string) *ListFunctionsInput
SetApiId sets the ApiId field's value.
func (s *ListFunctionsInput) SetMaxResults(v int64) *ListFunctionsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListFunctionsInput) SetNextToken(v string) *ListFunctionsInput
SetNextToken sets the NextToken field's value.
func (s ListFunctionsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListFunctionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListFunctionsOutput struct { // A list of Function objects. Functions []*FunctionConfiguration `locationName:"functions" type:"list"` // An identifier that was returned from the previous call to this operation, // which you can use to return the next set of items in the list. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListFunctionsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListFunctionsOutput) SetFunctions(v []*FunctionConfiguration) *ListFunctionsOutput
SetFunctions sets the Functions field's value.
func (s *ListFunctionsOutput) SetNextToken(v string) *ListFunctionsOutput
SetNextToken sets the NextToken field's value.
func (s ListFunctionsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListGraphqlApisInput struct { // The value that indicates whether the GraphQL API is a standard API (GRAPHQL) // or merged API (MERGED). ApiType *string `location:"querystring" locationName:"apiType" type:"string" enum:"GraphQLApiType"` // The maximum number of results that you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which you can use to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // The account owner of the GraphQL API. Owner *string `location:"querystring" locationName:"owner" type:"string" enum:"Ownership"` // contains filtered or unexported fields }
func (s ListGraphqlApisInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListGraphqlApisInput) SetApiType(v string) *ListGraphqlApisInput
SetApiType sets the ApiType field's value.
func (s *ListGraphqlApisInput) SetMaxResults(v int64) *ListGraphqlApisInput
SetMaxResults sets the MaxResults field's value.
func (s *ListGraphqlApisInput) SetNextToken(v string) *ListGraphqlApisInput
SetNextToken sets the NextToken field's value.
func (s *ListGraphqlApisInput) SetOwner(v string) *ListGraphqlApisInput
SetOwner sets the Owner field's value.
func (s ListGraphqlApisInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListGraphqlApisInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListGraphqlApisOutput struct { // The GraphqlApi objects. GraphqlApis []*GraphqlApi `locationName:"graphqlApis" type:"list"` // An identifier to pass in the next request to this operation to return the // next set of items in the list. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListGraphqlApisOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListGraphqlApisOutput) SetGraphqlApis(v []*GraphqlApi) *ListGraphqlApisOutput
SetGraphqlApis sets the GraphqlApis field's value.
func (s *ListGraphqlApisOutput) SetNextToken(v string) *ListGraphqlApisOutput
SetNextToken sets the NextToken field's value.
func (s ListGraphqlApisOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListResolversByFunctionInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The function ID. // // FunctionId is a required field FunctionId *string `location:"uri" locationName:"functionId" type:"string" required:"true"` // The maximum number of results that you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which you can use to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListResolversByFunctionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListResolversByFunctionInput) SetApiId(v string) *ListResolversByFunctionInput
SetApiId sets the ApiId field's value.
func (s *ListResolversByFunctionInput) SetFunctionId(v string) *ListResolversByFunctionInput
SetFunctionId sets the FunctionId field's value.
func (s *ListResolversByFunctionInput) SetMaxResults(v int64) *ListResolversByFunctionInput
SetMaxResults sets the MaxResults field's value.
func (s *ListResolversByFunctionInput) SetNextToken(v string) *ListResolversByFunctionInput
SetNextToken sets the NextToken field's value.
func (s ListResolversByFunctionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListResolversByFunctionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListResolversByFunctionOutput struct { // An identifier that you can use to return the next set of items in the list. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The list of resolvers. Resolvers []*Resolver `locationName:"resolvers" type:"list"` // contains filtered or unexported fields }
func (s ListResolversByFunctionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListResolversByFunctionOutput) SetNextToken(v string) *ListResolversByFunctionOutput
SetNextToken sets the NextToken field's value.
func (s *ListResolversByFunctionOutput) SetResolvers(v []*Resolver) *ListResolversByFunctionOutput
SetResolvers sets the Resolvers field's value.
func (s ListResolversByFunctionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 that you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which you can use to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // The type name. // // TypeName is a required field TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` // contains filtered or unexported fields }
func (s ListResolversInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListResolversInput) SetApiId(v string) *ListResolversInput
SetApiId sets the ApiId field's value.
func (s *ListResolversInput) SetMaxResults(v int64) *ListResolversInput
SetMaxResults sets the MaxResults field's value.
func (s *ListResolversInput) SetNextToken(v string) *ListResolversInput
SetNextToken sets the NextToken field's value.
func (s *ListResolversInput) SetTypeName(v string) *ListResolversInput
SetTypeName sets the TypeName field's value.
func (s ListResolversInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListResolversInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListResolversOutput struct { // An identifier to pass in the next request to this operation to return the // next set of items in the list. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The Resolver objects. Resolvers []*Resolver `locationName:"resolvers" type:"list"` // contains filtered or unexported fields }
func (s ListResolversOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListResolversOutput) SetNextToken(v string) *ListResolversOutput
SetNextToken sets the NextToken field's value.
func (s *ListResolversOutput) SetResolvers(v []*Resolver) *ListResolversOutput
SetResolvers sets the Resolvers field's value.
func (s ListResolversOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListSourceApiAssociationsInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The maximum number of results that you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which you can use to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListSourceApiAssociationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListSourceApiAssociationsInput) SetApiId(v string) *ListSourceApiAssociationsInput
SetApiId sets the ApiId field's value.
func (s *ListSourceApiAssociationsInput) SetMaxResults(v int64) *ListSourceApiAssociationsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListSourceApiAssociationsInput) SetNextToken(v string) *ListSourceApiAssociationsInput
SetNextToken sets the NextToken field's value.
func (s ListSourceApiAssociationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListSourceApiAssociationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListSourceApiAssociationsOutput struct { // An identifier that was returned from the previous call to this operation, // which you can use to return the next set of items in the list. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The SourceApiAssociationSummary object data. SourceApiAssociationSummaries []*SourceApiAssociationSummary `locationName:"sourceApiAssociationSummaries" type:"list"` // contains filtered or unexported fields }
func (s ListSourceApiAssociationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListSourceApiAssociationsOutput) SetNextToken(v string) *ListSourceApiAssociationsOutput
SetNextToken sets the NextToken field's value.
func (s *ListSourceApiAssociationsOutput) SetSourceApiAssociationSummaries(v []*SourceApiAssociationSummary) *ListSourceApiAssociationsOutput
SetSourceApiAssociationSummaries sets the SourceApiAssociationSummaries field's value.
func (s ListSourceApiAssociationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTagsForResourceInput struct { // The GraphqlApi Amazon Resource Name (ARN). // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" min:"70" type:"string" required:"true"` // contains filtered or unexported fields }
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s ListTagsForResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput struct { // A TagMap object. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (s ListTagsForResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTypesByAssociationInput struct { // The ID generated by the AppSync service for the source API association. // // AssociationId is a required field AssociationId *string `location:"uri" locationName:"associationId" type:"string" required:"true"` // The format type. // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"TypeDefinitionFormat"` // The maximum number of results that you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // The identifier of the AppSync Merged API. This is generated by the AppSync // service. In most cases, Merged APIs (especially in your account) only require // the API ID value or ARN of the merged API. However, Merged APIs in other // accounts (cross-account use cases) strictly require the full resource ARN // of the merged API. // // MergedApiIdentifier is a required field MergedApiIdentifier *string `location:"uri" locationName:"mergedApiIdentifier" type:"string" required:"true"` // An identifier that was returned from the previous call to this operation, // which you can use to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListTypesByAssociationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTypesByAssociationInput) SetAssociationId(v string) *ListTypesByAssociationInput
SetAssociationId sets the AssociationId field's value.
func (s *ListTypesByAssociationInput) SetFormat(v string) *ListTypesByAssociationInput
SetFormat sets the Format field's value.
func (s *ListTypesByAssociationInput) SetMaxResults(v int64) *ListTypesByAssociationInput
SetMaxResults sets the MaxResults field's value.
func (s *ListTypesByAssociationInput) SetMergedApiIdentifier(v string) *ListTypesByAssociationInput
SetMergedApiIdentifier sets the MergedApiIdentifier field's value.
func (s *ListTypesByAssociationInput) SetNextToken(v string) *ListTypesByAssociationInput
SetNextToken sets the NextToken field's value.
func (s ListTypesByAssociationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTypesByAssociationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTypesByAssociationOutput struct { // An identifier that was returned from the previous call to this operation, // which you can use to return the next set of items in the list. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The Type objects. Types []*Type `locationName:"types" type:"list"` // contains filtered or unexported fields }
func (s ListTypesByAssociationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTypesByAssociationOutput) SetNextToken(v string) *ListTypesByAssociationOutput
SetNextToken sets the NextToken field's value.
func (s *ListTypesByAssociationOutput) SetTypes(v []*Type) *ListTypesByAssociationOutput
SetTypes sets the Types field's value.
func (s ListTypesByAssociationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTypesInput struct { // The API ID. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The type format: SDL or JSON. // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"TypeDefinitionFormat"` // The maximum number of results that you want the request to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // An identifier that was returned from the previous call to this operation, // which you can use to return the next set of items in the list. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListTypesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTypesInput) SetApiId(v string) *ListTypesInput
SetApiId sets the ApiId field's value.
func (s *ListTypesInput) SetFormat(v string) *ListTypesInput
SetFormat sets the Format field's value.
func (s *ListTypesInput) SetMaxResults(v int64) *ListTypesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListTypesInput) SetNextToken(v string) *ListTypesInput
SetNextToken sets the NextToken field's value.
func (s ListTypesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTypesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTypesOutput struct { // An identifier to pass in the next request to this operation to return the // next set of items in the list. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The Type objects. Types []*Type `locationName:"types" type:"list"` // contains filtered or unexported fields }
func (s ListTypesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTypesOutput) SetNextToken(v string) *ListTypesOutput
SetNextToken sets the NextToken field's value.
func (s *ListTypesOutput) SetTypes(v []*Type) *ListTypesOutput
SetTypes sets the Types field's value.
func (s ListTypesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LogConfig struct { // The service role that AppSync assumes to publish to CloudWatch logs in your // account. // // CloudWatchLogsRoleArn is a required field CloudWatchLogsRoleArn *string `locationName:"cloudWatchLogsRoleArn" type:"string" required:"true"` // Set to TRUE to exclude sections that contain information such as headers, // context, and evaluated mapping templates, regardless of logging level. ExcludeVerboseContent *bool `locationName:"excludeVerboseContent" type:"boolean"` // The field logging level. Values can be NONE, ERROR, or ALL. // // * NONE: No field-level logs are captured. // // * ERROR: Logs the following information only for the fields that are in // error: The error section in the server response. Field-level errors. The // generated request/response functions that got resolved for error fields. // // * ALL: The following information is logged for all fields in the query: // Field-level tracing information. The generated request/response functions // that got resolved for each field. // // FieldLogLevel is a required field FieldLogLevel *string `locationName:"fieldLogLevel" type:"string" required:"true" enum:"FieldLogLevel"` // contains filtered or unexported fields }
The Amazon CloudWatch Logs configuration.
func (s LogConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *LogConfig) SetCloudWatchLogsRoleArn(v string) *LogConfig
SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value.
func (s *LogConfig) SetExcludeVerboseContent(v bool) *LogConfig
SetExcludeVerboseContent sets the ExcludeVerboseContent field's value.
func (s *LogConfig) SetFieldLogLevel(v string) *LogConfig
SetFieldLogLevel sets the FieldLogLevel field's value.
func (s LogConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *LogConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The resource specified in the request was not found. Check the resource, and then try again.
func (s *NotFoundException) Code() string
Code returns the exception type name.
func (s *NotFoundException) Error() string
func (s NotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NotFoundException) Message() string
Message returns the exception's message.
func (s *NotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *NotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *NotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s NotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type OpenIDConnectConfig struct { // The number of milliseconds that a token is valid after being authenticated. AuthTTL *int64 `locationName:"authTTL" type:"long"` // The client identifier of the relying party at the OpenID identity provider. // This identifier is typically obtained when the relying party is registered // with the OpenID identity provider. You can specify a regular expression so // that AppSync can validate against multiple client identifiers at a time. ClientId *string `locationName:"clientId" type:"string"` // The number of milliseconds that a token is valid after it's issued to a user. IatTTL *int64 `locationName:"iatTTL" type:"long"` // The issuer for the OIDC configuration. The issuer returned by discovery must // exactly match the value of iss in the ID token. // // Issuer is a required field Issuer *string `locationName:"issuer" type:"string" required:"true"` // contains filtered or unexported fields }
Describes an OpenID Connect (OIDC) configuration.
func (s OpenIDConnectConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *OpenIDConnectConfig) SetAuthTTL(v int64) *OpenIDConnectConfig
SetAuthTTL sets the AuthTTL field's value.
func (s *OpenIDConnectConfig) SetClientId(v string) *OpenIDConnectConfig
SetClientId sets the ClientId field's value.
func (s *OpenIDConnectConfig) SetIatTTL(v int64) *OpenIDConnectConfig
SetIatTTL sets the IatTTL field's value.
func (s *OpenIDConnectConfig) SetIssuer(v string) *OpenIDConnectConfig
SetIssuer sets the Issuer field's value.
func (s OpenIDConnectConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *OpenIDConnectConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type OpenSearchServiceDataSourceConfig struct { // The Amazon Web Services 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 OpenSearch data source configuration.
func (s OpenSearchServiceDataSourceConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *OpenSearchServiceDataSourceConfig) SetAwsRegion(v string) *OpenSearchServiceDataSourceConfig
SetAwsRegion sets the AwsRegion field's value.
func (s *OpenSearchServiceDataSourceConfig) SetEndpoint(v string) *OpenSearchServiceDataSourceConfig
SetEndpoint sets the Endpoint field's value.
func (s OpenSearchServiceDataSourceConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *OpenSearchServiceDataSourceConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PipelineConfig struct { // A list of Function objects. Functions []*string `locationName:"functions" type:"list"` // contains filtered or unexported fields }
The pipeline configuration for a resolver of kind PIPELINE.
func (s PipelineConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PipelineConfig) SetFunctions(v []*string) *PipelineConfig
SetFunctions sets the Functions field's value.
func (s PipelineConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutGraphqlApiEnvironmentVariablesInput struct { // The ID of the API to which the environmental variable list will be written. // // ApiId is a required field ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` // The list of environmental variables to add to the API. // // When creating an environmental variable key-value pair, it must follow the // additional constraints below: // // * Keys must begin with a letter. // // * Keys must be at least two characters long. // // * Keys can only contain letters, numbers, and the underscore character // (_). // // * Values can be up to 512 characters long. // // * You can configure up to 50 key-value pairs in a GraphQL API. // // You can create a list of environmental variables by adding it to the environmentVariables // payload as a list in the format {"key1":"value1","key2":"value2", …}. Note // that each call of the PutGraphqlApiEnvironmentVariables action will result // in the overwriting of the existing environmental variable list of that API. // This means the existing environmental variables will be lost. To avoid this, // you must include all existing and new environmental variables in the list // each time you call this action. // // EnvironmentVariables is a required field EnvironmentVariables map[string]*string `locationName:"environmentVariables" type:"map" required:"true"` // contains filtered or unexported fields }
func (s PutGraphqlApiEnvironmentVariablesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PutGraphqlApiEnvironmentVariablesInput) SetApiId(v string) *PutGraphqlApiEnvironmentVariablesInput
SetApiId sets the ApiId field's value.
func (s *PutGraphqlApiEnvironmentVariablesInput) SetEnvironmentVariables(v map[string]*string) *PutGraphqlApiEnvironmentVariablesInput
SetEnvironmentVariables sets the EnvironmentVariables field's value.
func (s PutGraphqlApiEnvironmentVariablesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PutGraphqlApiEnvironmentVariablesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutGraphqlApiEnvironmentVariablesOutput struct { // The payload containing each environmental variable in the "key" : "value" // format. EnvironmentVariables map[string]*string `locationName:"environmentVariables" type:"map"` // contains filtered or unexported fields }
func (s PutGraphqlApiEnvironmentVariablesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PutGraphqlApiEnvironmentVariablesOutput) SetEnvironmentVariables(v map[string]*string) *PutGraphqlApiEnvironmentVariablesOutput
SetEnvironmentVariables sets the EnvironmentVariables field's value.
func (s