aws-sdk-qconnect 1.22.0 → 1.24.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/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-qconnect/client.rb +1583 -31
- data/lib/aws-sdk-qconnect/client_api.rb +657 -0
- data/lib/aws-sdk-qconnect/types.rb +2017 -164
- data/lib/aws-sdk-qconnect.rb +2 -2
- data/sig/client.rbs +492 -0
- data/sig/types.rbs +461 -0
- metadata +2 -2
data/lib/aws-sdk-qconnect.rb
CHANGED
@@ -23,7 +23,7 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:qconnect)
|
|
23
23
|
# structure.
|
24
24
|
#
|
25
25
|
# q_connect = Aws::QConnect::Client.new
|
26
|
-
# resp = q_connect.
|
26
|
+
# resp = q_connect.activate_message_template(params)
|
27
27
|
#
|
28
28
|
# See {Client} for more information.
|
29
29
|
#
|
@@ -54,7 +54,7 @@ module Aws::QConnect
|
|
54
54
|
autoload :EndpointProvider, 'aws-sdk-qconnect/endpoint_provider'
|
55
55
|
autoload :Endpoints, 'aws-sdk-qconnect/endpoints'
|
56
56
|
|
57
|
-
GEM_VERSION = '1.
|
57
|
+
GEM_VERSION = '1.24.0'
|
58
58
|
|
59
59
|
end
|
60
60
|
|
data/sig/client.rbs
CHANGED
@@ -75,6 +75,20 @@ module Aws
|
|
75
75
|
| (?Hash[Symbol, untyped]) -> instance
|
76
76
|
|
77
77
|
|
78
|
+
interface _ActivateMessageTemplateResponseSuccess
|
79
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ActivateMessageTemplateResponse]
|
80
|
+
def message_template_arn: () -> ::String
|
81
|
+
def message_template_id: () -> ::String
|
82
|
+
def version_number: () -> ::Integer
|
83
|
+
end
|
84
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#activate_message_template-instance_method
|
85
|
+
def activate_message_template: (
|
86
|
+
knowledge_base_id: ::String,
|
87
|
+
message_template_id: ::String,
|
88
|
+
version_number: ::Integer
|
89
|
+
) -> _ActivateMessageTemplateResponseSuccess
|
90
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ActivateMessageTemplateResponseSuccess
|
91
|
+
|
78
92
|
interface _CreateAIAgentResponseSuccess
|
79
93
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateAIAgentResponse]
|
80
94
|
def ai_agent: () -> Types::AIAgentData
|
@@ -372,6 +386,155 @@ module Aws
|
|
372
386
|
) -> _CreateKnowledgeBaseResponseSuccess
|
373
387
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateKnowledgeBaseResponseSuccess
|
374
388
|
|
389
|
+
interface _CreateMessageTemplateResponseSuccess
|
390
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateMessageTemplateResponse]
|
391
|
+
def message_template: () -> Types::MessageTemplateData
|
392
|
+
end
|
393
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#create_message_template-instance_method
|
394
|
+
def create_message_template: (
|
395
|
+
channel_subtype: ("EMAIL" | "SMS"),
|
396
|
+
?client_token: ::String,
|
397
|
+
content: {
|
398
|
+
email: {
|
399
|
+
body: {
|
400
|
+
html: {
|
401
|
+
content: ::String?
|
402
|
+
}?,
|
403
|
+
plain_text: {
|
404
|
+
content: ::String?
|
405
|
+
}?
|
406
|
+
}?,
|
407
|
+
headers: Array[
|
408
|
+
{
|
409
|
+
name: ::String?,
|
410
|
+
value: ::String?
|
411
|
+
},
|
412
|
+
]?,
|
413
|
+
subject: ::String?
|
414
|
+
}?,
|
415
|
+
sms: {
|
416
|
+
body: {
|
417
|
+
plain_text: {
|
418
|
+
content: ::String?
|
419
|
+
}?
|
420
|
+
}?
|
421
|
+
}?
|
422
|
+
},
|
423
|
+
?default_attributes: {
|
424
|
+
agent_attributes: {
|
425
|
+
first_name: ::String?,
|
426
|
+
last_name: ::String?
|
427
|
+
}?,
|
428
|
+
custom_attributes: Hash[::String, ::String]?,
|
429
|
+
customer_profile_attributes: {
|
430
|
+
account_number: ::String?,
|
431
|
+
additional_information: ::String?,
|
432
|
+
address1: ::String?,
|
433
|
+
address2: ::String?,
|
434
|
+
address3: ::String?,
|
435
|
+
address4: ::String?,
|
436
|
+
billing_address_1: ::String?,
|
437
|
+
billing_address_2: ::String?,
|
438
|
+
billing_address_3: ::String?,
|
439
|
+
billing_address_4: ::String?,
|
440
|
+
billing_city: ::String?,
|
441
|
+
billing_country: ::String?,
|
442
|
+
billing_county: ::String?,
|
443
|
+
billing_postal_code: ::String?,
|
444
|
+
billing_province: ::String?,
|
445
|
+
billing_state: ::String?,
|
446
|
+
birth_date: ::String?,
|
447
|
+
business_email_address: ::String?,
|
448
|
+
business_name: ::String?,
|
449
|
+
business_phone_number: ::String?,
|
450
|
+
city: ::String?,
|
451
|
+
country: ::String?,
|
452
|
+
county: ::String?,
|
453
|
+
custom: Hash[::String, ::String]?,
|
454
|
+
email_address: ::String?,
|
455
|
+
first_name: ::String?,
|
456
|
+
gender: ::String?,
|
457
|
+
home_phone_number: ::String?,
|
458
|
+
last_name: ::String?,
|
459
|
+
mailing_address_1: ::String?,
|
460
|
+
mailing_address_2: ::String?,
|
461
|
+
mailing_address_3: ::String?,
|
462
|
+
mailing_address_4: ::String?,
|
463
|
+
mailing_city: ::String?,
|
464
|
+
mailing_country: ::String?,
|
465
|
+
mailing_county: ::String?,
|
466
|
+
mailing_postal_code: ::String?,
|
467
|
+
mailing_province: ::String?,
|
468
|
+
mailing_state: ::String?,
|
469
|
+
middle_name: ::String?,
|
470
|
+
mobile_phone_number: ::String?,
|
471
|
+
party_type: ::String?,
|
472
|
+
phone_number: ::String?,
|
473
|
+
postal_code: ::String?,
|
474
|
+
profile_arn: ::String?,
|
475
|
+
profile_id: ::String?,
|
476
|
+
province: ::String?,
|
477
|
+
shipping_address_1: ::String?,
|
478
|
+
shipping_address_2: ::String?,
|
479
|
+
shipping_address_3: ::String?,
|
480
|
+
shipping_address_4: ::String?,
|
481
|
+
shipping_city: ::String?,
|
482
|
+
shipping_country: ::String?,
|
483
|
+
shipping_county: ::String?,
|
484
|
+
shipping_postal_code: ::String?,
|
485
|
+
shipping_province: ::String?,
|
486
|
+
shipping_state: ::String?,
|
487
|
+
state: ::String?
|
488
|
+
}?,
|
489
|
+
system_attributes: {
|
490
|
+
customer_endpoint: {
|
491
|
+
address: ::String?
|
492
|
+
}?,
|
493
|
+
name: ::String?,
|
494
|
+
system_endpoint: {
|
495
|
+
address: ::String?
|
496
|
+
}?
|
497
|
+
}?
|
498
|
+
},
|
499
|
+
?description: ::String,
|
500
|
+
?grouping_configuration: {
|
501
|
+
criteria: ::String?,
|
502
|
+
values: Array[::String]?
|
503
|
+
},
|
504
|
+
knowledge_base_id: ::String,
|
505
|
+
?language: ::String,
|
506
|
+
name: ::String,
|
507
|
+
?tags: Hash[::String, ::String]
|
508
|
+
) -> _CreateMessageTemplateResponseSuccess
|
509
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMessageTemplateResponseSuccess
|
510
|
+
|
511
|
+
interface _CreateMessageTemplateAttachmentResponseSuccess
|
512
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateMessageTemplateAttachmentResponse]
|
513
|
+
def attachment: () -> Types::MessageTemplateAttachment
|
514
|
+
end
|
515
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#create_message_template_attachment-instance_method
|
516
|
+
def create_message_template_attachment: (
|
517
|
+
body: ::String,
|
518
|
+
?client_token: ::String,
|
519
|
+
content_disposition: ("ATTACHMENT"),
|
520
|
+
knowledge_base_id: ::String,
|
521
|
+
message_template_id: ::String,
|
522
|
+
name: ::String
|
523
|
+
) -> _CreateMessageTemplateAttachmentResponseSuccess
|
524
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMessageTemplateAttachmentResponseSuccess
|
525
|
+
|
526
|
+
interface _CreateMessageTemplateVersionResponseSuccess
|
527
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateMessageTemplateVersionResponse]
|
528
|
+
def message_template: () -> Types::ExtendedMessageTemplateData
|
529
|
+
end
|
530
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#create_message_template_version-instance_method
|
531
|
+
def create_message_template_version: (
|
532
|
+
knowledge_base_id: ::String,
|
533
|
+
?message_template_content_sha_256: ::String,
|
534
|
+
message_template_id: ::String
|
535
|
+
) -> _CreateMessageTemplateVersionResponseSuccess
|
536
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMessageTemplateVersionResponseSuccess
|
537
|
+
|
375
538
|
interface _CreateQuickResponseResponseSuccess
|
376
539
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateQuickResponseResponse]
|
377
540
|
def quick_response: () -> Types::QuickResponseData
|
@@ -441,6 +604,20 @@ module Aws
|
|
441
604
|
) -> _CreateSessionResponseSuccess
|
442
605
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSessionResponseSuccess
|
443
606
|
|
607
|
+
interface _DeactivateMessageTemplateResponseSuccess
|
608
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeactivateMessageTemplateResponse]
|
609
|
+
def message_template_arn: () -> ::String
|
610
|
+
def message_template_id: () -> ::String
|
611
|
+
def version_number: () -> ::Integer
|
612
|
+
end
|
613
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#deactivate_message_template-instance_method
|
614
|
+
def deactivate_message_template: (
|
615
|
+
knowledge_base_id: ::String,
|
616
|
+
message_template_id: ::String,
|
617
|
+
version_number: ::Integer
|
618
|
+
) -> _DeactivateMessageTemplateResponseSuccess
|
619
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeactivateMessageTemplateResponseSuccess
|
620
|
+
|
444
621
|
interface _DeleteAIAgentResponseSuccess
|
445
622
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAIAgentResponse]
|
446
623
|
end
|
@@ -542,6 +719,27 @@ module Aws
|
|
542
719
|
) -> _DeleteKnowledgeBaseResponseSuccess
|
543
720
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteKnowledgeBaseResponseSuccess
|
544
721
|
|
722
|
+
interface _DeleteMessageTemplateResponseSuccess
|
723
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMessageTemplateResponse]
|
724
|
+
end
|
725
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#delete_message_template-instance_method
|
726
|
+
def delete_message_template: (
|
727
|
+
knowledge_base_id: ::String,
|
728
|
+
message_template_id: ::String
|
729
|
+
) -> _DeleteMessageTemplateResponseSuccess
|
730
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMessageTemplateResponseSuccess
|
731
|
+
|
732
|
+
interface _DeleteMessageTemplateAttachmentResponseSuccess
|
733
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMessageTemplateAttachmentResponse]
|
734
|
+
end
|
735
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#delete_message_template_attachment-instance_method
|
736
|
+
def delete_message_template_attachment: (
|
737
|
+
attachment_id: ::String,
|
738
|
+
knowledge_base_id: ::String,
|
739
|
+
message_template_id: ::String
|
740
|
+
) -> _DeleteMessageTemplateAttachmentResponseSuccess
|
741
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMessageTemplateAttachmentResponseSuccess
|
742
|
+
|
545
743
|
interface _DeleteQuickResponseResponseSuccess
|
546
744
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteQuickResponseResponse]
|
547
745
|
end
|
@@ -652,6 +850,17 @@ module Aws
|
|
652
850
|
) -> _GetKnowledgeBaseResponseSuccess
|
653
851
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetKnowledgeBaseResponseSuccess
|
654
852
|
|
853
|
+
interface _GetMessageTemplateResponseSuccess
|
854
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetMessageTemplateResponse]
|
855
|
+
def message_template: () -> Types::ExtendedMessageTemplateData
|
856
|
+
end
|
857
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#get_message_template-instance_method
|
858
|
+
def get_message_template: (
|
859
|
+
knowledge_base_id: ::String,
|
860
|
+
message_template_id: ::String
|
861
|
+
) -> _GetMessageTemplateResponseSuccess
|
862
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMessageTemplateResponseSuccess
|
863
|
+
|
655
864
|
interface _GetQuickResponseResponseSuccess
|
656
865
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetQuickResponseResponse]
|
657
866
|
def quick_response: () -> Types::QuickResponseData
|
@@ -823,6 +1032,33 @@ module Aws
|
|
823
1032
|
) -> _ListKnowledgeBasesResponseSuccess
|
824
1033
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListKnowledgeBasesResponseSuccess
|
825
1034
|
|
1035
|
+
interface _ListMessageTemplateVersionsResponseSuccess
|
1036
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListMessageTemplateVersionsResponse]
|
1037
|
+
def message_template_version_summaries: () -> ::Array[Types::MessageTemplateVersionSummary]
|
1038
|
+
def next_token: () -> ::String
|
1039
|
+
end
|
1040
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#list_message_template_versions-instance_method
|
1041
|
+
def list_message_template_versions: (
|
1042
|
+
knowledge_base_id: ::String,
|
1043
|
+
?max_results: ::Integer,
|
1044
|
+
message_template_id: ::String,
|
1045
|
+
?next_token: ::String
|
1046
|
+
) -> _ListMessageTemplateVersionsResponseSuccess
|
1047
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMessageTemplateVersionsResponseSuccess
|
1048
|
+
|
1049
|
+
interface _ListMessageTemplatesResponseSuccess
|
1050
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListMessageTemplatesResponse]
|
1051
|
+
def message_template_summaries: () -> ::Array[Types::MessageTemplateSummary]
|
1052
|
+
def next_token: () -> ::String
|
1053
|
+
end
|
1054
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#list_message_templates-instance_method
|
1055
|
+
def list_message_templates: (
|
1056
|
+
knowledge_base_id: ::String,
|
1057
|
+
?max_results: ::Integer,
|
1058
|
+
?next_token: ::String
|
1059
|
+
) -> _ListMessageTemplatesResponseSuccess
|
1060
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMessageTemplatesResponseSuccess
|
1061
|
+
|
826
1062
|
interface _ListQuickResponsesResponseSuccess
|
827
1063
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListQuickResponsesResponse]
|
828
1064
|
def next_token: () -> ::String
|
@@ -932,6 +1168,95 @@ module Aws
|
|
932
1168
|
) -> _RemoveKnowledgeBaseTemplateUriResponseSuccess
|
933
1169
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveKnowledgeBaseTemplateUriResponseSuccess
|
934
1170
|
|
1171
|
+
interface _RenderMessageTemplateResponseSuccess
|
1172
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RenderMessageTemplateResponse]
|
1173
|
+
def attachments: () -> ::Array[Types::MessageTemplateAttachment]
|
1174
|
+
def attributes_not_interpolated: () -> ::Array[::String]
|
1175
|
+
def content: () -> Types::MessageTemplateContentProvider
|
1176
|
+
end
|
1177
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#render_message_template-instance_method
|
1178
|
+
def render_message_template: (
|
1179
|
+
attributes: {
|
1180
|
+
agent_attributes: {
|
1181
|
+
first_name: ::String?,
|
1182
|
+
last_name: ::String?
|
1183
|
+
}?,
|
1184
|
+
custom_attributes: Hash[::String, ::String]?,
|
1185
|
+
customer_profile_attributes: {
|
1186
|
+
account_number: ::String?,
|
1187
|
+
additional_information: ::String?,
|
1188
|
+
address1: ::String?,
|
1189
|
+
address2: ::String?,
|
1190
|
+
address3: ::String?,
|
1191
|
+
address4: ::String?,
|
1192
|
+
billing_address_1: ::String?,
|
1193
|
+
billing_address_2: ::String?,
|
1194
|
+
billing_address_3: ::String?,
|
1195
|
+
billing_address_4: ::String?,
|
1196
|
+
billing_city: ::String?,
|
1197
|
+
billing_country: ::String?,
|
1198
|
+
billing_county: ::String?,
|
1199
|
+
billing_postal_code: ::String?,
|
1200
|
+
billing_province: ::String?,
|
1201
|
+
billing_state: ::String?,
|
1202
|
+
birth_date: ::String?,
|
1203
|
+
business_email_address: ::String?,
|
1204
|
+
business_name: ::String?,
|
1205
|
+
business_phone_number: ::String?,
|
1206
|
+
city: ::String?,
|
1207
|
+
country: ::String?,
|
1208
|
+
county: ::String?,
|
1209
|
+
custom: Hash[::String, ::String]?,
|
1210
|
+
email_address: ::String?,
|
1211
|
+
first_name: ::String?,
|
1212
|
+
gender: ::String?,
|
1213
|
+
home_phone_number: ::String?,
|
1214
|
+
last_name: ::String?,
|
1215
|
+
mailing_address_1: ::String?,
|
1216
|
+
mailing_address_2: ::String?,
|
1217
|
+
mailing_address_3: ::String?,
|
1218
|
+
mailing_address_4: ::String?,
|
1219
|
+
mailing_city: ::String?,
|
1220
|
+
mailing_country: ::String?,
|
1221
|
+
mailing_county: ::String?,
|
1222
|
+
mailing_postal_code: ::String?,
|
1223
|
+
mailing_province: ::String?,
|
1224
|
+
mailing_state: ::String?,
|
1225
|
+
middle_name: ::String?,
|
1226
|
+
mobile_phone_number: ::String?,
|
1227
|
+
party_type: ::String?,
|
1228
|
+
phone_number: ::String?,
|
1229
|
+
postal_code: ::String?,
|
1230
|
+
profile_arn: ::String?,
|
1231
|
+
profile_id: ::String?,
|
1232
|
+
province: ::String?,
|
1233
|
+
shipping_address_1: ::String?,
|
1234
|
+
shipping_address_2: ::String?,
|
1235
|
+
shipping_address_3: ::String?,
|
1236
|
+
shipping_address_4: ::String?,
|
1237
|
+
shipping_city: ::String?,
|
1238
|
+
shipping_country: ::String?,
|
1239
|
+
shipping_county: ::String?,
|
1240
|
+
shipping_postal_code: ::String?,
|
1241
|
+
shipping_province: ::String?,
|
1242
|
+
shipping_state: ::String?,
|
1243
|
+
state: ::String?
|
1244
|
+
}?,
|
1245
|
+
system_attributes: {
|
1246
|
+
customer_endpoint: {
|
1247
|
+
address: ::String?
|
1248
|
+
}?,
|
1249
|
+
name: ::String?,
|
1250
|
+
system_endpoint: {
|
1251
|
+
address: ::String?
|
1252
|
+
}?
|
1253
|
+
}?
|
1254
|
+
},
|
1255
|
+
knowledge_base_id: ::String,
|
1256
|
+
message_template_id: ::String
|
1257
|
+
) -> _RenderMessageTemplateResponseSuccess
|
1258
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RenderMessageTemplateResponseSuccess
|
1259
|
+
|
935
1260
|
interface _SearchContentResponseSuccess
|
936
1261
|
include ::Seahorse::Client::_ResponseSuccess[Types::SearchContentResponse]
|
937
1262
|
def content_summaries: () -> ::Array[Types::ContentSummary]
|
@@ -954,6 +1279,42 @@ module Aws
|
|
954
1279
|
) -> _SearchContentResponseSuccess
|
955
1280
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchContentResponseSuccess
|
956
1281
|
|
1282
|
+
interface _SearchMessageTemplatesResponseSuccess
|
1283
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SearchMessageTemplatesResponse]
|
1284
|
+
def next_token: () -> ::String
|
1285
|
+
def results: () -> ::Array[Types::MessageTemplateSearchResultData]
|
1286
|
+
end
|
1287
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#search_message_templates-instance_method
|
1288
|
+
def search_message_templates: (
|
1289
|
+
knowledge_base_id: ::String,
|
1290
|
+
?max_results: ::Integer,
|
1291
|
+
?next_token: ::String,
|
1292
|
+
search_expression: {
|
1293
|
+
filters: Array[
|
1294
|
+
{
|
1295
|
+
include_no_existence: bool?,
|
1296
|
+
name: ::String,
|
1297
|
+
operator: ("EQUALS" | "PREFIX"),
|
1298
|
+
values: Array[::String]?
|
1299
|
+
},
|
1300
|
+
]?,
|
1301
|
+
order_on_field: {
|
1302
|
+
name: ::String,
|
1303
|
+
order: ("ASC" | "DESC")?
|
1304
|
+
}?,
|
1305
|
+
queries: Array[
|
1306
|
+
{
|
1307
|
+
allow_fuzziness: bool?,
|
1308
|
+
name: ::String,
|
1309
|
+
operator: ("CONTAINS" | "CONTAINS_AND_PREFIX"),
|
1310
|
+
priority: ("HIGH" | "MEDIUM" | "LOW")?,
|
1311
|
+
values: Array[::String]
|
1312
|
+
},
|
1313
|
+
]?
|
1314
|
+
}
|
1315
|
+
) -> _SearchMessageTemplatesResponseSuccess
|
1316
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchMessageTemplatesResponseSuccess
|
1317
|
+
|
957
1318
|
interface _SearchQuickResponsesResponseSuccess
|
958
1319
|
include ::Seahorse::Client::_ResponseSuccess[Types::SearchQuickResponsesResponse]
|
959
1320
|
def next_token: () -> ::String
|
@@ -1231,6 +1592,137 @@ module Aws
|
|
1231
1592
|
) -> _UpdateKnowledgeBaseTemplateUriResponseSuccess
|
1232
1593
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateKnowledgeBaseTemplateUriResponseSuccess
|
1233
1594
|
|
1595
|
+
interface _UpdateMessageTemplateResponseSuccess
|
1596
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMessageTemplateResponse]
|
1597
|
+
def message_template: () -> Types::MessageTemplateData
|
1598
|
+
end
|
1599
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#update_message_template-instance_method
|
1600
|
+
def update_message_template: (
|
1601
|
+
?content: {
|
1602
|
+
email: {
|
1603
|
+
body: {
|
1604
|
+
html: {
|
1605
|
+
content: ::String?
|
1606
|
+
}?,
|
1607
|
+
plain_text: {
|
1608
|
+
content: ::String?
|
1609
|
+
}?
|
1610
|
+
}?,
|
1611
|
+
headers: Array[
|
1612
|
+
{
|
1613
|
+
name: ::String?,
|
1614
|
+
value: ::String?
|
1615
|
+
},
|
1616
|
+
]?,
|
1617
|
+
subject: ::String?
|
1618
|
+
}?,
|
1619
|
+
sms: {
|
1620
|
+
body: {
|
1621
|
+
plain_text: {
|
1622
|
+
content: ::String?
|
1623
|
+
}?
|
1624
|
+
}?
|
1625
|
+
}?
|
1626
|
+
},
|
1627
|
+
?default_attributes: {
|
1628
|
+
agent_attributes: {
|
1629
|
+
first_name: ::String?,
|
1630
|
+
last_name: ::String?
|
1631
|
+
}?,
|
1632
|
+
custom_attributes: Hash[::String, ::String]?,
|
1633
|
+
customer_profile_attributes: {
|
1634
|
+
account_number: ::String?,
|
1635
|
+
additional_information: ::String?,
|
1636
|
+
address1: ::String?,
|
1637
|
+
address2: ::String?,
|
1638
|
+
address3: ::String?,
|
1639
|
+
address4: ::String?,
|
1640
|
+
billing_address_1: ::String?,
|
1641
|
+
billing_address_2: ::String?,
|
1642
|
+
billing_address_3: ::String?,
|
1643
|
+
billing_address_4: ::String?,
|
1644
|
+
billing_city: ::String?,
|
1645
|
+
billing_country: ::String?,
|
1646
|
+
billing_county: ::String?,
|
1647
|
+
billing_postal_code: ::String?,
|
1648
|
+
billing_province: ::String?,
|
1649
|
+
billing_state: ::String?,
|
1650
|
+
birth_date: ::String?,
|
1651
|
+
business_email_address: ::String?,
|
1652
|
+
business_name: ::String?,
|
1653
|
+
business_phone_number: ::String?,
|
1654
|
+
city: ::String?,
|
1655
|
+
country: ::String?,
|
1656
|
+
county: ::String?,
|
1657
|
+
custom: Hash[::String, ::String]?,
|
1658
|
+
email_address: ::String?,
|
1659
|
+
first_name: ::String?,
|
1660
|
+
gender: ::String?,
|
1661
|
+
home_phone_number: ::String?,
|
1662
|
+
last_name: ::String?,
|
1663
|
+
mailing_address_1: ::String?,
|
1664
|
+
mailing_address_2: ::String?,
|
1665
|
+
mailing_address_3: ::String?,
|
1666
|
+
mailing_address_4: ::String?,
|
1667
|
+
mailing_city: ::String?,
|
1668
|
+
mailing_country: ::String?,
|
1669
|
+
mailing_county: ::String?,
|
1670
|
+
mailing_postal_code: ::String?,
|
1671
|
+
mailing_province: ::String?,
|
1672
|
+
mailing_state: ::String?,
|
1673
|
+
middle_name: ::String?,
|
1674
|
+
mobile_phone_number: ::String?,
|
1675
|
+
party_type: ::String?,
|
1676
|
+
phone_number: ::String?,
|
1677
|
+
postal_code: ::String?,
|
1678
|
+
profile_arn: ::String?,
|
1679
|
+
profile_id: ::String?,
|
1680
|
+
province: ::String?,
|
1681
|
+
shipping_address_1: ::String?,
|
1682
|
+
shipping_address_2: ::String?,
|
1683
|
+
shipping_address_3: ::String?,
|
1684
|
+
shipping_address_4: ::String?,
|
1685
|
+
shipping_city: ::String?,
|
1686
|
+
shipping_country: ::String?,
|
1687
|
+
shipping_county: ::String?,
|
1688
|
+
shipping_postal_code: ::String?,
|
1689
|
+
shipping_province: ::String?,
|
1690
|
+
shipping_state: ::String?,
|
1691
|
+
state: ::String?
|
1692
|
+
}?,
|
1693
|
+
system_attributes: {
|
1694
|
+
customer_endpoint: {
|
1695
|
+
address: ::String?
|
1696
|
+
}?,
|
1697
|
+
name: ::String?,
|
1698
|
+
system_endpoint: {
|
1699
|
+
address: ::String?
|
1700
|
+
}?
|
1701
|
+
}?
|
1702
|
+
},
|
1703
|
+
knowledge_base_id: ::String,
|
1704
|
+
?language: ::String,
|
1705
|
+
message_template_id: ::String
|
1706
|
+
) -> _UpdateMessageTemplateResponseSuccess
|
1707
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMessageTemplateResponseSuccess
|
1708
|
+
|
1709
|
+
interface _UpdateMessageTemplateMetadataResponseSuccess
|
1710
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMessageTemplateMetadataResponse]
|
1711
|
+
def message_template: () -> Types::MessageTemplateData
|
1712
|
+
end
|
1713
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QConnect/Client.html#update_message_template_metadata-instance_method
|
1714
|
+
def update_message_template_metadata: (
|
1715
|
+
?description: ::String,
|
1716
|
+
?grouping_configuration: {
|
1717
|
+
criteria: ::String?,
|
1718
|
+
values: Array[::String]?
|
1719
|
+
},
|
1720
|
+
knowledge_base_id: ::String,
|
1721
|
+
message_template_id: ::String,
|
1722
|
+
?name: ::String
|
1723
|
+
) -> _UpdateMessageTemplateMetadataResponseSuccess
|
1724
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMessageTemplateMetadataResponseSuccess
|
1725
|
+
|
1234
1726
|
interface _UpdateQuickResponseResponseSuccess
|
1235
1727
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateQuickResponseResponse]
|
1236
1728
|
def quick_response: () -> Types::QuickResponseData
|