@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,86 @@
|
|
|
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 { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
|
+
import { GetDeliveryDestinationPolicyRequest, GetDeliveryDestinationPolicyResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetDeliveryDestinationPolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetDeliveryDestinationPolicyCommandInput extends GetDeliveryDestinationPolicyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetDeliveryDestinationPolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDeliveryDestinationPolicyCommandOutput extends GetDeliveryDestinationPolicyResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Retrieves the delivery destination policy assigned to the delivery destination that you specify.
|
|
27
|
+
* For more information about delivery destinations and their policies, see
|
|
28
|
+
* <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestinationPolicy.html">PutDeliveryDestinationPolicy</a>.</p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { CloudWatchLogsClient, GetDeliveryDestinationPolicyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
33
|
+
* // const { CloudWatchLogsClient, GetDeliveryDestinationPolicyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
34
|
+
* const client = new CloudWatchLogsClient(config);
|
|
35
|
+
* const input = { // GetDeliveryDestinationPolicyRequest
|
|
36
|
+
* deliveryDestinationName: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
38
|
+
* const command = new GetDeliveryDestinationPolicyCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // GetDeliveryDestinationPolicyResponse
|
|
41
|
+
* // policy: { // Policy
|
|
42
|
+
* // deliveryDestinationPolicy: "STRING_VALUE",
|
|
43
|
+
* // },
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param GetDeliveryDestinationPolicyCommandInput - {@link GetDeliveryDestinationPolicyCommandInput}
|
|
49
|
+
* @returns {@link GetDeliveryDestinationPolicyCommandOutput}
|
|
50
|
+
* @see {@link GetDeliveryDestinationPolicyCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link GetDeliveryDestinationPolicyCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
55
|
+
* <p>The specified resource does not exist.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
58
|
+
* <p>The service cannot complete the request.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ValidationException} (client fault)
|
|
61
|
+
* <p>One of the parameters for the request is not valid.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link CloudWatchLogsServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
export declare class GetDeliveryDestinationPolicyCommand extends $Command<GetDeliveryDestinationPolicyCommandInput, GetDeliveryDestinationPolicyCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
68
|
+
readonly input: GetDeliveryDestinationPolicyCommandInput;
|
|
69
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
constructor(input: GetDeliveryDestinationPolicyCommandInput);
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDeliveryDestinationPolicyCommandInput, GetDeliveryDestinationPolicyCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
private serialize;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
private deserialize;
|
|
86
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
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 { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
|
+
import { GetDeliverySourceRequest, GetDeliverySourceResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetDeliverySourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetDeliverySourceCommandInput extends GetDeliverySourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetDeliverySourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDeliverySourceCommandOutput extends GetDeliverySourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Retrieves complete information about one delivery source.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CloudWatchLogsClient, GetDeliverySourceCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
31
|
+
* // const { CloudWatchLogsClient, GetDeliverySourceCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
32
|
+
* const client = new CloudWatchLogsClient(config);
|
|
33
|
+
* const input = { // GetDeliverySourceRequest
|
|
34
|
+
* name: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new GetDeliverySourceCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // { // GetDeliverySourceResponse
|
|
39
|
+
* // deliverySource: { // DeliverySource
|
|
40
|
+
* // name: "STRING_VALUE",
|
|
41
|
+
* // arn: "STRING_VALUE",
|
|
42
|
+
* // resourceArns: [ // ResourceArns
|
|
43
|
+
* // "STRING_VALUE",
|
|
44
|
+
* // ],
|
|
45
|
+
* // service: "STRING_VALUE",
|
|
46
|
+
* // logType: "STRING_VALUE",
|
|
47
|
+
* // tags: { // Tags
|
|
48
|
+
* // "<keys>": "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // },
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param GetDeliverySourceCommandInput - {@link GetDeliverySourceCommandInput}
|
|
56
|
+
* @returns {@link GetDeliverySourceCommandOutput}
|
|
57
|
+
* @see {@link GetDeliverySourceCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link GetDeliverySourceCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
+
* <p>The specified resource does not exist.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
65
|
+
* <p>This request exceeds a service quota.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
68
|
+
* <p>The service cannot complete the request.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <p>The request was throttled because of quota limits.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>One of the parameters for the request is not valid.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link CloudWatchLogsServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
export declare class GetDeliverySourceCommand extends $Command<GetDeliverySourceCommandInput, GetDeliverySourceCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
81
|
+
readonly input: GetDeliverySourceCommandInput;
|
|
82
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
constructor(input: GetDeliverySourceCommandInput);
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDeliverySourceCommandInput, GetDeliverySourceCommandOutput>;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
private serialize;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
private deserialize;
|
|
99
|
+
}
|
|
@@ -29,7 +29,8 @@ export interface GetQueryResultsCommandOutput extends GetQueryResultsResponse, _
|
|
|
29
29
|
* in a <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_GetLogRecord.html">GetLogRecord</a>
|
|
30
30
|
* operation to get the full log record.</p>
|
|
31
31
|
* <p>
|
|
32
|
-
* <code>GetQueryResults</code> does not start running a query. To run a query, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_StartQuery.html">StartQuery</a
|
|
32
|
+
* <code>GetQueryResults</code> does not start running a query. To run a query, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_StartQuery.html">StartQuery</a>. For more information about how long results of previous queries
|
|
33
|
+
* are available, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/cloudwatch_limits_cwl.html">CloudWatch Logs quotas</a>.</p>
|
|
33
34
|
* <p>If the value of the <code>Status</code> field in the output is <code>Running</code>, this operation
|
|
34
35
|
* returns only partial results. If you see a value of <code>Scheduled</code> or <code>Running</code> for the status,
|
|
35
36
|
* you can retry the operation later to see the final results. </p>
|
|
@@ -0,0 +1,145 @@
|
|
|
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 { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
|
+
import { PutDeliveryDestinationRequest, PutDeliveryDestinationResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutDeliveryDestinationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutDeliveryDestinationCommandInput extends PutDeliveryDestinationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutDeliveryDestinationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutDeliveryDestinationCommandOutput extends PutDeliveryDestinationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates or updates a logical <i>delivery destination</i>. A delivery destination is an Amazon Web Services resource that represents an
|
|
27
|
+
* Amazon Web Services service that logs can be sent to. CloudWatch Logs, Amazon S3, and
|
|
28
|
+
* Kinesis Data Firehose are supported as logs delivery destinations.</p>
|
|
29
|
+
* <p>To configure logs delivery between a supported Amazon Web Services service and a destination, you must do the following:</p>
|
|
30
|
+
* <ul>
|
|
31
|
+
* <li>
|
|
32
|
+
* <p>Create a delivery source, which is a logical object that represents the resource that is actually
|
|
33
|
+
* sending the logs. For more
|
|
34
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliverySource.html">PutDeliverySource</a>.</p>
|
|
35
|
+
* </li>
|
|
36
|
+
* <li>
|
|
37
|
+
* <p>Use <code>PutDeliveryDestination</code> to create a <i>delivery destination</i>, which is a logical object that represents the actual
|
|
38
|
+
* delivery destination. </p>
|
|
39
|
+
* </li>
|
|
40
|
+
* <li>
|
|
41
|
+
* <p>If you are delivering logs cross-account, you must use
|
|
42
|
+
* <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestinationolicy.html">PutDeliveryDestinationPolicy</a>
|
|
43
|
+
* in the destination account to assign an IAM policy to the
|
|
44
|
+
* destination. This policy allows delivery to that destination.
|
|
45
|
+
* </p>
|
|
46
|
+
* </li>
|
|
47
|
+
* <li>
|
|
48
|
+
* <p>Use <code>CreateDelivery</code> to create a <i>delivery</i> by pairing exactly
|
|
49
|
+
* one delivery source and one delivery destination. For more
|
|
50
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html">CreateDelivery</a>.
|
|
51
|
+
* </p>
|
|
52
|
+
* </li>
|
|
53
|
+
* </ul>
|
|
54
|
+
* <p>You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You
|
|
55
|
+
* can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination.</p>
|
|
56
|
+
* <p>Only some Amazon Web Services services support being configured as a delivery source. These services are listed
|
|
57
|
+
* as <b>Supported [V2 Permissions]</b> in the table at
|
|
58
|
+
* <a href="https://docs.aws.amazon.com/ AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html#AWS-vended-logs-permissions">Enabling
|
|
59
|
+
* logging from Amazon Web Services services.</a>
|
|
60
|
+
* </p>
|
|
61
|
+
* <p>If you use this operation to update an existing delivery destination, all the current delivery destination parameters are overwritten
|
|
62
|
+
* with the new parameter values that you specify.</p>
|
|
63
|
+
* @example
|
|
64
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
65
|
+
* ```javascript
|
|
66
|
+
* import { CloudWatchLogsClient, PutDeliveryDestinationCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
67
|
+
* // const { CloudWatchLogsClient, PutDeliveryDestinationCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
68
|
+
* const client = new CloudWatchLogsClient(config);
|
|
69
|
+
* const input = { // PutDeliveryDestinationRequest
|
|
70
|
+
* name: "STRING_VALUE", // required
|
|
71
|
+
* outputFormat: "json" || "plain" || "w3c" || "raw" || "parquet",
|
|
72
|
+
* deliveryDestinationConfiguration: { // DeliveryDestinationConfiguration
|
|
73
|
+
* destinationResourceArn: "STRING_VALUE", // required
|
|
74
|
+
* },
|
|
75
|
+
* tags: { // Tags
|
|
76
|
+
* "<keys>": "STRING_VALUE",
|
|
77
|
+
* },
|
|
78
|
+
* };
|
|
79
|
+
* const command = new PutDeliveryDestinationCommand(input);
|
|
80
|
+
* const response = await client.send(command);
|
|
81
|
+
* // { // PutDeliveryDestinationResponse
|
|
82
|
+
* // deliveryDestination: { // DeliveryDestination
|
|
83
|
+
* // name: "STRING_VALUE",
|
|
84
|
+
* // arn: "STRING_VALUE",
|
|
85
|
+
* // deliveryDestinationType: "S3" || "CWL" || "FH",
|
|
86
|
+
* // outputFormat: "json" || "plain" || "w3c" || "raw" || "parquet",
|
|
87
|
+
* // deliveryDestinationConfiguration: { // DeliveryDestinationConfiguration
|
|
88
|
+
* // destinationResourceArn: "STRING_VALUE", // required
|
|
89
|
+
* // },
|
|
90
|
+
* // tags: { // Tags
|
|
91
|
+
* // "<keys>": "STRING_VALUE",
|
|
92
|
+
* // },
|
|
93
|
+
* // },
|
|
94
|
+
* // };
|
|
95
|
+
*
|
|
96
|
+
* ```
|
|
97
|
+
*
|
|
98
|
+
* @param PutDeliveryDestinationCommandInput - {@link PutDeliveryDestinationCommandInput}
|
|
99
|
+
* @returns {@link PutDeliveryDestinationCommandOutput}
|
|
100
|
+
* @see {@link PutDeliveryDestinationCommandInput} for command's `input` shape.
|
|
101
|
+
* @see {@link PutDeliveryDestinationCommandOutput} for command's `response` shape.
|
|
102
|
+
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link ConflictException} (client fault)
|
|
105
|
+
* <p>This operation attempted to create a resource that already exists.</p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
108
|
+
* <p>The specified resource does not exist.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
111
|
+
* <p>This request exceeds a service quota.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
114
|
+
* <p>The service cannot complete the request.</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
117
|
+
* <p>The request was throttled because of quota limits.</p>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link ValidationException} (client fault)
|
|
120
|
+
* <p>One of the parameters for the request is not valid.</p>
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link CloudWatchLogsServiceException}
|
|
123
|
+
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
124
|
+
*
|
|
125
|
+
*/
|
|
126
|
+
export declare class PutDeliveryDestinationCommand extends $Command<PutDeliveryDestinationCommandInput, PutDeliveryDestinationCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
127
|
+
readonly input: PutDeliveryDestinationCommandInput;
|
|
128
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
129
|
+
/**
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
constructor(input: PutDeliveryDestinationCommandInput);
|
|
133
|
+
/**
|
|
134
|
+
* @internal
|
|
135
|
+
*/
|
|
136
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutDeliveryDestinationCommandInput, PutDeliveryDestinationCommandOutput>;
|
|
137
|
+
/**
|
|
138
|
+
* @internal
|
|
139
|
+
*/
|
|
140
|
+
private serialize;
|
|
141
|
+
/**
|
|
142
|
+
* @internal
|
|
143
|
+
*/
|
|
144
|
+
private deserialize;
|
|
145
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
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 { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
|
+
import { PutDeliveryDestinationPolicyRequest, PutDeliveryDestinationPolicyResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutDeliveryDestinationPolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutDeliveryDestinationPolicyCommandInput extends PutDeliveryDestinationPolicyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutDeliveryDestinationPolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutDeliveryDestinationPolicyCommandOutput extends PutDeliveryDestinationPolicyResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates and assigns an IAM policy that grants permissions to CloudWatch Logs to deliver
|
|
27
|
+
* logs cross-account to a specified destination in this account. To configure the delivery of logs from an
|
|
28
|
+
* Amazon Web Services service in another account to a logs delivery destination in the current account, you must do the following:</p>
|
|
29
|
+
* <ul>
|
|
30
|
+
* <li>
|
|
31
|
+
* <p>Create a delivery source, which is a logical object that represents the resource that is actually
|
|
32
|
+
* sending the logs. For more
|
|
33
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliverySource.html">PutDeliverySource</a>.</p>
|
|
34
|
+
* </li>
|
|
35
|
+
* <li>
|
|
36
|
+
* <p>Create a <i>delivery destination</i>, which is a logical object that represents the actual
|
|
37
|
+
* delivery destination. For more
|
|
38
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestination.html">PutDeliveryDestination</a>.</p>
|
|
39
|
+
* </li>
|
|
40
|
+
* <li>
|
|
41
|
+
* <p>Use this operation in the destination account to assign an IAM policy to the
|
|
42
|
+
* destination. This policy allows delivery to that destination.
|
|
43
|
+
* </p>
|
|
44
|
+
* </li>
|
|
45
|
+
* <li>
|
|
46
|
+
* <p>Create a <i>delivery</i> by pairing exactly one delivery source and one delivery destination.
|
|
47
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html">CreateDelivery</a>.</p>
|
|
48
|
+
* </li>
|
|
49
|
+
* </ul>
|
|
50
|
+
* <p>Only some Amazon Web Services services support being configured as a delivery source. These services are listed
|
|
51
|
+
* as <b>Supported [V2 Permissions]</b> in the table at
|
|
52
|
+
* <a href="https://docs.aws.amazon.com/ AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html#AWS-vended-logs-permissions">Enabling
|
|
53
|
+
* logging from Amazon Web Services services.</a>
|
|
54
|
+
* </p>
|
|
55
|
+
* <p>The contents of the policy must include two statements. One statement enables general logs delivery, and the other
|
|
56
|
+
* allows delivery to the chosen destination. See the examples for the needed policies.</p>
|
|
57
|
+
* @example
|
|
58
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
59
|
+
* ```javascript
|
|
60
|
+
* import { CloudWatchLogsClient, PutDeliveryDestinationPolicyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
61
|
+
* // const { CloudWatchLogsClient, PutDeliveryDestinationPolicyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
62
|
+
* const client = new CloudWatchLogsClient(config);
|
|
63
|
+
* const input = { // PutDeliveryDestinationPolicyRequest
|
|
64
|
+
* deliveryDestinationName: "STRING_VALUE", // required
|
|
65
|
+
* deliveryDestinationPolicy: "STRING_VALUE", // required
|
|
66
|
+
* };
|
|
67
|
+
* const command = new PutDeliveryDestinationPolicyCommand(input);
|
|
68
|
+
* const response = await client.send(command);
|
|
69
|
+
* // { // PutDeliveryDestinationPolicyResponse
|
|
70
|
+
* // policy: { // Policy
|
|
71
|
+
* // deliveryDestinationPolicy: "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // };
|
|
74
|
+
*
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param PutDeliveryDestinationPolicyCommandInput - {@link PutDeliveryDestinationPolicyCommandInput}
|
|
78
|
+
* @returns {@link PutDeliveryDestinationPolicyCommandOutput}
|
|
79
|
+
* @see {@link PutDeliveryDestinationPolicyCommandInput} for command's `input` shape.
|
|
80
|
+
* @see {@link PutDeliveryDestinationPolicyCommandOutput} for command's `response` shape.
|
|
81
|
+
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ConflictException} (client fault)
|
|
84
|
+
* <p>This operation attempted to create a resource that already exists.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
87
|
+
* <p>The specified resource does not exist.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
90
|
+
* <p>The service cannot complete the request.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ValidationException} (client fault)
|
|
93
|
+
* <p>One of the parameters for the request is not valid.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link CloudWatchLogsServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
97
|
+
*
|
|
98
|
+
*/
|
|
99
|
+
export declare class PutDeliveryDestinationPolicyCommand extends $Command<PutDeliveryDestinationPolicyCommandInput, PutDeliveryDestinationPolicyCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
100
|
+
readonly input: PutDeliveryDestinationPolicyCommandInput;
|
|
101
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
102
|
+
/**
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
constructor(input: PutDeliveryDestinationPolicyCommandInput);
|
|
106
|
+
/**
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutDeliveryDestinationPolicyCommandInput, PutDeliveryDestinationPolicyCommandOutput>;
|
|
110
|
+
/**
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
113
|
+
private serialize;
|
|
114
|
+
/**
|
|
115
|
+
* @internal
|
|
116
|
+
*/
|
|
117
|
+
private deserialize;
|
|
118
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
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 { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
|
+
import { PutDeliverySourceRequest, PutDeliverySourceResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutDeliverySourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutDeliverySourceCommandInput extends PutDeliverySourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutDeliverySourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutDeliverySourceCommandOutput extends PutDeliverySourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates or updates a logical <i>delivery source</i>. A delivery source represents an Amazon Web Services resource that sends logs to an
|
|
27
|
+
* logs delivery destination. The destination can be CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.</p>
|
|
28
|
+
* <p>To configure logs delivery between a delivery destination and an Amazon Web Services service that is supported as a delivery source, you must do the following:</p>
|
|
29
|
+
* <ul>
|
|
30
|
+
* <li>
|
|
31
|
+
* <p>Use <code>PutDeliverySource</code> to create a delivery source, which is a logical object that represents the resource that is actually
|
|
32
|
+
* sending the logs. </p>
|
|
33
|
+
* </li>
|
|
34
|
+
* <li>
|
|
35
|
+
* <p>Use <code>PutDeliveryDestination</code> to create a <i>delivery destination</i>, which is a logical object that represents the actual
|
|
36
|
+
* delivery destination. For more
|
|
37
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestination.html">PutDeliveryDestination</a>.</p>
|
|
38
|
+
* </li>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>If you are delivering logs cross-account, you must use
|
|
41
|
+
* <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestinationolicy.html">PutDeliveryDestinationPolicy</a>
|
|
42
|
+
* in the destination account to assign an IAM policy to the
|
|
43
|
+
* destination. This policy allows delivery to that destination.
|
|
44
|
+
* </p>
|
|
45
|
+
* </li>
|
|
46
|
+
* <li>
|
|
47
|
+
* <p>Use <code>CreateDelivery</code> to create a <i>delivery</i> by pairing exactly
|
|
48
|
+
* one delivery source and one delivery destination. For more
|
|
49
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html">CreateDelivery</a>.
|
|
50
|
+
* </p>
|
|
51
|
+
* </li>
|
|
52
|
+
* </ul>
|
|
53
|
+
* <p>You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You
|
|
54
|
+
* can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination.</p>
|
|
55
|
+
* <p>Only some Amazon Web Services services support being configured as a delivery source. These services are listed
|
|
56
|
+
* as <b>Supported [V2 Permissions]</b> in the table at
|
|
57
|
+
* <a href="https://docs.aws.amazon.com/ AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html#AWS-vended-logs-permissions">Enabling
|
|
58
|
+
* logging from Amazon Web Services services.</a>
|
|
59
|
+
* </p>
|
|
60
|
+
* <p>If you use this operation to update an existing delivery source, all the current delivery source parameters are overwritten
|
|
61
|
+
* with the new parameter values that you specify.</p>
|
|
62
|
+
* @example
|
|
63
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
64
|
+
* ```javascript
|
|
65
|
+
* import { CloudWatchLogsClient, PutDeliverySourceCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
66
|
+
* // const { CloudWatchLogsClient, PutDeliverySourceCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
67
|
+
* const client = new CloudWatchLogsClient(config);
|
|
68
|
+
* const input = { // PutDeliverySourceRequest
|
|
69
|
+
* name: "STRING_VALUE", // required
|
|
70
|
+
* resourceArn: "STRING_VALUE", // required
|
|
71
|
+
* logType: "STRING_VALUE", // required
|
|
72
|
+
* tags: { // Tags
|
|
73
|
+
* "<keys>": "STRING_VALUE",
|
|
74
|
+
* },
|
|
75
|
+
* };
|
|
76
|
+
* const command = new PutDeliverySourceCommand(input);
|
|
77
|
+
* const response = await client.send(command);
|
|
78
|
+
* // { // PutDeliverySourceResponse
|
|
79
|
+
* // deliverySource: { // DeliverySource
|
|
80
|
+
* // name: "STRING_VALUE",
|
|
81
|
+
* // arn: "STRING_VALUE",
|
|
82
|
+
* // resourceArns: [ // ResourceArns
|
|
83
|
+
* // "STRING_VALUE",
|
|
84
|
+
* // ],
|
|
85
|
+
* // service: "STRING_VALUE",
|
|
86
|
+
* // logType: "STRING_VALUE",
|
|
87
|
+
* // tags: { // Tags
|
|
88
|
+
* // "<keys>": "STRING_VALUE",
|
|
89
|
+
* // },
|
|
90
|
+
* // },
|
|
91
|
+
* // };
|
|
92
|
+
*
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
95
|
+
* @param PutDeliverySourceCommandInput - {@link PutDeliverySourceCommandInput}
|
|
96
|
+
* @returns {@link PutDeliverySourceCommandOutput}
|
|
97
|
+
* @see {@link PutDeliverySourceCommandInput} for command's `input` shape.
|
|
98
|
+
* @see {@link PutDeliverySourceCommandOutput} for command's `response` shape.
|
|
99
|
+
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link ConflictException} (client fault)
|
|
102
|
+
* <p>This operation attempted to create a resource that already exists.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
105
|
+
* <p>The specified resource does not exist.</p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
108
|
+
* <p>This request exceeds a service quota.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
111
|
+
* <p>The service cannot complete the request.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
114
|
+
* <p>The request was throttled because of quota limits.</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link ValidationException} (client fault)
|
|
117
|
+
* <p>One of the parameters for the request is not valid.</p>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link CloudWatchLogsServiceException}
|
|
120
|
+
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
121
|
+
*
|
|
122
|
+
*/
|
|
123
|
+
export declare class PutDeliverySourceCommand extends $Command<PutDeliverySourceCommandInput, PutDeliverySourceCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
124
|
+
readonly input: PutDeliverySourceCommandInput;
|
|
125
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
126
|
+
/**
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
constructor(input: PutDeliverySourceCommandInput);
|
|
130
|
+
/**
|
|
131
|
+
* @internal
|
|
132
|
+
*/
|
|
133
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutDeliverySourceCommandInput, PutDeliverySourceCommandOutput>;
|
|
134
|
+
/**
|
|
135
|
+
* @internal
|
|
136
|
+
*/
|
|
137
|
+
private serialize;
|
|
138
|
+
/**
|
|
139
|
+
* @internal
|
|
140
|
+
*/
|
|
141
|
+
private deserialize;
|
|
142
|
+
}
|
|
@@ -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";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -40,6 +40,8 @@
|
|
|
40
40
|
export * from "./CloudWatchLogsClient";
|
|
41
41
|
export * from "./CloudWatchLogs";
|
|
42
42
|
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
43
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
44
|
+
export { CloudWatchLogsExtensionConfiguration } from "./extensionConfiguration";
|
|
43
45
|
export * from "./commands";
|
|
44
46
|
export * from "./pagination";
|
|
45
47
|
export * from "./models";
|