@aws-sdk/client-redshift-serverless 3.325.0 → 3.326.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.
Files changed (41) hide show
  1. package/dist-types/commands/ConvertRecoveryPointToSnapshotCommand.d.ts +31 -0
  2. package/dist-types/commands/CreateEndpointAccessCommand.d.ts +35 -0
  3. package/dist-types/commands/CreateNamespaceCommand.d.ts +22 -0
  4. package/dist-types/commands/CreateSnapshotCommand.d.ts +31 -0
  5. package/dist-types/commands/CreateUsageLimitCommand.d.ts +14 -0
  6. package/dist-types/commands/CreateWorkgroupCommand.d.ts +47 -0
  7. package/dist-types/commands/DeleteEndpointAccessCommand.d.ts +35 -0
  8. package/dist-types/commands/DeleteNamespaceCommand.d.ts +22 -0
  9. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +4 -0
  10. package/dist-types/commands/DeleteSnapshotCommand.d.ts +31 -0
  11. package/dist-types/commands/DeleteUsageLimitCommand.d.ts +14 -0
  12. package/dist-types/commands/DeleteWorkgroupCommand.d.ts +47 -0
  13. package/dist-types/commands/GetCredentialsCommand.d.ts +9 -0
  14. package/dist-types/commands/GetEndpointAccessCommand.d.ts +35 -0
  15. package/dist-types/commands/GetNamespaceCommand.d.ts +22 -0
  16. package/dist-types/commands/GetRecoveryPointCommand.d.ts +13 -0
  17. package/dist-types/commands/GetResourcePolicyCommand.d.ts +9 -0
  18. package/dist-types/commands/GetSnapshotCommand.d.ts +31 -0
  19. package/dist-types/commands/GetTableRestoreStatusCommand.d.ts +22 -0
  20. package/dist-types/commands/GetUsageLimitCommand.d.ts +14 -0
  21. package/dist-types/commands/GetWorkgroupCommand.d.ts +47 -0
  22. package/dist-types/commands/ListEndpointAccessCommand.d.ts +38 -0
  23. package/dist-types/commands/ListNamespacesCommand.d.ts +25 -0
  24. package/dist-types/commands/ListRecoveryPointsCommand.d.ts +16 -0
  25. package/dist-types/commands/ListSnapshotsCommand.d.ts +34 -0
  26. package/dist-types/commands/ListTableRestoreStatusCommand.d.ts +25 -0
  27. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  28. package/dist-types/commands/ListUsageLimitsCommand.d.ts +17 -0
  29. package/dist-types/commands/ListWorkgroupsCommand.d.ts +50 -0
  30. package/dist-types/commands/PutResourcePolicyCommand.d.ts +9 -0
  31. package/dist-types/commands/RestoreFromRecoveryPointCommand.d.ts +23 -0
  32. package/dist-types/commands/RestoreFromSnapshotCommand.d.ts +24 -0
  33. package/dist-types/commands/RestoreTableFromSnapshotCommand.d.ts +22 -0
  34. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  35. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  36. package/dist-types/commands/UpdateEndpointAccessCommand.d.ts +35 -0
  37. package/dist-types/commands/UpdateNamespaceCommand.d.ts +22 -0
  38. package/dist-types/commands/UpdateSnapshotCommand.d.ts +31 -0
  39. package/dist-types/commands/UpdateUsageLimitCommand.d.ts +14 -0
  40. package/dist-types/commands/UpdateWorkgroupCommand.d.ts +47 -0
  41. package/package.json +3 -3
@@ -37,6 +37,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
37
37
  * };
38
38
  * const command = new TagResourceCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // {};
41
+ *
40
42
  * ```
41
43
  *
42
44
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -60,6 +62,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
60
62
  * @throws {@link ValidationException} (client fault)
61
63
  * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
62
64
  *
65
+ * @throws {@link RedshiftServerlessServiceException}
66
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
63
67
  *
64
68
  */
65
69
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, RedshiftServerlessClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
34
34
  * };
35
35
  * const command = new UntagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -54,6 +56,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
54
56
  * @throws {@link ValidationException} (client fault)
55
57
  * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
56
58
  *
59
+ * @throws {@link RedshiftServerlessServiceException}
60
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
57
61
  *
58
62
  */
59
63
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, RedshiftServerlessClientResolvedConfig> {
@@ -34,6 +34,39 @@ export interface UpdateEndpointAccessCommandOutput extends UpdateEndpointAccessR
34
34
  * };
35
35
  * const command = new UpdateEndpointAccessCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // UpdateEndpointAccessResponse
38
+ * // endpoint: { // EndpointAccess
39
+ * // endpointName: "STRING_VALUE",
40
+ * // endpointStatus: "STRING_VALUE",
41
+ * // workgroupName: "STRING_VALUE",
42
+ * // endpointCreateTime: new Date("TIMESTAMP"),
43
+ * // port: Number("int"),
44
+ * // address: "STRING_VALUE",
45
+ * // subnetIds: [ // SubnetIdList
46
+ * // "STRING_VALUE",
47
+ * // ],
48
+ * // vpcSecurityGroups: [ // VpcSecurityGroupMembershipList
49
+ * // { // VpcSecurityGroupMembership
50
+ * // vpcSecurityGroupId: "STRING_VALUE",
51
+ * // status: "STRING_VALUE",
52
+ * // },
53
+ * // ],
54
+ * // vpcEndpoint: { // VpcEndpoint
55
+ * // vpcEndpointId: "STRING_VALUE",
56
+ * // vpcId: "STRING_VALUE",
57
+ * // networkInterfaces: [ // NetworkInterfaceList
58
+ * // { // NetworkInterface
59
+ * // networkInterfaceId: "STRING_VALUE",
60
+ * // subnetId: "STRING_VALUE",
61
+ * // privateIpAddress: "STRING_VALUE",
62
+ * // availabilityZone: "STRING_VALUE",
63
+ * // },
64
+ * // ],
65
+ * // },
66
+ * // endpointArn: "STRING_VALUE",
67
+ * // },
68
+ * // };
69
+ *
37
70
  * ```
38
71
  *
39
72
  * @param UpdateEndpointAccessCommandInput - {@link UpdateEndpointAccessCommandInput}
@@ -57,6 +90,8 @@ export interface UpdateEndpointAccessCommandOutput extends UpdateEndpointAccessR
57
90
  * @throws {@link ValidationException} (client fault)
58
91
  * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
59
92
  *
93
+ * @throws {@link RedshiftServerlessServiceException}
94
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
60
95
  *
61
96
  */
62
97
  export declare class UpdateEndpointAccessCommand extends $Command<UpdateEndpointAccessCommandInput, UpdateEndpointAccessCommandOutput, RedshiftServerlessClientResolvedConfig> {
@@ -43,6 +43,26 @@ export interface UpdateNamespaceCommandOutput extends UpdateNamespaceResponse, _
43
43
  * };
44
44
  * const command = new UpdateNamespaceCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // UpdateNamespaceResponse
47
+ * // namespace: { // Namespace
48
+ * // namespaceArn: "STRING_VALUE",
49
+ * // namespaceId: "STRING_VALUE",
50
+ * // namespaceName: "STRING_VALUE",
51
+ * // adminUsername: "STRING_VALUE",
52
+ * // dbName: "STRING_VALUE",
53
+ * // kmsKeyId: "STRING_VALUE",
54
+ * // defaultIamRoleArn: "STRING_VALUE",
55
+ * // iamRoles: [ // IamRoleArnList
56
+ * // "STRING_VALUE",
57
+ * // ],
58
+ * // logExports: [ // LogExportList
59
+ * // "STRING_VALUE",
60
+ * // ],
61
+ * // status: "STRING_VALUE",
62
+ * // creationDate: new Date("TIMESTAMP"),
63
+ * // },
64
+ * // };
65
+ *
46
66
  * ```
47
67
  *
48
68
  * @param UpdateNamespaceCommandInput - {@link UpdateNamespaceCommandInput}
@@ -63,6 +83,8 @@ export interface UpdateNamespaceCommandOutput extends UpdateNamespaceResponse, _
63
83
  * @throws {@link ValidationException} (client fault)
64
84
  * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
65
85
  *
86
+ * @throws {@link RedshiftServerlessServiceException}
87
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
66
88
  *
67
89
  */
68
90
  export declare class UpdateNamespaceCommand extends $Command<UpdateNamespaceCommandInput, UpdateNamespaceCommandOutput, RedshiftServerlessClientResolvedConfig> {
@@ -32,6 +32,35 @@ export interface UpdateSnapshotCommandOutput extends UpdateSnapshotResponse, __M
32
32
  * };
33
33
  * const command = new UpdateSnapshotCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // UpdateSnapshotResponse
36
+ * // snapshot: { // Snapshot
37
+ * // namespaceName: "STRING_VALUE",
38
+ * // namespaceArn: "STRING_VALUE",
39
+ * // snapshotName: "STRING_VALUE",
40
+ * // snapshotCreateTime: new Date("TIMESTAMP"),
41
+ * // adminUsername: "STRING_VALUE",
42
+ * // status: "STRING_VALUE",
43
+ * // kmsKeyId: "STRING_VALUE",
44
+ * // ownerAccount: "STRING_VALUE",
45
+ * // totalBackupSizeInMegaBytes: Number("double"),
46
+ * // actualIncrementalBackupSizeInMegaBytes: Number("double"),
47
+ * // backupProgressInMegaBytes: Number("double"),
48
+ * // currentBackupRateInMegaBytesPerSecond: Number("double"),
49
+ * // estimatedSecondsToCompletion: Number("long"),
50
+ * // elapsedTimeInSeconds: Number("long"),
51
+ * // snapshotRetentionPeriod: Number("int"),
52
+ * // snapshotRemainingDays: Number("int"),
53
+ * // snapshotRetentionStartTime: new Date("TIMESTAMP"),
54
+ * // snapshotArn: "STRING_VALUE",
55
+ * // accountsWithRestoreAccess: [ // AccountIdList
56
+ * // "STRING_VALUE",
57
+ * // ],
58
+ * // accountsWithProvisionedRestoreAccess: [
59
+ * // "STRING_VALUE",
60
+ * // ],
61
+ * // },
62
+ * // };
63
+ *
35
64
  * ```
36
65
  *
37
66
  * @param UpdateSnapshotCommandInput - {@link UpdateSnapshotCommandInput}
@@ -52,6 +81,8 @@ export interface UpdateSnapshotCommandOutput extends UpdateSnapshotResponse, __M
52
81
  * @throws {@link ValidationException} (client fault)
53
82
  * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
54
83
  *
84
+ * @throws {@link RedshiftServerlessServiceException}
85
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
55
86
  *
56
87
  */
57
88
  export declare class UpdateSnapshotCommand extends $Command<UpdateSnapshotCommandInput, UpdateSnapshotCommandOutput, RedshiftServerlessClientResolvedConfig> {
@@ -33,6 +33,18 @@ export interface UpdateUsageLimitCommandOutput extends UpdateUsageLimitResponse,
33
33
  * };
34
34
  * const command = new UpdateUsageLimitCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // UpdateUsageLimitResponse
37
+ * // usageLimit: { // UsageLimit
38
+ * // usageLimitId: "STRING_VALUE",
39
+ * // usageLimitArn: "STRING_VALUE",
40
+ * // resourceArn: "STRING_VALUE",
41
+ * // usageType: "STRING_VALUE",
42
+ * // amount: Number("long"),
43
+ * // period: "STRING_VALUE",
44
+ * // breachAction: "STRING_VALUE",
45
+ * // },
46
+ * // };
47
+ *
36
48
  * ```
37
49
  *
38
50
  * @param UpdateUsageLimitCommandInput - {@link UpdateUsageLimitCommandInput}
@@ -53,6 +65,8 @@ export interface UpdateUsageLimitCommandOutput extends UpdateUsageLimitResponse,
53
65
  * @throws {@link ValidationException} (client fault)
54
66
  * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
55
67
  *
68
+ * @throws {@link RedshiftServerlessServiceException}
69
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
56
70
  *
57
71
  */
58
72
  export declare class UpdateUsageLimitCommand extends $Command<UpdateUsageLimitCommandInput, UpdateUsageLimitCommandOutput, RedshiftServerlessClientResolvedConfig> {
@@ -48,6 +48,51 @@ export interface UpdateWorkgroupCommandOutput extends UpdateWorkgroupResponse, _
48
48
  * };
49
49
  * const command = new UpdateWorkgroupCommand(input);
50
50
  * const response = await client.send(command);
51
+ * // { // UpdateWorkgroupResponse
52
+ * // workgroup: { // Workgroup
53
+ * // workgroupId: "STRING_VALUE",
54
+ * // workgroupArn: "STRING_VALUE",
55
+ * // workgroupName: "STRING_VALUE",
56
+ * // namespaceName: "STRING_VALUE",
57
+ * // baseCapacity: Number("int"),
58
+ * // enhancedVpcRouting: true || false,
59
+ * // configParameters: [ // ConfigParameterList
60
+ * // { // ConfigParameter
61
+ * // parameterKey: "STRING_VALUE",
62
+ * // parameterValue: "STRING_VALUE",
63
+ * // },
64
+ * // ],
65
+ * // securityGroupIds: [ // SecurityGroupIdList
66
+ * // "STRING_VALUE",
67
+ * // ],
68
+ * // subnetIds: [ // SubnetIdList
69
+ * // "STRING_VALUE",
70
+ * // ],
71
+ * // status: "STRING_VALUE",
72
+ * // endpoint: { // Endpoint
73
+ * // address: "STRING_VALUE",
74
+ * // port: Number("int"),
75
+ * // vpcEndpoints: [ // VpcEndpointList
76
+ * // { // VpcEndpoint
77
+ * // vpcEndpointId: "STRING_VALUE",
78
+ * // vpcId: "STRING_VALUE",
79
+ * // networkInterfaces: [ // NetworkInterfaceList
80
+ * // { // NetworkInterface
81
+ * // networkInterfaceId: "STRING_VALUE",
82
+ * // subnetId: "STRING_VALUE",
83
+ * // privateIpAddress: "STRING_VALUE",
84
+ * // availabilityZone: "STRING_VALUE",
85
+ * // },
86
+ * // ],
87
+ * // },
88
+ * // ],
89
+ * // },
90
+ * // publiclyAccessible: true || false,
91
+ * // creationDate: new Date("TIMESTAMP"),
92
+ * // port: Number("int"),
93
+ * // },
94
+ * // };
95
+ *
51
96
  * ```
52
97
  *
53
98
  * @param UpdateWorkgroupCommandInput - {@link UpdateWorkgroupCommandInput}
@@ -71,6 +116,8 @@ export interface UpdateWorkgroupCommandOutput extends UpdateWorkgroupResponse, _
71
116
  * @throws {@link ValidationException} (client fault)
72
117
  * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
73
118
  *
119
+ * @throws {@link RedshiftServerlessServiceException}
120
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
74
121
  *
75
122
  */
76
123
  export declare class UpdateWorkgroupCommand extends $Command<UpdateWorkgroupCommandInput, UpdateWorkgroupCommandOutput, RedshiftServerlessClientResolvedConfig> {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-redshift-serverless",
3
3
  "description": "AWS SDK for JavaScript Redshift Serverless Client for Node.js, Browser and React Native",
4
- "version": "3.325.0",
4
+ "version": "3.326.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.325.0",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",