Skip to content

Commit 7689bdd

Browse files
feat: update AWS API models
1 parent 7b58370 commit 7689bdd

File tree

11 files changed

+2258
-360
lines changed

11 files changed

+2258
-360
lines changed

codegen/sdk/aws-models/connect.json

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2072,17 +2072,6 @@
20722072
"expect": {
20732073
"error": "Invalid Configuration: Missing Region"
20742074
}
2075-
},
2076-
{
2077-
"documentation": "Partition doesn't support DualStack",
2078-
"expect": {
2079-
"error": "DualStack is enabled but this partition does not support DualStack"
2080-
},
2081-
"params": {
2082-
"Region": "us-isob-east-1",
2083-
"UseFIPS": false,
2084-
"UseDualStack": true
2085-
}
20862075
}
20872076
],
20882077
"version": "1.0"
@@ -25226,7 +25215,8 @@
2522625215
"InstanceId": {
2522725216
"target": "com.amazonaws.connect#InstanceId",
2522825217
"traits": {
25229-
"smithy.api#documentation": "<p>The identifier of the Amazon Connect instance. You can <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html\">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>\n <note>\n <p>InstanceID is a required field. The \"Required: No\" below is incorrect.</p>\n </note>"
25218+
"smithy.api#documentation": "<p>The identifier of the Amazon Connect instance. You can <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html\">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>\n <note>\n <p>InstanceID is a required field. The \"Required: No\" below is incorrect.</p>\n </note>",
25219+
"smithy.api#required": {}
2523025220
}
2523125221
},
2523225222
"NextToken": {

codegen/sdk/aws-models/connectcases.json

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1644,7 +1644,7 @@
16441644
}
16451645
],
16461646
"traits": {
1647-
"smithy.api#documentation": "<p>Creates a related item (comments, tasks, and contacts) and associates it with a\n case.</p>\n <note>\n <p>A Related Item is a resource that is associated with a case. It may or may not have an\n external identifier linking it to an external resource (for example, a\n <code>contactArn</code>). All Related Items have their own internal identifier, the\n <code>relatedItemArn</code>. Examples of related items include <code>comments</code> and\n <code>contacts</code>.</p>\n </note>",
1647+
"smithy.api#documentation": "<p>Creates a related item (comments, tasks, and contacts) and associates it with a\n case.</p>\n <note>\n <ul>\n <li> \n <p>A Related Item is a resource that is associated with a case. It may or may not have an\n external identifier linking it to an external resource (for example, a\n <code>contactArn</code>). All Related Items have their own internal identifier, the\n <code>relatedItemArn</code>. Examples of related items include <code>comments</code> and\n <code>contacts</code>.</p>\n </li>\n <li>\n <p>If you provide a value for <code>performedBy.userArn</code> you must also have \n <a href=\"https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribeUser.html\">DescribeUser</a>\n permission on the ARN of the user that you provide.</p>\n </li>\n </ul>\n \n </note>",
16481648
"smithy.api#http": {
16491649
"uri": "/domains/{domainId}/cases/{caseId}/related-items/",
16501650
"method": "POST"
@@ -1684,6 +1684,12 @@
16841684
"smithy.api#documentation": "<p>The content of a related item to be created.</p>",
16851685
"smithy.api#required": {}
16861686
}
1687+
},
1688+
"performedBy": {
1689+
"target": "com.amazonaws.connectcases#UserUnion",
1690+
"traits": {
1691+
"smithy.api#documentation": "<p>Represents the creator of the related item.</p>"
1692+
}
16871693
}
16881694
}
16891695
},
@@ -4372,6 +4378,12 @@
43724378
"traits": {
43734379
"smithy.api#documentation": "<p>A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.</p>"
43744380
}
4381+
},
4382+
"performedBy": {
4383+
"target": "com.amazonaws.connectcases#UserUnion",
4384+
"traits": {
4385+
"smithy.api#documentation": "<p>Represents the creator of the related item.</p>"
4386+
}
43754387
}
43764388
},
43774389
"traits": {
@@ -5062,6 +5074,29 @@
50625074
"type": "structure",
50635075
"members": {}
50645076
},
5077+
"com.amazonaws.connectcases#UserArn": {
5078+
"type": "string",
5079+
"traits": {
5080+
"smithy.api#length": {
5081+
"min": 1,
5082+
"max": 500
5083+
}
5084+
}
5085+
},
5086+
"com.amazonaws.connectcases#UserUnion": {
5087+
"type": "union",
5088+
"members": {
5089+
"userArn": {
5090+
"target": "com.amazonaws.connectcases#UserArn",
5091+
"traits": {
5092+
"smithy.api#documentation": "<p>Represents the Amazon Connect ARN of the user.</p>"
5093+
}
5094+
}
5095+
},
5096+
"traits": {
5097+
"smithy.api#documentation": "<p>Represents the identity of the person who performed the action.</p>"
5098+
}
5099+
},
50655100
"com.amazonaws.connectcases#ValidationException": {
50665101
"type": "structure",
50675102
"members": {

0 commit comments

Comments
 (0)