@aws-sdk/client-cloudwatch-logs 3.441.0 → 3.448.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 +120 -0
- package/dist-cjs/CloudWatchLogs.js +30 -0
- package/dist-cjs/commands/CreateDeliveryCommand.js +51 -0
- package/dist-cjs/commands/DeleteDeliveryCommand.js +51 -0
- package/dist-cjs/commands/DeleteDeliveryDestinationCommand.js +51 -0
- package/dist-cjs/commands/DeleteDeliveryDestinationPolicyCommand.js +51 -0
- package/dist-cjs/commands/DeleteDeliverySourceCommand.js +51 -0
- package/dist-cjs/commands/DescribeDeliveriesCommand.js +51 -0
- package/dist-cjs/commands/DescribeDeliveryDestinationsCommand.js +51 -0
- package/dist-cjs/commands/DescribeDeliverySourcesCommand.js +51 -0
- package/dist-cjs/commands/GetDeliveryCommand.js +51 -0
- package/dist-cjs/commands/GetDeliveryDestinationCommand.js +51 -0
- package/dist-cjs/commands/GetDeliveryDestinationPolicyCommand.js +51 -0
- package/dist-cjs/commands/GetDeliverySourceCommand.js +51 -0
- package/dist-cjs/commands/PutDeliveryDestinationCommand.js +51 -0
- package/dist-cjs/commands/PutDeliveryDestinationPolicyCommand.js +51 -0
- package/dist-cjs/commands/PutDeliverySourceCommand.js +51 -0
- package/dist-cjs/commands/index.js +15 -0
- package/dist-cjs/models/models_0.js +78 -1
- package/dist-cjs/pagination/DescribeDeliveriesPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeDeliveryDestinationsPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeDeliverySourcesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_json1_1.js +887 -74
- package/dist-es/CloudWatchLogs.js +30 -0
- package/dist-es/commands/CreateDeliveryCommand.js +47 -0
- package/dist-es/commands/DeleteDeliveryCommand.js +47 -0
- package/dist-es/commands/DeleteDeliveryDestinationCommand.js +47 -0
- package/dist-es/commands/DeleteDeliveryDestinationPolicyCommand.js +47 -0
- package/dist-es/commands/DeleteDeliverySourceCommand.js +47 -0
- package/dist-es/commands/DescribeDeliveriesCommand.js +47 -0
- package/dist-es/commands/DescribeDeliveryDestinationsCommand.js +47 -0
- package/dist-es/commands/DescribeDeliverySourcesCommand.js +47 -0
- package/dist-es/commands/GetDeliveryCommand.js +47 -0
- package/dist-es/commands/GetDeliveryDestinationCommand.js +47 -0
- package/dist-es/commands/GetDeliveryDestinationPolicyCommand.js +47 -0
- package/dist-es/commands/GetDeliverySourceCommand.js +47 -0
- package/dist-es/commands/PutDeliveryDestinationCommand.js +47 -0
- package/dist-es/commands/PutDeliveryDestinationPolicyCommand.js +47 -0
- package/dist-es/commands/PutDeliverySourceCommand.js +47 -0
- package/dist-es/commands/index.js +15 -0
- package/dist-es/models/models_0.js +72 -0
- package/dist-es/pagination/DescribeDeliveriesPaginator.js +25 -0
- package/dist-es/pagination/DescribeDeliveryDestinationsPaginator.js +25 -0
- package/dist-es/pagination/DescribeDeliverySourcesPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +854 -71
- package/dist-types/CloudWatchLogs.d.ts +105 -0
- package/dist-types/CloudWatchLogsClient.d.ts +17 -2
- package/dist-types/commands/CreateDeliveryCommand.d.ts +142 -0
- package/dist-types/commands/DeleteDeliveryCommand.d.ts +91 -0
- package/dist-types/commands/DeleteDeliveryDestinationCommand.d.ts +92 -0
- package/dist-types/commands/DeleteDeliveryDestinationPolicyCommand.d.ts +84 -0
- package/dist-types/commands/DeleteDeliverySourceCommand.d.ts +92 -0
- package/dist-types/commands/DescribeDeliveriesCommand.d.ts +98 -0
- package/dist-types/commands/DescribeDeliveryDestinationsCommand.d.ts +100 -0
- package/dist-types/commands/DescribeDeliverySourcesCommand.d.ts +100 -0
- package/dist-types/commands/GetDeliveryCommand.d.ts +101 -0
- package/dist-types/commands/GetDeliveryDestinationCommand.d.ts +99 -0
- package/dist-types/commands/GetDeliveryDestinationPolicyCommand.d.ts +86 -0
- package/dist-types/commands/GetDeliverySourceCommand.d.ts +99 -0
- package/dist-types/commands/GetQueryResultsCommand.d.ts +2 -1
- package/dist-types/commands/PutDeliveryDestinationCommand.d.ts +145 -0
- package/dist-types/commands/PutDeliveryDestinationPolicyCommand.d.ts +118 -0
- package/dist-types/commands/PutDeliverySourceCommand.d.ts +142 -0
- package/dist-types/commands/index.d.ts +15 -0
- package/dist-types/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +635 -0
- package/dist-types/pagination/DescribeDeliveriesPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeDeliveryDestinationsPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeDeliverySourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +135 -0
- package/dist-types/ts3.4/CloudWatchLogs.d.ts +255 -0
- package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +90 -0
- package/dist-types/ts3.4/commands/CreateDeliveryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteDeliveryCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/DeleteDeliveryDestinationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteDeliveryDestinationPolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteDeliverySourceCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DescribeDeliveriesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeDeliveryDestinationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeDeliverySourcesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetDeliveryCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetDeliveryDestinationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetDeliveryDestinationPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetDeliverySourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/PutDeliveryDestinationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutDeliveryDestinationPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutDeliverySourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +15 -0
- package/dist-types/ts3.4/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +173 -0
- package/dist-types/ts3.4/pagination/DescribeDeliveriesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeDeliveryDestinationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeDeliverySourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +180 -0
- package/package.json +4 -4
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
CloudWatchLogsClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../CloudWatchLogsClient";
|
|
14
|
+
import {
|
|
15
|
+
PutDeliveryDestinationRequest,
|
|
16
|
+
PutDeliveryDestinationResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface PutDeliveryDestinationCommandInput
|
|
20
|
+
extends PutDeliveryDestinationRequest {}
|
|
21
|
+
export interface PutDeliveryDestinationCommandOutput
|
|
22
|
+
extends PutDeliveryDestinationResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class PutDeliveryDestinationCommand extends $Command<
|
|
25
|
+
PutDeliveryDestinationCommandInput,
|
|
26
|
+
PutDeliveryDestinationCommandOutput,
|
|
27
|
+
CloudWatchLogsClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: PutDeliveryDestinationCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: PutDeliveryDestinationCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: CloudWatchLogsClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
PutDeliveryDestinationCommandInput,
|
|
38
|
+
PutDeliveryDestinationCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
CloudWatchLogsClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../CloudWatchLogsClient";
|
|
14
|
+
import {
|
|
15
|
+
PutDeliveryDestinationPolicyRequest,
|
|
16
|
+
PutDeliveryDestinationPolicyResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface PutDeliveryDestinationPolicyCommandInput
|
|
20
|
+
extends PutDeliveryDestinationPolicyRequest {}
|
|
21
|
+
export interface PutDeliveryDestinationPolicyCommandOutput
|
|
22
|
+
extends PutDeliveryDestinationPolicyResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class PutDeliveryDestinationPolicyCommand extends $Command<
|
|
25
|
+
PutDeliveryDestinationPolicyCommandInput,
|
|
26
|
+
PutDeliveryDestinationPolicyCommandOutput,
|
|
27
|
+
CloudWatchLogsClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: PutDeliveryDestinationPolicyCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: PutDeliveryDestinationPolicyCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: CloudWatchLogsClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
PutDeliveryDestinationPolicyCommandInput,
|
|
38
|
+
PutDeliveryDestinationPolicyCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -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
|
+
CloudWatchLogsClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../CloudWatchLogsClient";
|
|
14
|
+
import {
|
|
15
|
+
PutDeliverySourceRequest,
|
|
16
|
+
PutDeliverySourceResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface PutDeliverySourceCommandInput
|
|
20
|
+
extends PutDeliverySourceRequest {}
|
|
21
|
+
export interface PutDeliverySourceCommandOutput
|
|
22
|
+
extends PutDeliverySourceResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class PutDeliverySourceCommand extends $Command<
|
|
25
|
+
PutDeliverySourceCommandInput,
|
|
26
|
+
PutDeliverySourceCommandOutput,
|
|
27
|
+
CloudWatchLogsClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: PutDeliverySourceCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: PutDeliverySourceCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: CloudWatchLogsClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<PutDeliverySourceCommandInput, PutDeliverySourceCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
export * from "./AssociateKmsKeyCommand";
|
|
2
2
|
export * from "./CancelExportTaskCommand";
|
|
3
|
+
export * from "./CreateDeliveryCommand";
|
|
3
4
|
export * from "./CreateExportTaskCommand";
|
|
4
5
|
export * from "./CreateLogGroupCommand";
|
|
5
6
|
export * from "./CreateLogStreamCommand";
|
|
6
7
|
export * from "./DeleteAccountPolicyCommand";
|
|
7
8
|
export * from "./DeleteDataProtectionPolicyCommand";
|
|
9
|
+
export * from "./DeleteDeliveryCommand";
|
|
10
|
+
export * from "./DeleteDeliveryDestinationCommand";
|
|
11
|
+
export * from "./DeleteDeliveryDestinationPolicyCommand";
|
|
12
|
+
export * from "./DeleteDeliverySourceCommand";
|
|
8
13
|
export * from "./DeleteDestinationCommand";
|
|
9
14
|
export * from "./DeleteLogGroupCommand";
|
|
10
15
|
export * from "./DeleteLogStreamCommand";
|
|
@@ -14,6 +19,9 @@ export * from "./DeleteResourcePolicyCommand";
|
|
|
14
19
|
export * from "./DeleteRetentionPolicyCommand";
|
|
15
20
|
export * from "./DeleteSubscriptionFilterCommand";
|
|
16
21
|
export * from "./DescribeAccountPoliciesCommand";
|
|
22
|
+
export * from "./DescribeDeliveriesCommand";
|
|
23
|
+
export * from "./DescribeDeliveryDestinationsCommand";
|
|
24
|
+
export * from "./DescribeDeliverySourcesCommand";
|
|
17
25
|
export * from "./DescribeDestinationsCommand";
|
|
18
26
|
export * from "./DescribeExportTasksCommand";
|
|
19
27
|
export * from "./DescribeLogGroupsCommand";
|
|
@@ -26,6 +34,10 @@ export * from "./DescribeSubscriptionFiltersCommand";
|
|
|
26
34
|
export * from "./DisassociateKmsKeyCommand";
|
|
27
35
|
export * from "./FilterLogEventsCommand";
|
|
28
36
|
export * from "./GetDataProtectionPolicyCommand";
|
|
37
|
+
export * from "./GetDeliveryCommand";
|
|
38
|
+
export * from "./GetDeliveryDestinationCommand";
|
|
39
|
+
export * from "./GetDeliveryDestinationPolicyCommand";
|
|
40
|
+
export * from "./GetDeliverySourceCommand";
|
|
29
41
|
export * from "./GetLogEventsCommand";
|
|
30
42
|
export * from "./GetLogGroupFieldsCommand";
|
|
31
43
|
export * from "./GetLogRecordCommand";
|
|
@@ -34,6 +46,9 @@ export * from "./ListTagsForResourceCommand";
|
|
|
34
46
|
export * from "./ListTagsLogGroupCommand";
|
|
35
47
|
export * from "./PutAccountPolicyCommand";
|
|
36
48
|
export * from "./PutDataProtectionPolicyCommand";
|
|
49
|
+
export * from "./PutDeliveryDestinationCommand";
|
|
50
|
+
export * from "./PutDeliveryDestinationPolicyCommand";
|
|
51
|
+
export * from "./PutDeliverySourceCommand";
|
|
37
52
|
export * from "./PutDestinationCommand";
|
|
38
53
|
export * from "./PutDestinationPolicyCommand";
|
|
39
54
|
export * from "./PutLogEventsCommand";
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from "./CloudWatchLogsClient";
|
|
2
2
|
export * from "./CloudWatchLogs";
|
|
3
3
|
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
4
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
|
+
export { CloudWatchLogsExtensionConfiguration } from "./extensionConfiguration";
|
|
4
6
|
export * from "./commands";
|
|
5
7
|
export * from "./pagination";
|
|
6
8
|
export * from "./models";
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { CloudWatchLogsServiceException as __BaseException } from "./CloudWatchLogsServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
3
10
|
export declare const PolicyType: {
|
|
4
11
|
readonly DATA_PROTECTION_POLICY: "DATA_PROTECTION_POLICY";
|
|
5
12
|
};
|
|
@@ -59,6 +66,55 @@ export declare class InvalidOperationException extends __BaseException {
|
|
|
59
66
|
opts: __ExceptionOptionType<InvalidOperationException, __BaseException>
|
|
60
67
|
);
|
|
61
68
|
}
|
|
69
|
+
export declare class ConflictException extends __BaseException {
|
|
70
|
+
readonly name: "ConflictException";
|
|
71
|
+
readonly $fault: "client";
|
|
72
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
73
|
+
}
|
|
74
|
+
export interface CreateDeliveryRequest {
|
|
75
|
+
deliverySourceName: string | undefined;
|
|
76
|
+
deliveryDestinationArn: string | undefined;
|
|
77
|
+
tags?: Record<string, string>;
|
|
78
|
+
}
|
|
79
|
+
export declare const DeliveryDestinationType: {
|
|
80
|
+
readonly CWL: "CWL";
|
|
81
|
+
readonly FH: "FH";
|
|
82
|
+
readonly S3: "S3";
|
|
83
|
+
};
|
|
84
|
+
export type DeliveryDestinationType =
|
|
85
|
+
(typeof DeliveryDestinationType)[keyof typeof DeliveryDestinationType];
|
|
86
|
+
export interface Delivery {
|
|
87
|
+
id?: string;
|
|
88
|
+
arn?: string;
|
|
89
|
+
deliverySourceName?: string;
|
|
90
|
+
deliveryDestinationArn?: string;
|
|
91
|
+
deliveryDestinationType?: DeliveryDestinationType;
|
|
92
|
+
tags?: Record<string, string>;
|
|
93
|
+
}
|
|
94
|
+
export interface CreateDeliveryResponse {
|
|
95
|
+
delivery?: Delivery;
|
|
96
|
+
}
|
|
97
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
98
|
+
readonly name: "ServiceQuotaExceededException";
|
|
99
|
+
readonly $fault: "client";
|
|
100
|
+
constructor(
|
|
101
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
102
|
+
);
|
|
103
|
+
}
|
|
104
|
+
export declare class ThrottlingException extends __BaseException {
|
|
105
|
+
readonly name: "ThrottlingException";
|
|
106
|
+
readonly $fault: "client";
|
|
107
|
+
constructor(
|
|
108
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
109
|
+
);
|
|
110
|
+
}
|
|
111
|
+
export declare class ValidationException extends __BaseException {
|
|
112
|
+
readonly name: "ValidationException";
|
|
113
|
+
readonly $fault: "client";
|
|
114
|
+
constructor(
|
|
115
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
116
|
+
);
|
|
117
|
+
}
|
|
62
118
|
export interface CreateExportTaskRequest {
|
|
63
119
|
taskName?: string;
|
|
64
120
|
logGroupName: string | undefined;
|
|
@@ -117,6 +173,18 @@ export interface DeleteAccountPolicyRequest {
|
|
|
117
173
|
export interface DeleteDataProtectionPolicyRequest {
|
|
118
174
|
logGroupIdentifier: string | undefined;
|
|
119
175
|
}
|
|
176
|
+
export interface DeleteDeliveryRequest {
|
|
177
|
+
id: string | undefined;
|
|
178
|
+
}
|
|
179
|
+
export interface DeleteDeliveryDestinationRequest {
|
|
180
|
+
name: string | undefined;
|
|
181
|
+
}
|
|
182
|
+
export interface DeleteDeliveryDestinationPolicyRequest {
|
|
183
|
+
deliveryDestinationName: string | undefined;
|
|
184
|
+
}
|
|
185
|
+
export interface DeleteDeliverySourceRequest {
|
|
186
|
+
name: string | undefined;
|
|
187
|
+
}
|
|
120
188
|
export interface DeleteDestinationRequest {
|
|
121
189
|
destinationName: string | undefined;
|
|
122
190
|
}
|
|
@@ -147,6 +215,33 @@ export interface DeleteSubscriptionFilterRequest {
|
|
|
147
215
|
logGroupName: string | undefined;
|
|
148
216
|
filterName: string | undefined;
|
|
149
217
|
}
|
|
218
|
+
export interface DeliveryDestinationConfiguration {
|
|
219
|
+
destinationResourceArn: string | undefined;
|
|
220
|
+
}
|
|
221
|
+
export declare const OutputFormat: {
|
|
222
|
+
readonly JSON: "json";
|
|
223
|
+
readonly PARQUET: "parquet";
|
|
224
|
+
readonly PLAIN: "plain";
|
|
225
|
+
readonly RAW: "raw";
|
|
226
|
+
readonly W3C: "w3c";
|
|
227
|
+
};
|
|
228
|
+
export type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat];
|
|
229
|
+
export interface DeliveryDestination {
|
|
230
|
+
name?: string;
|
|
231
|
+
arn?: string;
|
|
232
|
+
deliveryDestinationType?: DeliveryDestinationType;
|
|
233
|
+
outputFormat?: OutputFormat;
|
|
234
|
+
deliveryDestinationConfiguration?: DeliveryDestinationConfiguration;
|
|
235
|
+
tags?: Record<string, string>;
|
|
236
|
+
}
|
|
237
|
+
export interface DeliverySource {
|
|
238
|
+
name?: string;
|
|
239
|
+
arn?: string;
|
|
240
|
+
resourceArns?: string[];
|
|
241
|
+
service?: string;
|
|
242
|
+
logType?: string;
|
|
243
|
+
tags?: Record<string, string>;
|
|
244
|
+
}
|
|
150
245
|
export interface DescribeAccountPoliciesRequest {
|
|
151
246
|
policyType: PolicyType | undefined;
|
|
152
247
|
policyName?: string;
|
|
@@ -155,6 +250,30 @@ export interface DescribeAccountPoliciesRequest {
|
|
|
155
250
|
export interface DescribeAccountPoliciesResponse {
|
|
156
251
|
accountPolicies?: AccountPolicy[];
|
|
157
252
|
}
|
|
253
|
+
export interface DescribeDeliveriesRequest {
|
|
254
|
+
nextToken?: string;
|
|
255
|
+
limit?: number;
|
|
256
|
+
}
|
|
257
|
+
export interface DescribeDeliveriesResponse {
|
|
258
|
+
deliveries?: Delivery[];
|
|
259
|
+
nextToken?: string;
|
|
260
|
+
}
|
|
261
|
+
export interface DescribeDeliveryDestinationsRequest {
|
|
262
|
+
nextToken?: string;
|
|
263
|
+
limit?: number;
|
|
264
|
+
}
|
|
265
|
+
export interface DescribeDeliveryDestinationsResponse {
|
|
266
|
+
deliveryDestinations?: DeliveryDestination[];
|
|
267
|
+
nextToken?: string;
|
|
268
|
+
}
|
|
269
|
+
export interface DescribeDeliverySourcesRequest {
|
|
270
|
+
nextToken?: string;
|
|
271
|
+
limit?: number;
|
|
272
|
+
}
|
|
273
|
+
export interface DescribeDeliverySourcesResponse {
|
|
274
|
+
deliverySources?: DeliverySource[];
|
|
275
|
+
nextToken?: string;
|
|
276
|
+
}
|
|
158
277
|
export interface DescribeDestinationsRequest {
|
|
159
278
|
DestinationNamePrefix?: string;
|
|
160
279
|
nextToken?: string;
|
|
@@ -445,6 +564,33 @@ export interface GetDataProtectionPolicyResponse {
|
|
|
445
564
|
policyDocument?: string;
|
|
446
565
|
lastUpdatedTime?: number;
|
|
447
566
|
}
|
|
567
|
+
export interface GetDeliveryRequest {
|
|
568
|
+
id: string | undefined;
|
|
569
|
+
}
|
|
570
|
+
export interface GetDeliveryResponse {
|
|
571
|
+
delivery?: Delivery;
|
|
572
|
+
}
|
|
573
|
+
export interface GetDeliveryDestinationRequest {
|
|
574
|
+
name: string | undefined;
|
|
575
|
+
}
|
|
576
|
+
export interface GetDeliveryDestinationResponse {
|
|
577
|
+
deliveryDestination?: DeliveryDestination;
|
|
578
|
+
}
|
|
579
|
+
export interface GetDeliveryDestinationPolicyRequest {
|
|
580
|
+
deliveryDestinationName: string | undefined;
|
|
581
|
+
}
|
|
582
|
+
export interface Policy {
|
|
583
|
+
deliveryDestinationPolicy?: string;
|
|
584
|
+
}
|
|
585
|
+
export interface GetDeliveryDestinationPolicyResponse {
|
|
586
|
+
policy?: Policy;
|
|
587
|
+
}
|
|
588
|
+
export interface GetDeliverySourceRequest {
|
|
589
|
+
name: string | undefined;
|
|
590
|
+
}
|
|
591
|
+
export interface GetDeliverySourceResponse {
|
|
592
|
+
deliverySource?: DeliverySource;
|
|
593
|
+
}
|
|
448
594
|
export interface GetLogEventsRequest {
|
|
449
595
|
logGroupName?: string;
|
|
450
596
|
logGroupIdentifier?: string;
|
|
@@ -545,6 +691,33 @@ export interface PutDataProtectionPolicyResponse {
|
|
|
545
691
|
policyDocument?: string;
|
|
546
692
|
lastUpdatedTime?: number;
|
|
547
693
|
}
|
|
694
|
+
export interface PutDeliveryDestinationRequest {
|
|
695
|
+
name: string | undefined;
|
|
696
|
+
outputFormat?: OutputFormat;
|
|
697
|
+
deliveryDestinationConfiguration:
|
|
698
|
+
| DeliveryDestinationConfiguration
|
|
699
|
+
| undefined;
|
|
700
|
+
tags?: Record<string, string>;
|
|
701
|
+
}
|
|
702
|
+
export interface PutDeliveryDestinationResponse {
|
|
703
|
+
deliveryDestination?: DeliveryDestination;
|
|
704
|
+
}
|
|
705
|
+
export interface PutDeliveryDestinationPolicyRequest {
|
|
706
|
+
deliveryDestinationName: string | undefined;
|
|
707
|
+
deliveryDestinationPolicy: string | undefined;
|
|
708
|
+
}
|
|
709
|
+
export interface PutDeliveryDestinationPolicyResponse {
|
|
710
|
+
policy?: Policy;
|
|
711
|
+
}
|
|
712
|
+
export interface PutDeliverySourceRequest {
|
|
713
|
+
name: string | undefined;
|
|
714
|
+
resourceArn: string | undefined;
|
|
715
|
+
logType: string | undefined;
|
|
716
|
+
tags?: Record<string, string>;
|
|
717
|
+
}
|
|
718
|
+
export interface PutDeliverySourceResponse {
|
|
719
|
+
deliverySource?: DeliverySource;
|
|
720
|
+
}
|
|
548
721
|
export interface PutDestinationRequest {
|
|
549
722
|
destinationName: string | undefined;
|
|
550
723
|
targetArn: string | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
DescribeDeliveriesCommandInput,
|
|
4
|
+
DescribeDeliveriesCommandOutput,
|
|
5
|
+
} from "../commands/DescribeDeliveriesCommand";
|
|
6
|
+
import { CloudWatchLogsPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateDescribeDeliveries(
|
|
8
|
+
config: CloudWatchLogsPaginationConfiguration,
|
|
9
|
+
input: DescribeDeliveriesCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<DescribeDeliveriesCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
DescribeDeliveryDestinationsCommandInput,
|
|
4
|
+
DescribeDeliveryDestinationsCommandOutput,
|
|
5
|
+
} from "../commands/DescribeDeliveryDestinationsCommand";
|
|
6
|
+
import { CloudWatchLogsPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateDescribeDeliveryDestinations(
|
|
8
|
+
config: CloudWatchLogsPaginationConfiguration,
|
|
9
|
+
input: DescribeDeliveryDestinationsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<DescribeDeliveryDestinationsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
DescribeDeliverySourcesCommandInput,
|
|
4
|
+
DescribeDeliverySourcesCommandOutput,
|
|
5
|
+
} from "../commands/DescribeDeliverySourcesCommand";
|
|
6
|
+
import { CloudWatchLogsPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateDescribeDeliverySources(
|
|
8
|
+
config: CloudWatchLogsPaginationConfiguration,
|
|
9
|
+
input: DescribeDeliverySourcesCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<DescribeDeliverySourcesCommandOutput>;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export * from "./DescribeDeliveriesPaginator";
|
|
2
|
+
export * from "./DescribeDeliveryDestinationsPaginator";
|
|
3
|
+
export * from "./DescribeDeliverySourcesPaginator";
|
|
1
4
|
export * from "./DescribeDestinationsPaginator";
|
|
2
5
|
export * from "./DescribeLogGroupsPaginator";
|
|
3
6
|
export * from "./DescribeLogStreamsPaginator";
|