appsync

package
v1.55.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 10 Imported by: 74

Documentation

Overview

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

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

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

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

Using the Client

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

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

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

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

Index

Constants

View Source
const (
	// ApiCacheStatusAvailable is a ApiCacheStatus enum value
	ApiCacheStatusAvailable = "AVAILABLE"

	// ApiCacheStatusCreating is a ApiCacheStatus enum value
	ApiCacheStatusCreating = "CREATING"

	// ApiCacheStatusDeleting is a ApiCacheStatus enum value
	ApiCacheStatusDeleting = "DELETING"

	// ApiCacheStatusModifying is a ApiCacheStatus enum value
	ApiCacheStatusModifying = "MODIFYING"

	// ApiCacheStatusFailed is a ApiCacheStatus enum value
	ApiCacheStatusFailed = "FAILED"
)
View Source
const (
	// ApiCacheTypeT2Small is a ApiCacheType enum value
	ApiCacheTypeT2Small = "T2_SMALL"

	// ApiCacheTypeT2Medium is a ApiCacheType enum value
	ApiCacheTypeT2Medium = "T2_MEDIUM"

	// ApiCacheTypeR4Large is a ApiCacheType enum value
	ApiCacheTypeR4Large = "R4_LARGE"

	// ApiCacheTypeR4Xlarge is a ApiCacheType enum value
	ApiCacheTypeR4Xlarge = "R4_XLARGE"

	// ApiCacheTypeR42xlarge is a ApiCacheType enum value
	ApiCacheTypeR42xlarge = "R4_2XLARGE"

	// ApiCacheTypeR44xlarge is a ApiCacheType enum value
	ApiCacheTypeR44xlarge = "R4_4XLARGE"

	// ApiCacheTypeR48xlarge is a ApiCacheType enum value
	ApiCacheTypeR48xlarge = "R4_8XLARGE"

	// ApiCacheTypeSmall is a ApiCacheType enum value
	ApiCacheTypeSmall = "SMALL"

	// ApiCacheTypeMedium is a ApiCacheType enum value
	ApiCacheTypeMedium = "MEDIUM"

	// ApiCacheTypeLarge is a ApiCacheType enum value
	ApiCacheTypeLarge = "LARGE"

	// ApiCacheTypeXlarge is a ApiCacheType enum value
	ApiCacheTypeXlarge = "XLARGE"

	// ApiCacheTypeLarge2x is a ApiCacheType enum value
	ApiCacheTypeLarge2x = "LARGE_2X"

	// ApiCacheTypeLarge4x is a ApiCacheType enum value
	ApiCacheTypeLarge4x = "LARGE_4X"

	// ApiCacheTypeLarge8x is a ApiCacheType enum value
	ApiCacheTypeLarge8x = "LARGE_8X"

	// ApiCacheTypeLarge12x is a ApiCacheType enum value
	ApiCacheTypeLarge12x = "LARGE_12X"
)
View Source
const (
	// ApiCachingBehaviorFullRequestCaching is a ApiCachingBehavior enum value
	ApiCachingBehaviorFullRequestCaching = "FULL_REQUEST_CACHING"

	// ApiCachingBehaviorPerResolverCaching is a ApiCachingBehavior enum value
	ApiCachingBehaviorPerResolverCaching = "PER_RESOLVER_CACHING"
)
View Source
const (
	// AssociationStatusProcessing is a AssociationStatus enum value
	AssociationStatusProcessing = "PROCESSING"

	// AssociationStatusFailed is a AssociationStatus enum value
	AssociationStatusFailed = "FAILED"

	// AssociationStatusSuccess is a AssociationStatus enum value
	AssociationStatusSuccess = "SUCCESS"
)
View Source
const (
	// AuthenticationTypeApiKey is a AuthenticationType enum value
	AuthenticationTypeApiKey = "API_KEY"

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

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

	// AuthenticationTypeOpenidConnect is a AuthenticationType enum value
	AuthenticationTypeOpenidConnect = "OPENID_CONNECT"

	// AuthenticationTypeAwsLambda is a AuthenticationType enum value
	AuthenticationTypeAwsLambda = "AWS_LAMBDA"
)
View Source
const (
	// CacheHealthMetricsConfigEnabled is a CacheHealthMetricsConfig enum value
	CacheHealthMetricsConfigEnabled = "ENABLED"

	// CacheHealthMetricsConfigDisabled is a CacheHealthMetricsConfig enum value
	CacheHealthMetricsConfigDisabled = "DISABLED"
)
View Source
const (
	// ConflictDetectionTypeVersion is a ConflictDetectionType enum value
	ConflictDetectionTypeVersion = "VERSION"

	// ConflictDetectionTypeNone is a ConflictDetectionType enum value
	ConflictDetectionTypeNone = "NONE"
)
View Source
const (
	// ConflictHandlerTypeOptimisticConcurrency is a ConflictHandlerType enum value
	ConflictHandlerTypeOptimisticConcurrency = "OPTIMISTIC_CONCURRENCY"

	// ConflictHandlerTypeLambda is a ConflictHandlerType enum value
	ConflictHandlerTypeLambda = "LAMBDA"

	// ConflictHandlerTypeAutomerge is a ConflictHandlerType enum value
	ConflictHandlerTypeAutomerge = "AUTOMERGE"

	// ConflictHandlerTypeNone is a ConflictHandlerType enum value
	ConflictHandlerTypeNone = "NONE"
)
View Source
const (
	// DataSourceIntrospectionStatusProcessing is a DataSourceIntrospectionStatus enum value
	DataSourceIntrospectionStatusProcessing = "PROCESSING"

	// DataSourceIntrospectionStatusFailed is a DataSourceIntrospectionStatus enum value
	DataSourceIntrospectionStatusFailed = "FAILED"

	// DataSourceIntrospectionStatusSuccess is a DataSourceIntrospectionStatus enum value
	DataSourceIntrospectionStatusSuccess = "SUCCESS"
)
View Source
const (
	// DataSourceLevelMetricsBehaviorFullRequestDataSourceMetrics is a DataSourceLevelMetricsBehavior enum value
	DataSourceLevelMetricsBehaviorFullRequestDataSourceMetrics = "FULL_REQUEST_DATA_SOURCE_METRICS"

	// DataSourceLevelMetricsBehaviorPerDataSourceMetrics is a DataSourceLevelMetricsBehavior enum value
	DataSourceLevelMetricsBehaviorPerDataSourceMetrics = "PER_DATA_SOURCE_METRICS"
)
View Source
const (
	// DataSourceLevelMetricsConfigEnabled is a DataSourceLevelMetricsConfig enum value
	DataSourceLevelMetricsConfigEnabled = "ENABLED"

	// DataSourceLevelMetricsConfigDisabled is a DataSourceLevelMetricsConfig enum value
	DataSourceLevelMetricsConfigDisabled = "DISABLED"
)
View Source
const (
	// DataSourceTypeAwsLambda is a DataSourceType enum value
	DataSourceTypeAwsLambda = "AWS_LAMBDA"

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

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

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

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

	// DataSourceTypeRelationalDatabase is a DataSourceType enum value
	DataSourceTypeRelationalDatabase = "RELATIONAL_DATABASE"

	// DataSourceTypeAmazonOpensearchService is a DataSourceType enum value
	DataSourceTypeAmazonOpensearchService = "AMAZON_OPENSEARCH_SERVICE"

	// DataSourceTypeAmazonEventbridge is a DataSourceType enum value
	DataSourceTypeAmazonEventbridge = "AMAZON_EVENTBRIDGE"
)
View Source
const (
	// DefaultActionAllow is a DefaultAction enum value
	DefaultActionAllow = "ALLOW"

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

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

	// FieldLogLevelAll is a FieldLogLevel enum value
	FieldLogLevelAll = "ALL"
)
View Source
const (
	// GraphQLApiIntrospectionConfigEnabled is a GraphQLApiIntrospectionConfig enum value
	GraphQLApiIntrospectionConfigEnabled = "ENABLED"

	// GraphQLApiIntrospectionConfigDisabled is a GraphQLApiIntrospectionConfig enum value
	GraphQLApiIntrospectionConfigDisabled = "DISABLED"
)
View Source
const (
	// GraphQLApiTypeGraphql is a GraphQLApiType enum value
	GraphQLApiTypeGraphql = "GRAPHQL"

	// GraphQLApiTypeMerged is a GraphQLApiType enum value
	GraphQLApiTypeMerged = "MERGED"
)
View Source
const (
	// GraphQLApiVisibilityGlobal is a GraphQLApiVisibility enum value
	GraphQLApiVisibilityGlobal = "GLOBAL"

	// GraphQLApiVisibilityPrivate is a GraphQLApiVisibility enum value
	GraphQLApiVisibilityPrivate = "PRIVATE"
)
View Source
const (
	// MergeTypeManualMerge is a MergeType enum value
	MergeTypeManualMerge = "MANUAL_MERGE"

	// MergeTypeAutoMerge is a MergeType enum value
	MergeTypeAutoMerge = "AUTO_MERGE"
)
View Source
const (
	// OperationLevelMetricsConfigEnabled is a OperationLevelMetricsConfig enum value
	OperationLevelMetricsConfigEnabled = "ENABLED"

	// OperationLevelMetricsConfigDisabled is a OperationLevelMetricsConfig enum value
	OperationLevelMetricsConfigDisabled = "DISABLED"
)
View Source
const (
	// OutputTypeSdl is a OutputType enum value
	OutputTypeSdl = "SDL"

	// OutputTypeJson is a OutputType enum value
	OutputTypeJson = "JSON"
)
View Source
const (
	// OwnershipCurrentAccount is a Ownership enum value
	OwnershipCurrentAccount = "CURRENT_ACCOUNT"

	// OwnershipOtherAccounts is a Ownership enum value
	OwnershipOtherAccounts = "OTHER_ACCOUNTS"
)
View Source
const (
	// ResolverKindUnit is a ResolverKind enum value
	ResolverKindUnit = "UNIT"

	// ResolverKindPipeline is a ResolverKind enum value
	ResolverKindPipeline = "PIPELINE"
)
View Source
const (
	// ResolverLevelMetricsBehaviorFullRequestResolverMetrics is a ResolverLevelMetricsBehavior enum value
	ResolverLevelMetricsBehaviorFullRequestResolverMetrics = "FULL_REQUEST_RESOLVER_METRICS"

	// ResolverLevelMetricsBehaviorPerResolverMetrics is a ResolverLevelMetricsBehavior enum value
	ResolverLevelMetricsBehaviorPerResolverMetrics = "PER_RESOLVER_METRICS"
)
View Source
const (
	// ResolverLevelMetricsConfigEnabled is a ResolverLevelMetricsConfig enum value
	ResolverLevelMetricsConfigEnabled = "ENABLED"

	// ResolverLevelMetricsConfigDisabled is a ResolverLevelMetricsConfig enum value
	ResolverLevelMetricsConfigDisabled = "DISABLED"
)
View Source
const (
	// SchemaStatusProcessing is a SchemaStatus enum value
	SchemaStatusProcessing = "PROCESSING"

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

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

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

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

	// SchemaStatusNotApplicable is a SchemaStatus enum value
	SchemaStatusNotApplicable = "NOT_APPLICABLE"
)
View Source
const (
	// SourceApiAssociationStatusMergeScheduled is a SourceApiAssociationStatus enum value
	SourceApiAssociationStatusMergeScheduled = "MERGE_SCHEDULED"

	// SourceApiAssociationStatusMergeFailed is a SourceApiAssociationStatus enum value
	SourceApiAssociationStatusMergeFailed = "MERGE_FAILED"

	// SourceApiAssociationStatusMergeSuccess is a SourceApiAssociationStatus enum value
	SourceApiAssociationStatusMergeSuccess = "MERGE_SUCCESS"

	// SourceApiAssociationStatusMergeInProgress is a SourceApiAssociationStatus enum value
	SourceApiAssociationStatusMergeInProgress = "MERGE_IN_PROGRESS"

	// SourceApiAssociationStatusAutoMergeScheduleFailed is a SourceApiAssociationStatus enum value
	SourceApiAssociationStatusAutoMergeScheduleFailed = "AUTO_MERGE_SCHEDULE_FAILED"

	// SourceApiAssociationStatusDeletionScheduled is a SourceApiAssociationStatus enum value
	SourceApiAssociationStatusDeletionScheduled = "DELETION_SCHEDULED"

	// SourceApiAssociationStatusDeletionInProgress is a SourceApiAssociationStatus enum value
	SourceApiAssociationStatusDeletionInProgress = "DELETION_IN_PROGRESS"

	// SourceApiAssociationStatusDeletionFailed is a SourceApiAssociationStatus enum value
	SourceApiAssociationStatusDeletionFailed = "DELETION_FAILED"
)
View Source
const (
	// TypeDefinitionFormatSdl is a TypeDefinitionFormat enum value
	TypeDefinitionFormatSdl = "SDL"

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

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

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

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

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

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

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

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

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

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

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

	// ErrCodeUnauthorizedException for service response error code
	// "UnauthorizedException".
	//
	// You aren't authorized to perform this operation.
	ErrCodeUnauthorizedException = "UnauthorizedException"
)
View Source
const (
	ServiceName = "appsync"   // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "AppSync"   // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// AuthorizationTypeAwsIam is a AuthorizationType enum value
	AuthorizationTypeAwsIam = "AWS_IAM"
)
View Source
const (
	// BadRequestReasonCodeError is a BadRequestReason enum value
	BadRequestReasonCodeError = "CODE_ERROR"
)

Provides context for the cause of the bad request. The only supported value is CODE_ERROR.

View Source
const (
	// RelationalDatabaseSourceTypeRdsHttpEndpoint is a RelationalDatabaseSourceType enum value
	RelationalDatabaseSourceTypeRdsHttpEndpoint = "RDS_HTTP_ENDPOINT"
)
View Source
const (
	// RuntimeNameAppsyncJs is a RuntimeName enum value
	RuntimeNameAppsyncJs = "APPSYNC_JS"
)

Variables

This section is empty.

Functions

func ApiCacheStatus_Values added in v1.34.3

func ApiCacheStatus_Values() []string

ApiCacheStatus_Values returns all elements of the ApiCacheStatus enum

func ApiCacheType_Values added in v1.34.3

func ApiCacheType_Values() []string

ApiCacheType_Values returns all elements of the ApiCacheType enum

func ApiCachingBehavior_Values added in v1.34.3

func ApiCachingBehavior_Values() []string

ApiCachingBehavior_Values returns all elements of the ApiCachingBehavior enum

func AssociationStatus_Values added in v1.42.20

func AssociationStatus_Values() []string

AssociationStatus_Values returns all elements of the AssociationStatus enum

func AuthenticationType_Values added in v1.34.3

func AuthenticationType_Values() []string

AuthenticationType_Values returns all elements of the AuthenticationType enum

func AuthorizationType_Values added in v1.34.3

func AuthorizationType_Values() []string

AuthorizationType_Values returns all elements of the AuthorizationType enum

func BadRequestReason_Values added in v1.44.140

func BadRequestReason_Values() []string

BadRequestReason_Values returns all elements of the BadRequestReason enum

func CacheHealthMetricsConfig_Values added in v1.50.16

func CacheHealthMetricsConfig_Values() []string

CacheHealthMetricsConfig_Values returns all elements of the CacheHealthMetricsConfig enum

func ConflictDetectionType_Values added in v1.34.3

func ConflictDetectionType_Values() []string

ConflictDetectionType_Values returns all elements of the ConflictDetectionType enum

func ConflictHandlerType_Values added in v1.34.3

func ConflictHandlerType_Values() []string

ConflictHandlerType_Values returns all elements of the ConflictHandlerType enum

func DataSourceIntrospectionStatus_Values added in v1.48.5

func DataSourceIntrospectionStatus_Values() []string

DataSourceIntrospectionStatus_Values returns all elements of the DataSourceIntrospectionStatus enum

func DataSourceLevelMetricsBehavior_Values added in v1.50.16

func DataSourceLevelMetricsBehavior_Values() []string

DataSourceLevelMetricsBehavior_Values returns all elements of the DataSourceLevelMetricsBehavior enum

func DataSourceLevelMetricsConfig_Values added in v1.50.16

func DataSourceLevelMetricsConfig_Values() []string

DataSourceLevelMetricsConfig_Values returns all elements of the DataSourceLevelMetricsConfig enum

func DataSourceType_Values added in v1.34.3

func DataSourceType_Values() []string

DataSourceType_Values returns all elements of the DataSourceType enum

func DefaultAction_Values added in v1.34.3

func DefaultAction_Values() []string

DefaultAction_Values returns all elements of the DefaultAction enum

func FieldLogLevel_Values added in v1.34.3

func FieldLogLevel_Values() []string

FieldLogLevel_Values returns all elements of the FieldLogLevel enum

func GraphQLApiIntrospectionConfig_Values added in v1.49.6

func GraphQLApiIntrospectionConfig_Values() []string

GraphQLApiIntrospectionConfig_Values returns all elements of the GraphQLApiIntrospectionConfig enum

func GraphQLApiType_Values added in v1.44.269

func GraphQLApiType_Values() []string

GraphQLApiType_Values returns all elements of the GraphQLApiType enum

func GraphQLApiVisibility_Values added in v1.44.256

func GraphQLApiVisibility_Values() []string

GraphQLApiVisibility_Values returns all elements of the GraphQLApiVisibility enum

func MergeType_Values added in v1.44.269

func MergeType_Values() []string

MergeType_Values returns all elements of the MergeType enum

func OperationLevelMetricsConfig_Values added in v1.50.16

func OperationLevelMetricsConfig_Values() []string

OperationLevelMetricsConfig_Values returns all elements of the OperationLevelMetricsConfig enum

func OutputType_Values added in v1.34.3

func OutputType_Values() []string

OutputType_Values returns all elements of the OutputType enum

func Ownership_Values added in v1.44.269

func Ownership_Values() []string

Ownership_Values returns all elements of the Ownership enum

func RelationalDatabaseSourceType_Values added in v1.34.3

func RelationalDatabaseSourceType_Values() []string

RelationalDatabaseSourceType_Values returns all elements of the RelationalDatabaseSourceType enum

func ResolverKind_Values added in v1.34.3

func ResolverKind_Values() []string

ResolverKind_Values returns all elements of the ResolverKind enum

func ResolverLevelMetricsBehavior_Values added in v1.50.16

func ResolverLevelMetricsBehavior_Values() []string

ResolverLevelMetricsBehavior_Values returns all elements of the ResolverLevelMetricsBehavior enum

func ResolverLevelMetricsConfig_Values added in v1.50.16

func ResolverLevelMetricsConfig_Values() []string

ResolverLevelMetricsConfig_Values returns all elements of the ResolverLevelMetricsConfig enum

func RuntimeName_Values added in v1.44.140

func RuntimeName_Values() []string

RuntimeName_Values returns all elements of the RuntimeName enum

func SchemaStatus_Values added in v1.34.3

func SchemaStatus_Values() []string

SchemaStatus_Values returns all elements of the SchemaStatus enum

func SourceApiAssociationStatus_Values added in v1.44.269

func SourceApiAssociationStatus_Values() []string

SourceApiAssociationStatus_Values returns all elements of the SourceApiAssociationStatus enum

func TypeDefinitionFormat_Values added in v1.34.3

func TypeDefinitionFormat_Values() []string

TypeDefinitionFormat_Values returns all elements of the TypeDefinitionFormat enum

Types

type AccessDeniedException added in v1.28.0

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 (*AccessDeniedException) Code added in v1.28.0

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error added in v1.28.0

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString added in v1.28.0

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 (*AccessDeniedException) Message added in v1.28.0

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr added in v1.28.0

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID added in v1.28.0

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode added in v1.28.0

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String added in v1.28.0

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 added in v1.19.26

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 (AdditionalAuthenticationProvider) GoString added in v1.19.26

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 (*AdditionalAuthenticationProvider) SetAuthenticationType added in v1.19.26

SetAuthenticationType sets the AuthenticationType field's value.

func (*AdditionalAuthenticationProvider) SetLambdaAuthorizerConfig added in v1.40.12

SetLambdaAuthorizerConfig sets the LambdaAuthorizerConfig field's value.

func (*AdditionalAuthenticationProvider) SetOpenIDConnectConfig added in v1.19.26

SetOpenIDConnectConfig sets the OpenIDConnectConfig field's value.

func (*AdditionalAuthenticationProvider) SetUserPoolConfig added in v1.19.26

SetUserPoolConfig sets the UserPoolConfig field's value.

func (AdditionalAuthenticationProvider) String added in v1.19.26

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 (*AdditionalAuthenticationProvider) Validate added in v1.19.26

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

type ApiAssociation added in v1.42.20

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 (ApiAssociation) GoString added in v1.42.20

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 (*ApiAssociation) SetApiId added in v1.42.20

func (s *ApiAssociation) SetApiId(v string) *ApiAssociation

SetApiId sets the ApiId field's value.

func (*ApiAssociation) SetAssociationStatus added in v1.42.20

func (s *ApiAssociation) SetAssociationStatus(v string) *ApiAssociation

SetAssociationStatus sets the AssociationStatus field's value.

func (*ApiAssociation) SetDeploymentDetail added in v1.42.20

func (s *ApiAssociation) SetDeploymentDetail(v string) *ApiAssociation

SetDeploymentDetail sets the DeploymentDetail field's value.

func (*ApiAssociation) SetDomainName added in v1.42.20

func (s *ApiAssociation) SetDomainName(v string) *ApiAssociation

SetDomainName sets the DomainName field's value.

func (ApiAssociation) String added in v1.42.20

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 added in v1.25.40

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 (ApiCache) GoString added in v1.25.40

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 (*ApiCache) SetApiCachingBehavior added in v1.25.40

func (s *ApiCache) SetApiCachingBehavior(v string) *ApiCache

SetApiCachingBehavior sets the ApiCachingBehavior field's value.

func (*ApiCache) SetAtRestEncryptionEnabled added in v1.25.40

func (s *ApiCache) SetAtRestEncryptionEnabled(v bool) *ApiCache

SetAtRestEncryptionEnabled sets the AtRestEncryptionEnabled field's value.

func (*ApiCache) SetHealthMetricsConfig added in v1.50.16

func (s *ApiCache) SetHealthMetricsConfig(v string) *ApiCache

SetHealthMetricsConfig sets the HealthMetricsConfig field's value.

func (*ApiCache) SetStatus added in v1.25.40

func (s *ApiCache) SetStatus(v string) *ApiCache

SetStatus sets the Status field's value.

func (*ApiCache) SetTransitEncryptionEnabled added in v1.25.40

func (s *ApiCache) SetTransitEncryptionEnabled(v bool) *ApiCache

SetTransitEncryptionEnabled sets the TransitEncryptionEnabled field's value.

func (*ApiCache) SetTtl added in v1.25.40

func (s *ApiCache) SetTtl(v int64) *ApiCache

SetTtl sets the Ttl field's value.

func (*ApiCache) SetType added in v1.25.40

func (s *ApiCache) SetType(v string) *ApiCache

SetType sets the Type field's value.

func (ApiCache) String added in v1.25.40

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

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 (ApiKey) GoString

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 (*ApiKey) SetDeletes added in v1.35.1

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

SetDeletes sets the Deletes field's value.

func (*ApiKey) SetDescription

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

SetDescription sets the Description field's value.

func (*ApiKey) SetExpires

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

SetExpires sets the Expires field's value.

func (*ApiKey) SetId

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

SetId sets the Id field's value.

func (ApiKey) String

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 added in v1.28.0

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 (*ApiKeyLimitExceededException) Code added in v1.28.0

Code returns the exception type name.

func (*ApiKeyLimitExceededException) Error added in v1.28.0

func (ApiKeyLimitExceededException) GoString added in v1.28.0

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 (*ApiKeyLimitExceededException) Message added in v1.28.0

func (s *ApiKeyLimitExceededException) Message() string

Message returns the exception's message.

func (*ApiKeyLimitExceededException) OrigErr added in v1.28.0

func (s *ApiKeyLimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ApiKeyLimitExceededException) RequestID added in v1.28.0

func (s *ApiKeyLimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ApiKeyLimitExceededException) StatusCode added in v1.28.0

func (s *ApiKeyLimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ApiKeyLimitExceededException) String added in v1.28.0

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 added in v1.28.0

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 (*ApiKeyValidityOutOfBoundsException) Code added in v1.28.0

Code returns the exception type name.

func (*ApiKeyValidityOutOfBoundsException) Error added in v1.28.0

func (ApiKeyValidityOutOfBoundsException) GoString added in v1.28.0

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 (*ApiKeyValidityOutOfBoundsException) Message added in v1.28.0

Message returns the exception's message.

func (*ApiKeyValidityOutOfBoundsException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ApiKeyValidityOutOfBoundsException) RequestID added in v1.28.0

RequestID returns the service's response RequestID for request.

func (*ApiKeyValidityOutOfBoundsException) StatusCode added in v1.28.0

func (s *ApiKeyValidityOutOfBoundsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ApiKeyValidityOutOfBoundsException) String added in v1.28.0

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 added in v1.28.0

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 (*ApiLimitExceededException) Code added in v1.28.0

Code returns the exception type name.

func (*ApiLimitExceededException) Error added in v1.28.0

func (s *ApiLimitExceededException) Error() string

func (ApiLimitExceededException) GoString added in v1.28.0

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 (*ApiLimitExceededException) Message added in v1.28.0

func (s *ApiLimitExceededException) Message() string

Message returns the exception's message.

func (*ApiLimitExceededException) OrigErr added in v1.28.0

func (s *ApiLimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ApiLimitExceededException) RequestID added in v1.28.0

func (s *ApiLimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ApiLimitExceededException) StatusCode added in v1.28.0

func (s *ApiLimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ApiLimitExceededException) String added in v1.28.0

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

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

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 (*AppSync) AssociateApi added in v1.42.20

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 (*AppSync) AssociateApiRequest added in v1.42.20

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 (*AppSync) AssociateApiWithContext added in v1.42.20

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 (*AppSync) AssociateMergedGraphqlApi added in v1.44.269

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 (*AppSync) AssociateMergedGraphqlApiRequest added in v1.44.269

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 (*AppSync) AssociateMergedGraphqlApiWithContext added in v1.44.269

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 (*AppSync) AssociateSourceGraphqlApi added in v1.44.269

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 (*AppSync) AssociateSourceGraphqlApiRequest added in v1.44.269

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 (*AppSync) AssociateSourceGraphqlApiWithContext added in v1.44.269

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 (*AppSync) CreateApiCache added in v1.25.40

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 (*AppSync) CreateApiCacheRequest added in v1.25.40

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 (*AppSync) CreateApiCacheWithContext added in v1.25.40

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 (*AppSync) CreateApiKey

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 (*AppSync) CreateApiKeyRequest

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

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

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

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

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

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

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

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

func (*AppSync) CreateApiKeyWithContext

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

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

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

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

func (*AppSync) CreateDataSource

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 (*AppSync) CreateDataSourceRequest

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

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

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

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

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

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

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

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

func (*AppSync) CreateDataSourceWithContext

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

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

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

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

func (*AppSync) CreateDomainName added in v1.42.20

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 (*AppSync) CreateDomainNameRequest added in v1.42.20

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 (*AppSync) CreateDomainNameWithContext added in v1.42.20

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 (*AppSync) CreateFunction added in v1.15.80

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 (*AppSync) CreateFunctionRequest added in v1.15.80

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

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

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

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

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

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

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

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

func (*AppSync) CreateFunctionWithContext added in v1.15.80

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

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

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

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

func (*AppSync) CreateGraphqlApi

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 (*AppSync) CreateGraphqlApiRequest

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

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

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

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

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

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

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

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

func (*AppSync) CreateGraphqlApiWithContext

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

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

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

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

func (*AppSync) CreateResolver

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 (*AppSync) CreateResolverRequest

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

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

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

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

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

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

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

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

func (*AppSync) CreateResolverWithContext

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

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

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

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

func (*AppSync) CreateType

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 (*AppSync) CreateTypeRequest

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

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

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

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

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

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

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

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

func (*AppSync) CreateTypeWithContext

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

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

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

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

func (*AppSync) DeleteApiCache added in v1.25.40

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 (*AppSync) DeleteApiCacheRequest added in v1.25.40

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 (*AppSync) DeleteApiCacheWithContext added in v1.25.40

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 (*AppSync) DeleteApiKey

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 (*AppSync) DeleteApiKeyRequest

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

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

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

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

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

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

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

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

func (*AppSync) DeleteApiKeyWithContext

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

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

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

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

func (*AppSync) DeleteDataSource

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 (*AppSync) DeleteDataSourceRequest

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

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

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

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

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

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

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

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

func (*AppSync) DeleteDataSourceWithContext

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

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

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

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

func (*AppSync) DeleteDomainName added in v1.42.20

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 (*AppSync) DeleteDomainNameRequest added in v1.42.20

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 (*AppSync) DeleteDomainNameWithContext added in v1.42.20

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 (*AppSync) DeleteFunction added in v1.15.80

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 (*AppSync) DeleteFunctionRequest added in v1.15.80

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

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

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

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

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

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

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

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

func (*AppSync) DeleteFunctionWithContext added in v1.15.80

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

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

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

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

func (*AppSync) DeleteGraphqlApi

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 (*AppSync) DeleteGraphqlApiRequest

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

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

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

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

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

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

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

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

func (*AppSync) DeleteGraphqlApiWithContext

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

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

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

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

func (*AppSync) DeleteResolver

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 (*AppSync) DeleteResolverRequest

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

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

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

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

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

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

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

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

func (*AppSync) DeleteResolverWithContext

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

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

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

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

func (*AppSync) DeleteType

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 (*AppSync) DeleteTypeRequest

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

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

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

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

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

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

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

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

func (*AppSync) DeleteTypeWithContext

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

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

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

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

func (*AppSync) DisassociateApi added in v1.42.20

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 (*AppSync) DisassociateApiRequest added in v1.42.20

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 (*AppSync) DisassociateApiWithContext added in v1.42.20

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 (*AppSync) DisassociateMergedGraphqlApi added in v1.44.269

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 (*AppSync) DisassociateMergedGraphqlApiRequest added in v1.44.269

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 (*AppSync) DisassociateMergedGraphqlApiWithContext added in v1.44.269

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 (*AppSync) DisassociateSourceGraphqlApi added in v1.44.269

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 (*AppSync) DisassociateSourceGraphqlApiRequest added in v1.44.269

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 (*AppSync) DisassociateSourceGraphqlApiWithContext added in v1.44.269

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 (*AppSync) EvaluateCode added in v1.44.140

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 (*AppSync) EvaluateCodeRequest added in v1.44.140

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 (*AppSync) EvaluateCodeWithContext added in v1.44.140

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 (*AppSync) EvaluateMappingTemplate added in v1.44.63

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 (*AppSync) EvaluateMappingTemplateRequest added in v1.44.63

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 (*AppSync) EvaluateMappingTemplateWithContext added in v1.44.63

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 (*AppSync) FlushApiCache added in v1.25.40

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 (*AppSync) FlushApiCacheRequest added in v1.25.40

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 (*AppSync) FlushApiCacheWithContext added in v1.25.40

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 (*AppSync) GetApiAssociation added in v1.42.20

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 (*AppSync) GetApiAssociationRequest added in v1.42.20

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 (*AppSync) GetApiAssociationWithContext added in v1.42.20

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 (*AppSync) GetApiCache added in v1.25.40

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 (*AppSync) GetApiCacheRequest added in v1.25.40

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 (*AppSync) GetApiCacheWithContext added in v1.25.40

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 (*AppSync) GetDataSource

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 (*AppSync) GetDataSourceIntrospection added in v1.48.5

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 (*AppSync) GetDataSourceIntrospectionRequest added in v1.48.5

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 (*AppSync) GetDataSourceIntrospectionWithContext added in v1.48.5

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 (*AppSync) GetDataSourceRequest

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

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

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

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

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

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

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

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

func (*AppSync) GetDataSourceWithContext

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

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

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

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

func (*AppSync) GetDomainName added in v1.42.20

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 (*AppSync) GetDomainNameRequest added in v1.42.20

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 (*AppSync) GetDomainNameWithContext added in v1.42.20

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 (*AppSync) GetFunction added in v1.15.80

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 (*AppSync) GetFunctionRequest added in v1.15.80

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

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

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

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

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

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

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

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

func (*AppSync) GetFunctionWithContext added in v1.15.80

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

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

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

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

func (*AppSync) GetGraphqlApi

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 (*AppSync) GetGraphqlApiEnvironmentVariables added in v1.50.12

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 (*AppSync) GetGraphqlApiEnvironmentVariablesRequest added in v1.50.12

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 (*AppSync) GetGraphqlApiEnvironmentVariablesWithContext added in v1.50.12

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 (*AppSync) GetGraphqlApiRequest

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

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

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

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

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

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

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

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

func (*AppSync) GetGraphqlApiWithContext

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

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

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

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

func (*AppSync) GetIntrospectionSchema

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 (*AppSync) GetIntrospectionSchemaRequest

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

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

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

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

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

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

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

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

func (*AppSync) GetIntrospectionSchemaWithContext

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

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

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

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

func (*AppSync) GetResolver

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 (*AppSync) GetResolverRequest

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

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

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

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

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

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

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

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

func (*AppSync) GetResolverWithContext

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

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

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

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

func (*AppSync) GetSchemaCreationStatus

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 (*AppSync) GetSchemaCreationStatusRequest

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

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

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

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

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

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

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

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

func (*AppSync) GetSchemaCreationStatusWithContext

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

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

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

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

func (*AppSync) GetSourceApiAssociation added in v1.44.269

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 (*AppSync) GetSourceApiAssociationRequest added in v1.44.269

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 (*AppSync) GetSourceApiAssociationWithContext added in v1.44.269

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 (*AppSync) GetType

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 (*AppSync) GetTypeRequest

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

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

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

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

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

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

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

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

func (*AppSync) GetTypeWithContext

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

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

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

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

func (*AppSync) ListApiKeys

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 (*AppSync) ListApiKeysPages added in v1.55.1

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 (*AppSync) ListApiKeysPagesWithContext added in v1.55.1

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 (*AppSync) ListApiKeysRequest

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

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

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

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

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

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

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

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

func (*AppSync) ListApiKeysWithContext

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

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

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

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

func (*AppSync) ListDataSources

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 (*AppSync) ListDataSourcesPages added in v1.55.1

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 (*AppSync) ListDataSourcesPagesWithContext added in v1.55.1

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 (*AppSync) ListDataSourcesRequest

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

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

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

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

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

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

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

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

func (*AppSync) ListDataSourcesWithContext

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

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

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

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

func (*AppSync) ListDomainNames added in v1.42.20

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 (*AppSync) ListDomainNamesPages added in v1.55.1

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 (*AppSync) ListDomainNamesPagesWithContext added in v1.55.1

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 (*AppSync) ListDomainNamesRequest added in v1.42.20

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 (*AppSync) ListDomainNamesWithContext added in v1.42.20

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 (*AppSync) ListFunctions added in v1.15.80

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 (*AppSync) ListFunctionsPages added in v1.55.1

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 (*AppSync) ListFunctionsPagesWithContext added in v1.55.1

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 (*AppSync) ListFunctionsRequest added in v1.15.80

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

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

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

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

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

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

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

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

func (*AppSync) ListFunctionsWithContext added in v1.15.80

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

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

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

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

func (*AppSync) ListGraphqlApis

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 (*AppSync) ListGraphqlApisPages added in v1.55.1

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 (*AppSync) ListGraphqlApisPagesWithContext added in v1.55.1

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 (*AppSync) ListGraphqlApisRequest

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

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

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

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

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

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

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

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

func (*AppSync) ListGraphqlApisWithContext

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

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

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

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

func (*AppSync) ListResolvers

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 (*AppSync) ListResolversByFunction added in v1.15.80

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 (*AppSync) ListResolversByFunctionPages added in v1.55.1

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 (*AppSync) ListResolversByFunctionPagesWithContext added in v1.55.1

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 (*AppSync) ListResolversByFunctionRequest added in v1.15.80

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

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

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

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

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

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

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

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

func (*AppSync) ListResolversByFunctionWithContext added in v1.15.80

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

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

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

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

func (*AppSync) ListResolversPages added in v1.55.1

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 (*AppSync) ListResolversPagesWithContext added in v1.55.1

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 (*AppSync) ListResolversRequest

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

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

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

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

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

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

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

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

func (*AppSync) ListResolversWithContext

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

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

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

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

func (*AppSync) ListSourceApiAssociations added in v1.44.269

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 (*AppSync) ListSourceApiAssociationsPages added in v1.55.1

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 (*AppSync) ListSourceApiAssociationsPagesWithContext added in v1.55.1

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 (*AppSync) ListSourceApiAssociationsRequest added in v1.44.269

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 (*AppSync) ListSourceApiAssociationsWithContext added in v1.44.269

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 (*AppSync) ListTagsForResource added in v1.19.26

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 (*AppSync) ListTagsForResourceRequest added in v1.19.26

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

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

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

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

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

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

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

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

func (*AppSync) ListTagsForResourceWithContext added in v1.19.26

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

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

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

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

func (*AppSync) ListTypes

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 (*AppSync) ListTypesByAssociation added in v1.44.269

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 (*AppSync) ListTypesByAssociationPages added in v1.55.1

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 (*AppSync) ListTypesByAssociationPagesWithContext added in v1.55.1

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 (*AppSync) ListTypesByAssociationRequest added in v1.44.269

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 (*AppSync) ListTypesByAssociationWithContext added in v1.44.269

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 (*AppSync) ListTypesPages added in v1.55.1

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 (*AppSync) ListTypesPagesWithContext added in v1.55.1

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 (*AppSync) ListTypesRequest

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

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

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

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

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

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

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

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

func (*AppSync) ListTypesWithContext

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

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

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

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

func (*AppSync) PutGraphqlApiEnvironmentVariables added in v1.50.12

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 (*AppSync) PutGraphqlApiEnvironmentVariablesRequest added in v1.50.12

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 (*AppSync) PutGraphqlApiEnvironmentVariablesWithContext added in v1.50.12

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 (*AppSync) StartDataSourceIntrospection added in v1.48.5

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 (*AppSync) StartDataSourceIntrospectionRequest added in v1.48.5

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 (*AppSync) StartDataSourceIntrospectionWithContext added in v1.48.5

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 (*AppSync) StartSchemaCreation

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 (*AppSync) StartSchemaCreationRequest

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

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

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

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

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

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

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

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

func (*AppSync) StartSchemaCreationWithContext

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

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

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

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

func (*AppSync) StartSchemaMerge added in v1.44.269

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 (*AppSync) StartSchemaMergeRequest added in v1.44.269

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 (*AppSync) StartSchemaMergeWithContext added in v1.44.269

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 (*AppSync) TagResource added in v1.19.26

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 (*AppSync) TagResourceRequest added in v1.19.26

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

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

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

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

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

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

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

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

func (*AppSync) TagResourceWithContext added in v1.19.26

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

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

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

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

func (*AppSync) UntagResource added in v1.19.26

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 (*AppSync) UntagResourceRequest added in v1.19.26

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

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

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

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

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

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

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

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

func (*AppSync) UntagResourceWithContext added in v1.19.26

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

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

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

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

func (*AppSync) UpdateApiCache added in v1.25.40

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 (*AppSync) UpdateApiCacheRequest added in v1.25.40

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 (*AppSync) UpdateApiCacheWithContext added in v1.25.40

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 (*AppSync) UpdateApiKey added in v1.12.77

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 (*AppSync) UpdateApiKeyRequest added in v1.12.77

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

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

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

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

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

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

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

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

func (*AppSync) UpdateApiKeyWithContext added in v1.12.77

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

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

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

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

func (*AppSync) UpdateDataSource

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 (*AppSync) UpdateDataSourceRequest

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

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

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

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

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

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

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

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

func (*AppSync) UpdateDataSourceWithContext

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

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

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

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

func (*AppSync) UpdateDomainName added in v1.42.20

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 (*AppSync) UpdateDomainNameRequest added in v1.42.20

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 (*AppSync) UpdateDomainNameWithContext added in v1.42.20

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 (*AppSync) UpdateFunction added in v1.15.80

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 (*AppSync) UpdateFunctionRequest added in v1.15.80

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

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

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

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

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

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

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

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

func (*AppSync) UpdateFunctionWithContext added in v1.15.80

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

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

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

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

func (*AppSync) UpdateGraphqlApi

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 (*AppSync) UpdateGraphqlApiRequest

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

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

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

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

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

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

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

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

func (*AppSync) UpdateGraphqlApiWithContext

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

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

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

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

func (*AppSync) UpdateResolver

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 (*AppSync) UpdateResolverRequest

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

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

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

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

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

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

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

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

func (*AppSync) UpdateResolverWithContext

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

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

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

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

func (*AppSync) UpdateSourceApiAssociation added in v1.44.269

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 (*AppSync) UpdateSourceApiAssociationRequest added in v1.44.269

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 (*AppSync) UpdateSourceApiAssociationWithContext added in v1.44.269

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 (*AppSync) UpdateType

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 (*AppSync) UpdateTypeRequest

func (c *AppSync) UpdateTypeRequest(input *UpdateTypeInput) (req *request.Request, output *UpdateTypeOutput)

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

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

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

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

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

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

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

func (*AppSync) UpdateTypeWithContext

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 added in v1.44.140

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 (AppSyncRuntime) GoString added in v1.44.140

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 (*AppSyncRuntime) SetName added in v1.44.140

func (s *AppSyncRuntime) SetName(v string) *AppSyncRuntime

SetName sets the Name field's value.

func (*AppSyncRuntime) SetRuntimeVersion added in v1.44.140

func (s *AppSyncRuntime) SetRuntimeVersion(v string) *AppSyncRuntime

SetRuntimeVersion sets the RuntimeVersion field's value.

func (AppSyncRuntime) String added in v1.44.140

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 (*AppSyncRuntime) Validate added in v1.44.140

func (s *AppSyncRuntime) Validate() error

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

type AssociateApiInput added in v1.42.20

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 (AssociateApiInput) GoString added in v1.42.20

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 (*AssociateApiInput) SetApiId added in v1.42.20

func (s *AssociateApiInput) SetApiId(v string) *AssociateApiInput

SetApiId sets the ApiId field's value.

func (*AssociateApiInput) SetDomainName added in v1.42.20

func (s *AssociateApiInput) SetDomainName(v string) *AssociateApiInput

SetDomainName sets the DomainName field's value.

func (AssociateApiInput) String added in v1.42.20

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 (*AssociateApiInput) Validate added in v1.42.20

func (s *AssociateApiInput) Validate() error

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

type AssociateApiOutput added in v1.42.20

type AssociateApiOutput struct {

	// The ApiAssociation object.
	ApiAssociation *ApiAssociation `locationName:"apiAssociation" type:"structure"`
	// contains filtered or unexported fields
}

func (AssociateApiOutput) GoString added in v1.42.20

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 (*AssociateApiOutput) SetApiAssociation added in v1.42.20

func (s *AssociateApiOutput) SetApiAssociation(v *ApiAssociation) *AssociateApiOutput

SetApiAssociation sets the ApiAssociation field's value.

func (AssociateApiOutput) String added in v1.42.20

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 added in v1.44.269

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 (AssociateMergedGraphqlApiInput) GoString added in v1.44.269

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 (*AssociateMergedGraphqlApiInput) SetDescription added in v1.44.269

SetDescription sets the Description field's value.

func (*AssociateMergedGraphqlApiInput) SetMergedApiIdentifier added in v1.44.269

SetMergedApiIdentifier sets the MergedApiIdentifier field's value.

func (*AssociateMergedGraphqlApiInput) SetSourceApiAssociationConfig added in v1.44.269

SetSourceApiAssociationConfig sets the SourceApiAssociationConfig field's value.

func (*AssociateMergedGraphqlApiInput) SetSourceApiIdentifier added in v1.44.269

SetSourceApiIdentifier sets the SourceApiIdentifier field's value.

func (AssociateMergedGraphqlApiInput) String added in v1.44.269

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 (*AssociateMergedGraphqlApiInput) Validate added in v1.44.269

func (s *AssociateMergedGraphqlApiInput) Validate() error

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

type AssociateMergedGraphqlApiOutput added in v1.44.269

type AssociateMergedGraphqlApiOutput struct {

	// The SourceApiAssociation object data.
	SourceApiAssociation *SourceApiAssociation `locationName:"sourceApiAssociation" type:"structure"`
	// contains filtered or unexported fields
}

func (AssociateMergedGraphqlApiOutput) GoString added in v1.44.269

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 (*AssociateMergedGraphqlApiOutput) SetSourceApiAssociation added in v1.44.269

SetSourceApiAssociation sets the SourceApiAssociation field's value.

func (AssociateMergedGraphqlApiOutput) String added in v1.44.269

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 added in v1.44.269

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 (AssociateSourceGraphqlApiInput) GoString added in v1.44.269

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 (*AssociateSourceGraphqlApiInput) SetDescription added in v1.44.269

SetDescription sets the Description field's value.

func (*AssociateSourceGraphqlApiInput) SetMergedApiIdentifier added in v1.44.269

SetMergedApiIdentifier sets the MergedApiIdentifier field's value.

func (*AssociateSourceGraphqlApiInput) SetSourceApiAssociationConfig added in v1.44.269

SetSourceApiAssociationConfig sets the SourceApiAssociationConfig field's value.

func (*AssociateSourceGraphqlApiInput) SetSourceApiIdentifier added in v1.44.269

SetSourceApiIdentifier sets the SourceApiIdentifier field's value.

func (AssociateSourceGraphqlApiInput) String added in v1.44.269

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 (*AssociateSourceGraphqlApiInput) Validate added in v1.44.269

func (s *AssociateSourceGraphqlApiInput) Validate() error

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

type AssociateSourceGraphqlApiOutput added in v1.44.269

type AssociateSourceGraphqlApiOutput struct {

	// The SourceApiAssociation object data.
	SourceApiAssociation *SourceApiAssociation `locationName:"sourceApiAssociation" type:"structure"`
	// contains filtered or unexported fields
}

func (AssociateSourceGraphqlApiOutput) GoString added in v1.44.269

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 (*AssociateSourceGraphqlApiOutput) SetSourceApiAssociation added in v1.44.269

SetSourceApiAssociation sets the SourceApiAssociation field's value.

func (AssociateSourceGraphqlApiOutput) String added in v1.44.269

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 added in v1.15.80

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 (AuthorizationConfig) GoString added in v1.15.80

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 (*AuthorizationConfig) SetAuthorizationType added in v1.15.80

func (s *AuthorizationConfig) SetAuthorizationType(v string) *AuthorizationConfig

SetAuthorizationType sets the AuthorizationType field's value.

func (*AuthorizationConfig) SetAwsIamConfig added in v1.15.80

func (s *AuthorizationConfig) SetAwsIamConfig(v *AwsIamConfig) *AuthorizationConfig

SetAwsIamConfig sets the AwsIamConfig field's value.

func (AuthorizationConfig) String added in v1.15.80

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 (*AuthorizationConfig) Validate added in v1.15.80

func (s *AuthorizationConfig) Validate() error

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

type AwsIamConfig added in v1.15.80

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 (AwsIamConfig) GoString added in v1.15.80

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 (*AwsIamConfig) SetSigningRegion added in v1.15.80

func (s *AwsIamConfig) SetSigningRegion(v string) *AwsIamConfig

SetSigningRegion sets the SigningRegion field's value.

func (*AwsIamConfig) SetSigningServiceName added in v1.15.80

func (s *AwsIamConfig) SetSigningServiceName(v string) *AwsIamConfig

SetSigningServiceName sets the SigningServiceName field's value.

func (AwsIamConfig) String added in v1.15.80

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 added in v1.44.140

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 (BadRequestDetail) GoString added in v1.44.140

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 (*BadRequestDetail) SetCodeErrors added in v1.44.140

func (s *BadRequestDetail) SetCodeErrors(v []*CodeError) *BadRequestDetail

SetCodeErrors sets the CodeErrors field's value.

func (BadRequestDetail) String added in v1.44.140

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 added in v1.28.0

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 (*BadRequestException) Code added in v1.28.0

func (s *BadRequestException) Code() string

Code returns the exception type name.

func (*BadRequestException) Error added in v1.28.0

func (s *BadRequestException) Error() string

func (BadRequestException) GoString added in v1.28.0

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 (*BadRequestException) Message added in v1.28.0

func (s *BadRequestException) Message() string

Message returns the exception's message.

func (*BadRequestException) OrigErr added in v1.28.0

func (s *BadRequestException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*BadRequestException) RequestID added in v1.28.0

func (s *BadRequestException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*BadRequestException) StatusCode added in v1.28.0

func (s *BadRequestException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (BadRequestException) String added in v1.28.0

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 added in v1.25.40

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 (CachingConfig) GoString added in v1.25.40

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 (*CachingConfig) SetCachingKeys added in v1.25.40

func (s *CachingConfig) SetCachingKeys(v []*string) *CachingConfig

SetCachingKeys sets the CachingKeys field's value.

func (*CachingConfig) SetTtl added in v1.25.40

func (s *CachingConfig) SetTtl(v int64) *CachingConfig

SetTtl sets the Ttl field's value.

func (CachingConfig) String added in v1.25.40

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 (*CachingConfig) Validate added in v1.44.63

func (s *CachingConfig) Validate() error

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

type CodeError added in v1.44.140

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 (CodeError) GoString added in v1.44.140

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 (*CodeError) SetErrorType added in v1.44.140

func (s *CodeError) SetErrorType(v string) *CodeError

SetErrorType sets the ErrorType field's value.

func (*CodeError) SetLocation added in v1.44.140

func (s *CodeError) SetLocation(v *CodeErrorLocation) *CodeError

SetLocation sets the Location field's value.

func (*CodeError) SetValue added in v1.44.140

func (s *CodeError) SetValue(v string) *CodeError

SetValue sets the Value field's value.

func (CodeError) String added in v1.44.140

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 added in v1.44.140

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 (CodeErrorLocation) GoString added in v1.44.140

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 (*CodeErrorLocation) SetColumn added in v1.44.140

func (s *CodeErrorLocation) SetColumn(v int64) *CodeErrorLocation

SetColumn sets the Column field's value.

func (*CodeErrorLocation) SetLine added in v1.44.140

func (s *CodeErrorLocation) SetLine(v int64) *CodeErrorLocation

SetLine sets the Line field's value.

func (*CodeErrorLocation) SetSpan added in v1.44.140

func (s *CodeErrorLocation) SetSpan(v int64) *CodeErrorLocation

SetSpan sets the Span field's value.

func (CodeErrorLocation) String added in v1.44.140

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 added in v1.19.26

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 (CognitoUserPoolConfig) GoString added in v1.19.26

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 (*CognitoUserPoolConfig) SetAppIdClientRegex added in v1.19.26

func (s *CognitoUserPoolConfig) SetAppIdClientRegex(v string) *CognitoUserPoolConfig

SetAppIdClientRegex sets the AppIdClientRegex field's value.

func (*CognitoUserPoolConfig) SetAwsRegion added in v1.19.26

SetAwsRegion sets the AwsRegion field's value.

func (*CognitoUserPoolConfig) SetUserPoolId added in v1.19.26

func (s *CognitoUserPoolConfig) SetUserPoolId(v string) *CognitoUserPoolConfig

SetUserPoolId sets the UserPoolId field's value.

func (CognitoUserPoolConfig) String added in v1.19.26

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 (*CognitoUserPoolConfig) Validate added in v1.19.26

func (s *CognitoUserPoolConfig) Validate() error

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

type ConcurrentModificationException added in v1.28.0

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 (*ConcurrentModificationException) Code added in v1.28.0

Code returns the exception type name.

func (*ConcurrentModificationException) Error added in v1.28.0

func (ConcurrentModificationException) GoString added in v1.28.0

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 (*ConcurrentModificationException) Message added in v1.28.0

Message returns the exception's message.

func (*ConcurrentModificationException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConcurrentModificationException) RequestID added in v1.28.0

func (s *ConcurrentModificationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConcurrentModificationException) StatusCode added in v1.28.0

func (s *ConcurrentModificationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConcurrentModificationException) String added in v1.28.0

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 added in v1.25.40

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 (CreateApiCacheInput) GoString added in v1.25.40

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 (*CreateApiCacheInput) SetApiCachingBehavior added in v1.25.40

func (s *CreateApiCacheInput) SetApiCachingBehavior(v string) *CreateApiCacheInput

SetApiCachingBehavior sets the ApiCachingBehavior field's value.

func (*CreateApiCacheInput) SetApiId added in v1.25.40

SetApiId sets the ApiId field's value.

func (*CreateApiCacheInput) SetAtRestEncryptionEnabled added in v1.25.40

func (s *CreateApiCacheInput) SetAtRestEncryptionEnabled(v bool) *CreateApiCacheInput

SetAtRestEncryptionEnabled sets the AtRestEncryptionEnabled field's value.

func (*CreateApiCacheInput) SetHealthMetricsConfig added in v1.50.16

func (s *CreateApiCacheInput) SetHealthMetricsConfig(v string) *CreateApiCacheInput

SetHealthMetricsConfig sets the HealthMetricsConfig field's value.

func (*CreateApiCacheInput) SetTransitEncryptionEnabled added in v1.25.40

func (s *CreateApiCacheInput) SetTransitEncryptionEnabled(v bool) *CreateApiCacheInput

SetTransitEncryptionEnabled sets the TransitEncryptionEnabled field's value.

func (*CreateApiCacheInput) SetTtl added in v1.25.40

SetTtl sets the Ttl field's value.

func (*CreateApiCacheInput) SetType added in v1.25.40

SetType sets the Type field's value.

func (CreateApiCacheInput) String added in v1.25.40

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 (*CreateApiCacheInput) Validate added in v1.25.40

func (s *CreateApiCacheInput) Validate() error

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

type CreateApiCacheOutput added in v1.25.40

type CreateApiCacheOutput struct {

	// The ApiCache object.
	ApiCache *ApiCache `locationName:"apiCache" type:"structure"`
	// contains filtered or unexported fields
}

Represents the output of a CreateApiCache operation.

func (CreateApiCacheOutput) GoString added in v1.25.40

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 (*CreateApiCacheOutput) SetApiCache added in v1.25.40

SetApiCache sets the ApiCache field's value.

func (CreateApiCacheOutput) String added in v1.25.40

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

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 (CreateApiKeyInput) GoString

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 (*CreateApiKeyInput) SetApiId

func (s *CreateApiKeyInput) SetApiId(v string) *CreateApiKeyInput

SetApiId sets the ApiId field's value.

func (*CreateApiKeyInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateApiKeyInput) SetExpires added in v1.12.77

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

SetExpires sets the Expires field's value.

func (CreateApiKeyInput) String

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 (*CreateApiKeyInput) Validate

func (s *CreateApiKeyInput) Validate() error

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

type CreateApiKeyOutput

type CreateApiKeyOutput struct {

	// The API key.
	ApiKey *ApiKey `locationName:"apiKey" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateApiKeyOutput) GoString

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 (*CreateApiKeyOutput) SetApiKey

func (s *CreateApiKeyOutput) SetApiKey(v *ApiKey) *CreateApiKeyOutput

SetApiKey sets the ApiKey field's value.

func (CreateApiKeyOutput) String

func (s CreateApiKeyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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

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 (CreateDataSourceInput) GoString

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 (*CreateDataSourceInput) SetApiId

SetApiId sets the ApiId field's value.

func (*CreateDataSourceInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateDataSourceInput) SetDynamodbConfig

SetDynamodbConfig sets the DynamodbConfig field's value.

func (*CreateDataSourceInput) SetElasticsearchConfig

SetElasticsearchConfig sets the ElasticsearchConfig field's value.

func (*CreateDataSourceInput) SetEventBridgeConfig added in v1.44.191

SetEventBridgeConfig sets the EventBridgeConfig field's value.

func (*CreateDataSourceInput) SetHttpConfig added in v1.14.26

SetHttpConfig sets the HttpConfig field's value.

func (*CreateDataSourceInput) SetLambdaConfig

SetLambdaConfig sets the LambdaConfig field's value.

func (*CreateDataSourceInput) SetMetricsConfig added in v1.50.16

func (s *CreateDataSourceInput) SetMetricsConfig(v string) *CreateDataSourceInput

SetMetricsConfig sets the MetricsConfig field's value.

func (*CreateDataSourceInput) SetName

SetName sets the Name field's value.

func (*CreateDataSourceInput) SetOpenSearchServiceConfig added in v1.40.48

SetOpenSearchServiceConfig sets the OpenSearchServiceConfig field's value.

func (*CreateDataSourceInput) SetRelationalDatabaseConfig added in v1.15.80

SetRelationalDatabaseConfig sets the RelationalDatabaseConfig field's value.

func (*CreateDataSourceInput) SetServiceRoleArn

func (s *CreateDataSourceInput) SetServiceRoleArn(v string) *CreateDataSourceInput

SetServiceRoleArn sets the ServiceRoleArn field's value.

func (*CreateDataSourceInput) SetType

SetType sets the Type field's value.

func (CreateDataSourceInput) String

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 (*CreateDataSourceInput) Validate

func (s *CreateDataSourceInput) Validate() error

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

type CreateDataSourceOutput

type CreateDataSourceOutput struct {

	// The DataSource object.
	DataSource *DataSource `locationName:"dataSource" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateDataSourceOutput) GoString

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 (*CreateDataSourceOutput) SetDataSource

SetDataSource sets the DataSource field's value.

func (CreateDataSourceOutput) String

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 added in v1.42.20

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 (CreateDomainNameInput) GoString added in v1.42.20

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 (*CreateDomainNameInput) SetCertificateArn added in v1.42.20

func (s *CreateDomainNameInput) SetCertificateArn(v string) *CreateDomainNameInput

SetCertificateArn sets the CertificateArn field's value.

func (*CreateDomainNameInput) SetDescription added in v1.42.20

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

SetDescription sets the Description field's value.

func (*CreateDomainNameInput) SetDomainName added in v1.42.20

func (s *CreateDomainNameInput) SetDomainName(v string) *CreateDomainNameInput

SetDomainName sets the DomainName field's value.

func (CreateDomainNameInput) String added in v1.42.20

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 (*CreateDomainNameInput) Validate added in v1.42.20

func (s *CreateDomainNameInput) Validate() error

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

type CreateDomainNameOutput added in v1.42.20

type CreateDomainNameOutput struct {

	// The configuration for the DomainName.
	DomainNameConfig *DomainNameConfig `locationName:"domainNameConfig" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateDomainNameOutput) GoString added in v1.42.20

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 (*CreateDomainNameOutput) SetDomainNameConfig added in v1.42.20

SetDomainNameConfig sets the DomainNameConfig field's value.

func (CreateDomainNameOutput) String added in v1.42.20

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 added in v1.15.80

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 (CreateFunctionInput) GoString added in v1.15.80

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 (*CreateFunctionInput) SetApiId added in v1.15.80

SetApiId sets the ApiId field's value.

func (*CreateFunctionInput) SetCode added in v1.44.140

SetCode sets the Code field's value.

func (*CreateFunctionInput) SetDataSourceName added in v1.15.80

func (s *CreateFunctionInput) SetDataSourceName(v string) *CreateFunctionInput

SetDataSourceName sets the DataSourceName field's value.

func (*CreateFunctionInput) SetDescription added in v1.15.80

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

SetDescription sets the Description field's value.

func (*CreateFunctionInput) SetFunctionVersion added in v1.15.80

func (s *CreateFunctionInput) SetFunctionVersion(v string) *CreateFunctionInput

SetFunctionVersion sets the FunctionVersion field's value.

func (*CreateFunctionInput) SetMaxBatchSize added in v1.42.29

func (s *CreateFunctionInput) SetMaxBatchSize(v int64) *CreateFunctionInput

SetMaxBatchSize sets the MaxBatchSize field's value.

func (*CreateFunctionInput) SetName added in v1.15.80

SetName sets the Name field's value.

func (*CreateFunctionInput) SetRequestMappingTemplate added in v1.15.80

func (s *CreateFunctionInput) SetRequestMappingTemplate(v string) *CreateFunctionInput

SetRequestMappingTemplate sets the RequestMappingTemplate field's value.

func (*CreateFunctionInput) SetResponseMappingTemplate added in v1.15.80

func (s *CreateFunctionInput) SetResponseMappingTemplate(v string) *CreateFunctionInput

SetResponseMappingTemplate sets the ResponseMappingTemplate field's value.

func (*CreateFunctionInput) SetRuntime added in v1.44.140

SetRuntime sets the Runtime field's value.

func (*CreateFunctionInput) SetSyncConfig added in v1.37.10

func (s *CreateFunctionInput) SetSyncConfig(v *SyncConfig) *CreateFunctionInput

SetSyncConfig sets the SyncConfig field's value.

func (CreateFunctionInput) String added in v1.15.80

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 (*CreateFunctionInput) Validate added in v1.15.80

func (s *CreateFunctionInput) Validate() error

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

type CreateFunctionOutput added in v1.15.80

type CreateFunctionOutput struct {

	// The Function object.
	FunctionConfiguration *FunctionConfiguration `locationName:"functionConfiguration" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateFunctionOutput) GoString added in v1.15.80

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 (*CreateFunctionOutput) SetFunctionConfiguration added in v1.15.80

func (s *CreateFunctionOutput) SetFunctionConfiguration(v *FunctionConfiguration) *CreateFunctionOutput

SetFunctionConfiguration sets the FunctionConfiguration field's value.

func (CreateFunctionOutput) String added in v1.15.80

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

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 (CreateGraphqlApiInput) GoString

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 (*CreateGraphqlApiInput) SetAdditionalAuthenticationProviders added in v1.19.26

func (s *CreateGraphqlApiInput) SetAdditionalAuthenticationProviders(v []*AdditionalAuthenticationProvider) *CreateGraphqlApiInput

SetAdditionalAuthenticationProviders sets the AdditionalAuthenticationProviders field's value.

func (*CreateGraphqlApiInput) SetApiType added in v1.44.269

SetApiType sets the ApiType field's value.

func (*CreateGraphqlApiInput) SetAuthenticationType

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

SetAuthenticationType sets the AuthenticationType field's value.

func (*CreateGraphqlApiInput) SetEnhancedMetricsConfig added in v1.50.16

func (s *CreateGraphqlApiInput) SetEnhancedMetricsConfig(v *EnhancedMetricsConfig) *CreateGraphqlApiInput

SetEnhancedMetricsConfig sets the EnhancedMetricsConfig field's value.

func (*CreateGraphqlApiInput) SetIntrospectionConfig added in v1.49.6

func (s *CreateGraphqlApiInput) SetIntrospectionConfig(v string) *CreateGraphqlApiInput

SetIntrospectionConfig sets the IntrospectionConfig field's value.

func (*CreateGraphqlApiInput) SetLambdaAuthorizerConfig added in v1.40.12

func (s *CreateGraphqlApiInput) SetLambdaAuthorizerConfig(v *LambdaAuthorizerConfig) *CreateGraphqlApiInput

SetLambdaAuthorizerConfig sets the LambdaAuthorizerConfig field's value.

func (*CreateGraphqlApiInput) SetLogConfig added in v1.13.41

SetLogConfig sets the LogConfig field's value.

func (*CreateGraphqlApiInput) SetMergedApiExecutionRoleArn added in v1.44.269

func (s *CreateGraphqlApiInput) SetMergedApiExecutionRoleArn(v string) *CreateGraphqlApiInput

SetMergedApiExecutionRoleArn sets the MergedApiExecutionRoleArn field's value.

func (*CreateGraphqlApiInput) SetName

SetName sets the Name field's value.

func (*CreateGraphqlApiInput) SetOpenIDConnectConfig added in v1.13.41

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

SetOpenIDConnectConfig sets the OpenIDConnectConfig field's value.

func (*CreateGraphqlApiInput) SetOwnerContact added in v1.44.269

func (s *CreateGraphqlApiInput) SetOwnerContact(v string) *CreateGraphqlApiInput

SetOwnerContact sets the OwnerContact field's value.

func (*CreateGraphqlApiInput) SetQueryDepthLimit added in v1.49.6

func (s *CreateGraphqlApiInput) SetQueryDepthLimit(v int64) *CreateGraphqlApiInput

SetQueryDepthLimit sets the QueryDepthLimit field's value.

func (*CreateGraphqlApiInput) SetResolverCountLimit added in v1.49.6

func (s *CreateGraphqlApiInput) SetResolverCountLimit(v int64) *CreateGraphqlApiInput

SetResolverCountLimit sets the ResolverCountLimit field's value.

func (*CreateGraphqlApiInput) SetTags added in v1.19.26

SetTags sets the Tags field's value.

func (*CreateGraphqlApiInput) SetUserPoolConfig

SetUserPoolConfig sets the UserPoolConfig field's value.

func (*CreateGraphqlApiInput) SetVisibility added in v1.44.256

func (s *CreateGraphqlApiInput) SetVisibility(v string) *CreateGraphqlApiInput

SetVisibility sets the Visibility field's value.

func (*CreateGraphqlApiInput) SetXrayEnabled added in v1.28.12

func (s *CreateGraphqlApiInput) SetXrayEnabled(v bool) *CreateGraphqlApiInput

SetXrayEnabled sets the XrayEnabled field's value.

func (CreateGraphqlApiInput) String

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 (*CreateGraphqlApiInput) Validate

func (s *CreateGraphqlApiInput) Validate() error

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

type CreateGraphqlApiOutput

type CreateGraphqlApiOutput struct {

	// The GraphqlApi.
	GraphqlApi *GraphqlApi `locationName:"graphqlApi" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateGraphqlApiOutput) GoString

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 (*CreateGraphqlApiOutput) SetGraphqlApi

SetGraphqlApi sets the GraphqlApi field's value.

func (CreateGraphqlApiOutput) String

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

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 (CreateResolverInput) GoString

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 (*CreateResolverInput) SetApiId

SetApiId sets the ApiId field's value.

func (*CreateResolverInput) SetCachingConfig added in v1.25.40

func (s *CreateResolverInput) SetCachingConfig(v *CachingConfig) *CreateResolverInput

SetCachingConfig sets the CachingConfig field's value.

func (*CreateResolverInput) SetCode added in v1.44.140

SetCode sets the Code field's value.

func (*CreateResolverInput) SetDataSourceName

func (s *CreateResolverInput) SetDataSourceName(v string) *CreateResolverInput

SetDataSourceName sets the DataSourceName field's value.

func (*CreateResolverInput) SetFieldName

func (s *CreateResolverInput) SetFieldName(v string) *CreateResolverInput

SetFieldName sets the FieldName field's value.

func (*CreateResolverInput) SetKind added in v1.15.80

SetKind sets the Kind field's value.

func (*CreateResolverInput) SetMaxBatchSize added in v1.42.29

func (s *CreateResolverInput) SetMaxBatchSize(v int64) *CreateResolverInput

SetMaxBatchSize sets the MaxBatchSize field's value.

func (*CreateResolverInput) SetMetricsConfig added in v1.50.16

func (s *CreateResolverInput) SetMetricsConfig(v string) *CreateResolverInput

SetMetricsConfig sets the MetricsConfig field's value.

func (*CreateResolverInput) SetPipelineConfig added in v1.15.80

func (s *CreateResolverInput) SetPipelineConfig(v *PipelineConfig) *CreateResolverInput

SetPipelineConfig sets the PipelineConfig field's value.

func (*CreateResolverInput) SetRequestMappingTemplate

func (s *CreateResolverInput) SetRequestMappingTemplate(v string) *CreateResolverInput

SetRequestMappingTemplate sets the RequestMappingTemplate field's value.

func (*CreateResolverInput) SetResponseMappingTemplate

func (s *CreateResolverInput) SetResponseMappingTemplate(v string) *CreateResolverInput

SetResponseMappingTemplate sets the ResponseMappingTemplate field's value.

func (*CreateResolverInput) SetRuntime added in v1.44.140

SetRuntime sets the Runtime field's value.

func (*CreateResolverInput) SetSyncConfig added in v1.25.40

func (s *CreateResolverInput) SetSyncConfig(v *SyncConfig) *CreateResolverInput

SetSyncConfig sets the SyncConfig field's value.

func (*CreateResolverInput) SetTypeName

func (s *CreateResolverInput) SetTypeName(v string) *CreateResolverInput

SetTypeName sets the TypeName field's value.

func (CreateResolverInput) String

func (s CreateResolverInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 (*CreateResolverInput) Validate

func (s *CreateResolverInput) Validate() error

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

type CreateResolverOutput

type CreateResolverOutput struct {

	// The Resolver object.
	Resolver *Resolver `locationName:"resolver" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateResolverOutput) GoString

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 (*CreateResolverOutput) SetResolver

SetResolver sets the Resolver field's value.

func (CreateResolverOutput) String

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

type CreateTypeInput struct {

	// The API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// The type definition, in GraphQL Schema Definition Language (SDL) format.
	//
	// For more information, see the GraphQL SDL documentation (http://graphql.org/learn/schema/).
	//
	// Definition is a required field
	Definition *string `locationName:"definition" type:"string" required:"true"`

	// The type format: SDL or JSON.
	//
	// Format is a required field
	Format *string `locationName:"format" type:"string" required:"true" enum:"TypeDefinitionFormat"`
	// contains filtered or unexported fields
}

func (CreateTypeInput) GoString

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 (*CreateTypeInput) SetApiId

func (s *CreateTypeInput) SetApiId(v string) *CreateTypeInput

SetApiId sets the ApiId field's value.

func (*CreateTypeInput) SetDefinition

func (s *CreateTypeInput) SetDefinition(v string) *CreateTypeInput

SetDefinition sets the Definition field's value.

func (*CreateTypeInput) SetFormat

func (s *CreateTypeInput) SetFormat(v string) *CreateTypeInput

SetFormat sets the Format field's value.

func (CreateTypeInput) String

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 (*CreateTypeInput) Validate

func (s *CreateTypeInput) Validate() error

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

type CreateTypeOutput

type CreateTypeOutput struct {

	// The Type object.
	Type *Type `locationName:"type" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateTypeOutput) GoString

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 (*CreateTypeOutput) SetType

func (s *CreateTypeOutput) SetType(v *Type) *CreateTypeOutput

SetType sets the Type field's value.

func (CreateTypeOutput) String

func (s CreateTypeOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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

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 (DataSource) GoString

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 (*DataSource) SetDataSourceArn

func (s *DataSource) SetDataSourceArn(v string) *DataSource

SetDataSourceArn sets the DataSourceArn field's value.

func (*DataSource) SetDescription

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

SetDescription sets the Description field's value.

func (*DataSource) SetDynamodbConfig

func (s *DataSource) SetDynamodbConfig(v *DynamodbDataSourceConfig) *DataSource

SetDynamodbConfig sets the DynamodbConfig field's value.

func (*DataSource) SetElasticsearchConfig

func (s *DataSource) SetElasticsearchConfig(v *ElasticsearchDataSourceConfig) *DataSource

SetElasticsearchConfig sets the ElasticsearchConfig field's value.

func (*DataSource) SetEventBridgeConfig added in v1.44.191

func (s *DataSource) SetEventBridgeConfig(v *EventBridgeDataSourceConfig) *DataSource

SetEventBridgeConfig sets the EventBridgeConfig field's value.

func (*DataSource) SetHttpConfig added in v1.14.26

func (s *DataSource) SetHttpConfig(v *HttpDataSourceConfig) *DataSource

SetHttpConfig sets the HttpConfig field's value.

func (*DataSource) SetLambdaConfig

func (s *DataSource) SetLambdaConfig(v *LambdaDataSourceConfig) *DataSource

SetLambdaConfig sets the LambdaConfig field's value.

func (*DataSource) SetMetricsConfig added in v1.50.16

func (s *DataSource) SetMetricsConfig(v string) *DataSource

SetMetricsConfig sets the MetricsConfig field's value.

func (*DataSource) SetName

func (s *DataSource) SetName(v string) *DataSource

SetName sets the Name field's value.

func (*DataSource) SetOpenSearchServiceConfig added in v1.40.48

func (s *DataSource) SetOpenSearchServiceConfig(v *OpenSearchServiceDataSourceConfig) *DataSource

SetOpenSearchServiceConfig sets the OpenSearchServiceConfig field's value.

func (*DataSource) SetRelationalDatabaseConfig added in v1.15.80

func (s *DataSource) SetRelationalDatabaseConfig(v *RelationalDatabaseDataSourceConfig) *DataSource

SetRelationalDatabaseConfig sets the RelationalDatabaseConfig field's value.

func (*DataSource) SetServiceRoleArn

func (s *DataSource) SetServiceRoleArn(v string) *DataSource

SetServiceRoleArn sets the ServiceRoleArn field's value.

func (*DataSource) SetType

func (s *DataSource) SetType(v string) *DataSource

SetType sets the Type field's value.

func (DataSource) String

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 added in v1.48.5

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 (DataSourceIntrospectionModel) GoString added in v1.48.5

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 (*DataSourceIntrospectionModel) SetFields added in v1.48.5

SetFields sets the Fields field's value.

func (*DataSourceIntrospectionModel) SetIndexes added in v1.48.5

SetIndexes sets the Indexes field's value.

func (*DataSourceIntrospectionModel) SetName added in v1.48.5

SetName sets the Name field's value.

func (*DataSourceIntrospectionModel) SetPrimaryKey added in v1.48.5

SetPrimaryKey sets the PrimaryKey field's value.

func (*DataSourceIntrospectionModel) SetSdl added in v1.48.5

SetSdl sets the Sdl field's value.

func (DataSourceIntrospectionModel) String added in v1.48.5

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 added in v1.48.5

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 (DataSourceIntrospectionModelField) GoString added in v1.48.5

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 (*DataSourceIntrospectionModelField) SetLength added in v1.48.5

SetLength sets the Length field's value.

func (*DataSourceIntrospectionModelField) SetName added in v1.48.5

SetName sets the Name field's value.

func (*DataSourceIntrospectionModelField) SetType added in v1.48.5

SetType sets the Type field's value.

func (DataSourceIntrospectionModelField) String added in v1.48.5

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 added in v1.48.5

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 (DataSourceIntrospectionModelFieldType) GoString added in v1.48.5

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 (*DataSourceIntrospectionModelFieldType) SetKind added in v1.48.5

SetKind sets the Kind field's value.

func (*DataSourceIntrospectionModelFieldType) SetName added in v1.48.5

SetName sets the Name field's value.

func (*DataSourceIntrospectionModelFieldType) SetType added in v1.48.5

SetType sets the Type field's value.

func (*DataSourceIntrospectionModelFieldType) SetValues added in v1.48.5

SetValues sets the Values field's value.

func (DataSourceIntrospectionModelFieldType) String added in v1.48.5

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 added in v1.48.5

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 (DataSourceIntrospectionModelIndex) GoString added in v1.48.5

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 (*DataSourceIntrospectionModelIndex) SetFields added in v1.48.5

SetFields sets the Fields field's value.

func (*DataSourceIntrospectionModelIndex) SetName added in v1.48.5

SetName sets the Name field's value.

func (DataSourceIntrospectionModelIndex) String added in v1.48.5

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 added in v1.48.5

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 (DataSourceIntrospectionResult) GoString added in v1.48.5

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 (*DataSourceIntrospectionResult) SetModels added in v1.48.5

SetModels sets the Models field's value.

func (*DataSourceIntrospectionResult) SetNextToken added in v1.48.5

SetNextToken sets the NextToken field's value.

func (DataSourceIntrospectionResult) String added in v1.48.5

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 added in v1.25.40

type DeleteApiCacheInput struct {

	// The API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a DeleteApiCache operation.

func (DeleteApiCacheInput) GoString added in v1.25.40

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 (*DeleteApiCacheInput) SetApiId added in v1.25.40

SetApiId sets the ApiId field's value.

func (DeleteApiCacheInput) String added in v1.25.40

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 (*DeleteApiCacheInput) Validate added in v1.25.40

func (s *DeleteApiCacheInput) Validate() error

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

type DeleteApiCacheOutput added in v1.25.40

type DeleteApiCacheOutput struct {
	// contains filtered or unexported fields
}

Represents the output of a DeleteApiCache operation.

func (DeleteApiCacheOutput) GoString added in v1.25.40

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 (DeleteApiCacheOutput) String added in v1.25.40

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

type DeleteApiKeyInput struct {

	// The API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// The ID for the API key.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteApiKeyInput) GoString

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 (*DeleteApiKeyInput) SetApiId

func (s *DeleteApiKeyInput) SetApiId(v string) *DeleteApiKeyInput

SetApiId sets the ApiId field's value.

func (*DeleteApiKeyInput) SetId

SetId sets the Id field's value.

func (DeleteApiKeyInput) String

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 (*DeleteApiKeyInput) Validate

func (s *DeleteApiKeyInput) Validate() error

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

type DeleteApiKeyOutput

type DeleteApiKeyOutput struct {
	// contains filtered or unexported fields
}

func (DeleteApiKeyOutput) GoString

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 (DeleteApiKeyOutput) String

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

type DeleteDataSourceInput struct {

	// The API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// The name of the data source.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteDataSourceInput) GoString

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 (*DeleteDataSourceInput) SetApiId

SetApiId sets the ApiId field's value.

func (*DeleteDataSourceInput) SetName

SetName sets the Name field's value.

func (DeleteDataSourceInput) String

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 (*DeleteDataSourceInput) Validate

func (s *DeleteDataSourceInput) Validate() error

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

type DeleteDataSourceOutput

type DeleteDataSourceOutput struct {
	// contains filtered or unexported fields
}

func (DeleteDataSourceOutput) GoString

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 (DeleteDataSourceOutput) String

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 added in v1.42.20

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 (DeleteDomainNameInput) GoString added in v1.42.20

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 (*DeleteDomainNameInput) SetDomainName added in v1.42.20

func (s *DeleteDomainNameInput) SetDomainName(v string) *DeleteDomainNameInput

SetDomainName sets the DomainName field's value.

func (DeleteDomainNameInput) String added in v1.42.20

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 (*DeleteDomainNameInput) Validate added in v1.42.20

func (s *DeleteDomainNameInput) Validate() error

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

type DeleteDomainNameOutput added in v1.42.20

type DeleteDomainNameOutput struct {
	// contains filtered or unexported fields
}

func (DeleteDomainNameOutput) GoString added in v1.42.20

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 (DeleteDomainNameOutput) String added in v1.42.20

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 added in v1.15.80

type DeleteFunctionInput struct {

	// The GraphQL API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// The Function ID.
	//
	// FunctionId is a required field
	FunctionId *string `location:"uri" locationName:"functionId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteFunctionInput) GoString added in v1.15.80

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 (*DeleteFunctionInput) SetApiId added in v1.15.80

SetApiId sets the ApiId field's value.

func (*DeleteFunctionInput) SetFunctionId added in v1.15.80

func (s *DeleteFunctionInput) SetFunctionId(v string) *DeleteFunctionInput

SetFunctionId sets the FunctionId field's value.

func (DeleteFunctionInput) String added in v1.15.80

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 (*DeleteFunctionInput) Validate added in v1.15.80

func (s *DeleteFunctionInput) Validate() error

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

type DeleteFunctionOutput added in v1.15.80

type DeleteFunctionOutput struct {
	// contains filtered or unexported fields
}

func (DeleteFunctionOutput) GoString added in v1.15.80

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 (DeleteFunctionOutput) String added in v1.15.80

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

type DeleteGraphqlApiInput struct {

	// The API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteGraphqlApiInput) GoString

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 (*DeleteGraphqlApiInput) SetApiId

SetApiId sets the ApiId field's value.

func (DeleteGraphqlApiInput) String

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 (*DeleteGraphqlApiInput) Validate

func (s *DeleteGraphqlApiInput) Validate() error

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

type DeleteGraphqlApiOutput

type DeleteGraphqlApiOutput struct {
	// contains filtered or unexported fields
}

func (DeleteGraphqlApiOutput) GoString

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 (DeleteGraphqlApiOutput) String

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

type DeleteResolverInput struct {

	// The API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// The resolver field name.
	//
	// FieldName is a required field
	FieldName *string `location:"uri" locationName:"fieldName" min:"1" type:"string" required:"true"`

	// The name of the resolver type.
	//
	// TypeName is a required field
	TypeName *string `location:"uri" locationName:"typeName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteResolverInput) GoString

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 (*DeleteResolverInput) SetApiId

SetApiId sets the ApiId field's value.

func (*DeleteResolverInput) SetFieldName

func (s *DeleteResolverInput) SetFieldName(v string) *DeleteResolverInput

SetFieldName sets the FieldName field's value.

func (*DeleteResolverInput) SetTypeName

func (s *DeleteResolverInput) SetTypeName(v string) *DeleteResolverInput

SetTypeName sets the TypeName field's value.

func (DeleteResolverInput) String

func (s DeleteResolverInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 (*DeleteResolverInput) Validate

func (s *DeleteResolverInput) Validate() error

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

type DeleteResolverOutput

type DeleteResolverOutput struct {
	// contains filtered or unexported fields
}

func (DeleteResolverOutput) GoString

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 (DeleteResolverOutput) String

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

type DeleteTypeInput struct {

	// The API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// The type name.
	//
	// TypeName is a required field
	TypeName *string `location:"uri" locationName:"typeName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteTypeInput) GoString

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 (*DeleteTypeInput) SetApiId

func (s *DeleteTypeInput) SetApiId(v string) *DeleteTypeInput

SetApiId sets the ApiId field's value.

func (*DeleteTypeInput) SetTypeName

func (s *DeleteTypeInput) SetTypeName(v string) *DeleteTypeInput

SetTypeName sets the TypeName field's value.

func (DeleteTypeInput) String

func (s DeleteTypeInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 (*DeleteTypeInput) Validate

func (s *DeleteTypeInput) Validate() error

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

type DeleteTypeOutput

type DeleteTypeOutput struct {
	// contains filtered or unexported fields
}

func (DeleteTypeOutput) GoString

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 (DeleteTypeOutput) String

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 added in v1.25.40

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 (DeltaSyncConfig) GoString added in v1.25.40

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 (*DeltaSyncConfig) SetBaseTableTTL added in v1.25.40

func (s *DeltaSyncConfig) SetBaseTableTTL(v int64) *DeltaSyncConfig

SetBaseTableTTL sets the BaseTableTTL field's value.

func (*DeltaSyncConfig) SetDeltaSyncTableName added in v1.25.40

func (s *DeltaSyncConfig) SetDeltaSyncTableName(v string) *DeltaSyncConfig

SetDeltaSyncTableName sets the DeltaSyncTableName field's value.

func (*DeltaSyncConfig) SetDeltaSyncTableTTL added in v1.25.40

func (s *DeltaSyncConfig) SetDeltaSyncTableTTL(v int64) *DeltaSyncConfig

SetDeltaSyncTableTTL sets the DeltaSyncTableTTL field's value.

func (DeltaSyncConfig) String added in v1.25.40

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 added in v1.42.20

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 (DisassociateApiInput) GoString added in v1.42.20

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 (*DisassociateApiInput) SetDomainName added in v1.42.20

func (s *DisassociateApiInput) SetDomainName(v string) *DisassociateApiInput

SetDomainName sets the DomainName field's value.

func (DisassociateApiInput) String added in v1.42.20

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 (*DisassociateApiInput) Validate added in v1.42.20

func (s *DisassociateApiInput) Validate() error

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

type DisassociateApiOutput added in v1.42.20

type DisassociateApiOutput struct {
	// contains filtered or unexported fields
}

func (DisassociateApiOutput) GoString added in v1.42.20

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 (DisassociateApiOutput) String added in v1.42.20

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 added in v1.44.269

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 (DisassociateMergedGraphqlApiInput) GoString added in v1.44.269

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 (*DisassociateMergedGraphqlApiInput) SetAssociationId added in v1.44.269

SetAssociationId sets the AssociationId field's value.

func (*DisassociateMergedGraphqlApiInput) SetSourceApiIdentifier added in v1.44.269

SetSourceApiIdentifier sets the SourceApiIdentifier field's value.

func (DisassociateMergedGraphqlApiInput) String added in v1.44.269

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 (*DisassociateMergedGraphqlApiInput) Validate added in v1.44.269

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

type DisassociateMergedGraphqlApiOutput added in v1.44.269

type DisassociateMergedGraphqlApiOutput struct {

	// The state of the source API association.
	SourceApiAssociationStatus *string `locationName:"sourceApiAssociationStatus" type:"string" enum:"SourceApiAssociationStatus"`
	// contains filtered or unexported fields
}

func (DisassociateMergedGraphqlApiOutput) GoString added in v1.44.269

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 (*DisassociateMergedGraphqlApiOutput) SetSourceApiAssociationStatus added in v1.44.269

SetSourceApiAssociationStatus sets the SourceApiAssociationStatus field's value.

func (DisassociateMergedGraphqlApiOutput) String added in v1.44.269

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 added in v1.44.269

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 (DisassociateSourceGraphqlApiInput) GoString added in v1.44.269

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 (*DisassociateSourceGraphqlApiInput) SetAssociationId added in v1.44.269

SetAssociationId sets the AssociationId field's value.

func (*DisassociateSourceGraphqlApiInput) SetMergedApiIdentifier added in v1.44.269

SetMergedApiIdentifier sets the MergedApiIdentifier field's value.

func (DisassociateSourceGraphqlApiInput) String added in v1.44.269

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 (*DisassociateSourceGraphqlApiInput) Validate added in v1.44.269

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

type DisassociateSourceGraphqlApiOutput added in v1.44.269

type DisassociateSourceGraphqlApiOutput struct {

	// The state of the source API association.
	SourceApiAssociationStatus *string `locationName:"sourceApiAssociationStatus" type:"string" enum:"SourceApiAssociationStatus"`
	// contains filtered or unexported fields
}

func (DisassociateSourceGraphqlApiOutput) GoString added in v1.44.269

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 (*DisassociateSourceGraphqlApiOutput) SetSourceApiAssociationStatus added in v1.44.269

SetSourceApiAssociationStatus sets the SourceApiAssociationStatus field's value.

func (DisassociateSourceGraphqlApiOutput) String added in v1.44.269

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 added in v1.42.20

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 (DomainNameConfig) GoString added in v1.42.20

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 (*DomainNameConfig) SetAppsyncDomainName added in v1.42.20

func (s *DomainNameConfig) SetAppsyncDomainName(v string) *DomainNameConfig

SetAppsyncDomainName sets the AppsyncDomainName field's value.

func (*DomainNameConfig) SetCertificateArn added in v1.42.20

func (s *DomainNameConfig) SetCertificateArn(v string) *DomainNameConfig

SetCertificateArn sets the CertificateArn field's value.

func (*DomainNameConfig) SetDescription added in v1.42.20

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

SetDescription sets the Description field's value.

func (*DomainNameConfig) SetDomainName added in v1.42.20

func (s *DomainNameConfig) SetDomainName(v string) *DomainNameConfig

SetDomainName sets the DomainName field's value.

func (*DomainNameConfig) SetHostedZoneId added in v1.42.20

func (s *DomainNameConfig) SetHostedZoneId(v string) *DomainNameConfig

SetHostedZoneId sets the HostedZoneId field's value.

func (DomainNameConfig) String added in v1.42.20

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

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 (DynamodbDataSourceConfig) GoString

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 (*DynamodbDataSourceConfig) SetAwsRegion

SetAwsRegion sets the AwsRegion field's value.

func (*DynamodbDataSourceConfig) SetDeltaSyncConfig added in v1.25.40

SetDeltaSyncConfig sets the DeltaSyncConfig field's value.

func (*DynamodbDataSourceConfig) SetTableName

SetTableName sets the TableName field's value.

func (*DynamodbDataSourceConfig) SetUseCallerCredentials

func (s *DynamodbDataSourceConfig) SetUseCallerCredentials(v bool) *DynamodbDataSourceConfig

SetUseCallerCredentials sets the UseCallerCredentials field's value.

func (*DynamodbDataSourceConfig) SetVersioned added in v1.25.40

SetVersioned sets the Versioned field's value.

func (DynamodbDataSourceConfig) String

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 (*DynamodbDataSourceConfig) Validate

func (s *DynamodbDataSourceConfig) Validate() error

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

type ElasticsearchDataSourceConfig

type ElasticsearchDataSourceConfig struct {

	// The 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 (ElasticsearchDataSourceConfig) GoString

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 (*ElasticsearchDataSourceConfig) SetAwsRegion

SetAwsRegion sets the AwsRegion field's value.

func (*ElasticsearchDataSourceConfig) SetEndpoint

SetEndpoint sets the Endpoint field's value.

func (ElasticsearchDataSourceConfig) 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 (*ElasticsearchDataSourceConfig) Validate

func (s *ElasticsearchDataSourceConfig) Validate() error

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

type EnhancedMetricsConfig added in v1.50.16

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 (EnhancedMetricsConfig) GoString added in v1.50.16

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 (*EnhancedMetricsConfig) SetDataSourceLevelMetricsBehavior added in v1.50.16

func (s *EnhancedMetricsConfig) SetDataSourceLevelMetricsBehavior(v string) *EnhancedMetricsConfig

SetDataSourceLevelMetricsBehavior sets the DataSourceLevelMetricsBehavior field's value.

func (*EnhancedMetricsConfig) SetOperationLevelMetricsConfig added in v1.50.16

func (s *EnhancedMetricsConfig) SetOperationLevelMetricsConfig(v string) *EnhancedMetricsConfig

SetOperationLevelMetricsConfig sets the OperationLevelMetricsConfig field's value.

func (*EnhancedMetricsConfig) SetResolverLevelMetricsBehavior added in v1.50.16

func (s *EnhancedMetricsConfig) SetResolverLevelMetricsBehavior(v string) *EnhancedMetricsConfig

SetResolverLevelMetricsBehavior sets the ResolverLevelMetricsBehavior field's value.

func (EnhancedMetricsConfig) String added in v1.50.16

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 (*EnhancedMetricsConfig) Validate added in v1.50.16

func (s *EnhancedMetricsConfig) Validate() error

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

type ErrorDetail added in v1.44.63

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 (ErrorDetail) GoString added in v1.44.63

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 (*ErrorDetail) SetMessage added in v1.44.63

func (s *ErrorDetail) SetMessage(v string) *ErrorDetail

SetMessage sets the Message field's value.

func (ErrorDetail) String added in v1.44.63

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 added in v1.44.140

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 (EvaluateCodeErrorDetail) GoString added in v1.44.140

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 (*EvaluateCodeErrorDetail) SetCodeErrors added in v1.44.140

SetCodeErrors sets the CodeErrors field's value.

func (*EvaluateCodeErrorDetail) SetMessage added in v1.44.140

SetMessage sets the Message field's value.

func (EvaluateCodeErrorDetail) String added in v1.44.140

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 added in v1.44.140

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 (EvaluateCodeInput) GoString added in v1.44.140

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 (*EvaluateCodeInput) SetCode added in v1.44.140

SetCode sets the Code field's value.

func (*EvaluateCodeInput) SetContext added in v1.44.140

func (s *EvaluateCodeInput) SetContext(v string) *EvaluateCodeInput

SetContext sets the Context field's value.

func (*EvaluateCodeInput) SetFunction added in v1.44.140

func (s *EvaluateCodeInput) SetFunction(v string) *EvaluateCodeInput

SetFunction sets the Function field's value.

func (*EvaluateCodeInput) SetRuntime added in v1.44.140

SetRuntime sets the Runtime field's value.

func (EvaluateCodeInput) String added in v1.44.140

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 (*EvaluateCodeInput) Validate added in v1.44.140

func (s *EvaluateCodeInput) Validate() error

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

type EvaluateCodeOutput added in v1.44.140

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 (EvaluateCodeOutput) GoString added in v1.44.140

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 (*EvaluateCodeOutput) SetError added in v1.44.140

SetError sets the Error field's value.

func (*EvaluateCodeOutput) SetEvaluationResult added in v1.44.140

func (s *EvaluateCodeOutput) SetEvaluationResult(v string) *EvaluateCodeOutput

SetEvaluationResult sets the EvaluationResult field's value.

func (*EvaluateCodeOutput) SetLogs added in v1.44.140

func (s *EvaluateCodeOutput) SetLogs(v []*string) *EvaluateCodeOutput

SetLogs sets the Logs field's value.

func (EvaluateCodeOutput) String added in v1.44.140

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 added in v1.44.63

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 (EvaluateMappingTemplateInput) GoString added in v1.44.63

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 (*EvaluateMappingTemplateInput) SetContext added in v1.44.63

SetContext sets the Context field's value.

func (*EvaluateMappingTemplateInput) SetTemplate added in v1.44.63

SetTemplate sets the Template field's value.

func (EvaluateMappingTemplateInput) String added in v1.44.63

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 (*EvaluateMappingTemplateInput) Validate added in v1.44.63

func (s *EvaluateMappingTemplateInput) Validate() error

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

type EvaluateMappingTemplateOutput added in v1.44.63

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 (EvaluateMappingTemplateOutput) GoString added in v1.44.63

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 (*EvaluateMappingTemplateOutput) SetError added in v1.44.63

SetError sets the Error field's value.

func (*EvaluateMappingTemplateOutput) SetEvaluationResult added in v1.44.63

SetEvaluationResult sets the EvaluationResult field's value.

func (*EvaluateMappingTemplateOutput) SetLogs added in v1.44.140

SetLogs sets the Logs field's value.

func (EvaluateMappingTemplateOutput) String added in v1.44.63

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 added in v1.44.191

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 (EventBridgeDataSourceConfig) GoString added in v1.44.191

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 (*EventBridgeDataSourceConfig) SetEventBusArn added in v1.44.191

SetEventBusArn sets the EventBusArn field's value.

func (EventBridgeDataSourceConfig) String added in v1.44.191

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 (*EventBridgeDataSourceConfig) Validate added in v1.44.191

func (s *EventBridgeDataSourceConfig) Validate() error

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

type FlushApiCacheInput added in v1.25.40

type FlushApiCacheInput struct {

	// The API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a FlushApiCache operation.

func (FlushApiCacheInput) GoString added in v1.25.40

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 (*FlushApiCacheInput) SetApiId added in v1.25.40

SetApiId sets the ApiId field's value.

func (FlushApiCacheInput) String added in v1.25.40

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 (*FlushApiCacheInput) Validate added in v1.25.40

func (s *FlushApiCacheInput) Validate() error

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

type FlushApiCacheOutput added in v1.25.40

type FlushApiCacheOutput struct {
	// contains filtered or unexported fields
}

Represents the output of a FlushApiCache operation.

func (FlushApiCacheOutput) GoString added in v1.25.40

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 (FlushApiCacheOutput) String added in v1.25.40

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 added in v1.15.80

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 (FunctionConfiguration) GoString added in v1.15.80

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 (*FunctionConfiguration) SetCode added in v1.44.140

SetCode sets the Code field's value.

func (*FunctionConfiguration) SetDataSourceName added in v1.15.80

func (s *FunctionConfiguration) SetDataSourceName(v string) *FunctionConfiguration

SetDataSourceName sets the DataSourceName field's value.

func (*FunctionConfiguration) SetDescription added in v1.15.80

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

SetDescription sets the Description field's value.

func (*FunctionConfiguration) SetFunctionArn added in v1.15.80

func (s *FunctionConfiguration) SetFunctionArn(v string) *FunctionConfiguration

SetFunctionArn sets the FunctionArn field's value.

func (*FunctionConfiguration) SetFunctionId added in v1.15.80

func (s *FunctionConfiguration) SetFunctionId(v string) *FunctionConfiguration

SetFunctionId sets the FunctionId field's value.

func (*FunctionConfiguration) SetFunctionVersion added in v1.15.80

func (s *FunctionConfiguration) SetFunctionVersion(v string) *FunctionConfiguration

SetFunctionVersion sets the FunctionVersion field's value.

func (*FunctionConfiguration) SetMaxBatchSize added in v1.42.29

func (s *FunctionConfiguration) SetMaxBatchSize(v int64) *FunctionConfiguration

SetMaxBatchSize sets the MaxBatchSize field's value.

func (*FunctionConfiguration) SetName added in v1.15.80

SetName sets the Name field's value.

func (*FunctionConfiguration) SetRequestMappingTemplate added in v1.15.80

func (s *FunctionConfiguration) SetRequestMappingTemplate(v string) *FunctionConfiguration

SetRequestMappingTemplate sets the RequestMappingTemplate field's value.

func (*FunctionConfiguration) SetResponseMappingTemplate added in v1.15.80

func (s *FunctionConfiguration) SetResponseMappingTemplate(v string) *FunctionConfiguration

SetResponseMappingTemplate sets the ResponseMappingTemplate field's value.

func (*FunctionConfiguration) SetRuntime added in v1.44.140

SetRuntime sets the Runtime field's value.

func (*FunctionConfiguration) SetSyncConfig added in v1.37.10

SetSyncConfig sets the SyncConfig field's value.

func (FunctionConfiguration) String added in v1.15.80

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 added in v1.42.20

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 (GetApiAssociationInput) GoString added in v1.42.20

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 (*GetApiAssociationInput) SetDomainName added in v1.42.20

SetDomainName sets the DomainName field's value.

func (GetApiAssociationInput) String added in v1.42.20

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 (*GetApiAssociationInput) Validate added in v1.42.20

func (s *GetApiAssociationInput) Validate() error

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

type GetApiAssociationOutput added in v1.42.20

type GetApiAssociationOutput struct {

	// The ApiAssociation object.
	ApiAssociation *ApiAssociation `locationName:"apiAssociation" type:"structure"`
	// contains filtered or unexported fields
}

func (GetApiAssociationOutput) GoString added in v1.42.20

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 (*GetApiAssociationOutput) SetApiAssociation added in v1.42.20

SetApiAssociation sets the ApiAssociation field's value.

func (GetApiAssociationOutput) String added in v1.42.20

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 added in v1.25.40

type GetApiCacheInput struct {

	// The API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the input of a GetApiCache operation.

func (GetApiCacheInput) GoString added in v1.25.40

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 (*GetApiCacheInput) SetApiId added in v1.25.40

func (s *GetApiCacheInput) SetApiId(v string) *GetApiCacheInput

SetApiId sets the ApiId field's value.

func (GetApiCacheInput) String added in v1.25.40

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 (*GetApiCacheInput) Validate added in v1.25.40

func (s *GetApiCacheInput) Validate() error

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

type GetApiCacheOutput added in v1.25.40

type GetApiCacheOutput struct {

	// The ApiCache object.
	ApiCache *ApiCache `locationName:"apiCache" type:"structure"`
	// contains filtered or unexported fields
}

Represents the output of a GetApiCache operation.

func (GetApiCacheOutput) GoString added in v1.25.40

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 (*GetApiCacheOutput) SetApiCache added in v1.25.40

func (s *GetApiCacheOutput) SetApiCache(v *ApiCache) *GetApiCacheOutput

SetApiCache sets the ApiCache field's value.

func (GetApiCacheOutput) String added in v1.25.40

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

type GetDataSourceInput struct {

	// The API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// The name of the data source.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetDataSourceInput) GoString

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 (*GetDataSourceInput) SetApiId

SetApiId sets the ApiId field's value.

func (*GetDataSourceInput) SetName

SetName sets the Name field's value.

func (GetDataSourceInput) String

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 (*GetDataSourceInput) Validate

func (s *GetDataSourceInput) Validate() error

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

type GetDataSourceIntrospectionInput added in v1.48.5

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 (GetDataSourceIntrospectionInput) GoString added in v1.48.5

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 (*GetDataSourceIntrospectionInput) SetIncludeModelsSDL added in v1.48.5

SetIncludeModelsSDL sets the IncludeModelsSDL field's value.

func (*GetDataSourceIntrospectionInput) SetIntrospectionId added in v1.48.5

SetIntrospectionId sets the IntrospectionId field's value.

func (*GetDataSourceIntrospectionInput) SetMaxResults added in v1.48.5

SetMaxResults sets the MaxResults field's value.

func (*GetDataSourceIntrospectionInput) SetNextToken added in v1.48.5

SetNextToken sets the NextToken field's value.

func (GetDataSourceIntrospectionInput) String added in v1.48.5

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 (*GetDataSourceIntrospectionInput) Validate added in v1.48.5

func (s *GetDataSourceIntrospectionInput) Validate() error

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

type GetDataSourceIntrospectionOutput added in v1.48.5

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 (GetDataSourceIntrospectionOutput) GoString added in v1.48.5

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 (*GetDataSourceIntrospectionOutput) SetIntrospectionId added in v1.48.5

SetIntrospectionId sets the IntrospectionId field's value.

func (*GetDataSourceIntrospectionOutput) SetIntrospectionResult added in v1.48.5

SetIntrospectionResult sets the IntrospectionResult field's value.

func (*GetDataSourceIntrospectionOutput) SetIntrospectionStatus added in v1.48.5

SetIntrospectionStatus sets the IntrospectionStatus field's value.

func (*GetDataSourceIntrospectionOutput) SetIntrospectionStatusDetail added in v1.48.5

func (s *GetDataSourceIntrospectionOutput) SetIntrospectionStatusDetail(v string) *GetDataSourceIntrospectionOutput

SetIntrospectionStatusDetail sets the IntrospectionStatusDetail field's value.

func (GetDataSourceIntrospectionOutput) String added in v1.48.5

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

type GetDataSourceOutput struct {

	// The DataSource object.
	DataSource *DataSource `locationName:"dataSource" type:"structure"`
	// contains filtered or unexported fields
}

func (GetDataSourceOutput) GoString

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 (*GetDataSourceOutput) SetDataSource

func (s *GetDataSourceOutput) SetDataSource(v *DataSource) *GetDataSourceOutput

SetDataSource sets the DataSource field's value.

func (GetDataSourceOutput) String

func (s GetDataSourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 added in v1.42.20

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 (GetDomainNameInput) GoString added in v1.42.20

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 (*GetDomainNameInput) SetDomainName added in v1.42.20

func (s *GetDomainNameInput) SetDomainName(v string) *GetDomainNameInput

SetDomainName sets the DomainName field's value.

func (GetDomainNameInput) String added in v1.42.20

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 (*GetDomainNameInput) Validate added in v1.42.20

func (s *GetDomainNameInput) Validate() error

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

type GetDomainNameOutput added in v1.42.20

type GetDomainNameOutput struct {

	// The configuration for the DomainName.
	DomainNameConfig *DomainNameConfig `locationName:"domainNameConfig" type:"structure"`
	// contains filtered or unexported fields
}

func (GetDomainNameOutput) GoString added in v1.42.20

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 (*GetDomainNameOutput) SetDomainNameConfig added in v1.42.20

func (s *GetDomainNameOutput) SetDomainNameConfig(v *DomainNameConfig) *GetDomainNameOutput

SetDomainNameConfig sets the DomainNameConfig field's value.

func (GetDomainNameOutput) String added in v1.42.20

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 added in v1.15.80

type GetFunctionInput struct {

	// The GraphQL API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// The Function ID.
	//
	// FunctionId is a required field
	FunctionId *string `location:"uri" locationName:"functionId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetFunctionInput) GoString added in v1.15.80

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 (*GetFunctionInput) SetApiId added in v1.15.80

func (s *GetFunctionInput) SetApiId(v string) *GetFunctionInput

SetApiId sets the ApiId field's value.

func (*GetFunctionInput) SetFunctionId added in v1.15.80

func (s *GetFunctionInput) SetFunctionId(v string) *GetFunctionInput

SetFunctionId sets the FunctionId field's value.

func (GetFunctionInput) String added in v1.15.80

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 (*GetFunctionInput) Validate added in v1.15.80

func (s *GetFunctionInput) Validate() error

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

type GetFunctionOutput added in v1.15.80

type GetFunctionOutput struct {

	// The Function object.
	FunctionConfiguration *FunctionConfiguration `locationName:"functionConfiguration" type:"structure"`
	// contains filtered or unexported fields
}

func (GetFunctionOutput) GoString added in v1.15.80

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 (*GetFunctionOutput) SetFunctionConfiguration added in v1.15.80

func (s *GetFunctionOutput) SetFunctionConfiguration(v *FunctionConfiguration) *GetFunctionOutput

SetFunctionConfiguration sets the FunctionConfiguration field's value.

func (GetFunctionOutput) String added in v1.15.80

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 added in v1.50.12

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 (GetGraphqlApiEnvironmentVariablesInput) GoString added in v1.50.12

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 (*GetGraphqlApiEnvironmentVariablesInput) SetApiId added in v1.50.12

SetApiId sets the ApiId field's value.

func (GetGraphqlApiEnvironmentVariablesInput) String added in v1.50.12

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 (*GetGraphqlApiEnvironmentVariablesInput) Validate added in v1.50.12

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

type GetGraphqlApiEnvironmentVariablesOutput added in v1.50.12

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 (GetGraphqlApiEnvironmentVariablesOutput) GoString added in v1.50.12

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 (*GetGraphqlApiEnvironmentVariablesOutput) SetEnvironmentVariables added in v1.50.12

SetEnvironmentVariables sets the EnvironmentVariables field's value.

func (GetGraphqlApiEnvironmentVariablesOutput) String added in v1.50.12

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

type GetGraphqlApiInput struct {

	// The API ID for the GraphQL API.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetGraphqlApiInput) GoString

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 (*GetGraphqlApiInput) SetApiId

SetApiId sets the ApiId field's value.

func (GetGraphqlApiInput) String

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 (*GetGraphqlApiInput) Validate

func (s *GetGraphqlApiInput) Validate() error

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

type GetGraphqlApiOutput

type GetGraphqlApiOutput struct {

	// The GraphqlApi object.
	GraphqlApi *GraphqlApi `locationName:"graphqlApi" type:"structure"`
	// contains filtered or unexported fields
}

func (GetGraphqlApiOutput) GoString

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 (*GetGraphqlApiOutput) SetGraphqlApi

func (s *GetGraphqlApiOutput) SetGraphqlApi(v *GraphqlApi) *GetGraphqlApiOutput

SetGraphqlApi sets the GraphqlApi field's value.

func (GetGraphqlApiOutput) String

func (s GetGraphqlApiOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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

type GetIntrospectionSchemaInput struct {

	// The API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// The schema format: SDL or JSON.
	//
	// Format is a required field
	Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"OutputType"`

	// A flag that specifies whether the schema introspection should contain directives.
	IncludeDirectives *bool `location:"querystring" locationName:"includeDirectives" type:"boolean"`
	// contains filtered or unexported fields
}

func (GetIntrospectionSchemaInput) GoString

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 (*GetIntrospectionSchemaInput) SetApiId

SetApiId sets the ApiId field's value.

func (*GetIntrospectionSchemaInput) SetFormat

SetFormat sets the Format field's value.

func (*GetIntrospectionSchemaInput) SetIncludeDirectives added in v1.19.26

func (s *GetIntrospectionSchemaInput) SetIncludeDirectives(v bool) *GetIntrospectionSchemaInput

SetIncludeDirectives sets the IncludeDirectives field's value.

func (GetIntrospectionSchemaInput) 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 (*GetIntrospectionSchemaInput) Validate

func (s *GetIntrospectionSchemaInput) Validate() error

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

type GetIntrospectionSchemaOutput

type GetIntrospectionSchemaOutput struct {

	// The schema, in GraphQL Schema Definition Language (SDL) format.
	//
	// For more information, see the GraphQL SDL documentation (http://graphql.org/learn/schema/).
	Schema []byte `locationName:"schema" type:"blob"`
	// contains filtered or unexported fields
}

func (GetIntrospectionSchemaOutput) GoString

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 (*GetIntrospectionSchemaOutput) SetSchema

SetSchema sets the Schema field's value.

func (GetIntrospectionSchemaOutput) 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

type GetResolverInput struct {

	// The API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// The resolver field name.
	//
	// FieldName is a required field
	FieldName *string `location:"uri" locationName:"fieldName" min:"1" type:"string" required:"true"`

	// The resolver type name.
	//
	// TypeName is a required field
	TypeName *string `location:"uri" locationName:"typeName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetResolverInput) GoString

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 (*GetResolverInput) SetApiId

func (s *GetResolverInput) SetApiId(v string) *GetResolverInput

SetApiId sets the ApiId field's value.

func (*GetResolverInput) SetFieldName

func (s *GetResolverInput) SetFieldName(v string) *GetResolverInput

SetFieldName sets the FieldName field's value.

func (*GetResolverInput) SetTypeName

func (s *GetResolverInput) SetTypeName(v string) *GetResolverInput

SetTypeName sets the TypeName field's value.

func (GetResolverInput) String

func (s GetResolverInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 (*GetResolverInput) Validate

func (s *GetResolverInput) Validate() error

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

type GetResolverOutput

type GetResolverOutput struct {

	// The Resolver object.
	Resolver *Resolver `locationName:"resolver" type:"structure"`
	// contains filtered or unexported fields
}

func (GetResolverOutput) GoString

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 (*GetResolverOutput) SetResolver

func (s *GetResolverOutput) SetResolver(v *Resolver) *GetResolverOutput

SetResolver sets the Resolver field's value.

func (GetResolverOutput) String

func (s GetResolverOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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

type GetSchemaCreationStatusInput struct {

	// The API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetSchemaCreationStatusInput) GoString

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 (*GetSchemaCreationStatusInput) SetApiId

SetApiId sets the ApiId field's value.

func (GetSchemaCreationStatusInput) 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 (*GetSchemaCreationStatusInput) Validate

func (s *GetSchemaCreationStatusInput) Validate() error

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

type GetSchemaCreationStatusOutput

type GetSchemaCreationStatusOutput struct {

	// Detailed information about the status of the schema creation operation.
	Details *string `locationName:"details" type:"string"`

	// The current state of the schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE).
	// When the schema is in the ACTIVE state, you can add data.
	Status *string `locationName:"status" type:"string" enum:"SchemaStatus"`
	// contains filtered or unexported fields
}

func (GetSchemaCreationStatusOutput) GoString

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 (*GetSchemaCreationStatusOutput) SetDetails

SetDetails sets the Details field's value.

func (*GetSchemaCreationStatusOutput) SetStatus

SetStatus sets the Status field's value.

func (GetSchemaCreationStatusOutput) 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 added in v1.44.269

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 (GetSourceApiAssociationInput) GoString added in v1.44.269

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 (*GetSourceApiAssociationInput) SetAssociationId added in v1.44.269

SetAssociationId sets the AssociationId field's value.

func (*GetSourceApiAssociationInput) SetMergedApiIdentifier added in v1.44.269

SetMergedApiIdentifier sets the MergedApiIdentifier field's value.

func (GetSourceApiAssociationInput) String added in v1.44.269

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 (*GetSourceApiAssociationInput) Validate added in v1.44.269

func (s *GetSourceApiAssociationInput) Validate() error

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

type GetSourceApiAssociationOutput added in v1.44.269

type GetSourceApiAssociationOutput struct {

	// The SourceApiAssociation object data.
	SourceApiAssociation *SourceApiAssociation `locationName:"sourceApiAssociation" type:"structure"`
	// contains filtered or unexported fields
}

func (GetSourceApiAssociationOutput) GoString added in v1.44.269

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 (*GetSourceApiAssociationOutput) SetSourceApiAssociation added in v1.44.269

SetSourceApiAssociation sets the SourceApiAssociation field's value.

func (GetSourceApiAssociationOutput) String added in v1.44.269

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

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 (GetTypeInput) GoString

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 (*GetTypeInput) SetApiId

func (s *GetTypeInput) SetApiId(v string) *GetTypeInput

SetApiId sets the ApiId field's value.

func (*GetTypeInput) SetFormat

func (s *GetTypeInput) SetFormat(v string) *GetTypeInput

SetFormat sets the Format field's value.

func (*GetTypeInput) SetTypeName

func (s *GetTypeInput) SetTypeName(v string) *GetTypeInput

SetTypeName sets the TypeName field's value.

func (GetTypeInput) String

func (s GetTypeInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 (*GetTypeInput) Validate

func (s *GetTypeInput) Validate() error

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

type GetTypeOutput

type GetTypeOutput struct {

	// The Type object.
	Type *Type `locationName:"type" type:"structure"`
	// contains filtered or unexported fields
}

func (GetTypeOutput) GoString

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 (*GetTypeOutput) SetType

func (s *GetTypeOutput) SetType(v *Type) *GetTypeOutput

SetType sets the Type field's value.

func (GetTypeOutput) String

func (s GetTypeOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 added in v1.28.0

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 (*GraphQLSchemaException) Code added in v1.28.0

func (s *GraphQLSchemaException) Code() string

Code returns the exception type name.

func (*GraphQLSchemaException) Error added in v1.28.0

func (s *GraphQLSchemaException) Error() string

func (GraphQLSchemaException) GoString added in v1.28.0

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 (*GraphQLSchemaException) Message added in v1.28.0

func (s *GraphQLSchemaException) Message() string

Message returns the exception's message.

func (*GraphQLSchemaException) OrigErr added in v1.28.0

func (s *GraphQLSchemaException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*GraphQLSchemaException) RequestID added in v1.28.0

func (s *GraphQLSchemaException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*GraphQLSchemaException) StatusCode added in v1.28.0

func (s *GraphQLSchemaException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (GraphQLSchemaException) String added in v1.28.0

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

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 (GraphqlApi) GoString

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 (*GraphqlApi) SetAdditionalAuthenticationProviders added in v1.19.26

func (s *GraphqlApi) SetAdditionalAuthenticationProviders(v []*AdditionalAuthenticationProvider) *GraphqlApi

SetAdditionalAuthenticationProviders sets the AdditionalAuthenticationProviders field's value.

func (*GraphqlApi) SetApiId

func (s *GraphqlApi) SetApiId(v string) *GraphqlApi

SetApiId sets the ApiId field's value.

func (*GraphqlApi) SetApiType added in v1.44.269

func (s *GraphqlApi) SetApiType(v string) *GraphqlApi

SetApiType sets the ApiType field's value.

func (*GraphqlApi) SetArn

func (s *GraphqlApi) SetArn(v string) *GraphqlApi

SetArn sets the Arn field's value.

func (*GraphqlApi) SetAuthenticationType

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

SetAuthenticationType sets the AuthenticationType field's value.

func (*GraphqlApi) SetDns added in v1.44.256

func (s *GraphqlApi) SetDns(v map[string]*string) *GraphqlApi

SetDns sets the Dns field's value.

func (*GraphqlApi) SetEnhancedMetricsConfig added in v1.50.16

func (s *GraphqlApi) SetEnhancedMetricsConfig(v *EnhancedMetricsConfig) *GraphqlApi

SetEnhancedMetricsConfig sets the EnhancedMetricsConfig field's value.

func (*GraphqlApi) SetIntrospectionConfig added in v1.49.6

func (s *GraphqlApi) SetIntrospectionConfig(v string) *GraphqlApi

SetIntrospectionConfig sets the IntrospectionConfig field's value.

func (*GraphqlApi) SetLambdaAuthorizerConfig added in v1.40.12

func (s *GraphqlApi) SetLambdaAuthorizerConfig(v *LambdaAuthorizerConfig) *GraphqlApi

SetLambdaAuthorizerConfig sets the LambdaAuthorizerConfig field's value.

func (*GraphqlApi) SetLogConfig added in v1.13.41

func (s *GraphqlApi) SetLogConfig(v *LogConfig) *GraphqlApi

SetLogConfig sets the LogConfig field's value.

func (*GraphqlApi) SetMergedApiExecutionRoleArn added in v1.44.269

func (s *GraphqlApi) SetMergedApiExecutionRoleArn(v string) *GraphqlApi

SetMergedApiExecutionRoleArn sets the MergedApiExecutionRoleArn field's value.

func (*GraphqlApi) SetName

func (s *GraphqlApi) SetName(v string) *GraphqlApi

SetName sets the Name field's value.

func (*GraphqlApi) SetOpenIDConnectConfig added in v1.13.41

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

SetOpenIDConnectConfig sets the OpenIDConnectConfig field's value.

func (*GraphqlApi) SetOwner added in v1.44.269

func (s *GraphqlApi) SetOwner(v string) *GraphqlApi

SetOwner sets the Owner field's value.

func (*GraphqlApi) SetOwnerContact added in v1.44.269

func (s *GraphqlApi) SetOwnerContact(v string) *GraphqlApi

SetOwnerContact sets the OwnerContact field's value.

func (*GraphqlApi) SetQueryDepthLimit added in v1.49.6

func (s *GraphqlApi) SetQueryDepthLimit(v int64) *GraphqlApi

SetQueryDepthLimit sets the QueryDepthLimit field's value.

func (*GraphqlApi) SetResolverCountLimit added in v1.49.6

func (s *GraphqlApi) SetResolverCountLimit(v int64) *GraphqlApi

SetResolverCountLimit sets the ResolverCountLimit field's value.

func (*GraphqlApi) SetTags added in v1.19.26

func (s *GraphqlApi) SetTags(v map[string]*string) *GraphqlApi

SetTags sets the Tags field's value.

func (*GraphqlApi) SetUris

func (s *GraphqlApi) SetUris(v map[string]*string) *GraphqlApi

SetUris sets the Uris field's value.

func (*GraphqlApi) SetUserPoolConfig

func (s *GraphqlApi) SetUserPoolConfig(v *UserPoolConfig) *GraphqlApi

SetUserPoolConfig sets the UserPoolConfig field's value.

func (*GraphqlApi) SetVisibility added in v1.44.256

func (s *GraphqlApi) SetVisibility(v string) *GraphqlApi

SetVisibility sets the Visibility field's value.

func (*GraphqlApi) SetWafWebAclArn added in v1.35.1

func (s *GraphqlApi) SetWafWebAclArn(v string) *GraphqlApi

SetWafWebAclArn sets the WafWebAclArn field's value.

func (*GraphqlApi) SetXrayEnabled added in v1.28.12

func (s *GraphqlApi) SetXrayEnabled(v bool) *GraphqlApi

SetXrayEnabled sets the XrayEnabled field's value.

func (GraphqlApi) String

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 added in v1.14.26

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 (HttpDataSourceConfig) GoString added in v1.14.26

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 (*HttpDataSourceConfig) SetAuthorizationConfig added in v1.15.80

func (s *HttpDataSourceConfig) SetAuthorizationConfig(v *AuthorizationConfig) *HttpDataSourceConfig

SetAuthorizationConfig sets the AuthorizationConfig field's value.

func (*HttpDataSourceConfig) SetEndpoint added in v1.14.26

SetEndpoint sets the Endpoint field's value.

func (HttpDataSourceConfig) String added in v1.14.26

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 (*HttpDataSourceConfig) Validate added in v1.15.80

func (s *HttpDataSourceConfig) Validate() error

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

type InternalFailureException added in v1.28.0

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 (*InternalFailureException) Code added in v1.28.0

func (s *InternalFailureException) Code() string

Code returns the exception type name.

func (*InternalFailureException) Error added in v1.28.0

func (s *InternalFailureException) Error() string

func (InternalFailureException) GoString added in v1.28.0

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 (*InternalFailureException) Message added in v1.28.0

func (s *InternalFailureException) Message() string

Message returns the exception's message.

func (*InternalFailureException) OrigErr added in v1.28.0

func (s *InternalFailureException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalFailureException) RequestID added in v1.28.0

func (s *InternalFailureException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalFailureException) StatusCode added in v1.28.0

func (s *InternalFailureException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalFailureException) String added in v1.28.0

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 added in v1.40.12

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 (LambdaAuthorizerConfig) GoString added in v1.40.12

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 (*LambdaAuthorizerConfig) SetAuthorizerResultTtlInSeconds added in v1.40.12

func (s *LambdaAuthorizerConfig) SetAuthorizerResultTtlInSeconds(v int64) *LambdaAuthorizerConfig

SetAuthorizerResultTtlInSeconds sets the AuthorizerResultTtlInSeconds field's value.

func (*LambdaAuthorizerConfig) SetAuthorizerUri added in v1.40.12

func (s *LambdaAuthorizerConfig) SetAuthorizerUri(v string) *LambdaAuthorizerConfig

SetAuthorizerUri sets the AuthorizerUri field's value.

func (*LambdaAuthorizerConfig) SetIdentityValidationExpression added in v1.40.12

func (s *LambdaAuthorizerConfig) SetIdentityValidationExpression(v string) *LambdaAuthorizerConfig

SetIdentityValidationExpression sets the IdentityValidationExpression field's value.

func (LambdaAuthorizerConfig) String added in v1.40.12

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 (*LambdaAuthorizerConfig) Validate added in v1.40.12

func (s *LambdaAuthorizerConfig) Validate() error

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

type LambdaConflictHandlerConfig added in v1.25.40

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 (LambdaConflictHandlerConfig) GoString added in v1.25.40

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 (*LambdaConflictHandlerConfig) SetLambdaConflictHandlerArn added in v1.25.40

func (s *LambdaConflictHandlerConfig) SetLambdaConflictHandlerArn(v string) *LambdaConflictHandlerConfig

SetLambdaConflictHandlerArn sets the LambdaConflictHandlerArn field's value.

func (LambdaConflictHandlerConfig) String added in v1.25.40

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

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 (LambdaDataSourceConfig) GoString

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 (*LambdaDataSourceConfig) SetLambdaFunctionArn

func (s *LambdaDataSourceConfig) SetLambdaFunctionArn(v string) *LambdaDataSourceConfig

SetLambdaFunctionArn sets the LambdaFunctionArn field's value.

func (LambdaDataSourceConfig) String

func (s LambdaDataSourceConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 (*LambdaDataSourceConfig) Validate

func (s *LambdaDataSourceConfig) Validate() error

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

type LimitExceededException added in v1.28.0

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 (*LimitExceededException) Code added in v1.28.0

func (s *LimitExceededException) Code() string

Code returns the exception type name.

func (*LimitExceededException) Error added in v1.28.0

func (s *LimitExceededException) Error() string

func (LimitExceededException) GoString added in v1.28.0

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 (*LimitExceededException) Message added in v1.28.0

func (s *LimitExceededException) Message() string

Message returns the exception's message.

func (*LimitExceededException) OrigErr added in v1.28.0

func (s *LimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*LimitExceededException) RequestID added in v1.28.0

func (s *LimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*LimitExceededException) StatusCode added in v1.28.0

func (s *LimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (LimitExceededException) String added in v1.28.0

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

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 (ListApiKeysInput) GoString

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 (*ListApiKeysInput) SetApiId

func (s *ListApiKeysInput) SetApiId(v string) *ListApiKeysInput

SetApiId sets the ApiId field's value.

func (*ListApiKeysInput) SetMaxResults

func (s *ListApiKeysInput) SetMaxResults(v int64) *ListApiKeysInput

SetMaxResults sets the MaxResults field's value.

func (*ListApiKeysInput) SetNextToken

func (s *ListApiKeysInput) SetNextToken(v string) *ListApiKeysInput

SetNextToken sets the NextToken field's value.

func (ListApiKeysInput) String

func (s ListApiKeysInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 (*ListApiKeysInput) Validate

func (s *ListApiKeysInput) Validate() error

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

type ListApiKeysOutput

type ListApiKeysOutput struct {

	// The ApiKey objects.
	ApiKeys []*ApiKey `locationName:"apiKeys" type:"list"`

	// An identifier to 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 (ListApiKeysOutput) GoString

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 (*ListApiKeysOutput) SetApiKeys

func (s *ListApiKeysOutput) SetApiKeys(v []*ApiKey) *ListApiKeysOutput

SetApiKeys sets the ApiKeys field's value.

func (*ListApiKeysOutput) SetNextToken

func (s *ListApiKeysOutput) SetNextToken(v string) *ListApiKeysOutput

SetNextToken sets the NextToken field's value.

func (ListApiKeysOutput) String

func (s ListApiKeysOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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

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 (ListDataSourcesInput) GoString

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 (*ListDataSourcesInput) SetApiId

SetApiId sets the ApiId field's value.

func (*ListDataSourcesInput) SetMaxResults

func (s *ListDataSourcesInput) SetMaxResults(v int64) *ListDataSourcesInput

SetMaxResults sets the MaxResults field's value.

func (*ListDataSourcesInput) SetNextToken

func (s *ListDataSourcesInput) SetNextToken(v string) *ListDataSourcesInput

SetNextToken sets the NextToken field's value.

func (ListDataSourcesInput) String

func (s ListDataSourcesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 (*ListDataSourcesInput) Validate

func (s *ListDataSourcesInput) Validate() error

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

type ListDataSourcesOutput

type ListDataSourcesOutput struct {

	// The DataSource objects.
	DataSources []*DataSource `locationName:"dataSources" type:"list"`

	// An identifier to 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 (ListDataSourcesOutput) GoString

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 (*ListDataSourcesOutput) SetDataSources

func (s *ListDataSourcesOutput) SetDataSources(v []*DataSource) *ListDataSourcesOutput

SetDataSources sets the DataSources field's value.

func (*ListDataSourcesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListDataSourcesOutput) String

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 added in v1.42.20

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 (ListDomainNamesInput) GoString added in v1.42.20

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 (*ListDomainNamesInput) SetMaxResults added in v1.42.20

func (s *ListDomainNamesInput) SetMaxResults(v int64) *ListDomainNamesInput

SetMaxResults sets the MaxResults field's value.

func (*ListDomainNamesInput) SetNextToken added in v1.42.20

func (s *ListDomainNamesInput) SetNextToken(v string) *ListDomainNamesInput

SetNextToken sets the NextToken field's value.

func (ListDomainNamesInput) String added in v1.42.20

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 (*ListDomainNamesInput) Validate added in v1.42.20

func (s *ListDomainNamesInput) Validate() error

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

type ListDomainNamesOutput added in v1.42.20

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 (ListDomainNamesOutput) GoString added in v1.42.20

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 (*ListDomainNamesOutput) SetDomainNameConfigs added in v1.42.20

func (s *ListDomainNamesOutput) SetDomainNameConfigs(v []*DomainNameConfig) *ListDomainNamesOutput

SetDomainNameConfigs sets the DomainNameConfigs field's value.

func (*ListDomainNamesOutput) SetNextToken added in v1.42.20

SetNextToken sets the NextToken field's value.

func (ListDomainNamesOutput) String added in v1.42.20

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 added in v1.15.80

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 (ListFunctionsInput) GoString added in v1.15.80

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 (*ListFunctionsInput) SetApiId added in v1.15.80

SetApiId sets the ApiId field's value.

func (*ListFunctionsInput) SetMaxResults added in v1.15.80

func (s *ListFunctionsInput) SetMaxResults(v int64) *ListFunctionsInput

SetMaxResults sets the MaxResults field's value.

func (*ListFunctionsInput) SetNextToken added in v1.15.80

func (s *ListFunctionsInput) SetNextToken(v string) *ListFunctionsInput

SetNextToken sets the NextToken field's value.

func (ListFunctionsInput) String added in v1.15.80

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 (*ListFunctionsInput) Validate added in v1.15.80

func (s *ListFunctionsInput) Validate() error

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

type ListFunctionsOutput added in v1.15.80

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 (ListFunctionsOutput) GoString added in v1.15.80

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 (*ListFunctionsOutput) SetFunctions added in v1.15.80

SetFunctions sets the Functions field's value.

func (*ListFunctionsOutput) SetNextToken added in v1.15.80

func (s *ListFunctionsOutput) SetNextToken(v string) *ListFunctionsOutput

SetNextToken sets the NextToken field's value.

func (ListFunctionsOutput) String added in v1.15.80

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

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 (ListGraphqlApisInput) GoString

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 (*ListGraphqlApisInput) SetApiType added in v1.44.269

SetApiType sets the ApiType field's value.

func (*ListGraphqlApisInput) SetMaxResults

func (s *ListGraphqlApisInput) SetMaxResults(v int64) *ListGraphqlApisInput

SetMaxResults sets the MaxResults field's value.

func (*ListGraphqlApisInput) SetNextToken

func (s *ListGraphqlApisInput) SetNextToken(v string) *ListGraphqlApisInput

SetNextToken sets the NextToken field's value.

func (*ListGraphqlApisInput) SetOwner added in v1.44.269

SetOwner sets the Owner field's value.

func (ListGraphqlApisInput) String

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 (*ListGraphqlApisInput) Validate added in v1.25.40

func (s *ListGraphqlApisInput) Validate() error

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

type ListGraphqlApisOutput

type ListGraphqlApisOutput struct {

	// The GraphqlApi objects.
	GraphqlApis []*GraphqlApi `locationName:"graphqlApis" type:"list"`

	// An identifier to 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 (ListGraphqlApisOutput) GoString

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 (*ListGraphqlApisOutput) SetGraphqlApis

func (s *ListGraphqlApisOutput) SetGraphqlApis(v []*GraphqlApi) *ListGraphqlApisOutput

SetGraphqlApis sets the GraphqlApis field's value.

func (*ListGraphqlApisOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListGraphqlApisOutput) String

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 added in v1.15.80

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 (ListResolversByFunctionInput) GoString added in v1.15.80

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 (*ListResolversByFunctionInput) SetApiId added in v1.15.80

SetApiId sets the ApiId field's value.

func (*ListResolversByFunctionInput) SetFunctionId added in v1.15.80

SetFunctionId sets the FunctionId field's value.

func (*ListResolversByFunctionInput) SetMaxResults added in v1.15.80

SetMaxResults sets the MaxResults field's value.

func (*ListResolversByFunctionInput) SetNextToken added in v1.15.80

SetNextToken sets the NextToken field's value.

func (ListResolversByFunctionInput) String added in v1.15.80

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 (*ListResolversByFunctionInput) Validate added in v1.15.80

func (s *ListResolversByFunctionInput) Validate() error

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

type ListResolversByFunctionOutput added in v1.15.80

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 (ListResolversByFunctionOutput) GoString added in v1.15.80

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 (*ListResolversByFunctionOutput) SetNextToken added in v1.15.80

SetNextToken sets the NextToken field's value.

func (*ListResolversByFunctionOutput) SetResolvers added in v1.15.80

SetResolvers sets the Resolvers field's value.

func (ListResolversByFunctionOutput) String added in v1.15.80

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

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 (ListResolversInput) GoString

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 (*ListResolversInput) SetApiId

SetApiId sets the ApiId field's value.

func (*ListResolversInput) SetMaxResults

func (s *ListResolversInput) SetMaxResults(v int64) *ListResolversInput

SetMaxResults sets the MaxResults field's value.

func (*ListResolversInput) SetNextToken

func (s *ListResolversInput) SetNextToken(v string) *ListResolversInput

SetNextToken sets the NextToken field's value.

func (*ListResolversInput) SetTypeName

func (s *ListResolversInput) SetTypeName(v string) *ListResolversInput

SetTypeName sets the TypeName field's value.

func (ListResolversInput) String

func (s ListResolversInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 (*ListResolversInput) Validate

func (s *ListResolversInput) Validate() error

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

type ListResolversOutput

type ListResolversOutput struct {

	// An identifier to 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 (ListResolversOutput) GoString

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 (*ListResolversOutput) SetNextToken

func (s *ListResolversOutput) SetNextToken(v string) *ListResolversOutput

SetNextToken sets the NextToken field's value.

func (*ListResolversOutput) SetResolvers

func (s *ListResolversOutput) SetResolvers(v []*Resolver) *ListResolversOutput

SetResolvers sets the Resolvers field's value.

func (ListResolversOutput) String

func (s ListResolversOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 added in v1.44.269

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 (ListSourceApiAssociationsInput) GoString added in v1.44.269

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 (*ListSourceApiAssociationsInput) SetApiId added in v1.44.269

SetApiId sets the ApiId field's value.

func (*ListSourceApiAssociationsInput) SetMaxResults added in v1.44.269

SetMaxResults sets the MaxResults field's value.

func (*ListSourceApiAssociationsInput) SetNextToken added in v1.44.269

SetNextToken sets the NextToken field's value.

func (ListSourceApiAssociationsInput) String added in v1.44.269

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 (*ListSourceApiAssociationsInput) Validate added in v1.44.269

func (s *ListSourceApiAssociationsInput) Validate() error

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

type ListSourceApiAssociationsOutput added in v1.44.269

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 (ListSourceApiAssociationsOutput) GoString added in v1.44.269

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 (*ListSourceApiAssociationsOutput) SetNextToken added in v1.44.269

SetNextToken sets the NextToken field's value.

func (*ListSourceApiAssociationsOutput) SetSourceApiAssociationSummaries added in v1.44.269

SetSourceApiAssociationSummaries sets the SourceApiAssociationSummaries field's value.

func (ListSourceApiAssociationsOutput) String added in v1.44.269

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 added in v1.19.26

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 (ListTagsForResourceInput) GoString added in v1.19.26

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 (*ListTagsForResourceInput) SetResourceArn added in v1.19.26

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String added in v1.19.26

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 (*ListTagsForResourceInput) Validate added in v1.19.26

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput added in v1.19.26

type ListTagsForResourceOutput struct {

	// A TagMap object.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString added in v1.19.26

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 (*ListTagsForResourceOutput) SetTags added in v1.19.26

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String added in v1.19.26

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 added in v1.44.269

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 (ListTypesByAssociationInput) GoString added in v1.44.269

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 (*ListTypesByAssociationInput) SetAssociationId added in v1.44.269

SetAssociationId sets the AssociationId field's value.

func (*ListTypesByAssociationInput) SetFormat added in v1.44.269

SetFormat sets the Format field's value.

func (*ListTypesByAssociationInput) SetMaxResults added in v1.44.269

SetMaxResults sets the MaxResults field's value.

func (*ListTypesByAssociationInput) SetMergedApiIdentifier added in v1.44.269

func (s *ListTypesByAssociationInput) SetMergedApiIdentifier(v string) *ListTypesByAssociationInput

SetMergedApiIdentifier sets the MergedApiIdentifier field's value.

func (*ListTypesByAssociationInput) SetNextToken added in v1.44.269

SetNextToken sets the NextToken field's value.

func (ListTypesByAssociationInput) String added in v1.44.269

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 (*ListTypesByAssociationInput) Validate added in v1.44.269

func (s *ListTypesByAssociationInput) Validate() error

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

type ListTypesByAssociationOutput added in v1.44.269

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 (ListTypesByAssociationOutput) GoString added in v1.44.269

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 (*ListTypesByAssociationOutput) SetNextToken added in v1.44.269

SetNextToken sets the NextToken field's value.

func (*ListTypesByAssociationOutput) SetTypes added in v1.44.269

SetTypes sets the Types field's value.

func (ListTypesByAssociationOutput) String added in v1.44.269

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

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 (ListTypesInput) GoString

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 (*ListTypesInput) SetApiId

func (s *ListTypesInput) SetApiId(v string) *ListTypesInput

SetApiId sets the ApiId field's value.

func (*ListTypesInput) SetFormat

func (s *ListTypesInput) SetFormat(v string) *ListTypesInput

SetFormat sets the Format field's value.

func (*ListTypesInput) SetMaxResults

func (s *ListTypesInput) SetMaxResults(v int64) *ListTypesInput

SetMaxResults sets the MaxResults field's value.

func (*ListTypesInput) SetNextToken

func (s *ListTypesInput) SetNextToken(v string) *ListTypesInput

SetNextToken sets the NextToken field's value.

func (ListTypesInput) String

func (s ListTypesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 (*ListTypesInput) Validate

func (s *ListTypesInput) Validate() error

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

type ListTypesOutput

type ListTypesOutput struct {

	// An identifier to 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 (ListTypesOutput) GoString

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 (*ListTypesOutput) SetNextToken

func (s *ListTypesOutput) SetNextToken(v string) *ListTypesOutput

SetNextToken sets the NextToken field's value.

func (*ListTypesOutput) SetTypes

func (s *ListTypesOutput) SetTypes(v []*Type) *ListTypesOutput

SetTypes sets the Types field's value.

func (ListTypesOutput) String

func (s ListTypesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 added in v1.13.41

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 (LogConfig) GoString added in v1.13.41

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 (*LogConfig) SetCloudWatchLogsRoleArn added in v1.13.41

func (s *LogConfig) SetCloudWatchLogsRoleArn(v string) *LogConfig

SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value.

func (*LogConfig) SetExcludeVerboseContent added in v1.23.0

func (s *LogConfig) SetExcludeVerboseContent(v bool) *LogConfig

SetExcludeVerboseContent sets the ExcludeVerboseContent field's value.

func (*LogConfig) SetFieldLogLevel added in v1.13.41

func (s *LogConfig) SetFieldLogLevel(v string) *LogConfig

SetFieldLogLevel sets the FieldLogLevel field's value.

func (LogConfig) String added in v1.13.41

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 (*LogConfig) Validate added in v1.13.41

func (s *LogConfig) Validate() error

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

type NotFoundException added in v1.28.0

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 (*NotFoundException) Code added in v1.28.0

func (s *NotFoundException) Code() string

Code returns the exception type name.

func (*NotFoundException) Error added in v1.28.0

func (s *NotFoundException) Error() string

func (NotFoundException) GoString added in v1.28.0

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 (*NotFoundException) Message added in v1.28.0

func (s *NotFoundException) Message() string

Message returns the exception's message.

func (*NotFoundException) OrigErr added in v1.28.0

func (s *NotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*NotFoundException) RequestID added in v1.28.0

func (s *NotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*NotFoundException) StatusCode added in v1.28.0

func (s *NotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (NotFoundException) String added in v1.28.0

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 added in v1.13.41

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 (OpenIDConnectConfig) GoString added in v1.13.41

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 (*OpenIDConnectConfig) SetAuthTTL added in v1.13.41

func (s *OpenIDConnectConfig) SetAuthTTL(v int64) *OpenIDConnectConfig

SetAuthTTL sets the AuthTTL field's value.

func (*OpenIDConnectConfig) SetClientId added in v1.13.41

func (s *OpenIDConnectConfig) SetClientId(v string) *OpenIDConnectConfig

SetClientId sets the ClientId field's value.

func (*OpenIDConnectConfig) SetIatTTL added in v1.13.41

SetIatTTL sets the IatTTL field's value.

func (*OpenIDConnectConfig) SetIssuer added in v1.13.41

SetIssuer sets the Issuer field's value.

func (OpenIDConnectConfig) String added in v1.13.41

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 (*OpenIDConnectConfig) Validate added in v1.13.41

func (s *OpenIDConnectConfig) Validate() error

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

type OpenSearchServiceDataSourceConfig added in v1.40.48

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 (OpenSearchServiceDataSourceConfig) GoString added in v1.40.48

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 (*OpenSearchServiceDataSourceConfig) SetAwsRegion added in v1.40.48

SetAwsRegion sets the AwsRegion field's value.

func (*OpenSearchServiceDataSourceConfig) SetEndpoint added in v1.40.48

SetEndpoint sets the Endpoint field's value.

func (OpenSearchServiceDataSourceConfig) String added in v1.40.48

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 (*OpenSearchServiceDataSourceConfig) Validate added in v1.40.48

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

type PipelineConfig added in v1.15.80

type PipelineConfig struct {

	// A list of Function objects.
	Functions []*string `locationName:"functions" type:"list"`
	// contains filtered or unexported fields
}

The pipeline configuration for a resolver of kind PIPELINE.

func (PipelineConfig) GoString added in v1.15.80

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 (*PipelineConfig) SetFunctions added in v1.15.80

func (s *PipelineConfig) SetFunctions(v []*string) *PipelineConfig

SetFunctions sets the Functions field's value.

func (PipelineConfig) String added in v1.15.80

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 added in v1.50.12

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 (PutGraphqlApiEnvironmentVariablesInput) GoString added in v1.50.12

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 (*PutGraphqlApiEnvironmentVariablesInput) SetApiId added in v1.50.12

SetApiId sets the ApiId field's value.

func (*PutGraphqlApiEnvironmentVariablesInput) SetEnvironmentVariables added in v1.50.12

SetEnvironmentVariables sets the EnvironmentVariables field's value.

func (PutGraphqlApiEnvironmentVariablesInput) String added in v1.50.12

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 (*PutGraphqlApiEnvironmentVariablesInput) Validate added in v1.50.12

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

type PutGraphqlApiEnvironmentVariablesOutput added in v1.50.12

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 (PutGraphqlApiEnvironmentVariablesOutput) GoString added in v1.50.12

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 (*PutGraphqlApiEnvironmentVariablesOutput) SetEnvironmentVariables added in v1.50.12

SetEnvironmentVariables sets the EnvironmentVariables field's value.

func (PutGraphqlApiEnvironmentVariablesOutput) String added in v1.50.12

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 RdsDataApiConfig added in v1.48.5

type RdsDataApiConfig struct {

	// The name of the database in the cluster.
	//
	// DatabaseName is a required field
	DatabaseName *string `locationName:"databaseName" min:"1" type:"string" required:"true"`

	// The resource ARN of the RDS cluster.
	//
	// ResourceArn is a required field
	ResourceArn *string `locationName:"resourceArn" min:"20" type:"string" required:"true"`

	// The secret's ARN that was obtained from Secrets Manager. A secret consists
	// of secret information, the secret value, plus metadata about the secret.
	// A secret value can be a string or binary. It typically includes the ARN,
	// secret name and description, policies, tags, encryption key from the Key
	// Management Service, and key rotation data.
	//
	// SecretArn is a required field
	SecretArn *string `locationName:"secretArn" min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains the metadata required to introspect the RDS cluster.

func (RdsDataApiConfig) GoString added in v1.48.5

func (s RdsDataApiConfig) 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 (*RdsDataApiConfig) SetDatabaseName added in v1.48.5

func (s *RdsDataApiConfig) SetDatabaseName(v string) *RdsDataApiConfig

SetDatabaseName sets the DatabaseName field's value.

func (*RdsDataApiConfig) SetResourceArn added in v1.48.5

func (s *RdsDataApiConfig) SetResourceArn(v string) *RdsDataApiConfig

SetResourceArn sets the ResourceArn field's value.

func (*RdsDataApiConfig) SetSecretArn added in v1.48.5

func (s *RdsDataApiConfig) SetSecretArn(v string) *RdsDataApiConfig

SetSecretArn sets the SecretArn field's value.

func (RdsDataApiConfig) String added in v1.48.5

func (s RdsDataApiConfig) 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 (*RdsDataApiConfig) Validate added in v1.48.5

func (s *RdsDataApiConfig) Validate() error

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

type RdsHttpEndpointConfig added in v1.15.80

type RdsHttpEndpointConfig struct {

	// Amazon Web Services Region for Amazon RDS HTTP endpoint.
	AwsRegion *string `locationName:"awsRegion" type:"string"`

	// Amazon Web Services secret store Amazon Resource Name (ARN) for database
	// credentials.
	AwsSecretStoreArn *string `locationName:"awsSecretStoreArn" type:"string"`

	// Logical database name.
	DatabaseName *string `locationName:"databaseName" type:"string"`

	// Amazon RDS cluster Amazon Resource Name (ARN).
	DbClusterIdentifier *string `locationName:"dbClusterIdentifier" type:"string"`

	// Logical schema name.
	Schema *string `locationName:"schema" type:"string"`
	// contains filtered or unexported fields
}

The Amazon Relational Database Service (Amazon RDS) HTTP endpoint configuration.

func (RdsHttpEndpointConfig) GoString added in v1.15.80

func (s RdsHttpEndpointConfig) 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 (*RdsHttpEndpointConfig) SetAwsRegion added in v1.15.80

SetAwsRegion sets the AwsRegion field's value.

func (*RdsHttpEndpointConfig) SetAwsSecretStoreArn added in v1.15.80

func (s *RdsHttpEndpointConfig) SetAwsSecretStoreArn(v string) *RdsHttpEndpointConfig

SetAwsSecretStoreArn sets the AwsSecretStoreArn field's value.

func (*RdsHttpEndpointConfig) SetDatabaseName added in v1.15.80

func (s *RdsHttpEndpointConfig) SetDatabaseName(v string) *RdsHttpEndpointConfig

SetDatabaseName sets the DatabaseName field's value.

func (*RdsHttpEndpointConfig) SetDbClusterIdentifier added in v1.15.80

func (s *RdsHttpEndpointConfig) SetDbClusterIdentifier(v string) *RdsHttpEndpointConfig

SetDbClusterIdentifier sets the DbClusterIdentifier field's value.

func (*RdsHttpEndpointConfig) SetSchema added in v1.15.80

SetSchema sets the Schema field's value.

func (RdsHttpEndpointConfig) String added in v1.15.80

func (s RdsHttpEndpointConfig) 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 RelationalDatabaseDataSourceConfig added in v1.15.80

type RelationalDatabaseDataSourceConfig struct {

	// Amazon RDS HTTP endpoint settings.
	RdsHttpEndpointConfig *RdsHttpEndpointConfig `locationName:"rdsHttpEndpointConfig" type:"structure"`

	// Source type for the relational database.
	//
	//    * RDS_HTTP_ENDPOINT: The relational database source type is an Amazon
	//    Relational Database Service (Amazon RDS) HTTP endpoint.
	RelationalDatabaseSourceType *string `locationName:"relationalDatabaseSourceType" type:"string" enum:"RelationalDatabaseSourceType"`
	// contains filtered or unexported fields
}

Describes a relational database data source configuration.

func (RelationalDatabaseDataSourceConfig) GoString added in v1.15.80

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 (*RelationalDatabaseDataSourceConfig) SetRdsHttpEndpointConfig added in v1.15.80

SetRdsHttpEndpointConfig sets the RdsHttpEndpointConfig field's value.

func (*RelationalDatabaseDataSourceConfig) SetRelationalDatabaseSourceType added in v1.15.80

func (s *RelationalDatabaseDataSourceConfig) SetRelationalDatabaseSourceType(v string) *RelationalDatabaseDataSourceConfig

SetRelationalDatabaseSourceType sets the RelationalDatabaseSourceType field's value.

func (RelationalDatabaseDataSourceConfig) String added in v1.15.80

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 Resolver

type Resolver struct {

	// 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 resolver data source name.
	DataSourceName *string `locationName:"dataSourceName" min:"1" type:"string"`

	// The resolver field name.
	FieldName *string `locationName:"fieldName" min:"1" type:"string"`

	// The resolver type.
	//
	//    * UNIT: A UNIT resolver type. A UNIT resolver is the default resolver
	//    type. 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 request mapping template.
	RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string"`

	// The resolver Amazon Resource Name (ARN).
	ResolverArn *string `locationName:"resolverArn" type:"string"`

	// The 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"`

	// The SyncConfig for a resolver attached to a versioned data source.
	SyncConfig *SyncConfig `locationName:"syncConfig" type:"structure"`

	// The resolver type name.
	TypeName *string `locationName:"typeName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Describes a resolver.

func (Resolver) GoString

func (s Resolver) 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 (*Resolver) SetCachingConfig added in v1.25.40

func (s *Resolver) SetCachingConfig(v *CachingConfig) *Resolver

SetCachingConfig sets the CachingConfig field's value.

func (*Resolver) SetCode added in v1.44.140

func (s *Resolver) SetCode(v string) *Resolver

SetCode sets the Code field's value.

func (*Resolver) SetDataSourceName

func (s *Resolver) SetDataSourceName(v string) *Resolver

SetDataSourceName sets the DataSourceName field's value.

func (*Resolver) SetFieldName

func (s *Resolver) SetFieldName(v string) *Resolver

SetFieldName sets the FieldName field's value.

func (*Resolver) SetKind added in v1.15.80

func (s *Resolver) SetKind(v string) *Resolver

SetKind sets the Kind field's value.

func (*Resolver) SetMaxBatchSize added in v1.42.29

func (s *Resolver) SetMaxBatchSize(v int64) *Resolver

SetMaxBatchSize sets the MaxBatchSize field's value.

func (*Resolver) SetMetricsConfig added in v1.50.16

func (s *Resolver) SetMetricsConfig(v string) *Resolver

SetMetricsConfig sets the MetricsConfig field's value.

func (*Resolver) SetPipelineConfig added in v1.15.80

func (s *Resolver) SetPipelineConfig(v *PipelineConfig) *Resolver

SetPipelineConfig sets the PipelineConfig field's value.

func (*Resolver) SetRequestMappingTemplate

func (s *Resolver) SetRequestMappingTemplate(v string) *Resolver

SetRequestMappingTemplate sets the RequestMappingTemplate field's value.

func (*Resolver) SetResolverArn

func (s *Resolver) SetResolverArn(v string) *Resolver

SetResolverArn sets the ResolverArn field's value.

func (*Resolver) SetResponseMappingTemplate

func (s *Resolver) SetResponseMappingTemplate(v string) *Resolver

SetResponseMappingTemplate sets the ResponseMappingTemplate field's value.

func (*Resolver) SetRuntime added in v1.44.140

func (s *Resolver) SetRuntime(v *AppSyncRuntime) *Resolver

SetRuntime sets the Runtime field's value.

func (*Resolver) SetSyncConfig added in v1.25.40

func (s *Resolver) SetSyncConfig(v *SyncConfig) *Resolver

SetSyncConfig sets the SyncConfig field's value.

func (*Resolver) SetTypeName

func (s *Resolver) SetTypeName(v string) *Resolver

SetTypeName sets the TypeName field's value.

func (Resolver) String

func (s Resolver) 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 SourceApiAssociation added in v1.44.269

type SourceApiAssociation struct {

	// The Amazon Resource Name (ARN) of the source API association.
	AssociationArn *string `locationName:"associationArn" type:"string"`

	// The ID generated by the AppSync service for the source API association.
	AssociationId *string `locationName:"associationId" type:"string"`

	// The description field.
	Description *string `locationName:"description" type:"string"`

	// The datetime value of the last successful merge of the source API association.
	// The result will be in UTC format and your local time zone.
	LastSuccessfulMergeDate *time.Time `locationName:"lastSuccessfulMergeDate" type:"timestamp"`

	// The Amazon Resource Name (ARN) of the AppSync Merged API.
	MergedApiArn *string `locationName:"mergedApiArn" type:"string"`

	// The ID of the AppSync Merged API.
	MergedApiId *string `locationName:"mergedApiId" type:"string"`

	// The Amazon Resource Name (ARN) of the AppSync source API.
	SourceApiArn *string `locationName:"sourceApiArn" type:"string"`

	// The SourceApiAssociationConfig object data.
	SourceApiAssociationConfig *SourceApiAssociationConfig `locationName:"sourceApiAssociationConfig" type:"structure"`

	// The state of the source API association.
	SourceApiAssociationStatus *string `locationName:"sourceApiAssociationStatus" type:"string" enum:"SourceApiAssociationStatus"`

	// The detailed message related to the current state of the source API association.
	SourceApiAssociationStatusDetail *string `locationName:"sourceApiAssociationStatusDetail" type:"string"`

	// The ID of the AppSync source API.
	SourceApiId *string `locationName:"sourceApiId" type:"string"`
	// contains filtered or unexported fields
}

Describes the configuration of a source API. A source API is a GraphQL API that is linked to a merged API. There can be multiple source APIs attached to each merged API. When linked to a merged API, the source API's schema, data sources, and resolvers will be combined with other linked source API data to form a new, singular API.

Source APIs can originate from your account or from other accounts via Amazon Web Services Resource Access Manager. For more information about sharing resources from other accounts, see What is Amazon Web Services Resource Access Manager? (https://docs.aws.amazon.com/ram/latest/userguide/what-is.html) in the Amazon Web Services Resource Access Manager guide.

func (SourceApiAssociation) GoString added in v1.44.269

func (s SourceApiAssociation) 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 (*SourceApiAssociation) SetAssociationArn added in v1.44.269

func (s *SourceApiAssociation) SetAssociationArn(v string) *SourceApiAssociation

SetAssociationArn sets the AssociationArn field's value.

func (*SourceApiAssociation) SetAssociationId added in v1.44.269

func (s *SourceApiAssociation) SetAssociationId(v string) *SourceApiAssociation

SetAssociationId sets the AssociationId field's value.

func (*SourceApiAssociation) SetDescription added in v1.44.269

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

SetDescription sets the Description field's value.

func (*SourceApiAssociation) SetLastSuccessfulMergeDate added in v1.44.269

func (s *SourceApiAssociation) SetLastSuccessfulMergeDate(v time.Time) *SourceApiAssociation

SetLastSuccessfulMergeDate sets the LastSuccessfulMergeDate field's value.

func (*SourceApiAssociation) SetMergedApiArn added in v1.44.269

func (s *SourceApiAssociation) SetMergedApiArn(v string) *SourceApiAssociation

SetMergedApiArn sets the MergedApiArn field's value.

func (*SourceApiAssociation) SetMergedApiId added in v1.44.269

func (s *SourceApiAssociation) SetMergedApiId(v string) *SourceApiAssociation

SetMergedApiId sets the MergedApiId field's value.

func (*SourceApiAssociation) SetSourceApiArn added in v1.44.269

func (s *SourceApiAssociation) SetSourceApiArn(v string) *SourceApiAssociation

SetSourceApiArn sets the SourceApiArn field's value.

func (*SourceApiAssociation) SetSourceApiAssociationConfig added in v1.44.269

func (s *SourceApiAssociation) SetSourceApiAssociationConfig(v *SourceApiAssociationConfig) *SourceApiAssociation

SetSourceApiAssociationConfig sets the SourceApiAssociationConfig field's value.

func (*SourceApiAssociation) SetSourceApiAssociationStatus added in v1.44.269

func (s *SourceApiAssociation) SetSourceApiAssociationStatus(v string) *SourceApiAssociation

SetSourceApiAssociationStatus sets the SourceApiAssociationStatus field's value.

func (*SourceApiAssociation) SetSourceApiAssociationStatusDetail added in v1.44.269

func (s *SourceApiAssociation) SetSourceApiAssociationStatusDetail(v string) *SourceApiAssociation

SetSourceApiAssociationStatusDetail sets the SourceApiAssociationStatusDetail field's value.

func (*SourceApiAssociation) SetSourceApiId added in v1.44.269

func (s *SourceApiAssociation) SetSourceApiId(v string) *SourceApiAssociation

SetSourceApiId sets the SourceApiId field's value.

func (SourceApiAssociation) String added in v1.44.269

func (s SourceApiAssociation) 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 SourceApiAssociationConfig added in v1.44.269

type SourceApiAssociationConfig struct {

	// The property that indicates which merging option is enabled in the source
	// API association.
	//
	// Valid merge types are MANUAL_MERGE (default) and AUTO_MERGE. Manual merges
	// are the default behavior and require the user to trigger any changes from
	// the source APIs to the merged API manually. Auto merges subscribe the merged
	// API to the changes performed on the source APIs so that any change in the
	// source APIs are also made to the merged API. Auto merges use MergedApiExecutionRoleArn
	// to perform merge operations.
	MergeType *string `locationName:"mergeType" type:"string" enum:"MergeType"`
	// contains filtered or unexported fields
}

Describes properties used to specify configurations related to a source API.

func (SourceApiAssociationConfig) GoString added in v1.44.269

func (s SourceApiAssociationConfig) 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 (*SourceApiAssociationConfig) SetMergeType added in v1.44.269

SetMergeType sets the MergeType field's value.

func (SourceApiAssociationConfig) String added in v1.44.269

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 SourceApiAssociationSummary added in v1.44.269

type SourceApiAssociationSummary struct {

	// The Amazon Resource Name (ARN) of the source API association.
	AssociationArn *string `locationName:"associationArn" type:"string"`

	// The ID generated by the AppSync service for the source API association.
	AssociationId *string `locationName:"associationId" type:"string"`

	// The description field.
	Description *string `locationName:"description" type:"string"`

	// The Amazon Resource Name (ARN) of the AppSync Merged API.
	MergedApiArn *string `locationName:"mergedApiArn" type:"string"`

	// The ID of the AppSync Merged API.
	MergedApiId *string `locationName:"mergedApiId" type:"string"`

	// The Amazon Resource Name (ARN) of the AppSync Source API.
	SourceApiArn *string `locationName:"sourceApiArn" type:"string"`

	// The ID of the AppSync source API.
	SourceApiId *string `locationName:"sourceApiId" type:"string"`
	// contains filtered or unexported fields
}

Describes the ARNs and IDs of associations, Merged APIs, and source APIs.

func (SourceApiAssociationSummary) GoString added in v1.44.269

func (s SourceApiAssociationSummary) 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 (*SourceApiAssociationSummary) SetAssociationArn added in v1.44.269

SetAssociationArn sets the AssociationArn field's value.

func (*SourceApiAssociationSummary) SetAssociationId added in v1.44.269

SetAssociationId sets the AssociationId field's value.

func (*SourceApiAssociationSummary) SetDescription added in v1.44.269

SetDescription sets the Description field's value.

func (*SourceApiAssociationSummary) SetMergedApiArn added in v1.44.269

SetMergedApiArn sets the MergedApiArn field's value.

func (*SourceApiAssociationSummary) SetMergedApiId added in v1.44.269

SetMergedApiId sets the MergedApiId field's value.

func (*SourceApiAssociationSummary) SetSourceApiArn added in v1.44.269

SetSourceApiArn sets the SourceApiArn field's value.

func (*SourceApiAssociationSummary) SetSourceApiId added in v1.44.269

SetSourceApiId sets the SourceApiId field's value.

func (SourceApiAssociationSummary) String added in v1.44.269

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 StartDataSourceIntrospectionInput added in v1.48.5

type StartDataSourceIntrospectionInput struct {

	// The rdsDataApiConfig object data.
	RdsDataApiConfig *RdsDataApiConfig `locationName:"rdsDataApiConfig" type:"structure"`
	// contains filtered or unexported fields
}

func (StartDataSourceIntrospectionInput) GoString added in v1.48.5

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 (*StartDataSourceIntrospectionInput) SetRdsDataApiConfig added in v1.48.5

SetRdsDataApiConfig sets the RdsDataApiConfig field's value.

func (StartDataSourceIntrospectionInput) String added in v1.48.5

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 (*StartDataSourceIntrospectionInput) Validate added in v1.48.5

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

type StartDataSourceIntrospectionOutput added in v1.48.5

type StartDataSourceIntrospectionOutput 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 status of the introspection during creation. By default, when a new instrospection
	// has been created, 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 (StartDataSourceIntrospectionOutput) GoString added in v1.48.5

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 (*StartDataSourceIntrospectionOutput) SetIntrospectionId added in v1.48.5

SetIntrospectionId sets the IntrospectionId field's value.

func (*StartDataSourceIntrospectionOutput) SetIntrospectionStatus added in v1.48.5

SetIntrospectionStatus sets the IntrospectionStatus field's value.

func (*StartDataSourceIntrospectionOutput) SetIntrospectionStatusDetail added in v1.48.5

SetIntrospectionStatusDetail sets the IntrospectionStatusDetail field's value.

func (StartDataSourceIntrospectionOutput) String added in v1.48.5

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 StartSchemaCreationInput

type StartSchemaCreationInput struct {

	// The API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// The schema definition, in GraphQL schema language format.
	// Definition is automatically base64 encoded/decoded by the SDK.
	//
	// Definition is a required field
	Definition []byte `locationName:"definition" type:"blob" required:"true"`
	// contains filtered or unexported fields
}

func (StartSchemaCreationInput) GoString

func (s StartSchemaCreationInput) 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 (*StartSchemaCreationInput) SetApiId

SetApiId sets the ApiId field's value.

func (*StartSchemaCreationInput) SetDefinition

SetDefinition sets the Definition field's value.

func (StartSchemaCreationInput) String

func (s StartSchemaCreationInput) 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 (*StartSchemaCreationInput) Validate

func (s *StartSchemaCreationInput) Validate() error

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

type StartSchemaCreationOutput

type StartSchemaCreationOutput struct {

	// The current state of the schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE).
	// When the schema is in the ACTIVE state, you can add data.
	Status *string `locationName:"status" type:"string" enum:"SchemaStatus"`
	// contains filtered or unexported fields
}

func (StartSchemaCreationOutput) GoString

func (s StartSchemaCreationOutput) 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 (*StartSchemaCreationOutput) SetStatus

SetStatus sets the Status field's value.

func (StartSchemaCreationOutput) String

func (s StartSchemaCreationOutput) 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 StartSchemaMergeInput added in v1.44.269

type StartSchemaMergeInput 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 (StartSchemaMergeInput) GoString added in v1.44.269

func (s StartSchemaMergeInput) 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 (*StartSchemaMergeInput) SetAssociationId added in v1.44.269

func (s *StartSchemaMergeInput) SetAssociationId(v string) *StartSchemaMergeInput

SetAssociationId sets the AssociationId field's value.

func (*StartSchemaMergeInput) SetMergedApiIdentifier added in v1.44.269

func (s *StartSchemaMergeInput) SetMergedApiIdentifier(v string) *StartSchemaMergeInput

SetMergedApiIdentifier sets the MergedApiIdentifier field's value.

func (StartSchemaMergeInput) String added in v1.44.269

func (s StartSchemaMergeInput) 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 (*StartSchemaMergeInput) Validate added in v1.44.269

func (s *StartSchemaMergeInput) Validate() error

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

type StartSchemaMergeOutput added in v1.44.269

type StartSchemaMergeOutput struct {

	// The state of the source API association.
	SourceApiAssociationStatus *string `locationName:"sourceApiAssociationStatus" type:"string" enum:"SourceApiAssociationStatus"`
	// contains filtered or unexported fields
}

func (StartSchemaMergeOutput) GoString added in v1.44.269

func (s StartSchemaMergeOutput) 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 (*StartSchemaMergeOutput) SetSourceApiAssociationStatus added in v1.44.269

func (s *StartSchemaMergeOutput) SetSourceApiAssociationStatus(v string) *StartSchemaMergeOutput

SetSourceApiAssociationStatus sets the SourceApiAssociationStatus field's value.

func (StartSchemaMergeOutput) String added in v1.44.269

func (s StartSchemaMergeOutput) 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 SyncConfig added in v1.25.40

type SyncConfig struct {

	// The Conflict Detection strategy to use.
	//
	//    * VERSION: Detect conflicts based on object versions for this resolver.
	//
	//    * NONE: Do not detect conflicts when invoking this resolver.
	ConflictDetection *string `locationName:"conflictDetection" type:"string" enum:"ConflictDetectionType"`

	// The Conflict Resolution strategy to perform in the event of a conflict.
	//
	//    * OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when
	//    versions don't match the latest version at the server.
	//
	//    * AUTOMERGE: Resolve conflicts with the Automerge conflict resolution
	//    strategy.
	//
	//    * LAMBDA: Resolve conflicts with an Lambda function supplied in the LambdaConflictHandlerConfig.
	ConflictHandler *string `locationName:"conflictHandler" type:"string" enum:"ConflictHandlerType"`

	// The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.
	LambdaConflictHandlerConfig *LambdaConflictHandlerConfig `locationName:"lambdaConflictHandlerConfig" type:"structure"`
	// contains filtered or unexported fields
}

Describes a Sync configuration for a resolver.

Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.

func (SyncConfig) GoString added in v1.25.40

func (s SyncConfig) 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 (*SyncConfig) SetConflictDetection added in v1.25.40

func (s *SyncConfig) SetConflictDetection(v string) *SyncConfig

SetConflictDetection sets the ConflictDetection field's value.

func (*SyncConfig) SetConflictHandler added in v1.25.40

func (s *SyncConfig) SetConflictHandler(v string) *SyncConfig

SetConflictHandler sets the ConflictHandler field's value.

func (*SyncConfig) SetLambdaConflictHandlerConfig added in v1.25.40

func (s *SyncConfig) SetLambdaConflictHandlerConfig(v *LambdaConflictHandlerConfig) *SyncConfig

SetLambdaConflictHandlerConfig sets the LambdaConflictHandlerConfig field's value.

func (SyncConfig) String added in v1.25.40

func (s SyncConfig) 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 TagResourceInput added in v1.19.26

type TagResourceInput struct {

	// The GraphqlApi Amazon Resource Name (ARN).
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"70" type:"string" required:"true"`

	// A TagMap object.
	//
	// Tags is a required field
	Tags map[string]*string `locationName:"tags" min:"1" type:"map" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString added in v1.19.26

func (s TagResourceInput) 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 (*TagResourceInput) SetResourceArn added in v1.19.26

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags added in v1.19.26

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String added in v1.19.26

func (s TagResourceInput) 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 (*TagResourceInput) Validate added in v1.19.26

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput added in v1.19.26

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) GoString added in v1.19.26

func (s TagResourceOutput) 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 (TagResourceOutput) String added in v1.19.26

func (s TagResourceOutput) 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 Type

type Type struct {

	// The type Amazon Resource Name (ARN).
	Arn *string `locationName:"arn" type:"string"`

	// The type definition.
	Definition *string `locationName:"definition" type:"string"`

	// The type description.
	Description *string `locationName:"description" type:"string"`

	// The type format: SDL or JSON.
	Format *string `locationName:"format" type:"string" enum:"TypeDefinitionFormat"`

	// The type name.
	Name *string `locationName:"name" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Describes a type.

func (Type) GoString

func (s Type) 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 (*Type) SetArn

func (s *Type) SetArn(v string) *Type

SetArn sets the Arn field's value.

func (*Type) SetDefinition

func (s *Type) SetDefinition(v string) *Type

SetDefinition sets the Definition field's value.

func (*Type) SetDescription

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

SetDescription sets the Description field's value.

func (*Type) SetFormat

func (s *Type) SetFormat(v string) *Type

SetFormat sets the Format field's value.

func (*Type) SetName

func (s *Type) SetName(v string) *Type

SetName sets the Name field's value.

func (Type) String

func (s Type) 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 UnauthorizedException added in v1.28.0

type UnauthorizedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

You aren't authorized to perform this operation.

func (*UnauthorizedException) Code added in v1.28.0

func (s *UnauthorizedException) Code() string

Code returns the exception type name.

func (*UnauthorizedException) Error added in v1.28.0

func (s *UnauthorizedException) Error() string

func (UnauthorizedException) GoString added in v1.28.0

func (s UnauthorizedException) 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 (*UnauthorizedException) Message added in v1.28.0

func (s *UnauthorizedException) Message() string

Message returns the exception's message.

func (*UnauthorizedException) OrigErr added in v1.28.0

func (s *UnauthorizedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*UnauthorizedException) RequestID added in v1.28.0

func (s *UnauthorizedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*UnauthorizedException) StatusCode added in v1.28.0

func (s *UnauthorizedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (UnauthorizedException) String added in v1.28.0

func (s UnauthorizedException) 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 UntagResourceInput added in v1.19.26

type UntagResourceInput struct {

	// The GraphqlApi Amazon Resource Name (ARN).
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"70" type:"string" required:"true"`

	// A list of TagKey objects.
	//
	// TagKeys is a required field
	TagKeys []*string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString added in v1.19.26

func (s UntagResourceInput) 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 (*UntagResourceInput) SetResourceArn added in v1.19.26

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys added in v1.19.26

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String added in v1.19.26

func (s UntagResourceInput) 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 (*UntagResourceInput) Validate added in v1.19.26

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput added in v1.19.26

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) GoString added in v1.19.26

func (s UntagResourceOutput) 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 (UntagResourceOutput) String added in v1.19.26

func (s UntagResourceOutput) 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 UpdateApiCacheInput added in v1.25.40

type UpdateApiCacheInput 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"`

	// 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"`

	// 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 UpdateApiCache operation.

func (UpdateApiCacheInput) GoString added in v1.25.40

func (s UpdateApiCacheInput) 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 (*UpdateApiCacheInput) SetApiCachingBehavior added in v1.25.40

func (s *UpdateApiCacheInput) SetApiCachingBehavior(v string) *UpdateApiCacheInput

SetApiCachingBehavior sets the ApiCachingBehavior field's value.

func (*UpdateApiCacheInput) SetApiId added in v1.25.40

SetApiId sets the ApiId field's value.

func (*UpdateApiCacheInput) SetHealthMetricsConfig added in v1.50.16

func (s *UpdateApiCacheInput) SetHealthMetricsConfig(v string) *UpdateApiCacheInput

SetHealthMetricsConfig sets the HealthMetricsConfig field's value.

func (*UpdateApiCacheInput) SetTtl added in v1.25.40

SetTtl sets the Ttl field's value.

func (*UpdateApiCacheInput) SetType added in v1.25.40

SetType sets the Type field's value.

func (UpdateApiCacheInput) String added in v1.25.40

func (s UpdateApiCacheInput) 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 (*UpdateApiCacheInput) Validate added in v1.25.40

func (s *UpdateApiCacheInput) Validate() error

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

type UpdateApiCacheOutput added in v1.25.40

type UpdateApiCacheOutput struct {

	// The ApiCache object.
	ApiCache *ApiCache `locationName:"apiCache" type:"structure"`
	// contains filtered or unexported fields
}

Represents the output of a UpdateApiCache operation.

func (UpdateApiCacheOutput) GoString added in v1.25.40

func (s UpdateApiCacheOutput) 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 (*UpdateApiCacheOutput) SetApiCache added in v1.25.40

SetApiCache sets the ApiCache field's value.

func (UpdateApiCacheOutput) String added in v1.25.40

func (s UpdateApiCacheOutput) 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 UpdateApiKeyInput added in v1.12.77

type UpdateApiKeyInput struct {

	// The ID for the GraphQL API.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

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

	// From the update time, the time after which the API key expires. The date
	// is represented as seconds since the epoch. For more information, see .
	Expires *int64 `locationName:"expires" type:"long"`

	// The API key ID.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateApiKeyInput) GoString added in v1.12.77

func (s UpdateApiKeyInput) 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 (*UpdateApiKeyInput) SetApiId added in v1.12.77

func (s *UpdateApiKeyInput) SetApiId(v string) *UpdateApiKeyInput

SetApiId sets the ApiId field's value.

func (*UpdateApiKeyInput) SetDescription added in v1.12.77

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

SetDescription sets the Description field's value.

func (*UpdateApiKeyInput) SetExpires added in v1.12.77

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

SetExpires sets the Expires field's value.

func (*UpdateApiKeyInput) SetId added in v1.12.77

SetId sets the Id field's value.

func (UpdateApiKeyInput) String added in v1.12.77

func (s UpdateApiKeyInput) 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 (*UpdateApiKeyInput) Validate added in v1.12.77

func (s *UpdateApiKeyInput) Validate() error

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

type UpdateApiKeyOutput added in v1.12.77

type UpdateApiKeyOutput struct {

	// The API key.
	ApiKey *ApiKey `locationName:"apiKey" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateApiKeyOutput) GoString added in v1.12.77

func (s UpdateApiKeyOutput) 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 (*UpdateApiKeyOutput) SetApiKey added in v1.12.77

func (s *UpdateApiKeyOutput) SetApiKey(v *ApiKey) *UpdateApiKeyOutput

SetApiKey sets the ApiKey field's value.

func (UpdateApiKeyOutput) String added in v1.12.77

func (s UpdateApiKeyOutput) 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 UpdateDataSourceInput

type UpdateDataSourceInput struct {

	// The API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// The new description for the data source.
	Description *string `locationName:"description" type:"string"`

	// The new Amazon DynamoDB configuration.
	DynamodbConfig *DynamodbDataSourceConfig `locationName:"dynamodbConfig" type:"structure"`

	// The new OpenSearch configuration.
	//
	// As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service.
	// This configuration is deprecated. Instead, use UpdateDataSourceRequest$openSearchServiceConfig
	// to update an OpenSearch data source.
	ElasticsearchConfig *ElasticsearchDataSourceConfig `locationName:"elasticsearchConfig" type:"structure"`

	// The new Amazon EventBridge settings.
	EventBridgeConfig *EventBridgeDataSourceConfig `locationName:"eventBridgeConfig" type:"structure"`

	// The new HTTP endpoint configuration.
	HttpConfig *HttpDataSourceConfig `locationName:"httpConfig" type:"structure"`

	// The new Lambda configuration.
	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 new name for the data source.
	//
	// Name is a required field
	Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"`

	// The new OpenSearch configuration.
	OpenSearchServiceConfig *OpenSearchServiceDataSourceConfig `locationName:"openSearchServiceConfig" type:"structure"`

	// The new relational database configuration.
	RelationalDatabaseConfig *RelationalDatabaseDataSourceConfig `locationName:"relationalDatabaseConfig" type:"structure"`

	// The new service role Amazon Resource Name (ARN) for the data source.
	ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"`

	// The new data source type.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"DataSourceType"`
	// contains filtered or unexported fields
}

func (UpdateDataSourceInput) GoString

func (s UpdateDataSourceInput) 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 (*UpdateDataSourceInput) SetApiId

SetApiId sets the ApiId field's value.

func (*UpdateDataSourceInput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateDataSourceInput) SetDynamodbConfig

SetDynamodbConfig sets the DynamodbConfig field's value.

func (*UpdateDataSourceInput) SetElasticsearchConfig

SetElasticsearchConfig sets the ElasticsearchConfig field's value.

func (*UpdateDataSourceInput) SetEventBridgeConfig added in v1.44.191

SetEventBridgeConfig sets the EventBridgeConfig field's value.

func (*UpdateDataSourceInput) SetHttpConfig added in v1.14.26

SetHttpConfig sets the HttpConfig field's value.

func (*UpdateDataSourceInput) SetLambdaConfig

SetLambdaConfig sets the LambdaConfig field's value.

func (*UpdateDataSourceInput) SetMetricsConfig added in v1.50.16

func (s *UpdateDataSourceInput) SetMetricsConfig(v string) *UpdateDataSourceInput

SetMetricsConfig sets the MetricsConfig field's value.

func (*UpdateDataSourceInput) SetName

SetName sets the Name field's value.

func (*UpdateDataSourceInput) SetOpenSearchServiceConfig added in v1.40.48

SetOpenSearchServiceConfig sets the OpenSearchServiceConfig field's value.

func (*UpdateDataSourceInput) SetRelationalDatabaseConfig added in v1.15.80

SetRelationalDatabaseConfig sets the RelationalDatabaseConfig field's value.

func (*UpdateDataSourceInput) SetServiceRoleArn

func (s *UpdateDataSourceInput) SetServiceRoleArn(v string) *UpdateDataSourceInput

SetServiceRoleArn sets the ServiceRoleArn field's value.

func (*UpdateDataSourceInput) SetType

SetType sets the Type field's value.

func (UpdateDataSourceInput) String

func (s UpdateDataSourceInput) 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 (*UpdateDataSourceInput) Validate

func (s *UpdateDataSourceInput) Validate() error

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

type UpdateDataSourceOutput

type UpdateDataSourceOutput struct {

	// The updated DataSource object.
	DataSource *DataSource `locationName:"dataSource" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateDataSourceOutput) GoString

func (s UpdateDataSourceOutput) 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 (*UpdateDataSourceOutput) SetDataSource

SetDataSource sets the DataSource field's value.

func (UpdateDataSourceOutput) String

func (s UpdateDataSourceOutput) 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 UpdateDomainNameInput added in v1.42.20

type UpdateDomainNameInput struct {

	// A description of the DomainName.
	Description *string `locationName:"description" type:"string"`

	// 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 (UpdateDomainNameInput) GoString added in v1.42.20

func (s UpdateDomainNameInput) 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 (*UpdateDomainNameInput) SetDescription added in v1.42.20

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

SetDescription sets the Description field's value.

func (*UpdateDomainNameInput) SetDomainName added in v1.42.20

func (s *UpdateDomainNameInput) SetDomainName(v string) *UpdateDomainNameInput

SetDomainName sets the DomainName field's value.

func (UpdateDomainNameInput) String added in v1.42.20

func (s UpdateDomainNameInput) 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 (*UpdateDomainNameInput) Validate added in v1.42.20

func (s *UpdateDomainNameInput) Validate() error

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

type UpdateDomainNameOutput added in v1.42.20

type UpdateDomainNameOutput struct {

	// The configuration for the DomainName.
	DomainNameConfig *DomainNameConfig `locationName:"domainNameConfig" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateDomainNameOutput) GoString added in v1.42.20

func (s UpdateDomainNameOutput) 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 (*UpdateDomainNameOutput) SetDomainNameConfig added in v1.42.20

SetDomainNameConfig sets the DomainNameConfig field's value.

func (UpdateDomainNameOutput) String added in v1.42.20

func (s UpdateDomainNameOutput) 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 UpdateFunctionInput added in v1.15.80

type UpdateFunctionInput 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 function ID.
	//
	// FunctionId is a required field
	FunctionId *string `location:"uri" locationName:"functionId" min:"1" type:"string" required:"true"`

	// The version of the request mapping template. Currently, the supported value
	// is 2018-05-29. 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.
	//
	// 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 request 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 (UpdateFunctionInput) GoString added in v1.15.80

func (s UpdateFunctionInput) 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 (*UpdateFunctionInput) SetApiId added in v1.15.80

SetApiId sets the ApiId field's value.

func (*UpdateFunctionInput) SetCode added in v1.44.140

SetCode sets the Code field's value.

func (*UpdateFunctionInput) SetDataSourceName added in v1.15.80

func (s *UpdateFunctionInput) SetDataSourceName(v string) *UpdateFunctionInput

SetDataSourceName sets the DataSourceName field's value.

func (*UpdateFunctionInput) SetDescription added in v1.15.80

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

SetDescription sets the Description field's value.

func (*UpdateFunctionInput) SetFunctionId added in v1.15.80

func (s *UpdateFunctionInput) SetFunctionId(v string) *UpdateFunctionInput

SetFunctionId sets the FunctionId field's value.

func (*UpdateFunctionInput) SetFunctionVersion added in v1.15.80

func (s *UpdateFunctionInput) SetFunctionVersion(v string) *UpdateFunctionInput

SetFunctionVersion sets the FunctionVersion field's value.

func (*UpdateFunctionInput) SetMaxBatchSize added in v1.42.29

func (s *UpdateFunctionInput) SetMaxBatchSize(v int64) *UpdateFunctionInput

SetMaxBatchSize sets the MaxBatchSize field's value.

func (*UpdateFunctionInput) SetName added in v1.15.80

SetName sets the Name field's value.

func (*UpdateFunctionInput) SetRequestMappingTemplate added in v1.15.80

func (s *UpdateFunctionInput) SetRequestMappingTemplate(v string) *UpdateFunctionInput

SetRequestMappingTemplate sets the RequestMappingTemplate field's value.

func (*UpdateFunctionInput) SetResponseMappingTemplate added in v1.15.80

func (s *UpdateFunctionInput) SetResponseMappingTemplate(v string) *UpdateFunctionInput

SetResponseMappingTemplate sets the ResponseMappingTemplate field's value.

func (*UpdateFunctionInput) SetRuntime added in v1.44.140

SetRuntime sets the Runtime field's value.

func (*UpdateFunctionInput) SetSyncConfig added in v1.37.10

func (s *UpdateFunctionInput) SetSyncConfig(v *SyncConfig) *UpdateFunctionInput

SetSyncConfig sets the SyncConfig field's value.

func (UpdateFunctionInput) String added in v1.15.80

func (s UpdateFunctionInput) 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 (*UpdateFunctionInput) Validate added in v1.15.80

func (s *UpdateFunctionInput) Validate() error

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

type UpdateFunctionOutput added in v1.15.80

type UpdateFunctionOutput struct {

	// The Function object.
	FunctionConfiguration *FunctionConfiguration `locationName:"functionConfiguration" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateFunctionOutput) GoString added in v1.15.80

func (s UpdateFunctionOutput) 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 (*UpdateFunctionOutput) SetFunctionConfiguration added in v1.15.80

func (s *UpdateFunctionOutput) SetFunctionConfiguration(v *FunctionConfiguration) *UpdateFunctionOutput

SetFunctionConfiguration sets the FunctionConfiguration field's value.

func (UpdateFunctionOutput) String added in v1.15.80

func (s UpdateFunctionOutput) 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 UpdateGraphqlApiInput

type UpdateGraphqlApiInput struct {

	// A list of additional authentication providers for the GraphqlApi API.
	AdditionalAuthenticationProviders []*AdditionalAuthenticationProvider `locationName:"additionalAuthenticationProviders" type:"list"`

	// The API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// The new authentication type for the GraphqlApi object.
	//
	// AuthenticationType 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 for the GraphqlApi object.
	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 new name for the GraphqlApi object.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// The OpenID Connect configuration for the GraphqlApi object.
	OpenIDConnectConfig *OpenIDConnectConfig `locationName:"openIDConnectConfig" type:"structure"`

	// The 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 new Amazon Cognito user pool configuration for the ~GraphqlApi object.
	UserPoolConfig *UserPoolConfig `locationName:"userPoolConfig" type:"structure"`

	// A flag indicating whether to use X-Ray tracing for the GraphqlApi.
	XrayEnabled *bool `locationName:"xrayEnabled" type:"boolean"`
	// contains filtered or unexported fields
}

func (UpdateGraphqlApiInput) GoString

func (s UpdateGraphqlApiInput) 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 (*UpdateGraphqlApiInput) SetAdditionalAuthenticationProviders added in v1.19.26

func (s *UpdateGraphqlApiInput) SetAdditionalAuthenticationProviders(v []*AdditionalAuthenticationProvider) *UpdateGraphqlApiInput

SetAdditionalAuthenticationProviders sets the AdditionalAuthenticationProviders field's value.

func (*UpdateGraphqlApiInput) SetApiId

SetApiId sets the ApiId field's value.

func (*UpdateGraphqlApiInput) SetAuthenticationType

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

SetAuthenticationType sets the AuthenticationType field's value.

func (*UpdateGraphqlApiInput) SetEnhancedMetricsConfig added in v1.50.16

func (s *UpdateGraphqlApiInput) SetEnhancedMetricsConfig(v *EnhancedMetricsConfig) *UpdateGraphqlApiInput

SetEnhancedMetricsConfig sets the EnhancedMetricsConfig field's value.

func (*UpdateGraphqlApiInput) SetIntrospectionConfig added in v1.49.6

func (s *UpdateGraphqlApiInput) SetIntrospectionConfig(v string) *UpdateGraphqlApiInput

SetIntrospectionConfig sets the IntrospectionConfig field's value.

func (*UpdateGraphqlApiInput) SetLambdaAuthorizerConfig added in v1.40.12

func (s *UpdateGraphqlApiInput) SetLambdaAuthorizerConfig(v *LambdaAuthorizerConfig) *UpdateGraphqlApiInput

SetLambdaAuthorizerConfig sets the LambdaAuthorizerConfig field's value.

func (*UpdateGraphqlApiInput) SetLogConfig added in v1.13.41

SetLogConfig sets the LogConfig field's value.

func (*UpdateGraphqlApiInput) SetMergedApiExecutionRoleArn added in v1.44.269

func (s *UpdateGraphqlApiInput) SetMergedApiExecutionRoleArn(v string) *UpdateGraphqlApiInput

SetMergedApiExecutionRoleArn sets the MergedApiExecutionRoleArn field's value.

func (*UpdateGraphqlApiInput) SetName

SetName sets the Name field's value.

func (*UpdateGraphqlApiInput) SetOpenIDConnectConfig added in v1.13.41

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

SetOpenIDConnectConfig sets the OpenIDConnectConfig field's value.

func (*UpdateGraphqlApiInput) SetOwnerContact added in v1.44.269

func (s *UpdateGraphqlApiInput) SetOwnerContact(v string) *UpdateGraphqlApiInput

SetOwnerContact sets the OwnerContact field's value.

func (*UpdateGraphqlApiInput) SetQueryDepthLimit added in v1.49.6

func (s *UpdateGraphqlApiInput) SetQueryDepthLimit(v int64) *UpdateGraphqlApiInput

SetQueryDepthLimit sets the QueryDepthLimit field's value.

func (*UpdateGraphqlApiInput) SetResolverCountLimit added in v1.49.6

func (s *UpdateGraphqlApiInput) SetResolverCountLimit(v int64) *UpdateGraphqlApiInput

SetResolverCountLimit sets the ResolverCountLimit field's value.

func (*UpdateGraphqlApiInput) SetUserPoolConfig

SetUserPoolConfig sets the UserPoolConfig field's value.

func (*UpdateGraphqlApiInput) SetXrayEnabled added in v1.28.12

func (s *UpdateGraphqlApiInput) SetXrayEnabled(v bool) *UpdateGraphqlApiInput

SetXrayEnabled sets the XrayEnabled field's value.

func (UpdateGraphqlApiInput) String

func (s UpdateGraphqlApiInput) 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 (*UpdateGraphqlApiInput) Validate

func (s *UpdateGraphqlApiInput) Validate() error

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

type UpdateGraphqlApiOutput

type UpdateGraphqlApiOutput struct {

	// The updated GraphqlApi object.
	GraphqlApi *GraphqlApi `locationName:"graphqlApi" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateGraphqlApiOutput) GoString

func (s UpdateGraphqlApiOutput) 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 (*UpdateGraphqlApiOutput) SetGraphqlApi

SetGraphqlApi sets the GraphqlApi field's value.

func (UpdateGraphqlApiOutput) String

func (s UpdateGraphqlApiOutput) 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 UpdateResolverInput

type UpdateResolverInput struct {

	// The API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// The caching configuration for the resolver.
	CachingConfig *CachingConfig `locationName:"cachingConfig" type:"structure"`

	// The 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 new data source name.
	DataSourceName *string `locationName:"dataSourceName" min:"1" type:"string"`

	// The new field name.
	//
	// FieldName is a required field
	FieldName *string `location:"uri" locationName:"fieldName" min:"1" type:"string" required:"true"`

	// The resolver type.
	//
	//    * UNIT: A UNIT resolver type. A UNIT resolver is the default resolver
	//    type. 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 new request mapping template.
	//
	// 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 new 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"`

	// The SyncConfig for a resolver attached to a versioned data source.
	SyncConfig *SyncConfig `locationName:"syncConfig" type:"structure"`

	// The new type name.
	//
	// TypeName is a required field
	TypeName *string `location:"uri" locationName:"typeName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateResolverInput) GoString

func (s UpdateResolverInput) 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 (*UpdateResolverInput) SetApiId

SetApiId sets the ApiId field's value.

func (*UpdateResolverInput) SetCachingConfig added in v1.25.40

func (s *UpdateResolverInput) SetCachingConfig(v *CachingConfig) *UpdateResolverInput

SetCachingConfig sets the CachingConfig field's value.

func (*UpdateResolverInput) SetCode added in v1.44.140

SetCode sets the Code field's value.

func (*UpdateResolverInput) SetDataSourceName

func (s *UpdateResolverInput) SetDataSourceName(v string) *UpdateResolverInput

SetDataSourceName sets the DataSourceName field's value.

func (*UpdateResolverInput) SetFieldName

func (s *UpdateResolverInput) SetFieldName(v string) *UpdateResolverInput

SetFieldName sets the FieldName field's value.

func (*UpdateResolverInput) SetKind added in v1.15.80

SetKind sets the Kind field's value.

func (*UpdateResolverInput) SetMaxBatchSize added in v1.42.29

func (s *UpdateResolverInput) SetMaxBatchSize(v int64) *UpdateResolverInput

SetMaxBatchSize sets the MaxBatchSize field's value.

func (*UpdateResolverInput) SetMetricsConfig added in v1.50.16

func (s *UpdateResolverInput) SetMetricsConfig(v string) *UpdateResolverInput

SetMetricsConfig sets the MetricsConfig field's value.

func (*UpdateResolverInput) SetPipelineConfig added in v1.15.80

func (s *UpdateResolverInput) SetPipelineConfig(v *PipelineConfig) *UpdateResolverInput

SetPipelineConfig sets the PipelineConfig field's value.

func (*UpdateResolverInput) SetRequestMappingTemplate

func (s *UpdateResolverInput) SetRequestMappingTemplate(v string) *UpdateResolverInput

SetRequestMappingTemplate sets the RequestMappingTemplate field's value.

func (*UpdateResolverInput) SetResponseMappingTemplate

func (s *UpdateResolverInput) SetResponseMappingTemplate(v string) *UpdateResolverInput

SetResponseMappingTemplate sets the ResponseMappingTemplate field's value.

func (*UpdateResolverInput) SetRuntime added in v1.44.140

SetRuntime sets the Runtime field's value.

func (*UpdateResolverInput) SetSyncConfig added in v1.25.40

func (s *UpdateResolverInput) SetSyncConfig(v *SyncConfig) *UpdateResolverInput

SetSyncConfig sets the SyncConfig field's value.

func (*UpdateResolverInput) SetTypeName

func (s *UpdateResolverInput) SetTypeName(v string) *UpdateResolverInput

SetTypeName sets the TypeName field's value.

func (UpdateResolverInput) String

func (s UpdateResolverInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 (*UpdateResolverInput) Validate

func (s *UpdateResolverInput) Validate() error

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

type UpdateResolverOutput

type UpdateResolverOutput struct {

	// The updated Resolver object.
	Resolver *Resolver `locationName:"resolver" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateResolverOutput) GoString

func (s UpdateResolverOutput) 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 (*UpdateResolverOutput) SetResolver

SetResolver sets the Resolver field's value.

func (UpdateResolverOutput) String

func (s UpdateResolverOutput) 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 UpdateSourceApiAssociationInput added in v1.44.269

type UpdateSourceApiAssociationInput 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 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"`
	// contains filtered or unexported fields
}

func (UpdateSourceApiAssociationInput) GoString added in v1.44.269

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 (*UpdateSourceApiAssociationInput) SetAssociationId added in v1.44.269

SetAssociationId sets the AssociationId field's value.

func (*UpdateSourceApiAssociationInput) SetDescription added in v1.44.269

SetDescription sets the Description field's value.

func (*UpdateSourceApiAssociationInput) SetMergedApiIdentifier added in v1.44.269

SetMergedApiIdentifier sets the MergedApiIdentifier field's value.

func (*UpdateSourceApiAssociationInput) SetSourceApiAssociationConfig added in v1.44.269

SetSourceApiAssociationConfig sets the SourceApiAssociationConfig field's value.

func (UpdateSourceApiAssociationInput) String added in v1.44.269

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 (*UpdateSourceApiAssociationInput) Validate added in v1.44.269

func (s *UpdateSourceApiAssociationInput) Validate() error

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

type UpdateSourceApiAssociationOutput added in v1.44.269

type UpdateSourceApiAssociationOutput struct {

	// The SourceApiAssociation object data.
	SourceApiAssociation *SourceApiAssociation `locationName:"sourceApiAssociation" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateSourceApiAssociationOutput) GoString added in v1.44.269

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 (*UpdateSourceApiAssociationOutput) SetSourceApiAssociation added in v1.44.269

SetSourceApiAssociation sets the SourceApiAssociation field's value.

func (UpdateSourceApiAssociationOutput) String added in v1.44.269

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 UpdateTypeInput

type UpdateTypeInput struct {

	// The API ID.
	//
	// ApiId is a required field
	ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`

	// The new definition.
	Definition *string `locationName:"definition" type:"string"`

	// The new type format: SDL or JSON.
	//
	// Format is a required field
	Format *string `locationName:"format" type:"string" required:"true" enum:"TypeDefinitionFormat"`

	// The new type name.
	//
	// TypeName is a required field
	TypeName *string `location:"uri" locationName:"typeName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateTypeInput) GoString

func (s UpdateTypeInput) 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 (*UpdateTypeInput) SetApiId

func (s *UpdateTypeInput) SetApiId(v string) *UpdateTypeInput

SetApiId sets the ApiId field's value.

func (*UpdateTypeInput) SetDefinition

func (s *UpdateTypeInput) SetDefinition(v string) *UpdateTypeInput

SetDefinition sets the Definition field's value.

func (*UpdateTypeInput) SetFormat

func (s *UpdateTypeInput) SetFormat(v string) *UpdateTypeInput

SetFormat sets the Format field's value.

func (*UpdateTypeInput) SetTypeName

func (s *UpdateTypeInput) SetTypeName(v string) *UpdateTypeInput

SetTypeName sets the TypeName field's value.

func (UpdateTypeInput) String

func (s UpdateTypeInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 (*UpdateTypeInput) Validate

func (s *UpdateTypeInput) Validate() error

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

type UpdateTypeOutput

type UpdateTypeOutput struct {

	// The updated Type object.
	Type *Type `locationName:"type" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateTypeOutput) GoString

func (s UpdateTypeOutput) 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 (*UpdateTypeOutput) SetType

func (s *UpdateTypeOutput) SetType(v *Type) *UpdateTypeOutput

SetType sets the Type field's value.

func (UpdateTypeOutput) String

func (s UpdateTypeOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 UserPoolConfig

type UserPoolConfig 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 action that you want your GraphQL API to take when a request that uses
	// Amazon Cognito user pool authentication doesn't match the Amazon Cognito
	// user pool configuration.
	//
	// DefaultAction is a required field
	DefaultAction *string `locationName:"defaultAction" type:"string" required:"true" enum:"DefaultAction"`

	// The user pool ID.
	//
	// UserPoolId is a required field
	UserPoolId *string `locationName:"userPoolId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes an Amazon Cognito user pool configuration.

func (UserPoolConfig) GoString

func (s UserPoolConfig) 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 (*UserPoolConfig) SetAppIdClientRegex

func (s *UserPoolConfig) SetAppIdClientRegex(v string) *UserPoolConfig

SetAppIdClientRegex sets the AppIdClientRegex field's value.

func (*UserPoolConfig) SetAwsRegion

func (s *UserPoolConfig) SetAwsRegion(v string) *UserPoolConfig

SetAwsRegion sets the AwsRegion field's value.

func (*UserPoolConfig) SetDefaultAction

func (s *UserPoolConfig) SetDefaultAction(v string) *UserPoolConfig

SetDefaultAction sets the DefaultAction field's value.

func (*UserPoolConfig) SetUserPoolId

func (s *UserPoolConfig) SetUserPoolId(v string) *UserPoolConfig

SetUserPoolId sets the UserPoolId field's value.

func (UserPoolConfig) String

func (s UserPoolConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 (*UserPoolConfig) Validate

func (s *UserPoolConfig) Validate() error

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

Directories

Path Synopsis
Package appsynciface provides an interface to enable mocking the AWS AppSync service client for testing your code.
Package appsynciface provides an interface to enable mocking the AWS AppSync service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL