Documentation ¶
Overview ¶
Package connect provides the client and types for making API requests to Amazon Connect Service.
The Amazon Connect API Reference provides descriptions, syntax, and usage examples for each of the Amazon Connect actions, data types, parameters, and errors. 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.
There is a throttling limit placed on usage of the Amazon Connect operations that includes a RateLimit of 2 per second, and a BurstLimit of 5 per second.
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 Amazon Connect Service with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Amazon Connect Service client Connect 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
- type Comparison
- type Connect
- func (c *Connect) CreateUserRequest(input *CreateUserInput) CreateUserRequest
- func (c *Connect) DeleteUserRequest(input *DeleteUserInput) DeleteUserRequest
- func (c *Connect) DescribeUserHierarchyGroupRequest(input *DescribeUserHierarchyGroupInput) DescribeUserHierarchyGroupRequest
- func (c *Connect) DescribeUserHierarchyStructureRequest(input *DescribeUserHierarchyStructureInput) DescribeUserHierarchyStructureRequest
- func (c *Connect) DescribeUserRequest(input *DescribeUserInput) DescribeUserRequest
- func (c *Connect) GetCurrentMetricDataRequest(input *GetCurrentMetricDataInput) GetCurrentMetricDataRequest
- func (c *Connect) GetFederationTokenRequest(input *GetFederationTokenInput) GetFederationTokenRequest
- func (c *Connect) GetMetricDataRequest(input *GetMetricDataInput) GetMetricDataRequest
- func (c *Connect) ListRoutingProfilesRequest(input *ListRoutingProfilesInput) ListRoutingProfilesRequest
- func (c *Connect) ListSecurityProfilesRequest(input *ListSecurityProfilesInput) ListSecurityProfilesRequest
- func (c *Connect) ListUserHierarchyGroupsRequest(input *ListUserHierarchyGroupsInput) ListUserHierarchyGroupsRequest
- func (c *Connect) ListUsersRequest(input *ListUsersInput) ListUsersRequest
- func (c *Connect) StartOutboundVoiceContactRequest(input *StartOutboundVoiceContactInput) StartOutboundVoiceContactRequest
- func (c *Connect) StopContactRequest(input *StopContactInput) StopContactRequest
- func (c *Connect) UpdateContactAttributesRequest(input *UpdateContactAttributesInput) UpdateContactAttributesRequest
- func (c *Connect) UpdateUserHierarchyRequest(input *UpdateUserHierarchyInput) UpdateUserHierarchyRequest
- func (c *Connect) UpdateUserIdentityInfoRequest(input *UpdateUserIdentityInfoInput) UpdateUserIdentityInfoRequest
- func (c *Connect) UpdateUserPhoneConfigRequest(input *UpdateUserPhoneConfigInput) UpdateUserPhoneConfigRequest
- func (c *Connect) UpdateUserRoutingProfileRequest(input *UpdateUserRoutingProfileInput) UpdateUserRoutingProfileRequest
- func (c *Connect) UpdateUserSecurityProfilesRequest(input *UpdateUserSecurityProfilesInput) UpdateUserSecurityProfilesRequest
- type CreateUserInput
- type CreateUserOutput
- type CreateUserRequest
- type Credentials
- type CurrentMetric
- type CurrentMetricData
- type CurrentMetricName
- type CurrentMetricResult
- type DeleteUserInput
- type DeleteUserOutput
- type DeleteUserRequest
- type DescribeUserHierarchyGroupInput
- type DescribeUserHierarchyGroupOutput
- type DescribeUserHierarchyGroupRequest
- type DescribeUserHierarchyStructureInput
- type DescribeUserHierarchyStructureOutput
- type DescribeUserHierarchyStructureRequest
- type DescribeUserInput
- type DescribeUserOutput
- type DescribeUserRequest
- type Dimensions
- type Filters
- type GetCurrentMetricDataInput
- type GetCurrentMetricDataOutput
- type GetCurrentMetricDataPager
- type GetCurrentMetricDataRequest
- type GetFederationTokenInput
- type GetFederationTokenOutput
- type GetFederationTokenRequest
- type GetMetricDataInput
- type GetMetricDataOutput
- type GetMetricDataPager
- type GetMetricDataRequest
- type Grouping
- type HierarchyGroup
- type HierarchyGroupSummary
- type HierarchyLevel
- type HierarchyPath
- type HierarchyStructure
- type HistoricalMetric
- type HistoricalMetricData
- type HistoricalMetricName
- type HistoricalMetricResult
- type ListRoutingProfilesInput
- type ListRoutingProfilesOutput
- type ListRoutingProfilesRequest
- type ListSecurityProfilesInput
- type ListSecurityProfilesOutput
- type ListSecurityProfilesRequest
- type ListUserHierarchyGroupsInput
- type ListUserHierarchyGroupsOutput
- type ListUserHierarchyGroupsRequest
- type ListUsersInput
- type ListUsersOutput
- type ListUsersRequest
- type PhoneType
- type QueueReference
- type RoutingProfileSummary
- type SecurityProfileSummary
- type StartOutboundVoiceContactInput
- type StartOutboundVoiceContactOutput
- type StartOutboundVoiceContactRequest
- type Statistic
- type StopContactInput
- type StopContactOutput
- type StopContactRequest
- type Threshold
- type Unit
- type UpdateContactAttributesInput
- type UpdateContactAttributesOutput
- type UpdateContactAttributesRequest
- type UpdateUserHierarchyInput
- type UpdateUserHierarchyOutput
- type UpdateUserHierarchyRequest
- type UpdateUserIdentityInfoInput
- type UpdateUserIdentityInfoOutput
- type UpdateUserIdentityInfoRequest
- type UpdateUserPhoneConfigInput
- type UpdateUserPhoneConfigOutput
- type UpdateUserPhoneConfigRequest
- type UpdateUserRoutingProfileInput
- type UpdateUserRoutingProfileOutput
- type UpdateUserRoutingProfileRequest
- type UpdateUserSecurityProfilesInput
- type UpdateUserSecurityProfilesOutput
- type UpdateUserSecurityProfilesRequest
- type User
- type UserIdentityInfo
- type UserPhoneConfig
- type UserSummary
Constants ¶
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 that 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 parameters provided to the operation 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 reached. 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" )
const ( ServiceName = "connect" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶ added in v0.5.0
type Channel string
const (
ChannelVoice Channel = "VOICE"
)
Enum values for Channel
func (Channel) MarshalValue ¶ added in v0.5.0
type Comparison ¶ added in v0.5.0
type Comparison string
const (
ComparisonLt Comparison = "LT"
)
Enum values for Comparison
func (Comparison) MarshalValue ¶ added in v0.5.0
func (enum Comparison) MarshalValue() (string, error)
func (Comparison) MarshalValueBuf ¶ added in v0.5.0
func (enum Comparison) MarshalValueBuf(b []byte) ([]byte, error)
type Connect ¶
Connect provides the API operation methods for making requests to Amazon Connect Service. See this package's package overview docs for details on the service.
Connect 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 Connect client with a config.
Example:
// Create a Connect client from just a config. svc := connect.New(myConfig)
func (*Connect) CreateUserRequest ¶ added in v0.5.0
func (c *Connect) CreateUserRequest(input *CreateUserInput) CreateUserRequest
CreateUserRequest returns a request value for making API operation for Amazon Connect Service.
Creates a new user account in your Amazon Connect instance.
// Example sending a request using the CreateUserRequest method. req := client.CreateUserRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateUser
func (*Connect) DeleteUserRequest ¶ added in v0.5.0
func (c *Connect) DeleteUserRequest(input *DeleteUserInput) DeleteUserRequest
DeleteUserRequest returns a request value for making API operation for Amazon Connect Service.
Deletes a user account from Amazon Connect.
// Example sending a request using the DeleteUserRequest method. req := client.DeleteUserRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteUser
func (*Connect) DescribeUserHierarchyGroupRequest ¶ added in v0.5.0
func (c *Connect) DescribeUserHierarchyGroupRequest(input *DescribeUserHierarchyGroupInput) DescribeUserHierarchyGroupRequest
DescribeUserHierarchyGroupRequest returns a request value for making API operation for Amazon Connect Service.
Returns a HierarchyGroup object that includes information about a hierarchy group in your instance.
// Example sending a request using the DescribeUserHierarchyGroupRequest method. req := client.DescribeUserHierarchyGroupRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUserHierarchyGroup
func (*Connect) DescribeUserHierarchyStructureRequest ¶ added in v0.5.0
func (c *Connect) DescribeUserHierarchyStructureRequest(input *DescribeUserHierarchyStructureInput) DescribeUserHierarchyStructureRequest
DescribeUserHierarchyStructureRequest returns a request value for making API operation for Amazon Connect Service.
Returns a HiearchyGroupStructure object, which contains data about the levels in the agent hierarchy.
// Example sending a request using the DescribeUserHierarchyStructureRequest method. req := client.DescribeUserHierarchyStructureRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUserHierarchyStructure
func (*Connect) DescribeUserRequest ¶ added in v0.5.0
func (c *Connect) DescribeUserRequest(input *DescribeUserInput) DescribeUserRequest
DescribeUserRequest returns a request value for making API operation for Amazon Connect Service.
Returns a User object that contains information about the user account specified by the UserId.
// Example sending a request using the DescribeUserRequest method. req := client.DescribeUserRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUser
func (*Connect) GetCurrentMetricDataRequest ¶ added in v0.5.0
func (c *Connect) GetCurrentMetricDataRequest(input *GetCurrentMetricDataInput) GetCurrentMetricDataRequest
GetCurrentMetricDataRequest returns a request value for making API operation for Amazon Connect Service.
The GetCurrentMetricData operation retrieves current metric data from your Amazon Connect instance.
If you are using an IAM account, it must have permission to the connect:GetCurrentMetricData action.
// Example sending a request using the GetCurrentMetricDataRequest method. req := client.GetCurrentMetricDataRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetCurrentMetricData
func (*Connect) GetFederationTokenRequest ¶ added in v0.5.0
func (c *Connect) 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 the GetFederationTokenRequest method. req := client.GetFederationTokenRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetFederationToken
func (*Connect) GetMetricDataRequest ¶ added in v0.5.0
func (c *Connect) GetMetricDataRequest(input *GetMetricDataInput) GetMetricDataRequest
GetMetricDataRequest returns a request value for making API operation for Amazon Connect Service.
The GetMetricData operation retrieves historical metrics data from your Amazon Connect instance.
If you are using an IAM account, it must have permission to the connect:GetMetricData action.
// Example sending a request using the GetMetricDataRequest method. req := client.GetMetricDataRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetMetricData
func (*Connect) ListRoutingProfilesRequest ¶ added in v0.5.0
func (c *Connect) ListRoutingProfilesRequest(input *ListRoutingProfilesInput) ListRoutingProfilesRequest
ListRoutingProfilesRequest returns a request value for making API operation for Amazon Connect Service.
Returns an array of RoutingProfileSummary objects that includes information about the routing profiles in your instance.
// Example sending a request using the ListRoutingProfilesRequest method. req := client.ListRoutingProfilesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListRoutingProfiles
func (*Connect) ListSecurityProfilesRequest ¶ added in v0.5.0
func (c *Connect) ListSecurityProfilesRequest(input *ListSecurityProfilesInput) ListSecurityProfilesRequest
ListSecurityProfilesRequest returns a request value for making API operation for Amazon Connect Service.
Returns an array of SecurityProfileSummary objects that contain information about the security profiles in your instance, including the ARN, Id, and Name of the security profile.
// Example sending a request using the ListSecurityProfilesRequest method. req := client.ListSecurityProfilesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListSecurityProfiles
func (*Connect) ListUserHierarchyGroupsRequest ¶ added in v0.5.0
func (c *Connect) ListUserHierarchyGroupsRequest(input *ListUserHierarchyGroupsInput) ListUserHierarchyGroupsRequest
ListUserHierarchyGroupsRequest returns a request value for making API operation for Amazon Connect Service.
Returns a UserHierarchyGroupSummaryList, which is an array of HierarchyGroupSummary objects that contain information about the hierarchy groups in your instance.
// Example sending a request using the ListUserHierarchyGroupsRequest method. req := client.ListUserHierarchyGroupsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListUserHierarchyGroups
func (*Connect) ListUsersRequest ¶ added in v0.5.0
func (c *Connect) ListUsersRequest(input *ListUsersInput) ListUsersRequest
ListUsersRequest returns a request value for making API operation for Amazon Connect Service.
Returns a UserSummaryList, which is an array of UserSummary objects.
// Example sending a request using the ListUsersRequest method. req := client.ListUsersRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListUsers
func (*Connect) StartOutboundVoiceContactRequest ¶
func (c *Connect) StartOutboundVoiceContactRequest(input *StartOutboundVoiceContactInput) StartOutboundVoiceContactRequest
StartOutboundVoiceContactRequest returns a request value for making API operation for Amazon Connect Service.
The StartOutboundVoiceContact operation initiates a contact flow to place an outbound call to a customer.
If you are using an IAM account, it must have permission to the connect:StartOutboundVoiceContact action.
// Example sending a request using the StartOutboundVoiceContactRequest method. req := client.StartOutboundVoiceContactRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartOutboundVoiceContact
func (*Connect) StopContactRequest ¶
func (c *Connect) StopContactRequest(input *StopContactInput) StopContactRequest
StopContactRequest returns a request value for making API operation for Amazon Connect Service.
Ends the contact initiated by the StartOutboundVoiceContact operation.
If you are using an IAM account, it must have permission to the connect:StopContact action.
// Example sending a request using the StopContactRequest method. req := client.StopContactRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StopContact
func (*Connect) UpdateContactAttributesRequest ¶ added in v0.5.0
func (c *Connect) UpdateContactAttributesRequest(input *UpdateContactAttributesInput) UpdateContactAttributesRequest
UpdateContactAttributesRequest returns a request value for making API operation for Amazon Connect Service.
The UpdateContactAttributes operation lets you programmatically create new, or update existing, contact attributes associated with a contact. You can use the operation to 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 use the UpdateContactAttributes operation to 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 the UpdateContactAttributesRequest method. req := client.UpdateContactAttributesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactAttributes
func (*Connect) UpdateUserHierarchyRequest ¶ added in v0.5.0
func (c *Connect) UpdateUserHierarchyRequest(input *UpdateUserHierarchyInput) UpdateUserHierarchyRequest
UpdateUserHierarchyRequest returns a request value for making API operation for Amazon Connect Service.
Assigns the specified hierarchy group to the user.
// Example sending a request using the UpdateUserHierarchyRequest method. req := client.UpdateUserHierarchyRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserHierarchy
func (*Connect) UpdateUserIdentityInfoRequest ¶ added in v0.5.0
func (c *Connect) 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 in a UserIdentityInfo object, including email, first name, and last name.
// Example sending a request using the UpdateUserIdentityInfoRequest method. req := client.UpdateUserIdentityInfoRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserIdentityInfo
func (*Connect) UpdateUserPhoneConfigRequest ¶ added in v0.5.0
func (c *Connect) UpdateUserPhoneConfigRequest(input *UpdateUserPhoneConfigInput) UpdateUserPhoneConfigRequest
UpdateUserPhoneConfigRequest returns a request value for making API operation for Amazon Connect Service.
Updates the phone configuration settings in the UserPhoneConfig object for the specified user.
// Example sending a request using the UpdateUserPhoneConfigRequest method. req := client.UpdateUserPhoneConfigRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserPhoneConfig
func (*Connect) UpdateUserRoutingProfileRequest ¶ added in v0.5.0
func (c *Connect) UpdateUserRoutingProfileRequest(input *UpdateUserRoutingProfileInput) UpdateUserRoutingProfileRequest
UpdateUserRoutingProfileRequest returns a request value for making API operation for Amazon Connect Service.
Assigns the specified routing profile to a user.
// Example sending a request using the UpdateUserRoutingProfileRequest method. req := client.UpdateUserRoutingProfileRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserRoutingProfile
func (*Connect) UpdateUserSecurityProfilesRequest ¶ added in v0.5.0
func (c *Connect) UpdateUserSecurityProfilesRequest(input *UpdateUserSecurityProfilesInput) UpdateUserSecurityProfilesRequest
UpdateUserSecurityProfilesRequest returns a request value for making API operation for Amazon Connect Service.
Updates the security profiles assigned to the user.
// Example sending a request using the UpdateUserSecurityProfilesRequest method. req := client.UpdateUserSecurityProfilesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserSecurityProfiles
type CreateUserInput ¶ added in v0.5.0
type CreateUserInput struct { // The unique identifier for the user account in the directory service directory // used for identity management. If Amazon Connect is unable to access the existing // directory, you can use the DirectoryUserId to authenticate users. If you // include the parameter, it is assumed that Amazon Connect cannot access the // directory. If the parameter is not included, the UserIdentityInfo is used // to authenticate users from your existing 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 InvalidRequestException is returned. DirectoryUserId *string `type:"string"` // The unique identifier for the hierarchy group to assign to the user created. HierarchyGroupId *string `type:"string"` // Information about the user, including email address, first name, and last // name. IdentityInfo *UserIdentityInfo `type:"structure"` // The identifier for your Amazon Connect instance. To find the ID of your instance, // open the AWS console and select Amazon Connect. Select the alias of the instance // in the Instance alias column. The instance ID is displayed in the Overview // section of your instance settings. For example, the instance ID is the set // of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The password for the user account to create. This is required if you are // using Amazon Connect for identity management. If you are using SAML for identity // management and include this parameter, an InvalidRequestException is returned. Password *string `type:"string"` // Specifies the phone settings for the user, including AfterContactWorkTimeLimit, // AutoAccept, DeskPhoneNumber, and PhoneType. // // PhoneConfig is a required field PhoneConfig *UserPhoneConfig `type:"structure" required:"true"` // The unique identifier for the routing profile to assign to the user created. // // RoutingProfileId is a required field RoutingProfileId *string `type:"string" required:"true"` // The unique identifier of the security profile to assign to the user created. // // SecurityProfileIds is a required field SecurityProfileIds []string `min:"1" type:"list" required:"true"` // The user name in Amazon Connect for the account to create. // // Username is a required field Username *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateUserRequest
func (CreateUserInput) GoString ¶ added in v0.5.0
func (s CreateUserInput) GoString() string
GoString returns the string representation
func (CreateUserInput) MarshalFields ¶ added in v0.5.0
func (s CreateUserInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateUserInput) String ¶ added in v0.5.0
func (s CreateUserInput) String() string
String returns the string representation
func (*CreateUserInput) Validate ¶ added in v0.5.0
func (s *CreateUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateUserOutput ¶ added in v0.5.0
type CreateUserOutput struct { // The Amazon Resource Name (ARN) of the user account created. UserArn *string `type:"string"` // The unique identifier for the user account in Amazon Connect UserId *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateUserResponse
func (CreateUserOutput) GoString ¶ added in v0.5.0
func (s CreateUserOutput) GoString() string
GoString returns the string representation
func (CreateUserOutput) MarshalFields ¶ added in v0.5.0
func (s CreateUserOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateUserOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s CreateUserOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateUserOutput) String ¶ added in v0.5.0
func (s CreateUserOutput) String() string
String returns the string representation
type CreateUserRequest ¶ added in v0.5.0
type CreateUserRequest struct { *aws.Request Input *CreateUserInput Copy func(*CreateUserInput) CreateUserRequest }
CreateUserRequest is a API request type for the CreateUser API operation.
func (CreateUserRequest) Send ¶ added in v0.5.0
func (r CreateUserRequest) Send() (*CreateUserOutput, error)
Send marshals and sends the CreateUser API request.
type Credentials ¶ added in v0.5.0
type Credentials struct { // An access token generated for a federated user to access Amazon Connect AccessToken *string `type:"string"` // A token generated with an expiration time for the session a user is logged // in to Amazon Connect AccessTokenExpiration *time.Time `type:"timestamp" timestampFormat:"unix"` // Renews a token generated for a user to access the Amazon Connect instance. RefreshToken *string `type:"string"` // Renews the expiration timer for a generated token. RefreshTokenExpiration *time.Time `type:"timestamp" timestampFormat:"unix"` // contains filtered or unexported fields }
The credentials to use for federation. Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/Credentials
func (Credentials) GoString ¶ added in v0.5.0
func (s Credentials) GoString() string
GoString returns the string representation
func (Credentials) MarshalFields ¶ added in v0.5.0
func (s Credentials) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Credentials) String ¶ added in v0.5.0
func (s Credentials) String() string
String returns the string representation
type CurrentMetric ¶ added in v0.5.0
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 }
A CurrentMetric object that contains the Name and Unit for the metric. Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CurrentMetric
func (CurrentMetric) GoString ¶ added in v0.5.0
func (s CurrentMetric) GoString() string
GoString returns the string representation
func (CurrentMetric) MarshalFields ¶ added in v0.5.0
func (s CurrentMetric) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CurrentMetric) String ¶ added in v0.5.0
func (s CurrentMetric) String() string
String returns the string representation
type CurrentMetricData ¶ added in v0.5.0
type CurrentMetricData struct { // The metric in a CurrentMetricData object. Metric *CurrentMetric `type:"structure"` // The value of the metric in the CurrentMetricData object. Value *float64 `type:"double"` // contains filtered or unexported fields }
A CurrentMetricData object. Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CurrentMetricData
func (CurrentMetricData) GoString ¶ added in v0.5.0
func (s CurrentMetricData) GoString() string
GoString returns the string representation
func (CurrentMetricData) MarshalFields ¶ added in v0.5.0
func (s CurrentMetricData) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CurrentMetricData) String ¶ added in v0.5.0
func (s CurrentMetricData) String() string
String returns the string representation
type CurrentMetricName ¶ added in v0.5.0
type CurrentMetricName string
A list of 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" )
Enum values for CurrentMetricName
func (CurrentMetricName) MarshalValue ¶ added in v0.5.0
func (enum CurrentMetricName) MarshalValue() (string, error)
func (CurrentMetricName) MarshalValueBuf ¶ added in v0.5.0
func (enum CurrentMetricName) MarshalValueBuf(b []byte) ([]byte, error)
type CurrentMetricResult ¶ added in v0.5.0
type CurrentMetricResult struct { // The Collections for the CurrentMetricResult object. Collections []CurrentMetricData `type:"list"` // The Dimensions for the CurrentMetricResult object. Dimensions *Dimensions `type:"structure"` // contains filtered or unexported fields }
A CurrentMetricResult object. Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CurrentMetricResult
func (CurrentMetricResult) GoString ¶ added in v0.5.0
func (s CurrentMetricResult) GoString() string
GoString returns the string representation
func (CurrentMetricResult) MarshalFields ¶ added in v0.5.0
func (s CurrentMetricResult) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CurrentMetricResult) String ¶ added in v0.5.0
func (s CurrentMetricResult) String() string
String returns the string representation
type DeleteUserInput ¶ added in v0.5.0
type DeleteUserInput struct { // The identifier for your Amazon Connect instance. To find the ID of your instance, // open the AWS console and select Amazon Connect. Select the alias of the instance // in the Instance alias column. The instance ID is displayed in the Overview // section of your instance settings. For example, the instance ID is the set // of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The unique identifier of the user to delete. // // UserId is a required field UserId *string `location:"uri" locationName:"UserId" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteUserRequest
func (DeleteUserInput) GoString ¶ added in v0.5.0
func (s DeleteUserInput) GoString() string
GoString returns the string representation
func (DeleteUserInput) MarshalFields ¶ added in v0.5.0
func (s DeleteUserInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteUserInput) String ¶ added in v0.5.0
func (s DeleteUserInput) String() string
String returns the string representation
func (*DeleteUserInput) Validate ¶ added in v0.5.0
func (s *DeleteUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteUserOutput ¶ added in v0.5.0
type DeleteUserOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteUserOutput
func (DeleteUserOutput) GoString ¶ added in v0.5.0
func (s DeleteUserOutput) GoString() string
GoString returns the string representation
func (DeleteUserOutput) MarshalFields ¶ added in v0.5.0
func (s DeleteUserOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteUserOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s DeleteUserOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteUserOutput) String ¶ added in v0.5.0
func (s DeleteUserOutput) String() string
String returns the string representation
type DeleteUserRequest ¶ added in v0.5.0
type DeleteUserRequest struct { *aws.Request Input *DeleteUserInput Copy func(*DeleteUserInput) DeleteUserRequest }
DeleteUserRequest is a API request type for the DeleteUser API operation.
func (DeleteUserRequest) Send ¶ added in v0.5.0
func (r DeleteUserRequest) Send() (*DeleteUserOutput, error)
Send marshals and sends the DeleteUser API request.
type DescribeUserHierarchyGroupInput ¶ added in v0.5.0
type DescribeUserHierarchyGroupInput struct { // The identifier for the hierarchy group to return. // // HierarchyGroupId is a required field HierarchyGroupId *string `location:"uri" locationName:"HierarchyGroupId" type:"string" required:"true"` // The identifier for your Amazon Connect instance. To find the ID of your instance, // open the AWS console and select Amazon Connect. Select the alias of the instance // in the Instance alias column. The instance ID is displayed in the Overview // section of your instance settings. For example, the instance ID is the set // of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUserHierarchyGroupRequest
func (DescribeUserHierarchyGroupInput) GoString ¶ added in v0.5.0
func (s DescribeUserHierarchyGroupInput) GoString() string
GoString returns the string representation
func (DescribeUserHierarchyGroupInput) MarshalFields ¶ added in v0.5.0
func (s DescribeUserHierarchyGroupInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeUserHierarchyGroupInput) String ¶ added in v0.5.0
func (s DescribeUserHierarchyGroupInput) String() string
String returns the string representation
func (*DescribeUserHierarchyGroupInput) Validate ¶ added in v0.5.0
func (s *DescribeUserHierarchyGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeUserHierarchyGroupOutput ¶ added in v0.5.0
type DescribeUserHierarchyGroupOutput struct { // Returns a HierarchyGroup object. HierarchyGroup *HierarchyGroup `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUserHierarchyGroupResponse
func (DescribeUserHierarchyGroupOutput) GoString ¶ added in v0.5.0
func (s DescribeUserHierarchyGroupOutput) GoString() string
GoString returns the string representation
func (DescribeUserHierarchyGroupOutput) MarshalFields ¶ added in v0.5.0
func (s DescribeUserHierarchyGroupOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeUserHierarchyGroupOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s DescribeUserHierarchyGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeUserHierarchyGroupOutput) String ¶ added in v0.5.0
func (s DescribeUserHierarchyGroupOutput) String() string
String returns the string representation
type DescribeUserHierarchyGroupRequest ¶ added in v0.5.0
type DescribeUserHierarchyGroupRequest struct { *aws.Request Input *DescribeUserHierarchyGroupInput Copy func(*DescribeUserHierarchyGroupInput) DescribeUserHierarchyGroupRequest }
DescribeUserHierarchyGroupRequest is a API request type for the DescribeUserHierarchyGroup API operation.
func (DescribeUserHierarchyGroupRequest) Send ¶ added in v0.5.0
func (r DescribeUserHierarchyGroupRequest) Send() (*DescribeUserHierarchyGroupOutput, error)
Send marshals and sends the DescribeUserHierarchyGroup API request.
type DescribeUserHierarchyStructureInput ¶ added in v0.5.0
type DescribeUserHierarchyStructureInput struct { // The identifier for your Amazon Connect instance. To find the ID of your instance, // open the AWS console and select Amazon Connect. Select the alias of the instance // in the Instance alias column. The instance ID is displayed in the Overview // section of your instance settings. For example, the instance ID is the set // of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUserHierarchyStructureRequest
func (DescribeUserHierarchyStructureInput) GoString ¶ added in v0.5.0
func (s DescribeUserHierarchyStructureInput) GoString() string
GoString returns the string representation
func (DescribeUserHierarchyStructureInput) MarshalFields ¶ added in v0.5.0
func (s DescribeUserHierarchyStructureInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeUserHierarchyStructureInput) String ¶ added in v0.5.0
func (s DescribeUserHierarchyStructureInput) String() string
String returns the string representation
func (*DescribeUserHierarchyStructureInput) Validate ¶ added in v0.5.0
func (s *DescribeUserHierarchyStructureInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeUserHierarchyStructureOutput ¶ added in v0.5.0
type DescribeUserHierarchyStructureOutput struct { // A HierarchyStructure object. HierarchyStructure *HierarchyStructure `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUserHierarchyStructureResponse
func (DescribeUserHierarchyStructureOutput) GoString ¶ added in v0.5.0
func (s DescribeUserHierarchyStructureOutput) GoString() string
GoString returns the string representation
func (DescribeUserHierarchyStructureOutput) MarshalFields ¶ added in v0.5.0
func (s DescribeUserHierarchyStructureOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeUserHierarchyStructureOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s DescribeUserHierarchyStructureOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeUserHierarchyStructureOutput) String ¶ added in v0.5.0
func (s DescribeUserHierarchyStructureOutput) String() string
String returns the string representation
type DescribeUserHierarchyStructureRequest ¶ added in v0.5.0
type DescribeUserHierarchyStructureRequest struct { *aws.Request Input *DescribeUserHierarchyStructureInput Copy func(*DescribeUserHierarchyStructureInput) DescribeUserHierarchyStructureRequest }
DescribeUserHierarchyStructureRequest is a API request type for the DescribeUserHierarchyStructure API operation.
func (DescribeUserHierarchyStructureRequest) Send ¶ added in v0.5.0
func (r DescribeUserHierarchyStructureRequest) Send() (*DescribeUserHierarchyStructureOutput, error)
Send marshals and sends the DescribeUserHierarchyStructure API request.
type DescribeUserInput ¶ added in v0.5.0
type DescribeUserInput struct { // The identifier for your Amazon Connect instance. To find the ID of your instance, // open the AWS console and select Amazon Connect. Select the alias of the instance // in the Instance alias column. The instance ID is displayed in the Overview // section of your instance settings. For example, the instance ID is the set // of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // Unique identifier for the user account to return. // // UserId is a required field UserId *string `location:"uri" locationName:"UserId" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUserRequest
func (DescribeUserInput) GoString ¶ added in v0.5.0
func (s DescribeUserInput) GoString() string
GoString returns the string representation
func (DescribeUserInput) MarshalFields ¶ added in v0.5.0
func (s DescribeUserInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeUserInput) String ¶ added in v0.5.0
func (s DescribeUserInput) String() string
String returns the string representation
func (*DescribeUserInput) Validate ¶ added in v0.5.0
func (s *DescribeUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeUserOutput ¶ added in v0.5.0
type DescribeUserOutput struct { // A User object that contains information about the user account and configuration // settings. User *User `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUserResponse
func (DescribeUserOutput) GoString ¶ added in v0.5.0
func (s DescribeUserOutput) GoString() string
GoString returns the string representation
func (DescribeUserOutput) MarshalFields ¶ added in v0.5.0
func (s DescribeUserOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeUserOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s DescribeUserOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeUserOutput) String ¶ added in v0.5.0
func (s DescribeUserOutput) String() string
String returns the string representation
type DescribeUserRequest ¶ added in v0.5.0
type DescribeUserRequest struct { *aws.Request Input *DescribeUserInput Copy func(*DescribeUserInput) DescribeUserRequest }
DescribeUserRequest is a API request type for the DescribeUser API operation.
func (DescribeUserRequest) Send ¶ added in v0.5.0
func (r DescribeUserRequest) Send() (*DescribeUserOutput, error)
Send marshals and sends the DescribeUser API request.
type Dimensions ¶ added in v0.5.0
type Dimensions struct { // The channel used for grouping and filters. Only VOICE is supported. Channel Channel `type:"string" enum:"true"` // A QueueReference object used as one part of dimension for the metrics results. Queue *QueueReference `type:"structure"` // contains filtered or unexported fields }
A Dimensions object that includes the Channel and Queue for the metric. Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/Dimensions
func (Dimensions) GoString ¶ added in v0.5.0
func (s Dimensions) GoString() string
GoString returns the string representation
func (Dimensions) MarshalFields ¶ added in v0.5.0
func (s Dimensions) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Dimensions) String ¶ added in v0.5.0
func (s Dimensions) String() string
String returns the string representation
type Filters ¶ added in v0.5.0
type Filters struct { // The Channel to use as a filter for the metrics returned. Only VOICE is supported. Channels []Channel `type:"list"` // A list of up to 100 queue IDs or queue ARNs to use to filter the metrics // retrieved. You can include both IDs and ARNs in a request. Queues []string `min:"1" type:"list"` // contains filtered or unexported fields }
The filter, either channel or queues, to apply to the metric results retrieved. Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/Filters
func (Filters) MarshalFields ¶ added in v0.5.0
func (s Filters) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type GetCurrentMetricDataInput ¶ added in v0.5.0
type GetCurrentMetricDataInput struct { // A list of CurrentMetric objects for the metrics to retrieve. Each CurrentMetric // includes a name of a metric to retrieve and the unit to use for it. // // The following metrics are available: // // AGENTS_AVAILABLEUnit: COUNT // // AGENTS_ONLINEUnit: COUNT // // AGENTS_ON_CALLUnit: COUNT // // AGENTS_STAFFEDUnit: COUNT // // AGENTS_AFTER_CONTACT_WORKUnit: COUNT // // AGENTS_NON_PRODUCTIVEUnit: COUNT // // AGENTS_ERRORUnit: COUNT // // CONTACTS_IN_QUEUEUnit: COUNT // // OLDEST_CONTACT_AGEUnit: SECONDS // // CONTACTS_SCHEDULEDUnit: COUNT // // CurrentMetrics is a required field CurrentMetrics []CurrentMetric `type:"list" required:"true"` // A Filters object that contains a list of queue IDs or queue ARNs, up to 100, // or list of Channels to use to filter the metrics returned in the response. // Metric data is retrieved only for the resources associated with the queue // IDs, ARNs, or Channels included in the filter. You can include both IDs and // ARNs in the same request. To retrieve metrics for all queues, add the queue // ID or ARN for each queue in your instance. Only VOICE is supported for Channels. // // To find the ARN for a queue, open the queue you want to use in the Amazon // Connect Queue editor. The ARN for the queue is displayed in the address bar // as part of the URL. For example, the queue ARN is the set of characters at // the end of the URL, after 'id=' such as arn:aws:connect:us-east-1:270923740243:instance/78fb859d-1b7d-44b1-8aa3-12f0835c5855/queue/1d1a4575-9618-40ab-bbeb-81e45795fe61. // The queue ID is also included in the URL, and is the string after 'queue/'. // // 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 CurrentMetrics is // returned. Groupings []Grouping `type:"list"` // The identifier for your Amazon Connect instance. To find the ID of your instance, // open the AWS console and select Amazon Connect. Select the alias of the instance // in the Instance alias column. The instance ID is displayed in the Overview // section of your instance settings. For example, the instance ID is the set // of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // MaxResults indicates the maximum number of results to return per page in // the response, between 1 and 100. 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 NextToken must use the same request parameters as the // request that generated the token. NextToken *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetCurrentMetricDataRequest
func (GetCurrentMetricDataInput) GoString ¶ added in v0.5.0
func (s GetCurrentMetricDataInput) GoString() string
GoString returns the string representation
func (GetCurrentMetricDataInput) MarshalFields ¶ added in v0.5.0
func (s GetCurrentMetricDataInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetCurrentMetricDataInput) String ¶ added in v0.5.0
func (s GetCurrentMetricDataInput) String() string
String returns the string representation
func (*GetCurrentMetricDataInput) Validate ¶ added in v0.5.0
func (s *GetCurrentMetricDataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetCurrentMetricDataOutput ¶ added in v0.5.0
type GetCurrentMetricDataOutput struct { // The time at which CurrentMetricData was retrieved and cached for pagination. DataSnapshotTime *time.Time `type:"timestamp" timestampFormat:"unix"` // A list of CurrentMetricResult objects organized by Dimensions combining with // CurrentMetricDataCollections. // // Dimensions is the resourceId specified in the Filters of the request. // // Collections is a list of CurrentMetricData objects with corresponding values // to the CurrentMetrics specified in the request. // // If no Grouping is specified in the request, Collections is a summary for // the CurrentMetric returned. MetricResults []CurrentMetricResult `type:"list"` // A string returned in the response. Use the value returned in the response // as the value of the NextToken in a subsequent 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 NextToken must use the same request parameters as the // request that generated the token. NextToken *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetCurrentMetricDataResponse
func (GetCurrentMetricDataOutput) GoString ¶ added in v0.5.0
func (s GetCurrentMetricDataOutput) GoString() string
GoString returns the string representation
func (GetCurrentMetricDataOutput) MarshalFields ¶ added in v0.5.0
func (s GetCurrentMetricDataOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetCurrentMetricDataOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s GetCurrentMetricDataOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetCurrentMetricDataOutput) String ¶ added in v0.5.0
func (s GetCurrentMetricDataOutput) String() string
String returns the string representation
type GetCurrentMetricDataPager ¶ added in v0.5.0
GetCurrentMetricDataPager is used to paginate the request. This can be done by calling Next and CurrentPage.
func (*GetCurrentMetricDataPager) CurrentPage ¶ added in v0.5.0
func (p *GetCurrentMetricDataPager) CurrentPage() *GetCurrentMetricDataOutput
type GetCurrentMetricDataRequest ¶ added in v0.5.0
type GetCurrentMetricDataRequest struct { *aws.Request Input *GetCurrentMetricDataInput Copy func(*GetCurrentMetricDataInput) GetCurrentMetricDataRequest }
GetCurrentMetricDataRequest is a API request type for the GetCurrentMetricData API operation.
func (*GetCurrentMetricDataRequest) Paginate ¶ added in v0.5.0
func (p *GetCurrentMetricDataRequest) Paginate(opts ...aws.Option) GetCurrentMetricDataPager
Paginate pages iterates over the pages of a GetCurrentMetricDataRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetCurrentMetricData operation. req := client.GetCurrentMetricDataRequest(input) p := req.Paginate() for p.Next() { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (GetCurrentMetricDataRequest) Send ¶ added in v0.5.0
func (r GetCurrentMetricDataRequest) Send() (*GetCurrentMetricDataOutput, error)
Send marshals and sends the GetCurrentMetricData API request.
type GetFederationTokenInput ¶ added in v0.5.0
type GetFederationTokenInput struct { // The identifier for your Amazon Connect instance. To find the ID of your instance, // open the AWS console and select Amazon Connect. Select the alias of the instance // in the Instance alias column. The instance ID is displayed in the Overview // section of your instance settings. For example, the instance ID is the set // of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetFederationTokenRequest
func (GetFederationTokenInput) GoString ¶ added in v0.5.0
func (s GetFederationTokenInput) GoString() string
GoString returns the string representation
func (GetFederationTokenInput) MarshalFields ¶ added in v0.5.0
func (s GetFederationTokenInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetFederationTokenInput) String ¶ added in v0.5.0
func (s GetFederationTokenInput) String() string
String returns the string representation
func (*GetFederationTokenInput) Validate ¶ added in v0.5.0
func (s *GetFederationTokenInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetFederationTokenOutput ¶ added in v0.5.0
type GetFederationTokenOutput struct { // The credentials to use for federation. Credentials *Credentials `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetFederationTokenResponse
func (GetFederationTokenOutput) GoString ¶ added in v0.5.0
func (s GetFederationTokenOutput) GoString() string
GoString returns the string representation
func (GetFederationTokenOutput) MarshalFields ¶ added in v0.5.0
func (s GetFederationTokenOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetFederationTokenOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s GetFederationTokenOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetFederationTokenOutput) String ¶ added in v0.5.0
func (s GetFederationTokenOutput) String() string
String returns the string representation
type GetFederationTokenRequest ¶ added in v0.5.0
type GetFederationTokenRequest struct { *aws.Request Input *GetFederationTokenInput Copy func(*GetFederationTokenInput) GetFederationTokenRequest }
GetFederationTokenRequest is a API request type for the GetFederationToken API operation.
func (GetFederationTokenRequest) Send ¶ added in v0.5.0
func (r GetFederationTokenRequest) Send() (*GetFederationTokenOutput, error)
Send marshals and sends the GetFederationToken API request.
type GetMetricDataInput ¶ added in v0.5.0
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 StartTime timestamp. // // The time range between StartTime and EndTime must be less than 24 hours. // // EndTime is a required field EndTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // A Filters object that contains a list of queue IDs or queue ARNs, up to 100, // or a list of Channels to use to filter the metrics returned in the response. // Metric data is retrieved only for the resources associated with the IDs, // ARNs, or Channels included in the filter. You can use both IDs and ARNs together // in a request. Only VOICE is supported for Channel. // // To find the ARN for a queue, open the queue you want to use in the Amazon // Connect Queue editor. The ARN for the queue is displayed in the address bar // as part of the URL. For example, the queue ARN is the set of characters at // the end of the URL, after 'id=' such as arn:aws:connect:us-east-1:270923740243:instance/78fb859d-1b7d-44b1-8aa3-12f0835c5855/queue/1d1a4575-9618-40ab-bbeb-81e45795fe61. // The queue ID is also included in the URL, and is the string after 'queue/'. // // 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 queueId, the metrics returned are grouped by queue. The values // returned apply to the metrics for each queue rather than aggregated for all // queues. // // The current version supports grouping by Queue // // If no Grouping is included in the request, a summary of HistoricalMetrics // for all queues is returned. Groupings []Grouping `type:"list"` // A list of HistoricalMetric objects that contain the metrics to retrieve with // the request. // // A HistoricalMetric object contains: HistoricalMetricName, Statistic, Threshold, // and Unit. // // For each historical metric you include in the request, you must include a // Unit and a Statistic. // // The following historical metrics are available: // // CONTACTS_QUEUEDUnit: COUNT // // Statistic: SUM // // CONTACTS_HANDLEDUnit: COUNT // // Statistics: SUM // // CONTACTS_ABANDONEDUnit: COUNT // // Statistics: SUM // // CONTACTS_CONSULTEDUnit: COUNT // // Statistics: SUM // // CONTACTS_AGENT_HUNG_UP_FIRSTUnit: COUNT // // Statistics: SUM // // CONTACTS_HANDLED_INCOMINGUnit: COUNT // // Statistics: SUM // // CONTACTS_HANDLED_OUTBOUNDUnit: COUNT // // Statistics: SUM // // CONTACTS_HOLD_ABANDONSUnit: COUNT // // Statistics: SUM // // CONTACTS_TRANSFERRED_INUnit: COUNT // // Statistics: SUM // // CONTACTS_TRANSFERRED_OUTUnit: COUNT // // Statistics: SUM // // CONTACTS_TRANSFERRED_IN_FROM_QUEUEUnit: COUNT // // Statistics: SUM // // CONTACTS_TRANSFERRED_OUT_FROM_QUEUEUnit: COUNT // // Statistics: SUM // // CALLBACK_CONTACTS_HANDLEDUnit: COUNT // // Statistics: SUM // // CALLBACK_CONTACTS_HANDLEDUnit: COUNT // // Statistics: SUM // // API_CONTACTS_HANDLEDUnit: COUNT // // Statistics: SUM // // CONTACTS_MISSEDUnit: COUNT // // Statistics: SUM // // OCCUPANCYUnit: PERCENT // // Statistics: AVG // // HANDLE_TIMEUnit: SECONDS // // Statistics: AVG // // AFTER_CONTACT_WORK_TIMEUnit: SECONDS // // Statistics: AVG // // QUEUED_TIMEUnit: SECONDS // // Statistics: MAX // // ABANDON_TIMEUnit: COUNT // // Statistics: SUM // // QUEUE_ANSWER_TIMEUnit: SECONDS // // Statistics: AVG // // HOLD_TIMEUnit: SECONDS // // Statistics: AVG // // INTERACTION_TIMEUnit: SECONDS // // Statistics: AVG // // INTERACTION_AND_HOLD_TIMEUnit: SECONDS // // Statistics: AVG // // SERVICE_LEVELUnit: PERCENT // // Statistics: 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 for your Amazon Connect instance. To find the ID of your instance, // open the AWS console and select Amazon Connect. Select the alias of the instance // in the Instance alias column. The instance ID is displayed in the Overview // section of your instance settings. For example, the instance ID is the set // of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // Indicates the maximum number of results to return per page in the response, // between 1-100. 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. // // StartTime cannot be earlier than 24 hours before the time of the request. // Historical metrics are available in Amazon Connect only for 24 hours. // // StartTime is a required field StartTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetMetricDataRequest
func (GetMetricDataInput) GoString ¶ added in v0.5.0
func (s GetMetricDataInput) GoString() string
GoString returns the string representation
func (GetMetricDataInput) MarshalFields ¶ added in v0.5.0
func (s GetMetricDataInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetMetricDataInput) String ¶ added in v0.5.0
func (s GetMetricDataInput) String() string
String returns the string representation
func (*GetMetricDataInput) Validate ¶ added in v0.5.0
func (s *GetMetricDataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetMetricDataOutput ¶ added in v0.5.0
type GetMetricDataOutput struct { // A list of HistoricalMetricResult objects, organized by Dimensions, which // is the ID of the resource specified in the Filters used for the request. // The metrics are combined with the metrics included in Collections, which // is a list of HisotricalMetricData objects. // // If no Grouping is specified in the request, Collections includes summary // data for the HistoricalMetrics. MetricResults []HistoricalMetricResult `type:"list"` // A string returned in the response. Use the value returned in the response // as the value of the NextToken in a subsequent 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 NextToken must use the same request parameters as the // request that generated the token. NextToken *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetMetricDataResponse
func (GetMetricDataOutput) GoString ¶ added in v0.5.0
func (s GetMetricDataOutput) GoString() string
GoString returns the string representation
func (GetMetricDataOutput) MarshalFields ¶ added in v0.5.0
func (s GetMetricDataOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetMetricDataOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s GetMetricDataOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetMetricDataOutput) String ¶ added in v0.5.0
func (s GetMetricDataOutput) String() string
String returns the string representation
type GetMetricDataPager ¶ added in v0.5.0
GetMetricDataPager is used to paginate the request. This can be done by calling Next and CurrentPage.
func (*GetMetricDataPager) CurrentPage ¶ added in v0.5.0
func (p *GetMetricDataPager) CurrentPage() *GetMetricDataOutput
type GetMetricDataRequest ¶ added in v0.5.0
type GetMetricDataRequest struct { *aws.Request Input *GetMetricDataInput Copy func(*GetMetricDataInput) GetMetricDataRequest }
GetMetricDataRequest is a API request type for the GetMetricData API operation.
func (*GetMetricDataRequest) Paginate ¶ added in v0.5.0
func (p *GetMetricDataRequest) Paginate(opts ...aws.Option) GetMetricDataPager
Paginate pages iterates over the pages of a GetMetricDataRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetMetricData operation. req := client.GetMetricDataRequest(input) p := req.Paginate() for p.Next() { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (GetMetricDataRequest) Send ¶ added in v0.5.0
func (r GetMetricDataRequest) Send() (*GetMetricDataOutput, error)
Send marshals and sends the GetMetricData API request.
type Grouping ¶ added in v0.5.0
type Grouping string
Enum values for Grouping
func (Grouping) MarshalValue ¶ added in v0.5.0
type HierarchyGroup ¶ added in v0.5.0
type HierarchyGroup struct { // The Amazon Resource Name (ARN) for the hierarchy group. Arn *string `type:"string"` // A HierarchyPath object that contains information about the levels in the // hierarchy group. HierarchyPath *HierarchyPath `type:"structure"` // The identifier for the hierarchy group. Id *string `type:"string"` // The identifier for the level in the hierarchy group. LevelId *string `type:"string"` // The name of the hierarchy group in your instance. Name *string `type:"string"` // contains filtered or unexported fields }
A HierarchyGroup object that contains information about a hierarchy group in your Amazon Connect instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/HierarchyGroup
func (HierarchyGroup) GoString ¶ added in v0.5.0
func (s HierarchyGroup) GoString() string
GoString returns the string representation
func (HierarchyGroup) MarshalFields ¶ added in v0.5.0
func (s HierarchyGroup) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HierarchyGroup) String ¶ added in v0.5.0
func (s HierarchyGroup) String() string
String returns the string representation
type HierarchyGroupSummary ¶ added in v0.5.0
type HierarchyGroupSummary struct { // The ARN for 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 }
A HierarchyGroupSummary object that contains information about the hierarchy group, including ARN, Id, and Name. Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/HierarchyGroupSummary
func (HierarchyGroupSummary) GoString ¶ added in v0.5.0
func (s HierarchyGroupSummary) GoString() string
GoString returns the string representation
func (HierarchyGroupSummary) MarshalFields ¶ added in v0.5.0
func (s HierarchyGroupSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HierarchyGroupSummary) String ¶ added in v0.5.0
func (s HierarchyGroupSummary) String() string
String returns the string representation
type HierarchyLevel ¶ added in v0.5.0
type HierarchyLevel struct { // The ARN for the hierarchy group level. Arn *string `type:"string"` // The identifier for the hierarchy group level. Id *string `type:"string"` // The name of the hierarchy group level. Name *string `type:"string"` // contains filtered or unexported fields }
A HierarchyLevel object that contains information about the levels in a hierarchy group, including ARN, Id, and Name. Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/HierarchyLevel
func (HierarchyLevel) GoString ¶ added in v0.5.0
func (s HierarchyLevel) GoString() string
GoString returns the string representation
func (HierarchyLevel) MarshalFields ¶ added in v0.5.0
func (s HierarchyLevel) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HierarchyLevel) String ¶ added in v0.5.0
func (s HierarchyLevel) String() string
String returns the string representation
type HierarchyPath ¶ added in v0.5.0
type HierarchyPath struct { // A HierarchyGroupSummary object that contains information about the level // of the hierarchy group, including ARN, Id, and Name. LevelFive *HierarchyGroupSummary `type:"structure"` // A HierarchyGroupSummary object that contains information about the level // of the hierarchy group, including ARN, Id, and Name. LevelFour *HierarchyGroupSummary `type:"structure"` // A HierarchyGroupSummary object that contains information about the level // of the hierarchy group, including ARN, Id, and Name. LevelOne *HierarchyGroupSummary `type:"structure"` // A HierarchyGroupSummary object that contains information about the level // of the hierarchy group, including ARN, Id, and Name. LevelThree *HierarchyGroupSummary `type:"structure"` // A HierarchyGroupSummary object that contains information about the level // of the hierarchy group, including ARN, Id, and Name. LevelTwo *HierarchyGroupSummary `type:"structure"` // contains filtered or unexported fields }
A HierarchyPath object that contains information about the levels of the hierarchy group. Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/HierarchyPath
func (HierarchyPath) GoString ¶ added in v0.5.0
func (s HierarchyPath) GoString() string
GoString returns the string representation
func (HierarchyPath) MarshalFields ¶ added in v0.5.0
func (s HierarchyPath) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HierarchyPath) String ¶ added in v0.5.0
func (s HierarchyPath) String() string
String returns the string representation
type HierarchyStructure ¶ added in v0.5.0
type HierarchyStructure struct { // A HierarchyLevel object that contains information about the hierarchy group // level. LevelFive *HierarchyLevel `type:"structure"` // A HierarchyLevel object that contains information about the hierarchy group // level. LevelFour *HierarchyLevel `type:"structure"` // A HierarchyLevel object that contains information about the hierarchy group // level. LevelOne *HierarchyLevel `type:"structure"` // A HierarchyLevel object that contains information about the hierarchy group // level. LevelThree *HierarchyLevel `type:"structure"` // A HierarchyLevel object that contains information about the hierarchy group // level. LevelTwo *HierarchyLevel `type:"structure"` // contains filtered or unexported fields }
A HierarchyStructure object that contains information about the hierarchy group structure. Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/HierarchyStructure
func (HierarchyStructure) GoString ¶ added in v0.5.0
func (s HierarchyStructure) GoString() string
GoString returns the string representation
func (HierarchyStructure) MarshalFields ¶ added in v0.5.0
func (s HierarchyStructure) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HierarchyStructure) String ¶ added in v0.5.0
func (s HierarchyStructure) String() string
String returns the string representation
type HistoricalMetric ¶ added in v0.5.0
type HistoricalMetric struct { // The name of the historical metric. Name HistoricalMetricName `type:"string" enum:"true"` // The statistic for the metric: SUM, MAX, or SUM. 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: COUNT, PERCENT, or SECONDS. Unit Unit `type:"string" enum:"true"` // contains filtered or unexported fields }
A HistoricalMetric object that contains the Name, Unit, Statistic, and Threshold for the metric. Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/HistoricalMetric
func (HistoricalMetric) GoString ¶ added in v0.5.0
func (s HistoricalMetric) GoString() string
GoString returns the string representation
func (HistoricalMetric) MarshalFields ¶ added in v0.5.0
func (s HistoricalMetric) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HistoricalMetric) String ¶ added in v0.5.0
func (s HistoricalMetric) String() string
String returns the string representation
type HistoricalMetricData ¶ added in v0.5.0
type HistoricalMetricData struct { // A HistoricalMetric object. Metric *HistoricalMetric `type:"structure"` // The Value of the metric. Value *float64 `type:"double"` // contains filtered or unexported fields }
A HistoricalMetricData object than contains a Metric and a Value. Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/HistoricalMetricData
func (HistoricalMetricData) GoString ¶ added in v0.5.0
func (s HistoricalMetricData) GoString() string
GoString returns the string representation
func (HistoricalMetricData) MarshalFields ¶ added in v0.5.0
func (s HistoricalMetricData) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HistoricalMetricData) String ¶ added in v0.5.0
func (s HistoricalMetricData) String() string
String returns the string representation
type HistoricalMetricName ¶ added in v0.5.0
type HistoricalMetricName string
A list of 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 ¶ added in v0.5.0
func (enum HistoricalMetricName) MarshalValue() (string, error)
func (HistoricalMetricName) MarshalValueBuf ¶ added in v0.5.0
func (enum HistoricalMetricName) MarshalValueBuf(b []byte) ([]byte, error)
type HistoricalMetricResult ¶ added in v0.5.0
type HistoricalMetricResult struct { // A list of HistoricalMetricData objects. Collections []HistoricalMetricData `type:"list"` // The Dimensions for the metrics. Dimensions *Dimensions `type:"structure"` // contains filtered or unexported fields }
The metrics data returned from a GetMetricData operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/HistoricalMetricResult
func (HistoricalMetricResult) GoString ¶ added in v0.5.0
func (s HistoricalMetricResult) GoString() string
GoString returns the string representation
func (HistoricalMetricResult) MarshalFields ¶ added in v0.5.0
func (s HistoricalMetricResult) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HistoricalMetricResult) String ¶ added in v0.5.0
func (s HistoricalMetricResult) String() string
String returns the string representation
type ListRoutingProfilesInput ¶ added in v0.5.0
type ListRoutingProfilesInput struct { // The identifier for your Amazon Connect instance. To find the ID of your instance, // open the AWS console and select Amazon Connect. Select the alias of the instance // in the Instance alias column. The instance ID is displayed in the Overview // section of your instance settings. For example, the instance ID is the set // of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The maximum number of routing profiles to return in the response. 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListRoutingProfilesRequest
func (ListRoutingProfilesInput) GoString ¶ added in v0.5.0
func (s ListRoutingProfilesInput) GoString() string
GoString returns the string representation
func (ListRoutingProfilesInput) MarshalFields ¶ added in v0.5.0
func (s ListRoutingProfilesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListRoutingProfilesInput) String ¶ added in v0.5.0
func (s ListRoutingProfilesInput) String() string
String returns the string representation
func (*ListRoutingProfilesInput) Validate ¶ added in v0.5.0
func (s *ListRoutingProfilesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListRoutingProfilesOutput ¶ added in v0.5.0
type ListRoutingProfilesOutput struct { // A string returned in the response. Use the value returned in the response // as the value of the NextToken in a subsequent request to retrieve the next // set of results. NextToken *string `type:"string"` // An array of RoutingProfileSummary objects that include the ARN, Id, and Name // of the routing profile. RoutingProfileSummaryList []RoutingProfileSummary `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListRoutingProfilesResponse
func (ListRoutingProfilesOutput) GoString ¶ added in v0.5.0
func (s ListRoutingProfilesOutput) GoString() string
GoString returns the string representation
func (ListRoutingProfilesOutput) MarshalFields ¶ added in v0.5.0
func (s ListRoutingProfilesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListRoutingProfilesOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s ListRoutingProfilesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListRoutingProfilesOutput) String ¶ added in v0.5.0
func (s ListRoutingProfilesOutput) String() string
String returns the string representation
type ListRoutingProfilesRequest ¶ added in v0.5.0
type ListRoutingProfilesRequest struct { *aws.Request Input *ListRoutingProfilesInput Copy func(*ListRoutingProfilesInput) ListRoutingProfilesRequest }
ListRoutingProfilesRequest is a API request type for the ListRoutingProfiles API operation.
func (ListRoutingProfilesRequest) Send ¶ added in v0.5.0
func (r ListRoutingProfilesRequest) Send() (*ListRoutingProfilesOutput, error)
Send marshals and sends the ListRoutingProfiles API request.
type ListSecurityProfilesInput ¶ added in v0.5.0
type ListSecurityProfilesInput struct { // The identifier for your Amazon Connect instance. To find the ID of your instance, // open the AWS console and select Amazon Connect. Select the alias of the instance // in the Instance alias column. The instance ID is displayed in the Overview // section of your instance settings. For example, the instance ID is the set // of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The maximum number of security profiles to return. 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListSecurityProfilesRequest
func (ListSecurityProfilesInput) GoString ¶ added in v0.5.0
func (s ListSecurityProfilesInput) GoString() string
GoString returns the string representation
func (ListSecurityProfilesInput) MarshalFields ¶ added in v0.5.0
func (s ListSecurityProfilesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListSecurityProfilesInput) String ¶ added in v0.5.0
func (s ListSecurityProfilesInput) String() string
String returns the string representation
func (*ListSecurityProfilesInput) Validate ¶ added in v0.5.0
func (s *ListSecurityProfilesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListSecurityProfilesOutput ¶ added in v0.5.0
type ListSecurityProfilesOutput struct { // A string returned in the response. Use the value returned in the response // as the value of the NextToken in a subsequent request to retrieve the next // set of results. NextToken *string `type:"string"` // An array of SecurityProfileSummary objects. SecurityProfileSummaryList []SecurityProfileSummary `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListSecurityProfilesResponse
func (ListSecurityProfilesOutput) GoString ¶ added in v0.5.0
func (s ListSecurityProfilesOutput) GoString() string
GoString returns the string representation
func (ListSecurityProfilesOutput) MarshalFields ¶ added in v0.5.0
func (s ListSecurityProfilesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListSecurityProfilesOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s ListSecurityProfilesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListSecurityProfilesOutput) String ¶ added in v0.5.0
func (s ListSecurityProfilesOutput) String() string
String returns the string representation
type ListSecurityProfilesRequest ¶ added in v0.5.0
type ListSecurityProfilesRequest struct { *aws.Request Input *ListSecurityProfilesInput Copy func(*ListSecurityProfilesInput) ListSecurityProfilesRequest }
ListSecurityProfilesRequest is a API request type for the ListSecurityProfiles API operation.
func (ListSecurityProfilesRequest) Send ¶ added in v0.5.0
func (r ListSecurityProfilesRequest) Send() (*ListSecurityProfilesOutput, error)
Send marshals and sends the ListSecurityProfiles API request.
type ListUserHierarchyGroupsInput ¶ added in v0.5.0
type ListUserHierarchyGroupsInput struct { // The identifier for your Amazon Connect instance. To find the ID of your instance, // open the AWS console and select Amazon Connect. Select the alias of the instance // in the Instance alias column. The instance ID is displayed in the Overview // section of your instance settings. For example, the instance ID is the set // of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The maximum number of hierarchy groups to return. 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListUserHierarchyGroupsRequest
func (ListUserHierarchyGroupsInput) GoString ¶ added in v0.5.0
func (s ListUserHierarchyGroupsInput) GoString() string
GoString returns the string representation
func (ListUserHierarchyGroupsInput) MarshalFields ¶ added in v0.5.0
func (s ListUserHierarchyGroupsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListUserHierarchyGroupsInput) String ¶ added in v0.5.0
func (s ListUserHierarchyGroupsInput) String() string
String returns the string representation
func (*ListUserHierarchyGroupsInput) Validate ¶ added in v0.5.0
func (s *ListUserHierarchyGroupsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListUserHierarchyGroupsOutput ¶ added in v0.5.0
type ListUserHierarchyGroupsOutput struct { // A string returned in the response. Use the value returned in the response // as the value of the NextToken in a subsequent request to retrieve the next // set of results. NextToken *string `type:"string"` // An array of HierarchyGroupSummary objects. UserHierarchyGroupSummaryList []HierarchyGroupSummary `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListUserHierarchyGroupsResponse
func (ListUserHierarchyGroupsOutput) GoString ¶ added in v0.5.0
func (s ListUserHierarchyGroupsOutput) GoString() string
GoString returns the string representation
func (ListUserHierarchyGroupsOutput) MarshalFields ¶ added in v0.5.0
func (s ListUserHierarchyGroupsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListUserHierarchyGroupsOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s ListUserHierarchyGroupsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListUserHierarchyGroupsOutput) String ¶ added in v0.5.0
func (s ListUserHierarchyGroupsOutput) String() string
String returns the string representation
type ListUserHierarchyGroupsRequest ¶ added in v0.5.0
type ListUserHierarchyGroupsRequest struct { *aws.Request Input *ListUserHierarchyGroupsInput Copy func(*ListUserHierarchyGroupsInput) ListUserHierarchyGroupsRequest }
ListUserHierarchyGroupsRequest is a API request type for the ListUserHierarchyGroups API operation.
func (ListUserHierarchyGroupsRequest) Send ¶ added in v0.5.0
func (r ListUserHierarchyGroupsRequest) Send() (*ListUserHierarchyGroupsOutput, error)
Send marshals and sends the ListUserHierarchyGroups API request.
type ListUsersInput ¶ added in v0.5.0
type ListUsersInput struct { // The identifier for your Amazon Connect instance. To find the ID of your instance, // open the AWS console and select Amazon Connect. Select the alias of the instance // in the Instance alias column. The instance ID is displayed in the Overview // section of your instance settings. For example, the instance ID is the set // of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The maximum number of results to return in the response. 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListUsersRequest
func (ListUsersInput) GoString ¶ added in v0.5.0
func (s ListUsersInput) GoString() string
GoString returns the string representation
func (ListUsersInput) MarshalFields ¶ added in v0.5.0
func (s ListUsersInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListUsersInput) String ¶ added in v0.5.0
func (s ListUsersInput) String() string
String returns the string representation
func (*ListUsersInput) Validate ¶ added in v0.5.0
func (s *ListUsersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListUsersOutput ¶ added in v0.5.0
type ListUsersOutput struct { // A string returned in the response. Use the value returned in the response // as the value of the NextToken in a subsequent request to retrieve the next // set of results. NextToken *string `type:"string"` // An array of UserSummary objects that contain information about the users // in your instance. UserSummaryList []UserSummary `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListUsersResponse
func (ListUsersOutput) GoString ¶ added in v0.5.0
func (s ListUsersOutput) GoString() string
GoString returns the string representation
func (ListUsersOutput) MarshalFields ¶ added in v0.5.0
func (s ListUsersOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListUsersOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s ListUsersOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListUsersOutput) String ¶ added in v0.5.0
func (s ListUsersOutput) String() string
String returns the string representation
type ListUsersRequest ¶ added in v0.5.0
type ListUsersRequest struct { *aws.Request Input *ListUsersInput Copy func(*ListUsersInput) ListUsersRequest }
ListUsersRequest is a API request type for the ListUsers API operation.
func (ListUsersRequest) Send ¶ added in v0.5.0
func (r ListUsersRequest) Send() (*ListUsersOutput, error)
Send marshals and sends the ListUsers API request.
type PhoneType ¶ added in v0.5.0
type PhoneType string
Enum values for PhoneType
func (PhoneType) MarshalValue ¶ added in v0.5.0
type QueueReference ¶ added in v0.5.0
type QueueReference struct { // The Amazon Resource Name (ARN) of queue. Arn *string `type:"string"` // The ID of the queue associated with the metrics returned. Id *string `type:"string"` // contains filtered or unexported fields }
A QueueReference object that contains the the QueueId and ARN for the queue resource for which metrics are returned. Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/QueueReference
func (QueueReference) GoString ¶ added in v0.5.0
func (s QueueReference) GoString() string
GoString returns the string representation
func (QueueReference) MarshalFields ¶ added in v0.5.0
func (s QueueReference) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (QueueReference) String ¶ added in v0.5.0
func (s QueueReference) String() string
String returns the string representation
type RoutingProfileSummary ¶ added in v0.5.0
type RoutingProfileSummary struct { // The 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 }
A RoutingProfileSummary object that contains information about a routing profile, including ARN, Id, and Name. Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/RoutingProfileSummary
func (RoutingProfileSummary) GoString ¶ added in v0.5.0
func (s RoutingProfileSummary) GoString() string
GoString returns the string representation
func (RoutingProfileSummary) MarshalFields ¶ added in v0.5.0
func (s RoutingProfileSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RoutingProfileSummary) String ¶ added in v0.5.0
func (s RoutingProfileSummary) String() string
String returns the string representation
type SecurityProfileSummary ¶ added in v0.5.0
type SecurityProfileSummary struct { // The 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 }
A SecurityProfileSummary object that contains information about a security profile, including ARN, Id, Name. Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SecurityProfileSummary
func (SecurityProfileSummary) GoString ¶ added in v0.5.0
func (s SecurityProfileSummary) GoString() string
GoString returns the string representation
func (SecurityProfileSummary) MarshalFields ¶ added in v0.5.0
func (s SecurityProfileSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SecurityProfileSummary) String ¶ added in v0.5.0
func (s SecurityProfileSummary) String() string
String returns the string representation
type StartOutboundVoiceContactInput ¶
type StartOutboundVoiceContactInput struct { // Specify 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. Attribute // keys can include only alphanumeric, dash, and underscore characters. // // For example, if you want play a greeting when the customer answers the call, // you can pass the customer name in attributes similar to the following: 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 for the contact flow to connect the outbound call to. // // To find the ContactFlowId, open the contact flow you want to use in the Amazon // Connect contact flow editor. The ID for the contact flow is displayed in // the address bar as part of the URL. For example, the contact flow ID is the // set of characters at the end of the URL, after 'contact-flow/' such as 78ea8fd5-2659-4f2b-b528-699760ccfc1b. // // 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 for your Amazon Connect instance. To find the ID of your instance, // open the AWS console and select Amazon Connect. Select the alias of the instance // in the Instance alias column. The instance ID is displayed in the Overview // section of your instance settings. For example, the instance ID is the set // of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07. // // InstanceId is a required field InstanceId *string `min:"1" type:"string" required:"true"` // The queue to add the call to. 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 used will be the queue defined in the contact flow. // // To find the QueueId, open the queue you want to use in the Amazon Connect // Queue editor. The ID for the queue is displayed in the address bar as part // of the URL. For example, the queue ID is the set of characters at the end // of the URL, after 'queue/' such as queue/aeg40574-2d01-51c3-73d6-bf8624d2168c. QueueId *string `type:"string"` // The phone number, in E.164 format, associated with your Amazon Connect instance // to use for the outbound call. SourcePhoneNumber *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartOutboundVoiceContactRequest
func (StartOutboundVoiceContactInput) GoString ¶
func (s StartOutboundVoiceContactInput) GoString() string
GoString returns the string representation
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 unique identifier of this contact within your Amazon Connect instance. ContactId *string `min:"1" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartOutboundVoiceContactResponse
func (StartOutboundVoiceContactOutput) GoString ¶
func (s StartOutboundVoiceContactOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s StartOutboundVoiceContactOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the StartOutboundVoiceContact API operation.
func (StartOutboundVoiceContactRequest) Send ¶
func (r StartOutboundVoiceContactRequest) Send() (*StartOutboundVoiceContactOutput, error)
Send marshals and sends the StartOutboundVoiceContact API request.
type Statistic ¶ added in v0.5.0
type Statistic string
const ( StatisticSum Statistic = "SUM" StatisticMax Statistic = "MAX" StatisticAvg Statistic = "AVG" )
Enum values for Statistic
func (Statistic) MarshalValue ¶ added in v0.5.0
type StopContactInput ¶
type StopContactInput struct { // The unique identifier of the contact to end. // // ContactId is a required field ContactId *string `min:"1" type:"string" required:"true"` // The identifier for your Amazon Connect instance. To find the ID of your instance, // open the AWS console and select Amazon Connect. Select the alias of the instance // in the Instance alias column. The instance ID is displayed in the Overview // section of your instance settings. For example, the instance ID is the set // of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07. // // InstanceId is a required field InstanceId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StopContactRequest
func (StopContactInput) GoString ¶
func (s StopContactInput) GoString() string
GoString returns the string representation
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StopContactResponse
func (StopContactOutput) GoString ¶
func (s StopContactOutput) GoString() string
GoString returns the string representation
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) SDKResponseMetadata ¶
func (s StopContactOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 a API request type for the StopContact API operation.
func (StopContactRequest) Send ¶
func (r StopContactRequest) Send() (*StopContactOutput, error)
Send marshals and sends the StopContact API request.
type Threshold ¶ added in v0.5.0
type Threshold struct { // The Threshold to use to compare service level metrics to. Only "Less than" // (LT) comparisons are supported. Comparison Comparison `type:"string" enum:"true"` // The value of the threshold to compare the metric to. Only "Less than" (LT) // comparisons are supported. ThresholdValue *float64 `type:"double"` // contains filtered or unexported fields }
A Threshold object that includes a comparison and ThresholdValue to compare to. Used with service level metrics. Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/Threshold
func (Threshold) MarshalFields ¶ added in v0.5.0
func (s Threshold) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type Unit ¶ added in v0.5.0
type Unit string
Enum values for Unit
func (Unit) MarshalValue ¶ added in v0.5.0
type UpdateContactAttributesInput ¶ added in v0.5.0
type UpdateContactAttributesInput struct { // The key-value pairs for the attribute to update. // // Attributes is a required field Attributes map[string]string `type:"map" required:"true"` // The unique identifier of the contact for which to update attributes. This // is the identifier for 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 for your Amazon Connect instance. To find the ID of your instance, // open the AWS console and select Amazon Connect. Select the alias of the instance // in the Instance alias column. The instance ID is displayed in the Overview // section of your instance settings. For example, the instance ID is the set // of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07. // // InstanceId is a required field InstanceId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactAttributesRequest
func (UpdateContactAttributesInput) GoString ¶ added in v0.5.0
func (s UpdateContactAttributesInput) GoString() string
GoString returns the string representation
func (UpdateContactAttributesInput) MarshalFields ¶ added in v0.5.0
func (s UpdateContactAttributesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateContactAttributesInput) String ¶ added in v0.5.0
func (s UpdateContactAttributesInput) String() string
String returns the string representation
func (*UpdateContactAttributesInput) Validate ¶ added in v0.5.0
func (s *UpdateContactAttributesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateContactAttributesOutput ¶ added in v0.5.0
type UpdateContactAttributesOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactAttributesResponse
func (UpdateContactAttributesOutput) GoString ¶ added in v0.5.0
func (s UpdateContactAttributesOutput) GoString() string
GoString returns the string representation
func (UpdateContactAttributesOutput) MarshalFields ¶ added in v0.5.0
func (s UpdateContactAttributesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateContactAttributesOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s UpdateContactAttributesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateContactAttributesOutput) String ¶ added in v0.5.0
func (s UpdateContactAttributesOutput) String() string
String returns the string representation
type UpdateContactAttributesRequest ¶ added in v0.5.0
type UpdateContactAttributesRequest struct { *aws.Request Input *UpdateContactAttributesInput Copy func(*UpdateContactAttributesInput) UpdateContactAttributesRequest }
UpdateContactAttributesRequest is a API request type for the UpdateContactAttributes API operation.
func (UpdateContactAttributesRequest) Send ¶ added in v0.5.0
func (r UpdateContactAttributesRequest) Send() (*UpdateContactAttributesOutput, error)
Send marshals and sends the UpdateContactAttributes API request.
type UpdateUserHierarchyInput ¶ added in v0.5.0
type UpdateUserHierarchyInput struct { // The identifier for the hierarchy group to assign to the user. HierarchyGroupId *string `type:"string"` // The identifier for your Amazon Connect instance. To find the ID of your instance, // open the AWS console and select Amazon Connect. Select the alias of the instance // in the Instance alias column. The instance ID is displayed in the Overview // section of your instance settings. For example, the instance ID is the set // of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The identifier of the user account to assign the hierarchy group to. // // UserId is a required field UserId *string `location:"uri" locationName:"UserId" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserHierarchyRequest
func (UpdateUserHierarchyInput) GoString ¶ added in v0.5.0
func (s UpdateUserHierarchyInput) GoString() string
GoString returns the string representation
func (UpdateUserHierarchyInput) MarshalFields ¶ added in v0.5.0
func (s UpdateUserHierarchyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateUserHierarchyInput) String ¶ added in v0.5.0
func (s UpdateUserHierarchyInput) String() string
String returns the string representation
func (*UpdateUserHierarchyInput) Validate ¶ added in v0.5.0
func (s *UpdateUserHierarchyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateUserHierarchyOutput ¶ added in v0.5.0
type UpdateUserHierarchyOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserHierarchyOutput
func (UpdateUserHierarchyOutput) GoString ¶ added in v0.5.0
func (s UpdateUserHierarchyOutput) GoString() string
GoString returns the string representation
func (UpdateUserHierarchyOutput) MarshalFields ¶ added in v0.5.0
func (s UpdateUserHierarchyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateUserHierarchyOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s UpdateUserHierarchyOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateUserHierarchyOutput) String ¶ added in v0.5.0
func (s UpdateUserHierarchyOutput) String() string
String returns the string representation
type UpdateUserHierarchyRequest ¶ added in v0.5.0
type UpdateUserHierarchyRequest struct { *aws.Request Input *UpdateUserHierarchyInput Copy func(*UpdateUserHierarchyInput) UpdateUserHierarchyRequest }
UpdateUserHierarchyRequest is a API request type for the UpdateUserHierarchy API operation.
func (UpdateUserHierarchyRequest) Send ¶ added in v0.5.0
func (r UpdateUserHierarchyRequest) Send() (*UpdateUserHierarchyOutput, error)
Send marshals and sends the UpdateUserHierarchy API request.
type UpdateUserIdentityInfoInput ¶ added in v0.5.0
type UpdateUserIdentityInfoInput struct { // A UserIdentityInfo object. // // IdentityInfo is a required field IdentityInfo *UserIdentityInfo `type:"structure" required:"true"` // The identifier for your Amazon Connect instance. To find the ID of your instance, // open the AWS console and select Amazon Connect. Select the alias of the instance // in the Instance alias column. The instance ID is displayed in the Overview // section of your instance settings. For example, the instance ID is the set // of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The identifier for the user account to update identity information for. // // UserId is a required field UserId *string `location:"uri" locationName:"UserId" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserIdentityInfoRequest
func (UpdateUserIdentityInfoInput) GoString ¶ added in v0.5.0
func (s UpdateUserIdentityInfoInput) GoString() string
GoString returns the string representation
func (UpdateUserIdentityInfoInput) MarshalFields ¶ added in v0.5.0
func (s UpdateUserIdentityInfoInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateUserIdentityInfoInput) String ¶ added in v0.5.0
func (s UpdateUserIdentityInfoInput) String() string
String returns the string representation
func (*UpdateUserIdentityInfoInput) Validate ¶ added in v0.5.0
func (s *UpdateUserIdentityInfoInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateUserIdentityInfoOutput ¶ added in v0.5.0
type UpdateUserIdentityInfoOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserIdentityInfoOutput
func (UpdateUserIdentityInfoOutput) GoString ¶ added in v0.5.0
func (s UpdateUserIdentityInfoOutput) GoString() string
GoString returns the string representation
func (UpdateUserIdentityInfoOutput) MarshalFields ¶ added in v0.5.0
func (s UpdateUserIdentityInfoOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateUserIdentityInfoOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s UpdateUserIdentityInfoOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateUserIdentityInfoOutput) String ¶ added in v0.5.0
func (s UpdateUserIdentityInfoOutput) String() string
String returns the string representation
type UpdateUserIdentityInfoRequest ¶ added in v0.5.0
type UpdateUserIdentityInfoRequest struct { *aws.Request Input *UpdateUserIdentityInfoInput Copy func(*UpdateUserIdentityInfoInput) UpdateUserIdentityInfoRequest }
UpdateUserIdentityInfoRequest is a API request type for the UpdateUserIdentityInfo API operation.
func (UpdateUserIdentityInfoRequest) Send ¶ added in v0.5.0
func (r UpdateUserIdentityInfoRequest) Send() (*UpdateUserIdentityInfoOutput, error)
Send marshals and sends the UpdateUserIdentityInfo API request.
type UpdateUserPhoneConfigInput ¶ added in v0.5.0
type UpdateUserPhoneConfigInput struct { // The identifier for your Amazon Connect instance. To find the ID of your instance, // open the AWS console and select Amazon Connect. Select the alias of the instance // in the Instance alias column. The instance ID is displayed in the Overview // section of your instance settings. For example, the instance ID is the set // of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // A UserPhoneConfig object that contains settings for AfterContactWorkTimeLimit, // AutoAccept, DeskPhoneNumber, and PhoneType to assign to the user. // // PhoneConfig is a required field PhoneConfig *UserPhoneConfig `type:"structure" required:"true"` // The identifier for the user account to change phone settings for. // // UserId is a required field UserId *string `location:"uri" locationName:"UserId" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserPhoneConfigRequest
func (UpdateUserPhoneConfigInput) GoString ¶ added in v0.5.0
func (s UpdateUserPhoneConfigInput) GoString() string
GoString returns the string representation
func (UpdateUserPhoneConfigInput) MarshalFields ¶ added in v0.5.0
func (s UpdateUserPhoneConfigInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateUserPhoneConfigInput) String ¶ added in v0.5.0
func (s UpdateUserPhoneConfigInput) String() string
String returns the string representation
func (*UpdateUserPhoneConfigInput) Validate ¶ added in v0.5.0
func (s *UpdateUserPhoneConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateUserPhoneConfigOutput ¶ added in v0.5.0
type UpdateUserPhoneConfigOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserPhoneConfigOutput
func (UpdateUserPhoneConfigOutput) GoString ¶ added in v0.5.0
func (s UpdateUserPhoneConfigOutput) GoString() string
GoString returns the string representation
func (UpdateUserPhoneConfigOutput) MarshalFields ¶ added in v0.5.0
func (s UpdateUserPhoneConfigOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateUserPhoneConfigOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s UpdateUserPhoneConfigOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateUserPhoneConfigOutput) String ¶ added in v0.5.0
func (s UpdateUserPhoneConfigOutput) String() string
String returns the string representation
type UpdateUserPhoneConfigRequest ¶ added in v0.5.0
type UpdateUserPhoneConfigRequest struct { *aws.Request Input *UpdateUserPhoneConfigInput Copy func(*UpdateUserPhoneConfigInput) UpdateUserPhoneConfigRequest }
UpdateUserPhoneConfigRequest is a API request type for the UpdateUserPhoneConfig API operation.
func (UpdateUserPhoneConfigRequest) Send ¶ added in v0.5.0
func (r UpdateUserPhoneConfigRequest) Send() (*UpdateUserPhoneConfigOutput, error)
Send marshals and sends the UpdateUserPhoneConfig API request.
type UpdateUserRoutingProfileInput ¶ added in v0.5.0
type UpdateUserRoutingProfileInput struct { // The identifier for your Amazon Connect instance. To find the ID of your instance, // open the AWS console and select Amazon Connect. Select the alias of the instance // in the Instance alias column. The instance ID is displayed in the Overview // section of your instance settings. For example, the instance ID is the set // of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The identifier of the routing profile to assign to the user. // // RoutingProfileId is a required field RoutingProfileId *string `type:"string" required:"true"` // The identifier for the user account to assign the routing profile to. // // UserId is a required field UserId *string `location:"uri" locationName:"UserId" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserRoutingProfileRequest
func (UpdateUserRoutingProfileInput) GoString ¶ added in v0.5.0
func (s UpdateUserRoutingProfileInput) GoString() string
GoString returns the string representation
func (UpdateUserRoutingProfileInput) MarshalFields ¶ added in v0.5.0
func (s UpdateUserRoutingProfileInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateUserRoutingProfileInput) String ¶ added in v0.5.0
func (s UpdateUserRoutingProfileInput) String() string
String returns the string representation
func (*UpdateUserRoutingProfileInput) Validate ¶ added in v0.5.0
func (s *UpdateUserRoutingProfileInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateUserRoutingProfileOutput ¶ added in v0.5.0
type UpdateUserRoutingProfileOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserRoutingProfileOutput
func (UpdateUserRoutingProfileOutput) GoString ¶ added in v0.5.0
func (s UpdateUserRoutingProfileOutput) GoString() string
GoString returns the string representation
func (UpdateUserRoutingProfileOutput) MarshalFields ¶ added in v0.5.0
func (s UpdateUserRoutingProfileOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateUserRoutingProfileOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s UpdateUserRoutingProfileOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateUserRoutingProfileOutput) String ¶ added in v0.5.0
func (s UpdateUserRoutingProfileOutput) String() string
String returns the string representation
type UpdateUserRoutingProfileRequest ¶ added in v0.5.0
type UpdateUserRoutingProfileRequest struct { *aws.Request Input *UpdateUserRoutingProfileInput Copy func(*UpdateUserRoutingProfileInput) UpdateUserRoutingProfileRequest }
UpdateUserRoutingProfileRequest is a API request type for the UpdateUserRoutingProfile API operation.
func (UpdateUserRoutingProfileRequest) Send ¶ added in v0.5.0
func (r UpdateUserRoutingProfileRequest) Send() (*UpdateUserRoutingProfileOutput, error)
Send marshals and sends the UpdateUserRoutingProfile API request.
type UpdateUserSecurityProfilesInput ¶ added in v0.5.0
type UpdateUserSecurityProfilesInput struct { // The identifier for your Amazon Connect instance. To find the ID of your instance, // open the AWS console and select Amazon Connect. Select the alias of the instance // in the Instance alias column. The instance ID is displayed in the Overview // section of your instance settings. For example, the instance ID is the set // of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` // The identifiers for the security profiles to assign to the user. // // SecurityProfileIds is a required field SecurityProfileIds []string `min:"1" type:"list" required:"true"` // The identifier of the user account to assign the security profiles. // // UserId is a required field UserId *string `location:"uri" locationName:"UserId" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserSecurityProfilesRequest
func (UpdateUserSecurityProfilesInput) GoString ¶ added in v0.5.0
func (s UpdateUserSecurityProfilesInput) GoString() string
GoString returns the string representation
func (UpdateUserSecurityProfilesInput) MarshalFields ¶ added in v0.5.0
func (s UpdateUserSecurityProfilesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateUserSecurityProfilesInput) String ¶ added in v0.5.0
func (s UpdateUserSecurityProfilesInput) String() string
String returns the string representation
func (*UpdateUserSecurityProfilesInput) Validate ¶ added in v0.5.0
func (s *UpdateUserSecurityProfilesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateUserSecurityProfilesOutput ¶ added in v0.5.0
type UpdateUserSecurityProfilesOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserSecurityProfilesOutput
func (UpdateUserSecurityProfilesOutput) GoString ¶ added in v0.5.0
func (s UpdateUserSecurityProfilesOutput) GoString() string
GoString returns the string representation
func (UpdateUserSecurityProfilesOutput) MarshalFields ¶ added in v0.5.0
func (s UpdateUserSecurityProfilesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateUserSecurityProfilesOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s UpdateUserSecurityProfilesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateUserSecurityProfilesOutput) String ¶ added in v0.5.0
func (s UpdateUserSecurityProfilesOutput) String() string
String returns the string representation
type UpdateUserSecurityProfilesRequest ¶ added in v0.5.0
type UpdateUserSecurityProfilesRequest struct { *aws.Request Input *UpdateUserSecurityProfilesInput Copy func(*UpdateUserSecurityProfilesInput) UpdateUserSecurityProfilesRequest }
UpdateUserSecurityProfilesRequest is a API request type for the UpdateUserSecurityProfiles API operation.
func (UpdateUserSecurityProfilesRequest) Send ¶ added in v0.5.0
func (r UpdateUserSecurityProfilesRequest) Send() (*UpdateUserSecurityProfilesOutput, error)
Send marshals and sends the UpdateUserSecurityProfiles API request.
type User ¶ added in v0.5.0
type User struct { // The ARN of the user account. Arn *string `type:"string"` // The directory Id for the user account in the existing directory used for // identity management. DirectoryUserId *string `type:"string"` // The identifier for the hierarchy group assigned to the user. HierarchyGroupId *string `type:"string"` // The identifier of the user account. Id *string `type:"string"` // A UserIdentityInfo object. IdentityInfo *UserIdentityInfo `type:"structure"` // A UserPhoneConfig object. PhoneConfig *UserPhoneConfig `type:"structure"` // The identifier of the routing profile assigned to the user. RoutingProfileId *string `type:"string"` // The identifier(s) for the security profile assigned to the user. SecurityProfileIds []string `min:"1" type:"list"` // The user name assigned to the user account. Username *string `min:"1" type:"string"` // contains filtered or unexported fields }
A User object that contains information about a user account in your Amazon Connect instance, including configuration settings. Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/User
func (User) MarshalFields ¶ added in v0.5.0
func (s User) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type UserIdentityInfo ¶ added in v0.5.0
type UserIdentityInfo struct { // The email address added to the user account. If you are using SAML for identity // management and include this parameter, an InvalidRequestException is returned. Email *string `type:"string"` // The first name used in the user account. This is required if you are using // Amazon Connect or SAML for identity management. FirstName *string `min:"1" type:"string"` // The last name used in the user account. 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 }
A UserIdentityInfo object that contains information about the user's identity, including email address, first name, and last name. Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UserIdentityInfo
func (UserIdentityInfo) GoString ¶ added in v0.5.0
func (s UserIdentityInfo) GoString() string
GoString returns the string representation
func (UserIdentityInfo) MarshalFields ¶ added in v0.5.0
func (s UserIdentityInfo) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UserIdentityInfo) String ¶ added in v0.5.0
func (s UserIdentityInfo) String() string
String returns the string representation
func (*UserIdentityInfo) Validate ¶ added in v0.5.0
func (s *UserIdentityInfo) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UserPhoneConfig ¶ added in v0.5.0
type UserPhoneConfig struct { // The After Call Work (ACW) timeout setting, in seconds, for the user. AfterContactWorkTimeLimit *int64 `type:"integer"` // The Auto accept setting for the user, Yes or No. AutoAccept *bool `type:"boolean"` // The phone number for the user's desk phone. DeskPhoneNumber *string `type:"string"` // The phone type selected for the user, either Soft phone or Desk phone. // // PhoneType is a required field PhoneType PhoneType `type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
A UserPhoneConfig object that contains information about the user phone configuration settings. Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UserPhoneConfig
func (UserPhoneConfig) GoString ¶ added in v0.5.0
func (s UserPhoneConfig) GoString() string
GoString returns the string representation
func (UserPhoneConfig) MarshalFields ¶ added in v0.5.0
func (s UserPhoneConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UserPhoneConfig) String ¶ added in v0.5.0
func (s UserPhoneConfig) String() string
String returns the string representation
func (*UserPhoneConfig) Validate ¶ added in v0.5.0
func (s *UserPhoneConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UserSummary ¶ added in v0.5.0
type UserSummary struct { // The ARN for the user account. Arn *string `type:"string"` // The identifier for the user account. Id *string `type:"string"` // The Amazon Connect user name for the user account. Username *string `min:"1" type:"string"` // contains filtered or unexported fields }
A UserSummary object that contains Information about a user, including ARN, Id, and user name. Please also see https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UserSummary
func (UserSummary) GoString ¶ added in v0.5.0
func (s UserSummary) GoString() string
GoString returns the string representation
func (UserSummary) MarshalFields ¶ added in v0.5.0
func (s UserSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UserSummary) String ¶ added in v0.5.0
func (s UserSummary) String() string
String returns the string representation
Directories ¶
Path | Synopsis |
---|---|
Package connectiface provides an interface to enable mocking the Amazon Connect Service service client for testing your code.
|
Package connectiface provides an interface to enable mocking the Amazon Connect Service service client for testing your code. |