aws-sdk-connect 1.35.0 → 1.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-connect.rb +2 -2
- data/lib/aws-sdk-connect/client.rb +970 -16
- data/lib/aws-sdk-connect/client_api.rb +687 -0
- data/lib/aws-sdk-connect/errors.rb +32 -0
- data/lib/aws-sdk-connect/types.rb +1474 -59
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f3571397e5474ff0008968a6ee4aa91ecf96c9f1e1786dcc364c42343e210ad
|
4
|
+
data.tar.gz: 6626de4b09b940cfa0a7d7fdbc47687136e1b7e7fa8cb80528adee9a8dcdf2b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54851af1738088322dbb0037f95c51f94378bdf5a402807060ec364e770f1f77fbbf0bebf6978e1d0e7575e42766f896c0aab3f49d678a060ddecf546b90eee6
|
7
|
+
data.tar.gz: 4059e50f5cf92862bd8d0a334b7cd30c962c0110192ac44624c0c84973bfc1b47e6b771d0aad6af1538ebafafe2bf0d1a2d7be7754f58afcc47083ba66096051
|
data/lib/aws-sdk-connect.rb
CHANGED
@@ -28,7 +28,7 @@ require_relative 'aws-sdk-connect/customizations'
|
|
28
28
|
# structure.
|
29
29
|
#
|
30
30
|
# connect = Aws::Connect::Client.new
|
31
|
-
# resp = connect.
|
31
|
+
# resp = connect.associate_approved_origin(params)
|
32
32
|
#
|
33
33
|
# See {Client} for more information.
|
34
34
|
#
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-connect/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::Connect
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.36.0'
|
52
52
|
|
53
53
|
end
|
@@ -327,6 +327,159 @@ module Aws::Connect
|
|
327
327
|
|
328
328
|
# @!group API Operations
|
329
329
|
|
330
|
+
# Associates an approved origin to an Amazon Connect instance.
|
331
|
+
#
|
332
|
+
# @option params [required, String] :instance_id
|
333
|
+
# The identifier of the Amazon Connect instance.
|
334
|
+
#
|
335
|
+
# @option params [required, String] :origin
|
336
|
+
# The domain to add to your allow list.
|
337
|
+
#
|
338
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
339
|
+
#
|
340
|
+
# @example Request syntax with placeholder values
|
341
|
+
#
|
342
|
+
# resp = client.associate_approved_origin({
|
343
|
+
# instance_id: "InstanceId", # required
|
344
|
+
# origin: "Origin", # required
|
345
|
+
# })
|
346
|
+
#
|
347
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateApprovedOrigin AWS API Documentation
|
348
|
+
#
|
349
|
+
# @overload associate_approved_origin(params = {})
|
350
|
+
# @param [Hash] params ({})
|
351
|
+
def associate_approved_origin(params = {}, options = {})
|
352
|
+
req = build_request(:associate_approved_origin, params)
|
353
|
+
req.send_request(options)
|
354
|
+
end
|
355
|
+
|
356
|
+
# Associates a storage resource type for the first time. You can only
|
357
|
+
# associate one type of storage configuration in a single call. This
|
358
|
+
# means, for example, that you can't define an instance with multiple
|
359
|
+
# S3 buckets for storing chat transcripts.
|
360
|
+
#
|
361
|
+
# This API does not create a resource that doesn't exist. It only
|
362
|
+
# associates it to the instance. Ensure that the resource being
|
363
|
+
# specified in the storage configuration, like an Amazon S3 bucket,
|
364
|
+
# exists when being used for association.
|
365
|
+
#
|
366
|
+
# @option params [required, String] :instance_id
|
367
|
+
# The identifier of the Amazon Connect instance.
|
368
|
+
#
|
369
|
+
# @option params [required, String] :resource_type
|
370
|
+
# A valid resource type.
|
371
|
+
#
|
372
|
+
# @option params [required, Types::InstanceStorageConfig] :storage_config
|
373
|
+
# A valid storage type.
|
374
|
+
#
|
375
|
+
# @return [Types::AssociateInstanceStorageConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
376
|
+
#
|
377
|
+
# * {Types::AssociateInstanceStorageConfigResponse#association_id #association_id} => String
|
378
|
+
#
|
379
|
+
# @example Request syntax with placeholder values
|
380
|
+
#
|
381
|
+
# resp = client.associate_instance_storage_config({
|
382
|
+
# instance_id: "InstanceId", # required
|
383
|
+
# resource_type: "CHAT_TRANSCRIPTS", # required, accepts CHAT_TRANSCRIPTS, CALL_RECORDINGS, SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS
|
384
|
+
# storage_config: { # required
|
385
|
+
# association_id: "AssociationId",
|
386
|
+
# storage_type: "S3", # required, accepts S3, KINESIS_VIDEO_STREAM, KINESIS_STREAM, KINESIS_FIREHOSE
|
387
|
+
# s3_config: {
|
388
|
+
# bucket_name: "BucketName", # required
|
389
|
+
# bucket_prefix: "Prefix", # required
|
390
|
+
# encryption_config: {
|
391
|
+
# encryption_type: "KMS", # required, accepts KMS
|
392
|
+
# key_id: "KeyId", # required
|
393
|
+
# },
|
394
|
+
# },
|
395
|
+
# kinesis_video_stream_config: {
|
396
|
+
# prefix: "Prefix", # required
|
397
|
+
# retention_period_hours: 1, # required
|
398
|
+
# encryption_config: { # required
|
399
|
+
# encryption_type: "KMS", # required, accepts KMS
|
400
|
+
# key_id: "KeyId", # required
|
401
|
+
# },
|
402
|
+
# },
|
403
|
+
# kinesis_stream_config: {
|
404
|
+
# stream_arn: "ARN", # required
|
405
|
+
# },
|
406
|
+
# kinesis_firehose_config: {
|
407
|
+
# firehose_arn: "ARN", # required
|
408
|
+
# },
|
409
|
+
# },
|
410
|
+
# })
|
411
|
+
#
|
412
|
+
# @example Response structure
|
413
|
+
#
|
414
|
+
# resp.association_id #=> String
|
415
|
+
#
|
416
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateInstanceStorageConfig AWS API Documentation
|
417
|
+
#
|
418
|
+
# @overload associate_instance_storage_config(params = {})
|
419
|
+
# @param [Hash] params ({})
|
420
|
+
def associate_instance_storage_config(params = {}, options = {})
|
421
|
+
req = build_request(:associate_instance_storage_config, params)
|
422
|
+
req.send_request(options)
|
423
|
+
end
|
424
|
+
|
425
|
+
# Allows the specified Amazon Connect instance to access the specified
|
426
|
+
# Lambda function.
|
427
|
+
#
|
428
|
+
# @option params [required, String] :instance_id
|
429
|
+
# The identifier of the Amazon Connect instance.
|
430
|
+
#
|
431
|
+
# @option params [required, String] :function_arn
|
432
|
+
# The Amazon Resource Name (ARN) for the Lambda function being
|
433
|
+
# associated. Maximum number of characters allowed is 140.
|
434
|
+
#
|
435
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
436
|
+
#
|
437
|
+
# @example Request syntax with placeholder values
|
438
|
+
#
|
439
|
+
# resp = client.associate_lambda_function({
|
440
|
+
# instance_id: "InstanceId", # required
|
441
|
+
# function_arn: "FunctionArn", # required
|
442
|
+
# })
|
443
|
+
#
|
444
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateLambdaFunction AWS API Documentation
|
445
|
+
#
|
446
|
+
# @overload associate_lambda_function(params = {})
|
447
|
+
# @param [Hash] params ({})
|
448
|
+
def associate_lambda_function(params = {}, options = {})
|
449
|
+
req = build_request(:associate_lambda_function, params)
|
450
|
+
req.send_request(options)
|
451
|
+
end
|
452
|
+
|
453
|
+
# Allows the specified Amazon Connect instance to access the specified
|
454
|
+
# Amazon Lex bot.
|
455
|
+
#
|
456
|
+
# @option params [required, String] :instance_id
|
457
|
+
# The identifier of the Amazon Connect instance.
|
458
|
+
#
|
459
|
+
# @option params [required, Types::LexBot] :lex_bot
|
460
|
+
# The Amazon Lex box to associate with the instance.
|
461
|
+
#
|
462
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
463
|
+
#
|
464
|
+
# @example Request syntax with placeholder values
|
465
|
+
#
|
466
|
+
# resp = client.associate_lex_bot({
|
467
|
+
# instance_id: "InstanceId", # required
|
468
|
+
# lex_bot: { # required
|
469
|
+
# name: "BotName",
|
470
|
+
# lex_region: "LexRegion",
|
471
|
+
# },
|
472
|
+
# })
|
473
|
+
#
|
474
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateLexBot AWS API Documentation
|
475
|
+
#
|
476
|
+
# @overload associate_lex_bot(params = {})
|
477
|
+
# @param [Hash] params ({})
|
478
|
+
def associate_lex_bot(params = {}, options = {})
|
479
|
+
req = build_request(:associate_lex_bot, params)
|
480
|
+
req.send_request(options)
|
481
|
+
end
|
482
|
+
|
330
483
|
# Associates a set of queues with a routing profile.
|
331
484
|
#
|
332
485
|
# @option params [required, String] :instance_id
|
@@ -366,6 +519,38 @@ module Aws::Connect
|
|
366
519
|
req.send_request(options)
|
367
520
|
end
|
368
521
|
|
522
|
+
# Associates a security key to the instance.
|
523
|
+
#
|
524
|
+
# @option params [required, String] :instance_id
|
525
|
+
# The identifier of the Amazon Connect instance.
|
526
|
+
#
|
527
|
+
# @option params [required, String] :key
|
528
|
+
# A valid security key in PEM format.
|
529
|
+
#
|
530
|
+
# @return [Types::AssociateSecurityKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
531
|
+
#
|
532
|
+
# * {Types::AssociateSecurityKeyResponse#association_id #association_id} => String
|
533
|
+
#
|
534
|
+
# @example Request syntax with placeholder values
|
535
|
+
#
|
536
|
+
# resp = client.associate_security_key({
|
537
|
+
# instance_id: "InstanceId", # required
|
538
|
+
# key: "PEM", # required
|
539
|
+
# })
|
540
|
+
#
|
541
|
+
# @example Response structure
|
542
|
+
#
|
543
|
+
# resp.association_id #=> String
|
544
|
+
#
|
545
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateSecurityKey AWS API Documentation
|
546
|
+
#
|
547
|
+
# @overload associate_security_key(params = {})
|
548
|
+
# @param [Hash] params ({})
|
549
|
+
def associate_security_key(params = {}, options = {})
|
550
|
+
req = build_request(:associate_security_key, params)
|
551
|
+
req.send_request(options)
|
552
|
+
end
|
553
|
+
|
369
554
|
# Creates a contact flow for the specified Amazon Connect instance.
|
370
555
|
#
|
371
556
|
# You can also create and update contact flows using the [Amazon Connect
|
@@ -431,6 +616,59 @@ module Aws::Connect
|
|
431
616
|
req.send_request(options)
|
432
617
|
end
|
433
618
|
|
619
|
+
# Initiates an Amazon Connect instance with all the supported channels
|
620
|
+
# enabled. It does not attach any storage (such as Amazon S3, or
|
621
|
+
# Kinesis) or allow for any configurations on features such as Contact
|
622
|
+
# Lens for Amazon Connect.
|
623
|
+
#
|
624
|
+
# @option params [String] :client_token
|
625
|
+
# The idempotency token.
|
626
|
+
#
|
627
|
+
# @option params [required, String] :identity_management_type
|
628
|
+
# The type of identity management for your Amazon Connect users.
|
629
|
+
#
|
630
|
+
# @option params [String] :instance_alias
|
631
|
+
# The name for your instance.
|
632
|
+
#
|
633
|
+
# @option params [String] :directory_id
|
634
|
+
# The identifier for the directory.
|
635
|
+
#
|
636
|
+
# @option params [required, Boolean] :inbound_calls_enabled
|
637
|
+
# Whether your contact center handles incoming contacts.
|
638
|
+
#
|
639
|
+
# @option params [required, Boolean] :outbound_calls_enabled
|
640
|
+
# Whether your contact center allows outbound calls.
|
641
|
+
#
|
642
|
+
# @return [Types::CreateInstanceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
643
|
+
#
|
644
|
+
# * {Types::CreateInstanceResponse#id #id} => String
|
645
|
+
# * {Types::CreateInstanceResponse#arn #arn} => String
|
646
|
+
#
|
647
|
+
# @example Request syntax with placeholder values
|
648
|
+
#
|
649
|
+
# resp = client.create_instance({
|
650
|
+
# client_token: "ClientToken",
|
651
|
+
# identity_management_type: "SAML", # required, accepts SAML, CONNECT_MANAGED, EXISTING_DIRECTORY
|
652
|
+
# instance_alias: "DirectoryAlias",
|
653
|
+
# directory_id: "DirectoryId",
|
654
|
+
# inbound_calls_enabled: false, # required
|
655
|
+
# outbound_calls_enabled: false, # required
|
656
|
+
# })
|
657
|
+
#
|
658
|
+
# @example Response structure
|
659
|
+
#
|
660
|
+
# resp.id #=> String
|
661
|
+
# resp.arn #=> String
|
662
|
+
#
|
663
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateInstance AWS API Documentation
|
664
|
+
#
|
665
|
+
# @overload create_instance(params = {})
|
666
|
+
# @param [Hash] params ({})
|
667
|
+
def create_instance(params = {}, options = {})
|
668
|
+
req = build_request(:create_instance, params)
|
669
|
+
req.send_request(options)
|
670
|
+
end
|
671
|
+
|
434
672
|
# Creates a new routing profile.
|
435
673
|
#
|
436
674
|
# @option params [required, String] :instance_id
|
@@ -644,6 +882,28 @@ module Aws::Connect
|
|
644
882
|
req.send_request(options)
|
645
883
|
end
|
646
884
|
|
885
|
+
# Deletes the Amazon Connect instance.
|
886
|
+
#
|
887
|
+
# @option params [required, String] :instance_id
|
888
|
+
# The identifier of the Amazon Connect instance.
|
889
|
+
#
|
890
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
891
|
+
#
|
892
|
+
# @example Request syntax with placeholder values
|
893
|
+
#
|
894
|
+
# resp = client.delete_instance({
|
895
|
+
# instance_id: "InstanceId", # required
|
896
|
+
# })
|
897
|
+
#
|
898
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteInstance AWS API Documentation
|
899
|
+
#
|
900
|
+
# @overload delete_instance(params = {})
|
901
|
+
# @param [Hash] params ({})
|
902
|
+
def delete_instance(params = {}, options = {})
|
903
|
+
req = build_request(:delete_instance, params)
|
904
|
+
req.send_request(options)
|
905
|
+
end
|
906
|
+
|
647
907
|
# Deletes a user account from the specified Amazon Connect instance.
|
648
908
|
#
|
649
909
|
# For information about what happens to a user's data when their
|
@@ -751,6 +1011,132 @@ module Aws::Connect
|
|
751
1011
|
req.send_request(options)
|
752
1012
|
end
|
753
1013
|
|
1014
|
+
# Returns the current state of the specified instance identifier. It
|
1015
|
+
# tracks the instance while it is being created and returns an error
|
1016
|
+
# status if applicable.
|
1017
|
+
#
|
1018
|
+
# If an instance is not created successfully, the instance status reason
|
1019
|
+
# field returns details relevant to the reason. The instance in a failed
|
1020
|
+
# state is returned only for 24 hours after the CreateInstance API was
|
1021
|
+
# invoked.
|
1022
|
+
#
|
1023
|
+
# @option params [required, String] :instance_id
|
1024
|
+
# The identifier of the Amazon Connect instance.
|
1025
|
+
#
|
1026
|
+
# @return [Types::DescribeInstanceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1027
|
+
#
|
1028
|
+
# * {Types::DescribeInstanceResponse#instance #instance} => Types::Instance
|
1029
|
+
#
|
1030
|
+
# @example Request syntax with placeholder values
|
1031
|
+
#
|
1032
|
+
# resp = client.describe_instance({
|
1033
|
+
# instance_id: "InstanceId", # required
|
1034
|
+
# })
|
1035
|
+
#
|
1036
|
+
# @example Response structure
|
1037
|
+
#
|
1038
|
+
# resp.instance.id #=> String
|
1039
|
+
# resp.instance.arn #=> String
|
1040
|
+
# resp.instance.identity_management_type #=> String, one of "SAML", "CONNECT_MANAGED", "EXISTING_DIRECTORY"
|
1041
|
+
# resp.instance.instance_alias #=> String
|
1042
|
+
# resp.instance.created_time #=> Time
|
1043
|
+
# resp.instance.service_role #=> String
|
1044
|
+
# resp.instance.instance_status #=> String, one of "CREATION_IN_PROGRESS", "ACTIVE", "CREATION_FAILED"
|
1045
|
+
# resp.instance.status_reason.message #=> String
|
1046
|
+
# resp.instance.inbound_calls_enabled #=> Boolean
|
1047
|
+
# resp.instance.outbound_calls_enabled #=> Boolean
|
1048
|
+
#
|
1049
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeInstance AWS API Documentation
|
1050
|
+
#
|
1051
|
+
# @overload describe_instance(params = {})
|
1052
|
+
# @param [Hash] params ({})
|
1053
|
+
def describe_instance(params = {}, options = {})
|
1054
|
+
req = build_request(:describe_instance, params)
|
1055
|
+
req.send_request(options)
|
1056
|
+
end
|
1057
|
+
|
1058
|
+
# Describes the specified instance attribute.
|
1059
|
+
#
|
1060
|
+
# @option params [required, String] :instance_id
|
1061
|
+
# The identifier of the Amazon Connect instance.
|
1062
|
+
#
|
1063
|
+
# @option params [required, String] :attribute_type
|
1064
|
+
# The type of attribute.
|
1065
|
+
#
|
1066
|
+
# @return [Types::DescribeInstanceAttributeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1067
|
+
#
|
1068
|
+
# * {Types::DescribeInstanceAttributeResponse#attribute #attribute} => Types::Attribute
|
1069
|
+
#
|
1070
|
+
# @example Request syntax with placeholder values
|
1071
|
+
#
|
1072
|
+
# resp = client.describe_instance_attribute({
|
1073
|
+
# instance_id: "InstanceId", # required
|
1074
|
+
# attribute_type: "INBOUND_CALLS", # required, accepts INBOUND_CALLS, OUTBOUND_CALLS, CONTACTFLOW_LOGS, CONTACT_LENS, AUTO_RESOLVE_BEST_VOICES, USE_CUSTOM_TTS_VOICES, EARLY_MEDIA
|
1075
|
+
# })
|
1076
|
+
#
|
1077
|
+
# @example Response structure
|
1078
|
+
#
|
1079
|
+
# resp.attribute.attribute_type #=> String, one of "INBOUND_CALLS", "OUTBOUND_CALLS", "CONTACTFLOW_LOGS", "CONTACT_LENS", "AUTO_RESOLVE_BEST_VOICES", "USE_CUSTOM_TTS_VOICES", "EARLY_MEDIA"
|
1080
|
+
# resp.attribute.value #=> String
|
1081
|
+
#
|
1082
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeInstanceAttribute AWS API Documentation
|
1083
|
+
#
|
1084
|
+
# @overload describe_instance_attribute(params = {})
|
1085
|
+
# @param [Hash] params ({})
|
1086
|
+
def describe_instance_attribute(params = {}, options = {})
|
1087
|
+
req = build_request(:describe_instance_attribute, params)
|
1088
|
+
req.send_request(options)
|
1089
|
+
end
|
1090
|
+
|
1091
|
+
# Retrieves the current storage configurations for the specified
|
1092
|
+
# resource type, association ID, and instance ID.
|
1093
|
+
#
|
1094
|
+
# @option params [required, String] :instance_id
|
1095
|
+
# The identifier of the Amazon Connect instance.
|
1096
|
+
#
|
1097
|
+
# @option params [required, String] :association_id
|
1098
|
+
# The existing association identifier that uniquely identifies the
|
1099
|
+
# resource type and storage config for the given instance ID.
|
1100
|
+
#
|
1101
|
+
# @option params [required, String] :resource_type
|
1102
|
+
# A valid resource type.
|
1103
|
+
#
|
1104
|
+
# @return [Types::DescribeInstanceStorageConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1105
|
+
#
|
1106
|
+
# * {Types::DescribeInstanceStorageConfigResponse#storage_config #storage_config} => Types::InstanceStorageConfig
|
1107
|
+
#
|
1108
|
+
# @example Request syntax with placeholder values
|
1109
|
+
#
|
1110
|
+
# resp = client.describe_instance_storage_config({
|
1111
|
+
# instance_id: "InstanceId", # required
|
1112
|
+
# association_id: "AssociationId", # required
|
1113
|
+
# resource_type: "CHAT_TRANSCRIPTS", # required, accepts CHAT_TRANSCRIPTS, CALL_RECORDINGS, SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS
|
1114
|
+
# })
|
1115
|
+
#
|
1116
|
+
# @example Response structure
|
1117
|
+
#
|
1118
|
+
# resp.storage_config.association_id #=> String
|
1119
|
+
# resp.storage_config.storage_type #=> String, one of "S3", "KINESIS_VIDEO_STREAM", "KINESIS_STREAM", "KINESIS_FIREHOSE"
|
1120
|
+
# resp.storage_config.s3_config.bucket_name #=> String
|
1121
|
+
# resp.storage_config.s3_config.bucket_prefix #=> String
|
1122
|
+
# resp.storage_config.s3_config.encryption_config.encryption_type #=> String, one of "KMS"
|
1123
|
+
# resp.storage_config.s3_config.encryption_config.key_id #=> String
|
1124
|
+
# resp.storage_config.kinesis_video_stream_config.prefix #=> String
|
1125
|
+
# resp.storage_config.kinesis_video_stream_config.retention_period_hours #=> Integer
|
1126
|
+
# resp.storage_config.kinesis_video_stream_config.encryption_config.encryption_type #=> String, one of "KMS"
|
1127
|
+
# resp.storage_config.kinesis_video_stream_config.encryption_config.key_id #=> String
|
1128
|
+
# resp.storage_config.kinesis_stream_config.stream_arn #=> String
|
1129
|
+
# resp.storage_config.kinesis_firehose_config.firehose_arn #=> String
|
1130
|
+
#
|
1131
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeInstanceStorageConfig AWS API Documentation
|
1132
|
+
#
|
1133
|
+
# @overload describe_instance_storage_config(params = {})
|
1134
|
+
# @param [Hash] params ({})
|
1135
|
+
def describe_instance_storage_config(params = {}, options = {})
|
1136
|
+
req = build_request(:describe_instance_storage_config, params)
|
1137
|
+
req.send_request(options)
|
1138
|
+
end
|
1139
|
+
|
754
1140
|
# Describes the specified routing profile.
|
755
1141
|
#
|
756
1142
|
# @option params [required, String] :instance_id
|
@@ -937,6 +1323,123 @@ module Aws::Connect
|
|
937
1323
|
req.send_request(options)
|
938
1324
|
end
|
939
1325
|
|
1326
|
+
# Revokes access to integrated applications from Amazon Connect.
|
1327
|
+
#
|
1328
|
+
# @option params [required, String] :instance_id
|
1329
|
+
# The identifier of the Amazon Connect instance.
|
1330
|
+
#
|
1331
|
+
# @option params [required, String] :origin
|
1332
|
+
# The domain URL of the integrated application.
|
1333
|
+
#
|
1334
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1335
|
+
#
|
1336
|
+
# @example Request syntax with placeholder values
|
1337
|
+
#
|
1338
|
+
# resp = client.disassociate_approved_origin({
|
1339
|
+
# instance_id: "InstanceId", # required
|
1340
|
+
# origin: "Origin", # required
|
1341
|
+
# })
|
1342
|
+
#
|
1343
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateApprovedOrigin AWS API Documentation
|
1344
|
+
#
|
1345
|
+
# @overload disassociate_approved_origin(params = {})
|
1346
|
+
# @param [Hash] params ({})
|
1347
|
+
def disassociate_approved_origin(params = {}, options = {})
|
1348
|
+
req = build_request(:disassociate_approved_origin, params)
|
1349
|
+
req.send_request(options)
|
1350
|
+
end
|
1351
|
+
|
1352
|
+
# Removes the storage type configurations for the specified resource
|
1353
|
+
# type and association ID.
|
1354
|
+
#
|
1355
|
+
# @option params [required, String] :instance_id
|
1356
|
+
# The identifier of the Amazon Connect instance.
|
1357
|
+
#
|
1358
|
+
# @option params [required, String] :association_id
|
1359
|
+
# The existing association identifier that uniquely identifies the
|
1360
|
+
# resource type and storage config for the given instance ID.
|
1361
|
+
#
|
1362
|
+
# @option params [required, String] :resource_type
|
1363
|
+
# A valid resource type.
|
1364
|
+
#
|
1365
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1366
|
+
#
|
1367
|
+
# @example Request syntax with placeholder values
|
1368
|
+
#
|
1369
|
+
# resp = client.disassociate_instance_storage_config({
|
1370
|
+
# instance_id: "InstanceId", # required
|
1371
|
+
# association_id: "AssociationId", # required
|
1372
|
+
# resource_type: "CHAT_TRANSCRIPTS", # required, accepts CHAT_TRANSCRIPTS, CALL_RECORDINGS, SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS
|
1373
|
+
# })
|
1374
|
+
#
|
1375
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateInstanceStorageConfig AWS API Documentation
|
1376
|
+
#
|
1377
|
+
# @overload disassociate_instance_storage_config(params = {})
|
1378
|
+
# @param [Hash] params ({})
|
1379
|
+
def disassociate_instance_storage_config(params = {}, options = {})
|
1380
|
+
req = build_request(:disassociate_instance_storage_config, params)
|
1381
|
+
req.send_request(options)
|
1382
|
+
end
|
1383
|
+
|
1384
|
+
# Remove the Lambda function from the drop-down options available in the
|
1385
|
+
# relevant contact flow blocks.
|
1386
|
+
#
|
1387
|
+
# @option params [required, String] :instance_id
|
1388
|
+
# The identifier of the Amazon Connect instance..
|
1389
|
+
#
|
1390
|
+
# @option params [required, String] :function_arn
|
1391
|
+
# The Amazon Resource Name (ARN) of the Lambda function being
|
1392
|
+
# disassociated.
|
1393
|
+
#
|
1394
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1395
|
+
#
|
1396
|
+
# @example Request syntax with placeholder values
|
1397
|
+
#
|
1398
|
+
# resp = client.disassociate_lambda_function({
|
1399
|
+
# instance_id: "InstanceId", # required
|
1400
|
+
# function_arn: "FunctionArn", # required
|
1401
|
+
# })
|
1402
|
+
#
|
1403
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateLambdaFunction AWS API Documentation
|
1404
|
+
#
|
1405
|
+
# @overload disassociate_lambda_function(params = {})
|
1406
|
+
# @param [Hash] params ({})
|
1407
|
+
def disassociate_lambda_function(params = {}, options = {})
|
1408
|
+
req = build_request(:disassociate_lambda_function, params)
|
1409
|
+
req.send_request(options)
|
1410
|
+
end
|
1411
|
+
|
1412
|
+
# Revokes authorization from the specified instance to access the
|
1413
|
+
# specified Amazon Lex bot.
|
1414
|
+
#
|
1415
|
+
# @option params [required, String] :instance_id
|
1416
|
+
# The identifier of the Amazon Connect instance.
|
1417
|
+
#
|
1418
|
+
# @option params [required, String] :bot_name
|
1419
|
+
# The name of the Amazon Lex bot. Maximum character limit of 50.
|
1420
|
+
#
|
1421
|
+
# @option params [required, String] :lex_region
|
1422
|
+
# The Region in which the Amazon Lex bot has been created.
|
1423
|
+
#
|
1424
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1425
|
+
#
|
1426
|
+
# @example Request syntax with placeholder values
|
1427
|
+
#
|
1428
|
+
# resp = client.disassociate_lex_bot({
|
1429
|
+
# instance_id: "InstanceId", # required
|
1430
|
+
# bot_name: "BotName", # required
|
1431
|
+
# lex_region: "LexRegion", # required
|
1432
|
+
# })
|
1433
|
+
#
|
1434
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateLexBot AWS API Documentation
|
1435
|
+
#
|
1436
|
+
# @overload disassociate_lex_bot(params = {})
|
1437
|
+
# @param [Hash] params ({})
|
1438
|
+
def disassociate_lex_bot(params = {}, options = {})
|
1439
|
+
req = build_request(:disassociate_lex_bot, params)
|
1440
|
+
req.send_request(options)
|
1441
|
+
end
|
1442
|
+
|
940
1443
|
# Disassociates a set of queues from a routing profile.
|
941
1444
|
#
|
942
1445
|
# @option params [required, String] :instance_id
|
@@ -972,6 +1475,33 @@ module Aws::Connect
|
|
972
1475
|
req.send_request(options)
|
973
1476
|
end
|
974
1477
|
|
1478
|
+
# Deletes the specified security key.
|
1479
|
+
#
|
1480
|
+
# @option params [required, String] :instance_id
|
1481
|
+
# The identifier of the Amazon Connect instance.
|
1482
|
+
#
|
1483
|
+
# @option params [required, String] :association_id
|
1484
|
+
# The existing association identifier that uniquely identifies the
|
1485
|
+
# resource type and storage config for the given instance ID.
|
1486
|
+
#
|
1487
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1488
|
+
#
|
1489
|
+
# @example Request syntax with placeholder values
|
1490
|
+
#
|
1491
|
+
# resp = client.disassociate_security_key({
|
1492
|
+
# instance_id: "InstanceId", # required
|
1493
|
+
# association_id: "AssociationId", # required
|
1494
|
+
# })
|
1495
|
+
#
|
1496
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateSecurityKey AWS API Documentation
|
1497
|
+
#
|
1498
|
+
# @overload disassociate_security_key(params = {})
|
1499
|
+
# @param [Hash] params ({})
|
1500
|
+
def disassociate_security_key(params = {}, options = {})
|
1501
|
+
req = build_request(:disassociate_security_key, params)
|
1502
|
+
req.send_request(options)
|
1503
|
+
end
|
1504
|
+
|
975
1505
|
# Retrieves the contact attributes for the specified contact.
|
976
1506
|
#
|
977
1507
|
# @option params [required, String] :instance_id
|
@@ -1492,24 +2022,68 @@ module Aws::Connect
|
|
1492
2022
|
# @example Response structure
|
1493
2023
|
#
|
1494
2024
|
# resp.next_token #=> String
|
1495
|
-
# resp.metric_results #=> Array
|
1496
|
-
# resp.metric_results[0].dimensions.queue.id #=> String
|
1497
|
-
# resp.metric_results[0].dimensions.queue.arn #=> String
|
1498
|
-
# resp.metric_results[0].dimensions.channel #=> String, one of "VOICE", "CHAT"
|
1499
|
-
# resp.metric_results[0].collections #=> Array
|
1500
|
-
# resp.metric_results[0].collections[0].metric.name #=> String, one of "CONTACTS_QUEUED", "CONTACTS_HANDLED", "CONTACTS_ABANDONED", "CONTACTS_CONSULTED", "CONTACTS_AGENT_HUNG_UP_FIRST", "CONTACTS_HANDLED_INCOMING", "CONTACTS_HANDLED_OUTBOUND", "CONTACTS_HOLD_ABANDONS", "CONTACTS_TRANSFERRED_IN", "CONTACTS_TRANSFERRED_OUT", "CONTACTS_TRANSFERRED_IN_FROM_QUEUE", "CONTACTS_TRANSFERRED_OUT_FROM_QUEUE", "CONTACTS_MISSED", "CALLBACK_CONTACTS_HANDLED", "API_CONTACTS_HANDLED", "OCCUPANCY", "HANDLE_TIME", "AFTER_CONTACT_WORK_TIME", "QUEUED_TIME", "ABANDON_TIME", "QUEUE_ANSWER_TIME", "HOLD_TIME", "INTERACTION_TIME", "INTERACTION_AND_HOLD_TIME", "SERVICE_LEVEL"
|
1501
|
-
# resp.metric_results[0].collections[0].metric.threshold.comparison #=> String, one of "LT"
|
1502
|
-
# resp.metric_results[0].collections[0].metric.threshold.threshold_value #=> Float
|
1503
|
-
# resp.metric_results[0].collections[0].metric.statistic #=> String, one of "SUM", "MAX", "AVG"
|
1504
|
-
# resp.metric_results[0].collections[0].metric.unit #=> String, one of "SECONDS", "COUNT", "PERCENT"
|
1505
|
-
# resp.metric_results[0].collections[0].value #=> Float
|
2025
|
+
# resp.metric_results #=> Array
|
2026
|
+
# resp.metric_results[0].dimensions.queue.id #=> String
|
2027
|
+
# resp.metric_results[0].dimensions.queue.arn #=> String
|
2028
|
+
# resp.metric_results[0].dimensions.channel #=> String, one of "VOICE", "CHAT"
|
2029
|
+
# resp.metric_results[0].collections #=> Array
|
2030
|
+
# resp.metric_results[0].collections[0].metric.name #=> String, one of "CONTACTS_QUEUED", "CONTACTS_HANDLED", "CONTACTS_ABANDONED", "CONTACTS_CONSULTED", "CONTACTS_AGENT_HUNG_UP_FIRST", "CONTACTS_HANDLED_INCOMING", "CONTACTS_HANDLED_OUTBOUND", "CONTACTS_HOLD_ABANDONS", "CONTACTS_TRANSFERRED_IN", "CONTACTS_TRANSFERRED_OUT", "CONTACTS_TRANSFERRED_IN_FROM_QUEUE", "CONTACTS_TRANSFERRED_OUT_FROM_QUEUE", "CONTACTS_MISSED", "CALLBACK_CONTACTS_HANDLED", "API_CONTACTS_HANDLED", "OCCUPANCY", "HANDLE_TIME", "AFTER_CONTACT_WORK_TIME", "QUEUED_TIME", "ABANDON_TIME", "QUEUE_ANSWER_TIME", "HOLD_TIME", "INTERACTION_TIME", "INTERACTION_AND_HOLD_TIME", "SERVICE_LEVEL"
|
2031
|
+
# resp.metric_results[0].collections[0].metric.threshold.comparison #=> String, one of "LT"
|
2032
|
+
# resp.metric_results[0].collections[0].metric.threshold.threshold_value #=> Float
|
2033
|
+
# resp.metric_results[0].collections[0].metric.statistic #=> String, one of "SUM", "MAX", "AVG"
|
2034
|
+
# resp.metric_results[0].collections[0].metric.unit #=> String, one of "SECONDS", "COUNT", "PERCENT"
|
2035
|
+
# resp.metric_results[0].collections[0].value #=> Float
|
2036
|
+
#
|
2037
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetMetricData AWS API Documentation
|
2038
|
+
#
|
2039
|
+
# @overload get_metric_data(params = {})
|
2040
|
+
# @param [Hash] params ({})
|
2041
|
+
def get_metric_data(params = {}, options = {})
|
2042
|
+
req = build_request(:get_metric_data, params)
|
2043
|
+
req.send_request(options)
|
2044
|
+
end
|
2045
|
+
|
2046
|
+
# Returns a paginated list of all approved origins associated with the
|
2047
|
+
# instance.
|
2048
|
+
#
|
2049
|
+
# @option params [required, String] :instance_id
|
2050
|
+
# The identifier of the Amazon Connect instance.
|
2051
|
+
#
|
2052
|
+
# @option params [String] :next_token
|
2053
|
+
# The token for the next set of results. Use the value returned in the
|
2054
|
+
# previous response in the next request to retrieve the next set of
|
2055
|
+
# results.
|
2056
|
+
#
|
2057
|
+
# @option params [Integer] :max_results
|
2058
|
+
# The maximimum number of results to return per page.
|
2059
|
+
#
|
2060
|
+
# @return [Types::ListApprovedOriginsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2061
|
+
#
|
2062
|
+
# * {Types::ListApprovedOriginsResponse#origins #origins} => Array<String>
|
2063
|
+
# * {Types::ListApprovedOriginsResponse#next_token #next_token} => String
|
2064
|
+
#
|
2065
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2066
|
+
#
|
2067
|
+
# @example Request syntax with placeholder values
|
2068
|
+
#
|
2069
|
+
# resp = client.list_approved_origins({
|
2070
|
+
# instance_id: "InstanceId", # required
|
2071
|
+
# next_token: "NextToken",
|
2072
|
+
# max_results: 1,
|
2073
|
+
# })
|
2074
|
+
#
|
2075
|
+
# @example Response structure
|
2076
|
+
#
|
2077
|
+
# resp.origins #=> Array
|
2078
|
+
# resp.origins[0] #=> String
|
2079
|
+
# resp.next_token #=> String
|
1506
2080
|
#
|
1507
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/
|
2081
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListApprovedOrigins AWS API Documentation
|
1508
2082
|
#
|
1509
|
-
# @overload
|
2083
|
+
# @overload list_approved_origins(params = {})
|
1510
2084
|
# @param [Hash] params ({})
|
1511
|
-
def
|
1512
|
-
req = build_request(:
|
2085
|
+
def list_approved_origins(params = {}, options = {})
|
2086
|
+
req = build_request(:list_approved_origins, params)
|
1513
2087
|
req.send_request(options)
|
1514
2088
|
end
|
1515
2089
|
|
@@ -1628,6 +2202,249 @@ module Aws::Connect
|
|
1628
2202
|
req.send_request(options)
|
1629
2203
|
end
|
1630
2204
|
|
2205
|
+
# Returns a paginated list of all attribute types for the given
|
2206
|
+
# instance.
|
2207
|
+
#
|
2208
|
+
# @option params [required, String] :instance_id
|
2209
|
+
# The identifier of the Amazon Connect instance.
|
2210
|
+
#
|
2211
|
+
# @option params [String] :next_token
|
2212
|
+
# The token for the next set of results. Use the value returned in the
|
2213
|
+
# previous response in the next request to retrieve the next set of
|
2214
|
+
# results.
|
2215
|
+
#
|
2216
|
+
# @option params [Integer] :max_results
|
2217
|
+
# The maximimum number of results to return per page.
|
2218
|
+
#
|
2219
|
+
# @return [Types::ListInstanceAttributesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2220
|
+
#
|
2221
|
+
# * {Types::ListInstanceAttributesResponse#attributes #attributes} => Array<Types::Attribute>
|
2222
|
+
# * {Types::ListInstanceAttributesResponse#next_token #next_token} => String
|
2223
|
+
#
|
2224
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2225
|
+
#
|
2226
|
+
# @example Request syntax with placeholder values
|
2227
|
+
#
|
2228
|
+
# resp = client.list_instance_attributes({
|
2229
|
+
# instance_id: "InstanceId", # required
|
2230
|
+
# next_token: "NextToken",
|
2231
|
+
# max_results: 1,
|
2232
|
+
# })
|
2233
|
+
#
|
2234
|
+
# @example Response structure
|
2235
|
+
#
|
2236
|
+
# resp.attributes #=> Array
|
2237
|
+
# resp.attributes[0].attribute_type #=> String, one of "INBOUND_CALLS", "OUTBOUND_CALLS", "CONTACTFLOW_LOGS", "CONTACT_LENS", "AUTO_RESOLVE_BEST_VOICES", "USE_CUSTOM_TTS_VOICES", "EARLY_MEDIA"
|
2238
|
+
# resp.attributes[0].value #=> String
|
2239
|
+
# resp.next_token #=> String
|
2240
|
+
#
|
2241
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListInstanceAttributes AWS API Documentation
|
2242
|
+
#
|
2243
|
+
# @overload list_instance_attributes(params = {})
|
2244
|
+
# @param [Hash] params ({})
|
2245
|
+
def list_instance_attributes(params = {}, options = {})
|
2246
|
+
req = build_request(:list_instance_attributes, params)
|
2247
|
+
req.send_request(options)
|
2248
|
+
end
|
2249
|
+
|
2250
|
+
# Returns a paginated list of storage configs for the identified
|
2251
|
+
# instance and resource type.
|
2252
|
+
#
|
2253
|
+
# @option params [required, String] :instance_id
|
2254
|
+
# The identifier of the Amazon Connect instance.
|
2255
|
+
#
|
2256
|
+
# @option params [required, String] :resource_type
|
2257
|
+
# A valid resource type.
|
2258
|
+
#
|
2259
|
+
# @option params [String] :next_token
|
2260
|
+
# The token for the next set of results. Use the value returned in the
|
2261
|
+
# previous response in the next request to retrieve the next set of
|
2262
|
+
# results.
|
2263
|
+
#
|
2264
|
+
# @option params [Integer] :max_results
|
2265
|
+
# The maximimum number of results to return per page.
|
2266
|
+
#
|
2267
|
+
# @return [Types::ListInstanceStorageConfigsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2268
|
+
#
|
2269
|
+
# * {Types::ListInstanceStorageConfigsResponse#storage_configs #storage_configs} => Array<Types::InstanceStorageConfig>
|
2270
|
+
# * {Types::ListInstanceStorageConfigsResponse#next_token #next_token} => String
|
2271
|
+
#
|
2272
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2273
|
+
#
|
2274
|
+
# @example Request syntax with placeholder values
|
2275
|
+
#
|
2276
|
+
# resp = client.list_instance_storage_configs({
|
2277
|
+
# instance_id: "InstanceId", # required
|
2278
|
+
# resource_type: "CHAT_TRANSCRIPTS", # required, accepts CHAT_TRANSCRIPTS, CALL_RECORDINGS, SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS
|
2279
|
+
# next_token: "NextToken",
|
2280
|
+
# max_results: 1,
|
2281
|
+
# })
|
2282
|
+
#
|
2283
|
+
# @example Response structure
|
2284
|
+
#
|
2285
|
+
# resp.storage_configs #=> Array
|
2286
|
+
# resp.storage_configs[0].association_id #=> String
|
2287
|
+
# resp.storage_configs[0].storage_type #=> String, one of "S3", "KINESIS_VIDEO_STREAM", "KINESIS_STREAM", "KINESIS_FIREHOSE"
|
2288
|
+
# resp.storage_configs[0].s3_config.bucket_name #=> String
|
2289
|
+
# resp.storage_configs[0].s3_config.bucket_prefix #=> String
|
2290
|
+
# resp.storage_configs[0].s3_config.encryption_config.encryption_type #=> String, one of "KMS"
|
2291
|
+
# resp.storage_configs[0].s3_config.encryption_config.key_id #=> String
|
2292
|
+
# resp.storage_configs[0].kinesis_video_stream_config.prefix #=> String
|
2293
|
+
# resp.storage_configs[0].kinesis_video_stream_config.retention_period_hours #=> Integer
|
2294
|
+
# resp.storage_configs[0].kinesis_video_stream_config.encryption_config.encryption_type #=> String, one of "KMS"
|
2295
|
+
# resp.storage_configs[0].kinesis_video_stream_config.encryption_config.key_id #=> String
|
2296
|
+
# resp.storage_configs[0].kinesis_stream_config.stream_arn #=> String
|
2297
|
+
# resp.storage_configs[0].kinesis_firehose_config.firehose_arn #=> String
|
2298
|
+
# resp.next_token #=> String
|
2299
|
+
#
|
2300
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListInstanceStorageConfigs AWS API Documentation
|
2301
|
+
#
|
2302
|
+
# @overload list_instance_storage_configs(params = {})
|
2303
|
+
# @param [Hash] params ({})
|
2304
|
+
def list_instance_storage_configs(params = {}, options = {})
|
2305
|
+
req = build_request(:list_instance_storage_configs, params)
|
2306
|
+
req.send_request(options)
|
2307
|
+
end
|
2308
|
+
|
2309
|
+
# Return a list of instances which are in active state,
|
2310
|
+
# creation-in-progress state, and failed state. Instances that aren't
|
2311
|
+
# successfully created (they are in a failed state) are returned only
|
2312
|
+
# for 24 hours after the CreateInstance API was invoked.
|
2313
|
+
#
|
2314
|
+
# @option params [String] :next_token
|
2315
|
+
# The token for the next set of results. Use the value returned in the
|
2316
|
+
# previous response in the next request to retrieve the next set of
|
2317
|
+
# results.
|
2318
|
+
#
|
2319
|
+
# @option params [Integer] :max_results
|
2320
|
+
# The maximimum number of results to return per page.
|
2321
|
+
#
|
2322
|
+
# @return [Types::ListInstancesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2323
|
+
#
|
2324
|
+
# * {Types::ListInstancesResponse#instance_summary_list #instance_summary_list} => Array<Types::InstanceSummary>
|
2325
|
+
# * {Types::ListInstancesResponse#next_token #next_token} => String
|
2326
|
+
#
|
2327
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2328
|
+
#
|
2329
|
+
# @example Request syntax with placeholder values
|
2330
|
+
#
|
2331
|
+
# resp = client.list_instances({
|
2332
|
+
# next_token: "NextToken",
|
2333
|
+
# max_results: 1,
|
2334
|
+
# })
|
2335
|
+
#
|
2336
|
+
# @example Response structure
|
2337
|
+
#
|
2338
|
+
# resp.instance_summary_list #=> Array
|
2339
|
+
# resp.instance_summary_list[0].id #=> String
|
2340
|
+
# resp.instance_summary_list[0].arn #=> String
|
2341
|
+
# resp.instance_summary_list[0].identity_management_type #=> String, one of "SAML", "CONNECT_MANAGED", "EXISTING_DIRECTORY"
|
2342
|
+
# resp.instance_summary_list[0].instance_alias #=> String
|
2343
|
+
# resp.instance_summary_list[0].created_time #=> Time
|
2344
|
+
# resp.instance_summary_list[0].service_role #=> String
|
2345
|
+
# resp.instance_summary_list[0].instance_status #=> String, one of "CREATION_IN_PROGRESS", "ACTIVE", "CREATION_FAILED"
|
2346
|
+
# resp.instance_summary_list[0].inbound_calls_enabled #=> Boolean
|
2347
|
+
# resp.instance_summary_list[0].outbound_calls_enabled #=> Boolean
|
2348
|
+
# resp.next_token #=> String
|
2349
|
+
#
|
2350
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListInstances AWS API Documentation
|
2351
|
+
#
|
2352
|
+
# @overload list_instances(params = {})
|
2353
|
+
# @param [Hash] params ({})
|
2354
|
+
def list_instances(params = {}, options = {})
|
2355
|
+
req = build_request(:list_instances, params)
|
2356
|
+
req.send_request(options)
|
2357
|
+
end
|
2358
|
+
|
2359
|
+
# Returns a paginated list of all the Lambda functions that show up in
|
2360
|
+
# the drop-down options in the relevant contact flow blocks.
|
2361
|
+
#
|
2362
|
+
# @option params [required, String] :instance_id
|
2363
|
+
# The identifier of the Amazon Connect instance.
|
2364
|
+
#
|
2365
|
+
# @option params [String] :next_token
|
2366
|
+
# The token for the next set of results. Use the value returned in the
|
2367
|
+
# previous response in the next request to retrieve the next set of
|
2368
|
+
# results.
|
2369
|
+
#
|
2370
|
+
# @option params [Integer] :max_results
|
2371
|
+
# The maximimum number of results to return per page.
|
2372
|
+
#
|
2373
|
+
# @return [Types::ListLambdaFunctionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2374
|
+
#
|
2375
|
+
# * {Types::ListLambdaFunctionsResponse#lambda_functions #lambda_functions} => Array<String>
|
2376
|
+
# * {Types::ListLambdaFunctionsResponse#next_token #next_token} => String
|
2377
|
+
#
|
2378
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2379
|
+
#
|
2380
|
+
# @example Request syntax with placeholder values
|
2381
|
+
#
|
2382
|
+
# resp = client.list_lambda_functions({
|
2383
|
+
# instance_id: "InstanceId", # required
|
2384
|
+
# next_token: "NextToken",
|
2385
|
+
# max_results: 1,
|
2386
|
+
# })
|
2387
|
+
#
|
2388
|
+
# @example Response structure
|
2389
|
+
#
|
2390
|
+
# resp.lambda_functions #=> Array
|
2391
|
+
# resp.lambda_functions[0] #=> String
|
2392
|
+
# resp.next_token #=> String
|
2393
|
+
#
|
2394
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListLambdaFunctions AWS API Documentation
|
2395
|
+
#
|
2396
|
+
# @overload list_lambda_functions(params = {})
|
2397
|
+
# @param [Hash] params ({})
|
2398
|
+
def list_lambda_functions(params = {}, options = {})
|
2399
|
+
req = build_request(:list_lambda_functions, params)
|
2400
|
+
req.send_request(options)
|
2401
|
+
end
|
2402
|
+
|
2403
|
+
# Returns a paginated list of all the Amazon Lex bots currently
|
2404
|
+
# associated with the instance.
|
2405
|
+
#
|
2406
|
+
# @option params [required, String] :instance_id
|
2407
|
+
# The identifier of the Amazon Connect instance.
|
2408
|
+
#
|
2409
|
+
# @option params [String] :next_token
|
2410
|
+
# The token for the next set of results. Use the value returned in the
|
2411
|
+
# previous response in the next request to retrieve the next set of
|
2412
|
+
# results.
|
2413
|
+
#
|
2414
|
+
# @option params [Integer] :max_results
|
2415
|
+
# The maximimum number of results to return per page.
|
2416
|
+
#
|
2417
|
+
# @return [Types::ListLexBotsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2418
|
+
#
|
2419
|
+
# * {Types::ListLexBotsResponse#lex_bots #lex_bots} => Array<Types::LexBot>
|
2420
|
+
# * {Types::ListLexBotsResponse#next_token #next_token} => String
|
2421
|
+
#
|
2422
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2423
|
+
#
|
2424
|
+
# @example Request syntax with placeholder values
|
2425
|
+
#
|
2426
|
+
# resp = client.list_lex_bots({
|
2427
|
+
# instance_id: "InstanceId", # required
|
2428
|
+
# next_token: "NextToken",
|
2429
|
+
# max_results: 1,
|
2430
|
+
# })
|
2431
|
+
#
|
2432
|
+
# @example Response structure
|
2433
|
+
#
|
2434
|
+
# resp.lex_bots #=> Array
|
2435
|
+
# resp.lex_bots[0].name #=> String
|
2436
|
+
# resp.lex_bots[0].lex_region #=> String
|
2437
|
+
# resp.next_token #=> String
|
2438
|
+
#
|
2439
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListLexBots AWS API Documentation
|
2440
|
+
#
|
2441
|
+
# @overload list_lex_bots(params = {})
|
2442
|
+
# @param [Hash] params ({})
|
2443
|
+
def list_lex_bots(params = {}, options = {})
|
2444
|
+
req = build_request(:list_lex_bots, params)
|
2445
|
+
req.send_request(options)
|
2446
|
+
end
|
2447
|
+
|
1631
2448
|
# Provides information about the phone numbers for the specified Amazon
|
1632
2449
|
# Connect instance.
|
1633
2450
|
#
|
@@ -1903,6 +2720,52 @@ module Aws::Connect
|
|
1903
2720
|
req.send_request(options)
|
1904
2721
|
end
|
1905
2722
|
|
2723
|
+
# Returns a paginated list of all security keys associated with the
|
2724
|
+
# instance.
|
2725
|
+
#
|
2726
|
+
# @option params [required, String] :instance_id
|
2727
|
+
# The identifier of the Amazon Connect instance.
|
2728
|
+
#
|
2729
|
+
# @option params [String] :next_token
|
2730
|
+
# The token for the next set of results. Use the value returned in the
|
2731
|
+
# previous response in the next request to retrieve the next set of
|
2732
|
+
# results.
|
2733
|
+
#
|
2734
|
+
# @option params [Integer] :max_results
|
2735
|
+
# The maximimum number of results to return per page.
|
2736
|
+
#
|
2737
|
+
# @return [Types::ListSecurityKeysResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2738
|
+
#
|
2739
|
+
# * {Types::ListSecurityKeysResponse#security_keys #security_keys} => Array<Types::SecurityKey>
|
2740
|
+
# * {Types::ListSecurityKeysResponse#next_token #next_token} => String
|
2741
|
+
#
|
2742
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2743
|
+
#
|
2744
|
+
# @example Request syntax with placeholder values
|
2745
|
+
#
|
2746
|
+
# resp = client.list_security_keys({
|
2747
|
+
# instance_id: "InstanceId", # required
|
2748
|
+
# next_token: "NextToken",
|
2749
|
+
# max_results: 1,
|
2750
|
+
# })
|
2751
|
+
#
|
2752
|
+
# @example Response structure
|
2753
|
+
#
|
2754
|
+
# resp.security_keys #=> Array
|
2755
|
+
# resp.security_keys[0].association_id #=> String
|
2756
|
+
# resp.security_keys[0].key #=> String
|
2757
|
+
# resp.security_keys[0].creation_time #=> Time
|
2758
|
+
# resp.next_token #=> String
|
2759
|
+
#
|
2760
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListSecurityKeys AWS API Documentation
|
2761
|
+
#
|
2762
|
+
# @overload list_security_keys(params = {})
|
2763
|
+
# @param [Hash] params ({})
|
2764
|
+
def list_security_keys(params = {}, options = {})
|
2765
|
+
req = build_request(:list_security_keys, params)
|
2766
|
+
req.send_request(options)
|
2767
|
+
end
|
2768
|
+
|
1906
2769
|
# Provides summary information about the security profiles for the
|
1907
2770
|
# specified Amazon Connect instance.
|
1908
2771
|
#
|
@@ -2691,6 +3554,97 @@ module Aws::Connect
|
|
2691
3554
|
req.send_request(options)
|
2692
3555
|
end
|
2693
3556
|
|
3557
|
+
# Updates the value for the specified attribute type.
|
3558
|
+
#
|
3559
|
+
# @option params [required, String] :instance_id
|
3560
|
+
# The identifier of the Amazon Connect instance.
|
3561
|
+
#
|
3562
|
+
# @option params [required, String] :attribute_type
|
3563
|
+
# The type of attribute.
|
3564
|
+
#
|
3565
|
+
# @option params [required, String] :value
|
3566
|
+
# The value for the attribute. Maximum character limit is 100.
|
3567
|
+
#
|
3568
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3569
|
+
#
|
3570
|
+
# @example Request syntax with placeholder values
|
3571
|
+
#
|
3572
|
+
# resp = client.update_instance_attribute({
|
3573
|
+
# instance_id: "InstanceId", # required
|
3574
|
+
# attribute_type: "INBOUND_CALLS", # required, accepts INBOUND_CALLS, OUTBOUND_CALLS, CONTACTFLOW_LOGS, CONTACT_LENS, AUTO_RESOLVE_BEST_VOICES, USE_CUSTOM_TTS_VOICES, EARLY_MEDIA
|
3575
|
+
# value: "InstanceAttributeValue", # required
|
3576
|
+
# })
|
3577
|
+
#
|
3578
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateInstanceAttribute AWS API Documentation
|
3579
|
+
#
|
3580
|
+
# @overload update_instance_attribute(params = {})
|
3581
|
+
# @param [Hash] params ({})
|
3582
|
+
def update_instance_attribute(params = {}, options = {})
|
3583
|
+
req = build_request(:update_instance_attribute, params)
|
3584
|
+
req.send_request(options)
|
3585
|
+
end
|
3586
|
+
|
3587
|
+
# Updates an existing configuration for a resource type. This API is
|
3588
|
+
# idempotent.
|
3589
|
+
#
|
3590
|
+
# @option params [required, String] :instance_id
|
3591
|
+
# The identifier of the Amazon Connect instance.
|
3592
|
+
#
|
3593
|
+
# @option params [required, String] :association_id
|
3594
|
+
# The existing association identifier that uniquely identifies the
|
3595
|
+
# resource type and storage config for the given instance ID.
|
3596
|
+
#
|
3597
|
+
# @option params [required, String] :resource_type
|
3598
|
+
# A valid resource type.
|
3599
|
+
#
|
3600
|
+
# @option params [required, Types::InstanceStorageConfig] :storage_config
|
3601
|
+
# The storage configuration for the instance.
|
3602
|
+
#
|
3603
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3604
|
+
#
|
3605
|
+
# @example Request syntax with placeholder values
|
3606
|
+
#
|
3607
|
+
# resp = client.update_instance_storage_config({
|
3608
|
+
# instance_id: "InstanceId", # required
|
3609
|
+
# association_id: "AssociationId", # required
|
3610
|
+
# resource_type: "CHAT_TRANSCRIPTS", # required, accepts CHAT_TRANSCRIPTS, CALL_RECORDINGS, SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS
|
3611
|
+
# storage_config: { # required
|
3612
|
+
# association_id: "AssociationId",
|
3613
|
+
# storage_type: "S3", # required, accepts S3, KINESIS_VIDEO_STREAM, KINESIS_STREAM, KINESIS_FIREHOSE
|
3614
|
+
# s3_config: {
|
3615
|
+
# bucket_name: "BucketName", # required
|
3616
|
+
# bucket_prefix: "Prefix", # required
|
3617
|
+
# encryption_config: {
|
3618
|
+
# encryption_type: "KMS", # required, accepts KMS
|
3619
|
+
# key_id: "KeyId", # required
|
3620
|
+
# },
|
3621
|
+
# },
|
3622
|
+
# kinesis_video_stream_config: {
|
3623
|
+
# prefix: "Prefix", # required
|
3624
|
+
# retention_period_hours: 1, # required
|
3625
|
+
# encryption_config: { # required
|
3626
|
+
# encryption_type: "KMS", # required, accepts KMS
|
3627
|
+
# key_id: "KeyId", # required
|
3628
|
+
# },
|
3629
|
+
# },
|
3630
|
+
# kinesis_stream_config: {
|
3631
|
+
# stream_arn: "ARN", # required
|
3632
|
+
# },
|
3633
|
+
# kinesis_firehose_config: {
|
3634
|
+
# firehose_arn: "ARN", # required
|
3635
|
+
# },
|
3636
|
+
# },
|
3637
|
+
# })
|
3638
|
+
#
|
3639
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateInstanceStorageConfig AWS API Documentation
|
3640
|
+
#
|
3641
|
+
# @overload update_instance_storage_config(params = {})
|
3642
|
+
# @param [Hash] params ({})
|
3643
|
+
def update_instance_storage_config(params = {}, options = {})
|
3644
|
+
req = build_request(:update_instance_storage_config, params)
|
3645
|
+
req.send_request(options)
|
3646
|
+
end
|
3647
|
+
|
2694
3648
|
# Updates the channels that agents can handle in the Contact Control
|
2695
3649
|
# Panel (CCP) for a routing profile.
|
2696
3650
|
#
|
@@ -3092,7 +4046,7 @@ module Aws::Connect
|
|
3092
4046
|
params: params,
|
3093
4047
|
config: config)
|
3094
4048
|
context[:gem_name] = 'aws-sdk-connect'
|
3095
|
-
context[:gem_version] = '1.
|
4049
|
+
context[:gem_version] = '1.36.0'
|
3096
4050
|
Seahorse::Client::Request.new(handlers, context)
|
3097
4051
|
end
|
3098
4052
|
|