You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/client-redshift-serverless/src/RedshiftServerless.ts
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1239,7 +1239,8 @@ export class RedshiftServerless extends RedshiftServerlessClient {
1239
1239
}
1240
1240
1241
1241
/**
1242
-
* <p>Restores a table from a snapshot to your Amazon Redshift Serverless instance.</p>
1242
+
* <p>Restores a table from a snapshot to your Amazon Redshift Serverless instance. You can't use this operation to
1243
+
* restore tables with <a href="https://docs.aws.amazon.com/redshift/latest/dg/t_Sorting_data.html#t_Sorting_data-interleaved">interleaved sort keys</a>.</p>
1243
1244
*/
1244
1245
publicrestoreTableFromSnapshot(
1245
1246
args: RestoreTableFromSnapshotCommandInput,
@@ -1361,7 +1362,9 @@ export class RedshiftServerless extends RedshiftServerlessClient {
1361
1362
}
1362
1363
1363
1364
/**
1364
-
* <p>Updates a namespace with the specified settings.</p>
1365
+
* <p>Updates a namespace with the specified settings. Unless required, you can't update multiple parameters in one request. For example,
1366
+
* you must specify both <code>adminUsername</code> and <code>adminUserPassword</code> to update either field, but you can't update both <code>kmsKeyId</code>
1367
+
* and <code>logExports</code> in a single request.</p>
1365
1368
*/
1366
1369
publicupdateNamespace(
1367
1370
args: UpdateNamespaceCommandInput,
@@ -1457,7 +1460,8 @@ export class RedshiftServerless extends RedshiftServerlessClient {
1457
1460
}
1458
1461
1459
1462
/**
1460
-
* <p>Updates a workgroup with the specified configuration settings.</p>
1463
+
* <p>Updates a workgroup with the specified configuration settings. You can't update multiple parameters in one request. For example,
1464
+
* you can update <code>baseCapacity</code> or <code>port</code> in a single request, but you can't update both in the same request.</p>
* <p>Updates a namespace with the specified settings.</p>
36
+
* <p>Updates a namespace with the specified settings. Unless required, you can't update multiple parameters in one request. For example,
37
+
* you must specify both <code>adminUsername</code> and <code>adminUserPassword</code> to update either field, but you can't update both <code>kmsKeyId</code>
38
+
* and <code>logExports</code> in a single request.</p>
37
39
* @example
38
40
* Use a bare-bones client and the command you need to make an API call.
const_data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://redshift-serverless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://redshift-serverless-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://redshift-serverless.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://redshift-serverless.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]};
const_data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:h,UseFIPS:h,Endpoint:{required:b,type:c}},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[q]:"isSet",[r]:[i]}],type:e,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:i,properties:l,headers:l},type:g}]}]},{conditions:[j,k],type:e,rules:[{conditions:[m,n],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://redshift-serverless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:o,type:e,rules:[{conditions:[m],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://redshift-serverless-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:p,type:e,rules:[{conditions:[n],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://redshift-serverless.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{type:e,rules:[{endpoint:{url:"https://redshift-serverless.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]}]};
* <p>An array of parameters to set for more control over a serverless database. The
757
-
* options are <code>datestyle</code>, <code>enable_user_activity_logging</code>,
758
-
* <code>query_group</code>, <code>search_path</code>, and <code>max_query_execution_time</code>.</p>
758
+
* <p>An array of parameters to set for advanced control over a database. The
759
+
* options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitivity_identifier</code>, <code>enable_user_activity_logging</code>,
760
+
* <code>query_group</code>, <code>search_path</code>, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see
* Query monitoring metrics for Amazon Redshift Serverless</a>.</p>
759
763
*/
760
764
configParameters?: ConfigParameter[];
761
765
@@ -848,9 +852,10 @@ export interface Workgroup {
848
852
enhancedVpcRouting?: boolean;
849
853
850
854
/**
851
-
* <p>An array of parameters to set for finer control over a database. The
852
-
* options are <code>datestyle</code>, <code>enable_user_activity_logging</code>,
853
-
* <code>query_group</code>, <code>search_path</code>, and <code>max_query_execution_time</code>.</p>
855
+
* <p>An array of parameters to set for advanced control over a database. The
856
+
* options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitivity_identifier</code>, <code>enable_user_activity_logging</code>,
857
+
* <code>query_group</code>, , <code>search_path</code>, and query monitoring metrics that let you define performance boundaries.
858
+
* For more information about query monitoring rules and available metrics, see <a href="https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless"> Query monitoring metrics for Amazon Redshift Serverless</a>.</p>
0 commit comments