@aws-sdk/client-redshift-serverless 3.461.0 → 3.463.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +80 -0
- package/dist-cjs/RedshiftServerless.js +20 -0
- package/dist-cjs/commands/CreateScheduledActionCommand.js +51 -0
- package/dist-cjs/commands/CreateSnapshotCopyConfigurationCommand.js +51 -0
- package/dist-cjs/commands/DeleteScheduledActionCommand.js +51 -0
- package/dist-cjs/commands/DeleteSnapshotCopyConfigurationCommand.js +51 -0
- package/dist-cjs/commands/GetScheduledActionCommand.js +51 -0
- package/dist-cjs/commands/ListScheduledActionsCommand.js +51 -0
- package/dist-cjs/commands/ListSnapshotCopyConfigurationsCommand.js +51 -0
- package/dist-cjs/commands/RestoreTableFromRecoveryPointCommand.js +51 -0
- package/dist-cjs/commands/UpdateScheduledActionCommand.js +51 -0
- package/dist-cjs/commands/UpdateSnapshotCopyConfigurationCommand.js +51 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/models/models_0.js +23 -1
- package/dist-cjs/pagination/ListScheduledActionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListSnapshotCopyConfigurationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_json1_1.js +596 -2
- package/dist-es/RedshiftServerless.js +20 -0
- package/dist-es/commands/CreateScheduledActionCommand.js +47 -0
- package/dist-es/commands/CreateSnapshotCopyConfigurationCommand.js +47 -0
- package/dist-es/commands/DeleteScheduledActionCommand.js +47 -0
- package/dist-es/commands/DeleteSnapshotCopyConfigurationCommand.js +47 -0
- package/dist-es/commands/GetScheduledActionCommand.js +47 -0
- package/dist-es/commands/ListScheduledActionsCommand.js +47 -0
- package/dist-es/commands/ListSnapshotCopyConfigurationsCommand.js +47 -0
- package/dist-es/commands/RestoreTableFromRecoveryPointCommand.js +47 -0
- package/dist-es/commands/UpdateScheduledActionCommand.js +47 -0
- package/dist-es/commands/UpdateSnapshotCopyConfigurationCommand.js +47 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +22 -0
- package/dist-es/pagination/ListScheduledActionsPaginator.js +25 -0
- package/dist-es/pagination/ListSnapshotCopyConfigurationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +574 -1
- package/dist-types/RedshiftServerless.d.ts +70 -0
- package/dist-types/RedshiftServerlessClient.d.ts +12 -2
- package/dist-types/commands/CreateEndpointAccessCommand.d.ts +1 -0
- package/dist-types/commands/CreateScheduledActionCommand.d.ts +138 -0
- package/dist-types/commands/CreateSnapshotCopyConfigurationCommand.d.ts +101 -0
- package/dist-types/commands/CreateWorkgroupCommand.d.ts +3 -0
- package/dist-types/commands/DeleteScheduledActionCommand.d.ts +111 -0
- package/dist-types/commands/DeleteSnapshotCopyConfigurationCommand.d.ts +95 -0
- package/dist-types/commands/DeleteWorkgroupCommand.d.ts +3 -0
- package/dist-types/commands/GetScheduledActionCommand.d.ts +111 -0
- package/dist-types/commands/GetTableRestoreStatusCommand.d.ts +1 -0
- package/dist-types/commands/GetWorkgroupCommand.d.ts +3 -0
- package/dist-types/commands/ListEndpointAccessCommand.d.ts +1 -0
- package/dist-types/commands/ListScheduledActionsCommand.d.ts +90 -0
- package/dist-types/commands/ListSnapshotCopyConfigurationsCommand.d.ts +100 -0
- package/dist-types/commands/ListTableRestoreStatusCommand.d.ts +1 -0
- package/dist-types/commands/ListWorkgroupsCommand.d.ts +4 -0
- package/dist-types/commands/RestoreTableFromRecoveryPointCommand.d.ts +111 -0
- package/dist-types/commands/RestoreTableFromSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/UpdateScheduledActionCommand.d.ts +136 -0
- package/dist-types/commands/UpdateSnapshotCopyConfigurationCommand.d.ts +96 -0
- package/dist-types/commands/UpdateWorkgroupCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +648 -8
- package/dist-types/pagination/ListScheduledActionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSnapshotCopyConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +90 -0
- package/dist-types/ts3.4/RedshiftServerless.d.ts +170 -0
- package/dist-types/ts3.4/RedshiftServerlessClient.d.ts +60 -0
- package/dist-types/ts3.4/commands/CreateScheduledActionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateSnapshotCopyConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteScheduledActionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteSnapshotCopyConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetScheduledActionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListScheduledActionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListSnapshotCopyConfigurationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/RestoreTableFromRecoveryPointCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateScheduledActionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateSnapshotCopyConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +176 -0
- package/dist-types/ts3.4/pagination/ListScheduledActionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSnapshotCopyConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +120 -0
- package/package.json +2 -2
|
@@ -47,7 +47,7 @@ export interface ConfigParameter {
|
|
|
47
47
|
/**
|
|
48
48
|
* @public
|
|
49
49
|
* <p>The key of the parameter. The
|
|
50
|
-
* options are <code>auto_mv</code>, <code>datestyle</code>, <code>
|
|
50
|
+
* options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitive_identifier</code>, <code>enable_user_activity_logging</code>,
|
|
51
51
|
* <code>query_group</code>, <code>search_path</code>, and query monitoring metrics that let
|
|
52
52
|
* you define performance boundaries. For more information about query monitoring rules and available metrics, see
|
|
53
53
|
* <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>
|
|
@@ -414,6 +414,11 @@ export interface CreateEndpointAccessRequest {
|
|
|
414
414
|
* protocols, and sources for inbound traffic that you are authorizing into your endpoint.</p>
|
|
415
415
|
*/
|
|
416
416
|
vpcSecurityGroupIds?: string[];
|
|
417
|
+
/**
|
|
418
|
+
* @public
|
|
419
|
+
* <p>The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.</p>
|
|
420
|
+
*/
|
|
421
|
+
ownerAccount?: string;
|
|
417
422
|
}
|
|
418
423
|
/**
|
|
419
424
|
* @public
|
|
@@ -729,6 +734,264 @@ export interface CreateNamespaceResponse {
|
|
|
729
734
|
*/
|
|
730
735
|
namespace?: Namespace;
|
|
731
736
|
}
|
|
737
|
+
/**
|
|
738
|
+
* @public
|
|
739
|
+
* <p>The schedule of when Amazon Redshift Serverless should run the scheduled action.</p>
|
|
740
|
+
*/
|
|
741
|
+
export type Schedule = Schedule.AtMember | Schedule.CronMember | Schedule.$UnknownMember;
|
|
742
|
+
/**
|
|
743
|
+
* @public
|
|
744
|
+
*/
|
|
745
|
+
export declare namespace Schedule {
|
|
746
|
+
/**
|
|
747
|
+
* @public
|
|
748
|
+
* <p>The timestamp of when Amazon Redshift Serverless should run the scheduled action. Format of at expressions is "<code>at(yyyy-mm-ddThh:mm:ss)</code>". For example, "<code>at(2016-03-04T17:27:00)</code>".</p>
|
|
749
|
+
*/
|
|
750
|
+
interface AtMember {
|
|
751
|
+
at: Date;
|
|
752
|
+
cron?: never;
|
|
753
|
+
$unknown?: never;
|
|
754
|
+
}
|
|
755
|
+
/**
|
|
756
|
+
* @public
|
|
757
|
+
* <p>The cron expression to use to schedule a recurring scheduled action. Schedule invocations must be separated by at least one hour.</p>
|
|
758
|
+
* <p>Format of cron expressions is "<code>cron(Minutes Hours Day-of-month Month Day-of-week Year)</code>". For example, "<code>cron(0 10 ? * MON *)</code>". For more information, see
|
|
759
|
+
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions">Cron Expressions</a> in the <i>Amazon CloudWatch Events User Guide</i>.</p>
|
|
760
|
+
*/
|
|
761
|
+
interface CronMember {
|
|
762
|
+
at?: never;
|
|
763
|
+
cron: string;
|
|
764
|
+
$unknown?: never;
|
|
765
|
+
}
|
|
766
|
+
/**
|
|
767
|
+
* @public
|
|
768
|
+
*/
|
|
769
|
+
interface $UnknownMember {
|
|
770
|
+
at?: never;
|
|
771
|
+
cron?: never;
|
|
772
|
+
$unknown: [string, any];
|
|
773
|
+
}
|
|
774
|
+
interface Visitor<T> {
|
|
775
|
+
at: (value: Date) => T;
|
|
776
|
+
cron: (value: string) => T;
|
|
777
|
+
_: (name: string, value: any) => T;
|
|
778
|
+
}
|
|
779
|
+
const visit: <T>(value: Schedule, visitor: Visitor<T>) => T;
|
|
780
|
+
}
|
|
781
|
+
/**
|
|
782
|
+
* @public
|
|
783
|
+
* <p>The parameters that you can use to configure a <a href="https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_CreateScheduledAction.html">scheduled action</a> to create a snapshot. For more information about creating a scheduled action, see
|
|
784
|
+
* <a href="https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_CreateScheduledAction.html">CreateScheduledAction</a>.</p>
|
|
785
|
+
*/
|
|
786
|
+
export interface CreateSnapshotScheduleActionParameters {
|
|
787
|
+
/**
|
|
788
|
+
* @public
|
|
789
|
+
* <p>The name of the namespace for which you want to configure a scheduled action to create a snapshot.</p>
|
|
790
|
+
*/
|
|
791
|
+
namespaceName: string | undefined;
|
|
792
|
+
/**
|
|
793
|
+
* @public
|
|
794
|
+
* <p>A string prefix that is attached to the name of the snapshot created by the scheduled action. The final
|
|
795
|
+
* name of the snapshot is the string prefix appended by the date and time of when the snapshot was created.</p>
|
|
796
|
+
*/
|
|
797
|
+
snapshotNamePrefix: string | undefined;
|
|
798
|
+
/**
|
|
799
|
+
* @public
|
|
800
|
+
* <p>The retention period of the snapshot created by the scheduled action.</p>
|
|
801
|
+
*/
|
|
802
|
+
retentionPeriod?: number;
|
|
803
|
+
/**
|
|
804
|
+
* @public
|
|
805
|
+
* <p>An array of <a href="https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_Tag.html">Tag objects</a> to associate with the snapshot.</p>
|
|
806
|
+
*/
|
|
807
|
+
tags?: Tag[];
|
|
808
|
+
}
|
|
809
|
+
/**
|
|
810
|
+
* @public
|
|
811
|
+
* <p>A JSON format string of the Amazon Redshift Serverless API operation with input parameters. The following is an example of a target action.</p>
|
|
812
|
+
* <p>
|
|
813
|
+
* <code>"\{"CreateSnapshot": \{"NamespaceName": "sampleNamespace","SnapshotName": "sampleSnapshot", "retentionPeriod": "1"\}\}"</code>
|
|
814
|
+
* </p>
|
|
815
|
+
*/
|
|
816
|
+
export type TargetAction = TargetAction.CreateSnapshotMember | TargetAction.$UnknownMember;
|
|
817
|
+
/**
|
|
818
|
+
* @public
|
|
819
|
+
*/
|
|
820
|
+
export declare namespace TargetAction {
|
|
821
|
+
/**
|
|
822
|
+
* @public
|
|
823
|
+
* <p>The parameters that you can use to configure a <a href="https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_CreateScheduledAction.html">scheduled action</a> to create a snapshot. For more information about creating a scheduled action, see
|
|
824
|
+
* <a href="https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_CreateScheduledAction.html">CreateScheduledAction</a>.</p>
|
|
825
|
+
*/
|
|
826
|
+
interface CreateSnapshotMember {
|
|
827
|
+
createSnapshot: CreateSnapshotScheduleActionParameters;
|
|
828
|
+
$unknown?: never;
|
|
829
|
+
}
|
|
830
|
+
/**
|
|
831
|
+
* @public
|
|
832
|
+
*/
|
|
833
|
+
interface $UnknownMember {
|
|
834
|
+
createSnapshot?: never;
|
|
835
|
+
$unknown: [string, any];
|
|
836
|
+
}
|
|
837
|
+
interface Visitor<T> {
|
|
838
|
+
createSnapshot: (value: CreateSnapshotScheduleActionParameters) => T;
|
|
839
|
+
_: (name: string, value: any) => T;
|
|
840
|
+
}
|
|
841
|
+
const visit: <T>(value: TargetAction, visitor: Visitor<T>) => T;
|
|
842
|
+
}
|
|
843
|
+
/**
|
|
844
|
+
* @public
|
|
845
|
+
*/
|
|
846
|
+
export interface CreateScheduledActionRequest {
|
|
847
|
+
/**
|
|
848
|
+
* @public
|
|
849
|
+
* <p>The name of the scheduled action.</p>
|
|
850
|
+
*/
|
|
851
|
+
scheduledActionName: string | undefined;
|
|
852
|
+
/**
|
|
853
|
+
* @public
|
|
854
|
+
* <p>A JSON format string of the Amazon Redshift Serverless API operation with input parameters. The following is an example of a target action.</p>
|
|
855
|
+
* <p>
|
|
856
|
+
* <code>"\{"CreateSnapshot": \{"NamespaceName": "sampleNamespace","SnapshotName": "sampleSnapshot", "retentionPeriod": "1"\}\}"</code>
|
|
857
|
+
* </p>
|
|
858
|
+
*/
|
|
859
|
+
targetAction: TargetAction | undefined;
|
|
860
|
+
/**
|
|
861
|
+
* @public
|
|
862
|
+
* <p>The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour.</p>
|
|
863
|
+
* <p>Format of at expressions is "<code>at(yyyy-mm-ddThh:mm:ss)</code>". For example, "<code>at(2016-03-04T17:27:00)</code>".</p>
|
|
864
|
+
* <p>Format of cron expressions is "<code>cron(Minutes Hours Day-of-month Month Day-of-week Year)</code>". For example, "<code>cron(0 10 ? * MON *)</code>". For more information, see
|
|
865
|
+
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions">Cron Expressions</a> in the <i>Amazon CloudWatch Events User Guide</i>.</p>
|
|
866
|
+
*/
|
|
867
|
+
schedule: Schedule | undefined;
|
|
868
|
+
/**
|
|
869
|
+
* @public
|
|
870
|
+
* <p>The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action.
|
|
871
|
+
* This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots. (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf.
|
|
872
|
+
* For more information about the IAM role to use with the Amazon Redshift scheduler, see <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html">Using Identity-Based Policies for
|
|
873
|
+
* Amazon Redshift</a> in the Amazon Redshift Cluster Management Guide</p>
|
|
874
|
+
*/
|
|
875
|
+
roleArn: string | undefined;
|
|
876
|
+
/**
|
|
877
|
+
* @public
|
|
878
|
+
* <p>The name of the namespace for which to create a scheduled action.</p>
|
|
879
|
+
*/
|
|
880
|
+
namespaceName: string | undefined;
|
|
881
|
+
/**
|
|
882
|
+
* @public
|
|
883
|
+
* <p>Indicates whether the schedule is enabled. If false, the scheduled action does not trigger. For more information about <code>state</code>
|
|
884
|
+
* of the scheduled action, see <a href="https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_ScheduledAction.html">ScheduledAction</a>.</p>
|
|
885
|
+
*/
|
|
886
|
+
enabled?: boolean;
|
|
887
|
+
/**
|
|
888
|
+
* @public
|
|
889
|
+
* <p>The description of the scheduled action.</p>
|
|
890
|
+
*/
|
|
891
|
+
scheduledActionDescription?: string;
|
|
892
|
+
/**
|
|
893
|
+
* @public
|
|
894
|
+
* <p>The start time in UTC when the schedule is active. Before this time, the scheduled action does not trigger.</p>
|
|
895
|
+
*/
|
|
896
|
+
startTime?: Date;
|
|
897
|
+
/**
|
|
898
|
+
* @public
|
|
899
|
+
* <p>The end time in UTC when the schedule is no longer active. After this time, the scheduled action does not trigger.</p>
|
|
900
|
+
*/
|
|
901
|
+
endTime?: Date;
|
|
902
|
+
}
|
|
903
|
+
/**
|
|
904
|
+
* @public
|
|
905
|
+
* @enum
|
|
906
|
+
*/
|
|
907
|
+
export declare const State: {
|
|
908
|
+
readonly ACTIVE: "ACTIVE";
|
|
909
|
+
readonly DISABLED: "DISABLED";
|
|
910
|
+
};
|
|
911
|
+
/**
|
|
912
|
+
* @public
|
|
913
|
+
*/
|
|
914
|
+
export type State = (typeof State)[keyof typeof State];
|
|
915
|
+
/**
|
|
916
|
+
* @public
|
|
917
|
+
* <p>The returned scheduled action object.</p>
|
|
918
|
+
*/
|
|
919
|
+
export interface ScheduledActionResponse {
|
|
920
|
+
/**
|
|
921
|
+
* @public
|
|
922
|
+
* <p>The name of the scheduled action.</p>
|
|
923
|
+
*/
|
|
924
|
+
scheduledActionName?: string;
|
|
925
|
+
/**
|
|
926
|
+
* @public
|
|
927
|
+
* <p>The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour.</p>
|
|
928
|
+
* <p>Format of at expressions is "<code>at(yyyy-mm-ddThh:mm:ss)</code>". For example, "<code>at(2016-03-04T17:27:00)</code>".</p>
|
|
929
|
+
* <p>Format of cron expressions is "<code>cron(Minutes Hours Day-of-month Month Day-of-week Year)</code>". For example, "<code>cron(0 10 ? * MON *)</code>". For more information, see
|
|
930
|
+
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions">Cron Expressions</a> in the <i>Amazon CloudWatch Events User Guide</i>.</p>
|
|
931
|
+
*/
|
|
932
|
+
schedule?: Schedule;
|
|
933
|
+
/**
|
|
934
|
+
* @public
|
|
935
|
+
* <p>The description of the scheduled action.</p>
|
|
936
|
+
*/
|
|
937
|
+
scheduledActionDescription?: string;
|
|
938
|
+
/**
|
|
939
|
+
* @public
|
|
940
|
+
* <p>An array of timestamps of when the next scheduled actions will trigger.</p>
|
|
941
|
+
*/
|
|
942
|
+
nextInvocations?: Date[];
|
|
943
|
+
/**
|
|
944
|
+
* @public
|
|
945
|
+
* <p>The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action.
|
|
946
|
+
* This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots. (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf.
|
|
947
|
+
* For more information about the IAM role to use with the Amazon Redshift scheduler, see <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html">Using Identity-Based Policies for
|
|
948
|
+
* Amazon Redshift</a> in the Amazon Redshift Cluster Management Guide</p>
|
|
949
|
+
*/
|
|
950
|
+
roleArn?: string;
|
|
951
|
+
/**
|
|
952
|
+
* @public
|
|
953
|
+
* <p>The state of the scheduled action.</p>
|
|
954
|
+
*/
|
|
955
|
+
state?: State;
|
|
956
|
+
/**
|
|
957
|
+
* @public
|
|
958
|
+
* <p>The start time in UTC when the schedule is active. Before this time, the scheduled action does not trigger.</p>
|
|
959
|
+
*/
|
|
960
|
+
startTime?: Date;
|
|
961
|
+
/**
|
|
962
|
+
* @public
|
|
963
|
+
* <p>The end time of </p>
|
|
964
|
+
*/
|
|
965
|
+
endTime?: Date;
|
|
966
|
+
/**
|
|
967
|
+
* @public
|
|
968
|
+
* <p>A JSON format string of the Amazon Redshift Serverless API operation with input parameters. The following is an example of a target action.</p>
|
|
969
|
+
* <p>
|
|
970
|
+
* <code>"\{"CreateSnapshot": \{"NamespaceName": "sampleNamespace","SnapshotName": "sampleSnapshot", "retentionPeriod": "1"\}\}"</code>
|
|
971
|
+
* </p>
|
|
972
|
+
*/
|
|
973
|
+
targetAction?: TargetAction;
|
|
974
|
+
/**
|
|
975
|
+
* @public
|
|
976
|
+
* <p>The end time in UTC when the schedule is no longer active. After this time, the scheduled action does not trigger.</p>
|
|
977
|
+
*/
|
|
978
|
+
namespaceName?: string;
|
|
979
|
+
/**
|
|
980
|
+
* @public
|
|
981
|
+
* <p>The uuid of the scheduled action.</p>
|
|
982
|
+
*/
|
|
983
|
+
scheduledActionUuid?: string;
|
|
984
|
+
}
|
|
985
|
+
/**
|
|
986
|
+
* @public
|
|
987
|
+
*/
|
|
988
|
+
export interface CreateScheduledActionResponse {
|
|
989
|
+
/**
|
|
990
|
+
* @public
|
|
991
|
+
* <p>The returned <code>ScheduledAction</code> object that describes the properties of a scheduled action.</p>
|
|
992
|
+
*/
|
|
993
|
+
scheduledAction?: ScheduledActionResponse;
|
|
994
|
+
}
|
|
732
995
|
/**
|
|
733
996
|
* @public
|
|
734
997
|
*/
|
|
@@ -764,6 +1027,77 @@ export interface CreateSnapshotResponse {
|
|
|
764
1027
|
*/
|
|
765
1028
|
snapshot?: Snapshot;
|
|
766
1029
|
}
|
|
1030
|
+
/**
|
|
1031
|
+
* @public
|
|
1032
|
+
*/
|
|
1033
|
+
export interface CreateSnapshotCopyConfigurationRequest {
|
|
1034
|
+
/**
|
|
1035
|
+
* @public
|
|
1036
|
+
* <p>The name of the namespace to copy snapshots from.</p>
|
|
1037
|
+
*/
|
|
1038
|
+
namespaceName: string | undefined;
|
|
1039
|
+
/**
|
|
1040
|
+
* @public
|
|
1041
|
+
* <p>The destination Amazon Web Services Region that you want to copy snapshots to.</p>
|
|
1042
|
+
*/
|
|
1043
|
+
destinationRegion: string | undefined;
|
|
1044
|
+
/**
|
|
1045
|
+
* @public
|
|
1046
|
+
* <p>The retention period of the snapshots that you copy to the destination Amazon Web Services Region.</p>
|
|
1047
|
+
*/
|
|
1048
|
+
snapshotRetentionPeriod?: number;
|
|
1049
|
+
/**
|
|
1050
|
+
* @public
|
|
1051
|
+
* <p>The KMS key to use to encrypt your snapshots in the destination Amazon Web Services Region.</p>
|
|
1052
|
+
*/
|
|
1053
|
+
destinationKmsKeyId?: string;
|
|
1054
|
+
}
|
|
1055
|
+
/**
|
|
1056
|
+
* @public
|
|
1057
|
+
* <p>The object that you configure to copy snapshots from one namespace to a namespace in another Amazon Web Services Region.</p>
|
|
1058
|
+
*/
|
|
1059
|
+
export interface SnapshotCopyConfiguration {
|
|
1060
|
+
/**
|
|
1061
|
+
* @public
|
|
1062
|
+
* <p>The ID of the snapshot copy configuration object.</p>
|
|
1063
|
+
*/
|
|
1064
|
+
snapshotCopyConfigurationId?: string;
|
|
1065
|
+
/**
|
|
1066
|
+
* @public
|
|
1067
|
+
* <p>The ARN of the snapshot copy configuration object.</p>
|
|
1068
|
+
*/
|
|
1069
|
+
snapshotCopyConfigurationArn?: string;
|
|
1070
|
+
/**
|
|
1071
|
+
* @public
|
|
1072
|
+
* <p>The name of the namespace to copy snapshots from in the source Amazon Web Services Region.</p>
|
|
1073
|
+
*/
|
|
1074
|
+
namespaceName?: string;
|
|
1075
|
+
/**
|
|
1076
|
+
* @public
|
|
1077
|
+
* <p>The destination Amazon Web Services Region to copy snapshots to.</p>
|
|
1078
|
+
*/
|
|
1079
|
+
destinationRegion?: string;
|
|
1080
|
+
/**
|
|
1081
|
+
* @public
|
|
1082
|
+
* <p>The retention period of snapshots that are copied to the destination Amazon Web Services Region.</p>
|
|
1083
|
+
*/
|
|
1084
|
+
snapshotRetentionPeriod?: number;
|
|
1085
|
+
/**
|
|
1086
|
+
* @public
|
|
1087
|
+
* <p>The ID of the KMS key to use to encrypt your snapshots in the destination Amazon Web Services Region.</p>
|
|
1088
|
+
*/
|
|
1089
|
+
destinationKmsKeyId?: string;
|
|
1090
|
+
}
|
|
1091
|
+
/**
|
|
1092
|
+
* @public
|
|
1093
|
+
*/
|
|
1094
|
+
export interface CreateSnapshotCopyConfigurationResponse {
|
|
1095
|
+
/**
|
|
1096
|
+
* @public
|
|
1097
|
+
* <p>The snapshot copy configuration object that is returned.</p>
|
|
1098
|
+
*/
|
|
1099
|
+
snapshotCopyConfiguration: SnapshotCopyConfiguration | undefined;
|
|
1100
|
+
}
|
|
767
1101
|
/**
|
|
768
1102
|
* @public
|
|
769
1103
|
* @enum
|
|
@@ -912,7 +1246,7 @@ export interface CreateWorkgroupRequest {
|
|
|
912
1246
|
/**
|
|
913
1247
|
* @public
|
|
914
1248
|
* <p>An array of parameters to set for advanced control over a database. The
|
|
915
|
-
* options are <code>auto_mv</code>, <code>datestyle</code>, <code>
|
|
1249
|
+
* options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitive_identifier</code>, <code>enable_user_activity_logging</code>,
|
|
916
1250
|
* <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
|
|
917
1251
|
* <a href="https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless">
|
|
918
1252
|
* Query monitoring metrics for Amazon Redshift Serverless</a>.</p>
|
|
@@ -1023,8 +1357,8 @@ export interface Workgroup {
|
|
|
1023
1357
|
/**
|
|
1024
1358
|
* @public
|
|
1025
1359
|
* <p>An array of parameters to set for advanced control over a database. The
|
|
1026
|
-
* options are <code>auto_mv</code>, <code>datestyle</code>, <code>
|
|
1027
|
-
* <code>query_group</code>,
|
|
1360
|
+
* options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitive_identifier</code>, <code>enable_user_activity_logging</code>,
|
|
1361
|
+
* <code>query_group</code>, <code>search_path</code>, and query monitoring metrics that let you define performance boundaries.
|
|
1028
1362
|
* 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>
|
|
1029
1363
|
*/
|
|
1030
1364
|
configParameters?: ConfigParameter[];
|
|
@@ -1095,6 +1429,11 @@ export interface Workgroup {
|
|
|
1095
1429
|
* <p>The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.</p>
|
|
1096
1430
|
*/
|
|
1097
1431
|
maxCapacity?: number;
|
|
1432
|
+
/**
|
|
1433
|
+
* @public
|
|
1434
|
+
* <p>A list of VPCs. Each entry is the unique identifier of a virtual private cloud with access to Amazon Redshift Serverless. If all of the VPCs for the grantee are allowed, it shows an asterisk.</p>
|
|
1435
|
+
*/
|
|
1436
|
+
crossAccountVpcs?: string[];
|
|
1098
1437
|
}
|
|
1099
1438
|
/**
|
|
1100
1439
|
* @public
|
|
@@ -1186,6 +1525,11 @@ export interface ListEndpointAccessRequest {
|
|
|
1186
1525
|
* <p>The unique identifier of the virtual private cloud with access to Amazon Redshift Serverless.</p>
|
|
1187
1526
|
*/
|
|
1188
1527
|
vpcId?: string;
|
|
1528
|
+
/**
|
|
1529
|
+
* @public
|
|
1530
|
+
* <p>The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.</p>
|
|
1531
|
+
*/
|
|
1532
|
+
ownerAccount?: string;
|
|
1189
1533
|
}
|
|
1190
1534
|
/**
|
|
1191
1535
|
* @public
|
|
@@ -1294,6 +1638,26 @@ export interface DeleteResourcePolicyRequest {
|
|
|
1294
1638
|
*/
|
|
1295
1639
|
export interface DeleteResourcePolicyResponse {
|
|
1296
1640
|
}
|
|
1641
|
+
/**
|
|
1642
|
+
* @public
|
|
1643
|
+
*/
|
|
1644
|
+
export interface DeleteScheduledActionRequest {
|
|
1645
|
+
/**
|
|
1646
|
+
* @public
|
|
1647
|
+
* <p>The name of the scheduled action to delete.</p>
|
|
1648
|
+
*/
|
|
1649
|
+
scheduledActionName: string | undefined;
|
|
1650
|
+
}
|
|
1651
|
+
/**
|
|
1652
|
+
* @public
|
|
1653
|
+
*/
|
|
1654
|
+
export interface DeleteScheduledActionResponse {
|
|
1655
|
+
/**
|
|
1656
|
+
* @public
|
|
1657
|
+
* <p>The deleted scheduled action object.</p>
|
|
1658
|
+
*/
|
|
1659
|
+
scheduledAction?: ScheduledActionResponse;
|
|
1660
|
+
}
|
|
1297
1661
|
/**
|
|
1298
1662
|
* @public
|
|
1299
1663
|
*/
|
|
@@ -1314,6 +1678,26 @@ export interface DeleteSnapshotResponse {
|
|
|
1314
1678
|
*/
|
|
1315
1679
|
snapshot?: Snapshot;
|
|
1316
1680
|
}
|
|
1681
|
+
/**
|
|
1682
|
+
* @public
|
|
1683
|
+
*/
|
|
1684
|
+
export interface DeleteSnapshotCopyConfigurationRequest {
|
|
1685
|
+
/**
|
|
1686
|
+
* @public
|
|
1687
|
+
* <p>The ID of the snapshot copy configuration to delete.</p>
|
|
1688
|
+
*/
|
|
1689
|
+
snapshotCopyConfigurationId: string | undefined;
|
|
1690
|
+
}
|
|
1691
|
+
/**
|
|
1692
|
+
* @public
|
|
1693
|
+
*/
|
|
1694
|
+
export interface DeleteSnapshotCopyConfigurationResponse {
|
|
1695
|
+
/**
|
|
1696
|
+
* @public
|
|
1697
|
+
* <p>The deleted snapshot copy configuration object.</p>
|
|
1698
|
+
*/
|
|
1699
|
+
snapshotCopyConfiguration: SnapshotCopyConfiguration | undefined;
|
|
1700
|
+
}
|
|
1317
1701
|
/**
|
|
1318
1702
|
* @public
|
|
1319
1703
|
*/
|
|
@@ -1583,6 +1967,26 @@ export interface GetResourcePolicyResponse {
|
|
|
1583
1967
|
*/
|
|
1584
1968
|
resourcePolicy?: ResourcePolicy;
|
|
1585
1969
|
}
|
|
1970
|
+
/**
|
|
1971
|
+
* @public
|
|
1972
|
+
*/
|
|
1973
|
+
export interface GetScheduledActionRequest {
|
|
1974
|
+
/**
|
|
1975
|
+
* @public
|
|
1976
|
+
* <p>The name of the scheduled action.</p>
|
|
1977
|
+
*/
|
|
1978
|
+
scheduledActionName: string | undefined;
|
|
1979
|
+
}
|
|
1980
|
+
/**
|
|
1981
|
+
* @public
|
|
1982
|
+
*/
|
|
1983
|
+
export interface GetScheduledActionResponse {
|
|
1984
|
+
/**
|
|
1985
|
+
* @public
|
|
1986
|
+
* <p>The returned scheduled action object.</p>
|
|
1987
|
+
*/
|
|
1988
|
+
scheduledAction?: ScheduledActionResponse;
|
|
1989
|
+
}
|
|
1586
1990
|
/**
|
|
1587
1991
|
* @public
|
|
1588
1992
|
*/
|
|
@@ -1636,13 +2040,12 @@ export interface TableRestoreStatus {
|
|
|
1636
2040
|
/**
|
|
1637
2041
|
* @public
|
|
1638
2042
|
* <p>A value that describes the current state of the table restore request.
|
|
1639
|
-
* Possible values
|
|
2043
|
+
* Possible values are <code>SUCCEEDED</code>, <code>FAILED</code>, <code>CANCELED</code>, <code>PENDING</code>, and <code>IN_PROGRESS</code>.</p>
|
|
1640
2044
|
*/
|
|
1641
2045
|
status?: string;
|
|
1642
2046
|
/**
|
|
1643
2047
|
* @public
|
|
1644
|
-
* <p>A
|
|
1645
|
-
* Status values include <code>SUCCEEDED</code>, <code>FAILED</code>, <code>CANCELED</code>, <code>PENDING</code>, <code>IN_PROGRESS</code>.</p>
|
|
2048
|
+
* <p>A message that explains the returned status. For example, if the status of the operation is <code>FAILED</code>, the message explains why the operation failed.</p>
|
|
1646
2049
|
*/
|
|
1647
2050
|
message?: string;
|
|
1648
2051
|
/**
|
|
@@ -1706,6 +2109,11 @@ export interface TableRestoreStatus {
|
|
|
1706
2109
|
* <p>The name of the table to create from the restore operation.</p>
|
|
1707
2110
|
*/
|
|
1708
2111
|
newTableName?: string;
|
|
2112
|
+
/**
|
|
2113
|
+
* @public
|
|
2114
|
+
* <p>The ID of the recovery point being restored from.</p>
|
|
2115
|
+
*/
|
|
2116
|
+
recoveryPointId?: string;
|
|
1709
2117
|
}
|
|
1710
2118
|
/**
|
|
1711
2119
|
* @public
|
|
@@ -1905,6 +2313,79 @@ export interface ListRecoveryPointsResponse {
|
|
|
1905
2313
|
*/
|
|
1906
2314
|
nextToken?: string;
|
|
1907
2315
|
}
|
|
2316
|
+
/**
|
|
2317
|
+
* @public
|
|
2318
|
+
*/
|
|
2319
|
+
export interface ListScheduledActionsRequest {
|
|
2320
|
+
/**
|
|
2321
|
+
* @public
|
|
2322
|
+
* <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page.
|
|
2323
|
+
* Make the call again using the returned token to retrieve the next page.</p>
|
|
2324
|
+
*/
|
|
2325
|
+
nextToken?: string;
|
|
2326
|
+
/**
|
|
2327
|
+
* @public
|
|
2328
|
+
* <p>An optional parameter that specifies the maximum number of results to return. Use <code>nextToken</code> to display the next page of results.</p>
|
|
2329
|
+
*/
|
|
2330
|
+
maxResults?: number;
|
|
2331
|
+
/**
|
|
2332
|
+
* @public
|
|
2333
|
+
* <p>The name of namespace associated with the scheduled action to retrieve.</p>
|
|
2334
|
+
*/
|
|
2335
|
+
namespaceName?: string;
|
|
2336
|
+
}
|
|
2337
|
+
/**
|
|
2338
|
+
* @public
|
|
2339
|
+
*/
|
|
2340
|
+
export interface ListScheduledActionsResponse {
|
|
2341
|
+
/**
|
|
2342
|
+
* @public
|
|
2343
|
+
* <p>If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.</p>
|
|
2344
|
+
*/
|
|
2345
|
+
nextToken?: string;
|
|
2346
|
+
/**
|
|
2347
|
+
* @public
|
|
2348
|
+
* <p>All of the returned scheduled action objects.</p>
|
|
2349
|
+
*/
|
|
2350
|
+
scheduledActions?: string[];
|
|
2351
|
+
}
|
|
2352
|
+
/**
|
|
2353
|
+
* @public
|
|
2354
|
+
*/
|
|
2355
|
+
export interface ListSnapshotCopyConfigurationsRequest {
|
|
2356
|
+
/**
|
|
2357
|
+
* @public
|
|
2358
|
+
* <p>The namespace from which to list all snapshot copy configurations.</p>
|
|
2359
|
+
*/
|
|
2360
|
+
namespaceName?: string;
|
|
2361
|
+
/**
|
|
2362
|
+
* @public
|
|
2363
|
+
* <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Make the call again using
|
|
2364
|
+
* the returned token to retrieve the next page.</p>
|
|
2365
|
+
*/
|
|
2366
|
+
nextToken?: string;
|
|
2367
|
+
/**
|
|
2368
|
+
* @public
|
|
2369
|
+
* <p>An optional parameter that specifies the maximum number of results to return. You can use <code>nextToken</code> to display the next page of results.</p>
|
|
2370
|
+
*/
|
|
2371
|
+
maxResults?: number;
|
|
2372
|
+
}
|
|
2373
|
+
/**
|
|
2374
|
+
* @public
|
|
2375
|
+
*/
|
|
2376
|
+
export interface ListSnapshotCopyConfigurationsResponse {
|
|
2377
|
+
/**
|
|
2378
|
+
* @public
|
|
2379
|
+
* <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Make the call again using
|
|
2380
|
+
* the returned token to retrieve the next page.</p>
|
|
2381
|
+
*/
|
|
2382
|
+
nextToken?: string;
|
|
2383
|
+
/**
|
|
2384
|
+
* @public
|
|
2385
|
+
* <p>All of the returned snapshot copy configurations.</p>
|
|
2386
|
+
*/
|
|
2387
|
+
snapshotCopyConfigurations: SnapshotCopyConfiguration[] | undefined;
|
|
2388
|
+
}
|
|
1908
2389
|
/**
|
|
1909
2390
|
* @public
|
|
1910
2391
|
*/
|
|
@@ -2093,6 +2574,11 @@ export interface ListWorkgroupsRequest {
|
|
|
2093
2574
|
* You can use <code>nextToken</code> to display the next page of results.</p>
|
|
2094
2575
|
*/
|
|
2095
2576
|
maxResults?: number;
|
|
2577
|
+
/**
|
|
2578
|
+
* @public
|
|
2579
|
+
* <p>The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.</p>
|
|
2580
|
+
*/
|
|
2581
|
+
ownerAccount?: string;
|
|
2096
2582
|
}
|
|
2097
2583
|
/**
|
|
2098
2584
|
* @public
|
|
@@ -2247,6 +2733,135 @@ export interface RestoreFromRecoveryPointResponse {
|
|
|
2247
2733
|
*/
|
|
2248
2734
|
namespace?: Namespace;
|
|
2249
2735
|
}
|
|
2736
|
+
/**
|
|
2737
|
+
* @public
|
|
2738
|
+
*/
|
|
2739
|
+
export interface RestoreTableFromRecoveryPointRequest {
|
|
2740
|
+
/**
|
|
2741
|
+
* @public
|
|
2742
|
+
* <p>Namespace of the recovery point to restore from.</p>
|
|
2743
|
+
*/
|
|
2744
|
+
namespaceName: string | undefined;
|
|
2745
|
+
/**
|
|
2746
|
+
* @public
|
|
2747
|
+
* <p>The workgroup to restore the table to.</p>
|
|
2748
|
+
*/
|
|
2749
|
+
workgroupName: string | undefined;
|
|
2750
|
+
/**
|
|
2751
|
+
* @public
|
|
2752
|
+
* <p>The ID of the recovery point to restore the table from.</p>
|
|
2753
|
+
*/
|
|
2754
|
+
recoveryPointId: string | undefined;
|
|
2755
|
+
/**
|
|
2756
|
+
* @public
|
|
2757
|
+
* <p>The name of the source database that contains the table being restored.</p>
|
|
2758
|
+
*/
|
|
2759
|
+
sourceDatabaseName: string | undefined;
|
|
2760
|
+
/**
|
|
2761
|
+
* @public
|
|
2762
|
+
* <p>The name of the source schema that contains the table being restored.</p>
|
|
2763
|
+
*/
|
|
2764
|
+
sourceSchemaName?: string;
|
|
2765
|
+
/**
|
|
2766
|
+
* @public
|
|
2767
|
+
* <p>The name of the source table being restored.</p>
|
|
2768
|
+
*/
|
|
2769
|
+
sourceTableName: string | undefined;
|
|
2770
|
+
/**
|
|
2771
|
+
* @public
|
|
2772
|
+
* <p>The name of the database to restore the table to.</p>
|
|
2773
|
+
*/
|
|
2774
|
+
targetDatabaseName?: string;
|
|
2775
|
+
/**
|
|
2776
|
+
* @public
|
|
2777
|
+
* <p>The name of the schema to restore the table to.</p>
|
|
2778
|
+
*/
|
|
2779
|
+
targetSchemaName?: string;
|
|
2780
|
+
/**
|
|
2781
|
+
* @public
|
|
2782
|
+
* <p>The name of the table to create from the restore operation.</p>
|
|
2783
|
+
*/
|
|
2784
|
+
newTableName: string | undefined;
|
|
2785
|
+
/**
|
|
2786
|
+
* @public
|
|
2787
|
+
* <p>Indicates whether name identifiers for database, schema, and table are case sensitive. If true, the names are case sensitive. If false, the names are not case sensitive. The default is false.</p>
|
|
2788
|
+
*/
|
|
2789
|
+
activateCaseSensitiveIdentifier?: boolean;
|
|
2790
|
+
}
|
|
2791
|
+
/**
|
|
2792
|
+
* @public
|
|
2793
|
+
*/
|
|
2794
|
+
export interface RestoreTableFromRecoveryPointResponse {
|
|
2795
|
+
/**
|
|
2796
|
+
* @public
|
|
2797
|
+
* <p>Contains information about a table restore request.</p>
|
|
2798
|
+
*/
|
|
2799
|
+
tableRestoreStatus?: TableRestoreStatus;
|
|
2800
|
+
}
|
|
2801
|
+
/**
|
|
2802
|
+
* @public
|
|
2803
|
+
*/
|
|
2804
|
+
export interface UpdateScheduledActionRequest {
|
|
2805
|
+
/**
|
|
2806
|
+
* @public
|
|
2807
|
+
* <p>The name of the scheduled action to update to.</p>
|
|
2808
|
+
*/
|
|
2809
|
+
scheduledActionName: string | undefined;
|
|
2810
|
+
/**
|
|
2811
|
+
* @public
|
|
2812
|
+
* <p>A JSON format string of the Amazon Redshift Serverless API operation with input parameters. The following is an example of a target action.</p>
|
|
2813
|
+
* <p>
|
|
2814
|
+
* <code>"\{"CreateSnapshot": \{"NamespaceName": "sampleNamespace","SnapshotName": "sampleSnapshot", "retentionPeriod": "1"\}\}"</code>
|
|
2815
|
+
* </p>
|
|
2816
|
+
*/
|
|
2817
|
+
targetAction?: TargetAction;
|
|
2818
|
+
/**
|
|
2819
|
+
* @public
|
|
2820
|
+
* <p>The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour.</p>
|
|
2821
|
+
* <p>Format of at expressions is "<code>at(yyyy-mm-ddThh:mm:ss)</code>". For example, "<code>at(2016-03-04T17:27:00)</code>".</p>
|
|
2822
|
+
* <p>Format of cron expressions is "<code>cron(Minutes Hours Day-of-month Month Day-of-week Year)</code>". For example, "<code>cron(0 10 ? * MON *)</code>". For more information, see
|
|
2823
|
+
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions">Cron Expressions</a> in the <i>Amazon CloudWatch Events User Guide</i>.</p>
|
|
2824
|
+
*/
|
|
2825
|
+
schedule?: Schedule;
|
|
2826
|
+
/**
|
|
2827
|
+
* @public
|
|
2828
|
+
* <p>The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action.
|
|
2829
|
+
* This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf.
|
|
2830
|
+
* For more information about the IAM role to use with the Amazon Redshift scheduler, see <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html">Using Identity-Based Policies for
|
|
2831
|
+
* Amazon Redshift</a> in the Amazon Redshift Cluster Management Guide</p>
|
|
2832
|
+
*/
|
|
2833
|
+
roleArn?: string;
|
|
2834
|
+
/**
|
|
2835
|
+
* @public
|
|
2836
|
+
* <p>Specifies whether to enable the scheduled action.</p>
|
|
2837
|
+
*/
|
|
2838
|
+
enabled?: boolean;
|
|
2839
|
+
/**
|
|
2840
|
+
* @public
|
|
2841
|
+
* <p>The descripion of the scheduled action to update to.</p>
|
|
2842
|
+
*/
|
|
2843
|
+
scheduledActionDescription?: string;
|
|
2844
|
+
/**
|
|
2845
|
+
* @public
|
|
2846
|
+
* <p>The start time in UTC of the scheduled action to update to.</p>
|
|
2847
|
+
*/
|
|
2848
|
+
startTime?: Date;
|
|
2849
|
+
/**
|
|
2850
|
+
* @public
|
|
2851
|
+
* <p>The end time in UTC of the scheduled action to update.</p>
|
|
2852
|
+
*/
|
|
2853
|
+
endTime?: Date;
|
|
2854
|
+
}
|
|
2855
|
+
/**
|
|
2856
|
+
* @public
|
|
2857
|
+
*/
|
|
2858
|
+
export interface UpdateScheduledActionResponse {
|
|
2859
|
+
/**
|
|
2860
|
+
* @public
|
|
2861
|
+
* <p>The ScheduledAction object that was updated.</p>
|
|
2862
|
+
*/
|
|
2863
|
+
scheduledAction?: ScheduledActionResponse;
|
|
2864
|
+
}
|
|
2250
2865
|
/**
|
|
2251
2866
|
* @public
|
|
2252
2867
|
*/
|
|
@@ -2404,6 +3019,31 @@ export interface UpdateSnapshotResponse {
|
|
|
2404
3019
|
*/
|
|
2405
3020
|
snapshot?: Snapshot;
|
|
2406
3021
|
}
|
|
3022
|
+
/**
|
|
3023
|
+
* @public
|
|
3024
|
+
*/
|
|
3025
|
+
export interface UpdateSnapshotCopyConfigurationRequest {
|
|
3026
|
+
/**
|
|
3027
|
+
* @public
|
|
3028
|
+
* <p>The ID of the snapshot copy configuration to update.</p>
|
|
3029
|
+
*/
|
|
3030
|
+
snapshotCopyConfigurationId: string | undefined;
|
|
3031
|
+
/**
|
|
3032
|
+
* @public
|
|
3033
|
+
* <p>The new retention period of how long to keep a snapshot in the destination Amazon Web Services Region.</p>
|
|
3034
|
+
*/
|
|
3035
|
+
snapshotRetentionPeriod?: number;
|
|
3036
|
+
}
|
|
3037
|
+
/**
|
|
3038
|
+
* @public
|
|
3039
|
+
*/
|
|
3040
|
+
export interface UpdateSnapshotCopyConfigurationResponse {
|
|
3041
|
+
/**
|
|
3042
|
+
* @public
|
|
3043
|
+
* <p>The updated snapshot copy configuration object.</p>
|
|
3044
|
+
*/
|
|
3045
|
+
snapshotCopyConfiguration: SnapshotCopyConfiguration | undefined;
|
|
3046
|
+
}
|
|
2407
3047
|
/**
|
|
2408
3048
|
* @public
|
|
2409
3049
|
*/
|
|
@@ -2544,7 +3184,7 @@ export interface UpdateWorkgroupRequest {
|
|
|
2544
3184
|
/**
|
|
2545
3185
|
* @public
|
|
2546
3186
|
* <p>An array of parameters to set for advanced control over a database. The
|
|
2547
|
-
* options are <code>auto_mv</code>, <code>datestyle</code>, <code>
|
|
3187
|
+
* options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitive_identifier</code>, <code>enable_user_activity_logging</code>,
|
|
2548
3188
|
* <code>query_group</code>, <code>search_path</code>, and query monitoring metrics that let you
|
|
2549
3189
|
* define performance boundaries. For more information about query monitoring rules and available metrics, see
|
|
2550
3190
|
* <a href="https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless">
|