Skip to content

Commit b8975e6

Browse files
author
awstools
committed
feat(client-connect): Enables access to ValueMap and ValueInteger types for SegmentAttributes and fixes deserialization bug for DescribeContactFlow in AmazonConnect Public API
1 parent a370f24 commit b8975e6

33 files changed

+2382
-2101
lines changed

clients/client-connect/src/commands/CreateContactCommand.ts

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import {
10-
CreateContactRequest,
11-
CreateContactRequestFilterSensitiveLog,
12-
CreateContactResponse,
13-
} from "../models/models_0";
9+
import { CreateContactResponse } from "../models/models_0";
10+
import { CreateContactRequest, CreateContactRequestFilterSensitiveLog } from "../models/models_2";
1411
import { de_CreateContactCommand, se_CreateContactCommand } from "../protocols/Aws_restJson1";
1512

1613
/**
@@ -32,7 +29,7 @@ export interface CreateContactCommandInput extends CreateContactRequest {}
3229
export interface CreateContactCommandOutput extends CreateContactResponse, __MetadataBearer {}
3330

3431
/**
35-
* <p></p>
32+
* <p>Creates a new contact.</p>
3633
* @example
3734
* Use a bare-bones client and the command you need to make an API call.
3835
* ```javascript
@@ -67,6 +64,16 @@ export interface CreateContactCommandOutput extends CreateContactResponse, __Met
6764
* SegmentAttributes: { // SegmentAttributes
6865
* "<keys>": { // SegmentAttributeValue
6966
* ValueString: "STRING_VALUE",
67+
* ValueMap: { // SegmentAttributeValueMap
68+
* "<keys>": {
69+
* ValueString: "STRING_VALUE",
70+
* ValueMap: {
71+
* "<keys>": "<SegmentAttributeValue>",
72+
* },
73+
* ValueInteger: Number("int"),
74+
* },
75+
* },
76+
* ValueInteger: Number("int"),
7077
* },
7178
* },
7279
* };

clients/client-connect/src/commands/CreateEmailAddressCommand.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ export interface CreateEmailAddressCommandInput extends CreateEmailAddressReques
3232
export interface CreateEmailAddressCommandOutput extends CreateEmailAddressResponse, __MetadataBearer {}
3333

3434
/**
35-
* <p></p>
35+
* <p>Create new email address in the specified Amazon Connect instance. For more information
36+
* about email addresses, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/create-email-address1.html">Create email addresses</a> in the
37+
* Amazon Connect Administrator Guide.</p>
3638
* @example
3739
* Use a bare-bones client and the command you need to make an API call.
3840
* ```javascript

clients/client-connect/src/commands/CreateEvaluationFormCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
77
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
88
import { commonParams } from "../endpoint/EndpointParameters";
99
import { CreateEvaluationFormResponse } from "../models/models_0";
10-
import { CreateEvaluationFormRequest } from "../models/models_3";
10+
import { CreateEvaluationFormRequest } from "../models/models_2";
1111
import { de_CreateEvaluationFormCommand, se_CreateEvaluationFormCommand } from "../protocols/Aws_restJson1";
1212

1313
/**

clients/client-connect/src/commands/DeleteEmailAddressCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface DeleteEmailAddressCommandInput extends DeleteEmailAddressReques
2828
export interface DeleteEmailAddressCommandOutput extends DeleteEmailAddressResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p></p>
31+
* <p>Deletes email address from the specified Amazon Connect instance.</p>
3232
* @example
3333
* Use a bare-bones client and the command you need to make an API call.
3434
* ```javascript

clients/client-connect/src/commands/DeleteViewVersionCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { DeleteViewVersionRequest } from "../models/models_0";
10-
import { DeleteViewVersionResponse } from "../models/models_1";
9+
import { DeleteViewVersionRequest, DeleteViewVersionResponse } from "../models/models_0";
1110
import { de_DeleteViewVersionCommand, se_DeleteViewVersionCommand } from "../protocols/Aws_restJson1";
1211

1312
/**

clients/client-connect/src/commands/DeleteVocabularyCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { DeleteVocabularyRequest, DeleteVocabularyResponse } from "../models/models_1";
9+
import { DeleteVocabularyRequest } from "../models/models_0";
10+
import { DeleteVocabularyResponse } from "../models/models_1";
1011
import { de_DeleteVocabularyCommand, se_DeleteVocabularyCommand } from "../protocols/Aws_restJson1";
1112

1213
/**

clients/client-connect/src/commands/DescribeContactCommand.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,16 @@ export interface DescribeContactCommandOutput extends DescribeContactResponse, _
233233
* // SegmentAttributes: { // SegmentAttributes
234234
* // "<keys>": { // SegmentAttributeValue
235235
* // ValueString: "STRING_VALUE",
236+
* // ValueMap: { // SegmentAttributeValueMap
237+
* // "<keys>": {
238+
* // ValueString: "STRING_VALUE",
239+
* // ValueMap: {
240+
* // "<keys>": "<SegmentAttributeValue>",
241+
* // },
242+
* // ValueInteger: Number("int"),
243+
* // },
244+
* // },
245+
* // ValueInteger: Number("int"),
236246
* // },
237247
* // },
238248
* // },

clients/client-connect/src/commands/DescribeContactFlowCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface DescribeContactFlowCommandOutput extends DescribeContactFlowRes
3232
* <p>You can also create and update flows using the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/flow-language.html">Amazon Connect
3333
* Flow language</a>.</p>
3434
* <p>Use the <code>$SAVED</code> alias in the request to describe the <code>SAVED</code> content
35-
* of a Flow. For example, <code>arn:aws:.../contact-flow/\{id\}:$SAVED</code>. Once a contact flow is
35+
* of a Flow. For example, <code>arn:aws:.../contact-flow/\{id\}:$SAVED</code>. After a flow is
3636
* published, <code>$SAVED</code> needs to be supplied to view saved content that has not been
3737
* published.</p>
3838
* <p>In the response, <b>Status</b> indicates the flow status as either
@@ -65,7 +65,6 @@ export interface DescribeContactFlowCommandOutput extends DescribeContactFlowRes
6565
* // Tags: { // TagMap
6666
* // "<keys>": "STRING_VALUE",
6767
* // },
68-
* // IsDefault: true || false,
6968
* // FlowContentSha256: "STRING_VALUE",
7069
* // Version: Number("long"),
7170
* // VersionDescription: "STRING_VALUE",

clients/client-connect/src/commands/DescribeContactFlowModuleCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export interface DescribeContactFlowModuleCommandOutput extends DescribeContactF
3030
/**
3131
* <p>Describes the specified flow module.</p>
3232
* <p>Use the <code>$SAVED</code> alias in the request to describe the <code>SAVED</code> content
33-
* of a Flow. For example, <code>arn:aws:.../contact-flow/\{id\}:$SAVED</code>. Once a contact flow is
33+
* of a Flow. For example, <code>arn:aws:.../contact-flow/\{id\}:$SAVED</code>. After a flow is
3434
* published, <code>$SAVED</code> needs to be supplied to view saved content that has not been
3535
* published.</p>
3636
* @example

clients/client-connect/src/commands/DescribeEmailAddressCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface DescribeEmailAddressCommandInput extends DescribeEmailAddressRe
3232
export interface DescribeEmailAddressCommandOutput extends DescribeEmailAddressResponse, __MetadataBearer {}
3333

3434
/**
35-
* <p></p>
35+
* <p>Describe email address form the specified Amazon Connect instance.</p>
3636
* @example
3737
* Use a bare-bones client and the command you need to make an API call.
3838
* ```javascript

0 commit comments

Comments
 (0)