Skip to content

Commit 8c9f644

Browse files
author
awstools
committed
feat(client-connect): This release adds support for a secondary email and a mobile number for Amazon Connect instance users.
1 parent 7434604 commit 8c9f644

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

clients/client-connect/src/models/models_0.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1888,6 +1888,18 @@ export interface UserIdentityInfo {
18881888
* an error is returned.</p>
18891889
*/
18901890
Email?: string;
1891+
1892+
/**
1893+
* <p>The user's secondary email address. If you provide a secondary email, the user receives email
1894+
* notifications -- other than password reset notifications -- to this email address instead of to their
1895+
* primary email address.</p>
1896+
*/
1897+
SecondaryEmail?: string;
1898+
1899+
/**
1900+
* <p>The user's mobile number.</p>
1901+
*/
1902+
Mobile?: string;
18911903
}
18921904

18931905
export enum PhoneType {

clients/client-connect/src/protocols/Aws_restJson1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14741,6 +14741,8 @@ const serializeAws_restJson1UserIdentityInfo = (input: UserIdentityInfo, context
1474114741
...(input.Email != null && { Email: input.Email }),
1474214742
...(input.FirstName != null && { FirstName: input.FirstName }),
1474314743
...(input.LastName != null && { LastName: input.LastName }),
14744+
...(input.Mobile != null && { Mobile: input.Mobile }),
14745+
...(input.SecondaryEmail != null && { SecondaryEmail: input.SecondaryEmail }),
1474414746
};
1474514747
};
1474614748

@@ -16539,6 +16541,8 @@ const deserializeAws_restJson1UserIdentityInfo = (output: any, context: __SerdeC
1653916541
Email: __expectString(output.Email),
1654016542
FirstName: __expectString(output.FirstName),
1654116543
LastName: __expectString(output.LastName),
16544+
Mobile: __expectString(output.Mobile),
16545+
SecondaryEmail: __expectString(output.SecondaryEmail),
1654216546
} as any;
1654316547
};
1654416548

codegen/sdk-codegen/aws-models/connect.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20464,6 +20464,18 @@
2046420464
"traits": {
2046520465
"smithy.api#documentation": "<p>The email address. If you are using SAML for identity management and include this parameter,\n an error is returned.</p>"
2046620466
}
20467+
},
20468+
"SecondaryEmail": {
20469+
"target": "com.amazonaws.connect#Email",
20470+
"traits": {
20471+
"smithy.api#documentation": "<p>The user's secondary email address. If you provide a secondary email, the user receives email\n notifications -- other than password reset notifications -- to this email address instead of to their\n primary email address.</p>"
20472+
}
20473+
},
20474+
"Mobile": {
20475+
"target": "com.amazonaws.connect#PhoneNumber",
20476+
"traits": {
20477+
"smithy.api#documentation": "<p>The user's mobile number.</p>"
20478+
}
2046720479
}
2046820480
},
2046920481
"traits": {

0 commit comments

Comments
 (0)