Help us shape the future of Go! Take the 2026 Go Developer Survey

connect

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 35 Imported by: 0

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 312 (312 ok)
Known gaps 21
Structural gaps (can't be emulated) 2
Deferred items 0
Resource leaks clean
Known gaps
  • Search*: SearchContactEvaluations SearchMetrics SearchNotifications SearchTestCases are not routed
  • EvaluationForms (contact evaluations and AI form versions): DeleteContactEvaluation DescribeContactEvaluation ListContactEvaluations ListEvaluationFormAIVersions StartContactEvaluation SubmitContactEvaluation UpdateContactEvaluation are not routed
  • TestCases: CreateTestCase DeleteTestCase DescribeTestCase GetTestCaseExecutionSummary ListTestCaseExecutionRecords ListTestCaseExecutions ListTestCases StartTestCaseExecution StopTestCaseExecution UpdateTestCase are not routed
  • Email: SendOutboundEmail StartEmailContact StartOutboundEmailContact are not routed
  • Notifications: CreateNotification CreatePushNotificationRegistration DeleteNotification DeletePushNotificationRegistration DescribeNotification ListNotifications ListUserNotifications SendOutboundWebNotification UpdateNotificationContent UpdateUserNotificationStatus are not routed
  • Metrics definitions: CreateMetric DeleteMetric DescribeMetric GetContactMetrics ListMetrics UpdateMetricContent UpdateMetricMetadata are not routed
  • AttachedFiles: BatchGetAttachedFileMetadata CompleteAttachedFileUpload CreateAttachedFile DeleteAttachedFile DescribeAttachedFilesConfiguration GetAttachedFile GetPromptFile ListAttachedFilesConfigurations StartAttachedFileUpload UpdateAttachedFilesConfiguration are not routed
  • Analytics: AssociateAnalyticsDataSet BatchAssociateAnalyticsDataSet BatchDisassociateAnalyticsDataSet DisassociateAnalyticsDataSet ListAnalyticsDataAssociations ListAnalyticsDataLakeDataSets StartContactConversationalAnalyticsJob are not routed
  • UserProficiencies and contacts of users: DismissUserContact are not routed
  • Contact media and call control: MonitorContact PauseContact ResumeContact ResumeContactRecording StartAssistantContact StartContactMediaProcessing StartContactRecording StartContactStreaming StartScreenSharing StartWebRTCContact StopContactMediaProcessing StopContactRecording StopContactStreaming SuspendContactRecording TransferContact are not routed
  • Contact data and participants: AssociateContactWithUser BatchPutContact CreateAuthCode CreateContact CreateParticipant CreatePersistentContactAssociation DeleteContactData DeleteSession GetFederationToken ListAssociatedContacts ListContactReferences ListRealtimeContactAnalysisSegmentsV2 SendChatIntegrationEvent StartOutboundChatContact UpdateContactRoutingData UpdateContactSchedule UpdateParticipantAuthentication UpdateParticipantRoleConfig are not routed
  • Instance extras: GetCrossRegionRouting ReplicateInstance UpdateCrossRegionRouting are not routed
  • PhoneNumber import: ImportPhoneNumber are not routed
  • Routing profile and queue extras: ListRoutingProfileManualAssignmentQueues are not routed
  • Extraction/Push/Auth: CreateExtractionDefinition DeleteExtractionDefinition DescribeAuthenticationProfile DescribeExtractionDefinition ListAuthenticationProfiles ListExtractionDefinitions UpdateAuthenticationProfile UpdateExtractionDefinition are not routed
  • Other: GetMetricDataV2 are not routed
  • Contact.Recordings, QualityMetrics, ChatMetrics, DisconnectDetails and the other contact analytics members are never populated
  • ListQueues QueueTypes=AGENT: per-agent queues are not modeled
  • CreateInstance quota (2 per Region) is not enforced
  • CloudFormation: AWS::Connect::AWSManagedView, ContactFlowVersion, ContactFlowModuleVersion, ContactFlowModuleAlias, DataLakeAssociation, DataTableRecord, Metric, Notification, TestCase and UserHierarchyStructure are not provisioned; Pages, Media and Associations of Workspace, HoursOfOperationOverrides, ParentHoursOfOperations and ChildHoursOfOperations of HoursOfOperation, ManualAssignmentQueueConfigs of RoutingProfile, AdditionalEmailAddresses of Queue and SourcePhoneNumberArn of PhoneNumber are rejected
  • Lex bot associations are shape-checked only: no Lex service exists in the emulator
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 ActionSummary

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

ActionSummary is the list shape of a rule action.

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 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 AssociateDefaultVocabularyInput

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

AssociateDefaultVocabularyInput is the AssociateDefaultVocabulary request.

type Attribute

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

Attribute is one instance attribute.

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) 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(ref string, cfg LexBotConfig) error

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

func (*Backend) AssociateDefaultVocabulary

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

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

func (*Backend) AssociateEmailAddressAlias

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

AssociateEmailAddressAlias makes an address forward to the primary address.

func (*Backend) AssociateFlow

func (b *Backend) AssociateFlow(in *FlowAssocRequest) (*empty, 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) (*empty, 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) (*empty, error)

AssociatePhoneNumberContactFlow routes calls to a number through a contact flow.

func (*Backend) AssociateQueueEmailAddresses

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

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

func (*Backend) AssociateQueueQuickConnects

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

AssociateQueueQuickConnects adds quick connects to a queue.

func (*Backend) AssociateRoutingProfileQueues

func (b *Backend) AssociateRoutingProfileQueues(ctx context.Context, in *UpdateRoutingProfileInput) (*empty, 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) (*empty, error)

AssociateSecurityProfiles adds security profiles to a user or AI agent.

func (*Backend) AssociateTrafficDistributionGroupUser

func (b *Backend) AssociateTrafficDistributionGroupUser(in *TDGRequest) (*empty, 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) (*empty, 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) 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) BatchGetFlowAssociation

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

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

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) CreateAgentStatus

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

CreateAgentStatus creates a custom agent status.

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) 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) CreatePredefinedAttribute

func (b *Backend) CreatePredefinedAttribute(ctx context.Context, in *CreatePredefinedAttributeInput) (*empty, 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) 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) 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) (*empty, 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) DeleteContactFlow

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

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

func (*Backend) DeleteContactFlowModule

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

DeleteContactFlowModule removes a flow module.

func (*Backend) DeleteDataTable

func (b *Backend) DeleteDataTable(inst, ref string) (*empty, 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) DeleteEmailAddress

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

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

func (*Backend) DeleteEvaluationForm

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

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

func (*Backend) DeleteHoursOfOperation

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

DeleteHoursOfOperation removes a schedule that no queue uses.

func (*Backend) DeleteHoursOfOperationOverride

func (b *Backend) DeleteHoursOfOperationOverride(inst, hoursID, id string) (*empty, 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) (*empty, error)

DeleteIntegrationAssociation removes an association and its AppIntegrations counterpart.

func (*Backend) DeletePredefinedAttribute

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

DeletePredefinedAttribute removes a predefined attribute.

func (*Backend) DeletePrompt

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

DeletePrompt removes a prompt.

func (*Backend) DeleteQueue

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

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

func (*Backend) DeleteQuickConnect

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

DeleteQuickConnect removes a quick connect that no queue uses.

func (*Backend) DeleteRoutingProfile

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

DeleteRoutingProfile removes a routing profile that has no users.

func (*Backend) DeleteRule

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

DeleteRule removes a rule.

func (*Backend) DeleteSecurityProfile

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

DeleteSecurityProfile removes a security profile no user holds.

func (*Backend) DeleteTaskTemplate

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

DeleteTaskTemplate removes a task template.

func (*Backend) DeleteTrafficDistributionGroup

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

DeleteTrafficDistributionGroup removes a group that has no associated users.

func (*Backend) DeleteUseCase

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

DeleteUseCase removes a use case.

func (*Backend) DeleteUser

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

DeleteUser removes a user that is not handling a contact.

func (*Backend) DeleteUserHierarchyGroup

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

DeleteUserHierarchyGroup removes a leaf group no user belongs to.

func (*Backend) DeleteView

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

DeleteView removes a view and all its versions.

func (*Backend) DeleteViewVersion

func (b *Backend) DeleteViewVersion(in *ViewRequest) (*empty, 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) (*empty, error)

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

func (*Backend) DeleteWorkspaceMedia

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

DeleteWorkspaceMedia removes the media asset of one type.

func (*Backend) DeleteWorkspacePage

func (b *Backend) DeleteWorkspacePage(ctx context.Context, in *DeleteWorkspacePageInput) (*empty, 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) DescribeContact

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

DescribeContact returns a contact.

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) 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) DescribeInstanceStorageConfig

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

DescribeInstanceStorageConfig returns one storage association.

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) 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) 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) (*empty, error)

DisassociateEmailAddressAlias removes an alias relationship.

func (*Backend) DisassociateFlow

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

DisassociateFlow removes the flow association of a resource.

func (*Backend) DisassociateHoursOfOperations

func (b *Backend) DisassociateHoursOfOperations(ctx context.Context, in *ParentHoursInput) (*empty, 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) (*empty, error)

DisassociatePhoneNumberContactFlow removes the flow of a number.

func (*Backend) DisassociateQueueEmailAddresses

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

DisassociateQueueEmailAddresses removes "from" addresses from a queue.

func (*Backend) DisassociateQueueQuickConnects

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

DisassociateQueueQuickConnects removes quick connects from a queue.

func (*Backend) DisassociateRoutingProfileQueues

func (b *Backend) DisassociateRoutingProfileQueues(ctx context.Context, in *UpdateRoutingProfileInput) (*empty, 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) (*empty, error)

DisassociateSecurityProfiles removes security profiles from a user or AI agent.

func (*Backend) DisassociateTrafficDistributionGroupUser

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

DisassociateTrafficDistributionGroupUser removes an agent from a group.

func (*Backend) DisassociateUserProficiencies

func (b *Backend) DisassociateUserProficiencies(
	ctx context.Context, in *DisassociateProficienciesInput,
) (*empty, 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) 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) GetContactAttributes

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

GetContactAttributes returns a contact's attributes.

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) GetTaskTemplate

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

GetTaskTemplate returns a task template.

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) (*empty, error)

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

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) ListApprovedOrigins

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

ListApprovedOrigins pages through approved origins.

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) 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) 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) 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) 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) 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) 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) 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) 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) PutUserStatus

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

PutUserStatus sets the agent status of a user.

func (*Backend) ReleasePhoneNumber

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

ReleasePhoneNumber returns a number to the pool.

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) 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) 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) 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) 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) 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) SetResolvers

func (b *Backend) SetResolvers(r Resolvers)

SetResolvers wires the sibling services used to validate references.

func (*Backend) Snapshot

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

Snapshot serialises the backend state.

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) StartEvaluationFormValidation

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

StartEvaluationFormValidation validates a version and records the findings.

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) StopContact

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

StopContact ends a contact that is still active.

func (*Backend) TagContact

func (b *Backend) TagContact(in *ContactRefInput) (*empty, 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) UntagContact

func (b *Backend) UntagContact(in *ContactPathInput) (*empty, 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) (*empty, error)

UpdateAgentStatus changes the supplied settings of an agent status.

func (*Backend) UpdateContact

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

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

func (*Backend) UpdateContactAttributes

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

UpdateContactAttributes merges attributes into a contact.

func (*Backend) UpdateContactFlowContent

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

UpdateContactFlowContent replaces the content of a flow after validating it.

func (*Backend) UpdateContactFlowMetadata

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

UpdateContactFlowMetadata changes name, description and state of a flow.

func (*Backend) UpdateContactFlowModuleContent

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

UpdateContactFlowModuleContent replaces the content and settings of a module.

func (*Backend) UpdateContactFlowModuleMetadata

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

UpdateContactFlowModuleMetadata changes name, description and state of a module.

func (*Backend) UpdateContactFlowName

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

UpdateContactFlowName renames a flow.

func (*Backend) UpdateContactTaskTemplate

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

UpdateContactTaskTemplate attaches a template to a task contact.

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) UpdateHoursOfOperation

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

UpdateHoursOfOperation changes the supplied settings of a schedule.

func (*Backend) UpdateHoursOfOperationOverride

func (b *Backend) UpdateHoursOfOperationOverride(
	ctx context.Context,
	in *UpdateHoursOfOperationOverrideInput,
) (*empty, 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) 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) (*empty, error)

UpdatePhoneNumberMetadata changes the description of a claimed number.

func (*Backend) UpdatePredefinedAttribute

func (b *Backend) UpdatePredefinedAttribute(ctx context.Context, in *UpdatePredefinedAttributeInput) (*empty, 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) (*empty, error)

UpdateQueueHoursOfOperation points a queue at another schedule.

func (*Backend) UpdateQueueMaxContacts

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

UpdateQueueMaxContacts sets the queue capacity; nil removes the cap.

func (*Backend) UpdateQueueName

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

UpdateQueueName renames a queue.

func (*Backend) UpdateQueueOutboundCallerConfig

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

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

func (*Backend) UpdateQueueOutboundEmailConfig

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

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

func (*Backend) UpdateQueueStatus

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

UpdateQueueStatus enables or disables a queue.

func (*Backend) UpdateQuickConnectConfig

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

UpdateQuickConnectConfig replaces the destination of a quick connect.

func (*Backend) UpdateQuickConnectName

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

UpdateQuickConnectName renames a quick connect.

func (*Backend) UpdateRoutingProfileAgentAvailabilityTimer

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

UpdateRoutingProfileAgentAvailabilityTimer sets how agent availability is measured.

func (*Backend) UpdateRoutingProfileConcurrency

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

UpdateRoutingProfileConcurrency replaces the per-channel concurrency.

func (*Backend) UpdateRoutingProfileDefaultOutboundQueue

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

UpdateRoutingProfileDefaultOutboundQueue changes the default outbound queue.

func (*Backend) UpdateRoutingProfileName

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

UpdateRoutingProfileName renames a routing profile.

func (*Backend) UpdateRoutingProfileQueues

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

UpdateRoutingProfileQueues replaces the priority and delay of existing queue configs.

func (*Backend) UpdateRule

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

UpdateRule replaces the definition of a rule.

func (*Backend) UpdateSecurityProfile

func (b *Backend) UpdateSecurityProfile(ctx context.Context, in *UpdateSecurityProfileInput) (*empty, 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) UpdateTrafficDistribution

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

UpdateTrafficDistribution replaces the supplied configurations of an active group.

func (*Backend) UpdateUserConfig

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

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

func (*Backend) UpdateUserHierarchy

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

UpdateUserHierarchy sets or clears a user's hierarchy group.

func (*Backend) UpdateUserHierarchyGroupName

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

UpdateUserHierarchyGroupName renames a group.

func (*Backend) UpdateUserHierarchyStructure

func (b *Backend) UpdateUserHierarchyStructure(ctx context.Context, in *UpdateHierarchyStructureInput) (*empty, 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) (*empty, error)

UpdateUserIdentityInfo replaces a user's identity info.

func (*Backend) UpdateUserPhoneConfig

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

UpdateUserPhoneConfig replaces a user's phone config.

func (*Backend) UpdateUserProficiencies

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

UpdateUserProficiencies changes the level of proficiencies a user already has.

func (*Backend) UpdateUserRoutingProfile

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

UpdateUserRoutingProfile moves a user to another routing profile.

func (*Backend) UpdateUserSecurityProfiles

func (b *Backend) UpdateUserSecurityProfiles(ctx context.Context, in *UpdateUserInput) (*empty, 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) (*empty, error)

UpdateViewMetadata renames a view or changes its description.

func (*Backend) UpdateWorkspaceMetadata

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

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

func (*Backend) UpdateWorkspacePage

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

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

func (*Backend) UpdateWorkspaceTheme

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

UpdateWorkspaceTheme replaces the theme of a workspace.

func (*Backend) UpdateWorkspaceVisibility

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

UpdateWorkspaceVisibility sets who can see a workspace.

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 Campaign

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

Campaign links a contact to an outbound campaign.

type ChatMessage

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

ChatMessage is the first message of a chat.

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 {
	InitiationTimestamp *awstime.EpochTime `json:"InitiationTimestamp,omitempty"`
	LastUpdateTimestamp *awstime.EpochTime `json:"LastUpdateTimestamp,omitempty"`
	DisconnectTimestamp *awstime.EpochTime `json:"DisconnectTimestamp,omitempty"`
	ScheduledTimestamp  *awstime.EpochTime `json:"ScheduledTimestamp,omitempty"`
	RingStartTimestamp  *awstime.EpochTime `json:"RingStartTimestamp,omitempty"`
	QueueInfo           *ContactQueueInfo  `json:"QueueInfo,omitempty"`
	AgentInfo           *ContactAgentInfo  `json:"AgentInfo,omitempty"`
	CustomerEndpoint    *EndpointInfo      `json:"CustomerEndpoint,omitempty"`
	SystemEndpoint      *EndpointInfo      `json:"SystemEndpoint,omitempty"`
	Campaign            *Campaign          `json:"Campaign,omitempty"`
	Attributes          map[string]string  `json:"Attributes,omitempty"`
	Tags                map[string]string  `json:"Tags,omitempty"`
	DisconnectReason    string             `json:"DisconnectReason,omitempty"`
	Arn                 string             `json:"Arn"`
	Channel             string             `json:"Channel"`
	CustomerID          string             `json:"CustomerId,omitempty"`
	Description         string             `json:"Description,omitempty"`
	ID                  string             `json:"Id"`
	InitialContactID    string             `json:"InitialContactId"`
	InitiationMethod    string             `json:"InitiationMethod"`
	Name                string             `json:"Name,omitempty"`
	PreviousContactID   string             `json:"PreviousContactId,omitempty"`
	RelatedContactID    string             `json:"RelatedContactId,omitempty"`
	OutboundStrategy    json.RawMessage    `json:"OutboundStrategy,omitempty"`
	SegmentAttributes   json.RawMessage    `json:"SegmentAttributes,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 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 json.RawMessage   `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 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 json.RawMessage
	References        json.RawMessage
}

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   json.RawMessage    `json:"SegmentAttributes,omitempty"`
}

ContactSearchSummary is the SearchContacts list shape of a contact.

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 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 json.RawMessage
	// contains filtered or unexported fields
}

CreateContactFlowModuleInput is the CreateContactFlowModule request.

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 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 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 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 json.RawMessage
	Actions              []json.RawMessage
	// 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                      json.RawMessage
	Applications                         json.RawMessage
	AllowedFlowModules                   json.RawMessage
	HierarchyRestrictedResources         []string
	Permissions                          []string
	TagRestrictedResources               []string
	GranularAccessControlConfiguration   json.RawMessage
	// 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 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     json.RawMessage
	VoiceEnhancementConfigs     json.RawMessage
	PhoneNumberConfigs          json.RawMessage
	PersistentConnectionConfigs json.RawMessage
	SecurityProfileIDs          []string `json:"SecurityProfileIds"`
	AutoAcceptConfigs           json.RawMessage
	// 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 json.RawMessage
	// 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 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 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 DeleteWorkspacePageInput

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

DeleteWorkspacePageInput is the DeleteWorkspacePage request.

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 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 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 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 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 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 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 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 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 json.RawMessage `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 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 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 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 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 MediaConcurrency

type MediaConcurrency struct {
	Channel                   string          `json:"Channel"`
	CrossChannelBehavior      json.RawMessage `json:"CrossChannelBehavior,omitempty"`
	WorkloadTypeConcurrencies json.RawMessage `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 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 NameCriteria

type NameCriteria struct {
	MatchType  string   `json:"MatchType"`
	SearchText []string `json:"SearchText"`
}

NameCriteria matches contact names.

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 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 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 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 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"`
	Name                 string                `json:"Name"`
	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"`
	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       json.RawMessage `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 RecordPrimaryValue

type RecordPrimaryValue struct {
	Stamp
	RecordID      string                 `json:"RecordId"`
	PrimaryValues []PrimaryValueResponse `json:"PrimaryValues"`
}

RecordPrimaryValue is the list shape of a record key.

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 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 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 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              []json.RawMessage       `json:"Actions"`
	PreEvaluationFilters json.RawMessage         `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 json.RawMessage
	MaxResults     int32
}

SearchContactsInput is the SearchContacts request.

type SearchRequest

type SearchRequest struct {
	InstanceID     string `json:"InstanceId"`
	NextToken      string
	SearchCriteria json.RawMessage
	SearchFilter   json.RawMessage
	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   json.RawMessage   `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 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 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     json.RawMessage
}

StartChatContactInput is the StartChatContact 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       json.RawMessage
	References             json.RawMessage
}

StartOutboundVoiceContactInput is the StartOutboundVoiceContact request.

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 json.RawMessage
	Attachments       json.RawMessage
	References        json.RawMessage
}

StartTaskContactInput is the StartTaskContact request.

type StorageAssociation

type StorageAssociation struct {
	InstanceStorageConfig
	ResourceType string `json:"ResourceType"`
}

StorageAssociation is a storage config together with its resource type.

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 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 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 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 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 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 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 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 json.RawMessage
	Actions              []json.RawMessage
	// 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 json.RawMessage
	AllowedAIAgents                    json.RawMessage
	AllowedFlowModules                 json.RawMessage
	Applications                       json.RawMessage
	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 UpdateUserConfigInput

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

	AfterContactWorkConfigs     json.RawMessage
	AutoAcceptConfigs           json.RawMessage
	PersistentConnectionConfigs json.RawMessage
	PhoneNumberConfigs          json.RawMessage
	VoiceEnhancementConfigs     json.RawMessage
	// 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 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 json.RawMessage
	// 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     json.RawMessage   `json:"AfterContactWorkConfigs,omitempty"`
	AutoAcceptConfigs           json.RawMessage   `json:"AutoAcceptConfigs,omitempty"`
	PersistentConnectionConfigs json.RawMessage   `json:"PersistentConnectionConfigs,omitempty"`
	PhoneNumberConfigs          json.RawMessage   `json:"PhoneNumberConfigs,omitempty"`
	VoiceEnhancementConfigs     json.RawMessage   `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 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 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       json.RawMessage `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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL