aws-sdk-connect 1.209.0 → 1.210.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-connect/client.rb +551 -255
- data/lib/aws-sdk-connect/client_api.rb +51 -0
- data/lib/aws-sdk-connect/types.rb +772 -222
- data/lib/aws-sdk-connect.rb +1 -1
- data/sig/client.rbs +42 -4
- data/sig/types.rbs +38 -0
- metadata +1 -1
@@ -231,6 +231,12 @@ module Aws::Connect
|
|
231
231
|
ContactFlowVersionSummaryList = Shapes::ListShape.new(name: 'ContactFlowVersionSummaryList')
|
232
232
|
ContactId = Shapes::StringShape.new(name: 'ContactId')
|
233
233
|
ContactInitiationMethod = Shapes::StringShape.new(name: 'ContactInitiationMethod')
|
234
|
+
ContactMetricInfo = Shapes::StructureShape.new(name: 'ContactMetricInfo')
|
235
|
+
ContactMetricName = Shapes::StringShape.new(name: 'ContactMetricName')
|
236
|
+
ContactMetricResult = Shapes::StructureShape.new(name: 'ContactMetricResult')
|
237
|
+
ContactMetricResults = Shapes::ListShape.new(name: 'ContactMetricResults')
|
238
|
+
ContactMetricValue = Shapes::UnionShape.new(name: 'ContactMetricValue')
|
239
|
+
ContactMetrics = Shapes::ListShape.new(name: 'ContactMetrics')
|
234
240
|
ContactNotFoundException = Shapes::StructureShape.new(name: 'ContactNotFoundException')
|
235
241
|
ContactRecordingType = Shapes::StringShape.new(name: 'ContactRecordingType')
|
236
242
|
ContactReferences = Shapes::MapShape.new(name: 'ContactReferences')
|
@@ -608,6 +614,8 @@ module Aws::Connect
|
|
608
614
|
GetAttachedFileResponse = Shapes::StructureShape.new(name: 'GetAttachedFileResponse')
|
609
615
|
GetContactAttributesRequest = Shapes::StructureShape.new(name: 'GetContactAttributesRequest')
|
610
616
|
GetContactAttributesResponse = Shapes::StructureShape.new(name: 'GetContactAttributesResponse')
|
617
|
+
GetContactMetricsRequest = Shapes::StructureShape.new(name: 'GetContactMetricsRequest')
|
618
|
+
GetContactMetricsResponse = Shapes::StructureShape.new(name: 'GetContactMetricsResponse')
|
611
619
|
GetCurrentMetricDataRequest = Shapes::StructureShape.new(name: 'GetCurrentMetricDataRequest')
|
612
620
|
GetCurrentMetricDataResponse = Shapes::StructureShape.new(name: 'GetCurrentMetricDataResponse')
|
613
621
|
GetCurrentUserDataRequest = Shapes::StructureShape.new(name: 'GetCurrentUserDataRequest')
|
@@ -2029,6 +2037,7 @@ module Aws::Connect
|
|
2029
2037
|
ClaimedPhoneNumberSummary.struct_class = Types::ClaimedPhoneNumberSummary
|
2030
2038
|
|
2031
2039
|
CommonAttributeAndCondition.add_member(:tag_conditions, Shapes::ShapeRef.new(shape: TagAndConditionList, location_name: "TagConditions"))
|
2040
|
+
CommonAttributeAndCondition.add_member(:hierarchy_group_condition, Shapes::ShapeRef.new(shape: HierarchyGroupCondition, location_name: "HierarchyGroupCondition"))
|
2032
2041
|
CommonAttributeAndCondition.struct_class = Types::CommonAttributeAndCondition
|
2033
2042
|
|
2034
2043
|
CommonAttributeOrConditionList.member = Shapes::ShapeRef.new(shape: CommonAttributeAndCondition)
|
@@ -2223,6 +2232,23 @@ module Aws::Connect
|
|
2223
2232
|
|
2224
2233
|
ContactFlowVersionSummaryList.member = Shapes::ShapeRef.new(shape: ContactFlowVersionSummary)
|
2225
2234
|
|
2235
|
+
ContactMetricInfo.add_member(:name, Shapes::ShapeRef.new(shape: ContactMetricName, required: true, location_name: "Name"))
|
2236
|
+
ContactMetricInfo.struct_class = Types::ContactMetricInfo
|
2237
|
+
|
2238
|
+
ContactMetricResult.add_member(:name, Shapes::ShapeRef.new(shape: ContactMetricName, required: true, location_name: "Name"))
|
2239
|
+
ContactMetricResult.add_member(:value, Shapes::ShapeRef.new(shape: ContactMetricValue, required: true, location_name: "Value"))
|
2240
|
+
ContactMetricResult.struct_class = Types::ContactMetricResult
|
2241
|
+
|
2242
|
+
ContactMetricResults.member = Shapes::ShapeRef.new(shape: ContactMetricResult)
|
2243
|
+
|
2244
|
+
ContactMetricValue.add_member(:number, Shapes::ShapeRef.new(shape: Double, location_name: "Number"))
|
2245
|
+
ContactMetricValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
2246
|
+
ContactMetricValue.add_member_subclass(:number, Types::ContactMetricValue::Number)
|
2247
|
+
ContactMetricValue.add_member_subclass(:unknown, Types::ContactMetricValue::Unknown)
|
2248
|
+
ContactMetricValue.struct_class = Types::ContactMetricValue
|
2249
|
+
|
2250
|
+
ContactMetrics.member = Shapes::ShapeRef.new(shape: ContactMetricInfo)
|
2251
|
+
|
2226
2252
|
ContactNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
2227
2253
|
ContactNotFoundException.struct_class = Types::ContactNotFoundException
|
2228
2254
|
|
@@ -3541,6 +3567,16 @@ module Aws::Connect
|
|
3541
3567
|
GetContactAttributesResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
|
3542
3568
|
GetContactAttributesResponse.struct_class = Types::GetContactAttributesResponse
|
3543
3569
|
|
3570
|
+
GetContactMetricsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceIdOrArn, required: true, location_name: "InstanceId"))
|
3571
|
+
GetContactMetricsRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: InstanceIdOrArn, required: true, location_name: "ContactId"))
|
3572
|
+
GetContactMetricsRequest.add_member(:metrics, Shapes::ShapeRef.new(shape: ContactMetrics, required: true, location_name: "Metrics"))
|
3573
|
+
GetContactMetricsRequest.struct_class = Types::GetContactMetricsRequest
|
3574
|
+
|
3575
|
+
GetContactMetricsResponse.add_member(:metric_results, Shapes::ShapeRef.new(shape: ContactMetricResults, location_name: "MetricResults"))
|
3576
|
+
GetContactMetricsResponse.add_member(:id, Shapes::ShapeRef.new(shape: ContactId, location_name: "Id"))
|
3577
|
+
GetContactMetricsResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
3578
|
+
GetContactMetricsResponse.struct_class = Types::GetContactMetricsResponse
|
3579
|
+
|
3544
3580
|
GetCurrentMetricDataRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
3545
3581
|
GetCurrentMetricDataRequest.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, required: true, location_name: "Filters"))
|
3546
3582
|
GetCurrentMetricDataRequest.add_member(:groupings, Shapes::ShapeRef.new(shape: Groupings, location_name: "Groupings"))
|
@@ -6507,6 +6543,7 @@ module Aws::Connect
|
|
6507
6543
|
UserHierarchyGroupSearchCriteria.add_member(:or_conditions, Shapes::ShapeRef.new(shape: UserHierarchyGroupSearchConditionList, location_name: "OrConditions"))
|
6508
6544
|
UserHierarchyGroupSearchCriteria.add_member(:and_conditions, Shapes::ShapeRef.new(shape: UserHierarchyGroupSearchConditionList, location_name: "AndConditions"))
|
6509
6545
|
UserHierarchyGroupSearchCriteria.add_member(:string_condition, Shapes::ShapeRef.new(shape: StringCondition, location_name: "StringCondition"))
|
6546
|
+
UserHierarchyGroupSearchCriteria.add_member(:hierarchy_group_condition, Shapes::ShapeRef.new(shape: HierarchyGroupCondition, location_name: "HierarchyGroupCondition"))
|
6510
6547
|
UserHierarchyGroupSearchCriteria.struct_class = Types::UserHierarchyGroupSearchCriteria
|
6511
6548
|
|
6512
6549
|
UserHierarchyGroupSearchFilter.add_member(:attribute_filter, Shapes::ShapeRef.new(shape: ControlPlaneAttributeFilter, location_name: "AttributeFilter"))
|
@@ -8369,6 +8406,20 @@ module Aws::Connect
|
|
8369
8406
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
8370
8407
|
end)
|
8371
8408
|
|
8409
|
+
api.add_operation(:get_contact_metrics, Seahorse::Model::Operation.new.tap do |o|
|
8410
|
+
o.name = "GetContactMetrics"
|
8411
|
+
o.http_method = "POST"
|
8412
|
+
o.http_request_uri = "/metrics/contact"
|
8413
|
+
o.input = Shapes::ShapeRef.new(shape: GetContactMetricsRequest)
|
8414
|
+
o.output = Shapes::ShapeRef.new(shape: GetContactMetricsResponse)
|
8415
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
8416
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
8417
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
8418
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
8419
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
8420
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
8421
|
+
end)
|
8422
|
+
|
8372
8423
|
api.add_operation(:get_current_metric_data, Seahorse::Model::Operation.new.tap do |o|
|
8373
8424
|
o.name = "GetCurrentMetricData"
|
8374
8425
|
o.http_method = "POST"
|