aws-sdk-connectwisdomservice 1.11.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connectwisdomservice/client.rb +52 -8
- data/lib/aws-sdk-connectwisdomservice/client_api.rb +1 -1
- data/lib/aws-sdk-connectwisdomservice/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-connectwisdomservice/endpoint_provider.rb +38 -94
- data/lib/aws-sdk-connectwisdomservice/types.rb +76 -9
- data/lib/aws-sdk-connectwisdomservice.rb +1 -1
- 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: 4efd36892803c90f1baffd440d5d725cd87fa1f6bc26a00bd4cf9de0b11bc379
|
4
|
+
data.tar.gz: 9055d54ce2fa8098de871998811af69082a4ac0b2ca62c8363bbc86dfd853505
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f0eb1828d9539b380e8ef4fed74b77fa15cbb9a30cb647065e315bf8baf50be0b39f1516fbbf5a075c0c349dbff7383cdb7b86af3e17d1a576a2b2e1a6baf0c
|
7
|
+
data.tar.gz: b1208009ec30720882a61357a1b2809e9535635dbc1fabfea9c78a16004ff8d69f6640686745cd53c4cb50393cc31883a744237283958048bb37a315f74a4219
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.13.0 (2023-03-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release extends Wisdom CreateKnowledgeBase API to support SharePoint connector type by removing the @required trait for objectField
|
8
|
+
|
9
|
+
1.12.0 (2023-01-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
15
|
+
|
4
16
|
1.11.0 (2022-12-29)
|
5
17
|
------------------
|
6
18
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.13.0
|
@@ -372,11 +372,17 @@ module Aws::ConnectWisdomService
|
|
372
372
|
#
|
373
373
|
# @option params [String] :client_token
|
374
374
|
# A unique, case-sensitive identifier that you provide to ensure the
|
375
|
-
# idempotency of the request.
|
375
|
+
# idempotency of the request. If not provided, the Amazon Web Services
|
376
|
+
# SDK populates this field. For more information about idempotency, see
|
377
|
+
# [Making retries safe with idempotent APIs][1].
|
376
378
|
#
|
377
379
|
# **A suitable default value is auto-generated.** You should normally
|
378
380
|
# not need to pass this option.**
|
379
381
|
#
|
382
|
+
#
|
383
|
+
#
|
384
|
+
# [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
|
385
|
+
#
|
380
386
|
# @option params [String] :description
|
381
387
|
# The description of the assistant.
|
382
388
|
#
|
@@ -448,11 +454,17 @@ module Aws::ConnectWisdomService
|
|
448
454
|
#
|
449
455
|
# @option params [String] :client_token
|
450
456
|
# A unique, case-sensitive identifier that you provide to ensure the
|
451
|
-
# idempotency of the request.
|
457
|
+
# idempotency of the request. If not provided, the Amazon Web Services
|
458
|
+
# SDK populates this field. For more information about idempotency, see
|
459
|
+
# [Making retries safe with idempotent APIs][1].
|
452
460
|
#
|
453
461
|
# **A suitable default value is auto-generated.** You should normally
|
454
462
|
# not need to pass this option.**
|
455
463
|
#
|
464
|
+
#
|
465
|
+
#
|
466
|
+
# [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
|
467
|
+
#
|
456
468
|
# @option params [Hash<String,String>] :tags
|
457
469
|
# The tags used to organize, track, or control access for this resource.
|
458
470
|
#
|
@@ -504,11 +516,17 @@ module Aws::ConnectWisdomService
|
|
504
516
|
#
|
505
517
|
# @option params [String] :client_token
|
506
518
|
# A unique, case-sensitive identifier that you provide to ensure the
|
507
|
-
# idempotency of the request.
|
519
|
+
# idempotency of the request. If not provided, the Amazon Web Services
|
520
|
+
# SDK populates this field. For more information about idempotency, see
|
521
|
+
# [Making retries safe with idempotent APIs][1].
|
508
522
|
#
|
509
523
|
# **A suitable default value is auto-generated.** You should normally
|
510
524
|
# not need to pass this option.**
|
511
525
|
#
|
526
|
+
#
|
527
|
+
#
|
528
|
+
# [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
|
529
|
+
#
|
512
530
|
# @option params [required, String] :knowledge_base_id
|
513
531
|
# The identifier of the knowledge base. Can be either the ID or the ARN.
|
514
532
|
# URLs cannot contain the ARN.
|
@@ -602,21 +620,41 @@ module Aws::ConnectWisdomService
|
|
602
620
|
# DataIntegrations with external knowledge bases such as Salesforce and
|
603
621
|
# ServiceNow. If you do, you'll get an `InvalidRequestException` error.
|
604
622
|
#
|
605
|
-
#
|
623
|
+
# For example, you're programmatically managing your external knowledge
|
624
|
+
# base, and you want to add or remove one of the fields that is being
|
625
|
+
# ingested from Salesforce. Do the following:
|
626
|
+
#
|
627
|
+
# 1. Call [DeleteKnowledgeBase][2].
|
628
|
+
#
|
629
|
+
# 2. Call [DeleteDataIntegration][3].
|
630
|
+
#
|
631
|
+
# 3. Call [CreateDataIntegration][4] to recreate the DataIntegration or
|
632
|
+
# a create different one.
|
633
|
+
#
|
634
|
+
# 4. Call CreateKnowledgeBase.
|
606
635
|
#
|
607
636
|
# </note>
|
608
637
|
#
|
609
638
|
#
|
610
639
|
#
|
611
640
|
# [1]: https://docs.aws.amazon.com/appintegrations/latest/APIReference/Welcome.html
|
641
|
+
# [2]: https://docs.aws.amazon.com/wisdom/latest/APIReference/API_DeleteKnowledgeBase.html
|
642
|
+
# [3]: https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_DeleteDataIntegration.html
|
643
|
+
# [4]: https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html
|
612
644
|
#
|
613
645
|
# @option params [String] :client_token
|
614
646
|
# A unique, case-sensitive identifier that you provide to ensure the
|
615
|
-
# idempotency of the request.
|
647
|
+
# idempotency of the request. If not provided, the Amazon Web Services
|
648
|
+
# SDK populates this field. For more information about idempotency, see
|
649
|
+
# [Making retries safe with idempotent APIs][1].
|
616
650
|
#
|
617
651
|
# **A suitable default value is auto-generated.** You should normally
|
618
652
|
# not need to pass this option.**
|
619
653
|
#
|
654
|
+
#
|
655
|
+
#
|
656
|
+
# [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
|
657
|
+
#
|
620
658
|
# @option params [String] :description
|
621
659
|
# The description.
|
622
660
|
#
|
@@ -661,7 +699,7 @@ module Aws::ConnectWisdomService
|
|
661
699
|
# source_configuration: {
|
662
700
|
# app_integrations: {
|
663
701
|
# app_integration_arn: "GenericArn", # required
|
664
|
-
# object_fields: ["NonEmptyString"],
|
702
|
+
# object_fields: ["NonEmptyString"],
|
665
703
|
# },
|
666
704
|
# },
|
667
705
|
# tags: {
|
@@ -705,11 +743,17 @@ module Aws::ConnectWisdomService
|
|
705
743
|
#
|
706
744
|
# @option params [String] :client_token
|
707
745
|
# A unique, case-sensitive identifier that you provide to ensure the
|
708
|
-
# idempotency of the request.
|
746
|
+
# idempotency of the request. If not provided, the Amazon Web Services
|
747
|
+
# SDK populates this field. For more information about idempotency, see
|
748
|
+
# [Making retries safe with idempotent APIs][1].
|
709
749
|
#
|
710
750
|
# **A suitable default value is auto-generated.** You should normally
|
711
751
|
# not need to pass this option.**
|
712
752
|
#
|
753
|
+
#
|
754
|
+
#
|
755
|
+
# [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
|
756
|
+
#
|
713
757
|
# @option params [String] :description
|
714
758
|
# The description.
|
715
759
|
#
|
@@ -1966,7 +2010,7 @@ module Aws::ConnectWisdomService
|
|
1966
2010
|
params: params,
|
1967
2011
|
config: config)
|
1968
2012
|
context[:gem_name] = 'aws-sdk-connectwisdomservice'
|
1969
|
-
context[:gem_version] = '1.
|
2013
|
+
context[:gem_version] = '1.13.0'
|
1970
2014
|
Seahorse::Client::Request.new(handlers, context)
|
1971
2015
|
end
|
1972
2016
|
|
@@ -171,7 +171,7 @@ module Aws::ConnectWisdomService
|
|
171
171
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
172
172
|
|
173
173
|
AppIntegrationsConfiguration.add_member(:app_integration_arn, Shapes::ShapeRef.new(shape: GenericArn, required: true, location_name: "appIntegrationArn"))
|
174
|
-
AppIntegrationsConfiguration.add_member(:object_fields, Shapes::ShapeRef.new(shape: ObjectFieldsList,
|
174
|
+
AppIntegrationsConfiguration.add_member(:object_fields, Shapes::ShapeRef.new(shape: ObjectFieldsList, location_name: "objectFields"))
|
175
175
|
AppIntegrationsConfiguration.struct_class = Types::AppIntegrationsConfiguration
|
176
176
|
|
177
177
|
AssistantAssociationData.add_member(:assistant_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assistantArn"))
|
@@ -50,9 +50,6 @@ module Aws::ConnectWisdomService
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -9,102 +9,46 @@
|
|
9
9
|
|
10
10
|
module Aws::ConnectWisdomService
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
20
|
+
end
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
21
25
|
end
|
22
|
-
|
23
|
-
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://wisdom-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://wisdom-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://wisdom.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
45
|
+
end
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://wisdom.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
47
|
+
end
|
48
|
+
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
50
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
51
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
52
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
|
33
|
-
YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
|
34
|
-
ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0YWNrIjp7ImJ1
|
35
|
-
aWx0SW4iOiJBV1M6OlVzZUR1YWxTdGFjayIsInJlcXVpcmVkIjp0cnVlLCJk
|
36
|
-
ZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRhdGlvbiI6IldoZW4gdHJ1ZSwgdXNl
|
37
|
-
IHRoZSBkdWFsLXN0YWNrIGVuZHBvaW50LiBJZiB0aGUgY29uZmlndXJlZCBl
|
38
|
-
bmRwb2ludCBkb2VzIG5vdCBzdXBwb3J0IGR1YWwtc3RhY2ssIGRpc3BhdGNo
|
39
|
-
aW5nIHRoZSByZXF1ZXN0IE1B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yIjoiRHVhbFN0YWNrIGlzIGVuYWJsZWQgYnV0IHRoaXMg
|
102
|
-
cGFydGl0aW9uIGRvZXMgbm90IHN1cHBvcnQgRHVhbFN0YWNrIiwidHlwZSI6
|
103
|
-
ImVycm9yIn1dfSx7ImNvbmRpdGlvbnMiOltdLCJlbmRwb2ludCI6eyJ1cmwi
|
104
|
-
OiJodHRwczovL3dpc2RvbS57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2Ru
|
105
|
-
c1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBl
|
106
|
-
IjoiZW5kcG9pbnQifV19XX0=
|
107
|
-
|
108
|
-
JSON
|
109
53
|
end
|
110
54
|
end
|
@@ -29,11 +29,38 @@ module Aws::ConnectWisdomService
|
|
29
29
|
# @!attribute [rw] app_integration_arn
|
30
30
|
# The Amazon Resource Name (ARN) of the AppIntegrations
|
31
31
|
# DataIntegration to use for ingesting content.
|
32
|
+
#
|
33
|
+
# * For [ Salesforce][1], your AppIntegrations DataIntegration must
|
34
|
+
# have an ObjectConfiguration if objectFields is not provided,
|
35
|
+
# including at least `Id`, `ArticleNumber`, `VersionNumber`,
|
36
|
+
# `Title`, `PublishStatus`, and `IsDeleted` as source fields.
|
37
|
+
#
|
38
|
+
# * For [ ServiceNow][2], your AppIntegrations DataIntegration must
|
39
|
+
# have an ObjectConfiguration if objectFields is not provided,
|
40
|
+
# including at least `number`, `short_description`, `sys_mod_count`,
|
41
|
+
# `workflow_state`, and `active` as source fields.
|
42
|
+
#
|
43
|
+
# * For [ Zendesk][3], your AppIntegrations DataIntegration must have
|
44
|
+
# an ObjectConfiguration if `objectFields` is not provided,
|
45
|
+
# including at least `id`, `title`, `updated_at`, and `draft` as
|
46
|
+
# source fields.
|
47
|
+
#
|
48
|
+
# * For [ SharePoint][4], your AppIntegrations DataIntegration must
|
49
|
+
# have a FileConfiguration, including only file extensions that are
|
50
|
+
# among `docx`, `pdf`, `html`, `htm`, and `txt`.
|
51
|
+
#
|
52
|
+
#
|
53
|
+
#
|
54
|
+
# [1]: https://developer.salesforce.com/docs/atlas.en-us.knowledge_dev.meta/knowledge_dev/sforce_api_objects_knowledge__kav.htm
|
55
|
+
# [2]: https://developer.servicenow.com/dev.do#!/reference/api/rome/rest/knowledge-management-api
|
56
|
+
# [3]: https://developer.zendesk.com/api-reference/help_center/help-center-api/articles/
|
57
|
+
# [4]: https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/sharepoint-net-server-csom-jsom-and-rest-api-index
|
32
58
|
# @return [String]
|
33
59
|
#
|
34
60
|
# @!attribute [rw] object_fields
|
35
61
|
# The fields from the source that are made available to your agents in
|
36
|
-
# Wisdom.
|
62
|
+
# Wisdom. Optional if ObjectConfiguration is included in the provided
|
63
|
+
# DataIntegration.
|
37
64
|
#
|
38
65
|
# * For [ Salesforce][1], you must include at least `Id`,
|
39
66
|
# `ArticleNumber`, `VersionNumber`, `Title`, `PublishStatus`, and
|
@@ -43,6 +70,9 @@ module Aws::ConnectWisdomService
|
|
43
70
|
# `short_description`, `sys_mod_count`, `workflow_state`, and
|
44
71
|
# `active`.
|
45
72
|
#
|
73
|
+
# * For [ Zendesk][3], you must include at least `id`, `title`,
|
74
|
+
# `updated_at`, and `draft`.
|
75
|
+
#
|
46
76
|
# Make sure to include additional fields. These fields are indexed and
|
47
77
|
# used to source recommendations.
|
48
78
|
#
|
@@ -50,6 +80,7 @@ module Aws::ConnectWisdomService
|
|
50
80
|
#
|
51
81
|
# [1]: https://developer.salesforce.com/docs/atlas.en-us.knowledge_dev.meta/knowledge_dev/sforce_api_objects_knowledge__kav.htm
|
52
82
|
# [2]: https://developer.servicenow.com/dev.do#!/reference/api/rome/rest/knowledge-management-api
|
83
|
+
# [3]: https://developer.zendesk.com/api-reference/help_center/help-center-api/articles/
|
53
84
|
# @return [Array<String>]
|
54
85
|
#
|
55
86
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/AppIntegrationsConfiguration AWS API Documentation
|
@@ -506,10 +537,16 @@ module Aws::ConnectWisdomService
|
|
506
537
|
#
|
507
538
|
# @!attribute [rw] client_token
|
508
539
|
# A unique, case-sensitive identifier that you provide to ensure the
|
509
|
-
# idempotency of the request.
|
540
|
+
# idempotency of the request. If not provided, the Amazon Web Services
|
541
|
+
# SDK populates this field. For more information about idempotency,
|
542
|
+
# see [Making retries safe with idempotent APIs][1].
|
510
543
|
#
|
511
544
|
# **A suitable default value is auto-generated.** You should normally
|
512
545
|
# not need to pass this option.
|
546
|
+
#
|
547
|
+
#
|
548
|
+
#
|
549
|
+
# [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
|
513
550
|
# @return [String]
|
514
551
|
#
|
515
552
|
# @!attribute [rw] tags
|
@@ -543,10 +580,16 @@ module Aws::ConnectWisdomService
|
|
543
580
|
|
544
581
|
# @!attribute [rw] client_token
|
545
582
|
# A unique, case-sensitive identifier that you provide to ensure the
|
546
|
-
# idempotency of the request.
|
583
|
+
# idempotency of the request. If not provided, the Amazon Web Services
|
584
|
+
# SDK populates this field. For more information about idempotency,
|
585
|
+
# see [Making retries safe with idempotent APIs][1].
|
547
586
|
#
|
548
587
|
# **A suitable default value is auto-generated.** You should normally
|
549
588
|
# not need to pass this option.
|
589
|
+
#
|
590
|
+
#
|
591
|
+
#
|
592
|
+
# [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
|
550
593
|
# @return [String]
|
551
594
|
#
|
552
595
|
# @!attribute [rw] description
|
@@ -597,10 +640,16 @@ module Aws::ConnectWisdomService
|
|
597
640
|
|
598
641
|
# @!attribute [rw] client_token
|
599
642
|
# A unique, case-sensitive identifier that you provide to ensure the
|
600
|
-
# idempotency of the request.
|
643
|
+
# idempotency of the request. If not provided, the Amazon Web Services
|
644
|
+
# SDK populates this field. For more information about idempotency,
|
645
|
+
# see [Making retries safe with idempotent APIs][1].
|
601
646
|
#
|
602
647
|
# **A suitable default value is auto-generated.** You should normally
|
603
648
|
# not need to pass this option.
|
649
|
+
#
|
650
|
+
#
|
651
|
+
#
|
652
|
+
# [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
|
604
653
|
# @return [String]
|
605
654
|
#
|
606
655
|
# @!attribute [rw] knowledge_base_id
|
@@ -680,10 +729,16 @@ module Aws::ConnectWisdomService
|
|
680
729
|
|
681
730
|
# @!attribute [rw] client_token
|
682
731
|
# A unique, case-sensitive identifier that you provide to ensure the
|
683
|
-
# idempotency of the request.
|
732
|
+
# idempotency of the request. If not provided, the Amazon Web Services
|
733
|
+
# SDK populates this field. For more information about idempotency,
|
734
|
+
# see [Making retries safe with idempotent APIs][1].
|
684
735
|
#
|
685
736
|
# **A suitable default value is auto-generated.** You should normally
|
686
737
|
# not need to pass this option.
|
738
|
+
#
|
739
|
+
#
|
740
|
+
#
|
741
|
+
# [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
|
687
742
|
# @return [String]
|
688
743
|
#
|
689
744
|
# @!attribute [rw] description
|
@@ -753,10 +808,16 @@ module Aws::ConnectWisdomService
|
|
753
808
|
#
|
754
809
|
# @!attribute [rw] client_token
|
755
810
|
# A unique, case-sensitive identifier that you provide to ensure the
|
756
|
-
# idempotency of the request.
|
811
|
+
# idempotency of the request. If not provided, the Amazon Web Services
|
812
|
+
# SDK populates this field. For more information about idempotency,
|
813
|
+
# see [Making retries safe with idempotent APIs][1].
|
757
814
|
#
|
758
815
|
# **A suitable default value is auto-generated.** You should normally
|
759
816
|
# not need to pass this option.
|
817
|
+
#
|
818
|
+
#
|
819
|
+
#
|
820
|
+
# [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
|
760
821
|
# @return [String]
|
761
822
|
#
|
762
823
|
# @!attribute [rw] description
|
@@ -1774,7 +1835,7 @@ module Aws::ConnectWisdomService
|
|
1774
1835
|
# @!attribute [rw] template_uri
|
1775
1836
|
# A URI template containing exactly one variable in `$\{variableName\}
|
1776
1837
|
# `format. This can only be set for `EXTERNAL` knowledge bases. For
|
1777
|
-
# Salesforce and
|
1838
|
+
# Salesforce, ServiceNow, and Zendesk, the variable must be one of the
|
1778
1839
|
# following:
|
1779
1840
|
#
|
1780
1841
|
# * Salesforce: `Id`, `ArticleNumber`, `VersionNumber`, `Title`,
|
@@ -1782,9 +1843,15 @@ module Aws::ConnectWisdomService
|
|
1782
1843
|
#
|
1783
1844
|
# * ServiceNow: `number`, `short_description`, `sys_mod_count`,
|
1784
1845
|
# `workflow_state`, or `active`
|
1785
|
-
# ^
|
1786
1846
|
#
|
1787
|
-
#
|
1847
|
+
# * Zendesk: `id`, `title`, `updated_at`, or `draft`
|
1848
|
+
#
|
1849
|
+
# The variable is replaced with the actual value for a piece of
|
1850
|
+
# content when calling [GetContent][1].
|
1851
|
+
#
|
1852
|
+
#
|
1853
|
+
#
|
1854
|
+
# [1]: https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetContent.html
|
1788
1855
|
# @return [String]
|
1789
1856
|
#
|
1790
1857
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/RenderingConfiguration AWS API Documentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-connectwisdomservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|