package connect
import "github.com/aws/aws-sdk-go-v2/service/connect"
Package connect provides the client and types for making API requests to Amazon Connect.
Amazon Connect is a cloud-based contact center solution that makes it easy to set up and manage a customer contact center and provide reliable customer engagement at any scale.
Amazon Connect provides rich metrics and real-time reporting that allow you to optimize contact routing. You can also resolve customer issues more efficiently by putting customers in touch with the right agents.
There are limits to the number of Amazon Connect resources that you can create and limits to the number of requests that you can make per second. For more information, see Amazon Connect Service Limits (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html) in the Amazon Connect Administrator Guide.
See https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08 for more information on this service.
See connect package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/connect/
Using the Client
To use Amazon Connect 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 client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/connect/#New
Index ¶
- Constants
- type Channel
- func (enum Channel) MarshalValue() (string, error)
- func (enum Channel) MarshalValueBuf(b []byte) ([]byte, error)
- type ChatMessage
- func (s ChatMessage) MarshalFields(e protocol.FieldEncoder) error
- func (s ChatMessage) String() string
- func (s *ChatMessage) Validate() error
- type Client
- func New(config aws.Config) *Client
- func (c *Client) CreateUserRequest(input *CreateUserInput) CreateUserRequest
- func (c *Client) DeleteUserRequest(input *DeleteUserInput) DeleteUserRequest
- func (c *Client) DescribeUserHierarchyGroupRequest(input *DescribeUserHierarchyGroupInput) DescribeUserHierarchyGroupRequest
- func (c *Client) DescribeUserHierarchyStructureRequest(input *DescribeUserHierarchyStructureInput) DescribeUserHierarchyStructureRequest
- func (c *Client) DescribeUserRequest(input *DescribeUserInput) DescribeUserRequest
- func (c *Client) GetContactAttributesRequest(input *GetContactAttributesInput) GetContactAttributesRequest
- func (c *Client) GetCurrentMetricDataRequest(input *GetCurrentMetricDataInput) GetCurrentMetricDataRequest
- func (c *Client) GetFederationTokenRequest(input *GetFederationTokenInput) GetFederationTokenRequest
- func (c *Client) GetMetricDataRequest(input *GetMetricDataInput) GetMetricDataRequest
- func (c *Client) ListContactFlowsRequest(input *ListContactFlowsInput) ListContactFlowsRequest
- func (c *Client) ListHoursOfOperationsRequest(input *ListHoursOfOperationsInput) ListHoursOfOperationsRequest
- func (c *Client) ListPhoneNumbersRequest(input *ListPhoneNumbersInput) ListPhoneNumbersRequest
- func (c *Client) ListQueuesRequest(input *ListQueuesInput) ListQueuesRequest
- func (c *Client) ListRoutingProfilesRequest(input *ListRoutingProfilesInput) ListRoutingProfilesRequest
- func (c *Client) ListSecurityProfilesRequest(input *ListSecurityProfilesInput) ListSecurityProfilesRequest
- func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
- func (c *Client) ListUserHierarchyGroupsRequest(input *ListUserHierarchyGroupsInput) ListUserHierarchyGroupsRequest
- func (c *Client) ListUsersRequest(input *ListUsersInput) ListUsersRequest
- func (c *Client) StartChatContactRequest(input *StartChatContactInput) StartChatContactRequest
- func (c *Client) StartOutboundVoiceContactRequest(input *StartOutboundVoiceContactInput) StartOutboundVoiceContactRequest
- func (c *Client) StopContactRequest(input *StopContactInput) StopContactRequest
- func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
- func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
- func (c *Client) UpdateContactAttributesRequest(input *UpdateContactAttributesInput) UpdateContactAttributesRequest
- func (c *Client) UpdateUserHierarchyRequest(input *UpdateUserHierarchyInput) UpdateUserHierarchyRequest
- func (c *Client) UpdateUserIdentityInfoRequest(input *UpdateUserIdentityInfoInput) UpdateUserIdentityInfoRequest
- func (c *Client) UpdateUserPhoneConfigRequest(input *UpdateUserPhoneConfigInput) UpdateUserPhoneConfigRequest
- func (c *Client) UpdateUserRoutingProfileRequest(input *UpdateUserRoutingProfileInput) UpdateUserRoutingProfileRequest
- func (c *Client) UpdateUserSecurityProfilesRequest(input *UpdateUserSecurityProfilesInput) UpdateUserSecurityProfilesRequest
- type Comparison
- func (enum Comparison) MarshalValue() (string, error)
- func (enum Comparison) MarshalValueBuf(b []byte) ([]byte, error)
- type ContactFlowSummary
- func (s ContactFlowSummary) MarshalFields(e protocol.FieldEncoder) error
- func (s ContactFlowSummary) String() string
- type ContactFlowType
- func (enum ContactFlowType) MarshalValue() (string, error)
- func (enum ContactFlowType) MarshalValueBuf(b []byte) ([]byte, error)
- type CreateUserInput
- func (s CreateUserInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateUserInput) String() string
- func (s *CreateUserInput) Validate() error
- type CreateUserOutput
- func (s CreateUserOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateUserOutput) String() string
- type CreateUserRequest
- type CreateUserResponse
- type Credentials
- func (s Credentials) MarshalFields(e protocol.FieldEncoder) error
- func (s Credentials) String() string
- type CurrentMetric
- func (s CurrentMetric) MarshalFields(e protocol.FieldEncoder) error
- func (s CurrentMetric) String() string
- type CurrentMetricData
- func (s CurrentMetricData) MarshalFields(e protocol.FieldEncoder) error
- func (s CurrentMetricData) String() string
- type CurrentMetricName
- func (enum CurrentMetricName) MarshalValue() (string, error)
- func (enum CurrentMetricName) MarshalValueBuf(b []byte) ([]byte, error)
- type CurrentMetricResult
- func (s CurrentMetricResult) MarshalFields(e protocol.FieldEncoder) error
- func (s CurrentMetricResult) String() string
- type DeleteUserInput
- func (s DeleteUserInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteUserInput) String() string
- func (s *DeleteUserInput) Validate() error
- type DeleteUserOutput
- func (s DeleteUserOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteUserOutput) String() string
- type DeleteUserRequest
- type DeleteUserResponse
- type DescribeUserHierarchyGroupInput
- func (s DescribeUserHierarchyGroupInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeUserHierarchyGroupInput) String() string
- func (s *DescribeUserHierarchyGroupInput) Validate() error
- type DescribeUserHierarchyGroupOutput
- func (s DescribeUserHierarchyGroupOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeUserHierarchyGroupOutput) String() string
- type DescribeUserHierarchyGroupRequest
- type DescribeUserHierarchyGroupResponse
- type DescribeUserHierarchyStructureInput
- func (s DescribeUserHierarchyStructureInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeUserHierarchyStructureInput) String() string
- func (s *DescribeUserHierarchyStructureInput) Validate() error
- type DescribeUserHierarchyStructureOutput
- func (s DescribeUserHierarchyStructureOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeUserHierarchyStructureOutput) String() string
- type DescribeUserHierarchyStructureRequest
- type DescribeUserHierarchyStructureResponse
- type DescribeUserInput
- func (s DescribeUserInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeUserInput) String() string
- func (s *DescribeUserInput) Validate() error
- type DescribeUserOutput
- func (s DescribeUserOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeUserOutput) String() string
- type DescribeUserRequest
- type DescribeUserResponse
- type Dimensions
- func (s Dimensions) MarshalFields(e protocol.FieldEncoder) error
- func (s Dimensions) String() string
- type Filters
- func (s Filters) MarshalFields(e protocol.FieldEncoder) error
- func (s Filters) String() string
- func (s *Filters) Validate() error
- type GetContactAttributesInput
- func (s GetContactAttributesInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetContactAttributesInput) String() string
- func (s *GetContactAttributesInput) Validate() error
- type GetContactAttributesOutput
- func (s GetContactAttributesOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetContactAttributesOutput) String() string
- type GetContactAttributesRequest
- type GetContactAttributesResponse
- type GetCurrentMetricDataInput
- func (s GetCurrentMetricDataInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetCurrentMetricDataInput) String() string
- func (s *GetCurrentMetricDataInput) Validate() error
- type GetCurrentMetricDataOutput
- func (s GetCurrentMetricDataOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetCurrentMetricDataOutput) String() string
- type GetCurrentMetricDataPaginator
- func NewGetCurrentMetricDataPaginator(req GetCurrentMetricDataRequest) GetCurrentMetricDataPaginator
- func (p *GetCurrentMetricDataPaginator) CurrentPage() *GetCurrentMetricDataOutput
- type GetCurrentMetricDataRequest
- type GetCurrentMetricDataResponse
- type GetFederationTokenInput
- func (s GetFederationTokenInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetFederationTokenInput) String() string
- func (s *GetFederationTokenInput) Validate() error
- type GetFederationTokenOutput
- func (s GetFederationTokenOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetFederationTokenOutput) String() string
- type GetFederationTokenRequest
- type GetFederationTokenResponse
- type GetMetricDataInput
- func (s GetMetricDataInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetMetricDataInput) String() string
- func (s *GetMetricDataInput) Validate() error
- type GetMetricDataOutput
- func (s GetMetricDataOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetMetricDataOutput) String() string
- type GetMetricDataPaginator
- func NewGetMetricDataPaginator(req GetMetricDataRequest) GetMetricDataPaginator
- func (p *GetMetricDataPaginator) CurrentPage() *GetMetricDataOutput
- type GetMetricDataRequest
- type GetMetricDataResponse
- type Grouping
- func (enum Grouping) MarshalValue() (string, error)
- func (enum Grouping) MarshalValueBuf(b []byte) ([]byte, error)
- type HierarchyGroup
- func (s HierarchyGroup) MarshalFields(e protocol.FieldEncoder) error
- func (s HierarchyGroup) String() string
- type HierarchyGroupSummary
- func (s HierarchyGroupSummary) MarshalFields(e protocol.FieldEncoder) error
- func (s HierarchyGroupSummary) String() string
- type HierarchyLevel
- func (s HierarchyLevel) MarshalFields(e protocol.FieldEncoder) error
- func (s HierarchyLevel) String() string
- type HierarchyPath
- func (s HierarchyPath) MarshalFields(e protocol.FieldEncoder) error
- func (s HierarchyPath) String() string
- type HierarchyStructure
- func (s HierarchyStructure) MarshalFields(e protocol.FieldEncoder) error
- func (s HierarchyStructure) String() string
- type HistoricalMetric
- func (s HistoricalMetric) MarshalFields(e protocol.FieldEncoder) error
- func (s HistoricalMetric) String() string
- type HistoricalMetricData
- func (s HistoricalMetricData) MarshalFields(e protocol.FieldEncoder) error
- func (s HistoricalMetricData) String() string
- type HistoricalMetricName
- func (enum HistoricalMetricName) MarshalValue() (string, error)
- func (enum HistoricalMetricName) MarshalValueBuf(b []byte) ([]byte, error)
- type HistoricalMetricResult
- func (s HistoricalMetricResult) MarshalFields(e protocol.FieldEncoder) error
- func (s HistoricalMetricResult) String() string
- type HoursOfOperationSummary
- func (s HoursOfOperationSummary) MarshalFields(e protocol.FieldEncoder) error
- func (s HoursOfOperationSummary) String() string
- type ListContactFlowsInput
- func (s ListContactFlowsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListContactFlowsInput) String() string
- func (s *ListContactFlowsInput) Validate() error
- type ListContactFlowsOutput
- func (s ListContactFlowsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListContactFlowsOutput) String() string
- type ListContactFlowsPaginator
- func NewListContactFlowsPaginator(req ListContactFlowsRequest) ListContactFlowsPaginator
- func (p *ListContactFlowsPaginator) CurrentPage() *ListContactFlowsOutput
- type ListContactFlowsRequest
- type ListContactFlowsResponse
- type ListHoursOfOperationsInput
- func (s ListHoursOfOperationsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListHoursOfOperationsInput) String() string
- func (s *ListHoursOfOperationsInput) Validate() error
- type ListHoursOfOperationsOutput
- func (s ListHoursOfOperationsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListHoursOfOperationsOutput) String() string
- type ListHoursOfOperationsPaginator
- func NewListHoursOfOperationsPaginator(req ListHoursOfOperationsRequest) ListHoursOfOperationsPaginator
- func (p *ListHoursOfOperationsPaginator) CurrentPage() *ListHoursOfOperationsOutput
- type ListHoursOfOperationsRequest
- type ListHoursOfOperationsResponse
- type ListPhoneNumbersInput
- func (s ListPhoneNumbersInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListPhoneNumbersInput) String() string
- func (s *ListPhoneNumbersInput) Validate() error
- type ListPhoneNumbersOutput
- func (s ListPhoneNumbersOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListPhoneNumbersOutput) String() string
- type ListPhoneNumbersPaginator
- func NewListPhoneNumbersPaginator(req ListPhoneNumbersRequest) ListPhoneNumbersPaginator
- func (p *ListPhoneNumbersPaginator) CurrentPage() *ListPhoneNumbersOutput
- type ListPhoneNumbersRequest
- type ListPhoneNumbersResponse
- type ListQueuesInput
- func (s ListQueuesInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListQueuesInput) String() string
- func (s *ListQueuesInput) Validate() error
- type ListQueuesOutput
- func (s ListQueuesOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListQueuesOutput) String() string
- type ListQueuesPaginator
- func NewListQueuesPaginator(req ListQueuesRequest) ListQueuesPaginator
- func (p *ListQueuesPaginator) CurrentPage() *ListQueuesOutput
- type ListQueuesRequest
- type ListQueuesResponse
- type ListRoutingProfilesInput
- func (s ListRoutingProfilesInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListRoutingProfilesInput) String() string
- func (s *ListRoutingProfilesInput) Validate() error
- type ListRoutingProfilesOutput
- func (s ListRoutingProfilesOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListRoutingProfilesOutput) String() string
- type ListRoutingProfilesPaginator
- func NewListRoutingProfilesPaginator(req ListRoutingProfilesRequest) ListRoutingProfilesPaginator
- func (p *ListRoutingProfilesPaginator) CurrentPage() *ListRoutingProfilesOutput
- type ListRoutingProfilesRequest
- type ListRoutingProfilesResponse
- type ListSecurityProfilesInput
- func (s ListSecurityProfilesInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListSecurityProfilesInput) String() string
- func (s *ListSecurityProfilesInput) Validate() error
- type ListSecurityProfilesOutput
- func (s ListSecurityProfilesOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListSecurityProfilesOutput) String() string
- type ListSecurityProfilesPaginator
- func NewListSecurityProfilesPaginator(req ListSecurityProfilesRequest) ListSecurityProfilesPaginator
- func (p *ListSecurityProfilesPaginator) CurrentPage() *ListSecurityProfilesOutput
- type ListSecurityProfilesRequest
- type ListSecurityProfilesResponse
- type ListTagsForResourceInput
- func (s ListTagsForResourceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListTagsForResourceInput) String() string
- func (s *ListTagsForResourceInput) Validate() error
- type ListTagsForResourceOutput
- func (s ListTagsForResourceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListTagsForResourceOutput) String() string
- type ListTagsForResourceRequest
- type ListTagsForResourceResponse
- type ListUserHierarchyGroupsInput
- func (s ListUserHierarchyGroupsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListUserHierarchyGroupsInput) String() string
- func (s *ListUserHierarchyGroupsInput) Validate() error
- type ListUserHierarchyGroupsOutput
- func (s ListUserHierarchyGroupsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListUserHierarchyGroupsOutput) String() string
- type ListUserHierarchyGroupsPaginator
- func NewListUserHierarchyGroupsPaginator(req ListUserHierarchyGroupsRequest) ListUserHierarchyGroupsPaginator
- func (p *ListUserHierarchyGroupsPaginator) CurrentPage() *ListUserHierarchyGroupsOutput
- type ListUserHierarchyGroupsRequest
- type ListUserHierarchyGroupsResponse
- type ListUsersInput
- func (s ListUsersInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListUsersInput) String() string
- func (s *ListUsersInput) Validate() error
- type ListUsersOutput
- func (s ListUsersOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListUsersOutput) String() string
- type ListUsersPaginator
- func NewListUsersPaginator(req ListUsersRequest) ListUsersPaginator
- func (p *ListUsersPaginator) CurrentPage() *ListUsersOutput
- type ListUsersRequest
- type ListUsersResponse
- type ParticipantDetails
- func (s ParticipantDetails) MarshalFields(e protocol.FieldEncoder) error
- func (s ParticipantDetails) String() string
- func (s *ParticipantDetails) Validate() error
- type PhoneNumberCountryCode
- func (enum PhoneNumberCountryCode) MarshalValue() (string, error)
- func (enum PhoneNumberCountryCode) MarshalValueBuf(b []byte) ([]byte, error)
- type PhoneNumberSummary
- func (s PhoneNumberSummary) MarshalFields(e protocol.FieldEncoder) error
- func (s PhoneNumberSummary) String() string
- type PhoneNumberType
- func (enum PhoneNumberType) MarshalValue() (string, error)
- func (enum PhoneNumberType) MarshalValueBuf(b []byte) ([]byte, error)
- type PhoneType
- func (enum PhoneType) MarshalValue() (string, error)
- func (enum PhoneType) MarshalValueBuf(b []byte) ([]byte, error)
- type QueueReference
- func (s QueueReference) MarshalFields(e protocol.FieldEncoder) error
- func (s QueueReference) String() string
- type QueueSummary
- func (s QueueSummary) MarshalFields(e protocol.FieldEncoder) error
- func (s QueueSummary) String() string
- type QueueType
- func (enum QueueType) MarshalValue() (string, error)
- func (enum QueueType) MarshalValueBuf(b []byte) ([]byte, error)
- type RoutingProfileSummary
- func (s RoutingProfileSummary) MarshalFields(e protocol.FieldEncoder) error
- func (s RoutingProfileSummary) String() string
- type SecurityProfileSummary
- func (s SecurityProfileSummary) MarshalFields(e protocol.FieldEncoder) error
- func (s SecurityProfileSummary) String() string
- type StartChatContactInput
- func (s StartChatContactInput) MarshalFields(e protocol.FieldEncoder) error
- func (s StartChatContactInput) String() string
- func (s *StartChatContactInput) Validate() error
- type StartChatContactOutput
- func (s StartChatContactOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s StartChatContactOutput) String() string
- type StartChatContactRequest
- type StartChatContactResponse
- type StartOutboundVoiceContactInput
- func (s StartOutboundVoiceContactInput) MarshalFields(e protocol.FieldEncoder) error
- func (s StartOutboundVoiceContactInput) String() string
- func (s *StartOutboundVoiceContactInput) Validate() error
- type StartOutboundVoiceContactOutput
- func (s StartOutboundVoiceContactOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s StartOutboundVoiceContactOutput) String() string
- type StartOutboundVoiceContactRequest
- type StartOutboundVoiceContactResponse
- type Statistic
- func (enum Statistic) MarshalValue() (string, error)
- func (enum Statistic) MarshalValueBuf(b []byte) ([]byte, error)
- type StopContactInput
- func (s StopContactInput) MarshalFields(e protocol.FieldEncoder) error
- func (s StopContactInput) String() string
- func (s *StopContactInput) Validate() error
- type StopContactOutput
- func (s StopContactOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s StopContactOutput) String() string
- type StopContactRequest
- type StopContactResponse
- type TagResourceInput
- func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s TagResourceInput) String() string
- func (s *TagResourceInput) Validate() error
- type TagResourceOutput
- func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s TagResourceOutput) String() string
- type TagResourceRequest
- type TagResourceResponse
- type Threshold
- type Unit
- func (enum Unit) MarshalValue() (string, error)
- func (enum Unit) MarshalValueBuf(b []byte) ([]byte, error)
- type UntagResourceInput
- func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UntagResourceInput) String() string
- func (s *UntagResourceInput) Validate() error
- type UntagResourceOutput
- func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UntagResourceOutput) String() string
- type UntagResourceRequest
- type UntagResourceResponse
- type UpdateContactAttributesInput
- func (s UpdateContactAttributesInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateContactAttributesInput) String() string
- func (s *UpdateContactAttributesInput) Validate() error
- type UpdateContactAttributesOutput
- func (s UpdateContactAttributesOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateContactAttributesOutput) String() string
- type UpdateContactAttributesRequest
- type UpdateContactAttributesResponse
- type UpdateUserHierarchyInput
- func (s UpdateUserHierarchyInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateUserHierarchyInput) String() string
- func (s *UpdateUserHierarchyInput) Validate() error
- type UpdateUserHierarchyOutput
- func (s UpdateUserHierarchyOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateUserHierarchyOutput) String() string
- type UpdateUserHierarchyRequest
- type UpdateUserHierarchyResponse
- type UpdateUserIdentityInfoInput
- func (s UpdateUserIdentityInfoInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateUserIdentityInfoInput) String() string
- func (s *UpdateUserIdentityInfoInput) Validate() error
- type UpdateUserIdentityInfoOutput
- func (s UpdateUserIdentityInfoOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateUserIdentityInfoOutput) String() string
- type UpdateUserIdentityInfoRequest
- type UpdateUserIdentityInfoResponse
- type UpdateUserPhoneConfigInput
- func (s UpdateUserPhoneConfigInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateUserPhoneConfigInput) String() string
- func (s *UpdateUserPhoneConfigInput) Validate() error
- type UpdateUserPhoneConfigOutput
- func (s UpdateUserPhoneConfigOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateUserPhoneConfigOutput) String() string
- type UpdateUserPhoneConfigRequest
- type UpdateUserPhoneConfigResponse
- type UpdateUserRoutingProfileInput
- func (s UpdateUserRoutingProfileInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateUserRoutingProfileInput) String() string
- func (s *UpdateUserRoutingProfileInput) Validate() error
- type UpdateUserRoutingProfileOutput
- func (s UpdateUserRoutingProfileOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateUserRoutingProfileOutput) String() string
- type UpdateUserRoutingProfileRequest
- type UpdateUserRoutingProfileResponse
- type UpdateUserSecurityProfilesInput
- func (s UpdateUserSecurityProfilesInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateUserSecurityProfilesInput) String() string
- func (s *UpdateUserSecurityProfilesInput) Validate() error
- type UpdateUserSecurityProfilesOutput
- func (s UpdateUserSecurityProfilesOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateUserSecurityProfilesOutput) String() string
- type UpdateUserSecurityProfilesRequest
- type UpdateUserSecurityProfilesResponse
- type User
- type UserIdentityInfo
- func (s UserIdentityInfo) MarshalFields(e protocol.FieldEncoder) error
- func (s UserIdentityInfo) String() string
- func (s *UserIdentityInfo) Validate() error
- type UserPhoneConfig
- func (s UserPhoneConfig) MarshalFields(e protocol.FieldEncoder) error
- func (s UserPhoneConfig) String() string
- func (s *UserPhoneConfig) Validate() error
- type UserSummary
Constants ¶
const ( ServiceName = "Amazon Connect" // Service's name ServiceID = "Connect" // Service's identifier EndpointsID = "connect" // Service's Endpoint identifier )
const ( // ErrCodeContactNotFoundException for service response error code // "ContactNotFoundException". // // The contact with the specified ID is not active or does not exist. ErrCodeContactNotFoundException = "ContactNotFoundException" // ErrCodeDestinationNotAllowedException for service response error code // "DestinationNotAllowedException". // // Outbound calls to the destination number are not allowed. ErrCodeDestinationNotAllowedException = "DestinationNotAllowedException" // ErrCodeDuplicateResourceException for service response error code // "DuplicateResourceException". // // A resource with the specified name already exists. ErrCodeDuplicateResourceException = "DuplicateResourceException" // ErrCodeInternalServiceException for service response error code // "InternalServiceException". // // Request processing failed due to an error or failure with the service. ErrCodeInternalServiceException = "InternalServiceException" // ErrCodeInvalidParameterException for service response error code // "InvalidParameterException". // // One or more of the specified parameters are not valid. ErrCodeInvalidParameterException = "InvalidParameterException" // ErrCodeInvalidRequestException for service response error code // "InvalidRequestException". // // The request is not valid. ErrCodeInvalidRequestException = "InvalidRequestException" // ErrCodeLimitExceededException for service response error code // "LimitExceededException". // // The allowed limit for the resource has been exceeded. ErrCodeLimitExceededException = "LimitExceededException" // ErrCodeOutboundContactNotPermittedException for service response error code // "OutboundContactNotPermittedException". // // The contact is not permitted. ErrCodeOutboundContactNotPermittedException = "OutboundContactNotPermittedException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // The specified resource was not found. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeThrottlingException for service response error code // "ThrottlingException". // // The throttling limit has been exceeded. ErrCodeThrottlingException = "ThrottlingException" // ErrCodeUserNotFoundException for service response error code // "UserNotFoundException". // // No user with the specified credentials was found in the Amazon Connect instance. ErrCodeUserNotFoundException = "UserNotFoundException" )
Types ¶
type Channel ¶
type Channel string
Enum values for Channel
func (Channel) MarshalValue ¶
func (Channel) MarshalValueBuf ¶
type ChatMessage ¶
type ChatMessage struct { // The content of the chat message. // // Content is a required field Content *string `min:"1" type:"string" required:"true"` // The type of the content. Supported types are text/plain. // // ContentType is a required field ContentType *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
A chat message.
func (ChatMessage) MarshalFields ¶
func (s ChatMessage) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ChatMessage) String ¶
func (s ChatMessage) String() string
String returns the string representation
func (*ChatMessage) Validate ¶
func (s *ChatMessage) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Client ¶
Client provides the API operation methods for making requests to Amazon Connect. See this package's package overview docs for details on the service.
The client's 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 client from the provided Config.
Example:
// Create a client from just a config. svc := connect.New(myConfig)
func (*Client) CreateUserRequest ¶
func (c *Client) CreateUserRequest(input *CreateUserInput) CreateUserRequest
CreateUserRequest returns a request value for making API operation for Amazon Connect Service.
Creates a user account for the specified Amazon Connect instance.
// Example sending a request using CreateUserRequest. req := client.CreateUserRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateUser
func (*Client) DeleteUserRequest ¶
func (c *Client) DeleteUserRequest(input *DeleteUserInput) DeleteUserRequest
DeleteUserRequest returns a request value for making API operation for Amazon Connect Service.
Deletes a user account from the specified Amazon Connect instance.
// Example sending a request using DeleteUserRequest. req := client.DeleteUserRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteUser
func (*Client) DescribeUserHierarchyGroupRequest ¶
func (c *Client) DescribeUserHierarchyGroupRequest(input *DescribeUserHierarchyGroupInput) DescribeUserHierarchyGroupRequest
DescribeUserHierarchyGroupRequest returns a request value for making API operation for Amazon Connect Service.
Describes the specified hierarchy group.
// Example sending a request using DescribeUserHierarchyGroupRequest. req := client.DescribeUserHierarchyGroupRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUserHierarchyGroup
func (*Client) DescribeUserHierarchyStructureRequest ¶
func (c *Client) DescribeUserHierarchyStructureRequest(input *DescribeUserHierarchyStructureInput) DescribeUserHierarchyStructureRequest
DescribeUserHierarchyStructureRequest returns a request value for making API operation for Amazon Connect Service.
Describes the hierarchy structure of the specified Amazon Connect instance.
// Example sending a request using DescribeUserHierarchyStructureRequest. req := client.DescribeUserHierarchyStructureRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUserHierarchyStructure
func (*Client) DescribeUserRequest ¶
func (c *Client) DescribeUserRequest(input *DescribeUserInput) DescribeUserRequest
DescribeUserRequest returns a request value for making API operation for Amazon Connect Service.
Describes the specified user account. You can find the instance ID in the console (it’s the final part of the ARN). The console does not display the user IDs. Instead, list the users and note the IDs provided in the output.
// Example sending a request using DescribeUserRequest. req := client.DescribeUserRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUser
func (*Client) GetContactAttributesRequest ¶
func (c *Client) GetContactAttributesRequest(input *GetContactAttributesInput) GetContactAttributesRequest
GetContactAttributesRequest returns a request value for making API operation for Amazon Connect Service.
Retrieves the contact attributes for the specified contact.
// Example sending a request using GetContactAttributesRequest. req := client.GetContactAttributesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetContactAttributes
func (*Client) GetCurrentMetricDataRequest ¶
func (c *Client) GetCurrentMetricDataRequest(input *GetCurrentMetricDataInput) GetCurrentMetricDataRequest
GetCurrentMetricDataRequest returns a request value for making API operation for Amazon Connect Service.
Gets the real-time metric data from the specified Amazon Connect instance.
For more information, see Real-time Metrics Reports (https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-reports.html) in the Amazon Connect Administrator Guide.
// Example sending a request using GetCurrentMetricDataRequest. req := client.GetCurrentMetricDataRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetCurrentMetricData
func (*Client) GetFederationTokenRequest ¶
func (c *Client) GetFederationTokenRequest(input *GetFederationTokenInput) GetFederationTokenRequest
GetFederationTokenRequest returns a request value for making API operation for Amazon Connect Service.
Retrieves a token for federation.
// Example sending a request using GetFederationTokenRequest. req := client.GetFederationTokenRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetFederationToken
func (*Client) GetMetricDataRequest ¶
func (c *Client) GetMetricDataRequest(input *GetMetricDataInput) GetMetricDataRequest
GetMetricDataRequest returns a request value for making API operation for Amazon Connect Service.
Gets historical metric data from the specified Amazon Connect instance.
For more information, see Historical Metrics Reports (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics.html) in the Amazon Connect Administrator Guide.
// Example sending a request using GetMetricDataRequest. req := client.GetMetricDataRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetMetricData
func (*Client) ListContactFlowsRequest ¶
func (c *Client) ListContactFlowsRequest(input *ListContactFlowsInput) ListContactFlowsRequest
ListContactFlowsRequest returns a request value for making API operation for Amazon Connect Service.
Provides information about the contact flows for the specified Amazon Connect instance.
// Example sending a request using ListContactFlowsRequest. req := client.ListContactFlowsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListContactFlows
func (*Client) ListHoursOfOperationsRequest ¶
func (c *Client) ListHoursOfOperationsRequest(input *ListHoursOfOperationsInput) ListHoursOfOperationsRequest
ListHoursOfOperationsRequest returns a request value for making API operation for Amazon Connect Service.
Provides information about the hours of operation for the specified Amazon Connect instance.
// Example sending a request using ListHoursOfOperationsRequest. req := client.ListHoursOfOperationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListHoursOfOperations
func (*Client) ListPhoneNumbersRequest ¶
func (c *Client) ListPhoneNumbersRequest(input *ListPhoneNumbersInput) ListPhoneNumbersRequest
ListPhoneNumbersRequest returns a request value for making API operation for Amazon Connect Service.
Provides information about the phone numbers for the specified Amazon Connect instance.
// Example sending a request using ListPhoneNumbersRequest. req := client.ListPhoneNumbersRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListPhoneNumbers
func (*Client) ListQueuesRequest ¶
func (c *Client) ListQueuesRequest(input *ListQueuesInput) ListQueuesRequest
ListQueuesRequest returns a request value for making API operation for Amazon Connect Service.
Provides information about the queues for the specified Amazon Connect instance.
// Example sending a request using ListQueuesRequest. req := client.ListQueuesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListQueues
func (*Client) ListRoutingProfilesRequest ¶
func (c *Client) ListRoutingProfilesRequest(input *ListRoutingProfilesInput) ListRoutingProfilesRequest
ListRoutingProfilesRequest returns a request value for making API operation for Amazon Connect Service.
Provides summary information about the routing profiles for the specified Amazon Connect instance.
// Example sending a request using ListRoutingProfilesRequest. req := client.ListRoutingProfilesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListRoutingProfiles
func (*Client) ListSecurityProfilesRequest ¶
func (c *Client) ListSecurityProfilesRequest(input *ListSecurityProfilesInput) ListSecurityProfilesRequest
ListSecurityProfilesRequest returns a request value for making API operation for Amazon Connect Service.
Provides summary information about the security profiles for the specified Amazon Connect instance.
// Example sending a request using ListSecurityProfilesRequest. req := client.ListSecurityProfilesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListSecurityProfiles
func (*Client) ListTagsForResourceRequest ¶
func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
ListTagsForResourceRequest returns a request value for making API operation for Amazon Connect Service.
Lists the tags for the specified resource.
// Example sending a request using ListTagsForResourceRequest. req := client.ListTagsForResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListTagsForResource
func (*Client) ListUserHierarchyGroupsRequest ¶
func (c *Client) ListUserHierarchyGroupsRequest(input *ListUserHierarchyGroupsInput) ListUserHierarchyGroupsRequest
ListUserHierarchyGroupsRequest returns a request value for making API operation for Amazon Connect Service.
Provides summary information about the hierarchy groups for the specified Amazon Connect instance.
// Example sending a request using ListUserHierarchyGroupsRequest. req := client.ListUserHierarchyGroupsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListUserHierarchyGroups
func (*Client) ListUsersRequest ¶
func (c *Client) ListUsersRequest(input *ListUsersInput) ListUsersRequest
ListUsersRequest returns a request value for making API operation for Amazon Connect Service.
Provides summary information about the users for the specified Amazon Connect instance.
// Example sending a request using ListUsersRequest. req := client.ListUsersRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListUsers
func (*Client) StartChatContactRequest ¶
func (c *Client) StartChatContactRequest(input *StartChatContactInput) StartChatContactRequest
StartChatContactRequest returns a request value for making API operation for Amazon Connect Service.
Initiates a contact flow to start a new chat for the customer. Response of this API provides a token required to obtain credentials from the CreateParticipantConnection (https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html) API in the Amazon Connect Participant Service.
When a new chat contact is successfully created, clients need to subscribe to the participant’s connection for the created chat within 5 minutes. This is achieved by invoking CreateParticipantConnection (https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html) with WEBSOCKET and CONNECTION_CREDENTIALS.
// Example sending a request using StartChatContactRequest. req := client.StartChatContactRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartChatContact
func (*Client) StartOutboundVoiceContactRequest ¶
func (c *Client) StartOutboundVoiceContactRequest(input *StartOutboundVoiceContactInput) StartOutboundVoiceContactRequest
StartOutboundVoiceContactRequest returns a request value for making API operation for Amazon Connect Service.
Initiates a contact flow to place an outbound call to a customer.
There is a 60 second dialing timeout for this operation. If the call is not connected after 60 seconds, it fails.
// Example sending a request using StartOutboundVoiceContactRequest. req := client.StartOutboundVoiceContactRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartOutboundVoiceContact
func (*Client) StopContactRequest ¶
func (c *Client) StopContactRequest(input *StopContactInput) StopContactRequest
StopContactRequest returns a request value for making API operation for Amazon Connect Service.
Ends the specified contact.
// Example sending a request using StopContactRequest. req := client.StopContactRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StopContact
func (*Client) TagResourceRequest ¶
func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
TagResourceRequest returns a request value for making API operation for Amazon Connect Service.
Adds the specified tags to the specified resource.
The supported resource type is users.
// Example sending a request using TagResourceRequest. req := client.TagResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/TagResource
func (*Client) UntagResourceRequest ¶
func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
UntagResourceRequest returns a request value for making API operation for Amazon Connect Service.
Removes the specified tags from the specified resource.
// Example sending a request using UntagResourceRequest. req := client.UntagResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UntagResource
func (*Client) UpdateContactAttributesRequest ¶
func (c *Client) UpdateContactAttributesRequest(input *UpdateContactAttributesInput) UpdateContactAttributesRequest
UpdateContactAttributesRequest returns a request value for making API operation for Amazon Connect Service.
Creates or updates the contact attributes associated with the specified contact.
You can add or update attributes for both ongoing and completed contacts. For example, you can update the customer's name or the reason the customer called while the call is active, or add notes about steps that the agent took during the call that are displayed to the next agent that takes the call. You can also update attributes for a contact using data from your CRM application and save the data with the contact in Amazon Connect. You could also flag calls for additional analysis, such as legal review or identifying abusive callers.
Contact attributes are available in Amazon Connect for 24 months, and are then deleted.
Important: You cannot use the operation to update attributes for contacts that occurred prior to the release of the API, September 12, 2018. You can update attributes only for contacts that started after the release of the API. If you attempt to update attributes for a contact that occurred prior to the release of the API, a 400 error is returned. This applies also to queued callbacks that were initiated prior to the release of the API but are still active in your instance.
// Example sending a request using UpdateContactAttributesRequest. req := client.UpdateContactAttributesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactAttributes
func (*Client) UpdateUserHierarchyRequest ¶
func (c *Client) UpdateUserHierarchyRequest(input *UpdateUserHierarchyInput) UpdateUserHierarchyRequest
UpdateUserHierarchyRequest returns a request value for making API operation for Amazon Connect Service.
Assigns the specified hierarchy group to the specified user.
// Example sending a request using UpdateUserHierarchyRequest. req := client.UpdateUserHierarchyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserHierarchy
func (*Client) UpdateUserIdentityInfoRequest ¶
func (c *Client) UpdateUserIdentityInfoRequest(input *UpdateUserIdentityInfoInput) UpdateUserIdentityInfoRequest
UpdateUserIdentityInfoRequest returns a request value for making API operation for Amazon Connect Service.
Updates the identity information for the specified user.
// Example sending a request using UpdateUserIdentityInfoRequest. req := client.UpdateUserIdentityInfoRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserIdentityInfo
func (*Client) UpdateUserPhoneConfigRequest ¶
func (c *Client) UpdateUserPhoneConfigRequest(input *UpdateUserPhoneConfigInput) UpdateUserPhoneConfigRequest
UpdateUserPhoneConfigRequest returns a request value for making API operation for Amazon Connect Service.
Updates the phone configuration settings for the specified user.
// Example sending a request using UpdateUserPhoneConfigRequest. req := client.UpdateUserPhoneConfigRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserPhoneConfig
func (*Client) UpdateUserRoutingProfileRequest ¶
func (c *Client) UpdateUserRoutingProfileRequest(input *UpdateUserRoutingProfileInput) UpdateUserRoutingProfileRequest
UpdateUserRoutingProfileRequest returns a request value for making API operation for Amazon Connect Service.
Assigns the specified routing profile to the specified user.
// Example sending a request using UpdateUserRoutingProfileRequest. req := client.UpdateUserRoutingProfileRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserRoutingProfile
func (*Client) UpdateUserSecurityProfilesRequest ¶
func (c *Client) UpdateUserSecurityProfilesRequest(input *UpdateUserSecurityProfilesInput) UpdateUserSecurityProfilesRequest
UpdateUserSecurityProfilesRequest returns a request value for making API operation for Amazon Connect Service.
Assigns the specified security profiles to the specified user.
// Example sending a request using UpdateUserSecurityProfilesRequest. req := client.UpdateUserSecurityProfilesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserSecurityProfiles
type Comparison ¶
type Comparison string
const ( ComparisonLt Comparison = "LT" )
Enum values for Comparison
func (Comparison) MarshalValue ¶
func (enum Comparison) MarshalValue() (string, error)
func (Comparison) MarshalValueBuf ¶
func (enum Comparison) MarshalValueBuf(b []byte) ([]byte, error)
type ContactFlowSummary ¶
type ContactFlowSummary struct { // The Amazon Resource Name (ARN) of the contact flow. Arn *string `type:"string"` // The type of contact flow. ContactFlowType ContactFlowType `type:"string" enum:"true"` // The identifier of the contact flow. Id *string `type:"string"` // The name of the contact flow. Name *string `type:"string"` // contains filtered or unexported fields }
Contains summary information about a contact flow.
func (ContactFlowSummary) MarshalFields ¶
func (s ContactFlowSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ContactFlowSummary) String ¶
func (s ContactFlowSummary) String() string
String returns the string representation
type ContactFlowType ¶
type ContactFlowType string
const ( ContactFlowTypeContactFlow ContactFlowType = "CONTACT_FLOW" ContactFlowTypeCustomerQueue ContactFlowType = "CUSTOMER_QUEUE" ContactFlowTypeCustomerHold ContactFlowType = "CUSTOMER_HOLD" ContactFlowTypeCustomerWhisper ContactFlowType = "CUSTOMER_WHISPER" ContactFlowTypeAgentHold ContactFlowType = "AGENT_HOLD" ContactFlowTypeAgentWhisper ContactFlowType = "AGENT_WHISPER" ContactFlowTypeOutboundWhisper ContactFlowType = "OUTBOUND_WHISPER" ContactFlowTypeAgentTransfer ContactFlowType = "AGENT_TRANSFER" ContactFlowTypeQueueTransfer ContactFlowType = "QUEUE_TRANSFER" )
Enum values for ContactFlowType
func (ContactFlowType) MarshalValue ¶
func (enum ContactFlowType) MarshalValue() (string, error)
func (ContactFlowType) MarshalValueBuf ¶
func (enum ContactFlowType) MarshalValueBuf(b []byte) ([]byte, error)
type CreateUserInput ¶
type CreateUserInput struct { // The identifier of the user account in the directory used for identity management. // If Amazon Connect cannot access the directory, you can specify this identifier // to authenticate users. If you include the identifier, we assume that Amazon // Connect cannot access the directory. Otherwise, the identity information // is used to authenticate users from your directory. // // This parameter is required if you are using an existing directory for identity // management in Amazon Connect when Amazon Connect cannot access your directory // to authenticate users. If you are using SAML for identity management and // include this parameter, an error is returned. DirectoryUserId *string `type:"string"` // The identifier of the hierarchy group for the user. HierarchyGroupId *string `type:"string"` // The information about the identity of the user. IdentityInfo *UserIdentityInfo `type:"structure"` // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The password for the user account. A password is required if you are using // Amazon Connect for identity management. Otherwise, it is an error to include // a password. Password *string `type:"string"` // The phone settings for the user. // // PhoneConfig is a required field PhoneConfig *UserPhoneConfig `type:"structure" required:"true"` // The identifier of the routing profile for the user. // // RoutingProfileId is a required field RoutingProfileId *string `type:"string" required:"true"` // The identifier of the security profile for the user. // // SecurityProfileIds is a required field SecurityProfileIds []string `min:"1" type:"list" required:"true"` // One or more tags. Tags map[string]string `min:"1" type:"map"` // The user name for the account. For instances not using SAML for identity // management, the user name can include up to 20 characters. If you are using // SAML for identity management, the user name can include up to 64 characters // from [a-zA-Z0-9_-.\@]+. // // Username is a required field Username *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateUserInput) MarshalFields ¶
func (s CreateUserInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateUserInput) String ¶
func (s CreateUserInput) String() string
String returns the string representation
func (*CreateUserInput) Validate ¶
func (s *CreateUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateUserOutput ¶
type CreateUserOutput struct { // The Amazon Resource Name (ARN) of the user account. UserArn *string `type:"string"` // The identifier of the user account. UserId *string `type:"string"` // contains filtered or unexported fields }
func (CreateUserOutput) MarshalFields ¶
func (s CreateUserOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateUserOutput) String ¶
func (s CreateUserOutput) String() string
String returns the string representation
type CreateUserRequest ¶
type CreateUserRequest struct { *aws.Request Input *CreateUserInput Copy func(*CreateUserInput) CreateUserRequest }
CreateUserRequest is the request type for the CreateUser API operation.
func (CreateUserRequest) Send ¶
func (r CreateUserRequest) Send(ctx context.Context) (*CreateUserResponse, error)
Send marshals and sends the CreateUser API request.
type CreateUserResponse ¶
type CreateUserResponse struct { *CreateUserOutput // contains filtered or unexported fields }
CreateUserResponse is the response type for the CreateUser API operation.
func (*CreateUserResponse) SDKResponseMetdata ¶
func (r *CreateUserResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateUser request.
type Credentials ¶
type Credentials struct { // An access token generated for a federated user to access Amazon Connect. AccessToken *string `type:"string" sensitive:"true"` // A token generated with an expiration time for the session a user is logged // in to Amazon Connect. AccessTokenExpiration *time.Time `type:"timestamp"` // Renews a token generated for a user to access the Amazon Connect instance. RefreshToken *string `type:"string" sensitive:"true"` // Renews the expiration timer for a generated token. RefreshTokenExpiration *time.Time `type:"timestamp"` // contains filtered or unexported fields }
Contains credentials to use for federation.
func (Credentials) MarshalFields ¶
func (s Credentials) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Credentials) String ¶
func (s Credentials) String() string
String returns the string representation
type CurrentMetric ¶
type CurrentMetric struct { // The name of the metric. Name CurrentMetricName `type:"string" enum:"true"` // The unit for the metric. Unit Unit `type:"string" enum:"true"` // contains filtered or unexported fields }
Contains information about a real-time metric.
func (CurrentMetric) MarshalFields ¶
func (s CurrentMetric) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CurrentMetric) String ¶
func (s CurrentMetric) String() string
String returns the string representation
type CurrentMetricData ¶
type CurrentMetricData struct { // Information about the metric. Metric *CurrentMetric `type:"structure"` // The value of the metric. Value *float64 `type:"double"` // contains filtered or unexported fields }
Contains the data for a real-time metric.
func (CurrentMetricData) MarshalFields ¶
func (s CurrentMetricData) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CurrentMetricData) String ¶
func (s CurrentMetricData) String() string
String returns the string representation
type CurrentMetricName ¶
type CurrentMetricName string
The current metric names.
const ( CurrentMetricNameAgentsOnline CurrentMetricName = "AGENTS_ONLINE" CurrentMetricNameAgentsAvailable CurrentMetricName = "AGENTS_AVAILABLE" CurrentMetricNameAgentsOnCall CurrentMetricName = "AGENTS_ON_CALL" CurrentMetricNameAgentsNonProductive CurrentMetricName = "AGENTS_NON_PRODUCTIVE" CurrentMetricNameAgentsAfterContactWork CurrentMetricName = "AGENTS_AFTER_CONTACT_WORK" CurrentMetricNameAgentsError CurrentMetricName = "AGENTS_ERROR" CurrentMetricNameAgentsStaffed CurrentMetricName = "AGENTS_STAFFED" CurrentMetricNameContactsInQueue CurrentMetricName = "CONTACTS_IN_QUEUE" CurrentMetricNameOldestContactAge CurrentMetricName = "OLDEST_CONTACT_AGE" CurrentMetricNameContactsScheduled CurrentMetricName = "CONTACTS_SCHEDULED" CurrentMetricNameAgentsOnContact CurrentMetricName = "AGENTS_ON_CONTACT" CurrentMetricNameSlotsActive CurrentMetricName = "SLOTS_ACTIVE" CurrentMetricNameSlotsAvailable CurrentMetricName = "SLOTS_AVAILABLE" )
Enum values for CurrentMetricName
func (CurrentMetricName) MarshalValue ¶
func (enum CurrentMetricName) MarshalValue() (string, error)
func (CurrentMetricName) MarshalValueBuf ¶
func (enum CurrentMetricName) MarshalValueBuf(b []byte) ([]byte, error)
type CurrentMetricResult ¶
type CurrentMetricResult struct { // The set of metrics. Collections []CurrentMetricData `type:"list"` // The dimensions for the metrics. Dimensions *Dimensions `type:"structure"` // contains filtered or unexported fields }
Contains information about a set of real-time metrics.
func (CurrentMetricResult) MarshalFields ¶
func (s CurrentMetricResult) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CurrentMetricResult) String ¶
func (s CurrentMetricResult) String() string
String returns the string representation
type DeleteUserInput ¶
type DeleteUserInput struct { // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The identifier of the user. // // UserId is a required field UserId *string `location:"uri" locationName:"UserId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteUserInput) MarshalFields ¶
func (s DeleteUserInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteUserInput) String ¶
func (s DeleteUserInput) String() string
String returns the string representation
func (*DeleteUserInput) Validate ¶
func (s *DeleteUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteUserOutput ¶
type DeleteUserOutput struct {
// contains filtered or unexported fields
}
func (DeleteUserOutput) MarshalFields ¶
func (s DeleteUserOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteUserOutput) String ¶
func (s DeleteUserOutput) String() string
String returns the string representation
type DeleteUserRequest ¶
type DeleteUserRequest struct { *aws.Request Input *DeleteUserInput Copy func(*DeleteUserInput) DeleteUserRequest }
DeleteUserRequest is the request type for the DeleteUser API operation.
func (DeleteUserRequest) Send ¶
func (r DeleteUserRequest) Send(ctx context.Context) (*DeleteUserResponse, error)
Send marshals and sends the DeleteUser API request.
type DeleteUserResponse ¶
type DeleteUserResponse struct { *DeleteUserOutput // contains filtered or unexported fields }
DeleteUserResponse is the response type for the DeleteUser API operation.
func (*DeleteUserResponse) SDKResponseMetdata ¶
func (r *DeleteUserResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteUser request.
type DescribeUserHierarchyGroupInput ¶
type DescribeUserHierarchyGroupInput struct { // The identifier of the hierarchy group. // // HierarchyGroupId is a required field HierarchyGroupId *string `location:"uri" locationName:"HierarchyGroupId" type:"string" required:"true"` // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeUserHierarchyGroupInput) MarshalFields ¶
func (s DescribeUserHierarchyGroupInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeUserHierarchyGroupInput) String ¶
func (s DescribeUserHierarchyGroupInput) String() string
String returns the string representation
func (*DescribeUserHierarchyGroupInput) Validate ¶
func (s *DescribeUserHierarchyGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeUserHierarchyGroupOutput ¶
type DescribeUserHierarchyGroupOutput struct { // Information about the hierarchy group. HierarchyGroup *HierarchyGroup `type:"structure"` // contains filtered or unexported fields }
func (DescribeUserHierarchyGroupOutput) MarshalFields ¶
func (s DescribeUserHierarchyGroupOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeUserHierarchyGroupOutput) String ¶
func (s DescribeUserHierarchyGroupOutput) String() string
String returns the string representation
type DescribeUserHierarchyGroupRequest ¶
type DescribeUserHierarchyGroupRequest struct { *aws.Request Input *DescribeUserHierarchyGroupInput Copy func(*DescribeUserHierarchyGroupInput) DescribeUserHierarchyGroupRequest }
DescribeUserHierarchyGroupRequest is the request type for the DescribeUserHierarchyGroup API operation.
func (DescribeUserHierarchyGroupRequest) Send ¶
func (r DescribeUserHierarchyGroupRequest) Send(ctx context.Context) (*DescribeUserHierarchyGroupResponse, error)
Send marshals and sends the DescribeUserHierarchyGroup API request.
type DescribeUserHierarchyGroupResponse ¶
type DescribeUserHierarchyGroupResponse struct { *DescribeUserHierarchyGroupOutput // contains filtered or unexported fields }
DescribeUserHierarchyGroupResponse is the response type for the DescribeUserHierarchyGroup API operation.
func (*DescribeUserHierarchyGroupResponse) SDKResponseMetdata ¶
func (r *DescribeUserHierarchyGroupResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeUserHierarchyGroup request.
type DescribeUserHierarchyStructureInput ¶
type DescribeUserHierarchyStructureInput struct { // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeUserHierarchyStructureInput) MarshalFields ¶
func (s DescribeUserHierarchyStructureInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeUserHierarchyStructureInput) String ¶
func (s DescribeUserHierarchyStructureInput) String() string
String returns the string representation
func (*DescribeUserHierarchyStructureInput) Validate ¶
func (s *DescribeUserHierarchyStructureInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeUserHierarchyStructureOutput ¶
type DescribeUserHierarchyStructureOutput struct { // Information about the hierarchy structure. HierarchyStructure *HierarchyStructure `type:"structure"` // contains filtered or unexported fields }
func (DescribeUserHierarchyStructureOutput) MarshalFields ¶
func (s DescribeUserHierarchyStructureOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeUserHierarchyStructureOutput) String ¶
func (s DescribeUserHierarchyStructureOutput) String() string
String returns the string representation
type DescribeUserHierarchyStructureRequest ¶
type DescribeUserHierarchyStructureRequest struct { *aws.Request Input *DescribeUserHierarchyStructureInput Copy func(*DescribeUserHierarchyStructureInput) DescribeUserHierarchyStructureRequest }
DescribeUserHierarchyStructureRequest is the request type for the DescribeUserHierarchyStructure API operation.
func (DescribeUserHierarchyStructureRequest) Send ¶
func (r DescribeUserHierarchyStructureRequest) Send(ctx context.Context) (*DescribeUserHierarchyStructureResponse, error)
Send marshals and sends the DescribeUserHierarchyStructure API request.
type DescribeUserHierarchyStructureResponse ¶
type DescribeUserHierarchyStructureResponse struct { *DescribeUserHierarchyStructureOutput // contains filtered or unexported fields }
DescribeUserHierarchyStructureResponse is the response type for the DescribeUserHierarchyStructure API operation.
func (*DescribeUserHierarchyStructureResponse) SDKResponseMetdata ¶
func (r *DescribeUserHierarchyStructureResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeUserHierarchyStructure request.
type DescribeUserInput ¶
type DescribeUserInput struct { // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The identifier of the user account. // // UserId is a required field UserId *string `location:"uri" locationName:"UserId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeUserInput) MarshalFields ¶
func (s DescribeUserInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeUserInput) String ¶
func (s DescribeUserInput) String() string
String returns the string representation
func (*DescribeUserInput) Validate ¶
func (s *DescribeUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeUserOutput ¶
type DescribeUserOutput struct { // Information about the user account and configuration settings. User *User `type:"structure"` // contains filtered or unexported fields }
func (DescribeUserOutput) MarshalFields ¶
func (s DescribeUserOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeUserOutput) String ¶
func (s DescribeUserOutput) String() string
String returns the string representation
type DescribeUserRequest ¶
type DescribeUserRequest struct { *aws.Request Input *DescribeUserInput Copy func(*DescribeUserInput) DescribeUserRequest }
DescribeUserRequest is the request type for the DescribeUser API operation.
func (DescribeUserRequest) Send ¶
func (r DescribeUserRequest) Send(ctx context.Context) (*DescribeUserResponse, error)
Send marshals and sends the DescribeUser API request.
type DescribeUserResponse ¶
type DescribeUserResponse struct { *DescribeUserOutput // contains filtered or unexported fields }
DescribeUserResponse is the response type for the DescribeUser API operation.
func (*DescribeUserResponse) SDKResponseMetdata ¶
func (r *DescribeUserResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeUser request.
type Dimensions ¶
type Dimensions struct { // The channel used for grouping and filters. Channel Channel `type:"string" enum:"true"` // Information about the queue for which metrics are returned. Queue *QueueReference `type:"structure"` // contains filtered or unexported fields }
Contains information about the dimensions for a set of metrics.
func (Dimensions) MarshalFields ¶
func (s Dimensions) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Dimensions) String ¶
func (s Dimensions) String() string
String returns the string representation
type Filters ¶
type Filters struct { // The channel to use to filter the metrics. Channels []Channel `type:"list"` // The queues to use to filter the metrics. You can specify up to 100 queues // per request. Queues []string `min:"1" type:"list"` // contains filtered or unexported fields }
Contains the filter to apply when retrieving metrics.
func (Filters) MarshalFields ¶
func (s Filters) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Filters) String ¶
String returns the string representation
func (*Filters) Validate ¶
Validate inspects the fields of the type to determine if they are valid.
type GetContactAttributesInput ¶
type GetContactAttributesInput struct { // The identifier of the initial contact. // // InitialContactId is a required field InitialContactId *string `location:"uri" locationName:"InitialContactId" min:"1" type:"string" required:"true"` // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetContactAttributesInput) MarshalFields ¶
func (s GetContactAttributesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetContactAttributesInput) String ¶
func (s GetContactAttributesInput) String() string
String returns the string representation
func (*GetContactAttributesInput) Validate ¶
func (s *GetContactAttributesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetContactAttributesOutput ¶
type GetContactAttributesOutput struct { // Information about the attributes. Attributes map[string]string `type:"map"` // contains filtered or unexported fields }
func (GetContactAttributesOutput) MarshalFields ¶
func (s GetContactAttributesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetContactAttributesOutput) String ¶
func (s GetContactAttributesOutput) String() string
String returns the string representation
type GetContactAttributesRequest ¶
type GetContactAttributesRequest struct { *aws.Request Input *GetContactAttributesInput Copy func(*GetContactAttributesInput) GetContactAttributesRequest }
GetContactAttributesRequest is the request type for the GetContactAttributes API operation.
func (GetContactAttributesRequest) Send ¶
func (r GetContactAttributesRequest) Send(ctx context.Context) (*GetContactAttributesResponse, error)
Send marshals and sends the GetContactAttributes API request.
type GetContactAttributesResponse ¶
type GetContactAttributesResponse struct { *GetContactAttributesOutput // contains filtered or unexported fields }
GetContactAttributesResponse is the response type for the GetContactAttributes API operation.
func (*GetContactAttributesResponse) SDKResponseMetdata ¶
func (r *GetContactAttributesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetContactAttributes request.
type GetCurrentMetricDataInput ¶
type GetCurrentMetricDataInput struct { // The metrics to retrieve. Specify the name and unit for each metric. The following // metrics are available: // // AGENTS_AFTER_CONTACT_WORK // // Unit: COUNT // // AGENTS_AVAILABLE // // Unit: COUNT // // AGENTS_ERROR // // Unit: COUNT // // AGENTS_NON_PRODUCTIVE // // Unit: COUNT // // AGENTS_ON_CALL // // Unit: COUNT // // AGENTS_ON_CONTACT // // Unit: COUNT // // AGENTS_ONLINE // // Unit: COUNT // // AGENTS_STAFFED // // Unit: COUNT // // CONTACTS_IN_QUEUE // // Unit: COUNT // // CONTACTS_SCHEDULED // // Unit: COUNT // // OLDEST_CONTACT_AGE // // Unit: SECONDS // // SLOTS_ACTIVE // // Unit: COUNT // // SLOTS_AVAILABLE // // Unit: COUNT // // CurrentMetrics is a required field CurrentMetrics []CurrentMetric `type:"list" required:"true"` // The queues, up to 100, or channels, to use to filter the metrics returned. // Metric data is retrieved only for the resources associated with the queues // or channels included in the filter. You can include both queue IDs and queue // ARNs in the same request. The only supported channel is VOICE. // // Filters is a required field Filters *Filters `type:"structure" required:"true"` // The grouping applied to the metrics returned. For example, when grouped by // QUEUE, the metrics returned apply to each queue rather than aggregated for // all queues. If you group by CHANNEL, you should include a Channels filter. // The only supported channel is VOICE. // // If no Grouping is included in the request, a summary of metrics is returned. Groupings []Grouping `type:"list"` // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The maximimum number of results to return per page. MaxResults *int64 `min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. // // The token expires after 5 minutes from the time it is created. Subsequent // requests that use the token must use the same request parameters as the request // that generated the token. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (GetCurrentMetricDataInput) MarshalFields ¶
func (s GetCurrentMetricDataInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetCurrentMetricDataInput) String ¶
func (s GetCurrentMetricDataInput) String() string
String returns the string representation
func (*GetCurrentMetricDataInput) Validate ¶
func (s *GetCurrentMetricDataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetCurrentMetricDataOutput ¶
type GetCurrentMetricDataOutput struct { // The time at which the metrics were retrieved and cached for pagination. DataSnapshotTime *time.Time `type:"timestamp"` // Information about the real-time metrics. MetricResults []CurrentMetricResult `type:"list"` // If there are additional results, this is the token for the next set of results. // // The token expires after 5 minutes from the time it is created. Subsequent // requests that use the token must use the same request parameters as the request // that generated the token. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (GetCurrentMetricDataOutput) MarshalFields ¶
func (s GetCurrentMetricDataOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetCurrentMetricDataOutput) String ¶
func (s GetCurrentMetricDataOutput) String() string
String returns the string representation
type GetCurrentMetricDataPaginator ¶
GetCurrentMetricDataPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewGetCurrentMetricDataPaginator ¶
func NewGetCurrentMetricDataPaginator(req GetCurrentMetricDataRequest) GetCurrentMetricDataPaginator
NewGetCurrentMetricDataRequestPaginator returns a paginator for GetCurrentMetricData. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.GetCurrentMetricDataRequest(input) p := connect.NewGetCurrentMetricDataRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*GetCurrentMetricDataPaginator) CurrentPage ¶
func (p *GetCurrentMetricDataPaginator) CurrentPage() *GetCurrentMetricDataOutput
type GetCurrentMetricDataRequest ¶
type GetCurrentMetricDataRequest struct { *aws.Request Input *GetCurrentMetricDataInput Copy func(*GetCurrentMetricDataInput) GetCurrentMetricDataRequest }
GetCurrentMetricDataRequest is the request type for the GetCurrentMetricData API operation.
func (GetCurrentMetricDataRequest) Send ¶
func (r GetCurrentMetricDataRequest) Send(ctx context.Context) (*GetCurrentMetricDataResponse, error)
Send marshals and sends the GetCurrentMetricData API request.
type GetCurrentMetricDataResponse ¶
type GetCurrentMetricDataResponse struct { *GetCurrentMetricDataOutput // contains filtered or unexported fields }
GetCurrentMetricDataResponse is the response type for the GetCurrentMetricData API operation.
func (*GetCurrentMetricDataResponse) SDKResponseMetdata ¶
func (r *GetCurrentMetricDataResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetCurrentMetricData request.
type GetFederationTokenInput ¶
type GetFederationTokenInput struct { // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetFederationTokenInput) MarshalFields ¶
func (s GetFederationTokenInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetFederationTokenInput) String ¶
func (s GetFederationTokenInput) String() string
String returns the string representation
func (*GetFederationTokenInput) Validate ¶
func (s *GetFederationTokenInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetFederationTokenOutput ¶
type GetFederationTokenOutput struct { // The credentials to use for federation. Credentials *Credentials `type:"structure"` // contains filtered or unexported fields }
func (GetFederationTokenOutput) MarshalFields ¶
func (s GetFederationTokenOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetFederationTokenOutput) String ¶
func (s GetFederationTokenOutput) String() string
String returns the string representation
type GetFederationTokenRequest ¶
type GetFederationTokenRequest struct { *aws.Request Input *GetFederationTokenInput Copy func(*GetFederationTokenInput) GetFederationTokenRequest }
GetFederationTokenRequest is the request type for the GetFederationToken API operation.
func (GetFederationTokenRequest) Send ¶
func (r GetFederationTokenRequest) Send(ctx context.Context) (*GetFederationTokenResponse, error)
Send marshals and sends the GetFederationToken API request.
type GetFederationTokenResponse ¶
type GetFederationTokenResponse struct { *GetFederationTokenOutput // contains filtered or unexported fields }
GetFederationTokenResponse is the response type for the GetFederationToken API operation.
func (*GetFederationTokenResponse) SDKResponseMetdata ¶
func (r *GetFederationTokenResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetFederationToken request.
type GetMetricDataInput ¶
type GetMetricDataInput struct { // The timestamp, in UNIX Epoch time format, at which to end the reporting interval // for the retrieval of historical metrics data. The time must be specified // using an interval of 5 minutes, such as 11:00, 11:05, 11:10, and must be // later than the start time timestamp. // // The time range between the start and end time must be less than 24 hours. // // EndTime is a required field EndTime *time.Time `type:"timestamp" required:"true"` // The queues, up to 100, or channels, to use to filter the metrics returned. // Metric data is retrieved only for the resources associated with the queues // or channels included in the filter. You can include both queue IDs and queue // ARNs in the same request. The only supported channel is VOICE. // // Filters is a required field Filters *Filters `type:"structure" required:"true"` // The grouping applied to the metrics returned. For example, when results are // grouped by queue, the metrics returned are grouped by queue. The values returned // apply to the metrics for each queue rather than aggregated for all queues. // // The only supported grouping is QUEUE. // // If no grouping is specified, a summary of metrics for all queues is returned. Groupings []Grouping `type:"list"` // The metrics to retrieve. Specify the name, unit, and statistic for each metric. // The following historical metrics are available: // // ABANDON_TIME // // Unit: SECONDS // // Statistic: AVG // // AFTER_CONTACT_WORK_TIME // // Unit: SECONDS // // Statistic: AVG // // API_CONTACTS_HANDLED // // Unit: COUNT // // Statistic: SUM // // CALLBACK_CONTACTS_HANDLED // // Unit: COUNT // // Statistic: SUM // // CONTACTS_ABANDONED // // Unit: COUNT // // Statistic: SUM // // CONTACTS_AGENT_HUNG_UP_FIRST // // Unit: COUNT // // Statistic: SUM // // CONTACTS_CONSULTED // // Unit: COUNT // // Statistic: SUM // // CONTACTS_HANDLED // // Unit: COUNT // // Statistic: SUM // // CONTACTS_HANDLED_INCOMING // // Unit: COUNT // // Statistic: SUM // // CONTACTS_HANDLED_OUTBOUND // // Unit: COUNT // // Statistic: SUM // // CONTACTS_HOLD_ABANDONS // // Unit: COUNT // // Statistic: SUM // // CONTACTS_MISSED // // Unit: COUNT // // Statistic: SUM // // CONTACTS_QUEUED // // Unit: COUNT // // Statistic: SUM // // CONTACTS_TRANSFERRED_IN // // Unit: COUNT // // Statistic: SUM // // CONTACTS_TRANSFERRED_IN_FROM_QUEUE // // Unit: COUNT // // Statistic: SUM // // CONTACTS_TRANSFERRED_OUT // // Unit: COUNT // // Statistic: SUM // // CONTACTS_TRANSFERRED_OUT_FROM_QUEUE // // Unit: COUNT // // Statistic: SUM // // HANDLE_TIME // // Unit: SECONDS // // Statistic: AVG // // HOLD_TIME // // Unit: SECONDS // // Statistic: AVG // // INTERACTION_AND_HOLD_TIME // // Unit: SECONDS // // Statistic: AVG // // INTERACTION_TIME // // Unit: SECONDS // // Statistic: AVG // // OCCUPANCY // // Unit: PERCENT // // Statistic: AVG // // QUEUE_ANSWER_TIME // // Unit: SECONDS // // Statistic: AVG // // QUEUED_TIME // // Unit: SECONDS // // Statistic: MAX // // SERVICE_LEVEL // // Unit: PERCENT // // Statistic: AVG // // Threshold: Only "Less than" comparisons are supported, with the following // service level thresholds: 15, 20, 25, 30, 45, 60, 90, 120, 180, 240, 300, // 600 // // HistoricalMetrics is a required field HistoricalMetrics []HistoricalMetric `type:"list" required:"true"` // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The maximimum number of results to return per page. MaxResults *int64 `min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. NextToken *string `type:"string"` // The timestamp, in UNIX Epoch time format, at which to start the reporting // interval for the retrieval of historical metrics data. The time must be specified // using a multiple of 5 minutes, such as 10:05, 10:10, 10:15. // // The start time cannot be earlier than 24 hours before the time of the request. // Historical metrics are available only for 24 hours. // // StartTime is a required field StartTime *time.Time `type:"timestamp" required:"true"` // contains filtered or unexported fields }
func (GetMetricDataInput) MarshalFields ¶
func (s GetMetricDataInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetMetricDataInput) String ¶
func (s GetMetricDataInput) String() string
String returns the string representation
func (*GetMetricDataInput) Validate ¶
func (s *GetMetricDataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetMetricDataOutput ¶
type GetMetricDataOutput struct { // Information about the historical metrics. // // If no grouping is specified, a summary of metric data is returned. MetricResults []HistoricalMetricResult `type:"list"` // If there are additional results, this is the token for the next set of results. // // The token expires after 5 minutes from the time it is created. Subsequent // requests that use the token must use the same request parameters as the request // that generated the token. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (GetMetricDataOutput) MarshalFields ¶
func (s GetMetricDataOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetMetricDataOutput) String ¶
func (s GetMetricDataOutput) String() string
String returns the string representation
type GetMetricDataPaginator ¶
GetMetricDataPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewGetMetricDataPaginator ¶
func NewGetMetricDataPaginator(req GetMetricDataRequest) GetMetricDataPaginator
NewGetMetricDataRequestPaginator returns a paginator for GetMetricData. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.GetMetricDataRequest(input) p := connect.NewGetMetricDataRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*GetMetricDataPaginator) CurrentPage ¶
func (p *GetMetricDataPaginator) CurrentPage() *GetMetricDataOutput
type GetMetricDataRequest ¶
type GetMetricDataRequest struct { *aws.Request Input *GetMetricDataInput Copy func(*GetMetricDataInput) GetMetricDataRequest }
GetMetricDataRequest is the request type for the GetMetricData API operation.
func (GetMetricDataRequest) Send ¶
func (r GetMetricDataRequest) Send(ctx context.Context) (*GetMetricDataResponse, error)
Send marshals and sends the GetMetricData API request.
type GetMetricDataResponse ¶
type GetMetricDataResponse struct { *GetMetricDataOutput // contains filtered or unexported fields }
GetMetricDataResponse is the response type for the GetMetricData API operation.
func (*GetMetricDataResponse) SDKResponseMetdata ¶
func (r *GetMetricDataResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetMetricData request.
type Grouping ¶
type Grouping string
Enum values for Grouping
func (Grouping) MarshalValue ¶
func (Grouping) MarshalValueBuf ¶
type HierarchyGroup ¶
type HierarchyGroup struct { // The Amazon Resource Name (ARN) of the hierarchy group. Arn *string `type:"string"` // Information about the levels in the hierarchy group. HierarchyPath *HierarchyPath `type:"structure"` // The identifier of the hierarchy group. Id *string `type:"string"` // The identifier of the level in the hierarchy group. LevelId *string `type:"string"` // The name of the hierarchy group. Name *string `type:"string"` // contains filtered or unexported fields }
Contains information about a hierarchy group.
func (HierarchyGroup) MarshalFields ¶
func (s HierarchyGroup) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HierarchyGroup) String ¶
func (s HierarchyGroup) String() string
String returns the string representation
type HierarchyGroupSummary ¶
type HierarchyGroupSummary struct { // The Amazon Resource Name (ARN) of the hierarchy group. Arn *string `type:"string"` // The identifier of the hierarchy group. Id *string `type:"string"` // The name of the hierarchy group. Name *string `type:"string"` // contains filtered or unexported fields }
Contains summary information about a hierarchy group.
func (HierarchyGroupSummary) MarshalFields ¶
func (s HierarchyGroupSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HierarchyGroupSummary) String ¶
func (s HierarchyGroupSummary) String() string
String returns the string representation
type HierarchyLevel ¶
type HierarchyLevel struct { // The Amazon Resource Name (ARN) of the hierarchy level. Arn *string `type:"string"` // The identifier of the hierarchy level. Id *string `type:"string"` // The name of the hierarchy level. Name *string `type:"string"` // contains filtered or unexported fields }
Contains information about a hierarchy level.
func (HierarchyLevel) MarshalFields ¶
func (s HierarchyLevel) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HierarchyLevel) String ¶
func (s HierarchyLevel) String() string
String returns the string representation
type HierarchyPath ¶
type HierarchyPath struct { // Information about level five. LevelFive *HierarchyGroupSummary `type:"structure"` // Information about level four. LevelFour *HierarchyGroupSummary `type:"structure"` // Information about level one. LevelOne *HierarchyGroupSummary `type:"structure"` // Information about level three. LevelThree *HierarchyGroupSummary `type:"structure"` // Information about level two. LevelTwo *HierarchyGroupSummary `type:"structure"` // contains filtered or unexported fields }
Contains information about the levels of a hierarchy group.
func (HierarchyPath) MarshalFields ¶
func (s HierarchyPath) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HierarchyPath) String ¶
func (s HierarchyPath) String() string
String returns the string representation
type HierarchyStructure ¶
type HierarchyStructure struct { // Information about level five. LevelFive *HierarchyLevel `type:"structure"` // Information about level four. LevelFour *HierarchyLevel `type:"structure"` // Information about level one. LevelOne *HierarchyLevel `type:"structure"` // Information about level three. LevelThree *HierarchyLevel `type:"structure"` // Information about level two. LevelTwo *HierarchyLevel `type:"structure"` // contains filtered or unexported fields }
Contains information about a hierarchy structure.
func (HierarchyStructure) MarshalFields ¶
func (s HierarchyStructure) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HierarchyStructure) String ¶
func (s HierarchyStructure) String() string
String returns the string representation
type HistoricalMetric ¶
type HistoricalMetric struct { // The name of the metric. Name HistoricalMetricName `type:"string" enum:"true"` // The statistic for the metric. Statistic Statistic `type:"string" enum:"true"` // The threshold for the metric, used with service level metrics. Threshold *Threshold `type:"structure"` // The unit for the metric. Unit Unit `type:"string" enum:"true"` // contains filtered or unexported fields }
Contains information about a historical metric.
func (HistoricalMetric) MarshalFields ¶
func (s HistoricalMetric) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HistoricalMetric) String ¶
func (s HistoricalMetric) String() string
String returns the string representation
type HistoricalMetricData ¶
type HistoricalMetricData struct { // Information about the metric. Metric *HistoricalMetric `type:"structure"` // The value of the metric. Value *float64 `type:"double"` // contains filtered or unexported fields }
Contains the data for a historical metric.
func (HistoricalMetricData) MarshalFields ¶
func (s HistoricalMetricData) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HistoricalMetricData) String ¶
func (s HistoricalMetricData) String() string
String returns the string representation
type HistoricalMetricName ¶
type HistoricalMetricName string
The historical metric names.
const ( HistoricalMetricNameContactsQueued HistoricalMetricName = "CONTACTS_QUEUED" HistoricalMetricNameContactsHandled HistoricalMetricName = "CONTACTS_HANDLED" HistoricalMetricNameContactsAbandoned HistoricalMetricName = "CONTACTS_ABANDONED" HistoricalMetricNameContactsConsulted HistoricalMetricName = "CONTACTS_CONSULTED" HistoricalMetricNameContactsAgentHungUpFirst HistoricalMetricName = "CONTACTS_AGENT_HUNG_UP_FIRST" HistoricalMetricNameContactsHandledIncoming HistoricalMetricName = "CONTACTS_HANDLED_INCOMING" HistoricalMetricNameContactsHandledOutbound HistoricalMetricName = "CONTACTS_HANDLED_OUTBOUND" HistoricalMetricNameContactsHoldAbandons HistoricalMetricName = "CONTACTS_HOLD_ABANDONS" HistoricalMetricNameContactsTransferredIn HistoricalMetricName = "CONTACTS_TRANSFERRED_IN" HistoricalMetricNameContactsTransferredOut HistoricalMetricName = "CONTACTS_TRANSFERRED_OUT" HistoricalMetricNameContactsTransferredInFromQueue HistoricalMetricName = "CONTACTS_TRANSFERRED_IN_FROM_QUEUE" HistoricalMetricNameContactsTransferredOutFromQueue HistoricalMetricName = "CONTACTS_TRANSFERRED_OUT_FROM_QUEUE" HistoricalMetricNameContactsMissed HistoricalMetricName = "CONTACTS_MISSED" HistoricalMetricNameCallbackContactsHandled HistoricalMetricName = "CALLBACK_CONTACTS_HANDLED" HistoricalMetricNameApiContactsHandled HistoricalMetricName = "API_CONTACTS_HANDLED" HistoricalMetricNameOccupancy HistoricalMetricName = "OCCUPANCY" HistoricalMetricNameHandleTime HistoricalMetricName = "HANDLE_TIME" HistoricalMetricNameAfterContactWorkTime HistoricalMetricName = "AFTER_CONTACT_WORK_TIME" HistoricalMetricNameQueuedTime HistoricalMetricName = "QUEUED_TIME" HistoricalMetricNameAbandonTime HistoricalMetricName = "ABANDON_TIME" HistoricalMetricNameQueueAnswerTime HistoricalMetricName = "QUEUE_ANSWER_TIME" HistoricalMetricNameHoldTime HistoricalMetricName = "HOLD_TIME" HistoricalMetricNameInteractionTime HistoricalMetricName = "INTERACTION_TIME" HistoricalMetricNameInteractionAndHoldTime HistoricalMetricName = "INTERACTION_AND_HOLD_TIME" HistoricalMetricNameServiceLevel HistoricalMetricName = "SERVICE_LEVEL" )
Enum values for HistoricalMetricName
func (HistoricalMetricName) MarshalValue ¶
func (enum HistoricalMetricName) MarshalValue() (string, error)
func (HistoricalMetricName) MarshalValueBuf ¶
func (enum HistoricalMetricName) MarshalValueBuf(b []byte) ([]byte, error)
type HistoricalMetricResult ¶
type HistoricalMetricResult struct { // The set of metrics. Collections []HistoricalMetricData `type:"list"` // The dimension for the metrics. Dimensions *Dimensions `type:"structure"` // contains filtered or unexported fields }
Contains information about the historical metrics retrieved.
func (HistoricalMetricResult) MarshalFields ¶
func (s HistoricalMetricResult) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HistoricalMetricResult) String ¶
func (s HistoricalMetricResult) String() string
String returns the string representation
type HoursOfOperationSummary ¶
type HoursOfOperationSummary struct { // The Amazon Resource Name (ARN) of the hours of operation. Arn *string `type:"string"` // The identifier of the hours of operation. Id *string `type:"string"` // The name of the hours of operation. Name *string `type:"string"` // contains filtered or unexported fields }
Contains summary information about hours of operation for a contact center.
func (HoursOfOperationSummary) MarshalFields ¶
func (s HoursOfOperationSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HoursOfOperationSummary) String ¶
func (s HoursOfOperationSummary) String() string
String returns the string representation
type ListContactFlowsInput ¶
type ListContactFlowsInput struct { // The type of contact flow. ContactFlowTypes []ContactFlowType `location:"querystring" locationName:"contactFlowTypes" type:"list"` // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The maximimum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListContactFlowsInput) MarshalFields ¶
func (s ListContactFlowsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListContactFlowsInput) String ¶
func (s ListContactFlowsInput) String() string
String returns the string representation
func (*ListContactFlowsInput) Validate ¶
func (s *ListContactFlowsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListContactFlowsOutput ¶
type ListContactFlowsOutput struct { // Information about the contact flows. ContactFlowSummaryList []ContactFlowSummary `type:"list"` // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListContactFlowsOutput) MarshalFields ¶
func (s ListContactFlowsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListContactFlowsOutput) String ¶
func (s ListContactFlowsOutput) String() string
String returns the string representation
type ListContactFlowsPaginator ¶
ListContactFlowsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListContactFlowsPaginator ¶
func NewListContactFlowsPaginator(req ListContactFlowsRequest) ListContactFlowsPaginator
NewListContactFlowsRequestPaginator returns a paginator for ListContactFlows. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListContactFlowsRequest(input) p := connect.NewListContactFlowsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListContactFlowsPaginator) CurrentPage ¶
func (p *ListContactFlowsPaginator) CurrentPage() *ListContactFlowsOutput
type ListContactFlowsRequest ¶
type ListContactFlowsRequest struct { *aws.Request Input *ListContactFlowsInput Copy func(*ListContactFlowsInput) ListContactFlowsRequest }
ListContactFlowsRequest is the request type for the ListContactFlows API operation.
func (ListContactFlowsRequest) Send ¶
func (r ListContactFlowsRequest) Send(ctx context.Context) (*ListContactFlowsResponse, error)
Send marshals and sends the ListContactFlows API request.
type ListContactFlowsResponse ¶
type ListContactFlowsResponse struct { *ListContactFlowsOutput // contains filtered or unexported fields }
ListContactFlowsResponse is the response type for the ListContactFlows API operation.
func (*ListContactFlowsResponse) SDKResponseMetdata ¶
func (r *ListContactFlowsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListContactFlows request.
type ListHoursOfOperationsInput ¶
type ListHoursOfOperationsInput struct { // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The maximimum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListHoursOfOperationsInput) MarshalFields ¶
func (s ListHoursOfOperationsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListHoursOfOperationsInput) String ¶
func (s ListHoursOfOperationsInput) String() string
String returns the string representation
func (*ListHoursOfOperationsInput) Validate ¶
func (s *ListHoursOfOperationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListHoursOfOperationsOutput ¶
type ListHoursOfOperationsOutput struct { // Information about the hours of operation. HoursOfOperationSummaryList []HoursOfOperationSummary `type:"list"` // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListHoursOfOperationsOutput) MarshalFields ¶
func (s ListHoursOfOperationsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListHoursOfOperationsOutput) String ¶
func (s ListHoursOfOperationsOutput) String() string
String returns the string representation
type ListHoursOfOperationsPaginator ¶
ListHoursOfOperationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListHoursOfOperationsPaginator ¶
func NewListHoursOfOperationsPaginator(req ListHoursOfOperationsRequest) ListHoursOfOperationsPaginator
NewListHoursOfOperationsRequestPaginator returns a paginator for ListHoursOfOperations. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListHoursOfOperationsRequest(input) p := connect.NewListHoursOfOperationsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListHoursOfOperationsPaginator) CurrentPage ¶
func (p *ListHoursOfOperationsPaginator) CurrentPage() *ListHoursOfOperationsOutput
type ListHoursOfOperationsRequest ¶
type ListHoursOfOperationsRequest struct { *aws.Request Input *ListHoursOfOperationsInput Copy func(*ListHoursOfOperationsInput) ListHoursOfOperationsRequest }
ListHoursOfOperationsRequest is the request type for the ListHoursOfOperations API operation.
func (ListHoursOfOperationsRequest) Send ¶
func (r ListHoursOfOperationsRequest) Send(ctx context.Context) (*ListHoursOfOperationsResponse, error)
Send marshals and sends the ListHoursOfOperations API request.
type ListHoursOfOperationsResponse ¶
type ListHoursOfOperationsResponse struct { *ListHoursOfOperationsOutput // contains filtered or unexported fields }
ListHoursOfOperationsResponse is the response type for the ListHoursOfOperations API operation.
func (*ListHoursOfOperationsResponse) SDKResponseMetdata ¶
func (r *ListHoursOfOperationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListHoursOfOperations request.
type ListPhoneNumbersInput ¶
type ListPhoneNumbersInput struct { // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The maximimum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The ISO country code. PhoneNumberCountryCodes []PhoneNumberCountryCode `location:"querystring" locationName:"phoneNumberCountryCodes" type:"list"` // The type of phone number. PhoneNumberTypes []PhoneNumberType `location:"querystring" locationName:"phoneNumberTypes" type:"list"` // contains filtered or unexported fields }
func (ListPhoneNumbersInput) MarshalFields ¶
func (s ListPhoneNumbersInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListPhoneNumbersInput) String ¶
func (s ListPhoneNumbersInput) String() string
String returns the string representation
func (*ListPhoneNumbersInput) Validate ¶
func (s *ListPhoneNumbersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListPhoneNumbersOutput ¶
type ListPhoneNumbersOutput struct { // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` // Information about the phone numbers. PhoneNumberSummaryList []PhoneNumberSummary `type:"list"` // contains filtered or unexported fields }
func (ListPhoneNumbersOutput) MarshalFields ¶
func (s ListPhoneNumbersOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListPhoneNumbersOutput) String ¶
func (s ListPhoneNumbersOutput) String() string
String returns the string representation
type ListPhoneNumbersPaginator ¶
ListPhoneNumbersPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListPhoneNumbersPaginator ¶
func NewListPhoneNumbersPaginator(req ListPhoneNumbersRequest) ListPhoneNumbersPaginator
NewListPhoneNumbersRequestPaginator returns a paginator for ListPhoneNumbers. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListPhoneNumbersRequest(input) p := connect.NewListPhoneNumbersRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListPhoneNumbersPaginator) CurrentPage ¶
func (p *ListPhoneNumbersPaginator) CurrentPage() *ListPhoneNumbersOutput
type ListPhoneNumbersRequest ¶
type ListPhoneNumbersRequest struct { *aws.Request Input *ListPhoneNumbersInput Copy func(*ListPhoneNumbersInput) ListPhoneNumbersRequest }
ListPhoneNumbersRequest is the request type for the ListPhoneNumbers API operation.
func (ListPhoneNumbersRequest) Send ¶
func (r ListPhoneNumbersRequest) Send(ctx context.Context) (*ListPhoneNumbersResponse, error)
Send marshals and sends the ListPhoneNumbers API request.
type ListPhoneNumbersResponse ¶
type ListPhoneNumbersResponse struct { *ListPhoneNumbersOutput // contains filtered or unexported fields }
ListPhoneNumbersResponse is the response type for the ListPhoneNumbers API operation.
func (*ListPhoneNumbersResponse) SDKResponseMetdata ¶
func (r *ListPhoneNumbersResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListPhoneNumbers request.
type ListQueuesInput ¶
type ListQueuesInput struct { // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The maximimum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The type of queue. QueueTypes []QueueType `location:"querystring" locationName:"queueTypes" type:"list"` // contains filtered or unexported fields }
func (ListQueuesInput) MarshalFields ¶
func (s ListQueuesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListQueuesInput) String ¶
func (s ListQueuesInput) String() string
String returns the string representation
func (*ListQueuesInput) Validate ¶
func (s *ListQueuesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListQueuesOutput ¶
type ListQueuesOutput struct { // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` // Information about the queues. QueueSummaryList []QueueSummary `type:"list"` // contains filtered or unexported fields }
func (ListQueuesOutput) MarshalFields ¶
func (s ListQueuesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListQueuesOutput) String ¶
func (s ListQueuesOutput) String() string
String returns the string representation
type ListQueuesPaginator ¶
ListQueuesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListQueuesPaginator ¶
func NewListQueuesPaginator(req ListQueuesRequest) ListQueuesPaginator
NewListQueuesRequestPaginator returns a paginator for ListQueues. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListQueuesRequest(input) p := connect.NewListQueuesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListQueuesPaginator) CurrentPage ¶
func (p *ListQueuesPaginator) CurrentPage() *ListQueuesOutput
type ListQueuesRequest ¶
type ListQueuesRequest struct { *aws.Request Input *ListQueuesInput Copy func(*ListQueuesInput) ListQueuesRequest }
ListQueuesRequest is the request type for the ListQueues API operation.
func (ListQueuesRequest) Send ¶
func (r ListQueuesRequest) Send(ctx context.Context) (*ListQueuesResponse, error)
Send marshals and sends the ListQueues API request.
type ListQueuesResponse ¶
type ListQueuesResponse struct { *ListQueuesOutput // contains filtered or unexported fields }
ListQueuesResponse is the response type for the ListQueues API operation.
func (*ListQueuesResponse) SDKResponseMetdata ¶
func (r *ListQueuesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListQueues request.
type ListRoutingProfilesInput ¶
type ListRoutingProfilesInput struct { // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The maximimum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListRoutingProfilesInput) MarshalFields ¶
func (s ListRoutingProfilesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListRoutingProfilesInput) String ¶
func (s ListRoutingProfilesInput) String() string
String returns the string representation
func (*ListRoutingProfilesInput) Validate ¶
func (s *ListRoutingProfilesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListRoutingProfilesOutput ¶
type ListRoutingProfilesOutput struct { // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` // Information about the routing profiles. RoutingProfileSummaryList []RoutingProfileSummary `type:"list"` // contains filtered or unexported fields }
func (ListRoutingProfilesOutput) MarshalFields ¶
func (s ListRoutingProfilesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListRoutingProfilesOutput) String ¶
func (s ListRoutingProfilesOutput) String() string
String returns the string representation
type ListRoutingProfilesPaginator ¶
ListRoutingProfilesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListRoutingProfilesPaginator ¶
func NewListRoutingProfilesPaginator(req ListRoutingProfilesRequest) ListRoutingProfilesPaginator
NewListRoutingProfilesRequestPaginator returns a paginator for ListRoutingProfiles. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListRoutingProfilesRequest(input) p := connect.NewListRoutingProfilesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListRoutingProfilesPaginator) CurrentPage ¶
func (p *ListRoutingProfilesPaginator) CurrentPage() *ListRoutingProfilesOutput
type ListRoutingProfilesRequest ¶
type ListRoutingProfilesRequest struct { *aws.Request Input *ListRoutingProfilesInput Copy func(*ListRoutingProfilesInput) ListRoutingProfilesRequest }
ListRoutingProfilesRequest is the request type for the ListRoutingProfiles API operation.
func (ListRoutingProfilesRequest) Send ¶
func (r ListRoutingProfilesRequest) Send(ctx context.Context) (*ListRoutingProfilesResponse, error)
Send marshals and sends the ListRoutingProfiles API request.
type ListRoutingProfilesResponse ¶
type ListRoutingProfilesResponse struct { *ListRoutingProfilesOutput // contains filtered or unexported fields }
ListRoutingProfilesResponse is the response type for the ListRoutingProfiles API operation.
func (*ListRoutingProfilesResponse) SDKResponseMetdata ¶
func (r *ListRoutingProfilesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListRoutingProfiles request.
type ListSecurityProfilesInput ¶
type ListSecurityProfilesInput struct { // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The maximimum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListSecurityProfilesInput) MarshalFields ¶
func (s ListSecurityProfilesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListSecurityProfilesInput) String ¶
func (s ListSecurityProfilesInput) String() string
String returns the string representation
func (*ListSecurityProfilesInput) Validate ¶
func (s *ListSecurityProfilesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListSecurityProfilesOutput ¶
type ListSecurityProfilesOutput struct { // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` // Information about the security profiles. SecurityProfileSummaryList []SecurityProfileSummary `type:"list"` // contains filtered or unexported fields }
func (ListSecurityProfilesOutput) MarshalFields ¶
func (s ListSecurityProfilesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListSecurityProfilesOutput) String ¶
func (s ListSecurityProfilesOutput) String() string
String returns the string representation
type ListSecurityProfilesPaginator ¶
ListSecurityProfilesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListSecurityProfilesPaginator ¶
func NewListSecurityProfilesPaginator(req ListSecurityProfilesRequest) ListSecurityProfilesPaginator
NewListSecurityProfilesRequestPaginator returns a paginator for ListSecurityProfiles. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListSecurityProfilesRequest(input) p := connect.NewListSecurityProfilesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListSecurityProfilesPaginator) CurrentPage ¶
func (p *ListSecurityProfilesPaginator) CurrentPage() *ListSecurityProfilesOutput
type ListSecurityProfilesRequest ¶
type ListSecurityProfilesRequest struct { *aws.Request Input *ListSecurityProfilesInput Copy func(*ListSecurityProfilesInput) ListSecurityProfilesRequest }
ListSecurityProfilesRequest is the request type for the ListSecurityProfiles API operation.
func (ListSecurityProfilesRequest) Send ¶
func (r ListSecurityProfilesRequest) Send(ctx context.Context) (*ListSecurityProfilesResponse, error)
Send marshals and sends the ListSecurityProfiles API request.
type ListSecurityProfilesResponse ¶
type ListSecurityProfilesResponse struct { *ListSecurityProfilesOutput // contains filtered or unexported fields }
ListSecurityProfilesResponse is the response type for the ListSecurityProfiles API operation.
func (*ListSecurityProfilesResponse) SDKResponseMetdata ¶
func (r *ListSecurityProfilesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListSecurityProfiles request.
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) of the resource. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListTagsForResourceInput) MarshalFields ¶
func (s ListTagsForResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTagsForResourceInput) String ¶
func (s ListTagsForResourceInput) String() string
String returns the string representation
func (*ListTagsForResourceInput) Validate ¶
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // Information about the tags. Tags map[string]string `locationName:"tags" min:"1" type:"map"` // contains filtered or unexported fields }
func (ListTagsForResourceOutput) MarshalFields ¶
func (s ListTagsForResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTagsForResourceOutput) String ¶
func (s ListTagsForResourceOutput) String() string
String returns the string representation
type ListTagsForResourceRequest ¶
type ListTagsForResourceRequest struct { *aws.Request Input *ListTagsForResourceInput Copy func(*ListTagsForResourceInput) ListTagsForResourceRequest }
ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.
func (ListTagsForResourceRequest) Send ¶
func (r ListTagsForResourceRequest) Send(ctx context.Context) (*ListTagsForResourceResponse, error)
Send marshals and sends the ListTagsForResource API request.
type ListTagsForResourceResponse ¶
type ListTagsForResourceResponse struct { *ListTagsForResourceOutput // contains filtered or unexported fields }
ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.
func (*ListTagsForResourceResponse) SDKResponseMetdata ¶
func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListTagsForResource request.
type ListUserHierarchyGroupsInput ¶
type ListUserHierarchyGroupsInput struct { // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The maximimum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListUserHierarchyGroupsInput) MarshalFields ¶
func (s ListUserHierarchyGroupsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListUserHierarchyGroupsInput) String ¶
func (s ListUserHierarchyGroupsInput) String() string
String returns the string representation
func (*ListUserHierarchyGroupsInput) Validate ¶
func (s *ListUserHierarchyGroupsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListUserHierarchyGroupsOutput ¶
type ListUserHierarchyGroupsOutput struct { // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` // Information about the hierarchy groups. UserHierarchyGroupSummaryList []HierarchyGroupSummary `type:"list"` // contains filtered or unexported fields }
func (ListUserHierarchyGroupsOutput) MarshalFields ¶
func (s ListUserHierarchyGroupsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListUserHierarchyGroupsOutput) String ¶
func (s ListUserHierarchyGroupsOutput) String() string
String returns the string representation
type ListUserHierarchyGroupsPaginator ¶
ListUserHierarchyGroupsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListUserHierarchyGroupsPaginator ¶
func NewListUserHierarchyGroupsPaginator(req ListUserHierarchyGroupsRequest) ListUserHierarchyGroupsPaginator
NewListUserHierarchyGroupsRequestPaginator returns a paginator for ListUserHierarchyGroups. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListUserHierarchyGroupsRequest(input) p := connect.NewListUserHierarchyGroupsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListUserHierarchyGroupsPaginator) CurrentPage ¶
func (p *ListUserHierarchyGroupsPaginator) CurrentPage() *ListUserHierarchyGroupsOutput
type ListUserHierarchyGroupsRequest ¶
type ListUserHierarchyGroupsRequest struct { *aws.Request Input *ListUserHierarchyGroupsInput Copy func(*ListUserHierarchyGroupsInput) ListUserHierarchyGroupsRequest }
ListUserHierarchyGroupsRequest is the request type for the ListUserHierarchyGroups API operation.
func (ListUserHierarchyGroupsRequest) Send ¶
func (r ListUserHierarchyGroupsRequest) Send(ctx context.Context) (*ListUserHierarchyGroupsResponse, error)
Send marshals and sends the ListUserHierarchyGroups API request.
type ListUserHierarchyGroupsResponse ¶
type ListUserHierarchyGroupsResponse struct { *ListUserHierarchyGroupsOutput // contains filtered or unexported fields }
ListUserHierarchyGroupsResponse is the response type for the ListUserHierarchyGroups API operation.
func (*ListUserHierarchyGroupsResponse) SDKResponseMetdata ¶
func (r *ListUserHierarchyGroupsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListUserHierarchyGroups request.
type ListUsersInput ¶
type ListUsersInput struct { // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The maximimum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListUsersInput) MarshalFields ¶
func (s ListUsersInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListUsersInput) String ¶
func (s ListUsersInput) String() string
String returns the string representation
func (*ListUsersInput) Validate ¶
func (s *ListUsersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListUsersOutput ¶
type ListUsersOutput struct { // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` // Information about the users. UserSummaryList []UserSummary `type:"list"` // contains filtered or unexported fields }
func (ListUsersOutput) MarshalFields ¶
func (s ListUsersOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListUsersOutput) String ¶
func (s ListUsersOutput) String() string
String returns the string representation
type ListUsersPaginator ¶
ListUsersPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListUsersPaginator ¶
func NewListUsersPaginator(req ListUsersRequest) ListUsersPaginator
NewListUsersRequestPaginator returns a paginator for ListUsers. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListUsersRequest(input) p := connect.NewListUsersRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListUsersPaginator) CurrentPage ¶
func (p *ListUsersPaginator) CurrentPage() *ListUsersOutput
type ListUsersRequest ¶
type ListUsersRequest struct { *aws.Request Input *ListUsersInput Copy func(*ListUsersInput) ListUsersRequest }
ListUsersRequest is the request type for the ListUsers API operation.
func (ListUsersRequest) Send ¶
func (r ListUsersRequest) Send(ctx context.Context) (*ListUsersResponse, error)
Send marshals and sends the ListUsers API request.
type ListUsersResponse ¶
type ListUsersResponse struct { *ListUsersOutput // contains filtered or unexported fields }
ListUsersResponse is the response type for the ListUsers API operation.
func (*ListUsersResponse) SDKResponseMetdata ¶
func (r *ListUsersResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListUsers request.
type ParticipantDetails ¶
type ParticipantDetails struct { // Display name of the participant. // // DisplayName is a required field DisplayName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
The customer's details.
func (ParticipantDetails) MarshalFields ¶
func (s ParticipantDetails) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ParticipantDetails) String ¶
func (s ParticipantDetails) String() string
String returns the string representation
func (*ParticipantDetails) Validate ¶
func (s *ParticipantDetails) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PhoneNumberCountryCode ¶
type PhoneNumberCountryCode string
const ( PhoneNumberCountryCodeAf PhoneNumberCountryCode = "AF" PhoneNumberCountryCodeAl PhoneNumberCountryCode = "AL" PhoneNumberCountryCodeDz PhoneNumberCountryCode = "DZ" PhoneNumberCountryCodeAs PhoneNumberCountryCode = "AS" PhoneNumberCountryCodeAd PhoneNumberCountryCode = "AD" PhoneNumberCountryCodeAo PhoneNumberCountryCode = "AO" PhoneNumberCountryCodeAi PhoneNumberCountryCode = "AI" PhoneNumberCountryCodeAq PhoneNumberCountryCode = "AQ" PhoneNumberCountryCodeAg PhoneNumberCountryCode = "AG" PhoneNumberCountryCodeAr PhoneNumberCountryCode = "AR" PhoneNumberCountryCodeAm PhoneNumberCountryCode = "AM" PhoneNumberCountryCodeAw PhoneNumberCountryCode = "AW" PhoneNumberCountryCodeAu PhoneNumberCountryCode = "AU" PhoneNumberCountryCodeAt PhoneNumberCountryCode = "AT" PhoneNumberCountryCodeAz PhoneNumberCountryCode = "AZ" PhoneNumberCountryCodeBs PhoneNumberCountryCode = "BS" PhoneNumberCountryCodeBh PhoneNumberCountryCode = "BH" PhoneNumberCountryCodeBd PhoneNumberCountryCode = "BD" PhoneNumberCountryCodeBb PhoneNumberCountryCode = "BB" PhoneNumberCountryCodeBy PhoneNumberCountryCode = "BY" PhoneNumberCountryCodeBe PhoneNumberCountryCode = "BE" PhoneNumberCountryCodeBz PhoneNumberCountryCode = "BZ" PhoneNumberCountryCodeBj PhoneNumberCountryCode = "BJ" PhoneNumberCountryCodeBm PhoneNumberCountryCode = "BM" PhoneNumberCountryCodeBt PhoneNumberCountryCode = "BT" PhoneNumberCountryCodeBo PhoneNumberCountryCode = "BO" PhoneNumberCountryCodeBa PhoneNumberCountryCode = "BA" PhoneNumberCountryCodeBw PhoneNumberCountryCode = "BW" PhoneNumberCountryCodeBr PhoneNumberCountryCode = "BR" PhoneNumberCountryCodeIo PhoneNumberCountryCode = "IO" PhoneNumberCountryCodeVg PhoneNumberCountryCode = "VG" PhoneNumberCountryCodeBn PhoneNumberCountryCode = "BN" PhoneNumberCountryCodeBg PhoneNumberCountryCode = "BG" PhoneNumberCountryCodeBf PhoneNumberCountryCode = "BF" PhoneNumberCountryCodeBi PhoneNumberCountryCode = "BI" PhoneNumberCountryCodeKh PhoneNumberCountryCode = "KH" PhoneNumberCountryCodeCm PhoneNumberCountryCode = "CM" PhoneNumberCountryCodeCa PhoneNumberCountryCode = "CA" PhoneNumberCountryCodeCv PhoneNumberCountryCode = "CV" PhoneNumberCountryCodeKy PhoneNumberCountryCode = "KY" PhoneNumberCountryCodeCf PhoneNumberCountryCode = "CF" PhoneNumberCountryCodeTd PhoneNumberCountryCode = "TD" PhoneNumberCountryCodeCl PhoneNumberCountryCode = "CL" PhoneNumberCountryCodeCn PhoneNumberCountryCode = "CN" PhoneNumberCountryCodeCx PhoneNumberCountryCode = "CX" PhoneNumberCountryCodeCc PhoneNumberCountryCode = "CC" PhoneNumberCountryCodeCo PhoneNumberCountryCode = "CO" PhoneNumberCountryCodeKm PhoneNumberCountryCode = "KM" PhoneNumberCountryCodeCk PhoneNumberCountryCode = "CK" PhoneNumberCountryCodeCr PhoneNumberCountryCode = "CR" PhoneNumberCountryCodeHr PhoneNumberCountryCode = "HR" PhoneNumberCountryCodeCu PhoneNumberCountryCode = "CU" PhoneNumberCountryCodeCw PhoneNumberCountryCode = "CW" PhoneNumberCountryCodeCy PhoneNumberCountryCode = "CY" PhoneNumberCountryCodeCz PhoneNumberCountryCode = "CZ" PhoneNumberCountryCodeCd PhoneNumberCountryCode = "CD" PhoneNumberCountryCodeDk PhoneNumberCountryCode = "DK" PhoneNumberCountryCodeDj PhoneNumberCountryCode = "DJ" PhoneNumberCountryCodeDm PhoneNumberCountryCode = "DM" PhoneNumberCountryCodeDo PhoneNumberCountryCode = "DO" PhoneNumberCountryCodeTl PhoneNumberCountryCode = "TL" PhoneNumberCountryCodeEc PhoneNumberCountryCode = "EC" PhoneNumberCountryCodeEg PhoneNumberCountryCode = "EG" PhoneNumberCountryCodeSv PhoneNumberCountryCode = "SV" PhoneNumberCountryCodeGq PhoneNumberCountryCode = "GQ" PhoneNumberCountryCodeEr PhoneNumberCountryCode = "ER" PhoneNumberCountryCodeEe PhoneNumberCountryCode = "EE" PhoneNumberCountryCodeEt PhoneNumberCountryCode = "ET" PhoneNumberCountryCodeFk PhoneNumberCountryCode = "FK" PhoneNumberCountryCodeFo PhoneNumberCountryCode = "FO" PhoneNumberCountryCodeFj PhoneNumberCountryCode = "FJ" PhoneNumberCountryCodeFi PhoneNumberCountryCode = "FI" PhoneNumberCountryCodeFr PhoneNumberCountryCode = "FR" PhoneNumberCountryCodePf PhoneNumberCountryCode = "PF" PhoneNumberCountryCodeGa PhoneNumberCountryCode = "GA" PhoneNumberCountryCodeGm PhoneNumberCountryCode = "GM" PhoneNumberCountryCodeGe PhoneNumberCountryCode = "GE" PhoneNumberCountryCodeDe PhoneNumberCountryCode = "DE" PhoneNumberCountryCodeGh PhoneNumberCountryCode = "GH" PhoneNumberCountryCodeGi PhoneNumberCountryCode = "GI" PhoneNumberCountryCodeGr PhoneNumberCountryCode = "GR" PhoneNumberCountryCodeGl PhoneNumberCountryCode = "GL" PhoneNumberCountryCodeGd PhoneNumberCountryCode = "GD" PhoneNumberCountryCodeGu PhoneNumberCountryCode = "GU" PhoneNumberCountryCodeGt PhoneNumberCountryCode = "GT" PhoneNumberCountryCodeGg PhoneNumberCountryCode = "GG" PhoneNumberCountryCodeGn PhoneNumberCountryCode = "GN" PhoneNumberCountryCodeGw PhoneNumberCountryCode = "GW" PhoneNumberCountryCodeGy PhoneNumberCountryCode = "GY" PhoneNumberCountryCodeHt PhoneNumberCountryCode = "HT" PhoneNumberCountryCodeHn PhoneNumberCountryCode = "HN" PhoneNumberCountryCodeHk PhoneNumberCountryCode = "HK" PhoneNumberCountryCodeHu PhoneNumberCountryCode = "HU" PhoneNumberCountryCodeIs PhoneNumberCountryCode = "IS" PhoneNumberCountryCodeIn PhoneNumberCountryCode = "IN" PhoneNumberCountryCodeId PhoneNumberCountryCode = "ID" PhoneNumberCountryCodeIr PhoneNumberCountryCode = "IR" PhoneNumberCountryCodeIq PhoneNumberCountryCode = "IQ" PhoneNumberCountryCodeIe PhoneNumberCountryCode = "IE" PhoneNumberCountryCodeIm PhoneNumberCountryCode = "IM" PhoneNumberCountryCodeIl PhoneNumberCountryCode = "IL" PhoneNumberCountryCodeIt PhoneNumberCountryCode = "IT" PhoneNumberCountryCodeCi PhoneNumberCountryCode = "CI" PhoneNumberCountryCodeJm PhoneNumberCountryCode = "JM" PhoneNumberCountryCodeJp PhoneNumberCountryCode = "JP" PhoneNumberCountryCodeJe PhoneNumberCountryCode = "JE" PhoneNumberCountryCodeJo PhoneNumberCountryCode = "JO" PhoneNumberCountryCodeKz PhoneNumberCountryCode = "KZ" PhoneNumberCountryCodeKe PhoneNumberCountryCode = "KE" PhoneNumberCountryCodeKi PhoneNumberCountryCode = "KI" PhoneNumberCountryCodeKw PhoneNumberCountryCode = "KW" PhoneNumberCountryCodeKg PhoneNumberCountryCode = "KG" PhoneNumberCountryCodeLa PhoneNumberCountryCode = "LA" PhoneNumberCountryCodeLv PhoneNumberCountryCode = "LV" PhoneNumberCountryCodeLb PhoneNumberCountryCode = "LB" PhoneNumberCountryCodeLs PhoneNumberCountryCode = "LS" PhoneNumberCountryCodeLr PhoneNumberCountryCode = "LR" PhoneNumberCountryCodeLy PhoneNumberCountryCode = "LY" PhoneNumberCountryCodeLi PhoneNumberCountryCode = "LI" PhoneNumberCountryCodeLt PhoneNumberCountryCode = "LT" PhoneNumberCountryCodeLu PhoneNumberCountryCode = "LU" PhoneNumberCountryCodeMo PhoneNumberCountryCode = "MO" PhoneNumberCountryCodeMk PhoneNumberCountryCode = "MK" PhoneNumberCountryCodeMg PhoneNumberCountryCode = "MG" PhoneNumberCountryCodeMw PhoneNumberCountryCode = "MW" PhoneNumberCountryCodeMy PhoneNumberCountryCode = "MY" PhoneNumberCountryCodeMv PhoneNumberCountryCode = "MV" PhoneNumberCountryCodeMl PhoneNumberCountryCode = "ML" PhoneNumberCountryCodeMt PhoneNumberCountryCode = "MT" PhoneNumberCountryCodeMh PhoneNumberCountryCode = "MH" PhoneNumberCountryCodeMr PhoneNumberCountryCode = "MR" PhoneNumberCountryCodeMu PhoneNumberCountryCode = "MU" PhoneNumberCountryCodeYt PhoneNumberCountryCode = "YT" PhoneNumberCountryCodeMx PhoneNumberCountryCode = "MX" PhoneNumberCountryCodeFm PhoneNumberCountryCode = "FM" PhoneNumberCountryCodeMd PhoneNumberCountryCode = "MD" PhoneNumberCountryCodeMc PhoneNumberCountryCode = "MC" PhoneNumberCountryCodeMn PhoneNumberCountryCode = "MN" PhoneNumberCountryCodeMe PhoneNumberCountryCode = "ME" PhoneNumberCountryCodeMs PhoneNumberCountryCode = "MS" PhoneNumberCountryCodeMa PhoneNumberCountryCode = "MA" PhoneNumberCountryCodeMz PhoneNumberCountryCode = "MZ" PhoneNumberCountryCodeMm PhoneNumberCountryCode = "MM" PhoneNumberCountryCodeNa PhoneNumberCountryCode = "NA" PhoneNumberCountryCodeNr PhoneNumberCountryCode = "NR" PhoneNumberCountryCodeNp PhoneNumberCountryCode = "NP" PhoneNumberCountryCodeNl PhoneNumberCountryCode = "NL" PhoneNumberCountryCodeAn PhoneNumberCountryCode = "AN" PhoneNumberCountryCodeNc PhoneNumberCountryCode = "NC" PhoneNumberCountryCodeNz PhoneNumberCountryCode = "NZ" PhoneNumberCountryCodeNi PhoneNumberCountryCode = "NI" PhoneNumberCountryCodeNe PhoneNumberCountryCode = "NE" PhoneNumberCountryCodeNg PhoneNumberCountryCode = "NG" PhoneNumberCountryCodeNu PhoneNumberCountryCode = "NU" PhoneNumberCountryCodeKp PhoneNumberCountryCode = "KP" PhoneNumberCountryCodeMp PhoneNumberCountryCode = "MP" PhoneNumberCountryCodeNo PhoneNumberCountryCode = "NO" PhoneNumberCountryCodeOm PhoneNumberCountryCode = "OM" PhoneNumberCountryCodePk PhoneNumberCountryCode = "PK" PhoneNumberCountryCodePw PhoneNumberCountryCode = "PW" PhoneNumberCountryCodePa PhoneNumberCountryCode = "PA" PhoneNumberCountryCodePg PhoneNumberCountryCode = "PG" PhoneNumberCountryCodePy PhoneNumberCountryCode = "PY" PhoneNumberCountryCodePe PhoneNumberCountryCode = "PE" PhoneNumberCountryCodePh PhoneNumberCountryCode = "PH" PhoneNumberCountryCodePn PhoneNumberCountryCode = "PN" PhoneNumberCountryCodePl PhoneNumberCountryCode = "PL" PhoneNumberCountryCodePt PhoneNumberCountryCode = "PT" PhoneNumberCountryCodePr PhoneNumberCountryCode = "PR" PhoneNumberCountryCodeQa PhoneNumberCountryCode = "QA" PhoneNumberCountryCodeCg PhoneNumberCountryCode = "CG" PhoneNumberCountryCodeRe PhoneNumberCountryCode = "RE" PhoneNumberCountryCodeRo PhoneNumberCountryCode = "RO" PhoneNumberCountryCodeRu PhoneNumberCountryCode = "RU" PhoneNumberCountryCodeRw PhoneNumberCountryCode = "RW" PhoneNumberCountryCodeBl PhoneNumberCountryCode = "BL" PhoneNumberCountryCodeSh PhoneNumberCountryCode = "SH" PhoneNumberCountryCodeKn PhoneNumberCountryCode = "KN" PhoneNumberCountryCodeLc PhoneNumberCountryCode = "LC" PhoneNumberCountryCodeMf PhoneNumberCountryCode = "MF" PhoneNumberCountryCodePm PhoneNumberCountryCode = "PM" PhoneNumberCountryCodeVc PhoneNumberCountryCode = "VC" PhoneNumberCountryCodeWs PhoneNumberCountryCode = "WS" PhoneNumberCountryCodeSm PhoneNumberCountryCode = "SM" PhoneNumberCountryCodeSt PhoneNumberCountryCode = "ST" PhoneNumberCountryCodeSa PhoneNumberCountryCode = "SA" PhoneNumberCountryCodeSn PhoneNumberCountryCode = "SN" PhoneNumberCountryCodeRs PhoneNumberCountryCode = "RS" PhoneNumberCountryCodeSc PhoneNumberCountryCode = "SC" PhoneNumberCountryCodeSl PhoneNumberCountryCode = "SL" PhoneNumberCountryCodeSg PhoneNumberCountryCode = "SG" PhoneNumberCountryCodeSx PhoneNumberCountryCode = "SX" PhoneNumberCountryCodeSk PhoneNumberCountryCode = "SK" PhoneNumberCountryCodeSi PhoneNumberCountryCode = "SI" PhoneNumberCountryCodeSb PhoneNumberCountryCode = "SB" PhoneNumberCountryCodeSo PhoneNumberCountryCode = "SO" PhoneNumberCountryCodeZa PhoneNumberCountryCode = "ZA" PhoneNumberCountryCodeKr PhoneNumberCountryCode = "KR" PhoneNumberCountryCodeEs PhoneNumberCountryCode = "ES" PhoneNumberCountryCodeLk PhoneNumberCountryCode = "LK" PhoneNumberCountryCodeSd PhoneNumberCountryCode = "SD" PhoneNumberCountryCodeSr PhoneNumberCountryCode = "SR" PhoneNumberCountryCodeSj PhoneNumberCountryCode = "SJ" PhoneNumberCountryCodeSz PhoneNumberCountryCode = "SZ" PhoneNumberCountryCodeSe PhoneNumberCountryCode = "SE" PhoneNumberCountryCodeCh PhoneNumberCountryCode = "CH" PhoneNumberCountryCodeSy PhoneNumberCountryCode = "SY" PhoneNumberCountryCodeTw PhoneNumberCountryCode = "TW" PhoneNumberCountryCodeTj PhoneNumberCountryCode = "TJ" PhoneNumberCountryCodeTz PhoneNumberCountryCode = "TZ" PhoneNumberCountryCodeTh PhoneNumberCountryCode = "TH" PhoneNumberCountryCodeTg PhoneNumberCountryCode = "TG" PhoneNumberCountryCodeTk PhoneNumberCountryCode = "TK" PhoneNumberCountryCodeTo PhoneNumberCountryCode = "TO" PhoneNumberCountryCodeTt PhoneNumberCountryCode = "TT" PhoneNumberCountryCodeTn PhoneNumberCountryCode = "TN" PhoneNumberCountryCodeTr PhoneNumberCountryCode = "TR" PhoneNumberCountryCodeTm PhoneNumberCountryCode = "TM" PhoneNumberCountryCodeTc PhoneNumberCountryCode = "TC" PhoneNumberCountryCodeTv PhoneNumberCountryCode = "TV" PhoneNumberCountryCodeVi PhoneNumberCountryCode = "VI" PhoneNumberCountryCodeUg PhoneNumberCountryCode = "UG" PhoneNumberCountryCodeUa PhoneNumberCountryCode = "UA" PhoneNumberCountryCodeAe PhoneNumberCountryCode = "AE" PhoneNumberCountryCodeGb PhoneNumberCountryCode = "GB" PhoneNumberCountryCodeUs PhoneNumberCountryCode = "US" PhoneNumberCountryCodeUy PhoneNumberCountryCode = "UY" PhoneNumberCountryCodeUz PhoneNumberCountryCode = "UZ" PhoneNumberCountryCodeVu PhoneNumberCountryCode = "VU" PhoneNumberCountryCodeVa PhoneNumberCountryCode = "VA" PhoneNumberCountryCodeVe PhoneNumberCountryCode = "VE" PhoneNumberCountryCodeVn PhoneNumberCountryCode = "VN" PhoneNumberCountryCodeWf PhoneNumberCountryCode = "WF" PhoneNumberCountryCodeEh PhoneNumberCountryCode = "EH" PhoneNumberCountryCodeYe PhoneNumberCountryCode = "YE" PhoneNumberCountryCodeZm PhoneNumberCountryCode = "ZM" PhoneNumberCountryCodeZw PhoneNumberCountryCode = "ZW" )
Enum values for PhoneNumberCountryCode
func (PhoneNumberCountryCode) MarshalValue ¶
func (enum PhoneNumberCountryCode) MarshalValue() (string, error)
func (PhoneNumberCountryCode) MarshalValueBuf ¶
func (enum PhoneNumberCountryCode) MarshalValueBuf(b []byte) ([]byte, error)
type PhoneNumberSummary ¶
type PhoneNumberSummary struct { // The Amazon Resource Name (ARN) of the phone number. Arn *string `type:"string"` // The identifier of the phone number. Id *string `type:"string"` // The phone number. PhoneNumber *string `type:"string"` // The ISO country code. PhoneNumberCountryCode PhoneNumberCountryCode `type:"string" enum:"true"` // The type of phone number. PhoneNumberType PhoneNumberType `type:"string" enum:"true"` // contains filtered or unexported fields }
Contains summary information about a phone number for a contact center.
func (PhoneNumberSummary) MarshalFields ¶
func (s PhoneNumberSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PhoneNumberSummary) String ¶
func (s PhoneNumberSummary) String() string
String returns the string representation
type PhoneNumberType ¶
type PhoneNumberType string
const ( PhoneNumberTypeTollFree PhoneNumberType = "TOLL_FREE" PhoneNumberTypeDid PhoneNumberType = "DID" )
Enum values for PhoneNumberType
func (PhoneNumberType) MarshalValue ¶
func (enum PhoneNumberType) MarshalValue() (string, error)
func (PhoneNumberType) MarshalValueBuf ¶
func (enum PhoneNumberType) MarshalValueBuf(b []byte) ([]byte, error)
type PhoneType ¶
type PhoneType string
Enum values for PhoneType
func (PhoneType) MarshalValue ¶
func (PhoneType) MarshalValueBuf ¶
type QueueReference ¶
type QueueReference struct { // The Amazon Resource Name (ARN) of the queue. Arn *string `type:"string"` // The identifier of the queue. Id *string `type:"string"` // contains filtered or unexported fields }
Contains information about a queue resource for which metrics are returned.
func (QueueReference) MarshalFields ¶
func (s QueueReference) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (QueueReference) String ¶
func (s QueueReference) String() string
String returns the string representation
type QueueSummary ¶
type QueueSummary struct { // The Amazon Resource Name (ARN) of the queue. Arn *string `type:"string"` // The identifier of the queue. Id *string `type:"string"` // The name of the queue. Name *string `min:"1" type:"string"` // The type of queue. QueueType QueueType `type:"string" enum:"true"` // contains filtered or unexported fields }
Contains summary information about a queue.
func (QueueSummary) MarshalFields ¶
func (s QueueSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (QueueSummary) String ¶
func (s QueueSummary) String() string
String returns the string representation
type QueueType ¶
type QueueType string
Enum values for QueueType
func (QueueType) MarshalValue ¶
func (QueueType) MarshalValueBuf ¶
type RoutingProfileSummary ¶
type RoutingProfileSummary struct { // The Amazon Resource Name (ARN) of the routing profile. Arn *string `type:"string"` // The identifier of the routing profile. Id *string `type:"string"` // The name of the routing profile. Name *string `min:"1" type:"string"` // contains filtered or unexported fields }
Contains summary information about a routing profile.
func (RoutingProfileSummary) MarshalFields ¶
func (s RoutingProfileSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RoutingProfileSummary) String ¶
func (s RoutingProfileSummary) String() string
String returns the string representation
type SecurityProfileSummary ¶
type SecurityProfileSummary struct { // The Amazon Resource Name (ARN) of the security profile. Arn *string `type:"string"` // The identifier of the security profile. Id *string `type:"string"` // The name of the security profile. Name *string `type:"string"` // contains filtered or unexported fields }
Contains information about a security profile.
func (SecurityProfileSummary) MarshalFields ¶
func (s SecurityProfileSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SecurityProfileSummary) String ¶
func (s SecurityProfileSummary) String() string
String returns the string representation
type StartChatContactInput ¶
type StartChatContactInput struct { // A custom key-value pair using an attribute map. The attributes are standard // Amazon Connect attributes, and can be accessed in contact flows just like // any other contact attributes. // // There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. // Attribute keys can include only alphanumeric, dash, and underscore characters. Attributes map[string]string `type:"map"` // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. ClientToken *string `type:"string" idempotencyToken:"true"` // The identifier of the contact flow for the chat. // // ContactFlowId is a required field ContactFlowId *string `type:"string" required:"true"` // The initial message to be sent to the newly created chat. InitialMessage *ChatMessage `type:"structure"` // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `min:"1" type:"string" required:"true"` // Information identifying the participant. // // ParticipantDetails is a required field ParticipantDetails *ParticipantDetails `type:"structure" required:"true"` // contains filtered or unexported fields }
func (StartChatContactInput) MarshalFields ¶
func (s StartChatContactInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StartChatContactInput) String ¶
func (s StartChatContactInput) String() string
String returns the string representation
func (*StartChatContactInput) Validate ¶
func (s *StartChatContactInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartChatContactOutput ¶
type StartChatContactOutput struct { // The identifier of this contact within the Amazon Connect instance. ContactId *string `min:"1" type:"string"` // The identifier for a chat participant. The participantId for a chat participant // is the same throughout the chat lifecycle. ParticipantId *string `min:"1" type:"string"` // The token used by the chat participant to call CreateParticipantConnection // (https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html). // The participant token is valid for the lifetime of a chat participant. ParticipantToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (StartChatContactOutput) MarshalFields ¶
func (s StartChatContactOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StartChatContactOutput) String ¶
func (s StartChatContactOutput) String() string
String returns the string representation
type StartChatContactRequest ¶
type StartChatContactRequest struct { *aws.Request Input *StartChatContactInput Copy func(*StartChatContactInput) StartChatContactRequest }
StartChatContactRequest is the request type for the StartChatContact API operation.
func (StartChatContactRequest) Send ¶
func (r StartChatContactRequest) Send(ctx context.Context) (*StartChatContactResponse, error)
Send marshals and sends the StartChatContact API request.
type StartChatContactResponse ¶
type StartChatContactResponse struct { *StartChatContactOutput // contains filtered or unexported fields }
StartChatContactResponse is the response type for the StartChatContact API operation.
func (*StartChatContactResponse) SDKResponseMetdata ¶
func (r *StartChatContactResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StartChatContact request.
type StartOutboundVoiceContactInput ¶
type StartOutboundVoiceContactInput struct { // A custom key-value pair using an attribute map. The attributes are standard // Amazon Connect attributes, and can be accessed in contact flows just like // any other contact attributes. // // There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. // Attribute keys can include only alphanumeric, dash, and underscore characters. Attributes map[string]string `type:"map"` // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. The token is valid for 7 days after creation. If a contact // is already started, the contact ID is returned. If the contact is disconnected, // a new contact is started. ClientToken *string `type:"string" idempotencyToken:"true"` // The identifier of the contact flow for the outbound call. // // ContactFlowId is a required field ContactFlowId *string `type:"string" required:"true"` // The phone number of the customer, in E.164 format. // // DestinationPhoneNumber is a required field DestinationPhoneNumber *string `type:"string" required:"true"` // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `min:"1" type:"string" required:"true"` // The queue for the call. If you specify a queue, the phone displayed for caller // ID is the phone number specified in the queue. If you do not specify a queue, // the queue defined in the contact flow is used. If you do not specify a queue, // you must specify a source phone number. QueueId *string `type:"string"` // The phone number associated with the Amazon Connect instance, in E.164 format. // If you do not specify a source phone number, you must specify a queue. SourcePhoneNumber *string `type:"string"` // contains filtered or unexported fields }
func (StartOutboundVoiceContactInput) MarshalFields ¶
func (s StartOutboundVoiceContactInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StartOutboundVoiceContactInput) String ¶
func (s StartOutboundVoiceContactInput) String() string
String returns the string representation
func (*StartOutboundVoiceContactInput) Validate ¶
func (s *StartOutboundVoiceContactInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartOutboundVoiceContactOutput ¶
type StartOutboundVoiceContactOutput struct { // The identifier of this contact within the Amazon Connect instance. ContactId *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (StartOutboundVoiceContactOutput) MarshalFields ¶
func (s StartOutboundVoiceContactOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StartOutboundVoiceContactOutput) String ¶
func (s StartOutboundVoiceContactOutput) String() string
String returns the string representation
type StartOutboundVoiceContactRequest ¶
type StartOutboundVoiceContactRequest struct { *aws.Request Input *StartOutboundVoiceContactInput Copy func(*StartOutboundVoiceContactInput) StartOutboundVoiceContactRequest }
StartOutboundVoiceContactRequest is the request type for the StartOutboundVoiceContact API operation.
func (StartOutboundVoiceContactRequest) Send ¶
func (r StartOutboundVoiceContactRequest) Send(ctx context.Context) (*StartOutboundVoiceContactResponse, error)
Send marshals and sends the StartOutboundVoiceContact API request.
type StartOutboundVoiceContactResponse ¶
type StartOutboundVoiceContactResponse struct { *StartOutboundVoiceContactOutput // contains filtered or unexported fields }
StartOutboundVoiceContactResponse is the response type for the StartOutboundVoiceContact API operation.
func (*StartOutboundVoiceContactResponse) SDKResponseMetdata ¶
func (r *StartOutboundVoiceContactResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StartOutboundVoiceContact request.
type Statistic ¶
type Statistic string
const ( StatisticSum Statistic = "SUM" StatisticMax Statistic = "MAX" StatisticAvg Statistic = "AVG" )
Enum values for Statistic
func (Statistic) MarshalValue ¶
func (Statistic) MarshalValueBuf ¶
type StopContactInput ¶
type StopContactInput struct { // The ID of the contact. // // ContactId is a required field ContactId *string `min:"1" type:"string" required:"true"` // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (StopContactInput) MarshalFields ¶
func (s StopContactInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StopContactInput) String ¶
func (s StopContactInput) String() string
String returns the string representation
func (*StopContactInput) Validate ¶
func (s *StopContactInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StopContactOutput ¶
type StopContactOutput struct {
// contains filtered or unexported fields
}
func (StopContactOutput) MarshalFields ¶
func (s StopContactOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StopContactOutput) String ¶
func (s StopContactOutput) String() string
String returns the string representation
type StopContactRequest ¶
type StopContactRequest struct { *aws.Request Input *StopContactInput Copy func(*StopContactInput) StopContactRequest }
StopContactRequest is the request type for the StopContact API operation.
func (StopContactRequest) Send ¶
func (r StopContactRequest) Send(ctx context.Context) (*StopContactResponse, error)
Send marshals and sends the StopContact API request.
type StopContactResponse ¶
type StopContactResponse struct { *StopContactOutput // contains filtered or unexported fields }
StopContactResponse is the response type for the StopContact API operation.
func (*StopContactResponse) SDKResponseMetdata ¶
func (r *StopContactResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StopContact request.
type TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the resource. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // One or more tags. For example, { "tags": {"key1":"value1", "key2":"value2"} // }. // // Tags is a required field Tags map[string]string `locationName:"tags" min:"1" type:"map" required:"true"` // contains filtered or unexported fields }
func (TagResourceInput) MarshalFields ¶
func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceInput) String ¶
func (s TagResourceInput) String() string
String returns the string representation
func (*TagResourceInput) Validate ¶
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) MarshalFields ¶
func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceOutput) String ¶
func (s TagResourceOutput) String() string
String returns the string representation
type TagResourceRequest ¶
type TagResourceRequest struct { *aws.Request Input *TagResourceInput Copy func(*TagResourceInput) TagResourceRequest }
TagResourceRequest is the request type for the TagResource API operation.
func (TagResourceRequest) Send ¶
func (r TagResourceRequest) Send(ctx context.Context) (*TagResourceResponse, error)
Send marshals and sends the TagResource API request.
type TagResourceResponse ¶
type TagResourceResponse struct { *TagResourceOutput // contains filtered or unexported fields }
TagResourceResponse is the response type for the TagResource API operation.
func (*TagResourceResponse) SDKResponseMetdata ¶
func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the TagResource request.
type Threshold ¶
type Threshold struct { // The type of comparison. Only "less than" (LT) comparisons are supported. Comparison Comparison `type:"string" enum:"true"` // The threshold value to compare. ThresholdValue *float64 `type:"double"` // contains filtered or unexported fields }
Contains information about the threshold for service level metrics.
func (Threshold) MarshalFields ¶
func (s Threshold) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Threshold) String ¶
String returns the string representation
type Unit ¶
type Unit string
Enum values for Unit
func (Unit) MarshalValue ¶
func (Unit) MarshalValueBuf ¶
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the resource. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // The tag keys. // // TagKeys is a required field TagKeys []string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) MarshalFields ¶
func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceInput) String ¶
func (s UntagResourceInput) String() string
String returns the string representation
func (*UntagResourceInput) Validate ¶
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) MarshalFields ¶
func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation
type UntagResourceRequest ¶
type UntagResourceRequest struct { *aws.Request Input *UntagResourceInput Copy func(*UntagResourceInput) UntagResourceRequest }
UntagResourceRequest is the request type for the UntagResource API operation.
func (UntagResourceRequest) Send ¶
func (r UntagResourceRequest) Send(ctx context.Context) (*UntagResourceResponse, error)
Send marshals and sends the UntagResource API request.
type UntagResourceResponse ¶
type UntagResourceResponse struct { *UntagResourceOutput // contains filtered or unexported fields }
UntagResourceResponse is the response type for the UntagResource API operation.
func (*UntagResourceResponse) SDKResponseMetdata ¶
func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UntagResource request.
type UpdateContactAttributesInput ¶
type UpdateContactAttributesInput struct { // The Amazon Connect attributes. These attributes can be accessed in contact // flows just like any other contact attributes. // // You can have up to 32,768 UTF-8 bytes across all attributes for a contact. // Attribute keys can include only alphanumeric, dash, and underscore characters. // // Attributes is a required field Attributes map[string]string `type:"map" required:"true"` // The identifier of the contact. This is the identifier of the contact associated // with the first interaction with the contact center. // // InitialContactId is a required field InitialContactId *string `min:"1" type:"string" required:"true"` // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateContactAttributesInput) MarshalFields ¶
func (s UpdateContactAttributesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateContactAttributesInput) String ¶
func (s UpdateContactAttributesInput) String() string
String returns the string representation
func (*UpdateContactAttributesInput) Validate ¶
func (s *UpdateContactAttributesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateContactAttributesOutput ¶
type UpdateContactAttributesOutput struct {
// contains filtered or unexported fields
}
func (UpdateContactAttributesOutput) MarshalFields ¶
func (s UpdateContactAttributesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateContactAttributesOutput) String ¶
func (s UpdateContactAttributesOutput) String() string
String returns the string representation
type UpdateContactAttributesRequest ¶
type UpdateContactAttributesRequest struct { *aws.Request Input *UpdateContactAttributesInput Copy func(*UpdateContactAttributesInput) UpdateContactAttributesRequest }
UpdateContactAttributesRequest is the request type for the UpdateContactAttributes API operation.
func (UpdateContactAttributesRequest) Send ¶
func (r UpdateContactAttributesRequest) Send(ctx context.Context) (*UpdateContactAttributesResponse, error)
Send marshals and sends the UpdateContactAttributes API request.
type UpdateContactAttributesResponse ¶
type UpdateContactAttributesResponse struct { *UpdateContactAttributesOutput // contains filtered or unexported fields }
UpdateContactAttributesResponse is the response type for the UpdateContactAttributes API operation.
func (*UpdateContactAttributesResponse) SDKResponseMetdata ¶
func (r *UpdateContactAttributesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateContactAttributes request.
type UpdateUserHierarchyInput ¶
type UpdateUserHierarchyInput struct { // The identifier of the hierarchy group. HierarchyGroupId *string `type:"string"` // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The identifier of the user account. // // UserId is a required field UserId *string `location:"uri" locationName:"UserId" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateUserHierarchyInput) MarshalFields ¶
func (s UpdateUserHierarchyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateUserHierarchyInput) String ¶
func (s UpdateUserHierarchyInput) String() string
String returns the string representation
func (*UpdateUserHierarchyInput) Validate ¶
func (s *UpdateUserHierarchyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateUserHierarchyOutput ¶
type UpdateUserHierarchyOutput struct {
// contains filtered or unexported fields
}
func (UpdateUserHierarchyOutput) MarshalFields ¶
func (s UpdateUserHierarchyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateUserHierarchyOutput) String ¶
func (s UpdateUserHierarchyOutput) String() string
String returns the string representation
type UpdateUserHierarchyRequest ¶
type UpdateUserHierarchyRequest struct { *aws.Request Input *UpdateUserHierarchyInput Copy func(*UpdateUserHierarchyInput) UpdateUserHierarchyRequest }
UpdateUserHierarchyRequest is the request type for the UpdateUserHierarchy API operation.
func (UpdateUserHierarchyRequest) Send ¶
func (r UpdateUserHierarchyRequest) Send(ctx context.Context) (*UpdateUserHierarchyResponse, error)
Send marshals and sends the UpdateUserHierarchy API request.
type UpdateUserHierarchyResponse ¶
type UpdateUserHierarchyResponse struct { *UpdateUserHierarchyOutput // contains filtered or unexported fields }
UpdateUserHierarchyResponse is the response type for the UpdateUserHierarchy API operation.
func (*UpdateUserHierarchyResponse) SDKResponseMetdata ¶
func (r *UpdateUserHierarchyResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateUserHierarchy request.
type UpdateUserIdentityInfoInput ¶
type UpdateUserIdentityInfoInput struct { // The identity information for the user. // // IdentityInfo is a required field IdentityInfo *UserIdentityInfo `type:"structure" required:"true"` // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The identifier of the user account. // // UserId is a required field UserId *string `location:"uri" locationName:"UserId" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateUserIdentityInfoInput) MarshalFields ¶
func (s UpdateUserIdentityInfoInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateUserIdentityInfoInput) String ¶
func (s UpdateUserIdentityInfoInput) String() string
String returns the string representation
func (*UpdateUserIdentityInfoInput) Validate ¶
func (s *UpdateUserIdentityInfoInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateUserIdentityInfoOutput ¶
type UpdateUserIdentityInfoOutput struct {
// contains filtered or unexported fields
}
func (UpdateUserIdentityInfoOutput) MarshalFields ¶
func (s UpdateUserIdentityInfoOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateUserIdentityInfoOutput) String ¶
func (s UpdateUserIdentityInfoOutput) String() string
String returns the string representation
type UpdateUserIdentityInfoRequest ¶
type UpdateUserIdentityInfoRequest struct { *aws.Request Input *UpdateUserIdentityInfoInput Copy func(*UpdateUserIdentityInfoInput) UpdateUserIdentityInfoRequest }
UpdateUserIdentityInfoRequest is the request type for the UpdateUserIdentityInfo API operation.
func (UpdateUserIdentityInfoRequest) Send ¶
func (r UpdateUserIdentityInfoRequest) Send(ctx context.Context) (*UpdateUserIdentityInfoResponse, error)
Send marshals and sends the UpdateUserIdentityInfo API request.
type UpdateUserIdentityInfoResponse ¶
type UpdateUserIdentityInfoResponse struct { *UpdateUserIdentityInfoOutput // contains filtered or unexported fields }
UpdateUserIdentityInfoResponse is the response type for the UpdateUserIdentityInfo API operation.
func (*UpdateUserIdentityInfoResponse) SDKResponseMetdata ¶
func (r *UpdateUserIdentityInfoResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateUserIdentityInfo request.
type UpdateUserPhoneConfigInput ¶
type UpdateUserPhoneConfigInput struct { // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // Information about phone configuration settings for the user. // // PhoneConfig is a required field PhoneConfig *UserPhoneConfig `type:"structure" required:"true"` // The identifier of the user account. // // UserId is a required field UserId *string `location:"uri" locationName:"UserId" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateUserPhoneConfigInput) MarshalFields ¶
func (s UpdateUserPhoneConfigInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateUserPhoneConfigInput) String ¶
func (s UpdateUserPhoneConfigInput) String() string
String returns the string representation
func (*UpdateUserPhoneConfigInput) Validate ¶
func (s *UpdateUserPhoneConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateUserPhoneConfigOutput ¶
type UpdateUserPhoneConfigOutput struct {
// contains filtered or unexported fields
}
func (UpdateUserPhoneConfigOutput) MarshalFields ¶
func (s UpdateUserPhoneConfigOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateUserPhoneConfigOutput) String ¶
func (s UpdateUserPhoneConfigOutput) String() string
String returns the string representation
type UpdateUserPhoneConfigRequest ¶
type UpdateUserPhoneConfigRequest struct { *aws.Request Input *UpdateUserPhoneConfigInput Copy func(*UpdateUserPhoneConfigInput) UpdateUserPhoneConfigRequest }
UpdateUserPhoneConfigRequest is the request type for the UpdateUserPhoneConfig API operation.
func (UpdateUserPhoneConfigRequest) Send ¶
func (r UpdateUserPhoneConfigRequest) Send(ctx context.Context) (*UpdateUserPhoneConfigResponse, error)
Send marshals and sends the UpdateUserPhoneConfig API request.
type UpdateUserPhoneConfigResponse ¶
type UpdateUserPhoneConfigResponse struct { *UpdateUserPhoneConfigOutput // contains filtered or unexported fields }
UpdateUserPhoneConfigResponse is the response type for the UpdateUserPhoneConfig API operation.
func (*UpdateUserPhoneConfigResponse) SDKResponseMetdata ¶
func (r *UpdateUserPhoneConfigResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateUserPhoneConfig request.
type UpdateUserRoutingProfileInput ¶
type UpdateUserRoutingProfileInput struct { // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The identifier of the routing profile for the user. // // RoutingProfileId is a required field RoutingProfileId *string `type:"string" required:"true"` // The identifier of the user account. // // UserId is a required field UserId *string `location:"uri" locationName:"UserId" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateUserRoutingProfileInput) MarshalFields ¶
func (s UpdateUserRoutingProfileInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateUserRoutingProfileInput) String ¶
func (s UpdateUserRoutingProfileInput) String() string
String returns the string representation
func (*UpdateUserRoutingProfileInput) Validate ¶
func (s *UpdateUserRoutingProfileInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateUserRoutingProfileOutput ¶
type UpdateUserRoutingProfileOutput struct {
// contains filtered or unexported fields
}
func (UpdateUserRoutingProfileOutput) MarshalFields ¶
func (s UpdateUserRoutingProfileOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateUserRoutingProfileOutput) String ¶
func (s UpdateUserRoutingProfileOutput) String() string
String returns the string representation
type UpdateUserRoutingProfileRequest ¶
type UpdateUserRoutingProfileRequest struct { *aws.Request Input *UpdateUserRoutingProfileInput Copy func(*UpdateUserRoutingProfileInput) UpdateUserRoutingProfileRequest }
UpdateUserRoutingProfileRequest is the request type for the UpdateUserRoutingProfile API operation.
func (UpdateUserRoutingProfileRequest) Send ¶
func (r UpdateUserRoutingProfileRequest) Send(ctx context.Context) (*UpdateUserRoutingProfileResponse, error)
Send marshals and sends the UpdateUserRoutingProfile API request.
type UpdateUserRoutingProfileResponse ¶
type UpdateUserRoutingProfileResponse struct { *UpdateUserRoutingProfileOutput // contains filtered or unexported fields }
UpdateUserRoutingProfileResponse is the response type for the UpdateUserRoutingProfile API operation.
func (*UpdateUserRoutingProfileResponse) SDKResponseMetdata ¶
func (r *UpdateUserRoutingProfileResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateUserRoutingProfile request.
type UpdateUserSecurityProfilesInput ¶
type UpdateUserSecurityProfilesInput struct { // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The identifiers of the security profiles for the user. // // SecurityProfileIds is a required field SecurityProfileIds []string `min:"1" type:"list" required:"true"` // The identifier of the user account. // // UserId is a required field UserId *string `location:"uri" locationName:"UserId" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateUserSecurityProfilesInput) MarshalFields ¶
func (s UpdateUserSecurityProfilesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateUserSecurityProfilesInput) String ¶
func (s UpdateUserSecurityProfilesInput) String() string
String returns the string representation
func (*UpdateUserSecurityProfilesInput) Validate ¶
func (s *UpdateUserSecurityProfilesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateUserSecurityProfilesOutput ¶
type UpdateUserSecurityProfilesOutput struct {
// contains filtered or unexported fields
}
func (UpdateUserSecurityProfilesOutput) MarshalFields ¶
func (s UpdateUserSecurityProfilesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateUserSecurityProfilesOutput) String ¶
func (s UpdateUserSecurityProfilesOutput) String() string
String returns the string representation
type UpdateUserSecurityProfilesRequest ¶
type UpdateUserSecurityProfilesRequest struct { *aws.Request Input *UpdateUserSecurityProfilesInput Copy func(*UpdateUserSecurityProfilesInput) UpdateUserSecurityProfilesRequest }
UpdateUserSecurityProfilesRequest is the request type for the UpdateUserSecurityProfiles API operation.
func (UpdateUserSecurityProfilesRequest) Send ¶
func (r UpdateUserSecurityProfilesRequest) Send(ctx context.Context) (*UpdateUserSecurityProfilesResponse, error)
Send marshals and sends the UpdateUserSecurityProfiles API request.
type UpdateUserSecurityProfilesResponse ¶
type UpdateUserSecurityProfilesResponse struct { *UpdateUserSecurityProfilesOutput // contains filtered or unexported fields }
UpdateUserSecurityProfilesResponse is the response type for the UpdateUserSecurityProfiles API operation.
func (*UpdateUserSecurityProfilesResponse) SDKResponseMetdata ¶
func (r *UpdateUserSecurityProfilesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateUserSecurityProfiles request.
type User ¶
type User struct { // The Amazon Resource Name (ARN) of the user account. Arn *string `type:"string"` // The identifier of the user account in the directory used for identity management. DirectoryUserId *string `type:"string"` // The identifier of the hierarchy group for the user. HierarchyGroupId *string `type:"string"` // The identifier of the user account. Id *string `type:"string"` // Information about the user identity. IdentityInfo *UserIdentityInfo `type:"structure"` // Information about the phone configuration for the user. PhoneConfig *UserPhoneConfig `type:"structure"` // The identifier of the routing profile for the user. RoutingProfileId *string `type:"string"` // The identifiers of the security profiles for the user. SecurityProfileIds []string `min:"1" type:"list"` // The tags. Tags map[string]string `min:"1" type:"map"` // The user name assigned to the user account. Username *string `min:"1" type:"string"` // contains filtered or unexported fields }
Contains information about a user account for a Amazon Connect instance.
func (User) MarshalFields ¶
func (s User) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (User) String ¶
String returns the string representation
type UserIdentityInfo ¶
type UserIdentityInfo struct { // The email address. If you are using SAML for identity management and include // this parameter, an error is returned. Email *string `type:"string"` // The first name. This is required if you are using Amazon Connect or SAML // for identity management. FirstName *string `min:"1" type:"string"` // The last name. This is required if you are using Amazon Connect or SAML for // identity management. LastName *string `min:"1" type:"string"` // contains filtered or unexported fields }
Contains information about the identity of a user.
func (UserIdentityInfo) MarshalFields ¶
func (s UserIdentityInfo) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UserIdentityInfo) String ¶
func (s UserIdentityInfo) String() string
String returns the string representation
func (*UserIdentityInfo) Validate ¶
func (s *UserIdentityInfo) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UserPhoneConfig ¶
type UserPhoneConfig struct { // The After Call Work (ACW) timeout setting, in seconds. AfterContactWorkTimeLimit *int64 `type:"integer"` // The Auto accept setting. AutoAccept *bool `type:"boolean"` // The phone number for the user's desk phone. DeskPhoneNumber *string `type:"string"` // The phone type. // // PhoneType is a required field PhoneType PhoneType `type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Contains information about the phone configuration settings for a user.
func (UserPhoneConfig) MarshalFields ¶
func (s UserPhoneConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UserPhoneConfig) String ¶
func (s UserPhoneConfig) String() string
String returns the string representation
func (*UserPhoneConfig) Validate ¶
func (s *UserPhoneConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UserSummary ¶
type UserSummary struct { // The Amazon Resource Name (ARN) of the user account. Arn *string `type:"string"` // The identifier of the user account. Id *string `type:"string"` // The Amazon Connect user name of the user account. Username *string `min:"1" type:"string"` // contains filtered or unexported fields }
Contains summary information about a user.
func (UserSummary) MarshalFields ¶
func (s UserSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UserSummary) String ¶
func (s UserSummary) String() string
String returns the string representation
Source Files ¶
api_client.go api_doc.go api_enums.go api_errors.go api_op_CreateUser.go api_op_DeleteUser.go api_op_DescribeUser.go api_op_DescribeUserHierarchyGroup.go api_op_DescribeUserHierarchyStructure.go api_op_GetContactAttributes.go api_op_GetCurrentMetricData.go api_op_GetFederationToken.go api_op_GetMetricData.go api_op_ListContactFlows.go api_op_ListHoursOfOperations.go api_op_ListPhoneNumbers.go api_op_ListQueues.go api_op_ListRoutingProfiles.go api_op_ListSecurityProfiles.go api_op_ListTagsForResource.go api_op_ListUserHierarchyGroups.go api_op_ListUsers.go api_op_StartChatContact.go api_op_StartOutboundVoiceContact.go api_op_StopContact.go api_op_TagResource.go api_op_UntagResource.go api_op_UpdateContactAttributes.go api_op_UpdateUserHierarchy.go api_op_UpdateUserIdentityInfo.go api_op_UpdateUserPhoneConfig.go api_op_UpdateUserRoutingProfile.go api_op_UpdateUserSecurityProfiles.go api_types.go
Directories ¶
Path | Synopsis |
---|---|
service/connect/connectiface | Package connectiface provides an interface to enable mocking the Amazon Connect Service service client for testing your code. |
- Version
- v0.18.0
- Published
- Dec 12, 2019
- Platform
- windows/amd64
- Imports
- 7 packages
- Last checked
- 43 minutes ago –
Tools for package owners.