@aws-sdk/client-athena 3.1163.0 → 3.1165.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 +35 -0
- package/dist-cjs/index.js +153 -5
- package/dist-es/Athena.js +12 -0
- package/dist-es/commands/CreateSystemTableConfigurationCommand.js +4 -0
- package/dist-es/commands/DeleteSystemTableConfigurationCommand.js +4 -0
- package/dist-es/commands/GetSystemTableConfigurationCommand.js +4 -0
- package/dist-es/commands/ListSystemTableStatusesCommand.js +4 -0
- package/dist-es/commands/UpdateSystemTableConfigurationCommand.js +4 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +6 -0
- package/dist-es/pagination/ListSystemTableStatusesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +99 -4
- package/dist-types/Athena.d.ts +43 -0
- package/dist-types/AthenaClient.d.ts +7 -2
- package/dist-types/commands/CreateSystemTableConfigurationCommand.d.ts +95 -0
- package/dist-types/commands/CreateWorkGroupCommand.d.ts +6 -0
- package/dist-types/commands/DeleteSystemTableConfigurationCommand.d.ts +82 -0
- package/dist-types/commands/GetSystemTableConfigurationCommand.d.ts +90 -0
- package/dist-types/commands/GetWorkGroupCommand.d.ts +6 -0
- package/dist-types/commands/ListSystemTableStatusesCommand.d.ts +91 -0
- package/dist-types/commands/UpdateSystemTableConfigurationCommand.d.ts +91 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +22 -0
- package/dist-types/models/models_0.d.ts +213 -1
- package/dist-types/pagination/ListSystemTableStatusesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +16 -0
- package/dist-types/ts3.4/Athena.d.ts +93 -0
- package/dist-types/ts3.4/AthenaClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateSystemTableConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteSystemTableConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetSystemTableConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListSystemTableStatusesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateSystemTableConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +50 -0
- package/dist-types/ts3.4/pagination/ListSystemTableStatusesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
- package/package.json +8 -8
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteSystemTableConfigurationInput, DeleteSystemTableConfigurationOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteSystemTableConfigurationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteSystemTableConfigurationCommandInput extends DeleteSystemTableConfigurationInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteSystemTableConfigurationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteSystemTableConfigurationCommandOutput extends DeleteSystemTableConfigurationOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteSystemTableConfigurationCommand_base: {
|
|
22
|
+
new (input: DeleteSystemTableConfigurationCommandInput): import("@smithy/core/client").CommandImpl<DeleteSystemTableConfigurationCommandInput, DeleteSystemTableConfigurationCommandOutput, import("..").AthenaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteSystemTableConfigurationCommandInput): import("@smithy/core/client").CommandImpl<DeleteSystemTableConfigurationCommandInput, DeleteSystemTableConfigurationCommandOutput, import("..").AthenaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Disables system tables for the current account by deleting the account-level
|
|
28
|
+
* configuration. If the configuration doesn't exist, the operation succeeds without making
|
|
29
|
+
* any changes. The system table and previously published data are left intact.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { AthenaClient, DeleteSystemTableConfigurationCommand } from "@aws-sdk/client-athena"; // ES Modules import
|
|
34
|
+
* // const { AthenaClient, DeleteSystemTableConfigurationCommand } = require("@aws-sdk/client-athena"); // CommonJS import
|
|
35
|
+
* // import type { AthenaClientConfig } from "@aws-sdk/client-athena";
|
|
36
|
+
* const config = {}; // type is AthenaClientConfig
|
|
37
|
+
* const client = new AthenaClient(config);
|
|
38
|
+
* const input = { // DeleteSystemTableConfigurationInput
|
|
39
|
+
* TableName: "ALL", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeleteSystemTableConfigurationCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param DeleteSystemTableConfigurationCommandInput - {@link DeleteSystemTableConfigurationCommandInput}
|
|
48
|
+
* @returns {@link DeleteSystemTableConfigurationCommandOutput}
|
|
49
|
+
* @see {@link DeleteSystemTableConfigurationCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link DeleteSystemTableConfigurationCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link InternalServerException} (server fault)
|
|
54
|
+
* <p>Indicates a platform issue, which may be due to a transient condition or
|
|
55
|
+
* outage.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
58
|
+
* <p>Indicates that something is wrong with the input to the request. For example, a
|
|
59
|
+
* required parameter may be missing or out of range.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
62
|
+
* <p>Indicates that the request was throttled.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link AthenaServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from Athena service.</p>
|
|
66
|
+
*
|
|
67
|
+
*
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare class DeleteSystemTableConfigurationCommand extends DeleteSystemTableConfigurationCommand_base {
|
|
71
|
+
/** @internal type navigation helper, not in runtime. */
|
|
72
|
+
protected static __types: {
|
|
73
|
+
api: {
|
|
74
|
+
input: DeleteSystemTableConfigurationInput;
|
|
75
|
+
output: {};
|
|
76
|
+
};
|
|
77
|
+
sdk: {
|
|
78
|
+
input: DeleteSystemTableConfigurationCommandInput;
|
|
79
|
+
output: DeleteSystemTableConfigurationCommandOutput;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetSystemTableConfigurationInput, GetSystemTableConfigurationOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetSystemTableConfigurationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetSystemTableConfigurationCommandInput extends GetSystemTableConfigurationInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetSystemTableConfigurationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetSystemTableConfigurationCommandOutput extends GetSystemTableConfigurationOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetSystemTableConfigurationCommand_base: {
|
|
22
|
+
new (input: GetSystemTableConfigurationCommandInput): import("@smithy/core/client").CommandImpl<GetSystemTableConfigurationCommandInput, GetSystemTableConfigurationCommandOutput, import("..").AthenaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetSystemTableConfigurationCommandInput): import("@smithy/core/client").CommandImpl<GetSystemTableConfigurationCommandInput, GetSystemTableConfigurationCommandOutput, import("..").AthenaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns the account-level system tables configuration. Fails with a
|
|
28
|
+
* <code>ResourceNotFoundException</code> if system tables are not enabled for the
|
|
29
|
+
* account.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { AthenaClient, GetSystemTableConfigurationCommand } from "@aws-sdk/client-athena"; // ES Modules import
|
|
34
|
+
* // const { AthenaClient, GetSystemTableConfigurationCommand } = require("@aws-sdk/client-athena"); // CommonJS import
|
|
35
|
+
* // import type { AthenaClientConfig } from "@aws-sdk/client-athena";
|
|
36
|
+
* const config = {}; // type is AthenaClientConfig
|
|
37
|
+
* const client = new AthenaClient(config);
|
|
38
|
+
* const input = { // GetSystemTableConfigurationInput
|
|
39
|
+
* TableName: "ALL", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetSystemTableConfigurationCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetSystemTableConfigurationOutput
|
|
44
|
+
* // TableName: "ALL",
|
|
45
|
+
* // KmsKeyArn: "STRING_VALUE",
|
|
46
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
47
|
+
* // LastModifiedAt: new Date("TIMESTAMP"),
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param GetSystemTableConfigurationCommandInput - {@link GetSystemTableConfigurationCommandInput}
|
|
53
|
+
* @returns {@link GetSystemTableConfigurationCommandOutput}
|
|
54
|
+
* @see {@link GetSystemTableConfigurationCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link GetSystemTableConfigurationCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>Indicates a platform issue, which may be due to a transient condition or
|
|
60
|
+
* outage.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
63
|
+
* <p>Indicates that something is wrong with the input to the request. For example, a
|
|
64
|
+
* required parameter may be missing or out of range.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>A resource, such as a workgroup, was not found.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
70
|
+
* <p>Indicates that the request was throttled.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link AthenaServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from Athena service.</p>
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class GetSystemTableConfigurationCommand extends GetSystemTableConfigurationCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: GetSystemTableConfigurationInput;
|
|
83
|
+
output: GetSystemTableConfigurationOutput;
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: GetSystemTableConfigurationCommandInput;
|
|
87
|
+
output: GetSystemTableConfigurationCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -123,6 +123,12 @@ declare const GetWorkGroupCommand_base: {
|
|
|
123
123
|
* // CreateUserLevelPrefix: true || false,
|
|
124
124
|
* // AuthenticationType: "DIRECTORY_IDENTITY", // required
|
|
125
125
|
* // },
|
|
126
|
+
* // SystemTableStatuses: [ // SystemTableStatusList
|
|
127
|
+
* // { // SystemTableStatus
|
|
128
|
+
* // TableName: "QUERY_EXECUTIONS", // required
|
|
129
|
+
* // Enabled: true || false, // required
|
|
130
|
+
* // },
|
|
131
|
+
* // ],
|
|
126
132
|
* // },
|
|
127
133
|
* // Description: "STRING_VALUE",
|
|
128
134
|
* // CreationTime: new Date("TIMESTAMP"),
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListSystemTableStatusesInput, ListSystemTableStatusesOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListSystemTableStatusesCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListSystemTableStatusesCommandInput extends ListSystemTableStatusesInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListSystemTableStatusesCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListSystemTableStatusesCommandOutput extends ListSystemTableStatusesOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListSystemTableStatusesCommand_base: {
|
|
22
|
+
new (input: ListSystemTableStatusesCommandInput): import("@smithy/core/client").CommandImpl<ListSystemTableStatusesCommandInput, ListSystemTableStatusesCommandOutput, import("..").AthenaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListSystemTableStatusesCommandInput]): import("@smithy/core/client").CommandImpl<ListSystemTableStatusesCommandInput, ListSystemTableStatusesCommandOutput, import("..").AthenaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists the system tables that the account-level configuration activates, along with
|
|
28
|
+
* whether each is currently enabled. Because system tables are enabled at the account
|
|
29
|
+
* level, every entry reflects the same account-wide state.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { AthenaClient, ListSystemTableStatusesCommand } from "@aws-sdk/client-athena"; // ES Modules import
|
|
34
|
+
* // const { AthenaClient, ListSystemTableStatusesCommand } = require("@aws-sdk/client-athena"); // CommonJS import
|
|
35
|
+
* // import type { AthenaClientConfig } from "@aws-sdk/client-athena";
|
|
36
|
+
* const config = {}; // type is AthenaClientConfig
|
|
37
|
+
* const client = new AthenaClient(config);
|
|
38
|
+
* const input = { // ListSystemTableStatusesInput
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* MaxResults: Number("int"),
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListSystemTableStatusesCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListSystemTableStatusesOutput
|
|
45
|
+
* // Items: [ // SystemTableStatusList // required
|
|
46
|
+
* // { // SystemTableStatus
|
|
47
|
+
* // TableName: "QUERY_EXECUTIONS", // required
|
|
48
|
+
* // Enabled: true || false, // required
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // NextToken: "STRING_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param ListSystemTableStatusesCommandInput - {@link ListSystemTableStatusesCommandInput}
|
|
57
|
+
* @returns {@link ListSystemTableStatusesCommandOutput}
|
|
58
|
+
* @see {@link ListSystemTableStatusesCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link ListSystemTableStatusesCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* <p>Indicates a platform issue, which may be due to a transient condition or
|
|
64
|
+
* outage.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
67
|
+
* <p>Indicates that something is wrong with the input to the request. For example, a
|
|
68
|
+
* required parameter may be missing or out of range.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
71
|
+
* <p>Indicates that the request was throttled.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link AthenaServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from Athena service.</p>
|
|
75
|
+
*
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class ListSystemTableStatusesCommand extends ListSystemTableStatusesCommand_base {
|
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
|
81
|
+
protected static __types: {
|
|
82
|
+
api: {
|
|
83
|
+
input: ListSystemTableStatusesInput;
|
|
84
|
+
output: ListSystemTableStatusesOutput;
|
|
85
|
+
};
|
|
86
|
+
sdk: {
|
|
87
|
+
input: ListSystemTableStatusesCommandInput;
|
|
88
|
+
output: ListSystemTableStatusesCommandOutput;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UpdateSystemTableConfigurationInput, UpdateSystemTableConfigurationOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UpdateSystemTableConfigurationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateSystemTableConfigurationCommandInput extends UpdateSystemTableConfigurationInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UpdateSystemTableConfigurationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateSystemTableConfigurationCommandOutput extends UpdateSystemTableConfigurationOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UpdateSystemTableConfigurationCommand_base: {
|
|
22
|
+
new (input: UpdateSystemTableConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateSystemTableConfigurationCommandInput, UpdateSystemTableConfigurationCommandOutput, import("..").AthenaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateSystemTableConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateSystemTableConfigurationCommandInput, UpdateSystemTableConfigurationCommandOutput, import("..").AthenaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Updates the account-level system tables configuration. If no configuration exists, use
|
|
28
|
+
* <a>CreateSystemTableConfiguration</a> to create one. Fields that you omit
|
|
29
|
+
* retain their current values.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { AthenaClient, UpdateSystemTableConfigurationCommand } from "@aws-sdk/client-athena"; // ES Modules import
|
|
34
|
+
* // const { AthenaClient, UpdateSystemTableConfigurationCommand } = require("@aws-sdk/client-athena"); // CommonJS import
|
|
35
|
+
* // import type { AthenaClientConfig } from "@aws-sdk/client-athena";
|
|
36
|
+
* const config = {}; // type is AthenaClientConfig
|
|
37
|
+
* const client = new AthenaClient(config);
|
|
38
|
+
* const input = { // UpdateSystemTableConfigurationInput
|
|
39
|
+
* TableName: "ALL", // required
|
|
40
|
+
* KmsKeyArn: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new UpdateSystemTableConfigurationCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // UpdateSystemTableConfigurationOutput
|
|
45
|
+
* // TableName: "ALL",
|
|
46
|
+
* // KmsKeyArn: "STRING_VALUE",
|
|
47
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
48
|
+
* // LastModifiedAt: new Date("TIMESTAMP"),
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param UpdateSystemTableConfigurationCommandInput - {@link UpdateSystemTableConfigurationCommandInput}
|
|
54
|
+
* @returns {@link UpdateSystemTableConfigurationCommandOutput}
|
|
55
|
+
* @see {@link UpdateSystemTableConfigurationCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link UpdateSystemTableConfigurationCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerException} (server fault)
|
|
60
|
+
* <p>Indicates a platform issue, which may be due to a transient condition or
|
|
61
|
+
* outage.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
64
|
+
* <p>Indicates that something is wrong with the input to the request. For example, a
|
|
65
|
+
* required parameter may be missing or out of range.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>A resource, such as a workgroup, was not found.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
71
|
+
* <p>Indicates that the request was throttled.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link AthenaServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from Athena service.</p>
|
|
75
|
+
*
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class UpdateSystemTableConfigurationCommand extends UpdateSystemTableConfigurationCommand_base {
|
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
|
81
|
+
protected static __types: {
|
|
82
|
+
api: {
|
|
83
|
+
input: UpdateSystemTableConfigurationInput;
|
|
84
|
+
output: UpdateSystemTableConfigurationOutput;
|
|
85
|
+
};
|
|
86
|
+
sdk: {
|
|
87
|
+
input: UpdateSystemTableConfigurationCommandInput;
|
|
88
|
+
output: UpdateSystemTableConfigurationCommandOutput;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -8,12 +8,14 @@ export * from "./CreateNamedQueryCommand";
|
|
|
8
8
|
export * from "./CreateNotebookCommand";
|
|
9
9
|
export * from "./CreatePreparedStatementCommand";
|
|
10
10
|
export * from "./CreatePresignedNotebookUrlCommand";
|
|
11
|
+
export * from "./CreateSystemTableConfigurationCommand";
|
|
11
12
|
export * from "./CreateWorkGroupCommand";
|
|
12
13
|
export * from "./DeleteCapacityReservationCommand";
|
|
13
14
|
export * from "./DeleteDataCatalogCommand";
|
|
14
15
|
export * from "./DeleteNamedQueryCommand";
|
|
15
16
|
export * from "./DeleteNotebookCommand";
|
|
16
17
|
export * from "./DeletePreparedStatementCommand";
|
|
18
|
+
export * from "./DeleteSystemTableConfigurationCommand";
|
|
17
19
|
export * from "./DeleteWorkGroupCommand";
|
|
18
20
|
export * from "./ExportNotebookCommand";
|
|
19
21
|
export * from "./GetCalculationExecutionCodeCommand";
|
|
@@ -33,6 +35,7 @@ export * from "./GetResourceDashboardCommand";
|
|
|
33
35
|
export * from "./GetSessionCommand";
|
|
34
36
|
export * from "./GetSessionEndpointCommand";
|
|
35
37
|
export * from "./GetSessionStatusCommand";
|
|
38
|
+
export * from "./GetSystemTableConfigurationCommand";
|
|
36
39
|
export * from "./GetTableMetadataCommand";
|
|
37
40
|
export * from "./GetWorkGroupCommand";
|
|
38
41
|
export * from "./ImportNotebookCommand";
|
|
@@ -49,6 +52,7 @@ export * from "./ListNotebookSessionsCommand";
|
|
|
49
52
|
export * from "./ListPreparedStatementsCommand";
|
|
50
53
|
export * from "./ListQueryExecutionsCommand";
|
|
51
54
|
export * from "./ListSessionsCommand";
|
|
55
|
+
export * from "./ListSystemTableStatusesCommand";
|
|
52
56
|
export * from "./ListTableMetadataCommand";
|
|
53
57
|
export * from "./ListTagsForResourceCommand";
|
|
54
58
|
export * from "./ListWorkGroupsCommand";
|
|
@@ -67,4 +71,5 @@ export * from "./UpdateNamedQueryCommand";
|
|
|
67
71
|
export * from "./UpdateNotebookCommand";
|
|
68
72
|
export * from "./UpdateNotebookMetadataCommand";
|
|
69
73
|
export * from "./UpdatePreparedStatementCommand";
|
|
74
|
+
export * from "./UpdateSystemTableConfigurationCommand";
|
|
70
75
|
export * from "./UpdateWorkGroupCommand";
|
|
@@ -135,6 +135,28 @@ export declare const ThrottleReason: {
|
|
|
135
135
|
* @public
|
|
136
136
|
*/
|
|
137
137
|
export type ThrottleReason = (typeof ThrottleReason)[keyof typeof ThrottleReason];
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
* @enum
|
|
141
|
+
*/
|
|
142
|
+
export declare const SystemTableName: {
|
|
143
|
+
readonly ALL: "ALL";
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
export type SystemTableName = (typeof SystemTableName)[keyof typeof SystemTableName];
|
|
149
|
+
/**
|
|
150
|
+
* @public
|
|
151
|
+
* @enum
|
|
152
|
+
*/
|
|
153
|
+
export declare const SystemTableType: {
|
|
154
|
+
readonly QUERY_EXECUTIONS: "QUERY_EXECUTIONS";
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* @public
|
|
158
|
+
*/
|
|
159
|
+
export type SystemTableType = (typeof SystemTableType)[keyof typeof SystemTableType];
|
|
138
160
|
/**
|
|
139
161
|
* @public
|
|
140
162
|
* @enum
|