connectparticipant

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package connectparticipant provides the client and types for making API requests to Amazon Connect Participant Service.

Amazon Connect is an easy-to-use omnichannel cloud contact center service that enables companies of any size to deliver superior customer service at a lower cost. Amazon Connect communications capabilities make it easy for companies to deliver personalized interactions across communication channels, including chat.

Use the Amazon Connect Participant Service to manage participants (for example, agents, customers, and managers listening in), and to send messages and events within a chat contact. The APIs in the service enable the following: sending chat messages, attachment sharing, managing a participant's connection state and message events, and retrieving chat transcripts.

See https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07 for more information on this service.

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

Using the Client

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

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

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

See the Amazon Connect Participant Service client ConnectParticipant for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/connectparticipant/#New

Index

Constants

View Source
const (
	// ArtifactStatusApproved is a ArtifactStatus enum value
	ArtifactStatusApproved = "APPROVED"

	// ArtifactStatusRejected is a ArtifactStatus enum value
	ArtifactStatusRejected = "REJECTED"

	// ArtifactStatusInProgress is a ArtifactStatus enum value
	ArtifactStatusInProgress = "IN_PROGRESS"
)
View Source
const (
	// ChatItemTypeTyping is a ChatItemType enum value
	ChatItemTypeTyping = "TYPING"

	// ChatItemTypeParticipantJoined is a ChatItemType enum value
	ChatItemTypeParticipantJoined = "PARTICIPANT_JOINED"

	// ChatItemTypeParticipantLeft is a ChatItemType enum value
	ChatItemTypeParticipantLeft = "PARTICIPANT_LEFT"

	// ChatItemTypeChatEnded is a ChatItemType enum value
	ChatItemTypeChatEnded = "CHAT_ENDED"

	// ChatItemTypeTransferSucceeded is a ChatItemType enum value
	ChatItemTypeTransferSucceeded = "TRANSFER_SUCCEEDED"

	// ChatItemTypeTransferFailed is a ChatItemType enum value
	ChatItemTypeTransferFailed = "TRANSFER_FAILED"

	// ChatItemTypeMessage is a ChatItemType enum value
	ChatItemTypeMessage = "MESSAGE"

	// ChatItemTypeEvent is a ChatItemType enum value
	ChatItemTypeEvent = "EVENT"

	// ChatItemTypeAttachment is a ChatItemType enum value
	ChatItemTypeAttachment = "ATTACHMENT"

	// ChatItemTypeConnectionAck is a ChatItemType enum value
	ChatItemTypeConnectionAck = "CONNECTION_ACK"

	// ChatItemTypeMessageDelivered is a ChatItemType enum value
	ChatItemTypeMessageDelivered = "MESSAGE_DELIVERED"

	// ChatItemTypeMessageRead is a ChatItemType enum value
	ChatItemTypeMessageRead = "MESSAGE_READ"
)
View Source
const (
	// ConnectionTypeWebsocket is a ConnectionType enum value
	ConnectionTypeWebsocket = "WEBSOCKET"

	// ConnectionTypeConnectionCredentials is a ConnectionType enum value
	ConnectionTypeConnectionCredentials = "CONNECTION_CREDENTIALS"
)
View Source
const (
	// ParticipantRoleAgent is a ParticipantRole enum value
	ParticipantRoleAgent = "AGENT"

	// ParticipantRoleCustomer is a ParticipantRole enum value
	ParticipantRoleCustomer = "CUSTOMER"

	// ParticipantRoleSystem is a ParticipantRole enum value
	ParticipantRoleSystem = "SYSTEM"

	// ParticipantRoleCustomBot is a ParticipantRole enum value
	ParticipantRoleCustomBot = "CUSTOM_BOT"
)
View Source
const (
	// ResourceTypeContact is a ResourceType enum value
	ResourceTypeContact = "CONTACT"

	// ResourceTypeContactFlow is a ResourceType enum value
	ResourceTypeContactFlow = "CONTACT_FLOW"

	// ResourceTypeInstance is a ResourceType enum value
	ResourceTypeInstance = "INSTANCE"

	// ResourceTypeParticipant is a ResourceType enum value
	ResourceTypeParticipant = "PARTICIPANT"

	// ResourceTypeHierarchyLevel is a ResourceType enum value
	ResourceTypeHierarchyLevel = "HIERARCHY_LEVEL"

	// ResourceTypeHierarchyGroup is a ResourceType enum value
	ResourceTypeHierarchyGroup = "HIERARCHY_GROUP"

	// ResourceTypeUser is a ResourceType enum value
	ResourceTypeUser = "USER"
)
View Source
const (
	// ScanDirectionForward is a ScanDirection enum value
	ScanDirectionForward = "FORWARD"

	// ScanDirectionBackward is a ScanDirection enum value
	ScanDirectionBackward = "BACKWARD"
)
View Source
const (
	// SortKeyDescending is a SortKey enum value
	SortKeyDescending = "DESCENDING"

	// SortKeyAscending is a SortKey enum value
	SortKeyAscending = "ASCENDING"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// You do not have sufficient access to perform this action.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// An attachment with that identifier is already being uploaded.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// This exception occurs when there is an internal failure in the Amazon Connect
	// service.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The resource was not found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// The number of attachments per contact exceeds the quota.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// The request was denied due to request throttling.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// The input fails to satisfy the constraints specified by Amazon Connect.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "ConnectParticipant"  // Name of service.
	EndpointsID = "participant.connect" // ID to lookup a service endpoint with.
	ServiceID   = "ConnectParticipant"  // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

func ArtifactStatus_Values

func ArtifactStatus_Values() []string

ArtifactStatus_Values returns all elements of the ArtifactStatus enum

func ChatItemType_Values

func ChatItemType_Values() []string

ChatItemType_Values returns all elements of the ChatItemType enum

func ConnectionType_Values

func ConnectionType_Values() []string

ConnectionType_Values returns all elements of the ConnectionType enum

func ParticipantRole_Values

func ParticipantRole_Values() []string

ParticipantRole_Values returns all elements of the ParticipantRole enum

func ResourceType_Values

func ResourceType_Values() []string

ResourceType_Values returns all elements of the ResourceType enum

func ScanDirection_Values

func ScanDirection_Values() []string

ScanDirection_Values returns all elements of the ScanDirection enum

func SortKey_Values

func SortKey_Values() []string

SortKey_Values returns all elements of the SortKey enum

Types

type AccessDeniedException

type AccessDeniedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

You do not have sufficient access to perform this action.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

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

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AttachmentItem

type AttachmentItem struct {

	// A unique identifier for the attachment.
	AttachmentId *string `min:"1" type:"string"`

	// A case-sensitive name of the attachment being uploaded.
	AttachmentName *string `min:"1" type:"string"`

	// Describes the MIME file type of the attachment. For a list of supported file
	// types, see Feature specifications (https://docs.aws.amazon.com/connect/latest/adminguide/feature-limits.html)
	// in the Amazon Connect Administrator Guide.
	ContentType *string `min:"1" type:"string"`

	// Status of the attachment.
	Status *string `type:"string" enum:"ArtifactStatus"`
	// contains filtered or unexported fields
}

The case-insensitive input to indicate standard MIME type that describes the format of the file that will be uploaded.

func (AttachmentItem) GoString

func (s AttachmentItem) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AttachmentItem) SetAttachmentId

func (s *AttachmentItem) SetAttachmentId(v string) *AttachmentItem

SetAttachmentId sets the AttachmentId field's value.

func (*AttachmentItem) SetAttachmentName

func (s *AttachmentItem) SetAttachmentName(v string) *AttachmentItem

SetAttachmentName sets the AttachmentName field's value.

func (*AttachmentItem) SetContentType

func (s *AttachmentItem) SetContentType(v string) *AttachmentItem

SetContentType sets the ContentType field's value.

func (*AttachmentItem) SetStatus

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

SetStatus sets the Status field's value.

func (AttachmentItem) String

func (s AttachmentItem) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CompleteAttachmentUploadInput

type CompleteAttachmentUploadInput struct {

	// A list of unique identifiers for the attachments.
	//
	// AttachmentIds is a required field
	AttachmentIds []*string `min:"1" type:"list" required:"true"`

	// A unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request. If not provided, the Amazon Web Services SDK populates this
	// field. For more information about idempotency, see Making retries safe with
	// idempotent APIs (https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/).
	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`

	// The authentication token associated with the participant's connection.
	//
	// ConnectionToken is a required field
	ConnectionToken *string `location:"header" locationName:"X-Amz-Bearer" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CompleteAttachmentUploadInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CompleteAttachmentUploadInput) SetAttachmentIds

SetAttachmentIds sets the AttachmentIds field's value.

func (*CompleteAttachmentUploadInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CompleteAttachmentUploadInput) SetConnectionToken

SetConnectionToken sets the ConnectionToken field's value.

func (CompleteAttachmentUploadInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CompleteAttachmentUploadInput) Validate

func (s *CompleteAttachmentUploadInput) Validate() error

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

type CompleteAttachmentUploadOutput

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

func (CompleteAttachmentUploadOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (CompleteAttachmentUploadOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ConflictException

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" min:"1" type:"string"`
	// contains filtered or unexported fields
}

An attachment with that identifier is already being uploaded.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

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

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ConnectParticipant

type ConnectParticipant struct {
	*client.Client
}

ConnectParticipant provides the API operation methods for making requests to Amazon Connect Participant Service. See this package's package overview docs for details on the service.

ConnectParticipant methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

New creates a new instance of the ConnectParticipant client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a ConnectParticipant client from just a session.
svc := connectparticipant.New(mySession)

// Create a ConnectParticipant client with additional configuration
svc := connectparticipant.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*ConnectParticipant) CompleteAttachmentUpload

CompleteAttachmentUpload API operation for Amazon Connect Participant Service.

Allows you to confirm that the attachment has been uploaded using the pre-signed URL provided in StartAttachmentUpload API.

ConnectionToken is used for invoking this API instead of ParticipantToken.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Connect Participant Service's API operation CompleteAttachmentUpload for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have sufficient access to perform this action.

  • InternalServerException This exception occurs when there is an internal failure in the Amazon Connect service.

  • ThrottlingException The request was denied due to request throttling.

  • ValidationException The input fails to satisfy the constraints specified by Amazon Connect.

  • ServiceQuotaExceededException The number of attachments per contact exceeds the quota.

  • ConflictException An attachment with that identifier is already being uploaded.

See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/CompleteAttachmentUpload

func (*ConnectParticipant) CompleteAttachmentUploadRequest

func (c *ConnectParticipant) CompleteAttachmentUploadRequest(input *CompleteAttachmentUploadInput) (req *request.Request, output *CompleteAttachmentUploadOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/CompleteAttachmentUpload

func (*ConnectParticipant) CompleteAttachmentUploadWithContext

func (c *ConnectParticipant) CompleteAttachmentUploadWithContext(ctx aws.Context, input *CompleteAttachmentUploadInput, opts ...request.Option) (*CompleteAttachmentUploadOutput, error)

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

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

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

func (*ConnectParticipant) CreateParticipantConnection

CreateParticipantConnection API operation for Amazon Connect Participant Service.

Creates the participant's connection.

ParticipantToken is used for invoking this API instead of ConnectionToken.

The participant token is valid for the lifetime of the participant – until they are part of a contact.

The response URL for WEBSOCKET Type has a connect expiry timeout of 100s. Clients must manually connect to the returned websocket URL and subscribe to the desired topic.

For chat, you need to publish the following on the established websocket connection:

{"topic":"aws/subscribe","content":{"topics":["aws/chat"]}}

Upon websocket URL expiry, as specified in the response ConnectionExpiry parameter, clients need to call this API again to obtain a new websocket URL and perform the same steps as before.

Message streaming support: This API can also be used together with the StartContactStreaming (https://docs.aws.amazon.com/connect/latest/APIReference/API_StartContactStreaming.html) API to create a participant connection for chat contacts that are not using a websocket. For more information about message streaming, Enable real-time chat message streaming (https://docs.aws.amazon.com/connect/latest/adminguide/chat-message-streaming.html) in the Amazon Connect Administrator Guide.

Feature specifications: For information about feature specifications, such as the allowed number of open websocket connections per participant, see Feature specifications (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#feature-limits) in the Amazon Connect Administrator Guide.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Connect Participant Service's API operation CreateParticipantConnection for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have sufficient access to perform this action.

  • InternalServerException This exception occurs when there is an internal failure in the Amazon Connect service.

  • ThrottlingException The request was denied due to request throttling.

  • ValidationException The input fails to satisfy the constraints specified by Amazon Connect.

See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/CreateParticipantConnection

func (*ConnectParticipant) CreateParticipantConnectionRequest

func (c *ConnectParticipant) CreateParticipantConnectionRequest(input *CreateParticipantConnectionInput) (req *request.Request, output *CreateParticipantConnectionOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/CreateParticipantConnection

func (*ConnectParticipant) CreateParticipantConnectionWithContext

func (c *ConnectParticipant) CreateParticipantConnectionWithContext(ctx aws.Context, input *CreateParticipantConnectionInput, opts ...request.Option) (*CreateParticipantConnectionOutput, error)

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

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

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

func (*ConnectParticipant) DescribeView

func (c *ConnectParticipant) DescribeView(input *DescribeViewInput) (*DescribeViewOutput, error)

DescribeView API operation for Amazon Connect Participant Service.

Retrieves the view for the specified view token.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Connect Participant Service's API operation DescribeView for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have sufficient access to perform this action.

  • InternalServerException This exception occurs when there is an internal failure in the Amazon Connect service.

  • ThrottlingException The request was denied due to request throttling.

  • ResourceNotFoundException The resource was not found.

  • ValidationException The input fails to satisfy the constraints specified by Amazon Connect.

See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/DescribeView

func (*ConnectParticipant) DescribeViewRequest

func (c *ConnectParticipant) DescribeViewRequest(input *DescribeViewInput) (req *request.Request, output *DescribeViewOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/DescribeView

func (*ConnectParticipant) DescribeViewWithContext

func (c *ConnectParticipant) DescribeViewWithContext(ctx aws.Context, input *DescribeViewInput, opts ...request.Option) (*DescribeViewOutput, error)

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

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

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

func (*ConnectParticipant) DisconnectParticipant

DisconnectParticipant API operation for Amazon Connect Participant Service.

Disconnects a participant.

ConnectionToken is used for invoking this API instead of ParticipantToken.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Connect Participant Service's API operation DisconnectParticipant for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have sufficient access to perform this action.

  • InternalServerException This exception occurs when there is an internal failure in the Amazon Connect service.

  • ThrottlingException The request was denied due to request throttling.

  • ValidationException The input fails to satisfy the constraints specified by Amazon Connect.

See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/DisconnectParticipant

func (*ConnectParticipant) DisconnectParticipantRequest

func (c *ConnectParticipant) DisconnectParticipantRequest(input *DisconnectParticipantInput) (req *request.Request, output *DisconnectParticipantOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/DisconnectParticipant

func (*ConnectParticipant) DisconnectParticipantWithContext

func (c *ConnectParticipant) DisconnectParticipantWithContext(ctx aws.Context, input *DisconnectParticipantInput, opts ...request.Option) (*DisconnectParticipantOutput, error)

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

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

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

func (*ConnectParticipant) GetAttachment

func (c *ConnectParticipant) GetAttachment(input *GetAttachmentInput) (*GetAttachmentOutput, error)

GetAttachment API operation for Amazon Connect Participant Service.

Provides a pre-signed URL for download of a completed attachment. This is an asynchronous API for use with active contacts.

ConnectionToken is used for invoking this API instead of ParticipantToken.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Connect Participant Service's API operation GetAttachment for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have sufficient access to perform this action.

  • InternalServerException This exception occurs when there is an internal failure in the Amazon Connect service.

  • ThrottlingException The request was denied due to request throttling.

  • ValidationException The input fails to satisfy the constraints specified by Amazon Connect.

See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/GetAttachment

func (*ConnectParticipant) GetAttachmentRequest

func (c *ConnectParticipant) GetAttachmentRequest(input *GetAttachmentInput) (req *request.Request, output *GetAttachmentOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/GetAttachment

func (*ConnectParticipant) GetAttachmentWithContext

func (c *ConnectParticipant) GetAttachmentWithContext(ctx aws.Context, input *GetAttachmentInput, opts ...request.Option) (*GetAttachmentOutput, error)

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

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

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

func (*ConnectParticipant) GetTranscript

func (c *ConnectParticipant) GetTranscript(input *GetTranscriptInput) (*GetTranscriptOutput, error)

GetTranscript API operation for Amazon Connect Participant Service.

Retrieves a transcript of the session, including details about any attachments. For information about accessing past chat contact transcripts for a persistent chat, see Enable persistent chat (https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html).

ConnectionToken is used for invoking this API instead of ParticipantToken.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Connect Participant Service's API operation GetTranscript for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have sufficient access to perform this action.

  • InternalServerException This exception occurs when there is an internal failure in the Amazon Connect service.

  • ThrottlingException The request was denied due to request throttling.

  • ValidationException The input fails to satisfy the constraints specified by Amazon Connect.

See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/GetTranscript

func (*ConnectParticipant) GetTranscriptPages

func (c *ConnectParticipant) GetTranscriptPages(input *GetTranscriptInput, fn func(*GetTranscriptOutput, bool) bool) error

GetTranscriptPages iterates over the pages of a GetTranscript operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetTranscript method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetTranscript operation.
pageNum := 0
err := client.GetTranscriptPages(params,
    func(page *connectparticipant.GetTranscriptOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ConnectParticipant) GetTranscriptPagesWithContext

func (c *ConnectParticipant) GetTranscriptPagesWithContext(ctx aws.Context, input *GetTranscriptInput, fn func(*GetTranscriptOutput, bool) bool, opts ...request.Option) error

GetTranscriptPagesWithContext same as GetTranscriptPages except it takes a Context and allows setting request options on the pages.

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

func (*ConnectParticipant) GetTranscriptRequest

func (c *ConnectParticipant) GetTranscriptRequest(input *GetTranscriptInput) (req *request.Request, output *GetTranscriptOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/GetTranscript

func (*ConnectParticipant) GetTranscriptWithContext

func (c *ConnectParticipant) GetTranscriptWithContext(ctx aws.Context, input *GetTranscriptInput, opts ...request.Option) (*GetTranscriptOutput, error)

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

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

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

func (*ConnectParticipant) SendEvent

func (c *ConnectParticipant) SendEvent(input *SendEventInput) (*SendEventOutput, error)

SendEvent API operation for Amazon Connect Participant Service.

Sends an event.

ConnectionToken is used for invoking this API instead of ParticipantToken.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Connect Participant Service's API operation SendEvent for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have sufficient access to perform this action.

  • InternalServerException This exception occurs when there is an internal failure in the Amazon Connect service.

  • ThrottlingException The request was denied due to request throttling.

  • ValidationException The input fails to satisfy the constraints specified by Amazon Connect.

See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/SendEvent

func (*ConnectParticipant) SendEventRequest

func (c *ConnectParticipant) SendEventRequest(input *SendEventInput) (req *request.Request, output *SendEventOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/SendEvent

func (*ConnectParticipant) SendEventWithContext

func (c *ConnectParticipant) SendEventWithContext(ctx aws.Context, input *SendEventInput, opts ...request.Option) (*SendEventOutput, error)

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

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

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

func (*ConnectParticipant) SendMessage

func (c *ConnectParticipant) SendMessage(input *SendMessageInput) (*SendMessageOutput, error)

SendMessage API operation for Amazon Connect Participant Service.

Sends a message.

ConnectionToken is used for invoking this API instead of ParticipantToken.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Connect Participant Service's API operation SendMessage for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have sufficient access to perform this action.

  • InternalServerException This exception occurs when there is an internal failure in the Amazon Connect service.

  • ThrottlingException The request was denied due to request throttling.

  • ValidationException The input fails to satisfy the constraints specified by Amazon Connect.

See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/SendMessage

func (*ConnectParticipant) SendMessageRequest

func (c *ConnectParticipant) SendMessageRequest(input *SendMessageInput) (req *request.Request, output *SendMessageOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/SendMessage

func (*ConnectParticipant) SendMessageWithContext

func (c *ConnectParticipant) SendMessageWithContext(ctx aws.Context, input *SendMessageInput, opts ...request.Option) (*SendMessageOutput, error)

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

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

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

func (*ConnectParticipant) StartAttachmentUpload

StartAttachmentUpload API operation for Amazon Connect Participant Service.

Provides a pre-signed Amazon S3 URL in response for uploading the file directly to S3.

ConnectionToken is used for invoking this API instead of ParticipantToken.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Connect Participant Service's API operation StartAttachmentUpload for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have sufficient access to perform this action.

  • InternalServerException This exception occurs when there is an internal failure in the Amazon Connect service.

  • ThrottlingException The request was denied due to request throttling.

  • ValidationException The input fails to satisfy the constraints specified by Amazon Connect.

  • ServiceQuotaExceededException The number of attachments per contact exceeds the quota.

See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/StartAttachmentUpload

func (*ConnectParticipant) StartAttachmentUploadRequest

func (c *ConnectParticipant) StartAttachmentUploadRequest(input *StartAttachmentUploadInput) (req *request.Request, output *StartAttachmentUploadOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/StartAttachmentUpload

func (*ConnectParticipant) StartAttachmentUploadWithContext

func (c *ConnectParticipant) StartAttachmentUploadWithContext(ctx aws.Context, input *StartAttachmentUploadInput, opts ...request.Option) (*StartAttachmentUploadOutput, error)

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

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

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

type ConnectionCredentials

type ConnectionCredentials struct {

	// The connection token.
	ConnectionToken *string `min:"1" type:"string"`

	// The expiration of the token.
	//
	// It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
	// 2019-11-08T02:41:28.172Z.
	Expiry *string `type:"string"`
	// contains filtered or unexported fields
}

Connection credentials.

func (ConnectionCredentials) GoString

func (s ConnectionCredentials) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConnectionCredentials) SetConnectionToken

func (s *ConnectionCredentials) SetConnectionToken(v string) *ConnectionCredentials

SetConnectionToken sets the ConnectionToken field's value.

func (*ConnectionCredentials) SetExpiry

SetExpiry sets the Expiry field's value.

func (ConnectionCredentials) String

func (s ConnectionCredentials) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateParticipantConnectionInput

type CreateParticipantConnectionInput struct {

	// Amazon Connect Participant is used to mark the participant as connected for
	// customer participant in message streaming, as well as for agent or manager
	// participant in non-streaming chats.
	ConnectParticipant *bool `type:"boolean"`

	// This is a header parameter.
	//
	// The ParticipantToken as obtained from StartChatContact (https://docs.aws.amazon.com/connect/latest/APIReference/API_StartChatContact.html)
	// API response.
	//
	// ParticipantToken is a required field
	ParticipantToken *string `location:"header" locationName:"X-Amz-Bearer" min:"1" type:"string" required:"true"`

	// Type of connection information required. If you need CONNECTION_CREDENTIALS
	// along with marking participant as connected, pass CONNECTION_CREDENTIALS
	// in Type.
	Type []*string `min:"1" type:"list" enum:"ConnectionType"`
	// contains filtered or unexported fields
}

func (CreateParticipantConnectionInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateParticipantConnectionInput) SetConnectParticipant

SetConnectParticipant sets the ConnectParticipant field's value.

func (*CreateParticipantConnectionInput) SetParticipantToken

SetParticipantToken sets the ParticipantToken field's value.

func (*CreateParticipantConnectionInput) SetType

SetType sets the Type field's value.

func (CreateParticipantConnectionInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateParticipantConnectionInput) Validate

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

type CreateParticipantConnectionOutput

type CreateParticipantConnectionOutput struct {

	// Creates the participant's connection credentials. The authentication token
	// associated with the participant's connection.
	ConnectionCredentials *ConnectionCredentials `type:"structure"`

	// Creates the participant's websocket connection.
	Websocket *Websocket `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateParticipantConnectionOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateParticipantConnectionOutput) SetConnectionCredentials

SetConnectionCredentials sets the ConnectionCredentials field's value.

func (*CreateParticipantConnectionOutput) SetWebsocket

SetWebsocket sets the Websocket field's value.

func (CreateParticipantConnectionOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeViewInput

type DescribeViewInput struct {

	// The connection token.
	//
	// ConnectionToken is a required field
	ConnectionToken *string `location:"header" locationName:"X-Amz-Bearer" min:"1" type:"string" required:"true"`

	// An encrypted token originating from the interactive message of a ShowView
	// block operation. Represents the desired view.
	//
	// ViewToken is a required field
	ViewToken *string `location:"uri" locationName:"ViewToken" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeViewInput) GoString

func (s DescribeViewInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeViewInput) SetConnectionToken

func (s *DescribeViewInput) SetConnectionToken(v string) *DescribeViewInput

SetConnectionToken sets the ConnectionToken field's value.

func (*DescribeViewInput) SetViewToken

func (s *DescribeViewInput) SetViewToken(v string) *DescribeViewInput

SetViewToken sets the ViewToken field's value.

func (DescribeViewInput) String

func (s DescribeViewInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeViewInput) Validate

func (s *DescribeViewInput) Validate() error

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

type DescribeViewOutput

type DescribeViewOutput struct {

	// A view resource object. Contains metadata and content necessary to render
	// the view.
	View *View `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeViewOutput) GoString

func (s DescribeViewOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeViewOutput) SetView

func (s *DescribeViewOutput) SetView(v *View) *DescribeViewOutput

SetView sets the View field's value.

func (DescribeViewOutput) String

func (s DescribeViewOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DisconnectParticipantInput

type DisconnectParticipantInput struct {

	// A unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request. If not provided, the Amazon Web Services SDK populates this
	// field. For more information about idempotency, see Making retries safe with
	// idempotent APIs (https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/).
	ClientToken *string `type:"string" idempotencyToken:"true"`

	// The authentication token associated with the participant's connection.
	//
	// ConnectionToken is a required field
	ConnectionToken *string `location:"header" locationName:"X-Amz-Bearer" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisconnectParticipantInput) GoString

func (s DisconnectParticipantInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisconnectParticipantInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*DisconnectParticipantInput) SetConnectionToken

SetConnectionToken sets the ConnectionToken field's value.

func (DisconnectParticipantInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisconnectParticipantInput) Validate

func (s *DisconnectParticipantInput) Validate() error

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

type DisconnectParticipantOutput

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

func (DisconnectParticipantOutput) GoString

func (s DisconnectParticipantOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DisconnectParticipantOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetAttachmentInput

type GetAttachmentInput struct {

	// A unique identifier for the attachment.
	//
	// AttachmentId is a required field
	AttachmentId *string `min:"1" type:"string" required:"true"`

	// The authentication token associated with the participant's connection.
	//
	// ConnectionToken is a required field
	ConnectionToken *string `location:"header" locationName:"X-Amz-Bearer" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetAttachmentInput) GoString

func (s GetAttachmentInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAttachmentInput) SetAttachmentId

func (s *GetAttachmentInput) SetAttachmentId(v string) *GetAttachmentInput

SetAttachmentId sets the AttachmentId field's value.

func (*GetAttachmentInput) SetConnectionToken

func (s *GetAttachmentInput) SetConnectionToken(v string) *GetAttachmentInput

SetConnectionToken sets the ConnectionToken field's value.

func (GetAttachmentInput) String

func (s GetAttachmentInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAttachmentInput) Validate

func (s *GetAttachmentInput) Validate() error

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

type GetAttachmentOutput

type GetAttachmentOutput struct {

	// This is the pre-signed URL that can be used for uploading the file to Amazon
	// S3 when used in response to StartAttachmentUpload (https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_StartAttachmentUpload.html).
	Url *string `min:"1" type:"string"`

	// The expiration time of the URL in ISO timestamp. It's specified in ISO 8601
	// format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
	UrlExpiry *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetAttachmentOutput) GoString

func (s GetAttachmentOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAttachmentOutput) SetUrl

SetUrl sets the Url field's value.

func (*GetAttachmentOutput) SetUrlExpiry

func (s *GetAttachmentOutput) SetUrlExpiry(v string) *GetAttachmentOutput

SetUrlExpiry sets the UrlExpiry field's value.

func (GetAttachmentOutput) String

func (s GetAttachmentOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetTranscriptInput

type GetTranscriptInput struct {

	// The authentication token associated with the participant's connection.
	//
	// ConnectionToken is a required field
	ConnectionToken *string `location:"header" locationName:"X-Amz-Bearer" min:"1" type:"string" required:"true"`

	// The contactId from the current contact chain for which transcript is needed.
	ContactId *string `min:"1" type:"string"`

	// The maximum number of results to return in the page. Default: 10.
	MaxResults *int64 `type:"integer"`

	// The pagination token. Use the value returned previously in the next subsequent
	// request to retrieve the next set of results.
	NextToken *string `min:"1" type:"string"`

	// The direction from StartPosition from which to retrieve message. Default:
	// BACKWARD when no StartPosition is provided, FORWARD with StartPosition.
	ScanDirection *string `type:"string" enum:"ScanDirection"`

	// The sort order for the records. Default: DESCENDING.
	SortOrder *string `type:"string" enum:"SortKey"`

	// A filtering option for where to start.
	StartPosition *StartPosition `type:"structure"`
	// contains filtered or unexported fields
}

func (GetTranscriptInput) GoString

func (s GetTranscriptInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetTranscriptInput) SetConnectionToken

func (s *GetTranscriptInput) SetConnectionToken(v string) *GetTranscriptInput

SetConnectionToken sets the ConnectionToken field's value.

func (*GetTranscriptInput) SetContactId

func (s *GetTranscriptInput) SetContactId(v string) *GetTranscriptInput

SetContactId sets the ContactId field's value.

func (*GetTranscriptInput) SetMaxResults

func (s *GetTranscriptInput) SetMaxResults(v int64) *GetTranscriptInput

SetMaxResults sets the MaxResults field's value.

func (*GetTranscriptInput) SetNextToken

func (s *GetTranscriptInput) SetNextToken(v string) *GetTranscriptInput

SetNextToken sets the NextToken field's value.

func (*GetTranscriptInput) SetScanDirection

func (s *GetTranscriptInput) SetScanDirection(v string) *GetTranscriptInput

SetScanDirection sets the ScanDirection field's value.

func (*GetTranscriptInput) SetSortOrder

func (s *GetTranscriptInput) SetSortOrder(v string) *GetTranscriptInput

SetSortOrder sets the SortOrder field's value.

func (*GetTranscriptInput) SetStartPosition

func (s *GetTranscriptInput) SetStartPosition(v *StartPosition) *GetTranscriptInput

SetStartPosition sets the StartPosition field's value.

func (GetTranscriptInput) String

func (s GetTranscriptInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetTranscriptInput) Validate

func (s *GetTranscriptInput) Validate() error

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

type GetTranscriptOutput

type GetTranscriptOutput struct {

	// The initial contact ID for the contact.
	InitialContactId *string `min:"1" type:"string"`

	// The pagination token. Use the value returned previously in the next subsequent
	// request to retrieve the next set of results.
	NextToken *string `min:"1" type:"string"`

	// The list of messages in the session.
	Transcript []*Item `type:"list"`
	// contains filtered or unexported fields
}

func (GetTranscriptOutput) GoString

func (s GetTranscriptOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetTranscriptOutput) SetInitialContactId

func (s *GetTranscriptOutput) SetInitialContactId(v string) *GetTranscriptOutput

SetInitialContactId sets the InitialContactId field's value.

func (*GetTranscriptOutput) SetNextToken

func (s *GetTranscriptOutput) SetNextToken(v string) *GetTranscriptOutput

SetNextToken sets the NextToken field's value.

func (*GetTranscriptOutput) SetTranscript

func (s *GetTranscriptOutput) SetTranscript(v []*Item) *GetTranscriptOutput

SetTranscript sets the Transcript field's value.

func (GetTranscriptOutput) String

func (s GetTranscriptOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InternalServerException

type InternalServerException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

This exception occurs when there is an internal failure in the Amazon Connect service.

func (*InternalServerException) Code

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error

func (s *InternalServerException) Error() string

func (InternalServerException) GoString

func (s InternalServerException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InternalServerException) Message

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode

func (s *InternalServerException) StatusCode() int

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

func (InternalServerException) String

func (s InternalServerException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Item

type Item struct {

	// The time when the message or event was sent.
	//
	// It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
	// 2019-11-08T02:41:28.172Z.
	AbsoluteTime *string `min:"1" type:"string"`

	// Provides information about the attachments.
	Attachments []*AttachmentItem `type:"list"`

	// The contactId on which the transcript item was originally sent. This field
	// is populated only when the transcript item is from the current chat session.
	ContactId *string `min:"1" type:"string"`

	// The content of the message or event.
	Content *string `min:"1" type:"string"`

	// The type of content of the item.
	ContentType *string `min:"1" type:"string"`

	// The chat display name of the sender.
	DisplayName *string `min:"1" type:"string"`

	// The ID of the item.
	Id *string `min:"1" type:"string"`

	// The metadata related to the message. Currently this supports only information
	// related to message receipts.
	MessageMetadata *MessageMetadata `type:"structure"`

	// The ID of the sender in the session.
	ParticipantId *string `min:"1" type:"string"`

	// The role of the sender. For example, is it a customer, agent, or system.
	ParticipantRole *string `type:"string" enum:"ParticipantRole"`

	// The contactId on which the transcript item was originally sent. This field
	// is only populated for persistent chats when the transcript item is from the
	// past chat session. For more information, see Enable persistent chat (https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html).
	RelatedContactId *string `min:"1" type:"string"`

	// Type of the item: message or event.
	Type *string `type:"string" enum:"ChatItemType"`
	// contains filtered or unexported fields
}

An item - message or event - that has been sent.

func (Item) GoString

func (s Item) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Item) SetAbsoluteTime

func (s *Item) SetAbsoluteTime(v string) *Item

SetAbsoluteTime sets the AbsoluteTime field's value.

func (*Item) SetAttachments

func (s *Item) SetAttachments(v []*AttachmentItem) *Item

SetAttachments sets the Attachments field's value.

func (*Item) SetContactId

func (s *Item) SetContactId(v string) *Item

SetContactId sets the ContactId field's value.

func (*Item) SetContent

func (s *Item) SetContent(v string) *Item

SetContent sets the Content field's value.

func (*Item) SetContentType

func (s *Item) SetContentType(v string) *Item

SetContentType sets the ContentType field's value.

func (*Item) SetDisplayName

func (s *Item) SetDisplayName(v string) *Item

SetDisplayName sets the DisplayName field's value.

func (*Item) SetId

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

SetId sets the Id field's value.

func (*Item) SetMessageMetadata

func (s *Item) SetMessageMetadata(v *MessageMetadata) *Item

SetMessageMetadata sets the MessageMetadata field's value.

func (*Item) SetParticipantId

func (s *Item) SetParticipantId(v string) *Item

SetParticipantId sets the ParticipantId field's value.

func (*Item) SetParticipantRole

func (s *Item) SetParticipantRole(v string) *Item

SetParticipantRole sets the ParticipantRole field's value.

func (*Item) SetRelatedContactId

func (s *Item) SetRelatedContactId(v string) *Item

SetRelatedContactId sets the RelatedContactId field's value.

func (*Item) SetType

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

SetType sets the Type field's value.

func (Item) String

func (s Item) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MessageMetadata

type MessageMetadata struct {

	// The identifier of the message that contains the metadata information.
	MessageId *string `min:"1" type:"string"`

	// The list of receipt information for a message for different recipients.
	Receipts []*Receipt `type:"list"`
	// contains filtered or unexported fields
}

Contains metadata related to a message.

func (MessageMetadata) GoString

func (s MessageMetadata) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MessageMetadata) SetMessageId

func (s *MessageMetadata) SetMessageId(v string) *MessageMetadata

SetMessageId sets the MessageId field's value.

func (*MessageMetadata) SetReceipts

func (s *MessageMetadata) SetReceipts(v []*Receipt) *MessageMetadata

SetReceipts sets the Receipts field's value.

func (MessageMetadata) String

func (s MessageMetadata) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Receipt

type Receipt struct {

	// The time when the message was delivered to the recipient.
	DeliveredTimestamp *string `min:"1" type:"string"`

	// The time when the message was read by the recipient.
	ReadTimestamp *string `min:"1" type:"string"`

	// The identifier of the recipient of the message.
	RecipientParticipantId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

The receipt for the message delivered to the recipient.

func (Receipt) GoString

func (s Receipt) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Receipt) SetDeliveredTimestamp

func (s *Receipt) SetDeliveredTimestamp(v string) *Receipt

SetDeliveredTimestamp sets the DeliveredTimestamp field's value.

func (*Receipt) SetReadTimestamp

func (s *Receipt) SetReadTimestamp(v string) *Receipt

SetReadTimestamp sets the ReadTimestamp field's value.

func (*Receipt) SetRecipientParticipantId

func (s *Receipt) SetRecipientParticipantId(v string) *Receipt

SetRecipientParticipantId sets the RecipientParticipantId field's value.

func (Receipt) String

func (s Receipt) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceNotFoundException

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`

	// The identifier of the resource.
	ResourceId *string `type:"string"`

	// The type of Amazon Connect resource.
	ResourceType *string `type:"string" enum:"ResourceType"`
	// contains filtered or unexported fields
}

The resource was not found.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

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

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SendEventInput

type SendEventInput struct {

	// A unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request. If not provided, the Amazon Web Services SDK populates this
	// field. For more information about idempotency, see Making retries safe with
	// idempotent APIs (https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/).
	ClientToken *string `type:"string" idempotencyToken:"true"`

	// The authentication token associated with the participant's connection.
	//
	// ConnectionToken is a required field
	ConnectionToken *string `location:"header" locationName:"X-Amz-Bearer" min:"1" type:"string" required:"true"`

	// The content of the event to be sent (for example, message text). For content
	// related to message receipts, this is supported in the form of a JSON string.
	//
	// Sample Content: "{\"messageId\":\"11111111-aaaa-bbbb-cccc-EXAMPLE01234\"}"
	Content *string `min:"1" type:"string"`

	// The content type of the request. Supported types are:
	//
	//    * application/vnd.amazonaws.connect.event.typing
	//
	//    * application/vnd.amazonaws.connect.event.connection.acknowledged
	//
	//    * application/vnd.amazonaws.connect.event.message.delivered
	//
	//    * application/vnd.amazonaws.connect.event.message.read
	//
	// ContentType is a required field
	ContentType *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (SendEventInput) GoString

func (s SendEventInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SendEventInput) SetClientToken

func (s *SendEventInput) SetClientToken(v string) *SendEventInput

SetClientToken sets the ClientToken field's value.

func (*SendEventInput) SetConnectionToken

func (s *SendEventInput) SetConnectionToken(v string) *SendEventInput

SetConnectionToken sets the ConnectionToken field's value.

func (*SendEventInput) SetContent

func (s *SendEventInput) SetContent(v string) *SendEventInput

SetContent sets the Content field's value.

func (*SendEventInput) SetContentType

func (s *SendEventInput) SetContentType(v string) *SendEventInput

SetContentType sets the ContentType field's value.

func (SendEventInput) String

func (s SendEventInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SendEventInput) Validate

func (s *SendEventInput) Validate() error

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

type SendEventOutput

type SendEventOutput struct {

	// The time when the event was sent.
	//
	// It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
	// 2019-11-08T02:41:28.172Z.
	AbsoluteTime *string `min:"1" type:"string"`

	// The ID of the response.
	Id *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (SendEventOutput) GoString

func (s SendEventOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SendEventOutput) SetAbsoluteTime

func (s *SendEventOutput) SetAbsoluteTime(v string) *SendEventOutput

SetAbsoluteTime sets the AbsoluteTime field's value.

func (*SendEventOutput) SetId

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

SetId sets the Id field's value.

func (SendEventOutput) String

func (s SendEventOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SendMessageInput

type SendMessageInput struct {

	// A unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request. If not provided, the Amazon Web Services SDK populates this
	// field. For more information about idempotency, see Making retries safe with
	// idempotent APIs (https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/).
	ClientToken *string `type:"string" idempotencyToken:"true"`

	// The authentication token associated with the connection.
	//
	// ConnectionToken is a required field
	ConnectionToken *string `location:"header" locationName:"X-Amz-Bearer" min:"1" type:"string" required:"true"`

	// The content of the message.
	//
	//    * For text/plain and text/markdown, the Length Constraints are Minimum
	//    of 1, Maximum of 1024.
	//
	//    * For application/json, the Length Constraints are Minimum of 1, Maximum
	//    of 12000.
	//
	//    * For application/vnd.amazonaws.connect.message.interactive.response,
	//    the Length Constraints are Minimum of 1, Maximum of 12288.
	//
	// Content is a required field
	Content *string `min:"1" type:"string" required:"true"`

	// The type of the content. Supported types are text/plain, text/markdown, application/json,
	// and application/vnd.amazonaws.connect.message.interactive.response.
	//
	// ContentType is a required field
	ContentType *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (SendMessageInput) GoString

func (s SendMessageInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SendMessageInput) SetClientToken

func (s *SendMessageInput) SetClientToken(v string) *SendMessageInput

SetClientToken sets the ClientToken field's value.

func (*SendMessageInput) SetConnectionToken

func (s *SendMessageInput) SetConnectionToken(v string) *SendMessageInput

SetConnectionToken sets the ConnectionToken field's value.

func (*SendMessageInput) SetContent

func (s *SendMessageInput) SetContent(v string) *SendMessageInput

SetContent sets the Content field's value.

func (*SendMessageInput) SetContentType

func (s *SendMessageInput) SetContentType(v string) *SendMessageInput

SetContentType sets the ContentType field's value.

func (SendMessageInput) String

func (s SendMessageInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SendMessageInput) Validate

func (s *SendMessageInput) Validate() error

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

type SendMessageOutput

type SendMessageOutput struct {

	// The time when the message was sent.
	//
	// It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
	// 2019-11-08T02:41:28.172Z.
	AbsoluteTime *string `min:"1" type:"string"`

	// The ID of the message.
	Id *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (SendMessageOutput) GoString

func (s SendMessageOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SendMessageOutput) SetAbsoluteTime

func (s *SendMessageOutput) SetAbsoluteTime(v string) *SendMessageOutput

SetAbsoluteTime sets the AbsoluteTime field's value.

func (*SendMessageOutput) SetId

SetId sets the Id field's value.

func (SendMessageOutput) String

func (s SendMessageOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServiceQuotaExceededException

type ServiceQuotaExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The number of attachments per contact exceeds the quota.

func (*ServiceQuotaExceededException) Code

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error

func (ServiceQuotaExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceQuotaExceededException) Message

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode

func (s *ServiceQuotaExceededException) StatusCode() int

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

func (ServiceQuotaExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StartAttachmentUploadInput

type StartAttachmentUploadInput struct {

	// A case-sensitive name of the attachment being uploaded.
	//
	// AttachmentName is a required field
	AttachmentName *string `min:"1" type:"string" required:"true"`

	// The size of the attachment in bytes.
	//
	// AttachmentSizeInBytes is a required field
	AttachmentSizeInBytes *int64 `min:"1" type:"long" required:"true"`

	// A unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request. If not provided, the Amazon Web Services SDK populates this
	// field. For more information about idempotency, see Making retries safe with
	// idempotent APIs (https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/).
	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`

	// The authentication token associated with the participant's connection.
	//
	// ConnectionToken is a required field
	ConnectionToken *string `location:"header" locationName:"X-Amz-Bearer" min:"1" type:"string" required:"true"`

	// Describes the MIME file type of the attachment. For a list of supported file
	// types, see Feature specifications (https://docs.aws.amazon.com/connect/latest/adminguide/feature-limits.html)
	// in the Amazon Connect Administrator Guide.
	//
	// ContentType is a required field
	ContentType *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StartAttachmentUploadInput) GoString

func (s StartAttachmentUploadInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartAttachmentUploadInput) SetAttachmentName

SetAttachmentName sets the AttachmentName field's value.

func (*StartAttachmentUploadInput) SetAttachmentSizeInBytes

func (s *StartAttachmentUploadInput) SetAttachmentSizeInBytes(v int64) *StartAttachmentUploadInput

SetAttachmentSizeInBytes sets the AttachmentSizeInBytes field's value.

func (*StartAttachmentUploadInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*StartAttachmentUploadInput) SetConnectionToken

SetConnectionToken sets the ConnectionToken field's value.

func (*StartAttachmentUploadInput) SetContentType

SetContentType sets the ContentType field's value.

func (StartAttachmentUploadInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartAttachmentUploadInput) Validate

func (s *StartAttachmentUploadInput) Validate() error

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

type StartAttachmentUploadOutput

type StartAttachmentUploadOutput struct {

	// A unique identifier for the attachment.
	AttachmentId *string `min:"1" type:"string"`

	// Fields to be used while uploading the attachment.
	UploadMetadata *UploadMetadata `type:"structure"`
	// contains filtered or unexported fields
}

func (StartAttachmentUploadOutput) GoString

func (s StartAttachmentUploadOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartAttachmentUploadOutput) SetAttachmentId

SetAttachmentId sets the AttachmentId field's value.

func (*StartAttachmentUploadOutput) SetUploadMetadata

SetUploadMetadata sets the UploadMetadata field's value.

func (StartAttachmentUploadOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StartPosition

type StartPosition struct {

	// The time in ISO format where to start.
	//
	// It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
	// 2019-11-08T02:41:28.172Z.
	AbsoluteTime *string `min:"1" type:"string"`

	// The ID of the message or event where to start.
	Id *string `min:"1" type:"string"`

	// The start position of the most recent message where you want to start.
	MostRecent *int64 `type:"integer"`
	// contains filtered or unexported fields
}

A filtering option for where to start. For example, if you sent 100 messages, start with message 50.

func (StartPosition) GoString

func (s StartPosition) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartPosition) SetAbsoluteTime

func (s *StartPosition) SetAbsoluteTime(v string) *StartPosition

SetAbsoluteTime sets the AbsoluteTime field's value.

func (*StartPosition) SetId

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

SetId sets the Id field's value.

func (*StartPosition) SetMostRecent

func (s *StartPosition) SetMostRecent(v int64) *StartPosition

SetMostRecent sets the MostRecent field's value.

func (StartPosition) String

func (s StartPosition) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartPosition) Validate

func (s *StartPosition) Validate() error

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

type ThrottlingException

type ThrottlingException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The request was denied due to request throttling.

func (*ThrottlingException) Code

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

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

func (ThrottlingException) String

func (s ThrottlingException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UploadMetadata

type UploadMetadata struct {

	// The headers to be provided while uploading the file to the URL.
	HeadersToInclude map[string]*string `type:"map"`

	// This is the pre-signed URL that can be used for uploading the file to Amazon
	// S3 when used in response to StartAttachmentUpload (https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_StartAttachmentUpload.html).
	Url *string `min:"1" type:"string"`

	// The expiration time of the URL in ISO timestamp. It's specified in ISO 8601
	// format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
	UrlExpiry *string `type:"string"`
	// contains filtered or unexported fields
}

Fields to be used while uploading the attachment.

func (UploadMetadata) GoString

func (s UploadMetadata) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UploadMetadata) SetHeadersToInclude

func (s *UploadMetadata) SetHeadersToInclude(v map[string]*string) *UploadMetadata

SetHeadersToInclude sets the HeadersToInclude field's value.

func (*UploadMetadata) SetUrl

func (s *UploadMetadata) SetUrl(v string) *UploadMetadata

SetUrl sets the Url field's value.

func (*UploadMetadata) SetUrlExpiry

func (s *UploadMetadata) SetUrlExpiry(v string) *UploadMetadata

SetUrlExpiry sets the UrlExpiry field's value.

func (UploadMetadata) String

func (s UploadMetadata) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationException

type ValidationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The input fails to satisfy the constraints specified by Amazon Connect.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

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

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type View

type View struct {

	// The Amazon Resource Name (ARN) of the view.
	Arn *string `type:"string"`

	// View content containing all content necessary to render a view except for
	// runtime input data.
	Content *ViewContent `type:"structure"`

	// The identifier of the view.
	Id *string `min:"1" type:"string"`

	// The name of the view.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by View's
	// String and GoString methods.
	Name *string `min:"1" type:"string" sensitive:"true"`

	// The current version of the view.
	Version *int64 `type:"integer"`
	// contains filtered or unexported fields
}

A view resource object. Contains metadata and content necessary to render the view.

func (View) GoString

func (s View) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*View) SetArn

func (s *View) SetArn(v string) *View

SetArn sets the Arn field's value.

func (*View) SetContent

func (s *View) SetContent(v *ViewContent) *View

SetContent sets the Content field's value.

func (*View) SetId

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

SetId sets the Id field's value.

func (*View) SetName

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

SetName sets the Name field's value.

func (*View) SetVersion

func (s *View) SetVersion(v int64) *View

SetVersion sets the Version field's value.

func (View) String

func (s View) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ViewContent

type ViewContent struct {

	// A list of actions possible from the view
	Actions []*string `type:"list"`

	// The schema representing the input data that the view template must be supplied
	// to render.
	//
	// InputSchema is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by ViewContent's
	// String and GoString methods.
	InputSchema *string `type:"string" sensitive:"true"`

	// The view template representing the structure of the view.
	//
	// Template is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by ViewContent's
	// String and GoString methods.
	Template *string `type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

View content containing all content necessary to render a view except for runtime input data.

func (ViewContent) GoString

func (s ViewContent) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ViewContent) SetActions

func (s *ViewContent) SetActions(v []*string) *ViewContent

SetActions sets the Actions field's value.

func (*ViewContent) SetInputSchema

func (s *ViewContent) SetInputSchema(v string) *ViewContent

SetInputSchema sets the InputSchema field's value.

func (*ViewContent) SetTemplate

func (s *ViewContent) SetTemplate(v string) *ViewContent

SetTemplate sets the Template field's value.

func (ViewContent) String

func (s ViewContent) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Websocket

type Websocket struct {

	// The URL expiration timestamp in ISO date format.
	//
	// It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
	// 2019-11-08T02:41:28.172Z.
	ConnectionExpiry *string `type:"string"`

	// The URL of the websocket.
	Url *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

The websocket for the participant's connection.

func (Websocket) GoString

func (s Websocket) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Websocket) SetConnectionExpiry

func (s *Websocket) SetConnectionExpiry(v string) *Websocket

SetConnectionExpiry sets the ConnectionExpiry field's value.

func (*Websocket) SetUrl

func (s *Websocket) SetUrl(v string) *Websocket

SetUrl sets the Url field's value.

func (Websocket) String

func (s Websocket) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

Directories

Path Synopsis
Package connectparticipantiface provides an interface to enable mocking the Amazon Connect Participant Service service client for testing your code.
Package connectparticipantiface provides an interface to enable mocking the Amazon Connect Participant Service service client for testing your code.

Jump to

Keyboard shortcuts

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