Documentation
¶
Index ¶
- Variables
- func AWSOptionsWithMFATokenProvider(provider MFATokenProvider) func(o *AWSOptions)
- func AWSOptionsWithProfile(profile string) func(o *AWSOptions)
- func AWSOptionsWithRegion(region string) func(o *AWSOptions)
- type AWSOptions
- type CachingConfig
- type ConflictDetectionType
- type ConflictHandlerType
- type Function
- type LambdaConflictHandlerConfig
- type LibError
- type MFATokenProvider
- type PipelineConfig
- type Resolver
- type ResolverKind
- type Runtime
- type RuntimeName
- type Schema
- type SyncConfig
- type TrackerStatus
- type Version
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AWSOptionsWithMFATokenProvider ¶
func AWSOptionsWithMFATokenProvider(provider MFATokenProvider) func(o *AWSOptions)
func AWSOptionsWithProfile ¶
func AWSOptionsWithProfile(profile string) func(o *AWSOptions)
func AWSOptionsWithRegion ¶
func AWSOptionsWithRegion(region string) func(o *AWSOptions)
Types ¶
type AWSOptions ¶
type AWSOptions struct {
Region string
Profile string
MFATokenProvider MFATokenProvider
}
func NewAWSOptions ¶
func NewAWSOptions(optFns ...func(o *AWSOptions)) *AWSOptions
type CachingConfig ¶
type ConflictDetectionType ¶
type ConflictDetectionType string
type ConflictHandlerType ¶
type ConflictHandlerType string
type Function ¶
type Function struct {
FunctionId *string `json:"-"`
FunctionArn *string `json:"-"`
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
DataSourceName *string `json:"dataSourceName,omitempty"`
RequestMappingTemplate *string `json:"-"`
ResponseMappingTemplate *string `json:"-"`
FunctionVersion *string `json:"functionVersion,omitempty"`
SyncConfig *SyncConfig `json:"syncConfig,omitempty"`
MaxBatchSize int32 `json:"maxBatchSize"`
Runtime *Runtime `json:"runtime,omitempty"`
Code *string `json:"-"`
}
type LambdaConflictHandlerConfig ¶
type LambdaConflictHandlerConfig struct {
LambdaConflictHandlerArn *string `json:"lambdaConflictHandlerArn,omitempty"`
}
type MFATokenProvider ¶
type PipelineConfig ¶
type Resolver ¶
type Resolver struct {
TypeName *string `json:"typeName,omitempty"`
FieldName *string `json:"fieldName,omitempty"`
DataSourceName *string `json:"dataSourceName,omitempty"`
ResolverArn *string `json:"-"`
RequestMappingTemplate *string `json:"-"`
ResponseMappingTemplate *string `json:"-"`
Kind ResolverKind `json:"kind,omitempty"`
PipelineConfig *PipelineConfig `json:"pipelineConfig,omitempty"`
SyncConfig *SyncConfig `json:"syncConfig,omitempty"`
CachingConfig *CachingConfig `json:"cachingConfig,omitempty"`
MaxBatchSize int32 `json:"maxBatchSize"`
Runtime *Runtime `json:"runtime,omitempty"`
Code *string `json:"-"`
}
type ResolverKind ¶
type ResolverKind string
type Runtime ¶
type Runtime struct {
Name RuntimeName `json:"name,omitempty"`
RuntimeVersion *string `json:"runtimeVersion,omitempty"`
}
type RuntimeName ¶
type RuntimeName string
const (
RuntimeNameAppsyncJs RuntimeName = "APPSYNC_JS"
)
type SyncConfig ¶
type SyncConfig struct {
ConflictHandler ConflictHandlerType `json:"conflictHandler,omitempty"`
ConflictDetection ConflictDetectionType `json:"conflictDetection,omitempty"`
LambdaConflictHandlerConfig *LambdaConflictHandlerConfig `json:"lambdaConflictHandlerConfig,omitempty"`
}
type TrackerStatus ¶
type TrackerStatus string
const ( TrackerStatusInProgress TrackerStatus = "in progress" TrackerStatusFailed TrackerStatus = "failed" TrackerStatusSuccess TrackerStatus = "success" )
Click to show internal directories.
Click to hide internal directories.