@aws-sdk/client-cloudtrail 3.454.0 → 3.458.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 +62 -46
- package/dist-cjs/CloudTrail.js +4 -0
- package/dist-cjs/commands/DisableFederationCommand.js +51 -0
- package/dist-cjs/commands/EnableFederationCommand.js +51 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +50 -2
- package/dist-cjs/protocols/Aws_json1_1.js +200 -2
- package/dist-es/CloudTrail.js +4 -0
- package/dist-es/commands/DisableFederationCommand.js +47 -0
- package/dist-es/commands/EnableFederationCommand.js +47 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +45 -0
- package/dist-es/protocols/Aws_json1_1.js +195 -1
- package/dist-types/CloudTrail.d.ts +14 -0
- package/dist-types/CloudTrailClient.d.ts +4 -2
- package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +15 -2
- package/dist-types/commands/DisableFederationCommand.d.ts +135 -0
- package/dist-types/commands/EnableFederationCommand.d.ts +149 -0
- package/dist-types/commands/GetEventDataStoreCommand.d.ts +2 -0
- package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +177 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/CloudTrail.d.ts +34 -0
- package/dist-types/ts3.4/CloudTrailClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/DisableFederationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/EnableFederationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +58 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +3 -3
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
|
|
5
|
+
import { EnableFederationRequest, EnableFederationResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link EnableFederationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface EnableFederationCommandInput extends EnableFederationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link EnableFederationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface EnableFederationCommandOutput extends EnableFederationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>
|
|
27
|
+
* Enables Lake query federation on the specified event data store. Federating an event data store lets you view the metadata associated with the event data store in the Glue
|
|
28
|
+
* <a href="https://docs.aws.amazon.com/glue/latest/dg/components-overview.html#data-catalog-intro">Data Catalog</a> and run
|
|
29
|
+
* SQL queries against your event data using Amazon Athena. The table metadata stored in the Glue Data Catalog
|
|
30
|
+
* lets the Athena query engine know how to find, read, and process the data that you want to query.</p>
|
|
31
|
+
* <p>When you enable Lake query federation, CloudTrail
|
|
32
|
+
* creates a federated database named <code>aws:cloudtrail</code> (if the database doesn't already exist) and a federated table in
|
|
33
|
+
* the Glue Data Catalog. The event data store ID is used for the table name. CloudTrail registers the role ARN and event data store in
|
|
34
|
+
* <a href="https://docs.aws.amazon.com/lake-formation/latest/dg/how-it-works.html">Lake Formation</a>, the service responsible for revoking or granting permissions
|
|
35
|
+
* to the federated resources in the Glue Data Catalog.
|
|
36
|
+
* </p>
|
|
37
|
+
* <p>For more information about Lake query federation, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-federation.html">Federate an event data store</a>.</p>
|
|
38
|
+
* @example
|
|
39
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
+
* ```javascript
|
|
41
|
+
* import { CloudTrailClient, EnableFederationCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
42
|
+
* // const { CloudTrailClient, EnableFederationCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
43
|
+
* const client = new CloudTrailClient(config);
|
|
44
|
+
* const input = { // EnableFederationRequest
|
|
45
|
+
* EventDataStore: "STRING_VALUE", // required
|
|
46
|
+
* FederationRoleArn: "STRING_VALUE", // required
|
|
47
|
+
* };
|
|
48
|
+
* const command = new EnableFederationCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // EnableFederationResponse
|
|
51
|
+
* // EventDataStoreArn: "STRING_VALUE",
|
|
52
|
+
* // FederationStatus: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED",
|
|
53
|
+
* // FederationRoleArn: "STRING_VALUE",
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param EnableFederationCommandInput - {@link EnableFederationCommandInput}
|
|
59
|
+
* @returns {@link EnableFederationCommandOutput}
|
|
60
|
+
* @see {@link EnableFederationCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link EnableFederationCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
65
|
+
* <p>
|
|
66
|
+
* You do not have sufficient access to perform this action.
|
|
67
|
+
* </p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link CloudTrailAccessNotEnabledException} (client fault)
|
|
70
|
+
* <p>This exception is thrown when trusted access has not been enabled between CloudTrail and Organizations. For more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html">Enabling Trusted Access with Other Amazon Web Services Services</a> and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html">Prepare For Creating a Trail For Your Organization</a>. </p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
73
|
+
* <p>
|
|
74
|
+
* You are trying to update a resource when another request is in progress. Allow sufficient wait time for the previous request to complete, then retry your request.
|
|
75
|
+
* </p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link EventDataStoreARNInvalidException} (client fault)
|
|
78
|
+
* <p>The specified event data store ARN is not valid or does not map to an event data store
|
|
79
|
+
* in your account.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link EventDataStoreFederationEnabledException} (client fault)
|
|
82
|
+
* <p>
|
|
83
|
+
* You cannot delete the event data store because Lake query federation is enabled. To delete the event data store, run the <code>DisableFederation</code> operation to
|
|
84
|
+
* disable Lake query federation on the event data store.
|
|
85
|
+
* </p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link EventDataStoreNotFoundException} (client fault)
|
|
88
|
+
* <p>The specified event data store was not found.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link InactiveEventDataStoreException} (client fault)
|
|
91
|
+
* <p>The event data store is inactive.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link InsufficientDependencyServiceAccessPermissionException} (client fault)
|
|
94
|
+
* <p>This exception is thrown when the IAM identity that is used to create
|
|
95
|
+
* the organization resource lacks one or more required permissions for creating an
|
|
96
|
+
* organization resource in a required service.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
99
|
+
* <p>The request includes a parameter that is not valid.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link NoManagementAccountSLRExistsException} (client fault)
|
|
102
|
+
* <p> This exception is thrown when the management account does not have a service-linked
|
|
103
|
+
* role. </p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link NotOrganizationMasterAccountException} (client fault)
|
|
106
|
+
* <p>This exception is thrown when the Amazon Web Services account making the request to
|
|
107
|
+
* create or update an organization trail or event data store is not the management account
|
|
108
|
+
* for an organization in Organizations. For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html">Prepare For Creating a Trail For Your Organization</a> or <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html">Create an event data store</a>.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link OperationNotPermittedException} (client fault)
|
|
111
|
+
* <p>This exception is thrown when the requested operation is not permitted.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link OrganizationNotInAllFeaturesModeException} (client fault)
|
|
114
|
+
* <p>This exception is thrown when Organizations is not configured to support all
|
|
115
|
+
* features. All features must be enabled in Organizations to support creating an
|
|
116
|
+
* organization trail or event data store.</p>
|
|
117
|
+
*
|
|
118
|
+
* @throws {@link OrganizationsNotInUseException} (client fault)
|
|
119
|
+
* <p>This exception is thrown when the request is made from an Amazon Web Services account
|
|
120
|
+
* that is not a member of an organization. To make this request, sign in using the
|
|
121
|
+
* credentials of an account that belongs to an organization.</p>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link UnsupportedOperationException} (client fault)
|
|
124
|
+
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link CloudTrailServiceException}
|
|
127
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
128
|
+
*
|
|
129
|
+
*/
|
|
130
|
+
export declare class EnableFederationCommand extends $Command<EnableFederationCommandInput, EnableFederationCommandOutput, CloudTrailClientResolvedConfig> {
|
|
131
|
+
readonly input: EnableFederationCommandInput;
|
|
132
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
133
|
+
/**
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
constructor(input: EnableFederationCommandInput);
|
|
137
|
+
/**
|
|
138
|
+
* @internal
|
|
139
|
+
*/
|
|
140
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<EnableFederationCommandInput, EnableFederationCommandOutput>;
|
|
141
|
+
/**
|
|
142
|
+
* @internal
|
|
143
|
+
*/
|
|
144
|
+
private serialize;
|
|
145
|
+
/**
|
|
146
|
+
* @internal
|
|
147
|
+
*/
|
|
148
|
+
private deserialize;
|
|
149
|
+
}
|
|
@@ -74,6 +74,8 @@ export interface GetEventDataStoreCommandOutput extends GetEventDataStoreRespons
|
|
|
74
74
|
* // UpdatedTimestamp: new Date("TIMESTAMP"),
|
|
75
75
|
* // KmsKeyId: "STRING_VALUE",
|
|
76
76
|
* // BillingMode: "EXTENDABLE_RETENTION_PRICING" || "FIXED_RETENTION_PRICING",
|
|
77
|
+
* // FederationStatus: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED",
|
|
78
|
+
* // FederationRoleArn: "STRING_VALUE",
|
|
77
79
|
* // };
|
|
78
80
|
*
|
|
79
81
|
* ```
|
|
@@ -115,6 +115,8 @@ export interface UpdateEventDataStoreCommandOutput extends UpdateEventDataStoreR
|
|
|
115
115
|
* // UpdatedTimestamp: new Date("TIMESTAMP"),
|
|
116
116
|
* // KmsKeyId: "STRING_VALUE",
|
|
117
117
|
* // BillingMode: "EXTENDABLE_RETENTION_PRICING" || "FIXED_RETENTION_PRICING",
|
|
118
|
+
* // FederationStatus: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED",
|
|
119
|
+
* // FederationRoleArn: "STRING_VALUE",
|
|
118
120
|
* // };
|
|
119
121
|
*
|
|
120
122
|
* ```
|
|
@@ -10,6 +10,8 @@ export * from "./DeleteTrailCommand";
|
|
|
10
10
|
export * from "./DeregisterOrganizationDelegatedAdminCommand";
|
|
11
11
|
export * from "./DescribeQueryCommand";
|
|
12
12
|
export * from "./DescribeTrailsCommand";
|
|
13
|
+
export * from "./DisableFederationCommand";
|
|
14
|
+
export * from "./EnableFederationCommand";
|
|
13
15
|
export * from "./GetChannelCommand";
|
|
14
16
|
export * from "./GetEventDataStoreCommand";
|
|
15
17
|
export * from "./GetEventSelectorsCommand";
|
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { CloudTrailServiceException as __BaseException } from "./CloudTrailServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
* <p>
|
|
6
|
+
* You do not have sufficient access to perform this action.
|
|
7
|
+
* </p>
|
|
8
|
+
*/
|
|
9
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
10
|
+
readonly name: "AccessDeniedException";
|
|
11
|
+
readonly $fault: "client";
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
* <p>Brief description of the exception returned by the request.</p>
|
|
15
|
+
*/
|
|
16
|
+
Message?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
20
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
21
|
+
}
|
|
3
22
|
/**
|
|
4
23
|
* @public
|
|
5
24
|
* <p> This exception is thrown when you start a new import and a previous import is still in
|
|
@@ -2434,6 +2453,26 @@ export interface DeleteEventDataStoreRequest {
|
|
|
2434
2453
|
*/
|
|
2435
2454
|
export interface DeleteEventDataStoreResponse {
|
|
2436
2455
|
}
|
|
2456
|
+
/**
|
|
2457
|
+
* @public
|
|
2458
|
+
* <p>
|
|
2459
|
+
* You cannot delete the event data store because Lake query federation is enabled. To delete the event data store, run the <code>DisableFederation</code> operation to
|
|
2460
|
+
* disable Lake query federation on the event data store.
|
|
2461
|
+
* </p>
|
|
2462
|
+
*/
|
|
2463
|
+
export declare class EventDataStoreFederationEnabledException extends __BaseException {
|
|
2464
|
+
readonly name: "EventDataStoreFederationEnabledException";
|
|
2465
|
+
readonly $fault: "client";
|
|
2466
|
+
/**
|
|
2467
|
+
* @public
|
|
2468
|
+
* <p>Brief description of the exception returned by the request.</p>
|
|
2469
|
+
*/
|
|
2470
|
+
Message?: string;
|
|
2471
|
+
/**
|
|
2472
|
+
* @internal
|
|
2473
|
+
*/
|
|
2474
|
+
constructor(opts: __ExceptionOptionType<EventDataStoreFederationEnabledException, __BaseException>);
|
|
2475
|
+
}
|
|
2437
2476
|
/**
|
|
2438
2477
|
* @public
|
|
2439
2478
|
* <p> This exception is thrown when you try to update or delete an event data store that
|
|
@@ -2916,6 +2955,114 @@ export interface DescribeTrailsResponse {
|
|
|
2916
2955
|
*/
|
|
2917
2956
|
trailList?: Trail[];
|
|
2918
2957
|
}
|
|
2958
|
+
/**
|
|
2959
|
+
* @public
|
|
2960
|
+
* <p>
|
|
2961
|
+
* You are trying to update a resource when another request is in progress. Allow sufficient wait time for the previous request to complete, then retry your request.
|
|
2962
|
+
* </p>
|
|
2963
|
+
*/
|
|
2964
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
2965
|
+
readonly name: "ConcurrentModificationException";
|
|
2966
|
+
readonly $fault: "client";
|
|
2967
|
+
/**
|
|
2968
|
+
* @public
|
|
2969
|
+
* <p>Brief description of the exception returned by the request.</p>
|
|
2970
|
+
*/
|
|
2971
|
+
Message?: string;
|
|
2972
|
+
/**
|
|
2973
|
+
* @internal
|
|
2974
|
+
*/
|
|
2975
|
+
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
2976
|
+
}
|
|
2977
|
+
/**
|
|
2978
|
+
* @public
|
|
2979
|
+
*/
|
|
2980
|
+
export interface DisableFederationRequest {
|
|
2981
|
+
/**
|
|
2982
|
+
* @public
|
|
2983
|
+
* <p>
|
|
2984
|
+
* The ARN (or ID suffix of the ARN) of the event data store for which you want to disable Lake query federation.
|
|
2985
|
+
* </p>
|
|
2986
|
+
*/
|
|
2987
|
+
EventDataStore: string | undefined;
|
|
2988
|
+
}
|
|
2989
|
+
/**
|
|
2990
|
+
* @public
|
|
2991
|
+
* @enum
|
|
2992
|
+
*/
|
|
2993
|
+
export declare const FederationStatus: {
|
|
2994
|
+
readonly DISABLED: "DISABLED";
|
|
2995
|
+
readonly DISABLING: "DISABLING";
|
|
2996
|
+
readonly ENABLED: "ENABLED";
|
|
2997
|
+
readonly ENABLING: "ENABLING";
|
|
2998
|
+
};
|
|
2999
|
+
/**
|
|
3000
|
+
* @public
|
|
3001
|
+
*/
|
|
3002
|
+
export type FederationStatus = (typeof FederationStatus)[keyof typeof FederationStatus];
|
|
3003
|
+
/**
|
|
3004
|
+
* @public
|
|
3005
|
+
*/
|
|
3006
|
+
export interface DisableFederationResponse {
|
|
3007
|
+
/**
|
|
3008
|
+
* @public
|
|
3009
|
+
* <p>
|
|
3010
|
+
* The ARN of the event data store for which you disabled Lake query federation.
|
|
3011
|
+
* </p>
|
|
3012
|
+
*/
|
|
3013
|
+
EventDataStoreArn?: string;
|
|
3014
|
+
/**
|
|
3015
|
+
* @public
|
|
3016
|
+
* <p>
|
|
3017
|
+
* The federation status.
|
|
3018
|
+
* </p>
|
|
3019
|
+
*/
|
|
3020
|
+
FederationStatus?: FederationStatus;
|
|
3021
|
+
}
|
|
3022
|
+
/**
|
|
3023
|
+
* @public
|
|
3024
|
+
*/
|
|
3025
|
+
export interface EnableFederationRequest {
|
|
3026
|
+
/**
|
|
3027
|
+
* @public
|
|
3028
|
+
* <p>The ARN (or ID suffix of the ARN) of the event data store for which you want to enable Lake query federation.</p>
|
|
3029
|
+
*/
|
|
3030
|
+
EventDataStore: string | undefined;
|
|
3031
|
+
/**
|
|
3032
|
+
* @public
|
|
3033
|
+
* <p>
|
|
3034
|
+
* The ARN of the federation role to use for the event data store. Amazon Web Services services like Lake Formation use this federation role to access data for the federated event
|
|
3035
|
+
* data store. The federation role must exist in your account and provide the <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-federation.html#query-federation-permissions-role">required minimum permissions</a>.
|
|
3036
|
+
* </p>
|
|
3037
|
+
*/
|
|
3038
|
+
FederationRoleArn: string | undefined;
|
|
3039
|
+
}
|
|
3040
|
+
/**
|
|
3041
|
+
* @public
|
|
3042
|
+
*/
|
|
3043
|
+
export interface EnableFederationResponse {
|
|
3044
|
+
/**
|
|
3045
|
+
* @public
|
|
3046
|
+
* <p>
|
|
3047
|
+
* The ARN of the event data store for which you enabled Lake query federation.
|
|
3048
|
+
* </p>
|
|
3049
|
+
*/
|
|
3050
|
+
EventDataStoreArn?: string;
|
|
3051
|
+
/**
|
|
3052
|
+
* @public
|
|
3053
|
+
* <p>
|
|
3054
|
+
* The federation status.
|
|
3055
|
+
* </p>
|
|
3056
|
+
*/
|
|
3057
|
+
FederationStatus?: FederationStatus;
|
|
3058
|
+
/**
|
|
3059
|
+
* @public
|
|
3060
|
+
* <p>
|
|
3061
|
+
* The ARN of the federation role.
|
|
3062
|
+
* </p>
|
|
3063
|
+
*/
|
|
3064
|
+
FederationRoleArn?: string;
|
|
3065
|
+
}
|
|
2919
3066
|
/**
|
|
2920
3067
|
* @public
|
|
2921
3068
|
*/
|
|
@@ -3100,6 +3247,21 @@ export interface GetEventDataStoreResponse {
|
|
|
3100
3247
|
* <p>The billing mode for the event data store.</p>
|
|
3101
3248
|
*/
|
|
3102
3249
|
BillingMode?: BillingMode;
|
|
3250
|
+
/**
|
|
3251
|
+
* @public
|
|
3252
|
+
* <p>
|
|
3253
|
+
* Indicates the <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-federation.html">Lake query federation</a> status. The status is
|
|
3254
|
+
* <code>ENABLED</code> if Lake query federation is enabled, or <code>DISABLED</code> if Lake query federation is disabled. You cannot delete an event data store if the <code>FederationStatus</code> is <code>ENABLED</code>.
|
|
3255
|
+
* </p>
|
|
3256
|
+
*/
|
|
3257
|
+
FederationStatus?: FederationStatus;
|
|
3258
|
+
/**
|
|
3259
|
+
* @public
|
|
3260
|
+
* <p>
|
|
3261
|
+
* If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the federated event data store.
|
|
3262
|
+
* </p>
|
|
3263
|
+
*/
|
|
3264
|
+
FederationRoleArn?: string;
|
|
3103
3265
|
}
|
|
3104
3266
|
/**
|
|
3105
3267
|
* @public
|
|
@@ -5965,6 +6127,21 @@ export interface UpdateEventDataStoreResponse {
|
|
|
5965
6127
|
* <p>The billing mode for the event data store.</p>
|
|
5966
6128
|
*/
|
|
5967
6129
|
BillingMode?: BillingMode;
|
|
6130
|
+
/**
|
|
6131
|
+
* @public
|
|
6132
|
+
* <p>
|
|
6133
|
+
* Indicates the <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-federation.html">Lake query federation</a> status. The status is
|
|
6134
|
+
* <code>ENABLED</code> if Lake query federation is enabled, or <code>DISABLED</code> if Lake query federation is disabled. You cannot delete an event data store if the <code>FederationStatus</code> is <code>ENABLED</code>.
|
|
6135
|
+
* </p>
|
|
6136
|
+
*/
|
|
6137
|
+
FederationStatus?: FederationStatus;
|
|
6138
|
+
/**
|
|
6139
|
+
* @public
|
|
6140
|
+
* <p>
|
|
6141
|
+
* If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the federated event data store.
|
|
6142
|
+
* </p>
|
|
6143
|
+
*/
|
|
6144
|
+
FederationRoleArn?: string;
|
|
5968
6145
|
}
|
|
5969
6146
|
/**
|
|
5970
6147
|
* @public
|
|
@@ -12,6 +12,8 @@ import { DeleteTrailCommandInput, DeleteTrailCommandOutput } from "../commands/D
|
|
|
12
12
|
import { DeregisterOrganizationDelegatedAdminCommandInput, DeregisterOrganizationDelegatedAdminCommandOutput } from "../commands/DeregisterOrganizationDelegatedAdminCommand";
|
|
13
13
|
import { DescribeQueryCommandInput, DescribeQueryCommandOutput } from "../commands/DescribeQueryCommand";
|
|
14
14
|
import { DescribeTrailsCommandInput, DescribeTrailsCommandOutput } from "../commands/DescribeTrailsCommand";
|
|
15
|
+
import { DisableFederationCommandInput, DisableFederationCommandOutput } from "../commands/DisableFederationCommand";
|
|
16
|
+
import { EnableFederationCommandInput, EnableFederationCommandOutput } from "../commands/EnableFederationCommand";
|
|
15
17
|
import { GetChannelCommandInput, GetChannelCommandOutput } from "../commands/GetChannelCommand";
|
|
16
18
|
import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "../commands/GetEventDataStoreCommand";
|
|
17
19
|
import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "../commands/GetEventSelectorsCommand";
|
|
@@ -94,6 +96,14 @@ export declare const se_DescribeQueryCommand: (input: DescribeQueryCommandInput,
|
|
|
94
96
|
* serializeAws_json1_1DescribeTrailsCommand
|
|
95
97
|
*/
|
|
96
98
|
export declare const se_DescribeTrailsCommand: (input: DescribeTrailsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
99
|
+
/**
|
|
100
|
+
* serializeAws_json1_1DisableFederationCommand
|
|
101
|
+
*/
|
|
102
|
+
export declare const se_DisableFederationCommand: (input: DisableFederationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
103
|
+
/**
|
|
104
|
+
* serializeAws_json1_1EnableFederationCommand
|
|
105
|
+
*/
|
|
106
|
+
export declare const se_EnableFederationCommand: (input: EnableFederationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
97
107
|
/**
|
|
98
108
|
* serializeAws_json1_1GetChannelCommand
|
|
99
109
|
*/
|
|
@@ -278,6 +288,14 @@ export declare const de_DescribeQueryCommand: (output: __HttpResponse, context:
|
|
|
278
288
|
* deserializeAws_json1_1DescribeTrailsCommand
|
|
279
289
|
*/
|
|
280
290
|
export declare const de_DescribeTrailsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeTrailsCommandOutput>;
|
|
291
|
+
/**
|
|
292
|
+
* deserializeAws_json1_1DisableFederationCommand
|
|
293
|
+
*/
|
|
294
|
+
export declare const de_DisableFederationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisableFederationCommandOutput>;
|
|
295
|
+
/**
|
|
296
|
+
* deserializeAws_json1_1EnableFederationCommand
|
|
297
|
+
*/
|
|
298
|
+
export declare const de_EnableFederationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<EnableFederationCommandOutput>;
|
|
281
299
|
/**
|
|
282
300
|
* deserializeAws_json1_1GetChannelCommand
|
|
283
301
|
*/
|
|
@@ -48,6 +48,14 @@ import {
|
|
|
48
48
|
DescribeTrailsCommandInput,
|
|
49
49
|
DescribeTrailsCommandOutput,
|
|
50
50
|
} from "./commands/DescribeTrailsCommand";
|
|
51
|
+
import {
|
|
52
|
+
DisableFederationCommandInput,
|
|
53
|
+
DisableFederationCommandOutput,
|
|
54
|
+
} from "./commands/DisableFederationCommand";
|
|
55
|
+
import {
|
|
56
|
+
EnableFederationCommandInput,
|
|
57
|
+
EnableFederationCommandOutput,
|
|
58
|
+
} from "./commands/EnableFederationCommand";
|
|
51
59
|
import {
|
|
52
60
|
GetChannelCommandInput,
|
|
53
61
|
GetChannelCommandOutput,
|
|
@@ -347,6 +355,32 @@ export interface CloudTrail {
|
|
|
347
355
|
options: __HttpHandlerOptions,
|
|
348
356
|
cb: (err: any, data?: DescribeTrailsCommandOutput) => void
|
|
349
357
|
): void;
|
|
358
|
+
disableFederation(
|
|
359
|
+
args: DisableFederationCommandInput,
|
|
360
|
+
options?: __HttpHandlerOptions
|
|
361
|
+
): Promise<DisableFederationCommandOutput>;
|
|
362
|
+
disableFederation(
|
|
363
|
+
args: DisableFederationCommandInput,
|
|
364
|
+
cb: (err: any, data?: DisableFederationCommandOutput) => void
|
|
365
|
+
): void;
|
|
366
|
+
disableFederation(
|
|
367
|
+
args: DisableFederationCommandInput,
|
|
368
|
+
options: __HttpHandlerOptions,
|
|
369
|
+
cb: (err: any, data?: DisableFederationCommandOutput) => void
|
|
370
|
+
): void;
|
|
371
|
+
enableFederation(
|
|
372
|
+
args: EnableFederationCommandInput,
|
|
373
|
+
options?: __HttpHandlerOptions
|
|
374
|
+
): Promise<EnableFederationCommandOutput>;
|
|
375
|
+
enableFederation(
|
|
376
|
+
args: EnableFederationCommandInput,
|
|
377
|
+
cb: (err: any, data?: EnableFederationCommandOutput) => void
|
|
378
|
+
): void;
|
|
379
|
+
enableFederation(
|
|
380
|
+
args: EnableFederationCommandInput,
|
|
381
|
+
options: __HttpHandlerOptions,
|
|
382
|
+
cb: (err: any, data?: EnableFederationCommandOutput) => void
|
|
383
|
+
): void;
|
|
350
384
|
getChannel(
|
|
351
385
|
args: GetChannelCommandInput,
|
|
352
386
|
options?: __HttpHandlerOptions
|
|
@@ -93,6 +93,14 @@ import {
|
|
|
93
93
|
DescribeTrailsCommandInput,
|
|
94
94
|
DescribeTrailsCommandOutput,
|
|
95
95
|
} from "./commands/DescribeTrailsCommand";
|
|
96
|
+
import {
|
|
97
|
+
DisableFederationCommandInput,
|
|
98
|
+
DisableFederationCommandOutput,
|
|
99
|
+
} from "./commands/DisableFederationCommand";
|
|
100
|
+
import {
|
|
101
|
+
EnableFederationCommandInput,
|
|
102
|
+
EnableFederationCommandOutput,
|
|
103
|
+
} from "./commands/EnableFederationCommand";
|
|
96
104
|
import {
|
|
97
105
|
GetChannelCommandInput,
|
|
98
106
|
GetChannelCommandOutput,
|
|
@@ -249,6 +257,8 @@ export type ServiceInputTypes =
|
|
|
249
257
|
| DeregisterOrganizationDelegatedAdminCommandInput
|
|
250
258
|
| DescribeQueryCommandInput
|
|
251
259
|
| DescribeTrailsCommandInput
|
|
260
|
+
| DisableFederationCommandInput
|
|
261
|
+
| EnableFederationCommandInput
|
|
252
262
|
| GetChannelCommandInput
|
|
253
263
|
| GetEventDataStoreCommandInput
|
|
254
264
|
| GetEventSelectorsCommandInput
|
|
@@ -296,6 +306,8 @@ export type ServiceOutputTypes =
|
|
|
296
306
|
| DeregisterOrganizationDelegatedAdminCommandOutput
|
|
297
307
|
| DescribeQueryCommandOutput
|
|
298
308
|
| DescribeTrailsCommandOutput
|
|
309
|
+
| DisableFederationCommandOutput
|
|
310
|
+
| EnableFederationCommandOutput
|
|
299
311
|
| GetChannelCommandOutput
|
|
300
312
|
| GetEventDataStoreCommandOutput
|
|
301
313
|
| GetEventSelectorsCommandOutput
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
CloudTrailClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../CloudTrailClient";
|
|
14
|
+
import {
|
|
15
|
+
DisableFederationRequest,
|
|
16
|
+
DisableFederationResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface DisableFederationCommandInput
|
|
20
|
+
extends DisableFederationRequest {}
|
|
21
|
+
export interface DisableFederationCommandOutput
|
|
22
|
+
extends DisableFederationResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class DisableFederationCommand extends $Command<
|
|
25
|
+
DisableFederationCommandInput,
|
|
26
|
+
DisableFederationCommandOutput,
|
|
27
|
+
CloudTrailClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: DisableFederationCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: DisableFederationCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: CloudTrailClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<DisableFederationCommandInput, DisableFederationCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
CloudTrailClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../CloudTrailClient";
|
|
14
|
+
import {
|
|
15
|
+
EnableFederationRequest,
|
|
16
|
+
EnableFederationResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface EnableFederationCommandInput extends EnableFederationRequest {}
|
|
20
|
+
export interface EnableFederationCommandOutput
|
|
21
|
+
extends EnableFederationResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class EnableFederationCommand extends $Command<
|
|
24
|
+
EnableFederationCommandInput,
|
|
25
|
+
EnableFederationCommandOutput,
|
|
26
|
+
CloudTrailClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: EnableFederationCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: EnableFederationCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: CloudTrailClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<EnableFederationCommandInput, EnableFederationCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -10,6 +10,8 @@ export * from "./DeleteTrailCommand";
|
|
|
10
10
|
export * from "./DeregisterOrganizationDelegatedAdminCommand";
|
|
11
11
|
export * from "./DescribeQueryCommand";
|
|
12
12
|
export * from "./DescribeTrailsCommand";
|
|
13
|
+
export * from "./DisableFederationCommand";
|
|
14
|
+
export * from "./EnableFederationCommand";
|
|
13
15
|
export * from "./GetChannelCommand";
|
|
14
16
|
export * from "./GetEventDataStoreCommand";
|
|
15
17
|
export * from "./GetEventSelectorsCommand";
|