|
170 | 170 | {"shape":"ValidationException"},
|
171 | 171 | {"shape":"InternalServerException"}
|
172 | 172 | ],
|
173 |
| - "documentation":"<p>List of SQL statements. By default, only finished statements are shown. A token is returned to page through the statement list. </p> <p>For more information about the Amazon Redshift Data API and CLI usage examples, see <a href=\"https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html\">Using the Amazon Redshift Data API</a> in the <i>Amazon Redshift Management Guide</i>. </p>" |
| 173 | + "documentation":"<p>List of SQL statements. By default, only finished statements are shown. A token is returned to page through the statement list. </p> <p>When you use identity-enhanced role sessions to list statements, you must provide either the <code>cluster-identifier</code> or <code>workgroup-name</code> parameter. This ensures that the IdC user can only access the Amazon Redshift IdC applications they are assigned. For more information, see <a href=\"https://docs.aws.amazon.com/singlesignon/latest/userguide/trustedidentitypropagation-overview.html\"> Trusted identity propagation overview</a>.</p> <p>For more information about the Amazon Redshift Data API and CLI usage examples, see <a href=\"https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html\">Using the Amazon Redshift Data API</a> in the <i>Amazon Redshift Management Guide</i>. </p>" |
174 | 174 | },
|
175 | 175 | "ListTables":{
|
176 | 176 | "name":"ListTables",
|
|
971 | 971 | "ListStatementsRequest":{
|
972 | 972 | "type":"structure",
|
973 | 973 | "members":{
|
| 974 | + "ClusterIdentifier":{ |
| 975 | + "shape":"ClusterIdentifierString", |
| 976 | + "documentation":"<p>The cluster identifier. Only statements that ran on this cluster are returned. When providing <code>ClusterIdentifier</code>, then <code>WorkgroupName</code> can't be specified.</p>" |
| 977 | + }, |
| 978 | + "Database":{ |
| 979 | + "shape":"String", |
| 980 | + "documentation":"<p>The name of the database when listing statements run against a <code>ClusterIdentifier</code> or <code>WorkgroupName</code>. </p>" |
| 981 | + }, |
974 | 982 | "MaxResults":{
|
975 | 983 | "shape":"ListStatementsLimit",
|
976 | 984 | "documentation":"<p>The maximum number of SQL statements to return in the response. If more SQL statements exist than fit in one response, then <code>NextToken</code> is returned to page through the results. </p>"
|
|
990 | 998 | "Status":{
|
991 | 999 | "shape":"StatusString",
|
992 | 1000 | "documentation":"<p>The status of the SQL statement to list. Status values are defined as follows: </p> <ul> <li> <p>ABORTED - The query run was stopped by the user. </p> </li> <li> <p>ALL - A status value that includes all query statuses. This value can be used to filter results. </p> </li> <li> <p>FAILED - The query run failed. </p> </li> <li> <p>FINISHED - The query has finished running. </p> </li> <li> <p>PICKED - The query has been chosen to be run. </p> </li> <li> <p>STARTED - The query run has started. </p> </li> <li> <p>SUBMITTED - The query was submitted, but not yet processed. </p> </li> </ul>"
|
| 1001 | + }, |
| 1002 | + "WorkgroupName":{ |
| 1003 | + "shape":"WorkgroupNameString", |
| 1004 | + "documentation":"<p>The serverless workgroup name or Amazon Resource Name (ARN). Only statements that ran on this workgroup are returned. When providing <code>WorkgroupName</code>, then <code>ClusterIdentifier</code> can't be specified.</p>" |
993 | 1005 | }
|
994 | 1006 | }
|
995 | 1007 | },
|
|
1359 | 1371 | "type":"string",
|
1360 | 1372 | "max":128,
|
1361 | 1373 | "min":3,
|
1362 |
| - "pattern":"^(([a-z0-9-]+)|(arn:(aws(-[a-z]+)*):redshift-serverless:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:workgroup/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}))$" |
| 1374 | + "pattern":"^(([a-z0-9-]+)|(arn:(aws(-[a-z]+)*):redshift-serverless:[a-z]{2}(-gov|(-iso[a-z]?))?-[a-z]+-\\d{1}:\\d{12}:workgroup/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}))$" |
1363 | 1375 | },
|
1364 | 1376 | "bool":{"type":"boolean"}
|
1365 | 1377 | },
|
|
0 commit comments