@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,84 @@
|
|
|
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 { DeleteDeliveryDestinationPolicyRequest } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteDeliveryDestinationPolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteDeliveryDestinationPolicyCommandInput extends DeleteDeliveryDestinationPolicyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteDeliveryDestinationPolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteDeliveryDestinationPolicyCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes a delivery destination policy. For more information about these policies,
|
|
27
|
+
* see <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestinationPolicy.html">PutDeliveryDestinationPolicy</a>.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { CloudWatchLogsClient, DeleteDeliveryDestinationPolicyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
32
|
+
* // const { CloudWatchLogsClient, DeleteDeliveryDestinationPolicyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
33
|
+
* const client = new CloudWatchLogsClient(config);
|
|
34
|
+
* const input = { // DeleteDeliveryDestinationPolicyRequest
|
|
35
|
+
* deliveryDestinationName: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new DeleteDeliveryDestinationPolicyCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // {};
|
|
40
|
+
*
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* @param DeleteDeliveryDestinationPolicyCommandInput - {@link DeleteDeliveryDestinationPolicyCommandInput}
|
|
44
|
+
* @returns {@link DeleteDeliveryDestinationPolicyCommandOutput}
|
|
45
|
+
* @see {@link DeleteDeliveryDestinationPolicyCommandInput} for command's `input` shape.
|
|
46
|
+
* @see {@link DeleteDeliveryDestinationPolicyCommandOutput} for command's `response` shape.
|
|
47
|
+
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link ConflictException} (client fault)
|
|
50
|
+
* <p>This operation attempted to create a resource that already exists.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
53
|
+
* <p>The specified resource does not exist.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
56
|
+
* <p>The service cannot complete the request.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ValidationException} (client fault)
|
|
59
|
+
* <p>One of the parameters for the request is not valid.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link CloudWatchLogsServiceException}
|
|
62
|
+
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
export declare class DeleteDeliveryDestinationPolicyCommand extends $Command<DeleteDeliveryDestinationPolicyCommandInput, DeleteDeliveryDestinationPolicyCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
66
|
+
readonly input: DeleteDeliveryDestinationPolicyCommandInput;
|
|
67
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
constructor(input: DeleteDeliveryDestinationPolicyCommandInput);
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteDeliveryDestinationPolicyCommandInput, DeleteDeliveryDestinationPolicyCommandOutput>;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
private serialize;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
private deserialize;
|
|
84
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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 { DeleteDeliverySourceRequest } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteDeliverySourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteDeliverySourceCommandInput extends DeleteDeliverySourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteDeliverySourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteDeliverySourceCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes a <i>delivery source</i>. A delivery is a connection between a logical <i>delivery source</i> and a logical
|
|
27
|
+
* <i>delivery destination</i>.</p>
|
|
28
|
+
* <p>You can't delete a delivery source if any current deliveries are associated with it. To find whether any deliveries are associated with
|
|
29
|
+
* this delivery source, use the <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeDeliveries.html">DescribeDeliveries</a> operation and check the <code>deliverySourceName</code> field in the results.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { CloudWatchLogsClient, DeleteDeliverySourceCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
34
|
+
* // const { CloudWatchLogsClient, DeleteDeliverySourceCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
35
|
+
* const client = new CloudWatchLogsClient(config);
|
|
36
|
+
* const input = { // DeleteDeliverySourceRequest
|
|
37
|
+
* name: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DeleteDeliverySourceCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param DeleteDeliverySourceCommandInput - {@link DeleteDeliverySourceCommandInput}
|
|
46
|
+
* @returns {@link DeleteDeliverySourceCommandOutput}
|
|
47
|
+
* @see {@link DeleteDeliverySourceCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DeleteDeliverySourceCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ConflictException} (client fault)
|
|
52
|
+
* <p>This operation attempted to create a resource that already exists.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
55
|
+
* <p>The specified resource does not exist.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
58
|
+
* <p>This request exceeds a service quota.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
61
|
+
* <p>The service cannot complete the request.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
64
|
+
* <p>The request was throttled because of quota limits.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ValidationException} (client fault)
|
|
67
|
+
* <p>One of the parameters for the request is not valid.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link CloudWatchLogsServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
export declare class DeleteDeliverySourceCommand extends $Command<DeleteDeliverySourceCommandInput, DeleteDeliverySourceCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
74
|
+
readonly input: DeleteDeliverySourceCommandInput;
|
|
75
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
constructor(input: DeleteDeliverySourceCommandInput);
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteDeliverySourceCommandInput, DeleteDeliverySourceCommandOutput>;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
private serialize;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
private deserialize;
|
|
92
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
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 { DescribeDeliveriesRequest, DescribeDeliveriesResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeDeliveriesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeDeliveriesCommandInput extends DescribeDeliveriesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeDeliveriesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeDeliveriesCommandOutput extends DescribeDeliveriesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Retrieves a list of the deliveries that have been created in the account.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CloudWatchLogsClient, DescribeDeliveriesCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
31
|
+
* // const { CloudWatchLogsClient, DescribeDeliveriesCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
32
|
+
* const client = new CloudWatchLogsClient(config);
|
|
33
|
+
* const input = { // DescribeDeliveriesRequest
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* limit: Number("int"),
|
|
36
|
+
* };
|
|
37
|
+
* const command = new DescribeDeliveriesCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // DescribeDeliveriesResponse
|
|
40
|
+
* // deliveries: [ // Deliveries
|
|
41
|
+
* // { // Delivery
|
|
42
|
+
* // id: "STRING_VALUE",
|
|
43
|
+
* // arn: "STRING_VALUE",
|
|
44
|
+
* // deliverySourceName: "STRING_VALUE",
|
|
45
|
+
* // deliveryDestinationArn: "STRING_VALUE",
|
|
46
|
+
* // deliveryDestinationType: "S3" || "CWL" || "FH",
|
|
47
|
+
* // tags: { // Tags
|
|
48
|
+
* // "<keys>": "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // nextToken: "STRING_VALUE",
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param DescribeDeliveriesCommandInput - {@link DescribeDeliveriesCommandInput}
|
|
58
|
+
* @returns {@link DescribeDeliveriesCommandOutput}
|
|
59
|
+
* @see {@link DescribeDeliveriesCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link DescribeDeliveriesCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
64
|
+
* <p>This request exceeds a service quota.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
67
|
+
* <p>The service cannot complete the request.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>The request was throttled because of quota limits.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <p>One of the parameters for the request is not valid.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link CloudWatchLogsServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
79
|
+
export declare class DescribeDeliveriesCommand extends $Command<DescribeDeliveriesCommandInput, DescribeDeliveriesCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
80
|
+
readonly input: DescribeDeliveriesCommandInput;
|
|
81
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
constructor(input: DescribeDeliveriesCommandInput);
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeDeliveriesCommandInput, DescribeDeliveriesCommandOutput>;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
private serialize;
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
private deserialize;
|
|
98
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
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 { DescribeDeliveryDestinationsRequest, DescribeDeliveryDestinationsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeDeliveryDestinationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeDeliveryDestinationsCommandInput extends DescribeDeliveryDestinationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeDeliveryDestinationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeDeliveryDestinationsCommandOutput extends DescribeDeliveryDestinationsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Retrieves a list of the delivery destinations that have been created in the account.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CloudWatchLogsClient, DescribeDeliveryDestinationsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
31
|
+
* // const { CloudWatchLogsClient, DescribeDeliveryDestinationsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
32
|
+
* const client = new CloudWatchLogsClient(config);
|
|
33
|
+
* const input = { // DescribeDeliveryDestinationsRequest
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* limit: Number("int"),
|
|
36
|
+
* };
|
|
37
|
+
* const command = new DescribeDeliveryDestinationsCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // DescribeDeliveryDestinationsResponse
|
|
40
|
+
* // deliveryDestinations: [ // DeliveryDestinations
|
|
41
|
+
* // { // DeliveryDestination
|
|
42
|
+
* // name: "STRING_VALUE",
|
|
43
|
+
* // arn: "STRING_VALUE",
|
|
44
|
+
* // deliveryDestinationType: "S3" || "CWL" || "FH",
|
|
45
|
+
* // outputFormat: "json" || "plain" || "w3c" || "raw" || "parquet",
|
|
46
|
+
* // deliveryDestinationConfiguration: { // DeliveryDestinationConfiguration
|
|
47
|
+
* // destinationResourceArn: "STRING_VALUE", // required
|
|
48
|
+
* // },
|
|
49
|
+
* // tags: { // Tags
|
|
50
|
+
* // "<keys>": "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // nextToken: "STRING_VALUE",
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param DescribeDeliveryDestinationsCommandInput - {@link DescribeDeliveryDestinationsCommandInput}
|
|
60
|
+
* @returns {@link DescribeDeliveryDestinationsCommandOutput}
|
|
61
|
+
* @see {@link DescribeDeliveryDestinationsCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link DescribeDeliveryDestinationsCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
66
|
+
* <p>This request exceeds a service quota.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
69
|
+
* <p>The service cannot complete the request.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
72
|
+
* <p>The request was throttled because of quota limits.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ValidationException} (client fault)
|
|
75
|
+
* <p>One of the parameters for the request is not valid.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link CloudWatchLogsServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
79
|
+
*
|
|
80
|
+
*/
|
|
81
|
+
export declare class DescribeDeliveryDestinationsCommand extends $Command<DescribeDeliveryDestinationsCommandInput, DescribeDeliveryDestinationsCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
82
|
+
readonly input: DescribeDeliveryDestinationsCommandInput;
|
|
83
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
constructor(input: DescribeDeliveryDestinationsCommandInput);
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeDeliveryDestinationsCommandInput, DescribeDeliveryDestinationsCommandOutput>;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
private serialize;
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
private deserialize;
|
|
100
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
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 { DescribeDeliverySourcesRequest, DescribeDeliverySourcesResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeDeliverySourcesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeDeliverySourcesCommandInput extends DescribeDeliverySourcesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeDeliverySourcesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeDeliverySourcesCommandOutput extends DescribeDeliverySourcesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Retrieves a list of the delivery sources that have been created in the account.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CloudWatchLogsClient, DescribeDeliverySourcesCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
31
|
+
* // const { CloudWatchLogsClient, DescribeDeliverySourcesCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
32
|
+
* const client = new CloudWatchLogsClient(config);
|
|
33
|
+
* const input = { // DescribeDeliverySourcesRequest
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* limit: Number("int"),
|
|
36
|
+
* };
|
|
37
|
+
* const command = new DescribeDeliverySourcesCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // DescribeDeliverySourcesResponse
|
|
40
|
+
* // deliverySources: [ // DeliverySources
|
|
41
|
+
* // { // DeliverySource
|
|
42
|
+
* // name: "STRING_VALUE",
|
|
43
|
+
* // arn: "STRING_VALUE",
|
|
44
|
+
* // resourceArns: [ // ResourceArns
|
|
45
|
+
* // "STRING_VALUE",
|
|
46
|
+
* // ],
|
|
47
|
+
* // service: "STRING_VALUE",
|
|
48
|
+
* // logType: "STRING_VALUE",
|
|
49
|
+
* // tags: { // Tags
|
|
50
|
+
* // "<keys>": "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // nextToken: "STRING_VALUE",
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param DescribeDeliverySourcesCommandInput - {@link DescribeDeliverySourcesCommandInput}
|
|
60
|
+
* @returns {@link DescribeDeliverySourcesCommandOutput}
|
|
61
|
+
* @see {@link DescribeDeliverySourcesCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link DescribeDeliverySourcesCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
66
|
+
* <p>This request exceeds a service quota.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
69
|
+
* <p>The service cannot complete the request.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
72
|
+
* <p>The request was throttled because of quota limits.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ValidationException} (client fault)
|
|
75
|
+
* <p>One of the parameters for the request is not valid.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link CloudWatchLogsServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
79
|
+
*
|
|
80
|
+
*/
|
|
81
|
+
export declare class DescribeDeliverySourcesCommand extends $Command<DescribeDeliverySourcesCommandInput, DescribeDeliverySourcesCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
82
|
+
readonly input: DescribeDeliverySourcesCommandInput;
|
|
83
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
constructor(input: DescribeDeliverySourcesCommandInput);
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeDeliverySourcesCommandInput, DescribeDeliverySourcesCommandOutput>;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
private serialize;
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
private deserialize;
|
|
100
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
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 { GetDeliveryRequest, GetDeliveryResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetDeliveryCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetDeliveryCommandInput extends GetDeliveryRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetDeliveryCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDeliveryCommandOutput extends GetDeliveryResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns complete information about one <i>delivery</i>. A delivery is a connection between a logical <i>delivery source</i> and a logical
|
|
27
|
+
* <i>delivery destination</i>
|
|
28
|
+
* </p>
|
|
29
|
+
* <p>You need to specify the delivery <code>id</code> in this operation. You can find the IDs of the deliveries in your account with the
|
|
30
|
+
* <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeDeliveries.html">DescribeDeliveries</a> operation.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CloudWatchLogsClient, GetDeliveryCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
35
|
+
* // const { CloudWatchLogsClient, GetDeliveryCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
36
|
+
* const client = new CloudWatchLogsClient(config);
|
|
37
|
+
* const input = { // GetDeliveryRequest
|
|
38
|
+
* id: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetDeliveryCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetDeliveryResponse
|
|
43
|
+
* // delivery: { // Delivery
|
|
44
|
+
* // id: "STRING_VALUE",
|
|
45
|
+
* // arn: "STRING_VALUE",
|
|
46
|
+
* // deliverySourceName: "STRING_VALUE",
|
|
47
|
+
* // deliveryDestinationArn: "STRING_VALUE",
|
|
48
|
+
* // deliveryDestinationType: "S3" || "CWL" || "FH",
|
|
49
|
+
* // tags: { // Tags
|
|
50
|
+
* // "<keys>": "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // },
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param GetDeliveryCommandInput - {@link GetDeliveryCommandInput}
|
|
58
|
+
* @returns {@link GetDeliveryCommandOutput}
|
|
59
|
+
* @see {@link GetDeliveryCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link GetDeliveryCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
+
* <p>The specified resource does not exist.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
67
|
+
* <p>This request exceeds a service quota.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
70
|
+
* <p>The service cannot complete the request.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
73
|
+
* <p>The request was throttled because of quota limits.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
* <p>One of the parameters for the request is not valid.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link CloudWatchLogsServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
export declare class GetDeliveryCommand extends $Command<GetDeliveryCommandInput, GetDeliveryCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
83
|
+
readonly input: GetDeliveryCommandInput;
|
|
84
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
constructor(input: GetDeliveryCommandInput);
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDeliveryCommandInput, GetDeliveryCommandOutput>;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
private serialize;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
private deserialize;
|
|
101
|
+
}
|
|
@@ -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 { GetDeliveryDestinationRequest, GetDeliveryDestinationResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetDeliveryDestinationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetDeliveryDestinationCommandInput extends GetDeliveryDestinationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetDeliveryDestinationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDeliveryDestinationCommandOutput extends GetDeliveryDestinationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Retrieves complete information about one delivery destination.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CloudWatchLogsClient, GetDeliveryDestinationCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
31
|
+
* // const { CloudWatchLogsClient, GetDeliveryDestinationCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
32
|
+
* const client = new CloudWatchLogsClient(config);
|
|
33
|
+
* const input = { // GetDeliveryDestinationRequest
|
|
34
|
+
* name: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new GetDeliveryDestinationCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // { // GetDeliveryDestinationResponse
|
|
39
|
+
* // deliveryDestination: { // DeliveryDestination
|
|
40
|
+
* // name: "STRING_VALUE",
|
|
41
|
+
* // arn: "STRING_VALUE",
|
|
42
|
+
* // deliveryDestinationType: "S3" || "CWL" || "FH",
|
|
43
|
+
* // outputFormat: "json" || "plain" || "w3c" || "raw" || "parquet",
|
|
44
|
+
* // deliveryDestinationConfiguration: { // DeliveryDestinationConfiguration
|
|
45
|
+
* // destinationResourceArn: "STRING_VALUE", // required
|
|
46
|
+
* // },
|
|
47
|
+
* // tags: { // Tags
|
|
48
|
+
* // "<keys>": "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // },
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param GetDeliveryDestinationCommandInput - {@link GetDeliveryDestinationCommandInput}
|
|
56
|
+
* @returns {@link GetDeliveryDestinationCommandOutput}
|
|
57
|
+
* @see {@link GetDeliveryDestinationCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link GetDeliveryDestinationCommandOutput} 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 GetDeliveryDestinationCommand extends $Command<GetDeliveryDestinationCommandInput, GetDeliveryDestinationCommandOutput, CloudWatchLogsClientResolvedConfig> {
|
|
81
|
+
readonly input: GetDeliveryDestinationCommandInput;
|
|
82
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
constructor(input: GetDeliveryDestinationCommandInput);
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDeliveryDestinationCommandInput, GetDeliveryDestinationCommandOutput>;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
private serialize;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
private deserialize;
|
|
99
|
+
}
|