Learn R Programming

paws (version 0.2.0)

connect: Amazon Connect Service

Description

Amazon Connect is a cloud-based contact center solution that you use to set up and manage a customer contact center and provide reliable customer engagement at any scale.

Amazon Connect provides metrics and real-time reporting that enable you to optimize contact routing. You can also resolve customer issues more efficiently by getting customers in touch with the appropriate agents.

There are limits to the number of Amazon Connect resources that you can create. There are also limits to the number of requests that you can make per second. For more information, see Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.

You can connect programmatically to an Amazon Web Services service by using an endpoint. For a list of Amazon Connect endpoints, see Amazon Connect Endpoints.

Working with contact flows? Check out the Amazon Connect Flow language.

Usage

connect(config = list())

Value

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Arguments

config

Optional configuration of credentials, endpoint, and/or region.

  • access_key_id: AWS access key ID

  • secret_access_key: AWS secret access key

  • session_token: AWS temporary session token

  • profile: The name of a profile to use. If not given, then the default profile is used.

  • anonymous: Set anonymous credentials.

  • endpoint: The complete URL to use for the constructed client.

  • region: The AWS Region used in instantiating the client.

  • close_connection: Immediately close all HTTP connections.

  • timeout: The time in seconds till a timeout exception is thrown when attempting to make a connection. The default is 60 seconds.

  • s3_force_path_style: Set this to true to force the request to use path-style addressing, i.e., http://s3.amazonaws.com/BUCKET/KEY.

Service syntax

svc <- connect(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string",
      anonymous = "logical"
    ),
    endpoint = "string",
    region = "string",
    close_connection = "logical",
    timeout = "numeric",
    s3_force_path_style = "logical"
  )
)

Operations

associate_approved_originThis API is in preview release for Amazon Connect and is subject to change
associate_botThis API is in preview release for Amazon Connect and is subject to change
associate_default_vocabularyAssociates an existing vocabulary as the default
associate_instance_storage_configThis API is in preview release for Amazon Connect and is subject to change
associate_lambda_functionThis API is in preview release for Amazon Connect and is subject to change
associate_lex_botThis API is in preview release for Amazon Connect and is subject to change
associate_phone_number_contact_flowAssociates a contact flow with a phone number claimed to your Amazon Connect instance
associate_queue_quick_connectsThis API is in preview release for Amazon Connect and is subject to change
associate_routing_profile_queuesAssociates a set of queues with a routing profile
associate_security_keyThis API is in preview release for Amazon Connect and is subject to change
claim_phone_numberClaims an available phone number to your Amazon Connect instance
create_agent_statusThis API is in preview release for Amazon Connect and is subject to change
create_contact_flowCreates a contact flow for the specified Amazon Connect instance
create_contact_flow_moduleCreates a contact flow module for the specified Amazon Connect instance
create_hours_of_operationThis API is in preview release for Amazon Connect and is subject to change
create_instanceThis API is in preview release for Amazon Connect and is subject to change
create_integration_associationCreates an Amazon Web Services resource association with an Amazon Connect instance
create_queueThis API is in preview release for Amazon Connect and is subject to change
create_quick_connectCreates a quick connect for the specified Amazon Connect instance
create_routing_profileCreates a new routing profile
create_security_profileThis API is in preview release for Amazon Connect and is subject to change
create_task_templateCreates a new task template in the specified Amazon Connect instance
create_use_caseCreates a use case for an integration association
create_userCreates a user account for the specified Amazon Connect instance
create_user_hierarchy_groupCreates a new user hierarchy group
create_vocabularyCreates a custom vocabulary associated with your Amazon Connect instance
delete_contact_flowDeletes a contact flow for the specified Amazon Connect instance
delete_contact_flow_moduleDeletes the specified contact flow module
delete_hours_of_operationThis API is in preview release for Amazon Connect and is subject to change
delete_instanceThis API is in preview release for Amazon Connect and is subject to change
delete_integration_associationDeletes an Amazon Web Services resource association from an Amazon Connect instance
delete_quick_connectDeletes a quick connect
delete_security_profileThis API is in preview release for Amazon Connect and is subject to change
delete_task_templateDeletes the task template
delete_use_caseDeletes a use case from an integration association
delete_userDeletes a user account from the specified Amazon Connect instance
delete_user_hierarchy_groupDeletes an existing user hierarchy group
delete_vocabularyDeletes the vocabulary that has the given identifier
describe_agent_statusThis API is in preview release for Amazon Connect and is subject to change
describe_contactThis API is in preview release for Amazon Connect and is subject to change
describe_contact_flowDescribes the specified contact flow
describe_contact_flow_moduleDescribes the specified contact flow module
describe_hours_of_operationThis API is in preview release for Amazon Connect and is subject to change
describe_instanceThis API is in preview release for Amazon Connect and is subject to change
describe_instance_attributeThis API is in preview release for Amazon Connect and is subject to change
describe_instance_storage_configThis API is in preview release for Amazon Connect and is subject to change
describe_phone_numberGets details and status of a phone number that’s claimed to your Amazon Connect instance
describe_queueThis API is in preview release for Amazon Connect and is subject to change
describe_quick_connectDescribes the quick connect
describe_routing_profileDescribes the specified routing profile
describe_security_profileThis API is in preview release for Amazon Connect and is subject to change
describe_userDescribes the specified user account
describe_user_hierarchy_groupDescribes the specified hierarchy group
describe_user_hierarchy_structureDescribes the hierarchy structure of the specified Amazon Connect instance
describe_vocabularyDescribes the specified vocabulary
disassociate_approved_originThis API is in preview release for Amazon Connect and is subject to change
disassociate_botThis API is in preview release for Amazon Connect and is subject to change
disassociate_instance_storage_configThis API is in preview release for Amazon Connect and is subject to change
disassociate_lambda_functionThis API is in preview release for Amazon Connect and is subject to change
disassociate_lex_botThis API is in preview release for Amazon Connect and is subject to change
disassociate_phone_number_contact_flowRemoves the contact flow association from a phone number claimed to your Amazon Connect instance, if a contact flow association exists
disassociate_queue_quick_connectsThis API is in preview release for Amazon Connect and is subject to change
disassociate_routing_profile_queuesDisassociates a set of queues from a routing profile
disassociate_security_keyThis API is in preview release for Amazon Connect and is subject to change
get_contact_attributesRetrieves the contact attributes for the specified contact
get_current_metric_dataGets the real-time metric data from the specified Amazon Connect instance
get_current_user_dataGets the real-time active user data from the specified Amazon Connect instance
get_federation_tokenRetrieves a token for federation
get_metric_dataGets historical metric data from the specified Amazon Connect instance
get_task_templateGets details about a specific task template in the specified Amazon Connect instance
list_agent_statusesThis API is in preview release for Amazon Connect and is subject to change
list_approved_originsThis API is in preview release for Amazon Connect and is subject to change
list_botsThis API is in preview release for Amazon Connect and is subject to change
list_contact_flow_modulesProvides information about the contact flow modules for the specified Amazon Connect instance
list_contact_flowsProvides information about the contact flows for the specified Amazon Connect instance
list_contact_referencesThis API is in preview release for Amazon Connect and is subject to change
list_default_vocabulariesLists the default vocabularies for the specified Amazon Connect instance
list_hours_of_operationsProvides information about the hours of operation for the specified Amazon Connect instance
list_instance_attributesThis API is in preview release for Amazon Connect and is subject to change
list_instancesThis API is in preview release for Amazon Connect and is subject to change
list_instance_storage_configsThis API is in preview release for Amazon Connect and is subject to change
list_integration_associationsProvides summary information about the Amazon Web Services resource associations for the specified Amazon Connect instance
list_lambda_functionsThis API is in preview release for Amazon Connect and is subject to change
list_lex_botsThis API is in preview release for Amazon Connect and is subject to change
list_phone_numbersProvides information about the phone numbers for the specified Amazon Connect instance
list_phone_numbers_v2Lists phone numbers claimed to your Amazon Connect instance
list_promptsProvides information about the prompts for the specified Amazon Connect instance
list_queue_quick_connectsThis API is in preview release for Amazon Connect and is subject to change
list_queuesProvides information about the queues for the specified Amazon Connect instance
list_quick_connectsProvides information about the quick connects for the specified Amazon Connect instance
list_routing_profile_queuesLists the queues associated with a routing profile
list_routing_profilesProvides summary information about the routing profiles for the specified Amazon Connect instance
list_security_keysThis API is in preview release for Amazon Connect and is subject to change
list_security_profile_permissionsThis API is in preview release for Amazon Connect and is subject to change
list_security_profilesProvides summary information about the security profiles for the specified Amazon Connect instance
list_tags_for_resourceLists the tags for the specified resource
list_task_templatesLists task templates for the specified Amazon Connect instance
list_use_casesLists the use cases for the integration association
list_user_hierarchy_groupsProvides summary information about the hierarchy groups for the specified Amazon Connect instance
list_usersProvides summary information about the users for the specified Amazon Connect instance
put_user_statusChanges the current status of a user or agent in Amazon Connect
release_phone_numberReleases a phone number previously claimed to an Amazon Connect instance
resume_contact_recordingWhen a contact is being recorded, and the recording has been suspended using SuspendContactRecording, this API resumes recording the call
search_available_phone_numbersSearches for available phone numbers that you can claim to your Amazon Connect instance
search_usersSearches users in an Amazon Connect instance, with optional filtering
search_vocabulariesSearches for vocabularies within a specific Amazon Connect instance using State, NameStartsWith, and LanguageCode
start_chat_contactInitiates a contact flow to start a new chat for the customer
start_contact_recordingStarts recording the contact:
start_contact_streamingInitiates real-time message streaming for a new chat contact
start_outbound_voice_contactPlaces an outbound call to a contact, and then initiates the contact flow
start_task_contactInitiates a contact flow to start a new task
stop_contactEnds the specified contact
stop_contact_recordingStops recording a call when a contact is being recorded
stop_contact_streamingEnds message streaming on a specified contact
suspend_contact_recordingWhen a contact is being recorded, this API suspends recording the call
tag_resourceAdds the specified tags to the specified resource
transfer_contactTransfers contacts from one agent or queue to another agent or queue at any point after a contact is created
untag_resourceRemoves the specified tags from the specified resource
update_agent_statusThis API is in preview release for Amazon Connect and is subject to change
update_contactThis API is in preview release for Amazon Connect and is subject to change
update_contact_attributesCreates or updates user-defined contact attributes associated with the specified contact
update_contact_flow_contentUpdates the specified contact flow
update_contact_flow_metadataUpdates metadata about specified contact flow
update_contact_flow_module_contentUpdates specified contact flow module for the specified Amazon Connect instance
update_contact_flow_module_metadataUpdates metadata about specified contact flow module
update_contact_flow_nameThe name of the contact flow
update_contact_scheduleUpdates the scheduled time of a task contact that is already scheduled
update_hours_of_operationThis API is in preview release for Amazon Connect and is subject to change
update_instance_attributeThis API is in preview release for Amazon Connect and is subject to change
update_instance_storage_configThis API is in preview release for Amazon Connect and is subject to change
update_phone_numberUpdates your claimed phone number from its current Amazon Connect instance to another Amazon Connect instance in the same Region
update_queue_hours_of_operationThis API is in preview release for Amazon Connect and is subject to change
update_queue_max_contactsThis API is in preview release for Amazon Connect and is subject to change
update_queue_nameThis API is in preview release for Amazon Connect and is subject to change
update_queue_outbound_caller_configThis API is in preview release for Amazon Connect and is subject to change
update_queue_statusThis API is in preview release for Amazon Connect and is subject to change
update_quick_connect_configUpdates the configuration settings for the specified quick connect
update_quick_connect_nameUpdates the name and description of a quick connect
update_routing_profile_concurrencyUpdates the channels that agents can handle in the Contact Control Panel (CCP) for a routing profile
update_routing_profile_default_outbound_queueUpdates the default outbound queue of a routing profile
update_routing_profile_nameUpdates the name and description of a routing profile
update_routing_profile_queuesUpdates the properties associated with a set of queues for a routing profile
update_security_profileThis API is in preview release for Amazon Connect and is subject to change
update_task_templateUpdates details about a specific task template in the specified Amazon Connect instance
update_user_hierarchyAssigns the specified hierarchy group to the specified user
update_user_hierarchy_group_nameUpdates the name of the user hierarchy group
update_user_hierarchy_structureUpdates the user hierarchy structure: add, remove, and rename user hierarchy levels
update_user_identity_infoUpdates the identity information for the specified user
update_user_phone_configUpdates the phone configuration settings for the specified user
update_user_routing_profileAssigns the specified routing profile to the specified user
update_user_security_profilesAssigns the specified security profiles to the specified user

Examples

Run this code
if (FALSE) {
svc <- connect()
svc$associate_approved_origin(
  Foo = 123
)
}

Run the code above in your browser using DataLab