Skip to content

Commit 044806b

Browse files
author
awstools
committed
feat(client-redshift-serverless): Update Redshift Serverless List Scheduled Actions Output Response to include Namespace Name.
1 parent 7a4330d commit 044806b

File tree

4 files changed

+58
-16
lines changed

4 files changed

+58
-16
lines changed

clients/client-redshift-serverless/src/commands/ListScheduledActionsCommand.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ export interface ListScheduledActionsCommandOutput extends ListScheduledActionsR
4848
* // { // ListScheduledActionsResponse
4949
* // nextToken: "STRING_VALUE",
5050
* // scheduledActions: [ // ScheduledActionsList
51-
* // "STRING_VALUE",
51+
* // { // ScheduledActionAssociation
52+
* // namespaceName: "STRING_VALUE",
53+
* // scheduledActionName: "STRING_VALUE",
54+
* // },
5255
* // ],
5356
* // };
5457
*

clients/client-redshift-serverless/src/models/models_0.ts

+25-8
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export interface ConfigParameter {
6363
/**
6464
* <p>The key of the parameter. The
6565
* options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitive_identifier</code>, <code>enable_user_activity_logging</code>,
66-
* <code>query_group</code>, <code>search_path</code>, <code>require_ssl</code>, and query monitoring metrics that let
66+
* <code>query_group</code>, <code>search_path</code>, <code>require_ssl</code>, <code>use_fips_ssl</code>, and query monitoring metrics that let
6767
* you define performance boundaries. For more information about query monitoring rules and available metrics, see
6868
* <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>
6969
* @public
@@ -1514,7 +1514,7 @@ export interface CreateWorkgroupRequest {
15141514
/**
15151515
* <p>An array of parameters to set for advanced control over a database. The
15161516
* options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitive_identifier</code>, <code>enable_user_activity_logging</code>,
1517-
* <code>query_group</code>, <code>search_path</code>, <code>require_ssl</code>, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see
1517+
* <code>query_group</code>, <code>search_path</code>, <code>require_ssl</code>, <code>use_fips_ssl</code>, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see
15181518
* <a href="https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless">
15191519
* Query monitoring metrics for Amazon Redshift Serverless</a>.</p>
15201520
* @public
@@ -1643,7 +1643,7 @@ export interface Workgroup {
16431643
/**
16441644
* <p>An array of parameters to set for advanced control over a database. The
16451645
* options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitive_identifier</code>, <code>enable_user_activity_logging</code>,
1646-
* <code>query_group</code>, <code>search_path</code>, <code>require_ssl</code>, and query monitoring metrics that let you define performance boundaries.
1646+
* <code>query_group</code>, <code>search_path</code>, <code>require_ssl</code>, <code>use_fips_ssl</code>, and query monitoring metrics that let you define performance boundaries.
16471647
* 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>
16481648
* @public
16491649
*/
@@ -1674,8 +1674,7 @@ export interface Workgroup {
16741674
endpoint?: Endpoint;
16751675

16761676
/**
1677-
* <p>A value that specifies whether the workgroup
1678-
* can be accessible from a public network</p>
1677+
* <p>A value that specifies whether the workgroup can be accessible from a public network.</p>
16791678
* @public
16801679
*/
16811680
publiclyAccessible?: boolean;
@@ -2760,6 +2759,24 @@ export interface ListScheduledActionsRequest {
27602759
namespaceName?: string;
27612760
}
27622761

2762+
/**
2763+
* <p>Contains names of objects associated with a scheduled action.</p>
2764+
* @public
2765+
*/
2766+
export interface ScheduledActionAssociation {
2767+
/**
2768+
* <p>Name of associated Amazon Redshift Serverless namespace.</p>
2769+
* @public
2770+
*/
2771+
namespaceName?: string;
2772+
2773+
/**
2774+
* <p>Name of associated scheduled action.</p>
2775+
* @public
2776+
*/
2777+
scheduledActionName?: string;
2778+
}
2779+
27632780
/**
27642781
* @public
27652782
*/
@@ -2771,10 +2788,10 @@ export interface ListScheduledActionsResponse {
27712788
nextToken?: string;
27722789

27732790
/**
2774-
* <p>All of the returned scheduled action objects.</p>
2791+
* <p>All of the returned scheduled action association objects.</p>
27752792
* @public
27762793
*/
2777-
scheduledActions?: string[];
2794+
scheduledActions?: ScheduledActionAssociation[];
27782795
}
27792796

27802797
/**
@@ -3734,7 +3751,7 @@ export interface UpdateWorkgroupRequest {
37343751
/**
37353752
* <p>An array of parameters to set for advanced control over a database. The
37363753
* options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitive_identifier</code>, <code>enable_user_activity_logging</code>,
3737-
* <code>query_group</code>, <code>search_path</code>, <code>require_ssl</code>, and query monitoring metrics that let you
3754+
* <code>query_group</code>, <code>search_path</code>, <code>require_ssl</code>, <code>use_fips_ssl</code>, and query monitoring metrics that let you
37383755
* define performance boundaries. For more information about query monitoring rules and available metrics, see
37393756
* <a href="https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless">
37403757
* Query monitoring metrics for Amazon Redshift Serverless</a>.</p>

clients/client-redshift-serverless/src/protocols/Aws_json1_1.ts

+2
Original file line numberDiff line numberDiff line change
@@ -3021,6 +3021,8 @@ const de_Schedule = (output: any, context: __SerdeContext): Schedule => {
30213021
return { $unknown: Object.entries(output)[0] };
30223022
};
30233023

3024+
// de_ScheduledActionAssociation omitted.
3025+
30243026
/**
30253027
* deserializeAws_json1_1ScheduledActionResponse
30263028
*/

codegen/sdk-codegen/aws-models/redshift-serverless.json

+27-7
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"parameterKey": {
7878
"target": "com.amazonaws.redshiftserverless#ParameterKey",
7979
"traits": {
80-
"smithy.api#documentation": "<p>The key of the parameter. The\n options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitive_identifier</code>, <code>enable_user_activity_logging</code>,\n <code>query_group</code>, <code>search_path</code>, <code>require_ssl</code>, and query monitoring metrics that let \n you define performance boundaries. For more information about query monitoring rules and available metrics, see \n <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>"
80+
"smithy.api#documentation": "<p>The key of the parameter. The\n options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitive_identifier</code>, <code>enable_user_activity_logging</code>,\n <code>query_group</code>, <code>search_path</code>, <code>require_ssl</code>, <code>use_fips_ssl</code>, and query monitoring metrics that let \n you define performance boundaries. For more information about query monitoring rules and available metrics, see \n <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>"
8181
}
8282
},
8383
"parameterValue": {
@@ -951,7 +951,7 @@
951951
"configParameters": {
952952
"target": "com.amazonaws.redshiftserverless#ConfigParameterList",
953953
"traits": {
954-
"smithy.api#documentation": "<p>An array of parameters to set for advanced control over a database. The\n options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitive_identifier</code>, <code>enable_user_activity_logging</code>,\n <code>query_group</code>, <code>search_path</code>, <code>require_ssl</code>, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see \n <a href=\"https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless\">\n Query monitoring metrics for Amazon Redshift Serverless</a>.</p>"
954+
"smithy.api#documentation": "<p>An array of parameters to set for advanced control over a database. The\n options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitive_identifier</code>, <code>enable_user_activity_logging</code>,\n <code>query_group</code>, <code>search_path</code>, <code>require_ssl</code>, <code>use_fips_ssl</code>, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see \n <a href=\"https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless\">\n Query monitoring metrics for Amazon Redshift Serverless</a>.</p>"
955955
}
956956
},
957957
"securityGroupIds": {
@@ -2855,7 +2855,7 @@
28552855
"scheduledActions": {
28562856
"target": "com.amazonaws.redshiftserverless#ScheduledActionsList",
28572857
"traits": {
2858-
"smithy.api#documentation": "<p>All of the returned scheduled action objects.</p>"
2858+
"smithy.api#documentation": "<p>All of the returned scheduled action association objects.</p>"
28592859
}
28602860
}
28612861
},
@@ -5081,6 +5081,26 @@
50815081
"smithy.api#documentation": "<p>The schedule of when Amazon Redshift Serverless should run the scheduled action.</p>"
50825082
}
50835083
},
5084+
"com.amazonaws.redshiftserverless#ScheduledActionAssociation": {
5085+
"type": "structure",
5086+
"members": {
5087+
"namespaceName": {
5088+
"target": "com.amazonaws.redshiftserverless#NamespaceName",
5089+
"traits": {
5090+
"smithy.api#documentation": "<p>Name of associated Amazon Redshift Serverless namespace.</p>"
5091+
}
5092+
},
5093+
"scheduledActionName": {
5094+
"target": "com.amazonaws.redshiftserverless#ScheduledActionName",
5095+
"traits": {
5096+
"smithy.api#documentation": "<p>Name of associated scheduled action.</p>"
5097+
}
5098+
}
5099+
},
5100+
"traits": {
5101+
"smithy.api#documentation": "<p>Contains names of objects associated with a scheduled action.</p>"
5102+
}
5103+
},
50845104
"com.amazonaws.redshiftserverless#ScheduledActionName": {
50855105
"type": "string",
50865106
"traits": {
@@ -5185,7 +5205,7 @@
51855205
"com.amazonaws.redshiftserverless#ScheduledActionsList": {
51865206
"type": "list",
51875207
"member": {
5188-
"target": "com.amazonaws.redshiftserverless#ScheduledActionName"
5208+
"target": "com.amazonaws.redshiftserverless#ScheduledActionAssociation"
51895209
}
51905210
},
51915211
"com.amazonaws.redshiftserverless#SecurityGroupId": {
@@ -6463,7 +6483,7 @@
64636483
"configParameters": {
64646484
"target": "com.amazonaws.redshiftserverless#ConfigParameterList",
64656485
"traits": {
6466-
"smithy.api#documentation": "<p>An array of parameters to set for advanced control over a database. The\n options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitive_identifier</code>, <code>enable_user_activity_logging</code>,\n <code>query_group</code>, <code>search_path</code>, <code>require_ssl</code>, and query monitoring metrics that let you \n define performance boundaries. For more information about query monitoring rules and available metrics, see \n <a href=\"https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless\"> \n Query monitoring metrics for Amazon Redshift Serverless</a>.</p>"
6486+
"smithy.api#documentation": "<p>An array of parameters to set for advanced control over a database. The\n options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitive_identifier</code>, <code>enable_user_activity_logging</code>,\n <code>query_group</code>, <code>search_path</code>, <code>require_ssl</code>, <code>use_fips_ssl</code>, and query monitoring metrics that let you \n define performance boundaries. For more information about query monitoring rules and available metrics, see \n <a href=\"https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless\"> \n Query monitoring metrics for Amazon Redshift Serverless</a>.</p>"
64676487
}
64686488
},
64696489
"publiclyAccessible": {
@@ -6782,7 +6802,7 @@
67826802
"configParameters": {
67836803
"target": "com.amazonaws.redshiftserverless#ConfigParameterList",
67846804
"traits": {
6785-
"smithy.api#documentation": "<p>An array of parameters to set for advanced control over a database. The\n options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitive_identifier</code>, <code>enable_user_activity_logging</code>,\n <code>query_group</code>, <code>search_path</code>, <code>require_ssl</code>, and query monitoring metrics that let you define performance boundaries. \n 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>"
6805+
"smithy.api#documentation": "<p>An array of parameters to set for advanced control over a database. The\n options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitive_identifier</code>, <code>enable_user_activity_logging</code>,\n <code>query_group</code>, <code>search_path</code>, <code>require_ssl</code>, <code>use_fips_ssl</code>, and query monitoring metrics that let you define performance boundaries. \n 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>"
67866806
}
67876807
},
67886808
"securityGroupIds": {
@@ -6812,7 +6832,7 @@
68126832
"publiclyAccessible": {
68136833
"target": "smithy.api#Boolean",
68146834
"traits": {
6815-
"smithy.api#documentation": "<p>A value that specifies whether the workgroup \n can be accessible from a public network</p>"
6835+
"smithy.api#documentation": "<p>A value that specifies whether the workgroup can be accessible from a public network.</p>"
68166836
}
68176837
},
68186838
"creationDate": {

0 commit comments

Comments
 (0)