From 6ebabec47acbe97e4f2ccf12a2e04916b18807ad Mon Sep 17 00:00:00 2001 From: awstools Date: Tue, 6 Jun 2023 18:14:56 +0000 Subject: [PATCH] docs(client-connect): GetMetricDataV2 API is now available in AWS GovCloud(US) region. --- clients/client-connect/src/commands/GetMetricDataV2Command.ts | 3 +-- clients/client-connect/src/models/models_0.ts | 4 +++- codegen/sdk-codegen/aws-models/connect.json | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/clients/client-connect/src/commands/GetMetricDataV2Command.ts b/clients/client-connect/src/commands/GetMetricDataV2Command.ts index 7d5d027a7be1..390a7078b547 100644 --- a/clients/client-connect/src/commands/GetMetricDataV2Command.ts +++ b/clients/client-connect/src/commands/GetMetricDataV2Command.ts @@ -45,8 +45,7 @@ export interface GetMetricDataV2CommandOutput extends GetMetricDataV2Response, _ * intervals.

*

For a description of the historical metrics that are supported by * GetMetricDataV2 and GetMetricData, see Historical metrics - * definitions in the Amazon Connect Administrator's Guide.

- *

This API is not available in the Amazon Web Services GovCloud (US) Regions.

+ * definitions in the Amazon Connect Administrator's Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-connect/src/models/models_0.ts b/clients/client-connect/src/models/models_0.ts index 3a241c238e66..11fe33d1d12b 100644 --- a/clients/client-connect/src/models/models_0.ts +++ b/clients/client-connect/src/models/models_0.ts @@ -4159,7 +4159,9 @@ export interface Contact { * when the contact arrived. For OUTBOUND, this is when the agent began dialing. For * CALLBACK, this is when the callback contact was created. For TRANSFER * and QUEUE_TRANSFER, this is when the transfer was initiated. For API, - * this is when the request arrived.

+ * this is when the request arrived. For EXTERNAL_OUTBOUND, this is when the agent started + * dialing the external participant. For MONITOR, this is when the supervisor started + * listening to a contact.

*/ InitiationTimestamp?: Date; diff --git a/codegen/sdk-codegen/aws-models/connect.json b/codegen/sdk-codegen/aws-models/connect.json index 665f8aad4c16..e67ac7e5060f 100644 --- a/codegen/sdk-codegen/aws-models/connect.json +++ b/codegen/sdk-codegen/aws-models/connect.json @@ -3282,7 +3282,7 @@ "InitiationTimestamp": { "target": "com.amazonaws.connect#Timestamp", "traits": { - "smithy.api#documentation": "

The date and time this contact was initiated, in UTC time. For INBOUND, this is\n when the contact arrived. For OUTBOUND, this is when the agent began dialing. For\n CALLBACK, this is when the callback contact was created. For TRANSFER\n and QUEUE_TRANSFER, this is when the transfer was initiated. For API,\n this is when the request arrived.

" + "smithy.api#documentation": "

The date and time this contact was initiated, in UTC time. For INBOUND, this is\n when the contact arrived. For OUTBOUND, this is when the agent began dialing. For\n CALLBACK, this is when the callback contact was created. For TRANSFER\n and QUEUE_TRANSFER, this is when the transfer was initiated. For API,\n this is when the request arrived. For EXTERNAL_OUTBOUND, this is when the agent started \n dialing the external participant. For MONITOR, this is when the supervisor started \n listening to a contact.

" } }, "DisconnectTimestamp": { @@ -11987,7 +11987,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets metric data from the specified Amazon Connect instance.

\n

\n GetMetricDataV2 offers more features than GetMetricData, the previous\n version of this API. It has new metrics, offers filtering at a metric level, and offers the\n ability to filter and group data by channels, queues, routing profiles, agents, and agent\n hierarchy levels. It can retrieve historical data for the last 35 days, in 24-hour\n intervals.

\n

For a description of the historical metrics that are supported by\n GetMetricDataV2 and GetMetricData, see Historical metrics\n definitions in the Amazon Connect Administrator's Guide.

\n

This API is not available in the Amazon Web Services GovCloud (US) Regions.

", + "smithy.api#documentation": "

Gets metric data from the specified Amazon Connect instance.

\n

\n GetMetricDataV2 offers more features than GetMetricData, the previous\n version of this API. It has new metrics, offers filtering at a metric level, and offers the\n ability to filter and group data by channels, queues, routing profiles, agents, and agent\n hierarchy levels. It can retrieve historical data for the last 35 days, in 24-hour\n intervals.

\n

For a description of the historical metrics that are supported by\n GetMetricDataV2 and GetMetricData, see Historical metrics\n definitions in the Amazon Connect Administrator's Guide.

", "smithy.api#http": { "method": "POST", "uri": "/metrics/data",