aws-sdk-connectparticipant 1.34.0 → 1.35.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connectparticipant/client.rb +45 -4
- data/lib/aws-sdk-connectparticipant/client_api.rb +55 -0
- data/lib/aws-sdk-connectparticipant/endpoints.rb +14 -0
- data/lib/aws-sdk-connectparticipant/errors.rb +26 -0
- data/lib/aws-sdk-connectparticipant/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-connectparticipant/types.rb +119 -2
- data/lib/aws-sdk-connectparticipant.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: b1a81f4fb2bd5ffff2551e14f1328df324d33ec14e8d8632e1a97496409f43e8
|
4
|
+
data.tar.gz: '068c6f77e540dab015988883d89d5c1444b839f1a3453a9b03afc6ec001063e5'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebd0ca28a8ef9132142c3b11bcc7fb1330334d59c9cdec294ba3cf7c201b05f01e73dc6679e36caffa9fce12bd2202fbb15e932d9ad7b66ee290cee182361d9f
|
7
|
+
data.tar.gz: 963eb83bcb48b7b05792167b13fc5c15cfa5f63de93f7b947bb3add58bde806104d4af2b796619188a72a352dd547db7cc23d6040b487019e2a1fa2f5c051916
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.35.0 (2023-08-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon Connect Participant Service adds the ability to get a view resource using a view token, which is provided in a participant message, with the release of the DescribeView API.
|
8
|
+
|
4
9
|
1.34.0 (2023-07-11)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.35.0
|
@@ -489,8 +489,9 @@ module Aws::ConnectParticipant
|
|
489
489
|
# [4]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
|
490
490
|
#
|
491
491
|
# @option params [Array<String>] :type
|
492
|
-
# Type of connection information required.
|
493
|
-
# `
|
492
|
+
# Type of connection information required. If you need
|
493
|
+
# `CONNECTION_CREDENTIALS` along with marking participant as connected,
|
494
|
+
# pass `CONNECTION_CREDENTIALS` in `Type`.
|
494
495
|
#
|
495
496
|
# @option params [required, String] :participant_token
|
496
497
|
# This is a header parameter.
|
@@ -536,6 +537,46 @@ module Aws::ConnectParticipant
|
|
536
537
|
req.send_request(options)
|
537
538
|
end
|
538
539
|
|
540
|
+
# Retrieves the view for the specified view token.
|
541
|
+
#
|
542
|
+
# @option params [required, String] :view_token
|
543
|
+
# An encrypted token originating from the interactive message of a
|
544
|
+
# ShowView block operation. Represents the desired view.
|
545
|
+
#
|
546
|
+
# @option params [required, String] :connection_token
|
547
|
+
# The connection token.
|
548
|
+
#
|
549
|
+
# @return [Types::DescribeViewResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
550
|
+
#
|
551
|
+
# * {Types::DescribeViewResponse#view #view} => Types::View
|
552
|
+
#
|
553
|
+
# @example Request syntax with placeholder values
|
554
|
+
#
|
555
|
+
# resp = client.describe_view({
|
556
|
+
# view_token: "ViewToken", # required
|
557
|
+
# connection_token: "ParticipantToken", # required
|
558
|
+
# })
|
559
|
+
#
|
560
|
+
# @example Response structure
|
561
|
+
#
|
562
|
+
# resp.view.id #=> String
|
563
|
+
# resp.view.arn #=> String
|
564
|
+
# resp.view.name #=> String
|
565
|
+
# resp.view.version #=> Integer
|
566
|
+
# resp.view.content.input_schema #=> String
|
567
|
+
# resp.view.content.template #=> String
|
568
|
+
# resp.view.content.actions #=> Array
|
569
|
+
# resp.view.content.actions[0] #=> String
|
570
|
+
#
|
571
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/DescribeView AWS API Documentation
|
572
|
+
#
|
573
|
+
# @overload describe_view(params = {})
|
574
|
+
# @param [Hash] params ({})
|
575
|
+
def describe_view(params = {}, options = {})
|
576
|
+
req = build_request(:describe_view, params)
|
577
|
+
req.send_request(options)
|
578
|
+
end
|
579
|
+
|
539
580
|
# Disconnects a participant.
|
540
581
|
#
|
541
582
|
# <note markdown="1"> `ConnectionToken` is used for invoking this API instead of
|
@@ -711,7 +752,7 @@ module Aws::ConnectParticipant
|
|
711
752
|
# resp.transcript[0].type #=> String, one of "TYPING", "PARTICIPANT_JOINED", "PARTICIPANT_LEFT", "CHAT_ENDED", "TRANSFER_SUCCEEDED", "TRANSFER_FAILED", "MESSAGE", "EVENT", "ATTACHMENT", "CONNECTION_ACK", "MESSAGE_DELIVERED", "MESSAGE_READ"
|
712
753
|
# resp.transcript[0].participant_id #=> String
|
713
754
|
# resp.transcript[0].display_name #=> String
|
714
|
-
# resp.transcript[0].participant_role #=> String, one of "AGENT", "CUSTOMER", "SYSTEM"
|
755
|
+
# resp.transcript[0].participant_role #=> String, one of "AGENT", "CUSTOMER", "SYSTEM", "CUSTOM_BOT"
|
715
756
|
# resp.transcript[0].attachments #=> Array
|
716
757
|
# resp.transcript[0].attachments[0].content_type #=> String
|
717
758
|
# resp.transcript[0].attachments[0].attachment_id #=> String
|
@@ -981,7 +1022,7 @@ module Aws::ConnectParticipant
|
|
981
1022
|
params: params,
|
982
1023
|
config: config)
|
983
1024
|
context[:gem_name] = 'aws-sdk-connectparticipant'
|
984
|
-
context[:gem_version] = '1.
|
1025
|
+
context[:gem_version] = '1.35.0'
|
985
1026
|
Seahorse::Client::Request.new(handlers, context)
|
986
1027
|
end
|
987
1028
|
|
@@ -13,6 +13,7 @@ module Aws::ConnectParticipant
|
|
13
13
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
|
+
ARN = Shapes::StringShape.new(name: 'ARN')
|
16
17
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
18
|
ArtifactId = Shapes::StringShape.new(name: 'ArtifactId')
|
18
19
|
ArtifactStatus = Shapes::StringShape.new(name: 'ArtifactStatus')
|
@@ -37,6 +38,8 @@ module Aws::ConnectParticipant
|
|
37
38
|
ContentType = Shapes::StringShape.new(name: 'ContentType')
|
38
39
|
CreateParticipantConnectionRequest = Shapes::StructureShape.new(name: 'CreateParticipantConnectionRequest')
|
39
40
|
CreateParticipantConnectionResponse = Shapes::StructureShape.new(name: 'CreateParticipantConnectionResponse')
|
41
|
+
DescribeViewRequest = Shapes::StructureShape.new(name: 'DescribeViewRequest')
|
42
|
+
DescribeViewResponse = Shapes::StructureShape.new(name: 'DescribeViewResponse')
|
40
43
|
DisconnectParticipantRequest = Shapes::StructureShape.new(name: 'DisconnectParticipantRequest')
|
41
44
|
DisconnectParticipantResponse = Shapes::StructureShape.new(name: 'DisconnectParticipantResponse')
|
42
45
|
DisplayName = Shapes::StringShape.new(name: 'DisplayName')
|
@@ -62,6 +65,9 @@ module Aws::ConnectParticipant
|
|
62
65
|
Reason = Shapes::StringShape.new(name: 'Reason')
|
63
66
|
Receipt = Shapes::StructureShape.new(name: 'Receipt')
|
64
67
|
Receipts = Shapes::ListShape.new(name: 'Receipts')
|
68
|
+
ResourceId = Shapes::StringShape.new(name: 'ResourceId')
|
69
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
70
|
+
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
65
71
|
ScanDirection = Shapes::StringShape.new(name: 'ScanDirection')
|
66
72
|
SendEventRequest = Shapes::StructureShape.new(name: 'SendEventRequest')
|
67
73
|
SendEventResponse = Shapes::StructureShape.new(name: 'SendEventResponse')
|
@@ -80,6 +86,16 @@ module Aws::ConnectParticipant
|
|
80
86
|
UploadMetadataSignedHeadersValue = Shapes::StringShape.new(name: 'UploadMetadataSignedHeadersValue')
|
81
87
|
UploadMetadataUrl = Shapes::StringShape.new(name: 'UploadMetadataUrl')
|
82
88
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
89
|
+
View = Shapes::StructureShape.new(name: 'View')
|
90
|
+
ViewAction = Shapes::StringShape.new(name: 'ViewAction')
|
91
|
+
ViewActions = Shapes::ListShape.new(name: 'ViewActions')
|
92
|
+
ViewContent = Shapes::StructureShape.new(name: 'ViewContent')
|
93
|
+
ViewId = Shapes::StringShape.new(name: 'ViewId')
|
94
|
+
ViewInputSchema = Shapes::StringShape.new(name: 'ViewInputSchema')
|
95
|
+
ViewName = Shapes::StringShape.new(name: 'ViewName')
|
96
|
+
ViewTemplate = Shapes::StringShape.new(name: 'ViewTemplate')
|
97
|
+
ViewToken = Shapes::StringShape.new(name: 'ViewToken')
|
98
|
+
ViewVersion = Shapes::IntegerShape.new(name: 'ViewVersion')
|
83
99
|
Websocket = Shapes::StructureShape.new(name: 'Websocket')
|
84
100
|
|
85
101
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "Message"))
|
@@ -120,6 +136,13 @@ module Aws::ConnectParticipant
|
|
120
136
|
CreateParticipantConnectionResponse.add_member(:connection_credentials, Shapes::ShapeRef.new(shape: ConnectionCredentials, location_name: "ConnectionCredentials"))
|
121
137
|
CreateParticipantConnectionResponse.struct_class = Types::CreateParticipantConnectionResponse
|
122
138
|
|
139
|
+
DescribeViewRequest.add_member(:view_token, Shapes::ShapeRef.new(shape: ViewToken, required: true, location: "uri", location_name: "ViewToken"))
|
140
|
+
DescribeViewRequest.add_member(:connection_token, Shapes::ShapeRef.new(shape: ParticipantToken, required: true, location: "header", location_name: "X-Amz-Bearer"))
|
141
|
+
DescribeViewRequest.struct_class = Types::DescribeViewRequest
|
142
|
+
|
143
|
+
DescribeViewResponse.add_member(:view, Shapes::ShapeRef.new(shape: View, location_name: "View"))
|
144
|
+
DescribeViewResponse.struct_class = Types::DescribeViewResponse
|
145
|
+
|
123
146
|
DisconnectParticipantRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
124
147
|
DisconnectParticipantRequest.add_member(:connection_token, Shapes::ShapeRef.new(shape: ParticipantToken, required: true, location: "header", location_name: "X-Amz-Bearer"))
|
125
148
|
DisconnectParticipantRequest.struct_class = Types::DisconnectParticipantRequest
|
@@ -176,6 +199,11 @@ module Aws::ConnectParticipant
|
|
176
199
|
|
177
200
|
Receipts.member = Shapes::ShapeRef.new(shape: Receipt)
|
178
201
|
|
202
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
203
|
+
ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ResourceId"))
|
204
|
+
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
205
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
206
|
+
|
179
207
|
SendEventRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: ChatContentType, required: true, location_name: "ContentType"))
|
180
208
|
SendEventRequest.add_member(:content, Shapes::ShapeRef.new(shape: ChatContent, location_name: "Content"))
|
181
209
|
SendEventRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
@@ -231,6 +259,20 @@ module Aws::ConnectParticipant
|
|
231
259
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: Reason, required: true, location_name: "Message"))
|
232
260
|
ValidationException.struct_class = Types::ValidationException
|
233
261
|
|
262
|
+
View.add_member(:id, Shapes::ShapeRef.new(shape: ViewId, location_name: "Id"))
|
263
|
+
View.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
264
|
+
View.add_member(:name, Shapes::ShapeRef.new(shape: ViewName, location_name: "Name"))
|
265
|
+
View.add_member(:version, Shapes::ShapeRef.new(shape: ViewVersion, location_name: "Version"))
|
266
|
+
View.add_member(:content, Shapes::ShapeRef.new(shape: ViewContent, location_name: "Content"))
|
267
|
+
View.struct_class = Types::View
|
268
|
+
|
269
|
+
ViewActions.member = Shapes::ShapeRef.new(shape: ViewAction)
|
270
|
+
|
271
|
+
ViewContent.add_member(:input_schema, Shapes::ShapeRef.new(shape: ViewInputSchema, location_name: "InputSchema"))
|
272
|
+
ViewContent.add_member(:template, Shapes::ShapeRef.new(shape: ViewTemplate, location_name: "Template"))
|
273
|
+
ViewContent.add_member(:actions, Shapes::ShapeRef.new(shape: ViewActions, location_name: "Actions"))
|
274
|
+
ViewContent.struct_class = Types::ViewContent
|
275
|
+
|
234
276
|
Websocket.add_member(:url, Shapes::ShapeRef.new(shape: PreSignedConnectionUrl, location_name: "Url"))
|
235
277
|
Websocket.add_member(:connection_expiry, Shapes::ShapeRef.new(shape: ISO8601Datetime, location_name: "ConnectionExpiry"))
|
236
278
|
Websocket.struct_class = Types::Websocket
|
@@ -280,6 +322,19 @@ module Aws::ConnectParticipant
|
|
280
322
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
281
323
|
end)
|
282
324
|
|
325
|
+
api.add_operation(:describe_view, Seahorse::Model::Operation.new.tap do |o|
|
326
|
+
o.name = "DescribeView"
|
327
|
+
o.http_method = "GET"
|
328
|
+
o.http_request_uri = "/participant/views/{ViewToken}"
|
329
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeViewRequest)
|
330
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeViewResponse)
|
331
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
332
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
333
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
334
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
335
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
336
|
+
end)
|
337
|
+
|
283
338
|
api.add_operation(:disconnect_participant, Seahorse::Model::Operation.new.tap do |o|
|
284
339
|
o.name = "DisconnectParticipant"
|
285
340
|
o.http_method = "POST"
|
@@ -40,6 +40,20 @@ module Aws::ConnectParticipant
|
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
43
|
+
class DescribeView
|
44
|
+
def self.build(context)
|
45
|
+
unless context.config.regional_endpoint
|
46
|
+
endpoint = context.config.endpoint.to_s
|
47
|
+
end
|
48
|
+
Aws::ConnectParticipant::EndpointParameters.new(
|
49
|
+
region: context.config.region,
|
50
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
51
|
+
use_fips: context.config.use_fips_endpoint,
|
52
|
+
endpoint: endpoint,
|
53
|
+
)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
43
57
|
class DisconnectParticipant
|
44
58
|
def self.build(context)
|
45
59
|
unless context.config.regional_endpoint
|
@@ -30,6 +30,7 @@ module Aws::ConnectParticipant
|
|
30
30
|
# * {AccessDeniedException}
|
31
31
|
# * {ConflictException}
|
32
32
|
# * {InternalServerException}
|
33
|
+
# * {ResourceNotFoundException}
|
33
34
|
# * {ServiceQuotaExceededException}
|
34
35
|
# * {ThrottlingException}
|
35
36
|
# * {ValidationException}
|
@@ -85,6 +86,31 @@ module Aws::ConnectParticipant
|
|
85
86
|
end
|
86
87
|
end
|
87
88
|
|
89
|
+
class ResourceNotFoundException < ServiceError
|
90
|
+
|
91
|
+
# @param [Seahorse::Client::RequestContext] context
|
92
|
+
# @param [String] message
|
93
|
+
# @param [Aws::ConnectParticipant::Types::ResourceNotFoundException] data
|
94
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
95
|
+
super(context, message, data)
|
96
|
+
end
|
97
|
+
|
98
|
+
# @return [String]
|
99
|
+
def message
|
100
|
+
@message || @data[:message]
|
101
|
+
end
|
102
|
+
|
103
|
+
# @return [String]
|
104
|
+
def resource_id
|
105
|
+
@data[:resource_id]
|
106
|
+
end
|
107
|
+
|
108
|
+
# @return [String]
|
109
|
+
def resource_type
|
110
|
+
@data[:resource_type]
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
88
114
|
class ServiceQuotaExceededException < ServiceError
|
89
115
|
|
90
116
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -60,6 +60,8 @@ module Aws::ConnectParticipant
|
|
60
60
|
Aws::ConnectParticipant::Endpoints::CompleteAttachmentUpload.build(context)
|
61
61
|
when :create_participant_connection
|
62
62
|
Aws::ConnectParticipant::Endpoints::CreateParticipantConnection.build(context)
|
63
|
+
when :describe_view
|
64
|
+
Aws::ConnectParticipant::Endpoints::DescribeView.build(context)
|
63
65
|
when :disconnect_participant
|
64
66
|
Aws::ConnectParticipant::Endpoints::DisconnectParticipant.build(context)
|
65
67
|
when :get_attachment
|
@@ -132,8 +132,9 @@ module Aws::ConnectParticipant
|
|
132
132
|
end
|
133
133
|
|
134
134
|
# @!attribute [rw] type
|
135
|
-
# Type of connection information required.
|
136
|
-
# `
|
135
|
+
# Type of connection information required. If you need
|
136
|
+
# `CONNECTION_CREDENTIALS` along with marking participant as
|
137
|
+
# connected, pass `CONNECTION_CREDENTIALS` in `Type`.
|
137
138
|
# @return [Array<String>]
|
138
139
|
#
|
139
140
|
# @!attribute [rw] participant_token
|
@@ -181,6 +182,37 @@ module Aws::ConnectParticipant
|
|
181
182
|
include Aws::Structure
|
182
183
|
end
|
183
184
|
|
185
|
+
# @!attribute [rw] view_token
|
186
|
+
# An encrypted token originating from the interactive message of a
|
187
|
+
# ShowView block operation. Represents the desired view.
|
188
|
+
# @return [String]
|
189
|
+
#
|
190
|
+
# @!attribute [rw] connection_token
|
191
|
+
# The connection token.
|
192
|
+
# @return [String]
|
193
|
+
#
|
194
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/DescribeViewRequest AWS API Documentation
|
195
|
+
#
|
196
|
+
class DescribeViewRequest < Struct.new(
|
197
|
+
:view_token,
|
198
|
+
:connection_token)
|
199
|
+
SENSITIVE = []
|
200
|
+
include Aws::Structure
|
201
|
+
end
|
202
|
+
|
203
|
+
# @!attribute [rw] view
|
204
|
+
# A view resource object. Contains metadata and content necessary to
|
205
|
+
# render the view.
|
206
|
+
# @return [Types::View]
|
207
|
+
#
|
208
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/DescribeViewResponse AWS API Documentation
|
209
|
+
#
|
210
|
+
class DescribeViewResponse < Struct.new(
|
211
|
+
:view)
|
212
|
+
SENSITIVE = []
|
213
|
+
include Aws::Structure
|
214
|
+
end
|
215
|
+
|
184
216
|
# @!attribute [rw] client_token
|
185
217
|
# A unique, case-sensitive identifier that you provide to ensure the
|
186
218
|
# idempotency of the request. If not provided, the Amazon Web Services
|
@@ -467,6 +499,29 @@ module Aws::ConnectParticipant
|
|
467
499
|
include Aws::Structure
|
468
500
|
end
|
469
501
|
|
502
|
+
# The resource was not found.
|
503
|
+
#
|
504
|
+
# @!attribute [rw] message
|
505
|
+
# @return [String]
|
506
|
+
#
|
507
|
+
# @!attribute [rw] resource_id
|
508
|
+
# The identifier of the resource.
|
509
|
+
# @return [String]
|
510
|
+
#
|
511
|
+
# @!attribute [rw] resource_type
|
512
|
+
# The type of Amazon Connect resource.
|
513
|
+
# @return [String]
|
514
|
+
#
|
515
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/ResourceNotFoundException AWS API Documentation
|
516
|
+
#
|
517
|
+
class ResourceNotFoundException < Struct.new(
|
518
|
+
:message,
|
519
|
+
:resource_id,
|
520
|
+
:resource_type)
|
521
|
+
SENSITIVE = []
|
522
|
+
include Aws::Structure
|
523
|
+
end
|
524
|
+
|
470
525
|
# @!attribute [rw] content_type
|
471
526
|
# The content type of the request. Supported types are:
|
472
527
|
#
|
@@ -773,6 +828,68 @@ module Aws::ConnectParticipant
|
|
773
828
|
include Aws::Structure
|
774
829
|
end
|
775
830
|
|
831
|
+
# A view resource object. Contains metadata and content necessary to
|
832
|
+
# render the view.
|
833
|
+
#
|
834
|
+
# @!attribute [rw] id
|
835
|
+
# The identifier of the view.
|
836
|
+
# @return [String]
|
837
|
+
#
|
838
|
+
# @!attribute [rw] arn
|
839
|
+
# The Amazon Resource Name (ARN) of the view.
|
840
|
+
# @return [String]
|
841
|
+
#
|
842
|
+
# @!attribute [rw] name
|
843
|
+
# The name of the view.
|
844
|
+
# @return [String]
|
845
|
+
#
|
846
|
+
# @!attribute [rw] version
|
847
|
+
# The current version of the view.
|
848
|
+
# @return [Integer]
|
849
|
+
#
|
850
|
+
# @!attribute [rw] content
|
851
|
+
# View content containing all content necessary to render a view
|
852
|
+
# except for runtime input data.
|
853
|
+
# @return [Types::ViewContent]
|
854
|
+
#
|
855
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/View AWS API Documentation
|
856
|
+
#
|
857
|
+
class View < Struct.new(
|
858
|
+
:id,
|
859
|
+
:arn,
|
860
|
+
:name,
|
861
|
+
:version,
|
862
|
+
:content)
|
863
|
+
SENSITIVE = [:name]
|
864
|
+
include Aws::Structure
|
865
|
+
end
|
866
|
+
|
867
|
+
# View content containing all content necessary to render a view except
|
868
|
+
# for runtime input data.
|
869
|
+
#
|
870
|
+
# @!attribute [rw] input_schema
|
871
|
+
# The schema representing the input data that the view template must
|
872
|
+
# be supplied to render.
|
873
|
+
# @return [String]
|
874
|
+
#
|
875
|
+
# @!attribute [rw] template
|
876
|
+
# The view template representing the structure of the view.
|
877
|
+
# @return [String]
|
878
|
+
#
|
879
|
+
# @!attribute [rw] actions
|
880
|
+
# A list of actions possible from the view
|
881
|
+
# @return [Array<String>]
|
882
|
+
#
|
883
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/ViewContent AWS API Documentation
|
884
|
+
#
|
885
|
+
class ViewContent < Struct.new(
|
886
|
+
:input_schema,
|
887
|
+
:template,
|
888
|
+
:actions)
|
889
|
+
SENSITIVE = [:input_schema, :template]
|
890
|
+
include Aws::Structure
|
891
|
+
end
|
892
|
+
|
776
893
|
# The websocket for the participant's connection.
|
777
894
|
#
|
778
895
|
# @!attribute [rw] url
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-connectparticipant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.35.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: 2023-
|
11
|
+
date: 2023-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|