Skip to content

Commit 24c4024

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 68f7691 commit 24c4024

File tree

6 files changed

+159
-26
lines changed

6 files changed

+159
-26
lines changed

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

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2680,7 +2680,7 @@
26802680
"Tags": {
26812681
"target": "com.amazonaws.chime#TagList",
26822682
"traits": {
2683-
"smithy.api#documentation": "<p>Tags assigned to the <code>AppInstanceUser</code>.</p>"
2683+
"smithy.api#documentation": "<p>Tags assigned to the <code>AppInstance</code>.</p>"
26842684
}
26852685
}
26862686
}
@@ -3550,6 +3550,9 @@
35503550
"target": "com.amazonaws.chime#CreateMeetingDialOutResponse"
35513551
},
35523552
"errors": [
3553+
{
3554+
"target": "com.amazonaws.chime#AccessDeniedException"
3555+
},
35533556
{
35543557
"target": "com.amazonaws.chime#BadRequestException"
35553558
},
@@ -7369,7 +7372,7 @@
73697372
"ContentIdentificationType": {
73707373
"target": "com.amazonaws.chime#TranscribeContentIdentificationType",
73717374
"traits": {
7372-
"smithy.api#documentation": "<p>Set this field to <code>PII</code> to identify personal health information in the transcription output.</p>"
7375+
"smithy.api#documentation": "<p>Set this field to <code>PII</code> to identify personally identifiable information in the transcription output.</p>"
73737376
}
73747377
},
73757378
"ContentRedactionType": {
@@ -12552,7 +12555,13 @@
1255212555
"EnableSIPLogs": {
1255312556
"target": "com.amazonaws.chime#Boolean",
1255412557
"traits": {
12555-
"smithy.api#documentation": "<p>When true, enables SIP message logs for sending to Amazon CloudWatch Logs.</p>"
12558+
"smithy.api#documentation": "<p>Boolean that enables SIP message logs to CloudWatch logs.</p>"
12559+
}
12560+
},
12561+
"EnableMediaMetricLogs": {
12562+
"target": "com.amazonaws.chime#Boolean",
12563+
"traits": {
12564+
"smithy.api#documentation": "<p>Boolean that enables logging of detailed media metrics for Voice Connectors to CloudWatch logs.</p>"
1255612565
}
1255712566
}
1255812567
},
@@ -12800,7 +12809,7 @@
1280012809
"EventIngestionUrl": {
1280112810
"target": "com.amazonaws.chime#UriType",
1280212811
"traits": {
12803-
"smithy.api#documentation": "<p>The event ingestion URL.</p>"
12812+
"smithy.api#documentation": "<p>The event ingestion URL to which you send client meeting events.</p>"
1280412813
}
1280512814
}
1280612815
},
@@ -18989,7 +18998,7 @@
1898918998
}
1899018999
],
1899119000
"traits": {
18992-
"smithy.api#documentation": "<p>Allows you to trigger a Lambda function at any time while a call is active, and replace the current actions with new actions returned by the invocation.</p>",
19001+
"smithy.api#documentation": "<p>Invokes the AWS Lambda function associated with the SIP media application and transaction ID in an update request. The Lambda function can then return a new set of actions.</p>",
1899319002
"smithy.api#http": {
1899419003
"method": "POST",
1899519004
"uri": "/sip-media-applications/{SipMediaApplicationId}/calls/{TransactionId}",

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

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1484,7 +1484,7 @@
14841484
"ContentType": {
14851485
"target": "com.amazonaws.connect#ChatContentType",
14861486
"traits": {
1487-
"smithy.api#documentation": "<p>The type of the content. Supported types are text and plain.</p>",
1487+
"smithy.api#documentation": "<p>The type of the content. Supported types are <code>text/plain</code>.</p>",
14881488
"smithy.api#required": {}
14891489
}
14901490
},
@@ -12934,6 +12934,12 @@
1293412934
"traits": {
1293512935
"smithy.api#documentation": "<p>The total duration of the newly started chat session. If not specified, the chat session duration defaults to 25 hour. \n The minumum configurable time is 60 minutes. The maximum configurable time is 10,080 minutes (7 days).</p>"
1293612936
}
12937+
},
12938+
"SupportedMessagingContentTypes": {
12939+
"target": "com.amazonaws.connect#SupportedMessagingContentTypes",
12940+
"traits": {
12941+
"smithy.api#documentation": "<p>The supported chat message content types. Content types can be text/plain or both text/plain and text/markdown.</p>"
12942+
}
1293712943
}
1293812944
}
1293912945
},
@@ -12983,7 +12989,7 @@
1298312989
}
1298412990
],
1298512991
"traits": {
12986-
"smithy.api#documentation": "<p>Starts recording the contact when the agent joins the call. StartContactRecording is a\n one-time action. For example, if you use StopContactRecording to stop recording an ongoing call,\n you can't use StartContactRecording to restart it. For scenarios where the recording has started\n and you want to suspend and resume it, such as when collecting sensitive information (for\n example, a credit card number), use SuspendContactRecording and ResumeContactRecording.</p>\n <p>You can use this API to override the recording behavior configured in the <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/set-recording-behavior.html\">Set recording\n behavior</a> block.</p>\n <p>Only voice recordings are supported at this time.</p>",
12992+
"smithy.api#documentation": "<p>Starts recording the contact: </p>\n <ul>\n <li>\n <p>If the API is called <i>before</i> the agent joins the call, recording starts when the agent joins the call.</p>\n </li>\n <li>\n <p>If the API is called <i>after</i> the agent joins the call, recording starts at the time of the API call.</p>\n </li>\n </ul>\n \n <p>StartContactRecording is a\n one-time action. For example, if you use StopContactRecording to stop recording an ongoing call,\n you can't use StartContactRecording to restart it. For scenarios where the recording has started\n and you want to suspend and resume it, such as when collecting sensitive information (for\n example, a credit card number), use SuspendContactRecording and ResumeContactRecording.</p>\n <p>You can use this API to override the recording behavior configured in the <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/set-recording-behavior.html\">Set recording\n behavior</a> block.</p>\n <p>Only voice recordings are supported at this time.</p>",
1298712993
"smithy.api#http": {
1298812994
"method": "POST",
1298912995
"uri": "/contact/start-recording",
@@ -13384,7 +13390,7 @@
1338413390
}
1338513391
],
1338613392
"traits": {
13387-
"smithy.api#documentation": "<p>Ends the specified contact.</p>",
13393+
"smithy.api#documentation": "<p>Ends the specified contact. This call does not work for the following initiation methods:</p>\n <ul>\n <li>\n <p>CALLBACK</p>\n </li>\n <li>\n <p>DISCONNECT</p>\n </li>\n <li>\n <p>TRANSFER</p>\n </li>\n <li>\n <p>QUEUE_TRANSFER</p>\n </li>\n </ul>",
1338813394
"smithy.api#http": {
1338913395
"method": "POST",
1339013396
"uri": "/contact/stop",
@@ -13569,6 +13575,21 @@
1356913575
"com.amazonaws.connect#String": {
1357013576
"type": "string"
1357113577
},
13578+
"com.amazonaws.connect#SupportedMessagingContentType": {
13579+
"type": "string",
13580+
"traits": {
13581+
"smithy.api#length": {
13582+
"min": 1,
13583+
"max": 100
13584+
}
13585+
}
13586+
},
13587+
"com.amazonaws.connect#SupportedMessagingContentTypes": {
13588+
"type": "list",
13589+
"member": {
13590+
"target": "com.amazonaws.connect#SupportedMessagingContentType"
13591+
}
13592+
},
1357213593
"com.amazonaws.connect#SuspendContactRecording": {
1357313594
"type": "operation",
1357413595
"input": {

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

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@
432432
}
433433
],
434434
"traits": {
435-
"smithy.api#documentation": "<p>Grants an Amazon Web Services service or another account permission to use a function. You can apply the policy at the\n function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier,\n the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function.\n Note: Lambda does not support adding policies to version $LATEST.</p>\n \n <p>To grant permission to another account, specify the account ID as the <code>Principal</code>. For Amazon Web Services\n services, the principal is a domain-style identifier defined by the service, like <code>s3.amazonaws.com</code> or\n <code>sns.amazonaws.com</code>. For Amazon Web Services services, you can also specify the ARN of the associated resource as the\n <code>SourceArn</code>. If you grant permission to a service principal without specifying the source, other\n accounts could potentially configure resources in their account to invoke your Lambda function.</p>\n \n <p>This action adds a statement to a resource-based permissions policy for the function. For more information\n about function policies, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html\">Lambda Function Policies</a>. </p>",
435+
"smithy.api#documentation": "<p>Grants an Amazon Web Services service, account, or organization permission to use a function. You can apply the\n policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier,\n the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function.\n Note: Lambda does not support adding policies to version $LATEST.</p>\n \n <p>To grant permission to another account, specify the account ID as the <code>Principal</code>. To grant permission to an\n organization defined in Organizations, specify the organization ID as the <code>PrincipalOrgID</code>.\n For Amazon Web Services services, the principal is a domain-style identifier defined by the service,\n like <code>s3.amazonaws.com</code> or <code>sns.amazonaws.com</code>. For Amazon Web Services services, you can also specify\n the ARN of the associated resource as the <code>SourceArn</code>. If you grant permission to a service principal without\n specifying the source, other accounts could potentially configure resources in their account to invoke your\n Lambda function.</p>\n \n <p>This action adds a statement to a resource-based permissions policy for the function. For more information\n about function policies, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html\">Lambda Function Policies</a>. </p>",
436436
"smithy.api#http": {
437437
"method": "POST",
438438
"uri": "/2015-03-31/functions/{FunctionName}/policy",
@@ -502,6 +502,12 @@
502502
"traits": {
503503
"smithy.api#documentation": "<p>Only update the policy if the revision ID matches the ID that's specified. Use this option to avoid modifying a\n policy that has changed since you last read it.</p>"
504504
}
505+
},
506+
"PrincipalOrgID": {
507+
"target": "com.amazonaws.lambda#PrincipalOrgID",
508+
"traits": {
509+
"smithy.api#documentation": "<p>The identifier for your organization in Organizations. Use this to grant permissions to all the Amazon Web Services\n accounts under this organization.</p>"
510+
}
505511
}
506512
}
507513
},
@@ -5837,6 +5843,16 @@
58375843
"smithy.api#pattern": "^[^\\s]+$"
58385844
}
58395845
},
5846+
"com.amazonaws.lambda#PrincipalOrgID": {
5847+
"type": "string",
5848+
"traits": {
5849+
"smithy.api#length": {
5850+
"min": 12,
5851+
"max": 34
5852+
},
5853+
"smithy.api#pattern": "^o-[a-z0-9]{10,32}$"
5854+
}
5855+
},
58405856
"com.amazonaws.lambda#ProvisionedConcurrencyConfigList": {
58415857
"type": "list",
58425858
"member": {

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

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,12 @@
398398
"smithy.api#pattern": "^\\S[\\S ]*$"
399399
}
400400
},
401+
"com.amazonaws.outposts#CityList": {
402+
"type": "list",
403+
"member": {
404+
"target": "com.amazonaws.outposts#City"
405+
}
406+
},
401407
"com.amazonaws.outposts#ConflictException": {
402408
"type": "structure",
403409
"members": {
@@ -453,6 +459,12 @@
453459
"smithy.api#pattern": "^[A-Z]{2}$"
454460
}
455461
},
462+
"com.amazonaws.outposts#CountryCodeList": {
463+
"type": "list",
464+
"member": {
465+
"target": "com.amazonaws.outposts#CountryCode"
466+
}
467+
},
456468
"com.amazonaws.outposts#CreateOrder": {
457469
"type": "operation",
458470
"input": {
@@ -1700,7 +1712,7 @@
17001712
}
17011713
],
17021714
"traits": {
1703-
"smithy.api#documentation": "<p>Lists the sites for your Amazon Web Services account.</p>",
1715+
"smithy.api#documentation": "<p>Create a list of the Outpost sites for your Amazon Web Services account. Add operating address filters to your request to\n return a more specific list of results. Use filters to match site city, country code, or state/region of the \n operating address. </p>\n \n <p>If you specify multiple filters, the filters are joined with an <code>AND</code>, and the request returns only \n results that match all of the specified filters.</p>",
17041716
"smithy.api#http": {
17051717
"method": "GET",
17061718
"uri": "/sites",
@@ -1727,6 +1739,27 @@
17271739
"traits": {
17281740
"smithy.api#httpQuery": "MaxResults"
17291741
}
1742+
},
1743+
"OperatingAddressCountryCodeFilter": {
1744+
"target": "com.amazonaws.outposts#CountryCodeList",
1745+
"traits": {
1746+
"smithy.api#documentation": "<p> A filter for the country code of the Outpost site. </p>\n <p>Filter values are case sensitive. If you specify multiple \n values for a filter, the values are joined with an <code>OR</code>, and the request returns \n all results that match any of the specified values.</p>",
1747+
"smithy.api#httpQuery": "OperatingAddressCountryCodeFilter"
1748+
}
1749+
},
1750+
"OperatingAddressStateOrRegionFilter": {
1751+
"target": "com.amazonaws.outposts#StateOrRegionList",
1752+
"traits": {
1753+
"smithy.api#documentation": "<p> A filter for the state/region of the Outpost site. </p>\n <p>Filter values are case sensitive. If you specify multiple \n values for a filter, the values are joined with an <code>OR</code>, and the request returns \n all results that match any of the specified values.</p>",
1754+
"smithy.api#httpQuery": "OperatingAddressStateOrRegionFilter"
1755+
}
1756+
},
1757+
"OperatingAddressCityFilter": {
1758+
"target": "com.amazonaws.outposts#CityList",
1759+
"traits": {
1760+
"smithy.api#documentation": "<p>\n A filter for the city of the Outpost site. \n </p>\n <p>Filter values are case sensitive. If you specify multiple \n values for a filter, the values are joined with an <code>OR</code>, and the request returns \n all results that match any of the specified values.</p>",
1761+
"smithy.api#httpQuery": "OperatingAddressCityFilter"
1762+
}
17301763
}
17311764
}
17321765
},
@@ -2649,6 +2682,12 @@
26492682
"smithy.api#pattern": "^\\S[\\S ]*$"
26502683
}
26512684
},
2685+
"com.amazonaws.outposts#StateOrRegionList": {
2686+
"type": "list",
2687+
"member": {
2688+
"target": "com.amazonaws.outposts#StateOrRegion"
2689+
}
2690+
},
26522691
"com.amazonaws.outposts#String": {
26532692
"type": "string",
26542693
"traits": {

codegen/sdk-codegen/aws-models/secrets-manager.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,7 @@
11441144
}
11451145
],
11461146
"traits": {
1147-
"smithy.api#documentation": "<p>Lists the secrets that are stored by Secrets Manager in the Amazon Web Services account. </p>\n <p>To list the versions of a secret, use <a>ListSecretVersionIds</a>.</p>\n <p>To get the secret value from <code>SecretString</code> or <code>SecretBinary</code>, \n call <a>GetSecretValue</a>.</p> \n <p>For information about finding secrets in the console, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_search-secret.html\">Enhanced search capabilities \n for secrets in Secrets Manager</a>.</p>\n <p>\n <b>Required permissions: </b>\n <code>secretsmanager:ListSecrets</code>. \n For more information, see <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions\">\n IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n and access control in Secrets Manager</a>. </p>",
1147+
"smithy.api#documentation": "<p>Lists the secrets that are stored by Secrets Manager in the Amazon Web Services account, not including secrets \n that are marked for deletion. To see secrets marked for deletion, use the Secrets Manager console.</p>\n <p>To list the versions of a secret, use <a>ListSecretVersionIds</a>.</p>\n <p>To get the secret value from <code>SecretString</code> or <code>SecretBinary</code>, \n call <a>GetSecretValue</a>.</p> \n <p>For information about finding secrets in the console, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_search-secret.html\">Enhanced search capabilities \n for secrets in Secrets Manager</a>.</p>\n <p>\n <b>Required permissions: </b>\n <code>secretsmanager:ListSecrets</code>. \n For more information, see <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions\">\n IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n and access control in Secrets Manager</a>. </p>",
11481148
"smithy.api#paginated": {
11491149
"inputToken": "NextToken",
11501150
"outputToken": "NextToken",

0 commit comments

Comments
 (0)