connect

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: MIT Imports: 44 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Connect

Parity grade: B · SDK aws-sdk-go-v2/service/connect@v1.205.0 · last audited 2026-10-18 (88c2622c4)

Coverage

Metric Value
PARITY entries audited 397 (397 ok)
Known gaps 8
Structural gaps (can't be emulated) 2
Deferred items 0
Resource leaks clean
Known gaps
  • EvaluationForms: contact evaluations are never auto-evaluated (no AI or Contact Lens answers) and the Acknowledgement, Review and CalibrationSessionId metadata members are never set because the pinned SDK has no operation that changes them; POINTS_BASED scoring ignores per-question PointsConfiguration (bonus, min/max points) and the weighted-score formulas are unverified against the real service
  • TestCases: executions are recorded (Start/Stop/List/ListRecords/GetSummary) but never leave INITIATED on their own, because the emulator has no flow test runner: no PASSED/FAILED outcome, observations or ObservationSummary are ever produced (the test case Content grammar is not published, API_CreateTestCase only calls it a JSON string, and the VOICE_CALL and CHAT entry points need a media plane to drive a flow)
  • Notifications: push registrations are stored but no push is ever sent (nothing triggers one: there is no chat message plane); notifications from rules or the system are not generated
  • Contact data and participants: GetFederationToken ListRealtimeContactAnalysisSegmentsV2 SendChatIntegrationEvent UpdateParticipantAuthentication StartAssistantContact StartScreenSharing StartWebRTCContact are not routed (no chat message plane, no caller identity for federation, no Wisdom assistant, no WebRTC media plane); UpdateParticipantRoleConfig timers are stored on the contact but nothing enforces them (no chat message plane); QueuePriority and QueueTimeAdjustmentSeconds order GetContactMetrics queue positions but no routing engine assigns agents from that order, and RoutingCriteria steps are only stored
  • GetMetricDataV2: only the computed subset of metrics is available (agent-state, hold, after-contact-work, flow, campaign, evaluation, case, AI and Contact Lens metrics need signals the emulator never records), so custom metrics built on them are rejected
  • PhoneNumber import: ImportPhoneNumber needs an AWS End User Messaging (pinpoint-sms-voice-v2) phone-number inventory; the emulator has no such service and none may be added, so a number could only be fabricated
  • TEMPLATE outbound email (Wisdom message templates) is not modeled, so SendOutboundEmail and StartOutboundEmailContact accept RAW messages only
  • CloudFormation: AWS::Connect::Metric GetAtt Filters, Groupings, PrimaryEventSource, PrimaryEventSourceEffectiveTimestampType, RefreshRate and SupportedStats are not returned: the CloudFormation reference (aws-resource-connect-metric.html) names them without a value format or derivation, and the stored MetricDefinition (services/connect/metricdefs.go MetricDefinition) has no PrimaryEventSource, RefreshRate or SupportedStats; SourcePhoneNumberArn of PhoneNumber is rejected because it needs an imported number (ImportPhoneNumber item) and ClaimPhoneNumber has no source member (SDK ClaimPhoneNumberInput)
Structural gaps

These do not block an A grade — no implementation could produce real data here because the underlying data source cannot exist in an emulator.

  • No telephony or media plane: outbound calls are never placed, no audio flows, and contacts only change state through StopContact and UpdateContact because no agent softphone or customer endpoint exists.
  • Phone numbers come from a fixed pool of fictional numbers: the carrier inventory behind SearchAvailablePhoneNumbers cannot exist in an emulator.

More

Documentation

Overview

Package connect emulates the Amazon Connect control plane and the contact records behind its metrics.

Index

Constants

This section is empty.

Variables

View Source
var ErrNilAppContext = errors.New("connect: AppContext must not be nil")

ErrNilAppContext is returned by Init when no AppContext is supplied.

Functions

This section is empty.

Types

type AIVersionLifecycle

type AIVersionLifecycle struct {
	EndOfLifeTime   *awstime.EpochTime `json:"EndOfLifeTime,omitempty"`
	StartOfLifeTime awstime.EpochTime  `json:"StartOfLifeTime"`
	Status          string             `json:"Status"`
}

AIVersionLifecycle is the availability window of an evaluation form AI version.

type AIVersionSummary

type AIVersionSummary struct {
	AIVersionName      string             `json:"AIVersionName"`
	AIVersionLifecycle AIVersionLifecycle `json:"AIVersionLifecycle"`
}

AIVersionSummary is one entry of the evaluation form AI version catalog.

type AIVersionsRequest

type AIVersionsRequest struct {
	InteractionType string `json:"-" query:"contactInteractionType"`
	NextToken       string `json:"-" query:"nextToken"`

	MaxResults int32 `json:"-" query:"maxResults"`
	// contains filtered or unexported fields
}

AIVersionsRequest is the ListEvaluationFormAIVersions request.

type ActionSummary

type ActionSummary struct {
	ActionType string `json:"ActionType"`
}

ActionSummary is the list shape of a rule action.

type AdditionalEmailRecipients

type AdditionalEmailRecipients struct {
	CcList []EmailRecipient `json:"CcList,omitempty"`
	ToList []EmailRecipient `json:"ToList,omitempty"`
}

AdditionalEmailRecipients lists the To and Cc recipients of an email contact.

type AgentContactReference

type AgentContactReference struct {
	ConnectedToAgentTimestamp *awstime.EpochTime `json:"ConnectedToAgentTimestamp,omitempty"`
	StateStartTimestamp       *awstime.EpochTime `json:"StateStartTimestamp,omitempty"`
	Queue                     *Reference         `json:"Queue,omitempty"`
	AgentContactState         string             `json:"AgentContactState"`
	Channel                   string             `json:"Channel"`
	ContactID                 string             `json:"ContactId"`
	InitiationMethod          string             `json:"InitiationMethod"`
}

AgentContactReference is a contact an agent is handling.

type AgentStatus

type AgentStatus struct {
	Stamp
	DisplayOrder   *int32            `json:"DisplayOrder,omitempty"`
	Tags           map[string]string `json:"Tags,omitempty"`
	AgentStatusARN string            `json:"AgentStatusARN"`
	AgentStatusID  string            `json:"AgentStatusId"`
	Description    string            `json:"Description,omitempty"`
	Name           string            `json:"Name"`
	State          string            `json:"State"`
	Type           string            `json:"Type"`
}

AgentStatus is a status an agent can set.

type AgentStatusReference

type AgentStatusReference struct {
	StatusStartTimestamp *awstime.EpochTime `json:"StatusStartTimestamp,omitempty"`
	StatusArn            string             `json:"StatusArn"`
	StatusName           string             `json:"StatusName"`
}

AgentStatusReference is an agent's current status.

type AgentStatusSummary

type AgentStatusSummary struct {
	Stamp
	Arn  string `json:"Arn"`
	ID   string `json:"Id"`
	Name string `json:"Name"`
	Type string `json:"Type"`
}

AgentStatusSummary is the list shape of an AgentStatus.

type AliasConfiguration

type AliasConfiguration struct {
	EmailAddressID string `json:"EmailAddressId"`
}

AliasConfiguration names an email address that forwards to a primary address.

type AliasInfo

type AliasInfo map[string]any

AliasInfo is the described form of a flow alias; the parent ARN and ID keys depend on the kind.

type AliasInput

type AliasInput struct {
	Name          *string
	Description   *string
	FlowVersion   *int64 `json:"ContactFlowVersion"`
	ModuleVersion *int64 `json:"ContactFlowModuleVersion"`
	AliasName     string
	ParentID      string `json:"-"                        path:"ContactFlowId"`
	ModuleID      string `json:"-"                        path:"ContactFlowModuleId"`
	AliasID       string `json:"-"                        path:"AliasId"`
	NextToken     string `json:"-"                                                   query:"nextToken"`

	MaxResults int32 `json:"-"                                                   query:"maxResults"`
	// contains filtered or unexported fields
}

AliasInput is the Create/Update/Describe/Delete alias request for flows and modules.

type AliasOut

type AliasOut struct {
	Arn      string `json:"-"`
	AliasArn string `json:"-"`
	ID       string `json:"Id"`
}

AliasOut is the alias-creation response.

type AliasSummary

type AliasSummary struct {
	LastModifiedTime   *awstime.EpochTime `json:"LastModifiedTime,omitempty"`
	LastModifiedRegion string             `json:"LastModifiedRegion,omitempty"`
	AliasDescription   string             `json:"AliasDescription,omitempty"`
	AliasID            string             `json:"AliasId"`
	AliasName          string             `json:"AliasName"`
	Arn                string             `json:"Arn"`
	Version            int64              `json:"Version"`
}

AliasSummary is the list shape of a flow alias.

type AllowedExtension

type AllowedExtension struct {
	Extension string `json:"Extension"`
}

AllowedExtension is one permitted file extension.

type AnalyticsDataAssociationResult

type AnalyticsDataAssociationResult struct {
	DataSetID           string `json:"DataSetId"`
	ResourceShareArn    string `json:"ResourceShareArn"`
	ResourceShareID     string `json:"ResourceShareId"`
	ResourceShareStatus string `json:"ResourceShareStatus"`
	TargetAccountID     string `json:"TargetAccountId"`
}

AnalyticsDataAssociationResult is types.AnalyticsDataAssociationResult.

type AnalyticsDataSet

type AnalyticsDataSet struct {
	DataSetID   string `json:"DataSetId"`
	DataSetName string `json:"DataSetName"`
}

AnalyticsDataSet is types.AnalyticsDataSetsResult.

type AssociateAnalyticsDataSetInput

type AssociateAnalyticsDataSetInput struct {
	DataSetID       string `json:"DataSetId"`
	TargetAccountID string `json:"TargetAccountId"`
	// contains filtered or unexported fields
}

AssociateAnalyticsDataSetInput is the AssociateAnalyticsDataSet and DisassociateAnalyticsDataSet request.

type AssociateContactWithUserInput

type AssociateContactWithUserInput struct {
	ContactID  string `json:"-"      path:"ContactId"`
	InstanceID string `json:"-"      path:"InstanceId"`
	UserID     string `json:"UserId"`
}

AssociateContactWithUserInput is the AssociateContactWithUser request.

type AssociateDefaultVocabularyInput

type AssociateDefaultVocabularyInput struct {
	LanguageCode string `json:"-"            path:"LanguageCode"`
	VocabularyID string `json:"VocabularyId"`
	// contains filtered or unexported fields
}

AssociateDefaultVocabularyInput is the AssociateDefaultVocabulary request.

type AssociatedContactSummary

type AssociatedContactSummary struct {
	InitiationTimestamp *awstime.EpochTime `json:"InitiationTimestamp,omitempty"`
	DisconnectTimestamp *awstime.EpochTime `json:"DisconnectTimestamp,omitempty"`
	ContactID           string             `json:"ContactId"`
	ContactArn          string             `json:"ContactArn"`
	InitialContactID    string             `json:"InitialContactId"`
	PreviousContactID   string             `json:"PreviousContactId,omitempty"`
	RelatedContactID    string             `json:"RelatedContactId,omitempty"`
	Channel             string             `json:"Channel"`
	InitiationMethod    string             `json:"InitiationMethod"`
}

AssociatedContactSummary is one contact of a contact tree.

type AttachedBatchOut

type AttachedBatchOut struct {
	Files  []AttachedFile      `json:"Files"`
	Errors []AttachedFileError `json:"Errors"`
}

AttachedBatchOut is the batch attached-file response.

type AttachedConfigOut

type AttachedConfigOut struct {
	AttachedFilesConfiguration *AttachedFilesConfiguration `json:"AttachedFilesConfiguration"`
}

AttachedConfigOut is the attached-file config response.

type AttachedFile

type AttachedFile struct {
	CreatedBy             *CreatedByInfo    `json:"CreatedBy,omitempty"`
	Tags                  map[string]string `json:"Tags,omitempty"`
	CreationTime          string            `json:"CreationTime"`
	FileArn               string            `json:"FileArn"`
	FileID                string            `json:"FileId"`
	FileName              string            `json:"FileName"`
	FileStatus            string            `json:"FileStatus"`
	FileUseCaseType       string            `json:"FileUseCaseType"`
	AssociatedResourceArn string            `json:"AssociatedResourceArn"`
	FileSizeInBytes       int64             `json:"FileSizeInBytes"`
}

AttachedFile is the metadata of an attached file.

type AttachedFileCreated

type AttachedFileCreated struct {
	UploadURLMetadata *URLMetadata   `json:"UploadUrlMetadata,omitempty"`
	CreatedBy         *CreatedByInfo `json:"CreatedBy,omitempty"`
	CreationTime      string         `json:"CreationTime"`
	FileArn           string         `json:"FileArn"`
	FileID            string         `json:"FileId"`
	FileStatus        string         `json:"FileStatus"`
}

AttachedFileCreated is the StartAttachedFileUpload response.

type AttachedFileError

type AttachedFileError struct {
	ErrorCode    string `json:"ErrorCode"`
	ErrorMessage string `json:"ErrorMessage"`
	FileID       string `json:"FileId"`
}

AttachedFileError reports a file a batch call could not return.

type AttachedFileOut

type AttachedFileOut struct {
	DownloadURLMetadata *URLMetadata `json:"DownloadUrlMetadata,omitempty"`
	AttachedFile
}

AttachedFileOut is the attached-file metadata response.

type AttachedFilesConfiguration

type AttachedFilesConfiguration struct {
	LastModifiedTime        *awstime.EpochTime      `json:"LastModifiedTime,omitempty"`
	ExtensionConfiguration  *ExtensionConfiguration `json:"ExtensionConfiguration"`
	InstanceID              string                  `json:"InstanceId"`
	AttachmentScope         string                  `json:"AttachmentScope"`
	MaximumSizeLimitInBytes int64                   `json:"MaximumSizeLimitInBytes"`
}

AttachedFilesConfiguration is the attachment policy of one scope.

type AttachmentStore

type AttachmentStore interface {
	EnsureBucket(ctx context.Context, bucket string) error
	ObjectSize(ctx context.Context, bucket, key string) (int64, bool, error)
	PutObject(ctx context.Context, bucket, key string, data []byte) error
	DeleteObject(ctx context.Context, bucket, key string) error
	Presign(
		ctx context.Context,
		method, baseURL, bucket, key string,
		ttl time.Duration,
		at time.Time,
		bound map[string]string,
	) string
}

AttachmentStore is the S3 surface behind attached files. Resolvers that implement it make attached-file content live in S3 behind real pre-signed URLs.

type Attribute

type Attribute struct {
	AttributeType string `json:"AttributeType"`
	Value         string `json:"Value"`
}

Attribute is one instance attribute.

type AuthCodeOut

type AuthCodeOut struct {
	AuthCode   string `json:"AuthCode"`
	SessionID  string `json:"SessionId"`
	EntityType string `json:"EntityType"`
	EntityID   string `json:"EntityId,omitempty"`
}

AuthCodeOut is the authentication code response.

type AuthScope

type AuthScope struct {
	EntityType         string   `json:"EntityType"`
	EntityID           string   `json:"EntityId,omitempty"`
	DomainName         string   `json:"DomainName,omitempty"`
	SecurityProfileIDs []string `json:"SecurityProfileIds,omitempty"`
}

AuthScope bounds what a session created from an auth code can reach.

type AuthenticationProfile

type AuthenticationProfile struct {
	CreatedTime                      *awstime.EpochTime `json:"CreatedTime,omitempty"`
	LastModifiedTime                 *awstime.EpochTime `json:"LastModifiedTime,omitempty"`
	MaxSessionDuration               *int32             `json:"MaxSessionDuration,omitempty"`
	PeriodicSessionDuration          *int32             `json:"PeriodicSessionDuration,omitempty"`
	SessionInactivityDuration        *int32             `json:"SessionInactivityDuration,omitempty"`
	SessionInactivityHandlingEnabled *bool              `json:"SessionInactivityHandlingEnabled,omitempty"`
	Description                      string             `json:"Description,omitempty"`
	Arn                              string             `json:"Arn"`
	ID                               string             `json:"Id"`
	LastModifiedRegion               string             `json:"LastModifiedRegion,omitempty"`
	Name                             string             `json:"Name"`
	BlockedIps                       []string           `json:"BlockedIps,omitempty"`
	AllowedIps                       []string           `json:"AllowedIps,omitempty"`
	IsDefault                        bool               `json:"IsDefault"`
}

AuthenticationProfile is a session and IP access policy for the agents of an instance.

type AuthenticationProfileSummary

type AuthenticationProfileSummary struct {
	Stamp
	Arn       string `json:"Arn"`
	ID        string `json:"Id"`
	Name      string `json:"Name"`
	IsDefault bool   `json:"IsDefault"`
}

AuthenticationProfileSummary is the list shape of an authentication profile.

type AvailableNumberSummary

type AvailableNumberSummary struct {
	PhoneNumber            string `json:"PhoneNumber"`
	PhoneNumberCountryCode string `json:"PhoneNumberCountryCode"`
	PhoneNumberType        string `json:"PhoneNumberType"`
}

AvailableNumberSummary is an unclaimed number of the pool.

type Backend

type Backend struct {
	// contains filtered or unexported fields
}

Backend holds all Amazon Connect state behind one coarse lock.

func NewBackend

func NewBackend(accountID, region string) *Backend

NewBackend creates an empty backend.

func (*Backend) ActivateEvaluationForm

func (b *Backend) ActivateEvaluationForm(ctx context.Context, in *FormRequest) (*FormOut, error)

ActivateEvaluationForm makes a version the active one.

func (*Backend) AssociateAnalyticsDataSet

func (b *Backend) AssociateAnalyticsDataSet(
	ctx context.Context,
	in *AssociateAnalyticsDataSetInput,
) (*AnalyticsDataAssociationResult, error)

AssociateAnalyticsDataSet shares one analytics dataset with the target account.

func (*Backend) AssociateApprovedOrigin

func (b *Backend) AssociateApprovedOrigin(ref, origin string) error

AssociateApprovedOrigin allows an origin to embed the instance's CCP.

func (*Backend) AssociateBot

func (b *Backend) AssociateBot(ctx context.Context, ref string, cfg LexBotConfig) error

AssociateBot associates a Lex V1 or V2 bot with the instance.

func (*Backend) AssociateContactWithUser

func (b *Backend) AssociateContactWithUser(in *AssociateContactWithUserInput) (*EmptyOutput, error)

AssociateContactWithUser offers a queued contact to an agent.

func (*Backend) AssociateDefaultVocabulary

func (b *Backend) AssociateDefaultVocabulary(in *AssociateDefaultVocabularyInput) (*EmptyOutput, error)

AssociateDefaultVocabulary sets the default vocabulary of a language; an empty VocabularyId resets it.

func (*Backend) AssociateEmailAddressAlias

func (b *Backend) AssociateEmailAddressAlias(in *EmailAliasInput) (*EmptyOutput, error)

AssociateEmailAddressAlias makes an address forward to the primary address.

func (*Backend) AssociateFlow

func (b *Backend) AssociateFlow(in *FlowAssocRequest) (*EmptyOutput, error)

AssociateFlow associates a flow with a resource; re-associating replaces the flow.

func (*Backend) AssociateHoursOfOperations

func (b *Backend) AssociateHoursOfOperations(ctx context.Context, in *ParentHoursInput) (*EmptyOutput, error)

AssociateHoursOfOperations adds parent schedules.

func (*Backend) AssociateInstanceStorageConfig

func (b *Backend) AssociateInstanceStorageConfig(
	ctx context.Context, ref, resourceType string, cfg *InstanceStorageConfig,
) (string, error)

AssociateInstanceStorageConfig attaches a storage target for one kind of instance data.

func (*Backend) AssociateLambdaFunction

func (b *Backend) AssociateLambdaFunction(ctx context.Context, ref, functionARN string) error

AssociateLambdaFunction lets contact flows invoke a Lambda function.

func (*Backend) AssociatePhoneNumberContactFlow

func (b *Backend) AssociatePhoneNumberContactFlow(in *PhoneFlowInput) (*EmptyOutput, error)

AssociatePhoneNumberContactFlow routes calls to a number through a contact flow.

func (*Backend) AssociateQueueEmailAddresses

func (b *Backend) AssociateQueueEmailAddresses(in *QueueEmailAddressesInput) (*EmptyOutput, error)

AssociateQueueEmailAddresses adds "from" addresses to a queue; already associated ones are kept.

func (*Backend) AssociateQueueQuickConnects

func (b *Backend) AssociateQueueQuickConnects(in *QuickConnectIDsInput) (*EmptyOutput, error)

AssociateQueueQuickConnects adds quick connects to a queue.

func (*Backend) AssociateRoutingProfileQueues

func (b *Backend) AssociateRoutingProfileQueues(
	ctx context.Context,
	in *UpdateRoutingProfileInput,
) (*EmptyOutput, error)

AssociateRoutingProfileQueues adds queue configs.

func (*Backend) AssociateSecurityKey

func (b *Backend) AssociateSecurityKey(ref, key string) (string, error)

AssociateSecurityKey trusts a public key for the instance.

func (*Backend) AssociateSecurityProfiles

func (b *Backend) AssociateSecurityProfiles(ctx context.Context, in *EntityProfilesInput) (*EmptyOutput, error)

AssociateSecurityProfiles adds security profiles to a user or AI agent.

func (*Backend) AssociateTrafficDistributionGroupUser

func (b *Backend) AssociateTrafficDistributionGroupUser(in *TDGRequest) (*EmptyOutput, error)

AssociateTrafficDistributionGroupUser adds an agent to a group; repeating it is a no-op.

func (*Backend) AssociateUserProficiencies

func (b *Backend) AssociateUserProficiencies(ctx context.Context, in *ProficienciesInput) (*EmptyOutput, error)

AssociateUserProficiencies adds or re-levels proficiencies of a user.

func (*Backend) AssociateWorkspace

func (b *Backend) AssociateWorkspace(
	ctx context.Context,
	in *WorkspaceAssociationInput,
) (*BatchAssociationResult, error)

AssociateWorkspace assigns a workspace to users and routing profiles; assigning twice is a no-op.

func (*Backend) BatchAssociateAnalyticsDataSet

func (b *Backend) BatchAssociateAnalyticsDataSet(
	ctx context.Context, in *BatchAnalyticsDataSetInput,
) (*BatchAssociateOut, error)

BatchAssociateAnalyticsDataSet shares several analytics datasets; an invalid dataset ID fails alone.

func (*Backend) BatchCreateDataTableValue

func (b *Backend) BatchCreateDataTableValue(
	ctx context.Context, in *batchValuesIn,
) (*DataTableBatchResult[DataTableBatchSuccess], error)

BatchCreateDataTableValue creates values; each item succeeds or fails on its own.

func (*Backend) BatchDeleteDataTableValue

func (b *Backend) BatchDeleteDataTableValue(
	ctx context.Context, in *batchIDsIn,
) (*DataTableBatchResult[DataTableBatchSuccess], error)

BatchDeleteDataTableValue deletes values; a record without values disappears.

func (*Backend) BatchDescribeDataTableValue

func (b *Backend) BatchDescribeDataTableValue(
	in *batchIDsIn,
) (*DataTableBatchResult[DataTableBatchDescribed], error)

BatchDescribeDataTableValue reads values by record and attribute.

func (*Backend) BatchDisassociateAnalyticsDataSet

func (b *Backend) BatchDisassociateAnalyticsDataSet(
	ctx context.Context, in *BatchAnalyticsDataSetInput,
) (*BatchDisassociateOut, error)

BatchDisassociateAnalyticsDataSet removes the sharing of several datasets; unknown ones fail alone.

func (*Backend) BatchGetAttachedFileMetadata

func (b *Backend) BatchGetAttachedFileMetadata(in *BatchGetAttachedFileMetadataInput) (*AttachedBatchOut, error)

BatchGetAttachedFileMetadata returns the metadata of up to 100 files; the rest are reported as errors.

func (*Backend) BatchGetFlowAssociation

func (b *Backend) BatchGetFlowAssociation(in *FlowAssocRequest) ([]FlowAssociationSummary, error)

BatchGetFlowAssociation returns the associations of up to 100 resources of one type.

func (*Backend) BatchPutContact

func (b *Backend) BatchPutContact(ctx context.Context, in *BatchPutContactInput) (*BatchPutContactOut, error)

BatchPutContact creates up to 25 outbound voice contacts, reporting each item's outcome.

func (*Backend) BatchUpdateDataTableValue

func (b *Backend) BatchUpdateDataTableValue(
	ctx context.Context, in *batchValuesIn,
) (*DataTableBatchResult[DataTableBatchSuccess], error)

BatchUpdateDataTableValue updates existing values, honoring the table's lock level.

func (*Backend) ClaimPhoneNumber

func (b *Backend) ClaimPhoneNumber(ctx context.Context, in *ClaimPhoneNumberInput) (*phoneOut, error)

ClaimPhoneNumber claims a number of the pool for an instance.

func (*Backend) CompleteAttachedFileUpload

func (b *Backend) CompleteAttachedFileUpload(ctx context.Context, in *fileRef) (*EmptyOutput, error)

CompleteAttachedFileUpload approves a file once its content was uploaded.

func (*Backend) CreateAgentStatus

func (b *Backend) CreateAgentStatus(ctx context.Context, in *CreateAgentStatusInput) (*agentStatusOut, error)

CreateAgentStatus creates a custom agent status.

func (*Backend) CreateAttachedFile

func (b *Backend) CreateAttachedFile(ctx context.Context, in *CreateAttachedFileInput) (*AttachedFileCreated, error)

CreateAttachedFile copies an S3 object into an attached voice recording.

func (*Backend) CreateAuthCode

func (b *Backend) CreateAuthCode(in *CreateAuthCodeInput) (*AuthCodeOut, error)

CreateAuthCode issues a one-time authorization code and records the session it opens.

func (*Backend) CreateContact

func (b *Backend) CreateContact(ctx context.Context, in *CreateContactInput) (*CreateContactOut, error)

CreateContact creates a voice, email or task contact.

func (*Backend) CreateContactFlow

func (b *Backend) CreateContactFlow(ctx context.Context, in *CreateContactFlowInput) (*contactFlowOut, error)

CreateContactFlow creates a contact flow after validating its content.

func (*Backend) CreateContactFlowModule

func (b *Backend) CreateContactFlowModule(ctx context.Context, in *CreateContactFlowModuleInput) (*moduleOut, error)

CreateContactFlowModule creates a flow module after validating its content.

func (*Backend) CreateDataTable

func (b *Backend) CreateDataTable(ctx context.Context, in *CreateDataTableInput) (*createDataTableOut, error)

CreateDataTable creates a data table without attributes or values.

func (*Backend) CreateDataTableAttribute

func (b *Backend) CreateDataTableAttribute(
	ctx context.Context,
	in *CreateDataTableAttributeInput,
) (*createAttributeOut, error)

CreateDataTableAttribute adds an attribute; a new primary attribute gives existing records its empty value.

func (*Backend) CreateEmailAddress

func (b *Backend) CreateEmailAddress(ctx context.Context, in *CreateEmailAddressInput) (*emailIDsOut, error)

CreateEmailAddress creates an email address; addresses are unique per instance.

func (*Backend) CreateEvaluationForm

func (b *Backend) CreateEvaluationForm(ctx context.Context, in *FormRequest) (*FormOut, error)

CreateEvaluationForm creates an evaluation form with its first version.

func (*Backend) CreateExtractionDefinition

func (b *Backend) CreateExtractionDefinition(
	ctx context.Context, in *CreateExtractionDefinitionInput,
) (*ExtractionIDsOut, error)

CreateExtractionDefinition creates a contact data extraction definition.

func (*Backend) CreateFlowVersion

func (b *Backend) CreateFlowVersion(ctx context.Context, in *VersionInput) (*VersionOut, error)

CreateFlowVersion publishes a version of a flow.

func (*Backend) CreateHoursOfOperation

func (b *Backend) CreateHoursOfOperation(ctx context.Context, in *CreateHoursOfOperationInput) (*idArnOut, error)

CreateHoursOfOperation creates a weekly schedule.

func (*Backend) CreateHoursOfOperationOverride

func (b *Backend) CreateHoursOfOperationOverride(
	ctx context.Context, in *CreateHoursOfOperationOverrideInput,
) (*OverrideOut, error)

CreateHoursOfOperationOverride creates a dated exception to a schedule.

func (*Backend) CreateInstance

func (b *Backend) CreateInstance(ctx context.Context, in *CreateInstanceInput) (*Instance, error)

CreateInstance provisions an instance with its default queue, routing profile, security profiles and agent statuses.

func (*Backend) CreateIntegrationAssociation

func (b *Backend) CreateIntegrationAssociation(
	ctx context.Context,
	in *CreateIntegrationAssociationInput,
) (*integrationOut, error)

CreateIntegrationAssociation links the instance to an integration; EVENT and APPLICATION register in AppIntegrations.

func (*Backend) CreateMetric

func (b *Backend) CreateMetric(ctx context.Context, in *CreateMetricInput) (*MetricIDsOut, error)

CreateMetric creates a customer-managed metric definition.

func (*Backend) CreateModuleAlias

func (b *Backend) CreateModuleAlias(ctx context.Context, in *AliasInput) (*AliasOut, error)

CreateModuleAlias names a version of a flow module.

func (*Backend) CreateModuleVersion

func (b *Backend) CreateModuleVersion(ctx context.Context, in *VersionInput) (*VersionOut, error)

CreateModuleVersion publishes a version of a flow module.

func (*Backend) CreateNotification

func (b *Backend) CreateNotification(ctx context.Context, in *CreateNotificationInput) (*NotificationCreated, error)

CreateNotification creates a notification for users of the instance.

func (*Backend) CreateParticipant

func (b *Backend) CreateParticipant(in *CreateParticipantInput) (*CreateParticipantOut, error)

CreateParticipant adds a custom bot participant to an ongoing chat contact.

func (*Backend) CreatePersistentContactAssociation

func (b *Backend) CreatePersistentContactAssociation(
	in *CreatePersistentContactAssociationInput,
) (*PersistentAssociationOut, error)

CreatePersistentContactAssociation links a chat contact to the past chat it continues.

func (*Backend) CreatePredefinedAttribute

func (b *Backend) CreatePredefinedAttribute(
	ctx context.Context,
	in *CreatePredefinedAttributeInput,
) (*EmptyOutput, error)

CreatePredefinedAttribute creates a predefined attribute.

func (*Backend) CreatePrompt

func (b *Backend) CreatePrompt(ctx context.Context, in *CreatePromptInput) (*promptOut, error)

CreatePrompt creates a prompt from a WAV object in S3.

func (*Backend) CreatePushNotificationRegistration

func (b *Backend) CreatePushNotificationRegistration(
	_ context.Context, in *CreatePushNotificationRegistrationInput,
) (*PushRegistrationCreated, error)

CreatePushNotificationRegistration registers a device token for the chat contact.

func (*Backend) CreateQueue

func (b *Backend) CreateQueue(ctx context.Context, in *CreateQueueInput) (*queueOut, error)

CreateQueue creates a standard queue.

func (*Backend) CreateQuickConnect

func (b *Backend) CreateQuickConnect(ctx context.Context, in *CreateQuickConnectInput) (*quickConnectOut, error)

CreateQuickConnect creates a quick connect.

func (*Backend) CreateRoutingProfile

func (b *Backend) CreateRoutingProfile(ctx context.Context, in *CreateRoutingProfileInput) (*routingProfileOut, error)

CreateRoutingProfile creates a routing profile.

func (*Backend) CreateRule

func (b *Backend) CreateRule(ctx context.Context, in *CreateRuleInput) (*RuleOut, error)

CreateRule creates a rule.

func (*Backend) CreateSecurityProfile

func (b *Backend) CreateSecurityProfile(
	ctx context.Context,
	in *CreateSecurityProfileInput,
) (*securityProfileOut, error)

CreateSecurityProfile creates a security profile.

func (*Backend) CreateTaskTemplate

func (b *Backend) CreateTaskTemplate(ctx context.Context, in *CreateTaskTemplateInput) (*TaskTemplateOut, error)

CreateTaskTemplate creates a task template.

func (*Backend) CreateTestCase

func (b *Backend) CreateTestCase(ctx context.Context, in *CreateTestCaseInput) (*TestCaseCreated, error)

CreateTestCase stores a test case as a saved or published version.

func (*Backend) CreateTrafficDistributionGroup

func (b *Backend) CreateTrafficDistributionGroup(
	ctx context.Context,
	in *TDGRequest,
) (*TrafficDistributionGroupOut, error)

CreateTrafficDistributionGroup creates a traffic distribution group for an instance.

func (*Backend) CreateUseCase

func (b *Backend) CreateUseCase(_ context.Context, in *CreateUseCaseInput) (*useCaseOut, error)

CreateUseCase adds a use case to an integration association.

func (*Backend) CreateUser

func (b *Backend) CreateUser(ctx context.Context, in *CreateUserInput) (*userOut, error)

CreateUser creates a user.

func (*Backend) CreateUserHierarchyGroup

func (b *Backend) CreateUserHierarchyGroup(
	ctx context.Context,
	in *CreateUserHierarchyGroupInput,
) (*hierarchyGroupOut, error)

CreateUserHierarchyGroup creates a group at the next free level under an optional parent.

func (*Backend) CreateView

func (b *Backend) CreateView(ctx context.Context, in *CreateViewInput) (*View, error)

CreateView creates a view.

func (*Backend) CreateViewVersion

func (b *Backend) CreateViewVersion(in *ViewRequest) (*View, error)

CreateViewVersion publishes the current content of a view as a new version.

func (*Backend) CreateVocabulary

func (b *Backend) CreateVocabulary(ctx context.Context, in *CreateVocabularyInput) (*VocabularyOut, error)

CreateVocabulary creates a custom vocabulary; invalid content fails asynchronously like Transcribe.

func (*Backend) CreateWorkspace

func (b *Backend) CreateWorkspace(ctx context.Context, in *CreateWorkspaceInput) (*createWorkspaceOut, error)

CreateWorkspace creates a workspace; new workspaces are visible to assigned users and routing profiles only.

func (*Backend) CreateWorkspacePage

func (b *Backend) CreateWorkspacePage(ctx context.Context, in *CreateWorkspacePageInput) (*EmptyOutput, error)

CreateWorkspacePage maps a page of a workspace to a view.

func (*Backend) DeactivateEvaluationForm

func (b *Backend) DeactivateEvaluationForm(ctx context.Context, in *FormRequest) (*FormOut, error)

DeactivateEvaluationForm returns an active version to draft.

func (*Backend) DeleteAttachedFile

func (b *Backend) DeleteAttachedFile(ctx context.Context, in *fileRef) (*EmptyOutput, error)

DeleteAttachedFile removes a file and its content.

func (*Backend) DeleteContactData

func (b *Backend) DeleteContactData(in *DeleteContactDataInput) (*EmptyOutput, error)

DeleteContactData redacts personal data fields from a terminated contact.

func (*Backend) DeleteContactEvaluation

func (b *Backend) DeleteContactEvaluation(inst, id string) (*EmptyOutput, error)

DeleteContactEvaluation removes an evaluation.

func (*Backend) DeleteContactFlow

func (b *Backend) DeleteContactFlow(inst, id string) (*EmptyOutput, error)

DeleteContactFlow removes a flow no phone number, queue or quick connect uses.

func (*Backend) DeleteContactFlowModule

func (b *Backend) DeleteContactFlowModule(inst, id string) (*EmptyOutput, error)

DeleteContactFlowModule removes a flow module.

func (*Backend) DeleteDataTable

func (b *Backend) DeleteDataTable(inst, ref string) (*EmptyOutput, error)

DeleteDataTable removes a data table with its attributes and values.

func (*Backend) DeleteDataTableAttribute

func (b *Backend) DeleteDataTableAttribute(ctx context.Context, inst, ref, name string) (*lockOut, error)

DeleteDataTableAttribute removes an attribute with its values.

func (*Backend) DeleteDataTableRecord

func (b *Backend) DeleteDataTableRecord(ctx context.Context, inst, tableRef, recordID string) error

DeleteDataTableRecord removes a record with all its values.

func (*Backend) DeleteEmailAddress

func (b *Backend) DeleteEmailAddress(inst, id string) (*EmptyOutput, error)

DeleteEmailAddress removes an email address that no alias or queue references.

func (*Backend) DeleteEvaluationForm

func (b *Backend) DeleteEvaluationForm(in *FormRequest) (*EmptyOutput, error)

DeleteEvaluationForm deletes one inactive version, or the whole form when no version is given.

func (*Backend) DeleteExtractionDefinition

func (b *Backend) DeleteExtractionDefinition(inst, id string) (*EmptyOutput, error)

DeleteExtractionDefinition removes an extraction definition.

func (*Backend) DeleteFlowVersion

func (b *Backend) DeleteFlowVersion(in *VersionInput) (*EmptyOutput, error)

DeleteFlowVersion deletes a flow version that no alias uses.

func (*Backend) DeleteHoursOfOperation

func (b *Backend) DeleteHoursOfOperation(inst, id string) (*EmptyOutput, error)

DeleteHoursOfOperation removes a schedule that no queue uses.

func (*Backend) DeleteHoursOfOperationOverride

func (b *Backend) DeleteHoursOfOperationOverride(inst, hoursID, id string) (*EmptyOutput, error)

DeleteHoursOfOperationOverride removes an override.

func (*Backend) DeleteInstance

func (b *Backend) DeleteInstance(ctx context.Context, ref string) error

DeleteInstance removes an instance and everything scoped to it.

func (*Backend) DeleteIntegrationAssociation

func (b *Backend) DeleteIntegrationAssociation(ctx context.Context, inst, id string) (*EmptyOutput, error)

DeleteIntegrationAssociation removes an association and its AppIntegrations counterpart.

func (*Backend) DeleteMetric

func (b *Backend) DeleteMetric(inst, id string) (*EmptyOutput, error)

DeleteMetric removes a metric definition.

func (*Backend) DeleteModuleAlias

func (b *Backend) DeleteModuleAlias(in *AliasInput) (*EmptyOutput, error)

DeleteModuleAlias deletes a flow module alias.

func (*Backend) DeleteModuleVersion

func (b *Backend) DeleteModuleVersion(in *VersionInput) (*EmptyOutput, error)

DeleteModuleVersion deletes a flow module version that no alias uses.

func (*Backend) DeleteNotification

func (b *Backend) DeleteNotification(inst, id string) (*EmptyOutput, error)

DeleteNotification removes a notification.

func (*Backend) DeletePredefinedAttribute

func (b *Backend) DeletePredefinedAttribute(inst, name string) (*EmptyOutput, error)

DeletePredefinedAttribute removes a predefined attribute.

func (*Backend) DeletePrompt

func (b *Backend) DeletePrompt(inst, id string) (*EmptyOutput, error)

DeletePrompt removes a prompt.

func (*Backend) DeletePushNotificationRegistration

func (b *Backend) DeletePushNotificationRegistration(
	in *DeletePushNotificationRegistrationInput,
) (*EmptyOutput, error)

DeletePushNotificationRegistration removes a registration of a contact.

func (*Backend) DeleteQueue

func (b *Backend) DeleteQueue(inst, id string) (*EmptyOutput, error)

DeleteQueue removes a queue that no routing profile or quick connect references.

func (*Backend) DeleteQuickConnect

func (b *Backend) DeleteQuickConnect(inst, id string) (*EmptyOutput, error)

DeleteQuickConnect removes a quick connect that no queue uses.

func (*Backend) DeleteRoutingProfile

func (b *Backend) DeleteRoutingProfile(inst, id string) (*EmptyOutput, error)

DeleteRoutingProfile removes a routing profile that has no users.

func (*Backend) DeleteRule

func (b *Backend) DeleteRule(inst, id string) (*EmptyOutput, error)

DeleteRule removes a rule.

func (*Backend) DeleteSecurityProfile

func (b *Backend) DeleteSecurityProfile(inst, id string) (*EmptyOutput, error)

DeleteSecurityProfile removes a security profile no user holds.

func (*Backend) DeleteSession

func (b *Backend) DeleteSession(in *sessionRef) (*EmptyOutput, error)

DeleteSession ends a session opened by an auth code.

func (*Backend) DeleteTaskTemplate

func (b *Backend) DeleteTaskTemplate(inst, id string) (*EmptyOutput, error)

DeleteTaskTemplate removes a task template.

func (*Backend) DeleteTestCase

func (b *Backend) DeleteTestCase(inst, id string) (*EmptyOutput, error)

DeleteTestCase removes a test case with both of its versions.

func (*Backend) DeleteTrafficDistributionGroup

func (b *Backend) DeleteTrafficDistributionGroup(ref string) (*EmptyOutput, error)

DeleteTrafficDistributionGroup removes a group that has no associated users.

func (*Backend) DeleteUseCase

func (b *Backend) DeleteUseCase(inst, assocID, useCaseID string) (*EmptyOutput, error)

DeleteUseCase removes a use case.

func (*Backend) DeleteUser

func (b *Backend) DeleteUser(inst, id string) (*EmptyOutput, error)

DeleteUser removes a user that is not handling a contact.

func (*Backend) DeleteUserHierarchyGroup

func (b *Backend) DeleteUserHierarchyGroup(inst, id string) (*EmptyOutput, error)

DeleteUserHierarchyGroup removes a leaf group no user belongs to.

func (*Backend) DeleteView

func (b *Backend) DeleteView(inst, ref string) (*EmptyOutput, error)

DeleteView removes a view and all its versions.

func (*Backend) DeleteViewVersion

func (b *Backend) DeleteViewVersion(in *ViewRequest) (*EmptyOutput, error)

DeleteViewVersion removes one published version of a view.

func (*Backend) DeleteVocabulary

func (b *Backend) DeleteVocabulary(inst, id string) (*VocabularyOut, error)

DeleteVocabulary removes a vocabulary that is not the default of a language.

func (*Backend) DeleteWorkspace

func (b *Backend) DeleteWorkspace(inst, id string) (*EmptyOutput, error)

DeleteWorkspace removes a workspace with its pages, media and assignments.

func (*Backend) DeleteWorkspaceMedia

func (b *Backend) DeleteWorkspaceMedia(ctx context.Context, in *WorkspaceMediaInput) (*EmptyOutput, error)

DeleteWorkspaceMedia removes the media asset of one type.

func (*Backend) DeleteWorkspacePage

func (b *Backend) DeleteWorkspacePage(ctx context.Context, in *DeleteWorkspacePageInput) (*EmptyOutput, error)

DeleteWorkspacePage removes the view mapping of a page.

func (*Backend) DescribeAgentStatus

func (b *Backend) DescribeAgentStatus(inst, id string) (*AgentStatus, error)

DescribeAgentStatus returns an agent status.

func (*Backend) DescribeAttachedFilesConfiguration

func (b *Backend) DescribeAttachedFilesConfiguration(in *configRef) (*AttachedConfigOut, error)

DescribeAttachedFilesConfiguration returns the attachment policy of a scope, defaults when never updated.

func (*Backend) DescribeAuthenticationProfile

func (b *Backend) DescribeAuthenticationProfile(
	ctx context.Context, inst, id string,
) (*AuthenticationProfile, error)

DescribeAuthenticationProfile returns an authentication profile; the default one exists from the start.

func (*Backend) DescribeContact

func (b *Backend) DescribeContact(inst, id string) (*Contact, error)

DescribeContact returns a contact.

func (*Backend) DescribeContactEvaluation

func (b *Backend) DescribeContactEvaluation(in *evaluationRef) (*EvaluationDescribeOut, error)

DescribeContactEvaluation returns an evaluation and the form version it follows.

func (*Backend) DescribeContactFlow

func (b *Backend) DescribeContactFlow(inst, id string) (*ContactFlow, error)

DescribeContactFlow returns a contact flow.

func (*Backend) DescribeContactFlowModule

func (b *Backend) DescribeContactFlowModule(inst, id string) (*ContactFlowModule, error)

DescribeContactFlowModule returns a flow module.

func (*Backend) DescribeDataTable

func (b *Backend) DescribeDataTable(inst, ref string) (*DataTable, error)

DescribeDataTable returns a data table.

func (*Backend) DescribeDataTableAttribute

func (b *Backend) DescribeDataTableAttribute(inst, ref, name string) (*DataTableAttribute, error)

DescribeDataTableAttribute returns one attribute by name.

func (*Backend) DescribeEmailAddress

func (b *Backend) DescribeEmailAddress(inst, id string) (*EmailAddress, error)

DescribeEmailAddress returns an email address with its aliases.

func (*Backend) DescribeEvaluationForm

func (b *Backend) DescribeEvaluationForm(in *FormRequest) (*EvaluationForm, error)

DescribeEvaluationForm returns one version of a form, the latest by default.

func (*Backend) DescribeExtractionDefinition

func (b *Backend) DescribeExtractionDefinition(inst, id string) (*ExtractionDefinition, error)

DescribeExtractionDefinition returns an extraction definition.

func (*Backend) DescribeHoursOfOperation

func (b *Backend) DescribeHoursOfOperation(inst, id string) (*HoursOfOperation, error)

DescribeHoursOfOperation returns a schedule.

func (*Backend) DescribeHoursOfOperationOverride

func (b *Backend) DescribeHoursOfOperationOverride(inst, hoursID, id string) (*HoursOfOperationOverride, error)

DescribeHoursOfOperationOverride returns an override.

func (*Backend) DescribeInstance

func (b *Backend) DescribeInstance(ref string) (*Instance, error)

DescribeInstance returns an instance by ID or ARN.

func (*Backend) DescribeInstanceAttribute

func (b *Backend) DescribeInstanceAttribute(ref, attrType string) (*Attribute, error)

DescribeInstanceAttribute returns one attribute.

func (*Backend) DescribeInstanceReplication

func (b *Backend) DescribeInstanceReplication(ctx context.Context, ref string) (*DescribeInstanceOutput, error)

DescribeInstanceReplication describes an instance as seen from the Region of the request.

func (*Backend) DescribeInstanceStorageConfig

func (b *Backend) DescribeInstanceStorageConfig(ref, resourceType, assocID string) (*InstanceStorageConfig, error)

DescribeInstanceStorageConfig returns one storage association.

func (*Backend) DescribeMetric

func (b *Backend) DescribeMetric(inst, id string) (*MetricDefinition, error)

DescribeMetric returns a customer-managed metric definition, or an AWS-managed one by its name.

func (*Backend) DescribeNotification

func (b *Backend) DescribeNotification(inst, id string) (*Notification, error)

DescribeNotification returns a notification.

func (*Backend) DescribePhoneNumber

func (b *Backend) DescribePhoneNumber(id string) (*ClaimedPhoneNumberSummary, error)

DescribePhoneNumber returns a claimed number.

func (*Backend) DescribePredefinedAttribute

func (b *Backend) DescribePredefinedAttribute(inst, name string) (*PredefinedAttribute, error)

DescribePredefinedAttribute returns a predefined attribute.

func (*Backend) DescribePrompt

func (b *Backend) DescribePrompt(inst, id string) (*Prompt, error)

DescribePrompt returns a prompt.

func (*Backend) DescribeQueue

func (b *Backend) DescribeQueue(inst, id string) (*Queue, error)

DescribeQueue returns a queue.

func (*Backend) DescribeQuickConnect

func (b *Backend) DescribeQuickConnect(inst, id string) (*QuickConnect, error)

DescribeQuickConnect returns a quick connect.

func (*Backend) DescribeRoutingProfile

func (b *Backend) DescribeRoutingProfile(inst, id string) (*RoutingProfile, error)

DescribeRoutingProfile returns a routing profile with its derived counts.

func (*Backend) DescribeRule

func (b *Backend) DescribeRule(inst, id string) (*Rule, error)

DescribeRule returns a rule.

func (*Backend) DescribeSecurityProfile

func (b *Backend) DescribeSecurityProfile(inst, id string) (*SecurityProfile, error)

DescribeSecurityProfile returns a security profile.

func (*Backend) DescribeTestCase

func (b *Backend) DescribeTestCase(in *testCaseQuery) (*struct {
	TestCase TestCase `json:"TestCase"`
}, error,
)

DescribeTestCase returns the requested version of a test case, the published one when available by default.

func (*Backend) DescribeTestCaseVersion

func (b *Backend) DescribeTestCaseVersion(inst, id, status string) (*TestCase, error)

DescribeTestCaseVersion returns the saved or published version of a test case; an empty status picks the default.

func (*Backend) DescribeTrafficDistributionGroup

func (b *Backend) DescribeTrafficDistributionGroup(ref string) (*TrafficDistributionGroup, error)

DescribeTrafficDistributionGroup returns a group.

func (*Backend) DescribeUser

func (b *Backend) DescribeUser(inst, id string) (*User, error)

DescribeUser returns a user.

func (*Backend) DescribeUserHierarchyGroup

func (b *Backend) DescribeUserHierarchyGroup(inst, id string) (*HierarchyGroup, error)

DescribeUserHierarchyGroup returns a group with its path.

func (*Backend) DescribeUserHierarchyStructure

func (b *Backend) DescribeUserHierarchyStructure(inst string) (*HierarchyStructure, error)

DescribeUserHierarchyStructure returns the defined hierarchy levels.

func (*Backend) DescribeView

func (b *Backend) DescribeView(inst, ref string) (*View, error)

DescribeView returns a view, or one published version when the reference carries a version.

func (*Backend) DescribeVocabulary

func (b *Backend) DescribeVocabulary(inst, id string) (*Vocabulary, error)

DescribeVocabulary returns a vocabulary.

func (*Backend) DescribeWorkspace

func (b *Backend) DescribeWorkspace(inst, id string) (*Workspace, error)

DescribeWorkspace returns a workspace.

func (*Backend) DisassociateAnalyticsDataSet

func (b *Backend) DisassociateAnalyticsDataSet(
	ctx context.Context, in *AssociateAnalyticsDataSetInput,
) (*EmptyOutput, error)

DisassociateAnalyticsDataSet removes the sharing of one dataset.

func (*Backend) DisassociateApprovedOrigin

func (b *Backend) DisassociateApprovedOrigin(ref, origin string) error

DisassociateApprovedOrigin removes an approved origin.

func (*Backend) DisassociateBot

func (b *Backend) DisassociateBot(ref string, cfg LexBotConfig) error

DisassociateBot removes a Lex V1 or V2 bot association.

func (*Backend) DisassociateEmailAddressAlias

func (b *Backend) DisassociateEmailAddressAlias(in *EmailAliasInput) (*EmptyOutput, error)

DisassociateEmailAddressAlias removes an alias relationship.

func (*Backend) DisassociateFlow

func (b *Backend) DisassociateFlow(in *FlowAssocRequest) (*EmptyOutput, error)

DisassociateFlow removes the flow association of a resource.

func (*Backend) DisassociateHoursOfOperations

func (b *Backend) DisassociateHoursOfOperations(ctx context.Context, in *ParentHoursInput) (*EmptyOutput, error)

DisassociateHoursOfOperations removes parent schedules.

func (*Backend) DisassociateInstanceStorageConfig

func (b *Backend) DisassociateInstanceStorageConfig(ref, resourceType, assocID string) error

DisassociateInstanceStorageConfig removes a storage association.

func (*Backend) DisassociateLambdaFunction

func (b *Backend) DisassociateLambdaFunction(ref, functionARN string) error

DisassociateLambdaFunction removes a Lambda function association.

func (*Backend) DisassociatePhoneNumberContactFlow

func (b *Backend) DisassociatePhoneNumberContactFlow(in *PhoneFlowInput) (*EmptyOutput, error)

DisassociatePhoneNumberContactFlow removes the flow of a number.

func (*Backend) DisassociateQueueEmailAddresses

func (b *Backend) DisassociateQueueEmailAddresses(in *QueueEmailAddressesInput) (*EmptyOutput, error)

DisassociateQueueEmailAddresses removes "from" addresses from a queue.

func (*Backend) DisassociateQueueQuickConnects

func (b *Backend) DisassociateQueueQuickConnects(in *QuickConnectIDsInput) (*EmptyOutput, error)

DisassociateQueueQuickConnects removes quick connects from a queue.

func (*Backend) DisassociateRoutingProfileQueues

func (b *Backend) DisassociateRoutingProfileQueues(
	ctx context.Context,
	in *UpdateRoutingProfileInput,
) (*EmptyOutput, error)

DisassociateRoutingProfileQueues removes queue configs.

func (*Backend) DisassociateSecurityKey

func (b *Backend) DisassociateSecurityKey(ref, assocID string) error

DisassociateSecurityKey removes a security key.

func (*Backend) DisassociateSecurityProfiles

func (b *Backend) DisassociateSecurityProfiles(ctx context.Context, in *EntityProfilesInput) (*EmptyOutput, error)

DisassociateSecurityProfiles removes security profiles from a user or AI agent.

func (*Backend) DisassociateTrafficDistributionGroupUser

func (b *Backend) DisassociateTrafficDistributionGroupUser(in *TDGRequest) (*EmptyOutput, error)

DisassociateTrafficDistributionGroupUser removes an agent from a group.

func (*Backend) DisassociateUserProficiencies

func (b *Backend) DisassociateUserProficiencies(
	ctx context.Context, in *DisassociateProficienciesInput,
) (*EmptyOutput, error)

DisassociateUserProficiencies removes proficiencies from a user.

func (*Backend) DisassociateWorkspace

func (b *Backend) DisassociateWorkspace(
	ctx context.Context, in *WorkspaceAssociationInput,
) (*BatchAssociationResult, error)

DisassociateWorkspace removes workspace assignments.

func (*Backend) DismissUserContact

func (b *Backend) DismissUserContact(in *DismissUserContactInput) (*EmptyOutput, error)

DismissUserContact clears an ended contact from an agent's CCP; GetCurrentUserData stops listing it as ENDED.

func (*Backend) EvaluateDataTableValues

func (b *Backend) EvaluateDataTableValues(in *EvaluateDataTableValuesInput) ([]DataTableEvaluatedValue, string, error)

EvaluateDataTableValues returns the current value of each requested attribute; values here are never expressions.

func (*Backend) ExpireContacts

func (b *Backend) ExpireContacts()

ExpireContacts disconnects active contacts whose expiry has passed with reason EXPIRED.

func (*Backend) GetAttachedContent

func (b *Backend) GetAttachedContent(inst, fileID string, q url.Values) ([]byte, string, error)

GetAttachedContent returns the content and name of an approved file.

func (*Backend) GetAttachedFile

func (b *Backend) GetAttachedFile(ctx context.Context, in *GetAttachedFileInput) (*AttachedFileOut, error)

GetAttachedFile returns the metadata of a file and, once approved, a download URL.

func (*Backend) GetContactAttributes

func (b *Backend) GetContactAttributes(inst, id string) (*attributesOut, error)

GetContactAttributes returns a contact's attributes.

func (*Backend) GetContactMetrics

func (b *Backend) GetContactMetrics(in *GetContactMetricsInput) (*ContactMetricsOut, error)

GetContactMetrics computes the queue position and expected wait of a waiting contact.

func (*Backend) GetCrossRegionRouting

func (b *Backend) GetCrossRegionRouting(in *instPath) (*CrossRegionRoutingOutput, error)

GetCrossRegionRouting lists the Regions isolated from cross-region routing.

func (*Backend) GetCurrentMetricData

func (b *Backend) GetCurrentMetricData(in *GetCurrentMetricDataInput) (*currentMetricsOut, error)

GetCurrentMetricData derives real-time contact and agent metrics from stored state.

func (*Backend) GetCurrentUserData

func (b *Backend) GetCurrentUserData(in *GetCurrentUserDataInput) (*userDataOut, error)

GetCurrentUserData returns the real-time state of agents: status, slots and active contacts.

func (*Backend) GetEffectiveHoursOfOperations

func (b *Backend) GetEffectiveHoursOfOperations(in *EffectiveHoursInput) (*EffectiveHoursOut, error)

GetEffectiveHoursOfOperations resolves the schedule plus its overrides over a date range.

func (*Backend) GetEvaluationFormValidation

func (b *Backend) GetEvaluationFormValidation(in *FormRequest) (*FormValidationOut, error)

GetEvaluationFormValidation returns the findings of the latest validation.

func (*Backend) GetFlowAssociation

func (b *Backend) GetFlowAssociation(in *FlowAssocRequest) (*FlowAssociationSummary, error)

GetFlowAssociation returns the flow associated with a resource.

func (*Backend) GetMetricData

func (b *Backend) GetMetricData(in *GetMetricDataInput) (*historicalMetricsOut, error)

GetMetricData derives historical contact metrics from stored contacts.

func (*Backend) GetMetricDataV2

func (b *Backend) GetMetricDataV2(in *GetMetricDataV2Input) (*MetricDataV2Out, error)

GetMetricDataV2 derives historical contact metrics from stored contacts.

func (*Backend) GetPromptContent

func (b *Backend) GetPromptContent(ctx context.Context, inst, promptID string, q url.Values) ([]byte, error)

GetPromptContent returns the WAV object of a prompt behind a signed GetPromptFile URL.

func (*Backend) GetPromptFile

func (b *Backend) GetPromptFile(ctx context.Context, in *GetPromptFileInput) (*PromptFileOut, error)

GetPromptFile returns a pre-signed URL of the prompt's WAV file on the emulator content endpoint.

func (*Backend) GetTaskTemplate

func (b *Backend) GetTaskTemplate(inst, id string) (*TaskTemplate, error)

GetTaskTemplate returns a task template.

func (*Backend) GetTestCaseExecutionSummary

func (b *Backend) GetTestCaseExecutionSummary(in *execRef) (*ExecutionSummaryOut, error)

GetTestCaseExecutionSummary returns the times and status of an execution.

func (*Backend) GetTrafficDistribution

func (b *Backend) GetTrafficDistribution(ref string) (*TrafficDistributionOut, error)

GetTrafficDistribution returns the distribution configuration of a group.

func (*Backend) ImportWorkspaceMedia

func (b *Backend) ImportWorkspaceMedia(ctx context.Context, in *WorkspaceMediaInput) (*EmptyOutput, error)

ImportWorkspaceMedia stores a media asset of a workspace; one asset is kept per media type.

func (*Backend) InventoryResources

func (b *Backend) InventoryResources(ctx context.Context) []TaggedEntry

InventoryResources lists the caller's instances, phone numbers, instance resources and use cases, tagged or not.

func (*Backend) ListAgentStatuses

func (b *Backend) ListAgentStatuses(
	inst string,
	types []string,
	token string,
	maxResults int32,
) ([]AgentStatusSummary, string, error)

ListAgentStatuses pages through agent statuses, optionally restricted to the given types.

func (*Backend) ListAnalyticsDataAssociations

func (b *Backend) ListAnalyticsDataAssociations(in *ListAnalyticsDataAssociationsInput) (*map[string]any, error)

ListAnalyticsDataAssociations lists the dataset associations of an instance, optionally for one dataset.

func (*Backend) ListAnalyticsDataLakeDataSets

func (b *Backend) ListAnalyticsDataLakeDataSets(in *ListAnalyticsDataLakeDataSetsInput) (*map[string]any, error)

ListAnalyticsDataLakeDataSets pages through the shareable data lake tables; the table name is the dataset ID.

func (*Backend) ListApprovedOrigins

func (b *Backend) ListApprovedOrigins(ref, token string, maxResults int32) ([]string, string, error)

ListApprovedOrigins pages through approved origins.

func (*Backend) ListAssociatedContacts

func (b *Backend) ListAssociatedContacts(
	inst, contactID, token string, maxResults int32,
) ([]AssociatedContactSummary, string, error)

ListAssociatedContacts lists the contacts that share the initial contact of the given one, oldest first.

func (*Backend) ListAttachedFilesConfigurations

func (b *Backend) ListAttachedFilesConfigurations(
	inst, token string,
	maxResults int32,
) ([]AttachedFilesConfiguration, string, error)

ListAttachedFilesConfigurations lists the attachment policy of every scope.

func (*Backend) ListAuthenticationProfiles

func (b *Backend) ListAuthenticationProfiles(
	ctx context.Context, inst, token string, maxResults int32,
) ([]AuthenticationProfileSummary, string, error)

ListAuthenticationProfiles pages through the authentication profiles, sorted by name.

func (*Backend) ListBots

func (b *Backend) ListBots(ref, version, token string, maxResults int32) ([]LexBotConfig, string, error)

ListBots pages through bot associations of one Lex version (V1 or V2).

func (*Backend) ListChildHoursOfOperations

func (b *Backend) ListChildHoursOfOperations(inst, hoursID, token string, maxResults int32) (*ChildHoursOut, error)

ListChildHoursOfOperations pages through the schedules that name hoursID as a parent.

func (*Backend) ListContactEvaluations

func (b *Backend) ListContactEvaluations(inst, contactID string) ([]EvaluationSummary, error)

ListContactEvaluations lists the evaluations of one contact, newest first.

func (*Backend) ListContactFlowModules

func (b *Backend) ListContactFlowModules(
	inst, state, token string,
	maxResults int32,
) ([]ContactFlowModuleSummary, string, error)

ListContactFlowModules pages through flow modules, optionally restricted to one state.

func (*Backend) ListContactFlows

func (b *Backend) ListContactFlows(
	inst string,
	types []string,
	token string,
	maxResults int32,
) ([]ContactFlowSummary, string, error)

ListContactFlows pages through contact flows, optionally restricted to the given types.

func (*Backend) ListContactReferences

func (b *Backend) ListContactReferences(inst, contactID string, types []string) ([]map[string]any, error)

ListContactReferences returns the references of a contact that have one of the requested types.

func (*Backend) ListDataTableAttributes

func (b *Backend) ListDataTableAttributes(in *ListDataTableAttributesInput) ([]DataTableAttribute, string, error)

ListDataTableAttributes pages through the attributes of a data table in creation order.

func (*Backend) ListDataTablePrimaryValues

func (b *Backend) ListDataTablePrimaryValues(in *ListDataTableValuesInput) ([]RecordPrimaryValue, string, error)

ListDataTablePrimaryValues pages through the record keys of a data table.

func (*Backend) ListDataTableValues

func (b *Backend) ListDataTableValues(in *ListDataTableValuesInput) ([]DataTableValueSummary, string, error)

ListDataTableValues pages through the values of a data table, optionally for selected records.

func (*Backend) ListDataTables

func (b *Backend) ListDataTables(inst, token string, maxResults int32) ([]DataTableSummary, string, error)

ListDataTables pages through the data tables of an instance.

func (*Backend) ListDefaultVocabularies

func (b *Backend) ListDefaultVocabularies(in *ListDefaultVocabulariesInput) (*ListDefaultVocabulariesOut, error)

ListDefaultVocabularies pages through per-language default vocabularies.

func (*Backend) ListEntitySecurityProfiles

func (b *Backend) ListEntitySecurityProfiles(in *EntityProfilesInput) (*EntityProfilesOut, error)

ListEntitySecurityProfiles pages through the security profiles of a user or AI agent.

func (*Backend) ListEvaluationFormAIVersions

func (b *Backend) ListEvaluationFormAIVersions(in *AIVersionsRequest) (*map[string]any, error)

ListEvaluationFormAIVersions pages through the AI version catalog of an instance for one interaction type.

func (*Backend) ListEvaluationFormVersions

func (b *Backend) ListEvaluationFormVersions(in *FormRequest) ([]FormVersionSummary, string, error)

ListEvaluationFormVersions pages through the versions of a form, newest first.

func (*Backend) ListEvaluationForms

func (b *Backend) ListEvaluationForms(in *FormRequest) ([]FormSummary, string, error)

ListEvaluationForms pages through forms.

func (*Backend) ListExtractionDefinitions

func (b *Backend) ListExtractionDefinitions(
	inst, token string, maxResults int32,
) ([]ExtractionDefinitionSummary, string, error)

ListExtractionDefinitions pages through the extraction definitions, sorted by name.

func (*Backend) ListFlowAssociations

func (b *Backend) ListFlowAssociations(in *FlowAssocRequest) ([]FlowAssociationSummary, string, error)

ListFlowAssociations pages through flow associations, optionally of one resource type.

func (*Backend) ListHoursOfOperationOverrides

func (b *Backend) ListHoursOfOperationOverrides(
	inst, hoursID, token string,
	maxResults int32,
) (*OverrideListOut, error)

ListHoursOfOperationOverrides pages through the overrides of a schedule.

func (*Backend) ListHoursOfOperations

func (b *Backend) ListHoursOfOperations(inst, token string, maxResults int32) ([]Summary, string, error)

ListHoursOfOperations pages through schedules.

func (*Backend) ListInstanceAttributes

func (b *Backend) ListInstanceAttributes(ref, token string, maxResults int32) ([]Attribute, string, error)

ListInstanceAttributes pages through all attributes.

func (*Backend) ListInstanceStorageConfigs

func (b *Backend) ListInstanceStorageConfigs(
	ref, resourceType, token string, maxResults int32,
) ([]InstanceStorageConfig, string, error)

ListInstanceStorageConfigs pages through storage associations of one resource type.

func (*Backend) ListInstances

func (b *Backend) ListInstances(token string, maxResults int32) ([]InstanceSummary, string, error)

ListInstances pages through instances ordered by ID.

func (*Backend) ListIntegrationAssociations

func (b *Backend) ListIntegrationAssociations(
	inst, integrationType, integrationARN, token string,
	maxResults int32,
) ([]IntegrationAssociation, string, error)

ListIntegrationAssociations pages through integration associations, optionally filtered.

func (*Backend) ListLambdaFunctions

func (b *Backend) ListLambdaFunctions(ref, token string, maxResults int32) ([]string, string, error)

ListLambdaFunctions pages through associated Lambda function ARNs.

func (*Backend) ListMetrics

func (b *Backend) ListMetrics(inst, typ, token string, maxResults int32) ([]MetricSummary, string, error)

ListMetrics pages through the metric definitions; no type filter lists the customer-managed ones.

func (*Backend) ListModuleAliases

func (b *Backend) ListModuleAliases(in *AliasInput) ([]AliasSummary, string, error)

ListModuleAliases lists the aliases of a flow module.

func (*Backend) ListNotifications

func (b *Backend) ListNotifications(inst, token string, maxResults int32) ([]Notification, string, error)

ListNotifications pages through the notifications of an instance, newest first.

func (*Backend) ListPhoneNumbers

func (b *Backend) ListPhoneNumbers(
	inst string,
	types, countries []string,
	token string,
	maxResults int32,
) ([]PhoneNumberSummary, string, error)

ListPhoneNumbers pages through the numbers claimed by one instance.

func (*Backend) ListPhoneNumbersV2

func (b *Backend) ListPhoneNumbersV2(in *ListPhoneNumbersV2Input) (*listPhonesOut, error)

ListPhoneNumbersV2 pages through claimed numbers, optionally scoped to a target.

func (*Backend) ListPredefinedAttributes

func (b *Backend) ListPredefinedAttributes(
	inst, token string,
	maxResults int32,
) ([]PredefinedAttributeSummary, string, error)

ListPredefinedAttributes pages through predefined attributes.

func (*Backend) ListPrompts

func (b *Backend) ListPrompts(inst, token string, maxResults int32) ([]Summary, string, error)

ListPrompts pages through prompts.

func (*Backend) ListQueueEmailAddresses

func (b *Backend) ListQueueEmailAddresses(
	inst, queueID, token string, maxResults int32,
) ([]EmailAddressSummary, Stamp, string, error)

ListQueueEmailAddresses pages through a queue's "from" addresses, the default outbound one first.

func (*Backend) ListQueueQuickConnects

func (b *Backend) ListQueueQuickConnects(
	inst, queueID, token string,
	maxResults int32,
) ([]QuickConnectSummary, string, error)

ListQueueQuickConnects pages through the quick connects of a queue.

func (*Backend) ListQueues

func (b *Backend) ListQueues(
	inst string,
	types []string,
	token string,
	maxResults int32,
) ([]QueueSummary, string, error)

ListQueues pages through queues, optionally restricted to the given types.

func (*Backend) ListQuickConnects

func (b *Backend) ListQuickConnects(
	inst string,
	types []string,
	token string,
	maxResults int32,
) ([]QuickConnectSummary, string, error)

ListQuickConnects pages through quick connects, optionally restricted to the given types.

func (*Backend) ListRoutingProfileManualAssignmentQueues

func (b *Backend) ListRoutingProfileManualAssignmentQueues(
	inst, id, token string,
	maxResults int32,
) (*ManualQueuesOut, error)

ListRoutingProfileManualAssignmentQueues pages through the manual-assignment queues of a profile.

func (*Backend) ListRoutingProfileQueues

func (b *Backend) ListRoutingProfileQueues(
	inst, id, token string,
	maxResults int32,
) ([]RoutingProfileQueueConfigSummary, string, error)

ListRoutingProfileQueues pages through the queue configs of a profile.

func (*Backend) ListRoutingProfiles

func (b *Backend) ListRoutingProfiles(inst, token string, maxResults int32) ([]Summary, string, error)

ListRoutingProfiles pages through routing profiles.

func (*Backend) ListRules

func (b *Backend) ListRules(inst, source, status, token string, maxResults int32) ([]RuleSummary, string, error)

ListRules pages through rules, optionally filtered by event source and publish status.

func (*Backend) ListSecurityKeys

func (b *Backend) ListSecurityKeys(ref, token string, maxResults int32) ([]SecurityKey, string, error)

ListSecurityKeys pages through security keys.

func (*Backend) ListSecurityProfileAIAgents

func (b *Backend) ListSecurityProfileAIAgents(in *SecurityListInput) (*SecurityListOut, error)

ListSecurityProfileAIAgents lists the AI agents a security profile allows.

func (*Backend) ListSecurityProfileApplications

func (b *Backend) ListSecurityProfileApplications(in *SecurityListInput) (*SecurityListOut, error)

ListSecurityProfileApplications lists the applications a security profile grants.

func (*Backend) ListSecurityProfileFlowModules

func (b *Backend) ListSecurityProfileFlowModules(in *SecurityListInput) (*SecurityListOut, error)

ListSecurityProfileFlowModules lists the flow modules a security profile allows.

func (*Backend) ListSecurityProfilePermissions

func (b *Backend) ListSecurityProfilePermissions(inst, id, token string, maxResults int32) ([]string, string, error)

ListSecurityProfilePermissions pages through a profile's permissions.

func (*Backend) ListSecurityProfiles

func (b *Backend) ListSecurityProfiles(inst, token string, maxResults int32) ([]Summary, string, error)

ListSecurityProfiles pages through security profiles.

func (*Backend) ListTagsForResource

func (b *Backend) ListTagsForResource(resourceARN string) (map[string]string, error)

ListTagsForResource returns a copy of the resource's tags.

func (*Backend) ListTaskTemplates

func (b *Backend) ListTaskTemplates(in *ListTaskTemplatesInput) ([]TaskTemplateMetadata, string, error)

ListTaskTemplates pages through task templates filtered by status and name.

func (*Backend) ListTestCaseExecutionRecords

func (b *Backend) ListTestCaseExecutionRecords(in *ListTestCaseExecutionRecordsInput) (*map[string]any, error)

ListTestCaseExecutionRecords lists the observations recorded for an execution.

func (*Backend) ListTestCaseExecutions

func (b *Backend) ListTestCaseExecutions(in *ListTestCaseExecutionsInput) (*map[string]any, error)

ListTestCaseExecutions lists executions, newest first, optionally filtered.

func (*Backend) ListTestCases

func (b *Backend) ListTestCases(inst, token string, maxResults int32) ([]TestCaseSummary, string, error)

ListTestCases pages through test case summaries sorted by name.

func (*Backend) ListTrafficDistributionGroupUsers

func (b *Backend) ListTrafficDistributionGroupUsers(in *TDGRequest) ([]map[string]string, string, error)

ListTrafficDistributionGroupUsers pages through the agents of a group.

func (*Backend) ListTrafficDistributionGroups

func (b *Backend) ListTrafficDistributionGroups(in *TDGRequest) ([]TrafficDistributionGroupSummary, string, error)

ListTrafficDistributionGroups pages through groups, optionally of one instance.

func (*Backend) ListUseCases

func (b *Backend) ListUseCases(inst, assocID, token string, maxResults int32) ([]UseCase, string, error)

ListUseCases pages through the use cases of an integration association.

func (*Backend) ListUserHierarchyGroups

func (b *Backend) ListUserHierarchyGroups(inst, token string, maxResults int32) ([]Summary, string, error)

ListUserHierarchyGroups pages through hierarchy groups.

func (*Backend) ListUserNotifications

func (b *Backend) ListUserNotifications(
	inst, userID, token string,
	maxResults int32,
) ([]UserNotificationSummary, string, error)

ListUserNotifications lists the unexpired notifications addressed to a user with the user's status.

func (*Backend) ListUserProficiencies

func (b *Backend) ListUserProficiencies(in *ProficienciesInput) (*ProficienciesOut, error)

ListUserProficiencies pages through the proficiencies of a user.

func (*Backend) ListUsers

func (b *Backend) ListUsers(inst, token string, maxResults int32) ([]UserSummary, string, error)

ListUsers pages through users.

func (*Backend) ListViewVersions

func (b *Backend) ListViewVersions(in *ViewRequest) ([]ViewVersionSummary, string, error)

ListViewVersions pages through the published versions of a view.

func (*Backend) ListViews

func (b *Backend) ListViews(in *ViewRequest) ([]ViewSummary, string, error)

ListViews pages through views of one type.

func (*Backend) ListWorkspaceMedia

func (b *Backend) ListWorkspaceMedia(inst, id string) ([]MediaItem, error)

ListWorkspaceMedia returns the media assets of a workspace.

func (*Backend) ListWorkspacePages

func (b *Backend) ListWorkspacePages(in *ListWorkspacePagesInput) ([]WorkspacePage, string, error)

ListWorkspacePages pages through the pages of a workspace.

func (*Backend) ListWorkspaces

func (b *Backend) ListWorkspaces(inst, token string, maxResults int32) ([]WorkspaceSummary, string, error)

ListWorkspaces pages through the workspaces of an instance.

func (*Backend) MonitorContact

func (b *Backend) MonitorContact(ctx context.Context, in *MonitorContactInput) (*MonitorContactOut, error)

MonitorContact starts a silent-monitoring contact for a user on a connected voice or chat contact.

func (*Backend) PauseContact

func (b *Backend) PauseContact(in *PauseContactInput) (*EmptyOutput, error)

PauseContact pauses an ongoing task contact.

func (*Backend) PutAttachedContent

func (b *Backend) PutAttachedContent(inst, fileID string, q url.Values, body io.Reader) error

PutAttachedContent stores the uploaded content of a file that is still processing.

func (*Backend) PutDataTableRecord

func (b *Backend) PutDataTableRecord(ctx context.Context, in *DataTableRecordInput) (string, error)

PutDataTableRecord creates a record, or with RecordID replaces the primary values and the values of that record; values absent from the request are removed. It returns the record identifier.

func (*Backend) PutUserStatus

func (b *Backend) PutUserStatus(ctx context.Context, in *UpdateUserInput) (*EmptyOutput, error)

PutUserStatus sets the agent status of a user.

func (*Backend) ReleasePhoneNumber

func (b *Backend) ReleasePhoneNumber(id string) (*EmptyOutput, error)

ReleasePhoneNumber returns a number to the pool.

func (*Backend) ReplicateInstance

ReplicateInstance creates a replica of an instance in another Region; it shares the instance ID.

func (*Backend) Reset

func (b *Backend) Reset()

Reset clears all state.

func (*Backend) Restore

func (b *Backend) Restore(ctx context.Context, data []byte) error

Restore loads a snapshot; an incompatible version is discarded.

func (*Backend) ResumeContact

func (b *Backend) ResumeContact(in *PauseContactInput) (*EmptyOutput, error)

ResumeContact resumes a paused task contact.

func (*Backend) ResumeContactRecording

func (b *Backend) ResumeContactRecording(in *RecordingInput) (*EmptyOutput, error)

ResumeContactRecording resumes a suspended recording.

func (*Backend) SearchAgentStatuses

func (b *Backend) SearchAgentStatuses(in *SearchRequest) (*SearchResult, error)

SearchAgentStatuses searches agent statuses.

func (*Backend) SearchAvailablePhoneNumbers

func (b *Backend) SearchAvailablePhoneNumbers(in *SearchAvailablePhoneNumbersInput) (*searchNumbersOut, error)

SearchAvailablePhoneNumbers lists unclaimed numbers of the pool.

func (*Backend) SearchContactEvaluations

func (b *Backend) SearchContactEvaluations(in *SearchRequest) (*SearchResult, error)

SearchContactEvaluations searches the contact evaluations of an instance, newest first.

func (*Backend) SearchContactFlowModules

func (b *Backend) SearchContactFlowModules(in *SearchRequest) (*SearchResult, error)

SearchContactFlowModules searches contact flow modules.

func (*Backend) SearchContactFlows

func (b *Backend) SearchContactFlows(in *SearchRequest) (*SearchResult, error)

SearchContactFlows searches contact flows.

func (*Backend) SearchContacts

func (b *Backend) SearchContacts(in *SearchContactsInput) (*searchContactsOut, error)

SearchContacts finds contacts of an instance by time range and the supported criteria.

func (*Backend) SearchDataTables

func (b *Backend) SearchDataTables(in *SearchRequest) (*SearchResult, error)

SearchDataTables searches data tables by name, description and tags.

func (*Backend) SearchEmailAddresses

func (b *Backend) SearchEmailAddresses(in *SearchRequest) (*SearchResult, error)

SearchEmailAddresses searches email addresses by address, display name and description.

func (*Backend) SearchEvaluationForms

func (b *Backend) SearchEvaluationForms(in *SearchRequest) (*SearchResult, error)

SearchEvaluationForms searches forms by title and description.

func (*Backend) SearchHoursOfOperationOverrides

func (b *Backend) SearchHoursOfOperationOverrides(in *SearchRequest) (*SearchResult, error)

SearchHoursOfOperationOverrides searches schedule overrides.

func (*Backend) SearchHoursOfOperations

func (b *Backend) SearchHoursOfOperations(in *SearchRequest) (*SearchResult, error)

SearchHoursOfOperations searches schedules.

func (*Backend) SearchMetrics

func (b *Backend) SearchMetrics(in *SearchRequest) (*SearchResult, error)

SearchMetrics searches the customer-managed metric definitions.

func (*Backend) SearchNotifications

func (b *Backend) SearchNotifications(in *SearchRequest) (*SearchResult, error)

SearchNotifications searches notifications by id or content and by tags.

func (*Backend) SearchPredefinedAttributes

func (b *Backend) SearchPredefinedAttributes(in *SearchRequest) (*SearchResult, error)

SearchPredefinedAttributes searches predefined attributes.

func (*Backend) SearchPrompts

func (b *Backend) SearchPrompts(in *SearchRequest) (*SearchResult, error)

SearchPrompts searches prompts.

func (*Backend) SearchQueues

func (b *Backend) SearchQueues(in *SearchRequest) (*SearchResult, error)

SearchQueues searches queues.

func (*Backend) SearchQuickConnects

func (b *Backend) SearchQuickConnects(in *SearchRequest) (*SearchResult, error)

SearchQuickConnects searches quick connects.

func (*Backend) SearchResourceTags

func (b *Backend) SearchResourceTags(in *SearchRequest) (*SearchResult, error)

SearchResourceTags returns the distinct tag key and value pairs of an instance's resources.

func (*Backend) SearchRoutingProfiles

func (b *Backend) SearchRoutingProfiles(in *SearchRequest) (*SearchResult, error)

SearchRoutingProfiles searches routing profiles.

func (*Backend) SearchRules

func (b *Backend) SearchRules(in *SearchRequest) (*SearchResult, error)

SearchRules searches rules.

func (*Backend) SearchSecurityProfiles

func (b *Backend) SearchSecurityProfiles(in *SearchRequest) (*SearchResult, error)

SearchSecurityProfiles searches security profiles.

func (*Backend) SearchTestCases

func (b *Backend) SearchTestCases(in *SearchRequest) (*SearchResult, error)

SearchTestCases searches test cases by name, description, status and tags.

func (*Backend) SearchUserHierarchyGroups

func (b *Backend) SearchUserHierarchyGroups(in *SearchRequest) (*SearchResult, error)

SearchUserHierarchyGroups searches hierarchy groups.

func (*Backend) SearchUsers

func (b *Backend) SearchUsers(in *SearchRequest) (*SearchResult, error)

SearchUsers searches users.

func (*Backend) SearchViews

func (b *Backend) SearchViews(in *SearchRequest) (*SearchResult, error)

SearchViews searches views.

func (*Backend) SearchVocabularies

func (b *Backend) SearchVocabularies(in *SearchVocabulariesInput) (*SearchVocabulariesOut, error)

SearchVocabularies pages through vocabularies filtered by language, state and name prefix.

func (*Backend) SearchWorkspaceAssociations

func (b *Backend) SearchWorkspaceAssociations(in *SearchRequest) (*SearchResult, error)

SearchWorkspaceAssociations searches the user and routing profile assignments of workspaces.

func (*Backend) SearchWorkspaces

func (b *Backend) SearchWorkspaces(in *SearchRequest) (*SearchResult, error)

SearchWorkspaces searches workspaces by name, description, title, visibility and tags.

func (*Backend) SendOutboundEmail

func (b *Backend) SendOutboundEmail(ctx context.Context, in *SendOutboundEmailInput) (*EmptyOutput, error)

SendOutboundEmail sends a campaign email from one of the instance's email addresses.

func (*Backend) SendOutboundWebNotification

func (b *Backend) SendOutboundWebNotification(
	ctx context.Context,
	in *SendOutboundWebNotificationInput,
) (*EmptyOutput, error)

SendOutboundWebNotification records a campaign web notification for a widget; no browser exists to receive it.

func (*Backend) SetClock

func (b *Backend) SetClock(now func() time.Time)

SetClock replaces the time source.

func (*Backend) SetIntegrations

func (b *Backend) SetIntegrations(i Integrations)

SetIntegrations wires AppIntegrations for EVENT and APPLICATION integration associations.

func (*Backend) SetLifecycleDelay

func (b *Backend) SetLifecycleDelay(d time.Duration)

SetLifecycleDelay overrides how long a new instance reports CREATION_IN_PROGRESS; zero keeps the built-in window.

func (*Backend) SetMailer

func (b *Backend) SetMailer(m Mailer)

SetMailer wires outbound email delivery.

func (*Backend) SetResolvers

func (b *Backend) SetResolvers(r Resolvers)

SetResolvers wires the sibling services used to validate references.

func (*Backend) SetShares

func (b *Backend) SetShares(s Shares)

SetShares wires resource sharing for analytics data set associations.

func (*Backend) Snapshot

func (b *Backend) Snapshot(ctx context.Context) []byte

Snapshot serialises the backend state.

func (*Backend) StartAttachedFileUpload

func (b *Backend) StartAttachedFileUpload(
	ctx context.Context,
	in *StartAttachedFileUploadInput,
) (*AttachedFileCreated, error)

StartAttachedFileUpload registers a file and hands out a pre-signed upload URL.

func (*Backend) StartChatContact

func (b *Backend) StartChatContact(ctx context.Context, in *StartChatContactInput) (*chatOut, error)

StartChatContact starts a chat contact and issues the participant token for the customer.

func (*Backend) StartContactConversationalAnalyticsJob

func (b *Backend) StartContactConversationalAnalyticsJob(
	ctx context.Context,
	in *StartConversationalAnalyticsJobInput,
) (*ConversationalAnalyticsJobOut, error)

StartContactConversationalAnalyticsJob records a post-contact job for a voice contact with a recording.

func (*Backend) StartContactEvaluation

func (b *Backend) StartContactEvaluation(
	ctx context.Context,
	in *StartContactEvaluationInput,
) (*EvaluationIDsOut, error)

StartContactEvaluation opens a draft evaluation of a contact against the active version of a form.

func (*Backend) StartContactMediaProcessing

func (b *Backend) StartContactMediaProcessing(
	ctx context.Context,
	in *StartContactMediaProcessingInput,
) (*EmptyOutput, error)

StartContactMediaProcessing enables Lambda message processing on a chat contact.

func (*Backend) StartContactRecording

func (b *Backend) StartContactRecording(in *RecordingInput) (*EmptyOutput, error)

StartContactRecording starts the requested recordings of a voice contact; each can be started once.

func (*Backend) StartContactStreaming

func (b *Backend) StartContactStreaming(in *StartContactStreamingInput) (*StartStreamingOut, error)

StartContactStreaming starts message streaming of a chat contact to an SNS topic.

func (*Backend) StartEmailContact

func (b *Backend) StartEmailContact(ctx context.Context, in *StartEmailContactInput) (*ContactIDOut, error)

StartEmailContact creates an inbound email contact addressed to one of the instance's email addresses.

func (*Backend) StartEvaluationFormValidation

func (b *Backend) StartEvaluationFormValidation(in *FormRequest) (*FormOut, error)

StartEvaluationFormValidation validates a version and records the findings.

func (*Backend) StartOutboundChatContact

func (b *Backend) StartOutboundChatContact(
	ctx context.Context,
	in *StartOutboundChatContactInput,
) (*ContactIDOut, error)

StartOutboundChatContact starts an outbound SMS or WhatsApp chat contact; the message is not delivered.

func (*Backend) StartOutboundEmailContact

func (b *Backend) StartOutboundEmailContact(
	ctx context.Context,
	in *StartOutboundEmailContactInput,
) (*ContactIDOut, error)

StartOutboundEmailContact sends the email of an outbound or agent-reply email contact.

func (*Backend) StartOutboundVoiceContact

func (b *Backend) StartOutboundVoiceContact(
	ctx context.Context,
	in *StartOutboundVoiceContactInput,
) (*ContactIDOut, error)

StartOutboundVoiceContact places an outbound voice contact.

func (*Backend) StartTaskContact

func (b *Backend) StartTaskContact(ctx context.Context, in *StartTaskContactInput) (*ContactIDOut, error)

StartTaskContact creates a task contact, optionally scheduled up to six days ahead.

func (*Backend) StartTestCaseExecution

func (b *Backend) StartTestCaseExecution(in *StartTestCaseExecutionInput) (*StartExecutionOut, error)

StartTestCaseExecution starts an execution of a published test case.

func (*Backend) StopContact

func (b *Backend) StopContact(in *ContactRefInput) (*EmptyOutput, error)

StopContact ends a contact that is still active.

func (*Backend) StopContactMediaProcessing

func (b *Backend) StopContactMediaProcessing(in *StopContactMediaProcessingInput) (*EmptyOutput, error)

StopContactMediaProcessing disables message processing on a chat contact.

func (*Backend) StopContactRecording

func (b *Backend) StopContactRecording(in *RecordingInput) (*EmptyOutput, error)

StopContactRecording ends a recording for good.

func (*Backend) StopContactStreaming

func (b *Backend) StopContactStreaming(in *StopContactStreamingInput) (*EmptyOutput, error)

StopContactStreaming ends one message streaming configuration of a chat contact.

func (*Backend) StopTestCaseExecution

func (b *Backend) StopTestCaseExecution(in *StopTestCaseExecutionInput) (*EmptyOutput, error)

StopTestCaseExecution stops a running test case execution.

func (*Backend) SubmitContactEvaluation

func (b *Backend) SubmitContactEvaluation(in *SubmitContactEvaluationInput) (*EvaluationIDsOut, error)

SubmitContactEvaluation saves the final answers, scores the evaluation and locks it.

func (*Backend) SuspendContactRecording

func (b *Backend) SuspendContactRecording(in *RecordingInput) (*EmptyOutput, error)

SuspendContactRecording pauses an active recording.

func (*Backend) TagContact

func (b *Backend) TagContact(in *ContactRefInput) (*EmptyOutput, error)

TagContact adds tags to a contact.

func (*Backend) TagResource

func (b *Backend) TagResource(resourceARN string, add map[string]string) error

TagResource adds or replaces tags on any taggable resource.

func (*Backend) TaggedResources

func (b *Backend) TaggedResources(ctx context.Context) []TaggedEntry

TaggedResources lists the caller's tagged instances, phone numbers, instance resources and use cases.

func (*Backend) TransferContact

func (b *Backend) TransferContact(ctx context.Context, in *TransferContactInput) (*TransferContactOutput, error)

TransferContact hands an active TASK or EMAIL contact to another queue or agent through a flow.

func (*Backend) UntagContact

func (b *Backend) UntagContact(in *ContactPathInput) (*EmptyOutput, error)

UntagContact removes tags from a contact.

func (*Backend) UntagResource

func (b *Backend) UntagResource(resourceARN string, keys []string) error

UntagResource removes tags by key.

func (*Backend) UpdateAgentStatus

func (b *Backend) UpdateAgentStatus(ctx context.Context, in *UpdateAgentStatusInput) (*EmptyOutput, error)

UpdateAgentStatus changes the supplied settings of an agent status.

func (*Backend) UpdateAttachedFilesConfiguration

func (b *Backend) UpdateAttachedFilesConfiguration(
	_ context.Context,
	in *UpdateAttachedFilesConfigurationInput,
) (*AttachedFilesConfiguration, error)

UpdateAttachedFilesConfiguration changes the size limit and allowed extensions of a scope.

func (*Backend) UpdateAuthenticationProfile

func (b *Backend) UpdateAuthenticationProfile(
	ctx context.Context, in *UpdateAuthenticationProfileInput,
) (*EmptyOutput, error)

UpdateAuthenticationProfile changes the supplied settings of an authentication profile.

func (*Backend) UpdateContact

func (b *Backend) UpdateContact(in *ContactRefInput) (*EmptyOutput, error)

UpdateContact changes the supplied properties of a contact, including its queue and agent.

func (*Backend) UpdateContactAttributes

func (b *Backend) UpdateContactAttributes(in *ContactRefInput) (*EmptyOutput, error)

UpdateContactAttributes merges attributes into a contact.

func (*Backend) UpdateContactEvaluation

func (b *Backend) UpdateContactEvaluation(in *UpdateContactEvaluationInput) (*EvaluationIDsOut, error)

UpdateContactEvaluation saves answers and notes of a draft evaluation.

func (*Backend) UpdateContactFlowContent

func (b *Backend) UpdateContactFlowContent(ctx context.Context, in *UpdateContactFlowInput) (*EmptyOutput, error)

UpdateContactFlowContent replaces the content of a flow after validating it.

func (*Backend) UpdateContactFlowMetadata

func (b *Backend) UpdateContactFlowMetadata(ctx context.Context, in *UpdateContactFlowInput) (*EmptyOutput, error)

UpdateContactFlowMetadata changes name, description and state of a flow.

func (*Backend) UpdateContactFlowModuleContent

func (b *Backend) UpdateContactFlowModuleContent(
	_ context.Context,
	in *UpdateContactFlowModuleInput,
) (*EmptyOutput, error)

UpdateContactFlowModuleContent replaces the content and settings of a module.

func (*Backend) UpdateContactFlowModuleMetadata

func (b *Backend) UpdateContactFlowModuleMetadata(
	_ context.Context,
	in *UpdateContactFlowModuleInput,
) (*EmptyOutput, error)

UpdateContactFlowModuleMetadata changes name, description and state of a module.

func (*Backend) UpdateContactFlowName

func (b *Backend) UpdateContactFlowName(ctx context.Context, in *UpdateContactFlowInput) (*EmptyOutput, error)

UpdateContactFlowName renames a flow.

func (*Backend) UpdateContactRoutingData

func (b *Backend) UpdateContactRoutingData(in *UpdateContactRoutingDataInput) (*EmptyOutput, error)

UpdateContactRoutingData sets the queue priority, queue time adjustment or routing criteria of a contact.

func (*Backend) UpdateContactSchedule

func (b *Backend) UpdateContactSchedule(in *UpdateContactScheduleInput) (*EmptyOutput, error)

UpdateContactSchedule moves the start time of a scheduled task contact.

func (*Backend) UpdateContactTaskTemplate

func (b *Backend) UpdateContactTaskTemplate(in *UpdateContactTaskTemplateInput) (*EmptyOutput, error)

UpdateContactTaskTemplate attaches a template to a task contact.

func (*Backend) UpdateCrossRegionRouting

func (b *Backend) UpdateCrossRegionRouting(in *CrossRegionRoutingInput) (*EmptyOutput, error)

UpdateCrossRegionRouting isolates every Region of the instance from cross-region routing, or lifts it.

func (*Backend) UpdateDataTableAttribute

func (b *Backend) UpdateDataTableAttribute(
	ctx context.Context,
	in *UpdateDataTableAttributeInput,
) (*updateAttributeOut, error)

UpdateDataTableAttribute replaces the properties of an attribute, re-keying records when Primary changes.

func (*Backend) UpdateDataTableMetadata

func (b *Backend) UpdateDataTableMetadata(ctx context.Context, in *UpdateDataTableMetadataInput) (*lockOut, error)

UpdateDataTableMetadata changes the supplied properties of a data table.

func (*Backend) UpdateDataTablePrimaryValues

func (b *Backend) UpdateDataTablePrimaryValues(
	ctx context.Context, in *UpdateDataTablePrimaryValuesInput,
) (*lockOut, error)

UpdateDataTablePrimaryValues re-keys a record; its values move with it.

func (*Backend) UpdateEmailAddressMetadata

func (b *Backend) UpdateEmailAddressMetadata(in *UpdateEmailAddressMetadataInput) (*emailIDsOut, error)

UpdateEmailAddressMetadata changes the description or display name of an email address.

func (*Backend) UpdateEvaluationForm

func (b *Backend) UpdateEvaluationForm(ctx context.Context, in *FormRequest) (*FormOut, error)

UpdateEvaluationForm edits a draft version in place, or creates a new version of a locked one.

func (*Backend) UpdateExtractionDefinition

func (b *Backend) UpdateExtractionDefinition(
	ctx context.Context, in *UpdateExtractionDefinitionInput,
) (*EmptyOutput, error)

UpdateExtractionDefinition replaces the name, configuration and display of a definition.

func (*Backend) UpdateHoursOfOperation

func (b *Backend) UpdateHoursOfOperation(ctx context.Context, in *UpdateHoursOfOperationInput) (*EmptyOutput, error)

UpdateHoursOfOperation changes the supplied settings of a schedule.

func (*Backend) UpdateHoursOfOperationOverride

func (b *Backend) UpdateHoursOfOperationOverride(
	ctx context.Context,
	in *UpdateHoursOfOperationOverrideInput,
) (*EmptyOutput, error)

UpdateHoursOfOperationOverride changes the supplied settings of an override.

func (*Backend) UpdateInstanceAttribute

func (b *Backend) UpdateInstanceAttribute(ref, attrType, value string) error

UpdateInstanceAttribute sets one attribute; INBOUND_CALLS and OUTBOUND_CALLS also drive the instance flags.

func (*Backend) UpdateInstanceStorageConfig

func (b *Backend) UpdateInstanceStorageConfig(
	ctx context.Context, ref, resourceType, assocID string, cfg *InstanceStorageConfig,
) error

UpdateInstanceStorageConfig replaces the target of an existing storage association.

func (*Backend) UpdateMetricContent

func (b *Backend) UpdateMetricContent(ctx context.Context, in *UpdateMetricContentInput) (*EmptyOutput, error)

UpdateMetricContent changes the calculation, unit or trend of a metric.

func (*Backend) UpdateMetricMetadata

func (b *Backend) UpdateMetricMetadata(ctx context.Context, in *UpdateMetricMetadataInput) (*EmptyOutput, error)

UpdateMetricMetadata renames a metric or changes its description.

func (*Backend) UpdateModuleAlias

func (b *Backend) UpdateModuleAlias(ctx context.Context, in *AliasInput) (*EmptyOutput, error)

UpdateModuleAlias renames or repoints a flow module alias.

func (*Backend) UpdateNotificationContent

func (b *Backend) UpdateNotificationContent(
	ctx context.Context,
	in *UpdateNotificationContentInput,
) (*EmptyOutput, error)

UpdateNotificationContent replaces the content of a notification.

func (*Backend) UpdateParticipantRoleConfig

func (b *Backend) UpdateParticipantRoleConfig(in *UpdateParticipantRoleConfigInput) (*EmptyOutput, error)

UpdateParticipantRoleConfig sets or unsets the idle and auto-disconnect timers of an active chat contact.

func (*Backend) UpdatePhoneNumber

func (b *Backend) UpdatePhoneNumber(in *UpdatePhoneNumberInput) (*phoneOut, error)

UpdatePhoneNumber moves a claimed number to another instance, dropping its flow association.

func (*Backend) UpdatePhoneNumberMetadata

func (b *Backend) UpdatePhoneNumberMetadata(in *UpdatePhoneNumberInput) (*EmptyOutput, error)

UpdatePhoneNumberMetadata changes the description of a claimed number.

func (*Backend) UpdatePredefinedAttribute

func (b *Backend) UpdatePredefinedAttribute(
	ctx context.Context,
	in *UpdatePredefinedAttributeInput,
) (*EmptyOutput, error)

UpdatePredefinedAttribute changes the supplied settings of a predefined attribute.

func (*Backend) UpdatePrompt

func (b *Backend) UpdatePrompt(ctx context.Context, in *UpdatePromptInput) (*promptOut, error)

UpdatePrompt changes the supplied settings of a prompt.

func (*Backend) UpdateQueueHoursOfOperation

func (b *Backend) UpdateQueueHoursOfOperation(ctx context.Context, in *UpdateQueueInput) (*EmptyOutput, error)

UpdateQueueHoursOfOperation points a queue at another schedule.

func (*Backend) UpdateQueueMaxContacts

func (b *Backend) UpdateQueueMaxContacts(ctx context.Context, in *UpdateQueueInput) (*EmptyOutput, error)

UpdateQueueMaxContacts sets the queue capacity; nil removes the cap.

func (*Backend) UpdateQueueName

func (b *Backend) UpdateQueueName(ctx context.Context, in *UpdateQueueInput) (*EmptyOutput, error)

UpdateQueueName renames a queue.

func (*Backend) UpdateQueueOutboundCallerConfig

func (b *Backend) UpdateQueueOutboundCallerConfig(ctx context.Context, in *UpdateQueueInput) (*EmptyOutput, error)

UpdateQueueOutboundCallerConfig sets the caller ID of outbound calls from a queue.

func (*Backend) UpdateQueueOutboundEmailConfig

func (b *Backend) UpdateQueueOutboundEmailConfig(ctx context.Context, in *UpdateQueueInput) (*EmptyOutput, error)

UpdateQueueOutboundEmailConfig sets the from address of outbound email from a queue.

func (*Backend) UpdateQueueStatus

func (b *Backend) UpdateQueueStatus(ctx context.Context, in *UpdateQueueInput) (*EmptyOutput, error)

UpdateQueueStatus enables or disables a queue.

func (*Backend) UpdateQuickConnectConfig

func (b *Backend) UpdateQuickConnectConfig(ctx context.Context, in *UpdateQuickConnectInput) (*EmptyOutput, error)

UpdateQuickConnectConfig replaces the destination of a quick connect.

func (*Backend) UpdateQuickConnectName

func (b *Backend) UpdateQuickConnectName(ctx context.Context, in *UpdateQuickConnectInput) (*EmptyOutput, error)

UpdateQuickConnectName renames a quick connect.

func (*Backend) UpdateRoutingProfileAgentAvailabilityTimer

func (b *Backend) UpdateRoutingProfileAgentAvailabilityTimer(
	ctx context.Context,
	in *UpdateRoutingProfileInput,
) (*EmptyOutput, error)

UpdateRoutingProfileAgentAvailabilityTimer sets how agent availability is measured.

func (*Backend) UpdateRoutingProfileConcurrency

func (b *Backend) UpdateRoutingProfileConcurrency(
	ctx context.Context,
	in *UpdateRoutingProfileInput,
) (*EmptyOutput, error)

UpdateRoutingProfileConcurrency replaces the per-channel concurrency.

func (*Backend) UpdateRoutingProfileDefaultOutboundQueue

func (b *Backend) UpdateRoutingProfileDefaultOutboundQueue(
	ctx context.Context,
	in *UpdateRoutingProfileInput,
) (*EmptyOutput, error)

UpdateRoutingProfileDefaultOutboundQueue changes the default outbound queue.

func (*Backend) UpdateRoutingProfileName

func (b *Backend) UpdateRoutingProfileName(ctx context.Context, in *UpdateRoutingProfileInput) (*EmptyOutput, error)

UpdateRoutingProfileName renames a routing profile.

func (*Backend) UpdateRoutingProfileQueues

func (b *Backend) UpdateRoutingProfileQueues(ctx context.Context, in *UpdateRoutingProfileInput) (*EmptyOutput, error)

UpdateRoutingProfileQueues replaces the priority and delay of existing queue configs.

func (*Backend) UpdateRule

func (b *Backend) UpdateRule(ctx context.Context, in *UpdateRuleInput) (*EmptyOutput, error)

UpdateRule replaces the definition of a rule.

func (*Backend) UpdateSecurityProfile

func (b *Backend) UpdateSecurityProfile(ctx context.Context, in *UpdateSecurityProfileInput) (*EmptyOutput, error)

UpdateSecurityProfile changes the supplied settings of a security profile.

func (*Backend) UpdateTaskTemplate

func (b *Backend) UpdateTaskTemplate(in *UpdateTaskTemplateInput) (*TaskTemplate, error)

UpdateTaskTemplate replaces the supplied settings of a task template.

func (*Backend) UpdateTestCase

func (b *Backend) UpdateTestCase(ctx context.Context, in *UpdateTestCaseInput) (*EmptyOutput, error)

UpdateTestCase changes the saved or published version of a test case.

func (*Backend) UpdateTrafficDistribution

func (b *Backend) UpdateTrafficDistribution(in *TDGRequest) (*EmptyOutput, error)

UpdateTrafficDistribution replaces the supplied configurations of an active group.

func (*Backend) UpdateUserConfig

func (b *Backend) UpdateUserConfig(ctx context.Context, in *UpdateUserConfigInput) (*EmptyOutput, error)

UpdateUserConfig replaces the supplied per-channel settings of a user.

func (*Backend) UpdateUserHierarchy

func (b *Backend) UpdateUserHierarchy(ctx context.Context, in *UpdateUserInput) (*EmptyOutput, error)

UpdateUserHierarchy sets or clears a user's hierarchy group.

func (*Backend) UpdateUserHierarchyGroupName

func (b *Backend) UpdateUserHierarchyGroupName(
	ctx context.Context,
	in *UpdateHierarchyGroupNameInput,
) (*EmptyOutput, error)

UpdateUserHierarchyGroupName renames a group.

func (*Backend) UpdateUserHierarchyStructure

func (b *Backend) UpdateUserHierarchyStructure(
	ctx context.Context,
	in *UpdateHierarchyStructureInput,
) (*EmptyOutput, error)

UpdateUserHierarchyStructure defines or renames hierarchy levels; levels must be defined top-down.

func (*Backend) UpdateUserIdentityInfo

func (b *Backend) UpdateUserIdentityInfo(ctx context.Context, in *UpdateUserInput) (*EmptyOutput, error)

UpdateUserIdentityInfo replaces a user's identity info.

func (*Backend) UpdateUserNotificationStatus

func (b *Backend) UpdateUserNotificationStatus(in *UpdateUserNotificationStatusInput) (*EmptyOutput, error)

UpdateUserNotificationStatus marks a notification READ, UNREAD or HIDDEN for one recipient.

func (*Backend) UpdateUserPhoneConfig

func (b *Backend) UpdateUserPhoneConfig(ctx context.Context, in *UpdateUserInput) (*EmptyOutput, error)

UpdateUserPhoneConfig replaces a user's phone config.

func (*Backend) UpdateUserProficiencies

func (b *Backend) UpdateUserProficiencies(ctx context.Context, in *ProficienciesInput) (*EmptyOutput, error)

UpdateUserProficiencies changes the level of proficiencies a user already has.

func (*Backend) UpdateUserRoutingProfile

func (b *Backend) UpdateUserRoutingProfile(ctx context.Context, in *UpdateUserInput) (*EmptyOutput, error)

UpdateUserRoutingProfile moves a user to another routing profile.

func (*Backend) UpdateUserSecurityProfiles

func (b *Backend) UpdateUserSecurityProfiles(ctx context.Context, in *UpdateUserInput) (*EmptyOutput, error)

UpdateUserSecurityProfiles replaces a user's security profiles.

func (*Backend) UpdateViewContent

func (b *Backend) UpdateViewContent(in *ViewRequest) (*View, error)

UpdateViewContent replaces the content of a view; PUBLISHED also publishes a new version.

func (*Backend) UpdateViewMetadata

func (b *Backend) UpdateViewMetadata(in *ViewRequest) (*EmptyOutput, error)

UpdateViewMetadata renames a view or changes its description.

func (*Backend) UpdateWorkspaceMetadata

func (b *Backend) UpdateWorkspaceMetadata(ctx context.Context, in *UpdateWorkspaceMetadataInput) (*EmptyOutput, error)

UpdateWorkspaceMetadata changes the name, description or title of a workspace.

func (*Backend) UpdateWorkspacePage

func (b *Backend) UpdateWorkspacePage(ctx context.Context, in *UpdateWorkspacePageInput) (*EmptyOutput, error)

UpdateWorkspacePage changes the view, input, slug or name of a page.

func (*Backend) UpdateWorkspaceTheme

func (b *Backend) UpdateWorkspaceTheme(ctx context.Context, in *UpdateWorkspaceThemeInput) (*EmptyOutput, error)

UpdateWorkspaceTheme replaces the theme of a workspace.

func (*Backend) UpdateWorkspaceVisibility

func (b *Backend) UpdateWorkspaceVisibility(
	ctx context.Context,
	in *UpdateWorkspaceVisibilityInput,
) (*EmptyOutput, error)

UpdateWorkspaceVisibility sets who can see a workspace.

func (*Backend) WorkspaceAssociations

func (b *Backend) WorkspaceAssociations(inst, id string) ([]string, error)

WorkspaceAssociations returns the ARNs of the users and routing profiles assigned to a workspace.

type BatchAnalyticsDataSetInput

type BatchAnalyticsDataSetInput struct {
	TargetAccountID string `json:"TargetAccountId"`

	DataSetIDs []string `json:"DataSetIds"`
	// contains filtered or unexported fields
}

BatchAnalyticsDataSetInput is the BatchAssociateAnalyticsDataSet and BatchDisassociateAnalyticsDataSet request.

type BatchAssociateOut

type BatchAssociateOut struct {
	Created []AnalyticsDataAssociationResult `json:"Created"`
	Errors  []ErrorResult                    `json:"Errors"`
}

BatchAssociateOut is the BatchAssociateAnalyticsDataSet response.

type BatchAssociationFailure

type BatchAssociationFailure struct {
	ErrorCode    string `json:"ErrorCode"`
	ErrorMessage string `json:"ErrorMessage"`
	ResourceArn  string `json:"ResourceArn"`
}

BatchAssociationFailure is one resource a batch association rejected.

type BatchAssociationResult

type BatchAssociationResult struct {
	SuccessfulList []BatchAssociationSuccess `json:"SuccessfulList"`
	FailedList     []BatchAssociationFailure `json:"FailedList"`
}

BatchAssociationResult is the body of (Dis)AssociateWorkspace.

type BatchAssociationSuccess

type BatchAssociationSuccess struct {
	ResourceArn string `json:"ResourceArn"`
}

BatchAssociationSuccess is one resource a batch association applied.

type BatchDisassociateOut

type BatchDisassociateOut struct {
	Deleted []string      `json:"Deleted"`
	Errors  []ErrorResult `json:"Errors"`
}

BatchDisassociateOut is the BatchDisassociateAnalyticsDataSet response.

type BatchGetAttachedFileMetadataInput

type BatchGetAttachedFileMetadataInput struct {
	AssociatedResourceArn string `json:"-"       query:"associatedResourceArn"`

	FileIDs []string `json:"FileIds"`
	// contains filtered or unexported fields
}

BatchGetAttachedFileMetadataInput is the BatchGetAttachedFileMetadata request.

type BatchPutContactInput

type BatchPutContactInput struct {
	InstanceID             string `json:"-" path:"InstanceId"`
	ClientToken            string
	ContactDataRequestList []ContactDataRequest
}

BatchPutContactInput is the BatchPutContact request.

type BatchPutContactOut

type BatchPutContactOut struct {
	FailedRequestList     []FailedRequest     `json:"FailedRequestList"`
	SuccessfulRequestList []SuccessfulRequest `json:"SuccessfulRequestList"`
}

BatchPutContactOut is the BatchPutContact response.

type CalculationComponent

type CalculationComponent struct {
	Alias         string         `json:"Alias"`
	MetricID      string         `json:"MetricId,omitempty"`
	MetricName    string         `json:"MetricName,omitempty"`
	MetricFilters jsontext.Value `json:"MetricFilters,omitempty"`
}

CalculationComponent is one metric a custom calculation refers to by alias.

type Campaign

type Campaign struct {
	CampaignID string `json:"CampaignId,omitempty"`
}

Campaign links a contact to an outbound campaign.

type ChatContactMetrics

type ChatContactMetrics struct {
	ConversationCloseTimeInMillis *int64 `json:"ConversationCloseTimeInMillis,omitempty"`
	MultiParty                    *bool  `json:"MultiParty,omitempty"`
}

ChatContactMetrics holds the contact-level chat metrics.

type ChatMessage

type ChatMessage struct {
	ContentType string `json:"ContentType"`
	Content     string `json:"Content"`
}

ChatMessage is the first message of a chat.

type ChatMetrics

type ChatMetrics struct {
	ChatContactMetrics *ChatContactMetrics `json:"ChatContactMetrics,omitempty"`
}

ChatMetrics holds the metrics of a chat contact.

type ChildHoursOut

type ChildHoursOut struct {
	LastModifiedTime                  *awstime.EpochTime `json:"LastModifiedTime,omitempty"`
	NextToken                         string             `json:"NextToken,omitempty"`
	LastModifiedRegion                string             `json:"LastModifiedRegion,omitempty"`
	ChildHoursOfOperationsSummaryList []HoursIdentifier  `json:"ChildHoursOfOperationsSummaryList"`
}

ChildHoursOut is the ListChildHoursOfOperations response.

type ClaimPhoneNumberInput

type ClaimPhoneNumberInput struct {
	Tags                   map[string]string
	PhoneNumber            string
	TargetArn              string
	InstanceID             string `json:"InstanceId"`
	PhoneNumberDescription string
	ClientToken            string
}

ClaimPhoneNumberInput is the ClaimPhoneNumber request.

type ClaimedPhoneNumberSummary

type ClaimedPhoneNumberSummary struct {
	PhoneNumberStatus      *PhoneNumberStatus `json:"PhoneNumberStatus,omitempty"`
	Tags                   map[string]string  `json:"Tags,omitempty"`
	InstanceID             string             `json:"InstanceId,omitempty"`
	PhoneNumber            string             `json:"PhoneNumber"`
	PhoneNumberArn         string             `json:"PhoneNumberArn"`
	PhoneNumberCountryCode string             `json:"PhoneNumberCountryCode"`
	PhoneNumberDescription string             `json:"PhoneNumberDescription,omitempty"`
	PhoneNumberID          string             `json:"PhoneNumberId"`
	PhoneNumberType        string             `json:"PhoneNumberType"`
	TargetArn              string             `json:"TargetArn,omitempty"`
}

ClaimedPhoneNumberSummary is a claimed phone number.

type Contact

type Contact struct {
	AdditionalEmailRecipients   *AdditionalEmailRecipients `json:"AdditionalEmailRecipients,omitempty"`
	ScheduledTimestamp          *awstime.EpochTime         `json:"ScheduledTimestamp,omitempty"`
	LastResumedTimestamp        *awstime.EpochTime         `json:"LastResumedTimestamp,omitempty"`
	ChatMetrics                 *ChatMetrics               `json:"ChatMetrics,omitempty"`
	Tags                        map[string]string          `json:"Tags,omitempty"`
	SystemEndpoint              *EndpointInfo              `json:"SystemEndpoint,omitempty"`
	LastUpdateTimestamp         *awstime.EpochTime         `json:"LastUpdateTimestamp,omitempty"`
	InitiationTimestamp         *awstime.EpochTime         `json:"InitiationTimestamp,omitempty"`
	Attributes                  map[string]string          `json:"Attributes,omitempty"`
	TaskTemplateInfo            *TaskTemplateInfo          `json:"TaskTemplateInfo,omitempty"`
	DisconnectTimestamp         *awstime.EpochTime         `json:"DisconnectTimestamp,omitempty"`
	RingStartTimestamp          *awstime.EpochTime         `json:"RingStartTimestamp,omitempty"`
	QueueInfo                   *ContactQueueInfo          `json:"QueueInfo,omitempty"`
	AgentInfo                   *ContactAgentInfo          `json:"AgentInfo,omitempty"`
	LastPausedTimestamp         *awstime.EpochTime         `json:"LastPausedTimestamp,omitempty"`
	CustomerEndpoint            *EndpointInfo              `json:"CustomerEndpoint,omitempty"`
	QueuePriority               *int64                     `json:"QueuePriority,omitempty"`
	QueueTimeAdjustmentSeconds  *int32                     `json:"QueueTimeAdjustmentSeconds,omitempty"`
	RoutingCriteria             *RoutingCriteria           `json:"RoutingCriteria,omitempty"`
	Campaign                    *Campaign                  `json:"Campaign,omitempty"`
	ContactEvaluations          map[string]ContactEvalInfo `json:"ContactEvaluations,omitempty"`
	ID                          string                     `json:"Id"`
	RelatedContactID            string                     `json:"RelatedContactId,omitempty"`
	Arn                         string                     `json:"Arn"`
	Channel                     string                     `json:"Channel"`
	PreviousContactID           string                     `json:"PreviousContactId,omitempty"`
	CustomerID                  string                     `json:"CustomerId,omitempty"`
	InitialContactID            string                     `json:"InitialContactId"`
	Name                        string                     `json:"Name,omitempty"`
	InitiationMethod            string                     `json:"InitiationMethod"`
	Description                 string                     `json:"Description,omitempty"`
	DisconnectReason            string                     `json:"DisconnectReason,omitempty"`
	ContactAssociationID        string                     `json:"ContactAssociationId,omitempty"`
	SegmentAttributes           jsontext.Value             `json:"SegmentAttributes,omitempty"`
	OutboundStrategy            jsontext.Value             `json:"OutboundStrategy,omitempty"`
	Recordings                  []RecordingInfo            `json:"Recordings,omitempty"`
	TotalPauseDurationInSeconds int32                      `json:"TotalPauseDurationInSeconds,omitempty"`
	TotalPauseCount             int32                      `json:"TotalPauseCount,omitempty"`
}

Contact is a customer interaction.

type ContactAgentInfo

type ContactAgentInfo struct {
	ConnectedToAgentTimestamp *awstime.EpochTime `json:"ConnectedToAgentTimestamp,omitempty"`
	ID                        string             `json:"Id,omitempty"`
}

ContactAgentInfo records the agent a contact reached.

type ContactConfiguration

type ContactConfiguration struct {
	ContactID         string `json:"ContactId"`
	ParticipantRole   string `json:"ParticipantRole,omitempty"`
	IncludeRawMessage bool   `json:"IncludeRawMessage,omitempty"`
}

ContactConfiguration names the chat contact a push registration belongs to.

type ContactDataRequest

type ContactDataRequest struct {
	Campaign          *Campaign
	CustomerEndpoint  *EndpointInfo
	SystemEndpoint    *EndpointInfo
	Attributes        map[string]string
	QueueID           string `json:"QueueId"`
	RequestIdentifier string
	OutboundStrategy  jsontext.Value
}

ContactDataRequest is one contact of a BatchPutContact request.

type ContactEvalInfo

type ContactEvalInfo struct {
	StartTimestamp *awstime.EpochTime `json:"StartTimestamp,omitempty"`
	EndTimestamp   *awstime.EpochTime `json:"EndTimestamp,omitempty"`
	EvaluationArn  string             `json:"EvaluationArn"`
	FormID         string             `json:"FormId"`
	Status         string             `json:"Status"`
}

ContactEvalInfo is the Contact.ContactEvaluations entry of one evaluation form.

type ContactFlow

type ContactFlow struct {
	Stamp
	Version            *int64            `json:"Version,omitempty"`
	Tags               map[string]string `json:"Tags,omitempty"`
	Arn                string            `json:"Arn"`
	Content            string            `json:"Content"`
	Description        string            `json:"Description,omitempty"`
	FlowContentSha256  string            `json:"FlowContentSha256,omitempty"`
	ID                 string            `json:"Id"`
	Name               string            `json:"Name"`
	State              string            `json:"State"`
	Status             string            `json:"Status"`
	Type               string            `json:"Type"`
	VersionDescription string            `json:"VersionDescription,omitempty"`
}

ContactFlow is a contact flow.

type ContactFlowModule

type ContactFlowModule struct {
	Version                         *int64            `json:"Version,omitempty"`
	Tags                            map[string]string `json:"Tags,omitempty"`
	FlowModuleContentSha256         string            `json:"FlowModuleContentSha256,omitempty"`
	Arn                             string            `json:"Arn"`
	Content                         string            `json:"Content"`
	Description                     string            `json:"Description,omitempty"`
	ID                              string            `json:"Id"`
	Name                            string            `json:"Name"`
	Settings                        string            `json:"Settings,omitempty"`
	State                           string            `json:"State"`
	Status                          string            `json:"Status"`
	VersionDescription              string            `json:"VersionDescription,omitempty"`
	ExternalInvocationConfiguration jsontext.Value    `json:"ExternalInvocationConfiguration,omitempty"`
}

ContactFlowModule is a reusable flow fragment.

type ContactFlowModuleSummary

type ContactFlowModuleSummary struct {
	Arn   string `json:"Arn"`
	ID    string `json:"Id"`
	Name  string `json:"Name"`
	State string `json:"State"`
}

ContactFlowModuleSummary is the list shape of a ContactFlowModule.

type ContactFlowSummary

type ContactFlowSummary struct {
	Arn               string `json:"Arn"`
	ContactFlowState  string `json:"ContactFlowState"`
	ContactFlowStatus string `json:"ContactFlowStatus"`
	ContactFlowType   string `json:"ContactFlowType"`
	ID                string `json:"Id"`
	Name              string `json:"Name"`
}

ContactFlowSummary is the list shape of a ContactFlow.

type ContactIDOut

type ContactIDOut struct {
	ContactID string `json:"ContactId"`
}

ContactIDOut is a response carrying a contact ID and ARN.

type ContactMetricInfo

type ContactMetricInfo struct {
	Name string `json:"Name"`
}

ContactMetricInfo names one contact-level metric.

type ContactMetricResult

type ContactMetricResult struct {
	Name  string             `json:"Name"`
	Value ContactMetricValue `json:"Value"`
}

ContactMetricResult is one computed contact metric.

type ContactMetricValue

type ContactMetricValue struct {
	Number float64 `json:"Number"`
}

ContactMetricValue is the union holding a numeric metric value.

type ContactMetricsOut

type ContactMetricsOut struct {
	Arn           string                `json:"Arn"`
	ID            string                `json:"Id"`
	MetricResults []ContactMetricResult `json:"MetricResults"`
}

ContactMetricsOut is the contact metrics response.

type ContactPathInput

type ContactPathInput struct {
	ContactID string `json:"-" path:"ContactId"`

	TagKeys []string `json:"-"                  query:"TagKeys"`
	// contains filtered or unexported fields
}

ContactPathInput addresses one contact by path.

type ContactQueueInfo

type ContactQueueInfo struct {
	EnqueueTimestamp *awstime.EpochTime `json:"EnqueueTimestamp,omitempty"`
	ID               string             `json:"Id,omitempty"`
}

ContactQueueInfo records when a contact entered a queue.

type ContactRefInput

type ContactRefInput struct {
	UserInfo *struct {
		UserID string `json:"UserId"`
	}
	Description      *string
	Tags             map[string]string
	CustomerEndpoint *EndpointInfo
	SystemEndpoint   *EndpointInfo
	QueueInfo        *struct {
		ID string `json:"Id"`
	}
	DisconnectReason *struct {
		Code string `json:"Code"`
	}
	Name              *string
	Attributes        map[string]string
	ContactID         string `json:"ContactId"        path:"ContactId"`
	InstanceID        string `json:"InstanceId"       path:"InstanceId"`
	InitialContactID  string `json:"InitialContactId"`
	SegmentAttributes jsontext.Value
	References        jsontext.Value
}

ContactRefInput addresses one contact in body-addressed contact operations.

type ContactSearchCriteria

type ContactSearchCriteria struct {
	SearchableContactAttributes *SearchableAttributes `json:"SearchableContactAttributes"`
	Name                        *NameCriteria         `json:"Name"`
	AgentIDs                    []string              `json:"AgentIds"`
	Channels                    []string              `json:"Channels"`
	InitiationMethods           []string              `json:"InitiationMethods"`
	QueueIDs                    []string              `json:"QueueIds"`
}

ContactSearchCriteria is the supported subset of SearchCriteria; other members are rejected.

type ContactSearchSummary

type ContactSearchSummary struct {
	InitiationTimestamp *awstime.EpochTime `json:"InitiationTimestamp,omitempty"`
	DisconnectTimestamp *awstime.EpochTime `json:"DisconnectTimestamp,omitempty"`
	ScheduledTimestamp  *awstime.EpochTime `json:"ScheduledTimestamp,omitempty"`
	QueueInfo           *ContactQueueInfo  `json:"QueueInfo,omitempty"`
	AgentInfo           *ContactAgentInfo  `json:"AgentInfo,omitempty"`
	Tags                map[string]string  `json:"Tags,omitempty"`
	ID                  string             `json:"Id"`
	Arn                 string             `json:"Arn"`
	Channel             string             `json:"Channel"`
	InitialContactID    string             `json:"InitialContactId"`
	InitiationMethod    string             `json:"InitiationMethod"`
	Name                string             `json:"Name,omitempty"`
	PreviousContactID   string             `json:"PreviousContactId,omitempty"`
	SegmentAttributes   jsontext.Value     `json:"SegmentAttributes,omitempty"`
}

ContactSearchSummary is the SearchContacts list shape of a contact.

type ConversationalAnalyticsJobOut

type ConversationalAnalyticsJobOut struct {
	ContactID  string `json:"ContactId"`
	InstanceID string `json:"InstanceId"`
}

ConversationalAnalyticsJobOut is the StartContactConversationalAnalyticsJob response.

type CreateAgentStatusInput

type CreateAgentStatusInput struct {
	DisplayOrder *int32
	Tags         map[string]string
	Name         string
	Description  string
	State        string
	// contains filtered or unexported fields
}

CreateAgentStatusInput is the CreateAgentStatus request.

type CreateAttachedFileInput

type CreateAttachedFileInput struct {
	Tags                  map[string]string
	ClientToken           string
	FileSourceURI         string `json:"FileSourceUri"`
	FileUseCaseType       string
	AssociatedResourceArn string `json:"-"             query:"associatedResourceArn"`
	// contains filtered or unexported fields
}

CreateAttachedFileInput is the CreateAttachedFile request.

type CreateAuthCodeInput

type CreateAuthCodeInput struct {
	Scope                     *AuthScope
	MaxSessionDurationMinutes *int32

	SessionInactivityDurationMinutes int32
	// contains filtered or unexported fields
}

CreateAuthCodeInput is the CreateAuthCode request.

type CreateContactFlowInput

type CreateContactFlowInput struct {
	Tags        map[string]string
	Content     string
	Name        string
	Description string
	Type        string
	Status      string
	// contains filtered or unexported fields
}

CreateContactFlowInput is the CreateContactFlow request.

type CreateContactFlowModuleInput

type CreateContactFlowModuleInput struct {
	Tags        map[string]string
	Content     string
	Name        string
	Description string
	Settings    string
	ClientToken string

	ExternalInvocationConfiguration jsontext.Value
	// contains filtered or unexported fields
}

CreateContactFlowModuleInput is the CreateContactFlowModule request.

type CreateContactInput

type CreateContactInput struct {
	ExpiryDurationInMinutes *int32
	UserInfo                *UserInfoIn
	Attributes              map[string]string
	ClientToken             string
	Channel                 string
	InitiationMethod        string
	InitiateAs              string
	InstanceID              string `json:"InstanceId"`
	Description             string
	Name                    string
	PreviousContactID       string `json:"PreviousContactId"`
	RelatedContactID        string `json:"RelatedContactId"`
	SegmentAttributes       jsontext.Value
	References              jsontext.Value
}

CreateContactInput is the CreateContact request.

type CreateContactOut

type CreateContactOut struct {
	ContactArn string `json:"ContactArn"`
	ContactID  string `json:"ContactId"`
}

CreateContactOut is the CreateContact response.

type CreateDataTableAttributeInput

type CreateDataTableAttributeInput struct {
	Validation  *DataTableValidation
	Name        string
	ValueType   string
	Description string

	Primary bool
	// contains filtered or unexported fields
}

CreateDataTableAttributeInput is the CreateDataTableAttribute request.

type CreateDataTableInput

type CreateDataTableInput struct {
	Tags           map[string]string
	Name           string
	TimeZone       string
	Status         string
	ValueLockLevel string
	Description    string
	// contains filtered or unexported fields
}

CreateDataTableInput is the CreateDataTable request.

type CreateEmailAddressInput

type CreateEmailAddressInput struct {
	Tags         map[string]string
	EmailAddress string
	Description  string
	DisplayName  string
	ClientToken  string
	// contains filtered or unexported fields
}

CreateEmailAddressInput is the CreateEmailAddress request.

type CreateExtractionDefinitionInput

type CreateExtractionDefinitionInput struct {
	ExtractionConfiguration *ExtractionConfiguration
	Display                 *ExtractionDisplay
	Tags                    map[string]string
	ClientToken             string
	Name                    string
	// contains filtered or unexported fields
}

CreateExtractionDefinitionInput is the CreateExtractionDefinition request.

type CreateHoursOfOperationInput

type CreateHoursOfOperationInput struct {
	Tags        map[string]string
	Name        string
	Description string
	TimeZone    string

	Config                        []HoursOfOperationConfig
	ParentHoursOfOperationConfigs []ParentHoursConfig
	// contains filtered or unexported fields
}

CreateHoursOfOperationInput is the CreateHoursOfOperation request.

type CreateHoursOfOperationOverrideInput

type CreateHoursOfOperationOverrideInput struct {
	HoursID string `json:"-" path:"HoursOfOperationId"`
	// contains filtered or unexported fields
}

CreateHoursOfOperationOverrideInput is the CreateHoursOfOperationOverride request.

type CreateInstanceInput

type CreateInstanceInput struct {
	InboundCallsEnabled    *bool
	OutboundCallsEnabled   *bool
	Tags                   map[string]string
	IdentityManagementType string
	InstanceAlias          string
	DirectoryID            string `json:"DirectoryId"`
	ClientToken            string
}

CreateInstanceInput is the CreateInstance request body.

type CreateIntegrationAssociationInput

type CreateIntegrationAssociationInput struct {
	Tags                  map[string]string
	IntegrationArn        string
	IntegrationType       string
	SourceApplicationName string
	SourceApplicationURL  string `json:"SourceApplicationUrl"`
	SourceType            string
	// contains filtered or unexported fields
}

CreateIntegrationAssociationInput is the CreateIntegrationAssociation request.

type CreateMetricInput

type CreateMetricInput struct {
	MetricCalculation      *MetricCalculation
	Tags                   map[string]string
	ClientToken            string
	Description            string
	Name                   string
	PositiveTrendIndicator string
	Status                 string
	Unit                   string
	// contains filtered or unexported fields
}

CreateMetricInput is the CreateMetric request.

type CreateNotificationInput

type CreateNotificationInput struct {
	ExpiresAt                *awstime.EpochTime
	Content                  map[string]string
	Tags                     map[string]string
	ClientToken              string
	Priority                 string
	PredefinedNotificationID string `json:"PredefinedNotificationId"`

	Recipients []string
	// contains filtered or unexported fields
}

CreateNotificationInput is the CreateNotification request.

type CreateParticipantInput

type CreateParticipantInput struct {
	ParticipantDetails *ParticipantDetailsToAdd
	ContactID          string `json:"ContactId"`
	InstanceID         string `json:"InstanceId"`
	ClientToken        string
}

CreateParticipantInput is the CreateParticipant request.

type CreateParticipantOut

type CreateParticipantOut struct {
	ParticipantCredentials participantCredentials `json:"ParticipantCredentials"`
	ParticipantID          string                 `json:"ParticipantId"`
}

CreateParticipantOut is the CreateParticipant response.

type CreatePersistentContactAssociationInput

type CreatePersistentContactAssociationInput struct {
	InitialContactID string `json:"-"               path:"InitialContactId"`
	InstanceID       string `json:"-"               path:"InstanceId"`
	RehydrationType  string
	SourceContactID  string `json:"SourceContactId"`
	ClientToken      string
}

CreatePersistentContactAssociationInput is the CreatePersistentContactAssociation request.

type CreatePredefinedAttributeInput

type CreatePredefinedAttributeInput struct {
	Name string
	// contains filtered or unexported fields
}

CreatePredefinedAttributeInput is the CreatePredefinedAttribute request.

type CreatePromptInput

type CreatePromptInput struct {
	Tags        map[string]string
	Name        string
	Description string
	S3URI       string `json:"S3Uri"`
	// contains filtered or unexported fields
}

CreatePromptInput is the CreatePrompt request.

type CreatePushNotificationRegistrationInput

type CreatePushNotificationRegistrationInput struct {
	ContactConfiguration *ContactConfiguration
	ClientToken          string
	PinpointAppArn       string
	DeviceToken          string
	DeviceType           string
	// contains filtered or unexported fields
}

CreatePushNotificationRegistrationInput is the CreatePushNotificationRegistration request.

type CreateQueueInput

type CreateQueueInput struct {
	MaxContacts          *int32
	OutboundCallerConfig *OutboundCallerConfig
	OutboundEmailConfig  *OutboundEmailConfig
	Tags                 map[string]string
	Name                 string
	Description          string
	HoursOfOperationID   string `json:"HoursOfOperationId"`

	QuickConnectIDs []string `json:"QuickConnectIds"`
	// contains filtered or unexported fields
}

CreateQueueInput is the CreateQueue request.

type CreateQuickConnectInput

type CreateQuickConnectInput struct {
	Tags        map[string]string
	Name        string
	Description string

	QuickConnectConfig QuickConnectConfig
	// contains filtered or unexported fields
}

CreateQuickConnectInput is the CreateQuickConnect request.

type CreateRoutingProfileInput

type CreateRoutingProfileInput struct {
	Tags                   map[string]string
	Name                   string
	Description            string
	DefaultOutboundQueueID string `json:"DefaultOutboundQueueId"`
	AgentAvailabilityTimer string

	MediaConcurrencies     []MediaConcurrency
	QueueConfigs           []RoutingProfileQueueConfig
	ManualAssignmentQueues []RoutingProfileQueueConfig `json:"ManualAssignmentQueueConfigs"`
	// contains filtered or unexported fields
}

CreateRoutingProfileInput is the CreateRoutingProfile request.

type CreateRuleInput

type CreateRuleInput struct {
	Tags               map[string]string
	TriggerEventSource *RuleTriggerEventSource
	Name               string
	Function           string
	PublishStatus      string
	ClientToken        string

	PreEvaluationFilters jsontext.Value
	Actions              []jsontext.Value
	// contains filtered or unexported fields
}

CreateRuleInput is the CreateRule request.

type CreateSecurityProfileInput

type CreateSecurityProfileInput struct {
	AllowedAccessControlTags map[string]string
	Tags                     map[string]string
	SecurityProfileName      string

	AllowedAccessControlHierarchyGroupID string `json:"AllowedAccessControlHierarchyGroupId"`
	Description                          string
	AllowedAIAgents                      jsontext.Value
	Applications                         jsontext.Value
	AllowedFlowModules                   jsontext.Value
	HierarchyRestrictedResources         []string
	Permissions                          []string
	TagRestrictedResources               []string
	GranularAccessControlConfiguration   jsontext.Value
	// contains filtered or unexported fields
}

CreateSecurityProfileInput is the CreateSecurityProfile request.

type CreateTaskTemplateInput

type CreateTaskTemplateInput struct {
	ClientToken string
	// contains filtered or unexported fields
}

CreateTaskTemplateInput is the CreateTaskTemplate request.

type CreateTestCaseInput

type CreateTestCaseInput struct {
	EntryPoint         *TestCaseEntryPoint
	Tags               map[string]string
	Name               string
	Description        string
	Content            string
	InitializationData string
	Status             string
	// contains filtered or unexported fields
}

CreateTestCaseInput is the CreateTestCase request.

type CreateUseCaseInput

type CreateUseCaseInput struct {
	Tags          map[string]string
	UseCaseType   string
	AssociationID string `json:"-" path:"IntegrationAssociationId"`
	// contains filtered or unexported fields
}

CreateUseCaseInput is the CreateUseCase request.

type CreateUserHierarchyGroupInput

type CreateUserHierarchyGroupInput struct {
	Tags          map[string]string
	Name          string
	ParentGroupID string `json:"ParentGroupId"`
	// contains filtered or unexported fields
}

CreateUserHierarchyGroupInput is the CreateUserHierarchyGroup request.

type CreateUserInput

type CreateUserInput struct {
	PhoneConfig  *UserPhoneConfig
	Tags         map[string]string
	IdentityInfo *UserIdentityInfo
	Password     string

	RoutingProfileID            string `json:"RoutingProfileId"`
	HierarchyGroupID            string `json:"HierarchyGroupId"`
	DirectoryUserID             string `json:"DirectoryUserId"`
	Username                    string
	AfterContactWorkConfigs     jsontext.Value
	VoiceEnhancementConfigs     jsontext.Value
	PhoneNumberConfigs          jsontext.Value
	PersistentConnectionConfigs jsontext.Value
	SecurityProfileIDs          []string `json:"SecurityProfileIds"`
	AutoAcceptConfigs           jsontext.Value
	// contains filtered or unexported fields
}

CreateUserInput is the CreateUser request.

type CreateViewInput

type CreateViewInput struct {
	Tags        map[string]string
	Content     *ViewInputContent
	Name        string
	Status      string
	Description string
	ClientToken string
	// contains filtered or unexported fields
}

CreateViewInput is the CreateView request.

type CreateVocabularyInput

type CreateVocabularyInput struct {
	Tags           map[string]string
	ClientToken    string
	Content        string
	LanguageCode   string
	VocabularyName string
	// contains filtered or unexported fields
}

CreateVocabularyInput is the CreateVocabulary request.

type CreateWorkspaceInput

type CreateWorkspaceInput struct {
	Tags        map[string]string
	Name        string
	Description string
	Title       string

	Theme jsontext.Value
	// contains filtered or unexported fields
}

CreateWorkspaceInput is the CreateWorkspace request.

type CreateWorkspacePageInput

type CreateWorkspacePageInput struct {
	Page string
	// contains filtered or unexported fields
}

CreateWorkspacePageInput is the CreateWorkspacePage request.

type CreatedByInfo

type CreatedByInfo struct {
	ConnectUserArn string `json:"ConnectUserArn,omitempty"`
	AWSIdentityArn string `json:"AWSIdentityArn,omitempty"`
}

CreatedByInfo identifies who created an attached file: exactly one member is set.

type CrossRegionRoutingInput

type CrossRegionRoutingInput struct {
	IsolatedAll bool `json:"IsolatedAll"`
	// contains filtered or unexported fields
}

CrossRegionRoutingInput is the UpdateCrossRegionRouting request.

type CrossRegionRoutingOutput

type CrossRegionRoutingOutput struct {
	IsolatedRegions []string `json:"IsolatedRegions"`
}

CrossRegionRoutingOutput is the GetCrossRegionRouting response.

type CurrentMetric

type CurrentMetric struct {
	Name string `json:"Name"`
	Unit string `json:"Unit"`
}

CurrentMetric names one real-time metric.

type CurrentMetricData

type CurrentMetricData struct {
	Metric CurrentMetric `json:"Metric"`
	Value  float64       `json:"Value"`
}

CurrentMetricData is one real-time metric value.

type CurrentMetricResult

type CurrentMetricResult struct {
	Dimensions  *Dimensions         `json:"Dimensions,omitempty"`
	Collections []CurrentMetricData `json:"Collections"`
}

CurrentMetricResult is the metrics of one group.

type CurrentMetricSort

type CurrentMetricSort struct {
	SortByMetric string `json:"SortByMetric"`
	SortOrder    string `json:"SortOrder"`
}

CurrentMetricSort orders metric results.

type DataTable

type DataTable struct {
	Stamp
	Tags           map[string]string     `json:"Tags,omitempty"`
	LockVersion    *DataTableLockVersion `json:"LockVersion,omitempty"`
	CreatedTime    awstime.EpochTime     `json:"CreatedTime"`
	Arn            string                `json:"Arn"`
	ID             string                `json:"Id"`
	Name           string                `json:"Name"`
	TimeZone       string                `json:"TimeZone"`
	Description    string                `json:"Description,omitempty"`
	Status         string                `json:"Status"`
	ValueLockLevel string                `json:"ValueLockLevel"`
}

DataTable is a Connect data table.

type DataTableAttribute

type DataTableAttribute struct {
	Stamp
	LockVersion  *DataTableLockVersion `json:"LockVersion,omitempty"`
	Validation   *DataTableValidation  `json:"Validation,omitempty"`
	Name         string                `json:"Name"`
	ValueType    string                `json:"ValueType"`
	AttributeID  string                `json:"AttributeId"`
	DataTableArn string                `json:"DataTableArn"`
	DataTableID  string                `json:"DataTableId"`
	Description  string                `json:"Description,omitempty"`
	Primary      bool                  `json:"Primary"`
}

DataTableAttribute is a column of a data table.

type DataTableBatchDescribed

type DataTableBatchDescribed struct {
	Stamp
	LockVersion   *DataTableLockVersion  `json:"LockVersion,omitempty"`
	AttributeID   string                 `json:"AttributeId"`
	AttributeName string                 `json:"AttributeName"`
	RecordID      string                 `json:"RecordId"`
	Value         string                 `json:"Value"`
	PrimaryValues []PrimaryValueResponse `json:"PrimaryValues"`
}

DataTableBatchDescribed is one value returned by BatchDescribeDataTableValue.

type DataTableBatchFailure

type DataTableBatchFailure struct {
	AttributeName string         `json:"AttributeName"`
	Message       string         `json:"Message"`
	PrimaryValues []PrimaryValue `json:"PrimaryValues,omitempty"`
}

DataTableBatchFailure reports one item a batch operation rejected.

type DataTableBatchResult

type DataTableBatchResult[S any] struct {
	Successful []S                     `json:"Successful"`
	Failed     []DataTableBatchFailure `json:"Failed"`
}

DataTableBatchResult is the body of a batch value operation.

type DataTableBatchSuccess

type DataTableBatchSuccess struct {
	LockVersion   *DataTableLockVersion `json:"LockVersion,omitempty"`
	AttributeName string                `json:"AttributeName"`
	RecordID      string                `json:"RecordId,omitempty"`
	PrimaryValues []PrimaryValue        `json:"PrimaryValues,omitempty"`
}

DataTableBatchSuccess reports one item a batch create, update or delete applied.

type DataTableEvaluatedValue

type DataTableEvaluatedValue struct {
	EvaluatedValue *string        `json:"EvaluatedValue,omitempty"`
	AttributeName  string         `json:"AttributeName"`
	RecordID       string         `json:"RecordId,omitempty"`
	ValueType      string         `json:"ValueType,omitempty"`
	PrimaryValues  []PrimaryValue `json:"PrimaryValues"`
	Error          bool           `json:"Error"`
	Found          bool           `json:"Found"`
}

DataTableEvaluatedValue is one evaluated value.

type DataTableEvaluationSet

type DataTableEvaluationSet struct {
	AttributeNames []string       `json:"AttributeNames"`
	PrimaryValues  []PrimaryValue `json:"PrimaryValues"`
}

DataTableEvaluationSet names the attributes to evaluate for one record.

type DataTableLockVersion

type DataTableLockVersion struct {
	Attribute     string `json:"Attribute,omitempty"`
	DataTable     string `json:"DataTable,omitempty"`
	PrimaryValues string `json:"PrimaryValues,omitempty"`
	Value         string `json:"Value,omitempty"`
}

DataTableLockVersion carries the optimistic-locking versions of the levels of a data table.

type DataTableRecordInput

type DataTableRecordInput struct {
	InstanceID    string
	TableID       string
	RecordID      string
	PrimaryValues []DataTableRecordValue
	Values        []DataTableRecordValue
}

DataTableRecordInput is a whole record: its primary values and its other values.

type DataTableRecordValue

type DataTableRecordValue struct {
	AttributeID string
	Value       string
}

DataTableRecordValue is one value of a record, addressed by attribute identifier.

type DataTableSummary

type DataTableSummary struct {
	Stamp
	Arn  string `json:"Arn"`
	ID   string `json:"Id"`
	Name string `json:"Name"`
}

DataTableSummary is the list shape of a data table.

type DataTableValidation

type DataTableValidation struct {
	Enum             *DataTableValidationEnum `json:"Enum,omitempty"`
	ExclusiveMaximum float64                  `json:"ExclusiveMaximum,omitempty"`
	ExclusiveMinimum float64                  `json:"ExclusiveMinimum,omitempty"`
	Maximum          float64                  `json:"Maximum,omitempty"`
	Minimum          float64                  `json:"Minimum,omitempty"`
	MultipleOf       float64                  `json:"MultipleOf,omitempty"`
	MaxLength        int32                    `json:"MaxLength,omitempty"`
	MaxValues        int32                    `json:"MaxValues,omitempty"`
	MinLength        int32                    `json:"MinLength,omitempty"`
	MinValues        int32                    `json:"MinValues,omitempty"`
	IgnoreCase       bool                     `json:"IgnoreCase,omitempty"`
}

DataTableValidation holds the validation rules of an attribute.

type DataTableValidationEnum

type DataTableValidationEnum struct {
	Values []string `json:"Values,omitempty"`
	Strict bool     `json:"Strict"`
}

DataTableValidationEnum is the Enum member of a validation.

type DataTableValueIDIn

type DataTableValueIDIn struct {
	LockVersion   *DataTableLockVersion `json:"LockVersion"`
	AttributeName string                `json:"AttributeName"`
	PrimaryValues []PrimaryValue        `json:"PrimaryValues"`
}

DataTableValueIDIn identifies one value of a batch describe or delete.

type DataTableValueIn

type DataTableValueIn struct {
	LockVersion   *DataTableLockVersion `json:"LockVersion"`
	AttributeName string                `json:"AttributeName"`
	Value         string                `json:"Value"`
	PrimaryValues []PrimaryValue        `json:"PrimaryValues"`
}

DataTableValueIn is one value of a batch create or update.

type DataTableValueSummary

type DataTableValueSummary struct {
	Stamp
	LockVersion   *DataTableLockVersion  `json:"LockVersion,omitempty"`
	AttributeName string                 `json:"AttributeName"`
	AttributeID   string                 `json:"AttributeId"`
	RecordID      string                 `json:"RecordId"`
	Value         string                 `json:"Value"`
	ValueType     string                 `json:"ValueType"`
	PrimaryValues []PrimaryValueResponse `json:"PrimaryValues"`
}

DataTableValueSummary is the list shape of a value.

type DefaultVocabulary

type DefaultVocabulary struct {
	InstanceID     string `json:"InstanceId"`
	LanguageCode   string `json:"LanguageCode"`
	VocabularyID   string `json:"VocabularyId"`
	VocabularyName string `json:"VocabularyName"`
}

DefaultVocabulary is the vocabulary used for a language.

type DeleteContactDataInput

type DeleteContactDataInput struct {
	InstanceID    string `json:"-" path:"InstanceId"`
	ContactID     string `json:"-" path:"ContactId"`
	ContactFields []string
}

DeleteContactDataInput is the DeleteContactData request.

type DeletePushNotificationRegistrationInput

type DeletePushNotificationRegistrationInput struct {
	RegistrationID string `json:"-" path:"RegistrationId"`
	ContactID      string `json:"-"                       query:"contactId"`
	// contains filtered or unexported fields
}

DeletePushNotificationRegistrationInput is the DeletePushNotificationRegistration request.

type DeleteWorkspacePageInput

type DeleteWorkspacePageInput struct {
	Page string `json:"-" path:"Page"`
	// contains filtered or unexported fields
}

DeleteWorkspacePageInput is the DeleteWorkspacePage request.

type DescribeInstanceOutput

type DescribeInstanceOutput struct {
	Instance                 *Instance                 `json:"Instance"`
	ReplicationConfiguration *ReplicationConfiguration `json:"ReplicationConfiguration,omitempty"`
}

DescribeInstanceOutput is the DescribeInstance response.

type Dimensions

type Dimensions struct {
	Queue          *Reference `json:"Queue,omitempty"`
	RoutingProfile *Reference `json:"RoutingProfile,omitempty"`
	AgentStatus    *Reference `json:"AgentStatus,omitempty"`
	Channel        string     `json:"Channel,omitempty"`
}

Dimensions identifies one metric group.

type DisassociateProficienciesInput

type DisassociateProficienciesInput struct {
	UserID string `json:"-" path:"UserId"`

	UserProficiencies []UserProficiencyDisassociate
	// contains filtered or unexported fields
}

DisassociateProficienciesInput is the DisassociateUserProficiencies request.

type DismissUserContactInput

type DismissUserContactInput struct {
	ContactID string `json:"ContactId"`
	UserID    string `json:"-"         path:"UserId"`
	// contains filtered or unexported fields
}

DismissUserContactInput is the DismissUserContact request.

type Distribution

type Distribution struct {
	Region     string `json:"Region"`
	Percentage int32  `json:"Percentage"`
}

Distribution routes a share of traffic to a Region.

type DistributionConfig

type DistributionConfig struct {
	Distributions []Distribution `json:"Distributions"`
}

DistributionConfig is the TelephonyConfig and AgentConfig shape.

type EffectiveHoursInput

type EffectiveHoursInput struct {
	HoursID  string `json:"-" path:"HoursOfOperationId"`
	FromDate string `json:"-"                           query:"fromDate"`
	ToDate   string `json:"-"                           query:"toDate"`
	// contains filtered or unexported fields
}

EffectiveHoursInput is the GetEffectiveHoursOfOperations request.

type EffectiveHoursOut

type EffectiveHoursOut struct {
	TimeZone                      string                   `json:"TimeZone"`
	EffectiveHoursOfOperationList []effectiveHours         `json:"EffectiveHoursOfOperationList"`
	EffectiveOverrideHoursList    []effectiveOverrideHours `json:"EffectiveOverrideHoursList"`
}

EffectiveHoursOut is the GetEffectiveHoursOfOperations response.

type EmailAddress

type EmailAddress struct {
	Tags                map[string]string    `json:"Tags,omitempty"`
	CreateTimestamp     string               `json:"CreateTimestamp"`
	Description         string               `json:"Description,omitempty"`
	DisplayName         string               `json:"DisplayName,omitempty"`
	EmailAddress        string               `json:"EmailAddress"`
	EmailAddressArn     string               `json:"EmailAddressArn"`
	EmailAddressID      string               `json:"EmailAddressId"`
	ModifiedTimestamp   string               `json:"ModifiedTimestamp"`
	AliasConfigurations []AliasConfiguration `json:"AliasConfigurations"`
}

EmailAddress is the DescribeEmailAddress response.

type EmailAddressInfo

type EmailAddressInfo struct {
	EmailAddress string `json:"EmailAddress"`
	DisplayName  string `json:"DisplayName,omitempty"`
}

EmailAddressInfo is an email address with an optional display name.

type EmailAddressMetadata

type EmailAddressMetadata struct {
	Description         string               `json:"Description,omitempty"`
	DisplayName         string               `json:"DisplayName,omitempty"`
	EmailAddress        string               `json:"EmailAddress"`
	EmailAddressArn     string               `json:"EmailAddressArn"`
	EmailAddressID      string               `json:"EmailAddressId"`
	AliasConfigurations []AliasConfiguration `json:"AliasConfigurations"`
}

EmailAddressMetadata is the SearchEmailAddresses result shape.

type EmailAddressSummary

type EmailAddressSummary struct {
	Arn                    string `json:"Arn"`
	ID                     string `json:"Id"`
	IsDefaultOutboundEmail bool   `json:"IsDefaultOutboundEmail"`
}

EmailAddressSummary is the list shape of a queue's email address.

type EmailAliasInput

type EmailAliasInput struct {
	AliasConfiguration *AliasConfiguration
	// contains filtered or unexported fields
}

EmailAliasInput is the (Dis)AssociateEmailAddressAlias request.

type EmailAttachment

type EmailAttachment struct {
	FileName string `json:"FileName"`
	S3URL    string `json:"S3Url"`
}

EmailAttachment names an S3 object attached to an email.

type EmailContent

type EmailContent struct {
	RawMessage             *RawEmail
	MessageSourceType      string
	TemplatedMessageConfig jsontext.Value
}

EmailContent is the message of an email request.

type EmailMessage

type EmailMessage struct {
	From    string
	Subject string
	HTML    string
	Text    string
	To      []string
	Cc      []string
}

EmailMessage is a message handed to the Mailer.

type EmailRecipient

type EmailRecipient struct {
	Address     string `json:"Address,omitempty"`
	DisplayName string `json:"DisplayName,omitempty"`
}

EmailRecipient is one recipient of an email contact.

type EmptyOutput

type EmptyOutput struct{}

EmptyOutput is an empty JSON object response.

type EncryptionConfig

type EncryptionConfig struct {
	EncryptionType string `json:"EncryptionType"`
	KeyID          string `json:"KeyId"`
}

EncryptionConfig names the KMS key protecting stored data.

type EndpointInfo

type EndpointInfo struct {
	Address string `json:"Address,omitempty"`
	Type    string `json:"Type,omitempty"`
}

EndpointInfo is a customer or system endpoint of a contact.

type EntityProfilesInput

type EntityProfilesInput struct {
	EntityType string
	EntityArn  string
	NextToken  string

	SecurityProfiles []struct {
		ID string `json:"Id"`
	}
	MaxResults int32
	// contains filtered or unexported fields
}

EntityProfilesInput is the Associate/Disassociate/ListEntitySecurityProfiles request.

type EntityProfilesOut

type EntityProfilesOut struct {
	NextToken        string                `json:"NextToken,omitempty"`
	SecurityProfiles []SecurityProfileItem `json:"SecurityProfiles"`
}

EntityProfilesOut is the ListEntitySecurityProfiles response.

type ErrorResult

type ErrorResult struct {
	ErrorCode    string `json:"ErrorCode"`
	ErrorMessage string `json:"ErrorMessage"`
}

ErrorResult is types.ErrorResult.

type EvaluateDataTableValuesInput

type EvaluateDataTableValuesInput struct {
	TimeZone   string `json:"TimeZone"`
	NextToken  string `json:"-"        query:"nextToken"`
	Values     []DataTableEvaluationSet
	MaxResults int32 `json:"-"        query:"maxResults"`
	// contains filtered or unexported fields
}

EvaluateDataTableValuesInput is the EvaluateDataTableValues request.

type Evaluation

type Evaluation struct {
	Metadata         EvaluationMetadata          `json:"Metadata"`
	Answers          map[string]EvaluationAnswer `json:"Answers"`
	Notes            map[string]EvaluationNote   `json:"Notes"`
	Scores           map[string]EvaluationScore  `json:"Scores"`
	Tags             map[string]string           `json:"Tags,omitempty"`
	CreatedTime      awstime.EpochTime           `json:"CreatedTime"`
	LastModifiedTime awstime.EpochTime           `json:"LastModifiedTime"`
	EvaluationID     string                      `json:"EvaluationId"`
	EvaluationArn    string                      `json:"EvaluationArn"`
	Status           string                      `json:"Status"`
	EvaluationType   string                      `json:"EvaluationType"`
}

Evaluation is a contact evaluation.

type EvaluationAnswer

type EvaluationAnswer struct {
	Value EvaluationAnswerData `json:"Value"`
}

EvaluationAnswer wraps an answer value as the SDK sends and returns it.

type EvaluationAnswerData

type EvaluationAnswerData struct {
	NumericValue  *float64 `json:"NumericValue,omitempty"`
	NotApplicable *bool    `json:"NotApplicable,omitempty"`
	StringValue   string   `json:"StringValue,omitempty"`
	DateTimeValue string   `json:"DateTimeValue,omitempty"`
	StringValues  []string `json:"StringValues,omitempty"`
}

EvaluationAnswerData is the value of one answer.

type EvaluationDescribeOut

type EvaluationDescribeOut struct {
	Evaluation     Evaluation            `json:"Evaluation"`
	EvaluationForm EvaluationFormContent `json:"EvaluationForm"`
}

EvaluationDescribeOut is the evaluation description response.

type EvaluationForm

type EvaluationForm struct {
	CreatedTime            awstime.EpochTime  `json:"CreatedTime"`
	LastModifiedTime       awstime.EpochTime  `json:"LastModifiedTime"`
	Tags                   map[string]string  `json:"Tags,omitempty"`
	LastValidationTime     *awstime.EpochTime `json:"LastValidationTime,omitempty"`
	EvaluationFormArn      string             `json:"EvaluationFormArn"`
	CreatedBy              string             `json:"CreatedBy"`
	EvaluationFormID       string             `json:"EvaluationFormId"`
	LastModifiedBy         string             `json:"LastModifiedBy"`
	Status                 string             `json:"Status"`
	LatestValidationStatus string             `json:"LatestValidationStatus,omitempty"`

	EvaluationFormVersion int32 `json:"EvaluationFormVersion"`
	Locked                bool  `json:"Locked"`
	// contains filtered or unexported fields
}

EvaluationForm is the DescribeEvaluationForm shape.

type EvaluationFormContent

type EvaluationFormContent struct {
	EvaluationFormArn string `json:"EvaluationFormArn"`
	EvaluationFormID  string `json:"EvaluationFormId"`

	EvaluationFormVersion int32 `json:"EvaluationFormVersion"`
	// contains filtered or unexported fields
}

EvaluationFormContent is the form version an evaluation was started from.

type EvaluationIDsOut

type EvaluationIDsOut struct {
	EvaluationID  string `json:"EvaluationId"`
	EvaluationArn string `json:"EvaluationArn"`
}

EvaluationIDsOut is a response carrying evaluation IDs.

type EvaluationMetadata

type EvaluationMetadata struct {
	Score          *EvaluationScore `json:"Score,omitempty"`
	AutoEvaluation *struct {
		AutoEvaluationEnabled bool `json:"AutoEvaluationEnabled"`
	} `json:"AutoEvaluation,omitempty"`
	ContactID      string `json:"ContactId"`
	EvaluatorArn   string `json:"EvaluatorArn,omitempty"`
	ContactAgentID string `json:"ContactAgentId,omitempty"`
}

EvaluationMetadata describes what an evaluation is about.

type EvaluationNote

type EvaluationNote struct {
	Value string `json:"Value"`
}

EvaluationNote wraps a note.

type EvaluationScore

type EvaluationScore struct {
	AppliedWeight       *float64 `json:"AppliedWeight,omitempty"`
	PerformanceCategory string   `json:"PerformanceCategory,omitempty"`
	Percentage          float64  `json:"Percentage"`
	EarnedPoints        int32    `json:"EarnedPoints"`
	MaxBasePoint        int32    `json:"MaxBasePoint"`
	NotApplicable       bool     `json:"NotApplicable"`
	AutomaticFail       bool     `json:"AutomaticFail"`
}

EvaluationScore is a computed score.

type EvaluationSearchMetadata

type EvaluationSearchMetadata struct {
	EarnedPoints          *int32  `json:"EarnedPoints,omitempty"`
	MaxBasePoint          *int32  `json:"MaxBasePoint,omitempty"`
	ContactID             string  `json:"ContactId"`
	EvaluatorArn          string  `json:"EvaluatorArn,omitempty"`
	ContactAgentID        string  `json:"ContactAgentId,omitempty"`
	ScorePercentage       float64 `json:"ScorePercentage,omitempty"`
	AutoEvaluationEnabled bool    `json:"AutoEvaluationEnabled,omitempty"`
	ScoreAutomaticFail    bool    `json:"ScoreAutomaticFail,omitempty"`
	ScoreNotApplicable    bool    `json:"ScoreNotApplicable,omitempty"`
}

EvaluationSearchMetadata is the metadata of a search hit.

type EvaluationSearchSummary

type EvaluationSearchSummary struct {
	Tags                  map[string]string        `json:"Tags,omitempty"`
	CreatedTime           awstime.EpochTime        `json:"CreatedTime"`
	LastModifiedTime      awstime.EpochTime        `json:"LastModifiedTime"`
	EvaluationID          string                   `json:"EvaluationId"`
	EvaluationArn         string                   `json:"EvaluationArn"`
	EvaluationFormID      string                   `json:"EvaluationFormId"`
	EvaluationFormTitle   string                   `json:"EvaluationFormTitle"`
	EvaluationType        string                   `json:"EvaluationType"`
	Status                string                   `json:"Status"`
	Metadata              EvaluationSearchMetadata `json:"Metadata"`
	EvaluationFormVersion int32                    `json:"EvaluationFormVersion"`
}

EvaluationSearchSummary is one SearchContactEvaluations hit.

type EvaluationSummary

type EvaluationSummary struct {
	Score                 *EvaluationScore  `json:"Score,omitempty"`
	CreatedTime           awstime.EpochTime `json:"CreatedTime"`
	LastModifiedTime      awstime.EpochTime `json:"LastModifiedTime"`
	EvaluationID          string            `json:"EvaluationId"`
	EvaluationArn         string            `json:"EvaluationArn"`
	EvaluationFormTitle   string            `json:"EvaluationFormTitle"`
	EvaluationFormID      string            `json:"EvaluationFormId"`
	Status                string            `json:"Status"`
	EvaluatorArn          string            `json:"EvaluatorArn,omitempty"`
	EvaluationType        string            `json:"EvaluationType"`
	AutoEvaluationEnabled bool              `json:"AutoEvaluationEnabled"`
}

EvaluationSummary is the list shape of a contact evaluation.

type EvaluatorUser

type EvaluatorUser struct {
	ConnectUserArn string `json:"ConnectUserArn,omitempty"`
}

EvaluatorUser identifies who saved or submitted an evaluation.

type ExecutionRecord

type ExecutionRecord struct {
	Timestamp     awstime.EpochTime `json:"Timestamp"`
	ObservationID string            `json:"ObservationId"`
	Record        string            `json:"Record"`
	Status        string            `json:"Status"`
}

ExecutionRecord is one observation of a test case execution.

type ExecutionSummaryOut

type ExecutionSummaryOut struct {
	StartTime awstime.EpochTime  `json:"StartTime"`
	EndTime   *awstime.EpochTime `json:"EndTime,omitempty"`
	Status    string             `json:"Status"`
}

ExecutionSummaryOut is the GetTestCaseExecutionSummary response.

type ExtensionConfiguration

type ExtensionConfiguration struct {
	AllowedExtensions []AllowedExtension `json:"AllowedExtensions"`
}

ExtensionConfiguration lists the permitted file extensions.

type ExtractionConfiguration

type ExtractionConfiguration struct {
	NotFoundBehavior *ExtractionNotFoundBehavior `json:"NotFoundBehavior,omitempty"`
	PromptHint       string                      `json:"PromptHint"`
}

ExtractionConfiguration is the prompt hint and not-found behavior of a definition.

type ExtractionDefinition

type ExtractionDefinition struct {
	CreatedTime             *awstime.EpochTime       `json:"CreatedTime"`
	LastUpdatedTime         *awstime.EpochTime       `json:"LastUpdatedTime"`
	ExtractionConfiguration *ExtractionConfiguration `json:"ExtractionConfiguration"`
	Display                 *ExtractionDisplay       `json:"Display,omitempty"`
	Tags                    map[string]string        `json:"Tags,omitempty"`
	ExtractionDefinitionArn string                   `json:"ExtractionDefinitionArn"`
	ExtractionDefinitionID  string                   `json:"ExtractionDefinitionId"`
	LastUpdatedBy           string                   `json:"LastUpdatedBy"`
	Name                    string                   `json:"Name"`
}

ExtractionDefinition is a contact data extraction definition.

type ExtractionDefinitionSummary

type ExtractionDefinitionSummary struct {
	CreatedTime             *awstime.EpochTime `json:"CreatedTime"`
	LastUpdatedTime         *awstime.EpochTime `json:"LastUpdatedTime"`
	ExtractionDefinitionArn string             `json:"ExtractionDefinitionArn"`
	ExtractionDefinitionID  string             `json:"ExtractionDefinitionId"`
	LastUpdatedBy           string             `json:"LastUpdatedBy"`
	Name                    string             `json:"Name"`
}

ExtractionDefinitionSummary is the list shape of a definition.

type ExtractionDisplay

type ExtractionDisplay struct {
	Label string `json:"Label,omitempty"`
}

ExtractionDisplay holds the agent workspace label of a definition.

type ExtractionIDsOut

type ExtractionIDsOut struct {
	ExtractionDefinitionArn string `json:"ExtractionDefinitionArn"`
	ExtractionDefinitionID  string `json:"ExtractionDefinitionId"`
}

ExtractionIDsOut is the CreateExtractionDefinition response.

type ExtractionNotFoundBehavior

type ExtractionNotFoundBehavior struct {
	Behavior     string `json:"Behavior"`
	DefaultValue string `json:"DefaultValue,omitempty"`
}

ExtractionNotFoundBehavior is what an extraction does when the value is absent.

type FailedRequest

type FailedRequest struct {
	FailureReasonCode    string `json:"FailureReasonCode"`
	FailureReasonMessage string `json:"FailureReasonMessage"`
	RequestIdentifier    string `json:"RequestIdentifier,omitempty"`
}

FailedRequest is a BatchPutContact item that was not created.

type FilterV2

type FilterV2 struct {
	StringCondition *struct {
		Comparison string `json:"Comparison"`
	} `json:"StringCondition,omitempty"`
	FilterKey    string   `json:"FilterKey,omitempty"`
	FilterValues []string `json:"FilterValues,omitempty"`
}

FilterV2 narrows GetMetricDataV2 contacts by one key.

type FlowAssocRequest

type FlowAssocRequest struct {
	FlowID         string `json:"FlowId"`
	ResourceID     string `json:"ResourceId"`
	ResourceType   string `json:"ResourceType"`
	PathResourceID string `json:"-"            path:"ResourceId"`
	PathType       string `json:"-"            path:"ResourceType"`
	QueryType      string `json:"-"                                query:"ResourceType"`
	NextToken      string `json:"-"                                query:"nextToken"`

	ResourceIDs []string `json:"ResourceIds"`
	MaxResults  int32    `json:"-"                                query:"maxResults"`
	// contains filtered or unexported fields
}

FlowAssocRequest carries every flow association request.

type FlowAssociationSummary

type FlowAssociationSummary struct {
	FlowID       string `json:"FlowId"`
	ResourceID   string `json:"ResourceId"`
	ResourceType string `json:"ResourceType"`
}

FlowAssociationSummary is the list shape of a flow association.

type FormFinding

type FormFinding struct {
	Description string `json:"Description"`
	IssueCode   string `json:"IssueCode"`
	Severity    string `json:"Severity"`
	Suggestion  string `json:"Suggestion,omitempty"`
}

FormFinding is one validation finding.

type FormOut

type FormOut struct {
	Arn     string `json:"EvaluationFormArn"`
	ID      string `json:"EvaluationFormId"`
	Version int32  `json:"EvaluationFormVersion,omitempty"`
}

FormOut is the wire shape of an evaluation form operation result.

type FormRequest

type FormRequest struct {
	CreateNewVersion *bool `json:"CreateNewVersion"`
	Tags             map[string]string
	ClientToken      string `json:"ClientToken"`
	FormID           string `json:"-"                     path:"EvaluationFormId"`
	QueryVersion     string `json:"-"                                             query:"version"`
	NextToken        string `json:"-"                                             query:"nextToken"`

	MaxResults int32 `json:"-"                                             query:"maxResults"`
	Version    int32 `json:"EvaluationFormVersion"`
	AsDraft    bool
	// contains filtered or unexported fields
}

FormRequest carries every evaluation form request; each op reads only its own members.

type FormSearchSummary

type FormSearchSummary struct {
	Tags        map[string]string `json:"Tags,omitempty"`
	Description string            `json:"Description,omitempty"`
	AIVersion   string            `json:"AIVersion,omitempty"`
	Status      string            `json:"Status"`
	FormSummary
}

FormSearchSummary is the SearchEvaluationForms result shape.

type FormSummary

type FormSummary struct {
	CreatedTime       awstime.EpochTime  `json:"CreatedTime"`
	LastModifiedTime  awstime.EpochTime  `json:"LastModifiedTime"`
	LastActivatedTime *awstime.EpochTime `json:"LastActivatedTime,omitempty"`
	ActiveVersion     *int32             `json:"ActiveVersion,omitempty"`
	CreatedBy         string             `json:"CreatedBy"`
	EvaluationFormArn string             `json:"EvaluationFormArn"`
	EvaluationFormID  string             `json:"EvaluationFormId"`
	LastModifiedBy    string             `json:"LastModifiedBy"`
	LastActivatedBy   string             `json:"LastActivatedBy,omitempty"`
	Title             string             `json:"Title"`
	LatestVersion     int32              `json:"LatestVersion"`
}

FormSummary is the list shape of an evaluation form.

type FormValidationOut

type FormValidationOut struct {
	StartedTime           *awstime.EpochTime `json:"StartedTime,omitempty"`
	EvaluationFormID      string             `json:"EvaluationFormId"`
	Status                string             `json:"Status"`
	Findings              []FormFinding      `json:"Findings"`
	EvaluationFormVersion int32              `json:"EvaluationFormVersion"`
}

FormValidationOut is the GetEvaluationFormValidation response.

type FormVersionSummary

type FormVersionSummary struct {
	CreatedTime           awstime.EpochTime `json:"CreatedTime"`
	LastModifiedTime      awstime.EpochTime `json:"LastModifiedTime"`
	CreatedBy             string            `json:"CreatedBy"`
	EvaluationFormArn     string            `json:"EvaluationFormArn"`
	EvaluationFormID      string            `json:"EvaluationFormId"`
	LastModifiedBy        string            `json:"LastModifiedBy"`
	Status                string            `json:"Status"`
	EvaluationFormVersion int32             `json:"EvaluationFormVersion"`
	Locked                bool              `json:"Locked"`
}

FormVersionSummary is the list shape of an evaluation form version.

type GetAttachedFileInput

type GetAttachedFileInput struct {
	URLExpiryInSeconds int32 `json:"-" query:"urlExpiryInSeconds"`
	// contains filtered or unexported fields
}

GetAttachedFileInput is the GetAttachedFile request.

type GetContactMetricsInput

type GetContactMetricsInput struct {
	ContactID  string              `json:"ContactId"`
	InstanceID string              `json:"InstanceId"`
	Metrics    []ContactMetricInfo `json:"Metrics"`
}

GetContactMetricsInput is the GetContactMetrics request.

type GetCurrentMetricDataInput

type GetCurrentMetricDataInput struct {
	Filters   *MetricFilters
	NextToken string

	CurrentMetrics []CurrentMetric
	Groupings      []string
	SortCriteria   []CurrentMetricSort
	MaxResults     int32
	// contains filtered or unexported fields
}

GetCurrentMetricDataInput is the GetCurrentMetricData request.

type GetCurrentUserDataInput

type GetCurrentUserDataInput struct {
	Filters   *UserDataFilters
	NextToken string

	MaxResults int32
	// contains filtered or unexported fields
}

GetCurrentUserDataInput is the GetCurrentUserData request.

type GetMetricDataInput

type GetMetricDataInput struct {
	StartTime *awstime.EpochTime
	EndTime   *awstime.EpochTime
	Filters   *MetricFilters
	NextToken string

	HistoricalMetrics []HistoricalMetric
	Groupings         []string
	MaxResults        int32
	// contains filtered or unexported fields
}

GetMetricDataInput is the GetMetricData request.

type GetMetricDataV2Input

type GetMetricDataV2Input struct {
	StartTime   *awstime.EpochTime `json:"StartTime"`
	EndTime     *awstime.EpochTime `json:"EndTime"`
	Interval    *IntervalDetails   `json:"Interval"`
	ResourceArn string             `json:"ResourceArn"`
	NextToken   string             `json:"NextToken"`
	Filters     []FilterV2         `json:"Filters"`
	Groupings   []string           `json:"Groupings"`
	Metrics     []MetricV2         `json:"Metrics"`
	MaxResults  int32              `json:"MaxResults"`
}

GetMetricDataV2Input is the GetMetricDataV2 request.

type GetPromptFileInput

type GetPromptFileInput struct {
	PromptID string `json:"-" path:"PromptId"`
	// contains filtered or unexported fields
}

GetPromptFileInput is the GetPromptFile request.

type Handler

type Handler struct {
	Backend *Backend

	DefaultRegion string
	// contains filtered or unexported fields
}

Handler serves the Amazon Connect REST-JSON API.

func NewHandler

func NewHandler(backend *Backend) *Handler

NewHandler wraps a backend.

func (*Handler) ChaosOperations

func (h *Handler) ChaosOperations() []string

ChaosOperations lists the fault-injectable operations.

func (*Handler) ChaosRegions

func (h *Handler) ChaosRegions() []string

ChaosRegions lists the regions served.

func (*Handler) ChaosServiceName

func (h *Handler) ChaosServiceName() string

ChaosServiceName returns the lowercase service name for fault rules.

func (*Handler) ExtractOperation

func (h *Handler) ExtractOperation(c *echo.Context) string

ExtractOperation returns the operation name for metrics.

func (*Handler) ExtractResource

func (h *Handler) ExtractResource(c *echo.Context) string

ExtractResource returns the instance ID for metrics.

func (*Handler) GetSupportedOperations

func (h *Handler) GetSupportedOperations() []string

GetSupportedOperations lists every routed operation.

func (*Handler) Handler

func (h *Handler) Handler() echo.HandlerFunc

Handler returns the Echo handler.

func (*Handler) MatchPriority

func (h *Handler) MatchPriority() int

MatchPriority returns the routing priority.

func (*Handler) Name

func (h *Handler) Name() string

Name returns the service name.

func (*Handler) Reset

func (h *Handler) Reset()

Reset clears all state.

func (*Handler) Restore

func (h *Handler) Restore(ctx context.Context, data []byte) error

Restore implements persistence.Persistable.

func (*Handler) RouteMatcher

func (h *Handler) RouteMatcher() service.Matcher

RouteMatcher claims requests signed for connect under a Connect URI prefix, so unrouted operations fail as unknown.

func (*Handler) Snapshot

func (h *Handler) Snapshot(ctx context.Context) []byte

Snapshot implements persistence.Persistable.

type HierarchyGroup

type HierarchyGroup struct {
	Stamp
	HierarchyPath *HierarchyPath    `json:"HierarchyPath,omitempty"`
	Tags          map[string]string `json:"Tags,omitempty"`
	Arn           string            `json:"Arn"`
	ID            string            `json:"Id"`
	LevelID       string            `json:"LevelId"`
	Name          string            `json:"Name"`
}

HierarchyGroup is a node of the agent hierarchy.

type HierarchyGroupSummary

type HierarchyGroupSummary struct {
	Arn  string `json:"Arn"`
	ID   string `json:"Id"`
	Name string `json:"Name"`
}

HierarchyGroupSummary names a hierarchy group.

type HierarchyLevel

type HierarchyLevel struct {
	Stamp
	Arn  string `json:"Arn"`
	ID   string `json:"Id"`
	Name string `json:"Name"`
}

HierarchyLevel is one named level of the hierarchy structure.

type HierarchyLevelUpdate

type HierarchyLevelUpdate struct {
	Name string `json:"Name"`
}

HierarchyLevelUpdate carries a level's new name.

type HierarchyPath

type HierarchyPath struct {
	LevelOne   *HierarchyGroupSummary `json:"LevelOne,omitempty"`
	LevelTwo   *HierarchyGroupSummary `json:"LevelTwo,omitempty"`
	LevelThree *HierarchyGroupSummary `json:"LevelThree,omitempty"`
	LevelFour  *HierarchyGroupSummary `json:"LevelFour,omitempty"`
	LevelFive  *HierarchyGroupSummary `json:"LevelFive,omitempty"`
}

HierarchyPath is the chain of groups above (and including) a group.

type HierarchyStructure

type HierarchyStructure struct {
	LevelOne   *HierarchyLevel `json:"LevelOne,omitempty"`
	LevelTwo   *HierarchyLevel `json:"LevelTwo,omitempty"`
	LevelThree *HierarchyLevel `json:"LevelThree,omitempty"`
	LevelFour  *HierarchyLevel `json:"LevelFour,omitempty"`
	LevelFive  *HierarchyLevel `json:"LevelFive,omitempty"`
}

HierarchyStructure names the levels of the agent hierarchy.

type HierarchyStructureUpdate

type HierarchyStructureUpdate struct {
	LevelOne   *HierarchyLevelUpdate `json:"LevelOne,omitempty"`
	LevelTwo   *HierarchyLevelUpdate `json:"LevelTwo,omitempty"`
	LevelThree *HierarchyLevelUpdate `json:"LevelThree,omitempty"`
	LevelFour  *HierarchyLevelUpdate `json:"LevelFour,omitempty"`
	LevelFive  *HierarchyLevelUpdate `json:"LevelFive,omitempty"`
}

HierarchyStructureUpdate renames hierarchy levels; an absent level is untouched.

type HistoricalMetric

type HistoricalMetric struct {
	Name      string         `json:"Name"`
	Statistic string         `json:"Statistic"`
	Unit      string         `json:"Unit"`
	Threshold jsontext.Value `json:"Threshold,omitempty"`
}

HistoricalMetric names one historical metric and statistic.

type HistoricalMetricData

type HistoricalMetricData struct {
	Metric HistoricalMetric `json:"Metric"`
	Value  float64          `json:"Value"`
}

HistoricalMetricData is one historical metric value.

type HistoricalMetricResult

type HistoricalMetricResult struct {
	Dimensions  *Dimensions            `json:"Dimensions,omitempty"`
	Collections []HistoricalMetricData `json:"Collections"`
}

HistoricalMetricResult is the metrics of one group.

type HoursIdentifier

type HoursIdentifier struct {
	Arn  string `json:"Arn"`
	ID   string `json:"Id"`
	Name string `json:"Name"`
}

HoursIdentifier identifies a related schedule.

type HoursOfOperation

type HoursOfOperation struct {
	Stamp
	Tags                map[string]string        `json:"Tags,omitempty"`
	Description         string                   `json:"Description,omitempty"`
	HoursOfOperationArn string                   `json:"HoursOfOperationArn"`
	HoursOfOperationID  string                   `json:"HoursOfOperationId"`
	Name                string                   `json:"Name"`
	TimeZone            string                   `json:"TimeZone"`
	Config              []HoursOfOperationConfig `json:"Config"`

	ParentHoursOfOperations []HoursIdentifier `json:"ParentHoursOfOperations,omitempty"`
}

HoursOfOperation is a weekly schedule.

type HoursOfOperationConfig

type HoursOfOperationConfig struct {
	Day       string    `json:"Day"`
	EndTime   TimeSlice `json:"EndTime"`
	StartTime TimeSlice `json:"StartTime"`
}

HoursOfOperationConfig is the open window of one day.

type HoursOfOperationOverride

type HoursOfOperationOverride struct {
	RecurrenceConfig           *RecurrenceConfig `json:"RecurrenceConfig,omitempty"`
	Description                string            `json:"Description,omitempty"`
	EffectiveFrom              string            `json:"EffectiveFrom"`
	EffectiveTill              string            `json:"EffectiveTill"`
	HoursOfOperationArn        string            `json:"HoursOfOperationArn"`
	HoursOfOperationID         string            `json:"HoursOfOperationId"`
	HoursOfOperationOverrideID string            `json:"HoursOfOperationOverrideId"`
	Name                       string            `json:"Name"`
	OverrideType               string            `json:"OverrideType,omitempty"`
	Config                     []OverrideConfig  `json:"Config"`
}

HoursOfOperationOverride is a dated exception to a schedule.

type InboundRecipients

type InboundRecipients struct {
	CcAddresses []EmailAddressInfo
	ToAddresses []EmailAddressInfo
}

InboundRecipients holds the extra recipients of an inbound email.

type Instance

type Instance struct {
	CreatedTime            awstime.EpochTime `json:"CreatedTime"`
	Tags                   map[string]string `json:"Tags,omitempty"`
	Arn                    string            `json:"Arn"`
	ID                     string            `json:"Id"`
	IdentityManagementType string            `json:"IdentityManagementType"`
	InstanceAccessURL      string            `json:"InstanceAccessUrl,omitempty"`
	InstanceAlias          string            `json:"InstanceAlias,omitempty"`
	InstanceStatus         string            `json:"InstanceStatus"`
	ServiceRole            string            `json:"ServiceRole,omitempty"`
	InboundCallsEnabled    bool              `json:"InboundCallsEnabled"`
	OutboundCallsEnabled   bool              `json:"OutboundCallsEnabled"`
}

Instance is an Amazon Connect instance.

type InstanceStorageConfig

type InstanceStorageConfig struct {
	S3Config                 *S3Config                 `json:"S3Config,omitempty"`
	KinesisVideoStreamConfig *KinesisVideoStreamConfig `json:"KinesisVideoStreamConfig,omitempty"`
	KinesisStreamConfig      *KinesisStreamConfig      `json:"KinesisStreamConfig,omitempty"`
	KinesisFirehoseConfig    *KinesisFirehoseConfig    `json:"KinesisFirehoseConfig,omitempty"`
	AssociationID            string                    `json:"AssociationId"`
	StorageType              string                    `json:"StorageType"`
}

InstanceStorageConfig is where one kind of instance data is stored.

type InstanceSummary

type InstanceSummary struct {
	CreatedTime            awstime.EpochTime `json:"CreatedTime"`
	Arn                    string            `json:"Arn"`
	ID                     string            `json:"Id"`
	IdentityManagementType string            `json:"IdentityManagementType"`
	InstanceAccessURL      string            `json:"InstanceAccessUrl,omitempty"`
	InstanceAlias          string            `json:"InstanceAlias,omitempty"`
	InstanceStatus         string            `json:"InstanceStatus"`
	ServiceRole            string            `json:"ServiceRole,omitempty"`
	InboundCallsEnabled    bool              `json:"InboundCallsEnabled"`
	OutboundCallsEnabled   bool              `json:"OutboundCallsEnabled"`
}

InstanceSummary is the list shape of an Instance.

type IntegrationAssociation

type IntegrationAssociation struct {
	InstanceID                string `json:"InstanceId"`
	IntegrationArn            string `json:"IntegrationArn"`
	IntegrationAssociationArn string `json:"IntegrationAssociationArn"`
	IntegrationAssociationID  string `json:"IntegrationAssociationId"`
	IntegrationType           string `json:"IntegrationType"`
	SourceApplicationName     string `json:"SourceApplicationName,omitempty"`
	SourceApplicationURL      string `json:"SourceApplicationUrl,omitempty"`
	SourceType                string `json:"SourceType,omitempty"`
}

IntegrationAssociation links an instance to an integration such as an AppIntegrations event.

type Integrations

type Integrations interface {
	CreateEventAssociation(ctx context.Context, eventIntegrationName, clientID string) (string, error)
	DeleteEventAssociation(ctx context.Context, associationID string) error
	CreateApplicationAssociation(ctx context.Context, applicationID, clientID string) (string, error)
	DeleteApplicationAssociation(ctx context.Context, associationID string) error
}

Integrations is the AppIntegrations surface behind EVENT and APPLICATION integration associations.

type IntervalDetails

type IntervalDetails struct {
	TimeZone       string `json:"TimeZone,omitempty"`
	IntervalPeriod string `json:"IntervalPeriod,omitempty"`
}

IntervalDetails selects the aggregation period.

type KinesisFirehoseConfig

type KinesisFirehoseConfig struct {
	FirehoseArn string `json:"FirehoseArn"`
}

KinesisFirehoseConfig is a Firehose storage target.

type KinesisStreamConfig

type KinesisStreamConfig struct {
	StreamArn string `json:"StreamArn"`
}

KinesisStreamConfig is a Kinesis Data Streams storage target.

type KinesisVideoStreamConfig

type KinesisVideoStreamConfig struct {
	EncryptionConfig     *EncryptionConfig `json:"EncryptionConfig,omitempty"`
	Prefix               string            `json:"Prefix"`
	RetentionPeriodHours int32             `json:"RetentionPeriodHours"`
}

KinesisVideoStreamConfig is a Kinesis Video Streams storage target.

type LexBot

type LexBot struct {
	LexRegion string `json:"LexRegion"`
	Name      string `json:"Name"`
}

LexBot is a Lex V1 bot reference.

type LexBotConfig

type LexBotConfig struct {
	LexBot   *LexBot   `json:"LexBot,omitempty"`
	LexV2Bot *LexV2Bot `json:"LexV2Bot,omitempty"`
}

LexBotConfig is a Lex V1 or V2 bot association.

type LexV2Bot

type LexV2Bot struct {
	AliasArn string `json:"AliasArn"`
}

LexV2Bot is a Lex V2 bot alias reference.

type ListAnalyticsDataAssociationsInput

type ListAnalyticsDataAssociationsInput struct {
	DataSetID string `json:"-" query:"DataSetId"`
	NextToken string `json:"-" query:"nextToken"`

	MaxResults int32 `json:"-" query:"maxResults"`
	// contains filtered or unexported fields
}

ListAnalyticsDataAssociationsInput is the ListAnalyticsDataAssociations request.

type ListAnalyticsDataLakeDataSetsInput

type ListAnalyticsDataLakeDataSetsInput struct {
	NextToken string `json:"-" query:"nextToken"`

	MaxResults int32 `json:"-" query:"maxResults"`
	// contains filtered or unexported fields
}

ListAnalyticsDataLakeDataSetsInput is the ListAnalyticsDataLakeDataSets request.

type ListDataTableAttributesInput

type ListDataTableAttributesInput struct {
	NextToken    string   `json:"-"            query:"nextToken"`
	AttributeIDs []string `json:"AttributeIds"`
	MaxResults   int32    `json:"-"            query:"maxResults"`
	// contains filtered or unexported fields
}

ListDataTableAttributesInput is the ListDataTableAttributes request.

type ListDataTableValuesInput

type ListDataTableValuesInput struct {
	NextToken              string `json:"-"         query:"nextToken"`
	PrimaryAttributeValues []PrimaryAttributeValueFilter
	RecordIDs              []string `json:"RecordIds"`
	MaxResults             int32    `json:"-"         query:"maxResults"`
	// contains filtered or unexported fields
}

ListDataTableValuesInput is the ListDataTableValues and ListDataTablePrimaryValues request.

type ListDefaultVocabulariesInput

type ListDefaultVocabulariesInput struct {
	LanguageCode string
	NextToken    string

	MaxResults int32
	// contains filtered or unexported fields
}

ListDefaultVocabulariesInput is the ListDefaultVocabularies request.

type ListDefaultVocabulariesOut

type ListDefaultVocabulariesOut struct {
	NextToken             string              `json:"NextToken,omitempty"`
	DefaultVocabularyList []DefaultVocabulary `json:"DefaultVocabularyList"`
}

ListDefaultVocabulariesOut is the ListDefaultVocabularies response body.

type ListPhoneNumbersSummary

type ListPhoneNumbersSummary struct {
	InstanceID             string `json:"InstanceId,omitempty"`
	PhoneNumber            string `json:"PhoneNumber"`
	PhoneNumberArn         string `json:"PhoneNumberArn"`
	PhoneNumberCountryCode string `json:"PhoneNumberCountryCode"`
	PhoneNumberDescription string `json:"PhoneNumberDescription,omitempty"`
	PhoneNumberID          string `json:"PhoneNumberId"`
	PhoneNumberType        string `json:"PhoneNumberType"`
	TargetArn              string `json:"TargetArn,omitempty"`
}

ListPhoneNumbersSummary is the V2 list shape of a phone number.

type ListPhoneNumbersV2Input

type ListPhoneNumbersV2Input struct {
	TargetArn               string
	InstanceID              string `json:"InstanceId"`
	PhoneNumberPrefix       string
	NextToken               string
	PhoneNumberCountryCodes []string
	PhoneNumberTypes        []string
	MaxResults              int32
}

ListPhoneNumbersV2Input is the ListPhoneNumbersV2 request.

type ListTaskTemplatesInput

type ListTaskTemplatesInput struct {
	Name      string `json:"-" query:"name"`
	Status    string `json:"-" query:"status"`
	NextToken string `json:"-" query:"nextToken"`

	MaxResults int32 `json:"-" query:"maxResults"`
	// contains filtered or unexported fields
}

ListTaskTemplatesInput holds the ListTaskTemplates query.

type ListTestCaseExecutionRecordsInput

type ListTestCaseExecutionRecordsInput struct {
	Status     string `json:"-" query:"status"`
	NextToken  string `json:"-" query:"nextToken"`
	MaxResults int32  `json:"-" query:"maxResults"`
	// contains filtered or unexported fields
}

ListTestCaseExecutionRecordsInput is the ListTestCaseExecutionRecords request.

type ListTestCaseExecutionsInput

type ListTestCaseExecutionsInput struct {
	TestCaseID   string `json:"-" query:"testCaseId"`
	TestCaseName string `json:"-" query:"testCaseName"`
	Status       string `json:"-" query:"status"`
	NextToken    string `json:"-" query:"nextToken"`
	InstanceID   string `json:"-"                      path:"InstanceId"`
	StartTime    int64  `json:"-" query:"startTime"`
	EndTime      int64  `json:"-" query:"endTime"`
	MaxResults   int32  `json:"-" query:"maxResults"`
}

ListTestCaseExecutionsInput is the ListTestCaseExecutions request.

type ListWorkspacePagesInput

type ListWorkspacePagesInput struct {
	NextToken string `json:"-" query:"nextToken"`

	MaxResults int32 `json:"-" query:"maxResults"`
	// contains filtered or unexported fields
}

ListWorkspacePagesInput is the ListWorkspacePages request.

type Mailer

type Mailer interface {
	SendEmail(ctx context.Context, m EmailMessage) error
}

Mailer delivers outbound Connect emails, wired to SES at startup.

type ManualAssignmentQueueSummary

type ManualAssignmentQueueSummary struct {
	Channel   string `json:"Channel"`
	QueueArn  string `json:"QueueArn"`
	QueueID   string `json:"QueueId"`
	QueueName string `json:"QueueName"`
}

ManualAssignmentQueueSummary is the list shape of a manual-assignment queue config.

type ManualQueuesOut

type ManualQueuesOut struct {
	Stamp
	NextToken string                         `json:"NextToken,omitempty"`
	Queues    []ManualAssignmentQueueSummary `json:"RoutingProfileManualAssignmentQueueConfigSummaryList"`
}

ManualQueuesOut is the manual queues response.

type MediaConcurrency

type MediaConcurrency struct {
	Channel                   string         `json:"Channel"`
	CrossChannelBehavior      jsontext.Value `json:"CrossChannelBehavior,omitempty"`
	WorkloadTypeConcurrencies jsontext.Value `json:"WorkloadTypeConcurrencies,omitempty"`
	Concurrency               int32          `json:"Concurrency"`
}

MediaConcurrency limits concurrent contacts of one channel.

type MediaItem

type MediaItem struct {
	Source string `json:"Source"`
	Type   string `json:"Type"`
}

MediaItem is a media asset of a workspace.

type MetricCalculation

type MetricCalculation struct {
	Calculation           string                 `json:"Calculation"`
	CalculationComponents []CalculationComponent `json:"CalculationComponents"`
}

MetricCalculation is the formula of a custom metric.

type MetricDataV2

type MetricDataV2 struct {
	Metric MetricV2 `json:"Metric"`
	Value  float64  `json:"Value"`
}

MetricDataV2 is one metric value.

type MetricDataV2Out

type MetricDataV2Out struct {
	NextToken     string           `json:"NextToken,omitempty"`
	MetricResults []MetricResultV2 `json:"MetricResults"`
}

MetricDataV2Out is the GetMetricDataV2 response.

type MetricDefinition

type MetricDefinition struct {
	CreatedTime       *awstime.EpochTime `json:"CreatedTime,omitempty"`
	EffectiveTime     *awstime.EpochTime `json:"EffectiveTime,omitempty"`
	MetricCalculation *MetricCalculation `json:"MetricCalculation,omitempty"`
	Tags              map[string]string  `json:"Tags,omitempty"`
	Stamp
	Status                 string   `json:"Status,omitempty"`
	Arn                    string   `json:"Arn"`
	Category               string   `json:"Category"`
	CreationMethod         string   `json:"CreationMethod,omitempty"`
	Description            string   `json:"Description,omitempty"`
	ID                     string   `json:"Id"`
	Name                   string   `json:"Name"`
	PositiveTrendIndicator string   `json:"PositiveTrendIndicator,omitempty"`
	Type                   string   `json:"Type"`
	Unit                   string   `json:"Unit"`
	Groupings              []string `json:"Groupings"`
	Filters                []any    `json:"Filters"`
	SupportsCustomCalc     bool     `json:"SupportsCustomCalculation"`
	SupportsPreaggregate   bool     `json:"SupportsPreaggregateCalculation"`
}

MetricDefinition is a metric definition.

type MetricFilterV2

type MetricFilterV2 struct {
	MetricFilterKey    string   `json:"MetricFilterKey,omitempty"`
	MetricFilterValues []string `json:"MetricFilterValues,omitempty"`
	Negate             bool     `json:"Negate,omitempty"`
}

MetricFilterV2 narrows the contacts of one metric.

type MetricFilters

type MetricFilters struct {
	Queues          []string `json:"Queues"`
	Channels        []string `json:"Channels"`
	RoutingProfiles []string `json:"RoutingProfiles"`
	AgentStatuses   []string `json:"AgentStatuses"`
	Other           []string `json:"-"`
	Unsupported     []string `json:"RoutingStepExpressions"`
	Subtypes        []string `json:"Subtypes"`
	ValidationTests []string `json:"ValidationTestTypes"`
}

MetricFilters narrows metric data; unsupported filters are rejected.

type MetricIDsOut

type MetricIDsOut struct {
	MetricArn string `json:"MetricArn"`
	MetricID  string `json:"MetricId"`
}

MetricIDsOut is a response carrying metric IDs.

type MetricIntervalV2

type MetricIntervalV2 struct {
	StartTime *awstime.EpochTime `json:"StartTime"`
	EndTime   *awstime.EpochTime `json:"EndTime"`
	Interval  string             `json:"Interval"`
}

MetricIntervalV2 is the window of one result.

type MetricResultV2

type MetricResultV2 struct {
	Dimensions     map[string]string `json:"Dimensions,omitempty"`
	MetricInterval *MetricIntervalV2 `json:"MetricInterval"`
	Collections    []MetricDataV2    `json:"Collections"`
}

MetricResultV2 is the metrics of one group in one interval.

type MetricSummary

type MetricSummary struct {
	Stamp
	Arn    string `json:"Arn"`
	ID     string `json:"Id"`
	Name   string `json:"Name"`
	Status string `json:"Status"`
	Type   string `json:"Type"`
}

MetricSummary is the list shape of a metric definition.

type MetricV2

type MetricV2 struct {
	Name          string           `json:"Name,omitempty"`
	MetricID      string           `json:"MetricId,omitempty"`
	Threshold     []ThresholdV2    `json:"Threshold,omitempty"`
	MetricFilters []MetricFilterV2 `json:"MetricFilters,omitempty"`
}

MetricV2 names one metric of GetMetricDataV2.

type MonitorContactInput

type MonitorContactInput struct {
	ContactID                  string `json:"ContactId"`
	InstanceID                 string `json:"InstanceId"`
	UserID                     string `json:"UserId"`
	ClientToken                string
	AllowedMonitorCapabilities []string
}

MonitorContactInput is the MonitorContact request.

type MonitorContactOut

type MonitorContactOut struct {
	ContactArn string `json:"ContactArn"`
	ContactID  string `json:"ContactId"`
}

MonitorContactOut is the MonitorContact response.

type NameCriteria

type NameCriteria struct {
	MatchType  string   `json:"MatchType"`
	SearchText []string `json:"SearchText"`
}

NameCriteria matches contact names.

type Notification

type Notification struct {
	LastModifiedTime   *awstime.EpochTime `json:"LastModifiedTime"`
	CreatedAt          *awstime.EpochTime `json:"CreatedAt,omitempty"`
	ExpiresAt          *awstime.EpochTime `json:"ExpiresAt,omitempty"`
	Content            map[string]string  `json:"Content"`
	Tags               map[string]string  `json:"Tags,omitempty"`
	Arn                string             `json:"Arn"`
	ID                 string             `json:"Id"`
	LastModifiedRegion string             `json:"LastModifiedRegion,omitempty"`
	Priority           string             `json:"Priority,omitempty"`
	Recipients         []string           `json:"Recipients"`
}

Notification is a message shown to Connect users.

type NotificationCreated

type NotificationCreated struct {
	NotificationID  string `json:"NotificationId"`
	NotificationArn string `json:"NotificationArn"`
}

NotificationCreated is the CreateNotification response.

type NotificationSearchSummary

type NotificationSearchSummary struct {
	InstanceID string `json:"InstanceId"`
	Notification
}

NotificationSearchSummary is a Notification as search returns it.

type ObjectReader

type ObjectReader interface {
	ReadObject(ctx context.Context, bucket, key string) ([]byte, error)
}

ObjectReader reads S3 objects; resolvers that implement it let CreateAttachedFile copy from S3.

type OutboundCallerConfig

type OutboundCallerConfig struct {
	OutboundCallerIDName     string `json:"OutboundCallerIdName,omitempty"`
	OutboundCallerIDNumberID string `json:"OutboundCallerIdNumberId,omitempty"`
	OutboundFlowID           string `json:"OutboundFlowId,omitempty"`
}

OutboundCallerConfig sets caller ID for outbound calls from a queue.

type OutboundEmailConfig

type OutboundEmailConfig struct {
	OutboundEmailAddressID string `json:"OutboundEmailAddressId,omitempty"`
}

OutboundEmailConfig sets the from address of outbound email from a queue.

type OutboundRecipients

type OutboundRecipients struct {
	CcEmailAddresses []EmailAddressInfo
}

OutboundRecipients holds the Cc recipients of an outbound email.

type OverrideConfig

type OverrideConfig struct {
	Day       string    `json:"Day"`
	EndTime   TimeSlice `json:"EndTime"`
	StartTime TimeSlice `json:"StartTime"`
}

OverrideConfig is one day of an override.

type OverrideListOut

type OverrideListOut struct {
	LastModifiedTime             *awstime.EpochTime         `json:"LastModifiedTime,omitempty"`
	NextToken                    string                     `json:"NextToken,omitempty"`
	LastModifiedRegion           string                     `json:"LastModifiedRegion,omitempty"`
	HoursOfOperationOverrideList []HoursOfOperationOverride `json:"HoursOfOperationOverrideList"`
}

OverrideListOut is the ListHoursOfOperationOverrides response.

type OverrideOut

type OverrideOut struct {
	ID string `json:"HoursOfOperationOverrideId"`
}

OverrideOut is the wire shape of an hours of operation override.

type ParentHoursConfig

type ParentHoursConfig struct {
	HoursOfOperationID string `json:"HoursOfOperationId"`
}

ParentHoursConfig references a parent schedule.

type ParentHoursInput

type ParentHoursInput struct {
	HoursID string `json:"-"                         path:"HoursOfOperationId"`

	ParentHoursOfOperationConfigs []ParentHoursConfig
	ParentHoursOfOperationIDs     []string `json:"ParentHoursOfOperationIds"`
	// contains filtered or unexported fields
}

ParentHoursInput is the Associate/DisassociateHoursOfOperations request.

type ParticipantDetails

type ParticipantDetails struct {
	DisplayName string `json:"DisplayName"`
}

ParticipantDetails names a chat participant.

type ParticipantDetailsToAdd

type ParticipantDetailsToAdd struct {
	DisplayName             string
	ParticipantRole         string
	ParticipantCapabilities jsontext.Value
}

ParticipantDetailsToAdd describes the participant CreateParticipant adds.

type PauseContactInput

type PauseContactInput struct {
	ContactID     string `json:"ContactId"`
	InstanceID    string `json:"InstanceId"`
	ContactFlowID string `json:"ContactFlowId"`
}

PauseContactInput is the PauseContact and ResumeContact request.

type PersistentAssociationOut

type PersistentAssociationOut struct {
	ContinuedFromContactID string `json:"ContinuedFromContactId"`
}

PersistentAssociationOut is the persistent contact association response.

type PersistentChat

type PersistentChat struct {
	RehydrationType string `json:"RehydrationType"`
	SourceContactID string `json:"SourceContactId"`
}

PersistentChat continues an earlier chat.

type PhoneFlowInput

type PhoneFlowInput struct {
	ContactFlowID   string `json:"ContactFlowId"`
	InstanceID      string `json:"InstanceId"`
	InstanceIDQuery string `json:"-"             query:"instanceId"`
	PhoneNumberID   string `json:"-"                                path:"PhoneNumberId"`
}

PhoneFlowInput is the (Dis)AssociatePhoneNumberContactFlow request.

type PhoneNumberStatus

type PhoneNumberStatus struct {
	Message string `json:"Message,omitempty"`
	Status  string `json:"Status"`
}

PhoneNumberStatus is the claim workflow state of a phone number.

type PhoneNumberSummary

type PhoneNumberSummary struct {
	Arn                    string `json:"Arn"`
	ID                     string `json:"Id"`
	PhoneNumber            string `json:"PhoneNumber"`
	PhoneNumberCountryCode string `json:"PhoneNumberCountryCode"`
	PhoneNumberType        string `json:"PhoneNumberType"`
}

PhoneNumberSummary is the instance-scoped list shape of a phone number.

type PredefinedAttribute

type PredefinedAttribute struct {
	Stamp
	AttributeConfiguration *PredefinedAttributeConfiguration `json:"AttributeConfiguration,omitempty"`
	Values                 *PredefinedAttributeValues        `json:"Values,omitempty"`
	Name                   string                            `json:"Name"`
	Purposes               []string                          `json:"Purposes,omitempty"`
}

PredefinedAttribute is a Connect predefined attribute.

type PredefinedAttributeConfiguration

type PredefinedAttributeConfiguration struct {
	EnableValueValidationOnAssociation bool `json:"EnableValueValidationOnAssociation"`
	IsReadOnly                         bool `json:"IsReadOnly"`
}

PredefinedAttributeConfiguration is the stored configuration.

type PredefinedAttributeSummary

type PredefinedAttributeSummary struct {
	Stamp
	Name string `json:"Name"`
}

PredefinedAttributeSummary is the list shape.

type PredefinedAttributeValues

type PredefinedAttributeValues struct {
	StringList []string `json:"StringList"`
}

PredefinedAttributeValues is the union of value lists; only StringList exists.

type PrimaryAttributeValueFilter

type PrimaryAttributeValueFilter struct {
	AttributeName string   `json:"AttributeName"`
	Values        []string `json:"Values"`
}

PrimaryAttributeValueFilter selects records by the values of one primary attribute.

type PrimaryValue

type PrimaryValue struct {
	AttributeName string `json:"AttributeName"`
	Value         string `json:"Value"`
}

PrimaryValue names a primary attribute and the value that identifies a record by it.

type PrimaryValueResponse

type PrimaryValueResponse struct {
	AttributeID   string `json:"AttributeId"`
	AttributeName string `json:"AttributeName"`
	Value         string `json:"Value"`
}

PrimaryValueResponse is a primary value with its attribute identifier.

type ProficienciesInput

type ProficienciesInput struct {
	UserID    string `json:"-" path:"UserId"`
	NextToken string `json:"-"               query:"nextToken"`

	UserProficiencies []UserProficiency
	MaxResults        int32 `json:"-"               query:"maxResults"`
	// contains filtered or unexported fields
}

ProficienciesInput is the Associate/Update/List/Disassociate proficiencies request.

type ProficienciesOut

type ProficienciesOut struct {
	LastModifiedTime    *awstime.EpochTime `json:"LastModifiedTime,omitempty"`
	NextToken           string             `json:"NextToken,omitempty"`
	LastModifiedRegion  string             `json:"LastModifiedRegion,omitempty"`
	UserProficiencyList []UserProficiency  `json:"UserProficiencyList"`
}

ProficienciesOut is the ListUserProficiencies response.

type Prompt

type Prompt struct {
	Stamp
	Tags        map[string]string `json:"Tags,omitempty"`
	Description string            `json:"Description,omitempty"`
	Name        string            `json:"Name"`
	PromptARN   string            `json:"PromptARN"`
	PromptID    string            `json:"PromptId"`
}

Prompt is an audio prompt.

type PromptFileOut

type PromptFileOut struct {
	LastModifiedTime   *awstime.EpochTime `json:"LastModifiedTime,omitempty"`
	LastModifiedRegion string             `json:"LastModifiedRegion,omitempty"`
	PromptPresignedURL string             `json:"PromptPresignedUrl"`
}

PromptFileOut is the GetPromptFile response.

type Provider

type Provider struct{}

Provider implements service.Provider.

func (*Provider) Init

Init builds the backend and handler.

func (*Provider) Name

func (p *Provider) Name() string

Name returns the provider name.

type PushRegistrationCreated

type PushRegistrationCreated struct {
	RegistrationID string `json:"RegistrationId"`
}

PushRegistrationCreated is the push registration response.

type Queue

type Queue struct {
	Stamp
	OutboundCallerConfig *OutboundCallerConfig `json:"OutboundCallerConfig,omitempty"`
	OutboundEmailConfig  *OutboundEmailConfig  `json:"OutboundEmailConfig,omitempty"`
	MaxContacts          *int32                `json:"MaxContacts,omitempty"`
	Tags                 map[string]string     `json:"Tags,omitempty"`
	Description          string                `json:"Description,omitempty"`
	HoursOfOperationID   string                `json:"HoursOfOperationId,omitempty"`
	Name                 string                `json:"Name,omitempty"`
	QueueArn             string                `json:"QueueArn"`
	QueueID              string                `json:"QueueId"`
	Status               string                `json:"Status"`
}

Queue holds contacts waiting for agents.

type QueueEmailAddressesInput

type QueueEmailAddressesInput struct {
	QueueID string `json:"-"                path:"QueueId"`

	EmailAddressesConfig []struct {
		EmailAddressID string `json:"EmailAddressId"`
	}
	EmailAddressesID []string `json:"EmailAddressesId"`
	// contains filtered or unexported fields
}

QueueEmailAddressesInput is the (Dis)AssociateQueueEmailAddresses request.

type QueueReference

type QueueReference struct {
	QueueID string `json:"QueueId"`
	Channel string `json:"Channel"`
}

QueueReference names a queue and channel in a routing profile.

type QueueSummary

type QueueSummary struct {
	Stamp
	Arn       string `json:"Arn"`
	ID        string `json:"Id"`
	Name      string `json:"Name,omitempty"`
	QueueType string `json:"QueueType"`
}

QueueSummary is the list shape of a Queue.

type QuickConnect

type QuickConnect struct {
	Tags map[string]string `json:"Tags,omitempty"`
	Stamp
	Description        string             `json:"Description,omitempty"`
	Name               string             `json:"Name"`
	QuickConnectARN    string             `json:"QuickConnectARN"`
	QuickConnectID     string             `json:"QuickConnectId"`
	QuickConnectConfig QuickConnectConfig `json:"QuickConnectConfig"`
}

QuickConnect is a saved transfer destination.

type QuickConnectConfig

type QuickConnectConfig struct {
	PhoneConfig *struct {
		PhoneNumber string `json:"PhoneNumber"`
	} `json:"PhoneConfig,omitempty"`
	QueueConfig *struct {
		ContactFlowID string `json:"ContactFlowId"`
		QueueID       string `json:"QueueId"`
	} `json:"QueueConfig,omitempty"`
	UserConfig *struct {
		ContactFlowID string `json:"ContactFlowId"`
		UserID        string `json:"UserId"`
	} `json:"UserConfig,omitempty"`
	QuickConnectType string         `json:"QuickConnectType"`
	FlowConfig       jsontext.Value `json:"FlowConfig,omitempty"`
}

QuickConnectConfig is what a quick connect transfers to.

type QuickConnectIDsInput

type QuickConnectIDsInput struct {
	QueueID string `json:"-"               path:"QueueId"`

	QuickConnectIDs []string `json:"QuickConnectIds"`
	// contains filtered or unexported fields
}

QuickConnectIDsInput is the (Dis)AssociateQueueQuickConnects request.

type QuickConnectSummary

type QuickConnectSummary struct {
	Stamp
	Arn              string `json:"Arn"`
	ID               string `json:"Id"`
	Name             string `json:"Name"`
	QuickConnectType string `json:"QuickConnectType"`
}

QuickConnectSummary is the list shape of a QuickConnect.

type RawEmail

type RawEmail struct {
	Headers     map[string]string
	Body        string
	ContentType string
	Subject     string
}

RawEmail is the raw body of an email message.

type RecordPrimaryValue

type RecordPrimaryValue struct {
	Stamp
	RecordID      string                 `json:"RecordId"`
	PrimaryValues []PrimaryValueResponse `json:"PrimaryValues"`
}

RecordPrimaryValue is the list shape of a record key.

type RecordingInfo

type RecordingInfo struct {
	StartTimestamp  *awstime.EpochTime `json:"StartTimestamp,omitempty"`
	StopTimestamp   *awstime.EpochTime `json:"StopTimestamp,omitempty"`
	Location        string             `json:"Location,omitempty"`
	MediaStreamType string             `json:"MediaStreamType,omitempty"`
	ParticipantType string             `json:"ParticipantType,omitempty"`
	Status          string             `json:"Status,omitempty"`
	StorageType     string             `json:"StorageType,omitempty"`
}

RecordingInfo describes one recording of a contact.

type RecordingInput

type RecordingInput struct {
	VoiceRecordingConfiguration *struct {
		IvrRecordingTrack   string
		VoiceRecordingTrack string
	}
	ContactID            string `json:"ContactId"`
	InitialContactID     string `json:"InitialContactId"`
	InstanceID           string `json:"InstanceId"`
	ContactRecordingType string
}

RecordingInput is the request of the contact recording operations.

type RecurrenceConfig

type RecurrenceConfig struct {
	RecurrencePattern *RecurrencePattern `json:"RecurrencePattern,omitempty"`
}

RecurrenceConfig wraps the recurrence pattern.

type RecurrencePattern

type RecurrencePattern struct {
	Interval            *int32  `json:"Interval,omitempty"`
	Frequency           string  `json:"Frequency,omitempty"`
	ByMonth             []int32 `json:"ByMonth,omitempty"`
	ByMonthDay          []int32 `json:"ByMonthDay,omitempty"`
	ByWeekdayOccurrence []int32 `json:"ByWeekdayOccurrence,omitempty"`
}

RecurrencePattern describes how an override repeats.

type Reference

type Reference struct {
	Arn string `json:"Arn,omitempty"`
	ID  string `json:"Id,omitempty"`
}

Reference names a resource by ID and ARN.

type ReplicateInstanceInput

type ReplicateInstanceInput struct {
	ClientToken   string
	ReplicaAlias  string
	ReplicaRegion string
	// contains filtered or unexported fields
}

ReplicateInstanceInput is the ReplicateInstance request.

type ReplicateInstanceOutput

type ReplicateInstanceOutput struct {
	Arn string `json:"Arn"`
	ID  string `json:"Id"`
}

ReplicateInstanceOutput is the ReplicateInstance response.

type ReplicationConfiguration

type ReplicationConfiguration struct {
	SourceRegion                 string                     `json:"SourceRegion"`
	ReplicationStatusSummaryList []ReplicationStatusSummary `json:"ReplicationStatusSummaryList"`
}

ReplicationConfiguration describes the replication of an instance across Regions.

type ReplicationStatusSummary

type ReplicationStatusSummary struct {
	Region            string `json:"Region"`
	ReplicationStatus string `json:"ReplicationStatus"`
}

ReplicationStatusSummary is the replication state in one Region.

type Resolvers

type Resolvers interface {
	LambdaFunctionExists(ctx context.Context, functionARN string) bool
	BucketExists(ctx context.Context, bucket string) bool
	ObjectExists(ctx context.Context, bucket, key string) bool
}

Resolvers lets Connect validate references to resources of sibling services.

type RoutingCriteria

type RoutingCriteria struct {
	ActivationTimestamp *awstime.EpochTime `json:"ActivationTimestamp,omitempty"`
	Steps               []RoutingStep      `json:"Steps"`
	Index               int32              `json:"Index"`
}

RoutingCriteria is the routing criteria of a contact (types.RoutingCriteria).

type RoutingExpiry

type RoutingExpiry struct {
	ExpiryTimestamp   *awstime.EpochTime `json:"ExpiryTimestamp,omitempty"`
	DurationInSeconds int32              `json:"DurationInSeconds"`
}

RoutingExpiry is the expiry of a routing step.

type RoutingProfile

type RoutingProfile struct {
	Stamp
	Tags                                     map[string]string  `json:"Tags,omitempty"`
	AgentAvailabilityTimer                   string             `json:"AgentAvailabilityTimer,omitempty"`
	DefaultOutboundQueueID                   string             `json:"DefaultOutboundQueueId"`
	Description                              string             `json:"Description,omitempty"`
	InstanceID                               string             `json:"InstanceId"`
	Name                                     string             `json:"Name"`
	RoutingProfileArn                        string             `json:"RoutingProfileArn"`
	RoutingProfileID                         string             `json:"RoutingProfileId"`
	MediaConcurrencies                       []MediaConcurrency `json:"MediaConcurrencies"`
	AssociatedQueueIDs                       []string           `json:"AssociatedQueueIds,omitempty"`
	AssociatedManualAssignmentQueueIDs       []string           `json:"AssociatedManualAssignmentQueueIds,omitempty"`
	NumberOfAssociatedQueues                 int64              `json:"NumberOfAssociatedQueues"`
	NumberOfAssociatedUsers                  int64              `json:"NumberOfAssociatedUsers"`
	NumberOfAssociatedManualAssignmentQueues int64              `json:"NumberOfAssociatedManualAssignmentQueues"`
	IsDefault                                bool               `json:"IsDefault"`
}

RoutingProfile routes contacts to agents.

type RoutingProfileQueueConfig

type RoutingProfileQueueConfig struct {
	QueueReference QueueReference `json:"QueueReference"`
	Delay          int32          `json:"Delay"`
	Priority       int32          `json:"Priority"`
}

RoutingProfileQueueConfig places a queue in a routing profile.

type RoutingProfileQueueConfigSummary

type RoutingProfileQueueConfigSummary struct {
	QueueArn  string `json:"QueueArn"`
	QueueID   string `json:"QueueId"`
	QueueName string `json:"QueueName"`
	Channel   string `json:"Channel"`
	Delay     int32  `json:"Delay"`
	Priority  int32  `json:"Priority"`
}

RoutingProfileQueueConfigSummary is the list shape of a RoutingProfileQueueConfig.

type RoutingStep

type RoutingStep struct {
	Expiry     *RoutingExpiry `json:"Expiry,omitempty"`
	Status     string         `json:"Status"`
	Expression jsontext.Value `json:"Expression,omitempty"`
}

RoutingStep is one step of a contact's routing criteria.

type Rule

type Rule struct {
	CreatedTime          awstime.EpochTime       `json:"CreatedTime"`
	LastUpdatedTime      awstime.EpochTime       `json:"LastUpdatedTime"`
	TriggerEventSource   *RuleTriggerEventSource `json:"TriggerEventSource"`
	Tags                 map[string]string       `json:"Tags,omitempty"`
	Function             string                  `json:"Function"`
	LastUpdatedBy        string                  `json:"LastUpdatedBy"`
	Name                 string                  `json:"Name"`
	PublishStatus        string                  `json:"PublishStatus"`
	RuleArn              string                  `json:"RuleArn"`
	RuleID               string                  `json:"RuleId"`
	Actions              []jsontext.Value        `json:"Actions"`
	PreEvaluationFilters jsontext.Value          `json:"PreEvaluationFilters,omitempty"`
}

Rule is a Connect rule.

type RuleOut

type RuleOut struct {
	RuleArn string `json:"RuleArn"`
	RuleID  string `json:"RuleId"`
}

RuleOut is the wire shape of a rule.

type RuleSummary

type RuleSummary struct {
	CreatedTime     awstime.EpochTime `json:"CreatedTime"`
	LastUpdatedTime awstime.EpochTime `json:"LastUpdatedTime"`
	EventSourceName string            `json:"EventSourceName"`
	Name            string            `json:"Name"`
	PublishStatus   string            `json:"PublishStatus"`
	RuleArn         string            `json:"RuleArn"`
	RuleID          string            `json:"RuleId"`
	ActionSummaries []ActionSummary   `json:"ActionSummaries"`
}

RuleSummary is the list shape of a Rule.

type RuleTriggerEventSource

type RuleTriggerEventSource struct {
	EventSourceName          string `json:"EventSourceName"`
	IntegrationAssociationID string `json:"IntegrationAssociationId,omitempty"`
}

RuleTriggerEventSource is the event a rule reacts to.

type S3Config

type S3Config struct {
	EncryptionConfig *EncryptionConfig `json:"EncryptionConfig,omitempty"`
	BucketName       string            `json:"BucketName"`
	BucketPrefix     string            `json:"BucketPrefix"`
}

S3Config is an S3 storage target.

type SearchAvailablePhoneNumbersInput

type SearchAvailablePhoneNumbersInput struct {
	PhoneNumberCountryCode string
	PhoneNumberType        string
	PhoneNumberPrefix      string
	TargetArn              string
	InstanceID             string `json:"InstanceId"`
	NextToken              string
	MaxResults             int32
}

SearchAvailablePhoneNumbersInput is the SearchAvailablePhoneNumbers request.

type SearchContactsInput

type SearchContactsInput struct {
	Sort *struct {
		FieldName string `json:"FieldName"`
		Order     string `json:"Order"`
	}
	TimeRange      TimeRange
	InstanceID     string `json:"InstanceId"`
	NextToken      string
	SearchCriteria jsontext.Value
	MaxResults     int32
}

SearchContactsInput is the SearchContacts request.

type SearchRequest

type SearchRequest struct {
	InstanceID     string `json:"InstanceId"`
	NextToken      string
	SearchCriteria jsontext.Value
	SearchFilter   jsontext.Value
	ResourceTypes  []string
	MaxResults     int32
}

SearchRequest is the body shared by the Search* operations.

type SearchResult

type SearchResult = map[string]any

SearchResult is the response body of a Search* operation.

type SearchVocabulariesInput

type SearchVocabulariesInput struct {
	LanguageCode   string
	NameStartsWith string
	NextToken      string
	State          string

	MaxResults int32
	// contains filtered or unexported fields
}

SearchVocabulariesInput is the SearchVocabularies request.

type SearchVocabulariesOut

type SearchVocabulariesOut struct {
	NextToken             string              `json:"NextToken,omitempty"`
	VocabularySummaryList []VocabularySummary `json:"VocabularySummaryList"`
}

SearchVocabulariesOut is the SearchVocabularies response body.

type SearchableAttribute

type SearchableAttribute struct {
	Key    string   `json:"Key"`
	Values []string `json:"Values"`
}

SearchableAttribute matches contact attributes by key.

type SearchableAttributes

type SearchableAttributes struct {
	MatchType string                `json:"MatchType"`
	Criteria  []SearchableAttribute `json:"Criteria"`
}

SearchableAttributes combines attribute criteria.

type SecurityKey

type SecurityKey struct {
	CreationTime  awstime.EpochTime `json:"CreationTime"`
	AssociationID string            `json:"AssociationId"`
	Key           string            `json:"Key"`
}

SecurityKey is a public key an instance trusts.

type SecurityListInput

type SecurityListInput struct {
	ProfileID string `json:"-" path:"SecurityProfileId"`
	NextToken string `json:"-"                          query:"nextToken"`

	MaxResults int32 `json:"-"                          query:"maxResults"`
	// contains filtered or unexported fields
}

SecurityListInput is the shared request of the ListSecurityProfile* extras.

type SecurityListOut

type SecurityListOut map[string]any

SecurityListOut is the response of the ListSecurityProfile* extras; the list key varies.

type SecurityProfile

type SecurityProfile struct {
	Stamp
	AllowedAccessControlTags             map[string]string `json:"AllowedAccessControlTags,omitempty"`
	Tags                                 map[string]string `json:"Tags,omitempty"`
	GranularAccessControlConfiguration   jsontext.Value    `json:"GranularAccessControlConfiguration,omitempty"`
	AllowedAccessControlHierarchyGroupID string            `json:"AllowedAccessControlHierarchyGroupId,omitempty"`
	Arn                                  string            `json:"Arn"`
	Description                          string            `json:"Description,omitempty"`
	ID                                   string            `json:"Id"`
	SecurityProfileName                  string            `json:"SecurityProfileName"`
	HierarchyRestrictedResources         []string          `json:"HierarchyRestrictedResources,omitempty"`
	TagRestrictedResources               []string          `json:"TagRestrictedResources,omitempty"`
}

SecurityProfile grants permissions to users.

type SecurityProfileItem

type SecurityProfileItem struct {
	ID string `json:"Id"`
}

SecurityProfileItem is one security profile reference.

type SendOutboundEmailInput

type SendOutboundEmailInput struct {
	DestinationEmailAddress *EmailAddressInfo
	FromEmailAddress        *EmailAddressInfo
	EmailMessage            *EmailContent
	AdditionalRecipients    *OutboundRecipients
	SourceCampaign          *struct {
		CampaignID        string `json:"CampaignId"`
		OutboundRequestID string `json:"OutboundRequestId"`
	}
	InstanceID  string `json:"-" path:"InstanceId"`
	TrafficType string
	ClientToken string
}

SendOutboundEmailInput is the SendOutboundEmail request.

type SendOutboundWebNotificationInput

type SendOutboundWebNotificationInput struct {
	Content *struct {
		Type       string         `json:"Type"`
		ViewArn    string         `json:"ViewArn"`
		Attributes jsontext.Value `json:"Attributes"`
	} `json:"Content"`
	Destination *struct {
		ProfileID string `json:"ProfileId"`
		WidgetID  string `json:"WidgetId"`
	} `json:"Destination"`
	Source *struct {
		SourceCampaign *struct {
			CampaignID        string `json:"CampaignId"`
			OutboundRequestID string `json:"OutboundRequestId"`
		} `json:"SourceCampaign"`
	} `json:"Source"`
	ExpiresAt   awstime.EpochTime `json:"ExpiresAt"`
	BrowserID   string            `json:"BrowserId"`
	ClientToken string            `json:"ClientToken"`
	SessionID   string            `json:"SessionId"`
	// contains filtered or unexported fields
}

SendOutboundWebNotificationInput is the SendOutboundWebNotification request.

type Shares

type Shares interface {
	CreateShare(ctx context.Context, name, targetAccountID, resourceARN string) (string, error)
	DeleteShare(ctx context.Context, shareARN string) error
}

Shares creates and removes the RAM resource shares behind analytics data set associations.

type SignInConfig

type SignInConfig struct {
	Distributions []SignInDistribution `json:"Distributions"`
}

SignInConfig is the SignInConfig shape.

type SignInDistribution

type SignInDistribution struct {
	Region  string `json:"Region"`
	Enabled bool   `json:"Enabled"`
}

SignInDistribution toggles agent sign-in for a Region.

type Stamp

type Stamp struct {
	LastModifiedTime   *awstime.EpochTime `json:"LastModifiedTime,omitempty"`
	LastModifiedRegion string             `json:"LastModifiedRegion,omitempty"`
}

Stamp is the LastModified pair most Connect resources carry.

type StartAttachedFileUploadInput

type StartAttachedFileUploadInput struct {
	CreatedBy             *CreatedByInfo
	Tags                  map[string]string
	ClientToken           string
	FileName              string
	FileUseCaseType       string
	AssociatedResourceArn string `json:"-"                  query:"associatedResourceArn"`

	FileSizeInBytes    int64
	URLExpiryInSeconds int32 `json:"UrlExpiryInSeconds"`
	// contains filtered or unexported fields
}

StartAttachedFileUploadInput is the StartAttachedFileUpload request.

type StartChatContactInput

type StartChatContactInput struct {
	ParticipantDetails    *ParticipantDetails
	InitialMessage        *ChatMessage
	PersistentChat        *PersistentChat
	Attributes            map[string]string
	ChatDurationInMinutes *int32
	InstanceID            string `json:"InstanceId"`
	ContactFlowID         string `json:"ContactFlowId"`
	CustomerID            string `json:"CustomerId"`
	RelatedContactID      string `json:"RelatedContactId"`
	ClientToken           string
	SegmentAttributes     jsontext.Value
}

StartChatContactInput is the StartChatContact request.

type StartContactEvaluationInput

type StartContactEvaluationInput struct {
	AutoEvaluationConfiguration *struct {
		Enabled bool `json:"Enabled"`
	}
	Tags             map[string]string
	ContactID        string `json:"ContactId"`
	EvaluationFormID string `json:"EvaluationFormId"`
	ClientToken      string
	// contains filtered or unexported fields
}

StartContactEvaluationInput is the StartContactEvaluation request.

type StartContactMediaProcessingInput

type StartContactMediaProcessingInput struct {
	ContactID    string `json:"ContactId"`
	InstanceID   string `json:"InstanceId"`
	ProcessorArn string
	FailureMode  string
}

StartContactMediaProcessingInput is the StartContactMediaProcessing request.

type StartContactStreamingInput

type StartContactStreamingInput struct {
	ChatStreamingConfiguration *struct{ StreamingEndpointArn string }
	ContactID                  string `json:"ContactId"`
	InstanceID                 string `json:"InstanceId"`
	ClientToken                string
}

StartContactStreamingInput is the StartContactStreaming request.

type StartConversationalAnalyticsJobInput

type StartConversationalAnalyticsJobInput struct {
	AnalyticsConfiguration jsontext.Value `json:"AnalyticsConfiguration"`
	ClientToken            string         `json:"ClientToken"`
	ContactID              string         `json:"-"                      path:"ContactId"`

	AnalyticsModes []string `json:"AnalyticsModes"`
	// contains filtered or unexported fields
}

StartConversationalAnalyticsJobInput is the StartContactConversationalAnalyticsJob request.

type StartEmailContactInput

type StartEmailContactInput struct {
	FromEmailAddress        *EmailAddressInfo
	EmailMessage            *EmailContent
	AdditionalRecipients    *InboundRecipients
	Attributes              map[string]string
	ClientToken             string
	DestinationEmailAddress string
	InstanceID              string `json:"InstanceId"`
	ContactFlowID           string `json:"ContactFlowId"`
	Description             string
	Name                    string
	RelatedContactID        string `json:"RelatedContactId"`
	SegmentAttributes       jsontext.Value
	Attachments             []EmailAttachment
	References              jsontext.Value
}

StartEmailContactInput is the StartEmailContact request.

type StartExecutionOut

type StartExecutionOut struct {
	Status              string `json:"Status"`
	TestCaseExecutionID string `json:"TestCaseExecutionId"`
	TestCaseID          string `json:"TestCaseId"`
}

StartExecutionOut is the StartTestCaseExecution response.

type StartOutboundChatContactInput

type StartOutboundChatContactInput struct {
	SourceEndpoint                 *EndpointInfo
	DestinationEndpoint            *EndpointInfo
	ParticipantDetails             *ParticipantDetails
	InitialSystemMessage           *ChatMessage
	InitialTemplatedSystemMessage  jsontext.Value
	ChatDurationInMinutes          *int32
	SegmentAttributes              map[string]jsontext.Value
	Attributes                     map[string]string
	InstanceID                     string `json:"InstanceId"`
	ContactFlowID                  string `json:"ContactFlowId"`
	RelatedContactID               string `json:"RelatedContactId"`
	ClientToken                    string
	SupportedMessagingContentTypes []string
}

StartOutboundChatContactInput is the StartOutboundChatContact request.

type StartOutboundEmailContactInput

type StartOutboundEmailContactInput struct {
	DestinationEmailAddress *EmailAddressInfo
	FromEmailAddress        *EmailAddressInfo
	EmailMessage            *EmailContent
	AdditionalRecipients    *OutboundRecipients
	ContactID               string `json:"ContactId"`
	InstanceID              string `json:"InstanceId"`
	ClientToken             string
}

StartOutboundEmailContactInput is the StartOutboundEmailContact request.

type StartOutboundVoiceContactInput

type StartOutboundVoiceContactInput struct {
	RingTimeoutInSeconds   *int32
	Attributes             map[string]string
	DestinationPhoneNumber string
	InstanceID             string `json:"InstanceId"`
	ContactFlowID          string `json:"ContactFlowId"`
	SourcePhoneNumber      string
	QueueID                string `json:"QueueId"`
	CampaignID             string `json:"CampaignId"`
	Name                   string
	Description            string
	RelatedContactID       string `json:"RelatedContactId"`
	ClientToken            string
	OutboundStrategy       jsontext.Value
	References             jsontext.Value
}

StartOutboundVoiceContactInput is the StartOutboundVoiceContact request.

type StartStreamingOut

type StartStreamingOut struct {
	StreamingID string `json:"StreamingId"`
}

StartStreamingOut is the StartContactStreaming response.

type StartTaskContactInput

type StartTaskContactInput struct {
	ScheduledTime     *awstime.EpochTime
	Attributes        map[string]string
	PreviousContactID string `json:"PreviousContactId"`
	InstanceID        string `json:"InstanceId"`
	Name              string
	Description       string
	ContactFlowID     string `json:"ContactFlowId"`
	RelatedContactID  string `json:"RelatedContactId"`
	QuickConnectID    string `json:"QuickConnectId"`
	TaskTemplateID    string `json:"TaskTemplateId"`
	ClientToken       string
	SegmentAttributes jsontext.Value
	Attachments       jsontext.Value
	References        jsontext.Value
}

StartTaskContactInput is the StartTaskContact request.

type StartTestCaseExecutionInput

type StartTestCaseExecutionInput struct {
	ClientToken string
	TestCaseID  string `json:"-" path:"TestCaseId"`
	InstanceID  string `json:"-" path:"InstanceId"`
}

StartTestCaseExecutionInput is the StartTestCaseExecution request.

type StopContactMediaProcessingInput

type StopContactMediaProcessingInput struct {
	ContactID  string `json:"ContactId"`
	InstanceID string `json:"InstanceId"`
}

StopContactMediaProcessingInput is the StopContactMediaProcessing request.

type StopContactStreamingInput

type StopContactStreamingInput struct {
	ContactID   string `json:"ContactId"`
	InstanceID  string `json:"InstanceId"`
	StreamingID string `json:"StreamingId"`
}

StopContactStreamingInput is the StopContactStreaming request.

type StopTestCaseExecutionInput

type StopTestCaseExecutionInput struct {
	ClientToken string
	// contains filtered or unexported fields
}

StopTestCaseExecutionInput is the StopTestCaseExecution request.

type StorageAssociation

type StorageAssociation struct {
	InstanceStorageConfig
	ResourceType string `json:"ResourceType"`
}

StorageAssociation is a storage config together with its resource type.

type SubmitContactEvaluationInput

type SubmitContactEvaluationInput struct {
	Answers     map[string]EvaluationAnswer
	Notes       map[string]EvaluationNote
	SubmittedBy *EvaluatorUser
	// contains filtered or unexported fields
}

SubmitContactEvaluationInput is the SubmitContactEvaluation request.

type SuccessfulRequest

type SuccessfulRequest struct {
	ContactID         string `json:"ContactId"`
	RequestIdentifier string `json:"RequestIdentifier,omitempty"`
}

SuccessfulRequest is a BatchPutContact item that created a contact.

type Summary

type Summary struct {
	Stamp
	Arn  string `json:"Arn"`
	ID   string `json:"Id"`
	Name string `json:"Name"`
}

Summary is the list shape shared by most resources.

type TDGRequest

type TDGRequest struct {
	Tags            map[string]string
	TelephonyConfig *DistributionConfig
	AgentConfig     *DistributionConfig
	SignInConfig    *SignInConfig
	InstanceID      string `json:"InstanceId"`
	Name            string
	Description     string
	ClientToken     string
	UserID          string `json:"UserId"`
	GroupID         string `json:"-"          path:"TrafficDistributionGroupId"`
	ID              string `json:"-"          path:"Id"`
	QueryUserID     string `json:"-"                                            query:"UserId"`
	QueryInstanceID string `json:"-"                                            query:"InstanceId"`
	ListInstanceID  string `json:"-"                                            query:"instanceId"`
	NextToken       string `json:"-"                                            query:"nextToken"`
	MaxResults      int32  `json:"-"                                            query:"maxResults"`
}

TDGRequest carries every traffic distribution group request.

type TagSet

type TagSet struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

TagSet is one distinct tag found by SearchResourceTags.

type TaggedEntry

type TaggedEntry struct {
	Tags map[string]string
	ARN  string
}

TaggedEntry is one taggable resource, for the Resource Groups Tagging API bridge.

type TaskTemplate

type TaskTemplate struct {
	CreatedTime      awstime.EpochTime        `json:"CreatedTime"`
	LastModifiedTime awstime.EpochTime        `json:"LastModifiedTime"`
	Constraints      *TaskTemplateConstraints `json:"Constraints,omitempty"`
	Defaults         *TaskTemplateDefaults    `json:"Defaults,omitempty"`
	Tags             map[string]string        `json:"Tags,omitempty"`
	Arn              string                   `json:"Arn"`
	ContactFlowID    string                   `json:"ContactFlowId,omitempty"`
	Description      string                   `json:"Description,omitempty"`
	ID               string                   `json:"Id"`
	InstanceID       string                   `json:"InstanceId"`
	Name             string                   `json:"Name"`
	SelfAssignFlowID string                   `json:"SelfAssignFlowId,omitempty"`
	Status           string                   `json:"Status"`
	Fields           []TaskTemplateField      `json:"Fields"`
}

TaskTemplate is the GetTaskTemplate response.

type TaskTemplateConstraints

type TaskTemplateConstraints struct {
	RequiredFields  []TaskTemplateFieldRef `json:"RequiredFields,omitempty"`
	ReadOnlyFields  []TaskTemplateFieldRef `json:"ReadOnlyFields,omitempty"`
	InvisibleFields []TaskTemplateFieldRef `json:"InvisibleFields,omitempty"`
}

TaskTemplateConstraints restricts fields of a task template.

type TaskTemplateDefaultValue

type TaskTemplateDefaultValue struct {
	ID           TaskTemplateFieldID `json:"Id"`
	DefaultValue string              `json:"DefaultValue"`
}

TaskTemplateDefaultValue is a default for one field.

type TaskTemplateDefaults

type TaskTemplateDefaults struct {
	DefaultFieldValues []TaskTemplateDefaultValue `json:"DefaultFieldValues,omitempty"`
}

TaskTemplateDefaults holds field defaults.

type TaskTemplateField

type TaskTemplateField struct {
	ID                  TaskTemplateFieldID `json:"Id"`
	Description         string              `json:"Description,omitempty"`
	Type                string              `json:"Type,omitempty"`
	SingleSelectOptions []string            `json:"SingleSelectOptions,omitempty"`
}

TaskTemplateField is one field of a task template.

type TaskTemplateFieldID

type TaskTemplateFieldID struct {
	Name string `json:"Name"`
}

TaskTemplateFieldID names a template field.

type TaskTemplateFieldRef

type TaskTemplateFieldRef struct {
	ID TaskTemplateFieldID `json:"Id"`
}

TaskTemplateFieldRef references a field in a constraint.

type TaskTemplateInfo

type TaskTemplateInfo struct {
	Arn  string `json:"Arn"`
	Name string `json:"Name"`
}

TaskTemplateInfo names the task template a task contact was created from.

type TaskTemplateMetadata

type TaskTemplateMetadata struct {
	CreatedTime      awstime.EpochTime `json:"CreatedTime"`
	LastModifiedTime awstime.EpochTime `json:"LastModifiedTime"`
	Arn              string            `json:"Arn"`
	Description      string            `json:"Description,omitempty"`
	ID               string            `json:"Id"`
	Name             string            `json:"Name"`
	Status           string            `json:"Status"`
}

TaskTemplateMetadata is the list shape of a task template.

type TaskTemplateOut

type TaskTemplateOut struct {
	Arn string `json:"Arn"`
	ID  string `json:"Id"`
}

TaskTemplateOut is the wire shape of a task template.

type TestCase

type TestCase struct {
	LastModifiedTime   *awstime.EpochTime  `json:"LastModifiedTime"`
	EntryPoint         *TestCaseEntryPoint `json:"EntryPoint,omitempty"`
	Tags               map[string]string   `json:"Tags,omitempty"`
	Arn                string              `json:"Arn"`
	Content            string              `json:"Content"`
	Description        string              `json:"Description,omitempty"`
	ID                 string              `json:"Id"`
	InitializationData string              `json:"InitializationData,omitempty"`
	LastModifiedRegion string              `json:"LastModifiedRegion"`
	Name               string              `json:"Name"`
	Status             string              `json:"Status"`
	TestCaseSha256     string              `json:"TestCaseSha256"`
}

TestCase is a stored test case version.

type TestCaseCreated

type TestCaseCreated struct {
	TestCaseID  string `json:"TestCaseId"`
	TestCaseArn string `json:"TestCaseArn"`
}

TestCaseCreated is the CreateTestCase response.

type TestCaseEntryPoint

type TestCaseEntryPoint struct {
	VoiceCallEntryPointParameters *struct {
		SourcePhoneNumber      string `json:"SourcePhoneNumber,omitempty"`
		DestinationPhoneNumber string `json:"DestinationPhoneNumber,omitempty"`
		FlowID                 string `json:"FlowId,omitempty"`
	} `json:"VoiceCallEntryPointParameters,omitempty"`
	ChatEntryPointParameters *struct {
		FlowID string `json:"FlowId,omitempty"`
	} `json:"ChatEntryPointParameters,omitempty"`
	Type string `json:"Type"`
}

TestCaseEntryPoint is where a test starts.

type TestCaseExecution

type TestCaseExecution struct {
	StartTime               awstime.EpochTime  `json:"StartTime"`
	EndTime                 *awstime.EpochTime `json:"EndTime,omitempty"`
	Tags                    map[string]string  `json:"Tags,omitempty"`
	TestCaseExecutionID     string             `json:"TestCaseExecutionId"`
	TestCaseExecutionStatus string             `json:"TestCaseExecutionStatus"`
	TestCaseID              string             `json:"TestCaseId"`
}

TestCaseExecution is a test case execution (types.TestCaseExecution).

type TestCaseSummary

type TestCaseSummary struct {
	LastModifiedTime   *awstime.EpochTime `json:"LastModifiedTime"`
	Arn                string             `json:"Arn"`
	ID                 string             `json:"Id"`
	LastModifiedRegion string             `json:"LastModifiedRegion"`
	Name               string             `json:"Name"`
	Status             string             `json:"Status"`
}

TestCaseSummary is the list shape of a test case.

type ThresholdV2

type ThresholdV2 struct {
	Comparison     string  `json:"Comparison,omitempty"`
	ThresholdValue float64 `json:"ThresholdValue"`
}

ThresholdV2 is the comparison of a threshold metric.

type TimeRange

type TimeRange struct {
	StartTime *awstime.EpochTime `json:"StartTime"`
	EndTime   *awstime.EpochTime `json:"EndTime"`
	Type      string             `json:"Type"`
}

TimeRange bounds a contact search.

type TimeSlice

type TimeSlice struct {
	Hours   int32 `json:"Hours"`
	Minutes int32 `json:"Minutes"`
}

TimeSlice is an hour and minute of day.

type TrafficDistributionGroup

type TrafficDistributionGroup struct {
	Tags        map[string]string `json:"Tags,omitempty"`
	Arn         string            `json:"Arn"`
	Description string            `json:"Description,omitempty"`
	ID          string            `json:"Id"`
	InstanceArn string            `json:"InstanceArn"`
	Name        string            `json:"Name"`
	Status      string            `json:"Status"`
	IsDefault   bool              `json:"IsDefault"`
}

TrafficDistributionGroup is the described form.

type TrafficDistributionGroupOut

type TrafficDistributionGroupOut struct {
	Arn string `json:"Arn"`
	ID  string `json:"Id"`
}

TrafficDistributionGroupOut is the wire shape of a traffic distribution group.

type TrafficDistributionGroupSummary

type TrafficDistributionGroupSummary struct {
	Arn         string `json:"Arn"`
	ID          string `json:"Id"`
	InstanceArn string `json:"InstanceArn"`
	Name        string `json:"Name"`
	Status      string `json:"Status"`
	IsDefault   bool   `json:"IsDefault"`
}

TrafficDistributionGroupSummary is the list shape.

type TrafficDistributionOut

type TrafficDistributionOut struct {
	Arn             string             `json:"Arn"`
	ID              string             `json:"Id"`
	TelephonyConfig DistributionConfig `json:"TelephonyConfig"`
	AgentConfig     DistributionConfig `json:"AgentConfig"`
	SignInConfig    SignInConfig       `json:"SignInConfig"`
}

TrafficDistributionOut is the GetTrafficDistribution response.

type TransferContactInput

type TransferContactInput struct {
	ClientToken   string
	ContactFlowID string `json:"ContactFlowId"`
	ContactID     string `json:"ContactId"`
	QueueID       string `json:"QueueId"`
	UserID        string `json:"UserId"`
	InstanceID    string `json:"InstanceId"`
}

TransferContactInput is the TransferContact request.

type TransferContactOutput

type TransferContactOutput struct {
	ContactArn string `json:"ContactArn"`
	ContactID  string `json:"ContactId"`
}

TransferContactOutput is the TransferContact response.

type URLMetadata

type URLMetadata struct {
	HeadersToInclude map[string]string `json:"HeadersToInclude,omitempty"`
	URL              string            `json:"Url"`
	URLExpiry        string            `json:"UrlExpiry"`
}

URLMetadata is a pre-signed content URL.

type UpdateAgentStatusInput

type UpdateAgentStatusInput struct {
	DisplayOrder  *int32
	Name          *string
	Description   *string
	State         *string
	AgentStatusID string `json:"-" path:"AgentStatusId"`

	ResetOrderNumber bool
	// contains filtered or unexported fields
}

UpdateAgentStatusInput is the UpdateAgentStatus request.

type UpdateAttachedFilesConfigurationInput

type UpdateAttachedFilesConfigurationInput struct {
	ExtensionConfiguration  *ExtensionConfiguration
	MaximumSizeLimitInBytes *int64
	AttachmentScope         string `json:"-" path:"AttachmentScope"`
	// contains filtered or unexported fields
}

UpdateAttachedFilesConfigurationInput is the UpdateAttachedFilesConfiguration request.

type UpdateAuthenticationProfileInput

type UpdateAuthenticationProfileInput struct {
	Description                      *string
	Name                             *string
	PeriodicSessionDuration          *int32
	SessionInactivityDuration        *int32
	SessionInactivityHandlingEnabled *bool
	AuthenticationProfileID          string `json:"-" path:"AuthenticationProfileId"`

	AllowedIps []string
	BlockedIps []string
	// contains filtered or unexported fields
}

UpdateAuthenticationProfileInput is the UpdateAuthenticationProfile request.

type UpdateContactEvaluationInput

type UpdateContactEvaluationInput struct {
	Answers   map[string]EvaluationAnswer
	Notes     map[string]EvaluationNote
	UpdatedBy *EvaluatorUser
	// contains filtered or unexported fields
}

UpdateContactEvaluationInput is the UpdateContactEvaluation request.

type UpdateContactFlowInput

type UpdateContactFlowInput struct {
	Content          *string
	Name             *string
	Description      *string
	ContactFlowState *string
	FlowID           string `json:"-" path:"ContactFlowId"`
	// contains filtered or unexported fields
}

UpdateContactFlowInput carries the contact flow update requests; each op reads only its own members.

type UpdateContactFlowModuleInput

type UpdateContactFlowModuleInput struct {
	Content     *string
	Settings    *string
	Name        *string
	Description *string
	State       *string
	ModuleID    string `json:"-" path:"ContactFlowModuleId"`
	// contains filtered or unexported fields
}

UpdateContactFlowModuleInput carries the flow module update requests; each op reads only its own members.

type UpdateContactRoutingDataInput

type UpdateContactRoutingDataInput struct {
	QueuePriority              *int64
	QueueTimeAdjustmentSeconds *int32
	RoutingCriteria            *struct {
		Steps []struct {
			Expiry *struct {
				DurationInSeconds *int32
			}
			Expression jsontext.Value
		}
	}
	ContactID  string `json:"-" path:"ContactId"`
	InstanceID string `json:"-" path:"InstanceId"`
}

UpdateContactRoutingDataInput is the UpdateContactRoutingData request.

type UpdateContactScheduleInput

type UpdateContactScheduleInput struct {
	ScheduledTime *awstime.EpochTime
	ContactID     string
	InstanceID    string
}

UpdateContactScheduleInput is the UpdateContactSchedule request.

type UpdateContactTaskTemplateInput

type UpdateContactTaskTemplateInput struct {
	ContactID      string `json:"ContactId"`
	TaskTemplateID string `json:"TaskTemplateId"`
	InstanceID     string `json:"InstanceId"`
}

UpdateContactTaskTemplateInput is the UpdateContactTaskTemplate request.

type UpdateDataTableAttributeInput

type UpdateDataTableAttributeInput struct {
	Validation    *DataTableValidation
	AttributeName string `json:"-" path:"AttributeName"`
	Name          string
	ValueType     string
	Description   string

	Primary bool
	// contains filtered or unexported fields
}

UpdateDataTableAttributeInput is the UpdateDataTableAttribute request; it replaces every property.

type UpdateDataTableMetadataInput

type UpdateDataTableMetadataInput struct {
	Name           *string
	TimeZone       *string
	ValueLockLevel *string
	Description    *string
	// contains filtered or unexported fields
}

UpdateDataTableMetadataInput is the UpdateDataTableMetadata request.

type UpdateDataTablePrimaryValuesInput

type UpdateDataTablePrimaryValuesInput struct {
	LockVersion *DataTableLockVersion

	NewPrimaryValues []PrimaryValue
	PrimaryValues    []PrimaryValue
	// contains filtered or unexported fields
}

UpdateDataTablePrimaryValuesInput is the UpdateDataTablePrimaryValues request.

type UpdateEmailAddressMetadataInput

type UpdateEmailAddressMetadataInput struct {
	Description *string
	DisplayName *string
	// contains filtered or unexported fields
}

UpdateEmailAddressMetadataInput is the UpdateEmailAddressMetadata request.

type UpdateExtractionDefinitionInput

type UpdateExtractionDefinitionInput struct {
	ExtractionConfiguration *ExtractionConfiguration
	Display                 *ExtractionDisplay
	ExtractionDefinitionID  string `json:"-" path:"ExtractionDefinitionId"`
	ClientToken             string
	Name                    string
	// contains filtered or unexported fields
}

UpdateExtractionDefinitionInput is the UpdateExtractionDefinition request.

type UpdateHierarchyGroupNameInput

type UpdateHierarchyGroupNameInput struct {
	Name    string
	GroupID string `json:"-" path:"HierarchyGroupId"`
	// contains filtered or unexported fields
}

UpdateHierarchyGroupNameInput is the UpdateUserHierarchyGroupName request.

type UpdateHierarchyStructureInput

type UpdateHierarchyStructureInput struct {
	HierarchyStructure HierarchyStructureUpdate
	// contains filtered or unexported fields
}

UpdateHierarchyStructureInput is the UpdateUserHierarchyStructure request.

type UpdateHoursOfOperationInput

type UpdateHoursOfOperationInput struct {
	Name        *string
	Description *string
	TimeZone    *string
	HoursID     string `json:"-" path:"HoursOfOperationId"`

	Config []HoursOfOperationConfig
	// contains filtered or unexported fields
}

UpdateHoursOfOperationInput is the UpdateHoursOfOperation request.

type UpdateHoursOfOperationOverrideInput

type UpdateHoursOfOperationOverrideInput struct {
	HoursID    string `json:"-" path:"HoursOfOperationId"`
	OverrideID string `json:"-" path:"HoursOfOperationOverrideId"`
	// contains filtered or unexported fields
}

UpdateHoursOfOperationOverrideInput is the UpdateHoursOfOperationOverride request.

type UpdateMetricContentInput

type UpdateMetricContentInput struct {
	MetricCalculation      *MetricCalculation
	PositiveTrendIndicator string
	Unit                   string
	// contains filtered or unexported fields
}

UpdateMetricContentInput is the UpdateMetricContent request.

type UpdateMetricMetadataInput

type UpdateMetricMetadataInput struct {
	Description *string
	Name        *string
	// contains filtered or unexported fields
}

UpdateMetricMetadataInput is the UpdateMetricMetadata request.

type UpdateNotificationContentInput

type UpdateNotificationContentInput struct {
	Content map[string]string
	// contains filtered or unexported fields
}

UpdateNotificationContentInput is the UpdateNotificationContent request.

type UpdateParticipantRoleConfigInput

type UpdateParticipantRoleConfigInput struct {
	ChannelConfiguration *struct {
		Chat *struct {
			ParticipantTimerConfigList []struct {
				TimerValue *struct {
					ParticipantTimerDurationInMinutes *int32
					ParticipantTimerAction            string
				}
				ParticipantRole string
				TimerType       string
			}
		}
	}
	ContactID  string `json:"-" path:"ContactId"`
	InstanceID string `json:"-" path:"InstanceId"`
}

UpdateParticipantRoleConfigInput is the UpdateParticipantRoleConfig request.

type UpdatePhoneNumberInput

type UpdatePhoneNumberInput struct {
	TargetArn              string
	InstanceID             string `json:"InstanceId"`
	PhoneNumberDescription *string
	ClientToken            string
	PhoneNumberID          string `json:"-"          path:"PhoneNumberId"`
}

UpdatePhoneNumberInput is the UpdatePhoneNumber and UpdatePhoneNumberMetadata request.

type UpdatePredefinedAttributeInput

type UpdatePredefinedAttributeInput struct {
	Name string `json:"-" path:"Name"`
	// contains filtered or unexported fields
}

UpdatePredefinedAttributeInput is the UpdatePredefinedAttribute request.

type UpdatePromptInput

type UpdatePromptInput struct {
	Name        *string
	Description *string
	S3URI       *string `json:"S3Uri"`
	PromptID    string  `json:"-"     path:"PromptId"`
	// contains filtered or unexported fields
}

UpdatePromptInput is the UpdatePrompt request.

type UpdateQueueInput

type UpdateQueueInput struct {
	MaxContacts          *int32
	OutboundCallerConfig *OutboundCallerConfig
	OutboundEmailConfig  *OutboundEmailConfig
	Name                 *string
	Description          *string
	HoursOfOperationID   *string `json:"HoursOfOperationId"`
	Status               *string
	QueueID              string `json:"-"                  path:"QueueId"`
	// contains filtered or unexported fields
}

UpdateQueueInput carries the single-field queue update requests; each op sets only its own members.

type UpdateQuickConnectInput

type UpdateQuickConnectInput struct {
	Name               *string
	Description        *string
	QuickConnectConfig *QuickConnectConfig
	QuickConnectID     string `json:"-" path:"QuickConnectId"`
	// contains filtered or unexported fields
}

UpdateQuickConnectInput is the UpdateQuickConnectName and UpdateQuickConnectConfig request.

type UpdateRoutingProfileInput

type UpdateRoutingProfileInput struct {
	Name                   *string
	Description            *string
	DefaultOutboundQueueID *string `json:"DefaultOutboundQueueId"`
	AgentAvailabilityTimer *string
	ProfileID              string `json:"-"                               path:"RoutingProfileId"`

	MediaConcurrencies     []MediaConcurrency
	QueueConfigs           []RoutingProfileQueueConfig
	ManualAssignmentQueues []RoutingProfileQueueConfig `json:"ManualAssignmentQueueConfigs"`
	QueueReferences        []QueueReference
	ManualReferences       []QueueReference `json:"ManualAssignmentQueueReferences"`
	// contains filtered or unexported fields
}

UpdateRoutingProfileInput carries the routing profile update requests; each op reads only its own members.

type UpdateRuleInput

type UpdateRuleInput struct {
	Name          string
	Function      string
	PublishStatus string
	RuleID        string `json:"-" path:"RuleId"`

	PreEvaluationFilters jsontext.Value
	Actions              []jsontext.Value
	// contains filtered or unexported fields
}

UpdateRuleInput is the UpdateRule request.

type UpdateSecurityProfileInput

type UpdateSecurityProfileInput struct {
	AllowedAccessControlTags             map[string]string
	Description                          *string
	AllowedAccessControlHierarchyGroupID *string `json:"AllowedAccessControlHierarchyGroupId"`
	ProfileID                            string  `json:"-"                                    path:"SecurityProfileId"`

	GranularAccessControlConfiguration jsontext.Value
	AllowedAIAgents                    jsontext.Value
	AllowedFlowModules                 jsontext.Value
	Applications                       jsontext.Value
	HierarchyRestrictedResources       []string
	Permissions                        []string
	TagRestrictedResources             []string
	// contains filtered or unexported fields
}

UpdateSecurityProfileInput is the UpdateSecurityProfile request.

type UpdateTaskTemplateInput

type UpdateTaskTemplateInput struct {
	TemplateID string `json:"-" path:"TaskTemplateId"`
	// contains filtered or unexported fields
}

UpdateTaskTemplateInput is the UpdateTaskTemplate request.

type UpdateTestCaseInput

type UpdateTestCaseInput struct {
	EntryPoint         *TestCaseEntryPoint
	Name               *string
	Description        *string
	Content            *string
	InitializationData *string
	Status             string
	// contains filtered or unexported fields
}

UpdateTestCaseInput is the UpdateTestCase request.

type UpdateUserConfigInput

type UpdateUserConfigInput struct {
	UserID string `json:"-" path:"UserId"`

	AfterContactWorkConfigs     jsontext.Value
	AutoAcceptConfigs           jsontext.Value
	PersistentConnectionConfigs jsontext.Value
	PhoneNumberConfigs          jsontext.Value
	VoiceEnhancementConfigs     jsontext.Value
	// contains filtered or unexported fields
}

UpdateUserConfigInput is the UpdateUserConfig request.

type UpdateUserInput

type UpdateUserInput struct {
	IdentityInfo     *UserIdentityInfo
	PhoneConfig      *UserPhoneConfig
	HierarchyGroupID string `json:"HierarchyGroupId"`
	RoutingProfileID string `json:"RoutingProfileId"`
	AgentStatusID    string `json:"AgentStatusId"`
	UserID           string `json:"-"                  path:"UserId"`

	SecurityProfileIDs []string `json:"SecurityProfileIds"`
	// contains filtered or unexported fields
}

UpdateUserInput carries the user update requests; each op reads only its own members.

type UpdateUserNotificationStatusInput

type UpdateUserNotificationStatusInput struct {
	UserID string `json:"-" path:"UserId"`
	Status string
	// contains filtered or unexported fields
}

UpdateUserNotificationStatusInput is the UpdateUserNotificationStatus request.

type UpdateWorkspaceMetadataInput

type UpdateWorkspaceMetadataInput struct {
	Name        *string
	Description *string
	Title       *string
	// contains filtered or unexported fields
}

UpdateWorkspaceMetadataInput is the UpdateWorkspaceMetadata request.

type UpdateWorkspacePageInput

type UpdateWorkspacePageInput struct {
	Page    string `json:"-" path:"Page"`
	NewPage *string
	// contains filtered or unexported fields
}

UpdateWorkspacePageInput is the UpdateWorkspacePage request.

type UpdateWorkspaceThemeInput

type UpdateWorkspaceThemeInput struct {
	Theme jsontext.Value
	// contains filtered or unexported fields
}

UpdateWorkspaceThemeInput is the UpdateWorkspaceTheme request.

type UpdateWorkspaceVisibilityInput

type UpdateWorkspaceVisibilityInput struct {
	Visibility string
	// contains filtered or unexported fields
}

UpdateWorkspaceVisibilityInput is the UpdateWorkspaceVisibility request.

type UseCase

type UseCase struct {
	UseCaseArn  string `json:"UseCaseArn"`
	UseCaseID   string `json:"UseCaseId"`
	UseCaseType string `json:"UseCaseType"`
}

UseCase is a use case of an integration association.

type User

type User struct {
	Stamp
	IdentityInfo                *UserIdentityInfo `json:"IdentityInfo,omitempty"`
	PhoneConfig                 *UserPhoneConfig  `json:"PhoneConfig,omitempty"`
	Tags                        map[string]string `json:"Tags,omitempty"`
	Arn                         string            `json:"Arn"`
	DirectoryUserID             string            `json:"DirectoryUserId,omitempty"`
	HierarchyGroupID            string            `json:"HierarchyGroupId,omitempty"`
	ID                          string            `json:"Id"`
	RoutingProfileID            string            `json:"RoutingProfileId"`
	Username                    string            `json:"Username"`
	SecurityProfileIDs          []string          `json:"SecurityProfileIds"`
	AfterContactWorkConfigs     jsontext.Value    `json:"AfterContactWorkConfigs,omitempty"`
	AutoAcceptConfigs           jsontext.Value    `json:"AutoAcceptConfigs,omitempty"`
	PersistentConnectionConfigs jsontext.Value    `json:"PersistentConnectionConfigs,omitempty"`
	PhoneNumberConfigs          jsontext.Value    `json:"PhoneNumberConfigs,omitempty"`
	VoiceEnhancementConfigs     jsontext.Value    `json:"VoiceEnhancementConfigs,omitempty"`
}

User is an Amazon Connect agent or administrator.

type UserData

type UserData struct {
	User                    *Reference
	RoutingProfile          *Reference
	Status                  *AgentStatusReference
	HierarchyPath           *hierarchyPathRef
	ActiveSlotsByChannel    map[string]int32
	AvailableSlotsByChannel map[string]int32
	MaxSlotsByChannel       map[string]int32
	Contacts                []AgentContactReference
}

UserData is the real-time view of one agent.

type UserDataFilters

type UserDataFilters struct {
	ContactFilter *struct {
		ContactStates []string `json:"ContactStates"`
	} `json:"ContactFilter"`
	Agents              []string `json:"Agents"`
	Queues              []string `json:"Queues"`
	RoutingProfiles     []string `json:"RoutingProfiles"`
	UserHierarchyGroups []string `json:"UserHierarchyGroups"`
}

UserDataFilters selects the agents of GetCurrentUserData.

type UserIdentityInfo

type UserIdentityInfo struct {
	Email          string `json:"Email,omitempty"`
	FirstName      string `json:"FirstName,omitempty"`
	LastName       string `json:"LastName,omitempty"`
	Mobile         string `json:"Mobile,omitempty"`
	SecondaryEmail string `json:"SecondaryEmail,omitempty"`
}

UserIdentityInfo is a user's name and email.

type UserInfoIn

type UserInfoIn struct {
	UserID string `json:"UserId"`
}

UserInfoIn identifies the user a contact belongs to.

type UserNotificationSummary

type UserNotificationSummary struct {
	CreatedAt          *awstime.EpochTime `json:"CreatedAt,omitempty"`
	ExpiresAt          *awstime.EpochTime `json:"ExpiresAt,omitempty"`
	Content            map[string]string  `json:"Content"`
	InstanceID         string             `json:"InstanceId"`
	NotificationID     string             `json:"NotificationId"`
	NotificationStatus string             `json:"NotificationStatus"`
	Priority           string             `json:"Priority,omitempty"`
	RecipientID        string             `json:"RecipientId"`
	Source             string             `json:"Source"`
}

UserNotificationSummary is a notification as one user sees it.

type UserPhoneConfig

type UserPhoneConfig struct {
	PersistentConnection      *bool  `json:"PersistentConnection,omitempty"`
	DeskPhoneNumber           string `json:"DeskPhoneNumber,omitempty"`
	PhoneType                 string `json:"PhoneType"`
	AfterContactWorkTimeLimit int32  `json:"AfterContactWorkTimeLimit"`
	AutoAccept                bool   `json:"AutoAccept"`
}

UserPhoneConfig is how a user takes calls.

type UserProficiency

type UserProficiency struct {
	AttributeName  string  `json:"AttributeName"`
	AttributeValue string  `json:"AttributeValue"`
	Level          float32 `json:"Level"`
}

UserProficiency is a skill of an agent.

type UserProficiencyDisassociate

type UserProficiencyDisassociate struct {
	AttributeName  string `json:"AttributeName"`
	AttributeValue string `json:"AttributeValue"`
}

UserProficiencyDisassociate names a proficiency to remove.

type UserSummary

type UserSummary struct {
	Stamp
	Arn      string `json:"Arn"`
	ID       string `json:"Id"`
	Username string `json:"Username"`
}

UserSummary is the list shape of a User.

type VersionInput

type VersionInput struct {
	Version                 *int64 `json:"ContactFlowVersion"`
	Description             string
	FlowContentSha256       string
	FlowModuleContentSha256 string
	ParentID                string `json:"-"                  path:"ContactFlowId"`
	ModuleID                string `json:"-"                  path:"ContactFlowModuleId"`
	PathVersion             string `json:"-"                  path:"ContactFlowVersion"`
	ModulePathVersion       string `json:"-"                  path:"ContactFlowModuleVersion"`
	NextToken               string `json:"-"                                                  query:"nextToken"`

	MaxResults int32 `json:"-"                                                  query:"maxResults"`
	// contains filtered or unexported fields
}

VersionInput is the Create/Delete/List version request for flows and modules.

type VersionOut

type VersionOut struct {
	Arn     string `json:"-"`
	Sha     string `json:"-"`
	Version int64  `json:"Version"`
}

VersionOut is the CreateFlowVersion and CreateModuleVersion response.

type VersionSummary

type VersionSummary struct {
	Stamp
	Arn                string `json:"Arn"`
	VersionDescription string `json:"VersionDescription,omitempty"`
	Version            int64  `json:"Version"`
}

VersionSummary is the list shape of a flow version.

type View

type View struct {
	CreatedTime        awstime.EpochTime `json:"CreatedTime"`
	LastModifiedTime   awstime.EpochTime `json:"LastModifiedTime"`
	Content            *ViewContent      `json:"Content,omitempty"`
	Tags               map[string]string `json:"Tags,omitempty"`
	Arn                string            `json:"Arn"`
	Description        string            `json:"Description,omitempty"`
	ID                 string            `json:"Id"`
	Name               string            `json:"Name"`
	Status             string            `json:"Status"`
	Type               string            `json:"Type"`
	VersionDescription string            `json:"VersionDescription,omitempty"`
	ViewContentSha256  string            `json:"ViewContentSha256,omitempty"`
	Version            int32             `json:"Version"`
}

View is a Connect view.

type ViewContent

type ViewContent struct {
	InputSchema string   `json:"InputSchema,omitempty"`
	Template    string   `json:"Template,omitempty"`
	Actions     []string `json:"Actions"`
}

ViewContent is the stored content of a view.

type ViewInputContent

type ViewInputContent struct {
	Template string   `json:"Template"`
	Actions  []string `json:"Actions"`
}

ViewInputContent is the content supplied by a caller.

type ViewRequest

type ViewRequest struct {
	Content            *ViewInputContent
	Name               *string
	Description        *string
	Status             string
	VersionDescription string
	ViewContentSha256  string
	ViewID             string `json:"-" path:"ViewId"`
	PathVersion        string `json:"-" path:"ViewVersion"`
	Type               string `json:"-"                    query:"type"`
	NextToken          string `json:"-"                    query:"nextToken"`

	MaxResults int32 `json:"-"                    query:"maxResults"`
	// contains filtered or unexported fields
}

ViewRequest carries the update, version and list requests of views.

type ViewSummary

type ViewSummary struct {
	Arn         string `json:"Arn"`
	Description string `json:"Description,omitempty"`
	ID          string `json:"Id"`
	Name        string `json:"Name"`
	Status      string `json:"Status"`
	Type        string `json:"Type"`
}

ViewSummary is the list shape of a View.

type ViewVersionSummary

type ViewVersionSummary struct {
	Arn                string `json:"Arn"`
	Description        string `json:"Description,omitempty"`
	ID                 string `json:"Id"`
	Name               string `json:"Name"`
	Type               string `json:"Type"`
	VersionDescription string `json:"VersionDescription,omitempty"`
	Version            int32  `json:"Version"`
}

ViewVersionSummary is the list shape of a published View version.

type Vocabulary

type Vocabulary struct {
	LastModifiedTime awstime.EpochTime `json:"LastModifiedTime"`
	Tags             map[string]string `json:"Tags,omitempty"`
	Arn              string            `json:"Arn"`
	Content          string            `json:"Content,omitempty"`
	FailureReason    string            `json:"FailureReason,omitempty"`
	ID               string            `json:"Id"`
	LanguageCode     string            `json:"LanguageCode"`
	Name             string            `json:"Name"`
	State            string            `json:"State"`
}

Vocabulary is a custom vocabulary.

type VocabularyOut

type VocabularyOut struct {
	State         string `json:"State"`
	VocabularyArn string `json:"VocabularyArn"`
	VocabularyID  string `json:"VocabularyId"`
}

VocabularyOut is the wire shape of a vocabulary.

type VocabularySummary

type VocabularySummary struct {
	LastModifiedTime awstime.EpochTime `json:"LastModifiedTime"`
	Arn              string            `json:"Arn"`
	FailureReason    string            `json:"FailureReason,omitempty"`
	ID               string            `json:"Id"`
	LanguageCode     string            `json:"LanguageCode"`
	Name             string            `json:"Name"`
	State            string            `json:"State"`
}

VocabularySummary is the list shape of a Vocabulary.

type Workspace

type Workspace struct {
	Tags map[string]string `json:"Tags,omitempty"`
	Stamp
	Arn         string         `json:"Arn"`
	ID          string         `json:"Id"`
	Name        string         `json:"Name"`
	Description string         `json:"Description,omitempty"`
	Title       string         `json:"Title,omitempty"`
	Visibility  string         `json:"Visibility"`
	Theme       jsontext.Value `json:"Theme,omitempty"`
}

Workspace is a Connect workspace.

type WorkspaceAssociationInput

type WorkspaceAssociationInput struct {
	ResourceArns []string
	// contains filtered or unexported fields
}

WorkspaceAssociationInput is the (Dis)AssociateWorkspace request.

type WorkspaceAssociationSummary

type WorkspaceAssociationSummary struct {
	ResourceArn  string `json:"ResourceArn"`
	ResourceID   string `json:"ResourceId"`
	ResourceName string `json:"ResourceName"`
	ResourceType string `json:"ResourceType"`
	WorkspaceArn string `json:"WorkspaceArn"`
	WorkspaceID  string `json:"WorkspaceId"`
}

WorkspaceAssociationSummary is the SearchWorkspaceAssociations result shape.

type WorkspaceMediaInput

type WorkspaceMediaInput struct {
	MediaSource string
	MediaType   string
	MediaQuery  string `json:"-" query:"mediaType"`
	// contains filtered or unexported fields
}

WorkspaceMediaInput is the ImportWorkspaceMedia and DeleteWorkspaceMedia request.

type WorkspacePage

type WorkspacePage struct {
	InputData   string `json:"InputData,omitempty"`
	Page        string `json:"Page"`
	ResourceArn string `json:"ResourceArn"`
	Slug        string `json:"Slug,omitempty"`
}

WorkspacePage maps a page of a workspace to a view.

type WorkspaceSearchSummary

type WorkspaceSearchSummary struct {
	Tags        map[string]string `json:"Tags,omitempty"`
	Arn         string            `json:"Arn"`
	CreatedAt   awstime.EpochTime `json:"CreatedAt"`
	Description string            `json:"Description,omitempty"`
	ID          string            `json:"Id"`
	Name        string            `json:"Name"`
	Title       string            `json:"Title,omitempty"`
	Visibility  string            `json:"Visibility"`
}

WorkspaceSearchSummary is the SearchWorkspaces result shape.

type WorkspaceSummary

type WorkspaceSummary struct {
	Stamp
	Arn  string `json:"Arn"`
	ID   string `json:"Id"`
	Name string `json:"Name"`
}

WorkspaceSummary is the list shape of a workspace.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL